[2026-08-10 00:00:01] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:00:01] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:00:01] local.INFO: IMEI packet received {"connection_id":152473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":152473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:00:06] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:00:06] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:00:06] local.INFO: IMEI packet received {"connection_id":152473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":152473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:00:10] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:00:10] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:00:10] local.INFO: IMEI packet received {"connection_id":152473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":152473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:00:11] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7c5e148012d34c20006aa3f08000700f32b..."} 
[2026-08-10 00:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7c5e148012d34c20006aa3f08000700f32b..."} 
[2026-08-10 00:00:11] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7c5e148012d34c20006aa3f08000700f32b..."} 
[2026-08-10 00:00:11] local.INFO: Packet analysis {"connection_id":152473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7c5"} 
[2026-08-10 00:00:11] local.INFO: Extracted packet for processing {"connection_id":152473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7c5"} 
[2026-08-10 00:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292705792001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786299933000,"timestamp_ms":1786299933000,"timestamp_seconds":1786299933,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7c5e148"} 
[2026-08-10 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-08-10 00:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 00:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292705792001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292705792001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:00:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:00:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292705792001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":152473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:00:11] local.INFO: GPS data processed {"connection_id":152473,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:00:11] local.INFO: Acknowledgment sent {"connection_id":152473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:00:16] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7c5e148012d34c20006aa3f08000700f32b..."} 
[2026-08-10 00:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7c5e148012d34c20006aa3f08000700f32b..."} 
[2026-08-10 00:00:16] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7c5e148012d34c20006aa3f08000700f32b..."} 
[2026-08-10 00:00:16] local.INFO: Packet analysis {"connection_id":152473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7c5"} 
[2026-08-10 00:00:16] local.INFO: Extracted packet for processing {"connection_id":152473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7c5"} 
[2026-08-10 00:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292705792001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786299933000,"timestamp_ms":1786299933000,"timestamp_seconds":1786299933,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7c5e148"} 
[2026-08-10 00:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 00:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292705792001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292705792001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:00:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292705792001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":152473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:00:16] local.INFO: GPS data processed {"connection_id":152473,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:00:16] local.INFO: Acknowledgment sent {"connection_id":152473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:01:01] local.INFO: TCP Data received {"connection_id":152474,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:01:01] local.INFO: Processing buffer {"connection_id":152474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:01:01] local.INFO: IMEI packet received {"connection_id":152474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":152474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:01:06] local.INFO: TCP Data received {"connection_id":152474,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:01:06] local.INFO: Processing buffer {"connection_id":152474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:01:06] local.INFO: IMEI packet received {"connection_id":152474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":152474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:01:07] local.INFO: TCP Data received {"connection_id":152474,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7c5e148012d34c20006aa3f08000700f32b..."} 
[2026-08-10 00:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7c5e148012d34c20006aa3f08000700f32b..."} 
[2026-08-10 00:01:07] local.INFO: Processing buffer {"connection_id":152474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7c5e148012d34c20006aa3f08000700f32b..."} 
[2026-08-10 00:01:07] local.INFO: Packet analysis {"connection_id":152474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7c5"} 
[2026-08-10 00:01:07] local.INFO: Extracted packet for processing {"connection_id":152474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7c5"} 
[2026-08-10 00:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292705792001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786299933000,"timestamp_ms":1786299933000,"timestamp_seconds":1786299933,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7c5e148"} 
[2026-08-10 00:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":255,"data_length":795,"current_offset":136} 
[2026-08-10 00:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:01: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-08-10 00:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292705792001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292705792001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:01:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292705792001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":152474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:01:07] local.INFO: GPS data processed {"connection_id":152474,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:01:07] local.INFO: Acknowledgment sent {"connection_id":152474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:01:39] local.INFO: TCP Data received {"connection_id":152474,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:01:39] local.INFO: Processing buffer {"connection_id":152474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:01:39] local.INFO: Packet analysis {"connection_id":152474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:01:39] local.INFO: Extracted packet for processing {"connection_id":152474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292782848001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786300234000,"timestamp_ms":1786300234000,"timestamp_seconds":1786300234,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ca7910"} 
[2026-08-10 00:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 00:01: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-08-10 00:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:01: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-08-10 00:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292782848001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292782848001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:01:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:01:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292782848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":152474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:01:39] local.INFO: GPS data processed {"connection_id":152474,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:01:39] local.INFO: Acknowledgment sent {"connection_id":152474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:02:00] local.INFO: TCP Data received {"connection_id":151190,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:02:00] local.INFO: Processing buffer {"connection_id":151190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:02:00] local.INFO: IMEI packet received {"connection_id":151190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":151190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:02:06] local.INFO: TCP Data received {"connection_id":151190,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:02:06] local.INFO: Processing buffer {"connection_id":151190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:02:06] local.INFO: IMEI packet received {"connection_id":151190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":151190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:02:06] local.INFO: TCP Data received {"connection_id":151190,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:02:06] local.INFO: Processing buffer {"connection_id":151190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:02:06] local.INFO: Packet analysis {"connection_id":151190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:02:06] local.INFO: Extracted packet for processing {"connection_id":151190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:02:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292782848001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786300234000,"timestamp_ms":1786300234000,"timestamp_seconds":1786300234,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ca7910"} 
[2026-08-10 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-08-10 00:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 00:02: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-08-10 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-08-10 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-08-10 00:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292782848001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292782848001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:02:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292782848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":151190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:02:06] local.INFO: GPS data processed {"connection_id":151190,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:02:06] local.INFO: Acknowledgment sent {"connection_id":151190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:02:38] local.INFO: TCP Data received {"connection_id":151190,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:02:38] local.INFO: Processing buffer {"connection_id":151190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:02:38] local.INFO: Packet analysis {"connection_id":151190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:02:38] local.INFO: Extracted packet for processing {"connection_id":151190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292782848001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786300234000,"timestamp_ms":1786300234000,"timestamp_seconds":1786300234,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ca7910"} 
[2026-08-10 00:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 00:02: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-08-10 00: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-08-10 00:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292782848001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292782848001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292782848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":151190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:02:38] local.INFO: GPS data processed {"connection_id":151190,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:02:38] local.INFO: Acknowledgment sent {"connection_id":151190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:03:06] local.INFO: TCP Data received {"connection_id":151563,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:03:06] local.INFO: Processing buffer {"connection_id":151563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:03:06] local.INFO: IMEI packet received {"connection_id":151563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":151563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:03:11] local.INFO: TCP Data received {"connection_id":151563,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:03:11] local.INFO: Processing buffer {"connection_id":151563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:03:11] local.INFO: IMEI packet received {"connection_id":151563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":151563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:03:12] local.INFO: TCP Data received {"connection_id":151563,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:03:12] local.INFO: Processing buffer {"connection_id":151563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:03:12] local.INFO: Packet analysis {"connection_id":151563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:03:12] local.INFO: Extracted packet for processing {"connection_id":151563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292782848001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786300234000,"timestamp_ms":1786300234000,"timestamp_seconds":1786300234,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ca7910"} 
[2026-08-10 00:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 00:03: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-08-10 00:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292782848001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292782848001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:03:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:03:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292782848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":151563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:03:12] local.INFO: GPS data processed {"connection_id":151563,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:03:12] local.INFO: Acknowledgment sent {"connection_id":151563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:03:16] local.INFO: TCP Data received {"connection_id":151563,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:03:16] local.INFO: Processing buffer {"connection_id":151563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:03:16] local.INFO: Packet analysis {"connection_id":151563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:03:16] local.INFO: Extracted packet for processing {"connection_id":151563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292782848001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786300234000,"timestamp_ms":1786300234000,"timestamp_seconds":1786300234,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ca7910"} 
[2026-08-10 00:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00: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-08-10 00:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292782848001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292782848001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292782848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":151563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:03:16] local.INFO: GPS data processed {"connection_id":151563,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:03:16] local.INFO: Acknowledgment sent {"connection_id":151563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:04:01] local.INFO: TCP Data received {"connection_id":152475,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:04:01] local.INFO: Processing buffer {"connection_id":152475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:04:01] local.INFO: IMEI packet received {"connection_id":152475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":152475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:04:06] local.INFO: TCP Data received {"connection_id":152475,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:04:06] local.INFO: Processing buffer {"connection_id":152475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:04:06] local.INFO: IMEI packet received {"connection_id":152475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":152475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:04:06] local.INFO: TCP Data received {"connection_id":152475,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:04:06] local.INFO: Processing buffer {"connection_id":152475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:04:06] local.INFO: Packet analysis {"connection_id":152475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:04:06] local.INFO: Extracted packet for processing {"connection_id":152475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292782848001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786300234000,"timestamp_ms":1786300234000,"timestamp_seconds":1786300234,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ca7910"} 
[2026-08-10 00:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 00:04: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-08-10 00:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292782848001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292782848001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292782848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":152475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:04:06] local.INFO: GPS data processed {"connection_id":152475,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:04:06] local.INFO: Acknowledgment sent {"connection_id":152475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:04:38] local.INFO: TCP Data received {"connection_id":152475,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:04:38] local.INFO: Processing buffer {"connection_id":152475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:04:38] local.INFO: Packet analysis {"connection_id":152475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:04:38] local.INFO: Extracted packet for processing {"connection_id":152475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292782848001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786300234000,"timestamp_ms":1786300234000,"timestamp_seconds":1786300234,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ca7910"} 
[2026-08-10 00:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 00:04: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-08-10 00: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-08-10 00:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292782848001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292782848001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292782848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":152475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:04:38] local.INFO: GPS data processed {"connection_id":152475,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:04:38] local.INFO: Acknowledgment sent {"connection_id":152475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:05:01] local.INFO: TCP Data received {"connection_id":151564,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:05:01] local.INFO: Processing buffer {"connection_id":151564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:05:01] local.INFO: IMEI packet received {"connection_id":151564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":151564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:05:06] local.INFO: TCP Data received {"connection_id":151564,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:05:06] local.INFO: Processing buffer {"connection_id":151564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:05:06] local.INFO: IMEI packet received {"connection_id":151564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":151564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:05:20] local.INFO: TCP Data received {"connection_id":151564,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:05:20] local.INFO: Processing buffer {"connection_id":151564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:05:20] local.INFO: Packet analysis {"connection_id":151564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:05:20] local.INFO: Extracted packet for processing {"connection_id":151564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292782848001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786300234000,"timestamp_ms":1786300234000,"timestamp_seconds":1786300234,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ca7910"} 
[2026-08-10 00:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 00:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:05: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-08-10 00:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292782848001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292782848001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292782848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":151564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:05:20] local.INFO: GPS data processed {"connection_id":151564,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:05:20] local.INFO: Acknowledgment sent {"connection_id":151564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:06:01] local.INFO: TCP Data received {"connection_id":152476,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:06:01] local.INFO: Processing buffer {"connection_id":152476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:06:01] local.INFO: IMEI packet received {"connection_id":152476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":152476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:06:06] local.INFO: TCP Data received {"connection_id":152476,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:06:06] local.INFO: Processing buffer {"connection_id":152476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:06:06] local.INFO: IMEI packet received {"connection_id":152476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":152476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:06:06] local.INFO: TCP Data received {"connection_id":152476,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:06:06] local.INFO: Processing buffer {"connection_id":152476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ca7910012d34c20006aa3f08000600f32d..."} 
[2026-08-10 00:06:06] local.INFO: Packet analysis {"connection_id":152476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:06:06] local.INFO: Extracted packet for processing {"connection_id":152476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ca"} 
[2026-08-10 00:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292782848001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786300234000,"timestamp_ms":1786300234000,"timestamp_seconds":1786300234,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ca7910"} 
[2026-08-10 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-08-10 00:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 00:06: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-08-10 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-08-10 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-08-10 00:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292782848001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292782848001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292782848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":152476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:06:06] local.INFO: GPS data processed {"connection_id":152476,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:06:06] local.INFO: Acknowledgment sent {"connection_id":152476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:06:37] local.INFO: TCP Data received {"connection_id":152476,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:06:37] local.INFO: Processing buffer {"connection_id":152476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:06:37] local.INFO: Packet analysis {"connection_id":152476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:06:37] local.INFO: Extracted packet for processing {"connection_id":152476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292859904001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786300535000,"timestamp_ms":1786300535000,"timestamp_seconds":1786300535,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7cf10d8"} 
[2026-08-10 00:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00: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-08-10 00:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292859904001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292859904001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292859904001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":152476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:06:37] local.INFO: GPS data processed {"connection_id":152476,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:06:37] local.INFO: Acknowledgment sent {"connection_id":152476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:07:00] local.INFO: TCP Data received {"connection_id":151565,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:07:00] local.INFO: Processing buffer {"connection_id":151565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:07:00] local.INFO: IMEI packet received {"connection_id":151565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":151565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:07:06] local.INFO: TCP Data received {"connection_id":151565,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:07:06] local.INFO: Processing buffer {"connection_id":151565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:07:06] local.INFO: IMEI packet received {"connection_id":151565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":151565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:07:08] local.INFO: TCP Data received {"connection_id":151565,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:07:08] local.INFO: Processing buffer {"connection_id":151565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:07:08] local.INFO: Packet analysis {"connection_id":151565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:07:08] local.INFO: Extracted packet for processing {"connection_id":151565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292859904001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786300535000,"timestamp_ms":1786300535000,"timestamp_seconds":1786300535,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7cf10d8"} 
[2026-08-10 00:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292859904001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292859904001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292859904001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":151565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:07:08] local.INFO: GPS data processed {"connection_id":151565,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:07:08] local.INFO: Acknowledgment sent {"connection_id":151565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:07:40] local.INFO: TCP Data received {"connection_id":151565,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:07:40] local.INFO: Processing buffer {"connection_id":151565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:07:40] local.INFO: Packet analysis {"connection_id":151565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:07:40] local.INFO: Extracted packet for processing {"connection_id":151565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:07:40] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292859904001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786300535000,"timestamp_ms":1786300535000,"timestamp_seconds":1786300535,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7cf10d8"} 
[2026-08-10 00:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00: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-08-10 00:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:07: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-08-10 00:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292859904001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292859904001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:07:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:07:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292859904001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":151565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:07:40] local.INFO: GPS data processed {"connection_id":151565,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:07:40] local.INFO: Acknowledgment sent {"connection_id":151565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:08:06] local.INFO: TCP Data received {"connection_id":151566,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:08:06] local.INFO: Processing buffer {"connection_id":151566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:08:06] local.INFO: IMEI packet received {"connection_id":151566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":151566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:08:10] local.INFO: TCP Data received {"connection_id":151566,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:08:10] local.INFO: Processing buffer {"connection_id":151566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:08:10] local.INFO: IMEI packet received {"connection_id":151566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":151566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:08:11] local.INFO: TCP Data received {"connection_id":151566,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:08:11] local.INFO: Processing buffer {"connection_id":151566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:08:11] local.INFO: Packet analysis {"connection_id":151566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:08:11] local.INFO: Extracted packet for processing {"connection_id":151566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:08:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292859904001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786300535000,"timestamp_ms":1786300535000,"timestamp_seconds":1786300535,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7cf10d8"} 
[2026-08-10 00:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00: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-08-10 00:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:08: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-08-10 00:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292859904001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292859904001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:08:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:08:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292859904001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":151566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:08:11] local.INFO: GPS data processed {"connection_id":151566,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:08:11] local.INFO: Acknowledgment sent {"connection_id":151566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:08:16] local.INFO: TCP Data received {"connection_id":151566,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:08:16] local.INFO: Processing buffer {"connection_id":151566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:08:16] local.INFO: Packet analysis {"connection_id":151566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:08:16] local.INFO: Extracted packet for processing {"connection_id":151566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292859904001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786300535000,"timestamp_ms":1786300535000,"timestamp_seconds":1786300535,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7cf10d8"} 
[2026-08-10 00:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292859904001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292859904001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292859904001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":151566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:08:16] local.INFO: GPS data processed {"connection_id":151566,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:08:16] local.INFO: Acknowledgment sent {"connection_id":151566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:09:01] local.INFO: TCP Data received {"connection_id":153927,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:09:01] local.INFO: Processing buffer {"connection_id":153927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:09:01] local.INFO: IMEI packet received {"connection_id":153927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":153927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:09:06] local.INFO: TCP Data received {"connection_id":153927,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:09:06] local.INFO: Processing buffer {"connection_id":153927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:09:06] local.INFO: IMEI packet received {"connection_id":153927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":153927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:09:06] local.INFO: TCP Data received {"connection_id":153927,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:09:06] local.INFO: Processing buffer {"connection_id":153927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:09:06] local.INFO: Packet analysis {"connection_id":153927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:09:06] local.INFO: Extracted packet for processing {"connection_id":153927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292859904001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786300535000,"timestamp_ms":1786300535000,"timestamp_seconds":1786300535,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7cf10d8"} 
[2026-08-10 00:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292859904001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292859904001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292859904001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":153927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:09:06] local.INFO: GPS data processed {"connection_id":153927,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:09:06] local.INFO: Acknowledgment sent {"connection_id":153927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:09:38] local.INFO: TCP Data received {"connection_id":153927,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:09:38] local.INFO: Processing buffer {"connection_id":153927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:09:38] local.INFO: Packet analysis {"connection_id":153927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:09:38] local.INFO: Extracted packet for processing {"connection_id":153927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292859904001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786300535000,"timestamp_ms":1786300535000,"timestamp_seconds":1786300535,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7cf10d8"} 
[2026-08-10 00:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292859904001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292859904001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292859904001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":153927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:09:38] local.INFO: GPS data processed {"connection_id":153927,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:09:38] local.INFO: Acknowledgment sent {"connection_id":153927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:10:01] local.INFO: TCP Data received {"connection_id":153928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:10:01] local.INFO: Processing buffer {"connection_id":153928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:10:01] local.INFO: IMEI packet received {"connection_id":153928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":153928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:10:06] local.INFO: TCP Data received {"connection_id":153928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:10:06] local.INFO: Processing buffer {"connection_id":153928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:10:06] local.INFO: IMEI packet received {"connection_id":153928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":153928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:10:06] local.INFO: TCP Data received {"connection_id":153928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:10:06] local.INFO: Processing buffer {"connection_id":153928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:10:06] local.INFO: Packet analysis {"connection_id":153928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:10:06] local.INFO: Extracted packet for processing {"connection_id":153928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292859904001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786300535000,"timestamp_ms":1786300535000,"timestamp_seconds":1786300535,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7cf10d8"} 
[2026-08-10 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-08-10 00:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:10: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-08-10 00:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292859904001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292859904001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292859904001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":153928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:10:06] local.INFO: GPS data processed {"connection_id":153928,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:10:06] local.INFO: Acknowledgment sent {"connection_id":153928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:10:38] local.INFO: TCP Data received {"connection_id":153928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:10:38] local.INFO: Processing buffer {"connection_id":153928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:10:38] local.INFO: Packet analysis {"connection_id":153928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:10:38] local.INFO: Extracted packet for processing {"connection_id":153928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292859904001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786300535000,"timestamp_ms":1786300535000,"timestamp_seconds":1786300535,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7cf10d8"} 
[2026-08-10 00:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:10: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-08-10 00:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292859904001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292859904001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292859904001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":153928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:10:38] local.INFO: GPS data processed {"connection_id":153928,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:10:38] local.INFO: Acknowledgment sent {"connection_id":153928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:11:01] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:11:01] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:11:01] local.INFO: IMEI packet received {"connection_id":151567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":151567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:11:06] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:11:06] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:11:06] local.INFO: IMEI packet received {"connection_id":151567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":151567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:11:07] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:11:07] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7cf10d8012d34c20006aa3f08000800f32d..."} 
[2026-08-10 00:11:07] local.INFO: Packet analysis {"connection_id":151567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:11:07] local.INFO: Extracted packet for processing {"connection_id":151567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7cf"} 
[2026-08-10 00:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292859904001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786300535000,"timestamp_ms":1786300535000,"timestamp_seconds":1786300535,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7cf10d8"} 
[2026-08-10 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-08-10 00:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 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-08-10 00:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292859904001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292859904001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:11:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292859904001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":151567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:11:07] local.INFO: GPS data processed {"connection_id":151567,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:11:07] local.INFO: Acknowledgment sent {"connection_id":151567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:11:39] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:11:39] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:11:39] local.INFO: Packet analysis {"connection_id":151567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:11:39] local.INFO: Extracted packet for processing {"connection_id":151567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292936960001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786300836000,"timestamp_ms":1786300836000,"timestamp_seconds":1786300836,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d3a8a0"} 
[2026-08-10 00:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:11: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-08-10 00:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292936960001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292936960001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:11:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292936960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":151567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:11:39] local.INFO: GPS data processed {"connection_id":151567,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:11:39] local.INFO: Acknowledgment sent {"connection_id":151567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:12:00] local.INFO: TCP Data received {"connection_id":153929,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:12:00] local.INFO: Processing buffer {"connection_id":153929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:12:00] local.INFO: IMEI packet received {"connection_id":153929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":153929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:12:07] local.INFO: TCP Data received {"connection_id":153929,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:12:07] local.INFO: Processing buffer {"connection_id":153929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:12:07] local.INFO: IMEI packet received {"connection_id":153929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":153929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:12:10] local.INFO: TCP Data received {"connection_id":153929,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:12:10] local.INFO: Processing buffer {"connection_id":153929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:12:10] local.INFO: IMEI packet received {"connection_id":153929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":153929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:12:11] local.INFO: TCP Data received {"connection_id":153929,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:12:11] local.INFO: Processing buffer {"connection_id":153929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:12:11] local.INFO: Packet analysis {"connection_id":153929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:12:11] local.INFO: Extracted packet for processing {"connection_id":153929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292936960001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786300836000,"timestamp_ms":1786300836000,"timestamp_seconds":1786300836,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d3a8a0"} 
[2026-08-10 00:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00: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-08-10 00:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292936960001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292936960001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:12:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:12:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292936960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":153929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:12:11] local.INFO: GPS data processed {"connection_id":153929,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:12:11] local.INFO: Acknowledgment sent {"connection_id":153929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:12:43] local.INFO: TCP Data received {"connection_id":153929,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:12:43] local.INFO: Processing buffer {"connection_id":153929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:12:43] local.INFO: Packet analysis {"connection_id":153929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:12:43] local.INFO: Extracted packet for processing {"connection_id":153929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292936960001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786300836000,"timestamp_ms":1786300836000,"timestamp_seconds":1786300836,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d3a8a0"} 
[2026-08-10 00:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292936960001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292936960001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:12:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:12:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292936960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":153929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:12:43] local.INFO: GPS data processed {"connection_id":153929,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:12:43] local.INFO: Acknowledgment sent {"connection_id":153929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:13:06] local.INFO: TCP Data received {"connection_id":153930,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:13:06] local.INFO: Processing buffer {"connection_id":153930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:13:06] local.INFO: IMEI packet received {"connection_id":153930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":153930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:13:11] local.INFO: TCP Data received {"connection_id":153930,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:13:11] local.INFO: Processing buffer {"connection_id":153930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:13:11] local.INFO: IMEI packet received {"connection_id":153930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":153930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:13:12] local.INFO: TCP Data received {"connection_id":153930,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:13:12] local.INFO: Processing buffer {"connection_id":153930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:13:12] local.INFO: Packet analysis {"connection_id":153930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:13:12] local.INFO: Extracted packet for processing {"connection_id":153930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292936960001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786300836000,"timestamp_ms":1786300836000,"timestamp_seconds":1786300836,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d3a8a0"} 
[2026-08-10 00:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:13:12] 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-08-10 00:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292936960001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292936960001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:13:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:13:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292936960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":153930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:13:12] local.INFO: GPS data processed {"connection_id":153930,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:13:12] local.INFO: Acknowledgment sent {"connection_id":153930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:13:43] local.INFO: TCP Data received {"connection_id":153930,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:13:43] local.INFO: Processing buffer {"connection_id":153930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:13:43] local.INFO: Packet analysis {"connection_id":153930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:13:43] local.INFO: Extracted packet for processing {"connection_id":153930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292936960001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786300836000,"timestamp_ms":1786300836000,"timestamp_seconds":1786300836,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d3a8a0"} 
[2026-08-10 00:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:13:43] 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-08-10 00:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292936960001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292936960001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292936960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":153930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:13:43] local.INFO: GPS data processed {"connection_id":153930,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:13:43] local.INFO: Acknowledgment sent {"connection_id":153930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:14:01] local.INFO: TCP Data received {"connection_id":152477,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:14:01] local.INFO: Processing buffer {"connection_id":152477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:14:01] local.INFO: IMEI packet received {"connection_id":152477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":152477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:14:06] local.INFO: TCP Data received {"connection_id":152477,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:14:06] local.INFO: Processing buffer {"connection_id":152477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:14:06] local.INFO: IMEI packet received {"connection_id":152477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":152477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:14:07] local.INFO: TCP Data received {"connection_id":152477,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:14:07] local.INFO: Processing buffer {"connection_id":152477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:14:07] local.INFO: Packet analysis {"connection_id":152477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:14:07] local.INFO: Extracted packet for processing {"connection_id":152477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292936960001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786300836000,"timestamp_ms":1786300836000,"timestamp_seconds":1786300836,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d3a8a0"} 
[2026-08-10 00:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:14: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-08-10 00:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292936960001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292936960001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:14:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292936960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":152477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:14:07] local.INFO: GPS data processed {"connection_id":152477,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:14:07] local.INFO: Acknowledgment sent {"connection_id":152477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:14:38] local.INFO: TCP Data received {"connection_id":152477,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:14:38] local.INFO: Processing buffer {"connection_id":152477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:14:38] local.INFO: Packet analysis {"connection_id":152477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:14:38] local.INFO: Extracted packet for processing {"connection_id":152477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292936960001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786300836000,"timestamp_ms":1786300836000,"timestamp_seconds":1786300836,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d3a8a0"} 
[2026-08-10 00:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:14: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-08-10 00:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292936960001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292936960001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292936960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":152477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:14:38] local.INFO: GPS data processed {"connection_id":152477,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:14:38] local.INFO: Acknowledgment sent {"connection_id":152477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:15:00] local.INFO: TCP Data received {"connection_id":152478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:15:00] local.INFO: Processing buffer {"connection_id":152478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:15:00] local.INFO: IMEI packet received {"connection_id":152478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":152478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:15:06] local.INFO: TCP Data received {"connection_id":152478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:15:06] local.INFO: Processing buffer {"connection_id":152478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:15:06] local.INFO: IMEI packet received {"connection_id":152478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":152478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:15:06] local.INFO: TCP Data received {"connection_id":152478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:15:06] local.INFO: Processing buffer {"connection_id":152478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:15:06] local.INFO: Packet analysis {"connection_id":152478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:15:06] local.INFO: Extracted packet for processing {"connection_id":152478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292936960001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786300836000,"timestamp_ms":1786300836000,"timestamp_seconds":1786300836,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d3a8a0"} 
[2026-08-10 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-08-10 00:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:15: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-08-10 00:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292936960001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292936960001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292936960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":152478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:15:06] local.INFO: GPS data processed {"connection_id":152478,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:15:06] local.INFO: Acknowledgment sent {"connection_id":152478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:15:42] local.INFO: TCP Data received {"connection_id":152478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:15:42] local.INFO: Processing buffer {"connection_id":152478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:15:42] local.INFO: Packet analysis {"connection_id":152478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:15:42] local.INFO: Extracted packet for processing {"connection_id":152478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:15:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292936960001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786300836000,"timestamp_ms":1786300836000,"timestamp_seconds":1786300836,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d3a8a0"} 
[2026-08-10 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-08-10 00:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292936960001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292936960001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:15:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292936960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":152478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:15:42] local.INFO: GPS data processed {"connection_id":152478,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:15:42] local.INFO: Acknowledgment sent {"connection_id":152478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:16:00] local.INFO: TCP Data received {"connection_id":153931,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:16:00] local.INFO: Processing buffer {"connection_id":153931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:16:00] local.INFO: IMEI packet received {"connection_id":153931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":153931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:16:06] local.INFO: TCP Data received {"connection_id":153931,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:16:06] local.INFO: Processing buffer {"connection_id":153931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:16:06] local.INFO: IMEI packet received {"connection_id":153931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":153931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:16:10] local.INFO: TCP Data received {"connection_id":153931,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:16:10] local.INFO: Processing buffer {"connection_id":153931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d3a8a0012d34c20006aa3f08000700f32e..."} 
[2026-08-10 00:16:10] local.INFO: Packet analysis {"connection_id":153931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:16:10] local.INFO: Extracted packet for processing {"connection_id":153931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d3"} 
[2026-08-10 00:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457292936960001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786300836000,"timestamp_ms":1786300836000,"timestamp_seconds":1786300836,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d3a8a0"} 
[2026-08-10 00:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:16: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-08-10 00: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-08-10 00:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457292936960001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457292936960001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457292936960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":153931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:16:10] local.INFO: GPS data processed {"connection_id":153931,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:16:10] local.INFO: Acknowledgment sent {"connection_id":153931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:16:45] local.INFO: TCP Data received {"connection_id":153931,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:16:45] local.INFO: Processing buffer {"connection_id":153931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:16:45] local.INFO: Packet analysis {"connection_id":153931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:16:45] local.INFO: Extracted packet for processing {"connection_id":153931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293014016001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786301138000,"timestamp_ms":1786301138000,"timestamp_seconds":1786301138,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d84450"} 
[2026-08-10 00:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293014016001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293014016001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:16:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293014016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":153931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:16:45] local.INFO: GPS data processed {"connection_id":153931,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:16:45] local.INFO: Acknowledgment sent {"connection_id":153931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:17:01] local.INFO: TCP Data received {"connection_id":151568,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:17:01] local.INFO: Processing buffer {"connection_id":151568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:17:01] local.INFO: IMEI packet received {"connection_id":151568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":151568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:17:06] local.INFO: TCP Data received {"connection_id":151568,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:17:06] local.INFO: Processing buffer {"connection_id":151568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:17:06] local.INFO: IMEI packet received {"connection_id":151568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":151568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:17:07] local.INFO: TCP Data received {"connection_id":151568,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:17:07] local.INFO: Processing buffer {"connection_id":151568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:17:07] local.INFO: Packet analysis {"connection_id":151568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:17:07] local.INFO: Extracted packet for processing {"connection_id":151568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293014016001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786301138000,"timestamp_ms":1786301138000,"timestamp_seconds":1786301138,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d84450"} 
[2026-08-10 00:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293014016001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293014016001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:17:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293014016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":151568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:17:07] local.INFO: GPS data processed {"connection_id":151568,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:17:07] local.INFO: Acknowledgment sent {"connection_id":151568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:17:38] local.INFO: TCP Data received {"connection_id":151568,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:17:38] local.INFO: Processing buffer {"connection_id":151568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:17:38] local.INFO: Packet analysis {"connection_id":151568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:17:38] local.INFO: Extracted packet for processing {"connection_id":151568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293014016001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786301138000,"timestamp_ms":1786301138000,"timestamp_seconds":1786301138,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d84450"} 
[2026-08-10 00:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00: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-08-10 00:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293014016001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293014016001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293014016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":151568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:17:38] local.INFO: GPS data processed {"connection_id":151568,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:17:38] local.INFO: Acknowledgment sent {"connection_id":151568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:18:00] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:18:00] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:18:00] local.INFO: IMEI packet received {"connection_id":152479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":152479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:18:06] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:18:06] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:18:06] local.INFO: IMEI packet received {"connection_id":152479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":152479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:18:07] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:18:07] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:18:07] local.INFO: Packet analysis {"connection_id":152479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:18:07] local.INFO: Extracted packet for processing {"connection_id":152479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293014016001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786301138000,"timestamp_ms":1786301138000,"timestamp_seconds":1786301138,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d84450"} 
[2026-08-10 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-08-10 00:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293014016001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293014016001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293014016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":152479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:18:07] local.INFO: GPS data processed {"connection_id":152479,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:18:07] local.INFO: Acknowledgment sent {"connection_id":152479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:18:38] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:18:38] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:18:38] local.INFO: Packet analysis {"connection_id":152479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:18:38] local.INFO: Extracted packet for processing {"connection_id":152479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293014016001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786301138000,"timestamp_ms":1786301138000,"timestamp_seconds":1786301138,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d84450"} 
[2026-08-10 00:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00: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-08-10 00:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293014016001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293014016001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:18:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293014016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":152479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:18:38] local.INFO: GPS data processed {"connection_id":152479,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:18:38] local.INFO: Acknowledgment sent {"connection_id":152479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:19:00] local.INFO: TCP Data received {"connection_id":153932,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:19:00] local.INFO: Processing buffer {"connection_id":153932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:19:00] local.INFO: IMEI packet received {"connection_id":153932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":153932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:19:06] local.INFO: TCP Data received {"connection_id":153932,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:19:06] local.INFO: Processing buffer {"connection_id":153932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:19:06] local.INFO: IMEI packet received {"connection_id":153932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":153932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:19:52] local.INFO: TCP Data received {"connection_id":153932,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:19:52] local.INFO: Processing buffer {"connection_id":153932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:19:52] local.INFO: Packet analysis {"connection_id":153932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:19:52] local.INFO: Extracted packet for processing {"connection_id":153932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293014016001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786301138000,"timestamp_ms":1786301138000,"timestamp_seconds":1786301138,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d84450"} 
[2026-08-10 00:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293014016001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293014016001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293014016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":153932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:19:52] local.INFO: GPS data processed {"connection_id":153932,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:19:52] local.INFO: Acknowledgment sent {"connection_id":153932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:20:00] local.INFO: TCP Data received {"connection_id":151569,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:20:00] local.INFO: Processing buffer {"connection_id":151569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:20:00] local.INFO: IMEI packet received {"connection_id":151569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":151569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:20:06] local.INFO: TCP Data received {"connection_id":151569,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:20:06] local.INFO: Processing buffer {"connection_id":151569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:20:06] local.INFO: IMEI packet received {"connection_id":151569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":151569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:20:06] local.INFO: TCP Data received {"connection_id":151569,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:20:06] local.INFO: Processing buffer {"connection_id":151569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:20:06] local.INFO: Packet analysis {"connection_id":151569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:20:06] local.INFO: Extracted packet for processing {"connection_id":151569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293014016001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786301138000,"timestamp_ms":1786301138000,"timestamp_seconds":1786301138,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d84450"} 
[2026-08-10 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-08-10 00:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293014016001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293014016001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293014016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":151569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:20:06] local.INFO: GPS data processed {"connection_id":151569,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:20:06] local.INFO: Acknowledgment sent {"connection_id":151569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:20:38] local.INFO: TCP Data received {"connection_id":151569,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:20:38] local.INFO: Processing buffer {"connection_id":151569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:20:38] local.INFO: Packet analysis {"connection_id":151569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:20:38] local.INFO: Extracted packet for processing {"connection_id":151569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293014016001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786301138000,"timestamp_ms":1786301138000,"timestamp_seconds":1786301138,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d84450"} 
[2026-08-10 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-08-10 00:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293014016001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293014016001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293014016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":151569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:20:38] local.INFO: GPS data processed {"connection_id":151569,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:20:38] local.INFO: Acknowledgment sent {"connection_id":151569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:21:06] local.INFO: TCP Data received {"connection_id":152480,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:21:06] local.INFO: Processing buffer {"connection_id":152480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:21:06] local.INFO: IMEI packet received {"connection_id":152480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":152480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:21:11] local.INFO: TCP Data received {"connection_id":152480,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:21:11] local.INFO: Processing buffer {"connection_id":152480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:21:11] local.INFO: IMEI packet received {"connection_id":152480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":152480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:21:12] local.INFO: TCP Data received {"connection_id":152480,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:21:12] local.INFO: Processing buffer {"connection_id":152480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:21:12] local.INFO: Packet analysis {"connection_id":152480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:21:12] local.INFO: Extracted packet for processing {"connection_id":152480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293014016001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786301138000,"timestamp_ms":1786301138000,"timestamp_seconds":1786301138,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d84450"} 
[2026-08-10 00:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293014016001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293014016001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:21:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:21:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293014016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":152480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:21:12] local.INFO: GPS data processed {"connection_id":152480,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:21:12] local.INFO: Acknowledgment sent {"connection_id":152480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:21:16] local.INFO: TCP Data received {"connection_id":152480,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:21:16] local.INFO: Processing buffer {"connection_id":152480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7d84450012d34c20006aa3f08000900f32f..."} 
[2026-08-10 00:21:16] local.INFO: Packet analysis {"connection_id":152480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:21:16] local.INFO: Extracted packet for processing {"connection_id":152480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7d8"} 
[2026-08-10 00:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293014016001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786301138000,"timestamp_ms":1786301138000,"timestamp_seconds":1786301138,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7d84450"} 
[2026-08-10 00:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293014016001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293014016001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293014016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":152480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:21:16] local.INFO: GPS data processed {"connection_id":152480,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:21:16] local.INFO: Acknowledgment sent {"connection_id":152480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:22:01] local.INFO: TCP Data received {"connection_id":151191,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:22:01] local.INFO: Processing buffer {"connection_id":151191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:22:01] local.INFO: IMEI packet received {"connection_id":151191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":151191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:22:05] local.INFO: TCP Data received {"connection_id":151191,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:22:05] local.INFO: Processing buffer {"connection_id":151191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:22:05] local.INFO: IMEI packet received {"connection_id":151191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":151191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:22:06] local.INFO: TCP Data received {"connection_id":151191,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:22:06] local.INFO: Processing buffer {"connection_id":151191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:22:06] local.INFO: Packet analysis {"connection_id":151191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:22:06] local.INFO: Extracted packet for processing {"connection_id":151191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293091328001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786301438000,"timestamp_ms":1786301438000,"timestamp_seconds":1786301438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7dcd830"} 
[2026-08-10 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-08-10 00:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293091328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293091328001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293091328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":151191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:22:06] local.INFO: GPS data processed {"connection_id":151191,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:22:06] local.INFO: Acknowledgment sent {"connection_id":151191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:22:39] local.INFO: TCP Data received {"connection_id":151191,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:22:39] local.INFO: Processing buffer {"connection_id":151191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:22:39] local.INFO: Packet analysis {"connection_id":151191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:22:39] local.INFO: Extracted packet for processing {"connection_id":151191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293091328001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786301438000,"timestamp_ms":1786301438000,"timestamp_seconds":1786301438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7dcd830"} 
[2026-08-10 00:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293091328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293091328001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293091328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":151191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:22:39] local.INFO: GPS data processed {"connection_id":151191,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:22:39] local.INFO: Acknowledgment sent {"connection_id":151191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:23:00] local.INFO: TCP Data received {"connection_id":152481,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:23:00] local.INFO: Processing buffer {"connection_id":152481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:23:00] local.INFO: IMEI packet received {"connection_id":152481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":152481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:23:06] local.INFO: TCP Data received {"connection_id":152481,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:23:06] local.INFO: Processing buffer {"connection_id":152481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:23:06] local.INFO: IMEI packet received {"connection_id":152481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":152481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:23:07] local.INFO: TCP Data received {"connection_id":152481,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:23:07] local.INFO: Processing buffer {"connection_id":152481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:23:07] local.INFO: Packet analysis {"connection_id":152481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:23:07] local.INFO: Extracted packet for processing {"connection_id":152481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293091328001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786301438000,"timestamp_ms":1786301438000,"timestamp_seconds":1786301438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7dcd830"} 
[2026-08-10 00:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293091328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293091328001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:23:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293091328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":152481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:23:07] local.INFO: GPS data processed {"connection_id":152481,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:23:07] local.INFO: Acknowledgment sent {"connection_id":152481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:23:38] local.INFO: TCP Data received {"connection_id":152481,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:23:38] local.INFO: Processing buffer {"connection_id":152481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:23:38] local.INFO: Packet analysis {"connection_id":152481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:23:38] local.INFO: Extracted packet for processing {"connection_id":152481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293091328001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786301438000,"timestamp_ms":1786301438000,"timestamp_seconds":1786301438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7dcd830"} 
[2026-08-10 00:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293091328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293091328001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293091328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":152481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:23:38] local.INFO: GPS data processed {"connection_id":152481,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:23:38] local.INFO: Acknowledgment sent {"connection_id":152481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:24:00] local.INFO: TCP Data received {"connection_id":153933,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:24:00] local.INFO: Processing buffer {"connection_id":153933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:24:00] local.INFO: IMEI packet received {"connection_id":153933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":153933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:24:06] local.INFO: TCP Data received {"connection_id":153933,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:24:06] local.INFO: Processing buffer {"connection_id":153933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:24:06] local.INFO: IMEI packet received {"connection_id":153933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":153933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:24:06] local.INFO: TCP Data received {"connection_id":153933,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:24:06] local.INFO: Processing buffer {"connection_id":153933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:24:06] local.INFO: Packet analysis {"connection_id":153933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:24:06] local.INFO: Extracted packet for processing {"connection_id":153933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293091328001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786301438000,"timestamp_ms":1786301438000,"timestamp_seconds":1786301438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7dcd830"} 
[2026-08-10 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-08-10 00:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293091328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293091328001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293091328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":153933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:24:06] local.INFO: GPS data processed {"connection_id":153933,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:24:06] local.INFO: Acknowledgment sent {"connection_id":153933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:24:38] local.INFO: TCP Data received {"connection_id":153933,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:24:38] local.INFO: Processing buffer {"connection_id":153933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:24:38] local.INFO: Packet analysis {"connection_id":153933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:24:38] local.INFO: Extracted packet for processing {"connection_id":153933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293091328001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786301438000,"timestamp_ms":1786301438000,"timestamp_seconds":1786301438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7dcd830"} 
[2026-08-10 00:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293091328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293091328001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293091328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":153933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:24:38] local.INFO: GPS data processed {"connection_id":153933,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:24:38] local.INFO: Acknowledgment sent {"connection_id":153933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:25:06] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:25:06] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:25:06] local.INFO: IMEI packet received {"connection_id":151570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":151570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:25:11] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:25:11] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:25:11] local.INFO: IMEI packet received {"connection_id":151570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":151570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:25:12] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:25:12] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:25:12] local.INFO: Packet analysis {"connection_id":151570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:25:12] local.INFO: Extracted packet for processing {"connection_id":151570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:25:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293091328001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786301438000,"timestamp_ms":1786301438000,"timestamp_seconds":1786301438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7dcd830"} 
[2026-08-10 00:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:25: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-08-10 00:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293091328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293091328001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:25:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:25:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293091328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":151570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:25:12] local.INFO: GPS data processed {"connection_id":151570,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:25:12] local.INFO: Acknowledgment sent {"connection_id":151570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:25:16] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:25:16] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:25:16] local.INFO: Packet analysis {"connection_id":151570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:25:16] local.INFO: Extracted packet for processing {"connection_id":151570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293091328001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786301438000,"timestamp_ms":1786301438000,"timestamp_seconds":1786301438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7dcd830"} 
[2026-08-10 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-08-10 00:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:25: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-08-10 00:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293091328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293091328001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293091328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":151570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:25:16] local.INFO: GPS data processed {"connection_id":151570,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:25:16] local.INFO: Acknowledgment sent {"connection_id":151570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:26:01] local.INFO: TCP Data received {"connection_id":151571,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:26:01] local.INFO: Processing buffer {"connection_id":151571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:26:01] local.INFO: IMEI packet received {"connection_id":151571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":151571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:26:06] local.INFO: TCP Data received {"connection_id":151571,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:26:06] local.INFO: Processing buffer {"connection_id":151571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:26:06] local.INFO: IMEI packet received {"connection_id":151571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":151571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:26:06] local.INFO: TCP Data received {"connection_id":151571,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:26:06] local.INFO: Processing buffer {"connection_id":151571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7dcd830012d34c20006aa3f08000b00f32d..."} 
[2026-08-10 00:26:06] local.INFO: Packet analysis {"connection_id":151571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:26:06] local.INFO: Extracted packet for processing {"connection_id":151571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7dc"} 
[2026-08-10 00:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293091328001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786301438000,"timestamp_ms":1786301438000,"timestamp_seconds":1786301438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7dcd830"} 
[2026-08-10 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-08-10 00:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293091328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293091328001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293091328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":151571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:26:06] local.INFO: GPS data processed {"connection_id":151571,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:26:06] local.INFO: Acknowledgment sent {"connection_id":151571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:26:41] local.INFO: TCP Data received {"connection_id":151571,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:26:41] local.INFO: Processing buffer {"connection_id":151571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:26:41] local.INFO: Packet analysis {"connection_id":151571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:26:41] local.INFO: Extracted packet for processing {"connection_id":151571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":15,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293168128001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786301739000,"timestamp_ms":1786301739000,"timestamp_seconds":1786301739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e16ff8"} 
[2026-08-10 00:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293168128001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293168128001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:26:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293168128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":151571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:26:41] local.INFO: GPS data processed {"connection_id":151571,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:26:41] local.INFO: Acknowledgment sent {"connection_id":151571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:27:00] local.INFO: TCP Data received {"connection_id":151192,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:27:00] local.INFO: Processing buffer {"connection_id":151192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:27:00] local.INFO: IMEI packet received {"connection_id":151192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":151192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:27:06] local.INFO: TCP Data received {"connection_id":151192,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:27:06] local.INFO: Processing buffer {"connection_id":151192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:27:06] local.INFO: IMEI packet received {"connection_id":151192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":151192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:27:06] local.INFO: TCP Data received {"connection_id":151192,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:27:06] local.INFO: Processing buffer {"connection_id":151192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:27:06] local.INFO: Packet analysis {"connection_id":151192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:27:06] local.INFO: Extracted packet for processing {"connection_id":151192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":15,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293168128001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786301739000,"timestamp_ms":1786301739000,"timestamp_seconds":1786301739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e16ff8"} 
[2026-08-10 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-08-10 00:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:27: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-08-10 00:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293168128001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293168128001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293168128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":151192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:27:06] local.INFO: GPS data processed {"connection_id":151192,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:27:06] local.INFO: Acknowledgment sent {"connection_id":151192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:27:38] local.INFO: TCP Data received {"connection_id":151192,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:27:38] local.INFO: Processing buffer {"connection_id":151192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:27:38] local.INFO: Packet analysis {"connection_id":151192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:27:38] local.INFO: Extracted packet for processing {"connection_id":151192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":15,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293168128001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786301739000,"timestamp_ms":1786301739000,"timestamp_seconds":1786301739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e16ff8"} 
[2026-08-10 00:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:27: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-08-10 00:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293168128001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293168128001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293168128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":151192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:27:38] local.INFO: GPS data processed {"connection_id":151192,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:27:38] local.INFO: Acknowledgment sent {"connection_id":151192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:28:00] local.INFO: TCP Data received {"connection_id":152482,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:28:00] local.INFO: Processing buffer {"connection_id":152482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:28:00] local.INFO: IMEI packet received {"connection_id":152482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":152482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:28:06] local.INFO: TCP Data received {"connection_id":152482,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:28:06] local.INFO: Processing buffer {"connection_id":152482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:28:06] local.INFO: IMEI packet received {"connection_id":152482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":152482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:28:07] local.INFO: TCP Data received {"connection_id":152482,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:28:07] local.INFO: Processing buffer {"connection_id":152482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:28:07] local.INFO: Packet analysis {"connection_id":152482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:28:07] local.INFO: Extracted packet for processing {"connection_id":152482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":15,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293168128001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786301739000,"timestamp_ms":1786301739000,"timestamp_seconds":1786301739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e16ff8"} 
[2026-08-10 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-08-10 00:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293168128001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293168128001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:28:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293168128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":152482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:28:07] local.INFO: GPS data processed {"connection_id":152482,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:28:07] local.INFO: Acknowledgment sent {"connection_id":152482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:28:38] local.INFO: TCP Data received {"connection_id":152482,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:28:38] local.INFO: Processing buffer {"connection_id":152482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:28:38] local.INFO: Packet analysis {"connection_id":152482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:28:38] local.INFO: Extracted packet for processing {"connection_id":152482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":15,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293168128001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786301739000,"timestamp_ms":1786301739000,"timestamp_seconds":1786301739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e16ff8"} 
[2026-08-10 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-08-10 00:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293168128001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293168128001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293168128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":152482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:28:38] local.INFO: GPS data processed {"connection_id":152482,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:28:38] local.INFO: Acknowledgment sent {"connection_id":152482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:29:00] local.INFO: TCP Data received {"connection_id":153934,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:29:00] local.INFO: Processing buffer {"connection_id":153934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:29:00] local.INFO: IMEI packet received {"connection_id":153934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":153934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:29:06] local.INFO: TCP Data received {"connection_id":153934,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:29:06] local.INFO: Processing buffer {"connection_id":153934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:29:06] local.INFO: IMEI packet received {"connection_id":153934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":153934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:29:06] local.INFO: TCP Data received {"connection_id":153934,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:29:06] local.INFO: Processing buffer {"connection_id":153934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:29:06] local.INFO: Packet analysis {"connection_id":153934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:29:06] local.INFO: Extracted packet for processing {"connection_id":153934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":15,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293168128001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786301739000,"timestamp_ms":1786301739000,"timestamp_seconds":1786301739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e16ff8"} 
[2026-08-10 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-08-10 00:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293168128001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293168128001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293168128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":153934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:29:06] local.INFO: GPS data processed {"connection_id":153934,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:29:06] local.INFO: Acknowledgment sent {"connection_id":153934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:29:38] local.INFO: TCP Data received {"connection_id":153934,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:29:38] local.INFO: Processing buffer {"connection_id":153934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:29:38] local.INFO: Packet analysis {"connection_id":153934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:29:38] local.INFO: Extracted packet for processing {"connection_id":153934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":15,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293168128001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786301739000,"timestamp_ms":1786301739000,"timestamp_seconds":1786301739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e16ff8"} 
[2026-08-10 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-08-10 00:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293168128001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293168128001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293168128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":153934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:29:38] local.INFO: GPS data processed {"connection_id":153934,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:29:38] local.INFO: Acknowledgment sent {"connection_id":153934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:30:06] local.INFO: TCP Data received {"connection_id":153935,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:30:06] local.INFO: Processing buffer {"connection_id":153935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:30:06] local.INFO: IMEI packet received {"connection_id":153935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":153935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:30:10] local.INFO: TCP Data received {"connection_id":153935,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:30:10] local.INFO: Processing buffer {"connection_id":153935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:30:10] local.INFO: IMEI packet received {"connection_id":153935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":153935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:30:12] local.INFO: TCP Data received {"connection_id":153935,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:30:12] local.INFO: Processing buffer {"connection_id":153935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:30:12] local.INFO: Packet analysis {"connection_id":153935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:30:12] local.INFO: Extracted packet for processing {"connection_id":153935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":15,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293168128001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786301739000,"timestamp_ms":1786301739000,"timestamp_seconds":1786301739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e16ff8"} 
[2026-08-10 00:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:30: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-08-10 00:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293168128001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293168128001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:30:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:30:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293168128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":153935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:30:12] local.INFO: GPS data processed {"connection_id":153935,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:30:12] local.INFO: Acknowledgment sent {"connection_id":153935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:30:16] local.INFO: TCP Data received {"connection_id":153935,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:30:16] local.INFO: Processing buffer {"connection_id":153935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:30:16] local.INFO: Packet analysis {"connection_id":153935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:30:16] local.INFO: Extracted packet for processing {"connection_id":153935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":15,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293168128001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786301739000,"timestamp_ms":1786301739000,"timestamp_seconds":1786301739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e16ff8"} 
[2026-08-10 00:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:30: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-08-10 00:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293168128001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293168128001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293168128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":153935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:30:16] local.INFO: GPS data processed {"connection_id":153935,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:30:16] local.INFO: Acknowledgment sent {"connection_id":153935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:31:01] local.INFO: TCP Data received {"connection_id":153936,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:31:01] local.INFO: Processing buffer {"connection_id":153936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:31:01] local.INFO: IMEI packet received {"connection_id":153936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":153936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:31:06] local.INFO: TCP Data received {"connection_id":153936,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:31:06] local.INFO: Processing buffer {"connection_id":153936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:31:06] local.INFO: IMEI packet received {"connection_id":153936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":153936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:31:06] local.INFO: TCP Data received {"connection_id":153936,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:31:06] local.INFO: Processing buffer {"connection_id":153936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e16ff8012d34c20006aa3f08000f00f32f..."} 
[2026-08-10 00:31:06] local.INFO: Packet analysis {"connection_id":153936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:31:06] local.INFO: Extracted packet for processing {"connection_id":153936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e1"} 
[2026-08-10 00:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":15,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293168128001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786301739000,"timestamp_ms":1786301739000,"timestamp_seconds":1786301739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e16ff8"} 
[2026-08-10 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-08-10 00:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293168128001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293168128001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293168128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":153936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:31:06] local.INFO: GPS data processed {"connection_id":153936,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:31:06] local.INFO: Acknowledgment sent {"connection_id":153936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:31:37] local.INFO: TCP Data received {"connection_id":153936,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:31:37] local.INFO: Processing buffer {"connection_id":153936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:31:37] local.INFO: Packet analysis {"connection_id":153936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:31:37] local.INFO: Extracted packet for processing {"connection_id":153936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293245184001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786302040000,"timestamp_ms":1786302040000,"timestamp_seconds":1786302040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e607c0"} 
[2026-08-10 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-08-10 00:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293245184001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293245184001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293245184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":153936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:31:37] local.INFO: GPS data processed {"connection_id":153936,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:31:37] local.INFO: Acknowledgment sent {"connection_id":153936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:32:00] local.INFO: TCP Data received {"connection_id":153937,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:32:00] local.INFO: Processing buffer {"connection_id":153937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:32:00] local.INFO: IMEI packet received {"connection_id":153937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":153937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:32:06] local.INFO: TCP Data received {"connection_id":153937,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:32:06] local.INFO: Processing buffer {"connection_id":153937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:32:06] local.INFO: IMEI packet received {"connection_id":153937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":153937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:32:06] local.INFO: TCP Data received {"connection_id":153937,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:32:06] local.INFO: Processing buffer {"connection_id":153937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:32:06] local.INFO: Packet analysis {"connection_id":153937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:32:06] local.INFO: Extracted packet for processing {"connection_id":153937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293245184001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786302040000,"timestamp_ms":1786302040000,"timestamp_seconds":1786302040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e607c0"} 
[2026-08-10 00:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293245184001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293245184001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293245184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":153937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:32:06] local.INFO: GPS data processed {"connection_id":153937,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:32:06] local.INFO: Acknowledgment sent {"connection_id":153937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:32:38] local.INFO: TCP Data received {"connection_id":153937,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:32:38] local.INFO: Processing buffer {"connection_id":153937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:32:38] local.INFO: Packet analysis {"connection_id":153937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:32:38] local.INFO: Extracted packet for processing {"connection_id":153937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293245184001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786302040000,"timestamp_ms":1786302040000,"timestamp_seconds":1786302040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e607c0"} 
[2026-08-10 00:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00: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-08-10 00:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293245184001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293245184001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293245184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":153937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:32:38] local.INFO: GPS data processed {"connection_id":153937,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:32:38] local.INFO: Acknowledgment sent {"connection_id":153937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:33:06] local.INFO: TCP Data received {"connection_id":151572,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:33:06] local.INFO: Processing buffer {"connection_id":151572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:33:06] local.INFO: IMEI packet received {"connection_id":151572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":151572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:33:11] local.INFO: TCP Data received {"connection_id":151572,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:33:11] local.INFO: Processing buffer {"connection_id":151572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:33:11] local.INFO: IMEI packet received {"connection_id":151572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":151572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:33:11] local.INFO: TCP Data received {"connection_id":151572,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:33:11] local.INFO: Processing buffer {"connection_id":151572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:33:11] local.INFO: Packet analysis {"connection_id":151572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:33:11] local.INFO: Extracted packet for processing {"connection_id":151572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293245184001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786302040000,"timestamp_ms":1786302040000,"timestamp_seconds":1786302040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e607c0"} 
[2026-08-10 00:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00: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-08-10 00:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293245184001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293245184001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:33:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293245184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":151572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:33:11] local.INFO: GPS data processed {"connection_id":151572,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:33:11] local.INFO: Acknowledgment sent {"connection_id":151572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:33:16] local.INFO: TCP Data received {"connection_id":151572,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:33:16] local.INFO: Processing buffer {"connection_id":151572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:33:16] local.INFO: Packet analysis {"connection_id":151572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:33:16] local.INFO: Extracted packet for processing {"connection_id":151572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293245184001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786302040000,"timestamp_ms":1786302040000,"timestamp_seconds":1786302040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e607c0"} 
[2026-08-10 00:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293245184001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293245184001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293245184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":151572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:33:16] local.INFO: GPS data processed {"connection_id":151572,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:33:16] local.INFO: Acknowledgment sent {"connection_id":151572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:34:01] local.INFO: TCP Data received {"connection_id":152483,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:34:01] local.INFO: Processing buffer {"connection_id":152483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:34:01] local.INFO: IMEI packet received {"connection_id":152483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":152483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:34:06] local.INFO: TCP Data received {"connection_id":152483,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:34:06] local.INFO: Processing buffer {"connection_id":152483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:34:06] local.INFO: IMEI packet received {"connection_id":152483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":152483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:34:06] local.INFO: TCP Data received {"connection_id":152483,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:34:06] local.INFO: Processing buffer {"connection_id":152483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:34:06] local.INFO: Packet analysis {"connection_id":152483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:34:06] local.INFO: Extracted packet for processing {"connection_id":152483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293245184001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786302040000,"timestamp_ms":1786302040000,"timestamp_seconds":1786302040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e607c0"} 
[2026-08-10 00:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293245184001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293245184001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293245184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":152483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:34:06] local.INFO: GPS data processed {"connection_id":152483,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:34:06] local.INFO: Acknowledgment sent {"connection_id":152483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:34:39] local.INFO: TCP Data received {"connection_id":152483,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:34:39] local.INFO: Processing buffer {"connection_id":152483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:34:39] local.INFO: Packet analysis {"connection_id":152483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:34:39] local.INFO: Extracted packet for processing {"connection_id":152483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293245184001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786302040000,"timestamp_ms":1786302040000,"timestamp_seconds":1786302040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e607c0"} 
[2026-08-10 00:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293245184001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293245184001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:34:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293245184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":152483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:34:39] local.INFO: GPS data processed {"connection_id":152483,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:34:39] local.INFO: Acknowledgment sent {"connection_id":152483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:35:01] local.INFO: TCP Data received {"connection_id":151193,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:35:01] local.INFO: Processing buffer {"connection_id":151193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:35:01] local.INFO: IMEI packet received {"connection_id":151193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":151193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:35:05] local.INFO: TCP Data received {"connection_id":151193,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:35:05] local.INFO: Processing buffer {"connection_id":151193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:35:05] local.INFO: IMEI packet received {"connection_id":151193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":151193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:35:07] local.INFO: TCP Data received {"connection_id":151193,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:35:07] local.INFO: Processing buffer {"connection_id":151193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:35:07] local.INFO: Packet analysis {"connection_id":151193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:35:07] local.INFO: Extracted packet for processing {"connection_id":151193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293245184001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786302040000,"timestamp_ms":1786302040000,"timestamp_seconds":1786302040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e607c0"} 
[2026-08-10 00:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00: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-08-10 00:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293245184001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293245184001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293245184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":151193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:35:07] local.INFO: GPS data processed {"connection_id":151193,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:35:07] local.INFO: Acknowledgment sent {"connection_id":151193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:35:43] local.INFO: TCP Data received {"connection_id":151193,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:35:43] local.INFO: Processing buffer {"connection_id":151193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:35:43] local.INFO: Packet analysis {"connection_id":151193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:35:43] local.INFO: Extracted packet for processing {"connection_id":151193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293245184001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786302040000,"timestamp_ms":1786302040000,"timestamp_seconds":1786302040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e607c0"} 
[2026-08-10 00:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293245184001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293245184001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:35:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293245184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":151193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:35:43] local.INFO: GPS data processed {"connection_id":151193,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:35:43] local.INFO: Acknowledgment sent {"connection_id":151193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:36:00] local.INFO: TCP Data received {"connection_id":151573,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:36:00] local.INFO: Processing buffer {"connection_id":151573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:36:00] local.INFO: IMEI packet received {"connection_id":151573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":151573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:36:06] local.INFO: TCP Data received {"connection_id":151573,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:36:06] local.INFO: Processing buffer {"connection_id":151573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:36:06] local.INFO: IMEI packet received {"connection_id":151573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":151573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:36:06] local.INFO: TCP Data received {"connection_id":151573,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:36:06] local.INFO: Processing buffer {"connection_id":151573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7e607c0012d34c20006aa3f08000800f32b..."} 
[2026-08-10 00:36:06] local.INFO: Packet analysis {"connection_id":151573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:36:06] local.INFO: Extracted packet for processing {"connection_id":151573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7e6"} 
[2026-08-10 00:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293245184001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786302040000,"timestamp_ms":1786302040000,"timestamp_seconds":1786302040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7e607c0"} 
[2026-08-10 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-08-10 00:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293245184001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293245184001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293245184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":151573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:36:06] local.INFO: GPS data processed {"connection_id":151573,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:36:06] local.INFO: Acknowledgment sent {"connection_id":151573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:36:37] local.INFO: TCP Data received {"connection_id":151573,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:36:37] local.INFO: Processing buffer {"connection_id":151573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:36:37] local.INFO: Packet analysis {"connection_id":151573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:36:37] local.INFO: Extracted packet for processing {"connection_id":151573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293322240001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786302341000,"timestamp_ms":1786302341000,"timestamp_seconds":1786302341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ea9f88"} 
[2026-08-10 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-08-10 00:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 00:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293322240001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293322240001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293322240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":151573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:36:38] local.INFO: GPS data processed {"connection_id":151573,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:36:38] local.INFO: Acknowledgment sent {"connection_id":151573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:37:05] local.INFO: TCP Data received {"connection_id":153938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:37:05] local.INFO: Processing buffer {"connection_id":153938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:37:05] local.INFO: IMEI packet received {"connection_id":153938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":153938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:37:10] local.INFO: TCP Data received {"connection_id":153938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:37:10] local.INFO: Processing buffer {"connection_id":153938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:37:10] local.INFO: IMEI packet received {"connection_id":153938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":153938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:37:11] local.INFO: TCP Data received {"connection_id":153938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:37:11] local.INFO: Processing buffer {"connection_id":153938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:37:11] local.INFO: Packet analysis {"connection_id":153938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:37:11] local.INFO: Extracted packet for processing {"connection_id":153938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293322240001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786302341000,"timestamp_ms":1786302341000,"timestamp_seconds":1786302341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ea9f88"} 
[2026-08-10 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-08-10 00:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 00:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293322240001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293322240001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:37:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:37:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293322240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":153938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:37:11] local.INFO: GPS data processed {"connection_id":153938,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:37:11] local.INFO: Acknowledgment sent {"connection_id":153938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:37:16] local.INFO: TCP Data received {"connection_id":153938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:37:16] local.INFO: Processing buffer {"connection_id":153938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:37:16] local.INFO: Packet analysis {"connection_id":153938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:37:16] local.INFO: Extracted packet for processing {"connection_id":153938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293322240001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786302341000,"timestamp_ms":1786302341000,"timestamp_seconds":1786302341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ea9f88"} 
[2026-08-10 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-08-10 00:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 00:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:37: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-08-10 00:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293322240001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293322240001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293322240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":153938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:37:16] local.INFO: GPS data processed {"connection_id":153938,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:37:16] local.INFO: Acknowledgment sent {"connection_id":153938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:38:00] local.INFO: TCP Data received {"connection_id":151574,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:38:01] local.INFO: Processing buffer {"connection_id":151574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:38:01] local.INFO: IMEI packet received {"connection_id":151574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":151574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:38:06] local.INFO: TCP Data received {"connection_id":151574,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:38:06] local.INFO: Processing buffer {"connection_id":151574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:38:06] local.INFO: IMEI packet received {"connection_id":151574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":151574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:38:06] local.INFO: TCP Data received {"connection_id":151574,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:38:07] local.INFO: Processing buffer {"connection_id":151574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:38:07] local.INFO: Packet analysis {"connection_id":151574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:38:07] local.INFO: Extracted packet for processing {"connection_id":151574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293322240001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786302341000,"timestamp_ms":1786302341000,"timestamp_seconds":1786302341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ea9f88"} 
[2026-08-10 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-08-10 00:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 00:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:38: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-08-10 00:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293322240001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293322240001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293322240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":151574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:38:07] local.INFO: GPS data processed {"connection_id":151574,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:38:07] local.INFO: Acknowledgment sent {"connection_id":151574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:38:38] local.INFO: TCP Data received {"connection_id":151574,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:38:38] local.INFO: Processing buffer {"connection_id":151574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:38:38] local.INFO: Packet analysis {"connection_id":151574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:38:38] local.INFO: Extracted packet for processing {"connection_id":151574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293322240001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786302341000,"timestamp_ms":1786302341000,"timestamp_seconds":1786302341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ea9f88"} 
[2026-08-10 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-08-10 00:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 00:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293322240001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293322240001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293322240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":151574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:38:38] local.INFO: GPS data processed {"connection_id":151574,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:38:38] local.INFO: Acknowledgment sent {"connection_id":151574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:39:01] local.INFO: TCP Data received {"connection_id":153939,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:39:01] local.INFO: Processing buffer {"connection_id":153939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:39:01] local.INFO: IMEI packet received {"connection_id":153939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":153939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:39:05] local.INFO: TCP Data received {"connection_id":153939,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:39:05] local.INFO: Processing buffer {"connection_id":153939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:39:05] local.INFO: IMEI packet received {"connection_id":153939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":153939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:39:06] local.INFO: TCP Data received {"connection_id":153939,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:39:06] local.INFO: Processing buffer {"connection_id":153939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:39:06] local.INFO: Packet analysis {"connection_id":153939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:39:06] local.INFO: Extracted packet for processing {"connection_id":153939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293322240001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786302341000,"timestamp_ms":1786302341000,"timestamp_seconds":1786302341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ea9f88"} 
[2026-08-10 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-08-10 00:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 00:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293322240001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293322240001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293322240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":153939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:39:06] local.INFO: GPS data processed {"connection_id":153939,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:39:06] local.INFO: Acknowledgment sent {"connection_id":153939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:39:38] local.INFO: TCP Data received {"connection_id":153939,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:39:38] local.INFO: Processing buffer {"connection_id":153939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:39:38] local.INFO: Packet analysis {"connection_id":153939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:39:38] local.INFO: Extracted packet for processing {"connection_id":153939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293322240001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786302341000,"timestamp_ms":1786302341000,"timestamp_seconds":1786302341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ea9f88"} 
[2026-08-10 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-08-10 00:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 00:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293322240001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293322240001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293322240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":153939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:39:38] local.INFO: GPS data processed {"connection_id":153939,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:39:38] local.INFO: Acknowledgment sent {"connection_id":153939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:40:00] local.INFO: TCP Data received {"connection_id":151194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:40:00] local.INFO: Processing buffer {"connection_id":151194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:40:00] local.INFO: IMEI packet received {"connection_id":151194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":151194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:40:06] local.INFO: TCP Data received {"connection_id":151194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:40:06] local.INFO: Processing buffer {"connection_id":151194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:40:06] local.INFO: IMEI packet received {"connection_id":151194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":151194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:40:07] local.INFO: TCP Data received {"connection_id":151194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:40:07] local.INFO: Processing buffer {"connection_id":151194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:40:07] local.INFO: Packet analysis {"connection_id":151194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:40:07] local.INFO: Extracted packet for processing {"connection_id":151194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293322240001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786302341000,"timestamp_ms":1786302341000,"timestamp_seconds":1786302341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ea9f88"} 
[2026-08-10 00:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 00:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:40: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-08-10 00:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293322240001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293322240001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:40:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293322240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":151194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:40:07] local.INFO: GPS data processed {"connection_id":151194,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:40:07] local.INFO: Acknowledgment sent {"connection_id":151194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:40:38] local.INFO: TCP Data received {"connection_id":151194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:40:38] local.INFO: Processing buffer {"connection_id":151194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:40:38] local.INFO: Packet analysis {"connection_id":151194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:40:38] local.INFO: Extracted packet for processing {"connection_id":151194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293322240001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786302341000,"timestamp_ms":1786302341000,"timestamp_seconds":1786302341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ea9f88"} 
[2026-08-10 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-08-10 00:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 00:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293322240001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293322240001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293322240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":151194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:40:38] local.INFO: GPS data processed {"connection_id":151194,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:40:38] local.INFO: Acknowledgment sent {"connection_id":151194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:41:00] local.INFO: TCP Data received {"connection_id":151575,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:41:00] local.INFO: Processing buffer {"connection_id":151575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:41:00] local.INFO: IMEI packet received {"connection_id":151575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":151575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:41:06] local.INFO: TCP Data received {"connection_id":151575,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:41:06] local.INFO: Processing buffer {"connection_id":151575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:41:06] local.INFO: IMEI packet received {"connection_id":151575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":151575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:41:07] local.INFO: TCP Data received {"connection_id":151575,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:41:07] local.INFO: Processing buffer {"connection_id":151575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ea9f88012d34c20006aa3f08000900f32d..."} 
[2026-08-10 00:41:07] local.INFO: Packet analysis {"connection_id":151575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:41:07] local.INFO: Extracted packet for processing {"connection_id":151575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ea"} 
[2026-08-10 00:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293322240001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786302341000,"timestamp_ms":1786302341000,"timestamp_seconds":1786302341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ea9f88"} 
[2026-08-10 00:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 00:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:41: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-08-10 00:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293322240001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293322240001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293322240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":151575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:41:07] local.INFO: GPS data processed {"connection_id":151575,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:41:07] local.INFO: Acknowledgment sent {"connection_id":151575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:41:39] local.INFO: TCP Data received {"connection_id":151575,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:41:39] local.INFO: Processing buffer {"connection_id":151575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:41:39] local.INFO: Packet analysis {"connection_id":151575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:41:39] local.INFO: Extracted packet for processing {"connection_id":151575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293399296001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786302642000,"timestamp_ms":1786302642000,"timestamp_seconds":1786302642,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ef3750"} 
[2026-08-10 00:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293399296001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293399296001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:41:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:41:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293399296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":151575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:41:39] local.INFO: GPS data processed {"connection_id":151575,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:41:39] local.INFO: Acknowledgment sent {"connection_id":151575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:42:06] local.INFO: TCP Data received {"connection_id":152484,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:42:06] local.INFO: Processing buffer {"connection_id":152484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:42:06] local.INFO: IMEI packet received {"connection_id":152484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":152484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:42:10] local.INFO: TCP Data received {"connection_id":152484,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:42:10] local.INFO: Processing buffer {"connection_id":152484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:42:10] local.INFO: IMEI packet received {"connection_id":152484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":152484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:42:11] local.INFO: TCP Data received {"connection_id":152484,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:42:11] local.INFO: Processing buffer {"connection_id":152484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:42:11] local.INFO: Packet analysis {"connection_id":152484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:42:11] local.INFO: Extracted packet for processing {"connection_id":152484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293399296001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786302642000,"timestamp_ms":1786302642000,"timestamp_seconds":1786302642,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ef3750"} 
[2026-08-10 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-08-10 00:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293399296001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293399296001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:42:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:42:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293399296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":152484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:42:11] local.INFO: GPS data processed {"connection_id":152484,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:42:11] local.INFO: Acknowledgment sent {"connection_id":152484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:42:16] local.INFO: TCP Data received {"connection_id":152484,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:42:16] local.INFO: Processing buffer {"connection_id":152484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:42:16] local.INFO: Packet analysis {"connection_id":152484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:42:16] local.INFO: Extracted packet for processing {"connection_id":152484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293399296001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786302642000,"timestamp_ms":1786302642000,"timestamp_seconds":1786302642,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ef3750"} 
[2026-08-10 00:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293399296001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293399296001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293399296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":152484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:42:16] local.INFO: GPS data processed {"connection_id":152484,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:42:16] local.INFO: Acknowledgment sent {"connection_id":152484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:43:00] local.INFO: TCP Data received {"connection_id":151195,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:43:00] local.INFO: Processing buffer {"connection_id":151195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:43:00] local.INFO: IMEI packet received {"connection_id":151195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":151195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:43:06] local.INFO: TCP Data received {"connection_id":151195,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:43:06] local.INFO: Processing buffer {"connection_id":151195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:43:06] local.INFO: IMEI packet received {"connection_id":151195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":151195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:43:07] local.INFO: TCP Data received {"connection_id":151195,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:43:07] local.INFO: Processing buffer {"connection_id":151195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:43:07] local.INFO: Packet analysis {"connection_id":151195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:43:07] local.INFO: Extracted packet for processing {"connection_id":151195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293399296001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786302642000,"timestamp_ms":1786302642000,"timestamp_seconds":1786302642,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ef3750"} 
[2026-08-10 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-08-10 00:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293399296001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293399296001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293399296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":151195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:43:07] local.INFO: GPS data processed {"connection_id":151195,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:43:07] local.INFO: Acknowledgment sent {"connection_id":151195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:43:38] local.INFO: TCP Data received {"connection_id":151195,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:43:38] local.INFO: Processing buffer {"connection_id":151195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:43:38] local.INFO: Packet analysis {"connection_id":151195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:43:38] local.INFO: Extracted packet for processing {"connection_id":151195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293399296001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786302642000,"timestamp_ms":1786302642000,"timestamp_seconds":1786302642,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ef3750"} 
[2026-08-10 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-08-10 00:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293399296001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293399296001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293399296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":151195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:43:38] local.INFO: GPS data processed {"connection_id":151195,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:43:38] local.INFO: Acknowledgment sent {"connection_id":151195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:44:01] local.INFO: TCP Data received {"connection_id":153940,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:44:01] local.INFO: Processing buffer {"connection_id":153940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:44:01] local.INFO: IMEI packet received {"connection_id":153940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":153940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:44:06] local.INFO: TCP Data received {"connection_id":153940,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:44:06] local.INFO: Processing buffer {"connection_id":153940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:44:06] local.INFO: IMEI packet received {"connection_id":153940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":153940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:44:06] local.INFO: TCP Data received {"connection_id":153940,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:44:06] local.INFO: Processing buffer {"connection_id":153940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:44:06] local.INFO: Packet analysis {"connection_id":153940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:44:06] local.INFO: Extracted packet for processing {"connection_id":153940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293399296001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786302642000,"timestamp_ms":1786302642000,"timestamp_seconds":1786302642,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ef3750"} 
[2026-08-10 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-08-10 00:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293399296001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293399296001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293399296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":153940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:44:06] local.INFO: GPS data processed {"connection_id":153940,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:44:06] local.INFO: Acknowledgment sent {"connection_id":153940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:44:38] local.INFO: TCP Data received {"connection_id":153940,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:44:38] local.INFO: Processing buffer {"connection_id":153940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7ef3750012d34c20006aa3f08000500f32e..."} 
[2026-08-10 00:44:38] local.INFO: Packet analysis {"connection_id":153940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:44:38] local.INFO: Extracted packet for processing {"connection_id":153940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7ef"} 
[2026-08-10 00:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293399296001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786302642000,"timestamp_ms":1786302642000,"timestamp_seconds":1786302642,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7ef3750"} 
[2026-08-10 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-08-10 00:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 00:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:44: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-08-10 00:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293399296001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293399296001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293399296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":153940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:44:38] local.INFO: GPS data processed {"connection_id":153940,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:44:38] local.INFO: Acknowledgment sent {"connection_id":153940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:45:01] local.INFO: TCP Data received {"connection_id":151196,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:45:01] local.INFO: Processing buffer {"connection_id":151196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:45:01] local.INFO: IMEI packet received {"connection_id":151196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":151196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:45:31] local.INFO: TCP Data received {"connection_id":151196,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:45:31] local.INFO: Processing buffer {"connection_id":151196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:45:31] local.INFO: IMEI packet received {"connection_id":151196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":151196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:45:31] local.INFO: TCP Data received {"connection_id":151196,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:45:31] local.INFO: Processing buffer {"connection_id":151196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:45:31] local.INFO: IMEI packet received {"connection_id":151196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":151196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:45:32] local.INFO: TCP Data received {"connection_id":151196,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:45:32] local.INFO: Processing buffer {"connection_id":151196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:45:32] local.INFO: IMEI packet received {"connection_id":151196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":151196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:50:35] local.INFO: TCP Data received {"connection_id":152487,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:50:35] local.INFO: Processing buffer {"connection_id":152487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:50:35] local.INFO: IMEI packet received {"connection_id":152487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":152487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:50:36] local.INFO: TCP Data received {"connection_id":152487,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7f3cf18012d34c20006aa3f08000d00f32f..."} 
[2026-08-10 00:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7f3cf18012d34c20006aa3f08000d00f32f..."} 
[2026-08-10 00:50:36] local.INFO: Processing buffer {"connection_id":152487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7f3cf18012d34c20006aa3f08000d00f32f..."} 
[2026-08-10 00:50:36] local.INFO: Packet analysis {"connection_id":152487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7f3"} 
[2026-08-10 00:50:36] local.INFO: Extracted packet for processing {"connection_id":152487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7f3"} 
[2026-08-10 00:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":13,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293476352001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786302943000,"timestamp_ms":1786302943000,"timestamp_seconds":1786302943,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7f3cf18"} 
[2026-08-10 00:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293476352001,"66":25430,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293476352001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293476352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":152487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:50:37] local.INFO: GPS data processed {"connection_id":152487,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:50:37] local.INFO: Acknowledgment sent {"connection_id":152487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:51:00] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:51:00] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:51:00] local.INFO: IMEI packet received {"connection_id":152488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":152488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:51:05] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:51:05] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:51:05] local.INFO: IMEI packet received {"connection_id":152488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":152488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:51:06] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7f3cf18012d34c20006aa3f08000d00f32f..."} 
[2026-08-10 00:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7f3cf18012d34c20006aa3f08000d00f32f..."} 
[2026-08-10 00:51:06] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7f3cf18012d34c20006aa3f08000d00f32f..."} 
[2026-08-10 00:51:06] local.INFO: Packet analysis {"connection_id":152488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7f3"} 
[2026-08-10 00:51:06] local.INFO: Extracted packet for processing {"connection_id":152488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7f3"} 
[2026-08-10 00:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":13,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293476352001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786302943000,"timestamp_ms":1786302943000,"timestamp_seconds":1786302943,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7f3cf18"} 
[2026-08-10 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-08-10 00:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293476352001,"66":25430,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293476352001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293476352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":152488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:51:06] local.INFO: GPS data processed {"connection_id":152488,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:51:06] local.INFO: Acknowledgment sent {"connection_id":152488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:51:38] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:51:38] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:51:38] local.INFO: Packet analysis {"connection_id":152488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:51:38] local.INFO: Extracted packet for processing {"connection_id":152488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293553408001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303244000,"timestamp_ms":1786303244000,"timestamp_seconds":1786303244,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7f866e0"} 
[2026-08-10 00:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 00:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00: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-08-10 00:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293553408001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293553408001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293553408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":152488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:51:38] local.INFO: GPS data processed {"connection_id":152488,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:51:38] local.INFO: Acknowledgment sent {"connection_id":152488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:52:00] local.INFO: TCP Data received {"connection_id":151198,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:52:00] local.INFO: Processing buffer {"connection_id":151198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:52:00] local.INFO: IMEI packet received {"connection_id":151198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":151198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:52:05] local.INFO: TCP Data received {"connection_id":151198,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:52:05] local.INFO: Processing buffer {"connection_id":151198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:52:05] local.INFO: IMEI packet received {"connection_id":151198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":151198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:52:06] local.INFO: TCP Data received {"connection_id":151198,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:52:06] local.INFO: Processing buffer {"connection_id":151198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:52:06] local.INFO: Packet analysis {"connection_id":151198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:52:06] local.INFO: Extracted packet for processing {"connection_id":151198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293553408001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786303244000,"timestamp_ms":1786303244000,"timestamp_seconds":1786303244,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7f866e0"} 
[2026-08-10 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-08-10 00:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 00:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293553408001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293553408001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293553408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":151198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:52:06] local.INFO: GPS data processed {"connection_id":151198,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:52:06] local.INFO: Acknowledgment sent {"connection_id":151198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:52:38] local.INFO: TCP Data received {"connection_id":151198,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:52:38] local.INFO: Processing buffer {"connection_id":151198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:52:38] local.INFO: Packet analysis {"connection_id":151198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:52:38] local.INFO: Extracted packet for processing {"connection_id":151198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293553408001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303244000,"timestamp_ms":1786303244000,"timestamp_seconds":1786303244,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7f866e0"} 
[2026-08-10 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-08-10 00:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 00:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293553408001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293553408001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293553408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":151198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:52:38] local.INFO: GPS data processed {"connection_id":151198,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:52:38] local.INFO: Acknowledgment sent {"connection_id":151198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:53:01] local.INFO: TCP Data received {"connection_id":153941,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:53:01] local.INFO: Processing buffer {"connection_id":153941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:53:01] local.INFO: IMEI packet received {"connection_id":153941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":153941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:53:05] local.INFO: TCP Data received {"connection_id":153941,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:53:05] local.INFO: Processing buffer {"connection_id":153941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:53:05] local.INFO: IMEI packet received {"connection_id":153941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":153941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:53:07] local.INFO: TCP Data received {"connection_id":153941,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:53:07] local.INFO: Processing buffer {"connection_id":153941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:53:07] local.INFO: Packet analysis {"connection_id":153941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:53:07] local.INFO: Extracted packet for processing {"connection_id":153941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293553408001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786303244000,"timestamp_ms":1786303244000,"timestamp_seconds":1786303244,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7f866e0"} 
[2026-08-10 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-08-10 00:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 00:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293553408001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293553408001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:53:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:53:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293553408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":153941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:53:07] local.INFO: GPS data processed {"connection_id":153941,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:53:07] local.INFO: Acknowledgment sent {"connection_id":153941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:53:38] local.INFO: TCP Data received {"connection_id":153941,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:53:38] local.INFO: Processing buffer {"connection_id":153941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:53:38] local.INFO: Packet analysis {"connection_id":153941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:53:38] local.INFO: Extracted packet for processing {"connection_id":153941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293553408001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303244000,"timestamp_ms":1786303244000,"timestamp_seconds":1786303244,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7f866e0"} 
[2026-08-10 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-08-10 00:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 00:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293553408001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293553408001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293553408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":153941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:53:38] local.INFO: GPS data processed {"connection_id":153941,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:53:38] local.INFO: Acknowledgment sent {"connection_id":153941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:54:00] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:54:00] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:54:00] local.INFO: IMEI packet received {"connection_id":152489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":152489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:54:05] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:54:05] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:54:05] local.INFO: IMEI packet received {"connection_id":152489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":152489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:54:06] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:54:06] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:54:06] local.INFO: Packet analysis {"connection_id":152489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:54:06] local.INFO: Extracted packet for processing {"connection_id":152489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293553408001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786303244000,"timestamp_ms":1786303244000,"timestamp_seconds":1786303244,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7f866e0"} 
[2026-08-10 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-08-10 00:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 00:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293553408001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293553408001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293553408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":152489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:54:06] local.INFO: GPS data processed {"connection_id":152489,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:54:06] local.INFO: Acknowledgment sent {"connection_id":152489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:54:38] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:54:38] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:54:38] local.INFO: Packet analysis {"connection_id":152489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:54:38] local.INFO: Extracted packet for processing {"connection_id":152489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293553408001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303244000,"timestamp_ms":1786303244000,"timestamp_seconds":1786303244,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7f866e0"} 
[2026-08-10 00:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 00:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293553408001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293553408001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293553408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":152489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:54:38] local.INFO: GPS data processed {"connection_id":152489,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:54:38] local.INFO: Acknowledgment sent {"connection_id":152489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:55:00] local.INFO: TCP Data received {"connection_id":153942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:55:00] local.INFO: Processing buffer {"connection_id":153942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:55:00] local.INFO: IMEI packet received {"connection_id":153942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":153942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:55:05] local.INFO: TCP Data received {"connection_id":153942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:55:06] local.INFO: Processing buffer {"connection_id":153942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:55:06] local.INFO: IMEI packet received {"connection_id":153942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":153942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:55:07] local.INFO: TCP Data received {"connection_id":153942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:55:07] local.INFO: Processing buffer {"connection_id":153942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:55:07] local.INFO: Packet analysis {"connection_id":153942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:55:07] local.INFO: Extracted packet for processing {"connection_id":153942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293553408001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786303244000,"timestamp_ms":1786303244000,"timestamp_seconds":1786303244,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7f866e0"} 
[2026-08-10 00:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 00:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:55: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-08-10 00:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293553408001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293553408001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:55:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293553408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":153942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:55:07] local.INFO: GPS data processed {"connection_id":153942,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:55:07] local.INFO: Acknowledgment sent {"connection_id":153942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:55:39] local.INFO: TCP Data received {"connection_id":153942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:55:39] local.INFO: Processing buffer {"connection_id":153942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:55:39] local.INFO: Packet analysis {"connection_id":153942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:55:39] local.INFO: Extracted packet for processing {"connection_id":153942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293553408001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786303244000,"timestamp_ms":1786303244000,"timestamp_seconds":1786303244,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7f866e0"} 
[2026-08-10 00:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 00:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:55: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-08-10 00:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293553408001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293553408001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:55:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:55:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293553408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":153942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:55:39] local.INFO: GPS data processed {"connection_id":153942,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:55:39] local.INFO: Acknowledgment sent {"connection_id":153942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:56:00] local.INFO: TCP Data received {"connection_id":151577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:56:00] local.INFO: Processing buffer {"connection_id":151577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:56:00] local.INFO: IMEI packet received {"connection_id":151577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":151577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:56:06] local.INFO: TCP Data received {"connection_id":151577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:56:06] local.INFO: Processing buffer {"connection_id":151577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:56:06] local.INFO: IMEI packet received {"connection_id":151577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":151577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:56:07] local.INFO: TCP Data received {"connection_id":151577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:56:07] local.INFO: Processing buffer {"connection_id":151577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7f866e0012d34c20006aa3f08000700f32d..."} 
[2026-08-10 00:56:07] local.INFO: Packet analysis {"connection_id":151577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:56:07] local.INFO: Extracted packet for processing {"connection_id":151577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7f8"} 
[2026-08-10 00:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293553408001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786303244000,"timestamp_ms":1786303244000,"timestamp_seconds":1786303244,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7f866e0"} 
[2026-08-10 00:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 00:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:56: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-08-10 00:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293553408001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293553408001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:56:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293553408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":151577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:56:07] local.INFO: GPS data processed {"connection_id":151577,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:56:07] local.INFO: Acknowledgment sent {"connection_id":151577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:56:38] local.INFO: TCP Data received {"connection_id":151577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:56:38] local.INFO: Processing buffer {"connection_id":151577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:56:38] local.INFO: Packet analysis {"connection_id":151577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:56:38] local.INFO: Extracted packet for processing {"connection_id":151577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00: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-08-10 00:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293630464001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303545000,"timestamp_ms":1786303545000,"timestamp_seconds":1786303545,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7fcfea8"} 
[2026-08-10 00:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00: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-08-10 00:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:56: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-08-10 00:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293630464001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293630464001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293630464001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":151577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:56:38] local.INFO: GPS data processed {"connection_id":151577,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:56:38] local.INFO: Acknowledgment sent {"connection_id":151577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:57:00] local.INFO: TCP Data received {"connection_id":153943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:57:00] local.INFO: Processing buffer {"connection_id":153943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:57:00] local.INFO: IMEI packet received {"connection_id":153943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":153943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:57:05] local.INFO: TCP Data received {"connection_id":153943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:57:05] local.INFO: Processing buffer {"connection_id":153943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:57:05] local.INFO: IMEI packet received {"connection_id":153943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":153943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:57:06] local.INFO: TCP Data received {"connection_id":153943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:57:06] local.INFO: Processing buffer {"connection_id":153943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:57:06] local.INFO: Packet analysis {"connection_id":153943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:57:06] local.INFO: Extracted packet for processing {"connection_id":153943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293630464001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786303545000,"timestamp_ms":1786303545000,"timestamp_seconds":1786303545,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7fcfea8"} 
[2026-08-10 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-08-10 00:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:57: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-08-10 00:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293630464001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293630464001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293630464001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":153943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:57:06] local.INFO: GPS data processed {"connection_id":153943,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:57:06] local.INFO: Acknowledgment sent {"connection_id":153943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:57:38] local.INFO: TCP Data received {"connection_id":153943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:57:38] local.INFO: Processing buffer {"connection_id":153943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:57:38] local.INFO: Packet analysis {"connection_id":153943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:57:38] local.INFO: Extracted packet for processing {"connection_id":153943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293630464001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303545000,"timestamp_ms":1786303545000,"timestamp_seconds":1786303545,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7fcfea8"} 
[2026-08-10 00:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:57: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-08-10 00:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293630464001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293630464001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293630464001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":153943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:57:38] local.INFO: GPS data processed {"connection_id":153943,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:57:38] local.INFO: Acknowledgment sent {"connection_id":153943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:58:00] local.INFO: TCP Data received {"connection_id":152490,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:58:00] local.INFO: Processing buffer {"connection_id":152490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:58:00] local.INFO: IMEI packet received {"connection_id":152490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":152490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:58:06] local.INFO: TCP Data received {"connection_id":152490,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:58:06] local.INFO: Processing buffer {"connection_id":152490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:58:06] local.INFO: IMEI packet received {"connection_id":152490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":152490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:58:07] local.INFO: TCP Data received {"connection_id":152490,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:58:07] local.INFO: Processing buffer {"connection_id":152490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:58:07] local.INFO: Packet analysis {"connection_id":152490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:58:07] local.INFO: Extracted packet for processing {"connection_id":152490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:58:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293630464001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786303545000,"timestamp_ms":1786303545000,"timestamp_seconds":1786303545,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7fcfea8"} 
[2026-08-10 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-08-10 00:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:58: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-08-10 00:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293630464001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293630464001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:58:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:58:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293630464001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":152490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:58:07] local.INFO: GPS data processed {"connection_id":152490,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:58:07] local.INFO: Acknowledgment sent {"connection_id":152490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:58:38] local.INFO: TCP Data received {"connection_id":152490,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:58:38] local.INFO: Processing buffer {"connection_id":152490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:58:38] local.INFO: Packet analysis {"connection_id":152490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:58:38] local.INFO: Extracted packet for processing {"connection_id":152490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 00:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293630464001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303545000,"timestamp_ms":1786303545000,"timestamp_seconds":1786303545,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7fcfea8"} 
[2026-08-10 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-08-10 00:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 00:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293630464001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293630464001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293630464001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":152490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:58:38] local.INFO: GPS data processed {"connection_id":152490,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:58:38] local.INFO: Acknowledgment sent {"connection_id":152490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:59:00] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:59:00] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:59:00] local.INFO: IMEI packet received {"connection_id":152491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 00:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":152491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 00:59:05] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:59:05] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 00:59:05] local.INFO: IMEI packet received {"connection_id":152491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 00:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":152491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 00:59:07] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:59:07] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:59:07] local.INFO: Packet analysis {"connection_id":152491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:59:07] local.INFO: Extracted packet for processing {"connection_id":152491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293630464001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786303545000,"timestamp_ms":1786303545000,"timestamp_seconds":1786303545,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7fcfea8"} 
[2026-08-10 00:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293630464001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293630464001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:59:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:59:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293630464001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":152491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:59:07] local.INFO: GPS data processed {"connection_id":152491,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:59:07] local.INFO: Acknowledgment sent {"connection_id":152491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 00:59:38] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:59:38] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 00:59:38] local.INFO: Packet analysis {"connection_id":152491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:59:38] local.INFO: Extracted packet for processing {"connection_id":152491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 00:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 00:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 00:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293630464001,"note":"Value kept but may cause issues"} 
[2026-08-10 00:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 00:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 00:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 00:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303545000,"timestamp_ms":1786303545000,"timestamp_seconds":1786303545,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7fcfea8"} 
[2026-08-10 00:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 00:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 00:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 00:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 00:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 00:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 00:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 00:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 00:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 00:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 00:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 00:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 00:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293630464001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 00:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 00:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 00:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293630464001,"description":"Unknown IO ID 0"} 
[2026-08-10 00:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 00:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 00:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 00:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 00:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293630464001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 00:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":152491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 00:59:38] local.INFO: GPS data processed {"connection_id":152491,"processed":1,"errors":0,"total":1} 
[2026-08-10 00:59:38] local.INFO: Acknowledgment sent {"connection_id":152491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:00:00] local.INFO: TCP Data received {"connection_id":152492,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:00:00] local.INFO: Processing buffer {"connection_id":152492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:00:00] local.INFO: IMEI packet received {"connection_id":152492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":152492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:00:05] local.INFO: TCP Data received {"connection_id":152492,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:00:05] local.INFO: Processing buffer {"connection_id":152492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:00:05] local.INFO: IMEI packet received {"connection_id":152492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":152492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:00:06] local.INFO: TCP Data received {"connection_id":152492,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 01:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 01:00:06] local.INFO: Processing buffer {"connection_id":152492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 01:00:06] local.INFO: Packet analysis {"connection_id":152492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 01:00:06] local.INFO: Extracted packet for processing {"connection_id":152492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 01:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293630464001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786303545000,"timestamp_ms":1786303545000,"timestamp_seconds":1786303545,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7fcfea8"} 
[2026-08-10 01:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293630464001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293630464001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293630464001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":152492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:00:06] local.INFO: GPS data processed {"connection_id":152492,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:00:06] local.INFO: Acknowledgment sent {"connection_id":152492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:00:38] local.INFO: TCP Data received {"connection_id":152492,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 01:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 01:00:38] local.INFO: Processing buffer {"connection_id":152492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 01:00:38] local.INFO: Packet analysis {"connection_id":152492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 01:00:38] local.INFO: Extracted packet for processing {"connection_id":152492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 01:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293630464001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303545000,"timestamp_ms":1786303545000,"timestamp_seconds":1786303545,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7fcfea8"} 
[2026-08-10 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-08-10 01:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293630464001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293630464001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293630464001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":152492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:00:38] local.INFO: GPS data processed {"connection_id":152492,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:00:38] local.INFO: Acknowledgment sent {"connection_id":152492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:01:00] local.INFO: TCP Data received {"connection_id":151199,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:01:00] local.INFO: Processing buffer {"connection_id":151199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:01:00] local.INFO: IMEI packet received {"connection_id":151199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":151199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:01:05] local.INFO: TCP Data received {"connection_id":151199,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:01:05] local.INFO: Processing buffer {"connection_id":151199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:01:05] local.INFO: IMEI packet received {"connection_id":151199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":151199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:01:06] local.INFO: TCP Data received {"connection_id":151199,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 01:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 01:01:06] local.INFO: Processing buffer {"connection_id":151199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe7fcfea8012d34c20006aa3f08000700f32f..."} 
[2026-08-10 01:01:06] local.INFO: Packet analysis {"connection_id":151199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 01:01:06] local.INFO: Extracted packet for processing {"connection_id":151199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe7fc"} 
[2026-08-10 01:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293630464001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786303545000,"timestamp_ms":1786303545000,"timestamp_seconds":1786303545,"priority":1,"record_length":96,"hex_timestamp":"0000019fe7fcfea8"} 
[2026-08-10 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-08-10 01:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293630464001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293630464001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293630464001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":151199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:01:06] local.INFO: GPS data processed {"connection_id":151199,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:01:06] local.INFO: Acknowledgment sent {"connection_id":151199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:01:38] local.INFO: TCP Data received {"connection_id":151199,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:01:38] local.INFO: Processing buffer {"connection_id":151199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:01:38] local.INFO: Packet analysis {"connection_id":151199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:01:38] local.INFO: Extracted packet for processing {"connection_id":151199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293707520001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303846000,"timestamp_ms":1786303846000,"timestamp_seconds":1786303846,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8019670"} 
[2026-08-10 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-08-10 01:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293707520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293707520001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293707520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":151199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:01:38] local.INFO: GPS data processed {"connection_id":151199,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:01:38] local.INFO: Acknowledgment sent {"connection_id":151199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:02:01] local.INFO: TCP Data received {"connection_id":151578,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:02:01] local.INFO: Processing buffer {"connection_id":151578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:02:01] local.INFO: IMEI packet received {"connection_id":151578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":151578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:02:05] local.INFO: TCP Data received {"connection_id":151578,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:02:05] local.INFO: Processing buffer {"connection_id":151578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:02:05] local.INFO: IMEI packet received {"connection_id":151578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":151578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:02:06] local.INFO: TCP Data received {"connection_id":151578,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:02:06] local.INFO: Processing buffer {"connection_id":151578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:02:06] local.INFO: Packet analysis {"connection_id":151578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:02:06] local.INFO: Extracted packet for processing {"connection_id":151578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:02:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293707520001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786303846000,"timestamp_ms":1786303846000,"timestamp_seconds":1786303846,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8019670"} 
[2026-08-10 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-08-10 01:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293707520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293707520001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:02:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293707520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":151578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:02:06] local.INFO: GPS data processed {"connection_id":151578,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:02:06] local.INFO: Acknowledgment sent {"connection_id":151578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:02:11] local.INFO: TCP Data received {"connection_id":151578,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:02:11] local.INFO: Processing buffer {"connection_id":151578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:02:11] local.INFO: Packet analysis {"connection_id":151578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:02:11] local.INFO: Extracted packet for processing {"connection_id":151578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293707520001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786303846000,"timestamp_ms":1786303846000,"timestamp_seconds":1786303846,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8019670"} 
[2026-08-10 01:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:02: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-08-10 01:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293707520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293707520001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:02:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:02:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293707520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":151578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:02:11] local.INFO: GPS data processed {"connection_id":151578,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:02:11] local.INFO: Acknowledgment sent {"connection_id":151578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:02:42] local.INFO: TCP Data received {"connection_id":151578,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:02:42] local.INFO: Processing buffer {"connection_id":151578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:02:42] local.INFO: Packet analysis {"connection_id":151578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:02:42] local.INFO: Extracted packet for processing {"connection_id":151578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293707520001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786303846000,"timestamp_ms":1786303846000,"timestamp_seconds":1786303846,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8019670"} 
[2026-08-10 01:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293707520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293707520001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:02:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293707520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":151578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:02:42] local.INFO: GPS data processed {"connection_id":151578,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:02:42] local.INFO: Acknowledgment sent {"connection_id":151578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:03:01] local.INFO: TCP Data received {"connection_id":153944,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:03:01] local.INFO: Processing buffer {"connection_id":153944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:03:01] local.INFO: IMEI packet received {"connection_id":153944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":153944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:03:06] local.INFO: TCP Data received {"connection_id":153944,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:03:06] local.INFO: Processing buffer {"connection_id":153944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:03:06] local.INFO: IMEI packet received {"connection_id":153944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":153944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:03:07] local.INFO: TCP Data received {"connection_id":153944,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:03:07] local.INFO: Processing buffer {"connection_id":153944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:03:07] local.INFO: Packet analysis {"connection_id":153944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:03:07] local.INFO: Extracted packet for processing {"connection_id":153944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293707520001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786303846000,"timestamp_ms":1786303846000,"timestamp_seconds":1786303846,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8019670"} 
[2026-08-10 01:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:03: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-08-10 01:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293707520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293707520001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:03:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293707520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":153944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:03:07] local.INFO: GPS data processed {"connection_id":153944,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:03:07] local.INFO: Acknowledgment sent {"connection_id":153944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:03:38] local.INFO: TCP Data received {"connection_id":153944,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:03:38] local.INFO: Processing buffer {"connection_id":153944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:03:38] local.INFO: Packet analysis {"connection_id":153944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:03:38] local.INFO: Extracted packet for processing {"connection_id":153944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293707520001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303846000,"timestamp_ms":1786303846000,"timestamp_seconds":1786303846,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8019670"} 
[2026-08-10 01:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293707520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293707520001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293707520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":153944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:03:38] local.INFO: GPS data processed {"connection_id":153944,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:03:38] local.INFO: Acknowledgment sent {"connection_id":153944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:04:00] local.INFO: TCP Data received {"connection_id":151200,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:04:00] local.INFO: Processing buffer {"connection_id":151200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:04:00] local.INFO: IMEI packet received {"connection_id":151200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":151200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:04:05] local.INFO: TCP Data received {"connection_id":151200,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:04:05] local.INFO: Processing buffer {"connection_id":151200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:04:05] local.INFO: IMEI packet received {"connection_id":151200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":151200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:04:06] local.INFO: TCP Data received {"connection_id":151200,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:04:06] local.INFO: Processing buffer {"connection_id":151200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:04:06] local.INFO: Packet analysis {"connection_id":151200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:04:06] local.INFO: Extracted packet for processing {"connection_id":151200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293707520001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786303846000,"timestamp_ms":1786303846000,"timestamp_seconds":1786303846,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8019670"} 
[2026-08-10 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-08-10 01:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293707520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293707520001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293707520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":151200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:04:06] local.INFO: GPS data processed {"connection_id":151200,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:04:06] local.INFO: Acknowledgment sent {"connection_id":151200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:04:38] local.INFO: TCP Data received {"connection_id":151200,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:04:38] local.INFO: Processing buffer {"connection_id":151200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:04:38] local.INFO: Packet analysis {"connection_id":151200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:04:38] local.INFO: Extracted packet for processing {"connection_id":151200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293707520001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303846000,"timestamp_ms":1786303846000,"timestamp_seconds":1786303846,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8019670"} 
[2026-08-10 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-08-10 01:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293707520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293707520001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293707520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":151200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:04:38] local.INFO: GPS data processed {"connection_id":151200,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:04:38] local.INFO: Acknowledgment sent {"connection_id":151200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:05:00] local.INFO: TCP Data received {"connection_id":151579,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:05:00] local.INFO: Processing buffer {"connection_id":151579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:05:00] local.INFO: IMEI packet received {"connection_id":151579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":151579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:05:05] local.INFO: TCP Data received {"connection_id":151579,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:05:05] local.INFO: Processing buffer {"connection_id":151579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:05:05] local.INFO: IMEI packet received {"connection_id":151579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":151579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:05:06] local.INFO: TCP Data received {"connection_id":151579,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:05:06] local.INFO: Processing buffer {"connection_id":151579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:05:06] local.INFO: Packet analysis {"connection_id":151579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:05:06] local.INFO: Extracted packet for processing {"connection_id":151579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293707520001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786303846000,"timestamp_ms":1786303846000,"timestamp_seconds":1786303846,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8019670"} 
[2026-08-10 01:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293707520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293707520001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293707520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":151579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:05:06] local.INFO: GPS data processed {"connection_id":151579,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:05:06] local.INFO: Acknowledgment sent {"connection_id":151579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:05:38] local.INFO: TCP Data received {"connection_id":151579,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:05:38] local.INFO: Processing buffer {"connection_id":151579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:05:38] local.INFO: Packet analysis {"connection_id":151579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:05:38] local.INFO: Extracted packet for processing {"connection_id":151579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293707520001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786303846000,"timestamp_ms":1786303846000,"timestamp_seconds":1786303846,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8019670"} 
[2026-08-10 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-08-10 01:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293707520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293707520001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293707520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":151579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:05:38] local.INFO: GPS data processed {"connection_id":151579,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:05:38] local.INFO: Acknowledgment sent {"connection_id":151579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:06:00] local.INFO: TCP Data received {"connection_id":151201,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:06:00] local.INFO: Processing buffer {"connection_id":151201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:06:00] local.INFO: IMEI packet received {"connection_id":151201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":151201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:06:05] local.INFO: TCP Data received {"connection_id":151201,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:06:05] local.INFO: Processing buffer {"connection_id":151201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:06:05] local.INFO: IMEI packet received {"connection_id":151201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":151201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:06:06] local.INFO: TCP Data received {"connection_id":151201,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:06:06] local.INFO: Processing buffer {"connection_id":151201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8019670012d34c20006aa3f08000500f32e..."} 
[2026-08-10 01:06:06] local.INFO: Packet analysis {"connection_id":151201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:06:06] local.INFO: Extracted packet for processing {"connection_id":151201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe801"} 
[2026-08-10 01:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293707520001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786303846000,"timestamp_ms":1786303846000,"timestamp_seconds":1786303846,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8019670"} 
[2026-08-10 01:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293707520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293707520001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293707520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":151201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:06:06] local.INFO: GPS data processed {"connection_id":151201,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:06:06] local.INFO: Acknowledgment sent {"connection_id":151201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:06:38] local.INFO: TCP Data received {"connection_id":151201,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:06:38] local.INFO: Processing buffer {"connection_id":151201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:06:38] local.INFO: Packet analysis {"connection_id":151201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:06:38] local.INFO: Extracted packet for processing {"connection_id":151201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293784576001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786304147000,"timestamp_ms":1786304147000,"timestamp_seconds":1786304147,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8062e38"} 
[2026-08-10 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-08-10 01:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293784576001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293784576001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293784576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":151201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:06:38] local.INFO: GPS data processed {"connection_id":151201,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:06:38] local.INFO: Acknowledgment sent {"connection_id":151201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:07:00] local.INFO: TCP Data received {"connection_id":153945,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:07:00] local.INFO: Processing buffer {"connection_id":153945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:07:00] local.INFO: IMEI packet received {"connection_id":153945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":153945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:07:05] local.INFO: TCP Data received {"connection_id":153945,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:07:05] local.INFO: Processing buffer {"connection_id":153945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:07:05] local.INFO: IMEI packet received {"connection_id":153945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":153945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:07:06] local.INFO: TCP Data received {"connection_id":153945,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:07:06] local.INFO: Processing buffer {"connection_id":153945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:07:06] local.INFO: Packet analysis {"connection_id":153945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:07:06] local.INFO: Extracted packet for processing {"connection_id":153945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:07:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293784576001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786304147000,"timestamp_ms":1786304147000,"timestamp_seconds":1786304147,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8062e38"} 
[2026-08-10 01:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293784576001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293784576001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293784576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":153945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:07:06] local.INFO: GPS data processed {"connection_id":153945,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:07:06] local.INFO: Acknowledgment sent {"connection_id":153945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:07:37] local.INFO: TCP Data received {"connection_id":153945,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:07:37] local.INFO: Processing buffer {"connection_id":153945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:07:37] local.INFO: Packet analysis {"connection_id":153945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:07:37] local.INFO: Extracted packet for processing {"connection_id":153945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293784576001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786304147000,"timestamp_ms":1786304147000,"timestamp_seconds":1786304147,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8062e38"} 
[2026-08-10 01:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293784576001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293784576001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293784576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":153945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:07:38] local.INFO: GPS data processed {"connection_id":153945,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:07:38] local.INFO: Acknowledgment sent {"connection_id":153945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:08:00] local.INFO: TCP Data received {"connection_id":151202,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:08:00] local.INFO: Processing buffer {"connection_id":151202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:08:00] local.INFO: IMEI packet received {"connection_id":151202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":151202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:08:05] local.INFO: TCP Data received {"connection_id":151202,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:08:05] local.INFO: Processing buffer {"connection_id":151202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:08:05] local.INFO: IMEI packet received {"connection_id":151202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":151202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:08:06] local.INFO: TCP Data received {"connection_id":151202,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:08:06] local.INFO: Processing buffer {"connection_id":151202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:08:06] local.INFO: Packet analysis {"connection_id":151202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:08:06] local.INFO: Extracted packet for processing {"connection_id":151202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293784576001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786304147000,"timestamp_ms":1786304147000,"timestamp_seconds":1786304147,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8062e38"} 
[2026-08-10 01:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293784576001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293784576001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293784576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":151202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:08:06] local.INFO: GPS data processed {"connection_id":151202,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:08:06] local.INFO: Acknowledgment sent {"connection_id":151202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:08:38] local.INFO: TCP Data received {"connection_id":151202,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:08:38] local.INFO: Processing buffer {"connection_id":151202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:08:38] local.INFO: Packet analysis {"connection_id":151202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:08:38] local.INFO: Extracted packet for processing {"connection_id":151202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293784576001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786304147000,"timestamp_ms":1786304147000,"timestamp_seconds":1786304147,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8062e38"} 
[2026-08-10 01:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:08: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-08-10 01:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293784576001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293784576001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293784576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":151202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:08:38] local.INFO: GPS data processed {"connection_id":151202,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:08:38] local.INFO: Acknowledgment sent {"connection_id":151202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:09:00] local.INFO: TCP Data received {"connection_id":151580,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:09:00] local.INFO: Processing buffer {"connection_id":151580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:09:00] local.INFO: IMEI packet received {"connection_id":151580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":151580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:09:05] local.INFO: TCP Data received {"connection_id":151580,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:09:05] local.INFO: Processing buffer {"connection_id":151580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:09:05] local.INFO: IMEI packet received {"connection_id":151580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":151580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:09:07] local.INFO: TCP Data received {"connection_id":151580,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:09:07] local.INFO: Processing buffer {"connection_id":151580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:09:07] local.INFO: Packet analysis {"connection_id":151580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:09:07] local.INFO: Extracted packet for processing {"connection_id":151580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293784576001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786304147000,"timestamp_ms":1786304147000,"timestamp_seconds":1786304147,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8062e38"} 
[2026-08-10 01:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293784576001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293784576001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:09:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:09:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293784576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":151580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:09:07] local.INFO: GPS data processed {"connection_id":151580,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:09:07] local.INFO: Acknowledgment sent {"connection_id":151580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:09:38] local.INFO: TCP Data received {"connection_id":151580,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:09:38] local.INFO: Processing buffer {"connection_id":151580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:09:38] local.INFO: Packet analysis {"connection_id":151580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:09:38] local.INFO: Extracted packet for processing {"connection_id":151580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293784576001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786304147000,"timestamp_ms":1786304147000,"timestamp_seconds":1786304147,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8062e38"} 
[2026-08-10 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-08-10 01:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293784576001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293784576001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293784576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":151580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:09:38] local.INFO: GPS data processed {"connection_id":151580,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:09:38] local.INFO: Acknowledgment sent {"connection_id":151580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:10:00] local.INFO: TCP Data received {"connection_id":153946,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:10:00] local.INFO: Processing buffer {"connection_id":153946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:10:00] local.INFO: IMEI packet received {"connection_id":153946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":153946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:10:05] local.INFO: TCP Data received {"connection_id":153946,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:10:05] local.INFO: Processing buffer {"connection_id":153946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:10:05] local.INFO: IMEI packet received {"connection_id":153946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":153946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:10:06] local.INFO: TCP Data received {"connection_id":153946,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:10:06] local.INFO: Processing buffer {"connection_id":153946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:10:06] local.INFO: Packet analysis {"connection_id":153946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:10:06] local.INFO: Extracted packet for processing {"connection_id":153946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293784576001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786304147000,"timestamp_ms":1786304147000,"timestamp_seconds":1786304147,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8062e38"} 
[2026-08-10 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-08-10 01:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293784576001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293784576001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293784576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":153946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:10:06] local.INFO: GPS data processed {"connection_id":153946,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:10:06] local.INFO: Acknowledgment sent {"connection_id":153946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:10:37] local.INFO: TCP Data received {"connection_id":153946,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:10:37] local.INFO: Processing buffer {"connection_id":153946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:10:37] local.INFO: Packet analysis {"connection_id":153946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:10:37] local.INFO: Extracted packet for processing {"connection_id":153946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293784576001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786304147000,"timestamp_ms":1786304147000,"timestamp_seconds":1786304147,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8062e38"} 
[2026-08-10 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-08-10 01:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293784576001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293784576001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293784576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":153946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:10:37] local.INFO: GPS data processed {"connection_id":153946,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:10:37] local.INFO: Acknowledgment sent {"connection_id":153946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:11:00] local.INFO: TCP Data received {"connection_id":152493,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:11:00] local.INFO: Processing buffer {"connection_id":152493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:11:00] local.INFO: IMEI packet received {"connection_id":152493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":152493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:11:05] local.INFO: TCP Data received {"connection_id":152493,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:11:05] local.INFO: Processing buffer {"connection_id":152493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:11:05] local.INFO: IMEI packet received {"connection_id":152493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":152493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:11:06] local.INFO: TCP Data received {"connection_id":152493,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:11:06] local.INFO: Processing buffer {"connection_id":152493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8062e38012d34c20006aa3f08000600f32e..."} 
[2026-08-10 01:11:06] local.INFO: Packet analysis {"connection_id":152493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:11:06] local.INFO: Extracted packet for processing {"connection_id":152493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe806"} 
[2026-08-10 01:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293784576001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786304147000,"timestamp_ms":1786304147000,"timestamp_seconds":1786304147,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8062e38"} 
[2026-08-10 01:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293784576001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293784576001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293784576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":152493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:11:06] local.INFO: GPS data processed {"connection_id":152493,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:11:06] local.INFO: Acknowledgment sent {"connection_id":152493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:11:38] local.INFO: TCP Data received {"connection_id":152493,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:11:38] local.INFO: Processing buffer {"connection_id":152493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:11:38] local.INFO: Packet analysis {"connection_id":152493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:11:38] local.INFO: Extracted packet for processing {"connection_id":152493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293861632001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786304448000,"timestamp_ms":1786304448000,"timestamp_seconds":1786304448,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80ac600"} 
[2026-08-10 01:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293861632001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293861632001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293861632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":152493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:11:38] local.INFO: GPS data processed {"connection_id":152493,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:11:38] local.INFO: Acknowledgment sent {"connection_id":152493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:12:00] local.INFO: TCP Data received {"connection_id":153947,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:12:00] local.INFO: Processing buffer {"connection_id":153947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:12:00] local.INFO: IMEI packet received {"connection_id":153947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":153947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:12:05] local.INFO: TCP Data received {"connection_id":153947,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:12:05] local.INFO: Processing buffer {"connection_id":153947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:12:05] local.INFO: IMEI packet received {"connection_id":153947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":153947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:12:06] local.INFO: TCP Data received {"connection_id":153947,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:12:06] local.INFO: Processing buffer {"connection_id":153947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:12:06] local.INFO: Packet analysis {"connection_id":153947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:12:06] local.INFO: Extracted packet for processing {"connection_id":153947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293861632001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786304448000,"timestamp_ms":1786304448000,"timestamp_seconds":1786304448,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80ac600"} 
[2026-08-10 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-08-10 01:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293861632001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293861632001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:12:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293861632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":153947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:12:06] local.INFO: GPS data processed {"connection_id":153947,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:12:06] local.INFO: Acknowledgment sent {"connection_id":153947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:12:37] local.INFO: TCP Data received {"connection_id":153947,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:12:37] local.INFO: Processing buffer {"connection_id":153947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:12:37] local.INFO: Packet analysis {"connection_id":153947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:12:37] local.INFO: Extracted packet for processing {"connection_id":153947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293861632001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786304448000,"timestamp_ms":1786304448000,"timestamp_seconds":1786304448,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80ac600"} 
[2026-08-10 01:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293861632001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293861632001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293861632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":153947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:12:37] local.INFO: GPS data processed {"connection_id":153947,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:12:37] local.INFO: Acknowledgment sent {"connection_id":153947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:13:00] local.INFO: TCP Data received {"connection_id":151203,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:13:00] local.INFO: Processing buffer {"connection_id":151203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:13:00] local.INFO: IMEI packet received {"connection_id":151203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":151203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:13:05] local.INFO: TCP Data received {"connection_id":151203,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:13:05] local.INFO: Processing buffer {"connection_id":151203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:13:05] local.INFO: IMEI packet received {"connection_id":151203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":151203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:13:07] local.INFO: TCP Data received {"connection_id":151203,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:13:07] local.INFO: Processing buffer {"connection_id":151203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:13:07] local.INFO: Packet analysis {"connection_id":151203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:13:07] local.INFO: Extracted packet for processing {"connection_id":151203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293861632001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786304448000,"timestamp_ms":1786304448000,"timestamp_seconds":1786304448,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80ac600"} 
[2026-08-10 01:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293861632001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293861632001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293861632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":151203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:13:07] local.INFO: GPS data processed {"connection_id":151203,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:13:07] local.INFO: Acknowledgment sent {"connection_id":151203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:13:38] local.INFO: TCP Data received {"connection_id":151203,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:13:38] local.INFO: Processing buffer {"connection_id":151203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:13:38] local.INFO: Packet analysis {"connection_id":151203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:13:38] local.INFO: Extracted packet for processing {"connection_id":151203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293861632001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786304448000,"timestamp_ms":1786304448000,"timestamp_seconds":1786304448,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80ac600"} 
[2026-08-10 01:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293861632001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293861632001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293861632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":151203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:13:38] local.INFO: GPS data processed {"connection_id":151203,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:13:38] local.INFO: Acknowledgment sent {"connection_id":151203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:14:00] local.INFO: TCP Data received {"connection_id":151581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:14:00] local.INFO: Processing buffer {"connection_id":151581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:14:00] local.INFO: IMEI packet received {"connection_id":151581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":151581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:14:05] local.INFO: TCP Data received {"connection_id":151581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:14:05] local.INFO: Processing buffer {"connection_id":151581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:14:05] local.INFO: IMEI packet received {"connection_id":151581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":151581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:14:06] local.INFO: TCP Data received {"connection_id":151581,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:14:06] local.INFO: Processing buffer {"connection_id":151581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:14:06] local.INFO: Packet analysis {"connection_id":151581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:14:06] local.INFO: Extracted packet for processing {"connection_id":151581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293861632001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786304448000,"timestamp_ms":1786304448000,"timestamp_seconds":1786304448,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80ac600"} 
[2026-08-10 01:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293861632001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293861632001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293861632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":151581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:14:06] local.INFO: GPS data processed {"connection_id":151581,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:14:06] local.INFO: Acknowledgment sent {"connection_id":151581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:14:37] local.INFO: TCP Data received {"connection_id":151581,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:14:37] local.INFO: Processing buffer {"connection_id":151581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:14:37] local.INFO: Packet analysis {"connection_id":151581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:14:37] local.INFO: Extracted packet for processing {"connection_id":151581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293861632001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786304448000,"timestamp_ms":1786304448000,"timestamp_seconds":1786304448,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80ac600"} 
[2026-08-10 01:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293861632001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293861632001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293861632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":151581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:14:37] local.INFO: GPS data processed {"connection_id":151581,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:14:37] local.INFO: Acknowledgment sent {"connection_id":151581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:15:00] local.INFO: TCP Data received {"connection_id":153948,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:15:00] local.INFO: Processing buffer {"connection_id":153948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:15:00] local.INFO: IMEI packet received {"connection_id":153948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":153948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:15:05] local.INFO: TCP Data received {"connection_id":153948,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:15:05] local.INFO: Processing buffer {"connection_id":153948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:15:05] local.INFO: IMEI packet received {"connection_id":153948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":153948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:15:07] local.INFO: TCP Data received {"connection_id":153948,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:15:07] local.INFO: Processing buffer {"connection_id":153948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:15:07] local.INFO: Packet analysis {"connection_id":153948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:15:07] local.INFO: Extracted packet for processing {"connection_id":153948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293861632001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786304448000,"timestamp_ms":1786304448000,"timestamp_seconds":1786304448,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80ac600"} 
[2026-08-10 01:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293861632001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293861632001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:15:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:15:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293861632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":153948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:15:07] local.INFO: GPS data processed {"connection_id":153948,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:15:07] local.INFO: Acknowledgment sent {"connection_id":153948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:15:38] local.INFO: TCP Data received {"connection_id":153948,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:15:38] local.INFO: Processing buffer {"connection_id":153948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:15:38] local.INFO: Packet analysis {"connection_id":153948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:15:38] local.INFO: Extracted packet for processing {"connection_id":153948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293861632001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786304448000,"timestamp_ms":1786304448000,"timestamp_seconds":1786304448,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80ac600"} 
[2026-08-10 01:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:15: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-08-10 01:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293861632001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293861632001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293861632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":153948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:15:38] local.INFO: GPS data processed {"connection_id":153948,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:15:38] local.INFO: Acknowledgment sent {"connection_id":153948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:16:00] local.INFO: TCP Data received {"connection_id":153949,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:16:00] local.INFO: Processing buffer {"connection_id":153949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:16:00] local.INFO: IMEI packet received {"connection_id":153949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":153949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:16:05] local.INFO: TCP Data received {"connection_id":153949,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:16:05] local.INFO: Processing buffer {"connection_id":153949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:16:05] local.INFO: IMEI packet received {"connection_id":153949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":153949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:16:06] local.INFO: TCP Data received {"connection_id":153949,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:16:06] local.INFO: Processing buffer {"connection_id":153949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80ac600012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 01:16:06] local.INFO: Packet analysis {"connection_id":153949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:16:06] local.INFO: Extracted packet for processing {"connection_id":153949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80a"} 
[2026-08-10 01:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293861632001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786304448000,"timestamp_ms":1786304448000,"timestamp_seconds":1786304448,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80ac600"} 
[2026-08-10 01:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293861632001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293861632001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:16:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:16:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293861632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":153949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:16:06] local.INFO: GPS data processed {"connection_id":153949,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:16:06] local.INFO: Acknowledgment sent {"connection_id":153949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:16:42] local.INFO: TCP Data received {"connection_id":153949,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:16:42] local.INFO: Processing buffer {"connection_id":153949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:16:42] local.INFO: Packet analysis {"connection_id":153949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:16:42] local.INFO: Extracted packet for processing {"connection_id":153949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293938688001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786304749000,"timestamp_ms":1786304749000,"timestamp_seconds":1786304749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80f5dc8"} 
[2026-08-10 01:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293938688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293938688001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293938688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":153949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:16:42] local.INFO: GPS data processed {"connection_id":153949,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:16:42] local.INFO: Acknowledgment sent {"connection_id":153949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:17:00] local.INFO: TCP Data received {"connection_id":151582,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:17:00] local.INFO: Processing buffer {"connection_id":151582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:17:00] local.INFO: IMEI packet received {"connection_id":151582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":151582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:17:05] local.INFO: TCP Data received {"connection_id":151582,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:17:05] local.INFO: Processing buffer {"connection_id":151582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:17:05] local.INFO: IMEI packet received {"connection_id":151582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":151582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:17:06] local.INFO: TCP Data received {"connection_id":151582,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:17:06] local.INFO: Processing buffer {"connection_id":151582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:17:06] local.INFO: Packet analysis {"connection_id":151582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:17:06] local.INFO: Extracted packet for processing {"connection_id":151582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293938688001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786304749000,"timestamp_ms":1786304749000,"timestamp_seconds":1786304749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80f5dc8"} 
[2026-08-10 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-08-10 01:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293938688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293938688001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293938688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":151582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:17:06] local.INFO: GPS data processed {"connection_id":151582,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:17:06] local.INFO: Acknowledgment sent {"connection_id":151582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:17:38] local.INFO: TCP Data received {"connection_id":151582,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:17:38] local.INFO: Processing buffer {"connection_id":151582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:17:38] local.INFO: Packet analysis {"connection_id":151582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:17:38] local.INFO: Extracted packet for processing {"connection_id":151582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293938688001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786304749000,"timestamp_ms":1786304749000,"timestamp_seconds":1786304749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80f5dc8"} 
[2026-08-10 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-08-10 01:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293938688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293938688001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293938688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":151582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:17:38] local.INFO: GPS data processed {"connection_id":151582,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:17:38] local.INFO: Acknowledgment sent {"connection_id":151582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:18:00] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:18:00] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:18:00] local.INFO: IMEI packet received {"connection_id":152494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":152494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:18:05] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:18:05] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:18:05] local.INFO: IMEI packet received {"connection_id":152494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":152494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:18:11] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:18:11] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:18:11] local.INFO: Packet analysis {"connection_id":152494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:18:11] local.INFO: Extracted packet for processing {"connection_id":152494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293938688001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786304749000,"timestamp_ms":1786304749000,"timestamp_seconds":1786304749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80f5dc8"} 
[2026-08-10 01:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293938688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293938688001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:18:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293938688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":152494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:18:11] local.INFO: GPS data processed {"connection_id":152494,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:18:11] local.INFO: Acknowledgment sent {"connection_id":152494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:18:42] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:18:42] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:18:42] local.INFO: Packet analysis {"connection_id":152494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:18:42] local.INFO: Extracted packet for processing {"connection_id":152494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293938688001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786304749000,"timestamp_ms":1786304749000,"timestamp_seconds":1786304749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80f5dc8"} 
[2026-08-10 01:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293938688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293938688001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293938688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":152494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:18:42] local.INFO: GPS data processed {"connection_id":152494,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:18:42] local.INFO: Acknowledgment sent {"connection_id":152494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:19:00] local.INFO: TCP Data received {"connection_id":151204,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:19:00] local.INFO: Processing buffer {"connection_id":151204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:19:00] local.INFO: IMEI packet received {"connection_id":151204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":151204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:19:05] local.INFO: TCP Data received {"connection_id":151204,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:19:05] local.INFO: Processing buffer {"connection_id":151204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:19:05] local.INFO: IMEI packet received {"connection_id":151204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":151204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:19:06] local.INFO: TCP Data received {"connection_id":151204,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:19:06] local.INFO: Processing buffer {"connection_id":151204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:19:06] local.INFO: Packet analysis {"connection_id":151204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:19:06] local.INFO: Extracted packet for processing {"connection_id":151204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293938688001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786304749000,"timestamp_ms":1786304749000,"timestamp_seconds":1786304749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80f5dc8"} 
[2026-08-10 01:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293938688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293938688001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:19:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293938688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":151204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:19:06] local.INFO: GPS data processed {"connection_id":151204,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:19:06] local.INFO: Acknowledgment sent {"connection_id":151204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:19:38] local.INFO: TCP Data received {"connection_id":151204,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:19:38] local.INFO: Processing buffer {"connection_id":151204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:19:38] local.INFO: Packet analysis {"connection_id":151204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:19:38] local.INFO: Extracted packet for processing {"connection_id":151204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293938688001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786304749000,"timestamp_ms":1786304749000,"timestamp_seconds":1786304749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80f5dc8"} 
[2026-08-10 01:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293938688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293938688001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293938688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":151204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:19:38] local.INFO: GPS data processed {"connection_id":151204,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:19:38] local.INFO: Acknowledgment sent {"connection_id":151204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:20:00] local.INFO: TCP Data received {"connection_id":151205,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:20:00] local.INFO: Processing buffer {"connection_id":151205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:20:00] local.INFO: IMEI packet received {"connection_id":151205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":151205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:20:05] local.INFO: TCP Data received {"connection_id":151205,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:20:05] local.INFO: Processing buffer {"connection_id":151205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:20:05] local.INFO: IMEI packet received {"connection_id":151205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":151205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:20:06] local.INFO: TCP Data received {"connection_id":151205,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:20:06] local.INFO: Processing buffer {"connection_id":151205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:20:06] local.INFO: Packet analysis {"connection_id":151205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:20:06] local.INFO: Extracted packet for processing {"connection_id":151205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293938688001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786304749000,"timestamp_ms":1786304749000,"timestamp_seconds":1786304749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80f5dc8"} 
[2026-08-10 01:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293938688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293938688001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293938688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":151205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:20:06] local.INFO: GPS data processed {"connection_id":151205,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:20:06] local.INFO: Acknowledgment sent {"connection_id":151205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:20:38] local.INFO: TCP Data received {"connection_id":151205,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:20:38] local.INFO: Processing buffer {"connection_id":151205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:20:38] local.INFO: Packet analysis {"connection_id":151205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:20:38] local.INFO: Extracted packet for processing {"connection_id":151205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293938688001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786304749000,"timestamp_ms":1786304749000,"timestamp_seconds":1786304749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80f5dc8"} 
[2026-08-10 01:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293938688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293938688001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293938688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":151205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:20:38] local.INFO: GPS data processed {"connection_id":151205,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:20:38] local.INFO: Acknowledgment sent {"connection_id":151205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:21:00] local.INFO: TCP Data received {"connection_id":151583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:21:00] local.INFO: Processing buffer {"connection_id":151583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:21:00] local.INFO: IMEI packet received {"connection_id":151583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":151583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:21:05] local.INFO: TCP Data received {"connection_id":151583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:21:05] local.INFO: Processing buffer {"connection_id":151583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:21:05] local.INFO: IMEI packet received {"connection_id":151583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":151583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:21:07] local.INFO: TCP Data received {"connection_id":151583,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:21:07] local.INFO: Processing buffer {"connection_id":151583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe80f5dc8012d34c20006aa3f08000e00f32b..."} 
[2026-08-10 01:21:07] local.INFO: Packet analysis {"connection_id":151583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:21:07] local.INFO: Extracted packet for processing {"connection_id":151583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe80f"} 
[2026-08-10 01:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457293938688001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786304749000,"timestamp_ms":1786304749000,"timestamp_seconds":1786304749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe80f5dc8"} 
[2026-08-10 01:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457293938688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457293938688001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:21:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457293938688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":151583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:21:07] local.INFO: GPS data processed {"connection_id":151583,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:21:07] local.INFO: Acknowledgment sent {"connection_id":151583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:21:39] local.INFO: TCP Data received {"connection_id":151583,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:21:39] local.INFO: Processing buffer {"connection_id":151583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:21:39] local.INFO: Packet analysis {"connection_id":151583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:21:39] local.INFO: Extracted packet for processing {"connection_id":151583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294015744001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786305050000,"timestamp_ms":1786305050000,"timestamp_seconds":1786305050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe813f590"} 
[2026-08-10 01:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294015744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294015744001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:21:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294015744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":151583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:21:39] local.INFO: GPS data processed {"connection_id":151583,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:21:39] local.INFO: Acknowledgment sent {"connection_id":151583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:22:00] local.INFO: TCP Data received {"connection_id":151206,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:22:00] local.INFO: Processing buffer {"connection_id":151206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:22:00] local.INFO: IMEI packet received {"connection_id":151206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":151206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:22:05] local.INFO: TCP Data received {"connection_id":151206,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:22:05] local.INFO: Processing buffer {"connection_id":151206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:22:05] local.INFO: IMEI packet received {"connection_id":151206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":151206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:22:06] local.INFO: TCP Data received {"connection_id":151206,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:22:06] local.INFO: Processing buffer {"connection_id":151206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:22:06] local.INFO: Packet analysis {"connection_id":151206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:22:06] local.INFO: Extracted packet for processing {"connection_id":151206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294015744001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786305050000,"timestamp_ms":1786305050000,"timestamp_seconds":1786305050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe813f590"} 
[2026-08-10 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-08-10 01:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294015744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294015744001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294015744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":151206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:22:06] local.INFO: GPS data processed {"connection_id":151206,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:22:06] local.INFO: Acknowledgment sent {"connection_id":151206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:22:38] local.INFO: TCP Data received {"connection_id":151206,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:22:38] local.INFO: Processing buffer {"connection_id":151206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:22:38] local.INFO: Packet analysis {"connection_id":151206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:22:38] local.INFO: Extracted packet for processing {"connection_id":151206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294015744001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786305050000,"timestamp_ms":1786305050000,"timestamp_seconds":1786305050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe813f590"} 
[2026-08-10 01:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294015744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294015744001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294015744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":151206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:22:38] local.INFO: GPS data processed {"connection_id":151206,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:22:38] local.INFO: Acknowledgment sent {"connection_id":151206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:23:00] local.INFO: TCP Data received {"connection_id":153950,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:23:00] local.INFO: Processing buffer {"connection_id":153950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:23:00] local.INFO: IMEI packet received {"connection_id":153950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":153950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:23:05] local.INFO: TCP Data received {"connection_id":153950,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:23:05] local.INFO: Processing buffer {"connection_id":153950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:23:05] local.INFO: IMEI packet received {"connection_id":153950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":153950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:23:08] local.INFO: TCP Data received {"connection_id":153950,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:23:08] local.INFO: Processing buffer {"connection_id":153950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:23:08] local.INFO: Packet analysis {"connection_id":153950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:23:08] local.INFO: Extracted packet for processing {"connection_id":153950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294015744001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786305050000,"timestamp_ms":1786305050000,"timestamp_seconds":1786305050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe813f590"} 
[2026-08-10 01:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294015744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294015744001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294015744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":153950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:23:08] local.INFO: GPS data processed {"connection_id":153950,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:23:08] local.INFO: Acknowledgment sent {"connection_id":153950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:23:40] local.INFO: TCP Data received {"connection_id":153950,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:23:40] local.INFO: Processing buffer {"connection_id":153950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:23:40] local.INFO: Packet analysis {"connection_id":153950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:23:40] local.INFO: Extracted packet for processing {"connection_id":153950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:23:40] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294015744001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786305050000,"timestamp_ms":1786305050000,"timestamp_seconds":1786305050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe813f590"} 
[2026-08-10 01:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294015744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294015744001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:23:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:23:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294015744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":153950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:23:40] local.INFO: GPS data processed {"connection_id":153950,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:23:40] local.INFO: Acknowledgment sent {"connection_id":153950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:24:00] local.INFO: TCP Data received {"connection_id":151207,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:24:00] local.INFO: Processing buffer {"connection_id":151207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:24:00] local.INFO: IMEI packet received {"connection_id":151207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":151207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:24:05] local.INFO: TCP Data received {"connection_id":151207,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:24:05] local.INFO: Processing buffer {"connection_id":151207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:24:05] local.INFO: IMEI packet received {"connection_id":151207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":151207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:24:06] local.INFO: TCP Data received {"connection_id":151207,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:24:06] local.INFO: Processing buffer {"connection_id":151207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:24:06] local.INFO: Packet analysis {"connection_id":151207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:24:06] local.INFO: Extracted packet for processing {"connection_id":151207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294015744001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786305050000,"timestamp_ms":1786305050000,"timestamp_seconds":1786305050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe813f590"} 
[2026-08-10 01:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294015744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294015744001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294015744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":151207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:24:06] local.INFO: GPS data processed {"connection_id":151207,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:24:06] local.INFO: Acknowledgment sent {"connection_id":151207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:24:38] local.INFO: TCP Data received {"connection_id":151207,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:24:38] local.INFO: Processing buffer {"connection_id":151207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:24:38] local.INFO: Packet analysis {"connection_id":151207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:24:38] local.INFO: Extracted packet for processing {"connection_id":151207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294015744001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786305050000,"timestamp_ms":1786305050000,"timestamp_seconds":1786305050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe813f590"} 
[2026-08-10 01:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294015744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294015744001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294015744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":151207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:24:38] local.INFO: GPS data processed {"connection_id":151207,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:24:38] local.INFO: Acknowledgment sent {"connection_id":151207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:25:00] local.INFO: TCP Data received {"connection_id":153951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:25:00] local.INFO: Processing buffer {"connection_id":153951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:25:00] local.INFO: IMEI packet received {"connection_id":153951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":153951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:25:05] local.INFO: TCP Data received {"connection_id":153951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:25:05] local.INFO: Processing buffer {"connection_id":153951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:25:05] local.INFO: IMEI packet received {"connection_id":153951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":153951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:25:07] local.INFO: TCP Data received {"connection_id":153951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:25:07] local.INFO: Processing buffer {"connection_id":153951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:25:07] local.INFO: Packet analysis {"connection_id":153951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:25:07] local.INFO: Extracted packet for processing {"connection_id":153951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294015744001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786305050000,"timestamp_ms":1786305050000,"timestamp_seconds":1786305050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe813f590"} 
[2026-08-10 01:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:25: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-08-10 01:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294015744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294015744001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294015744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":153951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:25:07] local.INFO: GPS data processed {"connection_id":153951,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:25:07] local.INFO: Acknowledgment sent {"connection_id":153951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:25:38] local.INFO: TCP Data received {"connection_id":153951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:25:38] local.INFO: Processing buffer {"connection_id":153951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:25:38] local.INFO: Packet analysis {"connection_id":153951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:25:38] local.INFO: Extracted packet for processing {"connection_id":153951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294015744001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786305050000,"timestamp_ms":1786305050000,"timestamp_seconds":1786305050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe813f590"} 
[2026-08-10 01:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:25: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-08-10 01:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294015744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294015744001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294015744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":153951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:25:38] local.INFO: GPS data processed {"connection_id":153951,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:25:38] local.INFO: Acknowledgment sent {"connection_id":153951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:26:05] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:26:05] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:26:05] local.INFO: IMEI packet received {"connection_id":152495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":152495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:26:10] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:26:10] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:26:10] local.INFO: IMEI packet received {"connection_id":152495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":152495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:26:11] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:26:11] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:26:11] local.INFO: Packet analysis {"connection_id":152495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:26:11] local.INFO: Extracted packet for processing {"connection_id":152495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294015744001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786305050000,"timestamp_ms":1786305050000,"timestamp_seconds":1786305050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe813f590"} 
[2026-08-10 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-08-10 01:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294015744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294015744001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:26:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294015744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":152495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:26:11] local.INFO: GPS data processed {"connection_id":152495,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:26:11] local.INFO: Acknowledgment sent {"connection_id":152495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:26:16] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:26:16] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:26:16] local.INFO: Packet analysis {"connection_id":152495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:26:16] local.INFO: Extracted packet for processing {"connection_id":152495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294015744001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786305050000,"timestamp_ms":1786305050000,"timestamp_seconds":1786305050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe813f590"} 
[2026-08-10 01:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294015744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294015744001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:26:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294015744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":152495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:26:16] local.INFO: GPS data processed {"connection_id":152495,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:26:16] local.INFO: Acknowledgment sent {"connection_id":152495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:26:21] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:26:21] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe813f590012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:26:21] local.INFO: Packet analysis {"connection_id":152495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:26:21] local.INFO: Extracted packet for processing {"connection_id":152495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe813"} 
[2026-08-10 01:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294015744001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786305050000,"timestamp_ms":1786305050000,"timestamp_seconds":1786305050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe813f590"} 
[2026-08-10 01:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294015744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294015744001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:26:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:26:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294015744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":152495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:26:21] local.INFO: GPS data processed {"connection_id":152495,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:26:21] local.INFO: Acknowledgment sent {"connection_id":152495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:27:03] local.INFO: TCP Data received {"connection_id":152496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:27:03] local.INFO: Processing buffer {"connection_id":152496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:27:03] local.INFO: IMEI packet received {"connection_id":152496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":152496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:27:05] local.INFO: TCP Data received {"connection_id":152496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:27:05] local.INFO: Processing buffer {"connection_id":152496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:27:05] local.INFO: IMEI packet received {"connection_id":152496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":152496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:27:06] local.INFO: TCP Data received {"connection_id":152496,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:27:06] local.INFO: Processing buffer {"connection_id":152496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:27:06] local.INFO: Packet analysis {"connection_id":152496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:27:06] local.INFO: Extracted packet for processing {"connection_id":152496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294092800001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786305351000,"timestamp_ms":1786305351000,"timestamp_seconds":1786305351,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8188d58"} 
[2026-08-10 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-08-10 01:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294092800001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294092800001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294092800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":152496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:27:06] local.INFO: GPS data processed {"connection_id":152496,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:27:06] local.INFO: Acknowledgment sent {"connection_id":152496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:27:11] local.INFO: TCP Data received {"connection_id":152496,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:27:11] local.INFO: Processing buffer {"connection_id":152496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:27:11] local.INFO: Packet analysis {"connection_id":152496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:27:11] local.INFO: Extracted packet for processing {"connection_id":152496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294092800001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786305351000,"timestamp_ms":1786305351000,"timestamp_seconds":1786305351,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8188d58"} 
[2026-08-10 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-08-10 01:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294092800001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294092800001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:27:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:27:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294092800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":152496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:27:11] local.INFO: GPS data processed {"connection_id":152496,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:27:11] local.INFO: Acknowledgment sent {"connection_id":152496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:27:47] local.INFO: TCP Data received {"connection_id":152496,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:27:47] local.INFO: Processing buffer {"connection_id":152496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:27:47] local.INFO: Packet analysis {"connection_id":152496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:27:47] local.INFO: Extracted packet for processing {"connection_id":152496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294092800001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786305351000,"timestamp_ms":1786305351000,"timestamp_seconds":1786305351,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8188d58"} 
[2026-08-10 01:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294092800001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294092800001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294092800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":152496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:27:47] local.INFO: GPS data processed {"connection_id":152496,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:27:47] local.INFO: Acknowledgment sent {"connection_id":152496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:28:01] local.INFO: TCP Data received {"connection_id":151584,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:28:01] local.INFO: Processing buffer {"connection_id":151584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:28:01] local.INFO: IMEI packet received {"connection_id":151584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":151584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:28:05] local.INFO: TCP Data received {"connection_id":151584,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:28:05] local.INFO: Processing buffer {"connection_id":151584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:28:05] local.INFO: IMEI packet received {"connection_id":151584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":151584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:28:06] local.INFO: TCP Data received {"connection_id":151584,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:28:06] local.INFO: Processing buffer {"connection_id":151584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:28:06] local.INFO: Packet analysis {"connection_id":151584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:28:06] local.INFO: Extracted packet for processing {"connection_id":151584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294092800001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786305351000,"timestamp_ms":1786305351000,"timestamp_seconds":1786305351,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8188d58"} 
[2026-08-10 01:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294092800001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294092800001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:28:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:28:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294092800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":151584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:28:06] local.INFO: GPS data processed {"connection_id":151584,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:28:06] local.INFO: Acknowledgment sent {"connection_id":151584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:28:38] local.INFO: TCP Data received {"connection_id":151584,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:28:38] local.INFO: Processing buffer {"connection_id":151584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:28:38] local.INFO: Packet analysis {"connection_id":151584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:28:38] local.INFO: Extracted packet for processing {"connection_id":151584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294092800001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786305351000,"timestamp_ms":1786305351000,"timestamp_seconds":1786305351,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8188d58"} 
[2026-08-10 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-08-10 01:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294092800001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294092800001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294092800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":151584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:28:38] local.INFO: GPS data processed {"connection_id":151584,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:28:38] local.INFO: Acknowledgment sent {"connection_id":151584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:29:00] local.INFO: TCP Data received {"connection_id":151208,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:29:00] local.INFO: Processing buffer {"connection_id":151208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:29:00] local.INFO: IMEI packet received {"connection_id":151208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":151208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:29:05] local.INFO: TCP Data received {"connection_id":151208,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:29:05] local.INFO: Processing buffer {"connection_id":151208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:29:05] local.INFO: IMEI packet received {"connection_id":151208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":151208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:29:07] local.INFO: TCP Data received {"connection_id":151208,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:29:07] local.INFO: Processing buffer {"connection_id":151208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:29:07] local.INFO: Packet analysis {"connection_id":151208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:29:07] local.INFO: Extracted packet for processing {"connection_id":151208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:29:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294092800001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786305351000,"timestamp_ms":1786305351000,"timestamp_seconds":1786305351,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8188d58"} 
[2026-08-10 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-08-10 01:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294092800001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294092800001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:29:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:29:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294092800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":151208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:29:07] local.INFO: GPS data processed {"connection_id":151208,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:29:07] local.INFO: Acknowledgment sent {"connection_id":151208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:29:39] local.INFO: TCP Data received {"connection_id":151208,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:29:39] local.INFO: Processing buffer {"connection_id":151208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:29:39] local.INFO: Packet analysis {"connection_id":151208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:29:39] local.INFO: Extracted packet for processing {"connection_id":151208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294092800001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786305351000,"timestamp_ms":1786305351000,"timestamp_seconds":1786305351,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8188d58"} 
[2026-08-10 01:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294092800001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294092800001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:29:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:29:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294092800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":151208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:29:39] local.INFO: GPS data processed {"connection_id":151208,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:29:39] local.INFO: Acknowledgment sent {"connection_id":151208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:30:00] local.INFO: TCP Data received {"connection_id":152497,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:30:00] local.INFO: Processing buffer {"connection_id":152497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:30:00] local.INFO: IMEI packet received {"connection_id":152497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":152497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:30:05] local.INFO: TCP Data received {"connection_id":152497,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:30:05] local.INFO: Processing buffer {"connection_id":152497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:30:05] local.INFO: IMEI packet received {"connection_id":152497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":152497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:30:07] local.INFO: TCP Data received {"connection_id":152497,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:30:07] local.INFO: Processing buffer {"connection_id":152497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:30:07] local.INFO: Packet analysis {"connection_id":152497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:30:07] local.INFO: Extracted packet for processing {"connection_id":152497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294092800001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786305351000,"timestamp_ms":1786305351000,"timestamp_seconds":1786305351,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8188d58"} 
[2026-08-10 01:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:30: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-08-10 01:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294092800001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294092800001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294092800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":152497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:30:07] local.INFO: GPS data processed {"connection_id":152497,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:30:07] local.INFO: Acknowledgment sent {"connection_id":152497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:30:38] local.INFO: TCP Data received {"connection_id":152497,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:30:38] local.INFO: Processing buffer {"connection_id":152497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:30:38] local.INFO: Packet analysis {"connection_id":152497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:30:38] local.INFO: Extracted packet for processing {"connection_id":152497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294092800001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786305351000,"timestamp_ms":1786305351000,"timestamp_seconds":1786305351,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8188d58"} 
[2026-08-10 01:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:30: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-08-10 01:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294092800001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294092800001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294092800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":152497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:30:38] local.INFO: GPS data processed {"connection_id":152497,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:30:38] local.INFO: Acknowledgment sent {"connection_id":152497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:31:00] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:31:00] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:31:00] local.INFO: IMEI packet received {"connection_id":151585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":151585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:31:05] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:31:05] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:31:05] local.INFO: IMEI packet received {"connection_id":151585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":151585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:31:07] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:31:07] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8188d58012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:31:07] local.INFO: Packet analysis {"connection_id":151585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:31:07] local.INFO: Extracted packet for processing {"connection_id":151585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe818"} 
[2026-08-10 01:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294092800001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786305351000,"timestamp_ms":1786305351000,"timestamp_seconds":1786305351,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8188d58"} 
[2026-08-10 01:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294092800001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294092800001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294092800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":151585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:31:07] local.INFO: GPS data processed {"connection_id":151585,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:31:07] local.INFO: Acknowledgment sent {"connection_id":151585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:31:38] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:31:38] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:31:38] local.INFO: Packet analysis {"connection_id":151585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:31:38] local.INFO: Extracted packet for processing {"connection_id":151585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294169856001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786305652000,"timestamp_ms":1786305652000,"timestamp_seconds":1786305652,"priority":1,"record_length":96,"hex_timestamp":"0000019fe81d2520"} 
[2026-08-10 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-08-10 01:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:31: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-08-10 01:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294169856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294169856001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294169856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":151585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:31:38] local.INFO: GPS data processed {"connection_id":151585,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:31:38] local.INFO: Acknowledgment sent {"connection_id":151585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:32:05] local.INFO: TCP Data received {"connection_id":151209,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:32:05] local.INFO: Processing buffer {"connection_id":151209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:32:05] local.INFO: IMEI packet received {"connection_id":151209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":151209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:32:10] local.INFO: TCP Data received {"connection_id":151209,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:32:10] local.INFO: Processing buffer {"connection_id":151209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:32:10] local.INFO: IMEI packet received {"connection_id":151209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":151209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:32:11] local.INFO: TCP Data received {"connection_id":151209,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:32:11] local.INFO: Processing buffer {"connection_id":151209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:32:11] local.INFO: Packet analysis {"connection_id":151209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:32:11] local.INFO: Extracted packet for processing {"connection_id":151209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:32:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294169856001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786305652000,"timestamp_ms":1786305652000,"timestamp_seconds":1786305652,"priority":1,"record_length":96,"hex_timestamp":"0000019fe81d2520"} 
[2026-08-10 01:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294169856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294169856001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:32:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:32:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294169856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":151209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:32:11] local.INFO: GPS data processed {"connection_id":151209,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:32:11] local.INFO: Acknowledgment sent {"connection_id":151209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:32:43] local.INFO: TCP Data received {"connection_id":151209,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:32:43] local.INFO: Processing buffer {"connection_id":151209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:32:43] local.INFO: Packet analysis {"connection_id":151209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:32:43] local.INFO: Extracted packet for processing {"connection_id":151209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294169856001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786305652000,"timestamp_ms":1786305652000,"timestamp_seconds":1786305652,"priority":1,"record_length":96,"hex_timestamp":"0000019fe81d2520"} 
[2026-08-10 01:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294169856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294169856001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294169856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":151209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:32:43] local.INFO: GPS data processed {"connection_id":151209,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:32:43] local.INFO: Acknowledgment sent {"connection_id":151209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:33:00] local.INFO: TCP Data received {"connection_id":151586,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:33:00] local.INFO: Processing buffer {"connection_id":151586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:33:00] local.INFO: IMEI packet received {"connection_id":151586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":151586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:33:05] local.INFO: TCP Data received {"connection_id":151586,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:33:05] local.INFO: Processing buffer {"connection_id":151586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:33:05] local.INFO: IMEI packet received {"connection_id":151586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":151586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:33:07] local.INFO: TCP Data received {"connection_id":151586,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:33:07] local.INFO: Processing buffer {"connection_id":151586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:33:07] local.INFO: Packet analysis {"connection_id":151586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:33:07] local.INFO: Extracted packet for processing {"connection_id":151586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294169856001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786305652000,"timestamp_ms":1786305652000,"timestamp_seconds":1786305652,"priority":1,"record_length":96,"hex_timestamp":"0000019fe81d2520"} 
[2026-08-10 01:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:33: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-08-10 01:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294169856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294169856001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:33:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294169856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":151586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:33:07] local.INFO: GPS data processed {"connection_id":151586,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:33:07] local.INFO: Acknowledgment sent {"connection_id":151586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:33:38] local.INFO: TCP Data received {"connection_id":151586,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:33:38] local.INFO: Processing buffer {"connection_id":151586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:33:38] local.INFO: Packet analysis {"connection_id":151586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:33:38] local.INFO: Extracted packet for processing {"connection_id":151586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294169856001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786305652000,"timestamp_ms":1786305652000,"timestamp_seconds":1786305652,"priority":1,"record_length":96,"hex_timestamp":"0000019fe81d2520"} 
[2026-08-10 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-08-10 01:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294169856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294169856001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294169856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":151586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:33:38] local.INFO: GPS data processed {"connection_id":151586,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:33:38] local.INFO: Acknowledgment sent {"connection_id":151586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:34:00] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:34:00] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:34:00] local.INFO: IMEI packet received {"connection_id":152498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":152498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:34:05] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:34:05] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:34:05] local.INFO: IMEI packet received {"connection_id":152498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":152498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:34:07] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:34:07] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:34:07] local.INFO: Packet analysis {"connection_id":152498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:34:07] local.INFO: Extracted packet for processing {"connection_id":152498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294169856001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786305652000,"timestamp_ms":1786305652000,"timestamp_seconds":1786305652,"priority":1,"record_length":96,"hex_timestamp":"0000019fe81d2520"} 
[2026-08-10 01:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:34: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-08-10 01:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294169856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294169856001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:34:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294169856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":152498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:34:07] local.INFO: GPS data processed {"connection_id":152498,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:34:07] local.INFO: Acknowledgment sent {"connection_id":152498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:34:38] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:34:38] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:34:38] local.INFO: Packet analysis {"connection_id":152498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:34:38] local.INFO: Extracted packet for processing {"connection_id":152498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294169856001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786305652000,"timestamp_ms":1786305652000,"timestamp_seconds":1786305652,"priority":1,"record_length":96,"hex_timestamp":"0000019fe81d2520"} 
[2026-08-10 01:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:34: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-08-10 01:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294169856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294169856001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294169856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":152498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:34:38] local.INFO: GPS data processed {"connection_id":152498,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:34:38] local.INFO: Acknowledgment sent {"connection_id":152498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:35:00] local.INFO: TCP Data received {"connection_id":152499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:35:00] local.INFO: Processing buffer {"connection_id":152499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:35:00] local.INFO: IMEI packet received {"connection_id":152499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":152499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:35:05] local.INFO: TCP Data received {"connection_id":152499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:35:05] local.INFO: Processing buffer {"connection_id":152499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:35:05] local.INFO: IMEI packet received {"connection_id":152499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":152499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:35:06] local.INFO: TCP Data received {"connection_id":152499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:35:06] local.INFO: Processing buffer {"connection_id":152499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:35:06] local.INFO: Packet analysis {"connection_id":152499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:35:06] local.INFO: Extracted packet for processing {"connection_id":152499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294169856001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786305652000,"timestamp_ms":1786305652000,"timestamp_seconds":1786305652,"priority":1,"record_length":96,"hex_timestamp":"0000019fe81d2520"} 
[2026-08-10 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-08-10 01:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01: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-08-10 01:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294169856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294169856001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294169856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":152499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:35:06] local.INFO: GPS data processed {"connection_id":152499,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:35:06] local.INFO: Acknowledgment sent {"connection_id":152499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:35:37] local.INFO: TCP Data received {"connection_id":152499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:35:37] local.INFO: Processing buffer {"connection_id":152499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:35:37] local.INFO: Packet analysis {"connection_id":152499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:35:37] local.INFO: Extracted packet for processing {"connection_id":152499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294169856001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786305652000,"timestamp_ms":1786305652000,"timestamp_seconds":1786305652,"priority":1,"record_length":96,"hex_timestamp":"0000019fe81d2520"} 
[2026-08-10 01:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01: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-08-10 01:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294169856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294169856001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294169856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":152499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:35:37] local.INFO: GPS data processed {"connection_id":152499,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:35:37] local.INFO: Acknowledgment sent {"connection_id":152499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:36:05] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:36:05] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:36:05] local.INFO: IMEI packet received {"connection_id":152500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":152500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:36:10] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:36:10] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:36:10] local.INFO: IMEI packet received {"connection_id":152500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":152500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:36:11] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:36:11] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:36:11] local.INFO: Packet analysis {"connection_id":152500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:36:11] local.INFO: Extracted packet for processing {"connection_id":152500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294169856001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786305652000,"timestamp_ms":1786305652000,"timestamp_seconds":1786305652,"priority":1,"record_length":96,"hex_timestamp":"0000019fe81d2520"} 
[2026-08-10 01:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:36: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-08-10 01:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294169856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294169856001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:36:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:36:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294169856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":152500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:36:11] local.INFO: GPS data processed {"connection_id":152500,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:36:11] local.INFO: Acknowledgment sent {"connection_id":152500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:36:16] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:36:16] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe81d2520012d34c20006aa3f08000e00f329..."} 
[2026-08-10 01:36:16] local.INFO: Packet analysis {"connection_id":152500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:36:16] local.INFO: Extracted packet for processing {"connection_id":152500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe81d"} 
[2026-08-10 01:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":14,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294169856001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786305652000,"timestamp_ms":1786305652000,"timestamp_seconds":1786305652,"priority":1,"record_length":96,"hex_timestamp":"0000019fe81d2520"} 
[2026-08-10 01:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:36: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-08-10 01:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294169856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294169856001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294169856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":152500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:36:16] local.INFO: GPS data processed {"connection_id":152500,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:36:16] local.INFO: Acknowledgment sent {"connection_id":152500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:37:00] local.INFO: TCP Data received {"connection_id":151210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:37:00] local.INFO: Processing buffer {"connection_id":151210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:37:00] local.INFO: IMEI packet received {"connection_id":151210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":151210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:37:06] local.INFO: TCP Data received {"connection_id":151210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:37:06] local.INFO: Processing buffer {"connection_id":151210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:37:06] local.INFO: IMEI packet received {"connection_id":151210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":151210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:37:07] local.INFO: TCP Data received {"connection_id":151210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:37:07] local.INFO: Processing buffer {"connection_id":151210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:37:07] local.INFO: Packet analysis {"connection_id":151210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:37:07] local.INFO: Extracted packet for processing {"connection_id":151210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294246912001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786305953000,"timestamp_ms":1786305953000,"timestamp_seconds":1786305953,"priority":1,"record_length":96,"hex_timestamp":"0000019fe821bce8"} 
[2026-08-10 01:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:37: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-08-10 01:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294246912001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294246912001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294246912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":151210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:37:07] local.INFO: GPS data processed {"connection_id":151210,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:37:07] local.INFO: Acknowledgment sent {"connection_id":151210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:37:38] local.INFO: TCP Data received {"connection_id":151210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:37:38] local.INFO: Processing buffer {"connection_id":151210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:37:38] local.INFO: Packet analysis {"connection_id":151210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:37:38] local.INFO: Extracted packet for processing {"connection_id":151210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294246912001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786305953000,"timestamp_ms":1786305953000,"timestamp_seconds":1786305953,"priority":1,"record_length":96,"hex_timestamp":"0000019fe821bce8"} 
[2026-08-10 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-08-10 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:37: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-08-10 01:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294246912001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294246912001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294246912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":151210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:37:38] local.INFO: GPS data processed {"connection_id":151210,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:37:38] local.INFO: Acknowledgment sent {"connection_id":151210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:38:00] local.INFO: TCP Data received {"connection_id":151211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:38:00] local.INFO: Processing buffer {"connection_id":151211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:38:00] local.INFO: IMEI packet received {"connection_id":151211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":151211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:38:06] local.INFO: TCP Data received {"connection_id":151211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:38:06] local.INFO: Processing buffer {"connection_id":151211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:38:06] local.INFO: IMEI packet received {"connection_id":151211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":151211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:38:07] local.INFO: TCP Data received {"connection_id":151211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:38:07] local.INFO: Processing buffer {"connection_id":151211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:38:07] local.INFO: Packet analysis {"connection_id":151211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:38:07] local.INFO: Extracted packet for processing {"connection_id":151211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294246912001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786305953000,"timestamp_ms":1786305953000,"timestamp_seconds":1786305953,"priority":1,"record_length":96,"hex_timestamp":"0000019fe821bce8"} 
[2026-08-10 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-08-10 01:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01: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-08-10 01:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294246912001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294246912001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294246912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":151211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:38:08] local.INFO: GPS data processed {"connection_id":151211,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:38:08] local.INFO: Acknowledgment sent {"connection_id":151211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:38:39] local.INFO: TCP Data received {"connection_id":151211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:38:40] local.INFO: Processing buffer {"connection_id":151211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:38:40] local.INFO: Packet analysis {"connection_id":151211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:38:40] local.INFO: Extracted packet for processing {"connection_id":151211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294246912001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786305953000,"timestamp_ms":1786305953000,"timestamp_seconds":1786305953,"priority":1,"record_length":96,"hex_timestamp":"0000019fe821bce8"} 
[2026-08-10 01:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:38: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-08-10 01:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294246912001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294246912001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:38:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:38:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294246912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":151211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:38:40] local.INFO: GPS data processed {"connection_id":151211,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:38:40] local.INFO: Acknowledgment sent {"connection_id":151211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:39:00] local.INFO: TCP Data received {"connection_id":153952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:39:00] local.INFO: Processing buffer {"connection_id":153952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:39:00] local.INFO: IMEI packet received {"connection_id":153952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":153952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:39:05] local.INFO: TCP Data received {"connection_id":153952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:39:05] local.INFO: Processing buffer {"connection_id":153952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:39:05] local.INFO: IMEI packet received {"connection_id":153952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":153952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:39:06] local.INFO: TCP Data received {"connection_id":153952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:39:06] local.INFO: Processing buffer {"connection_id":153952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:39:06] local.INFO: Packet analysis {"connection_id":153952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:39:06] local.INFO: Extracted packet for processing {"connection_id":153952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294246912001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786305953000,"timestamp_ms":1786305953000,"timestamp_seconds":1786305953,"priority":1,"record_length":96,"hex_timestamp":"0000019fe821bce8"} 
[2026-08-10 01:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:39: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-08-10 01:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294246912001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294246912001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294246912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":153952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:39:06] local.INFO: GPS data processed {"connection_id":153952,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:39:06] local.INFO: Acknowledgment sent {"connection_id":153952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:39:37] local.INFO: TCP Data received {"connection_id":153952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:39:37] local.INFO: Processing buffer {"connection_id":153952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:39:37] local.INFO: Packet analysis {"connection_id":153952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:39:37] local.INFO: Extracted packet for processing {"connection_id":153952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294246912001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786305953000,"timestamp_ms":1786305953000,"timestamp_seconds":1786305953,"priority":1,"record_length":96,"hex_timestamp":"0000019fe821bce8"} 
[2026-08-10 01:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:39: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-08-10 01:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294246912001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294246912001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294246912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":153952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:39:37] local.INFO: GPS data processed {"connection_id":153952,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:39:37] local.INFO: Acknowledgment sent {"connection_id":153952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:40:00] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:40:00] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:40:00] local.INFO: IMEI packet received {"connection_id":152501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":152501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:40:05] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:40:05] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:40:05] local.INFO: IMEI packet received {"connection_id":152501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":152501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:40:06] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:40:06] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:40:06] local.INFO: Packet analysis {"connection_id":152501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:40:06] local.INFO: Extracted packet for processing {"connection_id":152501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294246912001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786305953000,"timestamp_ms":1786305953000,"timestamp_seconds":1786305953,"priority":1,"record_length":96,"hex_timestamp":"0000019fe821bce8"} 
[2026-08-10 01:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:40: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-08-10 01:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294246912001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294246912001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294246912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":152501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:40:06] local.INFO: GPS data processed {"connection_id":152501,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:40:06] local.INFO: Acknowledgment sent {"connection_id":152501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:40:37] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:40:37] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:40:37] local.INFO: Packet analysis {"connection_id":152501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:40:37] local.INFO: Extracted packet for processing {"connection_id":152501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294246912001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786305953000,"timestamp_ms":1786305953000,"timestamp_seconds":1786305953,"priority":1,"record_length":96,"hex_timestamp":"0000019fe821bce8"} 
[2026-08-10 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-08-10 01:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:40: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-08-10 01:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294246912001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294246912001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294246912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":152501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:40:37] local.INFO: GPS data processed {"connection_id":152501,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:40:37] local.INFO: Acknowledgment sent {"connection_id":152501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:41:00] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:41:00] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:41:00] local.INFO: IMEI packet received {"connection_id":151587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":151587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:41:05] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:41:05] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:41:05] local.INFO: IMEI packet received {"connection_id":151587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":151587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:41:06] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:41:06] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe821bce8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 01:41:06] local.INFO: Packet analysis {"connection_id":151587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:41:06] local.INFO: Extracted packet for processing {"connection_id":151587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe821"} 
[2026-08-10 01:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294246912001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786305953000,"timestamp_ms":1786305953000,"timestamp_seconds":1786305953,"priority":1,"record_length":96,"hex_timestamp":"0000019fe821bce8"} 
[2026-08-10 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-08-10 01:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 01:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:41: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-08-10 01:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294246912001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294246912001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294246912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":151587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:41:06] local.INFO: GPS data processed {"connection_id":151587,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:41:06] local.INFO: Acknowledgment sent {"connection_id":151587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:41:37] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:41:37] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:41:37] local.INFO: Packet analysis {"connection_id":151587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:41:37] local.INFO: Extracted packet for processing {"connection_id":151587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294323968001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786306254000,"timestamp_ms":1786306254000,"timestamp_seconds":1786306254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82654b0"} 
[2026-08-10 01:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 01:41: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-08-10 01:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:41: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-08-10 01:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294323968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294323968001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294323968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":151587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:41:37] local.INFO: GPS data processed {"connection_id":151587,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:41:37] local.INFO: Acknowledgment sent {"connection_id":151587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:42:05] local.INFO: TCP Data received {"connection_id":151588,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:42:05] local.INFO: Processing buffer {"connection_id":151588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:42:05] local.INFO: IMEI packet received {"connection_id":151588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":151588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:42:10] local.INFO: TCP Data received {"connection_id":151588,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:42:10] local.INFO: Processing buffer {"connection_id":151588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:42:10] local.INFO: IMEI packet received {"connection_id":151588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":151588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:42:11] local.INFO: TCP Data received {"connection_id":151588,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:42:11] local.INFO: Processing buffer {"connection_id":151588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:42:11] local.INFO: Packet analysis {"connection_id":151588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:42:11] local.INFO: Extracted packet for processing {"connection_id":151588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294323968001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786306254000,"timestamp_ms":1786306254000,"timestamp_seconds":1786306254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82654b0"} 
[2026-08-10 01:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 01:42: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-08-10 01:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:42: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-08-10 01:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294323968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294323968001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:42:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:42:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294323968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":151588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:42:11] local.INFO: GPS data processed {"connection_id":151588,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:42:11] local.INFO: Acknowledgment sent {"connection_id":151588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:42:15] local.INFO: TCP Data received {"connection_id":151588,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:42:15] local.INFO: Processing buffer {"connection_id":151588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:42:15] local.INFO: Packet analysis {"connection_id":151588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:42:15] local.INFO: Extracted packet for processing {"connection_id":151588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294323968001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786306254000,"timestamp_ms":1786306254000,"timestamp_seconds":1786306254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82654b0"} 
[2026-08-10 01:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 01:42: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-08-10 01:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294323968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294323968001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294323968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":151588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:42:15] local.INFO: GPS data processed {"connection_id":151588,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:42:15] local.INFO: Acknowledgment sent {"connection_id":151588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:43:00] local.INFO: TCP Data received {"connection_id":151589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:43:00] local.INFO: Processing buffer {"connection_id":151589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:43:00] local.INFO: IMEI packet received {"connection_id":151589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":151589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:43:05] local.INFO: TCP Data received {"connection_id":151589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:43:05] local.INFO: Processing buffer {"connection_id":151589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:43:05] local.INFO: IMEI packet received {"connection_id":151589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":151589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:43:06] local.INFO: TCP Data received {"connection_id":151589,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:43:06] local.INFO: Processing buffer {"connection_id":151589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:43:06] local.INFO: Packet analysis {"connection_id":151589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:43:06] local.INFO: Extracted packet for processing {"connection_id":151589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294323968001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786306254000,"timestamp_ms":1786306254000,"timestamp_seconds":1786306254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82654b0"} 
[2026-08-10 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-08-10 01:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 01:43: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-08-10 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-08-10 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-08-10 01:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294323968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294323968001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294323968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":151589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:43:06] local.INFO: GPS data processed {"connection_id":151589,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:43:06] local.INFO: Acknowledgment sent {"connection_id":151589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:43:37] local.INFO: TCP Data received {"connection_id":151589,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:43:37] local.INFO: Processing buffer {"connection_id":151589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:43:37] local.INFO: Packet analysis {"connection_id":151589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:43:37] local.INFO: Extracted packet for processing {"connection_id":151589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294323968001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786306254000,"timestamp_ms":1786306254000,"timestamp_seconds":1786306254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82654b0"} 
[2026-08-10 01:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":233,"data_length":795,"current_offset":136} 
[2026-08-10 01:43: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-08-10 01: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-08-10 01:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294323968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294323968001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294323968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":151589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:43:37] local.INFO: GPS data processed {"connection_id":151589,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:43:37] local.INFO: Acknowledgment sent {"connection_id":151589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:44:00] local.INFO: TCP Data received {"connection_id":151212,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:44:00] local.INFO: Processing buffer {"connection_id":151212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:44:00] local.INFO: IMEI packet received {"connection_id":151212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":151212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:44:05] local.INFO: TCP Data received {"connection_id":151212,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:44:05] local.INFO: Processing buffer {"connection_id":151212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:44:05] local.INFO: IMEI packet received {"connection_id":151212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":151212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:44:06] local.INFO: TCP Data received {"connection_id":151212,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:44:06] local.INFO: Processing buffer {"connection_id":151212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:44:06] local.INFO: Packet analysis {"connection_id":151212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:44:06] local.INFO: Extracted packet for processing {"connection_id":151212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294323968001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786306254000,"timestamp_ms":1786306254000,"timestamp_seconds":1786306254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82654b0"} 
[2026-08-10 01:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 01:44: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-08-10 01:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294323968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294323968001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294323968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":151212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:44:06] local.INFO: GPS data processed {"connection_id":151212,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:44:06] local.INFO: Acknowledgment sent {"connection_id":151212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:44:38] local.INFO: TCP Data received {"connection_id":151212,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:44:38] local.INFO: Processing buffer {"connection_id":151212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:44:38] local.INFO: Packet analysis {"connection_id":151212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:44:38] local.INFO: Extracted packet for processing {"connection_id":151212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294323968001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786306254000,"timestamp_ms":1786306254000,"timestamp_seconds":1786306254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82654b0"} 
[2026-08-10 01:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 01:44: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-08-10 01: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-08-10 01:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294323968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294323968001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294323968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":151212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:44:38] local.INFO: GPS data processed {"connection_id":151212,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:44:38] local.INFO: Acknowledgment sent {"connection_id":151212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:45:01] local.INFO: TCP Data received {"connection_id":151590,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:45:01] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:45:01] local.INFO: IMEI packet received {"connection_id":151590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":151590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:45:06] local.INFO: TCP Data received {"connection_id":151590,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:45:06] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:45:06] local.INFO: IMEI packet received {"connection_id":151590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":151590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:45:07] local.INFO: TCP Data received {"connection_id":151590,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:45:07] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:45:07] local.INFO: Packet analysis {"connection_id":151590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:45:07] local.INFO: Extracted packet for processing {"connection_id":151590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294323968001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786306254000,"timestamp_ms":1786306254000,"timestamp_seconds":1786306254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82654b0"} 
[2026-08-10 01:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 01:45: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-08-10 01:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294323968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294323968001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:45:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294323968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":151590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:45:07] local.INFO: GPS data processed {"connection_id":151590,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:45:07] local.INFO: Acknowledgment sent {"connection_id":151590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:45:42] local.INFO: TCP Data received {"connection_id":151590,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:45:42] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:45:42] local.INFO: Packet analysis {"connection_id":151590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:45:42] local.INFO: Extracted packet for processing {"connection_id":151590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294323968001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786306254000,"timestamp_ms":1786306254000,"timestamp_seconds":1786306254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82654b0"} 
[2026-08-10 01:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 01:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01: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-08-10 01:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294323968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294323968001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294323968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":151590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:45:42] local.INFO: GPS data processed {"connection_id":151590,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:45:42] local.INFO: Acknowledgment sent {"connection_id":151590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:46:00] local.INFO: TCP Data received {"connection_id":151591,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:46:00] local.INFO: Processing buffer {"connection_id":151591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:46:00] local.INFO: IMEI packet received {"connection_id":151591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":151591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:46:05] local.INFO: TCP Data received {"connection_id":151591,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:46:05] local.INFO: Processing buffer {"connection_id":151591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:46:05] local.INFO: IMEI packet received {"connection_id":151591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":151591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:46:06] local.INFO: TCP Data received {"connection_id":151591,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:46:06] local.INFO: Processing buffer {"connection_id":151591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82654b0012d34c20006aa3f08000600f32c..."} 
[2026-08-10 01:46:06] local.INFO: Packet analysis {"connection_id":151591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:46:06] local.INFO: Extracted packet for processing {"connection_id":151591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe826"} 
[2026-08-10 01:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294323968001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786306254000,"timestamp_ms":1786306254000,"timestamp_seconds":1786306254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82654b0"} 
[2026-08-10 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-08-10 01:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 01:46: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-08-10 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-08-10 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-08-10 01:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294323968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294323968001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294323968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":151591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:46:06] local.INFO: GPS data processed {"connection_id":151591,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:46:06] local.INFO: Acknowledgment sent {"connection_id":151591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:46:38] local.INFO: TCP Data received {"connection_id":151591,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:46:38] local.INFO: Processing buffer {"connection_id":151591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:46:38] local.INFO: Packet analysis {"connection_id":151591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:46:38] local.INFO: Extracted packet for processing {"connection_id":151591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294401024001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786306555000,"timestamp_ms":1786306555000,"timestamp_seconds":1786306555,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82aec78"} 
[2026-08-10 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-08-10 01:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294401024001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294401024001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294401024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":151591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:46:38] local.INFO: GPS data processed {"connection_id":151591,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:46:38] local.INFO: Acknowledgment sent {"connection_id":151591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:47:00] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:47:00] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:47:00] local.INFO: IMEI packet received {"connection_id":151592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":151592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:47:05] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:47:05] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:47:05] local.INFO: IMEI packet received {"connection_id":151592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":151592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:47:06] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:47:06] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:47:06] local.INFO: Packet analysis {"connection_id":151592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:47:06] local.INFO: Extracted packet for processing {"connection_id":151592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294401024001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786306555000,"timestamp_ms":1786306555000,"timestamp_seconds":1786306555,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82aec78"} 
[2026-08-10 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-08-10 01:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294401024001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294401024001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:47:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294401024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":151592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:47:06] local.INFO: GPS data processed {"connection_id":151592,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:47:06] local.INFO: Acknowledgment sent {"connection_id":151592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:47:38] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:47:38] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:47:38] local.INFO: Packet analysis {"connection_id":151592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:47:38] local.INFO: Extracted packet for processing {"connection_id":151592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294401024001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786306555000,"timestamp_ms":1786306555000,"timestamp_seconds":1786306555,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82aec78"} 
[2026-08-10 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-08-10 01:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294401024001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294401024001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294401024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":151592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:47:38] local.INFO: GPS data processed {"connection_id":151592,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:47:38] local.INFO: Acknowledgment sent {"connection_id":151592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:48:06] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:48:06] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:48:06] local.INFO: IMEI packet received {"connection_id":151593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":151593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:48:10] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:48:10] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:48:10] local.INFO: IMEI packet received {"connection_id":151593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":151593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:48:11] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:48:11] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:48:11] local.INFO: Packet analysis {"connection_id":151593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:48:11] local.INFO: Extracted packet for processing {"connection_id":151593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294401024001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786306555000,"timestamp_ms":1786306555000,"timestamp_seconds":1786306555,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82aec78"} 
[2026-08-10 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-08-10 01:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294401024001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294401024001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:48:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:48:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294401024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":151593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:48:11] local.INFO: GPS data processed {"connection_id":151593,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:48:11] local.INFO: Acknowledgment sent {"connection_id":151593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:48:16] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:48:16] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:48:16] local.INFO: Packet analysis {"connection_id":151593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:48:16] local.INFO: Extracted packet for processing {"connection_id":151593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294401024001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786306555000,"timestamp_ms":1786306555000,"timestamp_seconds":1786306555,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82aec78"} 
[2026-08-10 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-08-10 01:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294401024001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294401024001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294401024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":151593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:48:17] local.INFO: GPS data processed {"connection_id":151593,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:48:17] local.INFO: Acknowledgment sent {"connection_id":151593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:49:00] local.INFO: TCP Data received {"connection_id":151213,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:49:00] local.INFO: Processing buffer {"connection_id":151213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:49:00] local.INFO: IMEI packet received {"connection_id":151213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":151213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:49:05] local.INFO: TCP Data received {"connection_id":151213,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:49:05] local.INFO: Processing buffer {"connection_id":151213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:49:05] local.INFO: IMEI packet received {"connection_id":151213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":151213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:49:06] local.INFO: TCP Data received {"connection_id":151213,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:49:06] local.INFO: Processing buffer {"connection_id":151213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:49:06] local.INFO: Packet analysis {"connection_id":151213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:49:06] local.INFO: Extracted packet for processing {"connection_id":151213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294401024001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786306555000,"timestamp_ms":1786306555000,"timestamp_seconds":1786306555,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82aec78"} 
[2026-08-10 01:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294401024001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294401024001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294401024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":151213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:49:06] local.INFO: GPS data processed {"connection_id":151213,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:49:06] local.INFO: Acknowledgment sent {"connection_id":151213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:49:37] local.INFO: TCP Data received {"connection_id":151213,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:49:37] local.INFO: Processing buffer {"connection_id":151213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:49:37] local.INFO: Packet analysis {"connection_id":151213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:49:37] local.INFO: Extracted packet for processing {"connection_id":151213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294401024001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786306555000,"timestamp_ms":1786306555000,"timestamp_seconds":1786306555,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82aec78"} 
[2026-08-10 01:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294401024001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294401024001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294401024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":151213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:49:37] local.INFO: GPS data processed {"connection_id":151213,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:49:37] local.INFO: Acknowledgment sent {"connection_id":151213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:50:00] local.INFO: TCP Data received {"connection_id":152502,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:50:00] local.INFO: Processing buffer {"connection_id":152502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:50:00] local.INFO: IMEI packet received {"connection_id":152502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":152502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:50:05] local.INFO: TCP Data received {"connection_id":152502,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:50:05] local.INFO: Processing buffer {"connection_id":152502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:50:05] local.INFO: IMEI packet received {"connection_id":152502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":152502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:50:06] local.INFO: TCP Data received {"connection_id":152502,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:50:06] local.INFO: Processing buffer {"connection_id":152502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:50:06] local.INFO: Packet analysis {"connection_id":152502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:50:06] local.INFO: Extracted packet for processing {"connection_id":152502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294401024001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786306555000,"timestamp_ms":1786306555000,"timestamp_seconds":1786306555,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82aec78"} 
[2026-08-10 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-08-10 01:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294401024001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294401024001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294401024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":152502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:50:06] local.INFO: GPS data processed {"connection_id":152502,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:50:06] local.INFO: Acknowledgment sent {"connection_id":152502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:50:38] local.INFO: TCP Data received {"connection_id":152502,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:50:38] local.INFO: Processing buffer {"connection_id":152502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:50:38] local.INFO: Packet analysis {"connection_id":152502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:50:38] local.INFO: Extracted packet for processing {"connection_id":152502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01: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-08-10 01:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294401024001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786306555000,"timestamp_ms":1786306555000,"timestamp_seconds":1786306555,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82aec78"} 
[2026-08-10 01:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294401024001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294401024001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294401024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":152502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:50:38] local.INFO: GPS data processed {"connection_id":152502,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:50:38] local.INFO: Acknowledgment sent {"connection_id":152502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:51:00] local.INFO: TCP Data received {"connection_id":151594,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:51:00] local.INFO: Processing buffer {"connection_id":151594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:51:00] local.INFO: IMEI packet received {"connection_id":151594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":151594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:51:05] local.INFO: TCP Data received {"connection_id":151594,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:51:05] local.INFO: Processing buffer {"connection_id":151594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:51:05] local.INFO: IMEI packet received {"connection_id":151594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":151594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:51:07] local.INFO: TCP Data received {"connection_id":151594,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:51:07] local.INFO: Processing buffer {"connection_id":151594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82aec78012d34c20006aa3f08000700f32a..."} 
[2026-08-10 01:51:07] local.INFO: Packet analysis {"connection_id":151594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:51:07] local.INFO: Extracted packet for processing {"connection_id":151594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82a"} 
[2026-08-10 01:51:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294401024001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786306555000,"timestamp_ms":1786306555000,"timestamp_seconds":1786306555,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82aec78"} 
[2026-08-10 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-08-10 01:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:51: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-08-10 01:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294401024001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294401024001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:51:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:51:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294401024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":151594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:51:07] local.INFO: GPS data processed {"connection_id":151594,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:51:07] local.INFO: Acknowledgment sent {"connection_id":151594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:51:38] local.INFO: TCP Data received {"connection_id":151594,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:51:38] local.INFO: Processing buffer {"connection_id":151594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:51:38] local.INFO: Packet analysis {"connection_id":151594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:51:38] local.INFO: Extracted packet for processing {"connection_id":151594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294478080001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786306856000,"timestamp_ms":1786306856000,"timestamp_seconds":1786306856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82f8440"} 
[2026-08-10 01:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294478080001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294478080001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294478080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":151594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:51:38] local.INFO: GPS data processed {"connection_id":151594,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:51:38] local.INFO: Acknowledgment sent {"connection_id":151594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:52:05] local.INFO: TCP Data received {"connection_id":153953,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:52:05] local.INFO: Processing buffer {"connection_id":153953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:52:05] local.INFO: IMEI packet received {"connection_id":153953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":153953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:52:10] local.INFO: TCP Data received {"connection_id":153953,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:52:10] local.INFO: Processing buffer {"connection_id":153953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:52:10] local.INFO: IMEI packet received {"connection_id":153953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":153953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:52:11] local.INFO: TCP Data received {"connection_id":153953,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:52:11] local.INFO: Processing buffer {"connection_id":153953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:52:11] local.INFO: Packet analysis {"connection_id":153953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:52:11] local.INFO: Extracted packet for processing {"connection_id":153953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294478080001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786306856000,"timestamp_ms":1786306856000,"timestamp_seconds":1786306856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82f8440"} 
[2026-08-10 01:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294478080001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294478080001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:52:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294478080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":153953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:52:11] local.INFO: GPS data processed {"connection_id":153953,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:52:11] local.INFO: Acknowledgment sent {"connection_id":153953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:52:16] local.INFO: TCP Data received {"connection_id":153953,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:52:16] local.INFO: Processing buffer {"connection_id":153953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:52:16] local.INFO: Packet analysis {"connection_id":153953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:52:16] local.INFO: Extracted packet for processing {"connection_id":153953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294478080001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786306856000,"timestamp_ms":1786306856000,"timestamp_seconds":1786306856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82f8440"} 
[2026-08-10 01:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294478080001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294478080001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294478080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":153953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:52:16] local.INFO: GPS data processed {"connection_id":153953,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:52:16] local.INFO: Acknowledgment sent {"connection_id":153953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:53:00] local.INFO: TCP Data received {"connection_id":152503,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:53:00] local.INFO: Processing buffer {"connection_id":152503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:53:00] local.INFO: IMEI packet received {"connection_id":152503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":152503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:53:05] local.INFO: TCP Data received {"connection_id":152503,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:53:05] local.INFO: Processing buffer {"connection_id":152503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:53:05] local.INFO: IMEI packet received {"connection_id":152503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":152503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:53:07] local.INFO: TCP Data received {"connection_id":152503,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:53:07] local.INFO: Processing buffer {"connection_id":152503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:53:07] local.INFO: Packet analysis {"connection_id":152503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:53:07] local.INFO: Extracted packet for processing {"connection_id":152503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294478080001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786306856000,"timestamp_ms":1786306856000,"timestamp_seconds":1786306856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82f8440"} 
[2026-08-10 01:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:53: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-08-10 01:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294478080001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294478080001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:53:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:53:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294478080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":152503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:53:07] local.INFO: GPS data processed {"connection_id":152503,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:53:07] local.INFO: Acknowledgment sent {"connection_id":152503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:53:38] local.INFO: TCP Data received {"connection_id":152503,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:53:38] local.INFO: Processing buffer {"connection_id":152503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:53:38] local.INFO: Packet analysis {"connection_id":152503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:53:38] local.INFO: Extracted packet for processing {"connection_id":152503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294478080001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786306856000,"timestamp_ms":1786306856000,"timestamp_seconds":1786306856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82f8440"} 
[2026-08-10 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-08-10 01:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294478080001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294478080001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294478080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":152503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:53:38] local.INFO: GPS data processed {"connection_id":152503,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:53:38] local.INFO: Acknowledgment sent {"connection_id":152503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:54:00] local.INFO: TCP Data received {"connection_id":151214,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:54:00] local.INFO: Processing buffer {"connection_id":151214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:54:00] local.INFO: IMEI packet received {"connection_id":151214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":151214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:54:05] local.INFO: TCP Data received {"connection_id":151214,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:54:05] local.INFO: Processing buffer {"connection_id":151214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:54:05] local.INFO: IMEI packet received {"connection_id":151214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":151214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:54:07] local.INFO: TCP Data received {"connection_id":151214,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:54:07] local.INFO: Processing buffer {"connection_id":151214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:54:07] local.INFO: Packet analysis {"connection_id":151214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:54:07] local.INFO: Extracted packet for processing {"connection_id":151214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294478080001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786306856000,"timestamp_ms":1786306856000,"timestamp_seconds":1786306856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82f8440"} 
[2026-08-10 01:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:54: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-08-10 01:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294478080001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294478080001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:54:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294478080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":151214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:54:07] local.INFO: GPS data processed {"connection_id":151214,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:54:07] local.INFO: Acknowledgment sent {"connection_id":151214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:54:38] local.INFO: TCP Data received {"connection_id":151214,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:54:38] local.INFO: Processing buffer {"connection_id":151214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:54:38] local.INFO: Packet analysis {"connection_id":151214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:54:38] local.INFO: Extracted packet for processing {"connection_id":151214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294478080001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786306856000,"timestamp_ms":1786306856000,"timestamp_seconds":1786306856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82f8440"} 
[2026-08-10 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-08-10 01:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294478080001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294478080001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294478080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":151214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:54:38] local.INFO: GPS data processed {"connection_id":151214,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:54:38] local.INFO: Acknowledgment sent {"connection_id":151214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:55:00] local.INFO: TCP Data received {"connection_id":151595,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:55:00] local.INFO: Processing buffer {"connection_id":151595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:55:00] local.INFO: IMEI packet received {"connection_id":151595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":151595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:55:05] local.INFO: TCP Data received {"connection_id":151595,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:55:05] local.INFO: Processing buffer {"connection_id":151595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:55:05] local.INFO: IMEI packet received {"connection_id":151595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":151595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:55:06] local.INFO: TCP Data received {"connection_id":151595,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:55:06] local.INFO: Processing buffer {"connection_id":151595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:55:06] local.INFO: Packet analysis {"connection_id":151595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:55:06] local.INFO: Extracted packet for processing {"connection_id":151595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294478080001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786306856000,"timestamp_ms":1786306856000,"timestamp_seconds":1786306856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82f8440"} 
[2026-08-10 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-08-10 01:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294478080001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294478080001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294478080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":151595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:55:06] local.INFO: GPS data processed {"connection_id":151595,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:55:06] local.INFO: Acknowledgment sent {"connection_id":151595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:55:38] local.INFO: TCP Data received {"connection_id":151595,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:55:38] local.INFO: Processing buffer {"connection_id":151595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:55:38] local.INFO: Packet analysis {"connection_id":151595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:55:38] local.INFO: Extracted packet for processing {"connection_id":151595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294478080001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786306856000,"timestamp_ms":1786306856000,"timestamp_seconds":1786306856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82f8440"} 
[2026-08-10 01:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294478080001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294478080001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294478080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":151595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:55:38] local.INFO: GPS data processed {"connection_id":151595,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:55:38] local.INFO: Acknowledgment sent {"connection_id":151595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:56:00] local.INFO: TCP Data received {"connection_id":151215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:56:00] local.INFO: Processing buffer {"connection_id":151215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:56:00] local.INFO: IMEI packet received {"connection_id":151215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":151215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:56:05] local.INFO: TCP Data received {"connection_id":151215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:56:05] local.INFO: Processing buffer {"connection_id":151215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:56:05] local.INFO: IMEI packet received {"connection_id":151215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":151215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:56:07] local.INFO: TCP Data received {"connection_id":151215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:56:07] local.INFO: Processing buffer {"connection_id":151215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe82f8440012d34c20006aa3f08000500f32a..."} 
[2026-08-10 01:56:07] local.INFO: Packet analysis {"connection_id":151215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:56:07] local.INFO: Extracted packet for processing {"connection_id":151215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe82f"} 
[2026-08-10 01:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294478080001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786306856000,"timestamp_ms":1786306856000,"timestamp_seconds":1786306856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe82f8440"} 
[2026-08-10 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-08-10 01:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":255,"data_length":795,"current_offset":136} 
[2026-08-10 01:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:56: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-08-10 01:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294478080001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294478080001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:56:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294478080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":151215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:56:07] local.INFO: GPS data processed {"connection_id":151215,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:56:07] local.INFO: Acknowledgment sent {"connection_id":151215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:56:38] local.INFO: TCP Data received {"connection_id":151215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:56:38] local.INFO: Processing buffer {"connection_id":151215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:56:38] local.INFO: Packet analysis {"connection_id":151215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:56:38] local.INFO: Extracted packet for processing {"connection_id":151215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294555136001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786307157000,"timestamp_ms":1786307157000,"timestamp_seconds":1786307157,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8341c08"} 
[2026-08-10 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-08-10 01:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:56: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-08-10 01:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294555136001,"66":25201,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294555136001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294555136001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":151215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:56:38] local.INFO: GPS data processed {"connection_id":151215,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:56:38] local.INFO: Acknowledgment sent {"connection_id":151215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:57:00] local.INFO: TCP Data received {"connection_id":152504,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:57:00] local.INFO: Processing buffer {"connection_id":152504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:57:00] local.INFO: IMEI packet received {"connection_id":152504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":152504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:57:05] local.INFO: TCP Data received {"connection_id":152504,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:57:05] local.INFO: Processing buffer {"connection_id":152504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:57:05] local.INFO: IMEI packet received {"connection_id":152504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":152504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:57:07] local.INFO: TCP Data received {"connection_id":152504,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:57:07] local.INFO: Processing buffer {"connection_id":152504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:57:07] local.INFO: Packet analysis {"connection_id":152504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:57:07] local.INFO: Extracted packet for processing {"connection_id":152504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294555136001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786307157000,"timestamp_ms":1786307157000,"timestamp_seconds":1786307157,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8341c08"} 
[2026-08-10 01:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:57: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-08-10 01:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294555136001,"66":25201,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294555136001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:57:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294555136001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":152504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:57:07] local.INFO: GPS data processed {"connection_id":152504,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:57:07] local.INFO: Acknowledgment sent {"connection_id":152504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:57:37] local.INFO: TCP Data received {"connection_id":152504,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:57:37] local.INFO: Processing buffer {"connection_id":152504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:57:37] local.INFO: Packet analysis {"connection_id":152504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:57:37] local.INFO: Extracted packet for processing {"connection_id":152504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 01:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 01:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294555136001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786307157000,"timestamp_ms":1786307157000,"timestamp_seconds":1786307157,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8341c08"} 
[2026-08-10 01:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 01:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 01:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 01:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 01:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:57: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-08-10 01:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294555136001,"66":25201,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294555136001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294555136001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":152504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:57:37] local.INFO: GPS data processed {"connection_id":152504,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:57:37] local.INFO: Acknowledgment sent {"connection_id":152504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:58:05] local.INFO: TCP Data received {"connection_id":153954,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:58:05] local.INFO: Processing buffer {"connection_id":153954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:58:05] local.INFO: IMEI packet received {"connection_id":153954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":153954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:58:10] local.INFO: TCP Data received {"connection_id":153954,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:58:10] local.INFO: Processing buffer {"connection_id":153954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:58:10] local.INFO: IMEI packet received {"connection_id":153954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":153954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:58:11] local.INFO: TCP Data received {"connection_id":153954,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:58:11] local.INFO: Processing buffer {"connection_id":153954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:58:11] local.INFO: Packet analysis {"connection_id":153954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:58:11] local.INFO: Extracted packet for processing {"connection_id":153954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294555136001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786307157000,"timestamp_ms":1786307157000,"timestamp_seconds":1786307157,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8341c08"} 
[2026-08-10 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-08-10 01:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:58: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-08-10 01:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294555136001,"66":25201,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294555136001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:58:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:58:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294555136001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":153954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:58:11] local.INFO: GPS data processed {"connection_id":153954,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:58:11] local.INFO: Acknowledgment sent {"connection_id":153954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:58:16] local.INFO: TCP Data received {"connection_id":153954,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:58:16] local.INFO: Processing buffer {"connection_id":153954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:58:16] local.INFO: Packet analysis {"connection_id":153954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:58:16] local.INFO: Extracted packet for processing {"connection_id":153954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294555136001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786307157000,"timestamp_ms":1786307157000,"timestamp_seconds":1786307157,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8341c08"} 
[2026-08-10 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-08-10 01:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294555136001,"66":25201,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294555136001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:58:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294555136001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":153954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:58:16] local.INFO: GPS data processed {"connection_id":153954,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:58:16] local.INFO: Acknowledgment sent {"connection_id":153954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:59:01] local.INFO: TCP Data received {"connection_id":151216,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:59:01] local.INFO: Processing buffer {"connection_id":151216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:59:01] local.INFO: IMEI packet received {"connection_id":151216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 01:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":151216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 01:59:05] local.INFO: TCP Data received {"connection_id":151216,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:59:05] local.INFO: Processing buffer {"connection_id":151216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 01:59:05] local.INFO: IMEI packet received {"connection_id":151216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 01:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":151216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 01:59:06] local.INFO: TCP Data received {"connection_id":151216,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:59:06] local.INFO: Processing buffer {"connection_id":151216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:59:06] local.INFO: Packet analysis {"connection_id":151216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:59:06] local.INFO: Extracted packet for processing {"connection_id":151216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294555136001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786307157000,"timestamp_ms":1786307157000,"timestamp_seconds":1786307157,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8341c08"} 
[2026-08-10 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-08-10 01:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294555136001,"66":25201,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294555136001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294555136001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":151216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:59:06] local.INFO: GPS data processed {"connection_id":151216,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:59:06] local.INFO: Acknowledgment sent {"connection_id":151216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 01:59:38] local.INFO: TCP Data received {"connection_id":151216,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:59:38] local.INFO: Processing buffer {"connection_id":151216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 01:59:38] local.INFO: Packet analysis {"connection_id":151216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:59:38] local.INFO: Extracted packet for processing {"connection_id":151216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 01:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 01:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294555136001,"note":"Value kept but may cause issues"} 
[2026-08-10 01:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 01:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 01:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 01:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786307157000,"timestamp_ms":1786307157000,"timestamp_seconds":1786307157,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8341c08"} 
[2026-08-10 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-08-10 01:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 01:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 01:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 01:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 01:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 01:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 01:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 01:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 01:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294555136001,"66":25201,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 01:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 01:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 01:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294555136001,"description":"Unknown IO ID 0"} 
[2026-08-10 01:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 01:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 01:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 01:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 01:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294555136001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 01:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":151216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 01:59:38] local.INFO: GPS data processed {"connection_id":151216,"processed":1,"errors":0,"total":1} 
[2026-08-10 01:59:38] local.INFO: Acknowledgment sent {"connection_id":151216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:00:01] local.INFO: TCP Data received {"connection_id":152505,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:00:01] local.INFO: Processing buffer {"connection_id":152505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:00:01] local.INFO: IMEI packet received {"connection_id":152505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":152505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:00:05] local.INFO: TCP Data received {"connection_id":152505,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:00:05] local.INFO: Processing buffer {"connection_id":152505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:00:05] local.INFO: IMEI packet received {"connection_id":152505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":152505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:00:07] local.INFO: TCP Data received {"connection_id":152505,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 02:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 02:00:07] local.INFO: Processing buffer {"connection_id":152505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 02:00:07] local.INFO: Packet analysis {"connection_id":152505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 02:00:07] local.INFO: Extracted packet for processing {"connection_id":152505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 02:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294555136001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786307157000,"timestamp_ms":1786307157000,"timestamp_seconds":1786307157,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8341c08"} 
[2026-08-10 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-08-10 02:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294555136001,"66":25201,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294555136001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294555136001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":152505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:00:07] local.INFO: GPS data processed {"connection_id":152505,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:00:07] local.INFO: Acknowledgment sent {"connection_id":152505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:00:42] local.INFO: TCP Data received {"connection_id":152505,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 02:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 02:00:42] local.INFO: Processing buffer {"connection_id":152505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 02:00:42] local.INFO: Packet analysis {"connection_id":152505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 02:00:42] local.INFO: Extracted packet for processing {"connection_id":152505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 02:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294555136001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786307157000,"timestamp_ms":1786307157000,"timestamp_seconds":1786307157,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8341c08"} 
[2026-08-10 02:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294555136001,"66":25201,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294555136001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:00:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294555136001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":152505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:00:42] local.INFO: GPS data processed {"connection_id":152505,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:00:42] local.INFO: Acknowledgment sent {"connection_id":152505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:01:00] local.INFO: TCP Data received {"connection_id":151217,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:01:00] local.INFO: Processing buffer {"connection_id":151217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:01:00] local.INFO: IMEI packet received {"connection_id":151217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":151217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:01:05] local.INFO: TCP Data received {"connection_id":151217,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:01:05] local.INFO: Processing buffer {"connection_id":151217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:01:05] local.INFO: IMEI packet received {"connection_id":151217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":151217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:01:06] local.INFO: TCP Data received {"connection_id":151217,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 02:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 02:01:06] local.INFO: Processing buffer {"connection_id":151217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8341c08012d34c20006aa3f08000500f32b..."} 
[2026-08-10 02:01:06] local.INFO: Packet analysis {"connection_id":151217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 02:01:06] local.INFO: Extracted packet for processing {"connection_id":151217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe834"} 
[2026-08-10 02:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294555136001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786307157000,"timestamp_ms":1786307157000,"timestamp_seconds":1786307157,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8341c08"} 
[2026-08-10 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-08-10 02:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294555136001,"66":25201,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294555136001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294555136001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":151217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:01:06] local.INFO: GPS data processed {"connection_id":151217,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:01:06] local.INFO: Acknowledgment sent {"connection_id":151217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:01:37] local.INFO: TCP Data received {"connection_id":151217,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:01:37] local.INFO: Processing buffer {"connection_id":151217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:01:37] local.INFO: Packet analysis {"connection_id":151217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:01:37] local.INFO: Extracted packet for processing {"connection_id":151217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294632192001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786307458000,"timestamp_ms":1786307458000,"timestamp_seconds":1786307458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe838b3d0"} 
[2026-08-10 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-08-10 02:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-10 02:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294632192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294632192001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294632192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":151217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:01:38] local.INFO: GPS data processed {"connection_id":151217,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:01:38] local.INFO: Acknowledgment sent {"connection_id":151217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:02:00] local.INFO: TCP Data received {"connection_id":153955,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:02:00] local.INFO: Processing buffer {"connection_id":153955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:02:00] local.INFO: IMEI packet received {"connection_id":153955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":153955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:02:05] local.INFO: TCP Data received {"connection_id":153955,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:02:05] local.INFO: Processing buffer {"connection_id":153955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:02:05] local.INFO: IMEI packet received {"connection_id":153955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":153955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:02:07] local.INFO: TCP Data received {"connection_id":153955,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:02:07] local.INFO: Processing buffer {"connection_id":153955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:02:07] local.INFO: Packet analysis {"connection_id":153955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:02:07] local.INFO: Extracted packet for processing {"connection_id":153955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294632192001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786307458000,"timestamp_ms":1786307458000,"timestamp_seconds":1786307458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe838b3d0"} 
[2026-08-10 02:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-10 02:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:02: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-08-10 02:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294632192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294632192001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294632192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":153955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:02:07] local.INFO: GPS data processed {"connection_id":153955,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:02:07] local.INFO: Acknowledgment sent {"connection_id":153955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:02:38] local.INFO: TCP Data received {"connection_id":153955,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:02:38] local.INFO: Processing buffer {"connection_id":153955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:02:38] local.INFO: Packet analysis {"connection_id":153955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:02:38] local.INFO: Extracted packet for processing {"connection_id":153955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294632192001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786307458000,"timestamp_ms":1786307458000,"timestamp_seconds":1786307458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe838b3d0"} 
[2026-08-10 02:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-10 02:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:02: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-08-10 02:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294632192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294632192001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294632192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":153955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:02:38] local.INFO: GPS data processed {"connection_id":153955,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:02:38] local.INFO: Acknowledgment sent {"connection_id":153955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:03:05] local.INFO: TCP Data received {"connection_id":151218,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:03:05] local.INFO: Processing buffer {"connection_id":151218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:03:05] local.INFO: IMEI packet received {"connection_id":151218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":151218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:03:10] local.INFO: TCP Data received {"connection_id":151218,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:03:10] local.INFO: Processing buffer {"connection_id":151218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:03:10] local.INFO: IMEI packet received {"connection_id":151218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":151218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:03:12] local.INFO: TCP Data received {"connection_id":151218,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:03:12] local.INFO: Processing buffer {"connection_id":151218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:03:12] local.INFO: Packet analysis {"connection_id":151218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:03:12] local.INFO: Extracted packet for processing {"connection_id":151218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294632192001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786307458000,"timestamp_ms":1786307458000,"timestamp_seconds":1786307458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe838b3d0"} 
[2026-08-10 02:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-10 02:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294632192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294632192001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:03:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:03:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294632192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":151218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:03:12] local.INFO: GPS data processed {"connection_id":151218,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:03:12] local.INFO: Acknowledgment sent {"connection_id":151218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:03:16] local.INFO: TCP Data received {"connection_id":151218,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:03:16] local.INFO: Processing buffer {"connection_id":151218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:03:16] local.INFO: Packet analysis {"connection_id":151218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:03:16] local.INFO: Extracted packet for processing {"connection_id":151218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294632192001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786307458000,"timestamp_ms":1786307458000,"timestamp_seconds":1786307458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe838b3d0"} 
[2026-08-10 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-08-10 02:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-10 02:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294632192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294632192001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294632192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":151218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:03:16] local.INFO: GPS data processed {"connection_id":151218,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:03:16] local.INFO: Acknowledgment sent {"connection_id":151218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:04:01] local.INFO: TCP Data received {"connection_id":152506,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:04:01] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:04:01] local.INFO: IMEI packet received {"connection_id":152506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":152506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:04:05] local.INFO: TCP Data received {"connection_id":152506,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:04:05] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:04:05] local.INFO: IMEI packet received {"connection_id":152506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":152506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:04:06] local.INFO: TCP Data received {"connection_id":152506,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:04:06] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:04:06] local.INFO: Packet analysis {"connection_id":152506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:04:06] local.INFO: Extracted packet for processing {"connection_id":152506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294632192001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786307458000,"timestamp_ms":1786307458000,"timestamp_seconds":1786307458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe838b3d0"} 
[2026-08-10 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-08-10 02:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-10 02:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294632192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294632192001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294632192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":152506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:04:06] local.INFO: GPS data processed {"connection_id":152506,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:04:06] local.INFO: Acknowledgment sent {"connection_id":152506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:04:11] local.INFO: TCP Data received {"connection_id":152506,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:04:11] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:04:11] local.INFO: Packet analysis {"connection_id":152506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:04:11] local.INFO: Extracted packet for processing {"connection_id":152506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294632192001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786307458000,"timestamp_ms":1786307458000,"timestamp_seconds":1786307458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe838b3d0"} 
[2026-08-10 02:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-10 02:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294632192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294632192001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:04:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:04:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294632192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":152506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:04:11] local.INFO: GPS data processed {"connection_id":152506,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:04:11] local.INFO: Acknowledgment sent {"connection_id":152506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:04:42] local.INFO: TCP Data received {"connection_id":152506,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:04:42] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:04:42] local.INFO: Packet analysis {"connection_id":152506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:04:42] local.INFO: Extracted packet for processing {"connection_id":152506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294632192001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786307458000,"timestamp_ms":1786307458000,"timestamp_seconds":1786307458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe838b3d0"} 
[2026-08-10 02:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-10 02:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294632192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294632192001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294632192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":152506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:04:42] local.INFO: GPS data processed {"connection_id":152506,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:04:42] local.INFO: Acknowledgment sent {"connection_id":152506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:05:00] local.INFO: TCP Data received {"connection_id":152507,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:05:00] local.INFO: Processing buffer {"connection_id":152507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:05:00] local.INFO: IMEI packet received {"connection_id":152507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":152507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:05:05] local.INFO: TCP Data received {"connection_id":152507,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:05:05] local.INFO: Processing buffer {"connection_id":152507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:05:05] local.INFO: IMEI packet received {"connection_id":152507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":152507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:05:07] local.INFO: TCP Data received {"connection_id":152507,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:05:07] local.INFO: Processing buffer {"connection_id":152507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:05:07] local.INFO: Packet analysis {"connection_id":152507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:05:07] local.INFO: Extracted packet for processing {"connection_id":152507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294632192001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786307458000,"timestamp_ms":1786307458000,"timestamp_seconds":1786307458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe838b3d0"} 
[2026-08-10 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-08-10 02:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-10 02:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294632192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294632192001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294632192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":152507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:05:07] local.INFO: GPS data processed {"connection_id":152507,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:05:07] local.INFO: Acknowledgment sent {"connection_id":152507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:05:38] local.INFO: TCP Data received {"connection_id":152507,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:05:38] local.INFO: Processing buffer {"connection_id":152507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:05:38] local.INFO: Packet analysis {"connection_id":152507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:05:38] local.INFO: Extracted packet for processing {"connection_id":152507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294632192001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786307458000,"timestamp_ms":1786307458000,"timestamp_seconds":1786307458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe838b3d0"} 
[2026-08-10 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-08-10 02:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-10 02:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294632192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294632192001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294632192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":152507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:05:38] local.INFO: GPS data processed {"connection_id":152507,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:05:38] local.INFO: Acknowledgment sent {"connection_id":152507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:06:00] local.INFO: TCP Data received {"connection_id":153956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:06:00] local.INFO: Processing buffer {"connection_id":153956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:06:00] local.INFO: IMEI packet received {"connection_id":153956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":153956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:06:06] local.INFO: TCP Data received {"connection_id":153956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:06:06] local.INFO: Processing buffer {"connection_id":153956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:06:06] local.INFO: IMEI packet received {"connection_id":153956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":153956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:06:08] local.INFO: TCP Data received {"connection_id":153956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:06:08] local.INFO: Processing buffer {"connection_id":153956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe838b3d0012d34c20006aa3f08000800f32a..."} 
[2026-08-10 02:06:08] local.INFO: Packet analysis {"connection_id":153956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:06:08] local.INFO: Extracted packet for processing {"connection_id":153956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe838"} 
[2026-08-10 02:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294632192001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786307458000,"timestamp_ms":1786307458000,"timestamp_seconds":1786307458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe838b3d0"} 
[2026-08-10 02:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-10 02:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02: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-08-10 02:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294632192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294632192001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294632192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":153956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:06:08] local.INFO: GPS data processed {"connection_id":153956,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:06:08] local.INFO: Acknowledgment sent {"connection_id":153956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:06:40] local.INFO: TCP Data received {"connection_id":153956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:06:40] local.INFO: Processing buffer {"connection_id":153956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:06:40] local.INFO: Packet analysis {"connection_id":153956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:06:40] local.INFO: Extracted packet for processing {"connection_id":153956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:06:40] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294709248001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786307759000,"timestamp_ms":1786307759000,"timestamp_seconds":1786307759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe83d4b98"} 
[2026-08-10 02:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:06: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:06: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-08-10 02:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294709248001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294709248001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:06:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:06:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294709248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":153956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:06:40] local.INFO: GPS data processed {"connection_id":153956,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:06:40] local.INFO: Acknowledgment sent {"connection_id":153956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:07:03] local.INFO: TCP Data received {"connection_id":151219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:07:03] local.INFO: Processing buffer {"connection_id":151219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:07:03] local.INFO: IMEI packet received {"connection_id":151219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":151219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:07:05] local.INFO: TCP Data received {"connection_id":151219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:07:05] local.INFO: Processing buffer {"connection_id":151219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:07:05] local.INFO: IMEI packet received {"connection_id":151219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":151219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:07:09] local.INFO: TCP Data received {"connection_id":151219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:07:09] local.INFO: Processing buffer {"connection_id":151219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:07:09] local.INFO: Packet analysis {"connection_id":151219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:07:09] local.INFO: Extracted packet for processing {"connection_id":151219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294709248001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786307759000,"timestamp_ms":1786307759000,"timestamp_seconds":1786307759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe83d4b98"} 
[2026-08-10 02:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294709248001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294709248001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294709248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":151219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:07:09] local.INFO: GPS data processed {"connection_id":151219,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:07:09] local.INFO: Acknowledgment sent {"connection_id":151219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:07:41] local.INFO: TCP Data received {"connection_id":151219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:07:41] local.INFO: Processing buffer {"connection_id":151219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:07:41] local.INFO: Packet analysis {"connection_id":151219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:07:41] local.INFO: Extracted packet for processing {"connection_id":151219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294709248001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786307759000,"timestamp_ms":1786307759000,"timestamp_seconds":1786307759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe83d4b98"} 
[2026-08-10 02:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:07: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-08-10 02:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294709248001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294709248001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294709248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":151219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:07:41] local.INFO: GPS data processed {"connection_id":151219,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:07:41] local.INFO: Acknowledgment sent {"connection_id":151219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:08:05] local.INFO: TCP Data received {"connection_id":151596,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:08:05] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:08:05] local.INFO: IMEI packet received {"connection_id":151596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":151596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:08:10] local.INFO: TCP Data received {"connection_id":151596,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:08:10] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:08:10] local.INFO: IMEI packet received {"connection_id":151596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":151596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:08:11] local.INFO: TCP Data received {"connection_id":151596,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:08:11] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:08:11] local.INFO: Packet analysis {"connection_id":151596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:08:11] local.INFO: Extracted packet for processing {"connection_id":151596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:08:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294709248001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786307759000,"timestamp_ms":1786307759000,"timestamp_seconds":1786307759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe83d4b98"} 
[2026-08-10 02:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294709248001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294709248001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:08:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:08:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294709248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":151596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:08:11] local.INFO: GPS data processed {"connection_id":151596,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:08:11] local.INFO: Acknowledgment sent {"connection_id":151596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:08:42] local.INFO: TCP Data received {"connection_id":151596,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:08:42] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:08:42] local.INFO: Packet analysis {"connection_id":151596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:08:42] local.INFO: Extracted packet for processing {"connection_id":151596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294709248001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786307759000,"timestamp_ms":1786307759000,"timestamp_seconds":1786307759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe83d4b98"} 
[2026-08-10 02:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294709248001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294709248001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294709248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":151596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:08:42] local.INFO: GPS data processed {"connection_id":151596,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:08:42] local.INFO: Acknowledgment sent {"connection_id":151596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:09:00] local.INFO: TCP Data received {"connection_id":151220,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:09:00] local.INFO: Processing buffer {"connection_id":151220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:09:00] local.INFO: IMEI packet received {"connection_id":151220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":151220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:09:05] local.INFO: TCP Data received {"connection_id":151220,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:09:05] local.INFO: Processing buffer {"connection_id":151220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:09:05] local.INFO: IMEI packet received {"connection_id":151220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":151220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:09:06] local.INFO: TCP Data received {"connection_id":151220,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:09:06] local.INFO: Processing buffer {"connection_id":151220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:09:06] local.INFO: Packet analysis {"connection_id":151220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:09:06] local.INFO: Extracted packet for processing {"connection_id":151220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294709248001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786307759000,"timestamp_ms":1786307759000,"timestamp_seconds":1786307759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe83d4b98"} 
[2026-08-10 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-08-10 02:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294709248001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294709248001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294709248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":151220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:09:06] local.INFO: GPS data processed {"connection_id":151220,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:09:06] local.INFO: Acknowledgment sent {"connection_id":151220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:09:37] local.INFO: TCP Data received {"connection_id":151220,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:09:37] local.INFO: Processing buffer {"connection_id":151220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:09:37] local.INFO: Packet analysis {"connection_id":151220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:09:37] local.INFO: Extracted packet for processing {"connection_id":151220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294709248001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786307759000,"timestamp_ms":1786307759000,"timestamp_seconds":1786307759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe83d4b98"} 
[2026-08-10 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-08-10 02:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294709248001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294709248001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294709248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":151220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:09:37] local.INFO: GPS data processed {"connection_id":151220,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:09:37] local.INFO: Acknowledgment sent {"connection_id":151220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:10:00] local.INFO: TCP Data received {"connection_id":153957,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:10:00] local.INFO: Processing buffer {"connection_id":153957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:10:00] local.INFO: IMEI packet received {"connection_id":153957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":153957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:10:05] local.INFO: TCP Data received {"connection_id":153957,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:10:05] local.INFO: Processing buffer {"connection_id":153957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:10:05] local.INFO: IMEI packet received {"connection_id":153957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":153957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:10:06] local.INFO: TCP Data received {"connection_id":153957,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:10:06] local.INFO: Processing buffer {"connection_id":153957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:10:06] local.INFO: Packet analysis {"connection_id":153957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:10:06] local.INFO: Extracted packet for processing {"connection_id":153957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294709248001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786307759000,"timestamp_ms":1786307759000,"timestamp_seconds":1786307759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe83d4b98"} 
[2026-08-10 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-08-10 02:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294709248001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294709248001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294709248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":153957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:10:06] local.INFO: GPS data processed {"connection_id":153957,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:10:06] local.INFO: Acknowledgment sent {"connection_id":153957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:10:37] local.INFO: TCP Data received {"connection_id":153957,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:10:37] local.INFO: Processing buffer {"connection_id":153957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:10:37] local.INFO: Packet analysis {"connection_id":153957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:10:37] local.INFO: Extracted packet for processing {"connection_id":153957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294709248001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786307759000,"timestamp_ms":1786307759000,"timestamp_seconds":1786307759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe83d4b98"} 
[2026-08-10 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-08-10 02:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294709248001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294709248001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294709248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":153957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:10:37] local.INFO: GPS data processed {"connection_id":153957,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:10:37] local.INFO: Acknowledgment sent {"connection_id":153957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:11:00] local.INFO: TCP Data received {"connection_id":152508,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:11:00] local.INFO: Processing buffer {"connection_id":152508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:11:00] local.INFO: IMEI packet received {"connection_id":152508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":152508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:11:05] local.INFO: TCP Data received {"connection_id":152508,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:11:05] local.INFO: Processing buffer {"connection_id":152508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:11:05] local.INFO: IMEI packet received {"connection_id":152508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":152508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:11:07] local.INFO: TCP Data received {"connection_id":152508,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:11:07] local.INFO: Processing buffer {"connection_id":152508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:11:07] local.INFO: Packet analysis {"connection_id":152508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:11:07] local.INFO: Extracted packet for processing {"connection_id":152508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294709248001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786307759000,"timestamp_ms":1786307759000,"timestamp_seconds":1786307759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe83d4b98"} 
[2026-08-10 02:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294709248001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294709248001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:11:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294709248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":152508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:11:07] local.INFO: GPS data processed {"connection_id":152508,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:11:07] local.INFO: Acknowledgment sent {"connection_id":152508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:11:38] local.INFO: TCP Data received {"connection_id":152508,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:11:38] local.INFO: Processing buffer {"connection_id":152508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe83d4b98012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:11:38] local.INFO: Packet analysis {"connection_id":152508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:11:38] local.INFO: Extracted packet for processing {"connection_id":152508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe83d"} 
[2026-08-10 02:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294709248001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786307759000,"timestamp_ms":1786307759000,"timestamp_seconds":1786307759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe83d4b98"} 
[2026-08-10 02:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294709248001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294709248001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294709248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":152508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:11:38] local.INFO: GPS data processed {"connection_id":152508,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:11:38] local.INFO: Acknowledgment sent {"connection_id":152508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:12:05] local.INFO: TCP Data received {"connection_id":151597,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:12:05] local.INFO: Processing buffer {"connection_id":151597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:12:05] local.INFO: IMEI packet received {"connection_id":151597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":151597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:12:10] local.INFO: TCP Data received {"connection_id":151597,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:12:10] local.INFO: Processing buffer {"connection_id":151597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:12:10] local.INFO: IMEI packet received {"connection_id":151597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":151597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:12:11] local.INFO: TCP Data received {"connection_id":151597,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:12:11] local.INFO: Processing buffer {"connection_id":151597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:12:11] local.INFO: Packet analysis {"connection_id":151597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:12:11] local.INFO: Extracted packet for processing {"connection_id":151597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294786304001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786308060000,"timestamp_ms":1786308060000,"timestamp_seconds":1786308060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe841e360"} 
[2026-08-10 02:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:12: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-08-10 02:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294786304001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294786304001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:12:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:12:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294786304001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":151597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:12:11] local.INFO: GPS data processed {"connection_id":151597,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:12:11] local.INFO: Acknowledgment sent {"connection_id":151597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:12:16] local.INFO: TCP Data received {"connection_id":151597,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:12:16] local.INFO: Processing buffer {"connection_id":151597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:12:16] local.INFO: Packet analysis {"connection_id":151597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:12:16] local.INFO: Extracted packet for processing {"connection_id":151597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294786304001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786308060000,"timestamp_ms":1786308060000,"timestamp_seconds":1786308060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe841e360"} 
[2026-08-10 02:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:12: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-08-10 02:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294786304001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294786304001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294786304001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":151597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:12:16] local.INFO: GPS data processed {"connection_id":151597,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:12:16] local.INFO: Acknowledgment sent {"connection_id":151597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:13:00] local.INFO: TCP Data received {"connection_id":152509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:13:00] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:13:00] local.INFO: IMEI packet received {"connection_id":152509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":152509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:13:05] local.INFO: TCP Data received {"connection_id":152509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:13:05] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:13:05] local.INFO: IMEI packet received {"connection_id":152509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":152509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:13:07] local.INFO: TCP Data received {"connection_id":152509,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:13:07] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:13:07] local.INFO: Packet analysis {"connection_id":152509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:13:07] local.INFO: Extracted packet for processing {"connection_id":152509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294786304001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786308060000,"timestamp_ms":1786308060000,"timestamp_seconds":1786308060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe841e360"} 
[2026-08-10 02:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02: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-08-10 02:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:13: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-08-10 02:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294786304001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294786304001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294786304001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":152509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:13:07] local.INFO: GPS data processed {"connection_id":152509,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:13:07] local.INFO: Acknowledgment sent {"connection_id":152509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:13:38] local.INFO: TCP Data received {"connection_id":152509,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:13:38] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:13:38] local.INFO: Packet analysis {"connection_id":152509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:13:38] local.INFO: Extracted packet for processing {"connection_id":152509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294786304001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786308060000,"timestamp_ms":1786308060000,"timestamp_seconds":1786308060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe841e360"} 
[2026-08-10 02:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:13: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-08-10 02:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:13: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-08-10 02:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294786304001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294786304001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294786304001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":152509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:13:38] local.INFO: GPS data processed {"connection_id":152509,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:13:38] local.INFO: Acknowledgment sent {"connection_id":152509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:14:00] local.INFO: TCP Data received {"connection_id":151598,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:14:00] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:14:00] local.INFO: IMEI packet received {"connection_id":151598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":151598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:14:05] local.INFO: TCP Data received {"connection_id":151598,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:14:05] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:14:05] local.INFO: IMEI packet received {"connection_id":151598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":151598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:14:06] local.INFO: TCP Data received {"connection_id":151598,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:14:06] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:14:06] local.INFO: Packet analysis {"connection_id":151598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:14:06] local.INFO: Extracted packet for processing {"connection_id":151598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294786304001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786308060000,"timestamp_ms":1786308060000,"timestamp_seconds":1786308060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe841e360"} 
[2026-08-10 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-08-10 02:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:14: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-08-10 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-08-10 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-08-10 02:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294786304001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294786304001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294786304001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":151598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:14:06] local.INFO: GPS data processed {"connection_id":151598,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:14:06] local.INFO: Acknowledgment sent {"connection_id":151598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:14:37] local.INFO: TCP Data received {"connection_id":151598,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:14:37] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:14:37] local.INFO: Packet analysis {"connection_id":151598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:14:37] local.INFO: Extracted packet for processing {"connection_id":151598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294786304001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786308060000,"timestamp_ms":1786308060000,"timestamp_seconds":1786308060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe841e360"} 
[2026-08-10 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-08-10 02:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:14: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-08-10 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-08-10 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-08-10 02:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294786304001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294786304001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294786304001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":151598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:14:37] local.INFO: GPS data processed {"connection_id":151598,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:14:37] local.INFO: Acknowledgment sent {"connection_id":151598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:15:01] local.INFO: TCP Data received {"connection_id":151599,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:15:01] local.INFO: Processing buffer {"connection_id":151599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:15:01] local.INFO: IMEI packet received {"connection_id":151599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":151599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:15:05] local.INFO: TCP Data received {"connection_id":151599,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:15:05] local.INFO: Processing buffer {"connection_id":151599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:15:05] local.INFO: IMEI packet received {"connection_id":151599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":151599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:15:06] local.INFO: TCP Data received {"connection_id":151599,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:15:06] local.INFO: Processing buffer {"connection_id":151599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:15:06] local.INFO: Packet analysis {"connection_id":151599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:15:06] local.INFO: Extracted packet for processing {"connection_id":151599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294786304001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786308060000,"timestamp_ms":1786308060000,"timestamp_seconds":1786308060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe841e360"} 
[2026-08-10 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-08-10 02:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:15: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-08-10 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-08-10 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-08-10 02:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294786304001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294786304001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294786304001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":151599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:15:06] local.INFO: GPS data processed {"connection_id":151599,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:15:06] local.INFO: Acknowledgment sent {"connection_id":151599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:15:37] local.INFO: TCP Data received {"connection_id":151599,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:15:37] local.INFO: Processing buffer {"connection_id":151599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:15:37] local.INFO: Packet analysis {"connection_id":151599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:15:37] local.INFO: Extracted packet for processing {"connection_id":151599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294786304001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786308060000,"timestamp_ms":1786308060000,"timestamp_seconds":1786308060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe841e360"} 
[2026-08-10 02:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:15: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-08-10 02: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-08-10 02:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294786304001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294786304001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294786304001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":151599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:15:37] local.INFO: GPS data processed {"connection_id":151599,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:15:37] local.INFO: Acknowledgment sent {"connection_id":151599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:16:00] local.INFO: TCP Data received {"connection_id":152510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:16:00] local.INFO: Processing buffer {"connection_id":152510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:16:00] local.INFO: IMEI packet received {"connection_id":152510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":152510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:16:05] local.INFO: TCP Data received {"connection_id":152510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:16:05] local.INFO: Processing buffer {"connection_id":152510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:16:05] local.INFO: IMEI packet received {"connection_id":152510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":152510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:16:06] local.INFO: TCP Data received {"connection_id":152510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:16:06] local.INFO: Processing buffer {"connection_id":152510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:16:06] local.INFO: Packet analysis {"connection_id":152510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:16:06] local.INFO: Extracted packet for processing {"connection_id":152510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294786304001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786308060000,"timestamp_ms":1786308060000,"timestamp_seconds":1786308060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe841e360"} 
[2026-08-10 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-08-10 02:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:16: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-08-10 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-08-10 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-08-10 02:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02: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-08-10 02:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294786304001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294786304001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:16:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:16:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294786304001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":152510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:16:06] local.INFO: GPS data processed {"connection_id":152510,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:16:06] local.INFO: Acknowledgment sent {"connection_id":152510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:16:37] local.INFO: TCP Data received {"connection_id":152510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:16:37] local.INFO: Processing buffer {"connection_id":152510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe841e360012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:16:37] local.INFO: Packet analysis {"connection_id":152510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:16:37] local.INFO: Extracted packet for processing {"connection_id":152510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe841"} 
[2026-08-10 02:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294786304001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786308060000,"timestamp_ms":1786308060000,"timestamp_seconds":1786308060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe841e360"} 
[2026-08-10 02:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:16: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-08-10 02:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02: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-08-10 02:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294786304001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294786304001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294786304001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":152510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:16:37] local.INFO: GPS data processed {"connection_id":152510,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:16:37] local.INFO: Acknowledgment sent {"connection_id":152510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:17:00] local.INFO: TCP Data received {"connection_id":153958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:17:00] local.INFO: Processing buffer {"connection_id":153958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:17:00] local.INFO: IMEI packet received {"connection_id":153958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":153958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:17:05] local.INFO: TCP Data received {"connection_id":153958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:17:05] local.INFO: Processing buffer {"connection_id":153958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:17:05] local.INFO: IMEI packet received {"connection_id":153958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":153958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:17:06] local.INFO: TCP Data received {"connection_id":153958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:17:06] local.INFO: Processing buffer {"connection_id":153958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:17:06] local.INFO: Packet analysis {"connection_id":153958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:17:06] local.INFO: Extracted packet for processing {"connection_id":153958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294863360001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786308361000,"timestamp_ms":1786308361000,"timestamp_seconds":1786308361,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8467b28"} 
[2026-08-10 02:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:17: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-08-10 02:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294863360001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294863360001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294863360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":153958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:17:06] local.INFO: GPS data processed {"connection_id":153958,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:17:06] local.INFO: Acknowledgment sent {"connection_id":153958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:17:38] local.INFO: TCP Data received {"connection_id":153958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:17:38] local.INFO: Processing buffer {"connection_id":153958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:17:38] local.INFO: Packet analysis {"connection_id":153958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:17:38] local.INFO: Extracted packet for processing {"connection_id":153958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294863360001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786308361000,"timestamp_ms":1786308361000,"timestamp_seconds":1786308361,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8467b28"} 
[2026-08-10 02:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:17: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-08-10 02:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294863360001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294863360001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294863360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":153958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:17:38] local.INFO: GPS data processed {"connection_id":153958,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:17:38] local.INFO: Acknowledgment sent {"connection_id":153958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:18:05] local.INFO: TCP Data received {"connection_id":151221,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:18:05] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:18:05] local.INFO: IMEI packet received {"connection_id":151221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":151221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:18:10] local.INFO: TCP Data received {"connection_id":151221,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:18:10] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:18:10] local.INFO: IMEI packet received {"connection_id":151221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":151221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:18:11] local.INFO: TCP Data received {"connection_id":151221,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:18:11] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:18:11] local.INFO: Packet analysis {"connection_id":151221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:18:11] local.INFO: Extracted packet for processing {"connection_id":151221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294863360001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786308361000,"timestamp_ms":1786308361000,"timestamp_seconds":1786308361,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8467b28"} 
[2026-08-10 02:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294863360001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294863360001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:18:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294863360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":151221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:18:11] local.INFO: GPS data processed {"connection_id":151221,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:18:11] local.INFO: Acknowledgment sent {"connection_id":151221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:18:16] local.INFO: TCP Data received {"connection_id":151221,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:18:16] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:18:16] local.INFO: Packet analysis {"connection_id":151221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:18:16] local.INFO: Extracted packet for processing {"connection_id":151221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294863360001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786308361000,"timestamp_ms":1786308361000,"timestamp_seconds":1786308361,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8467b28"} 
[2026-08-10 02:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:18: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-08-10 02:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294863360001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294863360001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294863360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":151221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:18:16] local.INFO: GPS data processed {"connection_id":151221,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:18:16] local.INFO: Acknowledgment sent {"connection_id":151221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:19:00] local.INFO: TCP Data received {"connection_id":153959,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:19:00] local.INFO: Processing buffer {"connection_id":153959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:19:00] local.INFO: IMEI packet received {"connection_id":153959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":153959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:19:05] local.INFO: TCP Data received {"connection_id":153959,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:19:05] local.INFO: Processing buffer {"connection_id":153959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:19:05] local.INFO: IMEI packet received {"connection_id":153959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":153959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:19:06] local.INFO: TCP Data received {"connection_id":153959,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:19:06] local.INFO: Processing buffer {"connection_id":153959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:19:06] local.INFO: Packet analysis {"connection_id":153959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:19:06] local.INFO: Extracted packet for processing {"connection_id":153959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294863360001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786308361000,"timestamp_ms":1786308361000,"timestamp_seconds":1786308361,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8467b28"} 
[2026-08-10 02:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294863360001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294863360001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:19:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294863360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":153959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:19:06] local.INFO: GPS data processed {"connection_id":153959,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:19:06] local.INFO: Acknowledgment sent {"connection_id":153959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:19:43] local.INFO: TCP Data received {"connection_id":153959,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:19:43] local.INFO: Processing buffer {"connection_id":153959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:19:43] local.INFO: Packet analysis {"connection_id":153959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:19:43] local.INFO: Extracted packet for processing {"connection_id":153959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294863360001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786308361000,"timestamp_ms":1786308361000,"timestamp_seconds":1786308361,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8467b28"} 
[2026-08-10 02:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294863360001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294863360001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:19:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294863360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":153959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:19:43] local.INFO: GPS data processed {"connection_id":153959,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:19:43] local.INFO: Acknowledgment sent {"connection_id":153959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:20:00] local.INFO: TCP Data received {"connection_id":151222,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:20:00] local.INFO: Processing buffer {"connection_id":151222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:20:00] local.INFO: IMEI packet received {"connection_id":151222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":151222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:20:05] local.INFO: TCP Data received {"connection_id":151222,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:20:05] local.INFO: Processing buffer {"connection_id":151222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:20:05] local.INFO: IMEI packet received {"connection_id":151222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":151222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:20:07] local.INFO: TCP Data received {"connection_id":151222,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:20:07] local.INFO: Processing buffer {"connection_id":151222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:20:07] local.INFO: Packet analysis {"connection_id":151222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:20:07] local.INFO: Extracted packet for processing {"connection_id":151222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294863360001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786308361000,"timestamp_ms":1786308361000,"timestamp_seconds":1786308361,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8467b28"} 
[2026-08-10 02:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294863360001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294863360001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:20:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:20:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294863360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":151222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:20:07] local.INFO: GPS data processed {"connection_id":151222,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:20:07] local.INFO: Acknowledgment sent {"connection_id":151222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:20:38] local.INFO: TCP Data received {"connection_id":151222,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:20:38] local.INFO: Processing buffer {"connection_id":151222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:20:38] local.INFO: Packet analysis {"connection_id":151222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:20:38] local.INFO: Extracted packet for processing {"connection_id":151222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294863360001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786308361000,"timestamp_ms":1786308361000,"timestamp_seconds":1786308361,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8467b28"} 
[2026-08-10 02:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294863360001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294863360001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294863360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":151222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:20:38] local.INFO: GPS data processed {"connection_id":151222,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:20:38] local.INFO: Acknowledgment sent {"connection_id":151222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:21:00] local.INFO: TCP Data received {"connection_id":152511,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:21:00] local.INFO: Processing buffer {"connection_id":152511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:21:00] local.INFO: IMEI packet received {"connection_id":152511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":152511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:21:05] local.INFO: TCP Data received {"connection_id":152511,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:21:05] local.INFO: Processing buffer {"connection_id":152511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:21:05] local.INFO: IMEI packet received {"connection_id":152511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":152511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:21:06] local.INFO: TCP Data received {"connection_id":152511,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:21:06] local.INFO: Processing buffer {"connection_id":152511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:21:06] local.INFO: Packet analysis {"connection_id":152511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:21:06] local.INFO: Extracted packet for processing {"connection_id":152511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294863360001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786308361000,"timestamp_ms":1786308361000,"timestamp_seconds":1786308361,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8467b28"} 
[2026-08-10 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-08-10 02:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294863360001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294863360001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294863360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":152511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:21:06] local.INFO: GPS data processed {"connection_id":152511,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:21:06] local.INFO: Acknowledgment sent {"connection_id":152511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:21:37] local.INFO: TCP Data received {"connection_id":152511,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:21:37] local.INFO: Processing buffer {"connection_id":152511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8467b28012d34c20006aa3f08000300f32c..."} 
[2026-08-10 02:21:37] local.INFO: Packet analysis {"connection_id":152511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:21:37] local.INFO: Extracted packet for processing {"connection_id":152511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe846"} 
[2026-08-10 02:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294863360001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786308361000,"timestamp_ms":1786308361000,"timestamp_seconds":1786308361,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8467b28"} 
[2026-08-10 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-08-10 02:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294863360001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294863360001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294863360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":152511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:21:37] local.INFO: GPS data processed {"connection_id":152511,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:21:37] local.INFO: Acknowledgment sent {"connection_id":152511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:22:00] local.INFO: TCP Data received {"connection_id":152512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:22:00] local.INFO: Processing buffer {"connection_id":152512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:22:00] local.INFO: IMEI packet received {"connection_id":152512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":152512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:22:05] local.INFO: TCP Data received {"connection_id":152512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:22:05] local.INFO: Processing buffer {"connection_id":152512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:22:05] local.INFO: IMEI packet received {"connection_id":152512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":152512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:22:06] local.INFO: TCP Data received {"connection_id":152512,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:22:07] local.INFO: Processing buffer {"connection_id":152512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:22:07] local.INFO: Packet analysis {"connection_id":152512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:22:07] local.INFO: Extracted packet for processing {"connection_id":152512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294940416001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786308662000,"timestamp_ms":1786308662000,"timestamp_seconds":1786308662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84b12f0"} 
[2026-08-10 02:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294940416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294940416001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:22:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294940416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":152512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:22:07] local.INFO: GPS data processed {"connection_id":152512,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:22:07] local.INFO: Acknowledgment sent {"connection_id":152512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:22:38] local.INFO: TCP Data received {"connection_id":152512,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:22:38] local.INFO: Processing buffer {"connection_id":152512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:22:38] local.INFO: Packet analysis {"connection_id":152512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:22:38] local.INFO: Extracted packet for processing {"connection_id":152512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294940416001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786308662000,"timestamp_ms":1786308662000,"timestamp_seconds":1786308662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84b12f0"} 
[2026-08-10 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-08-10 02:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294940416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294940416001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294940416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":152512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:22:38] local.INFO: GPS data processed {"connection_id":152512,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:22:38] local.INFO: Acknowledgment sent {"connection_id":152512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:23:05] local.INFO: TCP Data received {"connection_id":151600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:23:05] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:23:05] local.INFO: IMEI packet received {"connection_id":151600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":151600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:23:10] local.INFO: TCP Data received {"connection_id":151600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:23:10] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:23:10] local.INFO: IMEI packet received {"connection_id":151600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":151600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:23:11] local.INFO: TCP Data received {"connection_id":151600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:23:11] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:23:11] local.INFO: Packet analysis {"connection_id":151600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:23:11] local.INFO: Extracted packet for processing {"connection_id":151600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294940416001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786308662000,"timestamp_ms":1786308662000,"timestamp_seconds":1786308662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84b12f0"} 
[2026-08-10 02:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:23: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-08-10 02:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294940416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294940416001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:23:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:23:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294940416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":151600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:23:11] local.INFO: GPS data processed {"connection_id":151600,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:23:11] local.INFO: Acknowledgment sent {"connection_id":151600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:23:16] local.INFO: TCP Data received {"connection_id":151600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:23:16] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:23:16] local.INFO: Packet analysis {"connection_id":151600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:23:16] local.INFO: Extracted packet for processing {"connection_id":151600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294940416001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786308662000,"timestamp_ms":1786308662000,"timestamp_seconds":1786308662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84b12f0"} 
[2026-08-10 02:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:23: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-08-10 02:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294940416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294940416001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294940416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":151600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:23:16] local.INFO: GPS data processed {"connection_id":151600,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:23:16] local.INFO: Acknowledgment sent {"connection_id":151600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:24:00] local.INFO: TCP Data received {"connection_id":153960,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:24:00] local.INFO: Processing buffer {"connection_id":153960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:24:00] local.INFO: IMEI packet received {"connection_id":153960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":153960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:24:05] local.INFO: TCP Data received {"connection_id":153960,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:24:05] local.INFO: Processing buffer {"connection_id":153960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:24:05] local.INFO: IMEI packet received {"connection_id":153960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":153960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:24:06] local.INFO: TCP Data received {"connection_id":153960,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:24:06] local.INFO: Processing buffer {"connection_id":153960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:24:06] local.INFO: Packet analysis {"connection_id":153960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:24:06] local.INFO: Extracted packet for processing {"connection_id":153960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294940416001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786308662000,"timestamp_ms":1786308662000,"timestamp_seconds":1786308662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84b12f0"} 
[2026-08-10 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-08-10 02:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294940416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294940416001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294940416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":153960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:24:06] local.INFO: GPS data processed {"connection_id":153960,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:24:06] local.INFO: Acknowledgment sent {"connection_id":153960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:24:38] local.INFO: TCP Data received {"connection_id":153960,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:24:38] local.INFO: Processing buffer {"connection_id":153960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:24:38] local.INFO: Packet analysis {"connection_id":153960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:24:38] local.INFO: Extracted packet for processing {"connection_id":153960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294940416001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786308662000,"timestamp_ms":1786308662000,"timestamp_seconds":1786308662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84b12f0"} 
[2026-08-10 02:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294940416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294940416001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294940416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":153960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:24:38] local.INFO: GPS data processed {"connection_id":153960,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:24:38] local.INFO: Acknowledgment sent {"connection_id":153960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:25:01] local.INFO: TCP Data received {"connection_id":151601,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:25:01] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:25:01] local.INFO: IMEI packet received {"connection_id":151601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":151601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:25:05] local.INFO: TCP Data received {"connection_id":151601,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:25:05] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:25:05] local.INFO: IMEI packet received {"connection_id":151601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":151601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:25:09] local.INFO: TCP Data received {"connection_id":151601,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:25:09] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:25:09] local.INFO: Packet analysis {"connection_id":151601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:25:09] local.INFO: Extracted packet for processing {"connection_id":151601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294940416001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786308662000,"timestamp_ms":1786308662000,"timestamp_seconds":1786308662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84b12f0"} 
[2026-08-10 02:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:25: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-08-10 02: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-08-10 02:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294940416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294940416001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294940416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":151601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:25:09] local.INFO: GPS data processed {"connection_id":151601,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:25:09] local.INFO: Acknowledgment sent {"connection_id":151601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:25:44] local.INFO: TCP Data received {"connection_id":151601,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:25:44] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:25:44] local.INFO: Packet analysis {"connection_id":151601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:25:44] local.INFO: Extracted packet for processing {"connection_id":151601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294940416001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786308662000,"timestamp_ms":1786308662000,"timestamp_seconds":1786308662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84b12f0"} 
[2026-08-10 02:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294940416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294940416001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294940416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":151601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:25:44] local.INFO: GPS data processed {"connection_id":151601,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:25:44] local.INFO: Acknowledgment sent {"connection_id":151601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:26:00] local.INFO: TCP Data received {"connection_id":152513,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:26:00] local.INFO: Processing buffer {"connection_id":152513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:26:00] local.INFO: IMEI packet received {"connection_id":152513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":152513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:26:05] local.INFO: TCP Data received {"connection_id":152513,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:26:05] local.INFO: Processing buffer {"connection_id":152513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:26:05] local.INFO: IMEI packet received {"connection_id":152513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":152513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:26:07] local.INFO: TCP Data received {"connection_id":152513,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:26:07] local.INFO: Processing buffer {"connection_id":152513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:26:07] local.INFO: Packet analysis {"connection_id":152513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:26:07] local.INFO: Extracted packet for processing {"connection_id":152513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294940416001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786308662000,"timestamp_ms":1786308662000,"timestamp_seconds":1786308662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84b12f0"} 
[2026-08-10 02:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:26: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-08-10 02:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294940416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294940416001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:26:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:26:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294940416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":152513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:26:07] local.INFO: GPS data processed {"connection_id":152513,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:26:07] local.INFO: Acknowledgment sent {"connection_id":152513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:26:39] local.INFO: TCP Data received {"connection_id":152513,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:26:39] local.INFO: Processing buffer {"connection_id":152513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84b12f0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 02:26:39] local.INFO: Packet analysis {"connection_id":152513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:26:39] local.INFO: Extracted packet for processing {"connection_id":152513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84b"} 
[2026-08-10 02:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457294940416001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786308662000,"timestamp_ms":1786308662000,"timestamp_seconds":1786308662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84b12f0"} 
[2026-08-10 02:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457294940416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457294940416001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457294940416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":152513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:26:39] local.INFO: GPS data processed {"connection_id":152513,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:26:39] local.INFO: Acknowledgment sent {"connection_id":152513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:27:00] local.INFO: TCP Data received {"connection_id":153961,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:27:00] local.INFO: Processing buffer {"connection_id":153961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:27:00] local.INFO: IMEI packet received {"connection_id":153961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":153961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:27:05] local.INFO: TCP Data received {"connection_id":153961,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:27:05] local.INFO: Processing buffer {"connection_id":153961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:27:05] local.INFO: IMEI packet received {"connection_id":153961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":153961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:27:07] local.INFO: TCP Data received {"connection_id":153961,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:27:07] local.INFO: Processing buffer {"connection_id":153961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:27:07] local.INFO: Packet analysis {"connection_id":153961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:27:07] local.INFO: Extracted packet for processing {"connection_id":153961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295017472001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786308963000,"timestamp_ms":1786308963000,"timestamp_seconds":1786308963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84faab8"} 
[2026-08-10 02:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:27: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-08-10 02:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:27: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-08-10 02:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295017472001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295017472001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295017472001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":153961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:27:07] local.INFO: GPS data processed {"connection_id":153961,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:27:07] local.INFO: Acknowledgment sent {"connection_id":153961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:27:38] local.INFO: TCP Data received {"connection_id":153961,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:27:38] local.INFO: Processing buffer {"connection_id":153961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:27:38] local.INFO: Packet analysis {"connection_id":153961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:27:38] local.INFO: Extracted packet for processing {"connection_id":153961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295017472001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786308963000,"timestamp_ms":1786308963000,"timestamp_seconds":1786308963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84faab8"} 
[2026-08-10 02:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:27: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-08-10 02:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295017472001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295017472001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295017472001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":153961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:27:38] local.INFO: GPS data processed {"connection_id":153961,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:27:38] local.INFO: Acknowledgment sent {"connection_id":153961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:28:05] local.INFO: TCP Data received {"connection_id":151223,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:28:05] local.INFO: Processing buffer {"connection_id":151223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:28:05] local.INFO: IMEI packet received {"connection_id":151223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":151223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:28:10] local.INFO: TCP Data received {"connection_id":151223,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:28:10] local.INFO: Processing buffer {"connection_id":151223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:28:10] local.INFO: IMEI packet received {"connection_id":151223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":151223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:28:11] local.INFO: TCP Data received {"connection_id":151223,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:28:11] local.INFO: Processing buffer {"connection_id":151223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:28:11] local.INFO: Packet analysis {"connection_id":151223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:28:11] local.INFO: Extracted packet for processing {"connection_id":151223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295017472001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786308963000,"timestamp_ms":1786308963000,"timestamp_seconds":1786308963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84faab8"} 
[2026-08-10 02:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:28: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-08-10 02:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:28: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-08-10 02:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295017472001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295017472001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:28:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295017472001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":151223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:28:11] local.INFO: GPS data processed {"connection_id":151223,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:28:11] local.INFO: Acknowledgment sent {"connection_id":151223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:28:16] local.INFO: TCP Data received {"connection_id":151223,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:28:16] local.INFO: Processing buffer {"connection_id":151223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:28:16] local.INFO: Packet analysis {"connection_id":151223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:28:16] local.INFO: Extracted packet for processing {"connection_id":151223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295017472001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786308963000,"timestamp_ms":1786308963000,"timestamp_seconds":1786308963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84faab8"} 
[2026-08-10 02:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:28: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-08-10 02:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295017472001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295017472001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295017472001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":151223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:28:16] local.INFO: GPS data processed {"connection_id":151223,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:28:16] local.INFO: Acknowledgment sent {"connection_id":151223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:29:00] local.INFO: TCP Data received {"connection_id":153962,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:29:00] local.INFO: Processing buffer {"connection_id":153962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:29:00] local.INFO: IMEI packet received {"connection_id":153962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":153962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:29:05] local.INFO: TCP Data received {"connection_id":153962,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:29:05] local.INFO: Processing buffer {"connection_id":153962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:29:05] local.INFO: IMEI packet received {"connection_id":153962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":153962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:29:07] local.INFO: TCP Data received {"connection_id":153962,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:29:07] local.INFO: Processing buffer {"connection_id":153962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:29:07] local.INFO: Packet analysis {"connection_id":153962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:29:07] local.INFO: Extracted packet for processing {"connection_id":153962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:29:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295017472001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786308963000,"timestamp_ms":1786308963000,"timestamp_seconds":1786308963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84faab8"} 
[2026-08-10 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-08-10 02:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:29: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-08-10 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-08-10 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-08-10 02:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:29: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-08-10 02:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295017472001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295017472001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:29:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:29:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295017472001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":153962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:29:07] local.INFO: GPS data processed {"connection_id":153962,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:29:07] local.INFO: Acknowledgment sent {"connection_id":153962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:29:11] local.INFO: TCP Data received {"connection_id":153962,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:29:11] local.INFO: Processing buffer {"connection_id":153962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:29:11] local.INFO: Packet analysis {"connection_id":153962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:29:11] local.INFO: Extracted packet for processing {"connection_id":153962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295017472001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786308963000,"timestamp_ms":1786308963000,"timestamp_seconds":1786308963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84faab8"} 
[2026-08-10 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-08-10 02:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:29: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-08-10 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-08-10 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-08-10 02:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:29: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-08-10 02:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295017472001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295017472001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:29:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:29:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295017472001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":153962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:29:11] local.INFO: GPS data processed {"connection_id":153962,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:29:11] local.INFO: Acknowledgment sent {"connection_id":153962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:29:42] local.INFO: TCP Data received {"connection_id":153962,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:29:42] local.INFO: Processing buffer {"connection_id":153962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:29:42] local.INFO: Packet analysis {"connection_id":153962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:29:42] local.INFO: Extracted packet for processing {"connection_id":153962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295017472001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786308963000,"timestamp_ms":1786308963000,"timestamp_seconds":1786308963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84faab8"} 
[2026-08-10 02:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295017472001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295017472001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295017472001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":153962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:29:42] local.INFO: GPS data processed {"connection_id":153962,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:29:42] local.INFO: Acknowledgment sent {"connection_id":153962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:30:01] local.INFO: TCP Data received {"connection_id":151224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:30:01] local.INFO: Processing buffer {"connection_id":151224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:30:01] local.INFO: IMEI packet received {"connection_id":151224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":151224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:30:05] local.INFO: TCP Data received {"connection_id":151224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:30:05] local.INFO: Processing buffer {"connection_id":151224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:30:05] local.INFO: IMEI packet received {"connection_id":151224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":151224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:30:06] local.INFO: TCP Data received {"connection_id":151224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:30:06] local.INFO: Processing buffer {"connection_id":151224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:30:06] local.INFO: Packet analysis {"connection_id":151224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:30:06] local.INFO: Extracted packet for processing {"connection_id":151224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295017472001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786308963000,"timestamp_ms":1786308963000,"timestamp_seconds":1786308963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84faab8"} 
[2026-08-10 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-08-10 02:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:30: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-08-10 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-08-10 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-08-10 02:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 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-08-10 02:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295017472001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295017472001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295017472001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":151224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:30:06] local.INFO: GPS data processed {"connection_id":151224,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:30:06] local.INFO: Acknowledgment sent {"connection_id":151224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:30:37] local.INFO: TCP Data received {"connection_id":151224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:30:37] local.INFO: Processing buffer {"connection_id":151224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:30:37] local.INFO: Packet analysis {"connection_id":151224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:30:37] local.INFO: Extracted packet for processing {"connection_id":151224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295017472001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786308963000,"timestamp_ms":1786308963000,"timestamp_seconds":1786308963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84faab8"} 
[2026-08-10 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-08-10 02:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:30: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-08-10 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-08-10 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-08-10 02:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 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-08-10 02:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295017472001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295017472001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295017472001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":151224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:30:37] local.INFO: GPS data processed {"connection_id":151224,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:30:37] local.INFO: Acknowledgment sent {"connection_id":151224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:31:02] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:31:02] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:31:02] local.INFO: IMEI packet received {"connection_id":151602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":151602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:31:05] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:31:05] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:31:05] local.INFO: IMEI packet received {"connection_id":151602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":151602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:31:14] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:31:14] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe84faab8012d34c20006aa3f08000400f32c..."} 
[2026-08-10 02:31:14] local.INFO: Packet analysis {"connection_id":151602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:31:14] local.INFO: Extracted packet for processing {"connection_id":151602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe84f"} 
[2026-08-10 02:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295017472001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786308963000,"timestamp_ms":1786308963000,"timestamp_seconds":1786308963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe84faab8"} 
[2026-08-10 02:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 02:31: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-08-10 02:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295017472001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295017472001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:31:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295017472001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":151602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:31:14] local.INFO: GPS data processed {"connection_id":151602,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:31:14] local.INFO: Acknowledgment sent {"connection_id":151602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:31:47] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:31:47] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:31:47] local.INFO: Packet analysis {"connection_id":151602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:31:47] local.INFO: Extracted packet for processing {"connection_id":151602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295094528001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786309264000,"timestamp_ms":1786309264000,"timestamp_seconds":1786309264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8544280"} 
[2026-08-10 02:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295094528001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295094528001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:31:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295094528001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":151602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:31:47] local.INFO: GPS data processed {"connection_id":151602,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:31:47] local.INFO: Acknowledgment sent {"connection_id":151602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:32:00] local.INFO: TCP Data received {"connection_id":151603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:32:00] local.INFO: Processing buffer {"connection_id":151603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:32:00] local.INFO: IMEI packet received {"connection_id":151603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":151603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:32:05] local.INFO: TCP Data received {"connection_id":151603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:32:05] local.INFO: Processing buffer {"connection_id":151603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:32:05] local.INFO: IMEI packet received {"connection_id":151603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":151603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:32:06] local.INFO: TCP Data received {"connection_id":151603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:32:06] local.INFO: Processing buffer {"connection_id":151603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:32:06] local.INFO: Packet analysis {"connection_id":151603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:32:06] local.INFO: Extracted packet for processing {"connection_id":151603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295094528001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786309264000,"timestamp_ms":1786309264000,"timestamp_seconds":1786309264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8544280"} 
[2026-08-10 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-08-10 02:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:32: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-08-10 02:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295094528001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295094528001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295094528001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":151603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:32:06] local.INFO: GPS data processed {"connection_id":151603,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:32:06] local.INFO: Acknowledgment sent {"connection_id":151603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:32:37] local.INFO: TCP Data received {"connection_id":151603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:32:37] local.INFO: Processing buffer {"connection_id":151603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:32:37] local.INFO: Packet analysis {"connection_id":151603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:32:37] local.INFO: Extracted packet for processing {"connection_id":151603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295094528001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786309264000,"timestamp_ms":1786309264000,"timestamp_seconds":1786309264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8544280"} 
[2026-08-10 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-08-10 02:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:32: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-08-10 02:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295094528001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295094528001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295094528001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":151603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:32:37] local.INFO: GPS data processed {"connection_id":151603,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:32:37] local.INFO: Acknowledgment sent {"connection_id":151603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:33:05] local.INFO: TCP Data received {"connection_id":153963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:33:05] local.INFO: Processing buffer {"connection_id":153963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:33:05] local.INFO: IMEI packet received {"connection_id":153963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":153963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:33:13] local.INFO: TCP Data received {"connection_id":153963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:33:13] local.INFO: Processing buffer {"connection_id":153963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:33:13] local.INFO: IMEI packet received {"connection_id":153963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":153963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:33:23] local.INFO: TCP Data received {"connection_id":153963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:33:23] local.INFO: Processing buffer {"connection_id":153963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:33:23] local.INFO: Packet analysis {"connection_id":153963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:33:23] local.INFO: Extracted packet for processing {"connection_id":153963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295094528001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786309264000,"timestamp_ms":1786309264000,"timestamp_seconds":1786309264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8544280"} 
[2026-08-10 02:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:33: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-08-10 02:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295094528001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295094528001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:33:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295094528001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":153963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:33:23] local.INFO: GPS data processed {"connection_id":153963,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:33:23] local.INFO: Acknowledgment sent {"connection_id":153963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:33:28] local.INFO: TCP Data received {"connection_id":153963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:33:28] local.INFO: Processing buffer {"connection_id":153963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:33:28] local.INFO: Packet analysis {"connection_id":153963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:33:28] local.INFO: Extracted packet for processing {"connection_id":153963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:33:28] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295094528001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786309264000,"timestamp_ms":1786309264000,"timestamp_seconds":1786309264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8544280"} 
[2026-08-10 02:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295094528001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295094528001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:33:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:33:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295094528001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":153963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:33:28] local.INFO: GPS data processed {"connection_id":153963,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:33:28] local.INFO: Acknowledgment sent {"connection_id":153963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:34:00] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:34:00] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:34:00] local.INFO: IMEI packet received {"connection_id":152514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":152514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:34:06] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:34:06] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:34:06] local.INFO: IMEI packet received {"connection_id":152514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":152514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:34:07] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:34:07] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:34:07] local.INFO: Packet analysis {"connection_id":152514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:34:07] local.INFO: Extracted packet for processing {"connection_id":152514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295094528001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786309264000,"timestamp_ms":1786309264000,"timestamp_seconds":1786309264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8544280"} 
[2026-08-10 02:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:34: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-08-10 02:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295094528001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295094528001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:34:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295094528001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":152514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:34:07] local.INFO: GPS data processed {"connection_id":152514,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:34:07] local.INFO: Acknowledgment sent {"connection_id":152514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:34:11] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:34:11] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:34:11] local.INFO: Packet analysis {"connection_id":152514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:34:11] local.INFO: Extracted packet for processing {"connection_id":152514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295094528001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786309264000,"timestamp_ms":1786309264000,"timestamp_seconds":1786309264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8544280"} 
[2026-08-10 02:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:34: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-08-10 02:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295094528001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295094528001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:34:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:34:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295094528001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":152514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:34:11] local.INFO: GPS data processed {"connection_id":152514,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:34:11] local.INFO: Acknowledgment sent {"connection_id":152514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:34:42] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:34:42] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:34:42] local.INFO: Packet analysis {"connection_id":152514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:34:42] local.INFO: Extracted packet for processing {"connection_id":152514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295094528001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786309264000,"timestamp_ms":1786309264000,"timestamp_seconds":1786309264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8544280"} 
[2026-08-10 02:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295094528001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295094528001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295094528001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":152514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:34:42] local.INFO: GPS data processed {"connection_id":152514,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:34:42] local.INFO: Acknowledgment sent {"connection_id":152514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:35:00] local.INFO: TCP Data received {"connection_id":151604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:35:00] local.INFO: Processing buffer {"connection_id":151604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:35:00] local.INFO: IMEI packet received {"connection_id":151604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":151604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:35:05] local.INFO: TCP Data received {"connection_id":151604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:35:05] local.INFO: Processing buffer {"connection_id":151604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:35:05] local.INFO: IMEI packet received {"connection_id":151604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":151604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:35:06] local.INFO: TCP Data received {"connection_id":151604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:35:06] local.INFO: Processing buffer {"connection_id":151604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:35:06] local.INFO: Packet analysis {"connection_id":151604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:35:06] local.INFO: Extracted packet for processing {"connection_id":151604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295094528001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786309264000,"timestamp_ms":1786309264000,"timestamp_seconds":1786309264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8544280"} 
[2026-08-10 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-08-10 02:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02: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-08-10 02:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295094528001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295094528001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295094528001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":151604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:35:06] local.INFO: GPS data processed {"connection_id":151604,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:35:06] local.INFO: Acknowledgment sent {"connection_id":151604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:35:37] local.INFO: TCP Data received {"connection_id":151604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:35:37] local.INFO: Processing buffer {"connection_id":151604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:35:37] local.INFO: Packet analysis {"connection_id":151604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:35:37] local.INFO: Extracted packet for processing {"connection_id":151604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295094528001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786309264000,"timestamp_ms":1786309264000,"timestamp_seconds":1786309264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8544280"} 
[2026-08-10 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-08-10 02:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02: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-08-10 02:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295094528001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295094528001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295094528001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":151604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:35:37] local.INFO: GPS data processed {"connection_id":151604,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:35:37] local.INFO: Acknowledgment sent {"connection_id":151604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:36:01] local.INFO: TCP Data received {"connection_id":151225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:36:01] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:36:01] local.INFO: IMEI packet received {"connection_id":151225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":151225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:36:05] local.INFO: TCP Data received {"connection_id":151225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:36:05] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:36:05] local.INFO: IMEI packet received {"connection_id":151225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":151225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:36:06] local.INFO: TCP Data received {"connection_id":151225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:36:06] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:36:06] local.INFO: Packet analysis {"connection_id":151225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:36:06] local.INFO: Extracted packet for processing {"connection_id":151225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295094528001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786309264000,"timestamp_ms":1786309264000,"timestamp_seconds":1786309264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8544280"} 
[2026-08-10 02:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295094528001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295094528001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295094528001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":151225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:36:06] local.INFO: GPS data processed {"connection_id":151225,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:36:06] local.INFO: Acknowledgment sent {"connection_id":151225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:36:37] local.INFO: TCP Data received {"connection_id":151225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:36:37] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8544280012d34c20006aa3f08000900f32e..."} 
[2026-08-10 02:36:37] local.INFO: Packet analysis {"connection_id":151225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:36:37] local.INFO: Extracted packet for processing {"connection_id":151225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe854"} 
[2026-08-10 02:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295094528001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786309264000,"timestamp_ms":1786309264000,"timestamp_seconds":1786309264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8544280"} 
[2026-08-10 02:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295094528001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295094528001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295094528001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":151225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:36:37] local.INFO: GPS data processed {"connection_id":151225,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:36:37] local.INFO: Acknowledgment sent {"connection_id":151225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:37:00] local.INFO: TCP Data received {"connection_id":151226,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:37:00] local.INFO: Processing buffer {"connection_id":151226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:37:00] local.INFO: IMEI packet received {"connection_id":151226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":151226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:37:05] local.INFO: TCP Data received {"connection_id":151226,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:37:05] local.INFO: Processing buffer {"connection_id":151226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:37:05] local.INFO: IMEI packet received {"connection_id":151226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":151226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:37:06] local.INFO: TCP Data received {"connection_id":151226,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:37:06] local.INFO: Processing buffer {"connection_id":151226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:37:06] local.INFO: Packet analysis {"connection_id":151226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:37:06] local.INFO: Extracted packet for processing {"connection_id":151226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295171584001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786309565000,"timestamp_ms":1786309565000,"timestamp_seconds":1786309565,"priority":1,"record_length":96,"hex_timestamp":"0000019fe858da48"} 
[2026-08-10 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-08-10 02:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295171584001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295171584001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295171584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":151226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:37:06] local.INFO: GPS data processed {"connection_id":151226,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:37:06] local.INFO: Acknowledgment sent {"connection_id":151226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:37:37] local.INFO: TCP Data received {"connection_id":151226,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:37:37] local.INFO: Processing buffer {"connection_id":151226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:37:37] local.INFO: Packet analysis {"connection_id":151226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:37:37] local.INFO: Extracted packet for processing {"connection_id":151226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295171584001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786309565000,"timestamp_ms":1786309565000,"timestamp_seconds":1786309565,"priority":1,"record_length":96,"hex_timestamp":"0000019fe858da48"} 
[2026-08-10 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-08-10 02:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295171584001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295171584001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295171584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":151226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:37:37] local.INFO: GPS data processed {"connection_id":151226,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:37:37] local.INFO: Acknowledgment sent {"connection_id":151226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:38:05] local.INFO: TCP Data received {"connection_id":152515,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:38:05] local.INFO: Processing buffer {"connection_id":152515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:38:05] local.INFO: IMEI packet received {"connection_id":152515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":152515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:38:10] local.INFO: TCP Data received {"connection_id":152515,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:38:10] local.INFO: Processing buffer {"connection_id":152515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:38:10] local.INFO: IMEI packet received {"connection_id":152515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":152515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:38:11] local.INFO: TCP Data received {"connection_id":152515,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:38:11] local.INFO: Processing buffer {"connection_id":152515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:38:11] local.INFO: Packet analysis {"connection_id":152515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:38:11] local.INFO: Extracted packet for processing {"connection_id":152515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295171584001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786309565000,"timestamp_ms":1786309565000,"timestamp_seconds":1786309565,"priority":1,"record_length":96,"hex_timestamp":"0000019fe858da48"} 
[2026-08-10 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-08-10 02:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:38: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-08-10 02:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295171584001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295171584001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:38:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295171584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":152515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:38:11] local.INFO: GPS data processed {"connection_id":152515,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:38:11] local.INFO: Acknowledgment sent {"connection_id":152515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:38:42] local.INFO: TCP Data received {"connection_id":152515,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:38:42] local.INFO: Processing buffer {"connection_id":152515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:38:42] local.INFO: Packet analysis {"connection_id":152515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:38:42] local.INFO: Extracted packet for processing {"connection_id":152515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295171584001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786309565000,"timestamp_ms":1786309565000,"timestamp_seconds":1786309565,"priority":1,"record_length":96,"hex_timestamp":"0000019fe858da48"} 
[2026-08-10 02:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295171584001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295171584001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:38:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295171584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":152515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:38:42] local.INFO: GPS data processed {"connection_id":152515,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:38:42] local.INFO: Acknowledgment sent {"connection_id":152515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:39:00] local.INFO: TCP Data received {"connection_id":151605,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:39:00] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:39:00] local.INFO: IMEI packet received {"connection_id":151605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":151605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:39:05] local.INFO: TCP Data received {"connection_id":151605,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:39:05] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:39:05] local.INFO: IMEI packet received {"connection_id":151605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":151605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:39:07] local.INFO: TCP Data received {"connection_id":151605,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:39:07] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:39:07] local.INFO: Packet analysis {"connection_id":151605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:39:07] local.INFO: Extracted packet for processing {"connection_id":151605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295171584001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786309565000,"timestamp_ms":1786309565000,"timestamp_seconds":1786309565,"priority":1,"record_length":96,"hex_timestamp":"0000019fe858da48"} 
[2026-08-10 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-08-10 02:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:39: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-08-10 02:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295171584001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295171584001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:39:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:39:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295171584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":151605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:39:07] local.INFO: GPS data processed {"connection_id":151605,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:39:07] local.INFO: Acknowledgment sent {"connection_id":151605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:39:39] local.INFO: TCP Data received {"connection_id":151605,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:39:39] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:39:39] local.INFO: Packet analysis {"connection_id":151605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:39:39] local.INFO: Extracted packet for processing {"connection_id":151605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295171584001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786309565000,"timestamp_ms":1786309565000,"timestamp_seconds":1786309565,"priority":1,"record_length":96,"hex_timestamp":"0000019fe858da48"} 
[2026-08-10 02:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295171584001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295171584001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295171584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":151605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:39:39] local.INFO: GPS data processed {"connection_id":151605,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:39:39] local.INFO: Acknowledgment sent {"connection_id":151605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:40:01] local.INFO: TCP Data received {"connection_id":151227,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:40:01] local.INFO: Processing buffer {"connection_id":151227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:40:01] local.INFO: IMEI packet received {"connection_id":151227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":151227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:40:06] local.INFO: TCP Data received {"connection_id":151227,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:40:06] local.INFO: Processing buffer {"connection_id":151227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:40:06] local.INFO: IMEI packet received {"connection_id":151227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":151227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:40:07] local.INFO: TCP Data received {"connection_id":151227,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:40:07] local.INFO: Processing buffer {"connection_id":151227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:40:07] local.INFO: Packet analysis {"connection_id":151227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:40:07] local.INFO: Extracted packet for processing {"connection_id":151227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295171584001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786309565000,"timestamp_ms":1786309565000,"timestamp_seconds":1786309565,"priority":1,"record_length":96,"hex_timestamp":"0000019fe858da48"} 
[2026-08-10 02:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:40: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-08-10 02:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295171584001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295171584001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:40:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295171584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":151227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:40:07] local.INFO: GPS data processed {"connection_id":151227,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:40:07] local.INFO: Acknowledgment sent {"connection_id":151227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:40:39] local.INFO: TCP Data received {"connection_id":151227,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:40:39] local.INFO: Processing buffer {"connection_id":151227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:40:39] local.INFO: Packet analysis {"connection_id":151227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:40:39] local.INFO: Extracted packet for processing {"connection_id":151227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295171584001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786309565000,"timestamp_ms":1786309565000,"timestamp_seconds":1786309565,"priority":1,"record_length":96,"hex_timestamp":"0000019fe858da48"} 
[2026-08-10 02:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295171584001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295171584001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295171584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":151227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:40:39] local.INFO: GPS data processed {"connection_id":151227,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:40:39] local.INFO: Acknowledgment sent {"connection_id":151227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:41:00] local.INFO: TCP Data received {"connection_id":151606,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:41:00] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:41:00] local.INFO: IMEI packet received {"connection_id":151606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":151606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:41:05] local.INFO: TCP Data received {"connection_id":151606,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:41:05] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:41:05] local.INFO: IMEI packet received {"connection_id":151606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":151606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:41:07] local.INFO: TCP Data received {"connection_id":151606,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:41:07] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:41:07] local.INFO: Packet analysis {"connection_id":151606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:41:07] local.INFO: Extracted packet for processing {"connection_id":151606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295171584001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786309565000,"timestamp_ms":1786309565000,"timestamp_seconds":1786309565,"priority":1,"record_length":96,"hex_timestamp":"0000019fe858da48"} 
[2026-08-10 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-08-10 02:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:41: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-08-10 02:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295171584001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295171584001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295171584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":151606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:41:07] local.INFO: GPS data processed {"connection_id":151606,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:41:07] local.INFO: Acknowledgment sent {"connection_id":151606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:41:39] local.INFO: TCP Data received {"connection_id":151606,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:41:39] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe858da48012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:41:39] local.INFO: Packet analysis {"connection_id":151606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:41:39] local.INFO: Extracted packet for processing {"connection_id":151606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe858"} 
[2026-08-10 02:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295171584001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786309565000,"timestamp_ms":1786309565000,"timestamp_seconds":1786309565,"priority":1,"record_length":96,"hex_timestamp":"0000019fe858da48"} 
[2026-08-10 02:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 02:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295171584001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295171584001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:41:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:41:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295171584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":151606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:41:39] local.INFO: GPS data processed {"connection_id":151606,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:41:39] local.INFO: Acknowledgment sent {"connection_id":151606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:42:00] local.INFO: TCP Data received {"connection_id":152516,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:42:00] local.INFO: Processing buffer {"connection_id":152516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:42:00] local.INFO: IMEI packet received {"connection_id":152516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":152516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:42:06] local.INFO: TCP Data received {"connection_id":152516,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:42:06] local.INFO: Processing buffer {"connection_id":152516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:42:06] local.INFO: IMEI packet received {"connection_id":152516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":152516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:42:12] local.INFO: TCP Data received {"connection_id":152516,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:42:12] local.INFO: Processing buffer {"connection_id":152516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:42:12] local.INFO: Packet analysis {"connection_id":152516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:42:12] local.INFO: Extracted packet for processing {"connection_id":152516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:42:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295248640001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786309866000,"timestamp_ms":1786309866000,"timestamp_seconds":1786309866,"priority":1,"record_length":96,"hex_timestamp":"0000019fe85d7210"} 
[2026-08-10 02:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295248640001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295248640001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:42:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:42:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295248640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":152516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:42:12] local.INFO: GPS data processed {"connection_id":152516,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:42:12] local.INFO: Acknowledgment sent {"connection_id":152516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:42:43] local.INFO: TCP Data received {"connection_id":152516,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:42:43] local.INFO: Processing buffer {"connection_id":152516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:42:43] local.INFO: Packet analysis {"connection_id":152516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:42:43] local.INFO: Extracted packet for processing {"connection_id":152516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295248640001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786309866000,"timestamp_ms":1786309866000,"timestamp_seconds":1786309866,"priority":1,"record_length":96,"hex_timestamp":"0000019fe85d7210"} 
[2026-08-10 02:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295248640001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295248640001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:42:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:42:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295248640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":152516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:42:43] local.INFO: GPS data processed {"connection_id":152516,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:42:43] local.INFO: Acknowledgment sent {"connection_id":152516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:43:06] local.INFO: TCP Data received {"connection_id":152517,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:43:06] local.INFO: Processing buffer {"connection_id":152517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:43:06] local.INFO: IMEI packet received {"connection_id":152517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":152517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:43:10] local.INFO: TCP Data received {"connection_id":152517,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:43:10] local.INFO: Processing buffer {"connection_id":152517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:43:10] local.INFO: IMEI packet received {"connection_id":152517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":152517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:43:11] local.INFO: TCP Data received {"connection_id":152517,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:43:11] local.INFO: Processing buffer {"connection_id":152517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:43:11] local.INFO: Packet analysis {"connection_id":152517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:43:11] local.INFO: Extracted packet for processing {"connection_id":152517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295248640001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786309866000,"timestamp_ms":1786309866000,"timestamp_seconds":1786309866,"priority":1,"record_length":96,"hex_timestamp":"0000019fe85d7210"} 
[2026-08-10 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-08-10 02:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:43: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-08-10 02:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295248640001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295248640001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:43:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:43:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295248640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":152517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:43:11] local.INFO: GPS data processed {"connection_id":152517,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:43:11] local.INFO: Acknowledgment sent {"connection_id":152517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:43:16] local.INFO: TCP Data received {"connection_id":152517,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:43:16] local.INFO: Processing buffer {"connection_id":152517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:43:16] local.INFO: Packet analysis {"connection_id":152517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:43:16] local.INFO: Extracted packet for processing {"connection_id":152517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295248640001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786309866000,"timestamp_ms":1786309866000,"timestamp_seconds":1786309866,"priority":1,"record_length":96,"hex_timestamp":"0000019fe85d7210"} 
[2026-08-10 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-08-10 02:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295248640001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295248640001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:43:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295248640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":152517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:43:16] local.INFO: GPS data processed {"connection_id":152517,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:43:16] local.INFO: Acknowledgment sent {"connection_id":152517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:44:00] local.INFO: TCP Data received {"connection_id":151607,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:44:00] local.INFO: Processing buffer {"connection_id":151607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:44:00] local.INFO: IMEI packet received {"connection_id":151607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":151607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:44:05] local.INFO: TCP Data received {"connection_id":151607,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:44:05] local.INFO: Processing buffer {"connection_id":151607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:44:05] local.INFO: IMEI packet received {"connection_id":151607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":151607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:44:06] local.INFO: TCP Data received {"connection_id":151607,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:44:06] local.INFO: Processing buffer {"connection_id":151607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:44:06] local.INFO: Packet analysis {"connection_id":151607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:44:06] local.INFO: Extracted packet for processing {"connection_id":151607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295248640001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786309866000,"timestamp_ms":1786309866000,"timestamp_seconds":1786309866,"priority":1,"record_length":96,"hex_timestamp":"0000019fe85d7210"} 
[2026-08-10 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-08-10 02:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295248640001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295248640001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295248640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":151607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:44:06] local.INFO: GPS data processed {"connection_id":151607,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:44:06] local.INFO: Acknowledgment sent {"connection_id":151607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:44:38] local.INFO: TCP Data received {"connection_id":151607,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:44:38] local.INFO: Processing buffer {"connection_id":151607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:44:38] local.INFO: Packet analysis {"connection_id":151607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:44:38] local.INFO: Extracted packet for processing {"connection_id":151607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295248640001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786309866000,"timestamp_ms":1786309866000,"timestamp_seconds":1786309866,"priority":1,"record_length":96,"hex_timestamp":"0000019fe85d7210"} 
[2026-08-10 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-08-10 02:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295248640001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295248640001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295248640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":151607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:44:38] local.INFO: GPS data processed {"connection_id":151607,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:44:38] local.INFO: Acknowledgment sent {"connection_id":151607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:45:01] local.INFO: TCP Data received {"connection_id":152518,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:45:01] local.INFO: Processing buffer {"connection_id":152518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:45:01] local.INFO: IMEI packet received {"connection_id":152518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":152518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:45:05] local.INFO: TCP Data received {"connection_id":152518,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:45:05] local.INFO: Processing buffer {"connection_id":152518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:45:05] local.INFO: IMEI packet received {"connection_id":152518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":152518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:45:07] local.INFO: TCP Data received {"connection_id":152518,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:45:07] local.INFO: Processing buffer {"connection_id":152518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:45:07] local.INFO: Packet analysis {"connection_id":152518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:45:07] local.INFO: Extracted packet for processing {"connection_id":152518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295248640001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786309866000,"timestamp_ms":1786309866000,"timestamp_seconds":1786309866,"priority":1,"record_length":96,"hex_timestamp":"0000019fe85d7210"} 
[2026-08-10 02:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:45: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-08-10 02:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295248640001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295248640001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:45:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295248640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":152518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:45:07] local.INFO: GPS data processed {"connection_id":152518,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:45:07] local.INFO: Acknowledgment sent {"connection_id":152518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:45:38] local.INFO: TCP Data received {"connection_id":152518,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:45:38] local.INFO: Processing buffer {"connection_id":152518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:45:38] local.INFO: Packet analysis {"connection_id":152518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:45:38] local.INFO: Extracted packet for processing {"connection_id":152518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295248640001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786309866000,"timestamp_ms":1786309866000,"timestamp_seconds":1786309866,"priority":1,"record_length":96,"hex_timestamp":"0000019fe85d7210"} 
[2026-08-10 02:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295248640001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295248640001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295248640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":152518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:45:38] local.INFO: GPS data processed {"connection_id":152518,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:45:38] local.INFO: Acknowledgment sent {"connection_id":152518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:46:00] local.INFO: TCP Data received {"connection_id":153964,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:46:00] local.INFO: Processing buffer {"connection_id":153964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:46:00] local.INFO: IMEI packet received {"connection_id":153964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":153964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:46:05] local.INFO: TCP Data received {"connection_id":153964,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:46:05] local.INFO: Processing buffer {"connection_id":153964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:46:05] local.INFO: IMEI packet received {"connection_id":153964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":153964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:46:07] local.INFO: TCP Data received {"connection_id":153964,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:46:07] local.INFO: Processing buffer {"connection_id":153964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:46:07] local.INFO: Packet analysis {"connection_id":153964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:46:07] local.INFO: Extracted packet for processing {"connection_id":153964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295248640001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786309866000,"timestamp_ms":1786309866000,"timestamp_seconds":1786309866,"priority":1,"record_length":96,"hex_timestamp":"0000019fe85d7210"} 
[2026-08-10 02:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:46: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-08-10 02:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295248640001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295248640001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:46:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295248640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":153964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:46:07] local.INFO: GPS data processed {"connection_id":153964,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:46:07] local.INFO: Acknowledgment sent {"connection_id":153964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:46:38] local.INFO: TCP Data received {"connection_id":153964,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:46:38] local.INFO: Processing buffer {"connection_id":153964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe85d7210012d34c20006aa3f08000700f32d..."} 
[2026-08-10 02:46:38] local.INFO: Packet analysis {"connection_id":153964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:46:38] local.INFO: Extracted packet for processing {"connection_id":153964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe85d"} 
[2026-08-10 02:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295248640001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786309866000,"timestamp_ms":1786309866000,"timestamp_seconds":1786309866,"priority":1,"record_length":96,"hex_timestamp":"0000019fe85d7210"} 
[2026-08-10 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-08-10 02:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295248640001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295248640001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295248640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":153964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:46:38] local.INFO: GPS data processed {"connection_id":153964,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:46:38] local.INFO: Acknowledgment sent {"connection_id":153964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:47:00] local.INFO: TCP Data received {"connection_id":152519,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:47:00] local.INFO: Processing buffer {"connection_id":152519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:47:00] local.INFO: IMEI packet received {"connection_id":152519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":152519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:47:05] local.INFO: TCP Data received {"connection_id":152519,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:47:05] local.INFO: Processing buffer {"connection_id":152519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:47:05] local.INFO: IMEI packet received {"connection_id":152519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":152519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:47:07] local.INFO: TCP Data received {"connection_id":152519,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:47:07] local.INFO: Processing buffer {"connection_id":152519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:47:07] local.INFO: Packet analysis {"connection_id":152519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:47:07] local.INFO: Extracted packet for processing {"connection_id":152519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295325696001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786310167000,"timestamp_ms":1786310167000,"timestamp_seconds":1786310167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86209d8"} 
[2026-08-10 02:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295325696001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295325696001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:47:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295325696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":152519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:47:07] local.INFO: GPS data processed {"connection_id":152519,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:47:07] local.INFO: Acknowledgment sent {"connection_id":152519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:47:38] local.INFO: TCP Data received {"connection_id":152519,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:47:38] local.INFO: Processing buffer {"connection_id":152519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:47:38] local.INFO: Packet analysis {"connection_id":152519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:47:38] local.INFO: Extracted packet for processing {"connection_id":152519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295325696001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786310167000,"timestamp_ms":1786310167000,"timestamp_seconds":1786310167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86209d8"} 
[2026-08-10 02:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295325696001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295325696001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295325696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":152519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:47:38] local.INFO: GPS data processed {"connection_id":152519,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:47:38] local.INFO: Acknowledgment sent {"connection_id":152519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:48:01] local.INFO: TCP Data received {"connection_id":151608,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:48:01] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:48:01] local.INFO: IMEI packet received {"connection_id":151608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":151608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:48:05] local.INFO: TCP Data received {"connection_id":151608,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:48:05] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:48:05] local.INFO: IMEI packet received {"connection_id":151608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":151608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:48:07] local.INFO: TCP Data received {"connection_id":151608,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:48:07] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:48:07] local.INFO: Packet analysis {"connection_id":151608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:48:07] local.INFO: Extracted packet for processing {"connection_id":151608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295325696001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786310167000,"timestamp_ms":1786310167000,"timestamp_seconds":1786310167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86209d8"} 
[2026-08-10 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-08-10 02:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295325696001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295325696001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:48:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:48:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295325696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":151608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:48:07] local.INFO: GPS data processed {"connection_id":151608,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:48:07] local.INFO: Acknowledgment sent {"connection_id":151608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:48:10] local.INFO: TCP Data received {"connection_id":151608,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:48:10] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:48:10] local.INFO: Packet analysis {"connection_id":151608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:48:10] local.INFO: Extracted packet for processing {"connection_id":151608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295325696001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786310167000,"timestamp_ms":1786310167000,"timestamp_seconds":1786310167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86209d8"} 
[2026-08-10 02:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:48: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-08-10 02:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295325696001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295325696001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295325696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":151608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:48:10] local.INFO: GPS data processed {"connection_id":151608,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:48:10] local.INFO: Acknowledgment sent {"connection_id":151608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:48:41] local.INFO: TCP Data received {"connection_id":151608,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:48:41] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:48:41] local.INFO: Packet analysis {"connection_id":151608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:48:41] local.INFO: Extracted packet for processing {"connection_id":151608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295325696001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786310167000,"timestamp_ms":1786310167000,"timestamp_seconds":1786310167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86209d8"} 
[2026-08-10 02:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295325696001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295325696001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295325696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":151608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:48:41] local.INFO: GPS data processed {"connection_id":151608,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:48:41] local.INFO: Acknowledgment sent {"connection_id":151608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:49:00] local.INFO: TCP Data received {"connection_id":153965,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:49:00] local.INFO: Processing buffer {"connection_id":153965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:49:00] local.INFO: IMEI packet received {"connection_id":153965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":153965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:49:05] local.INFO: TCP Data received {"connection_id":153965,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:49:05] local.INFO: Processing buffer {"connection_id":153965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:49:05] local.INFO: IMEI packet received {"connection_id":153965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":153965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:49:07] local.INFO: TCP Data received {"connection_id":153965,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:49:07] local.INFO: Processing buffer {"connection_id":153965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:49:07] local.INFO: Packet analysis {"connection_id":153965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:49:07] local.INFO: Extracted packet for processing {"connection_id":153965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295325696001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786310167000,"timestamp_ms":1786310167000,"timestamp_seconds":1786310167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86209d8"} 
[2026-08-10 02:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:49: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-08-10 02:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295325696001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295325696001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:49:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:49:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295325696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":153965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:49:07] local.INFO: GPS data processed {"connection_id":153965,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:49:07] local.INFO: Acknowledgment sent {"connection_id":153965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:49:38] local.INFO: TCP Data received {"connection_id":153965,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:49:38] local.INFO: Processing buffer {"connection_id":153965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:49:38] local.INFO: Packet analysis {"connection_id":153965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:49:38] local.INFO: Extracted packet for processing {"connection_id":153965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295325696001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786310167000,"timestamp_ms":1786310167000,"timestamp_seconds":1786310167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86209d8"} 
[2026-08-10 02:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:49: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-08-10 02:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295325696001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295325696001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295325696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":153965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:49:38] local.INFO: GPS data processed {"connection_id":153965,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:49:38] local.INFO: Acknowledgment sent {"connection_id":153965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:50:00] local.INFO: TCP Data received {"connection_id":151228,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:50:00] local.INFO: Processing buffer {"connection_id":151228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:50:00] local.INFO: IMEI packet received {"connection_id":151228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":151228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:50:05] local.INFO: TCP Data received {"connection_id":151228,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:50:05] local.INFO: Processing buffer {"connection_id":151228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:50:05] local.INFO: IMEI packet received {"connection_id":151228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":151228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:50:06] local.INFO: TCP Data received {"connection_id":151228,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:50:06] local.INFO: Processing buffer {"connection_id":151228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:50:06] local.INFO: Packet analysis {"connection_id":151228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:50:06] local.INFO: Extracted packet for processing {"connection_id":151228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295325696001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786310167000,"timestamp_ms":1786310167000,"timestamp_seconds":1786310167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86209d8"} 
[2026-08-10 02:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295325696001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295325696001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295325696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":151228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:50:06] local.INFO: GPS data processed {"connection_id":151228,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:50:06] local.INFO: Acknowledgment sent {"connection_id":151228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:50:37] local.INFO: TCP Data received {"connection_id":151228,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:50:37] local.INFO: Processing buffer {"connection_id":151228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:50:37] local.INFO: Packet analysis {"connection_id":151228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:50:37] local.INFO: Extracted packet for processing {"connection_id":151228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295325696001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786310167000,"timestamp_ms":1786310167000,"timestamp_seconds":1786310167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86209d8"} 
[2026-08-10 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-08-10 02:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295325696001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295325696001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295325696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":151228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:50:37] local.INFO: GPS data processed {"connection_id":151228,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:50:37] local.INFO: Acknowledgment sent {"connection_id":151228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:51:00] local.INFO: TCP Data received {"connection_id":153966,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:51:00] local.INFO: Processing buffer {"connection_id":153966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:51:00] local.INFO: IMEI packet received {"connection_id":153966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":153966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:51:05] local.INFO: TCP Data received {"connection_id":153966,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:51:05] local.INFO: Processing buffer {"connection_id":153966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:51:05] local.INFO: IMEI packet received {"connection_id":153966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":153966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:51:06] local.INFO: TCP Data received {"connection_id":153966,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:51:06] local.INFO: Processing buffer {"connection_id":153966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:51:06] local.INFO: Packet analysis {"connection_id":153966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:51:06] local.INFO: Extracted packet for processing {"connection_id":153966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295325696001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786310167000,"timestamp_ms":1786310167000,"timestamp_seconds":1786310167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86209d8"} 
[2026-08-10 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-08-10 02:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295325696001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295325696001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295325696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":153966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:51:06] local.INFO: GPS data processed {"connection_id":153966,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:51:06] local.INFO: Acknowledgment sent {"connection_id":153966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:51:38] local.INFO: TCP Data received {"connection_id":153966,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:51:38] local.INFO: Processing buffer {"connection_id":153966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86209d8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 02:51:38] local.INFO: Packet analysis {"connection_id":153966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:51:38] local.INFO: Extracted packet for processing {"connection_id":153966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe862"} 
[2026-08-10 02:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295325696001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786310167000,"timestamp_ms":1786310167000,"timestamp_seconds":1786310167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86209d8"} 
[2026-08-10 02:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 02:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295325696001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295325696001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295325696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":153966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:51:38] local.INFO: GPS data processed {"connection_id":153966,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:51:38] local.INFO: Acknowledgment sent {"connection_id":153966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:52:00] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:52:00] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:52:00] local.INFO: IMEI packet received {"connection_id":151609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":151609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:52:05] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:52:05] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:52:05] local.INFO: IMEI packet received {"connection_id":151609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":151609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:52:06] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:52:06] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:52:06] local.INFO: Packet analysis {"connection_id":151609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:52:06] local.INFO: Extracted packet for processing {"connection_id":151609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295402752001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786310468000,"timestamp_ms":1786310468000,"timestamp_seconds":1786310468,"priority":1,"record_length":96,"hex_timestamp":"0000019fe866a1a0"} 
[2026-08-10 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-08-10 02:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295402752001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295402752001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295402752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":151609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:52:06] local.INFO: GPS data processed {"connection_id":151609,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:52:06] local.INFO: Acknowledgment sent {"connection_id":151609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:52:38] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:52:38] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:52:38] local.INFO: Packet analysis {"connection_id":151609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:52:38] local.INFO: Extracted packet for processing {"connection_id":151609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02: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-08-10 02:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295402752001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786310468000,"timestamp_ms":1786310468000,"timestamp_seconds":1786310468,"priority":1,"record_length":96,"hex_timestamp":"0000019fe866a1a0"} 
[2026-08-10 02:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02: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-08-10 02:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295402752001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295402752001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295402752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":151609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:52:38] local.INFO: GPS data processed {"connection_id":151609,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:52:38] local.INFO: Acknowledgment sent {"connection_id":151609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:53:05] local.INFO: TCP Data received {"connection_id":151229,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:53:05] local.INFO: Processing buffer {"connection_id":151229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:53:05] local.INFO: IMEI packet received {"connection_id":151229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":151229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:53:10] local.INFO: TCP Data received {"connection_id":151229,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:53:10] local.INFO: Processing buffer {"connection_id":151229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:53:10] local.INFO: IMEI packet received {"connection_id":151229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":151229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:53:11] local.INFO: TCP Data received {"connection_id":151229,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:53:11] local.INFO: Processing buffer {"connection_id":151229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:53:11] local.INFO: Packet analysis {"connection_id":151229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:53:11] local.INFO: Extracted packet for processing {"connection_id":151229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295402752001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786310468000,"timestamp_ms":1786310468000,"timestamp_seconds":1786310468,"priority":1,"record_length":96,"hex_timestamp":"0000019fe866a1a0"} 
[2026-08-10 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-08-10 02:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295402752001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295402752001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:53:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:53:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295402752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":151229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:53:11] local.INFO: GPS data processed {"connection_id":151229,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:53:11] local.INFO: Acknowledgment sent {"connection_id":151229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:53:16] local.INFO: TCP Data received {"connection_id":151229,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:53:16] local.INFO: Processing buffer {"connection_id":151229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:53:16] local.INFO: Packet analysis {"connection_id":151229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:53:16] local.INFO: Extracted packet for processing {"connection_id":151229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295402752001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786310468000,"timestamp_ms":1786310468000,"timestamp_seconds":1786310468,"priority":1,"record_length":96,"hex_timestamp":"0000019fe866a1a0"} 
[2026-08-10 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-08-10 02:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295402752001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295402752001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295402752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":151229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:53:16] local.INFO: GPS data processed {"connection_id":151229,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:53:16] local.INFO: Acknowledgment sent {"connection_id":151229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:54:00] local.INFO: TCP Data received {"connection_id":152520,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:54:00] local.INFO: Processing buffer {"connection_id":152520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:54:00] local.INFO: IMEI packet received {"connection_id":152520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":152520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:54:05] local.INFO: TCP Data received {"connection_id":152520,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:54:05] local.INFO: Processing buffer {"connection_id":152520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:54:05] local.INFO: IMEI packet received {"connection_id":152520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":152520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:54:06] local.INFO: TCP Data received {"connection_id":152520,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:54:06] local.INFO: Processing buffer {"connection_id":152520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:54:06] local.INFO: Packet analysis {"connection_id":152520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:54:06] local.INFO: Extracted packet for processing {"connection_id":152520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295402752001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786310468000,"timestamp_ms":1786310468000,"timestamp_seconds":1786310468,"priority":1,"record_length":96,"hex_timestamp":"0000019fe866a1a0"} 
[2026-08-10 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-08-10 02:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295402752001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295402752001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295402752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":152520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:54:06] local.INFO: GPS data processed {"connection_id":152520,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:54:06] local.INFO: Acknowledgment sent {"connection_id":152520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:54:37] local.INFO: TCP Data received {"connection_id":152520,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:54:37] local.INFO: Processing buffer {"connection_id":152520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:54:37] local.INFO: Packet analysis {"connection_id":152520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:54:37] local.INFO: Extracted packet for processing {"connection_id":152520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295402752001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786310468000,"timestamp_ms":1786310468000,"timestamp_seconds":1786310468,"priority":1,"record_length":96,"hex_timestamp":"0000019fe866a1a0"} 
[2026-08-10 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-08-10 02:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295402752001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295402752001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295402752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":152520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:54:37] local.INFO: GPS data processed {"connection_id":152520,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:54:37] local.INFO: Acknowledgment sent {"connection_id":152520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:55:01] local.INFO: TCP Data received {"connection_id":151230,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:55:01] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:55:01] local.INFO: IMEI packet received {"connection_id":151230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":151230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:55:05] local.INFO: TCP Data received {"connection_id":151230,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:55:05] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:55:05] local.INFO: IMEI packet received {"connection_id":151230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":151230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:55:06] local.INFO: TCP Data received {"connection_id":151230,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:55:06] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:55:06] local.INFO: Packet analysis {"connection_id":151230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:55:06] local.INFO: Extracted packet for processing {"connection_id":151230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295402752001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786310468000,"timestamp_ms":1786310468000,"timestamp_seconds":1786310468,"priority":1,"record_length":96,"hex_timestamp":"0000019fe866a1a0"} 
[2026-08-10 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-08-10 02:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295402752001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295402752001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295402752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":151230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:55:06] local.INFO: GPS data processed {"connection_id":151230,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:55:06] local.INFO: Acknowledgment sent {"connection_id":151230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:55:38] local.INFO: TCP Data received {"connection_id":151230,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:55:38] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:55:38] local.INFO: Packet analysis {"connection_id":151230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:55:38] local.INFO: Extracted packet for processing {"connection_id":151230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295402752001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786310468000,"timestamp_ms":1786310468000,"timestamp_seconds":1786310468,"priority":1,"record_length":96,"hex_timestamp":"0000019fe866a1a0"} 
[2026-08-10 02:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295402752001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295402752001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295402752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":151230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:55:38] local.INFO: GPS data processed {"connection_id":151230,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:55:38] local.INFO: Acknowledgment sent {"connection_id":151230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:56:00] local.INFO: TCP Data received {"connection_id":153967,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:56:00] local.INFO: Processing buffer {"connection_id":153967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:56:00] local.INFO: IMEI packet received {"connection_id":153967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":153967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:56:05] local.INFO: TCP Data received {"connection_id":153967,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:56:05] local.INFO: Processing buffer {"connection_id":153967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:56:05] local.INFO: IMEI packet received {"connection_id":153967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":153967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:56:07] local.INFO: TCP Data received {"connection_id":153967,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:56:07] local.INFO: Processing buffer {"connection_id":153967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:56:07] local.INFO: Packet analysis {"connection_id":153967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:56:07] local.INFO: Extracted packet for processing {"connection_id":153967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295402752001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786310468000,"timestamp_ms":1786310468000,"timestamp_seconds":1786310468,"priority":1,"record_length":96,"hex_timestamp":"0000019fe866a1a0"} 
[2026-08-10 02:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295402752001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295402752001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:56:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295402752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":153967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:56:07] local.INFO: GPS data processed {"connection_id":153967,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:56:07] local.INFO: Acknowledgment sent {"connection_id":153967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:56:41] local.INFO: TCP Data received {"connection_id":153967,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:56:41] local.INFO: Processing buffer {"connection_id":153967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe866a1a0012d34c20006aa3f08000900f32b..."} 
[2026-08-10 02:56:41] local.INFO: Packet analysis {"connection_id":153967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:56:41] local.INFO: Extracted packet for processing {"connection_id":153967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe866"} 
[2026-08-10 02:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295402752001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786310468000,"timestamp_ms":1786310468000,"timestamp_seconds":1786310468,"priority":1,"record_length":96,"hex_timestamp":"0000019fe866a1a0"} 
[2026-08-10 02:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295402752001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295402752001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295402752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":153967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:56:41] local.INFO: GPS data processed {"connection_id":153967,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:56:41] local.INFO: Acknowledgment sent {"connection_id":153967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:57:00] local.INFO: TCP Data received {"connection_id":151231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:57:00] local.INFO: Processing buffer {"connection_id":151231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:57:00] local.INFO: IMEI packet received {"connection_id":151231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":151231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:57:05] local.INFO: TCP Data received {"connection_id":151231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:57:05] local.INFO: Processing buffer {"connection_id":151231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:57:05] local.INFO: IMEI packet received {"connection_id":151231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":151231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:57:07] local.INFO: TCP Data received {"connection_id":151231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:57:07] local.INFO: Processing buffer {"connection_id":151231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:57:07] local.INFO: Packet analysis {"connection_id":151231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 02:57:07] local.INFO: Extracted packet for processing {"connection_id":151231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 02:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295479808001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786310769000,"timestamp_ms":1786310769000,"timestamp_seconds":1786310769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86b3968"} 
[2026-08-10 02:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:57: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-08-10 02:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295479808001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295479808001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:57:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295479808001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":151231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:57:07] local.INFO: GPS data processed {"connection_id":151231,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:57:07] local.INFO: Acknowledgment sent {"connection_id":151231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:57:38] local.INFO: TCP Data received {"connection_id":151231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:57:38] local.INFO: Processing buffer {"connection_id":151231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:57:38] local.INFO: Packet analysis {"connection_id":151231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 02:57:38] local.INFO: Extracted packet for processing {"connection_id":151231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 02:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295479808001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786310769000,"timestamp_ms":1786310769000,"timestamp_seconds":1786310769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86b3968"} 
[2026-08-10 02:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:57: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-08-10 02:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295479808001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295479808001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295479808001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":151231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:57:38] local.INFO: GPS data processed {"connection_id":151231,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:57:38] local.INFO: Acknowledgment sent {"connection_id":151231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:58:00] local.INFO: TCP Data received {"connection_id":151610,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:58:00] local.INFO: Processing buffer {"connection_id":151610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:58:00] local.INFO: IMEI packet received {"connection_id":151610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":151610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:58:05] local.INFO: TCP Data received {"connection_id":151610,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:58:05] local.INFO: Processing buffer {"connection_id":151610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:58:05] local.INFO: IMEI packet received {"connection_id":151610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":151610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:58:07] local.INFO: TCP Data received {"connection_id":151610,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:58:07] local.INFO: Processing buffer {"connection_id":151610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:58:07] local.INFO: Packet analysis {"connection_id":151610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 02:58:07] local.INFO: Extracted packet for processing {"connection_id":151610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 02:58:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295479808001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786310769000,"timestamp_ms":1786310769000,"timestamp_seconds":1786310769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86b3968"} 
[2026-08-10 02:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295479808001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295479808001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:58:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:58:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295479808001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":151610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:58:07] local.INFO: GPS data processed {"connection_id":151610,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:58:07] local.INFO: Acknowledgment sent {"connection_id":151610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:58:38] local.INFO: TCP Data received {"connection_id":151610,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:58:38] local.INFO: Processing buffer {"connection_id":151610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:58:38] local.INFO: Packet analysis {"connection_id":151610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 02:58:38] local.INFO: Extracted packet for processing {"connection_id":151610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 02:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 02:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 02:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295479808001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786310769000,"timestamp_ms":1786310769000,"timestamp_seconds":1786310769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86b3968"} 
[2026-08-10 02:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 02:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 02:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 02:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 02:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295479808001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295479808001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295479808001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":151610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:58:38] local.INFO: GPS data processed {"connection_id":151610,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:58:38] local.INFO: Acknowledgment sent {"connection_id":151610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:59:00] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:59:00] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:59:00] local.INFO: IMEI packet received {"connection_id":152521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 02:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":152521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 02:59:05] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:59:05] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 02:59:05] local.INFO: IMEI packet received {"connection_id":152521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 02:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":152521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 02:59:06] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:59:06] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:59:06] local.INFO: Packet analysis {"connection_id":152521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 02:59:06] local.INFO: Extracted packet for processing {"connection_id":152521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 02:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295479808001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786310769000,"timestamp_ms":1786310769000,"timestamp_seconds":1786310769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86b3968"} 
[2026-08-10 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-08-10 02:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295479808001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295479808001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295479808001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":152521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:59:06] local.INFO: GPS data processed {"connection_id":152521,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:59:06] local.INFO: Acknowledgment sent {"connection_id":152521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 02:59:37] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:59:37] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 02:59:37] local.INFO: Packet analysis {"connection_id":152521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 02:59:37] local.INFO: Extracted packet for processing {"connection_id":152521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 02:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 02:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295479808001,"note":"Value kept but may cause issues"} 
[2026-08-10 02:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 02:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 02:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 02:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786310769000,"timestamp_ms":1786310769000,"timestamp_seconds":1786310769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86b3968"} 
[2026-08-10 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-08-10 02:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 02:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 02:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 02:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 02:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 02:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 02:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 02:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 02:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295479808001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 02:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 02:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 02:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295479808001,"description":"Unknown IO ID 0"} 
[2026-08-10 02:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 02:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 02:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 02:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 02:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295479808001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 02:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":152521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 02:59:37] local.INFO: GPS data processed {"connection_id":152521,"processed":1,"errors":0,"total":1} 
[2026-08-10 02:59:37] local.INFO: Acknowledgment sent {"connection_id":152521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:00:00] local.INFO: TCP Data received {"connection_id":153968,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:00:00] local.INFO: Processing buffer {"connection_id":153968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:00:00] local.INFO: IMEI packet received {"connection_id":153968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":153968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:00:06] local.INFO: TCP Data received {"connection_id":153968,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:00:06] local.INFO: Processing buffer {"connection_id":153968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:00:06] local.INFO: IMEI packet received {"connection_id":153968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":153968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:00:07] local.INFO: TCP Data received {"connection_id":153968,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 03:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 03:00:07] local.INFO: Processing buffer {"connection_id":153968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 03:00:07] local.INFO: Packet analysis {"connection_id":153968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 03:00:07] local.INFO: Extracted packet for processing {"connection_id":153968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 03:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295479808001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786310769000,"timestamp_ms":1786310769000,"timestamp_seconds":1786310769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86b3968"} 
[2026-08-10 03:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03: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-08-10 03:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:00: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-08-10 03:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295479808001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295479808001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295479808001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":153968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:00:07] local.INFO: GPS data processed {"connection_id":153968,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:00:07] local.INFO: Acknowledgment sent {"connection_id":153968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:00:39] local.INFO: TCP Data received {"connection_id":153968,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 03:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 03:00:39] local.INFO: Processing buffer {"connection_id":153968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 03:00:39] local.INFO: Packet analysis {"connection_id":153968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 03:00:39] local.INFO: Extracted packet for processing {"connection_id":153968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 03:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295479808001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786310769000,"timestamp_ms":1786310769000,"timestamp_seconds":1786310769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86b3968"} 
[2026-08-10 03:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295479808001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295479808001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:00:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295479808001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":153968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:00:39] local.INFO: GPS data processed {"connection_id":153968,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:00:39] local.INFO: Acknowledgment sent {"connection_id":153968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:01:00] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:01:00] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:01:00] local.INFO: IMEI packet received {"connection_id":151611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":151611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:01:05] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:01:05] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:01:05] local.INFO: IMEI packet received {"connection_id":151611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":151611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:01:06] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 03:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 03:01:06] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 03:01:06] local.INFO: Packet analysis {"connection_id":151611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 03:01:06] local.INFO: Extracted packet for processing {"connection_id":151611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 03:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295479808001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786310769000,"timestamp_ms":1786310769000,"timestamp_seconds":1786310769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86b3968"} 
[2026-08-10 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-08-10 03:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295479808001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295479808001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295479808001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":151611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:01:06] local.INFO: GPS data processed {"connection_id":151611,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:01:06] local.INFO: Acknowledgment sent {"connection_id":151611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:01:38] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 03:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 03:01:38] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86b3968012d34c20006aa3f08000800f32c..."} 
[2026-08-10 03:01:38] local.INFO: Packet analysis {"connection_id":151611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 03:01:38] local.INFO: Extracted packet for processing {"connection_id":151611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86b"} 
[2026-08-10 03:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295479808001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786310769000,"timestamp_ms":1786310769000,"timestamp_seconds":1786310769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86b3968"} 
[2026-08-10 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-08-10 03:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295479808001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295479808001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295479808001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":151611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:01:38] local.INFO: GPS data processed {"connection_id":151611,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:01:38] local.INFO: Acknowledgment sent {"connection_id":151611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:02:00] local.INFO: TCP Data received {"connection_id":151232,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:02:00] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:02:00] local.INFO: IMEI packet received {"connection_id":151232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":151232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:02:05] local.INFO: TCP Data received {"connection_id":151232,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:02:05] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:02:05] local.INFO: IMEI packet received {"connection_id":151232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":151232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:02:06] local.INFO: TCP Data received {"connection_id":151232,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:02:06] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:02:06] local.INFO: Packet analysis {"connection_id":151232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:02:06] local.INFO: Extracted packet for processing {"connection_id":151232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:02:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":12,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295556864001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786311070000,"timestamp_ms":1786311070000,"timestamp_seconds":1786311070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86fd130"} 
[2026-08-10 03:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:02: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-08-10 03:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295556864001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295556864001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:02:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295556864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":151232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:02:06] local.INFO: GPS data processed {"connection_id":151232,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:02:06] local.INFO: Acknowledgment sent {"connection_id":151232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:02:37] local.INFO: TCP Data received {"connection_id":151232,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:02:37] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:02:37] local.INFO: Packet analysis {"connection_id":151232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:02:37] local.INFO: Extracted packet for processing {"connection_id":151232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":12,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295556864001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786311070000,"timestamp_ms":1786311070000,"timestamp_seconds":1786311070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86fd130"} 
[2026-08-10 03:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:02: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-08-10 03: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-08-10 03:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295556864001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295556864001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295556864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":151232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:02:37] local.INFO: GPS data processed {"connection_id":151232,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:02:37] local.INFO: Acknowledgment sent {"connection_id":151232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:03:01] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:03:01] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:03:01] local.INFO: IMEI packet received {"connection_id":152522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":152522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:03:05] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:03:05] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:03:05] local.INFO: IMEI packet received {"connection_id":152522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":152522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:03:07] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:03:07] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:03:07] local.INFO: Packet analysis {"connection_id":152522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:03:07] local.INFO: Extracted packet for processing {"connection_id":152522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":12,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295556864001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786311070000,"timestamp_ms":1786311070000,"timestamp_seconds":1786311070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86fd130"} 
[2026-08-10 03:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:03: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-08-10 03:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:03: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-08-10 03:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295556864001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295556864001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:03:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295556864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":152522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:03:07] local.INFO: GPS data processed {"connection_id":152522,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:03:07] local.INFO: Acknowledgment sent {"connection_id":152522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:03:11] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:03:11] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:03:11] local.INFO: Packet analysis {"connection_id":152522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:03:11] local.INFO: Extracted packet for processing {"connection_id":152522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":12,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295556864001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786311070000,"timestamp_ms":1786311070000,"timestamp_seconds":1786311070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86fd130"} 
[2026-08-10 03:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:03: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-08-10 03: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-08-10 03:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295556864001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295556864001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:03:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:03:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295556864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":152522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:03:11] local.INFO: GPS data processed {"connection_id":152522,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:03:11] local.INFO: Acknowledgment sent {"connection_id":152522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:03:42] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:03:42] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:03:42] local.INFO: Packet analysis {"connection_id":152522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:03:42] local.INFO: Extracted packet for processing {"connection_id":152522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":12,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295556864001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786311070000,"timestamp_ms":1786311070000,"timestamp_seconds":1786311070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86fd130"} 
[2026-08-10 03:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03: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-08-10 03:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295556864001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295556864001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295556864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":152522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:03:42] local.INFO: GPS data processed {"connection_id":152522,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:03:42] local.INFO: Acknowledgment sent {"connection_id":152522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:04:03] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:04:03] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:04:03] local.INFO: IMEI packet received {"connection_id":152523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":152523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:04:05] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:04:05] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:04:05] local.INFO: IMEI packet received {"connection_id":152523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":152523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:04:06] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:04:06] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:04:06] local.INFO: Packet analysis {"connection_id":152523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:04:06] local.INFO: Extracted packet for processing {"connection_id":152523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":12,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295556864001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786311070000,"timestamp_ms":1786311070000,"timestamp_seconds":1786311070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86fd130"} 
[2026-08-10 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-08-10 03:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:04: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-08-10 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-08-10 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-08-10 03:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295556864001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295556864001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295556864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":152523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:04:06] local.INFO: GPS data processed {"connection_id":152523,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:04:06] local.INFO: Acknowledgment sent {"connection_id":152523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:04:11] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:04:11] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:04:11] local.INFO: Packet analysis {"connection_id":152523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:04:11] local.INFO: Extracted packet for processing {"connection_id":152523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":12,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295556864001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786311070000,"timestamp_ms":1786311070000,"timestamp_seconds":1786311070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86fd130"} 
[2026-08-10 03:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:04: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-08-10 03: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-08-10 03:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295556864001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295556864001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:04:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:04:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295556864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":152523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:04:11] local.INFO: GPS data processed {"connection_id":152523,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:04:11] local.INFO: Acknowledgment sent {"connection_id":152523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:04:42] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:04:42] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:04:42] local.INFO: Packet analysis {"connection_id":152523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:04:42] local.INFO: Extracted packet for processing {"connection_id":152523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":12,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295556864001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786311070000,"timestamp_ms":1786311070000,"timestamp_seconds":1786311070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86fd130"} 
[2026-08-10 03:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295556864001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295556864001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295556864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":152523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:04:42] local.INFO: GPS data processed {"connection_id":152523,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:04:42] local.INFO: Acknowledgment sent {"connection_id":152523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:05:00] local.INFO: TCP Data received {"connection_id":153969,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:05:00] local.INFO: Processing buffer {"connection_id":153969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:05:00] local.INFO: IMEI packet received {"connection_id":153969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":153969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:05:05] local.INFO: TCP Data received {"connection_id":153969,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:05:05] local.INFO: Processing buffer {"connection_id":153969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:05:05] local.INFO: IMEI packet received {"connection_id":153969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":153969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:05:06] local.INFO: TCP Data received {"connection_id":153969,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:05:06] local.INFO: Processing buffer {"connection_id":153969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:05:06] local.INFO: Packet analysis {"connection_id":153969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:05:06] local.INFO: Extracted packet for processing {"connection_id":153969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":12,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295556864001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786311070000,"timestamp_ms":1786311070000,"timestamp_seconds":1786311070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86fd130"} 
[2026-08-10 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-08-10 03:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:05: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-08-10 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-08-10 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-08-10 03:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295556864001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295556864001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295556864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":153969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:05:06] local.INFO: GPS data processed {"connection_id":153969,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:05:06] local.INFO: Acknowledgment sent {"connection_id":153969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:05:37] local.INFO: TCP Data received {"connection_id":153969,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:05:37] local.INFO: Processing buffer {"connection_id":153969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:05:37] local.INFO: Packet analysis {"connection_id":153969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:05:37] local.INFO: Extracted packet for processing {"connection_id":153969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":12,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295556864001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786311070000,"timestamp_ms":1786311070000,"timestamp_seconds":1786311070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86fd130"} 
[2026-08-10 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-08-10 03:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:05: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-08-10 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-08-10 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-08-10 03:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295556864001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295556864001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295556864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":153969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:05:37] local.INFO: GPS data processed {"connection_id":153969,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:05:37] local.INFO: Acknowledgment sent {"connection_id":153969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:06:00] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:06:00] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:06:00] local.INFO: IMEI packet received {"connection_id":152524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":152524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:06:06] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:06:06] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:06:06] local.INFO: IMEI packet received {"connection_id":152524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":152524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:06:07] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:06:07] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:06:07] local.INFO: Packet analysis {"connection_id":152524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:06:07] local.INFO: Extracted packet for processing {"connection_id":152524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":12,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295556864001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786311070000,"timestamp_ms":1786311070000,"timestamp_seconds":1786311070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86fd130"} 
[2026-08-10 03:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03: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-08-10 03:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295556864001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295556864001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295556864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":152524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:06:07] local.INFO: GPS data processed {"connection_id":152524,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:06:07] local.INFO: Acknowledgment sent {"connection_id":152524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:06:38] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:06:38] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe86fd130012d34c20006aa3f08000c00f32c..."} 
[2026-08-10 03:06:38] local.INFO: Packet analysis {"connection_id":152524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:06:38] local.INFO: Extracted packet for processing {"connection_id":152524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe86f"} 
[2026-08-10 03:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":12,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295556864001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786311070000,"timestamp_ms":1786311070000,"timestamp_seconds":1786311070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe86fd130"} 
[2026-08-10 03:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03: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-08-10 03:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295556864001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295556864001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295556864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":152524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:06:38] local.INFO: GPS data processed {"connection_id":152524,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:06:38] local.INFO: Acknowledgment sent {"connection_id":152524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:07:00] local.INFO: TCP Data received {"connection_id":151233,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:07:00] local.INFO: Processing buffer {"connection_id":151233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:07:00] local.INFO: IMEI packet received {"connection_id":151233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":151233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:07:05] local.INFO: TCP Data received {"connection_id":151233,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:07:05] local.INFO: Processing buffer {"connection_id":151233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:07:05] local.INFO: IMEI packet received {"connection_id":151233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":151233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:07:06] local.INFO: TCP Data received {"connection_id":151233,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:07:06] local.INFO: Processing buffer {"connection_id":151233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:07:06] local.INFO: Packet analysis {"connection_id":151233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:07:06] local.INFO: Extracted packet for processing {"connection_id":151233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:07:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295633920001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786311371000,"timestamp_ms":1786311371000,"timestamp_seconds":1786311371,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87468f8"} 
[2026-08-10 03:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:07: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-08-10 03:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295633920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295633920001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295633920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":151233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:07:06] local.INFO: GPS data processed {"connection_id":151233,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:07:06] local.INFO: Acknowledgment sent {"connection_id":151233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:07:37] local.INFO: TCP Data received {"connection_id":151233,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:07:37] local.INFO: Processing buffer {"connection_id":151233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:07:37] local.INFO: Packet analysis {"connection_id":151233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:07:37] local.INFO: Extracted packet for processing {"connection_id":151233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295633920001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786311371000,"timestamp_ms":1786311371000,"timestamp_seconds":1786311371,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87468f8"} 
[2026-08-10 03:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:07: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-08-10 03:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295633920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295633920001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295633920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":151233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:07:37] local.INFO: GPS data processed {"connection_id":151233,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:07:37] local.INFO: Acknowledgment sent {"connection_id":151233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:08:08] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:08:08] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:08:08] local.INFO: IMEI packet received {"connection_id":151612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":151612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:08:08] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:08:08] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:08:08] local.INFO: IMEI packet received {"connection_id":151612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":151612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:08:12] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:08:12] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:08:12] local.INFO: Packet analysis {"connection_id":151612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:08:12] local.INFO: Extracted packet for processing {"connection_id":151612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295633920001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786311371000,"timestamp_ms":1786311371000,"timestamp_seconds":1786311371,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87468f8"} 
[2026-08-10 03:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03: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-08-10 03: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-08-10 03:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295633920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295633920001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:08:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:08:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295633920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":151612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:08:12] local.INFO: GPS data processed {"connection_id":151612,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:08:12] local.INFO: Acknowledgment sent {"connection_id":151612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:08:12] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:08:12] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:08:12] local.INFO: Packet analysis {"connection_id":151612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:08:12] local.INFO: Extracted packet for processing {"connection_id":151612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295633920001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786311371000,"timestamp_ms":1786311371000,"timestamp_seconds":1786311371,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87468f8"} 
[2026-08-10 03:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03: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-08-10 03: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-08-10 03:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295633920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295633920001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:08:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:08:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295633920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":151612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:08:12] local.INFO: GPS data processed {"connection_id":151612,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:08:12] local.INFO: Acknowledgment sent {"connection_id":151612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:08:47] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:08:47] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:08:47] local.INFO: Packet analysis {"connection_id":151612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:08:47] local.INFO: Extracted packet for processing {"connection_id":151612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295633920001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786311371000,"timestamp_ms":1786311371000,"timestamp_seconds":1786311371,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87468f8"} 
[2026-08-10 03:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295633920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295633920001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:08:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295633920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":151612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:08:47] local.INFO: GPS data processed {"connection_id":151612,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:08:47] local.INFO: Acknowledgment sent {"connection_id":151612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:09:00] local.INFO: TCP Data received {"connection_id":151234,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:09:00] local.INFO: Processing buffer {"connection_id":151234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:09:00] local.INFO: IMEI packet received {"connection_id":151234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":151234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:09:05] local.INFO: TCP Data received {"connection_id":151234,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:09:05] local.INFO: Processing buffer {"connection_id":151234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:09:05] local.INFO: IMEI packet received {"connection_id":151234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":151234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:09:06] local.INFO: TCP Data received {"connection_id":151234,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:09:06] local.INFO: Processing buffer {"connection_id":151234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:09:06] local.INFO: Packet analysis {"connection_id":151234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:09:06] local.INFO: Extracted packet for processing {"connection_id":151234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295633920001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786311371000,"timestamp_ms":1786311371000,"timestamp_seconds":1786311371,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87468f8"} 
[2026-08-10 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-08-10 03:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:09: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-08-10 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-08-10 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-08-10 03:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295633920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295633920001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295633920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":151234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:09:06] local.INFO: GPS data processed {"connection_id":151234,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:09:06] local.INFO: Acknowledgment sent {"connection_id":151234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:09:38] local.INFO: TCP Data received {"connection_id":151234,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:09:38] local.INFO: Processing buffer {"connection_id":151234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:09:38] local.INFO: Packet analysis {"connection_id":151234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:09:38] local.INFO: Extracted packet for processing {"connection_id":151234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295633920001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786311371000,"timestamp_ms":1786311371000,"timestamp_seconds":1786311371,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87468f8"} 
[2026-08-10 03:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:09: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-08-10 03:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295633920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295633920001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295633920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":151234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:09:38] local.INFO: GPS data processed {"connection_id":151234,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:09:38] local.INFO: Acknowledgment sent {"connection_id":151234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:10:01] local.INFO: TCP Data received {"connection_id":151235,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:10:01] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:10:01] local.INFO: IMEI packet received {"connection_id":151235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":151235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:10:05] local.INFO: TCP Data received {"connection_id":151235,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:10:05] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:10:05] local.INFO: IMEI packet received {"connection_id":151235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":151235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:10:06] local.INFO: TCP Data received {"connection_id":151235,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:10:06] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:10:06] local.INFO: Packet analysis {"connection_id":151235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:10:06] local.INFO: Extracted packet for processing {"connection_id":151235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295633920001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786311371000,"timestamp_ms":1786311371000,"timestamp_seconds":1786311371,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87468f8"} 
[2026-08-10 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-08-10 03:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:10: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-08-10 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-08-10 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-08-10 03:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295633920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295633920001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295633920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":151235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:10:06] local.INFO: GPS data processed {"connection_id":151235,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:10:06] local.INFO: Acknowledgment sent {"connection_id":151235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:10:37] local.INFO: TCP Data received {"connection_id":151235,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:10:37] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:10:37] local.INFO: Packet analysis {"connection_id":151235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:10:37] local.INFO: Extracted packet for processing {"connection_id":151235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295633920001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786311371000,"timestamp_ms":1786311371000,"timestamp_seconds":1786311371,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87468f8"} 
[2026-08-10 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-08-10 03:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:10: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-08-10 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-08-10 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-08-10 03:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295633920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295633920001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295633920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":151235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:10:37] local.INFO: GPS data processed {"connection_id":151235,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:10:37] local.INFO: Acknowledgment sent {"connection_id":151235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:11:00] local.INFO: TCP Data received {"connection_id":152525,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:11:00] local.INFO: Processing buffer {"connection_id":152525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:11:00] local.INFO: IMEI packet received {"connection_id":152525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":152525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:11:05] local.INFO: TCP Data received {"connection_id":152525,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:11:05] local.INFO: Processing buffer {"connection_id":152525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:11:05] local.INFO: IMEI packet received {"connection_id":152525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":152525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:11:06] local.INFO: TCP Data received {"connection_id":152525,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:11:06] local.INFO: Processing buffer {"connection_id":152525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:11:06] local.INFO: Packet analysis {"connection_id":152525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:11:06] local.INFO: Extracted packet for processing {"connection_id":152525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295633920001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786311371000,"timestamp_ms":1786311371000,"timestamp_seconds":1786311371,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87468f8"} 
[2026-08-10 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-08-10 03:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:11: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-08-10 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-08-10 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-08-10 03:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295633920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295633920001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295633920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":152525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:11:06] local.INFO: GPS data processed {"connection_id":152525,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:11:06] local.INFO: Acknowledgment sent {"connection_id":152525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:11:37] local.INFO: TCP Data received {"connection_id":152525,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:11:37] local.INFO: Processing buffer {"connection_id":152525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87468f8012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:11:37] local.INFO: Packet analysis {"connection_id":152525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:11:37] local.INFO: Extracted packet for processing {"connection_id":152525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe874"} 
[2026-08-10 03:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295633920001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786311371000,"timestamp_ms":1786311371000,"timestamp_seconds":1786311371,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87468f8"} 
[2026-08-10 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-08-10 03:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 03:11: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-08-10 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-08-10 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-08-10 03:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295633920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295633920001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295633920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":152525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:11:37] local.INFO: GPS data processed {"connection_id":152525,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:11:37] local.INFO: Acknowledgment sent {"connection_id":152525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:12:00] local.INFO: TCP Data received {"connection_id":153970,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:12:00] local.INFO: Processing buffer {"connection_id":153970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:12:00] local.INFO: IMEI packet received {"connection_id":153970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":153970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:12:05] local.INFO: TCP Data received {"connection_id":153970,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:12:05] local.INFO: Processing buffer {"connection_id":153970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:12:05] local.INFO: IMEI packet received {"connection_id":153970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":153970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:12:07] local.INFO: TCP Data received {"connection_id":153970,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:12:07] local.INFO: Processing buffer {"connection_id":153970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:12:07] local.INFO: Packet analysis {"connection_id":153970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:12:07] local.INFO: Extracted packet for processing {"connection_id":153970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295710976001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786311672000,"timestamp_ms":1786311672000,"timestamp_seconds":1786311672,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87900c0"} 
[2026-08-10 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-08-10 03:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295710976001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295710976001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295710976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":153970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:12:07] local.INFO: GPS data processed {"connection_id":153970,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:12:07] local.INFO: Acknowledgment sent {"connection_id":153970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:12:38] local.INFO: TCP Data received {"connection_id":153970,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:12:38] local.INFO: Processing buffer {"connection_id":153970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:12:38] local.INFO: Packet analysis {"connection_id":153970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:12:38] local.INFO: Extracted packet for processing {"connection_id":153970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295710976001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786311672000,"timestamp_ms":1786311672000,"timestamp_seconds":1786311672,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87900c0"} 
[2026-08-10 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-08-10 03:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295710976001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295710976001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:12:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295710976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":153970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:12:38] local.INFO: GPS data processed {"connection_id":153970,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:12:38] local.INFO: Acknowledgment sent {"connection_id":153970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:13:05] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:13:05] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:13:05] local.INFO: IMEI packet received {"connection_id":151613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":151613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:13:10] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:13:10] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:13:10] local.INFO: IMEI packet received {"connection_id":151613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":151613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:13:11] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:13:11] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:13:11] local.INFO: Packet analysis {"connection_id":151613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:13:11] local.INFO: Extracted packet for processing {"connection_id":151613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295710976001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786311672000,"timestamp_ms":1786311672000,"timestamp_seconds":1786311672,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87900c0"} 
[2026-08-10 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-08-10 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:13: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-08-10 03:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295710976001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295710976001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:13:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:13:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295710976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":151613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:13:11] local.INFO: GPS data processed {"connection_id":151613,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:13:11] local.INFO: Acknowledgment sent {"connection_id":151613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:13:16] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:13:16] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:13:16] local.INFO: Packet analysis {"connection_id":151613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:13:16] local.INFO: Extracted packet for processing {"connection_id":151613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295710976001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786311672000,"timestamp_ms":1786311672000,"timestamp_seconds":1786311672,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87900c0"} 
[2026-08-10 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-08-10 03:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:13: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-08-10 03:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295710976001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295710976001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295710976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":151613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:13:16] local.INFO: GPS data processed {"connection_id":151613,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:13:16] local.INFO: Acknowledgment sent {"connection_id":151613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:14:00] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:14:00] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:14:00] local.INFO: IMEI packet received {"connection_id":152526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":152526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:14:05] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:14:05] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:14:05] local.INFO: IMEI packet received {"connection_id":152526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":152526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:14:07] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:14:07] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:14:07] local.INFO: Packet analysis {"connection_id":152526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:14:07] local.INFO: Extracted packet for processing {"connection_id":152526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295710976001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786311672000,"timestamp_ms":1786311672000,"timestamp_seconds":1786311672,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87900c0"} 
[2026-08-10 03:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295710976001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295710976001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:14:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295710976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":152526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:14:07] local.INFO: GPS data processed {"connection_id":152526,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:14:07] local.INFO: Acknowledgment sent {"connection_id":152526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:15:01] local.INFO: TCP Data received {"connection_id":151614,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:15:01] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:15:01] local.INFO: IMEI packet received {"connection_id":151614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":151614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:15:05] local.INFO: TCP Data received {"connection_id":151614,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:15:05] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:15:05] local.INFO: IMEI packet received {"connection_id":151614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":151614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:15:07] local.INFO: TCP Data received {"connection_id":151614,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:15:07] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:15:07] local.INFO: Packet analysis {"connection_id":151614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:15:07] local.INFO: Extracted packet for processing {"connection_id":151614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295710976001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786311672000,"timestamp_ms":1786311672000,"timestamp_seconds":1786311672,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87900c0"} 
[2026-08-10 03:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295710976001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295710976001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:15:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:15:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295710976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":151614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:15:07] local.INFO: GPS data processed {"connection_id":151614,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:15:07] local.INFO: Acknowledgment sent {"connection_id":151614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:15:38] local.INFO: TCP Data received {"connection_id":151614,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:15:38] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:15:38] local.INFO: Packet analysis {"connection_id":151614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:15:38] local.INFO: Extracted packet for processing {"connection_id":151614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295710976001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786311672000,"timestamp_ms":1786311672000,"timestamp_seconds":1786311672,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87900c0"} 
[2026-08-10 03:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03: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-08-10 03:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295710976001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295710976001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295710976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":151614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:15:38] local.INFO: GPS data processed {"connection_id":151614,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:15:38] local.INFO: Acknowledgment sent {"connection_id":151614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:15:55] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:15:55] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:15:55] local.INFO: Packet analysis {"connection_id":152526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:15:55] local.INFO: Extracted packet for processing {"connection_id":152526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:15:55] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295710976001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786311672000,"timestamp_ms":1786311672000,"timestamp_seconds":1786311672,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87900c0"} 
[2026-08-10 03:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295710976001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295710976001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:15:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:15:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295710976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":152526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:15:55] local.INFO: GPS data processed {"connection_id":152526,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:15:55] local.INFO: Acknowledgment sent {"connection_id":152526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:16:00] local.INFO: TCP Data received {"connection_id":151236,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:16:00] local.INFO: Processing buffer {"connection_id":151236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:16:00] local.INFO: IMEI packet received {"connection_id":151236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":151236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:16:05] local.INFO: TCP Data received {"connection_id":151236,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:16:05] local.INFO: Processing buffer {"connection_id":151236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:16:05] local.INFO: IMEI packet received {"connection_id":151236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":151236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:16:06] local.INFO: TCP Data received {"connection_id":151236,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:16:06] local.INFO: Processing buffer {"connection_id":151236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:16:06] local.INFO: Packet analysis {"connection_id":151236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:16:06] local.INFO: Extracted packet for processing {"connection_id":151236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295710976001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786311672000,"timestamp_ms":1786311672000,"timestamp_seconds":1786311672,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87900c0"} 
[2026-08-10 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-08-10 03:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295710976001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295710976001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:16:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:16:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295710976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":151236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:16:06] local.INFO: GPS data processed {"connection_id":151236,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:16:06] local.INFO: Acknowledgment sent {"connection_id":151236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:16:37] local.INFO: TCP Data received {"connection_id":151236,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:16:37] local.INFO: Processing buffer {"connection_id":151236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87900c0012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:16:37] local.INFO: Packet analysis {"connection_id":151236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:16:37] local.INFO: Extracted packet for processing {"connection_id":151236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe879"} 
[2026-08-10 03:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295710976001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786311672000,"timestamp_ms":1786311672000,"timestamp_seconds":1786311672,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87900c0"} 
[2026-08-10 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-08-10 03:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295710976001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295710976001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295710976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":151236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:16:37] local.INFO: GPS data processed {"connection_id":151236,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:16:37] local.INFO: Acknowledgment sent {"connection_id":151236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:17:00] local.INFO: TCP Data received {"connection_id":151615,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:17:00] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:17:00] local.INFO: IMEI packet received {"connection_id":151615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":151615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:17:05] local.INFO: TCP Data received {"connection_id":151615,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:17:05] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:17:05] local.INFO: IMEI packet received {"connection_id":151615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":151615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:17:06] local.INFO: TCP Data received {"connection_id":151615,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:17:06] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:17:06] local.INFO: Packet analysis {"connection_id":151615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:17:06] local.INFO: Extracted packet for processing {"connection_id":151615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295788032001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786311973000,"timestamp_ms":1786311973000,"timestamp_seconds":1786311973,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87d9888"} 
[2026-08-10 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-08-10 03:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:17: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-08-10 03:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295788032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295788032001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295788032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":151615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:17:06] local.INFO: GPS data processed {"connection_id":151615,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:17:06] local.INFO: Acknowledgment sent {"connection_id":151615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:17:38] local.INFO: TCP Data received {"connection_id":151615,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:17:38] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:17:38] local.INFO: Packet analysis {"connection_id":151615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:17:38] local.INFO: Extracted packet for processing {"connection_id":151615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295788032001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786311973000,"timestamp_ms":1786311973000,"timestamp_seconds":1786311973,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87d9888"} 
[2026-08-10 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-08-10 03:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:17: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-08-10 03:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295788032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295788032001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295788032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":151615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:17:38] local.INFO: GPS data processed {"connection_id":151615,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:17:38] local.INFO: Acknowledgment sent {"connection_id":151615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:18:00] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:18:00] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:18:00] local.INFO: IMEI packet received {"connection_id":151616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":151616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:18:05] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:18:05] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:18:05] local.INFO: IMEI packet received {"connection_id":151616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":151616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:18:06] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:18:06] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:18:06] local.INFO: Packet analysis {"connection_id":151616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:18:06] local.INFO: Extracted packet for processing {"connection_id":151616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295788032001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786311973000,"timestamp_ms":1786311973000,"timestamp_seconds":1786311973,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87d9888"} 
[2026-08-10 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-08-10 03:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295788032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295788032001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295788032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":151616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:18:06] local.INFO: GPS data processed {"connection_id":151616,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:18:06] local.INFO: Acknowledgment sent {"connection_id":151616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:18:37] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:18:37] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:18:37] local.INFO: Packet analysis {"connection_id":151616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:18:37] local.INFO: Extracted packet for processing {"connection_id":151616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295788032001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786311973000,"timestamp_ms":1786311973000,"timestamp_seconds":1786311973,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87d9888"} 
[2026-08-10 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-08-10 03:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295788032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295788032001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295788032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":151616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:18:37] local.INFO: GPS data processed {"connection_id":151616,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:18:37] local.INFO: Acknowledgment sent {"connection_id":151616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:19:05] local.INFO: TCP Data received {"connection_id":153971,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:19:05] local.INFO: Processing buffer {"connection_id":153971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:19:05] local.INFO: IMEI packet received {"connection_id":153971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":153971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:19:11] local.INFO: TCP Data received {"connection_id":153971,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:19:11] local.INFO: Processing buffer {"connection_id":153971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:19:11] local.INFO: IMEI packet received {"connection_id":153971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":153971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:19:12] local.INFO: TCP Data received {"connection_id":153971,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:19:12] local.INFO: Processing buffer {"connection_id":153971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:19:12] local.INFO: Packet analysis {"connection_id":153971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:19:12] local.INFO: Extracted packet for processing {"connection_id":153971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:19:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295788032001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786311973000,"timestamp_ms":1786311973000,"timestamp_seconds":1786311973,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87d9888"} 
[2026-08-10 03:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295788032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295788032001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:19:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:19:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295788032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":153971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:19:12] local.INFO: GPS data processed {"connection_id":153971,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:19:12] local.INFO: Acknowledgment sent {"connection_id":153971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:19:16] local.INFO: TCP Data received {"connection_id":153971,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:19:16] local.INFO: Processing buffer {"connection_id":153971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:19:16] local.INFO: Packet analysis {"connection_id":153971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:19:16] local.INFO: Extracted packet for processing {"connection_id":153971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295788032001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786311973000,"timestamp_ms":1786311973000,"timestamp_seconds":1786311973,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87d9888"} 
[2026-08-10 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-08-10 03:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295788032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295788032001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295788032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":153971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:19:16] local.INFO: GPS data processed {"connection_id":153971,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:19:16] local.INFO: Acknowledgment sent {"connection_id":153971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:20:00] local.INFO: TCP Data received {"connection_id":152527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:20:00] local.INFO: Processing buffer {"connection_id":152527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:20:00] local.INFO: IMEI packet received {"connection_id":152527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":152527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:20:05] local.INFO: TCP Data received {"connection_id":152527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:20:05] local.INFO: Processing buffer {"connection_id":152527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:20:05] local.INFO: IMEI packet received {"connection_id":152527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":152527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:20:06] local.INFO: TCP Data received {"connection_id":152527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:20:06] local.INFO: Processing buffer {"connection_id":152527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:20:06] local.INFO: Packet analysis {"connection_id":152527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:20:06] local.INFO: Extracted packet for processing {"connection_id":152527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295788032001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786311973000,"timestamp_ms":1786311973000,"timestamp_seconds":1786311973,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87d9888"} 
[2026-08-10 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-08-10 03:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295788032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295788032001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295788032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":152527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:20:06] local.INFO: GPS data processed {"connection_id":152527,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:20:06] local.INFO: Acknowledgment sent {"connection_id":152527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:20:38] local.INFO: TCP Data received {"connection_id":152527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:20:38] local.INFO: Processing buffer {"connection_id":152527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:20:38] local.INFO: Packet analysis {"connection_id":152527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:20:38] local.INFO: Extracted packet for processing {"connection_id":152527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295788032001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786311973000,"timestamp_ms":1786311973000,"timestamp_seconds":1786311973,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87d9888"} 
[2026-08-10 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-08-10 03:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:20: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-08-10 03:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295788032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295788032001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295788032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":152527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:20:38] local.INFO: GPS data processed {"connection_id":152527,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:20:38] local.INFO: Acknowledgment sent {"connection_id":152527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:21:00] local.INFO: TCP Data received {"connection_id":151617,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:21:00] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:21:00] local.INFO: IMEI packet received {"connection_id":151617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":151617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:21:05] local.INFO: TCP Data received {"connection_id":151617,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:21:05] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:21:05] local.INFO: IMEI packet received {"connection_id":151617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":151617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:21:07] local.INFO: TCP Data received {"connection_id":151617,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:21:07] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:21:07] local.INFO: Packet analysis {"connection_id":151617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:21:07] local.INFO: Extracted packet for processing {"connection_id":151617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295788032001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786311973000,"timestamp_ms":1786311973000,"timestamp_seconds":1786311973,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87d9888"} 
[2026-08-10 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-08-10 03:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:21: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-08-10 03:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295788032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295788032001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:21:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295788032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":151617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:21:07] local.INFO: GPS data processed {"connection_id":151617,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:21:07] local.INFO: Acknowledgment sent {"connection_id":151617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:21:38] local.INFO: TCP Data received {"connection_id":151617,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:21:38] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe87d9888012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:21:38] local.INFO: Packet analysis {"connection_id":151617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:21:38] local.INFO: Extracted packet for processing {"connection_id":151617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe87d"} 
[2026-08-10 03:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295788032001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786311973000,"timestamp_ms":1786311973000,"timestamp_seconds":1786311973,"priority":1,"record_length":96,"hex_timestamp":"0000019fe87d9888"} 
[2026-08-10 03:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03: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-08-10 03:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295788032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295788032001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295788032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":151617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:21:38] local.INFO: GPS data processed {"connection_id":151617,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:21:38] local.INFO: Acknowledgment sent {"connection_id":151617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:22:00] local.INFO: TCP Data received {"connection_id":153972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:22:00] local.INFO: Processing buffer {"connection_id":153972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:22:00] local.INFO: IMEI packet received {"connection_id":153972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":153972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:22:05] local.INFO: TCP Data received {"connection_id":153972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:22:05] local.INFO: Processing buffer {"connection_id":153972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:22:05] local.INFO: IMEI packet received {"connection_id":153972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":153972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:22:06] local.INFO: TCP Data received {"connection_id":153972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:22:06] local.INFO: Processing buffer {"connection_id":153972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:22:06] local.INFO: Packet analysis {"connection_id":153972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:22:06] local.INFO: Extracted packet for processing {"connection_id":153972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295865088001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786312274000,"timestamp_ms":1786312274000,"timestamp_seconds":1786312274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8823050"} 
[2026-08-10 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-08-10 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03: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-08-10 03:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295865088001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295865088001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295865088001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":153972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:22:06] local.INFO: GPS data processed {"connection_id":153972,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:22:06] local.INFO: Acknowledgment sent {"connection_id":153972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:22:37] local.INFO: TCP Data received {"connection_id":153972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:22:37] local.INFO: Processing buffer {"connection_id":153972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:22:37] local.INFO: Packet analysis {"connection_id":153972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:22:37] local.INFO: Extracted packet for processing {"connection_id":153972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295865088001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786312274000,"timestamp_ms":1786312274000,"timestamp_seconds":1786312274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8823050"} 
[2026-08-10 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-08-10 03:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:22: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-08-10 03:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295865088001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295865088001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295865088001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":153972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:22:37] local.INFO: GPS data processed {"connection_id":153972,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:22:37] local.INFO: Acknowledgment sent {"connection_id":153972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:23:00] local.INFO: TCP Data received {"connection_id":151237,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:23:00] local.INFO: Processing buffer {"connection_id":151237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:23:00] local.INFO: IMEI packet received {"connection_id":151237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":151237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:23:05] local.INFO: TCP Data received {"connection_id":151237,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:23:05] local.INFO: Processing buffer {"connection_id":151237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:23:05] local.INFO: IMEI packet received {"connection_id":151237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":151237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:23:06] local.INFO: TCP Data received {"connection_id":151237,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:23:06] local.INFO: Processing buffer {"connection_id":151237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:23:06] local.INFO: Packet analysis {"connection_id":151237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:23:06] local.INFO: Extracted packet for processing {"connection_id":151237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295865088001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786312274000,"timestamp_ms":1786312274000,"timestamp_seconds":1786312274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8823050"} 
[2026-08-10 03:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:23: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-08-10 03:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295865088001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295865088001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:23:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295865088001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":151237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:23:06] local.INFO: GPS data processed {"connection_id":151237,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:23:06] local.INFO: Acknowledgment sent {"connection_id":151237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:23:37] local.INFO: TCP Data received {"connection_id":151237,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:23:37] local.INFO: Processing buffer {"connection_id":151237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:23:37] local.INFO: Packet analysis {"connection_id":151237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:23:37] local.INFO: Extracted packet for processing {"connection_id":151237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295865088001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786312274000,"timestamp_ms":1786312274000,"timestamp_seconds":1786312274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8823050"} 
[2026-08-10 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-08-10 03:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:23: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-08-10 03:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295865088001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295865088001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:23:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295865088001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":151237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:23:37] local.INFO: GPS data processed {"connection_id":151237,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:23:37] local.INFO: Acknowledgment sent {"connection_id":151237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:24:00] local.INFO: TCP Data received {"connection_id":153973,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:24:00] local.INFO: Processing buffer {"connection_id":153973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:24:00] local.INFO: IMEI packet received {"connection_id":153973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":153973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:24:05] local.INFO: TCP Data received {"connection_id":153973,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:24:05] local.INFO: Processing buffer {"connection_id":153973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:24:05] local.INFO: IMEI packet received {"connection_id":153973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":153973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:24:06] local.INFO: TCP Data received {"connection_id":153973,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:24:06] local.INFO: Processing buffer {"connection_id":153973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:24:06] local.INFO: Packet analysis {"connection_id":153973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:24:06] local.INFO: Extracted packet for processing {"connection_id":153973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295865088001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786312274000,"timestamp_ms":1786312274000,"timestamp_seconds":1786312274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8823050"} 
[2026-08-10 03:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295865088001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295865088001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295865088001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":153973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:24:06] local.INFO: GPS data processed {"connection_id":153973,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:24:06] local.INFO: Acknowledgment sent {"connection_id":153973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:24:38] local.INFO: TCP Data received {"connection_id":153973,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:24:38] local.INFO: Processing buffer {"connection_id":153973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:24:38] local.INFO: Packet analysis {"connection_id":153973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:24:38] local.INFO: Extracted packet for processing {"connection_id":153973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295865088001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786312274000,"timestamp_ms":1786312274000,"timestamp_seconds":1786312274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8823050"} 
[2026-08-10 03:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:24: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-08-10 03:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295865088001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295865088001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295865088001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":153973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:24:38] local.INFO: GPS data processed {"connection_id":153973,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:24:38] local.INFO: Acknowledgment sent {"connection_id":153973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:25:05] local.INFO: TCP Data received {"connection_id":152528,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:25:05] local.INFO: Processing buffer {"connection_id":152528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:25:05] local.INFO: IMEI packet received {"connection_id":152528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":152528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:25:10] local.INFO: TCP Data received {"connection_id":152528,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:25:10] local.INFO: Processing buffer {"connection_id":152528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:25:10] local.INFO: IMEI packet received {"connection_id":152528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":152528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:25:11] local.INFO: TCP Data received {"connection_id":152528,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:25:11] local.INFO: Processing buffer {"connection_id":152528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:25:11] local.INFO: Packet analysis {"connection_id":152528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:25:11] local.INFO: Extracted packet for processing {"connection_id":152528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295865088001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786312274000,"timestamp_ms":1786312274000,"timestamp_seconds":1786312274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8823050"} 
[2026-08-10 03:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295865088001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295865088001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:25:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:25:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295865088001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":152528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:25:11] local.INFO: GPS data processed {"connection_id":152528,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:25:11] local.INFO: Acknowledgment sent {"connection_id":152528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:25:16] local.INFO: TCP Data received {"connection_id":152528,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:25:16] local.INFO: Processing buffer {"connection_id":152528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:25:16] local.INFO: Packet analysis {"connection_id":152528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:25:16] local.INFO: Extracted packet for processing {"connection_id":152528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295865088001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786312274000,"timestamp_ms":1786312274000,"timestamp_seconds":1786312274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8823050"} 
[2026-08-10 03:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295865088001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295865088001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295865088001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":152528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:25:16] local.INFO: GPS data processed {"connection_id":152528,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:25:16] local.INFO: Acknowledgment sent {"connection_id":152528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:26:00] local.INFO: TCP Data received {"connection_id":153974,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:26:00] local.INFO: Processing buffer {"connection_id":153974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:26:00] local.INFO: IMEI packet received {"connection_id":153974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":153974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:26:05] local.INFO: TCP Data received {"connection_id":153974,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:26:05] local.INFO: Processing buffer {"connection_id":153974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:26:05] local.INFO: IMEI packet received {"connection_id":153974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":153974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:26:06] local.INFO: TCP Data received {"connection_id":153974,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:26:06] local.INFO: Processing buffer {"connection_id":153974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:26:06] local.INFO: Packet analysis {"connection_id":153974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:26:06] local.INFO: Extracted packet for processing {"connection_id":153974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295865088001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786312274000,"timestamp_ms":1786312274000,"timestamp_seconds":1786312274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8823050"} 
[2026-08-10 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-08-10 03:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295865088001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295865088001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295865088001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":153974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:26:06] local.INFO: GPS data processed {"connection_id":153974,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:26:06] local.INFO: Acknowledgment sent {"connection_id":153974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:26:38] local.INFO: TCP Data received {"connection_id":153974,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:26:38] local.INFO: Processing buffer {"connection_id":153974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8823050012d34c20006aa3f08000400f32a..."} 
[2026-08-10 03:26:38] local.INFO: Packet analysis {"connection_id":153974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:26:38] local.INFO: Extracted packet for processing {"connection_id":153974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe882"} 
[2026-08-10 03:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295865088001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786312274000,"timestamp_ms":1786312274000,"timestamp_seconds":1786312274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8823050"} 
[2026-08-10 03:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295865088001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295865088001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295865088001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":153974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:26:38] local.INFO: GPS data processed {"connection_id":153974,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:26:38] local.INFO: Acknowledgment sent {"connection_id":153974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:27:00] local.INFO: TCP Data received {"connection_id":151238,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:27:00] local.INFO: Processing buffer {"connection_id":151238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:27:00] local.INFO: IMEI packet received {"connection_id":151238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":151238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:27:05] local.INFO: TCP Data received {"connection_id":151238,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:27:05] local.INFO: Processing buffer {"connection_id":151238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:27:05] local.INFO: IMEI packet received {"connection_id":151238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":151238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:27:06] local.INFO: TCP Data received {"connection_id":151238,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:27:06] local.INFO: Processing buffer {"connection_id":151238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:27:06] local.INFO: Packet analysis {"connection_id":151238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:27:06] local.INFO: Extracted packet for processing {"connection_id":151238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295942144001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786312575000,"timestamp_ms":1786312575000,"timestamp_seconds":1786312575,"priority":1,"record_length":96,"hex_timestamp":"0000019fe886c818"} 
[2026-08-10 03:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295942144001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295942144001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295942144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":151238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:27:06] local.INFO: GPS data processed {"connection_id":151238,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:27:06] local.INFO: Acknowledgment sent {"connection_id":151238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:27:38] local.INFO: TCP Data received {"connection_id":151238,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:27:38] local.INFO: Processing buffer {"connection_id":151238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:27:38] local.INFO: Packet analysis {"connection_id":151238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:27:38] local.INFO: Extracted packet for processing {"connection_id":151238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295942144001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786312575000,"timestamp_ms":1786312575000,"timestamp_seconds":1786312575,"priority":1,"record_length":96,"hex_timestamp":"0000019fe886c818"} 
[2026-08-10 03:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295942144001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295942144001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295942144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":151238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:27:38] local.INFO: GPS data processed {"connection_id":151238,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:27:38] local.INFO: Acknowledgment sent {"connection_id":151238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:28:00] local.INFO: TCP Data received {"connection_id":153975,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:28:00] local.INFO: Processing buffer {"connection_id":153975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:28:00] local.INFO: IMEI packet received {"connection_id":153975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":153975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:28:05] local.INFO: TCP Data received {"connection_id":153975,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:28:05] local.INFO: Processing buffer {"connection_id":153975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:28:05] local.INFO: IMEI packet received {"connection_id":153975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":153975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:28:06] local.INFO: TCP Data received {"connection_id":153975,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:28:06] local.INFO: Processing buffer {"connection_id":153975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:28:06] local.INFO: Packet analysis {"connection_id":153975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:28:06] local.INFO: Extracted packet for processing {"connection_id":153975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295942144001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786312575000,"timestamp_ms":1786312575000,"timestamp_seconds":1786312575,"priority":1,"record_length":96,"hex_timestamp":"0000019fe886c818"} 
[2026-08-10 03:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295942144001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295942144001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:28:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:28:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295942144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":153975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:28:06] local.INFO: GPS data processed {"connection_id":153975,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:28:06] local.INFO: Acknowledgment sent {"connection_id":153975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:28:37] local.INFO: TCP Data received {"connection_id":153975,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:28:37] local.INFO: Processing buffer {"connection_id":153975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:28:37] local.INFO: Packet analysis {"connection_id":153975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:28:37] local.INFO: Extracted packet for processing {"connection_id":153975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295942144001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786312575000,"timestamp_ms":1786312575000,"timestamp_seconds":1786312575,"priority":1,"record_length":96,"hex_timestamp":"0000019fe886c818"} 
[2026-08-10 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-08-10 03:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295942144001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295942144001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295942144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":153975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:28:37] local.INFO: GPS data processed {"connection_id":153975,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:28:37] local.INFO: Acknowledgment sent {"connection_id":153975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:29:00] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:29:00] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:29:00] local.INFO: IMEI packet received {"connection_id":152529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":152529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:29:05] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:29:05] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:29:05] local.INFO: IMEI packet received {"connection_id":152529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":152529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:29:06] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:29:06] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:29:06] local.INFO: Packet analysis {"connection_id":152529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:29:06] local.INFO: Extracted packet for processing {"connection_id":152529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295942144001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786312575000,"timestamp_ms":1786312575000,"timestamp_seconds":1786312575,"priority":1,"record_length":96,"hex_timestamp":"0000019fe886c818"} 
[2026-08-10 03:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295942144001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295942144001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295942144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":152529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:29:06] local.INFO: GPS data processed {"connection_id":152529,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:29:06] local.INFO: Acknowledgment sent {"connection_id":152529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:29:37] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:29:37] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:29:37] local.INFO: Packet analysis {"connection_id":152529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:29:37] local.INFO: Extracted packet for processing {"connection_id":152529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295942144001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786312575000,"timestamp_ms":1786312575000,"timestamp_seconds":1786312575,"priority":1,"record_length":96,"hex_timestamp":"0000019fe886c818"} 
[2026-08-10 03:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295942144001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295942144001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295942144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":152529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:29:37] local.INFO: GPS data processed {"connection_id":152529,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:29:37] local.INFO: Acknowledgment sent {"connection_id":152529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:30:00] local.INFO: TCP Data received {"connection_id":151239,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:30:00] local.INFO: Processing buffer {"connection_id":151239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:30:00] local.INFO: IMEI packet received {"connection_id":151239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":151239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:30:05] local.INFO: TCP Data received {"connection_id":151239,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:30:05] local.INFO: Processing buffer {"connection_id":151239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:30:05] local.INFO: IMEI packet received {"connection_id":151239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":151239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:30:06] local.INFO: TCP Data received {"connection_id":151239,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:30:06] local.INFO: Processing buffer {"connection_id":151239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:30:06] local.INFO: Packet analysis {"connection_id":151239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:30:06] local.INFO: Extracted packet for processing {"connection_id":151239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295942144001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786312575000,"timestamp_ms":1786312575000,"timestamp_seconds":1786312575,"priority":1,"record_length":96,"hex_timestamp":"0000019fe886c818"} 
[2026-08-10 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-08-10 03:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295942144001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295942144001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295942144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":151239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:30:06] local.INFO: GPS data processed {"connection_id":151239,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:30:06] local.INFO: Acknowledgment sent {"connection_id":151239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:30:37] local.INFO: TCP Data received {"connection_id":151239,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:30:37] local.INFO: Processing buffer {"connection_id":151239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:30:37] local.INFO: Packet analysis {"connection_id":151239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:30:37] local.INFO: Extracted packet for processing {"connection_id":151239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295942144001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786312575000,"timestamp_ms":1786312575000,"timestamp_seconds":1786312575,"priority":1,"record_length":96,"hex_timestamp":"0000019fe886c818"} 
[2026-08-10 03:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295942144001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295942144001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295942144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":151239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:30:37] local.INFO: GPS data processed {"connection_id":151239,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:30:37] local.INFO: Acknowledgment sent {"connection_id":151239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:31:05] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:31:05] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:31:05] local.INFO: IMEI packet received {"connection_id":151618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":151618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:31:10] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:31:10] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:31:10] local.INFO: IMEI packet received {"connection_id":151618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":151618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:31:11] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:31:11] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:31:11] local.INFO: Packet analysis {"connection_id":151618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:31:11] local.INFO: Extracted packet for processing {"connection_id":151618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295942144001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786312575000,"timestamp_ms":1786312575000,"timestamp_seconds":1786312575,"priority":1,"record_length":96,"hex_timestamp":"0000019fe886c818"} 
[2026-08-10 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-08-10 03:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:31: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-08-10 03:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295942144001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295942144001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:31:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295942144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":151618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:31:11] local.INFO: GPS data processed {"connection_id":151618,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:31:11] local.INFO: Acknowledgment sent {"connection_id":151618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:31:15] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:31:15] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe886c818012d34c20006aa3f08000300f32b..."} 
[2026-08-10 03:31:15] local.INFO: Packet analysis {"connection_id":151618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:31:15] local.INFO: Extracted packet for processing {"connection_id":151618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe886"} 
[2026-08-10 03:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457295942144001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786312575000,"timestamp_ms":1786312575000,"timestamp_seconds":1786312575,"priority":1,"record_length":96,"hex_timestamp":"0000019fe886c818"} 
[2026-08-10 03:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 03:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457295942144001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457295942144001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457295942144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":151618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:31:15] local.INFO: GPS data processed {"connection_id":151618,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:31:15] local.INFO: Acknowledgment sent {"connection_id":151618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:32:00] local.INFO: TCP Data received {"connection_id":151240,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:32:00] local.INFO: Processing buffer {"connection_id":151240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:32:00] local.INFO: IMEI packet received {"connection_id":151240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":151240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:32:05] local.INFO: TCP Data received {"connection_id":151240,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:32:05] local.INFO: Processing buffer {"connection_id":151240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:32:05] local.INFO: IMEI packet received {"connection_id":151240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":151240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:32:07] local.INFO: TCP Data received {"connection_id":151240,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:32:07] local.INFO: Processing buffer {"connection_id":151240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:32:07] local.INFO: Packet analysis {"connection_id":151240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:32:07] local.INFO: Extracted packet for processing {"connection_id":151240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296019200001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786312876000,"timestamp_ms":1786312876000,"timestamp_seconds":1786312876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88b5fe0"} 
[2026-08-10 03:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296019200001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296019200001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296019200001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":151240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:32:07] local.INFO: GPS data processed {"connection_id":151240,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:32:07] local.INFO: Acknowledgment sent {"connection_id":151240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:32:38] local.INFO: TCP Data received {"connection_id":151240,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:32:38] local.INFO: Processing buffer {"connection_id":151240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:32:38] local.INFO: Packet analysis {"connection_id":151240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:32:38] local.INFO: Extracted packet for processing {"connection_id":151240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296019200001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786312876000,"timestamp_ms":1786312876000,"timestamp_seconds":1786312876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88b5fe0"} 
[2026-08-10 03:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03: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-08-10 03:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296019200001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296019200001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296019200001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":151240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:32:38] local.INFO: GPS data processed {"connection_id":151240,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:32:38] local.INFO: Acknowledgment sent {"connection_id":151240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:33:00] local.INFO: TCP Data received {"connection_id":151241,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:33:00] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:33:00] local.INFO: IMEI packet received {"connection_id":151241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":151241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:33:05] local.INFO: TCP Data received {"connection_id":151241,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:33:05] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:33:05] local.INFO: IMEI packet received {"connection_id":151241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":151241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:33:06] local.INFO: TCP Data received {"connection_id":151241,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:33:06] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:33:06] local.INFO: Packet analysis {"connection_id":151241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:33:06] local.INFO: Extracted packet for processing {"connection_id":151241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296019200001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786312876000,"timestamp_ms":1786312876000,"timestamp_seconds":1786312876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88b5fe0"} 
[2026-08-10 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-08-10 03:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296019200001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296019200001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296019200001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":151241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:33:06] local.INFO: GPS data processed {"connection_id":151241,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:33:06] local.INFO: Acknowledgment sent {"connection_id":151241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:33:38] local.INFO: TCP Data received {"connection_id":151241,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:33:38] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:33:38] local.INFO: Packet analysis {"connection_id":151241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:33:38] local.INFO: Extracted packet for processing {"connection_id":151241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296019200001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786312876000,"timestamp_ms":1786312876000,"timestamp_seconds":1786312876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88b5fe0"} 
[2026-08-10 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-08-10 03:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:33: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-08-10 03:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296019200001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296019200001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296019200001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":151241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:33:38] local.INFO: GPS data processed {"connection_id":151241,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:33:38] local.INFO: Acknowledgment sent {"connection_id":151241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:34:00] local.INFO: TCP Data received {"connection_id":151242,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:34:00] local.INFO: Processing buffer {"connection_id":151242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:34:00] local.INFO: IMEI packet received {"connection_id":151242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":151242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:34:05] local.INFO: TCP Data received {"connection_id":151242,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:34:05] local.INFO: Processing buffer {"connection_id":151242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:34:05] local.INFO: IMEI packet received {"connection_id":151242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":151242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:34:06] local.INFO: TCP Data received {"connection_id":151242,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:34:06] local.INFO: Processing buffer {"connection_id":151242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:34:06] local.INFO: Packet analysis {"connection_id":151242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:34:06] local.INFO: Extracted packet for processing {"connection_id":151242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296019200001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786312876000,"timestamp_ms":1786312876000,"timestamp_seconds":1786312876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88b5fe0"} 
[2026-08-10 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-08-10 03:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296019200001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296019200001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296019200001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":151242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:34:06] local.INFO: GPS data processed {"connection_id":151242,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:34:06] local.INFO: Acknowledgment sent {"connection_id":151242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:34:37] local.INFO: TCP Data received {"connection_id":151242,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:34:37] local.INFO: Processing buffer {"connection_id":151242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:34:37] local.INFO: Packet analysis {"connection_id":151242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:34:37] local.INFO: Extracted packet for processing {"connection_id":151242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296019200001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786312876000,"timestamp_ms":1786312876000,"timestamp_seconds":1786312876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88b5fe0"} 
[2026-08-10 03:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296019200001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296019200001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296019200001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":151242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:34:37] local.INFO: GPS data processed {"connection_id":151242,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:34:37] local.INFO: Acknowledgment sent {"connection_id":151242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:35:00] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:35:00] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:35:00] local.INFO: IMEI packet received {"connection_id":151619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":151619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:35:05] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:35:05] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:35:05] local.INFO: IMEI packet received {"connection_id":151619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":151619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:35:06] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:35:06] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:35:06] local.INFO: Packet analysis {"connection_id":151619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:35:06] local.INFO: Extracted packet for processing {"connection_id":151619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296019200001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786312876000,"timestamp_ms":1786312876000,"timestamp_seconds":1786312876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88b5fe0"} 
[2026-08-10 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-08-10 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296019200001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296019200001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296019200001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":151619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:35:06] local.INFO: GPS data processed {"connection_id":151619,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:35:06] local.INFO: Acknowledgment sent {"connection_id":151619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:35:37] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:35:37] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:35:37] local.INFO: Packet analysis {"connection_id":151619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:35:37] local.INFO: Extracted packet for processing {"connection_id":151619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296019200001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786312876000,"timestamp_ms":1786312876000,"timestamp_seconds":1786312876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88b5fe0"} 
[2026-08-10 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-08-10 03:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296019200001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296019200001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296019200001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":151619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:35:37] local.INFO: GPS data processed {"connection_id":151619,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:35:37] local.INFO: Acknowledgment sent {"connection_id":151619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:36:00] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:36:00] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:36:00] local.INFO: IMEI packet received {"connection_id":152530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":152530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:36:05] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:36:05] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:36:05] local.INFO: IMEI packet received {"connection_id":152530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":152530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:36:06] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:36:06] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:36:06] local.INFO: Packet analysis {"connection_id":152530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:36:06] local.INFO: Extracted packet for processing {"connection_id":152530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296019200001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786312876000,"timestamp_ms":1786312876000,"timestamp_seconds":1786312876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88b5fe0"} 
[2026-08-10 03:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296019200001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296019200001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296019200001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":152530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:36:06] local.INFO: GPS data processed {"connection_id":152530,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:36:06] local.INFO: Acknowledgment sent {"connection_id":152530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:36:37] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:36:37] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88b5fe0012d34c20006aa3f08000400f32b..."} 
[2026-08-10 03:36:37] local.INFO: Packet analysis {"connection_id":152530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:36:37] local.INFO: Extracted packet for processing {"connection_id":152530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88b"} 
[2026-08-10 03:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296019200001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786312876000,"timestamp_ms":1786312876000,"timestamp_seconds":1786312876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88b5fe0"} 
[2026-08-10 03:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296019200001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296019200001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296019200001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":152530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:36:37] local.INFO: GPS data processed {"connection_id":152530,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:36:37] local.INFO: Acknowledgment sent {"connection_id":152530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:37:00] local.INFO: TCP Data received {"connection_id":152531,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:37:00] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:37:00] local.INFO: IMEI packet received {"connection_id":152531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":152531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:37:05] local.INFO: TCP Data received {"connection_id":152531,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:37:05] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:37:05] local.INFO: IMEI packet received {"connection_id":152531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":152531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:37:06] local.INFO: TCP Data received {"connection_id":152531,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:37:06] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:37:06] local.INFO: Packet analysis {"connection_id":152531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:37:06] local.INFO: Extracted packet for processing {"connection_id":152531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296096256001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786313177000,"timestamp_ms":1786313177000,"timestamp_seconds":1786313177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88ff7a8"} 
[2026-08-10 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-08-10 03:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296096256001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296096256001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296096256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":152531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:37:06] local.INFO: GPS data processed {"connection_id":152531,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:37:06] local.INFO: Acknowledgment sent {"connection_id":152531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:37:37] local.INFO: TCP Data received {"connection_id":152531,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:37:37] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:37:37] local.INFO: Packet analysis {"connection_id":152531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:37:37] local.INFO: Extracted packet for processing {"connection_id":152531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296096256001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786313177000,"timestamp_ms":1786313177000,"timestamp_seconds":1786313177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88ff7a8"} 
[2026-08-10 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-08-10 03:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296096256001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296096256001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296096256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":152531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:37:37] local.INFO: GPS data processed {"connection_id":152531,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:37:37] local.INFO: Acknowledgment sent {"connection_id":152531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:38:00] local.INFO: TCP Data received {"connection_id":153976,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:38:00] local.INFO: Processing buffer {"connection_id":153976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:38:00] local.INFO: IMEI packet received {"connection_id":153976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":153976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:38:05] local.INFO: TCP Data received {"connection_id":153976,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:38:05] local.INFO: Processing buffer {"connection_id":153976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:38:05] local.INFO: IMEI packet received {"connection_id":153976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":153976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:38:06] local.INFO: TCP Data received {"connection_id":153976,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:38:06] local.INFO: Processing buffer {"connection_id":153976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:38:06] local.INFO: Packet analysis {"connection_id":153976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:38:06] local.INFO: Extracted packet for processing {"connection_id":153976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:38:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296096256001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786313177000,"timestamp_ms":1786313177000,"timestamp_seconds":1786313177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88ff7a8"} 
[2026-08-10 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-08-10 03:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296096256001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296096256001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:38:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:38:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296096256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":153976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:38:06] local.INFO: GPS data processed {"connection_id":153976,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:38:06] local.INFO: Acknowledgment sent {"connection_id":153976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:38:37] local.INFO: TCP Data received {"connection_id":153976,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:38:37] local.INFO: Processing buffer {"connection_id":153976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:38:37] local.INFO: Packet analysis {"connection_id":153976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:38:37] local.INFO: Extracted packet for processing {"connection_id":153976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296096256001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786313177000,"timestamp_ms":1786313177000,"timestamp_seconds":1786313177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88ff7a8"} 
[2026-08-10 03:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296096256001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296096256001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296096256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":153976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:38:37] local.INFO: GPS data processed {"connection_id":153976,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:38:37] local.INFO: Acknowledgment sent {"connection_id":153976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:39:00] local.INFO: TCP Data received {"connection_id":151243,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:39:00] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:39:00] local.INFO: IMEI packet received {"connection_id":151243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":151243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:39:05] local.INFO: TCP Data received {"connection_id":151243,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:39:05] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:39:05] local.INFO: IMEI packet received {"connection_id":151243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":151243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:39:06] local.INFO: TCP Data received {"connection_id":151243,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:39:06] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:39:06] local.INFO: Packet analysis {"connection_id":151243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:39:06] local.INFO: Extracted packet for processing {"connection_id":151243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296096256001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786313177000,"timestamp_ms":1786313177000,"timestamp_seconds":1786313177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88ff7a8"} 
[2026-08-10 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-08-10 03:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296096256001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296096256001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296096256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":151243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:39:06] local.INFO: GPS data processed {"connection_id":151243,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:39:06] local.INFO: Acknowledgment sent {"connection_id":151243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:39:37] local.INFO: TCP Data received {"connection_id":151243,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:39:37] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:39:37] local.INFO: Packet analysis {"connection_id":151243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:39:37] local.INFO: Extracted packet for processing {"connection_id":151243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296096256001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786313177000,"timestamp_ms":1786313177000,"timestamp_seconds":1786313177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88ff7a8"} 
[2026-08-10 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-08-10 03:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296096256001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296096256001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296096256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":151243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:39:37] local.INFO: GPS data processed {"connection_id":151243,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:39:37] local.INFO: Acknowledgment sent {"connection_id":151243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:40:05] local.INFO: TCP Data received {"connection_id":151620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:40:05] local.INFO: Processing buffer {"connection_id":151620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:40:05] local.INFO: IMEI packet received {"connection_id":151620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":151620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:40:10] local.INFO: TCP Data received {"connection_id":151620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:40:10] local.INFO: Processing buffer {"connection_id":151620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:40:10] local.INFO: IMEI packet received {"connection_id":151620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":151620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:40:11] local.INFO: TCP Data received {"connection_id":151620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:40:11] local.INFO: Processing buffer {"connection_id":151620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:40:11] local.INFO: Packet analysis {"connection_id":151620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:40:11] local.INFO: Extracted packet for processing {"connection_id":151620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296096256001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786313177000,"timestamp_ms":1786313177000,"timestamp_seconds":1786313177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88ff7a8"} 
[2026-08-10 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-08-10 03:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:40: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-08-10 03:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296096256001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296096256001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:40:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:40:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296096256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":151620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:40:11] local.INFO: GPS data processed {"connection_id":151620,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:40:11] local.INFO: Acknowledgment sent {"connection_id":151620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:40:15] local.INFO: TCP Data received {"connection_id":151620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:40:15] local.INFO: Processing buffer {"connection_id":151620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:40:15] local.INFO: Packet analysis {"connection_id":151620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:40:15] local.INFO: Extracted packet for processing {"connection_id":151620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296096256001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786313177000,"timestamp_ms":1786313177000,"timestamp_seconds":1786313177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88ff7a8"} 
[2026-08-10 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-08-10 03:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296096256001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296096256001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296096256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":151620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:40:15] local.INFO: GPS data processed {"connection_id":151620,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:40:15] local.INFO: Acknowledgment sent {"connection_id":151620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:41:00] local.INFO: TCP Data received {"connection_id":153977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:41:00] local.INFO: Processing buffer {"connection_id":153977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:41:00] local.INFO: IMEI packet received {"connection_id":153977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":153977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:41:05] local.INFO: TCP Data received {"connection_id":153977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:41:05] local.INFO: Processing buffer {"connection_id":153977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:41:05] local.INFO: IMEI packet received {"connection_id":153977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":153977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:41:06] local.INFO: TCP Data received {"connection_id":153977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:41:06] local.INFO: Processing buffer {"connection_id":153977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:41:06] local.INFO: Packet analysis {"connection_id":153977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:41:06] local.INFO: Extracted packet for processing {"connection_id":153977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296096256001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786313177000,"timestamp_ms":1786313177000,"timestamp_seconds":1786313177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88ff7a8"} 
[2026-08-10 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-08-10 03:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:41: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-08-10 03:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296096256001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296096256001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296096256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":153977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:41:06] local.INFO: GPS data processed {"connection_id":153977,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:41:06] local.INFO: Acknowledgment sent {"connection_id":153977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:41:37] local.INFO: TCP Data received {"connection_id":153977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:41:37] local.INFO: Processing buffer {"connection_id":153977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe88ff7a8012d34c20006aa3f08000000f32c..."} 
[2026-08-10 03:41:37] local.INFO: Packet analysis {"connection_id":153977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:41:37] local.INFO: Extracted packet for processing {"connection_id":153977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe88f"} 
[2026-08-10 03:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296096256001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786313177000,"timestamp_ms":1786313177000,"timestamp_seconds":1786313177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe88ff7a8"} 
[2026-08-10 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-08-10 03:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:41: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-08-10 03:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296096256001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296096256001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296096256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":153977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:41:37] local.INFO: GPS data processed {"connection_id":153977,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:41:37] local.INFO: Acknowledgment sent {"connection_id":153977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:42:00] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:42:00] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:42:00] local.INFO: IMEI packet received {"connection_id":152532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":152532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:42:05] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:42:05] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:42:05] local.INFO: IMEI packet received {"connection_id":152532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":152532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:42:06] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:42:06] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:42:06] local.INFO: Packet analysis {"connection_id":152532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:42:06] local.INFO: Extracted packet for processing {"connection_id":152532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296173312001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786313478000,"timestamp_ms":1786313478000,"timestamp_seconds":1786313478,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8948f70"} 
[2026-08-10 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-08-10 03:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296173312001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296173312001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:42:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:42:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296173312001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":152532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:42:06] local.INFO: GPS data processed {"connection_id":152532,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:42:06] local.INFO: Acknowledgment sent {"connection_id":152532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:42:38] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:42:38] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:42:38] local.INFO: Packet analysis {"connection_id":152532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:42:38] local.INFO: Extracted packet for processing {"connection_id":152532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296173312001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786313478000,"timestamp_ms":1786313478000,"timestamp_seconds":1786313478,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8948f70"} 
[2026-08-10 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-08-10 03:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296173312001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296173312001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296173312001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":152532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:42:38] local.INFO: GPS data processed {"connection_id":152532,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:42:38] local.INFO: Acknowledgment sent {"connection_id":152532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:43:00] local.INFO: TCP Data received {"connection_id":152533,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:43:00] local.INFO: Processing buffer {"connection_id":152533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:43:00] local.INFO: IMEI packet received {"connection_id":152533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":152533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:43:05] local.INFO: TCP Data received {"connection_id":152533,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:43:05] local.INFO: Processing buffer {"connection_id":152533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:43:05] local.INFO: IMEI packet received {"connection_id":152533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":152533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:43:10] local.INFO: TCP Data received {"connection_id":152533,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:43:10] local.INFO: Processing buffer {"connection_id":152533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:43:10] local.INFO: Packet analysis {"connection_id":152533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:43:10] local.INFO: Extracted packet for processing {"connection_id":152533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296173312001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786313478000,"timestamp_ms":1786313478000,"timestamp_seconds":1786313478,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8948f70"} 
[2026-08-10 03:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:43: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-08-10 03:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296173312001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296173312001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296173312001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":152533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:43:10] local.INFO: GPS data processed {"connection_id":152533,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:43:10] local.INFO: Acknowledgment sent {"connection_id":152533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:43:41] local.INFO: TCP Data received {"connection_id":152533,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:43:41] local.INFO: Processing buffer {"connection_id":152533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:43:41] local.INFO: Packet analysis {"connection_id":152533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:43:41] local.INFO: Extracted packet for processing {"connection_id":152533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296173312001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786313478000,"timestamp_ms":1786313478000,"timestamp_seconds":1786313478,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8948f70"} 
[2026-08-10 03:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03: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-08-10 03:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296173312001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296173312001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:43:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296173312001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":152533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:43:41] local.INFO: GPS data processed {"connection_id":152533,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:43:41] local.INFO: Acknowledgment sent {"connection_id":152533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:44:00] local.INFO: TCP Data received {"connection_id":151621,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:44:00] local.INFO: Processing buffer {"connection_id":151621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:44:00] local.INFO: IMEI packet received {"connection_id":151621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":151621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:44:05] local.INFO: TCP Data received {"connection_id":151621,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:44:05] local.INFO: Processing buffer {"connection_id":151621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:44:05] local.INFO: IMEI packet received {"connection_id":151621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":151621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:44:06] local.INFO: TCP Data received {"connection_id":151621,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:44:06] local.INFO: Processing buffer {"connection_id":151621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:44:06] local.INFO: Packet analysis {"connection_id":151621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:44:06] local.INFO: Extracted packet for processing {"connection_id":151621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296173312001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786313478000,"timestamp_ms":1786313478000,"timestamp_seconds":1786313478,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8948f70"} 
[2026-08-10 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-08-10 03:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296173312001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296173312001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296173312001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":151621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:44:06] local.INFO: GPS data processed {"connection_id":151621,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:44:06] local.INFO: Acknowledgment sent {"connection_id":151621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:44:38] local.INFO: TCP Data received {"connection_id":151621,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:44:38] local.INFO: Processing buffer {"connection_id":151621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:44:38] local.INFO: Packet analysis {"connection_id":151621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:44:38] local.INFO: Extracted packet for processing {"connection_id":151621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296173312001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786313478000,"timestamp_ms":1786313478000,"timestamp_seconds":1786313478,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8948f70"} 
[2026-08-10 03:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03: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-08-10 03:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296173312001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296173312001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296173312001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":151621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:44:38] local.INFO: GPS data processed {"connection_id":151621,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:44:38] local.INFO: Acknowledgment sent {"connection_id":151621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:45:06] local.INFO: TCP Data received {"connection_id":152534,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:45:06] local.INFO: Processing buffer {"connection_id":152534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:45:06] local.INFO: IMEI packet received {"connection_id":152534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":152534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:45:10] local.INFO: TCP Data received {"connection_id":152534,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:45:10] local.INFO: Processing buffer {"connection_id":152534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:45:10] local.INFO: IMEI packet received {"connection_id":152534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":152534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:45:12] local.INFO: TCP Data received {"connection_id":152534,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:45:12] local.INFO: Processing buffer {"connection_id":152534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:45:12] local.INFO: Packet analysis {"connection_id":152534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:45:12] local.INFO: Extracted packet for processing {"connection_id":152534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296173312001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786313478000,"timestamp_ms":1786313478000,"timestamp_seconds":1786313478,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8948f70"} 
[2026-08-10 03:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296173312001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296173312001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:45:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:45:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296173312001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":152534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:45:12] local.INFO: GPS data processed {"connection_id":152534,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:45:12] local.INFO: Acknowledgment sent {"connection_id":152534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:45:16] local.INFO: TCP Data received {"connection_id":152534,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:45:16] local.INFO: Processing buffer {"connection_id":152534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:45:16] local.INFO: Packet analysis {"connection_id":152534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:45:16] local.INFO: Extracted packet for processing {"connection_id":152534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296173312001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786313478000,"timestamp_ms":1786313478000,"timestamp_seconds":1786313478,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8948f70"} 
[2026-08-10 03:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296173312001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296173312001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296173312001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":152534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:45:16] local.INFO: GPS data processed {"connection_id":152534,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:45:16] local.INFO: Acknowledgment sent {"connection_id":152534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:46:00] local.INFO: TCP Data received {"connection_id":151244,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:46:00] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:46:00] local.INFO: IMEI packet received {"connection_id":151244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":151244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:46:05] local.INFO: TCP Data received {"connection_id":151244,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:46:05] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:46:05] local.INFO: IMEI packet received {"connection_id":151244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":151244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:46:06] local.INFO: TCP Data received {"connection_id":151244,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:46:06] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:46:06] local.INFO: Packet analysis {"connection_id":151244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:46:06] local.INFO: Extracted packet for processing {"connection_id":151244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296173312001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786313478000,"timestamp_ms":1786313478000,"timestamp_seconds":1786313478,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8948f70"} 
[2026-08-10 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-08-10 03:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296173312001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296173312001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296173312001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":151244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:46:06] local.INFO: GPS data processed {"connection_id":151244,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:46:06] local.INFO: Acknowledgment sent {"connection_id":151244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:46:37] local.INFO: TCP Data received {"connection_id":151244,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:46:37] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8948f70012d34c20006aa3f08000900f329..."} 
[2026-08-10 03:46:37] local.INFO: Packet analysis {"connection_id":151244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:46:37] local.INFO: Extracted packet for processing {"connection_id":151244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe894"} 
[2026-08-10 03:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296173312001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786313478000,"timestamp_ms":1786313478000,"timestamp_seconds":1786313478,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8948f70"} 
[2026-08-10 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-08-10 03:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 03:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296173312001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296173312001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296173312001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":151244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:46:37] local.INFO: GPS data processed {"connection_id":151244,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:46:37] local.INFO: Acknowledgment sent {"connection_id":151244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:47:00] local.INFO: TCP Data received {"connection_id":152535,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:47:00] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:47:00] local.INFO: IMEI packet received {"connection_id":152535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":152535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:47:05] local.INFO: TCP Data received {"connection_id":152535,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:47:05] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:47:05] local.INFO: IMEI packet received {"connection_id":152535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":152535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:47:06] local.INFO: TCP Data received {"connection_id":152535,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:47:06] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:47:06] local.INFO: Packet analysis {"connection_id":152535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:47:06] local.INFO: Extracted packet for processing {"connection_id":152535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296250368001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786313779000,"timestamp_ms":1786313779000,"timestamp_seconds":1786313779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8992738"} 
[2026-08-10 03:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 03:47: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-08-10 03:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296250368001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296250368001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:47:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296250368001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":152535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:47:06] local.INFO: GPS data processed {"connection_id":152535,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:47:06] local.INFO: Acknowledgment sent {"connection_id":152535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:47:38] local.INFO: TCP Data received {"connection_id":152535,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:47:38] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:47:38] local.INFO: Packet analysis {"connection_id":152535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:47:38] local.INFO: Extracted packet for processing {"connection_id":152535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296250368001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786313779000,"timestamp_ms":1786313779000,"timestamp_seconds":1786313779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8992738"} 
[2026-08-10 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-08-10 03:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 03:47: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-08-10 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-08-10 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-08-10 03:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296250368001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296250368001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296250368001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":152535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:47:38] local.INFO: GPS data processed {"connection_id":152535,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:47:38] local.INFO: Acknowledgment sent {"connection_id":152535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:48:05] local.INFO: TCP Data received {"connection_id":151245,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:48:05] local.INFO: Processing buffer {"connection_id":151245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:48:05] local.INFO: IMEI packet received {"connection_id":151245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":151245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:48:10] local.INFO: TCP Data received {"connection_id":151245,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:48:10] local.INFO: Processing buffer {"connection_id":151245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:48:10] local.INFO: IMEI packet received {"connection_id":151245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":151245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:48:17] local.INFO: TCP Data received {"connection_id":151245,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:48:17] local.INFO: Processing buffer {"connection_id":151245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:48:17] local.INFO: Packet analysis {"connection_id":151245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:48:17] local.INFO: Extracted packet for processing {"connection_id":151245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296250368001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786313779000,"timestamp_ms":1786313779000,"timestamp_seconds":1786313779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8992738"} 
[2026-08-10 03:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 03:48: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-08-10 03:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296250368001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296250368001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296250368001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":151245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:48:17] local.INFO: GPS data processed {"connection_id":151245,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:48:17] local.INFO: Acknowledgment sent {"connection_id":151245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:48:18] local.INFO: TCP Data received {"connection_id":151245,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:48:18] local.INFO: Processing buffer {"connection_id":151245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:48:18] local.INFO: Packet analysis {"connection_id":151245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:48:18] local.INFO: Extracted packet for processing {"connection_id":151245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296250368001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786313779000,"timestamp_ms":1786313779000,"timestamp_seconds":1786313779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8992738"} 
[2026-08-10 03:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 03:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03: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-08-10 03:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296250368001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296250368001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296250368001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":151245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:48:18] local.INFO: GPS data processed {"connection_id":151245,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:48:18] local.INFO: Acknowledgment sent {"connection_id":151245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:49:00] local.INFO: TCP Data received {"connection_id":152536,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:49:00] local.INFO: Processing buffer {"connection_id":152536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:49:00] local.INFO: IMEI packet received {"connection_id":152536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":152536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:49:05] local.INFO: TCP Data received {"connection_id":152536,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:49:05] local.INFO: Processing buffer {"connection_id":152536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:49:05] local.INFO: IMEI packet received {"connection_id":152536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":152536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:49:06] local.INFO: TCP Data received {"connection_id":152536,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:49:06] local.INFO: Processing buffer {"connection_id":152536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:49:06] local.INFO: Packet analysis {"connection_id":152536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:49:06] local.INFO: Extracted packet for processing {"connection_id":152536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296250368001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786313779000,"timestamp_ms":1786313779000,"timestamp_seconds":1786313779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8992738"} 
[2026-08-10 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-08-10 03:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 03:49: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-08-10 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-08-10 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-08-10 03:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296250368001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296250368001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296250368001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":152536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:49:06] local.INFO: GPS data processed {"connection_id":152536,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:49:06] local.INFO: Acknowledgment sent {"connection_id":152536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:49:38] local.INFO: TCP Data received {"connection_id":152536,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:49:38] local.INFO: Processing buffer {"connection_id":152536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:49:38] local.INFO: Packet analysis {"connection_id":152536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:49:38] local.INFO: Extracted packet for processing {"connection_id":152536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296250368001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786313779000,"timestamp_ms":1786313779000,"timestamp_seconds":1786313779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8992738"} 
[2026-08-10 03:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 03:49: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-08-10 03:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296250368001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296250368001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296250368001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":152536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:49:38] local.INFO: GPS data processed {"connection_id":152536,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:49:38] local.INFO: Acknowledgment sent {"connection_id":152536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:50:00] local.INFO: TCP Data received {"connection_id":153978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:50:00] local.INFO: Processing buffer {"connection_id":153978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:50:00] local.INFO: IMEI packet received {"connection_id":153978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":153978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:50:05] local.INFO: TCP Data received {"connection_id":153978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:50:05] local.INFO: Processing buffer {"connection_id":153978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:50:05] local.INFO: IMEI packet received {"connection_id":153978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":153978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:50:06] local.INFO: TCP Data received {"connection_id":153978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:50:06] local.INFO: Processing buffer {"connection_id":153978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:50:06] local.INFO: Packet analysis {"connection_id":153978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:50:06] local.INFO: Extracted packet for processing {"connection_id":153978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296250368001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786313779000,"timestamp_ms":1786313779000,"timestamp_seconds":1786313779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8992738"} 
[2026-08-10 03:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 03:50: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-08-10 03:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03: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-08-10 03:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296250368001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296250368001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296250368001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":153978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:50:06] local.INFO: GPS data processed {"connection_id":153978,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:50:06] local.INFO: Acknowledgment sent {"connection_id":153978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:50:37] local.INFO: TCP Data received {"connection_id":153978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:50:37] local.INFO: Processing buffer {"connection_id":153978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:50:37] local.INFO: Packet analysis {"connection_id":153978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:50:37] local.INFO: Extracted packet for processing {"connection_id":153978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296250368001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786313779000,"timestamp_ms":1786313779000,"timestamp_seconds":1786313779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8992738"} 
[2026-08-10 03:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 03:50: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-08-10 03: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-08-10 03:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03: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-08-10 03:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296250368001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296250368001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296250368001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":153978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:50:37] local.INFO: GPS data processed {"connection_id":153978,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:50:37] local.INFO: Acknowledgment sent {"connection_id":153978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:51:00] local.INFO: TCP Data received {"connection_id":151246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:51:00] local.INFO: Processing buffer {"connection_id":151246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:51:00] local.INFO: IMEI packet received {"connection_id":151246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":151246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:51:05] local.INFO: TCP Data received {"connection_id":151246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:51:05] local.INFO: Processing buffer {"connection_id":151246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:51:05] local.INFO: IMEI packet received {"connection_id":151246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":151246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:51:06] local.INFO: TCP Data received {"connection_id":151246,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:51:06] local.INFO: Processing buffer {"connection_id":151246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:51:06] local.INFO: Packet analysis {"connection_id":151246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:51:06] local.INFO: Extracted packet for processing {"connection_id":151246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296250368001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786313779000,"timestamp_ms":1786313779000,"timestamp_seconds":1786313779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8992738"} 
[2026-08-10 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-08-10 03:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 03:51: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-08-10 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-08-10 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-08-10 03:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:51: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-08-10 03:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296250368001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296250368001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296250368001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":151246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:51:06] local.INFO: GPS data processed {"connection_id":151246,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:51:06] local.INFO: Acknowledgment sent {"connection_id":151246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:51:37] local.INFO: TCP Data received {"connection_id":151246,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:51:37] local.INFO: Processing buffer {"connection_id":151246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8992738012d34c20006aa3f08000800f32b..."} 
[2026-08-10 03:51:37] local.INFO: Packet analysis {"connection_id":151246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:51:37] local.INFO: Extracted packet for processing {"connection_id":151246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe899"} 
[2026-08-10 03:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296250368001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786313779000,"timestamp_ms":1786313779000,"timestamp_seconds":1786313779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8992738"} 
[2026-08-10 03:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 03:51: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-08-10 03:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:51: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-08-10 03:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296250368001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296250368001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296250368001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":151246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:51:37] local.INFO: GPS data processed {"connection_id":151246,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:51:37] local.INFO: Acknowledgment sent {"connection_id":151246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:52:00] local.INFO: TCP Data received {"connection_id":151247,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:52:00] local.INFO: Processing buffer {"connection_id":151247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:52:00] local.INFO: IMEI packet received {"connection_id":151247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":151247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:52:05] local.INFO: TCP Data received {"connection_id":151247,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:52:05] local.INFO: Processing buffer {"connection_id":151247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:52:05] local.INFO: IMEI packet received {"connection_id":151247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":151247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:52:07] local.INFO: TCP Data received {"connection_id":151247,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:52:07] local.INFO: Processing buffer {"connection_id":151247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:52:07] local.INFO: Packet analysis {"connection_id":151247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:52:07] local.INFO: Extracted packet for processing {"connection_id":151247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296327424001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786314080000,"timestamp_ms":1786314080000,"timestamp_seconds":1786314080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe89dbf00"} 
[2026-08-10 03:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 03:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296327424001,"66":25158,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296327424001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:52:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296327424001,"power":25158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":151247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:52:07] local.INFO: GPS data processed {"connection_id":151247,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:52:07] local.INFO: Acknowledgment sent {"connection_id":151247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:52:38] local.INFO: TCP Data received {"connection_id":151247,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:52:38] local.INFO: Processing buffer {"connection_id":151247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:52:38] local.INFO: Packet analysis {"connection_id":151247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:52:38] local.INFO: Extracted packet for processing {"connection_id":151247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296327424001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786314080000,"timestamp_ms":1786314080000,"timestamp_seconds":1786314080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe89dbf00"} 
[2026-08-10 03:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 03:52: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-08-10 03: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-08-10 03:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296327424001,"66":25158,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296327424001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296327424001,"power":25158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":151247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:52:38] local.INFO: GPS data processed {"connection_id":151247,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:52:38] local.INFO: Acknowledgment sent {"connection_id":151247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:53:05] local.INFO: TCP Data received {"connection_id":153979,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:53:05] local.INFO: Processing buffer {"connection_id":153979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:53:05] local.INFO: IMEI packet received {"connection_id":153979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":153979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:53:10] local.INFO: TCP Data received {"connection_id":153979,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:53:10] local.INFO: Processing buffer {"connection_id":153979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:53:10] local.INFO: IMEI packet received {"connection_id":153979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":153979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:53:15] local.INFO: TCP Data received {"connection_id":153979,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:53:15] local.INFO: Processing buffer {"connection_id":153979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:53:15] local.INFO: Packet analysis {"connection_id":153979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:53:15] local.INFO: Extracted packet for processing {"connection_id":153979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296327424001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786314080000,"timestamp_ms":1786314080000,"timestamp_seconds":1786314080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe89dbf00"} 
[2026-08-10 03:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 03:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296327424001,"66":25158,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296327424001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296327424001,"power":25158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":153979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:53:15] local.INFO: GPS data processed {"connection_id":153979,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:53:15] local.INFO: Acknowledgment sent {"connection_id":153979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:53:22] local.INFO: TCP Data received {"connection_id":153979,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:53:22] local.INFO: Processing buffer {"connection_id":153979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:53:22] local.INFO: Packet analysis {"connection_id":153979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:53:22] local.INFO: Extracted packet for processing {"connection_id":153979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:53:22] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296327424001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786314080000,"timestamp_ms":1786314080000,"timestamp_seconds":1786314080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe89dbf00"} 
[2026-08-10 03:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 03:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03: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-08-10 03:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296327424001,"66":25158,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296327424001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:53:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:53:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296327424001,"power":25158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":153979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:53:22] local.INFO: GPS data processed {"connection_id":153979,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:53:22] local.INFO: Acknowledgment sent {"connection_id":153979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:54:00] local.INFO: TCP Data received {"connection_id":151248,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:54:00] local.INFO: Processing buffer {"connection_id":151248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:54:00] local.INFO: IMEI packet received {"connection_id":151248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":151248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:54:05] local.INFO: TCP Data received {"connection_id":151248,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:54:05] local.INFO: Processing buffer {"connection_id":151248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:54:05] local.INFO: IMEI packet received {"connection_id":151248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":151248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:54:07] local.INFO: TCP Data received {"connection_id":151248,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:54:07] local.INFO: Processing buffer {"connection_id":151248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:54:07] local.INFO: Packet analysis {"connection_id":151248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:54:07] local.INFO: Extracted packet for processing {"connection_id":151248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296327424001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786314080000,"timestamp_ms":1786314080000,"timestamp_seconds":1786314080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe89dbf00"} 
[2026-08-10 03:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 03:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03: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-08-10 03:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296327424001,"66":25158,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296327424001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:54:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296327424001,"power":25158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":151248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:54:07] local.INFO: GPS data processed {"connection_id":151248,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:54:07] local.INFO: Acknowledgment sent {"connection_id":151248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:54:38] local.INFO: TCP Data received {"connection_id":151248,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:54:39] local.INFO: Processing buffer {"connection_id":151248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:54:39] local.INFO: Packet analysis {"connection_id":151248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:54:39] local.INFO: Extracted packet for processing {"connection_id":151248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296327424001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786314080000,"timestamp_ms":1786314080000,"timestamp_seconds":1786314080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe89dbf00"} 
[2026-08-10 03:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 03:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296327424001,"66":25158,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296327424001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:54:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:54:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296327424001,"power":25158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":151248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:54:39] local.INFO: GPS data processed {"connection_id":151248,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:54:39] local.INFO: Acknowledgment sent {"connection_id":151248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:55:00] local.INFO: TCP Data received {"connection_id":151622,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:55:00] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:55:00] local.INFO: IMEI packet received {"connection_id":151622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":151622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:55:05] local.INFO: TCP Data received {"connection_id":151622,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:55:05] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:55:05] local.INFO: IMEI packet received {"connection_id":151622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":151622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:55:06] local.INFO: TCP Data received {"connection_id":151622,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:55:06] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:55:06] local.INFO: Packet analysis {"connection_id":151622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:55:06] local.INFO: Extracted packet for processing {"connection_id":151622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296327424001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314080000,"timestamp_ms":1786314080000,"timestamp_seconds":1786314080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe89dbf00"} 
[2026-08-10 03:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 03:55: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-08-10 03:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296327424001,"66":25158,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296327424001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296327424001,"power":25158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":151622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:55:06] local.INFO: GPS data processed {"connection_id":151622,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:55:06] local.INFO: Acknowledgment sent {"connection_id":151622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:55:20] local.INFO: TCP Data received {"connection_id":153980,"ip":"192.161.49.2","data_length":211,"data_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-10 03:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153980,"packet_length":211,"packet_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-10 03:55:20] local.INFO: Processing buffer {"connection_id":153980,"buffer_length":211,"buffer_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-10 03:55:20] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":153980,"buffer_length":211,"first_bytes_hex":"474554202f2e2e2532462e2e2532462e"} 
[2026-08-10 03:55:37] local.INFO: TCP Data received {"connection_id":151622,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:55:37] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:55:37] local.INFO: Packet analysis {"connection_id":151622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:55:37] local.INFO: Extracted packet for processing {"connection_id":151622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296327424001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786314080000,"timestamp_ms":1786314080000,"timestamp_seconds":1786314080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe89dbf00"} 
[2026-08-10 03:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 03:55: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-08-10 03:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:55: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-08-10 03:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296327424001,"66":25158,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296327424001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296327424001,"power":25158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":151622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:55:38] local.INFO: GPS data processed {"connection_id":151622,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:55:38] local.INFO: Acknowledgment sent {"connection_id":151622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:56:00] local.INFO: TCP Data received {"connection_id":152537,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:56:00] local.INFO: Processing buffer {"connection_id":152537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:56:00] local.INFO: IMEI packet received {"connection_id":152537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":152537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:56:05] local.INFO: TCP Data received {"connection_id":152537,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:56:05] local.INFO: Processing buffer {"connection_id":152537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:56:05] local.INFO: IMEI packet received {"connection_id":152537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":152537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:56:06] local.INFO: TCP Data received {"connection_id":152537,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:56:06] local.INFO: Processing buffer {"connection_id":152537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:56:06] local.INFO: Packet analysis {"connection_id":152537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:56:06] local.INFO: Extracted packet for processing {"connection_id":152537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296327424001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314080000,"timestamp_ms":1786314080000,"timestamp_seconds":1786314080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe89dbf00"} 
[2026-08-10 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-08-10 03:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 03:56: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-08-10 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-08-10 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-08-10 03:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296327424001,"66":25158,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296327424001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:56:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296327424001,"power":25158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":152537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:56:06] local.INFO: GPS data processed {"connection_id":152537,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:56:06] local.INFO: Acknowledgment sent {"connection_id":152537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:56:40] local.INFO: TCP Data received {"connection_id":152537,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:56:40] local.INFO: Processing buffer {"connection_id":152537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe89dbf00012d34c20006aa3f08000700f32b..."} 
[2026-08-10 03:56:40] local.INFO: Packet analysis {"connection_id":152537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:56:40] local.INFO: Extracted packet for processing {"connection_id":152537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe89d"} 
[2026-08-10 03:56:40] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296327424001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786314080000,"timestamp_ms":1786314080000,"timestamp_seconds":1786314080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe89dbf00"} 
[2026-08-10 03:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 03:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296327424001,"66":25158,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296327424001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:56:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:56:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296327424001,"power":25158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":152537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:56:40] local.INFO: GPS data processed {"connection_id":152537,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:56:40] local.INFO: Acknowledgment sent {"connection_id":152537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:56:59] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:56:59] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:56:59] local.INFO: IMEI packet received {"connection_id":152538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":152538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:57:00] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:57:00] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:57:00] local.INFO: IMEI packet received {"connection_id":152538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":152538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:57:06] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:57:06] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:57:06] local.INFO: IMEI packet received {"connection_id":152538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":152538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:57:07] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:57:07] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:57:07] local.INFO: Packet analysis {"connection_id":152538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 03:57:07] local.INFO: Extracted packet for processing {"connection_id":152538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 03:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296404480001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786314381000,"timestamp_ms":1786314381000,"timestamp_seconds":1786314381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a256c8"} 
[2026-08-10 03:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-10 03:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296404480001,"66":25071,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296404480001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:57:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296404480001,"power":25071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":152538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:57:07] local.INFO: GPS data processed {"connection_id":152538,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:57:07] local.INFO: Acknowledgment sent {"connection_id":152538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:58:00] local.INFO: TCP Data received {"connection_id":151623,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:58:00] local.INFO: Processing buffer {"connection_id":151623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:58:00] local.INFO: IMEI packet received {"connection_id":151623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":151623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:58:05] local.INFO: TCP Data received {"connection_id":151623,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:58:05] local.INFO: Processing buffer {"connection_id":151623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:58:05] local.INFO: IMEI packet received {"connection_id":151623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":151623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:58:08] local.INFO: TCP Data received {"connection_id":151623,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:58:08] local.INFO: Processing buffer {"connection_id":151623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:58:08] local.INFO: Packet analysis {"connection_id":151623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 03:58:08] local.INFO: Extracted packet for processing {"connection_id":151623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 03:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296404480001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786314381000,"timestamp_ms":1786314381000,"timestamp_seconds":1786314381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a256c8"} 
[2026-08-10 03:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-10 03:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296404480001,"66":25071,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296404480001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296404480001,"power":25071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":151623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:58:08] local.INFO: GPS data processed {"connection_id":151623,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:58:08] local.INFO: Acknowledgment sent {"connection_id":151623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:58:11] local.INFO: TCP Data received {"connection_id":151623,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:58:11] local.INFO: Processing buffer {"connection_id":151623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:58:11] local.INFO: Packet analysis {"connection_id":151623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 03:58:11] local.INFO: Extracted packet for processing {"connection_id":151623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 03:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296404480001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786314381000,"timestamp_ms":1786314381000,"timestamp_seconds":1786314381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a256c8"} 
[2026-08-10 03:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-10 03:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:58: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-08-10 03:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296404480001,"66":25071,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296404480001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:58:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:58:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296404480001,"power":25071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":151623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:58:11] local.INFO: GPS data processed {"connection_id":151623,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:58:11] local.INFO: Acknowledgment sent {"connection_id":151623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:58:42] local.INFO: TCP Data received {"connection_id":151623,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:58:42] local.INFO: Processing buffer {"connection_id":151623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:58:42] local.INFO: Packet analysis {"connection_id":151623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 03:58:42] local.INFO: Extracted packet for processing {"connection_id":151623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 03:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03: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-08-10 03:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296404480001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786314381000,"timestamp_ms":1786314381000,"timestamp_seconds":1786314381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a256c8"} 
[2026-08-10 03:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-10 03:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03: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-08-10 03:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296404480001,"66":25071,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296404480001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296404480001,"power":25071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":151623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:58:42] local.INFO: GPS data processed {"connection_id":151623,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:58:42] local.INFO: Acknowledgment sent {"connection_id":151623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:59:00] local.INFO: TCP Data received {"connection_id":153981,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:59:00] local.INFO: Processing buffer {"connection_id":153981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:59:00] local.INFO: IMEI packet received {"connection_id":153981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 03:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":153981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 03:59:05] local.INFO: TCP Data received {"connection_id":153981,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:59:05] local.INFO: Processing buffer {"connection_id":153981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 03:59:05] local.INFO: IMEI packet received {"connection_id":153981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 03:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":153981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 03:59:06] local.INFO: TCP Data received {"connection_id":153981,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:59:06] local.INFO: Processing buffer {"connection_id":153981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:59:06] local.INFO: Packet analysis {"connection_id":153981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 03:59:06] local.INFO: Extracted packet for processing {"connection_id":153981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 03:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 03:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296404480001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314381000,"timestamp_ms":1786314381000,"timestamp_seconds":1786314381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a256c8"} 
[2026-08-10 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-08-10 03:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-10 03:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 03:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 03:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296404480001,"66":25071,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296404480001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296404480001,"power":25071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":153981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:59:06] local.INFO: GPS data processed {"connection_id":153981,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:59:06] local.INFO: Acknowledgment sent {"connection_id":153981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 03:59:38] local.INFO: TCP Data received {"connection_id":153981,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:59:38] local.INFO: Processing buffer {"connection_id":153981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 03:59:38] local.INFO: Packet analysis {"connection_id":153981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 03:59:38] local.INFO: Extracted packet for processing {"connection_id":153981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 03:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 03:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 03:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296404480001,"note":"Value kept but may cause issues"} 
[2026-08-10 03:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 03:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 03:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 03:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786314381000,"timestamp_ms":1786314381000,"timestamp_seconds":1786314381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a256c8"} 
[2026-08-10 03:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 03:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 03: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-10 03:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 03:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 03:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 03:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 03:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 03:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 03:59: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-08-10 03:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 03:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 03:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296404480001,"66":25071,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 03:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 03:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 03:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296404480001,"description":"Unknown IO ID 0"} 
[2026-08-10 03:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 03:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 03:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 03:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 03:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296404480001,"power":25071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 03:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":153981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 03:59:38] local.INFO: GPS data processed {"connection_id":153981,"processed":1,"errors":0,"total":1} 
[2026-08-10 03:59:38] local.INFO: Acknowledgment sent {"connection_id":153981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:00:00] local.INFO: TCP Data received {"connection_id":151624,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:00:00] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:00:00] local.INFO: IMEI packet received {"connection_id":151624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":151624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:00:05] local.INFO: TCP Data received {"connection_id":151624,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:00:05] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:00:05] local.INFO: IMEI packet received {"connection_id":151624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":151624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:00:06] local.INFO: TCP Data received {"connection_id":151624,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 04:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 04:00:06] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 04:00:06] local.INFO: Packet analysis {"connection_id":151624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 04:00:06] local.INFO: Extracted packet for processing {"connection_id":151624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 04:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296404480001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314381000,"timestamp_ms":1786314381000,"timestamp_seconds":1786314381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a256c8"} 
[2026-08-10 04:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-10 04:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296404480001,"66":25071,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296404480001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296404480001,"power":25071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":151624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:00:06] local.INFO: GPS data processed {"connection_id":151624,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:00:06] local.INFO: Acknowledgment sent {"connection_id":151624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:00:37] local.INFO: TCP Data received {"connection_id":151624,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 04:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 04:00:37] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 04:00:37] local.INFO: Packet analysis {"connection_id":151624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 04:00:37] local.INFO: Extracted packet for processing {"connection_id":151624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 04:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296404480001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786314381000,"timestamp_ms":1786314381000,"timestamp_seconds":1786314381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a256c8"} 
[2026-08-10 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-08-10 04:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-10 04:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296404480001,"66":25071,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296404480001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296404480001,"power":25071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":151624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:00:37] local.INFO: GPS data processed {"connection_id":151624,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:00:37] local.INFO: Acknowledgment sent {"connection_id":151624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:01:00] local.INFO: TCP Data received {"connection_id":152539,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:01:00] local.INFO: Processing buffer {"connection_id":152539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:01:00] local.INFO: IMEI packet received {"connection_id":152539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":152539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:01:05] local.INFO: TCP Data received {"connection_id":152539,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:01:05] local.INFO: Processing buffer {"connection_id":152539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:01:05] local.INFO: IMEI packet received {"connection_id":152539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":152539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:01:06] local.INFO: TCP Data received {"connection_id":152539,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 04:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 04:01:06] local.INFO: Processing buffer {"connection_id":152539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 04:01:06] local.INFO: Packet analysis {"connection_id":152539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 04:01:06] local.INFO: Extracted packet for processing {"connection_id":152539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 04:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296404480001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314381000,"timestamp_ms":1786314381000,"timestamp_seconds":1786314381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a256c8"} 
[2026-08-10 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-08-10 04:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-10 04:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296404480001,"66":25071,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296404480001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296404480001,"power":25071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":152539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:01:06] local.INFO: GPS data processed {"connection_id":152539,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:01:06] local.INFO: Acknowledgment sent {"connection_id":152539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:01:37] local.INFO: TCP Data received {"connection_id":152539,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 04:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 04:01:37] local.INFO: Processing buffer {"connection_id":152539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a256c8012d34c20006aa3f08000900f32d..."} 
[2026-08-10 04:01:37] local.INFO: Packet analysis {"connection_id":152539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 04:01:37] local.INFO: Extracted packet for processing {"connection_id":152539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a2"} 
[2026-08-10 04:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296404480001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786314381000,"timestamp_ms":1786314381000,"timestamp_seconds":1786314381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a256c8"} 
[2026-08-10 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-08-10 04:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-10 04:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296404480001,"66":25071,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296404480001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296404480001,"power":25071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":152539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:01:37] local.INFO: GPS data processed {"connection_id":152539,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:01:37] local.INFO: Acknowledgment sent {"connection_id":152539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:02:00] local.INFO: TCP Data received {"connection_id":151249,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:02:00] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:02:00] local.INFO: IMEI packet received {"connection_id":151249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":151249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:02:00] local.INFO: TCP Data received {"connection_id":151249,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:02:00] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:02:00] local.INFO: IMEI packet received {"connection_id":151249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":151249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:02:05] local.INFO: TCP Data received {"connection_id":151249,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:02:05] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:02:05] local.INFO: IMEI packet received {"connection_id":151249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":151249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:02:06] local.INFO: TCP Data received {"connection_id":151249,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:02:06] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:02:06] local.INFO: Packet analysis {"connection_id":151249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:02:06] local.INFO: Extracted packet for processing {"connection_id":151249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:02:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296481536001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314682000,"timestamp_ms":1786314682000,"timestamp_seconds":1786314682,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a6ee90"} 
[2026-08-10 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-08-10 04:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-10 04:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296481536001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296481536001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:02:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296481536001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":151249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:02:06] local.INFO: GPS data processed {"connection_id":151249,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:02:06] local.INFO: Acknowledgment sent {"connection_id":151249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:02:37] local.INFO: TCP Data received {"connection_id":151249,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:02:37] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:02:37] local.INFO: Packet analysis {"connection_id":151249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:02:37] local.INFO: Extracted packet for processing {"connection_id":151249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296481536001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786314682000,"timestamp_ms":1786314682000,"timestamp_seconds":1786314682,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a6ee90"} 
[2026-08-10 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-08-10 04:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-10 04:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296481536001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296481536001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296481536001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":151249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:02:37] local.INFO: GPS data processed {"connection_id":151249,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:02:37] local.INFO: Acknowledgment sent {"connection_id":151249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:03:05] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:03:05] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:03:05] local.INFO: IMEI packet received {"connection_id":151625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":151625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:03:10] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:03:10] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:03:10] local.INFO: IMEI packet received {"connection_id":151625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":151625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:03:11] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:03:11] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:03:11] local.INFO: Packet analysis {"connection_id":151625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:03:11] local.INFO: Extracted packet for processing {"connection_id":151625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296481536001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786314682000,"timestamp_ms":1786314682000,"timestamp_seconds":1786314682,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a6ee90"} 
[2026-08-10 04:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-10 04:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04: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-08-10 04:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:03: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-08-10 04:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296481536001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296481536001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:03:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:03:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296481536001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":151625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:03:11] local.INFO: GPS data processed {"connection_id":151625,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:03:11] local.INFO: Acknowledgment sent {"connection_id":151625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:03:16] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:03:16] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:03:16] local.INFO: Packet analysis {"connection_id":151625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:03:16] local.INFO: Extracted packet for processing {"connection_id":151625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296481536001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786314682000,"timestamp_ms":1786314682000,"timestamp_seconds":1786314682,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a6ee90"} 
[2026-08-10 04:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-10 04:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:03: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-08-10 04:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296481536001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296481536001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296481536001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":151625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:03:16] local.INFO: GPS data processed {"connection_id":151625,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:03:16] local.INFO: Acknowledgment sent {"connection_id":151625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:04:00] local.INFO: TCP Data received {"connection_id":151250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:04:00] local.INFO: Processing buffer {"connection_id":151250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:04:00] local.INFO: IMEI packet received {"connection_id":151250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":151250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:04:05] local.INFO: TCP Data received {"connection_id":151250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:04:05] local.INFO: Processing buffer {"connection_id":151250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:04:05] local.INFO: IMEI packet received {"connection_id":151250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":151250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:04:06] local.INFO: TCP Data received {"connection_id":151250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:04:06] local.INFO: Processing buffer {"connection_id":151250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:04:06] local.INFO: Packet analysis {"connection_id":151250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:04:06] local.INFO: Extracted packet for processing {"connection_id":151250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296481536001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314682000,"timestamp_ms":1786314682000,"timestamp_seconds":1786314682,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a6ee90"} 
[2026-08-10 04:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-10 04:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296481536001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296481536001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296481536001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":151250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:04:06] local.INFO: GPS data processed {"connection_id":151250,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:04:06] local.INFO: Acknowledgment sent {"connection_id":151250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:04:38] local.INFO: TCP Data received {"connection_id":151250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:04:38] local.INFO: Processing buffer {"connection_id":151250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:04:38] local.INFO: Packet analysis {"connection_id":151250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:04:38] local.INFO: Extracted packet for processing {"connection_id":151250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296481536001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786314682000,"timestamp_ms":1786314682000,"timestamp_seconds":1786314682,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a6ee90"} 
[2026-08-10 04:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-10 04:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04: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-08-10 04:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296481536001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296481536001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296481536001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":151250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:04:38] local.INFO: GPS data processed {"connection_id":151250,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:04:38] local.INFO: Acknowledgment sent {"connection_id":151250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:05:00] local.INFO: TCP Data received {"connection_id":151251,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:05:00] local.INFO: Processing buffer {"connection_id":151251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:05:00] local.INFO: IMEI packet received {"connection_id":151251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":151251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:05:05] local.INFO: TCP Data received {"connection_id":151251,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:05:05] local.INFO: Processing buffer {"connection_id":151251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:05:05] local.INFO: IMEI packet received {"connection_id":151251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":151251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:05:06] local.INFO: TCP Data received {"connection_id":151251,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:05:06] local.INFO: Processing buffer {"connection_id":151251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:05:06] local.INFO: Packet analysis {"connection_id":151251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:05:06] local.INFO: Extracted packet for processing {"connection_id":151251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296481536001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314682000,"timestamp_ms":1786314682000,"timestamp_seconds":1786314682,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a6ee90"} 
[2026-08-10 04:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-10 04:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296481536001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296481536001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296481536001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":151251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:05:06] local.INFO: GPS data processed {"connection_id":151251,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:05:06] local.INFO: Acknowledgment sent {"connection_id":151251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:05:38] local.INFO: TCP Data received {"connection_id":151251,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:05:38] local.INFO: Processing buffer {"connection_id":151251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:05:38] local.INFO: Packet analysis {"connection_id":151251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:05:38] local.INFO: Extracted packet for processing {"connection_id":151251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296481536001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786314682000,"timestamp_ms":1786314682000,"timestamp_seconds":1786314682,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a6ee90"} 
[2026-08-10 04:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-10 04:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:05: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-08-10 04:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296481536001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296481536001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296481536001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":151251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:05:38] local.INFO: GPS data processed {"connection_id":151251,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:05:38] local.INFO: Acknowledgment sent {"connection_id":151251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:06:00] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:06:00] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:06:00] local.INFO: IMEI packet received {"connection_id":151626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":151626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:06:05] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:06:05] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:06:05] local.INFO: IMEI packet received {"connection_id":151626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":151626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:06:06] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:06:06] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:06:06] local.INFO: Packet analysis {"connection_id":151626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:06:06] local.INFO: Extracted packet for processing {"connection_id":151626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296481536001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314682000,"timestamp_ms":1786314682000,"timestamp_seconds":1786314682,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a6ee90"} 
[2026-08-10 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-08-10 04:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-10 04:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296481536001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296481536001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296481536001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":151626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:06:06] local.INFO: GPS data processed {"connection_id":151626,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:06:06] local.INFO: Acknowledgment sent {"connection_id":151626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:06:38] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:06:38] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8a6ee90012d34c20006aa3f08000b00f32c..."} 
[2026-08-10 04:06:38] local.INFO: Packet analysis {"connection_id":151626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:06:38] local.INFO: Extracted packet for processing {"connection_id":151626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8a6"} 
[2026-08-10 04:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296481536001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786314682000,"timestamp_ms":1786314682000,"timestamp_seconds":1786314682,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8a6ee90"} 
[2026-08-10 04:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-10 04:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:06: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-08-10 04:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296481536001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296481536001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296481536001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":151626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:06:38] local.INFO: GPS data processed {"connection_id":151626,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:06:38] local.INFO: Acknowledgment sent {"connection_id":151626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:07:00] local.INFO: TCP Data received {"connection_id":151252,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:07:00] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:07:00] local.INFO: IMEI packet received {"connection_id":151252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":151252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:07:01] local.INFO: TCP Data received {"connection_id":151252,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:07:01] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:07:01] local.INFO: IMEI packet received {"connection_id":151252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":151252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:07:05] local.INFO: TCP Data received {"connection_id":151252,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:07:05] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:07:05] local.INFO: IMEI packet received {"connection_id":151252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":151252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:07:06] local.INFO: TCP Data received {"connection_id":151252,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:07:06] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:07:06] local.INFO: Packet analysis {"connection_id":151252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:07:06] local.INFO: Extracted packet for processing {"connection_id":151252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:07:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296558592001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314983000,"timestamp_ms":1786314983000,"timestamp_seconds":1786314983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ab8658"} 
[2026-08-10 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-08-10 04:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 04:07: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-08-10 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-08-10 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-08-10 04:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296558592001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296558592001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296558592001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":151252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:07:06] local.INFO: GPS data processed {"connection_id":151252,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:07:06] local.INFO: Acknowledgment sent {"connection_id":151252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:07:37] local.INFO: TCP Data received {"connection_id":151252,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:07:37] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:07:37] local.INFO: Packet analysis {"connection_id":151252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:07:37] local.INFO: Extracted packet for processing {"connection_id":151252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296558592001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786314983000,"timestamp_ms":1786314983000,"timestamp_seconds":1786314983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ab8658"} 
[2026-08-10 04:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 04:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296558592001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296558592001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296558592001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":151252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:07:37] local.INFO: GPS data processed {"connection_id":151252,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:07:37] local.INFO: Acknowledgment sent {"connection_id":151252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:08:05] local.INFO: TCP Data received {"connection_id":152540,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:08:05] local.INFO: Processing buffer {"connection_id":152540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:08:05] local.INFO: IMEI packet received {"connection_id":152540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":152540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:08:10] local.INFO: TCP Data received {"connection_id":152540,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:08:10] local.INFO: Processing buffer {"connection_id":152540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:08:10] local.INFO: IMEI packet received {"connection_id":152540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":152540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:08:11] local.INFO: TCP Data received {"connection_id":152540,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:08:11] local.INFO: Processing buffer {"connection_id":152540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:08:11] local.INFO: Packet analysis {"connection_id":152540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:08:11] local.INFO: Extracted packet for processing {"connection_id":152540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:08:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296558592001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786314983000,"timestamp_ms":1786314983000,"timestamp_seconds":1786314983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ab8658"} 
[2026-08-10 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-08-10 04:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 04:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296558592001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296558592001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:08:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:08:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296558592001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":152540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:08:11] local.INFO: GPS data processed {"connection_id":152540,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:08:11] local.INFO: Acknowledgment sent {"connection_id":152540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:08:16] local.INFO: TCP Data received {"connection_id":152540,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:08:16] local.INFO: Processing buffer {"connection_id":152540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:08:16] local.INFO: Packet analysis {"connection_id":152540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:08:16] local.INFO: Extracted packet for processing {"connection_id":152540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296558592001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786314983000,"timestamp_ms":1786314983000,"timestamp_seconds":1786314983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ab8658"} 
[2026-08-10 04:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 04:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296558592001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296558592001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296558592001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":152540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:08:16] local.INFO: GPS data processed {"connection_id":152540,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:08:16] local.INFO: Acknowledgment sent {"connection_id":152540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:09:00] local.INFO: TCP Data received {"connection_id":151627,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:09:00] local.INFO: Processing buffer {"connection_id":151627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:09:00] local.INFO: IMEI packet received {"connection_id":151627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":151627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:09:05] local.INFO: TCP Data received {"connection_id":151627,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:09:05] local.INFO: Processing buffer {"connection_id":151627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:09:05] local.INFO: IMEI packet received {"connection_id":151627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":151627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:09:06] local.INFO: TCP Data received {"connection_id":151627,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:09:06] local.INFO: Processing buffer {"connection_id":151627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:09:06] local.INFO: Packet analysis {"connection_id":151627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:09:06] local.INFO: Extracted packet for processing {"connection_id":151627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296558592001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314983000,"timestamp_ms":1786314983000,"timestamp_seconds":1786314983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ab8658"} 
[2026-08-10 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-08-10 04:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 04:09: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-08-10 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-08-10 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-08-10 04:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296558592001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296558592001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296558592001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":151627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:09:06] local.INFO: GPS data processed {"connection_id":151627,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:09:06] local.INFO: Acknowledgment sent {"connection_id":151627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:09:37] local.INFO: TCP Data received {"connection_id":151627,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:09:37] local.INFO: Processing buffer {"connection_id":151627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:09:37] local.INFO: Packet analysis {"connection_id":151627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:09:37] local.INFO: Extracted packet for processing {"connection_id":151627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296558592001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786314983000,"timestamp_ms":1786314983000,"timestamp_seconds":1786314983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ab8658"} 
[2026-08-10 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-08-10 04:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 04:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296558592001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296558592001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296558592001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":151627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:09:37] local.INFO: GPS data processed {"connection_id":151627,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:09:37] local.INFO: Acknowledgment sent {"connection_id":151627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:10:00] local.INFO: TCP Data received {"connection_id":152541,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:10:00] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:10:00] local.INFO: IMEI packet received {"connection_id":152541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":152541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:10:05] local.INFO: TCP Data received {"connection_id":152541,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:10:05] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:10:05] local.INFO: IMEI packet received {"connection_id":152541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":152541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:10:06] local.INFO: TCP Data received {"connection_id":152541,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:10:06] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:10:06] local.INFO: Packet analysis {"connection_id":152541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:10:06] local.INFO: Extracted packet for processing {"connection_id":152541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296558592001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314983000,"timestamp_ms":1786314983000,"timestamp_seconds":1786314983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ab8658"} 
[2026-08-10 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-08-10 04:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 04:10: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-08-10 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-08-10 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-08-10 04:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296558592001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296558592001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296558592001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":152541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:10:06] local.INFO: GPS data processed {"connection_id":152541,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:10:06] local.INFO: Acknowledgment sent {"connection_id":152541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:10:38] local.INFO: TCP Data received {"connection_id":152541,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:10:38] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:10:38] local.INFO: Packet analysis {"connection_id":152541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:10:38] local.INFO: Extracted packet for processing {"connection_id":152541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296558592001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786314983000,"timestamp_ms":1786314983000,"timestamp_seconds":1786314983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ab8658"} 
[2026-08-10 04:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 04:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:10: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-08-10 04:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296558592001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296558592001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296558592001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":152541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:10:38] local.INFO: GPS data processed {"connection_id":152541,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:10:38] local.INFO: Acknowledgment sent {"connection_id":152541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:11:00] local.INFO: TCP Data received {"connection_id":151253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:11:00] local.INFO: Processing buffer {"connection_id":151253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:11:00] local.INFO: IMEI packet received {"connection_id":151253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":151253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:11:05] local.INFO: TCP Data received {"connection_id":151253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:11:05] local.INFO: Processing buffer {"connection_id":151253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:11:05] local.INFO: IMEI packet received {"connection_id":151253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":151253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:11:06] local.INFO: TCP Data received {"connection_id":151253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:11:06] local.INFO: Processing buffer {"connection_id":151253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:11:06] local.INFO: Packet analysis {"connection_id":151253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:11:06] local.INFO: Extracted packet for processing {"connection_id":151253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296558592001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786314983000,"timestamp_ms":1786314983000,"timestamp_seconds":1786314983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ab8658"} 
[2026-08-10 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-08-10 04:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 04:11: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-08-10 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-08-10 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-08-10 04:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04: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-08-10 04:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296558592001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296558592001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296558592001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":151253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:11:06] local.INFO: GPS data processed {"connection_id":151253,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:11:06] local.INFO: Acknowledgment sent {"connection_id":151253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:11:38] local.INFO: TCP Data received {"connection_id":151253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:11:38] local.INFO: Processing buffer {"connection_id":151253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ab8658012d34c20006aa3f08000600f32a..."} 
[2026-08-10 04:11:38] local.INFO: Packet analysis {"connection_id":151253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:11:38] local.INFO: Extracted packet for processing {"connection_id":151253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8ab"} 
[2026-08-10 04:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296558592001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786314983000,"timestamp_ms":1786314983000,"timestamp_seconds":1786314983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ab8658"} 
[2026-08-10 04:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 04:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:11: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-08-10 04:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296558592001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296558592001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296558592001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":151253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:11:38] local.INFO: GPS data processed {"connection_id":151253,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:11:38] local.INFO: Acknowledgment sent {"connection_id":151253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:12:00] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:12:00] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:12:00] local.INFO: IMEI packet received {"connection_id":152542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":152542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:12:02] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:12:02] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:12:02] local.INFO: IMEI packet received {"connection_id":152542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":152542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:12:05] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:12:05] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:12:05] local.INFO: IMEI packet received {"connection_id":152542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":152542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:12:06] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:12:06] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:12:06] local.INFO: Packet analysis {"connection_id":152542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:12:06] local.INFO: Extracted packet for processing {"connection_id":152542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296635648001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786315284000,"timestamp_ms":1786315284000,"timestamp_seconds":1786315284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b01e20"} 
[2026-08-10 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-08-10 04:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:12: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-08-10 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-08-10 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-08-10 04:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296635648001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296635648001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:12:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296635648001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":152542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:12:06] local.INFO: GPS data processed {"connection_id":152542,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:12:06] local.INFO: Acknowledgment sent {"connection_id":152542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:12:37] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:12:37] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:12:37] local.INFO: Packet analysis {"connection_id":152542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:12:37] local.INFO: Extracted packet for processing {"connection_id":152542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296635648001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786315284000,"timestamp_ms":1786315284000,"timestamp_seconds":1786315284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b01e20"} 
[2026-08-10 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-08-10 04:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:12: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-08-10 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-08-10 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-08-10 04:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296635648001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296635648001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296635648001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":152542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:12:37] local.INFO: GPS data processed {"connection_id":152542,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:12:37] local.INFO: Acknowledgment sent {"connection_id":152542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:13:00] local.INFO: TCP Data received {"connection_id":153982,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:13:00] local.INFO: Processing buffer {"connection_id":153982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:13:00] local.INFO: IMEI packet received {"connection_id":153982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":153982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:13:05] local.INFO: TCP Data received {"connection_id":153982,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:13:05] local.INFO: Processing buffer {"connection_id":153982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:13:05] local.INFO: IMEI packet received {"connection_id":153982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":153982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:13:07] local.INFO: TCP Data received {"connection_id":153982,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:13:07] local.INFO: Processing buffer {"connection_id":153982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:13:07] local.INFO: Packet analysis {"connection_id":153982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:13:07] local.INFO: Extracted packet for processing {"connection_id":153982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296635648001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786315284000,"timestamp_ms":1786315284000,"timestamp_seconds":1786315284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b01e20"} 
[2026-08-10 04:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296635648001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296635648001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296635648001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":153982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:13:07] local.INFO: GPS data processed {"connection_id":153982,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:13:07] local.INFO: Acknowledgment sent {"connection_id":153982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:13:38] local.INFO: TCP Data received {"connection_id":153982,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:13:38] local.INFO: Processing buffer {"connection_id":153982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:13:38] local.INFO: Packet analysis {"connection_id":153982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:13:38] local.INFO: Extracted packet for processing {"connection_id":153982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296635648001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786315284000,"timestamp_ms":1786315284000,"timestamp_seconds":1786315284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b01e20"} 
[2026-08-10 04:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:13: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-08-10 04:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296635648001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296635648001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296635648001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":153982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:13:38] local.INFO: GPS data processed {"connection_id":153982,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:13:38] local.INFO: Acknowledgment sent {"connection_id":153982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:14:00] local.INFO: TCP Data received {"connection_id":153983,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:14:00] local.INFO: Processing buffer {"connection_id":153983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:14:00] local.INFO: IMEI packet received {"connection_id":153983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":153983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:14:05] local.INFO: TCP Data received {"connection_id":153983,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:14:05] local.INFO: Processing buffer {"connection_id":153983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:14:05] local.INFO: IMEI packet received {"connection_id":153983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":153983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:14:06] local.INFO: TCP Data received {"connection_id":153983,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:14:06] local.INFO: Processing buffer {"connection_id":153983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:14:06] local.INFO: Packet analysis {"connection_id":153983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:14:06] local.INFO: Extracted packet for processing {"connection_id":153983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296635648001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786315284000,"timestamp_ms":1786315284000,"timestamp_seconds":1786315284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b01e20"} 
[2026-08-10 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-08-10 04:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:14: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-08-10 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-08-10 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-08-10 04:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296635648001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296635648001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296635648001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":153983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:14:06] local.INFO: GPS data processed {"connection_id":153983,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:14:06] local.INFO: Acknowledgment sent {"connection_id":153983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:14:42] local.INFO: TCP Data received {"connection_id":153983,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:14:42] local.INFO: Processing buffer {"connection_id":153983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:14:42] local.INFO: Packet analysis {"connection_id":153983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:14:42] local.INFO: Extracted packet for processing {"connection_id":153983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296635648001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786315284000,"timestamp_ms":1786315284000,"timestamp_seconds":1786315284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b01e20"} 
[2026-08-10 04:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04: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-08-10 04:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296635648001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296635648001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296635648001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":153983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:14:42] local.INFO: GPS data processed {"connection_id":153983,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:14:42] local.INFO: Acknowledgment sent {"connection_id":153983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:15:00] local.INFO: TCP Data received {"connection_id":151254,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:15:00] local.INFO: Processing buffer {"connection_id":151254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:15:00] local.INFO: IMEI packet received {"connection_id":151254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":151254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:15:05] local.INFO: TCP Data received {"connection_id":151254,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:15:05] local.INFO: Processing buffer {"connection_id":151254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:15:05] local.INFO: IMEI packet received {"connection_id":151254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":151254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:15:06] local.INFO: TCP Data received {"connection_id":151254,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:15:06] local.INFO: Processing buffer {"connection_id":151254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:15:06] local.INFO: Packet analysis {"connection_id":151254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:15:06] local.INFO: Extracted packet for processing {"connection_id":151254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296635648001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786315284000,"timestamp_ms":1786315284000,"timestamp_seconds":1786315284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b01e20"} 
[2026-08-10 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-08-10 04:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:15: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-08-10 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-08-10 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-08-10 04:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296635648001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296635648001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296635648001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":151254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:15:06] local.INFO: GPS data processed {"connection_id":151254,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:15:06] local.INFO: Acknowledgment sent {"connection_id":151254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:15:38] local.INFO: TCP Data received {"connection_id":151254,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:15:38] local.INFO: Processing buffer {"connection_id":151254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:15:38] local.INFO: Packet analysis {"connection_id":151254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:15:38] local.INFO: Extracted packet for processing {"connection_id":151254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296635648001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786315284000,"timestamp_ms":1786315284000,"timestamp_seconds":1786315284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b01e20"} 
[2026-08-10 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-08-10 04:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:15: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-08-10 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-08-10 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-08-10 04:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:15: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-08-10 04:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296635648001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296635648001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296635648001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":151254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:15:38] local.INFO: GPS data processed {"connection_id":151254,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:15:38] local.INFO: Acknowledgment sent {"connection_id":151254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:16:00] local.INFO: TCP Data received {"connection_id":151628,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:16:00] local.INFO: Processing buffer {"connection_id":151628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:16:00] local.INFO: IMEI packet received {"connection_id":151628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":151628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:16:05] local.INFO: TCP Data received {"connection_id":151628,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:16:05] local.INFO: Processing buffer {"connection_id":151628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:16:05] local.INFO: IMEI packet received {"connection_id":151628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":151628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:16:06] local.INFO: TCP Data received {"connection_id":151628,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:16:06] local.INFO: Processing buffer {"connection_id":151628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:16:06] local.INFO: Packet analysis {"connection_id":151628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:16:06] local.INFO: Extracted packet for processing {"connection_id":151628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296635648001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786315284000,"timestamp_ms":1786315284000,"timestamp_seconds":1786315284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b01e20"} 
[2026-08-10 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-08-10 04:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:16: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-08-10 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-08-10 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-08-10 04:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296635648001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296635648001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:16:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:16:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296635648001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":151628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:16:06] local.INFO: GPS data processed {"connection_id":151628,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:16:06] local.INFO: Acknowledgment sent {"connection_id":151628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:16:37] local.INFO: TCP Data received {"connection_id":151628,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:16:37] local.INFO: Processing buffer {"connection_id":151628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b01e20012d34c20006aa3f08000700f32c..."} 
[2026-08-10 04:16:37] local.INFO: Packet analysis {"connection_id":151628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:16:37] local.INFO: Extracted packet for processing {"connection_id":151628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b0"} 
[2026-08-10 04:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296635648001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786315284000,"timestamp_ms":1786315284000,"timestamp_seconds":1786315284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b01e20"} 
[2026-08-10 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-08-10 04:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:16: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-08-10 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-08-10 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-08-10 04:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:16: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-08-10 04:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296635648001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296635648001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296635648001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":151628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:16:37] local.INFO: GPS data processed {"connection_id":151628,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:16:37] local.INFO: Acknowledgment sent {"connection_id":151628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:17:00] local.INFO: TCP Data received {"connection_id":153984,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:17:00] local.INFO: Processing buffer {"connection_id":153984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:17:00] local.INFO: IMEI packet received {"connection_id":153984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":153984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:17:03] local.INFO: TCP Data received {"connection_id":153984,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:17:03] local.INFO: Processing buffer {"connection_id":153984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:17:03] local.INFO: IMEI packet received {"connection_id":153984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":153984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:17:05] local.INFO: TCP Data received {"connection_id":153984,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:17:05] local.INFO: Processing buffer {"connection_id":153984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:17:05] local.INFO: IMEI packet received {"connection_id":153984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":153984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:17:06] local.INFO: TCP Data received {"connection_id":153984,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:17:06] local.INFO: Processing buffer {"connection_id":153984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:17:06] local.INFO: Packet analysis {"connection_id":153984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:17:06] local.INFO: Extracted packet for processing {"connection_id":153984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296712704001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786315585000,"timestamp_ms":1786315585000,"timestamp_seconds":1786315585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b4b5e8"} 
[2026-08-10 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-08-10 04:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:17: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-08-10 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-08-10 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-08-10 04:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296712704001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296712704001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296712704001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":153984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:17:06] local.INFO: GPS data processed {"connection_id":153984,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:17:06] local.INFO: Acknowledgment sent {"connection_id":153984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:17:37] local.INFO: TCP Data received {"connection_id":153984,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:17:37] local.INFO: Processing buffer {"connection_id":153984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:17:37] local.INFO: Packet analysis {"connection_id":153984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:17:37] local.INFO: Extracted packet for processing {"connection_id":153984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296712704001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786315585000,"timestamp_ms":1786315585000,"timestamp_seconds":1786315585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b4b5e8"} 
[2026-08-10 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-08-10 04:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:17: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-08-10 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-08-10 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-08-10 04:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296712704001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296712704001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296712704001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":153984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:17:37] local.INFO: GPS data processed {"connection_id":153984,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:17:37] local.INFO: Acknowledgment sent {"connection_id":153984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:18:00] local.INFO: TCP Data received {"connection_id":153985,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:18:00] local.INFO: Processing buffer {"connection_id":153985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:18:00] local.INFO: IMEI packet received {"connection_id":153985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":153985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:18:05] local.INFO: TCP Data received {"connection_id":153985,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:18:05] local.INFO: Processing buffer {"connection_id":153985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:18:05] local.INFO: IMEI packet received {"connection_id":153985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":153985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:18:06] local.INFO: TCP Data received {"connection_id":153985,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:18:06] local.INFO: Processing buffer {"connection_id":153985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:18:06] local.INFO: Packet analysis {"connection_id":153985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:18:06] local.INFO: Extracted packet for processing {"connection_id":153985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296712704001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786315585000,"timestamp_ms":1786315585000,"timestamp_seconds":1786315585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b4b5e8"} 
[2026-08-10 04:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:18: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-08-10 04:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296712704001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296712704001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296712704001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":153985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:18:06] local.INFO: GPS data processed {"connection_id":153985,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:18:06] local.INFO: Acknowledgment sent {"connection_id":153985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:18:38] local.INFO: TCP Data received {"connection_id":153985,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:18:38] local.INFO: Processing buffer {"connection_id":153985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:18:38] local.INFO: Packet analysis {"connection_id":153985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:18:38] local.INFO: Extracted packet for processing {"connection_id":153985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296712704001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786315585000,"timestamp_ms":1786315585000,"timestamp_seconds":1786315585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b4b5e8"} 
[2026-08-10 04:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:18: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-08-10 04: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-08-10 04:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296712704001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296712704001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:18:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296712704001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":153985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:18:38] local.INFO: GPS data processed {"connection_id":153985,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:18:38] local.INFO: Acknowledgment sent {"connection_id":153985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:19:00] local.INFO: TCP Data received {"connection_id":152543,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:19:00] local.INFO: Processing buffer {"connection_id":152543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:19:00] local.INFO: IMEI packet received {"connection_id":152543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":152543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:19:05] local.INFO: TCP Data received {"connection_id":152543,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:19:05] local.INFO: Processing buffer {"connection_id":152543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:19:05] local.INFO: IMEI packet received {"connection_id":152543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":152543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:19:06] local.INFO: TCP Data received {"connection_id":152543,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:19:06] local.INFO: Processing buffer {"connection_id":152543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:19:06] local.INFO: Packet analysis {"connection_id":152543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:19:06] local.INFO: Extracted packet for processing {"connection_id":152543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296712704001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786315585000,"timestamp_ms":1786315585000,"timestamp_seconds":1786315585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b4b5e8"} 
[2026-08-10 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-08-10 04:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:19: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-08-10 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-08-10 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-08-10 04:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296712704001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296712704001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:19:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296712704001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":152543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:19:06] local.INFO: GPS data processed {"connection_id":152543,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:19:06] local.INFO: Acknowledgment sent {"connection_id":152543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:19:37] local.INFO: TCP Data received {"connection_id":152543,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:19:37] local.INFO: Processing buffer {"connection_id":152543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:19:37] local.INFO: Packet analysis {"connection_id":152543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:19:37] local.INFO: Extracted packet for processing {"connection_id":152543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296712704001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786315585000,"timestamp_ms":1786315585000,"timestamp_seconds":1786315585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b4b5e8"} 
[2026-08-10 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-08-10 04:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:19: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-08-10 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-08-10 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-08-10 04:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:19: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-08-10 04:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296712704001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296712704001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296712704001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":152543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:19:37] local.INFO: GPS data processed {"connection_id":152543,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:19:37] local.INFO: Acknowledgment sent {"connection_id":152543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:20:00] local.INFO: TCP Data received {"connection_id":153986,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:20:00] local.INFO: Processing buffer {"connection_id":153986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:20:00] local.INFO: IMEI packet received {"connection_id":153986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":153986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:20:05] local.INFO: TCP Data received {"connection_id":153986,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:20:05] local.INFO: Processing buffer {"connection_id":153986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:20:05] local.INFO: IMEI packet received {"connection_id":153986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":153986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:20:06] local.INFO: TCP Data received {"connection_id":153986,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:20:06] local.INFO: Processing buffer {"connection_id":153986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:20:06] local.INFO: Packet analysis {"connection_id":153986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:20:06] local.INFO: Extracted packet for processing {"connection_id":153986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296712704001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786315585000,"timestamp_ms":1786315585000,"timestamp_seconds":1786315585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b4b5e8"} 
[2026-08-10 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-08-10 04:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:20: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-08-10 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-08-10 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-08-10 04:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296712704001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296712704001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296712704001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":153986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:20:06] local.INFO: GPS data processed {"connection_id":153986,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:20:06] local.INFO: Acknowledgment sent {"connection_id":153986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:20:37] local.INFO: TCP Data received {"connection_id":153986,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:20:37] local.INFO: Processing buffer {"connection_id":153986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:20:37] local.INFO: Packet analysis {"connection_id":153986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:20:37] local.INFO: Extracted packet for processing {"connection_id":153986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296712704001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786315585000,"timestamp_ms":1786315585000,"timestamp_seconds":1786315585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b4b5e8"} 
[2026-08-10 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-08-10 04:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:20: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-08-10 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-08-10 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-08-10 04:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296712704001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296712704001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296712704001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":153986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:20:37] local.INFO: GPS data processed {"connection_id":153986,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:20:37] local.INFO: Acknowledgment sent {"connection_id":153986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:21:00] local.INFO: TCP Data received {"connection_id":152544,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:21:00] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:21:00] local.INFO: IMEI packet received {"connection_id":152544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":152544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:21:05] local.INFO: TCP Data received {"connection_id":152544,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:21:05] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:21:05] local.INFO: IMEI packet received {"connection_id":152544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":152544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:21:06] local.INFO: TCP Data received {"connection_id":152544,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:21:06] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:21:06] local.INFO: Packet analysis {"connection_id":152544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:21:06] local.INFO: Extracted packet for processing {"connection_id":152544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296712704001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786315585000,"timestamp_ms":1786315585000,"timestamp_seconds":1786315585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b4b5e8"} 
[2026-08-10 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-08-10 04:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:21: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-08-10 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-08-10 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-08-10 04:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296712704001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296712704001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296712704001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":152544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:21:06] local.INFO: GPS data processed {"connection_id":152544,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:21:06] local.INFO: Acknowledgment sent {"connection_id":152544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:21:37] local.INFO: TCP Data received {"connection_id":152544,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:21:37] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b4b5e8012d34c20006aa3f08000200f32d..."} 
[2026-08-10 04:21:37] local.INFO: Packet analysis {"connection_id":152544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:21:37] local.INFO: Extracted packet for processing {"connection_id":152544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b4"} 
[2026-08-10 04:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296712704001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786315585000,"timestamp_ms":1786315585000,"timestamp_seconds":1786315585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b4b5e8"} 
[2026-08-10 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-08-10 04:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:21: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-08-10 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-08-10 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-08-10 04:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296712704001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296712704001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296712704001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":152544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:21:37] local.INFO: GPS data processed {"connection_id":152544,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:21:37] local.INFO: Acknowledgment sent {"connection_id":152544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:22:00] local.INFO: TCP Data received {"connection_id":151255,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:22:00] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:22:00] local.INFO: IMEI packet received {"connection_id":151255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":151255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:22:04] local.INFO: TCP Data received {"connection_id":151255,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:22:04] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:22:04] local.INFO: IMEI packet received {"connection_id":151255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":151255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:22:05] local.INFO: TCP Data received {"connection_id":151255,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:22:05] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:22:05] local.INFO: IMEI packet received {"connection_id":151255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":151255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:22:05] local.INFO: TCP Data received {"connection_id":151255,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:22:05] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:22:05] local.INFO: Packet analysis {"connection_id":151255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:22:05] local.INFO: Extracted packet for processing {"connection_id":151255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296789760001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786315886000,"timestamp_ms":1786315886000,"timestamp_seconds":1786315886,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b94db0"} 
[2026-08-10 04:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:22: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-08-10 04:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296789760001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296789760001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:22:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296789760001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":151255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:22:05] local.INFO: GPS data processed {"connection_id":151255,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:22:05] local.INFO: Acknowledgment sent {"connection_id":151255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:22:10] local.INFO: TCP Data received {"connection_id":151255,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:22:10] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:22:10] local.INFO: Packet analysis {"connection_id":151255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:22:10] local.INFO: Extracted packet for processing {"connection_id":151255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296789760001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786315886000,"timestamp_ms":1786315886000,"timestamp_seconds":1786315886,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b94db0"} 
[2026-08-10 04:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296789760001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296789760001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296789760001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":151255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:22:10] local.INFO: GPS data processed {"connection_id":151255,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:22:10] local.INFO: Acknowledgment sent {"connection_id":151255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:22:41] local.INFO: TCP Data received {"connection_id":151255,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:22:41] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:22:41] local.INFO: Packet analysis {"connection_id":151255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:22:41] local.INFO: Extracted packet for processing {"connection_id":151255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296789760001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786315886000,"timestamp_ms":1786315886000,"timestamp_seconds":1786315886,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b94db0"} 
[2026-08-10 04:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04: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-08-10 04:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296789760001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296789760001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:22:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:22:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296789760001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":151255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:22:41] local.INFO: GPS data processed {"connection_id":151255,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:22:41] local.INFO: Acknowledgment sent {"connection_id":151255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:23:00] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:23:00] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:23:00] local.INFO: IMEI packet received {"connection_id":152545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":152545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:23:05] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:23:05] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:23:05] local.INFO: IMEI packet received {"connection_id":152545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":152545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:23:07] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:23:07] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:23:07] local.INFO: Packet analysis {"connection_id":152545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:23:07] local.INFO: Extracted packet for processing {"connection_id":152545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296789760001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786315886000,"timestamp_ms":1786315886000,"timestamp_seconds":1786315886,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b94db0"} 
[2026-08-10 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-08-10 04:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296789760001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296789760001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:23:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296789760001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":152545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:23:07] local.INFO: GPS data processed {"connection_id":152545,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:23:07] local.INFO: Acknowledgment sent {"connection_id":152545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:23:38] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:23:38] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:23:38] local.INFO: Packet analysis {"connection_id":152545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:23:38] local.INFO: Extracted packet for processing {"connection_id":152545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296789760001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786315886000,"timestamp_ms":1786315886000,"timestamp_seconds":1786315886,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b94db0"} 
[2026-08-10 04:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:23: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-08-10 04:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:23: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-08-10 04:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296789760001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296789760001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296789760001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":152545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:23:38] local.INFO: GPS data processed {"connection_id":152545,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:23:38] local.INFO: Acknowledgment sent {"connection_id":152545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:24:00] local.INFO: TCP Data received {"connection_id":153987,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:24:00] local.INFO: Processing buffer {"connection_id":153987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:24:00] local.INFO: IMEI packet received {"connection_id":153987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":153987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:24:05] local.INFO: TCP Data received {"connection_id":153987,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:24:05] local.INFO: Processing buffer {"connection_id":153987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:24:05] local.INFO: IMEI packet received {"connection_id":153987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":153987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:24:06] local.INFO: TCP Data received {"connection_id":153987,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:24:06] local.INFO: Processing buffer {"connection_id":153987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:24:06] local.INFO: Packet analysis {"connection_id":153987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:24:06] local.INFO: Extracted packet for processing {"connection_id":153987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296789760001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786315886000,"timestamp_ms":1786315886000,"timestamp_seconds":1786315886,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b94db0"} 
[2026-08-10 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-08-10 04:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:24: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-08-10 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-08-10 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-08-10 04:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296789760001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296789760001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296789760001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":153987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:24:06] local.INFO: GPS data processed {"connection_id":153987,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:24:06] local.INFO: Acknowledgment sent {"connection_id":153987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:24:37] local.INFO: TCP Data received {"connection_id":153987,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:24:37] local.INFO: Processing buffer {"connection_id":153987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:24:37] local.INFO: Packet analysis {"connection_id":153987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:24:37] local.INFO: Extracted packet for processing {"connection_id":153987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296789760001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786315886000,"timestamp_ms":1786315886000,"timestamp_seconds":1786315886,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b94db0"} 
[2026-08-10 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-08-10 04:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:24: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-08-10 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-08-10 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-08-10 04:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296789760001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296789760001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296789760001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":153987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:24:37] local.INFO: GPS data processed {"connection_id":153987,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:24:37] local.INFO: Acknowledgment sent {"connection_id":153987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:25:00] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:25:00] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:25:00] local.INFO: IMEI packet received {"connection_id":151629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":151629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:25:05] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:25:05] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:25:05] local.INFO: IMEI packet received {"connection_id":151629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":151629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:25:06] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:25:06] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:25:06] local.INFO: Packet analysis {"connection_id":151629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:25:06] local.INFO: Extracted packet for processing {"connection_id":151629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296789760001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786315886000,"timestamp_ms":1786315886000,"timestamp_seconds":1786315886,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b94db0"} 
[2026-08-10 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-08-10 04:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:25: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-08-10 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-08-10 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-08-10 04:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296789760001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296789760001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296789760001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":151629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:25:06] local.INFO: GPS data processed {"connection_id":151629,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:25:06] local.INFO: Acknowledgment sent {"connection_id":151629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:25:38] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:25:38] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:25:38] local.INFO: Packet analysis {"connection_id":151629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:25:38] local.INFO: Extracted packet for processing {"connection_id":151629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296789760001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786315886000,"timestamp_ms":1786315886000,"timestamp_seconds":1786315886,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b94db0"} 
[2026-08-10 04:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:25: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-08-10 04: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-08-10 04:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296789760001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296789760001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296789760001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":151629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:25:38] local.INFO: GPS data processed {"connection_id":151629,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:25:38] local.INFO: Acknowledgment sent {"connection_id":151629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:26:00] local.INFO: TCP Data received {"connection_id":153988,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:26:00] local.INFO: Processing buffer {"connection_id":153988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:26:00] local.INFO: IMEI packet received {"connection_id":153988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":153988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:26:05] local.INFO: TCP Data received {"connection_id":153988,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:26:05] local.INFO: Processing buffer {"connection_id":153988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:26:05] local.INFO: IMEI packet received {"connection_id":153988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":153988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:26:09] local.INFO: TCP Data received {"connection_id":153988,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:26:09] local.INFO: Processing buffer {"connection_id":153988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:26:09] local.INFO: Packet analysis {"connection_id":153988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:26:09] local.INFO: Extracted packet for processing {"connection_id":153988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296789760001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786315886000,"timestamp_ms":1786315886000,"timestamp_seconds":1786315886,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b94db0"} 
[2026-08-10 04:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296789760001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296789760001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296789760001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":153988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:26:09] local.INFO: GPS data processed {"connection_id":153988,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:26:09] local.INFO: Acknowledgment sent {"connection_id":153988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:26:40] local.INFO: TCP Data received {"connection_id":153988,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:26:40] local.INFO: Processing buffer {"connection_id":153988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8b94db0012d34c20006aa3f08000600f32d..."} 
[2026-08-10 04:26:40] local.INFO: Packet analysis {"connection_id":153988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:26:40] local.INFO: Extracted packet for processing {"connection_id":153988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8b9"} 
[2026-08-10 04:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296789760001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786315886000,"timestamp_ms":1786315886000,"timestamp_seconds":1786315886,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8b94db0"} 
[2026-08-10 04:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296789760001,"66":25147,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296789760001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:26:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:26:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296789760001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":153988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:26:40] local.INFO: GPS data processed {"connection_id":153988,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:26:40] local.INFO: Acknowledgment sent {"connection_id":153988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:27:00] local.INFO: TCP Data received {"connection_id":151256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:27:00] local.INFO: Processing buffer {"connection_id":151256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:27:00] local.INFO: IMEI packet received {"connection_id":151256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":151256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:27:05] local.INFO: TCP Data received {"connection_id":151256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:27:05] local.INFO: Processing buffer {"connection_id":151256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:27:05] local.INFO: IMEI packet received {"connection_id":151256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":151256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:27:06] local.INFO: TCP Data received {"connection_id":151256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:27:06] local.INFO: Processing buffer {"connection_id":151256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:27:06] local.INFO: Packet analysis {"connection_id":151256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:27:06] local.INFO: Extracted packet for processing {"connection_id":151256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296866816001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786316187000,"timestamp_ms":1786316187000,"timestamp_seconds":1786316187,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8bde578"} 
[2026-08-10 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-08-10 04:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:27: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-08-10 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-08-10 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-08-10 04:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:27: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-08-10 04:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296866816001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296866816001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296866816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":151256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:27:06] local.INFO: GPS data processed {"connection_id":151256,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:27:06] local.INFO: Acknowledgment sent {"connection_id":151256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:27:37] local.INFO: TCP Data received {"connection_id":151256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:27:37] local.INFO: Processing buffer {"connection_id":151256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:27:37] local.INFO: Packet analysis {"connection_id":151256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:27:37] local.INFO: Extracted packet for processing {"connection_id":151256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296866816001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786316187000,"timestamp_ms":1786316187000,"timestamp_seconds":1786316187,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8bde578"} 
[2026-08-10 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-08-10 04:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:27: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-08-10 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-08-10 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-08-10 04:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:27: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-08-10 04:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296866816001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296866816001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296866816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":151256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:27:37] local.INFO: GPS data processed {"connection_id":151256,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:27:37] local.INFO: Acknowledgment sent {"connection_id":151256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:28:00] local.INFO: TCP Data received {"connection_id":152546,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:28:00] local.INFO: Processing buffer {"connection_id":152546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:28:00] local.INFO: IMEI packet received {"connection_id":152546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":152546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:28:05] local.INFO: TCP Data received {"connection_id":152546,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:28:05] local.INFO: Processing buffer {"connection_id":152546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:28:05] local.INFO: IMEI packet received {"connection_id":152546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":152546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:28:06] local.INFO: TCP Data received {"connection_id":152546,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:28:06] local.INFO: Processing buffer {"connection_id":152546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:28:06] local.INFO: Packet analysis {"connection_id":152546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:28:06] local.INFO: Extracted packet for processing {"connection_id":152546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296866816001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786316187000,"timestamp_ms":1786316187000,"timestamp_seconds":1786316187,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8bde578"} 
[2026-08-10 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-08-10 04:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:28: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-08-10 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-08-10 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-08-10 04:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296866816001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296866816001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:28:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:28:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296866816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":152546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:28:06] local.INFO: GPS data processed {"connection_id":152546,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:28:06] local.INFO: Acknowledgment sent {"connection_id":152546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:28:37] local.INFO: TCP Data received {"connection_id":152546,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:28:37] local.INFO: Processing buffer {"connection_id":152546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:28:37] local.INFO: Packet analysis {"connection_id":152546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:28:37] local.INFO: Extracted packet for processing {"connection_id":152546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296866816001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786316187000,"timestamp_ms":1786316187000,"timestamp_seconds":1786316187,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8bde578"} 
[2026-08-10 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-08-10 04:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:28: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-08-10 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-08-10 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-08-10 04:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296866816001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296866816001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296866816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":152546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:28:37] local.INFO: GPS data processed {"connection_id":152546,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:28:37] local.INFO: Acknowledgment sent {"connection_id":152546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:29:01] local.INFO: TCP Data received {"connection_id":153989,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:29:01] local.INFO: Processing buffer {"connection_id":153989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:29:01] local.INFO: IMEI packet received {"connection_id":153989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":153989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:29:05] local.INFO: TCP Data received {"connection_id":153989,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:29:05] local.INFO: Processing buffer {"connection_id":153989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:29:05] local.INFO: IMEI packet received {"connection_id":153989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":153989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:29:06] local.INFO: TCP Data received {"connection_id":153989,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:29:06] local.INFO: Processing buffer {"connection_id":153989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:29:06] local.INFO: Packet analysis {"connection_id":153989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:29:06] local.INFO: Extracted packet for processing {"connection_id":153989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296866816001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786316187000,"timestamp_ms":1786316187000,"timestamp_seconds":1786316187,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8bde578"} 
[2026-08-10 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-08-10 04:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:29: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-08-10 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-08-10 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-08-10 04:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296866816001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296866816001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296866816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":153989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:29:06] local.INFO: GPS data processed {"connection_id":153989,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:29:06] local.INFO: Acknowledgment sent {"connection_id":153989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:29:38] local.INFO: TCP Data received {"connection_id":153989,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:29:38] local.INFO: Processing buffer {"connection_id":153989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:29:38] local.INFO: Packet analysis {"connection_id":153989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:29:38] local.INFO: Extracted packet for processing {"connection_id":153989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296866816001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786316187000,"timestamp_ms":1786316187000,"timestamp_seconds":1786316187,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8bde578"} 
[2026-08-10 04:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:29: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-08-10 04: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-08-10 04:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296866816001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296866816001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296866816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":153989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:29:38] local.INFO: GPS data processed {"connection_id":153989,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:29:38] local.INFO: Acknowledgment sent {"connection_id":153989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:30:00] local.INFO: TCP Data received {"connection_id":152547,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:30:00] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:30:00] local.INFO: IMEI packet received {"connection_id":152547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":152547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:30:05] local.INFO: TCP Data received {"connection_id":152547,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:30:05] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:30:05] local.INFO: IMEI packet received {"connection_id":152547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":152547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:30:07] local.INFO: TCP Data received {"connection_id":152547,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:30:07] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:30:07] local.INFO: Packet analysis {"connection_id":152547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:30:07] local.INFO: Extracted packet for processing {"connection_id":152547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296866816001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786316187000,"timestamp_ms":1786316187000,"timestamp_seconds":1786316187,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8bde578"} 
[2026-08-10 04:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:30: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-08-10 04:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296866816001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296866816001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296866816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":152547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:30:07] local.INFO: GPS data processed {"connection_id":152547,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:30:07] local.INFO: Acknowledgment sent {"connection_id":152547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:30:38] local.INFO: TCP Data received {"connection_id":152547,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:30:38] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:30:38] local.INFO: Packet analysis {"connection_id":152547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:30:38] local.INFO: Extracted packet for processing {"connection_id":152547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296866816001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786316187000,"timestamp_ms":1786316187000,"timestamp_seconds":1786316187,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8bde578"} 
[2026-08-10 04:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:30: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-08-10 04:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:30: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-08-10 04:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296866816001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296866816001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296866816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":152547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:30:38] local.INFO: GPS data processed {"connection_id":152547,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:30:38] local.INFO: Acknowledgment sent {"connection_id":152547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:31:05] local.INFO: TCP Data received {"connection_id":151257,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:31:05] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:31:05] local.INFO: IMEI packet received {"connection_id":151257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":151257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:31:10] local.INFO: TCP Data received {"connection_id":151257,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:31:10] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:31:10] local.INFO: IMEI packet received {"connection_id":151257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":151257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:31:11] local.INFO: TCP Data received {"connection_id":151257,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:31:11] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:31:11] local.INFO: Packet analysis {"connection_id":151257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:31:11] local.INFO: Extracted packet for processing {"connection_id":151257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296866816001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786316187000,"timestamp_ms":1786316187000,"timestamp_seconds":1786316187,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8bde578"} 
[2026-08-10 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-08-10 04:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:31: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-08-10 04:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296866816001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296866816001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:31:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296866816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":151257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:31:11] local.INFO: GPS data processed {"connection_id":151257,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:31:11] local.INFO: Acknowledgment sent {"connection_id":151257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:31:15] local.INFO: TCP Data received {"connection_id":151257,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:31:15] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:31:15] local.INFO: Packet analysis {"connection_id":151257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:31:15] local.INFO: Extracted packet for processing {"connection_id":151257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296866816001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786316187000,"timestamp_ms":1786316187000,"timestamp_seconds":1786316187,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8bde578"} 
[2026-08-10 04:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296866816001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296866816001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296866816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":151257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:31:15] local.INFO: GPS data processed {"connection_id":151257,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:31:15] local.INFO: Acknowledgment sent {"connection_id":151257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:32:01] local.INFO: TCP Data received {"connection_id":153990,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:32:01] local.INFO: Processing buffer {"connection_id":153990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:32:01] local.INFO: IMEI packet received {"connection_id":153990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":153990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:32:05] local.INFO: TCP Data received {"connection_id":153990,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:32:05] local.INFO: Processing buffer {"connection_id":153990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:32:05] local.INFO: IMEI packet received {"connection_id":153990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":153990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:32:06] local.INFO: TCP Data received {"connection_id":153990,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:32:06] local.INFO: Processing buffer {"connection_id":153990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8bde578012d34c20006aa3f08000700f32a..."} 
[2026-08-10 04:32:06] local.INFO: Packet analysis {"connection_id":153990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:32:06] local.INFO: Extracted packet for processing {"connection_id":153990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8bd"} 
[2026-08-10 04:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296866816001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786316187000,"timestamp_ms":1786316187000,"timestamp_seconds":1786316187,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8bde578"} 
[2026-08-10 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-08-10 04:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-10 04:32: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-08-10 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-08-10 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-08-10 04:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296866816001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296866816001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296866816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":153990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:32:06] local.INFO: GPS data processed {"connection_id":153990,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:32:06] local.INFO: Acknowledgment sent {"connection_id":153990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:32:07] local.INFO: TCP Data received {"connection_id":153990,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:32:07] local.INFO: Processing buffer {"connection_id":153990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:32:07] local.INFO: Packet analysis {"connection_id":153990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:32:07] local.INFO: Extracted packet for processing {"connection_id":153990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296943872001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786316488000,"timestamp_ms":1786316488000,"timestamp_seconds":1786316488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c27d40"} 
[2026-08-10 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-08-10 04:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:32: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-08-10 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-08-10 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-08-10 04:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296943872001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296943872001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296943872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":153990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:32:07] local.INFO: GPS data processed {"connection_id":153990,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:32:07] local.INFO: Acknowledgment sent {"connection_id":153990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:32:38] local.INFO: TCP Data received {"connection_id":153990,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:32:38] local.INFO: Processing buffer {"connection_id":153990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:32:38] local.INFO: Packet analysis {"connection_id":153990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:32:38] local.INFO: Extracted packet for processing {"connection_id":153990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296943872001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786316488000,"timestamp_ms":1786316488000,"timestamp_seconds":1786316488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c27d40"} 
[2026-08-10 04:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:32: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-08-10 04: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-08-10 04:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296943872001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296943872001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296943872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":153990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:32:38] local.INFO: GPS data processed {"connection_id":153990,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:32:38] local.INFO: Acknowledgment sent {"connection_id":153990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:33:00] local.INFO: TCP Data received {"connection_id":151258,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:33:00] local.INFO: Processing buffer {"connection_id":151258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:33:00] local.INFO: IMEI packet received {"connection_id":151258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":151258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:33:05] local.INFO: TCP Data received {"connection_id":151258,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:33:05] local.INFO: Processing buffer {"connection_id":151258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:33:05] local.INFO: IMEI packet received {"connection_id":151258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":151258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:33:06] local.INFO: TCP Data received {"connection_id":151258,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:33:06] local.INFO: Processing buffer {"connection_id":151258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:33:06] local.INFO: Packet analysis {"connection_id":151258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:33:06] local.INFO: Extracted packet for processing {"connection_id":151258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296943872001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786316488000,"timestamp_ms":1786316488000,"timestamp_seconds":1786316488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c27d40"} 
[2026-08-10 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-08-10 04:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:33: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-08-10 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-08-10 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-08-10 04:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296943872001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296943872001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296943872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":151258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:33:06] local.INFO: GPS data processed {"connection_id":151258,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:33:06] local.INFO: Acknowledgment sent {"connection_id":151258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:33:37] local.INFO: TCP Data received {"connection_id":151258,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:33:37] local.INFO: Processing buffer {"connection_id":151258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:33:37] local.INFO: Packet analysis {"connection_id":151258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:33:37] local.INFO: Extracted packet for processing {"connection_id":151258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296943872001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786316488000,"timestamp_ms":1786316488000,"timestamp_seconds":1786316488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c27d40"} 
[2026-08-10 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-08-10 04:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:33: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-08-10 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-08-10 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-08-10 04:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296943872001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296943872001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296943872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":151258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:33:37] local.INFO: GPS data processed {"connection_id":151258,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:33:37] local.INFO: Acknowledgment sent {"connection_id":151258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:34:00] local.INFO: TCP Data received {"connection_id":151630,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:34:00] local.INFO: Processing buffer {"connection_id":151630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:34:00] local.INFO: IMEI packet received {"connection_id":151630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":151630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:34:05] local.INFO: TCP Data received {"connection_id":151630,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:34:05] local.INFO: Processing buffer {"connection_id":151630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:34:05] local.INFO: IMEI packet received {"connection_id":151630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":151630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:34:06] local.INFO: TCP Data received {"connection_id":151630,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:34:06] local.INFO: Processing buffer {"connection_id":151630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:34:06] local.INFO: Packet analysis {"connection_id":151630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:34:06] local.INFO: Extracted packet for processing {"connection_id":151630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296943872001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786316488000,"timestamp_ms":1786316488000,"timestamp_seconds":1786316488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c27d40"} 
[2026-08-10 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-08-10 04:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:34: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-08-10 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-08-10 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-08-10 04:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296943872001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296943872001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296943872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":151630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:34:06] local.INFO: GPS data processed {"connection_id":151630,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:34:06] local.INFO: Acknowledgment sent {"connection_id":151630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:34:37] local.INFO: TCP Data received {"connection_id":151630,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:34:37] local.INFO: Processing buffer {"connection_id":151630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:34:37] local.INFO: Packet analysis {"connection_id":151630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:34:37] local.INFO: Extracted packet for processing {"connection_id":151630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296943872001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786316488000,"timestamp_ms":1786316488000,"timestamp_seconds":1786316488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c27d40"} 
[2026-08-10 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-08-10 04:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:34: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-08-10 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-08-10 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-08-10 04:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296943872001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296943872001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296943872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":151630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:34:37] local.INFO: GPS data processed {"connection_id":151630,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:34:37] local.INFO: Acknowledgment sent {"connection_id":151630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:35:00] local.INFO: TCP Data received {"connection_id":151631,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:35:00] local.INFO: Processing buffer {"connection_id":151631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:35:00] local.INFO: IMEI packet received {"connection_id":151631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":151631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:35:05] local.INFO: TCP Data received {"connection_id":151631,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:35:05] local.INFO: Processing buffer {"connection_id":151631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:35:05] local.INFO: IMEI packet received {"connection_id":151631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":151631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:35:07] local.INFO: TCP Data received {"connection_id":151631,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:35:07] local.INFO: Processing buffer {"connection_id":151631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:35:07] local.INFO: Packet analysis {"connection_id":151631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:35:07] local.INFO: Extracted packet for processing {"connection_id":151631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296943872001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786316488000,"timestamp_ms":1786316488000,"timestamp_seconds":1786316488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c27d40"} 
[2026-08-10 04:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:35: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-08-10 04:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:35: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-08-10 04:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296943872001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296943872001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296943872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":151631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:35:07] local.INFO: GPS data processed {"connection_id":151631,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:35:07] local.INFO: Acknowledgment sent {"connection_id":151631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:35:38] local.INFO: TCP Data received {"connection_id":151631,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:35:38] local.INFO: Processing buffer {"connection_id":151631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:35:38] local.INFO: Packet analysis {"connection_id":151631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:35:38] local.INFO: Extracted packet for processing {"connection_id":151631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296943872001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786316488000,"timestamp_ms":1786316488000,"timestamp_seconds":1786316488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c27d40"} 
[2026-08-10 04:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:35: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-08-10 04:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:35: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-08-10 04:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296943872001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296943872001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296943872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":151631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:35:38] local.INFO: GPS data processed {"connection_id":151631,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:35:38] local.INFO: Acknowledgment sent {"connection_id":151631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:36:05] local.INFO: TCP Data received {"connection_id":152548,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:36:05] local.INFO: Processing buffer {"connection_id":152548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:36:05] local.INFO: IMEI packet received {"connection_id":152548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":152548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:36:10] local.INFO: TCP Data received {"connection_id":152548,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:36:10] local.INFO: Processing buffer {"connection_id":152548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:36:10] local.INFO: IMEI packet received {"connection_id":152548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":152548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:36:11] local.INFO: TCP Data received {"connection_id":152548,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:36:11] local.INFO: Processing buffer {"connection_id":152548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:36:11] local.INFO: Packet analysis {"connection_id":152548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:36:11] local.INFO: Extracted packet for processing {"connection_id":152548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296943872001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786316488000,"timestamp_ms":1786316488000,"timestamp_seconds":1786316488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c27d40"} 
[2026-08-10 04:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:36: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-08-10 04:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296943872001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296943872001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:36:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:36:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296943872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":152548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:36:11] local.INFO: GPS data processed {"connection_id":152548,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:36:11] local.INFO: Acknowledgment sent {"connection_id":152548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:36:15] local.INFO: TCP Data received {"connection_id":152548,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:36:15] local.INFO: Processing buffer {"connection_id":152548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:36:15] local.INFO: Packet analysis {"connection_id":152548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:36:15] local.INFO: Extracted packet for processing {"connection_id":152548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296943872001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786316488000,"timestamp_ms":1786316488000,"timestamp_seconds":1786316488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c27d40"} 
[2026-08-10 04:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:36: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-08-10 04:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296943872001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296943872001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296943872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":152548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:36:15] local.INFO: GPS data processed {"connection_id":152548,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:36:15] local.INFO: Acknowledgment sent {"connection_id":152548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:37:00] local.INFO: TCP Data received {"connection_id":153991,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:37:00] local.INFO: Processing buffer {"connection_id":153991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:37:00] local.INFO: IMEI packet received {"connection_id":153991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":153991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:37:05] local.INFO: TCP Data received {"connection_id":153991,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:37:05] local.INFO: Processing buffer {"connection_id":153991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:37:05] local.INFO: IMEI packet received {"connection_id":153991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":153991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:37:06] local.INFO: TCP Data received {"connection_id":153991,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:37:06] local.INFO: Processing buffer {"connection_id":153991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c27d40012d34c20006aa3f08000300f329..."} 
[2026-08-10 04:37:06] local.INFO: Packet analysis {"connection_id":153991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:37:06] local.INFO: Extracted packet for processing {"connection_id":153991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c2"} 
[2026-08-10 04:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457296943872001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786316488000,"timestamp_ms":1786316488000,"timestamp_seconds":1786316488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c27d40"} 
[2026-08-10 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-08-10 04:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:37: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-08-10 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-08-10 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-08-10 04:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457296943872001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457296943872001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457296943872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":153991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:37:06] local.INFO: GPS data processed {"connection_id":153991,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:37:06] local.INFO: Acknowledgment sent {"connection_id":153991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:37:37] local.INFO: TCP Data received {"connection_id":153991,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:37:37] local.INFO: Processing buffer {"connection_id":153991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:37:37] local.INFO: Packet analysis {"connection_id":153991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:37:37] local.INFO: Extracted packet for processing {"connection_id":153991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297020928001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786316789000,"timestamp_ms":1786316789000,"timestamp_seconds":1786316789,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c71508"} 
[2026-08-10 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-08-10 04:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:37: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-08-10 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-08-10 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-08-10 04:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297020928001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297020928001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297020928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":153991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:37:37] local.INFO: GPS data processed {"connection_id":153991,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:37:37] local.INFO: Acknowledgment sent {"connection_id":153991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:38:00] local.INFO: TCP Data received {"connection_id":151632,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:38:00] local.INFO: Processing buffer {"connection_id":151632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:38:00] local.INFO: IMEI packet received {"connection_id":151632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":151632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:38:05] local.INFO: TCP Data received {"connection_id":151632,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:38:05] local.INFO: Processing buffer {"connection_id":151632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:38:05] local.INFO: IMEI packet received {"connection_id":151632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":151632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:38:06] local.INFO: TCP Data received {"connection_id":151632,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:38:06] local.INFO: Processing buffer {"connection_id":151632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:38:06] local.INFO: Packet analysis {"connection_id":151632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:38:06] local.INFO: Extracted packet for processing {"connection_id":151632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:38:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297020928001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786316789000,"timestamp_ms":1786316789000,"timestamp_seconds":1786316789,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c71508"} 
[2026-08-10 04:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:38: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-08-10 04: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-08-10 04:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297020928001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297020928001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:38:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:38:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297020928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":151632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:38:06] local.INFO: GPS data processed {"connection_id":151632,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:38:06] local.INFO: Acknowledgment sent {"connection_id":151632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:39:00] local.INFO: TCP Data received {"connection_id":151632,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:39:00] local.INFO: Processing buffer {"connection_id":151632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:39:00] local.INFO: Packet analysis {"connection_id":151632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:39:00] local.INFO: Extracted packet for processing {"connection_id":151632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:39:00] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297020928001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786316789000,"timestamp_ms":1786316789000,"timestamp_seconds":1786316789,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c71508"} 
[2026-08-10 04:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:39: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-08-10 04:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297020928001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297020928001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:39:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:39:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297020928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":151632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:39:00] local.INFO: GPS data processed {"connection_id":151632,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:39:00] local.INFO: Acknowledgment sent {"connection_id":151632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:39:00] local.INFO: TCP Data received {"connection_id":152549,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:39:00] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:39:00] local.INFO: IMEI packet received {"connection_id":152549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":152549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:39:05] local.INFO: TCP Data received {"connection_id":152549,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:39:05] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:39:05] local.INFO: IMEI packet received {"connection_id":152549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":152549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:39:06] local.INFO: TCP Data received {"connection_id":152549,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:39:06] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:39:06] local.INFO: Packet analysis {"connection_id":152549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:39:06] local.INFO: Extracted packet for processing {"connection_id":152549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297020928001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786316789000,"timestamp_ms":1786316789000,"timestamp_seconds":1786316789,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c71508"} 
[2026-08-10 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-08-10 04:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:39: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-08-10 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-08-10 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-08-10 04:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297020928001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297020928001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297020928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":152549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:39:06] local.INFO: GPS data processed {"connection_id":152549,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:39:06] local.INFO: Acknowledgment sent {"connection_id":152549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:39:37] local.INFO: TCP Data received {"connection_id":152549,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:39:37] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:39:37] local.INFO: Packet analysis {"connection_id":152549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:39:37] local.INFO: Extracted packet for processing {"connection_id":152549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297020928001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786316789000,"timestamp_ms":1786316789000,"timestamp_seconds":1786316789,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c71508"} 
[2026-08-10 04:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:39: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-08-10 04:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297020928001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297020928001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297020928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":152549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:39:37] local.INFO: GPS data processed {"connection_id":152549,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:39:37] local.INFO: Acknowledgment sent {"connection_id":152549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:40:05] local.INFO: TCP Data received {"connection_id":151259,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:40:05] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:40:05] local.INFO: IMEI packet received {"connection_id":151259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":151259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:40:10] local.INFO: TCP Data received {"connection_id":151259,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:40:10] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:40:10] local.INFO: IMEI packet received {"connection_id":151259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":151259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:40:11] local.INFO: TCP Data received {"connection_id":151259,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:40:11] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:40:11] local.INFO: Packet analysis {"connection_id":151259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:40:11] local.INFO: Extracted packet for processing {"connection_id":151259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297020928001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786316789000,"timestamp_ms":1786316789000,"timestamp_seconds":1786316789,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c71508"} 
[2026-08-10 04:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:40: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-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:40: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-08-10 04:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297020928001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297020928001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:40:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:40:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297020928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":151259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:40:12] local.INFO: GPS data processed {"connection_id":151259,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:40:12] local.INFO: Acknowledgment sent {"connection_id":151259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:40:15] local.INFO: TCP Data received {"connection_id":151259,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:40:15] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:40:15] local.INFO: Packet analysis {"connection_id":151259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:40:15] local.INFO: Extracted packet for processing {"connection_id":151259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297020928001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786316789000,"timestamp_ms":1786316789000,"timestamp_seconds":1786316789,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c71508"} 
[2026-08-10 04:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:40: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-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:40: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-08-10 04:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297020928001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297020928001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297020928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":151259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:40:15] local.INFO: GPS data processed {"connection_id":151259,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:40:15] local.INFO: Acknowledgment sent {"connection_id":151259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:41:00] local.INFO: TCP Data received {"connection_id":151633,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:41:00] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:41:00] local.INFO: IMEI packet received {"connection_id":151633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":151633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:41:05] local.INFO: TCP Data received {"connection_id":151633,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:41:05] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:41:05] local.INFO: IMEI packet received {"connection_id":151633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":151633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:41:07] local.INFO: TCP Data received {"connection_id":151633,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:41:07] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:41:07] local.INFO: Packet analysis {"connection_id":151633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:41:07] local.INFO: Extracted packet for processing {"connection_id":151633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297020928001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786316789000,"timestamp_ms":1786316789000,"timestamp_seconds":1786316789,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c71508"} 
[2026-08-10 04:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:41: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-08-10 04:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297020928001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297020928001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297020928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":151633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:41:07] local.INFO: GPS data processed {"connection_id":151633,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:41:07] local.INFO: Acknowledgment sent {"connection_id":151633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:41:38] local.INFO: TCP Data received {"connection_id":151633,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:41:38] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:41:38] local.INFO: Packet analysis {"connection_id":151633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:41:38] local.INFO: Extracted packet for processing {"connection_id":151633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297020928001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786316789000,"timestamp_ms":1786316789000,"timestamp_seconds":1786316789,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c71508"} 
[2026-08-10 04:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:41: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-08-10 04: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-08-10 04:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297020928001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297020928001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297020928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":151633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:41:38] local.INFO: GPS data processed {"connection_id":151633,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:41:38] local.INFO: Acknowledgment sent {"connection_id":151633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:42:00] local.INFO: TCP Data received {"connection_id":153992,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:42:00] local.INFO: Processing buffer {"connection_id":153992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:42:00] local.INFO: IMEI packet received {"connection_id":153992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":153992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:42:05] local.INFO: TCP Data received {"connection_id":153992,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:42:05] local.INFO: Processing buffer {"connection_id":153992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:42:05] local.INFO: IMEI packet received {"connection_id":153992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":153992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:42:06] local.INFO: TCP Data received {"connection_id":153992,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:42:06] local.INFO: Processing buffer {"connection_id":153992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8c71508012d34c20006aa3f08000900f329..."} 
[2026-08-10 04:42:06] local.INFO: Packet analysis {"connection_id":153992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:42:06] local.INFO: Extracted packet for processing {"connection_id":153992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8c7"} 
[2026-08-10 04:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297020928001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786316789000,"timestamp_ms":1786316789000,"timestamp_seconds":1786316789,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8c71508"} 
[2026-08-10 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-08-10 04:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:42: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-08-10 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-08-10 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-08-10 04:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297020928001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297020928001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:42:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:42:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297020928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":153992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:42:06] local.INFO: GPS data processed {"connection_id":153992,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:42:06] local.INFO: Acknowledgment sent {"connection_id":153992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:42:37] local.INFO: TCP Data received {"connection_id":153992,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:42:37] local.INFO: Processing buffer {"connection_id":153992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:42:37] local.INFO: Packet analysis {"connection_id":153992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:42:37] local.INFO: Extracted packet for processing {"connection_id":153992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297097984001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786317090000,"timestamp_ms":1786317090000,"timestamp_seconds":1786317090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8cbacd0"} 
[2026-08-10 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-08-10 04:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:42: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-08-10 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-08-10 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-08-10 04:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297097984001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297097984001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297097984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":153992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:42:37] local.INFO: GPS data processed {"connection_id":153992,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:42:37] local.INFO: Acknowledgment sent {"connection_id":153992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:43:00] local.INFO: TCP Data received {"connection_id":151260,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:43:00] local.INFO: Processing buffer {"connection_id":151260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:43:00] local.INFO: IMEI packet received {"connection_id":151260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":151260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:43:05] local.INFO: TCP Data received {"connection_id":151260,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:43:05] local.INFO: Processing buffer {"connection_id":151260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:43:05] local.INFO: IMEI packet received {"connection_id":151260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":151260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:43:08] local.INFO: TCP Data received {"connection_id":151260,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:43:08] local.INFO: Processing buffer {"connection_id":151260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:43:08] local.INFO: Packet analysis {"connection_id":151260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:43:08] local.INFO: Extracted packet for processing {"connection_id":151260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297097984001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786317090000,"timestamp_ms":1786317090000,"timestamp_seconds":1786317090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8cbacd0"} 
[2026-08-10 04:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:43: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-08-10 04:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297097984001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297097984001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297097984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":151260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:43:08] local.INFO: GPS data processed {"connection_id":151260,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:43:08] local.INFO: Acknowledgment sent {"connection_id":151260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:43:39] local.INFO: TCP Data received {"connection_id":151260,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:43:39] local.INFO: Processing buffer {"connection_id":151260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:43:39] local.INFO: Packet analysis {"connection_id":151260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:43:39] local.INFO: Extracted packet for processing {"connection_id":151260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297097984001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786317090000,"timestamp_ms":1786317090000,"timestamp_seconds":1786317090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8cbacd0"} 
[2026-08-10 04:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:43: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-08-10 04:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297097984001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297097984001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:43:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:43:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297097984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":151260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:43:39] local.INFO: GPS data processed {"connection_id":151260,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:43:39] local.INFO: Acknowledgment sent {"connection_id":151260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:44:05] local.INFO: TCP Data received {"connection_id":153993,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:44:05] local.INFO: Processing buffer {"connection_id":153993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:44:05] local.INFO: IMEI packet received {"connection_id":153993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":153993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:44:10] local.INFO: TCP Data received {"connection_id":153993,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:44:10] local.INFO: Processing buffer {"connection_id":153993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:44:10] local.INFO: IMEI packet received {"connection_id":153993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":153993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:44:10] local.INFO: TCP Data received {"connection_id":153993,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:44:10] local.INFO: Processing buffer {"connection_id":153993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:44:10] local.INFO: Packet analysis {"connection_id":153993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:44:10] local.INFO: Extracted packet for processing {"connection_id":153993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297097984001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786317090000,"timestamp_ms":1786317090000,"timestamp_seconds":1786317090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8cbacd0"} 
[2026-08-10 04:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:44: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-08-10 04:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297097984001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297097984001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297097984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":153993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:44:10] local.INFO: GPS data processed {"connection_id":153993,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:44:10] local.INFO: Acknowledgment sent {"connection_id":153993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:44:16] local.INFO: TCP Data received {"connection_id":153993,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:44:16] local.INFO: Processing buffer {"connection_id":153993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:44:16] local.INFO: Packet analysis {"connection_id":153993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:44:16] local.INFO: Extracted packet for processing {"connection_id":153993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297097984001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786317090000,"timestamp_ms":1786317090000,"timestamp_seconds":1786317090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8cbacd0"} 
[2026-08-10 04:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:44: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-08-10 04:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297097984001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297097984001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:44:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297097984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":153993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:44:16] local.INFO: GPS data processed {"connection_id":153993,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:44:16] local.INFO: Acknowledgment sent {"connection_id":153993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:45:01] local.INFO: TCP Data received {"connection_id":153994,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:45:01] local.INFO: Processing buffer {"connection_id":153994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:45:01] local.INFO: IMEI packet received {"connection_id":153994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":153994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:45:05] local.INFO: TCP Data received {"connection_id":153994,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:45:05] local.INFO: Processing buffer {"connection_id":153994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:45:05] local.INFO: IMEI packet received {"connection_id":153994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":153994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:45:06] local.INFO: TCP Data received {"connection_id":153994,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:45:06] local.INFO: Processing buffer {"connection_id":153994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:45:06] local.INFO: Packet analysis {"connection_id":153994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:45:06] local.INFO: Extracted packet for processing {"connection_id":153994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297097984001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786317090000,"timestamp_ms":1786317090000,"timestamp_seconds":1786317090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8cbacd0"} 
[2026-08-10 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-08-10 04:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:45: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-08-10 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-08-10 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-08-10 04:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297097984001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297097984001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297097984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":153994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:45:06] local.INFO: GPS data processed {"connection_id":153994,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:45:06] local.INFO: Acknowledgment sent {"connection_id":153994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:45:10] local.INFO: TCP Data received {"connection_id":153994,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:45:10] local.INFO: Processing buffer {"connection_id":153994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:45:10] local.INFO: Packet analysis {"connection_id":153994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:45:10] local.INFO: Extracted packet for processing {"connection_id":153994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297097984001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786317090000,"timestamp_ms":1786317090000,"timestamp_seconds":1786317090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8cbacd0"} 
[2026-08-10 04:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297097984001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297097984001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:45:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297097984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":153994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:45:10] local.INFO: GPS data processed {"connection_id":153994,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:45:10] local.INFO: Acknowledgment sent {"connection_id":153994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:45:42] local.INFO: TCP Data received {"connection_id":153994,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:45:42] local.INFO: Processing buffer {"connection_id":153994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:45:42] local.INFO: Packet analysis {"connection_id":153994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:45:42] local.INFO: Extracted packet for processing {"connection_id":153994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297097984001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786317090000,"timestamp_ms":1786317090000,"timestamp_seconds":1786317090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8cbacd0"} 
[2026-08-10 04:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04: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-08-10 04:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297097984001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297097984001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297097984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":153994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:45:42] local.INFO: GPS data processed {"connection_id":153994,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:45:42] local.INFO: Acknowledgment sent {"connection_id":153994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:46:00] local.INFO: TCP Data received {"connection_id":151261,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:46:00] local.INFO: Processing buffer {"connection_id":151261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:46:00] local.INFO: IMEI packet received {"connection_id":151261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":151261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:46:05] local.INFO: TCP Data received {"connection_id":151261,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:46:05] local.INFO: Processing buffer {"connection_id":151261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:46:05] local.INFO: IMEI packet received {"connection_id":151261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":151261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:46:06] local.INFO: TCP Data received {"connection_id":151261,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:46:06] local.INFO: Processing buffer {"connection_id":151261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:46:06] local.INFO: Packet analysis {"connection_id":151261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:46:06] local.INFO: Extracted packet for processing {"connection_id":151261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297097984001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786317090000,"timestamp_ms":1786317090000,"timestamp_seconds":1786317090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8cbacd0"} 
[2026-08-10 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-08-10 04:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:46: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-08-10 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-08-10 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-08-10 04:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297097984001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297097984001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297097984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":151261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:46:06] local.INFO: GPS data processed {"connection_id":151261,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:46:06] local.INFO: Acknowledgment sent {"connection_id":151261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:46:37] local.INFO: TCP Data received {"connection_id":151261,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:46:37] local.INFO: Processing buffer {"connection_id":151261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:46:37] local.INFO: Packet analysis {"connection_id":151261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:46:37] local.INFO: Extracted packet for processing {"connection_id":151261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297097984001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786317090000,"timestamp_ms":1786317090000,"timestamp_seconds":1786317090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8cbacd0"} 
[2026-08-10 04:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:46: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-08-10 04:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297097984001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297097984001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297097984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":151261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:46:37] local.INFO: GPS data processed {"connection_id":151261,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:46:37] local.INFO: Acknowledgment sent {"connection_id":151261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:47:00] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:47:00] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:47:00] local.INFO: IMEI packet received {"connection_id":151634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":151634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:47:05] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:47:05] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:47:05] local.INFO: IMEI packet received {"connection_id":151634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":151634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:47:07] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:47:07] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8cbacd0012d34c20006aa3f08000400f329..."} 
[2026-08-10 04:47:07] local.INFO: Packet analysis {"connection_id":151634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:47:07] local.INFO: Extracted packet for processing {"connection_id":151634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8cb"} 
[2026-08-10 04:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297097984001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786317090000,"timestamp_ms":1786317090000,"timestamp_seconds":1786317090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8cbacd0"} 
[2026-08-10 04:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 04:47: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-08-10 04:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297097984001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297097984001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:47:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297097984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":151634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:47:07] local.INFO: GPS data processed {"connection_id":151634,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:47:07] local.INFO: Acknowledgment sent {"connection_id":151634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:47:38] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:47:38] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:47:38] local.INFO: Packet analysis {"connection_id":151634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:47:38] local.INFO: Extracted packet for processing {"connection_id":151634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297175040001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786317391000,"timestamp_ms":1786317391000,"timestamp_seconds":1786317391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d04498"} 
[2026-08-10 04:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297175040001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297175040001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297175040001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":151634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:47:38] local.INFO: GPS data processed {"connection_id":151634,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:47:38] local.INFO: Acknowledgment sent {"connection_id":151634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:48:00] local.INFO: TCP Data received {"connection_id":153995,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:48:00] local.INFO: Processing buffer {"connection_id":153995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:48:00] local.INFO: IMEI packet received {"connection_id":153995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":153995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:48:05] local.INFO: TCP Data received {"connection_id":153995,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:48:05] local.INFO: Processing buffer {"connection_id":153995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:48:05] local.INFO: IMEI packet received {"connection_id":153995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":153995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:48:06] local.INFO: TCP Data received {"connection_id":153995,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:48:06] local.INFO: Processing buffer {"connection_id":153995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:48:06] local.INFO: Packet analysis {"connection_id":153995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:48:06] local.INFO: Extracted packet for processing {"connection_id":153995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:48:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297175040001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786317391000,"timestamp_ms":1786317391000,"timestamp_seconds":1786317391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d04498"} 
[2026-08-10 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-08-10 04:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297175040001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297175040001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:48:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297175040001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":153995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:48:06] local.INFO: GPS data processed {"connection_id":153995,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:48:06] local.INFO: Acknowledgment sent {"connection_id":153995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:48:37] local.INFO: TCP Data received {"connection_id":153995,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:48:37] local.INFO: Processing buffer {"connection_id":153995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:48:37] local.INFO: Packet analysis {"connection_id":153995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:48:37] local.INFO: Extracted packet for processing {"connection_id":153995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297175040001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786317391000,"timestamp_ms":1786317391000,"timestamp_seconds":1786317391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d04498"} 
[2026-08-10 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-08-10 04:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297175040001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297175040001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297175040001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":153995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:48:37] local.INFO: GPS data processed {"connection_id":153995,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:48:37] local.INFO: Acknowledgment sent {"connection_id":153995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:49:05] local.INFO: TCP Data received {"connection_id":151262,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:49:05] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:49:05] local.INFO: IMEI packet received {"connection_id":151262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":151262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:49:10] local.INFO: TCP Data received {"connection_id":151262,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:49:10] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:49:10] local.INFO: IMEI packet received {"connection_id":151262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":151262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:49:11] local.INFO: TCP Data received {"connection_id":151262,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:49:11] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:49:11] local.INFO: Packet analysis {"connection_id":151262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:49:11] local.INFO: Extracted packet for processing {"connection_id":151262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297175040001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786317391000,"timestamp_ms":1786317391000,"timestamp_seconds":1786317391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d04498"} 
[2026-08-10 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-08-10 04:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297175040001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297175040001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:49:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:49:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297175040001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":151262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:49:11] local.INFO: GPS data processed {"connection_id":151262,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:49:11] local.INFO: Acknowledgment sent {"connection_id":151262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:49:15] local.INFO: TCP Data received {"connection_id":151262,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:49:15] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:49:15] local.INFO: Packet analysis {"connection_id":151262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:49:15] local.INFO: Extracted packet for processing {"connection_id":151262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297175040001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786317391000,"timestamp_ms":1786317391000,"timestamp_seconds":1786317391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d04498"} 
[2026-08-10 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-08-10 04:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297175040001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297175040001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297175040001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":151262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:49:15] local.INFO: GPS data processed {"connection_id":151262,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:49:15] local.INFO: Acknowledgment sent {"connection_id":151262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:50:00] local.INFO: TCP Data received {"connection_id":152550,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:50:00] local.INFO: Processing buffer {"connection_id":152550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:50:00] local.INFO: IMEI packet received {"connection_id":152550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":152550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:50:05] local.INFO: TCP Data received {"connection_id":152550,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:50:05] local.INFO: Processing buffer {"connection_id":152550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:50:05] local.INFO: IMEI packet received {"connection_id":152550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":152550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:50:06] local.INFO: TCP Data received {"connection_id":152550,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:50:06] local.INFO: Processing buffer {"connection_id":152550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:50:06] local.INFO: Packet analysis {"connection_id":152550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:50:06] local.INFO: Extracted packet for processing {"connection_id":152550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297175040001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786317391000,"timestamp_ms":1786317391000,"timestamp_seconds":1786317391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d04498"} 
[2026-08-10 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-08-10 04:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297175040001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297175040001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297175040001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":152550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:50:06] local.INFO: GPS data processed {"connection_id":152550,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:50:06] local.INFO: Acknowledgment sent {"connection_id":152550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:50:37] local.INFO: TCP Data received {"connection_id":152550,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:50:37] local.INFO: Processing buffer {"connection_id":152550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:50:37] local.INFO: Packet analysis {"connection_id":152550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:50:37] local.INFO: Extracted packet for processing {"connection_id":152550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297175040001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786317391000,"timestamp_ms":1786317391000,"timestamp_seconds":1786317391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d04498"} 
[2026-08-10 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-08-10 04:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297175040001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297175040001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297175040001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":152550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:50:37] local.INFO: GPS data processed {"connection_id":152550,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:50:37] local.INFO: Acknowledgment sent {"connection_id":152550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:51:00] local.INFO: TCP Data received {"connection_id":151263,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:51:00] local.INFO: Processing buffer {"connection_id":151263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:51:00] local.INFO: IMEI packet received {"connection_id":151263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":151263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:51:05] local.INFO: TCP Data received {"connection_id":151263,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:51:05] local.INFO: Processing buffer {"connection_id":151263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:51:05] local.INFO: IMEI packet received {"connection_id":151263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":151263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:51:09] local.INFO: TCP Data received {"connection_id":151263,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:51:09] local.INFO: Processing buffer {"connection_id":151263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:51:09] local.INFO: Packet analysis {"connection_id":151263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:51:09] local.INFO: Extracted packet for processing {"connection_id":151263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297175040001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786317391000,"timestamp_ms":1786317391000,"timestamp_seconds":1786317391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d04498"} 
[2026-08-10 04:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:51: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-08-10 04: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-08-10 04:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297175040001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297175040001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297175040001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":151263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:51:09] local.INFO: GPS data processed {"connection_id":151263,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:51:09] local.INFO: Acknowledgment sent {"connection_id":151263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:51:43] local.INFO: TCP Data received {"connection_id":151263,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:51:43] local.INFO: Processing buffer {"connection_id":151263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:51:43] local.INFO: Packet analysis {"connection_id":151263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:51:43] local.INFO: Extracted packet for processing {"connection_id":151263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297175040001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786317391000,"timestamp_ms":1786317391000,"timestamp_seconds":1786317391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d04498"} 
[2026-08-10 04:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297175040001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297175040001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:51:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297175040001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":151263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:51:43] local.INFO: GPS data processed {"connection_id":151263,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:51:43] local.INFO: Acknowledgment sent {"connection_id":151263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:52:00] local.INFO: TCP Data received {"connection_id":151264,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:52:00] local.INFO: Processing buffer {"connection_id":151264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:52:00] local.INFO: IMEI packet received {"connection_id":151264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":151264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:52:05] local.INFO: TCP Data received {"connection_id":151264,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:52:05] local.INFO: Processing buffer {"connection_id":151264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:52:05] local.INFO: IMEI packet received {"connection_id":151264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":151264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:52:05] local.INFO: TCP Data received {"connection_id":151264,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:52:05] local.INFO: Processing buffer {"connection_id":151264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d04498012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 04:52:05] local.INFO: Packet analysis {"connection_id":151264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:52:05] local.INFO: Extracted packet for processing {"connection_id":151264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d0"} 
[2026-08-10 04:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297175040001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786317391000,"timestamp_ms":1786317391000,"timestamp_seconds":1786317391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d04498"} 
[2026-08-10 04:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:52: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-08-10 04:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297175040001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297175040001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297175040001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":151264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:52:06] local.INFO: GPS data processed {"connection_id":151264,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:52:06] local.INFO: Acknowledgment sent {"connection_id":151264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:52:36] local.INFO: TCP Data received {"connection_id":151264,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:52:36] local.INFO: Processing buffer {"connection_id":151264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:52:36] local.INFO: Packet analysis {"connection_id":151264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:52:36] local.INFO: Extracted packet for processing {"connection_id":151264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297252096001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786317692000,"timestamp_ms":1786317692000,"timestamp_seconds":1786317692,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d4dc60"} 
[2026-08-10 04:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 04:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04: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-08-10 04:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297252096001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297252096001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297252096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":151264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:52:36] local.INFO: GPS data processed {"connection_id":151264,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:52:36] local.INFO: Acknowledgment sent {"connection_id":151264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:53:05] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:53:05] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:53:05] local.INFO: IMEI packet received {"connection_id":152551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":152551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:53:10] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:53:10] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:53:10] local.INFO: IMEI packet received {"connection_id":152551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":152551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:53:11] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:53:11] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:53:11] local.INFO: Packet analysis {"connection_id":152551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:53:11] local.INFO: Extracted packet for processing {"connection_id":152551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297252096001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786317692000,"timestamp_ms":1786317692000,"timestamp_seconds":1786317692,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d4dc60"} 
[2026-08-10 04:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 04:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297252096001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297252096001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:53:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:53:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297252096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":152551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:53:11] local.INFO: GPS data processed {"connection_id":152551,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:53:11] local.INFO: Acknowledgment sent {"connection_id":152551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:53:16] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:53:16] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:53:16] local.INFO: Packet analysis {"connection_id":152551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:53:16] local.INFO: Extracted packet for processing {"connection_id":152551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297252096001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786317692000,"timestamp_ms":1786317692000,"timestamp_seconds":1786317692,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d4dc60"} 
[2026-08-10 04:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 04:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297252096001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297252096001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297252096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":152551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:53:16] local.INFO: GPS data processed {"connection_id":152551,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:53:16] local.INFO: Acknowledgment sent {"connection_id":152551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:54:00] local.INFO: TCP Data received {"connection_id":151635,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:54:00] local.INFO: Processing buffer {"connection_id":151635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:54:00] local.INFO: IMEI packet received {"connection_id":151635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":151635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:54:05] local.INFO: TCP Data received {"connection_id":151635,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:54:05] local.INFO: Processing buffer {"connection_id":151635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:54:05] local.INFO: IMEI packet received {"connection_id":151635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":151635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:54:06] local.INFO: TCP Data received {"connection_id":151635,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:54:06] local.INFO: Processing buffer {"connection_id":151635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:54:06] local.INFO: Packet analysis {"connection_id":151635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:54:06] local.INFO: Extracted packet for processing {"connection_id":151635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297252096001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786317692000,"timestamp_ms":1786317692000,"timestamp_seconds":1786317692,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d4dc60"} 
[2026-08-10 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-08-10 04:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 04:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297252096001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297252096001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297252096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":151635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:54:06] local.INFO: GPS data processed {"connection_id":151635,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:54:06] local.INFO: Acknowledgment sent {"connection_id":151635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:54:37] local.INFO: TCP Data received {"connection_id":151635,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:54:37] local.INFO: Processing buffer {"connection_id":151635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:54:37] local.INFO: Packet analysis {"connection_id":151635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:54:37] local.INFO: Extracted packet for processing {"connection_id":151635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297252096001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786317692000,"timestamp_ms":1786317692000,"timestamp_seconds":1786317692,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d4dc60"} 
[2026-08-10 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-08-10 04:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 04:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297252096001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297252096001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297252096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":151635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:54:37] local.INFO: GPS data processed {"connection_id":151635,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:54:37] local.INFO: Acknowledgment sent {"connection_id":151635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:55:00] local.INFO: TCP Data received {"connection_id":153996,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:55:00] local.INFO: Processing buffer {"connection_id":153996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:55:00] local.INFO: IMEI packet received {"connection_id":153996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":153996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:55:05] local.INFO: TCP Data received {"connection_id":153996,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:55:05] local.INFO: Processing buffer {"connection_id":153996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:55:05] local.INFO: IMEI packet received {"connection_id":153996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":153996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:55:07] local.INFO: TCP Data received {"connection_id":153996,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:55:07] local.INFO: Processing buffer {"connection_id":153996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:55:07] local.INFO: Packet analysis {"connection_id":153996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:55:07] local.INFO: Extracted packet for processing {"connection_id":153996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297252096001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786317692000,"timestamp_ms":1786317692000,"timestamp_seconds":1786317692,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d4dc60"} 
[2026-08-10 04:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 04:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297252096001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297252096001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:55:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297252096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":153996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:55:07] local.INFO: GPS data processed {"connection_id":153996,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:55:07] local.INFO: Acknowledgment sent {"connection_id":153996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:55:38] local.INFO: TCP Data received {"connection_id":153996,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:55:38] local.INFO: Processing buffer {"connection_id":153996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:55:38] local.INFO: Packet analysis {"connection_id":153996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:55:38] local.INFO: Extracted packet for processing {"connection_id":153996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297252096001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786317692000,"timestamp_ms":1786317692000,"timestamp_seconds":1786317692,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d4dc60"} 
[2026-08-10 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-08-10 04:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 04:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297252096001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297252096001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297252096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":153996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:55:38] local.INFO: GPS data processed {"connection_id":153996,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:55:38] local.INFO: Acknowledgment sent {"connection_id":153996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:56:00] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:56:00] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:56:00] local.INFO: IMEI packet received {"connection_id":152552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":152552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:56:05] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:56:05] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:56:05] local.INFO: IMEI packet received {"connection_id":152552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":152552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:56:07] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:56:07] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:56:07] local.INFO: Packet analysis {"connection_id":152552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:56:07] local.INFO: Extracted packet for processing {"connection_id":152552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297252096001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786317692000,"timestamp_ms":1786317692000,"timestamp_seconds":1786317692,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d4dc60"} 
[2026-08-10 04:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 04:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297252096001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297252096001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:56:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297252096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":152552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:56:07] local.INFO: GPS data processed {"connection_id":152552,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:56:07] local.INFO: Acknowledgment sent {"connection_id":152552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:56:38] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:56:38] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:56:38] local.INFO: Packet analysis {"connection_id":152552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:56:38] local.INFO: Extracted packet for processing {"connection_id":152552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04: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-08-10 04:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297252096001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786317692000,"timestamp_ms":1786317692000,"timestamp_seconds":1786317692,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d4dc60"} 
[2026-08-10 04:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 04:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04: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-08-10 04:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297252096001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297252096001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297252096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":152552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:56:38] local.INFO: GPS data processed {"connection_id":152552,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:56:38] local.INFO: Acknowledgment sent {"connection_id":152552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:57:00] local.INFO: TCP Data received {"connection_id":151265,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:57:00] local.INFO: Processing buffer {"connection_id":151265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:57:00] local.INFO: IMEI packet received {"connection_id":151265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":151265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:57:05] local.INFO: TCP Data received {"connection_id":151265,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:57:05] local.INFO: Processing buffer {"connection_id":151265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:57:05] local.INFO: IMEI packet received {"connection_id":151265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":151265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:57:06] local.INFO: TCP Data received {"connection_id":151265,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:57:06] local.INFO: Processing buffer {"connection_id":151265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d4dc60012d34c20006aa3f08000a00f32b..."} 
[2026-08-10 04:57:06] local.INFO: Packet analysis {"connection_id":151265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:57:06] local.INFO: Extracted packet for processing {"connection_id":151265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d4"} 
[2026-08-10 04:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297252096001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786317692000,"timestamp_ms":1786317692000,"timestamp_seconds":1786317692,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d4dc60"} 
[2026-08-10 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-08-10 04:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 04:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297252096001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297252096001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297252096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":151265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:57:06] local.INFO: GPS data processed {"connection_id":151265,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:57:06] local.INFO: Acknowledgment sent {"connection_id":151265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:57:37] local.INFO: TCP Data received {"connection_id":151265,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:57:37] local.INFO: Processing buffer {"connection_id":151265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:57:37] local.INFO: Packet analysis {"connection_id":151265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 04:57:37] local.INFO: Extracted packet for processing {"connection_id":151265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 04:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297329152001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786317993000,"timestamp_ms":1786317993000,"timestamp_seconds":1786317993,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d97428"} 
[2026-08-10 04:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297329152001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297329152001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297329152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":151265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:57:37] local.INFO: GPS data processed {"connection_id":151265,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:57:37] local.INFO: Acknowledgment sent {"connection_id":151265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:58:05] local.INFO: TCP Data received {"connection_id":152553,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:58:05] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:58:05] local.INFO: IMEI packet received {"connection_id":152553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":152553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:58:10] local.INFO: TCP Data received {"connection_id":152553,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:58:10] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:58:10] local.INFO: IMEI packet received {"connection_id":152553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":152553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:58:11] local.INFO: TCP Data received {"connection_id":152553,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:58:11] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:58:11] local.INFO: Packet analysis {"connection_id":152553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 04:58:11] local.INFO: Extracted packet for processing {"connection_id":152553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 04:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297329152001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786317993000,"timestamp_ms":1786317993000,"timestamp_seconds":1786317993,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d97428"} 
[2026-08-10 04:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297329152001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297329152001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:58:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:58:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297329152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":152553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:58:11] local.INFO: GPS data processed {"connection_id":152553,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:58:11] local.INFO: Acknowledgment sent {"connection_id":152553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:58:15] local.INFO: TCP Data received {"connection_id":152553,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:58:15] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:58:15] local.INFO: Packet analysis {"connection_id":152553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 04:58:15] local.INFO: Extracted packet for processing {"connection_id":152553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 04:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297329152001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786317993000,"timestamp_ms":1786317993000,"timestamp_seconds":1786317993,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d97428"} 
[2026-08-10 04:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297329152001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297329152001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297329152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":152553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:58:15] local.INFO: GPS data processed {"connection_id":152553,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:58:15] local.INFO: Acknowledgment sent {"connection_id":152553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:59:00] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:59:00] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:59:00] local.INFO: IMEI packet received {"connection_id":151636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 04:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":151636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 04:59:05] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:59:05] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 04:59:05] local.INFO: IMEI packet received {"connection_id":151636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 04:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":151636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 04:59:06] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:59:06] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:59:06] local.INFO: Packet analysis {"connection_id":151636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 04:59:06] local.INFO: Extracted packet for processing {"connection_id":151636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 04:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 04:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297329152001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786317993000,"timestamp_ms":1786317993000,"timestamp_seconds":1786317993,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d97428"} 
[2026-08-10 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-08-10 04:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 04:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297329152001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297329152001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297329152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":151636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:59:06] local.INFO: GPS data processed {"connection_id":151636,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:59:06] local.INFO: Acknowledgment sent {"connection_id":151636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 04:59:37] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:59:37] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 04:59:37] local.INFO: Packet analysis {"connection_id":151636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 04:59:37] local.INFO: Extracted packet for processing {"connection_id":151636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 04:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 04:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 04:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297329152001,"note":"Value kept but may cause issues"} 
[2026-08-10 04:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 04:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 04:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 04:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786317993000,"timestamp_ms":1786317993000,"timestamp_seconds":1786317993,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d97428"} 
[2026-08-10 04:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 04:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 04:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 04:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 04:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 04:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 04:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 04:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 04:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 04:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 04:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 04:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 04:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297329152001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 04:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 04:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 04:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297329152001,"description":"Unknown IO ID 0"} 
[2026-08-10 04:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 04:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 04:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 04:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 04:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297329152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 04:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":151636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 04:59:37] local.INFO: GPS data processed {"connection_id":151636,"processed":1,"errors":0,"total":1} 
[2026-08-10 04:59:37] local.INFO: Acknowledgment sent {"connection_id":151636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:00:00] local.INFO: TCP Data received {"connection_id":153997,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:00:00] local.INFO: Processing buffer {"connection_id":153997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:00:00] local.INFO: IMEI packet received {"connection_id":153997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":153997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:00:05] local.INFO: TCP Data received {"connection_id":153997,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:00:05] local.INFO: Processing buffer {"connection_id":153997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:00:05] local.INFO: IMEI packet received {"connection_id":153997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":153997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:00:07] local.INFO: TCP Data received {"connection_id":153997,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:00:07] local.INFO: Processing buffer {"connection_id":153997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:00:07] local.INFO: Packet analysis {"connection_id":153997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 05:00:07] local.INFO: Extracted packet for processing {"connection_id":153997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 05:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297329152001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786317993000,"timestamp_ms":1786317993000,"timestamp_seconds":1786317993,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d97428"} 
[2026-08-10 05:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":255,"data_length":795,"current_offset":136} 
[2026-08-10 05:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05: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-08-10 05:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297329152001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297329152001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297329152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":153997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:00:07] local.INFO: GPS data processed {"connection_id":153997,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:00:07] local.INFO: Acknowledgment sent {"connection_id":153997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:00:38] local.INFO: TCP Data received {"connection_id":153997,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:00:38] local.INFO: Processing buffer {"connection_id":153997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:00:38] local.INFO: Packet analysis {"connection_id":153997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 05:00:38] local.INFO: Extracted packet for processing {"connection_id":153997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 05:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05: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-08-10 05:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297329152001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786317993000,"timestamp_ms":1786317993000,"timestamp_seconds":1786317993,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d97428"} 
[2026-08-10 05:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":255,"data_length":795,"current_offset":136} 
[2026-08-10 05:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05: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-08-10 05:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297329152001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297329152001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297329152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":153997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:00:38] local.INFO: GPS data processed {"connection_id":153997,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:00:38] local.INFO: Acknowledgment sent {"connection_id":153997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:01:00] local.INFO: TCP Data received {"connection_id":153998,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:01:00] local.INFO: Processing buffer {"connection_id":153998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:01:00] local.INFO: IMEI packet received {"connection_id":153998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":153998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:01:05] local.INFO: TCP Data received {"connection_id":153998,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:01:05] local.INFO: Processing buffer {"connection_id":153998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:01:05] local.INFO: IMEI packet received {"connection_id":153998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":153998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:01:06] local.INFO: TCP Data received {"connection_id":153998,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:01:06] local.INFO: Processing buffer {"connection_id":153998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:01:06] local.INFO: Packet analysis {"connection_id":153998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 05:01:06] local.INFO: Extracted packet for processing {"connection_id":153998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 05:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297329152001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786317993000,"timestamp_ms":1786317993000,"timestamp_seconds":1786317993,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d97428"} 
[2026-08-10 05:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 05:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297329152001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297329152001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297329152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":153998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:01:06] local.INFO: GPS data processed {"connection_id":153998,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:01:06] local.INFO: Acknowledgment sent {"connection_id":153998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:01:37] local.INFO: TCP Data received {"connection_id":153998,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:01:37] local.INFO: Processing buffer {"connection_id":153998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:01:37] local.INFO: Packet analysis {"connection_id":153998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 05:01:37] local.INFO: Extracted packet for processing {"connection_id":153998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 05:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297329152001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786317993000,"timestamp_ms":1786317993000,"timestamp_seconds":1786317993,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d97428"} 
[2026-08-10 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-08-10 05:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 05:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297329152001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297329152001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297329152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":153998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:01:37] local.INFO: GPS data processed {"connection_id":153998,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:01:37] local.INFO: Acknowledgment sent {"connection_id":153998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:02:00] local.INFO: TCP Data received {"connection_id":153999,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:02:00] local.INFO: Processing buffer {"connection_id":153999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:02:00] local.INFO: IMEI packet received {"connection_id":153999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":153999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:02:05] local.INFO: TCP Data received {"connection_id":153999,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:02:05] local.INFO: Processing buffer {"connection_id":153999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:02:05] local.INFO: IMEI packet received {"connection_id":153999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":153999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:02:06] local.INFO: TCP Data received {"connection_id":153999,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:02:06] local.INFO: Processing buffer {"connection_id":153999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8d97428012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:02:06] local.INFO: Packet analysis {"connection_id":153999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 05:02:06] local.INFO: Extracted packet for processing {"connection_id":153999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8d9"} 
[2026-08-10 05:02:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297329152001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786317993000,"timestamp_ms":1786317993000,"timestamp_seconds":1786317993,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8d97428"} 
[2026-08-10 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-08-10 05:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 05:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297329152001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297329152001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:02:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297329152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":153999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:02:06] local.INFO: GPS data processed {"connection_id":153999,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:02:06] local.INFO: Acknowledgment sent {"connection_id":153999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:02:37] local.INFO: TCP Data received {"connection_id":153999,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:02:37] local.INFO: Processing buffer {"connection_id":153999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:02:37] local.INFO: Packet analysis {"connection_id":153999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:02:37] local.INFO: Extracted packet for processing {"connection_id":153999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297406208001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786318294000,"timestamp_ms":1786318294000,"timestamp_seconds":1786318294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8de0bf0"} 
[2026-08-10 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-08-10 05:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297406208001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297406208001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297406208001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":153999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:02:37] local.INFO: GPS data processed {"connection_id":153999,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:02:37] local.INFO: Acknowledgment sent {"connection_id":153999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:03:00] local.INFO: TCP Data received {"connection_id":152554,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:03:00] local.INFO: Processing buffer {"connection_id":152554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:03:00] local.INFO: IMEI packet received {"connection_id":152554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":152554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:03:05] local.INFO: TCP Data received {"connection_id":152554,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:03:05] local.INFO: Processing buffer {"connection_id":152554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:03:05] local.INFO: IMEI packet received {"connection_id":152554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":152554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:03:06] local.INFO: TCP Data received {"connection_id":152554,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:03:06] local.INFO: Processing buffer {"connection_id":152554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:03:06] local.INFO: Packet analysis {"connection_id":152554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:03:06] local.INFO: Extracted packet for processing {"connection_id":152554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297406208001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318294000,"timestamp_ms":1786318294000,"timestamp_seconds":1786318294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8de0bf0"} 
[2026-08-10 05:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297406208001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297406208001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297406208001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":152554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:03:06] local.INFO: GPS data processed {"connection_id":152554,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:03:06] local.INFO: Acknowledgment sent {"connection_id":152554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:03:37] local.INFO: TCP Data received {"connection_id":152554,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:03:37] local.INFO: Processing buffer {"connection_id":152554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:03:37] local.INFO: Packet analysis {"connection_id":152554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:03:37] local.INFO: Extracted packet for processing {"connection_id":152554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297406208001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786318294000,"timestamp_ms":1786318294000,"timestamp_seconds":1786318294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8de0bf0"} 
[2026-08-10 05:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297406208001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297406208001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297406208001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":152554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:03:37] local.INFO: GPS data processed {"connection_id":152554,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:03:37] local.INFO: Acknowledgment sent {"connection_id":152554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:04:00] local.INFO: TCP Data received {"connection_id":154000,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:04:00] local.INFO: Processing buffer {"connection_id":154000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:04:00] local.INFO: IMEI packet received {"connection_id":154000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":154000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:04:05] local.INFO: TCP Data received {"connection_id":154000,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:04:05] local.INFO: Processing buffer {"connection_id":154000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:04:05] local.INFO: IMEI packet received {"connection_id":154000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":154000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:04:06] local.INFO: TCP Data received {"connection_id":154000,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:04:06] local.INFO: Processing buffer {"connection_id":154000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:04:06] local.INFO: Packet analysis {"connection_id":154000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:04:06] local.INFO: Extracted packet for processing {"connection_id":154000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297406208001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318294000,"timestamp_ms":1786318294000,"timestamp_seconds":1786318294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8de0bf0"} 
[2026-08-10 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-08-10 05:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297406208001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297406208001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297406208001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":154000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:04:06] local.INFO: GPS data processed {"connection_id":154000,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:04:06] local.INFO: Acknowledgment sent {"connection_id":154000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:04:38] local.INFO: TCP Data received {"connection_id":154000,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:04:38] local.INFO: Processing buffer {"connection_id":154000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:04:38] local.INFO: Packet analysis {"connection_id":154000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:04:38] local.INFO: Extracted packet for processing {"connection_id":154000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05: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-08-10 05:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297406208001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786318294000,"timestamp_ms":1786318294000,"timestamp_seconds":1786318294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8de0bf0"} 
[2026-08-10 05:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05: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-08-10 05:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297406208001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297406208001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297406208001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":154000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:04:38] local.INFO: GPS data processed {"connection_id":154000,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:04:38] local.INFO: Acknowledgment sent {"connection_id":154000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:05:00] local.INFO: TCP Data received {"connection_id":154001,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:05:00] local.INFO: Processing buffer {"connection_id":154001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:05:00] local.INFO: IMEI packet received {"connection_id":154001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":154001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:05:05] local.INFO: TCP Data received {"connection_id":154001,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:05:05] local.INFO: Processing buffer {"connection_id":154001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:05:05] local.INFO: IMEI packet received {"connection_id":154001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":154001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:05:07] local.INFO: TCP Data received {"connection_id":154001,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:05:07] local.INFO: Processing buffer {"connection_id":154001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:05:07] local.INFO: Packet analysis {"connection_id":154001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:05:07] local.INFO: Extracted packet for processing {"connection_id":154001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297406208001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786318294000,"timestamp_ms":1786318294000,"timestamp_seconds":1786318294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8de0bf0"} 
[2026-08-10 05:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297406208001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297406208001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297406208001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":154001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:05:07] local.INFO: GPS data processed {"connection_id":154001,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:05:07] local.INFO: Acknowledgment sent {"connection_id":154001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:05:38] local.INFO: TCP Data received {"connection_id":154001,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:05:38] local.INFO: Processing buffer {"connection_id":154001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:05:38] local.INFO: Packet analysis {"connection_id":154001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:05:38] local.INFO: Extracted packet for processing {"connection_id":154001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297406208001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786318294000,"timestamp_ms":1786318294000,"timestamp_seconds":1786318294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8de0bf0"} 
[2026-08-10 05:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297406208001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297406208001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297406208001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":154001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:05:39] local.INFO: GPS data processed {"connection_id":154001,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:05:39] local.INFO: Acknowledgment sent {"connection_id":154001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:06:00] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:06:00] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:06:00] local.INFO: IMEI packet received {"connection_id":152555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":152555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:06:05] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:06:05] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:06:05] local.INFO: IMEI packet received {"connection_id":152555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":152555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:06:07] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:06:07] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:06:07] local.INFO: Packet analysis {"connection_id":152555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:06:07] local.INFO: Extracted packet for processing {"connection_id":152555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297406208001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786318294000,"timestamp_ms":1786318294000,"timestamp_seconds":1786318294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8de0bf0"} 
[2026-08-10 05:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297406208001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297406208001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297406208001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":152555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:06:07] local.INFO: GPS data processed {"connection_id":152555,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:06:07] local.INFO: Acknowledgment sent {"connection_id":152555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:06:38] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:06:38] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:06:38] local.INFO: Packet analysis {"connection_id":152555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:06:38] local.INFO: Extracted packet for processing {"connection_id":152555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297406208001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786318294000,"timestamp_ms":1786318294000,"timestamp_seconds":1786318294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8de0bf0"} 
[2026-08-10 05:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297406208001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297406208001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297406208001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":152555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:06:38] local.INFO: GPS data processed {"connection_id":152555,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:06:38] local.INFO: Acknowledgment sent {"connection_id":152555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:07:00] local.INFO: TCP Data received {"connection_id":151637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:07:00] local.INFO: Processing buffer {"connection_id":151637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:07:00] local.INFO: IMEI packet received {"connection_id":151637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":151637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:07:05] local.INFO: TCP Data received {"connection_id":151637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:07:05] local.INFO: Processing buffer {"connection_id":151637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:07:05] local.INFO: IMEI packet received {"connection_id":151637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":151637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:07:06] local.INFO: TCP Data received {"connection_id":151637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:07:06] local.INFO: Processing buffer {"connection_id":151637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8de0bf0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:07:06] local.INFO: Packet analysis {"connection_id":151637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:07:06] local.INFO: Extracted packet for processing {"connection_id":151637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8de"} 
[2026-08-10 05:07:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297406208001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318294000,"timestamp_ms":1786318294000,"timestamp_seconds":1786318294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8de0bf0"} 
[2026-08-10 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-08-10 05:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:07: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-08-10 05:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297406208001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297406208001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297406208001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":151637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:07:06] local.INFO: GPS data processed {"connection_id":151637,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:07:06] local.INFO: Acknowledgment sent {"connection_id":151637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:07:38] local.INFO: TCP Data received {"connection_id":151637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:07:38] local.INFO: Processing buffer {"connection_id":151637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:07:38] local.INFO: Packet analysis {"connection_id":151637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:07:38] local.INFO: Extracted packet for processing {"connection_id":151637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297483264001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786318595000,"timestamp_ms":1786318595000,"timestamp_seconds":1786318595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e2a3b8"} 
[2026-08-10 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-08-10 05:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:07: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-08-10 05:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297483264001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297483264001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297483264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":151637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:07:38] local.INFO: GPS data processed {"connection_id":151637,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:07:38] local.INFO: Acknowledgment sent {"connection_id":151637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:08:00] local.INFO: TCP Data received {"connection_id":151266,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:08:00] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:08:00] local.INFO: IMEI packet received {"connection_id":151266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":151266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:08:05] local.INFO: TCP Data received {"connection_id":151266,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:08:05] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:08:05] local.INFO: IMEI packet received {"connection_id":151266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":151266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:08:06] local.INFO: TCP Data received {"connection_id":151266,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:08:06] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:08:06] local.INFO: Packet analysis {"connection_id":151266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:08:06] local.INFO: Extracted packet for processing {"connection_id":151266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297483264001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318595000,"timestamp_ms":1786318595000,"timestamp_seconds":1786318595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e2a3b8"} 
[2026-08-10 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-08-10 05:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297483264001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297483264001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297483264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":151266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:08:06] local.INFO: GPS data processed {"connection_id":151266,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:08:06] local.INFO: Acknowledgment sent {"connection_id":151266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:08:37] local.INFO: TCP Data received {"connection_id":151266,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:08:37] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:08:37] local.INFO: Packet analysis {"connection_id":151266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:08:37] local.INFO: Extracted packet for processing {"connection_id":151266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297483264001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786318595000,"timestamp_ms":1786318595000,"timestamp_seconds":1786318595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e2a3b8"} 
[2026-08-10 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-08-10 05:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297483264001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297483264001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297483264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":151266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:08:37] local.INFO: GPS data processed {"connection_id":151266,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:08:37] local.INFO: Acknowledgment sent {"connection_id":151266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:09:00] local.INFO: TCP Data received {"connection_id":151638,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:09:00] local.INFO: Processing buffer {"connection_id":151638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:09:00] local.INFO: IMEI packet received {"connection_id":151638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":151638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:09:05] local.INFO: TCP Data received {"connection_id":151638,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:09:05] local.INFO: Processing buffer {"connection_id":151638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:09:05] local.INFO: IMEI packet received {"connection_id":151638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":151638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:09:06] local.INFO: TCP Data received {"connection_id":151638,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:09:06] local.INFO: Processing buffer {"connection_id":151638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:09:06] local.INFO: Packet analysis {"connection_id":151638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:09:06] local.INFO: Extracted packet for processing {"connection_id":151638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297483264001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318595000,"timestamp_ms":1786318595000,"timestamp_seconds":1786318595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e2a3b8"} 
[2026-08-10 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-08-10 05:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297483264001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297483264001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297483264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":151638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:09:06] local.INFO: GPS data processed {"connection_id":151638,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:09:06] local.INFO: Acknowledgment sent {"connection_id":151638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:09:38] local.INFO: TCP Data received {"connection_id":151638,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:09:38] local.INFO: Processing buffer {"connection_id":151638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:09:38] local.INFO: Packet analysis {"connection_id":151638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:09:38] local.INFO: Extracted packet for processing {"connection_id":151638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297483264001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786318595000,"timestamp_ms":1786318595000,"timestamp_seconds":1786318595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e2a3b8"} 
[2026-08-10 05:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297483264001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297483264001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297483264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":151638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:09:38] local.INFO: GPS data processed {"connection_id":151638,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:09:38] local.INFO: Acknowledgment sent {"connection_id":151638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:10:00] local.INFO: TCP Data received {"connection_id":151267,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:10:00] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:10:00] local.INFO: IMEI packet received {"connection_id":151267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":151267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:10:05] local.INFO: TCP Data received {"connection_id":151267,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:10:05] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:10:05] local.INFO: IMEI packet received {"connection_id":151267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":151267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:10:06] local.INFO: TCP Data received {"connection_id":151267,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:10:06] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:10:06] local.INFO: Packet analysis {"connection_id":151267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:10:06] local.INFO: Extracted packet for processing {"connection_id":151267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297483264001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318595000,"timestamp_ms":1786318595000,"timestamp_seconds":1786318595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e2a3b8"} 
[2026-08-10 05:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297483264001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297483264001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297483264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":151267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:10:06] local.INFO: GPS data processed {"connection_id":151267,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:10:06] local.INFO: Acknowledgment sent {"connection_id":151267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:10:37] local.INFO: TCP Data received {"connection_id":151267,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:10:37] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:10:37] local.INFO: Packet analysis {"connection_id":151267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:10:37] local.INFO: Extracted packet for processing {"connection_id":151267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297483264001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786318595000,"timestamp_ms":1786318595000,"timestamp_seconds":1786318595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e2a3b8"} 
[2026-08-10 05:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297483264001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297483264001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297483264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":151267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:10:37] local.INFO: GPS data processed {"connection_id":151267,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:10:37] local.INFO: Acknowledgment sent {"connection_id":151267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:11:00] local.INFO: TCP Data received {"connection_id":151639,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:11:00] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:11:00] local.INFO: IMEI packet received {"connection_id":151639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":151639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:11:05] local.INFO: TCP Data received {"connection_id":151639,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:11:05] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:11:05] local.INFO: IMEI packet received {"connection_id":151639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":151639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:11:06] local.INFO: TCP Data received {"connection_id":151639,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:11:06] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:11:06] local.INFO: Packet analysis {"connection_id":151639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:11:06] local.INFO: Extracted packet for processing {"connection_id":151639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297483264001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318595000,"timestamp_ms":1786318595000,"timestamp_seconds":1786318595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e2a3b8"} 
[2026-08-10 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-08-10 05:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297483264001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297483264001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297483264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":151639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:11:06] local.INFO: GPS data processed {"connection_id":151639,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:11:06] local.INFO: Acknowledgment sent {"connection_id":151639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:11:37] local.INFO: TCP Data received {"connection_id":151639,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:11:37] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:11:37] local.INFO: Packet analysis {"connection_id":151639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:11:37] local.INFO: Extracted packet for processing {"connection_id":151639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297483264001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786318595000,"timestamp_ms":1786318595000,"timestamp_seconds":1786318595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e2a3b8"} 
[2026-08-10 05:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297483264001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297483264001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297483264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":151639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:11:37] local.INFO: GPS data processed {"connection_id":151639,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:11:37] local.INFO: Acknowledgment sent {"connection_id":151639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:12:00] local.INFO: TCP Data received {"connection_id":151640,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:12:00] local.INFO: Processing buffer {"connection_id":151640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:12:00] local.INFO: IMEI packet received {"connection_id":151640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":151640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:12:05] local.INFO: TCP Data received {"connection_id":151640,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:12:05] local.INFO: Processing buffer {"connection_id":151640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:12:05] local.INFO: IMEI packet received {"connection_id":151640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":151640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:12:06] local.INFO: TCP Data received {"connection_id":151640,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:12:06] local.INFO: Processing buffer {"connection_id":151640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e2a3b8012d34c20006aa3f08000300f32b..."} 
[2026-08-10 05:12:06] local.INFO: Packet analysis {"connection_id":151640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:12:06] local.INFO: Extracted packet for processing {"connection_id":151640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e2"} 
[2026-08-10 05:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297483264001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318595000,"timestamp_ms":1786318595000,"timestamp_seconds":1786318595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e2a3b8"} 
[2026-08-10 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-08-10 05:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297483264001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297483264001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:12:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297483264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":151640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:12:06] local.INFO: GPS data processed {"connection_id":151640,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:12:06] local.INFO: Acknowledgment sent {"connection_id":151640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:12:37] local.INFO: TCP Data received {"connection_id":151640,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:12:37] local.INFO: Processing buffer {"connection_id":151640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:12:37] local.INFO: Packet analysis {"connection_id":151640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:12:37] local.INFO: Extracted packet for processing {"connection_id":151640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297560320001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786318896000,"timestamp_ms":1786318896000,"timestamp_seconds":1786318896,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e73b80"} 
[2026-08-10 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-08-10 05:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297560320001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297560320001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297560320001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":151640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:12:37] local.INFO: GPS data processed {"connection_id":151640,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:12:37] local.INFO: Acknowledgment sent {"connection_id":151640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:13:00] local.INFO: TCP Data received {"connection_id":152556,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:13:00] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:13:00] local.INFO: IMEI packet received {"connection_id":152556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":152556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:13:05] local.INFO: TCP Data received {"connection_id":152556,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:13:05] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:13:05] local.INFO: IMEI packet received {"connection_id":152556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":152556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:13:06] local.INFO: TCP Data received {"connection_id":152556,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:13:06] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:13:06] local.INFO: Packet analysis {"connection_id":152556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:13:06] local.INFO: Extracted packet for processing {"connection_id":152556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297560320001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318896000,"timestamp_ms":1786318896000,"timestamp_seconds":1786318896,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e73b80"} 
[2026-08-10 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-08-10 05:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297560320001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297560320001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297560320001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":152556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:13:06] local.INFO: GPS data processed {"connection_id":152556,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:13:06] local.INFO: Acknowledgment sent {"connection_id":152556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:13:37] local.INFO: TCP Data received {"connection_id":152556,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:13:37] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:13:37] local.INFO: Packet analysis {"connection_id":152556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:13:37] local.INFO: Extracted packet for processing {"connection_id":152556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297560320001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786318896000,"timestamp_ms":1786318896000,"timestamp_seconds":1786318896,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e73b80"} 
[2026-08-10 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-08-10 05:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297560320001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297560320001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297560320001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":152556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:13:37] local.INFO: GPS data processed {"connection_id":152556,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:13:37] local.INFO: Acknowledgment sent {"connection_id":152556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:14:00] local.INFO: TCP Data received {"connection_id":151268,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:14:00] local.INFO: Processing buffer {"connection_id":151268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:14:00] local.INFO: IMEI packet received {"connection_id":151268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":151268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:14:05] local.INFO: TCP Data received {"connection_id":151268,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:14:05] local.INFO: Processing buffer {"connection_id":151268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:14:05] local.INFO: IMEI packet received {"connection_id":151268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":151268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:14:06] local.INFO: TCP Data received {"connection_id":151268,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:14:06] local.INFO: Processing buffer {"connection_id":151268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:14:06] local.INFO: Packet analysis {"connection_id":151268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:14:06] local.INFO: Extracted packet for processing {"connection_id":151268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297560320001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318896000,"timestamp_ms":1786318896000,"timestamp_seconds":1786318896,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e73b80"} 
[2026-08-10 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-08-10 05:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297560320001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297560320001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297560320001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":151268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:14:06] local.INFO: GPS data processed {"connection_id":151268,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:14:06] local.INFO: Acknowledgment sent {"connection_id":151268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:14:37] local.INFO: TCP Data received {"connection_id":151268,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:14:37] local.INFO: Processing buffer {"connection_id":151268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:14:37] local.INFO: Packet analysis {"connection_id":151268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:14:37] local.INFO: Extracted packet for processing {"connection_id":151268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297560320001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786318896000,"timestamp_ms":1786318896000,"timestamp_seconds":1786318896,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e73b80"} 
[2026-08-10 05:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297560320001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297560320001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297560320001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":151268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:14:37] local.INFO: GPS data processed {"connection_id":151268,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:14:37] local.INFO: Acknowledgment sent {"connection_id":151268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:15:00] local.INFO: TCP Data received {"connection_id":152557,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:15:00] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:15:00] local.INFO: IMEI packet received {"connection_id":152557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":152557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:15:05] local.INFO: TCP Data received {"connection_id":152557,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:15:05] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:15:05] local.INFO: IMEI packet received {"connection_id":152557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":152557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:15:06] local.INFO: TCP Data received {"connection_id":152557,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:15:06] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:15:06] local.INFO: Packet analysis {"connection_id":152557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:15:06] local.INFO: Extracted packet for processing {"connection_id":152557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297560320001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318896000,"timestamp_ms":1786318896000,"timestamp_seconds":1786318896,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e73b80"} 
[2026-08-10 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-08-10 05:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297560320001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297560320001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297560320001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":152557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:15:06] local.INFO: GPS data processed {"connection_id":152557,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:15:06] local.INFO: Acknowledgment sent {"connection_id":152557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:15:37] local.INFO: TCP Data received {"connection_id":152557,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:15:37] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:15:37] local.INFO: Packet analysis {"connection_id":152557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:15:37] local.INFO: Extracted packet for processing {"connection_id":152557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297560320001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786318896000,"timestamp_ms":1786318896000,"timestamp_seconds":1786318896,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e73b80"} 
[2026-08-10 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-08-10 05:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297560320001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297560320001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297560320001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":152557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:15:37] local.INFO: GPS data processed {"connection_id":152557,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:15:37] local.INFO: Acknowledgment sent {"connection_id":152557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:16:00] local.INFO: TCP Data received {"connection_id":151269,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:16:00] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:16:00] local.INFO: IMEI packet received {"connection_id":151269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":151269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:16:05] local.INFO: TCP Data received {"connection_id":151269,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:16:05] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:16:05] local.INFO: IMEI packet received {"connection_id":151269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":151269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:16:06] local.INFO: TCP Data received {"connection_id":151269,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:16:06] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:16:06] local.INFO: Packet analysis {"connection_id":151269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:16:06] local.INFO: Extracted packet for processing {"connection_id":151269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297560320001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318896000,"timestamp_ms":1786318896000,"timestamp_seconds":1786318896,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e73b80"} 
[2026-08-10 05:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297560320001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297560320001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:16:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:16:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297560320001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":151269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:16:06] local.INFO: GPS data processed {"connection_id":151269,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:16:06] local.INFO: Acknowledgment sent {"connection_id":151269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:16:37] local.INFO: TCP Data received {"connection_id":151269,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:16:37] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:16:37] local.INFO: Packet analysis {"connection_id":151269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:16:37] local.INFO: Extracted packet for processing {"connection_id":151269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297560320001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786318896000,"timestamp_ms":1786318896000,"timestamp_seconds":1786318896,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e73b80"} 
[2026-08-10 05:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297560320001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297560320001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297560320001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":151269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:16:37] local.INFO: GPS data processed {"connection_id":151269,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:16:37] local.INFO: Acknowledgment sent {"connection_id":151269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:17:00] local.INFO: TCP Data received {"connection_id":154002,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:17:00] local.INFO: Processing buffer {"connection_id":154002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:17:00] local.INFO: IMEI packet received {"connection_id":154002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":154002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:17:05] local.INFO: TCP Data received {"connection_id":154002,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:17:05] local.INFO: Processing buffer {"connection_id":154002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:17:05] local.INFO: IMEI packet received {"connection_id":154002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":154002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:17:06] local.INFO: TCP Data received {"connection_id":154002,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:17:06] local.INFO: Processing buffer {"connection_id":154002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8e73b80012d34c20006aa3f08000600f32d..."} 
[2026-08-10 05:17:06] local.INFO: Packet analysis {"connection_id":154002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:17:06] local.INFO: Extracted packet for processing {"connection_id":154002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8e7"} 
[2026-08-10 05:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297560320001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786318896000,"timestamp_ms":1786318896000,"timestamp_seconds":1786318896,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8e73b80"} 
[2026-08-10 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-08-10 05:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297560320001,"66":25419,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297560320001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297560320001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":154002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:17:06] local.INFO: GPS data processed {"connection_id":154002,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:17:06] local.INFO: Acknowledgment sent {"connection_id":154002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:17:37] local.INFO: TCP Data received {"connection_id":154002,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:17:37] local.INFO: Processing buffer {"connection_id":154002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:17:37] local.INFO: Packet analysis {"connection_id":154002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:17:37] local.INFO: Extracted packet for processing {"connection_id":154002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297637376001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786319197000,"timestamp_ms":1786319197000,"timestamp_seconds":1786319197,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ebd348"} 
[2026-08-10 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-08-10 05:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 05:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297637376001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297637376001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297637376001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":154002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:17:37] local.INFO: GPS data processed {"connection_id":154002,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:17:37] local.INFO: Acknowledgment sent {"connection_id":154002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:18:00] local.INFO: TCP Data received {"connection_id":151270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:18:00] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:18:00] local.INFO: IMEI packet received {"connection_id":151270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":151270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:18:05] local.INFO: TCP Data received {"connection_id":151270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:18:05] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:18:05] local.INFO: IMEI packet received {"connection_id":151270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":151270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:18:06] local.INFO: TCP Data received {"connection_id":151270,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:18:06] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:18:06] local.INFO: Packet analysis {"connection_id":151270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:18:06] local.INFO: Extracted packet for processing {"connection_id":151270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297637376001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786319197000,"timestamp_ms":1786319197000,"timestamp_seconds":1786319197,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ebd348"} 
[2026-08-10 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-08-10 05:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 05:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:18: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-08-10 05:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297637376001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297637376001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297637376001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":151270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:18:06] local.INFO: GPS data processed {"connection_id":151270,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:18:06] local.INFO: Acknowledgment sent {"connection_id":151270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:18:37] local.INFO: TCP Data received {"connection_id":151270,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:18:37] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:18:37] local.INFO: Packet analysis {"connection_id":151270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:18:37] local.INFO: Extracted packet for processing {"connection_id":151270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297637376001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786319197000,"timestamp_ms":1786319197000,"timestamp_seconds":1786319197,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ebd348"} 
[2026-08-10 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-08-10 05:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 05:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:18: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-08-10 05:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297637376001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297637376001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297637376001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":151270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:18:37] local.INFO: GPS data processed {"connection_id":151270,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:18:37] local.INFO: Acknowledgment sent {"connection_id":151270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:19:00] local.INFO: TCP Data received {"connection_id":152558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:19:00] local.INFO: Processing buffer {"connection_id":152558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:19:00] local.INFO: IMEI packet received {"connection_id":152558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":152558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:19:05] local.INFO: TCP Data received {"connection_id":152558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:19:05] local.INFO: Processing buffer {"connection_id":152558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:19:05] local.INFO: IMEI packet received {"connection_id":152558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":152558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:19:05] local.INFO: TCP Data received {"connection_id":152558,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:19:05] local.INFO: Processing buffer {"connection_id":152558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:19:05] local.INFO: Packet analysis {"connection_id":152558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:19:05] local.INFO: Extracted packet for processing {"connection_id":152558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297637376001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786319197000,"timestamp_ms":1786319197000,"timestamp_seconds":1786319197,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ebd348"} 
[2026-08-10 05:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 05:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297637376001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297637376001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297637376001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":152558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:19:06] local.INFO: GPS data processed {"connection_id":152558,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:19:06] local.INFO: Acknowledgment sent {"connection_id":152558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:19:37] local.INFO: TCP Data received {"connection_id":152558,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:19:37] local.INFO: Processing buffer {"connection_id":152558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:19:37] local.INFO: Packet analysis {"connection_id":152558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:19:37] local.INFO: Extracted packet for processing {"connection_id":152558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297637376001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786319197000,"timestamp_ms":1786319197000,"timestamp_seconds":1786319197,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ebd348"} 
[2026-08-10 05:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 05:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:19: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-08-10 05:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297637376001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297637376001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297637376001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":152558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:19:37] local.INFO: GPS data processed {"connection_id":152558,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:19:37] local.INFO: Acknowledgment sent {"connection_id":152558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:20:00] local.INFO: TCP Data received {"connection_id":152559,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:20:00] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:20:00] local.INFO: IMEI packet received {"connection_id":152559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":152559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:20:05] local.INFO: TCP Data received {"connection_id":152559,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:20:05] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:20:05] local.INFO: IMEI packet received {"connection_id":152559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":152559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:20:06] local.INFO: TCP Data received {"connection_id":152559,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:20:06] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:20:06] local.INFO: Packet analysis {"connection_id":152559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:20:06] local.INFO: Extracted packet for processing {"connection_id":152559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297637376001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786319197000,"timestamp_ms":1786319197000,"timestamp_seconds":1786319197,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ebd348"} 
[2026-08-10 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-08-10 05:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 05:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297637376001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297637376001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297637376001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":152559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:20:06] local.INFO: GPS data processed {"connection_id":152559,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:20:06] local.INFO: Acknowledgment sent {"connection_id":152559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:20:37] local.INFO: TCP Data received {"connection_id":152559,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:20:37] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:20:37] local.INFO: Packet analysis {"connection_id":152559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:20:37] local.INFO: Extracted packet for processing {"connection_id":152559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297637376001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786319197000,"timestamp_ms":1786319197000,"timestamp_seconds":1786319197,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ebd348"} 
[2026-08-10 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-08-10 05:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 05:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297637376001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297637376001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297637376001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":152559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:20:37] local.INFO: GPS data processed {"connection_id":152559,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:20:37] local.INFO: Acknowledgment sent {"connection_id":152559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:21:00] local.INFO: TCP Data received {"connection_id":154003,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:21:00] local.INFO: Processing buffer {"connection_id":154003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:21:00] local.INFO: IMEI packet received {"connection_id":154003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":154003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:21:05] local.INFO: TCP Data received {"connection_id":154003,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:21:05] local.INFO: Processing buffer {"connection_id":154003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:21:05] local.INFO: IMEI packet received {"connection_id":154003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":154003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:21:06] local.INFO: TCP Data received {"connection_id":154003,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:21:06] local.INFO: Processing buffer {"connection_id":154003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:21:06] local.INFO: Packet analysis {"connection_id":154003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:21:06] local.INFO: Extracted packet for processing {"connection_id":154003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297637376001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786319197000,"timestamp_ms":1786319197000,"timestamp_seconds":1786319197,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ebd348"} 
[2026-08-10 05:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 05:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297637376001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297637376001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297637376001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":154003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:21:06] local.INFO: GPS data processed {"connection_id":154003,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:21:06] local.INFO: Acknowledgment sent {"connection_id":154003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:21:37] local.INFO: TCP Data received {"connection_id":154003,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:21:37] local.INFO: Processing buffer {"connection_id":154003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:21:37] local.INFO: Packet analysis {"connection_id":154003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:21:37] local.INFO: Extracted packet for processing {"connection_id":154003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297637376001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786319197000,"timestamp_ms":1786319197000,"timestamp_seconds":1786319197,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ebd348"} 
[2026-08-10 05:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 05:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297637376001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297637376001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297637376001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":154003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:21:37] local.INFO: GPS data processed {"connection_id":154003,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:21:37] local.INFO: Acknowledgment sent {"connection_id":154003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:22:00] local.INFO: TCP Data received {"connection_id":151271,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:22:00] local.INFO: Processing buffer {"connection_id":151271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:22:00] local.INFO: IMEI packet received {"connection_id":151271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":151271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:22:05] local.INFO: TCP Data received {"connection_id":151271,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:22:05] local.INFO: Processing buffer {"connection_id":151271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:22:05] local.INFO: IMEI packet received {"connection_id":151271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":151271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:22:06] local.INFO: TCP Data received {"connection_id":151271,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:22:06] local.INFO: Processing buffer {"connection_id":151271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8ebd348012d34c20006aa3f08000a00f32d..."} 
[2026-08-10 05:22:06] local.INFO: Packet analysis {"connection_id":151271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:22:06] local.INFO: Extracted packet for processing {"connection_id":151271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8eb"} 
[2026-08-10 05:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297637376001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786319197000,"timestamp_ms":1786319197000,"timestamp_seconds":1786319197,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8ebd348"} 
[2026-08-10 05:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 05:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297637376001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297637376001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297637376001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":151271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:22:06] local.INFO: GPS data processed {"connection_id":151271,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:22:06] local.INFO: Acknowledgment sent {"connection_id":151271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:22:38] local.INFO: TCP Data received {"connection_id":151271,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:22:38] local.INFO: Processing buffer {"connection_id":151271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:22:38] local.INFO: Packet analysis {"connection_id":151271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:22:38] local.INFO: Extracted packet for processing {"connection_id":151271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05: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-08-10 05:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297714432001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786319498000,"timestamp_ms":1786319498000,"timestamp_seconds":1786319498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f06b10"} 
[2026-08-10 05:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05: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-08-10 05:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297714432001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297714432001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297714432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":151271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:22:38] local.INFO: GPS data processed {"connection_id":151271,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:22:38] local.INFO: Acknowledgment sent {"connection_id":151271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:23:00] local.INFO: TCP Data received {"connection_id":154004,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:23:00] local.INFO: Processing buffer {"connection_id":154004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:23:00] local.INFO: IMEI packet received {"connection_id":154004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":154004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:23:05] local.INFO: TCP Data received {"connection_id":154004,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:23:05] local.INFO: Processing buffer {"connection_id":154004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:23:05] local.INFO: IMEI packet received {"connection_id":154004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":154004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:23:07] local.INFO: TCP Data received {"connection_id":154004,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:23:07] local.INFO: Processing buffer {"connection_id":154004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:23:07] local.INFO: Packet analysis {"connection_id":154004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:23:07] local.INFO: Extracted packet for processing {"connection_id":154004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297714432001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786319498000,"timestamp_ms":1786319498000,"timestamp_seconds":1786319498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f06b10"} 
[2026-08-10 05:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297714432001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297714432001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:23:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297714432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":154004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:23:07] local.INFO: GPS data processed {"connection_id":154004,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:23:07] local.INFO: Acknowledgment sent {"connection_id":154004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:23:11] local.INFO: TCP Data received {"connection_id":154004,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:23:11] local.INFO: Processing buffer {"connection_id":154004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:23:11] local.INFO: Packet analysis {"connection_id":154004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:23:11] local.INFO: Extracted packet for processing {"connection_id":154004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297714432001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786319498000,"timestamp_ms":1786319498000,"timestamp_seconds":1786319498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f06b10"} 
[2026-08-10 05:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":154004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":154004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":154004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297714432001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297714432001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:23:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:23:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297714432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":154004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:23:11] local.INFO: GPS data processed {"connection_id":154004,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:23:11] local.INFO: Acknowledgment sent {"connection_id":154004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:23:42] local.INFO: TCP Data received {"connection_id":154004,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:23:42] local.INFO: Processing buffer {"connection_id":154004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:23:42] local.INFO: Packet analysis {"connection_id":154004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:23:42] local.INFO: Extracted packet for processing {"connection_id":154004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297714432001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786319498000,"timestamp_ms":1786319498000,"timestamp_seconds":1786319498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f06b10"} 
[2026-08-10 05:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":154004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":154004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":154004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297714432001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297714432001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297714432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":154004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:23:42] local.INFO: GPS data processed {"connection_id":154004,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:23:42] local.INFO: Acknowledgment sent {"connection_id":154004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:24:00] local.INFO: TCP Data received {"connection_id":151272,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:24:00] local.INFO: Processing buffer {"connection_id":151272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:24:00] local.INFO: IMEI packet received {"connection_id":151272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":151272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:24:05] local.INFO: TCP Data received {"connection_id":151272,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:24:05] local.INFO: Processing buffer {"connection_id":151272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:24:05] local.INFO: IMEI packet received {"connection_id":151272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":151272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:24:06] local.INFO: TCP Data received {"connection_id":151272,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:24:06] local.INFO: Processing buffer {"connection_id":151272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:24:06] local.INFO: Packet analysis {"connection_id":151272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:24:06] local.INFO: Extracted packet for processing {"connection_id":151272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297714432001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786319498000,"timestamp_ms":1786319498000,"timestamp_seconds":1786319498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f06b10"} 
[2026-08-10 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-08-10 05:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297714432001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297714432001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297714432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":151272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:24:06] local.INFO: GPS data processed {"connection_id":151272,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:24:06] local.INFO: Acknowledgment sent {"connection_id":151272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:24:37] local.INFO: TCP Data received {"connection_id":151272,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:24:37] local.INFO: Processing buffer {"connection_id":151272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:24:37] local.INFO: Packet analysis {"connection_id":151272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:24:37] local.INFO: Extracted packet for processing {"connection_id":151272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297714432001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786319498000,"timestamp_ms":1786319498000,"timestamp_seconds":1786319498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f06b10"} 
[2026-08-10 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-08-10 05:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297714432001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297714432001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297714432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":151272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:24:37] local.INFO: GPS data processed {"connection_id":151272,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:24:37] local.INFO: Acknowledgment sent {"connection_id":151272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:25:00] local.INFO: TCP Data received {"connection_id":154005,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:25:00] local.INFO: Processing buffer {"connection_id":154005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:25:00] local.INFO: IMEI packet received {"connection_id":154005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":154005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:25:05] local.INFO: TCP Data received {"connection_id":154005,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:25:05] local.INFO: Processing buffer {"connection_id":154005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:25:05] local.INFO: IMEI packet received {"connection_id":154005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":154005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:25:06] local.INFO: TCP Data received {"connection_id":154005,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:25:06] local.INFO: Processing buffer {"connection_id":154005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:25:06] local.INFO: Packet analysis {"connection_id":154005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:25:06] local.INFO: Extracted packet for processing {"connection_id":154005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297714432001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786319498000,"timestamp_ms":1786319498000,"timestamp_seconds":1786319498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f06b10"} 
[2026-08-10 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-08-10 05:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297714432001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297714432001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297714432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":154005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:25:06] local.INFO: GPS data processed {"connection_id":154005,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:25:06] local.INFO: Acknowledgment sent {"connection_id":154005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:25:37] local.INFO: TCP Data received {"connection_id":154005,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:25:37] local.INFO: Processing buffer {"connection_id":154005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:25:37] local.INFO: Packet analysis {"connection_id":154005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:25:37] local.INFO: Extracted packet for processing {"connection_id":154005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297714432001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786319498000,"timestamp_ms":1786319498000,"timestamp_seconds":1786319498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f06b10"} 
[2026-08-10 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-08-10 05:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297714432001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297714432001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297714432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":154005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:25:37] local.INFO: GPS data processed {"connection_id":154005,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:25:37] local.INFO: Acknowledgment sent {"connection_id":154005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:26:00] local.INFO: TCP Data received {"connection_id":154006,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:26:00] local.INFO: Processing buffer {"connection_id":154006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:26:00] local.INFO: IMEI packet received {"connection_id":154006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":154006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:26:05] local.INFO: TCP Data received {"connection_id":154006,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:26:05] local.INFO: Processing buffer {"connection_id":154006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:26:05] local.INFO: IMEI packet received {"connection_id":154006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":154006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:26:06] local.INFO: TCP Data received {"connection_id":154006,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:26:06] local.INFO: Processing buffer {"connection_id":154006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:26:06] local.INFO: Packet analysis {"connection_id":154006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:26:06] local.INFO: Extracted packet for processing {"connection_id":154006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297714432001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786319498000,"timestamp_ms":1786319498000,"timestamp_seconds":1786319498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f06b10"} 
[2026-08-10 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-08-10 05:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297714432001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297714432001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297714432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":154006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:26:06] local.INFO: GPS data processed {"connection_id":154006,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:26:06] local.INFO: Acknowledgment sent {"connection_id":154006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:26:38] local.INFO: TCP Data received {"connection_id":154006,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:26:38] local.INFO: Processing buffer {"connection_id":154006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:26:38] local.INFO: Packet analysis {"connection_id":154006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:26:38] local.INFO: Extracted packet for processing {"connection_id":154006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297714432001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786319498000,"timestamp_ms":1786319498000,"timestamp_seconds":1786319498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f06b10"} 
[2026-08-10 05:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297714432001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297714432001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297714432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":154006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:26:38] local.INFO: GPS data processed {"connection_id":154006,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:26:38] local.INFO: Acknowledgment sent {"connection_id":154006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:27:00] local.INFO: TCP Data received {"connection_id":151641,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:27:00] local.INFO: Processing buffer {"connection_id":151641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:27:00] local.INFO: IMEI packet received {"connection_id":151641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":151641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:27:05] local.INFO: TCP Data received {"connection_id":151641,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:27:05] local.INFO: Processing buffer {"connection_id":151641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:27:05] local.INFO: IMEI packet received {"connection_id":151641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":151641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:27:06] local.INFO: TCP Data received {"connection_id":151641,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:27:06] local.INFO: Processing buffer {"connection_id":151641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f06b10012d34c20006aa3f08000b00f32b..."} 
[2026-08-10 05:27:06] local.INFO: Packet analysis {"connection_id":151641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:27:06] local.INFO: Extracted packet for processing {"connection_id":151641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f0"} 
[2026-08-10 05:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297714432001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786319498000,"timestamp_ms":1786319498000,"timestamp_seconds":1786319498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f06b10"} 
[2026-08-10 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-08-10 05:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297714432001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297714432001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297714432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":151641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:27:06] local.INFO: GPS data processed {"connection_id":151641,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:27:06] local.INFO: Acknowledgment sent {"connection_id":151641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:27:37] local.INFO: TCP Data received {"connection_id":151641,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:27:37] local.INFO: Processing buffer {"connection_id":151641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:27:37] local.INFO: Packet analysis {"connection_id":151641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:27:37] local.INFO: Extracted packet for processing {"connection_id":151641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297791488001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786319799000,"timestamp_ms":1786319799000,"timestamp_seconds":1786319799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f502d8"} 
[2026-08-10 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-08-10 05:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297791488001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297791488001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297791488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":151641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:27:37] local.INFO: GPS data processed {"connection_id":151641,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:27:37] local.INFO: Acknowledgment sent {"connection_id":151641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:28:00] local.INFO: TCP Data received {"connection_id":152560,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:28:00] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:28:00] local.INFO: IMEI packet received {"connection_id":152560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":152560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:28:05] local.INFO: TCP Data received {"connection_id":152560,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:28:05] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:28:05] local.INFO: IMEI packet received {"connection_id":152560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":152560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:28:10] local.INFO: TCP Data received {"connection_id":152560,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:28:10] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:28:10] local.INFO: IMEI packet received {"connection_id":152560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":152560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:28:11] local.INFO: TCP Data received {"connection_id":152560,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:28:11] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:28:11] local.INFO: Packet analysis {"connection_id":152560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:28:11] local.INFO: Extracted packet for processing {"connection_id":152560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297791488001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786319799000,"timestamp_ms":1786319799000,"timestamp_seconds":1786319799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f502d8"} 
[2026-08-10 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-08-10 05:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297791488001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297791488001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:28:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297791488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":152560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:28:11] local.INFO: GPS data processed {"connection_id":152560,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:28:11] local.INFO: Acknowledgment sent {"connection_id":152560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:28:42] local.INFO: TCP Data received {"connection_id":152560,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:28:42] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:28:42] local.INFO: Packet analysis {"connection_id":152560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:28:42] local.INFO: Extracted packet for processing {"connection_id":152560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297791488001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786319799000,"timestamp_ms":1786319799000,"timestamp_seconds":1786319799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f502d8"} 
[2026-08-10 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-08-10 05:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297791488001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297791488001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297791488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":152560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:28:42] local.INFO: GPS data processed {"connection_id":152560,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:28:42] local.INFO: Acknowledgment sent {"connection_id":152560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:29:00] local.INFO: TCP Data received {"connection_id":151273,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:29:00] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:29:00] local.INFO: IMEI packet received {"connection_id":151273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":151273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:29:05] local.INFO: TCP Data received {"connection_id":151273,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:29:05] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:29:05] local.INFO: IMEI packet received {"connection_id":151273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":151273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:29:10] local.INFO: TCP Data received {"connection_id":151273,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:29:10] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:29:10] local.INFO: Packet analysis {"connection_id":151273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:29:10] local.INFO: Extracted packet for processing {"connection_id":151273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05: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-08-10 05:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297791488001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786319799000,"timestamp_ms":1786319799000,"timestamp_seconds":1786319799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f502d8"} 
[2026-08-10 05:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05: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-08-10 05:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:29: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-08-10 05:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297791488001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297791488001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297791488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":151273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:29:10] local.INFO: GPS data processed {"connection_id":151273,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:29:10] local.INFO: Acknowledgment sent {"connection_id":151273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:29:41] local.INFO: TCP Data received {"connection_id":151273,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:29:41] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:29:41] local.INFO: Packet analysis {"connection_id":151273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:29:41] local.INFO: Extracted packet for processing {"connection_id":151273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05: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-08-10 05:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297791488001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786319799000,"timestamp_ms":1786319799000,"timestamp_seconds":1786319799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f502d8"} 
[2026-08-10 05:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05: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-08-10 05:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297791488001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297791488001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:29:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:29:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297791488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":151273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:29:41] local.INFO: GPS data processed {"connection_id":151273,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:29:41] local.INFO: Acknowledgment sent {"connection_id":151273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:30:00] local.INFO: TCP Data received {"connection_id":152561,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:30:00] local.INFO: Processing buffer {"connection_id":152561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:30:00] local.INFO: IMEI packet received {"connection_id":152561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":152561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:30:05] local.INFO: TCP Data received {"connection_id":152561,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:30:05] local.INFO: Processing buffer {"connection_id":152561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:30:05] local.INFO: IMEI packet received {"connection_id":152561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":152561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:30:06] local.INFO: TCP Data received {"connection_id":152561,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:30:06] local.INFO: Processing buffer {"connection_id":152561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:30:06] local.INFO: Packet analysis {"connection_id":152561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:30:06] local.INFO: Extracted packet for processing {"connection_id":152561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297791488001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786319799000,"timestamp_ms":1786319799000,"timestamp_seconds":1786319799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f502d8"} 
[2026-08-10 05:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297791488001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297791488001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297791488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":152561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:30:06] local.INFO: GPS data processed {"connection_id":152561,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:30:06] local.INFO: Acknowledgment sent {"connection_id":152561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:30:38] local.INFO: TCP Data received {"connection_id":152561,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:30:38] local.INFO: Processing buffer {"connection_id":152561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:30:38] local.INFO: Packet analysis {"connection_id":152561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:30:38] local.INFO: Extracted packet for processing {"connection_id":152561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297791488001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786319799000,"timestamp_ms":1786319799000,"timestamp_seconds":1786319799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f502d8"} 
[2026-08-10 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-08-10 05:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:30: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-08-10 05:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297791488001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297791488001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297791488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":152561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:30:38] local.INFO: GPS data processed {"connection_id":152561,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:30:38] local.INFO: Acknowledgment sent {"connection_id":152561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:31:00] local.INFO: TCP Data received {"connection_id":154007,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:31:00] local.INFO: Processing buffer {"connection_id":154007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:31:00] local.INFO: IMEI packet received {"connection_id":154007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":154007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:31:05] local.INFO: TCP Data received {"connection_id":154007,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:31:05] local.INFO: Processing buffer {"connection_id":154007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:31:05] local.INFO: IMEI packet received {"connection_id":154007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":154007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:31:06] local.INFO: TCP Data received {"connection_id":154007,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:31:06] local.INFO: Processing buffer {"connection_id":154007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:31:06] local.INFO: Packet analysis {"connection_id":154007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:31:06] local.INFO: Extracted packet for processing {"connection_id":154007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297791488001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786319799000,"timestamp_ms":1786319799000,"timestamp_seconds":1786319799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f502d8"} 
[2026-08-10 05:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297791488001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297791488001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297791488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":154007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:31:06] local.INFO: GPS data processed {"connection_id":154007,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:31:06] local.INFO: Acknowledgment sent {"connection_id":154007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:31:38] local.INFO: TCP Data received {"connection_id":154007,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:31:38] local.INFO: Processing buffer {"connection_id":154007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:31:38] local.INFO: Packet analysis {"connection_id":154007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:31:38] local.INFO: Extracted packet for processing {"connection_id":154007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297791488001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786319799000,"timestamp_ms":1786319799000,"timestamp_seconds":1786319799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f502d8"} 
[2026-08-10 05:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297791488001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297791488001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297791488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":154007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:31:38] local.INFO: GPS data processed {"connection_id":154007,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:31:38] local.INFO: Acknowledgment sent {"connection_id":154007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:32:00] local.INFO: TCP Data received {"connection_id":154008,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:32:00] local.INFO: Processing buffer {"connection_id":154008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:32:00] local.INFO: IMEI packet received {"connection_id":154008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":154008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:32:05] local.INFO: TCP Data received {"connection_id":154008,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:32:05] local.INFO: Processing buffer {"connection_id":154008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:32:05] local.INFO: IMEI packet received {"connection_id":154008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":154008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:32:06] local.INFO: TCP Data received {"connection_id":154008,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:32:06] local.INFO: Processing buffer {"connection_id":154008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f502d8012d34c20006aa3f08000b00f329..."} 
[2026-08-10 05:32:06] local.INFO: Packet analysis {"connection_id":154008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:32:06] local.INFO: Extracted packet for processing {"connection_id":154008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f5"} 
[2026-08-10 05:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297791488001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786319799000,"timestamp_ms":1786319799000,"timestamp_seconds":1786319799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f502d8"} 
[2026-08-10 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-08-10 05:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297791488001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297791488001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297791488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":154008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:32:06] local.INFO: GPS data processed {"connection_id":154008,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:32:06] local.INFO: Acknowledgment sent {"connection_id":154008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:32:37] local.INFO: TCP Data received {"connection_id":154008,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:32:37] local.INFO: Processing buffer {"connection_id":154008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:32:37] local.INFO: Packet analysis {"connection_id":154008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:32:37] local.INFO: Extracted packet for processing {"connection_id":154008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297868544001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786320100000,"timestamp_ms":1786320100000,"timestamp_seconds":1786320100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f99aa0"} 
[2026-08-10 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-08-10 05:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297868544001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297868544001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297868544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":154008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:32:37] local.INFO: GPS data processed {"connection_id":154008,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:32:37] local.INFO: Acknowledgment sent {"connection_id":154008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:33:05] local.INFO: TCP Data received {"connection_id":151642,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:33:05] local.INFO: Processing buffer {"connection_id":151642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:33:05] local.INFO: IMEI packet received {"connection_id":151642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":151642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:33:10] local.INFO: TCP Data received {"connection_id":151642,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:33:10] local.INFO: Processing buffer {"connection_id":151642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:33:10] local.INFO: IMEI packet received {"connection_id":151642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":151642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:33:11] local.INFO: TCP Data received {"connection_id":151642,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:33:11] local.INFO: Processing buffer {"connection_id":151642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:33:11] local.INFO: Packet analysis {"connection_id":151642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:33:11] local.INFO: Extracted packet for processing {"connection_id":151642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297868544001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786320100000,"timestamp_ms":1786320100000,"timestamp_seconds":1786320100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f99aa0"} 
[2026-08-10 05:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:33: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-08-10 05:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297868544001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297868544001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:33:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297868544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":151642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:33:11] local.INFO: GPS data processed {"connection_id":151642,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:33:11] local.INFO: Acknowledgment sent {"connection_id":151642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:33:16] local.INFO: TCP Data received {"connection_id":151642,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:33:16] local.INFO: Processing buffer {"connection_id":151642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:33:16] local.INFO: Packet analysis {"connection_id":151642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:33:16] local.INFO: Extracted packet for processing {"connection_id":151642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297868544001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786320100000,"timestamp_ms":1786320100000,"timestamp_seconds":1786320100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f99aa0"} 
[2026-08-10 05:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297868544001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297868544001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297868544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":151642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:33:16] local.INFO: GPS data processed {"connection_id":151642,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:33:16] local.INFO: Acknowledgment sent {"connection_id":151642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:34:03] local.INFO: TCP Data received {"connection_id":154009,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:34:03] local.INFO: Processing buffer {"connection_id":154009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:34:03] local.INFO: IMEI packet received {"connection_id":154009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":154009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:34:05] local.INFO: TCP Data received {"connection_id":154009,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:34:05] local.INFO: Processing buffer {"connection_id":154009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:34:05] local.INFO: IMEI packet received {"connection_id":154009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":154009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:34:05] local.INFO: TCP Data received {"connection_id":154009,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:34:05] local.INFO: Processing buffer {"connection_id":154009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:34:05] local.INFO: Packet analysis {"connection_id":154009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:34:05] local.INFO: Extracted packet for processing {"connection_id":154009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297868544001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786320100000,"timestamp_ms":1786320100000,"timestamp_seconds":1786320100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f99aa0"} 
[2026-08-10 05:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:34: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-08-10 05:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:34: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-08-10 05:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297868544001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297868544001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:34:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:34:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297868544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":154009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:34:05] local.INFO: GPS data processed {"connection_id":154009,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:34:05] local.INFO: Acknowledgment sent {"connection_id":154009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:34:13] local.INFO: TCP Data received {"connection_id":154009,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:34:13] local.INFO: Processing buffer {"connection_id":154009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:34:13] local.INFO: Packet analysis {"connection_id":154009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:34:13] local.INFO: Extracted packet for processing {"connection_id":154009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:34:13] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297868544001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786320100000,"timestamp_ms":1786320100000,"timestamp_seconds":1786320100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f99aa0"} 
[2026-08-10 05:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:34: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297868544001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297868544001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:34:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:34:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297868544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":154009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:34:13] local.INFO: GPS data processed {"connection_id":154009,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:34:13] local.INFO: Acknowledgment sent {"connection_id":154009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:34:49] local.INFO: TCP Data received {"connection_id":154009,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:34:49] local.INFO: Processing buffer {"connection_id":154009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:34:49] local.INFO: Packet analysis {"connection_id":154009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:34:49] local.INFO: Extracted packet for processing {"connection_id":154009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297868544001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786320100000,"timestamp_ms":1786320100000,"timestamp_seconds":1786320100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f99aa0"} 
[2026-08-10 05:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297868544001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297868544001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:34:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297868544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":154009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:34:49] local.INFO: GPS data processed {"connection_id":154009,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:34:49] local.INFO: Acknowledgment sent {"connection_id":154009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:35:00] local.INFO: TCP Data received {"connection_id":152562,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:35:00] local.INFO: Processing buffer {"connection_id":152562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:35:00] local.INFO: IMEI packet received {"connection_id":152562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":152562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:35:05] local.INFO: TCP Data received {"connection_id":152562,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:35:05] local.INFO: Processing buffer {"connection_id":152562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:35:05] local.INFO: IMEI packet received {"connection_id":152562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":152562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:35:06] local.INFO: TCP Data received {"connection_id":152562,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:35:06] local.INFO: Processing buffer {"connection_id":152562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:35:06] local.INFO: Packet analysis {"connection_id":152562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:35:06] local.INFO: Extracted packet for processing {"connection_id":152562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297868544001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786320100000,"timestamp_ms":1786320100000,"timestamp_seconds":1786320100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f99aa0"} 
[2026-08-10 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-08-10 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297868544001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297868544001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297868544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":152562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:35:06] local.INFO: GPS data processed {"connection_id":152562,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:35:06] local.INFO: Acknowledgment sent {"connection_id":152562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:35:37] local.INFO: TCP Data received {"connection_id":152562,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:35:37] local.INFO: Processing buffer {"connection_id":152562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:35:37] local.INFO: Packet analysis {"connection_id":152562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:35:37] local.INFO: Extracted packet for processing {"connection_id":152562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297868544001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786320100000,"timestamp_ms":1786320100000,"timestamp_seconds":1786320100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f99aa0"} 
[2026-08-10 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-08-10 05:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297868544001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297868544001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297868544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":152562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:35:37] local.INFO: GPS data processed {"connection_id":152562,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:35:37] local.INFO: Acknowledgment sent {"connection_id":152562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:36:00] local.INFO: TCP Data received {"connection_id":151643,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:36:00] local.INFO: Processing buffer {"connection_id":151643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:36:00] local.INFO: IMEI packet received {"connection_id":151643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":151643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:36:05] local.INFO: TCP Data received {"connection_id":151643,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:36:05] local.INFO: Processing buffer {"connection_id":151643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:36:05] local.INFO: IMEI packet received {"connection_id":151643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":151643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:36:15] local.INFO: TCP Data received {"connection_id":151643,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:36:15] local.INFO: Processing buffer {"connection_id":151643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:36:15] local.INFO: Packet analysis {"connection_id":151643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:36:15] local.INFO: Extracted packet for processing {"connection_id":151643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297868544001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786320100000,"timestamp_ms":1786320100000,"timestamp_seconds":1786320100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f99aa0"} 
[2026-08-10 05:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:36: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-08-10 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297868544001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297868544001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297868544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":151643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:36:15] local.INFO: GPS data processed {"connection_id":151643,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:36:15] local.INFO: Acknowledgment sent {"connection_id":151643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:37:00] local.INFO: TCP Data received {"connection_id":154010,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:37:00] local.INFO: Processing buffer {"connection_id":154010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:37:00] local.INFO: IMEI packet received {"connection_id":154010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":154010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:37:05] local.INFO: TCP Data received {"connection_id":154010,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:37:05] local.INFO: Processing buffer {"connection_id":154010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:37:05] local.INFO: IMEI packet received {"connection_id":154010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":154010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:37:06] local.INFO: TCP Data received {"connection_id":154010,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:37:06] local.INFO: Processing buffer {"connection_id":154010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8f99aa0012d34c20006aa3f08000900f32d..."} 
[2026-08-10 05:37:06] local.INFO: Packet analysis {"connection_id":154010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:37:06] local.INFO: Extracted packet for processing {"connection_id":154010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8f9"} 
[2026-08-10 05:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297868544001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786320100000,"timestamp_ms":1786320100000,"timestamp_seconds":1786320100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8f99aa0"} 
[2026-08-10 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-08-10 05:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297868544001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297868544001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297868544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":154010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:37:06] local.INFO: GPS data processed {"connection_id":154010,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:37:06] local.INFO: Acknowledgment sent {"connection_id":154010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:37:37] local.INFO: TCP Data received {"connection_id":154010,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:37:37] local.INFO: Processing buffer {"connection_id":154010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:37:37] local.INFO: Packet analysis {"connection_id":154010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:37:37] local.INFO: Extracted packet for processing {"connection_id":154010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":13,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297945600001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786320401000,"timestamp_ms":1786320401000,"timestamp_seconds":1786320401,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8fe3268"} 
[2026-08-10 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-08-10 05:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297945600001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297945600001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297945600001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":154010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:37:37] local.INFO: GPS data processed {"connection_id":154010,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:37:37] local.INFO: Acknowledgment sent {"connection_id":154010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:38:00] local.INFO: TCP Data received {"connection_id":151644,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:38:00] local.INFO: Processing buffer {"connection_id":151644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:38:00] local.INFO: IMEI packet received {"connection_id":151644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":151644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:38:05] local.INFO: TCP Data received {"connection_id":151644,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:38:05] local.INFO: Processing buffer {"connection_id":151644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:38:05] local.INFO: IMEI packet received {"connection_id":151644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":151644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:38:06] local.INFO: TCP Data received {"connection_id":151644,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:38:06] local.INFO: Processing buffer {"connection_id":151644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:38:06] local.INFO: Packet analysis {"connection_id":151644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:38:06] local.INFO: Extracted packet for processing {"connection_id":151644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:38:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":13,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297945600001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786320401000,"timestamp_ms":1786320401000,"timestamp_seconds":1786320401,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8fe3268"} 
[2026-08-10 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-08-10 05:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297945600001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297945600001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:38:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:38:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297945600001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":151644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:38:06] local.INFO: GPS data processed {"connection_id":151644,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:38:06] local.INFO: Acknowledgment sent {"connection_id":151644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:38:37] local.INFO: TCP Data received {"connection_id":151644,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:38:37] local.INFO: Processing buffer {"connection_id":151644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:38:37] local.INFO: Packet analysis {"connection_id":151644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:38:37] local.INFO: Extracted packet for processing {"connection_id":151644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":13,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297945600001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786320401000,"timestamp_ms":1786320401000,"timestamp_seconds":1786320401,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8fe3268"} 
[2026-08-10 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-08-10 05:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297945600001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297945600001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297945600001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":151644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:38:37] local.INFO: GPS data processed {"connection_id":151644,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:38:37] local.INFO: Acknowledgment sent {"connection_id":151644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:39:00] local.INFO: TCP Data received {"connection_id":152563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:39:00] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:39:00] local.INFO: IMEI packet received {"connection_id":152563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":152563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:39:05] local.INFO: TCP Data received {"connection_id":152563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:39:05] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:39:05] local.INFO: IMEI packet received {"connection_id":152563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":152563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:39:06] local.INFO: TCP Data received {"connection_id":152563,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:39:06] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:39:06] local.INFO: Packet analysis {"connection_id":152563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:39:06] local.INFO: Extracted packet for processing {"connection_id":152563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":13,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297945600001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786320401000,"timestamp_ms":1786320401000,"timestamp_seconds":1786320401,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8fe3268"} 
[2026-08-10 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-08-10 05:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297945600001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297945600001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297945600001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":152563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:39:06] local.INFO: GPS data processed {"connection_id":152563,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:39:06] local.INFO: Acknowledgment sent {"connection_id":152563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:39:37] local.INFO: TCP Data received {"connection_id":152563,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:39:37] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:39:37] local.INFO: Packet analysis {"connection_id":152563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:39:37] local.INFO: Extracted packet for processing {"connection_id":152563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":13,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297945600001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786320401000,"timestamp_ms":1786320401000,"timestamp_seconds":1786320401,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8fe3268"} 
[2026-08-10 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-08-10 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297945600001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297945600001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297945600001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":152563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:39:37] local.INFO: GPS data processed {"connection_id":152563,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:39:37] local.INFO: Acknowledgment sent {"connection_id":152563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:40:00] local.INFO: TCP Data received {"connection_id":151645,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:40:00] local.INFO: Processing buffer {"connection_id":151645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:40:00] local.INFO: IMEI packet received {"connection_id":151645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":151645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:40:05] local.INFO: TCP Data received {"connection_id":151645,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:40:05] local.INFO: Processing buffer {"connection_id":151645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:40:05] local.INFO: IMEI packet received {"connection_id":151645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":151645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:40:06] local.INFO: TCP Data received {"connection_id":151645,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:40:06] local.INFO: Processing buffer {"connection_id":151645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:40:06] local.INFO: Packet analysis {"connection_id":151645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:40:06] local.INFO: Extracted packet for processing {"connection_id":151645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":13,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297945600001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786320401000,"timestamp_ms":1786320401000,"timestamp_seconds":1786320401,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8fe3268"} 
[2026-08-10 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-08-10 05:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297945600001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297945600001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297945600001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":151645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:40:06] local.INFO: GPS data processed {"connection_id":151645,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:40:06] local.INFO: Acknowledgment sent {"connection_id":151645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:40:37] local.INFO: TCP Data received {"connection_id":151645,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:40:37] local.INFO: Processing buffer {"connection_id":151645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:40:37] local.INFO: Packet analysis {"connection_id":151645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:40:37] local.INFO: Extracted packet for processing {"connection_id":151645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":13,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297945600001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786320401000,"timestamp_ms":1786320401000,"timestamp_seconds":1786320401,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8fe3268"} 
[2026-08-10 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-08-10 05:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297945600001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297945600001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297945600001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":151645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:40:37] local.INFO: GPS data processed {"connection_id":151645,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:40:37] local.INFO: Acknowledgment sent {"connection_id":151645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:41:00] local.INFO: TCP Data received {"connection_id":152564,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:41:00] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:41:00] local.INFO: IMEI packet received {"connection_id":152564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":152564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:41:06] local.INFO: TCP Data received {"connection_id":152564,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:41:06] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:41:06] local.INFO: IMEI packet received {"connection_id":152564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":152564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:41:07] local.INFO: TCP Data received {"connection_id":152564,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:41:07] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:41:07] local.INFO: Packet analysis {"connection_id":152564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:41:07] local.INFO: Extracted packet for processing {"connection_id":152564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":13,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297945600001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786320401000,"timestamp_ms":1786320401000,"timestamp_seconds":1786320401,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8fe3268"} 
[2026-08-10 05:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297945600001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297945600001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297945600001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":152564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:41:07] local.INFO: GPS data processed {"connection_id":152564,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:41:07] local.INFO: Acknowledgment sent {"connection_id":152564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:41:38] local.INFO: TCP Data received {"connection_id":152564,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:41:38] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:41:38] local.INFO: Packet analysis {"connection_id":152564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:41:38] local.INFO: Extracted packet for processing {"connection_id":152564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":13,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05: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-08-10 05:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297945600001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786320401000,"timestamp_ms":1786320401000,"timestamp_seconds":1786320401,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8fe3268"} 
[2026-08-10 05:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05: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-08-10 05:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297945600001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297945600001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297945600001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":152564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:41:38] local.INFO: GPS data processed {"connection_id":152564,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:41:38] local.INFO: Acknowledgment sent {"connection_id":152564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:42:00] local.INFO: TCP Data received {"connection_id":154011,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:42:00] local.INFO: Processing buffer {"connection_id":154011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:42:00] local.INFO: IMEI packet received {"connection_id":154011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":154011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:42:05] local.INFO: TCP Data received {"connection_id":154011,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:42:05] local.INFO: Processing buffer {"connection_id":154011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:42:05] local.INFO: IMEI packet received {"connection_id":154011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":154011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:42:06] local.INFO: TCP Data received {"connection_id":154011,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:42:06] local.INFO: Processing buffer {"connection_id":154011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe8fe3268012d34c20006aa3f08000d00f32d..."} 
[2026-08-10 05:42:06] local.INFO: Packet analysis {"connection_id":154011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:42:06] local.INFO: Extracted packet for processing {"connection_id":154011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe8fe"} 
[2026-08-10 05:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":13,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457297945600001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786320401000,"timestamp_ms":1786320401000,"timestamp_seconds":1786320401,"priority":1,"record_length":96,"hex_timestamp":"0000019fe8fe3268"} 
[2026-08-10 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-08-10 05:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457297945600001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457297945600001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:42:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:42:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457297945600001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":154011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:42:06] local.INFO: GPS data processed {"connection_id":154011,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:42:06] local.INFO: Acknowledgment sent {"connection_id":154011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:42:37] local.INFO: TCP Data received {"connection_id":154011,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:42:37] local.INFO: Processing buffer {"connection_id":154011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:42:37] local.INFO: Packet analysis {"connection_id":154011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:42:37] local.INFO: Extracted packet for processing {"connection_id":154011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298022656001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786320702000,"timestamp_ms":1786320702000,"timestamp_seconds":1786320702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe902ca30"} 
[2026-08-10 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-08-10 05:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:42: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-08-10 05:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298022656001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298022656001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298022656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":154011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:42:37] local.INFO: GPS data processed {"connection_id":154011,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:42:37] local.INFO: Acknowledgment sent {"connection_id":154011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:43:00] local.INFO: TCP Data received {"connection_id":151274,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:43:00] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:43:00] local.INFO: IMEI packet received {"connection_id":151274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":151274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:43:05] local.INFO: TCP Data received {"connection_id":151274,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:43:05] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:43:05] local.INFO: IMEI packet received {"connection_id":151274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":151274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:43:08] local.INFO: TCP Data received {"connection_id":151274,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:43:08] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:43:08] local.INFO: Packet analysis {"connection_id":151274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:43:08] local.INFO: Extracted packet for processing {"connection_id":151274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298022656001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786320702000,"timestamp_ms":1786320702000,"timestamp_seconds":1786320702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe902ca30"} 
[2026-08-10 05:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298022656001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298022656001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298022656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":151274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:43:08] local.INFO: GPS data processed {"connection_id":151274,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:43:08] local.INFO: Acknowledgment sent {"connection_id":151274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:43:49] local.INFO: TCP Data received {"connection_id":151274,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:43:49] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:43:49] local.INFO: Packet analysis {"connection_id":151274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:43:49] local.INFO: Extracted packet for processing {"connection_id":151274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:43:49] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298022656001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786320702000,"timestamp_ms":1786320702000,"timestamp_seconds":1786320702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe902ca30"} 
[2026-08-10 05:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298022656001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298022656001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:43:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:43:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298022656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":151274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:43:49] local.INFO: GPS data processed {"connection_id":151274,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:43:49] local.INFO: Acknowledgment sent {"connection_id":151274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:44:00] local.INFO: TCP Data received {"connection_id":151646,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:44:00] local.INFO: Processing buffer {"connection_id":151646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:44:00] local.INFO: IMEI packet received {"connection_id":151646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":151646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:44:05] local.INFO: TCP Data received {"connection_id":151646,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:44:05] local.INFO: Processing buffer {"connection_id":151646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:44:05] local.INFO: IMEI packet received {"connection_id":151646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":151646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:44:06] local.INFO: TCP Data received {"connection_id":151646,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:44:06] local.INFO: Processing buffer {"connection_id":151646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:44:06] local.INFO: Packet analysis {"connection_id":151646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:44:06] local.INFO: Extracted packet for processing {"connection_id":151646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298022656001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786320702000,"timestamp_ms":1786320702000,"timestamp_seconds":1786320702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe902ca30"} 
[2026-08-10 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-08-10 05:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298022656001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298022656001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298022656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":151646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:44:06] local.INFO: GPS data processed {"connection_id":151646,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:44:06] local.INFO: Acknowledgment sent {"connection_id":151646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:44:37] local.INFO: TCP Data received {"connection_id":151646,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:44:37] local.INFO: Processing buffer {"connection_id":151646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:44:37] local.INFO: Packet analysis {"connection_id":151646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:44:37] local.INFO: Extracted packet for processing {"connection_id":151646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298022656001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786320702000,"timestamp_ms":1786320702000,"timestamp_seconds":1786320702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe902ca30"} 
[2026-08-10 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-08-10 05:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298022656001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298022656001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298022656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":151646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:44:37] local.INFO: GPS data processed {"connection_id":151646,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:44:37] local.INFO: Acknowledgment sent {"connection_id":151646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:45:00] local.INFO: TCP Data received {"connection_id":151275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:45:00] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:45:00] local.INFO: IMEI packet received {"connection_id":151275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":151275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:45:05] local.INFO: TCP Data received {"connection_id":151275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:45:05] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:45:05] local.INFO: IMEI packet received {"connection_id":151275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":151275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:45:06] local.INFO: TCP Data received {"connection_id":151275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:45:06] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:45:06] local.INFO: Packet analysis {"connection_id":151275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:45:06] local.INFO: Extracted packet for processing {"connection_id":151275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298022656001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786320702000,"timestamp_ms":1786320702000,"timestamp_seconds":1786320702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe902ca30"} 
[2026-08-10 05:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:45: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-08-10 05:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298022656001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298022656001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298022656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":151275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:45:06] local.INFO: GPS data processed {"connection_id":151275,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:45:06] local.INFO: Acknowledgment sent {"connection_id":151275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:45:41] local.INFO: TCP Data received {"connection_id":151275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:45:41] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:45:41] local.INFO: Packet analysis {"connection_id":151275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:45:41] local.INFO: Extracted packet for processing {"connection_id":151275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298022656001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786320702000,"timestamp_ms":1786320702000,"timestamp_seconds":1786320702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe902ca30"} 
[2026-08-10 05:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:45: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-08-10 05:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298022656001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298022656001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:45:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:45:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298022656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":151275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:45:41] local.INFO: GPS data processed {"connection_id":151275,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:45:41] local.INFO: Acknowledgment sent {"connection_id":151275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:45:59] local.INFO: TCP Data received {"connection_id":154012,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:45:59] local.INFO: Processing buffer {"connection_id":154012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:45:59] local.INFO: IMEI packet received {"connection_id":154012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":154012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:46:05] local.INFO: TCP Data received {"connection_id":154012,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:46:05] local.INFO: Processing buffer {"connection_id":154012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:46:05] local.INFO: IMEI packet received {"connection_id":154012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":154012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:46:06] local.INFO: TCP Data received {"connection_id":154012,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:46:06] local.INFO: Processing buffer {"connection_id":154012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:46:06] local.INFO: Packet analysis {"connection_id":154012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:46:06] local.INFO: Extracted packet for processing {"connection_id":154012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298022656001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786320702000,"timestamp_ms":1786320702000,"timestamp_seconds":1786320702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe902ca30"} 
[2026-08-10 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-08-10 05:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298022656001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298022656001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298022656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":154012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:46:06] local.INFO: GPS data processed {"connection_id":154012,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:46:06] local.INFO: Acknowledgment sent {"connection_id":154012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:46:38] local.INFO: TCP Data received {"connection_id":154012,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:46:38] local.INFO: Processing buffer {"connection_id":154012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:46:38] local.INFO: Packet analysis {"connection_id":154012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:46:38] local.INFO: Extracted packet for processing {"connection_id":154012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298022656001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786320702000,"timestamp_ms":1786320702000,"timestamp_seconds":1786320702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe902ca30"} 
[2026-08-10 05:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298022656001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298022656001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298022656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":154012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:46:38] local.INFO: GPS data processed {"connection_id":154012,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:46:38] local.INFO: Acknowledgment sent {"connection_id":154012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:47:00] local.INFO: TCP Data received {"connection_id":151647,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:47:00] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:47:00] local.INFO: IMEI packet received {"connection_id":151647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":151647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:47:05] local.INFO: TCP Data received {"connection_id":151647,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:47:05] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:47:05] local.INFO: IMEI packet received {"connection_id":151647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":151647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:47:06] local.INFO: TCP Data received {"connection_id":151647,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:47:06] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe902ca30012d34c20006aa3f08000900f32c..."} 
[2026-08-10 05:47:06] local.INFO: Packet analysis {"connection_id":151647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:47:06] local.INFO: Extracted packet for processing {"connection_id":151647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe902"} 
[2026-08-10 05:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298022656001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786320702000,"timestamp_ms":1786320702000,"timestamp_seconds":1786320702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe902ca30"} 
[2026-08-10 05:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298022656001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298022656001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:47:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298022656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":151647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:47:06] local.INFO: GPS data processed {"connection_id":151647,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:47:06] local.INFO: Acknowledgment sent {"connection_id":151647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:47:37] local.INFO: TCP Data received {"connection_id":151647,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:47:37] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:47:37] local.INFO: Packet analysis {"connection_id":151647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:47:37] local.INFO: Extracted packet for processing {"connection_id":151647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298099712001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786321003000,"timestamp_ms":1786321003000,"timestamp_seconds":1786321003,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90761f8"} 
[2026-08-10 05:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:47: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-08-10 05:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298099712001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298099712001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298099712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":151647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:47:38] local.INFO: GPS data processed {"connection_id":151647,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:47:38] local.INFO: Acknowledgment sent {"connection_id":151647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:48:00] local.INFO: TCP Data received {"connection_id":151648,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:48:00] local.INFO: Processing buffer {"connection_id":151648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:48:00] local.INFO: IMEI packet received {"connection_id":151648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":151648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:48:05] local.INFO: TCP Data received {"connection_id":151648,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:48:05] local.INFO: Processing buffer {"connection_id":151648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:48:05] local.INFO: IMEI packet received {"connection_id":151648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":151648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:48:08] local.INFO: TCP Data received {"connection_id":151648,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:48:08] local.INFO: Processing buffer {"connection_id":151648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:48:08] local.INFO: Packet analysis {"connection_id":151648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:48:08] local.INFO: Extracted packet for processing {"connection_id":151648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298099712001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786321003000,"timestamp_ms":1786321003000,"timestamp_seconds":1786321003,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90761f8"} 
[2026-08-10 05:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298099712001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298099712001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298099712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":151648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:48:08] local.INFO: GPS data processed {"connection_id":151648,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:48:08] local.INFO: Acknowledgment sent {"connection_id":151648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:48:39] local.INFO: TCP Data received {"connection_id":151648,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:48:39] local.INFO: Processing buffer {"connection_id":151648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:48:39] local.INFO: Packet analysis {"connection_id":151648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:48:39] local.INFO: Extracted packet for processing {"connection_id":151648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298099712001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786321003000,"timestamp_ms":1786321003000,"timestamp_seconds":1786321003,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90761f8"} 
[2026-08-10 05:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298099712001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298099712001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:48:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298099712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":151648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:48:39] local.INFO: GPS data processed {"connection_id":151648,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:48:39] local.INFO: Acknowledgment sent {"connection_id":151648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:49:00] local.INFO: TCP Data received {"connection_id":154013,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:49:00] local.INFO: Processing buffer {"connection_id":154013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:49:00] local.INFO: IMEI packet received {"connection_id":154013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":154013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:49:05] local.INFO: TCP Data received {"connection_id":154013,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:49:05] local.INFO: Processing buffer {"connection_id":154013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:49:05] local.INFO: IMEI packet received {"connection_id":154013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":154013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:49:06] local.INFO: TCP Data received {"connection_id":154013,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:49:06] local.INFO: Processing buffer {"connection_id":154013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:49:06] local.INFO: Packet analysis {"connection_id":154013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:49:06] local.INFO: Extracted packet for processing {"connection_id":154013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298099712001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321003000,"timestamp_ms":1786321003000,"timestamp_seconds":1786321003,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90761f8"} 
[2026-08-10 05:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298099712001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298099712001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298099712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":154013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:49:06] local.INFO: GPS data processed {"connection_id":154013,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:49:06] local.INFO: Acknowledgment sent {"connection_id":154013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:49:38] local.INFO: TCP Data received {"connection_id":154013,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:49:38] local.INFO: Processing buffer {"connection_id":154013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:49:38] local.INFO: Packet analysis {"connection_id":154013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:49:38] local.INFO: Extracted packet for processing {"connection_id":154013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298099712001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786321003000,"timestamp_ms":1786321003000,"timestamp_seconds":1786321003,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90761f8"} 
[2026-08-10 05:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298099712001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298099712001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298099712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":154013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:49:38] local.INFO: GPS data processed {"connection_id":154013,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:49:38] local.INFO: Acknowledgment sent {"connection_id":154013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:50:00] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:50:00] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:50:00] local.INFO: IMEI packet received {"connection_id":151649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":151649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:50:05] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:50:05] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:50:05] local.INFO: IMEI packet received {"connection_id":151649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":151649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:50:06] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:50:06] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:50:06] local.INFO: Packet analysis {"connection_id":151649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:50:06] local.INFO: Extracted packet for processing {"connection_id":151649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298099712001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321003000,"timestamp_ms":1786321003000,"timestamp_seconds":1786321003,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90761f8"} 
[2026-08-10 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-08-10 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298099712001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298099712001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298099712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":151649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:50:06] local.INFO: GPS data processed {"connection_id":151649,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:50:06] local.INFO: Acknowledgment sent {"connection_id":151649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:50:37] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:50:37] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:50:37] local.INFO: Packet analysis {"connection_id":151649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:50:37] local.INFO: Extracted packet for processing {"connection_id":151649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298099712001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786321003000,"timestamp_ms":1786321003000,"timestamp_seconds":1786321003,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90761f8"} 
[2026-08-10 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-08-10 05:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298099712001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298099712001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298099712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":151649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:50:37] local.INFO: GPS data processed {"connection_id":151649,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:50:37] local.INFO: Acknowledgment sent {"connection_id":151649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:50:59] local.INFO: TCP Data received {"connection_id":152565,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:50:59] local.INFO: Processing buffer {"connection_id":152565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:50:59] local.INFO: IMEI packet received {"connection_id":152565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":152565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:51:05] local.INFO: TCP Data received {"connection_id":152565,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:51:05] local.INFO: Processing buffer {"connection_id":152565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:51:05] local.INFO: IMEI packet received {"connection_id":152565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":152565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:51:06] local.INFO: TCP Data received {"connection_id":152565,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:51:06] local.INFO: Processing buffer {"connection_id":152565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:51:06] local.INFO: Packet analysis {"connection_id":152565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:51:06] local.INFO: Extracted packet for processing {"connection_id":152565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298099712001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321003000,"timestamp_ms":1786321003000,"timestamp_seconds":1786321003,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90761f8"} 
[2026-08-10 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-08-10 05:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298099712001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298099712001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298099712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":152565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:51:06] local.INFO: GPS data processed {"connection_id":152565,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:51:06] local.INFO: Acknowledgment sent {"connection_id":152565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:51:39] local.INFO: TCP Data received {"connection_id":152565,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:51:39] local.INFO: Processing buffer {"connection_id":152565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:51:39] local.INFO: Packet analysis {"connection_id":152565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:51:39] local.INFO: Extracted packet for processing {"connection_id":152565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298099712001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786321003000,"timestamp_ms":1786321003000,"timestamp_seconds":1786321003,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90761f8"} 
[2026-08-10 05:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298099712001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298099712001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298099712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":152565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:51:39] local.INFO: GPS data processed {"connection_id":152565,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:51:39] local.INFO: Acknowledgment sent {"connection_id":152565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:51:59] local.INFO: TCP Data received {"connection_id":154014,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:51:59] local.INFO: Processing buffer {"connection_id":154014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:51:59] local.INFO: IMEI packet received {"connection_id":154014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":154014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:52:05] local.INFO: TCP Data received {"connection_id":154014,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:52:05] local.INFO: Processing buffer {"connection_id":154014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:52:05] local.INFO: IMEI packet received {"connection_id":154014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":154014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:52:06] local.INFO: TCP Data received {"connection_id":154014,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:52:06] local.INFO: Processing buffer {"connection_id":154014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90761f8012d34c20006aa3f08000500f32c..."} 
[2026-08-10 05:52:06] local.INFO: Packet analysis {"connection_id":154014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:52:06] local.INFO: Extracted packet for processing {"connection_id":154014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe907"} 
[2026-08-10 05:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298099712001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321003000,"timestamp_ms":1786321003000,"timestamp_seconds":1786321003,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90761f8"} 
[2026-08-10 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-08-10 05:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 05:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298099712001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298099712001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298099712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":154014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:52:06] local.INFO: GPS data processed {"connection_id":154014,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:52:06] local.INFO: Acknowledgment sent {"connection_id":154014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:52:37] local.INFO: TCP Data received {"connection_id":154014,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:52:37] local.INFO: Processing buffer {"connection_id":154014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:52:37] local.INFO: Packet analysis {"connection_id":154014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:52:37] local.INFO: Extracted packet for processing {"connection_id":154014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298176768001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786321304000,"timestamp_ms":1786321304000,"timestamp_seconds":1786321304,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90bf9c0"} 
[2026-08-10 05:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298176768001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298176768001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298176768001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":154014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:52:37] local.INFO: GPS data processed {"connection_id":154014,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:52:37] local.INFO: Acknowledgment sent {"connection_id":154014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:53:00] local.INFO: TCP Data received {"connection_id":152566,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:53:00] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:53:00] local.INFO: IMEI packet received {"connection_id":152566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":152566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:53:05] local.INFO: TCP Data received {"connection_id":152566,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:53:05] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:53:05] local.INFO: IMEI packet received {"connection_id":152566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":152566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:53:06] local.INFO: TCP Data received {"connection_id":152566,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:53:06] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:53:06] local.INFO: Packet analysis {"connection_id":152566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:53:06] local.INFO: Extracted packet for processing {"connection_id":152566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298176768001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321304000,"timestamp_ms":1786321304000,"timestamp_seconds":1786321304,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90bf9c0"} 
[2026-08-10 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-08-10 05:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298176768001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298176768001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:53:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298176768001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":152566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:53:06] local.INFO: GPS data processed {"connection_id":152566,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:53:06] local.INFO: Acknowledgment sent {"connection_id":152566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:53:38] local.INFO: TCP Data received {"connection_id":152566,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:53:38] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:53:38] local.INFO: Packet analysis {"connection_id":152566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:53:38] local.INFO: Extracted packet for processing {"connection_id":152566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298176768001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786321304000,"timestamp_ms":1786321304000,"timestamp_seconds":1786321304,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90bf9c0"} 
[2026-08-10 05:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298176768001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298176768001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298176768001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":152566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:53:38] local.INFO: GPS data processed {"connection_id":152566,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:53:38] local.INFO: Acknowledgment sent {"connection_id":152566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:54:00] local.INFO: TCP Data received {"connection_id":154015,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:54:00] local.INFO: Processing buffer {"connection_id":154015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:54:00] local.INFO: IMEI packet received {"connection_id":154015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":154015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:54:05] local.INFO: TCP Data received {"connection_id":154015,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:54:05] local.INFO: Processing buffer {"connection_id":154015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:54:05] local.INFO: IMEI packet received {"connection_id":154015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":154015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:54:07] local.INFO: TCP Data received {"connection_id":154015,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:54:07] local.INFO: Processing buffer {"connection_id":154015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:54:07] local.INFO: Packet analysis {"connection_id":154015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:54:07] local.INFO: Extracted packet for processing {"connection_id":154015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05: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-08-10 05:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298176768001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786321304000,"timestamp_ms":1786321304000,"timestamp_seconds":1786321304,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90bf9c0"} 
[2026-08-10 05:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05: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-08-10 05:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298176768001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298176768001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:54:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298176768001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":154015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:54:07] local.INFO: GPS data processed {"connection_id":154015,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:54:07] local.INFO: Acknowledgment sent {"connection_id":154015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:54:38] local.INFO: TCP Data received {"connection_id":154015,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:54:38] local.INFO: Processing buffer {"connection_id":154015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:54:38] local.INFO: Packet analysis {"connection_id":154015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:54:38] local.INFO: Extracted packet for processing {"connection_id":154015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298176768001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786321304000,"timestamp_ms":1786321304000,"timestamp_seconds":1786321304,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90bf9c0"} 
[2026-08-10 05:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298176768001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298176768001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298176768001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":154015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:54:38] local.INFO: GPS data processed {"connection_id":154015,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:54:38] local.INFO: Acknowledgment sent {"connection_id":154015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:55:00] local.INFO: TCP Data received {"connection_id":151276,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:55:00] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:55:00] local.INFO: IMEI packet received {"connection_id":151276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":151276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:55:05] local.INFO: TCP Data received {"connection_id":151276,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:55:05] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:55:05] local.INFO: IMEI packet received {"connection_id":151276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":151276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:55:06] local.INFO: TCP Data received {"connection_id":151276,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:55:06] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:55:06] local.INFO: Packet analysis {"connection_id":151276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:55:06] local.INFO: Extracted packet for processing {"connection_id":151276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298176768001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321304000,"timestamp_ms":1786321304000,"timestamp_seconds":1786321304,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90bf9c0"} 
[2026-08-10 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-08-10 05:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298176768001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298176768001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298176768001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":151276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:55:06] local.INFO: GPS data processed {"connection_id":151276,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:55:06] local.INFO: Acknowledgment sent {"connection_id":151276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:55:38] local.INFO: TCP Data received {"connection_id":151276,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:55:38] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:55:38] local.INFO: Packet analysis {"connection_id":151276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:55:38] local.INFO: Extracted packet for processing {"connection_id":151276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298176768001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786321304000,"timestamp_ms":1786321304000,"timestamp_seconds":1786321304,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90bf9c0"} 
[2026-08-10 05:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298176768001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298176768001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298176768001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":151276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:55:38] local.INFO: GPS data processed {"connection_id":151276,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:55:38] local.INFO: Acknowledgment sent {"connection_id":151276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:55:59] local.INFO: TCP Data received {"connection_id":151277,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:56:00] local.INFO: Processing buffer {"connection_id":151277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:56:00] local.INFO: IMEI packet received {"connection_id":151277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":151277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:56:05] local.INFO: TCP Data received {"connection_id":151277,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:56:05] local.INFO: Processing buffer {"connection_id":151277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:56:05] local.INFO: IMEI packet received {"connection_id":151277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":151277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:56:07] local.INFO: TCP Data received {"connection_id":151277,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:56:07] local.INFO: Processing buffer {"connection_id":151277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:56:07] local.INFO: Packet analysis {"connection_id":151277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:56:07] local.INFO: Extracted packet for processing {"connection_id":151277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298176768001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786321304000,"timestamp_ms":1786321304000,"timestamp_seconds":1786321304,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90bf9c0"} 
[2026-08-10 05:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298176768001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298176768001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:56:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298176768001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":151277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:56:07] local.INFO: GPS data processed {"connection_id":151277,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:56:07] local.INFO: Acknowledgment sent {"connection_id":151277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:56:39] local.INFO: TCP Data received {"connection_id":151277,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:56:39] local.INFO: Processing buffer {"connection_id":151277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:56:39] local.INFO: Packet analysis {"connection_id":151277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:56:39] local.INFO: Extracted packet for processing {"connection_id":151277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298176768001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786321304000,"timestamp_ms":1786321304000,"timestamp_seconds":1786321304,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90bf9c0"} 
[2026-08-10 05:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298176768001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298176768001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:56:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298176768001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":151277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:56:39] local.INFO: GPS data processed {"connection_id":151277,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:56:39] local.INFO: Acknowledgment sent {"connection_id":151277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:57:00] local.INFO: TCP Data received {"connection_id":152567,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:57:00] local.INFO: Processing buffer {"connection_id":152567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:57:00] local.INFO: IMEI packet received {"connection_id":152567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":152567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:57:05] local.INFO: TCP Data received {"connection_id":152567,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:57:05] local.INFO: Processing buffer {"connection_id":152567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:57:05] local.INFO: IMEI packet received {"connection_id":152567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":152567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:57:06] local.INFO: TCP Data received {"connection_id":152567,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:57:06] local.INFO: Processing buffer {"connection_id":152567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe90bf9c0012d34c20006aa3f08000400f32d..."} 
[2026-08-10 05:57:06] local.INFO: Packet analysis {"connection_id":152567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:57:06] local.INFO: Extracted packet for processing {"connection_id":152567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe90b"} 
[2026-08-10 05:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298176768001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321304000,"timestamp_ms":1786321304000,"timestamp_seconds":1786321304,"priority":1,"record_length":96,"hex_timestamp":"0000019fe90bf9c0"} 
[2026-08-10 05:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298176768001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298176768001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298176768001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":152567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:57:06] local.INFO: GPS data processed {"connection_id":152567,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:57:06] local.INFO: Acknowledgment sent {"connection_id":152567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:57:37] local.INFO: TCP Data received {"connection_id":152567,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:57:37] local.INFO: Processing buffer {"connection_id":152567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:57:37] local.INFO: Packet analysis {"connection_id":152567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 05:57:37] local.INFO: Extracted packet for processing {"connection_id":152567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 05:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298253824001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786321605000,"timestamp_ms":1786321605000,"timestamp_seconds":1786321605,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9109188"} 
[2026-08-10 05:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298253824001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298253824001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298253824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":152567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:57:37] local.INFO: GPS data processed {"connection_id":152567,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:57:37] local.INFO: Acknowledgment sent {"connection_id":152567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:58:00] local.INFO: TCP Data received {"connection_id":152568,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:58:00] local.INFO: Processing buffer {"connection_id":152568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:58:00] local.INFO: IMEI packet received {"connection_id":152568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":152568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:58:05] local.INFO: TCP Data received {"connection_id":152568,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:58:05] local.INFO: Processing buffer {"connection_id":152568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:58:05] local.INFO: IMEI packet received {"connection_id":152568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":152568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:58:06] local.INFO: TCP Data received {"connection_id":152568,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:58:06] local.INFO: Processing buffer {"connection_id":152568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:58:06] local.INFO: Packet analysis {"connection_id":152568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 05:58:06] local.INFO: Extracted packet for processing {"connection_id":152568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 05:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298253824001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321605000,"timestamp_ms":1786321605000,"timestamp_seconds":1786321605,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9109188"} 
[2026-08-10 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-08-10 05:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298253824001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298253824001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298253824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":152568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:58:06] local.INFO: GPS data processed {"connection_id":152568,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:58:06] local.INFO: Acknowledgment sent {"connection_id":152568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:58:37] local.INFO: TCP Data received {"connection_id":152568,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:58:37] local.INFO: Processing buffer {"connection_id":152568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:58:37] local.INFO: Packet analysis {"connection_id":152568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 05:58:37] local.INFO: Extracted packet for processing {"connection_id":152568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 05:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 05:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298253824001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786321605000,"timestamp_ms":1786321605000,"timestamp_seconds":1786321605,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9109188"} 
[2026-08-10 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-08-10 05:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 05:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298253824001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298253824001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298253824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":152568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:58:37] local.INFO: GPS data processed {"connection_id":152568,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:58:37] local.INFO: Acknowledgment sent {"connection_id":152568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:59:00] local.INFO: TCP Data received {"connection_id":151650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:59:00] local.INFO: Processing buffer {"connection_id":151650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:59:00] local.INFO: IMEI packet received {"connection_id":151650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 05:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":151650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 05:59:05] local.INFO: TCP Data received {"connection_id":151650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:59:05] local.INFO: Processing buffer {"connection_id":151650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 05:59:05] local.INFO: IMEI packet received {"connection_id":151650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 05:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":151650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 05:59:06] local.INFO: TCP Data received {"connection_id":151650,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:59:06] local.INFO: Processing buffer {"connection_id":151650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:59:06] local.INFO: Packet analysis {"connection_id":151650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 05:59:06] local.INFO: Extracted packet for processing {"connection_id":151650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 05:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298253824001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321605000,"timestamp_ms":1786321605000,"timestamp_seconds":1786321605,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9109188"} 
[2026-08-10 05:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298253824001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298253824001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298253824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":151650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:59:06] local.INFO: GPS data processed {"connection_id":151650,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:59:06] local.INFO: Acknowledgment sent {"connection_id":151650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 05:59:38] local.INFO: TCP Data received {"connection_id":151650,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:59:38] local.INFO: Processing buffer {"connection_id":151650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 05:59:38] local.INFO: Packet analysis {"connection_id":151650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 05:59:38] local.INFO: Extracted packet for processing {"connection_id":151650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 05:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 05:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 05:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298253824001,"note":"Value kept but may cause issues"} 
[2026-08-10 05:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 05:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 05:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 05:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786321605000,"timestamp_ms":1786321605000,"timestamp_seconds":1786321605,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9109188"} 
[2026-08-10 05:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 05:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 05:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 05:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 05:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 05:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 05:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 05:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 05:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 05:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 05:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 05:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298253824001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 05:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 05:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 05:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298253824001,"description":"Unknown IO ID 0"} 
[2026-08-10 05:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 05:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 05:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 05:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 05:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298253824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 05:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":151650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 05:59:38] local.INFO: GPS data processed {"connection_id":151650,"processed":1,"errors":0,"total":1} 
[2026-08-10 05:59:38] local.INFO: Acknowledgment sent {"connection_id":151650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:00:00] local.INFO: TCP Data received {"connection_id":151278,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:00:00] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:00:00] local.INFO: IMEI packet received {"connection_id":151278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":151278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:00:05] local.INFO: TCP Data received {"connection_id":151278,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:00:05] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:00:05] local.INFO: IMEI packet received {"connection_id":151278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":151278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:00:06] local.INFO: TCP Data received {"connection_id":151278,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:00:06] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:00:06] local.INFO: Packet analysis {"connection_id":151278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 06:00:06] local.INFO: Extracted packet for processing {"connection_id":151278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 06:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298253824001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321605000,"timestamp_ms":1786321605000,"timestamp_seconds":1786321605,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9109188"} 
[2026-08-10 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-08-10 06:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298253824001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298253824001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298253824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":151278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:00:06] local.INFO: GPS data processed {"connection_id":151278,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:00:06] local.INFO: Acknowledgment sent {"connection_id":151278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:00:37] local.INFO: TCP Data received {"connection_id":151278,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:00:37] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:00:37] local.INFO: Packet analysis {"connection_id":151278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 06:00:37] local.INFO: Extracted packet for processing {"connection_id":151278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 06:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298253824001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786321605000,"timestamp_ms":1786321605000,"timestamp_seconds":1786321605,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9109188"} 
[2026-08-10 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-08-10 06:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298253824001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298253824001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298253824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":151278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:00:37] local.INFO: GPS data processed {"connection_id":151278,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:00:37] local.INFO: Acknowledgment sent {"connection_id":151278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:00:59] local.INFO: TCP Data received {"connection_id":154016,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:00:59] local.INFO: Processing buffer {"connection_id":154016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:00:59] local.INFO: IMEI packet received {"connection_id":154016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":154016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:01:05] local.INFO: TCP Data received {"connection_id":154016,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:01:05] local.INFO: Processing buffer {"connection_id":154016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:01:05] local.INFO: IMEI packet received {"connection_id":154016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":154016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:01:06] local.INFO: TCP Data received {"connection_id":154016,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:01:06] local.INFO: Processing buffer {"connection_id":154016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:01:06] local.INFO: Packet analysis {"connection_id":154016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 06:01:06] local.INFO: Extracted packet for processing {"connection_id":154016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 06:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298253824001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321605000,"timestamp_ms":1786321605000,"timestamp_seconds":1786321605,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9109188"} 
[2026-08-10 06:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298253824001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298253824001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298253824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":154016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:01:06] local.INFO: GPS data processed {"connection_id":154016,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:01:06] local.INFO: Acknowledgment sent {"connection_id":154016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:01:37] local.INFO: TCP Data received {"connection_id":154016,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:01:37] local.INFO: Processing buffer {"connection_id":154016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:01:37] local.INFO: Packet analysis {"connection_id":154016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 06:01:37] local.INFO: Extracted packet for processing {"connection_id":154016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 06:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298253824001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786321605000,"timestamp_ms":1786321605000,"timestamp_seconds":1786321605,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9109188"} 
[2026-08-10 06:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298253824001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298253824001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298253824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":154016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:01:37] local.INFO: GPS data processed {"connection_id":154016,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:01:37] local.INFO: Acknowledgment sent {"connection_id":154016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:02:00] local.INFO: TCP Data received {"connection_id":151651,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:02:00] local.INFO: Processing buffer {"connection_id":151651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:02:00] local.INFO: IMEI packet received {"connection_id":151651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":151651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:02:05] local.INFO: TCP Data received {"connection_id":151651,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:02:05] local.INFO: Processing buffer {"connection_id":151651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:02:05] local.INFO: IMEI packet received {"connection_id":151651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":151651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:02:06] local.INFO: TCP Data received {"connection_id":151651,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:02:06] local.INFO: Processing buffer {"connection_id":151651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9109188012d34c20006aa3f08000900f32e..."} 
[2026-08-10 06:02:06] local.INFO: Packet analysis {"connection_id":151651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 06:02:06] local.INFO: Extracted packet for processing {"connection_id":151651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe910"} 
[2026-08-10 06:02:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298253824001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321605000,"timestamp_ms":1786321605000,"timestamp_seconds":1786321605,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9109188"} 
[2026-08-10 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-08-10 06:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298253824001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298253824001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:02:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298253824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":151651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:02:06] local.INFO: GPS data processed {"connection_id":151651,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:02:06] local.INFO: Acknowledgment sent {"connection_id":151651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:02:37] local.INFO: TCP Data received {"connection_id":151651,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:02:37] local.INFO: Processing buffer {"connection_id":151651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:02:37] local.INFO: Packet analysis {"connection_id":151651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:02:37] local.INFO: Extracted packet for processing {"connection_id":151651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298330880001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786321906000,"timestamp_ms":1786321906000,"timestamp_seconds":1786321906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9152950"} 
[2026-08-10 06:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:02: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-08-10 06:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298330880001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298330880001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298330880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":151651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:02:37] local.INFO: GPS data processed {"connection_id":151651,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:02:37] local.INFO: Acknowledgment sent {"connection_id":151651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:03:00] local.INFO: TCP Data received {"connection_id":151279,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:03:00] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:03:00] local.INFO: IMEI packet received {"connection_id":151279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":151279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:03:05] local.INFO: TCP Data received {"connection_id":151279,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:03:05] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:03:05] local.INFO: IMEI packet received {"connection_id":151279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":151279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:03:06] local.INFO: TCP Data received {"connection_id":151279,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:03:06] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:03:06] local.INFO: Packet analysis {"connection_id":151279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:03:06] local.INFO: Extracted packet for processing {"connection_id":151279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298330880001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321906000,"timestamp_ms":1786321906000,"timestamp_seconds":1786321906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9152950"} 
[2026-08-10 06:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298330880001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298330880001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298330880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":151279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:03:06] local.INFO: GPS data processed {"connection_id":151279,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:03:06] local.INFO: Acknowledgment sent {"connection_id":151279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:03:37] local.INFO: TCP Data received {"connection_id":151279,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:03:37] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:03:37] local.INFO: Packet analysis {"connection_id":151279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:03:37] local.INFO: Extracted packet for processing {"connection_id":151279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298330880001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786321906000,"timestamp_ms":1786321906000,"timestamp_seconds":1786321906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9152950"} 
[2026-08-10 06:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298330880001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298330880001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298330880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":151279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:03:37] local.INFO: GPS data processed {"connection_id":151279,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:03:37] local.INFO: Acknowledgment sent {"connection_id":151279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:03:59] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:03:59] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:03:59] local.INFO: IMEI packet received {"connection_id":151652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":151652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:04:07] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:04:07] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:04:07] local.INFO: IMEI packet received {"connection_id":151652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":151652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:04:08] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:04:08] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:04:08] local.INFO: Packet analysis {"connection_id":151652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:04:08] local.INFO: Extracted packet for processing {"connection_id":151652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298330880001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786321906000,"timestamp_ms":1786321906000,"timestamp_seconds":1786321906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9152950"} 
[2026-08-10 06:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298330880001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298330880001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298330880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":151652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:04:08] local.INFO: GPS data processed {"connection_id":151652,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:04:08] local.INFO: Acknowledgment sent {"connection_id":151652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:04:42] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:04:42] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:04:42] local.INFO: Packet analysis {"connection_id":151652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:04:42] local.INFO: Extracted packet for processing {"connection_id":151652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298330880001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786321906000,"timestamp_ms":1786321906000,"timestamp_seconds":1786321906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9152950"} 
[2026-08-10 06:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298330880001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298330880001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298330880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":151652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:04:42] local.INFO: GPS data processed {"connection_id":151652,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:04:42] local.INFO: Acknowledgment sent {"connection_id":151652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:04:59] local.INFO: TCP Data received {"connection_id":154017,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:04:59] local.INFO: Processing buffer {"connection_id":154017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:04:59] local.INFO: IMEI packet received {"connection_id":154017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":154017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:05:05] local.INFO: TCP Data received {"connection_id":154017,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:05:05] local.INFO: Processing buffer {"connection_id":154017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:05:05] local.INFO: IMEI packet received {"connection_id":154017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":154017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:05:06] local.INFO: TCP Data received {"connection_id":154017,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:05:06] local.INFO: Processing buffer {"connection_id":154017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:05:06] local.INFO: Packet analysis {"connection_id":154017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:05:06] local.INFO: Extracted packet for processing {"connection_id":154017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298330880001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321906000,"timestamp_ms":1786321906000,"timestamp_seconds":1786321906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9152950"} 
[2026-08-10 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-08-10 06:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298330880001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298330880001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298330880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":154017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:05:06] local.INFO: GPS data processed {"connection_id":154017,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:05:06] local.INFO: Acknowledgment sent {"connection_id":154017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:05:38] local.INFO: TCP Data received {"connection_id":154017,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:05:38] local.INFO: Processing buffer {"connection_id":154017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:05:38] local.INFO: Packet analysis {"connection_id":154017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:05:38] local.INFO: Extracted packet for processing {"connection_id":154017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298330880001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786321906000,"timestamp_ms":1786321906000,"timestamp_seconds":1786321906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9152950"} 
[2026-08-10 06:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298330880001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298330880001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298330880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":154017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:05:38] local.INFO: GPS data processed {"connection_id":154017,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:05:38] local.INFO: Acknowledgment sent {"connection_id":154017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:05:59] local.INFO: TCP Data received {"connection_id":151280,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:05:59] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:05:59] local.INFO: IMEI packet received {"connection_id":151280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":151280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:06:06] local.INFO: TCP Data received {"connection_id":151280,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:06:06] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:06:06] local.INFO: IMEI packet received {"connection_id":151280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":151280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:06:06] local.INFO: TCP Data received {"connection_id":151280,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:06:06] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:06:06] local.INFO: Packet analysis {"connection_id":151280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:06:06] local.INFO: Extracted packet for processing {"connection_id":151280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298330880001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786321906000,"timestamp_ms":1786321906000,"timestamp_seconds":1786321906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9152950"} 
[2026-08-10 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-08-10 06:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298330880001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298330880001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298330880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":151280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:06:06] local.INFO: GPS data processed {"connection_id":151280,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:06:06] local.INFO: Acknowledgment sent {"connection_id":151280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:06:38] local.INFO: TCP Data received {"connection_id":151280,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:06:38] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:06:38] local.INFO: Packet analysis {"connection_id":151280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:06:38] local.INFO: Extracted packet for processing {"connection_id":151280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298330880001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786321906000,"timestamp_ms":1786321906000,"timestamp_seconds":1786321906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9152950"} 
[2026-08-10 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-08-10 06:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298330880001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298330880001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298330880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":151280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:06:38] local.INFO: GPS data processed {"connection_id":151280,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:06:38] local.INFO: Acknowledgment sent {"connection_id":151280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:07:05] local.INFO: TCP Data received {"connection_id":152569,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:07:05] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:07:05] local.INFO: IMEI packet received {"connection_id":152569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":152569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:07:10] local.INFO: TCP Data received {"connection_id":152569,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:07:10] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:07:10] local.INFO: IMEI packet received {"connection_id":152569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":152569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:07:12] local.INFO: TCP Data received {"connection_id":152569,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:07:12] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:07:12] local.INFO: Packet analysis {"connection_id":152569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:07:12] local.INFO: Extracted packet for processing {"connection_id":152569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:07:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298330880001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786321906000,"timestamp_ms":1786321906000,"timestamp_seconds":1786321906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9152950"} 
[2026-08-10 06:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298330880001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298330880001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:07:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:07:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298330880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":152569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:07:12] local.INFO: GPS data processed {"connection_id":152569,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:07:12] local.INFO: Acknowledgment sent {"connection_id":152569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:07:15] local.INFO: TCP Data received {"connection_id":152569,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:07:15] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9152950012d34c20006aa3f08000600f32f..."} 
[2026-08-10 06:07:15] local.INFO: Packet analysis {"connection_id":152569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:07:15] local.INFO: Extracted packet for processing {"connection_id":152569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe915"} 
[2026-08-10 06:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298330880001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786321906000,"timestamp_ms":1786321906000,"timestamp_seconds":1786321906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9152950"} 
[2026-08-10 06:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298330880001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298330880001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298330880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":152569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:07:15] local.INFO: GPS data processed {"connection_id":152569,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:07:15] local.INFO: Acknowledgment sent {"connection_id":152569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:08:00] local.INFO: TCP Data received {"connection_id":154018,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:08:00] local.INFO: Processing buffer {"connection_id":154018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:08:00] local.INFO: IMEI packet received {"connection_id":154018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":154018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:08:05] local.INFO: TCP Data received {"connection_id":154018,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:08:05] local.INFO: Processing buffer {"connection_id":154018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:08:05] local.INFO: IMEI packet received {"connection_id":154018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":154018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:08:07] local.INFO: TCP Data received {"connection_id":154018,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:08:07] local.INFO: Processing buffer {"connection_id":154018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:08:07] local.INFO: Packet analysis {"connection_id":154018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:08:07] local.INFO: Extracted packet for processing {"connection_id":154018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298407936001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786322207000,"timestamp_ms":1786322207000,"timestamp_seconds":1786322207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe919c118"} 
[2026-08-10 06:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298407936001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298407936001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:08:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:08:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298407936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":154018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:08:07] local.INFO: GPS data processed {"connection_id":154018,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:08:07] local.INFO: Acknowledgment sent {"connection_id":154018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:08:38] local.INFO: TCP Data received {"connection_id":154018,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:08:38] local.INFO: Processing buffer {"connection_id":154018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:08:38] local.INFO: Packet analysis {"connection_id":154018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:08:38] local.INFO: Extracted packet for processing {"connection_id":154018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298407936001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786322207000,"timestamp_ms":1786322207000,"timestamp_seconds":1786322207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe919c118"} 
[2026-08-10 06:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298407936001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298407936001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298407936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":154018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:08:38] local.INFO: GPS data processed {"connection_id":154018,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:08:38] local.INFO: Acknowledgment sent {"connection_id":154018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:08:59] local.INFO: TCP Data received {"connection_id":151653,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:08:59] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:08:59] local.INFO: IMEI packet received {"connection_id":151653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":151653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:09:05] local.INFO: TCP Data received {"connection_id":151653,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:09:05] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:09:05] local.INFO: IMEI packet received {"connection_id":151653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":151653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:09:06] local.INFO: TCP Data received {"connection_id":151653,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:09:06] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:09:06] local.INFO: Packet analysis {"connection_id":151653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:09:06] local.INFO: Extracted packet for processing {"connection_id":151653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298407936001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786322207000,"timestamp_ms":1786322207000,"timestamp_seconds":1786322207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe919c118"} 
[2026-08-10 06:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298407936001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298407936001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298407936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":151653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:09:06] local.INFO: GPS data processed {"connection_id":151653,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:09:06] local.INFO: Acknowledgment sent {"connection_id":151653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:09:37] local.INFO: TCP Data received {"connection_id":151653,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:09:37] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:09:37] local.INFO: Packet analysis {"connection_id":151653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:09:37] local.INFO: Extracted packet for processing {"connection_id":151653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298407936001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786322207000,"timestamp_ms":1786322207000,"timestamp_seconds":1786322207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe919c118"} 
[2026-08-10 06:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298407936001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298407936001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298407936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":151653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:09:37] local.INFO: GPS data processed {"connection_id":151653,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:09:37] local.INFO: Acknowledgment sent {"connection_id":151653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:09:59] local.INFO: TCP Data received {"connection_id":152570,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:09:59] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:09:59] local.INFO: IMEI packet received {"connection_id":152570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":152570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:10:05] local.INFO: TCP Data received {"connection_id":152570,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:10:05] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:10:05] local.INFO: IMEI packet received {"connection_id":152570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":152570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:10:06] local.INFO: TCP Data received {"connection_id":152570,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:10:06] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:10:06] local.INFO: Packet analysis {"connection_id":152570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:10:06] local.INFO: Extracted packet for processing {"connection_id":152570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298407936001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786322207000,"timestamp_ms":1786322207000,"timestamp_seconds":1786322207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe919c118"} 
[2026-08-10 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-08-10 06:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298407936001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298407936001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298407936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":152570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:10:06] local.INFO: GPS data processed {"connection_id":152570,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:10:06] local.INFO: Acknowledgment sent {"connection_id":152570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:10:37] local.INFO: TCP Data received {"connection_id":152570,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:10:37] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:10:37] local.INFO: Packet analysis {"connection_id":152570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:10:37] local.INFO: Extracted packet for processing {"connection_id":152570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298407936001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786322207000,"timestamp_ms":1786322207000,"timestamp_seconds":1786322207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe919c118"} 
[2026-08-10 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-08-10 06:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298407936001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298407936001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298407936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":152570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:10:37] local.INFO: GPS data processed {"connection_id":152570,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:10:37] local.INFO: Acknowledgment sent {"connection_id":152570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:10:59] local.INFO: TCP Data received {"connection_id":151654,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:10:59] local.INFO: Processing buffer {"connection_id":151654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:10:59] local.INFO: IMEI packet received {"connection_id":151654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":151654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:11:05] local.INFO: TCP Data received {"connection_id":151654,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:11:05] local.INFO: Processing buffer {"connection_id":151654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:11:05] local.INFO: IMEI packet received {"connection_id":151654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":151654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:11:06] local.INFO: TCP Data received {"connection_id":151654,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:11:06] local.INFO: Processing buffer {"connection_id":151654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:11:06] local.INFO: Packet analysis {"connection_id":151654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:11:06] local.INFO: Extracted packet for processing {"connection_id":151654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298407936001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786322207000,"timestamp_ms":1786322207000,"timestamp_seconds":1786322207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe919c118"} 
[2026-08-10 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-08-10 06:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298407936001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298407936001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298407936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":151654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:11:06] local.INFO: GPS data processed {"connection_id":151654,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:11:06] local.INFO: Acknowledgment sent {"connection_id":151654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:11:37] local.INFO: TCP Data received {"connection_id":151654,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:11:37] local.INFO: Processing buffer {"connection_id":151654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:11:37] local.INFO: Packet analysis {"connection_id":151654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:11:37] local.INFO: Extracted packet for processing {"connection_id":151654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298407936001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786322207000,"timestamp_ms":1786322207000,"timestamp_seconds":1786322207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe919c118"} 
[2026-08-10 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-08-10 06:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298407936001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298407936001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298407936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":151654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:11:37] local.INFO: GPS data processed {"connection_id":151654,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:11:37] local.INFO: Acknowledgment sent {"connection_id":151654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:12:04] local.INFO: TCP Data received {"connection_id":151655,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:12:04] local.INFO: Processing buffer {"connection_id":151655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:12:04] local.INFO: IMEI packet received {"connection_id":151655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":151655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:12:09] local.INFO: TCP Data received {"connection_id":151655,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:12:09] local.INFO: Processing buffer {"connection_id":151655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:12:09] local.INFO: IMEI packet received {"connection_id":151655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":151655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:12:15] local.INFO: TCP Data received {"connection_id":151655,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:12:15] local.INFO: Processing buffer {"connection_id":151655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:12:15] local.INFO: Packet analysis {"connection_id":151655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:12:15] local.INFO: Extracted packet for processing {"connection_id":151655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298407936001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786322207000,"timestamp_ms":1786322207000,"timestamp_seconds":1786322207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe919c118"} 
[2026-08-10 06:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:12: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-08-10 06:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298407936001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298407936001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298407936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":151655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:12:15] local.INFO: GPS data processed {"connection_id":151655,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:12:15] local.INFO: Acknowledgment sent {"connection_id":151655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:12:16] local.INFO: TCP Data received {"connection_id":151655,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:12:16] local.INFO: Processing buffer {"connection_id":151655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe919c118012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:12:16] local.INFO: Packet analysis {"connection_id":151655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:12:16] local.INFO: Extracted packet for processing {"connection_id":151655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe919"} 
[2026-08-10 06:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298407936001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786322207000,"timestamp_ms":1786322207000,"timestamp_seconds":1786322207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe919c118"} 
[2026-08-10 06:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298407936001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298407936001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298407936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":151655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:12:16] local.INFO: GPS data processed {"connection_id":151655,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:12:16] local.INFO: Acknowledgment sent {"connection_id":151655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:13:00] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:13:00] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:13:00] local.INFO: IMEI packet received {"connection_id":151281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":151281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:13:05] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:13:05] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:13:05] local.INFO: IMEI packet received {"connection_id":151281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":151281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:13:06] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:13:06] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:13:06] local.INFO: Packet analysis {"connection_id":151281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:13:06] local.INFO: Extracted packet for processing {"connection_id":151281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298484992001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786322508000,"timestamp_ms":1786322508000,"timestamp_seconds":1786322508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe91e58e0"} 
[2026-08-10 06:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298484992001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298484992001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298484992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":151281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:13:06] local.INFO: GPS data processed {"connection_id":151281,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:13:06] local.INFO: Acknowledgment sent {"connection_id":151281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:13:37] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:13:37] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:13:37] local.INFO: Packet analysis {"connection_id":151281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:13:37] local.INFO: Extracted packet for processing {"connection_id":151281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298484992001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786322508000,"timestamp_ms":1786322508000,"timestamp_seconds":1786322508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe91e58e0"} 
[2026-08-10 06:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298484992001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298484992001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298484992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":151281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:13:37] local.INFO: GPS data processed {"connection_id":151281,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:13:37] local.INFO: Acknowledgment sent {"connection_id":151281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:14:00] local.INFO: TCP Data received {"connection_id":154019,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:14:00] local.INFO: Processing buffer {"connection_id":154019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:14:00] local.INFO: IMEI packet received {"connection_id":154019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":154019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:14:05] local.INFO: TCP Data received {"connection_id":154019,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:14:05] local.INFO: Processing buffer {"connection_id":154019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:14:05] local.INFO: IMEI packet received {"connection_id":154019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":154019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:14:06] local.INFO: TCP Data received {"connection_id":154019,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:14:06] local.INFO: Processing buffer {"connection_id":154019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:14:06] local.INFO: Packet analysis {"connection_id":154019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:14:06] local.INFO: Extracted packet for processing {"connection_id":154019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298484992001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786322508000,"timestamp_ms":1786322508000,"timestamp_seconds":1786322508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe91e58e0"} 
[2026-08-10 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-08-10 06:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298484992001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298484992001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298484992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":154019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:14:06] local.INFO: GPS data processed {"connection_id":154019,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:14:06] local.INFO: Acknowledgment sent {"connection_id":154019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:14:37] local.INFO: TCP Data received {"connection_id":154019,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:14:37] local.INFO: Processing buffer {"connection_id":154019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:14:37] local.INFO: Packet analysis {"connection_id":154019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:14:37] local.INFO: Extracted packet for processing {"connection_id":154019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298484992001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786322508000,"timestamp_ms":1786322508000,"timestamp_seconds":1786322508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe91e58e0"} 
[2026-08-10 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-08-10 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298484992001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298484992001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298484992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":154019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:14:37] local.INFO: GPS data processed {"connection_id":154019,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:14:37] local.INFO: Acknowledgment sent {"connection_id":154019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:14:59] local.INFO: TCP Data received {"connection_id":151282,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:14:59] local.INFO: Processing buffer {"connection_id":151282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:14:59] local.INFO: IMEI packet received {"connection_id":151282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":151282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:15:05] local.INFO: TCP Data received {"connection_id":151282,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:15:05] local.INFO: Processing buffer {"connection_id":151282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:15:05] local.INFO: IMEI packet received {"connection_id":151282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":151282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:15:06] local.INFO: TCP Data received {"connection_id":151282,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:15:06] local.INFO: Processing buffer {"connection_id":151282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:15:06] local.INFO: Packet analysis {"connection_id":151282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:15:06] local.INFO: Extracted packet for processing {"connection_id":151282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298484992001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786322508000,"timestamp_ms":1786322508000,"timestamp_seconds":1786322508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe91e58e0"} 
[2026-08-10 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-08-10 06:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:15: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-08-10 06:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298484992001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298484992001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298484992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":151282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:15:06] local.INFO: GPS data processed {"connection_id":151282,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:15:06] local.INFO: Acknowledgment sent {"connection_id":151282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:15:37] local.INFO: TCP Data received {"connection_id":151282,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:15:37] local.INFO: Processing buffer {"connection_id":151282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:15:37] local.INFO: Packet analysis {"connection_id":151282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:15:37] local.INFO: Extracted packet for processing {"connection_id":151282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298484992001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786322508000,"timestamp_ms":1786322508000,"timestamp_seconds":1786322508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe91e58e0"} 
[2026-08-10 06:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298484992001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298484992001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298484992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":151282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:15:37] local.INFO: GPS data processed {"connection_id":151282,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:15:37] local.INFO: Acknowledgment sent {"connection_id":151282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:16:00] local.INFO: TCP Data received {"connection_id":154020,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:16:00] local.INFO: Processing buffer {"connection_id":154020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:16:00] local.INFO: IMEI packet received {"connection_id":154020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":154020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:16:05] local.INFO: TCP Data received {"connection_id":154020,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:16:05] local.INFO: Processing buffer {"connection_id":154020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:16:05] local.INFO: IMEI packet received {"connection_id":154020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":154020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:16:10] local.INFO: TCP Data received {"connection_id":154020,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:16:10] local.INFO: Processing buffer {"connection_id":154020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:16:10] local.INFO: Packet analysis {"connection_id":154020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:16:10] local.INFO: Extracted packet for processing {"connection_id":154020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298484992001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786322508000,"timestamp_ms":1786322508000,"timestamp_seconds":1786322508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe91e58e0"} 
[2026-08-10 06:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298484992001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298484992001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298484992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":154020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:16:10] local.INFO: GPS data processed {"connection_id":154020,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:16:10] local.INFO: Acknowledgment sent {"connection_id":154020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:16:57] local.INFO: TCP Data received {"connection_id":154020,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:16:57] local.INFO: Processing buffer {"connection_id":154020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:16:57] local.INFO: Packet analysis {"connection_id":154020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:16:57] local.INFO: Extracted packet for processing {"connection_id":154020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:16:57] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298484992001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786322508000,"timestamp_ms":1786322508000,"timestamp_seconds":1786322508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe91e58e0"} 
[2026-08-10 06:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298484992001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298484992001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:16:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:16:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298484992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":154020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:16:57] local.INFO: GPS data processed {"connection_id":154020,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:16:57] local.INFO: Acknowledgment sent {"connection_id":154020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:16:59] local.INFO: TCP Data received {"connection_id":151283,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:16:59] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:16:59] local.INFO: IMEI packet received {"connection_id":151283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":151283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:17:05] local.INFO: TCP Data received {"connection_id":151283,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:17:05] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:17:05] local.INFO: IMEI packet received {"connection_id":151283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":151283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:17:06] local.INFO: TCP Data received {"connection_id":151283,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:17:06] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe91e58e0012d34c20006aa3f08000800f32d..."} 
[2026-08-10 06:17:06] local.INFO: Packet analysis {"connection_id":151283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:17:06] local.INFO: Extracted packet for processing {"connection_id":151283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe91e"} 
[2026-08-10 06:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298484992001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786322508000,"timestamp_ms":1786322508000,"timestamp_seconds":1786322508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe91e58e0"} 
[2026-08-10 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-08-10 06:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298484992001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298484992001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298484992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":151283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:17:06] local.INFO: GPS data processed {"connection_id":151283,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:17:06] local.INFO: Acknowledgment sent {"connection_id":151283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:17:37] local.INFO: TCP Data received {"connection_id":151283,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:17:37] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:17:37] local.INFO: Packet analysis {"connection_id":151283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:17:37] local.INFO: Extracted packet for processing {"connection_id":151283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298562048001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786322809000,"timestamp_ms":1786322809000,"timestamp_seconds":1786322809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe922f0a8"} 
[2026-08-10 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-08-10 06:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298562048001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298562048001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298562048001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":151283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:17:37] local.INFO: GPS data processed {"connection_id":151283,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:17:37] local.INFO: Acknowledgment sent {"connection_id":151283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:18:00] local.INFO: TCP Data received {"connection_id":151656,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:18:00] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:18:00] local.INFO: IMEI packet received {"connection_id":151656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":151656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:18:05] local.INFO: TCP Data received {"connection_id":151656,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:18:05] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:18:05] local.INFO: IMEI packet received {"connection_id":151656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":151656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:18:06] local.INFO: TCP Data received {"connection_id":151656,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:18:06] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:18:06] local.INFO: Packet analysis {"connection_id":151656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:18:06] local.INFO: Extracted packet for processing {"connection_id":151656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298562048001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786322809000,"timestamp_ms":1786322809000,"timestamp_seconds":1786322809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe922f0a8"} 
[2026-08-10 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-08-10 06:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298562048001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298562048001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298562048001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":151656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:18:06] local.INFO: GPS data processed {"connection_id":151656,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:18:06] local.INFO: Acknowledgment sent {"connection_id":151656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:18:37] local.INFO: TCP Data received {"connection_id":151656,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:18:37] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:18:37] local.INFO: Packet analysis {"connection_id":151656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:18:37] local.INFO: Extracted packet for processing {"connection_id":151656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298562048001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786322809000,"timestamp_ms":1786322809000,"timestamp_seconds":1786322809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe922f0a8"} 
[2026-08-10 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-08-10 06:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298562048001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298562048001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298562048001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":151656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:18:37] local.INFO: GPS data processed {"connection_id":151656,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:18:37] local.INFO: Acknowledgment sent {"connection_id":151656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:19:00] local.INFO: TCP Data received {"connection_id":152571,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:19:00] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:19:00] local.INFO: IMEI packet received {"connection_id":152571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":152571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:19:05] local.INFO: TCP Data received {"connection_id":152571,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:19:05] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:19:05] local.INFO: IMEI packet received {"connection_id":152571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":152571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:19:06] local.INFO: TCP Data received {"connection_id":152571,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:19:06] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:19:06] local.INFO: Packet analysis {"connection_id":152571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:19:06] local.INFO: Extracted packet for processing {"connection_id":152571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298562048001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786322809000,"timestamp_ms":1786322809000,"timestamp_seconds":1786322809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe922f0a8"} 
[2026-08-10 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-08-10 06:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298562048001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298562048001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:19:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298562048001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":152571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:19:06] local.INFO: GPS data processed {"connection_id":152571,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:19:06] local.INFO: Acknowledgment sent {"connection_id":152571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:19:37] local.INFO: TCP Data received {"connection_id":152571,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:19:37] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:19:37] local.INFO: Packet analysis {"connection_id":152571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:19:37] local.INFO: Extracted packet for processing {"connection_id":152571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298562048001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786322809000,"timestamp_ms":1786322809000,"timestamp_seconds":1786322809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe922f0a8"} 
[2026-08-10 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-08-10 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298562048001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298562048001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298562048001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":152571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:19:37] local.INFO: GPS data processed {"connection_id":152571,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:19:37] local.INFO: Acknowledgment sent {"connection_id":152571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:19:59] local.INFO: TCP Data received {"connection_id":154021,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:19:59] local.INFO: Processing buffer {"connection_id":154021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:19:59] local.INFO: IMEI packet received {"connection_id":154021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":154021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:20:05] local.INFO: TCP Data received {"connection_id":154021,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:20:05] local.INFO: Processing buffer {"connection_id":154021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:20:05] local.INFO: IMEI packet received {"connection_id":154021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":154021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:20:06] local.INFO: TCP Data received {"connection_id":154021,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:20:06] local.INFO: Processing buffer {"connection_id":154021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:20:06] local.INFO: Packet analysis {"connection_id":154021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:20:06] local.INFO: Extracted packet for processing {"connection_id":154021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298562048001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786322809000,"timestamp_ms":1786322809000,"timestamp_seconds":1786322809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe922f0a8"} 
[2026-08-10 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-08-10 06:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298562048001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298562048001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298562048001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":154021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:20:06] local.INFO: GPS data processed {"connection_id":154021,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:20:06] local.INFO: Acknowledgment sent {"connection_id":154021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:20:59] local.INFO: TCP Data received {"connection_id":154022,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:20:59] local.INFO: Processing buffer {"connection_id":154022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:20:59] local.INFO: IMEI packet received {"connection_id":154022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":154022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:21:01] local.INFO: TCP Data received {"connection_id":154021,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:21:01] local.INFO: Processing buffer {"connection_id":154021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:21:01] local.INFO: Packet analysis {"connection_id":154021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:21:01] local.INFO: Extracted packet for processing {"connection_id":154021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:21:01] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298562048001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786322809000,"timestamp_ms":1786322809000,"timestamp_seconds":1786322809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe922f0a8"} 
[2026-08-10 06:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298562048001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298562048001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:21:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:21:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298562048001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":154021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:21:01] local.INFO: GPS data processed {"connection_id":154021,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:21:01] local.INFO: Acknowledgment sent {"connection_id":154021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:21:05] local.INFO: TCP Data received {"connection_id":154022,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:21:05] local.INFO: Processing buffer {"connection_id":154022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:21:05] local.INFO: IMEI packet received {"connection_id":154022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":154022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:21:09] local.INFO: TCP Data received {"connection_id":154022,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:21:09] local.INFO: Processing buffer {"connection_id":154022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:21:09] local.INFO: Packet analysis {"connection_id":154022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:21:09] local.INFO: Extracted packet for processing {"connection_id":154022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298562048001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786322809000,"timestamp_ms":1786322809000,"timestamp_seconds":1786322809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe922f0a8"} 
[2026-08-10 06:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:21: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-08-10 06:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298562048001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298562048001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298562048001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":154022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:21:09] local.INFO: GPS data processed {"connection_id":154022,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:21:09] local.INFO: Acknowledgment sent {"connection_id":154022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:21:40] local.INFO: TCP Data received {"connection_id":154022,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:21:40] local.INFO: Processing buffer {"connection_id":154022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:21:40] local.INFO: Packet analysis {"connection_id":154022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:21:40] local.INFO: Extracted packet for processing {"connection_id":154022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:21:40] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298562048001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786322809000,"timestamp_ms":1786322809000,"timestamp_seconds":1786322809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe922f0a8"} 
[2026-08-10 06:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298562048001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298562048001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:21:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:21:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298562048001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":154022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:21:40] local.INFO: GPS data processed {"connection_id":154022,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:21:40] local.INFO: Acknowledgment sent {"connection_id":154022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:21:59] local.INFO: TCP Data received {"connection_id":151657,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:21:59] local.INFO: Processing buffer {"connection_id":151657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:21:59] local.INFO: IMEI packet received {"connection_id":151657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":151657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:22:05] local.INFO: TCP Data received {"connection_id":151657,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:22:05] local.INFO: Processing buffer {"connection_id":151657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:22:05] local.INFO: IMEI packet received {"connection_id":151657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":151657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:22:06] local.INFO: TCP Data received {"connection_id":151657,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:22:06] local.INFO: Processing buffer {"connection_id":151657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe922f0a8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:22:06] local.INFO: Packet analysis {"connection_id":151657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:22:06] local.INFO: Extracted packet for processing {"connection_id":151657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe922"} 
[2026-08-10 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298562048001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786322809000,"timestamp_ms":1786322809000,"timestamp_seconds":1786322809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe922f0a8"} 
[2026-08-10 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-08-10 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298562048001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298562048001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298562048001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":151657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:22:06] local.INFO: GPS data processed {"connection_id":151657,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:22:06] local.INFO: Acknowledgment sent {"connection_id":151657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:22:37] local.INFO: TCP Data received {"connection_id":151657,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:22:37] local.INFO: Processing buffer {"connection_id":151657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:22:37] local.INFO: Packet analysis {"connection_id":151657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:22:37] local.INFO: Extracted packet for processing {"connection_id":151657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298639104001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786323110000,"timestamp_ms":1786323110000,"timestamp_seconds":1786323110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9278870"} 
[2026-08-10 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-08-10 06:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298639104001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298639104001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298639104001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":151657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:22:37] local.INFO: GPS data processed {"connection_id":151657,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:22:37] local.INFO: Acknowledgment sent {"connection_id":151657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:23:00] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:23:00] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:23:00] local.INFO: IMEI packet received {"connection_id":152572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":152572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:23:06] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:23:06] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:23:06] local.INFO: IMEI packet received {"connection_id":152572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":152572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:23:06] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:23:06] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:23:06] local.INFO: Packet analysis {"connection_id":152572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:23:06] local.INFO: Extracted packet for processing {"connection_id":152572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298639104001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323110000,"timestamp_ms":1786323110000,"timestamp_seconds":1786323110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9278870"} 
[2026-08-10 06:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298639104001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298639104001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:23:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298639104001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":152572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:23:06] local.INFO: GPS data processed {"connection_id":152572,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:23:06] local.INFO: Acknowledgment sent {"connection_id":152572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:23:38] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:23:38] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:23:38] local.INFO: Packet analysis {"connection_id":152572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:23:38] local.INFO: Extracted packet for processing {"connection_id":152572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298639104001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786323110000,"timestamp_ms":1786323110000,"timestamp_seconds":1786323110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9278870"} 
[2026-08-10 06:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298639104001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298639104001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298639104001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":152572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:23:38] local.INFO: GPS data processed {"connection_id":152572,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:23:38] local.INFO: Acknowledgment sent {"connection_id":152572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:24:00] local.INFO: TCP Data received {"connection_id":151658,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:24:00] local.INFO: Processing buffer {"connection_id":151658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:24:00] local.INFO: IMEI packet received {"connection_id":151658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":151658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:24:05] local.INFO: TCP Data received {"connection_id":151658,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:24:05] local.INFO: Processing buffer {"connection_id":151658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:24:05] local.INFO: IMEI packet received {"connection_id":151658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":151658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:24:06] local.INFO: TCP Data received {"connection_id":151658,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:24:06] local.INFO: Processing buffer {"connection_id":151658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:24:06] local.INFO: Packet analysis {"connection_id":151658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:24:06] local.INFO: Extracted packet for processing {"connection_id":151658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298639104001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323110000,"timestamp_ms":1786323110000,"timestamp_seconds":1786323110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9278870"} 
[2026-08-10 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-08-10 06:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298639104001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298639104001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298639104001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":151658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:24:06] local.INFO: GPS data processed {"connection_id":151658,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:24:06] local.INFO: Acknowledgment sent {"connection_id":151658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:24:37] local.INFO: TCP Data received {"connection_id":151658,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:24:37] local.INFO: Processing buffer {"connection_id":151658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:24:37] local.INFO: Packet analysis {"connection_id":151658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:24:37] local.INFO: Extracted packet for processing {"connection_id":151658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298639104001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786323110000,"timestamp_ms":1786323110000,"timestamp_seconds":1786323110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9278870"} 
[2026-08-10 06:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:24: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-08-10 06:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298639104001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298639104001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298639104001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":151658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:24:37] local.INFO: GPS data processed {"connection_id":151658,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:24:37] local.INFO: Acknowledgment sent {"connection_id":151658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:25:00] local.INFO: TCP Data received {"connection_id":154023,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:25:00] local.INFO: Processing buffer {"connection_id":154023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:25:00] local.INFO: IMEI packet received {"connection_id":154023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":154023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:25:05] local.INFO: TCP Data received {"connection_id":154023,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:25:05] local.INFO: Processing buffer {"connection_id":154023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:25:05] local.INFO: IMEI packet received {"connection_id":154023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":154023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:25:06] local.INFO: TCP Data received {"connection_id":154023,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:25:06] local.INFO: Processing buffer {"connection_id":154023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:25:06] local.INFO: Packet analysis {"connection_id":154023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:25:06] local.INFO: Extracted packet for processing {"connection_id":154023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298639104001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323110000,"timestamp_ms":1786323110000,"timestamp_seconds":1786323110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9278870"} 
[2026-08-10 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-08-10 06:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298639104001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298639104001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298639104001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":154023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:25:06] local.INFO: GPS data processed {"connection_id":154023,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:25:06] local.INFO: Acknowledgment sent {"connection_id":154023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:25:37] local.INFO: TCP Data received {"connection_id":154023,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:25:37] local.INFO: Processing buffer {"connection_id":154023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:25:37] local.INFO: Packet analysis {"connection_id":154023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:25:37] local.INFO: Extracted packet for processing {"connection_id":154023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298639104001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786323110000,"timestamp_ms":1786323110000,"timestamp_seconds":1786323110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9278870"} 
[2026-08-10 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-08-10 06:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298639104001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298639104001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298639104001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":154023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:25:37] local.INFO: GPS data processed {"connection_id":154023,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:25:37] local.INFO: Acknowledgment sent {"connection_id":154023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:25:59] local.INFO: TCP Data received {"connection_id":154024,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:25:59] local.INFO: Processing buffer {"connection_id":154024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:25:59] local.INFO: IMEI packet received {"connection_id":154024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":154024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:26:05] local.INFO: TCP Data received {"connection_id":154024,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:26:05] local.INFO: Processing buffer {"connection_id":154024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:26:05] local.INFO: IMEI packet received {"connection_id":154024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":154024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:26:06] local.INFO: TCP Data received {"connection_id":154024,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:26:06] local.INFO: Processing buffer {"connection_id":154024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:26:06] local.INFO: Packet analysis {"connection_id":154024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:26:06] local.INFO: Extracted packet for processing {"connection_id":154024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298639104001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323110000,"timestamp_ms":1786323110000,"timestamp_seconds":1786323110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9278870"} 
[2026-08-10 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-08-10 06:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298639104001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298639104001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298639104001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":154024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:26:06] local.INFO: GPS data processed {"connection_id":154024,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:26:06] local.INFO: Acknowledgment sent {"connection_id":154024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:26:38] local.INFO: TCP Data received {"connection_id":154024,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:26:38] local.INFO: Processing buffer {"connection_id":154024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:26:38] local.INFO: Packet analysis {"connection_id":154024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:26:38] local.INFO: Extracted packet for processing {"connection_id":154024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298639104001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786323110000,"timestamp_ms":1786323110000,"timestamp_seconds":1786323110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9278870"} 
[2026-08-10 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-08-10 06:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298639104001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298639104001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298639104001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":154024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:26:38] local.INFO: GPS data processed {"connection_id":154024,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:26:38] local.INFO: Acknowledgment sent {"connection_id":154024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:26:59] local.INFO: TCP Data received {"connection_id":151659,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:26:59] local.INFO: Processing buffer {"connection_id":151659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:26:59] local.INFO: IMEI packet received {"connection_id":151659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":151659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:27:05] local.INFO: TCP Data received {"connection_id":151659,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:27:05] local.INFO: Processing buffer {"connection_id":151659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:27:05] local.INFO: IMEI packet received {"connection_id":151659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":151659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:27:06] local.INFO: TCP Data received {"connection_id":151659,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:27:06] local.INFO: Processing buffer {"connection_id":151659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9278870012d34c20006aa3f08000900f32f..."} 
[2026-08-10 06:27:06] local.INFO: Packet analysis {"connection_id":151659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:27:06] local.INFO: Extracted packet for processing {"connection_id":151659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe927"} 
[2026-08-10 06:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298639104001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323110000,"timestamp_ms":1786323110000,"timestamp_seconds":1786323110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9278870"} 
[2026-08-10 06:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298639104001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298639104001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298639104001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":151659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:27:06] local.INFO: GPS data processed {"connection_id":151659,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:27:06] local.INFO: Acknowledgment sent {"connection_id":151659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:27:37] local.INFO: TCP Data received {"connection_id":151659,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:27:37] local.INFO: Processing buffer {"connection_id":151659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:27:37] local.INFO: Packet analysis {"connection_id":151659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:27:37] local.INFO: Extracted packet for processing {"connection_id":151659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298716160001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786323411000,"timestamp_ms":1786323411000,"timestamp_seconds":1786323411,"priority":1,"record_length":96,"hex_timestamp":"0000019fe92c2038"} 
[2026-08-10 06:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298716160001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298716160001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298716160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":151659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:27:37] local.INFO: GPS data processed {"connection_id":151659,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:27:37] local.INFO: Acknowledgment sent {"connection_id":151659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:28:00] local.INFO: TCP Data received {"connection_id":154025,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:28:00] local.INFO: Processing buffer {"connection_id":154025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:28:00] local.INFO: IMEI packet received {"connection_id":154025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":154025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:28:05] local.INFO: TCP Data received {"connection_id":154025,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:28:05] local.INFO: Processing buffer {"connection_id":154025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:28:05] local.INFO: IMEI packet received {"connection_id":154025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":154025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:28:06] local.INFO: TCP Data received {"connection_id":154025,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:28:06] local.INFO: Processing buffer {"connection_id":154025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:28:06] local.INFO: Packet analysis {"connection_id":154025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:28:06] local.INFO: Extracted packet for processing {"connection_id":154025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298716160001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323411000,"timestamp_ms":1786323411000,"timestamp_seconds":1786323411,"priority":1,"record_length":96,"hex_timestamp":"0000019fe92c2038"} 
[2026-08-10 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-08-10 06:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298716160001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298716160001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:28:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:28:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298716160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":154025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:28:06] local.INFO: GPS data processed {"connection_id":154025,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:28:06] local.INFO: Acknowledgment sent {"connection_id":154025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:28:37] local.INFO: TCP Data received {"connection_id":154025,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:28:37] local.INFO: Processing buffer {"connection_id":154025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:28:37] local.INFO: Packet analysis {"connection_id":154025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:28:37] local.INFO: Extracted packet for processing {"connection_id":154025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298716160001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786323411000,"timestamp_ms":1786323411000,"timestamp_seconds":1786323411,"priority":1,"record_length":96,"hex_timestamp":"0000019fe92c2038"} 
[2026-08-10 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-08-10 06:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:28: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-08-10 06:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298716160001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298716160001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298716160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":154025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:28:37] local.INFO: GPS data processed {"connection_id":154025,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:28:37] local.INFO: Acknowledgment sent {"connection_id":154025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:29:00] local.INFO: TCP Data received {"connection_id":151660,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:29:00] local.INFO: Processing buffer {"connection_id":151660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:29:00] local.INFO: IMEI packet received {"connection_id":151660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":151660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:29:05] local.INFO: TCP Data received {"connection_id":151660,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:29:05] local.INFO: Processing buffer {"connection_id":151660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:29:05] local.INFO: IMEI packet received {"connection_id":151660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":151660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:29:06] local.INFO: TCP Data received {"connection_id":151660,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:29:06] local.INFO: Processing buffer {"connection_id":151660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:29:06] local.INFO: Packet analysis {"connection_id":151660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:29:06] local.INFO: Extracted packet for processing {"connection_id":151660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298716160001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323411000,"timestamp_ms":1786323411000,"timestamp_seconds":1786323411,"priority":1,"record_length":96,"hex_timestamp":"0000019fe92c2038"} 
[2026-08-10 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-08-10 06:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298716160001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298716160001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298716160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":151660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:29:06] local.INFO: GPS data processed {"connection_id":151660,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:29:06] local.INFO: Acknowledgment sent {"connection_id":151660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:29:38] local.INFO: TCP Data received {"connection_id":151660,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:29:38] local.INFO: Processing buffer {"connection_id":151660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:29:38] local.INFO: Packet analysis {"connection_id":151660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:29:38] local.INFO: Extracted packet for processing {"connection_id":151660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298716160001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786323411000,"timestamp_ms":1786323411000,"timestamp_seconds":1786323411,"priority":1,"record_length":96,"hex_timestamp":"0000019fe92c2038"} 
[2026-08-10 06:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298716160001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298716160001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298716160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":151660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:29:38] local.INFO: GPS data processed {"connection_id":151660,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:29:38] local.INFO: Acknowledgment sent {"connection_id":151660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:30:00] local.INFO: TCP Data received {"connection_id":152573,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:30:00] local.INFO: Processing buffer {"connection_id":152573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:30:00] local.INFO: IMEI packet received {"connection_id":152573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":152573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:30:05] local.INFO: TCP Data received {"connection_id":152573,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:30:05] local.INFO: Processing buffer {"connection_id":152573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:30:05] local.INFO: IMEI packet received {"connection_id":152573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":152573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:30:06] local.INFO: TCP Data received {"connection_id":152573,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:30:06] local.INFO: Processing buffer {"connection_id":152573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:30:06] local.INFO: Packet analysis {"connection_id":152573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:30:06] local.INFO: Extracted packet for processing {"connection_id":152573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298716160001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323411000,"timestamp_ms":1786323411000,"timestamp_seconds":1786323411,"priority":1,"record_length":96,"hex_timestamp":"0000019fe92c2038"} 
[2026-08-10 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-08-10 06:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06: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-08-10 06:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298716160001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298716160001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298716160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":152573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:30:06] local.INFO: GPS data processed {"connection_id":152573,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:30:06] local.INFO: Acknowledgment sent {"connection_id":152573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:30:37] local.INFO: TCP Data received {"connection_id":152573,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:30:37] local.INFO: Processing buffer {"connection_id":152573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:30:37] local.INFO: Packet analysis {"connection_id":152573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:30:37] local.INFO: Extracted packet for processing {"connection_id":152573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298716160001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786323411000,"timestamp_ms":1786323411000,"timestamp_seconds":1786323411,"priority":1,"record_length":96,"hex_timestamp":"0000019fe92c2038"} 
[2026-08-10 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-08-10 06:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06: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-08-10 06:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298716160001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298716160001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298716160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":152573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:30:37] local.INFO: GPS data processed {"connection_id":152573,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:30:37] local.INFO: Acknowledgment sent {"connection_id":152573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:30:59] local.INFO: TCP Data received {"connection_id":154026,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:30:59] local.INFO: Processing buffer {"connection_id":154026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:30:59] local.INFO: IMEI packet received {"connection_id":154026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":154026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:31:05] local.INFO: TCP Data received {"connection_id":154026,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:31:05] local.INFO: Processing buffer {"connection_id":154026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:31:05] local.INFO: IMEI packet received {"connection_id":154026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":154026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:31:06] local.INFO: TCP Data received {"connection_id":154026,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:31:06] local.INFO: Processing buffer {"connection_id":154026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:31:06] local.INFO: Packet analysis {"connection_id":154026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:31:06] local.INFO: Extracted packet for processing {"connection_id":154026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298716160001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323411000,"timestamp_ms":1786323411000,"timestamp_seconds":1786323411,"priority":1,"record_length":96,"hex_timestamp":"0000019fe92c2038"} 
[2026-08-10 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-08-10 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298716160001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298716160001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298716160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":154026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:31:06] local.INFO: GPS data processed {"connection_id":154026,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:31:06] local.INFO: Acknowledgment sent {"connection_id":154026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:31:37] local.INFO: TCP Data received {"connection_id":154026,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:31:37] local.INFO: Processing buffer {"connection_id":154026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:31:37] local.INFO: Packet analysis {"connection_id":154026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:31:37] local.INFO: Extracted packet for processing {"connection_id":154026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298716160001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786323411000,"timestamp_ms":1786323411000,"timestamp_seconds":1786323411,"priority":1,"record_length":96,"hex_timestamp":"0000019fe92c2038"} 
[2026-08-10 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-08-10 06:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298716160001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298716160001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298716160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":154026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:31:37] local.INFO: GPS data processed {"connection_id":154026,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:31:37] local.INFO: Acknowledgment sent {"connection_id":154026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:32:00] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:32:00] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:32:00] local.INFO: IMEI packet received {"connection_id":151284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":151284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:32:05] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:32:05] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:32:05] local.INFO: IMEI packet received {"connection_id":151284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":151284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:32:06] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:32:06] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe92c2038012d34c20006aa3f08000a00f32f..."} 
[2026-08-10 06:32:06] local.INFO: Packet analysis {"connection_id":151284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:32:06] local.INFO: Extracted packet for processing {"connection_id":151284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe92c"} 
[2026-08-10 06:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298716160001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323411000,"timestamp_ms":1786323411000,"timestamp_seconds":1786323411,"priority":1,"record_length":96,"hex_timestamp":"0000019fe92c2038"} 
[2026-08-10 06:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298716160001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298716160001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298716160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":151284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:32:06] local.INFO: GPS data processed {"connection_id":151284,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:32:06] local.INFO: Acknowledgment sent {"connection_id":151284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:32:37] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:32:37] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:32:37] local.INFO: Packet analysis {"connection_id":151284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:32:37] local.INFO: Extracted packet for processing {"connection_id":151284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298793216001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786323712000,"timestamp_ms":1786323712000,"timestamp_seconds":1786323712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe930b800"} 
[2026-08-10 06:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298793216001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298793216001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298793216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":151284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:32:37] local.INFO: GPS data processed {"connection_id":151284,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:32:37] local.INFO: Acknowledgment sent {"connection_id":151284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:33:05] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:33:05] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:33:05] local.INFO: IMEI packet received {"connection_id":151661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":151661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:33:10] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:33:10] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:33:10] local.INFO: IMEI packet received {"connection_id":151661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":151661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:33:11] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:33:11] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:33:11] local.INFO: Packet analysis {"connection_id":151661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:33:11] local.INFO: Extracted packet for processing {"connection_id":151661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298793216001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786323712000,"timestamp_ms":1786323712000,"timestamp_seconds":1786323712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe930b800"} 
[2026-08-10 06:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:33: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-08-10 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298793216001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298793216001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:33:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298793216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":151661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:33:11] local.INFO: GPS data processed {"connection_id":151661,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:33:11] local.INFO: Acknowledgment sent {"connection_id":151661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:33:42] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:33:42] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:33:42] local.INFO: Packet analysis {"connection_id":151661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:33:42] local.INFO: Extracted packet for processing {"connection_id":151661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298793216001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786323712000,"timestamp_ms":1786323712000,"timestamp_seconds":1786323712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe930b800"} 
[2026-08-10 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-08-10 06:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298793216001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298793216001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298793216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":151661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:33:42] local.INFO: GPS data processed {"connection_id":151661,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:33:42] local.INFO: Acknowledgment sent {"connection_id":151661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:34:00] local.INFO: TCP Data received {"connection_id":151285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:34:00] local.INFO: Processing buffer {"connection_id":151285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:34:00] local.INFO: IMEI packet received {"connection_id":151285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":151285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:34:05] local.INFO: TCP Data received {"connection_id":151285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:34:05] local.INFO: Processing buffer {"connection_id":151285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:34:05] local.INFO: IMEI packet received {"connection_id":151285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":151285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:34:06] local.INFO: TCP Data received {"connection_id":151285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:34:06] local.INFO: Processing buffer {"connection_id":151285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:34:06] local.INFO: Packet analysis {"connection_id":151285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:34:06] local.INFO: Extracted packet for processing {"connection_id":151285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298793216001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323712000,"timestamp_ms":1786323712000,"timestamp_seconds":1786323712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe930b800"} 
[2026-08-10 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-08-10 06:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298793216001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298793216001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298793216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":151285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:34:06] local.INFO: GPS data processed {"connection_id":151285,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:34:06] local.INFO: Acknowledgment sent {"connection_id":151285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:34:37] local.INFO: TCP Data received {"connection_id":151285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:34:37] local.INFO: Processing buffer {"connection_id":151285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:34:37] local.INFO: Packet analysis {"connection_id":151285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:34:37] local.INFO: Extracted packet for processing {"connection_id":151285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298793216001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786323712000,"timestamp_ms":1786323712000,"timestamp_seconds":1786323712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe930b800"} 
[2026-08-10 06:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298793216001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298793216001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298793216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":151285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:34:37] local.INFO: GPS data processed {"connection_id":151285,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:34:37] local.INFO: Acknowledgment sent {"connection_id":151285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:35:00] local.INFO: TCP Data received {"connection_id":151662,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:35:00] local.INFO: Processing buffer {"connection_id":151662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:35:00] local.INFO: IMEI packet received {"connection_id":151662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":151662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:35:05] local.INFO: TCP Data received {"connection_id":151662,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:35:05] local.INFO: Processing buffer {"connection_id":151662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:35:05] local.INFO: IMEI packet received {"connection_id":151662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":151662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:35:06] local.INFO: TCP Data received {"connection_id":151662,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:35:06] local.INFO: Processing buffer {"connection_id":151662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:35:06] local.INFO: Packet analysis {"connection_id":151662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:35:06] local.INFO: Extracted packet for processing {"connection_id":151662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298793216001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323712000,"timestamp_ms":1786323712000,"timestamp_seconds":1786323712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe930b800"} 
[2026-08-10 06:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298793216001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298793216001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298793216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":151662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:35:06] local.INFO: GPS data processed {"connection_id":151662,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:35:06] local.INFO: Acknowledgment sent {"connection_id":151662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:35:37] local.INFO: TCP Data received {"connection_id":151662,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:35:37] local.INFO: Processing buffer {"connection_id":151662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:35:37] local.INFO: Packet analysis {"connection_id":151662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:35:37] local.INFO: Extracted packet for processing {"connection_id":151662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298793216001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786323712000,"timestamp_ms":1786323712000,"timestamp_seconds":1786323712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe930b800"} 
[2026-08-10 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-08-10 06:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298793216001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298793216001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298793216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":151662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:35:37] local.INFO: GPS data processed {"connection_id":151662,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:35:37] local.INFO: Acknowledgment sent {"connection_id":151662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:35:59] local.INFO: TCP Data received {"connection_id":151286,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:35:59] local.INFO: Processing buffer {"connection_id":151286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:35:59] local.INFO: IMEI packet received {"connection_id":151286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":151286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:36:05] local.INFO: TCP Data received {"connection_id":151286,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:36:05] local.INFO: Processing buffer {"connection_id":151286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:36:05] local.INFO: IMEI packet received {"connection_id":151286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":151286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:36:06] local.INFO: TCP Data received {"connection_id":151286,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:36:06] local.INFO: Processing buffer {"connection_id":151286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:36:06] local.INFO: Packet analysis {"connection_id":151286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:36:06] local.INFO: Extracted packet for processing {"connection_id":151286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298793216001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323712000,"timestamp_ms":1786323712000,"timestamp_seconds":1786323712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe930b800"} 
[2026-08-10 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-08-10 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298793216001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298793216001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298793216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":151286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:36:06] local.INFO: GPS data processed {"connection_id":151286,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:36:06] local.INFO: Acknowledgment sent {"connection_id":151286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:36:37] local.INFO: TCP Data received {"connection_id":151286,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:36:37] local.INFO: Processing buffer {"connection_id":151286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:36:37] local.INFO: Packet analysis {"connection_id":151286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:36:37] local.INFO: Extracted packet for processing {"connection_id":151286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298793216001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786323712000,"timestamp_ms":1786323712000,"timestamp_seconds":1786323712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe930b800"} 
[2026-08-10 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-08-10 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298793216001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298793216001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298793216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":151286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:36:37] local.INFO: GPS data processed {"connection_id":151286,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:36:37] local.INFO: Acknowledgment sent {"connection_id":151286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:36:59] local.INFO: TCP Data received {"connection_id":151287,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:36:59] local.INFO: Processing buffer {"connection_id":151287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:36:59] local.INFO: IMEI packet received {"connection_id":151287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":151287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:37:05] local.INFO: TCP Data received {"connection_id":151287,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:37:05] local.INFO: Processing buffer {"connection_id":151287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:37:05] local.INFO: IMEI packet received {"connection_id":151287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":151287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:37:06] local.INFO: TCP Data received {"connection_id":151287,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:37:06] local.INFO: Processing buffer {"connection_id":151287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe930b800012d34c20006aa3f08000700f32f..."} 
[2026-08-10 06:37:06] local.INFO: Packet analysis {"connection_id":151287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:37:06] local.INFO: Extracted packet for processing {"connection_id":151287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe930"} 
[2026-08-10 06:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298793216001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786323712000,"timestamp_ms":1786323712000,"timestamp_seconds":1786323712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe930b800"} 
[2026-08-10 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-08-10 06:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298793216001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298793216001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298793216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":151287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:37:06] local.INFO: GPS data processed {"connection_id":151287,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:37:06] local.INFO: Acknowledgment sent {"connection_id":151287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:37:37] local.INFO: TCP Data received {"connection_id":151287,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:37:37] local.INFO: Processing buffer {"connection_id":151287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:37:37] local.INFO: Packet analysis {"connection_id":151287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:37:37] local.INFO: Extracted packet for processing {"connection_id":151287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298870272001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786324013000,"timestamp_ms":1786324013000,"timestamp_seconds":1786324013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9354fc8"} 
[2026-08-10 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-08-10 06:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298870272001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298870272001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298870272001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":151287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:37:37] local.INFO: GPS data processed {"connection_id":151287,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:37:37] local.INFO: Acknowledgment sent {"connection_id":151287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:38:05] local.INFO: TCP Data received {"connection_id":151663,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:38:05] local.INFO: Processing buffer {"connection_id":151663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:38:05] local.INFO: IMEI packet received {"connection_id":151663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":151663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:38:09] local.INFO: TCP Data received {"connection_id":151663,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:38:09] local.INFO: Processing buffer {"connection_id":151663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:38:09] local.INFO: IMEI packet received {"connection_id":151663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":151663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:38:11] local.INFO: TCP Data received {"connection_id":151663,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:38:11] local.INFO: Processing buffer {"connection_id":151663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:38:11] local.INFO: Packet analysis {"connection_id":151663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:38:11] local.INFO: Extracted packet for processing {"connection_id":151663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298870272001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786324013000,"timestamp_ms":1786324013000,"timestamp_seconds":1786324013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9354fc8"} 
[2026-08-10 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-08-10 06:38: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-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298870272001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298870272001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:38:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298870272001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":151663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:38:11] local.INFO: GPS data processed {"connection_id":151663,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:38:11] local.INFO: Acknowledgment sent {"connection_id":151663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:38:43] local.INFO: TCP Data received {"connection_id":151663,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:38:43] local.INFO: Processing buffer {"connection_id":151663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:38:43] local.INFO: Packet analysis {"connection_id":151663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:38:43] local.INFO: Extracted packet for processing {"connection_id":151663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298870272001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786324013000,"timestamp_ms":1786324013000,"timestamp_seconds":1786324013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9354fc8"} 
[2026-08-10 06:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298870272001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298870272001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298870272001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":151663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:38:43] local.INFO: GPS data processed {"connection_id":151663,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:38:43] local.INFO: Acknowledgment sent {"connection_id":151663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:39:00] local.INFO: TCP Data received {"connection_id":152574,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:39:00] local.INFO: Processing buffer {"connection_id":152574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:39:00] local.INFO: IMEI packet received {"connection_id":152574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":152574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:39:05] local.INFO: TCP Data received {"connection_id":152574,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:39:05] local.INFO: Processing buffer {"connection_id":152574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:39:05] local.INFO: IMEI packet received {"connection_id":152574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":152574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:39:06] local.INFO: TCP Data received {"connection_id":152574,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:39:06] local.INFO: Processing buffer {"connection_id":152574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:39:06] local.INFO: Packet analysis {"connection_id":152574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:39:06] local.INFO: Extracted packet for processing {"connection_id":152574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298870272001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786324013000,"timestamp_ms":1786324013000,"timestamp_seconds":1786324013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9354fc8"} 
[2026-08-10 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-08-10 06:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298870272001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298870272001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298870272001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":152574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:39:06] local.INFO: GPS data processed {"connection_id":152574,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:39:06] local.INFO: Acknowledgment sent {"connection_id":152574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:39:38] local.INFO: TCP Data received {"connection_id":152574,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:39:38] local.INFO: Processing buffer {"connection_id":152574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:39:38] local.INFO: Packet analysis {"connection_id":152574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:39:38] local.INFO: Extracted packet for processing {"connection_id":152574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298870272001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786324013000,"timestamp_ms":1786324013000,"timestamp_seconds":1786324013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9354fc8"} 
[2026-08-10 06:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298870272001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298870272001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298870272001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":152574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:39:38] local.INFO: GPS data processed {"connection_id":152574,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:39:38] local.INFO: Acknowledgment sent {"connection_id":152574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:40:00] local.INFO: TCP Data received {"connection_id":154027,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:40:00] local.INFO: Processing buffer {"connection_id":154027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:40:00] local.INFO: IMEI packet received {"connection_id":154027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":154027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:40:05] local.INFO: TCP Data received {"connection_id":154027,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:40:05] local.INFO: Processing buffer {"connection_id":154027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:40:05] local.INFO: IMEI packet received {"connection_id":154027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":154027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:40:06] local.INFO: TCP Data received {"connection_id":154027,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:40:06] local.INFO: Processing buffer {"connection_id":154027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:40:06] local.INFO: Packet analysis {"connection_id":154027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:40:06] local.INFO: Extracted packet for processing {"connection_id":154027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298870272001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786324013000,"timestamp_ms":1786324013000,"timestamp_seconds":1786324013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9354fc8"} 
[2026-08-10 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-08-10 06:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298870272001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298870272001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298870272001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":154027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:40:06] local.INFO: GPS data processed {"connection_id":154027,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:40:06] local.INFO: Acknowledgment sent {"connection_id":154027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:40:37] local.INFO: TCP Data received {"connection_id":154027,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:40:37] local.INFO: Processing buffer {"connection_id":154027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:40:37] local.INFO: Packet analysis {"connection_id":154027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:40:37] local.INFO: Extracted packet for processing {"connection_id":154027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298870272001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786324013000,"timestamp_ms":1786324013000,"timestamp_seconds":1786324013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9354fc8"} 
[2026-08-10 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-08-10 06:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298870272001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298870272001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298870272001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":154027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:40:37] local.INFO: GPS data processed {"connection_id":154027,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:40:37] local.INFO: Acknowledgment sent {"connection_id":154027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:40:59] local.INFO: TCP Data received {"connection_id":151288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:40:59] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:40:59] local.INFO: IMEI packet received {"connection_id":151288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":151288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:41:05] local.INFO: TCP Data received {"connection_id":151288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:41:05] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:41:05] local.INFO: IMEI packet received {"connection_id":151288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":151288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:41:06] local.INFO: TCP Data received {"connection_id":151288,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:41:06] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:41:06] local.INFO: Packet analysis {"connection_id":151288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:41:06] local.INFO: Extracted packet for processing {"connection_id":151288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298870272001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786324013000,"timestamp_ms":1786324013000,"timestamp_seconds":1786324013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9354fc8"} 
[2026-08-10 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-08-10 06:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298870272001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298870272001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298870272001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":151288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:41:06] local.INFO: GPS data processed {"connection_id":151288,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:41:06] local.INFO: Acknowledgment sent {"connection_id":151288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:41:37] local.INFO: TCP Data received {"connection_id":151288,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:41:37] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:41:37] local.INFO: Packet analysis {"connection_id":151288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:41:37] local.INFO: Extracted packet for processing {"connection_id":151288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298870272001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786324013000,"timestamp_ms":1786324013000,"timestamp_seconds":1786324013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9354fc8"} 
[2026-08-10 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-08-10 06:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298870272001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298870272001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298870272001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":151288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:41:37] local.INFO: GPS data processed {"connection_id":151288,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:41:37] local.INFO: Acknowledgment sent {"connection_id":151288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:41:59] local.INFO: TCP Data received {"connection_id":151289,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:41:59] local.INFO: Processing buffer {"connection_id":151289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:41:59] local.INFO: IMEI packet received {"connection_id":151289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":151289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:42:05] local.INFO: TCP Data received {"connection_id":151289,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:42:05] local.INFO: Processing buffer {"connection_id":151289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:42:05] local.INFO: IMEI packet received {"connection_id":151289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":151289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:42:06] local.INFO: TCP Data received {"connection_id":151289,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:42:06] local.INFO: Processing buffer {"connection_id":151289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9354fc8012d34c20006aa3f08000300f32f..."} 
[2026-08-10 06:42:06] local.INFO: Packet analysis {"connection_id":151289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:42:06] local.INFO: Extracted packet for processing {"connection_id":151289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe935"} 
[2026-08-10 06:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298870272001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786324013000,"timestamp_ms":1786324013000,"timestamp_seconds":1786324013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9354fc8"} 
[2026-08-10 06:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298870272001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298870272001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:42:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:42:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298870272001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":151289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:42:06] local.INFO: GPS data processed {"connection_id":151289,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:42:06] local.INFO: Acknowledgment sent {"connection_id":151289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:42:38] local.INFO: TCP Data received {"connection_id":151289,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:42:38] local.INFO: Processing buffer {"connection_id":151289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:42:38] local.INFO: Packet analysis {"connection_id":151289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:42:38] local.INFO: Extracted packet for processing {"connection_id":151289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298947328001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786324314000,"timestamp_ms":1786324314000,"timestamp_seconds":1786324314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe939e790"} 
[2026-08-10 06:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298947328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298947328001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298947328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":151289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:42:38] local.INFO: GPS data processed {"connection_id":151289,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:42:38] local.INFO: Acknowledgment sent {"connection_id":151289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:43:04] local.INFO: TCP Data received {"connection_id":154028,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:43:04] local.INFO: Processing buffer {"connection_id":154028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:43:04] local.INFO: IMEI packet received {"connection_id":154028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":154028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:43:10] local.INFO: TCP Data received {"connection_id":154028,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:43:10] local.INFO: Processing buffer {"connection_id":154028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:43:10] local.INFO: IMEI packet received {"connection_id":154028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":154028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:43:11] local.INFO: TCP Data received {"connection_id":154028,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:43:11] local.INFO: Processing buffer {"connection_id":154028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:43:11] local.INFO: Packet analysis {"connection_id":154028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:43:11] local.INFO: Extracted packet for processing {"connection_id":154028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298947328001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786324314000,"timestamp_ms":1786324314000,"timestamp_seconds":1786324314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe939e790"} 
[2026-08-10 06:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":154028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":154028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":154028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298947328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298947328001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:43:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:43:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298947328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":154028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:43:11] local.INFO: GPS data processed {"connection_id":154028,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:43:11] local.INFO: Acknowledgment sent {"connection_id":154028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:43:42] local.INFO: TCP Data received {"connection_id":154028,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:43:42] local.INFO: Processing buffer {"connection_id":154028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:43:42] local.INFO: Packet analysis {"connection_id":154028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:43:42] local.INFO: Extracted packet for processing {"connection_id":154028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298947328001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786324314000,"timestamp_ms":1786324314000,"timestamp_seconds":1786324314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe939e790"} 
[2026-08-10 06:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":154028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":154028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":154028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298947328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298947328001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:43:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298947328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":154028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:43:42] local.INFO: GPS data processed {"connection_id":154028,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:43:42] local.INFO: Acknowledgment sent {"connection_id":154028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:44:05] local.INFO: TCP Data received {"connection_id":154029,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:44:05] local.INFO: Processing buffer {"connection_id":154029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:44:05] local.INFO: IMEI packet received {"connection_id":154029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":154029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:44:09] local.INFO: TCP Data received {"connection_id":154029,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:44:09] local.INFO: Processing buffer {"connection_id":154029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:44:09] local.INFO: IMEI packet received {"connection_id":154029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":154029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:44:13] local.INFO: TCP Data received {"connection_id":154029,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:44:13] local.INFO: Processing buffer {"connection_id":154029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:44:13] local.INFO: Packet analysis {"connection_id":154029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:44:13] local.INFO: Extracted packet for processing {"connection_id":154029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:44:13] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298947328001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786324314000,"timestamp_ms":1786324314000,"timestamp_seconds":1786324314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe939e790"} 
[2026-08-10 06:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298947328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298947328001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:44:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298947328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":154029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:44:13] local.INFO: GPS data processed {"connection_id":154029,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:44:13] local.INFO: Acknowledgment sent {"connection_id":154029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:44:17] local.INFO: TCP Data received {"connection_id":154029,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:44:17] local.INFO: Processing buffer {"connection_id":154029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:44:17] local.INFO: Packet analysis {"connection_id":154029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:44:17] local.INFO: Extracted packet for processing {"connection_id":154029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298947328001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786324314000,"timestamp_ms":1786324314000,"timestamp_seconds":1786324314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe939e790"} 
[2026-08-10 06:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298947328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298947328001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298947328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":154029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:44:17] local.INFO: GPS data processed {"connection_id":154029,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:44:17] local.INFO: Acknowledgment sent {"connection_id":154029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:45:00] local.INFO: TCP Data received {"connection_id":151664,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:45:00] local.INFO: Processing buffer {"connection_id":151664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:45:00] local.INFO: IMEI packet received {"connection_id":151664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":151664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:45:05] local.INFO: TCP Data received {"connection_id":151664,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:45:05] local.INFO: Processing buffer {"connection_id":151664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:45:05] local.INFO: IMEI packet received {"connection_id":151664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":151664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:45:05] local.INFO: TCP Data received {"connection_id":151664,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:45:05] local.INFO: Processing buffer {"connection_id":151664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:45:05] local.INFO: Packet analysis {"connection_id":151664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:45:05] local.INFO: Extracted packet for processing {"connection_id":151664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298947328001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786324314000,"timestamp_ms":1786324314000,"timestamp_seconds":1786324314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe939e790"} 
[2026-08-10 06:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:45: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-08-10 06:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298947328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298947328001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298947328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":151664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:45:06] local.INFO: GPS data processed {"connection_id":151664,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:45:06] local.INFO: Acknowledgment sent {"connection_id":151664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:45:37] local.INFO: TCP Data received {"connection_id":151664,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:45:37] local.INFO: Processing buffer {"connection_id":151664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:45:37] local.INFO: Packet analysis {"connection_id":151664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:45:37] local.INFO: Extracted packet for processing {"connection_id":151664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298947328001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786324314000,"timestamp_ms":1786324314000,"timestamp_seconds":1786324314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe939e790"} 
[2026-08-10 06:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298947328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298947328001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298947328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":151664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:45:37] local.INFO: GPS data processed {"connection_id":151664,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:45:37] local.INFO: Acknowledgment sent {"connection_id":151664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:46:00] local.INFO: TCP Data received {"connection_id":151290,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:46:00] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:46:00] local.INFO: IMEI packet received {"connection_id":151290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":151290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:46:05] local.INFO: TCP Data received {"connection_id":151290,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:46:05] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:46:05] local.INFO: IMEI packet received {"connection_id":151290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":151290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:46:06] local.INFO: TCP Data received {"connection_id":151290,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:46:06] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:46:06] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:46:06] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298947328001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786324314000,"timestamp_ms":1786324314000,"timestamp_seconds":1786324314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe939e790"} 
[2026-08-10 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-08-10 06:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:46: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-08-10 06:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298947328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298947328001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298947328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:46:06] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:46:06] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:46:37] local.INFO: TCP Data received {"connection_id":151290,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:46:37] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:46:37] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:46:37] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298947328001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786324314000,"timestamp_ms":1786324314000,"timestamp_seconds":1786324314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe939e790"} 
[2026-08-10 06:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298947328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298947328001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298947328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:46:37] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:46:37] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:47:00] local.INFO: TCP Data received {"connection_id":152575,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:47:00] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:47:00] local.INFO: IMEI packet received {"connection_id":152575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":152575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:47:08] local.INFO: TCP Data received {"connection_id":152575,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:47:08] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:47:08] local.INFO: IMEI packet received {"connection_id":152575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":152575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:47:09] local.INFO: TCP Data received {"connection_id":152575,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:47:09] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe939e790012d34c20006aa3f08000200f32f..."} 
[2026-08-10 06:47:09] local.INFO: Packet analysis {"connection_id":152575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:47:09] local.INFO: Extracted packet for processing {"connection_id":152575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe939"} 
[2026-08-10 06:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457298947328001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786324314000,"timestamp_ms":1786324314000,"timestamp_seconds":1786324314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe939e790"} 
[2026-08-10 06:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457298947328001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457298947328001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457298947328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":152575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:47:09] local.INFO: GPS data processed {"connection_id":152575,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:47:09] local.INFO: Acknowledgment sent {"connection_id":152575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:47:40] local.INFO: TCP Data received {"connection_id":152575,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:47:40] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:47:40] local.INFO: Packet analysis {"connection_id":152575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:47:40] local.INFO: Extracted packet for processing {"connection_id":152575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299024384001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786324615000,"timestamp_ms":1786324615000,"timestamp_seconds":1786324615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe93e7f58"} 
[2026-08-10 06:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299024384001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299024384001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:47:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299024384001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":152575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:47:40] local.INFO: GPS data processed {"connection_id":152575,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:47:40] local.INFO: Acknowledgment sent {"connection_id":152575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:48:05] local.INFO: TCP Data received {"connection_id":154030,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:48:05] local.INFO: Processing buffer {"connection_id":154030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:48:05] local.INFO: IMEI packet received {"connection_id":154030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":154030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:48:09] local.INFO: TCP Data received {"connection_id":154030,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:48:09] local.INFO: Processing buffer {"connection_id":154030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:48:09] local.INFO: IMEI packet received {"connection_id":154030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":154030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:48:10] local.INFO: TCP Data received {"connection_id":154030,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:48:10] local.INFO: Processing buffer {"connection_id":154030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:48:10] local.INFO: Packet analysis {"connection_id":154030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:48:10] local.INFO: Extracted packet for processing {"connection_id":154030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299024384001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786324615000,"timestamp_ms":1786324615000,"timestamp_seconds":1786324615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe93e7f58"} 
[2026-08-10 06:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:48: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-08-10 06:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299024384001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299024384001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299024384001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":154030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:48:10] local.INFO: GPS data processed {"connection_id":154030,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:48:10] local.INFO: Acknowledgment sent {"connection_id":154030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:48:16] local.INFO: TCP Data received {"connection_id":154030,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:48:16] local.INFO: Processing buffer {"connection_id":154030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:48:16] local.INFO: Packet analysis {"connection_id":154030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:48:16] local.INFO: Extracted packet for processing {"connection_id":154030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299024384001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786324615000,"timestamp_ms":1786324615000,"timestamp_seconds":1786324615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe93e7f58"} 
[2026-08-10 06:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299024384001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299024384001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299024384001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":154030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:48:16] local.INFO: GPS data processed {"connection_id":154030,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:48:16] local.INFO: Acknowledgment sent {"connection_id":154030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:49:00] local.INFO: TCP Data received {"connection_id":152576,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:49:00] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:49:00] local.INFO: IMEI packet received {"connection_id":152576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":152576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:49:05] local.INFO: TCP Data received {"connection_id":152576,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:49:05] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:49:05] local.INFO: IMEI packet received {"connection_id":152576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":152576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:49:06] local.INFO: TCP Data received {"connection_id":152576,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:49:06] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:49:06] local.INFO: Packet analysis {"connection_id":152576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:49:06] local.INFO: Extracted packet for processing {"connection_id":152576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299024384001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786324615000,"timestamp_ms":1786324615000,"timestamp_seconds":1786324615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe93e7f58"} 
[2026-08-10 06:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299024384001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299024384001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299024384001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":152576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:49:06] local.INFO: GPS data processed {"connection_id":152576,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:49:06] local.INFO: Acknowledgment sent {"connection_id":152576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:49:37] local.INFO: TCP Data received {"connection_id":152576,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:49:37] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:49:37] local.INFO: Packet analysis {"connection_id":152576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:49:37] local.INFO: Extracted packet for processing {"connection_id":152576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299024384001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786324615000,"timestamp_ms":1786324615000,"timestamp_seconds":1786324615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe93e7f58"} 
[2026-08-10 06:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299024384001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299024384001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299024384001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":152576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:49:37] local.INFO: GPS data processed {"connection_id":152576,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:49:37] local.INFO: Acknowledgment sent {"connection_id":152576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:50:00] local.INFO: TCP Data received {"connection_id":154031,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:50:00] local.INFO: Processing buffer {"connection_id":154031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:50:00] local.INFO: IMEI packet received {"connection_id":154031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":154031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:50:05] local.INFO: TCP Data received {"connection_id":154031,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:50:05] local.INFO: Processing buffer {"connection_id":154031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:50:05] local.INFO: IMEI packet received {"connection_id":154031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":154031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:50:06] local.INFO: TCP Data received {"connection_id":154031,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:50:06] local.INFO: Processing buffer {"connection_id":154031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:50:06] local.INFO: Packet analysis {"connection_id":154031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:50:06] local.INFO: Extracted packet for processing {"connection_id":154031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299024384001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786324615000,"timestamp_ms":1786324615000,"timestamp_seconds":1786324615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe93e7f58"} 
[2026-08-10 06:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299024384001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299024384001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299024384001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":154031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:50:06] local.INFO: GPS data processed {"connection_id":154031,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:50:06] local.INFO: Acknowledgment sent {"connection_id":154031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:50:35] local.INFO: TCP Data received {"connection_id":154032,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:50:35] local.INFO: Processing buffer {"connection_id":154032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:50:35] local.INFO: IMEI packet received {"connection_id":154032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 06:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":154032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:50:36] local.INFO: TCP Data received {"connection_id":154032,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:50:36] local.INFO: Processing buffer {"connection_id":154032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:50:36] local.INFO: IMEI packet received {"connection_id":154032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 06:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":154032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:50:37] local.INFO: TCP Data received {"connection_id":154031,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:50:37] local.INFO: Processing buffer {"connection_id":154031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:50:37] local.INFO: Packet analysis {"connection_id":154031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:50:37] local.INFO: Extracted packet for processing {"connection_id":154031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299024384001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786324615000,"timestamp_ms":1786324615000,"timestamp_seconds":1786324615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe93e7f58"} 
[2026-08-10 06:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299024384001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299024384001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299024384001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":154031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:50:37] local.INFO: GPS data processed {"connection_id":154031,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:50:37] local.INFO: Acknowledgment sent {"connection_id":154031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:50:40] local.INFO: TCP Data received {"connection_id":154032,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:50:40] local.INFO: Processing buffer {"connection_id":154032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:50:40] local.INFO: IMEI packet received {"connection_id":154032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 06:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":154032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:50:41] local.INFO: TCP Data received {"connection_id":154032,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-10 06:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154032,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-10 06:50:41] local.INFO: Processing buffer {"connection_id":154032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-10 06:50:41] local.INFO: Packet analysis {"connection_id":154032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 06:50:41] local.INFO: Extracted packet for processing {"connection_id":154032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 06:50:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117012338120327168,"note":"Value kept but may cause issues"} 
[2026-08-10 06:50:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 06:50:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 06:50:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 06:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154032,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-10 06:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-10 06:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 06:50:41] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 06:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":154032,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 06:50:41] local.ERROR: GPS data processing failed {"connection_id":154032,"error":"No valid data to process"} 
[2026-08-10 06:50:41] local.INFO: Acknowledgment sent {"connection_id":154032,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 06:50:45] local.INFO: TCP Data received {"connection_id":154032,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-10 06:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154032,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-10 06:50:45] local.INFO: Processing buffer {"connection_id":154032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-10 06:50:45] local.INFO: Packet analysis {"connection_id":154032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 06:50:45] local.INFO: Extracted packet for processing {"connection_id":154032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 06:50:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 06:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117012338120327168,"note":"Value kept but may cause issues"} 
[2026-08-10 06:50:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 06:50:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 06:50:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 06:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154032,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-10 06:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-10 06:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 06:50:45] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 06:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":154032,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 06:50:45] local.ERROR: GPS data processing failed {"connection_id":154032,"error":"No valid data to process"} 
[2026-08-10 06:50:45] local.INFO: Acknowledgment sent {"connection_id":154032,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 06:50:59] local.INFO: TCP Data received {"connection_id":151665,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:50:59] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:50:59] local.INFO: IMEI packet received {"connection_id":151665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":151665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:51:05] local.INFO: TCP Data received {"connection_id":151665,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:51:05] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:51:05] local.INFO: IMEI packet received {"connection_id":151665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":151665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:51:06] local.INFO: TCP Data received {"connection_id":151665,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:51:06] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:51:06] local.INFO: Packet analysis {"connection_id":151665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:51:06] local.INFO: Extracted packet for processing {"connection_id":151665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299024384001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786324615000,"timestamp_ms":1786324615000,"timestamp_seconds":1786324615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe93e7f58"} 
[2026-08-10 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-08-10 06:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299024384001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299024384001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299024384001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":151665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:51:06] local.INFO: GPS data processed {"connection_id":151665,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:51:06] local.INFO: Acknowledgment sent {"connection_id":151665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:51:15] local.INFO: TCP Data received {"connection_id":154032,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-10 06:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154032,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-10 06:51:15] local.INFO: Processing buffer {"connection_id":154032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-10 06:51:15] local.INFO: Packet analysis {"connection_id":154032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-10 06:51:15] local.INFO: Extracted packet for processing {"connection_id":154032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-10 06:51:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 06:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117012338120327168,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 06:51:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 06:51:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 06:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154032,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-10 06:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-10 06:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 06:51:15] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 06:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":154032,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 06:51:15] local.ERROR: GPS data processing failed {"connection_id":154032,"error":"No valid data to process"} 
[2026-08-10 06:51:15] local.INFO: Acknowledgment sent {"connection_id":154032,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 06:51:42] local.INFO: TCP Data received {"connection_id":151665,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:51:42] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:51:42] local.INFO: Packet analysis {"connection_id":151665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:51:42] local.INFO: Extracted packet for processing {"connection_id":151665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299024384001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786324615000,"timestamp_ms":1786324615000,"timestamp_seconds":1786324615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe93e7f58"} 
[2026-08-10 06:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299024384001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299024384001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299024384001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":151665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:51:42] local.INFO: GPS data processed {"connection_id":151665,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:51:42] local.INFO: Acknowledgment sent {"connection_id":151665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:51:46] local.INFO: TCP Data received {"connection_id":154032,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9427ae00100000000000000000000000000..."} 
[2026-08-10 06:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9427ae00100000000000000000000000000..."} 
[2026-08-10 06:51:46] local.INFO: Processing buffer {"connection_id":154032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9427ae00100000000000000000000000000..."} 
[2026-08-10 06:51:46] local.INFO: Packet analysis {"connection_id":154032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe942"} 
[2026-08-10 06:51:46] local.INFO: Extracted packet for processing {"connection_id":154032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe942"} 
[2026-08-10 06:51:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117012338120327168,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 06:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786324876000,"timestamp_ms":1786324876000,"timestamp_seconds":1786324876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9427ae0"} 
[2026-08-10 06:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 06: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-10 06:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435545201,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278112279573517768,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3883326160,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:46] local.WARNING: Large IO value detected {"io_id":65,"raw_value":57702370239184896,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:46] local.WARNING: Large IO value detected {"io_id":114,"raw_value":4830111895257202693,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:46] local.WARNING: Large IO value detected {"io_id":211,"raw_value":6181190510047211520,"note":"Value kept but may cause issues"} 
[2026-08-10 06:51:46] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,109,85,24,241,157,16,182,183,10,66,27,1,240,26,4,113,205,239,2,47,159,5,65,114,211],"length":626,"final_offset":756,"validated_count":26,"validation_warnings":[]} 
[2026-08-10 06:51:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 06:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 06:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 06:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 06:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 06:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":154032,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 06:51:46] local.INFO: GPS data processed {"connection_id":154032,"processed":0,"errors":0,"total":1} 
[2026-08-10 06:51:46] local.INFO: Acknowledgment sent {"connection_id":154032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:51:59] local.INFO: TCP Data received {"connection_id":152577,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:51:59] local.INFO: Processing buffer {"connection_id":152577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:51:59] local.INFO: IMEI packet received {"connection_id":152577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":152577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:52:05] local.INFO: TCP Data received {"connection_id":152577,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:52:05] local.INFO: Processing buffer {"connection_id":152577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:52:05] local.INFO: IMEI packet received {"connection_id":152577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":152577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:52:06] local.INFO: TCP Data received {"connection_id":152577,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:52:06] local.INFO: Processing buffer {"connection_id":152577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe93e7f58012d34c20006aa3f08000600f32e..."} 
[2026-08-10 06:52:06] local.INFO: Packet analysis {"connection_id":152577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:52:06] local.INFO: Extracted packet for processing {"connection_id":152577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe93e"} 
[2026-08-10 06:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299024384001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786324615000,"timestamp_ms":1786324615000,"timestamp_seconds":1786324615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe93e7f58"} 
[2026-08-10 06:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299024384001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299024384001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299024384001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":152577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:52:06] local.INFO: GPS data processed {"connection_id":152577,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:52:06] local.INFO: Acknowledgment sent {"connection_id":152577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:52:18] local.INFO: TCP Data received {"connection_id":154032,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe942cce80100000000000000000000000000..."} 
[2026-08-10 06:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe942cce80100000000000000000000000000..."} 
[2026-08-10 06:52:18] local.INFO: Processing buffer {"connection_id":154032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe942cce80100000000000000000000000000..."} 
[2026-08-10 06:52:18] local.INFO: Packet analysis {"connection_id":154032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe942"} 
[2026-08-10 06:52:18] local.INFO: Extracted packet for processing {"connection_id":154032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe942"} 
[2026-08-10 06:52:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 06:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117012338120327168,"note":"Value kept but may cause issues"} 
[2026-08-10 06:52:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 06:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786324897000,"timestamp_ms":1786324897000,"timestamp_seconds":1786324897,"priority":1,"record_length":96,"hex_timestamp":"0000019fe942cce8"} 
[2026-08-10 06:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:52: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-08-10 06:52: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":203,"data_length":795,"current_offset":136} 
[2026-08-10 06:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 06:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 06:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 06:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 06:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":154032,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 06:52:18] local.INFO: GPS data processed {"connection_id":154032,"processed":0,"errors":0,"total":1} 
[2026-08-10 06:52:18] local.INFO: Acknowledgment sent {"connection_id":154032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:52:38] local.INFO: TCP Data received {"connection_id":152577,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:52:38] local.INFO: Processing buffer {"connection_id":152577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:52:38] local.INFO: Packet analysis {"connection_id":152577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:52:38] local.INFO: Extracted packet for processing {"connection_id":152577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299101440001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786324916000,"timestamp_ms":1786324916000,"timestamp_seconds":1786324916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9431720"} 
[2026-08-10 06:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299101440001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299101440001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299101440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":152577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:52:38] local.INFO: GPS data processed {"connection_id":152577,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:52:38] local.INFO: Acknowledgment sent {"connection_id":152577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:52:52] local.INFO: TCP Data received {"connection_id":154032,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9431ef00100000000000000000000000000..."} 
[2026-08-10 06:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9431ef00100000000000000000000000000..."} 
[2026-08-10 06:52:52] local.INFO: Processing buffer {"connection_id":154032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9431ef00100000000000000000000000000..."} 
[2026-08-10 06:52:52] local.INFO: Packet analysis {"connection_id":154032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:52:52] local.INFO: Extracted packet for processing {"connection_id":154032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:52:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 06:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117012338120327168,"note":"Value kept but may cause issues"} 
[2026-08-10 06:52:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 06:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786324918000,"timestamp_ms":1786324918000,"timestamp_seconds":1786324918,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9431ef0"} 
[2026-08-10 06:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:52:52] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 06:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 06:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 06:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 06:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 06:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 06:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":154032,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 06:52:52] local.INFO: GPS data processed {"connection_id":154032,"processed":0,"errors":0,"total":1} 
[2026-08-10 06:52:52] local.INFO: Acknowledgment sent {"connection_id":154032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:53:05] local.INFO: TCP Data received {"connection_id":151291,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:53:05] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:53:05] local.INFO: IMEI packet received {"connection_id":151291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":151291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:53:10] local.INFO: TCP Data received {"connection_id":151291,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:53:10] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:53:10] local.INFO: IMEI packet received {"connection_id":151291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":151291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:53:11] local.INFO: TCP Data received {"connection_id":151291,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:53:11] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:53:11] local.INFO: Packet analysis {"connection_id":151291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:53:11] local.INFO: Extracted packet for processing {"connection_id":151291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299101440001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786324916000,"timestamp_ms":1786324916000,"timestamp_seconds":1786324916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9431720"} 
[2026-08-10 06:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299101440001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299101440001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:53:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:53:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299101440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":151291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:53:11] local.INFO: GPS data processed {"connection_id":151291,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:53:11] local.INFO: Acknowledgment sent {"connection_id":151291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:53:15] local.INFO: TCP Data received {"connection_id":151291,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:53:15] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:53:15] local.INFO: Packet analysis {"connection_id":151291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:53:15] local.INFO: Extracted packet for processing {"connection_id":151291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299101440001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786324916000,"timestamp_ms":1786324916000,"timestamp_seconds":1786324916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9431720"} 
[2026-08-10 06:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299101440001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299101440001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299101440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":151291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:53:15] local.INFO: GPS data processed {"connection_id":151291,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:53:15] local.INFO: Acknowledgment sent {"connection_id":151291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:53:23] local.INFO: TCP Data received {"connection_id":154032,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe94370f80100000000000000000000000000..."} 
[2026-08-10 06:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe94370f80100000000000000000000000000..."} 
[2026-08-10 06:53:23] local.INFO: Processing buffer {"connection_id":154032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe94370f80100000000000000000000000000..."} 
[2026-08-10 06:53:23] local.INFO: Packet analysis {"connection_id":154032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:53:23] local.INFO: Extracted packet for processing {"connection_id":154032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:53:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 06:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117012338120327168,"note":"Value kept but may cause issues"} 
[2026-08-10 06:53:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 06:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786324939000,"timestamp_ms":1786324939000,"timestamp_seconds":1786324939,"priority":1,"record_length":96,"hex_timestamp":"0000019fe94370f8"} 
[2026-08-10 06:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 06:53: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":214,"data_length":795,"current_offset":136} 
[2026-08-10 06:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 06:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 06:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 06:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 06:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":154032,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 06:53:23] local.INFO: GPS data processed {"connection_id":154032,"processed":0,"errors":0,"total":1} 
[2026-08-10 06:53:23] local.INFO: Acknowledgment sent {"connection_id":154032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:53:54] local.INFO: TCP Data received {"connection_id":154032,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe943c3000100000000000000000000000000..."} 
[2026-08-10 06:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe943c3000100000000000000000000000000..."} 
[2026-08-10 06:53:54] local.INFO: Processing buffer {"connection_id":154032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe943c3000100000000000000000000000000..."} 
[2026-08-10 06:53:54] local.INFO: Packet analysis {"connection_id":154032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:53:54] local.INFO: Extracted packet for processing {"connection_id":154032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:53:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 06:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117012338120327168,"note":"Value kept but may cause issues"} 
[2026-08-10 06:53:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 06:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786324960000,"timestamp_ms":1786324960000,"timestamp_seconds":1786324960,"priority":1,"record_length":96,"hex_timestamp":"0000019fe943c300"} 
[2026-08-10 06:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:53:54] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 06:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 06:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":154032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 06:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 06:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 06:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 06:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":154032,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 06:53:54] local.INFO: GPS data processed {"connection_id":154032,"processed":0,"errors":0,"total":1} 
[2026-08-10 06:53:54] local.INFO: Acknowledgment sent {"connection_id":154032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:54:00] local.INFO: TCP Data received {"connection_id":154033,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:54:00] local.INFO: Processing buffer {"connection_id":154033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:54:00] local.INFO: IMEI packet received {"connection_id":154033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":154033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:54:05] local.INFO: TCP Data received {"connection_id":154033,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:54:05] local.INFO: Processing buffer {"connection_id":154033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:54:05] local.INFO: IMEI packet received {"connection_id":154033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":154033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:54:06] local.INFO: TCP Data received {"connection_id":154033,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:54:06] local.INFO: Processing buffer {"connection_id":154033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:54:06] local.INFO: Packet analysis {"connection_id":154033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:54:06] local.INFO: Extracted packet for processing {"connection_id":154033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299101440001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786324916000,"timestamp_ms":1786324916000,"timestamp_seconds":1786324916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9431720"} 
[2026-08-10 06:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299101440001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299101440001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299101440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":154033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:54:06] local.INFO: GPS data processed {"connection_id":154033,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:54:06] local.INFO: Acknowledgment sent {"connection_id":154033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:54:31] local.INFO: TCP Data received {"connection_id":154032,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9453a00012d80264005d397100001005b10..."} 
[2026-08-10 06:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9453a00012d80264005d397100001005b10..."} 
[2026-08-10 06:54:31] local.INFO: Processing buffer {"connection_id":154032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9453a00012d80264005d397100001005b10..."} 
[2026-08-10 06:54:31] local.INFO: Packet analysis {"connection_id":154032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe945"} 
[2026-08-10 06:54:31] local.INFO: Extracted packet for processing {"connection_id":154032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe945"} 
[2026-08-10 06:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763373120,"raw_latitude":97752848,"longitude_deg":76.337312,"latitude_deg":9.7752848,"altitude":1,"angle":91,"satellites":16,"speed":42,"hex_longitude":"2d802640","hex_latitude":"05d39710","is_valid_coordinates":true} 
[2026-08-10 06:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299212032001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117016414044291072,"note":"Value kept but may cause issues"} 
[2026-08-10 06:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9222527586899884032,"note":"Value kept but may cause issues"} 
[2026-08-10 06:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786325056000,"timestamp_ms":1786325056000,"timestamp_seconds":1786325056,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9453a00"} 
[2026-08-10 06:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 06: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 06:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 06:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 06:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 06:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 06:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299212032001,"66":13059,"109":206,"85":15104,"24":42,"16":117016414044291072,"45":-9222527586899884032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 06:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 06:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 06:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299212032001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:54:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 06:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 06:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117016414044291072,"km_value":117016414044291.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9222527586899884032,"description":"Unknown IO ID 45"} 
[2026-08-10 06:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299212032001,"power":13059,"unknown_109":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9222527586899884032}} 
[2026-08-10 06:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":154032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:54:31] local.INFO: GPS data processed {"connection_id":154032,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:54:31] local.INFO: Acknowledgment sent {"connection_id":154032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:54:37] local.INFO: TCP Data received {"connection_id":154033,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:54:37] local.INFO: Processing buffer {"connection_id":154033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:54:37] local.INFO: Packet analysis {"connection_id":154033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:54:37] local.INFO: Extracted packet for processing {"connection_id":154033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299101440001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786324916000,"timestamp_ms":1786324916000,"timestamp_seconds":1786324916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9431720"} 
[2026-08-10 06:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299101440001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299101440001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299101440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":154033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:54:37] local.INFO: GPS data processed {"connection_id":154033,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:54:37] local.INFO: Acknowledgment sent {"connection_id":154033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:54:59] local.INFO: TCP Data received {"connection_id":152578,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:54:59] local.INFO: Processing buffer {"connection_id":152578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:54:59] local.INFO: IMEI packet received {"connection_id":152578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":152578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:55:05] local.INFO: TCP Data received {"connection_id":152578,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:55:05] local.INFO: Processing buffer {"connection_id":152578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:55:05] local.INFO: IMEI packet received {"connection_id":152578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":152578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:55:07] local.INFO: TCP Data received {"connection_id":152578,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:55:07] local.INFO: Processing buffer {"connection_id":152578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:55:07] local.INFO: Packet analysis {"connection_id":152578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:55:07] local.INFO: Extracted packet for processing {"connection_id":152578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299101440001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786324916000,"timestamp_ms":1786324916000,"timestamp_seconds":1786324916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9431720"} 
[2026-08-10 06:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299101440001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299101440001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:55:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299101440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":152578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:55:07] local.INFO: GPS data processed {"connection_id":152578,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:55:07] local.INFO: Acknowledgment sent {"connection_id":152578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:55:13] local.INFO: TCP Data received {"connection_id":152579,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:55:13] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:55:13] local.INFO: IMEI packet received {"connection_id":152579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 06:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":152579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:55:14] local.INFO: TCP Data received {"connection_id":152579,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:55:14] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:55:14] local.INFO: IMEI packet received {"connection_id":152579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 06:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":152579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:55:15] local.INFO: TCP Data received {"connection_id":152579,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:55:15] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:55:15] local.INFO: IMEI packet received {"connection_id":152579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 06:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":152579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:55:15] local.INFO: TCP Data received {"connection_id":152579,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:55:15] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 06:55:15] local.INFO: IMEI packet received {"connection_id":152579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 06:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":152579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:55:38] local.INFO: TCP Data received {"connection_id":152578,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:55:38] local.INFO: Processing buffer {"connection_id":152578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:55:38] local.INFO: Packet analysis {"connection_id":152578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:55:38] local.INFO: Extracted packet for processing {"connection_id":152578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299101440001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786324916000,"timestamp_ms":1786324916000,"timestamp_seconds":1786324916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9431720"} 
[2026-08-10 06:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299101440001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299101440001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299101440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":152578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:55:38] local.INFO: GPS data processed {"connection_id":152578,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:55:38] local.INFO: Acknowledgment sent {"connection_id":152578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:55:59] local.INFO: TCP Data received {"connection_id":151666,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:55:59] local.INFO: Processing buffer {"connection_id":151666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:55:59] local.INFO: IMEI packet received {"connection_id":151666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":151666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:56:05] local.INFO: TCP Data received {"connection_id":151666,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:56:05] local.INFO: Processing buffer {"connection_id":151666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:56:05] local.INFO: IMEI packet received {"connection_id":151666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":151666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:56:08] local.INFO: TCP Data received {"connection_id":151666,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:56:08] local.INFO: Processing buffer {"connection_id":151666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:56:08] local.INFO: Packet analysis {"connection_id":151666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:56:08] local.INFO: Extracted packet for processing {"connection_id":151666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06: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-08-10 06:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299101440001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786324916000,"timestamp_ms":1786324916000,"timestamp_seconds":1786324916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9431720"} 
[2026-08-10 06:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06: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-08-10 06:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299101440001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299101440001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299101440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":151666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:56:08] local.INFO: GPS data processed {"connection_id":151666,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:56:08] local.INFO: Acknowledgment sent {"connection_id":151666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:56:41] local.INFO: TCP Data received {"connection_id":151666,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:56:41] local.INFO: Processing buffer {"connection_id":151666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:56:41] local.INFO: Packet analysis {"connection_id":151666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:56:41] local.INFO: Extracted packet for processing {"connection_id":151666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299101440001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786324916000,"timestamp_ms":1786324916000,"timestamp_seconds":1786324916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9431720"} 
[2026-08-10 06:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299101440001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299101440001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299101440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":151666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:56:41] local.INFO: GPS data processed {"connection_id":151666,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:56:41] local.INFO: Acknowledgment sent {"connection_id":151666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:56:59] local.INFO: TCP Data received {"connection_id":152580,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:56:59] local.INFO: Processing buffer {"connection_id":152580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:56:59] local.INFO: IMEI packet received {"connection_id":152580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":152580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:57:05] local.INFO: TCP Data received {"connection_id":152580,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:57:05] local.INFO: Processing buffer {"connection_id":152580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:57:05] local.INFO: IMEI packet received {"connection_id":152580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":152580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:57:06] local.INFO: TCP Data received {"connection_id":152580,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:57:06] local.INFO: Processing buffer {"connection_id":152580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9431720012d34c20006aa3f08000000f32a..."} 
[2026-08-10 06:57:06] local.INFO: Packet analysis {"connection_id":152580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:57:06] local.INFO: Extracted packet for processing {"connection_id":152580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe943"} 
[2026-08-10 06:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":0,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299101440001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786324916000,"timestamp_ms":1786324916000,"timestamp_seconds":1786324916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9431720"} 
[2026-08-10 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-08-10 06:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 06:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299101440001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299101440001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299101440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":152580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:57:06] local.INFO: GPS data processed {"connection_id":152580,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:57:06] local.INFO: Acknowledgment sent {"connection_id":152580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:57:38] local.INFO: TCP Data received {"connection_id":152580,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:57:38] local.INFO: Processing buffer {"connection_id":152580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:57:38] local.INFO: Packet analysis {"connection_id":152580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 06:57:38] local.INFO: Extracted packet for processing {"connection_id":152580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299178496001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786325217000,"timestamp_ms":1786325217000,"timestamp_seconds":1786325217,"priority":1,"record_length":96,"hex_timestamp":"0000019fe947aee8"} 
[2026-08-10 06:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299178496001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299178496001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299178496001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":152580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:57:38] local.INFO: GPS data processed {"connection_id":152580,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:57:38] local.INFO: Acknowledgment sent {"connection_id":152580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:58:05] local.INFO: TCP Data received {"connection_id":151667,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:58:05] local.INFO: Processing buffer {"connection_id":151667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:58:05] local.INFO: IMEI packet received {"connection_id":151667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":151667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:58:10] local.INFO: TCP Data received {"connection_id":151667,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:58:10] local.INFO: Processing buffer {"connection_id":151667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:58:10] local.INFO: IMEI packet received {"connection_id":151667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":151667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:58:11] local.INFO: TCP Data received {"connection_id":151667,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:58:11] local.INFO: Processing buffer {"connection_id":151667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:58:11] local.INFO: Packet analysis {"connection_id":151667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 06:58:11] local.INFO: Extracted packet for processing {"connection_id":151667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 06:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299178496001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786325217000,"timestamp_ms":1786325217000,"timestamp_seconds":1786325217,"priority":1,"record_length":96,"hex_timestamp":"0000019fe947aee8"} 
[2026-08-10 06:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:58: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-08-10 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299178496001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299178496001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:58:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:58:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299178496001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":151667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:58:11] local.INFO: GPS data processed {"connection_id":151667,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:58:11] local.INFO: Acknowledgment sent {"connection_id":151667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:58:43] local.INFO: TCP Data received {"connection_id":151667,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:58:43] local.INFO: Processing buffer {"connection_id":151667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:58:43] local.INFO: Packet analysis {"connection_id":151667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 06:58:43] local.INFO: Extracted packet for processing {"connection_id":151667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 06:58:43] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299178496001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786325217000,"timestamp_ms":1786325217000,"timestamp_seconds":1786325217,"priority":1,"record_length":96,"hex_timestamp":"0000019fe947aee8"} 
[2026-08-10 06:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299178496001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299178496001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:58:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:58:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299178496001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":151667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:58:43] local.INFO: GPS data processed {"connection_id":151667,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:58:43] local.INFO: Acknowledgment sent {"connection_id":151667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:59:00] local.INFO: TCP Data received {"connection_id":154034,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:59:00] local.INFO: Processing buffer {"connection_id":154034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:59:00] local.INFO: IMEI packet received {"connection_id":154034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":154034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 06:59:05] local.INFO: TCP Data received {"connection_id":154034,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:59:05] local.INFO: Processing buffer {"connection_id":154034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:59:05] local.INFO: IMEI packet received {"connection_id":154034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 06:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":154034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 06:59:06] local.INFO: TCP Data received {"connection_id":154034,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:59:06] local.INFO: Processing buffer {"connection_id":154034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:59:06] local.INFO: Packet analysis {"connection_id":154034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 06:59:06] local.INFO: Extracted packet for processing {"connection_id":154034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 06:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 06:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 06:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299178496001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786325217000,"timestamp_ms":1786325217000,"timestamp_seconds":1786325217,"priority":1,"record_length":96,"hex_timestamp":"0000019fe947aee8"} 
[2026-08-10 06:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 06:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 06: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 06:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 06:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 06:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299178496001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299178496001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299178496001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":154034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:59:06] local.INFO: GPS data processed {"connection_id":154034,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:59:06] local.INFO: Acknowledgment sent {"connection_id":154034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:59:37] local.INFO: TCP Data received {"connection_id":154034,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:59:37] local.INFO: Processing buffer {"connection_id":154034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 06:59:37] local.INFO: Packet analysis {"connection_id":154034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 06:59:37] local.INFO: Extracted packet for processing {"connection_id":154034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 06:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 06:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299178496001,"note":"Value kept but may cause issues"} 
[2026-08-10 06:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 06:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 06:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 06:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786325217000,"timestamp_ms":1786325217000,"timestamp_seconds":1786325217,"priority":1,"record_length":96,"hex_timestamp":"0000019fe947aee8"} 
[2026-08-10 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-08-10 06:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 06:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 06:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 06:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 06:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 06:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 06:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 06:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 06:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299178496001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 06:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 06:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 06:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299178496001,"description":"Unknown IO ID 0"} 
[2026-08-10 06:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 06:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 06:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 06:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 06:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299178496001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 06:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":154034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 06:59:38] local.INFO: GPS data processed {"connection_id":154034,"processed":1,"errors":0,"total":1} 
[2026-08-10 06:59:38] local.INFO: Acknowledgment sent {"connection_id":154034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 06:59:59] local.INFO: TCP Data received {"connection_id":151668,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:59:59] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 06:59:59] local.INFO: IMEI packet received {"connection_id":151668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 06:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":151668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:00:05] local.INFO: TCP Data received {"connection_id":151668,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:00:05] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:00:05] local.INFO: IMEI packet received {"connection_id":151668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":151668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:00:05] local.INFO: TCP Data received {"connection_id":151668,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:00:05] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:00:05] local.INFO: Packet analysis {"connection_id":151668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 07:00:05] local.INFO: Extracted packet for processing {"connection_id":151668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 07:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299178496001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786325217000,"timestamp_ms":1786325217000,"timestamp_seconds":1786325217,"priority":1,"record_length":96,"hex_timestamp":"0000019fe947aee8"} 
[2026-08-10 07:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:00: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-08-10 07:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299178496001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299178496001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:00:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299178496001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":151668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:00:05] local.INFO: GPS data processed {"connection_id":151668,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:00:05] local.INFO: Acknowledgment sent {"connection_id":151668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:00:16] local.INFO: TCP Data received {"connection_id":154035,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:00:16] local.INFO: Processing buffer {"connection_id":154035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:00:16] local.INFO: IMEI packet received {"connection_id":154035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":154035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:00:19] local.INFO: TCP Data received {"connection_id":154035,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:00:19] local.INFO: Processing buffer {"connection_id":154035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:00:19] local.INFO: IMEI packet received {"connection_id":154035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":154035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:00:20] local.INFO: TCP Data received {"connection_id":154035,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9493588012d8127c005d18bd00000006217..."} 
[2026-08-10 07:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9493588012d8127c005d18bd00000006217..."} 
[2026-08-10 07:00:20] local.INFO: Processing buffer {"connection_id":154035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9493588012d8127c005d18bd00000006217..."} 
[2026-08-10 07:00:20] local.INFO: Packet analysis {"connection_id":154035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe949"} 
[2026-08-10 07:00:20] local.INFO: Extracted packet for processing {"connection_id":154035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe949"} 
[2026-08-10 07:00:20] local.INFO: GPS Element Parsed {"raw_longitude":763439040,"raw_latitude":97618896,"longitude_deg":76.343904,"latitude_deg":9.7618896,"altitude":0,"angle":98,"satellites":23,"speed":21,"hex_longitude":"2d8127c0","hex_latitude":"05d18bd0","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299278592001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117025515079991296,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145121968338808832,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786325317000,"timestamp_ms":1786325317000,"timestamp_seconds":1786325317,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9493588"} 
[2026-08-10 07:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 07:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299278592001,"66":13059,"208":206,"85":15104,"24":21,"16":117025515079991296,"45":-9145121968338808832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-10 07:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299278592001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:00:20] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-10 07:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117025515079991296,"km_value":117025515079991.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145121968338808832,"description":"Unknown IO ID 45"} 
[2026-08-10 07:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299278592001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9145121968338808832}} 
[2026-08-10 07:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":154035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:00:20] local.INFO: GPS data processed {"connection_id":154035,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:00:20] local.INFO: Acknowledgment sent {"connection_id":154035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:00:37] local.INFO: TCP Data received {"connection_id":151668,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:00:37] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:00:37] local.INFO: Packet analysis {"connection_id":151668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 07:00:37] local.INFO: Extracted packet for processing {"connection_id":151668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 07:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299178496001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786325217000,"timestamp_ms":1786325217000,"timestamp_seconds":1786325217,"priority":1,"record_length":96,"hex_timestamp":"0000019fe947aee8"} 
[2026-08-10 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-08-10 07:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299178496001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299178496001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299178496001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":151668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:00:37] local.INFO: GPS data processed {"connection_id":151668,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:00:37] local.INFO: Acknowledgment sent {"connection_id":151668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:00:57] local.INFO: TCP Data received {"connection_id":154035,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9496c38012d814c4005d185100002006217..."} 
[2026-08-10 07:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9496c38012d814c4005d185100002006217..."} 
[2026-08-10 07:00:57] local.INFO: Processing buffer {"connection_id":154035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9496c38012d814c4005d185100002006217..."} 
[2026-08-10 07:00:57] local.INFO: Packet analysis {"connection_id":154035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe949"} 
[2026-08-10 07:00:57] local.INFO: Extracted packet for processing {"connection_id":154035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe949"} 
[2026-08-10 07:00:57] local.INFO: GPS Element Parsed {"raw_longitude":763448384,"raw_latitude":97617168,"longitude_deg":76.3448384,"latitude_deg":9.7617168,"altitude":2,"angle":98,"satellites":23,"speed":24,"hex_longitude":"2d814c40","hex_latitude":"05d18510","is_valid_coordinates":true} 
[2026-08-10 07:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299281152001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117025970346524672,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9140125787502161920,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786325331000,"timestamp_ms":1786325331000,"timestamp_seconds":1786325331,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9496c38"} 
[2026-08-10 07:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169941851511,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399458,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3913864160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165522437,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2349858816,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3623955841,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147864973,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3517650944,"note":"Value kept but may cause issues"} 
[2026-08-10 07:00:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,194,159,14,45,139,23,10,66,193,64,6,1,240,97,227,233,209,4,113,205,11,254,18,8,239,52,2,5,34],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-10 07:00:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":107850925146112,"timestamp_seconds":107850925146.112,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299281152001,"66":13363,"208":206,"85":15104,"24":24,"16":117025970346524672,"45":-9140125787502161920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-10 07:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299281152001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:00:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-10 07:00:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117025970346524672,"km_value":117025970346524.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9140125787502161920,"description":"Unknown IO ID 45"} 
[2026-08-10 07:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299281152001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9140125787502161920}} 
[2026-08-10 07:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":154035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:00:57] local.INFO: GPS data processed {"connection_id":154035,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:00:57] local.INFO: Acknowledgment sent {"connection_id":154035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:00:59] local.INFO: TCP Data received {"connection_id":152581,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:00:59] local.INFO: Processing buffer {"connection_id":152581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:00:59] local.INFO: IMEI packet received {"connection_id":152581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":152581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:01:05] local.INFO: TCP Data received {"connection_id":152581,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:01:05] local.INFO: Processing buffer {"connection_id":152581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:01:05] local.INFO: IMEI packet received {"connection_id":152581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":152581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:01:05] local.INFO: TCP Data received {"connection_id":152581,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:01:06] local.INFO: Processing buffer {"connection_id":152581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:01:06] local.INFO: Packet analysis {"connection_id":152581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 07:01:06] local.INFO: Extracted packet for processing {"connection_id":152581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 07:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299178496001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786325217000,"timestamp_ms":1786325217000,"timestamp_seconds":1786325217,"priority":1,"record_length":96,"hex_timestamp":"0000019fe947aee8"} 
[2026-08-10 07:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:01: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-08-10 07:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299178496001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299178496001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299178496001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":152581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:01:06] local.INFO: GPS data processed {"connection_id":152581,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:01:06] local.INFO: Acknowledgment sent {"connection_id":152581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:01:28] local.INFO: TCP Data received {"connection_id":154035,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9499348012d815e4005d183d80001005517..."} 
[2026-08-10 07:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9499348012d815e4005d183d80001005517..."} 
[2026-08-10 07:01:28] local.INFO: Processing buffer {"connection_id":154035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9499348012d815e4005d183d80001005517..."} 
[2026-08-10 07:01:28] local.INFO: Packet analysis {"connection_id":154035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe949"} 
[2026-08-10 07:01:28] local.INFO: Extracted packet for processing {"connection_id":154035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe949"} 
[2026-08-10 07:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763452992,"raw_latitude":97616856,"longitude_deg":76.3452992,"latitude_deg":9.7616856,"altitude":1,"angle":85,"satellites":23,"speed":7,"hex_longitude":"2d815e40","hex_latitude":"05d183d8","is_valid_coordinates":true} 
[2026-08-10 07:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299284736001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117026189389856768,"note":"Value kept but may cause issues"} 
[2026-08-10 07:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9129851950852665344,"note":"Value kept but may cause issues"} 
[2026-08-10 07:01: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-08-10 07:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786325341000,"timestamp_ms":1786325341000,"timestamp_seconds":1786325341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9499348"} 
[2026-08-10 07:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 07:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":154035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":154035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":154035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299284736001,"66":13048,"208":206,"85":15104,"24":7,"16":117026189389856768,"45":-9129851950852665344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-10 07:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299284736001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:01:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-10 07:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117026189389856768,"km_value":117026189389856.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9129851950852665344,"description":"Unknown IO ID 45"} 
[2026-08-10 07:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299284736001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9129851950852665344}} 
[2026-08-10 07:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":154035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:01:28] local.INFO: GPS data processed {"connection_id":154035,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:01:28] local.INFO: Acknowledgment sent {"connection_id":154035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:01:41] local.INFO: TCP Data received {"connection_id":152581,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:01:41] local.INFO: Processing buffer {"connection_id":152581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:01:41] local.INFO: Packet analysis {"connection_id":152581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 07:01:41] local.INFO: Extracted packet for processing {"connection_id":152581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 07:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299178496001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786325217000,"timestamp_ms":1786325217000,"timestamp_seconds":1786325217,"priority":1,"record_length":96,"hex_timestamp":"0000019fe947aee8"} 
[2026-08-10 07:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299178496001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299178496001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:01:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299178496001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":152581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:01:41] local.INFO: GPS data processed {"connection_id":152581,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:01:41] local.INFO: Acknowledgment sent {"connection_id":152581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:01:59] local.INFO: TCP Data received {"connection_id":151669,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:01:59] local.INFO: Processing buffer {"connection_id":151669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:01:59] local.INFO: IMEI packet received {"connection_id":151669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":151669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:02:05] local.INFO: TCP Data received {"connection_id":151669,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:02:05] local.INFO: Processing buffer {"connection_id":151669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:02:05] local.INFO: IMEI packet received {"connection_id":151669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":151669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:02:06] local.INFO: TCP Data received {"connection_id":151669,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:02:06] local.INFO: Processing buffer {"connection_id":151669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe947aee8012d34c20006aa3f08000800f32e..."} 
[2026-08-10 07:02:06] local.INFO: Packet analysis {"connection_id":151669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 07:02:06] local.INFO: Extracted packet for processing {"connection_id":151669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe947"} 
[2026-08-10 07:02:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299178496001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786325217000,"timestamp_ms":1786325217000,"timestamp_seconds":1786325217,"priority":1,"record_length":96,"hex_timestamp":"0000019fe947aee8"} 
[2026-08-10 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-08-10 07:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299178496001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299178496001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:02:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299178496001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":151669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:02:06] local.INFO: GPS data processed {"connection_id":151669,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:02:06] local.INFO: Acknowledgment sent {"connection_id":151669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:02:37] local.INFO: TCP Data received {"connection_id":151669,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:02:37] local.INFO: Processing buffer {"connection_id":151669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:02:37] local.INFO: Packet analysis {"connection_id":151669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:02:37] local.INFO: Extracted packet for processing {"connection_id":151669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299255552001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786325518000,"timestamp_ms":1786325518000,"timestamp_seconds":1786325518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe94c46b0"} 
[2026-08-10 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-08-10 07:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299255552001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299255552001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299255552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":151669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:02:37] local.INFO: GPS data processed {"connection_id":151669,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:02:37] local.INFO: Acknowledgment sent {"connection_id":151669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:03:05] local.INFO: TCP Data received {"connection_id":152582,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:03:05] local.INFO: Processing buffer {"connection_id":152582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:03:05] local.INFO: IMEI packet received {"connection_id":152582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":152582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:03:10] local.INFO: TCP Data received {"connection_id":152582,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:03:10] local.INFO: Processing buffer {"connection_id":152582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:03:10] local.INFO: IMEI packet received {"connection_id":152582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":152582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:03:11] local.INFO: TCP Data received {"connection_id":152582,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:03:11] local.INFO: Processing buffer {"connection_id":152582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:03:11] local.INFO: Packet analysis {"connection_id":152582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:03:11] local.INFO: Extracted packet for processing {"connection_id":152582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299255552001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786325518000,"timestamp_ms":1786325518000,"timestamp_seconds":1786325518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe94c46b0"} 
[2026-08-10 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-08-10 07:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299255552001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299255552001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:03:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:03:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299255552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":152582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:03:11] local.INFO: GPS data processed {"connection_id":152582,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:03:11] local.INFO: Acknowledgment sent {"connection_id":152582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:03:42] local.INFO: TCP Data received {"connection_id":152582,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:03:42] local.INFO: Processing buffer {"connection_id":152582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:03:42] local.INFO: Packet analysis {"connection_id":152582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:03:42] local.INFO: Extracted packet for processing {"connection_id":152582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299255552001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786325518000,"timestamp_ms":1786325518000,"timestamp_seconds":1786325518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe94c46b0"} 
[2026-08-10 07:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299255552001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299255552001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299255552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":152582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:03:42] local.INFO: GPS data processed {"connection_id":152582,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:03:42] local.INFO: Acknowledgment sent {"connection_id":152582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:04:00] local.INFO: TCP Data received {"connection_id":152583,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:04:00] local.INFO: Processing buffer {"connection_id":152583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:04:00] local.INFO: IMEI packet received {"connection_id":152583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":152583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:04:05] local.INFO: TCP Data received {"connection_id":152583,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:04:05] local.INFO: Processing buffer {"connection_id":152583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:04:05] local.INFO: IMEI packet received {"connection_id":152583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":152583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:04:06] local.INFO: TCP Data received {"connection_id":152583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:04:06] local.INFO: Processing buffer {"connection_id":152583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:04:06] local.INFO: Packet analysis {"connection_id":152583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:04:06] local.INFO: Extracted packet for processing {"connection_id":152583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299255552001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786325518000,"timestamp_ms":1786325518000,"timestamp_seconds":1786325518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe94c46b0"} 
[2026-08-10 07:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299255552001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299255552001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299255552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":152583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:04:06] local.INFO: GPS data processed {"connection_id":152583,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:04:06] local.INFO: Acknowledgment sent {"connection_id":152583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:04:37] local.INFO: TCP Data received {"connection_id":152583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:04:37] local.INFO: Processing buffer {"connection_id":152583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:04:37] local.INFO: Packet analysis {"connection_id":152583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:04:37] local.INFO: Extracted packet for processing {"connection_id":152583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299255552001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786325518000,"timestamp_ms":1786325518000,"timestamp_seconds":1786325518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe94c46b0"} 
[2026-08-10 07:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299255552001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299255552001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299255552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":152583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:04:37] local.INFO: GPS data processed {"connection_id":152583,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:04:37] local.INFO: Acknowledgment sent {"connection_id":152583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:05:00] local.INFO: TCP Data received {"connection_id":154036,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:05:00] local.INFO: Processing buffer {"connection_id":154036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:05:00] local.INFO: IMEI packet received {"connection_id":154036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":154036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:05:05] local.INFO: TCP Data received {"connection_id":154036,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:05:05] local.INFO: Processing buffer {"connection_id":154036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:05:05] local.INFO: IMEI packet received {"connection_id":154036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":154036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:05:06] local.INFO: TCP Data received {"connection_id":154036,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:05:06] local.INFO: Processing buffer {"connection_id":154036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:05:06] local.INFO: Packet analysis {"connection_id":154036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:05:06] local.INFO: Extracted packet for processing {"connection_id":154036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299255552001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786325518000,"timestamp_ms":1786325518000,"timestamp_seconds":1786325518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe94c46b0"} 
[2026-08-10 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-08-10 07:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299255552001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299255552001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299255552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":154036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:05:06] local.INFO: GPS data processed {"connection_id":154036,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:05:06] local.INFO: Acknowledgment sent {"connection_id":154036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:05:38] local.INFO: TCP Data received {"connection_id":154036,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:05:38] local.INFO: Processing buffer {"connection_id":154036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:05:38] local.INFO: Packet analysis {"connection_id":154036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:05:38] local.INFO: Extracted packet for processing {"connection_id":154036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299255552001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786325518000,"timestamp_ms":1786325518000,"timestamp_seconds":1786325518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe94c46b0"} 
[2026-08-10 07:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299255552001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299255552001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299255552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":154036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:05:38] local.INFO: GPS data processed {"connection_id":154036,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:05:38] local.INFO: Acknowledgment sent {"connection_id":154036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:05:59] local.INFO: TCP Data received {"connection_id":151292,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:05:59] local.INFO: Processing buffer {"connection_id":151292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:05:59] local.INFO: IMEI packet received {"connection_id":151292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":151292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:06:05] local.INFO: TCP Data received {"connection_id":151292,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:06:05] local.INFO: Processing buffer {"connection_id":151292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:06:05] local.INFO: IMEI packet received {"connection_id":151292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":151292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:06:05] local.INFO: TCP Data received {"connection_id":151292,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:06:05] local.INFO: Processing buffer {"connection_id":151292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:06:05] local.INFO: Packet analysis {"connection_id":151292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:06:05] local.INFO: Extracted packet for processing {"connection_id":151292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299255552001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786325518000,"timestamp_ms":1786325518000,"timestamp_seconds":1786325518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe94c46b0"} 
[2026-08-10 07:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:06: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-08-10 07:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299255552001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299255552001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:06:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:06:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299255552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":151292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:06:05] local.INFO: GPS data processed {"connection_id":151292,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:06:05] local.INFO: Acknowledgment sent {"connection_id":151292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:06:37] local.INFO: TCP Data received {"connection_id":151292,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:06:37] local.INFO: Processing buffer {"connection_id":151292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:06:37] local.INFO: Packet analysis {"connection_id":151292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:06:37] local.INFO: Extracted packet for processing {"connection_id":151292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299255552001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786325518000,"timestamp_ms":1786325518000,"timestamp_seconds":1786325518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe94c46b0"} 
[2026-08-10 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-08-10 07:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299255552001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299255552001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299255552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":151292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:06:37] local.INFO: GPS data processed {"connection_id":151292,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:06:37] local.INFO: Acknowledgment sent {"connection_id":151292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:06:49] local.INFO: TCP Data received {"connection_id":152584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:06:49] local.INFO: Processing buffer {"connection_id":152584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:06:49] local.INFO: IMEI packet received {"connection_id":152584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":152584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:06:50] local.INFO: TCP Data received {"connection_id":152584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:06:50] local.INFO: Processing buffer {"connection_id":152584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:06:50] local.INFO: IMEI packet received {"connection_id":152584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":152584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:06:54] local.INFO: TCP Data received {"connection_id":152584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:06:54] local.INFO: Processing buffer {"connection_id":152584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:06:54] local.INFO: IMEI packet received {"connection_id":152584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":152584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:06:58] local.INFO: TCP Data received {"connection_id":152584,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9504a08012d8173c005d186780004004422..."} 
[2026-08-10 07:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9504a08012d8173c005d186780004004422..."} 
[2026-08-10 07:06:58] local.INFO: Processing buffer {"connection_id":152584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9504a08012d8173c005d186780004004422..."} 
[2026-08-10 07:06:58] local.INFO: Packet analysis {"connection_id":152584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:06:58] local.INFO: Extracted packet for processing {"connection_id":152584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763458496,"raw_latitude":97617528,"longitude_deg":76.3458496,"latitude_deg":9.7617528,"altitude":4,"angle":68,"satellites":34,"speed":19,"hex_longitude":"2d8173c0","hex_latitude":"05d18678","is_valid_coordinates":true} 
[2026-08-10 07:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299396864001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117026468562731008,"note":"Value kept but may cause issues"} 
[2026-08-10 07:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123870607597535232,"note":"Value kept but may cause issues"} 
[2026-08-10 07:06:58] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-10 07:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786325781000,"timestamp_ms":1786325781000,"timestamp_seconds":1786325781,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9504a08"} 
[2026-08-10 07:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 07:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299396864001,"66":13178,"24":19,"16":117026468562731008,"45":-9123870607597535232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-10 07:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299396864001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117026468562731008,"km_value":117026468562731.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123870607597535232,"description":"Unknown IO ID 45"} 
[2026-08-10 07:06:58] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457299396864001,"power":13178,"ignition":19,"odometer":null,"unknown_45":-9123870607597535232}} 
[2026-08-10 07:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":152584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:06:58] local.INFO: GPS data processed {"connection_id":152584,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:06:58] local.INFO: Acknowledgment sent {"connection_id":152584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:06:59] local.INFO: TCP Data received {"connection_id":151670,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:06:59] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:06:59] local.INFO: IMEI packet received {"connection_id":151670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":151670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:07:05] local.INFO: TCP Data received {"connection_id":151670,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:07:05] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:07:05] local.INFO: IMEI packet received {"connection_id":151670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":151670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:07:06] local.INFO: TCP Data received {"connection_id":151670,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:07:06] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:07:06] local.INFO: Packet analysis {"connection_id":151670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:07:06] local.INFO: Extracted packet for processing {"connection_id":151670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:07:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299255552001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786325518000,"timestamp_ms":1786325518000,"timestamp_seconds":1786325518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe94c46b0"} 
[2026-08-10 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-08-10 07:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299255552001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299255552001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299255552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":151670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:07:06] local.INFO: GPS data processed {"connection_id":151670,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:07:06] local.INFO: Acknowledgment sent {"connection_id":151670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:07:18] local.INFO: TCP Data received {"connection_id":154037,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:07:18] local.INFO: Processing buffer {"connection_id":154037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:07:18] local.INFO: IMEI packet received {"connection_id":154037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":154037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:07:20] local.INFO: TCP Data received {"connection_id":154037,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:07:20] local.INFO: Processing buffer {"connection_id":154037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:07:20] local.INFO: IMEI packet received {"connection_id":154037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":154037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:07:24] local.INFO: TCP Data received {"connection_id":154037,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:07:24] local.INFO: Processing buffer {"connection_id":154037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:07:24] local.INFO: IMEI packet received {"connection_id":154037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":154037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:07:25] local.INFO: TCP Data received {"connection_id":154037,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9506178012d817e0005d18aa80003005322..."} 
[2026-08-10 07:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9506178012d817e0005d18aa80003005322..."} 
[2026-08-10 07:07:25] local.INFO: Processing buffer {"connection_id":154037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9506178012d817e0005d18aa80003005322..."} 
[2026-08-10 07:07:25] local.INFO: Packet analysis {"connection_id":154037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:07:25] local.INFO: Extracted packet for processing {"connection_id":154037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:07:25] local.INFO: GPS Element Parsed {"raw_longitude":763461120,"raw_latitude":97618600,"longitude_deg":76.346112,"latitude_deg":9.76186,"altitude":3,"angle":83,"satellites":34,"speed":18,"hex_longitude":"2d817e00","hex_latitude":"05d18aa8","is_valid_coordinates":true} 
[2026-08-10 07:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299399936001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117026606001684480,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9118733689272502272,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:25] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-10 07:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786325787000,"timestamp_ms":1786325787000,"timestamp_seconds":1786325787,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9506178"} 
[2026-08-10 07:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-10 07:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299399936001,"66":13276,"24":18,"16":117026606001684480,"45":-9118733689272502272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-10 07:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299399936001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117026606001684480,"km_value":117026606001684.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9118733689272502272,"description":"Unknown IO ID 45"} 
[2026-08-10 07:07:25] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457299399936001,"power":13276,"ignition":18,"odometer":null,"unknown_45":-9118733689272502272}} 
[2026-08-10 07:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":154037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:07:25] local.INFO: GPS data processed {"connection_id":154037,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:07:25] local.INFO: Acknowledgment sent {"connection_id":154037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:07:37] local.INFO: TCP Data received {"connection_id":151670,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:07:37] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe94c46b0012d34c20006aa3f08000900f32f..."} 
[2026-08-10 07:07:37] local.INFO: Packet analysis {"connection_id":151670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:07:37] local.INFO: Extracted packet for processing {"connection_id":151670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe94c"} 
[2026-08-10 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299255552001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786325518000,"timestamp_ms":1786325518000,"timestamp_seconds":1786325518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe94c46b0"} 
[2026-08-10 07:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299255552001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299255552001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299255552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":151670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:07:37] local.INFO: GPS data processed {"connection_id":151670,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:07:37] local.INFO: Acknowledgment sent {"connection_id":151670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:07:56] local.INFO: TCP Data received {"connection_id":154037,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9518a58012d823c8005d168180000007122..."} 
[2026-08-10 07:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9518a58012d823c8005d168180000007122..."} 
[2026-08-10 07:07:56] local.INFO: Processing buffer {"connection_id":154037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9518a58012d823c8005d168180000007122..."} 
[2026-08-10 07:07:56] local.INFO: Packet analysis {"connection_id":154037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe951"} 
[2026-08-10 07:07:56] local.INFO: Extracted packet for processing {"connection_id":154037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe951"} 
[2026-08-10 07:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763509888,"raw_latitude":97609752,"longitude_deg":76.3509888,"latitude_deg":9.7609752,"altitude":0,"angle":113,"satellites":34,"speed":31,"hex_longitude":"2d823c80","hex_latitude":"05d16818","is_valid_coordinates":true} 
[2026-08-10 07:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299420160001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117029028363239424,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064338650024884224,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786325863000,"timestamp_ms":1786325863000,"timestamp_seconds":1786325863,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9518a58"} 
[2026-08-10 07:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3914407160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2181529605,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-9101774829728030208,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3355520385,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510967,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3514599424,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57834105476109627,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.WARNING: Large IO value detected {"io_id":81,"raw_value":961519815406796805,"note":"Value kept but may cause issues"} 
[2026-08-10 07:07:56] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,65,85,24,241,157,16,197,159,118,45,111,34,10,66,103,64,115,1,33,63,196,87,128,240,94,227,233,209,4,113,205,38,36,226,184,239,48,208,2,5,3,28,84,81],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-08-10 07:07:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":139779712286720,"timestamp_seconds":139779712286.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299420160001,"66":13243,"65":206,"85":15104,"24":31,"16":117029028363239424,"45":-9064338650024884224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-10 07:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299420160001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:07:56] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-10 07:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117029028363239424,"km_value":117029028363239.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064338650024884224,"description":"Unknown IO ID 45"} 
[2026-08-10 07:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299420160001,"power":13243,"unknown_65":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9064338650024884224}} 
[2026-08-10 07:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":154037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:07:56] local.INFO: GPS data processed {"connection_id":154037,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:07:56] local.INFO: Acknowledgment sent {"connection_id":154037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:08:05] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:08:05] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:08:05] local.INFO: IMEI packet received {"connection_id":151671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":151671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:08:10] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:08:10] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:08:10] local.INFO: IMEI packet received {"connection_id":151671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":151671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:08:10] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:08:10] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:08:10] local.INFO: Packet analysis {"connection_id":151671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:08:10] local.INFO: Extracted packet for processing {"connection_id":151671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299332608001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786325819000,"timestamp_ms":1786325819000,"timestamp_seconds":1786325819,"priority":1,"record_length":96,"hex_timestamp":"0000019fe950de78"} 
[2026-08-10 07:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299332608001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299332608001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299332608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":151671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:08:10] local.INFO: GPS data processed {"connection_id":151671,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:08:10] local.INFO: Acknowledgment sent {"connection_id":151671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:08:14] local.INFO: TCP Data received {"connection_id":154038,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:08:14] local.INFO: Processing buffer {"connection_id":154038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:08:14] local.INFO: IMEI packet received {"connection_id":154038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":154038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:08:15] local.INFO: TCP Data received {"connection_id":154038,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:08:15] local.INFO: Processing buffer {"connection_id":154038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:08:15] local.INFO: IMEI packet received {"connection_id":154038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":154038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:08:15] local.INFO: TCP Data received {"connection_id":154038,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:08:15] local.INFO: Processing buffer {"connection_id":154038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:08:15] local.INFO: IMEI packet received {"connection_id":154038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":154038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:08:18] local.INFO: TCP Data received {"connection_id":154038,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:08:18] local.INFO: Processing buffer {"connection_id":154038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:08:18] local.INFO: IMEI packet received {"connection_id":154038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":154038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:08:42] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:08:42] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:08:42] local.INFO: Packet analysis {"connection_id":151671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:08:42] local.INFO: Extracted packet for processing {"connection_id":151671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299332608001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786325819000,"timestamp_ms":1786325819000,"timestamp_seconds":1786325819,"priority":1,"record_length":96,"hex_timestamp":"0000019fe950de78"} 
[2026-08-10 07:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299332608001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299332608001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299332608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":151671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:08:42] local.INFO: GPS data processed {"connection_id":151671,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:08:42] local.INFO: Acknowledgment sent {"connection_id":151671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:09:00] local.INFO: TCP Data received {"connection_id":151293,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:09:00] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:09:00] local.INFO: IMEI packet received {"connection_id":151293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":151293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:09:05] local.INFO: TCP Data received {"connection_id":151293,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:09:05] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:09:05] local.INFO: IMEI packet received {"connection_id":151293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":151293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:09:06] local.INFO: TCP Data received {"connection_id":151293,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:09:06] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:09:06] local.INFO: Packet analysis {"connection_id":151293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:09:06] local.INFO: Extracted packet for processing {"connection_id":151293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299332608001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786325819000,"timestamp_ms":1786325819000,"timestamp_seconds":1786325819,"priority":1,"record_length":96,"hex_timestamp":"0000019fe950de78"} 
[2026-08-10 07:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299332608001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299332608001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299332608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":151293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:09:06] local.INFO: GPS data processed {"connection_id":151293,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:09:06] local.INFO: Acknowledgment sent {"connection_id":151293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:09:37] local.INFO: TCP Data received {"connection_id":151293,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:09:37] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:09:37] local.INFO: Packet analysis {"connection_id":151293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:09:37] local.INFO: Extracted packet for processing {"connection_id":151293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299332608001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786325819000,"timestamp_ms":1786325819000,"timestamp_seconds":1786325819,"priority":1,"record_length":96,"hex_timestamp":"0000019fe950de78"} 
[2026-08-10 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-08-10 07:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299332608001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299332608001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299332608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":151293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:09:37] local.INFO: GPS data processed {"connection_id":151293,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:09:37] local.INFO: Acknowledgment sent {"connection_id":151293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:09:59] local.INFO: TCP Data received {"connection_id":152585,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:09:59] local.INFO: Processing buffer {"connection_id":152585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:09:59] local.INFO: IMEI packet received {"connection_id":152585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":152585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:10:05] local.INFO: TCP Data received {"connection_id":152585,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:10:05] local.INFO: Processing buffer {"connection_id":152585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:10:05] local.INFO: IMEI packet received {"connection_id":152585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":152585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:10:06] local.INFO: TCP Data received {"connection_id":152585,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:10:06] local.INFO: Processing buffer {"connection_id":152585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:10:06] local.INFO: Packet analysis {"connection_id":152585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:10:06] local.INFO: Extracted packet for processing {"connection_id":152585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299332608001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786325819000,"timestamp_ms":1786325819000,"timestamp_seconds":1786325819,"priority":1,"record_length":96,"hex_timestamp":"0000019fe950de78"} 
[2026-08-10 07:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299332608001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299332608001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299332608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":152585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:10:06] local.INFO: GPS data processed {"connection_id":152585,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:10:06] local.INFO: Acknowledgment sent {"connection_id":152585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:10:37] local.INFO: TCP Data received {"connection_id":152585,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:10:37] local.INFO: Processing buffer {"connection_id":152585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:10:37] local.INFO: Packet analysis {"connection_id":152585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:10:37] local.INFO: Extracted packet for processing {"connection_id":152585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299332608001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786325819000,"timestamp_ms":1786325819000,"timestamp_seconds":1786325819,"priority":1,"record_length":96,"hex_timestamp":"0000019fe950de78"} 
[2026-08-10 07:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299332608001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299332608001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299332608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":152585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:10:37] local.INFO: GPS data processed {"connection_id":152585,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:10:37] local.INFO: Acknowledgment sent {"connection_id":152585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:10:59] local.INFO: TCP Data received {"connection_id":152586,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:10:59] local.INFO: Processing buffer {"connection_id":152586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:10:59] local.INFO: IMEI packet received {"connection_id":152586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":152586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:11:05] local.INFO: TCP Data received {"connection_id":152586,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:11:05] local.INFO: Processing buffer {"connection_id":152586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:11:05] local.INFO: IMEI packet received {"connection_id":152586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":152586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:11:06] local.INFO: TCP Data received {"connection_id":152586,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:11:06] local.INFO: Processing buffer {"connection_id":152586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:11:06] local.INFO: Packet analysis {"connection_id":152586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:11:06] local.INFO: Extracted packet for processing {"connection_id":152586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299332608001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786325819000,"timestamp_ms":1786325819000,"timestamp_seconds":1786325819,"priority":1,"record_length":96,"hex_timestamp":"0000019fe950de78"} 
[2026-08-10 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-08-10 07:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 07:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299332608001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299332608001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299332608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":152586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:11:06] local.INFO: GPS data processed {"connection_id":152586,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:11:06] local.INFO: Acknowledgment sent {"connection_id":152586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:11:37] local.INFO: TCP Data received {"connection_id":152586,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:11:37] local.INFO: Processing buffer {"connection_id":152586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:11:37] local.INFO: Packet analysis {"connection_id":152586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:11:37] local.INFO: Extracted packet for processing {"connection_id":152586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299332608001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786325819000,"timestamp_ms":1786325819000,"timestamp_seconds":1786325819,"priority":1,"record_length":96,"hex_timestamp":"0000019fe950de78"} 
[2026-08-10 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-08-10 07:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 07:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299332608001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299332608001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299332608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":152586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:11:37] local.INFO: GPS data processed {"connection_id":152586,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:11:37] local.INFO: Acknowledgment sent {"connection_id":152586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:11:59] local.INFO: TCP Data received {"connection_id":154039,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:11:59] local.INFO: Processing buffer {"connection_id":154039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:11:59] local.INFO: IMEI packet received {"connection_id":154039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":154039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:12:05] local.INFO: TCP Data received {"connection_id":154039,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:12:05] local.INFO: Processing buffer {"connection_id":154039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:12:05] local.INFO: IMEI packet received {"connection_id":154039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":154039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:12:05] local.INFO: TCP Data received {"connection_id":154039,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:12:05] local.INFO: Processing buffer {"connection_id":154039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:12:05] local.INFO: Packet analysis {"connection_id":154039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:12:05] local.INFO: Extracted packet for processing {"connection_id":154039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299332608001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786325819000,"timestamp_ms":1786325819000,"timestamp_seconds":1786325819,"priority":1,"record_length":96,"hex_timestamp":"0000019fe950de78"} 
[2026-08-10 07:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:12: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-08-10 07:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299332608001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299332608001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299332608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":154039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:12:05] local.INFO: GPS data processed {"connection_id":154039,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:12:05] local.INFO: Acknowledgment sent {"connection_id":154039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:12:37] local.INFO: TCP Data received {"connection_id":154039,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:12:37] local.INFO: Processing buffer {"connection_id":154039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe950de78012d34c20006aa3f08000700f32c..."} 
[2026-08-10 07:12:37] local.INFO: Packet analysis {"connection_id":154039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:12:37] local.INFO: Extracted packet for processing {"connection_id":154039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe950"} 
[2026-08-10 07:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299332608001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786325819000,"timestamp_ms":1786325819000,"timestamp_seconds":1786325819,"priority":1,"record_length":96,"hex_timestamp":"0000019fe950de78"} 
[2026-08-10 07:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299332608001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299332608001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299332608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":154039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:12:37] local.INFO: GPS data processed {"connection_id":154039,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:12:37] local.INFO: Acknowledgment sent {"connection_id":154039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:13:05] local.INFO: TCP Data received {"connection_id":154040,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:13:05] local.INFO: Processing buffer {"connection_id":154040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:13:05] local.INFO: IMEI packet received {"connection_id":154040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":154040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:13:10] local.INFO: TCP Data received {"connection_id":154040,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:13:10] local.INFO: Processing buffer {"connection_id":154040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:13:10] local.INFO: IMEI packet received {"connection_id":154040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":154040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:13:10] local.INFO: TCP Data received {"connection_id":154040,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:13:10] local.INFO: Processing buffer {"connection_id":154040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:13:10] local.INFO: Packet analysis {"connection_id":154040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:13:10] local.INFO: Extracted packet for processing {"connection_id":154040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299409664001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786326119000,"timestamp_ms":1786326119000,"timestamp_seconds":1786326119,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9557258"} 
[2026-08-10 07:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:13: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-08-10 07:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299409664001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299409664001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299409664001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":154040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:13:10] local.INFO: GPS data processed {"connection_id":154040,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:13:10] local.INFO: Acknowledgment sent {"connection_id":154040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:13:20] local.INFO: TCP Data received {"connection_id":151296,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:13:20] local.INFO: Processing buffer {"connection_id":151296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:13:20] local.INFO: IMEI packet received {"connection_id":151296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":151296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:13:20] local.INFO: TCP Data received {"connection_id":151296,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9549798012d82968005d161a00006013927..."} 
[2026-08-10 07:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9549798012d82968005d161a00006013927..."} 
[2026-08-10 07:13:20] local.INFO: Processing buffer {"connection_id":151296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9549798012d82968005d161a00006013927..."} 
[2026-08-10 07:13:20] local.INFO: Packet analysis {"connection_id":151296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe954"} 
[2026-08-10 07:13:20] local.INFO: Extracted packet for processing {"connection_id":151296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe954"} 
[2026-08-10 07:13:20] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97608096,"longitude_deg":76.3532928,"latitude_deg":9.7608096,"altitude":6,"angle":313,"satellites":39,"speed":9,"hex_longitude":"2d829680","hex_latitude":"05d161a0","is_valid_coordinates":true} 
[2026-08-10 07:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299471872001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117034169439092736,"note":"Value kept but may cause issues"} 
[2026-08-10 07:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036683733563793408,"note":"Value kept but may cause issues"} 
[2026-08-10 07:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786326063000,"timestamp_ms":1786326063000,"timestamp_seconds":1786326063,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9549798"} 
[2026-08-10 07:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 07:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299471872001,"66":13222,"63":206,"85":15104,"24":9,"16":117034169439092736,"45":-9036683733563793408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 07:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299471872001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:13:20] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 07:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117034169439092736,"km_value":117034169439092.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036683733563793408,"description":"Unknown IO ID 45"} 
[2026-08-10 07:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299471872001,"power":13222,"unknown_63":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9036683733563793408}} 
[2026-08-10 07:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":151296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:13:20] local.INFO: GPS data processed {"connection_id":151296,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:13:20] local.INFO: Acknowledgment sent {"connection_id":151296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:13:44] local.INFO: TCP Data received {"connection_id":154040,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:13:44] local.INFO: Processing buffer {"connection_id":154040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:13:44] local.INFO: Packet analysis {"connection_id":154040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:13:44] local.INFO: Extracted packet for processing {"connection_id":154040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299409664001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786326119000,"timestamp_ms":1786326119000,"timestamp_seconds":1786326119,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9557258"} 
[2026-08-10 07:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299409664001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299409664001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299409664001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":154040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:13:44] local.INFO: GPS data processed {"connection_id":154040,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:13:44] local.INFO: Acknowledgment sent {"connection_id":154040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:13:51] local.INFO: TCP Data received {"connection_id":151296,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9549b80012d82964005d162680007014e27..."} 
[2026-08-10 07:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9549b80012d82964005d162680007014e27..."} 
[2026-08-10 07:13:51] local.INFO: Processing buffer {"connection_id":151296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9549b80012d82964005d162680007014e27..."} 
[2026-08-10 07:13:51] local.INFO: Packet analysis {"connection_id":151296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe954"} 
[2026-08-10 07:13:51] local.INFO: Extracted packet for processing {"connection_id":151296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe954"} 
[2026-08-10 07:13:51] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97608296,"longitude_deg":76.3532864,"latitude_deg":9.7608296,"altitude":7,"angle":334,"satellites":39,"speed":10,"hex_longitude":"2d829640","hex_latitude":"05d16268","is_valid_coordinates":true} 
[2026-08-10 07:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299472128001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117034178029027328,"note":"Value kept but may cause issues"} 
[2026-08-10 07:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839796293632,"note":"Value kept but may cause issues"} 
[2026-08-10 07:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786326064000,"timestamp_ms":1786326064000,"timestamp_seconds":1786326064,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9549b80"} 
[2026-08-10 07:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-10 07:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299472128001,"66":13363,"63":206,"85":15104,"24":10,"16":117034178029027328,"45":-9036894839796293632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 07:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299472128001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:13:51] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 07:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117034178029027328,"km_value":117034178029027.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839796293632,"description":"Unknown IO ID 45"} 
[2026-08-10 07:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299472128001,"power":13363,"unknown_63":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9036894839796293632}} 
[2026-08-10 07:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":151296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:13:51] local.INFO: GPS data processed {"connection_id":151296,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:13:51] local.INFO: Acknowledgment sent {"connection_id":151296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:14:00] local.INFO: TCP Data received {"connection_id":152587,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:14:00] local.INFO: Processing buffer {"connection_id":152587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:14:00] local.INFO: IMEI packet received {"connection_id":152587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":152587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:14:05] local.INFO: TCP Data received {"connection_id":152587,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:14:05] local.INFO: Processing buffer {"connection_id":152587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:14:05] local.INFO: IMEI packet received {"connection_id":152587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":152587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:14:06] local.INFO: TCP Data received {"connection_id":152587,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:14:06] local.INFO: Processing buffer {"connection_id":152587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:14:06] local.INFO: Packet analysis {"connection_id":152587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:14:06] local.INFO: Extracted packet for processing {"connection_id":152587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299409664001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786326119000,"timestamp_ms":1786326119000,"timestamp_seconds":1786326119,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9557258"} 
[2026-08-10 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-08-10 07:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 07:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299409664001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299409664001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299409664001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":152587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:14:06] local.INFO: GPS data processed {"connection_id":152587,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:14:06] local.INFO: Acknowledgment sent {"connection_id":152587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:14:12] local.INFO: TCP Data received {"connection_id":154041,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:14:12] local.INFO: Processing buffer {"connection_id":154041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:14:12] local.INFO: IMEI packet received {"connection_id":154041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":154041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:14:15] local.INFO: TCP Data received {"connection_id":154041,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:14:15] local.INFO: Processing buffer {"connection_id":154041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:14:15] local.INFO: IMEI packet received {"connection_id":154041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":154041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:14:20] local.INFO: TCP Data received {"connection_id":154041,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:14:20] local.INFO: Processing buffer {"connection_id":154041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:14:20] local.INFO: IMEI packet received {"connection_id":154041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":154041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:14:20] local.INFO: TCP Data received {"connection_id":154041,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95700c8012d82968005d1e7e80006000628..."} 
[2026-08-10 07:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95700c8012d82968005d1e7e80006000628..."} 
[2026-08-10 07:14:20] local.INFO: Processing buffer {"connection_id":154041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95700c8012d82968005d1e7e80006000628..."} 
[2026-08-10 07:14:20] local.INFO: Packet analysis {"connection_id":154041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe957"} 
[2026-08-10 07:14:20] local.INFO: Extracted packet for processing {"connection_id":154041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe957"} 
[2026-08-10 07:14:20] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97642472,"longitude_deg":76.3532928,"latitude_deg":9.7642472,"altitude":6,"angle":6,"satellites":40,"speed":6,"hex_longitude":"2d829680","hex_latitude":"05d1e7e8","is_valid_coordinates":true} 
[2026-08-10 07:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299511296001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117035844476338176,"note":"Value kept but may cause issues"} 
[2026-08-10 07:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471043452928,"note":"Value kept but may cause issues"} 
[2026-08-10 07:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786326221000,"timestamp_ms":1786326221000,"timestamp_seconds":1786326221,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95700c8"} 
[2026-08-10 07:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-10 07:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299511296001,"66":13243,"63":206,"85":15104,"24":6,"16":117035844476338176,"45":-9036824471043452928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 07:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299511296001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:14:20] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 07:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117035844476338176,"km_value":117035844476338.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471043452928,"description":"Unknown IO ID 45"} 
[2026-08-10 07:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299511296001,"power":13243,"unknown_63":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9036824471043452928}} 
[2026-08-10 07:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":154041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:14:20] local.INFO: GPS data processed {"connection_id":154041,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:14:20] local.INFO: Acknowledgment sent {"connection_id":154041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:14:37] local.INFO: TCP Data received {"connection_id":152587,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:14:37] local.INFO: Processing buffer {"connection_id":152587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:14:37] local.INFO: Packet analysis {"connection_id":152587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:14:37] local.INFO: Extracted packet for processing {"connection_id":152587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299409664001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786326119000,"timestamp_ms":1786326119000,"timestamp_seconds":1786326119,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9557258"} 
[2026-08-10 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-08-10 07:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 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-08-10 07:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299409664001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299409664001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299409664001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":152587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:14:37] local.INFO: GPS data processed {"connection_id":152587,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:14:37] local.INFO: Acknowledgment sent {"connection_id":152587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:14:52] local.INFO: TCP Data received {"connection_id":154041,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9574718012d82964005d20ca0000a016729..."} 
[2026-08-10 07:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9574718012d82964005d20ca0000a016729..."} 
[2026-08-10 07:14:52] local.INFO: Processing buffer {"connection_id":154041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9574718012d82964005d20ca0000a016729..."} 
[2026-08-10 07:14:52] local.INFO: Packet analysis {"connection_id":154041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe957"} 
[2026-08-10 07:14:52] local.INFO: Extracted packet for processing {"connection_id":154041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe957"} 
[2026-08-10 07:14:52] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97651872,"longitude_deg":76.3532864,"latitude_deg":9.7651872,"altitude":10,"angle":359,"satellites":41,"speed":30,"hex_longitude":"2d829640","hex_latitude":"05d20ca0","is_valid_coordinates":true} 
[2026-08-10 07:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299512576001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117036304037838848,"note":"Value kept but may cause issues"} 
[2026-08-10 07:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839787493376,"note":"Value kept but may cause issues"} 
[2026-08-10 07:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786326239000,"timestamp_ms":1786326239000,"timestamp_seconds":1786326239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9574718"} 
[2026-08-10 07:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 07:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299512576001,"66":13341,"63":206,"85":15104,"24":30,"16":117036304037838848,"45":-9036894839787493376},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 07:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299512576001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:14:52] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 07:14:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117036304037838848,"km_value":117036304037838.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839787493376,"description":"Unknown IO ID 45"} 
[2026-08-10 07:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299512576001,"power":13341,"unknown_63":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9036894839787493376}} 
[2026-08-10 07:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":154041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:14:52] local.INFO: GPS data processed {"connection_id":154041,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:14:52] local.INFO: Acknowledgment sent {"connection_id":154041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:15:00] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:15:00] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:15:00] local.INFO: IMEI packet received {"connection_id":151297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":151297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:15:05] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:15:05] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:15:05] local.INFO: IMEI packet received {"connection_id":151297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":151297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:15:06] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:15:06] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:15:06] local.INFO: Packet analysis {"connection_id":151297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:15:06] local.INFO: Extracted packet for processing {"connection_id":151297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299409664001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786326119000,"timestamp_ms":1786326119000,"timestamp_seconds":1786326119,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9557258"} 
[2026-08-10 07:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299409664001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299409664001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299409664001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":151297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:15:06] local.INFO: GPS data processed {"connection_id":151297,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:15:06] local.INFO: Acknowledgment sent {"connection_id":151297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:15:14] local.INFO: TCP Data received {"connection_id":151674,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:15:14] local.INFO: Processing buffer {"connection_id":151674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:15:14] local.INFO: IMEI packet received {"connection_id":151674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":151674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:15:20] local.INFO: TCP Data received {"connection_id":151674,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:15:20] local.INFO: Processing buffer {"connection_id":151674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:15:20] local.INFO: IMEI packet received {"connection_id":151674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":151674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:15:20] local.INFO: TCP Data received {"connection_id":151674,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95775f8012d82964005d231a0000b000129..."} 
[2026-08-10 07:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95775f8012d82964005d231a0000b000129..."} 
[2026-08-10 07:15:20] local.INFO: Processing buffer {"connection_id":151674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95775f8012d82964005d231a0000b000129..."} 
[2026-08-10 07:15:20] local.INFO: Packet analysis {"connection_id":151674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe957"} 
[2026-08-10 07:15:20] local.INFO: Extracted packet for processing {"connection_id":151674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe957"} 
[2026-08-10 07:15:20] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97661344,"longitude_deg":76.3532864,"latitude_deg":9.7661344,"altitude":11,"angle":1,"satellites":41,"speed":31,"hex_longitude":"2d829640","hex_latitude":"05d231a0","is_valid_coordinates":true} 
[2026-08-10 07:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299517184001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117036763599339520,"note":"Value kept but may cause issues"} 
[2026-08-10 07:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208529264640,"note":"Value kept but may cause issues"} 
[2026-08-10 07:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786326251000,"timestamp_ms":1786326251000,"timestamp_seconds":1786326251,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95775f8"} 
[2026-08-10 07:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 07:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299517184001,"66":13352,"63":206,"85":15104,"24":31,"16":117036763599339520,"45":-9036965208529264640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 07:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299517184001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:15:20] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 07:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117036763599339520,"km_value":117036763599339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208529264640,"description":"Unknown IO ID 45"} 
[2026-08-10 07:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299517184001,"power":13352,"unknown_63":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9036965208529264640}} 
[2026-08-10 07:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":151674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:15:20] local.INFO: GPS data processed {"connection_id":151674,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:15:20] local.INFO: Acknowledgment sent {"connection_id":151674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:15:38] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:15:38] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:15:38] local.INFO: Packet analysis {"connection_id":151297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:15:38] local.INFO: Extracted packet for processing {"connection_id":151297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299409664001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786326119000,"timestamp_ms":1786326119000,"timestamp_seconds":1786326119,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9557258"} 
[2026-08-10 07:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299409664001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299409664001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299409664001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":151297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:15:38] local.INFO: GPS data processed {"connection_id":151297,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:15:38] local.INFO: Acknowledgment sent {"connection_id":151297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:15:52] local.INFO: TCP Data received {"connection_id":151674,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe957a4d8012d82978005d25500000d016229..."} 
[2026-08-10 07:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe957a4d8012d82978005d25500000d016229..."} 
[2026-08-10 07:15:52] local.INFO: Processing buffer {"connection_id":151674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe957a4d8012d82978005d25500000d016229..."} 
[2026-08-10 07:15:52] local.INFO: Packet analysis {"connection_id":151674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe957"} 
[2026-08-10 07:15:52] local.INFO: Extracted packet for processing {"connection_id":151674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe957"} 
[2026-08-10 07:15:52] local.INFO: GPS Element Parsed {"raw_longitude":763533184,"raw_latitude":97670400,"longitude_deg":76.3533184,"latitude_deg":9.76704,"altitude":13,"angle":354,"satellites":41,"speed":27,"hex_longitude":"2d829780","hex_latitude":"05d25500","is_valid_coordinates":true} 
[2026-08-10 07:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299520256001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117037201686003712,"note":"Value kept but may cause issues"} 
[2026-08-10 07:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208526839808,"note":"Value kept but may cause issues"} 
[2026-08-10 07:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786326263000,"timestamp_ms":1786326263000,"timestamp_seconds":1786326263,"priority":1,"record_length":96,"hex_timestamp":"0000019fe957a4d8"} 
[2026-08-10 07:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-10 07:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299520256001,"66":13417,"63":206,"85":15104,"24":27,"16":117037201686003712,"45":-9036965208526839808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 07:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299520256001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:15:52] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 07:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117037201686003712,"km_value":117037201686003.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208526839808,"description":"Unknown IO ID 45"} 
[2026-08-10 07:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299520256001,"power":13417,"unknown_63":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9036965208526839808}} 
[2026-08-10 07:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":151674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:15:52] local.INFO: GPS data processed {"connection_id":151674,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:15:52] local.INFO: Acknowledgment sent {"connection_id":151674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:15:59] local.INFO: TCP Data received {"connection_id":151675,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:15:59] local.INFO: Processing buffer {"connection_id":151675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:15:59] local.INFO: IMEI packet received {"connection_id":151675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":151675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:16:05] local.INFO: TCP Data received {"connection_id":151675,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:16:05] local.INFO: Processing buffer {"connection_id":151675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:16:05] local.INFO: IMEI packet received {"connection_id":151675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":151675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:16:14] local.INFO: TCP Data received {"connection_id":151298,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:16:14] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:16:14] local.INFO: IMEI packet received {"connection_id":151298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":151298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:16:20] local.INFO: TCP Data received {"connection_id":151298,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:16:20] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:16:20] local.INFO: IMEI packet received {"connection_id":151298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":151298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:16:20] local.INFO: TCP Data received {"connection_id":151298,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9593348012d82800005d34b08000c011b29..."} 
[2026-08-10 07:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9593348012d82800005d34b08000c011b29..."} 
[2026-08-10 07:16:20] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9593348012d82800005d34b08000c011b29..."} 
[2026-08-10 07:16:20] local.INFO: Packet analysis {"connection_id":151298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe959"} 
[2026-08-10 07:16:20] local.INFO: Extracted packet for processing {"connection_id":151298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe959"} 
[2026-08-10 07:16:20] local.INFO: GPS Element Parsed {"raw_longitude":763527168,"raw_latitude":97733384,"longitude_deg":76.3527168,"latitude_deg":9.7733384,"altitude":12,"angle":283,"satellites":41,"speed":8,"hex_longitude":"2d828000","hex_latitude":"05d34b08","is_valid_coordinates":true} 
[2026-08-10 07:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299549184001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117040289767489536,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043087289251866624,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786326365000,"timestamp_ms":1786326365000,"timestamp_seconds":1786326365,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9593348"} 
[2026-08-10 07:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3914871160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2189787141,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-6660823805930887424,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1665401038,"corrected_to":0} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2147865302,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3534987264,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57811513948132667,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.WARNING: Large IO value detected {"io_id":88,"raw_value":1875750539775377413,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,68,85,24,241,157,16,207,159,35,45,73,12,40,10,66,240,51,13,186,64,1,227,206,233,210,4,113,205,22,96,139,144,239,2,5,9,28,116,88],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1665401038,"validated":0}]} 
[2026-08-10 07:16:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865039849735127040,"timestamp_seconds":865039849735127.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299549184001,"66":13352,"68":206,"85":15104,"24":8,"16":117040289767489536,"45":-9043087289251866624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-10 07:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299549184001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:16:20] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 07:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117040289767489536,"km_value":117040289767489.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043087289251866624,"description":"Unknown IO ID 45"} 
[2026-08-10 07:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299549184001,"power":13352,"unknown_68":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9043087289251866624}} 
[2026-08-10 07:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":151298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:16:20] local.INFO: GPS data processed {"connection_id":151298,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:16:20] local.INFO: Acknowledgment sent {"connection_id":151298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:16:27] local.INFO: TCP Data received {"connection_id":151675,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:16:27] local.INFO: Processing buffer {"connection_id":151675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:16:27] local.INFO: Packet analysis {"connection_id":151675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:16:27] local.INFO: Extracted packet for processing {"connection_id":151675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:16:27] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299409664001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786326119000,"timestamp_ms":1786326119000,"timestamp_seconds":1786326119,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9557258"} 
[2026-08-10 07:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":151675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":151675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":151675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299409664001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299409664001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:16:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:16:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299409664001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":151675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:16:27] local.INFO: GPS data processed {"connection_id":151675,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:16:27] local.INFO: Acknowledgment sent {"connection_id":151675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:16:58] local.INFO: TCP Data received {"connection_id":151298,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9593730012d827ec005d34af8000c01062a..."} 
[2026-08-10 07:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9593730012d827ec005d34af8000c01062a..."} 
[2026-08-10 07:16:58] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9593730012d827ec005d34af8000c01062a..."} 
[2026-08-10 07:16:58] local.INFO: Packet analysis {"connection_id":151298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe959"} 
[2026-08-10 07:16:58] local.INFO: Extracted packet for processing {"connection_id":151298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe959"} 
[2026-08-10 07:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763526848,"raw_latitude":97733368,"longitude_deg":76.3526848,"latitude_deg":9.7733368,"altitude":12,"angle":262,"satellites":42,"speed":12,"hex_longitude":"2d827ec0","hex_latitude":"05d34af8","is_valid_coordinates":true} 
[2026-08-10 07:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299549440001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117040302652391424,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043228026740209664,"note":"Value kept but may cause issues"} 
[2026-08-10 07:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786326366000,"timestamp_ms":1786326366000,"timestamp_seconds":1786326366,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9593730"} 
[2026-08-10 07:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-10 07:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299549440001,"66":13352,"68":206,"85":15104,"24":12,"16":117040302652391424,"45":-9043228026740209664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-10 07:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299549440001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:16:58] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 07:16:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117040302652391424,"km_value":117040302652391.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043228026740209664,"description":"Unknown IO ID 45"} 
[2026-08-10 07:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299549440001,"power":13352,"unknown_68":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9043228026740209664}} 
[2026-08-10 07:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":151298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:16:58] local.INFO: GPS data processed {"connection_id":151298,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:16:58] local.INFO: Acknowledgment sent {"connection_id":151298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:16:59] local.INFO: TCP Data received {"connection_id":152588,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:16:59] local.INFO: Processing buffer {"connection_id":152588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:16:59] local.INFO: IMEI packet received {"connection_id":152588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":152588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:17:05] local.INFO: TCP Data received {"connection_id":152588,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:17:05] local.INFO: Processing buffer {"connection_id":152588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:17:05] local.INFO: IMEI packet received {"connection_id":152588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":152588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:17:06] local.INFO: TCP Data received {"connection_id":152588,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:17:06] local.INFO: Processing buffer {"connection_id":152588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:17:06] local.INFO: Packet analysis {"connection_id":152588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:17:06] local.INFO: Extracted packet for processing {"connection_id":152588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299409664001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786326119000,"timestamp_ms":1786326119000,"timestamp_seconds":1786326119,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9557258"} 
[2026-08-10 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-08-10 07:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299409664001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299409664001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299409664001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":152588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:17:06] local.INFO: GPS data processed {"connection_id":152588,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:17:06] local.INFO: Acknowledgment sent {"connection_id":152588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:17:15] local.INFO: TCP Data received {"connection_id":152589,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:17:15] local.INFO: Processing buffer {"connection_id":152589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:17:15] local.INFO: IMEI packet received {"connection_id":152589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":152589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:17:20] local.INFO: TCP Data received {"connection_id":152589,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:17:20] local.INFO: Processing buffer {"connection_id":152589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:17:20] local.INFO: IMEI packet received {"connection_id":152589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":152589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:17:20] local.INFO: TCP Data received {"connection_id":152589,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:17:20] local.INFO: Processing buffer {"connection_id":152589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:17:20] local.INFO: IMEI packet received {"connection_id":152589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":152589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:17:21] local.INFO: TCP Data received {"connection_id":152589,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9596610012d825a0005d344300009010629..."} 
[2026-08-10 07:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9596610012d825a0005d344300009010629..."} 
[2026-08-10 07:17:21] local.INFO: Processing buffer {"connection_id":152589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9596610012d825a0005d344300009010629..."} 
[2026-08-10 07:17:21] local.INFO: Packet analysis {"connection_id":152589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe959"} 
[2026-08-10 07:17:21] local.INFO: Extracted packet for processing {"connection_id":152589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe959"} 
[2026-08-10 07:17:21] local.INFO: GPS Element Parsed {"raw_longitude":763517440,"raw_latitude":97731632,"longitude_deg":76.351744,"latitude_deg":9.7731632,"altitude":9,"angle":262,"satellites":41,"speed":41,"hex_longitude":"2d825a00","hex_latitude":"05d34430","is_valid_coordinates":true} 
[2026-08-10 07:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299549696001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117040762213892096,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043579870461102080,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786326378000,"timestamp_ms":1786326378000,"timestamp_seconds":1786326378,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9596610"} 
[2026-08-10 07:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-10 07:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299549696001,"66":13374,"68":206,"85":15104,"24":41,"16":117040762213892096,"45":-9043579870461102080},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-10 07:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299549696001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:17:21] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 07:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117040762213892096,"km_value":117040762213892.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043579870461102080,"description":"Unknown IO ID 45"} 
[2026-08-10 07:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299549696001,"power":13374,"unknown_68":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9043579870461102080}} 
[2026-08-10 07:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":152589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:17:21] local.INFO: GPS data processed {"connection_id":152589,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:17:21] local.INFO: Acknowledgment sent {"connection_id":152589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:17:22] local.INFO: TCP Data received {"connection_id":152589,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9598938012d82360005d33f580007010a29..."} 
[2026-08-10 07:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9598938012d82360005d33f580007010a29..."} 
[2026-08-10 07:17:22] local.INFO: Processing buffer {"connection_id":152589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9598938012d82360005d33f580007010a29..."} 
[2026-08-10 07:17:22] local.INFO: Packet analysis {"connection_id":152589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe959"} 
[2026-08-10 07:17:22] local.INFO: Extracted packet for processing {"connection_id":152589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe959"} 
[2026-08-10 07:17:22] local.INFO: GPS Element Parsed {"raw_longitude":763508224,"raw_latitude":97730392,"longitude_deg":76.3508224,"latitude_deg":9.7730392,"altitude":7,"angle":266,"satellites":41,"speed":42,"hex_longitude":"2d823600","hex_latitude":"05d33f58","is_valid_coordinates":true} 
[2026-08-10 07:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299552768001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117041204595523584,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053924075855663104,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786326387000,"timestamp_ms":1786326387000,"timestamp_seconds":1786326387,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9598938"} 
[2026-08-10 07:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 07:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299552768001,"66":13396,"68":206,"85":15104,"24":42,"16":117041204595523584,"45":-9053924075855663104},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-10 07:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299552768001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:17:22] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 07:17:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117041204595523584,"km_value":117041204595523.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053924075855663104,"description":"Unknown IO ID 45"} 
[2026-08-10 07:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299552768001,"power":13396,"unknown_68":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9053924075855663104}} 
[2026-08-10 07:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":152589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:17:22] local.INFO: GPS data processed {"connection_id":152589,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:17:22] local.INFO: Acknowledgment sent {"connection_id":152589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:17:38] local.INFO: TCP Data received {"connection_id":152588,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:17:38] local.INFO: Processing buffer {"connection_id":152588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9557258012d34c20006aa3f08000300f32d..."} 
[2026-08-10 07:17:38] local.INFO: Packet analysis {"connection_id":152588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:17:38] local.INFO: Extracted packet for processing {"connection_id":152588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe955"} 
[2026-08-10 07:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299409664001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786326119000,"timestamp_ms":1786326119000,"timestamp_seconds":1786326119,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9557258"} 
[2026-08-10 07:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299409664001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299409664001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299409664001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":152588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:17:38] local.INFO: GPS data processed {"connection_id":152588,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:17:38] local.INFO: Acknowledgment sent {"connection_id":152588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:17:53] local.INFO: TCP Data received {"connection_id":152589,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95a8ef0012d81ad4005d398c00006015e28..."} 
[2026-08-10 07:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95a8ef0012d81ad4005d398c00006015e28..."} 
[2026-08-10 07:17:53] local.INFO: Processing buffer {"connection_id":152589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95a8ef0012d81ad4005d398c00006015e28..."} 
[2026-08-10 07:17:53] local.INFO: Packet analysis {"connection_id":152589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:17:53] local.INFO: Extracted packet for processing {"connection_id":152589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:17:53] local.INFO: GPS Element Parsed {"raw_longitude":763473216,"raw_latitude":97753280,"longitude_deg":76.3473216,"latitude_deg":9.775328,"altitude":6,"angle":350,"satellites":40,"speed":29,"hex_longitude":"2d81ad40","hex_latitude":"05d398c0","is_valid_coordinates":true} 
[2026-08-10 07:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299570688001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117043708561457152,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101211871938666496,"note":"Value kept but may cause issues"} 
[2026-08-10 07:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786326454000,"timestamp_ms":1786326454000,"timestamp_seconds":1786326454,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95a8ef0"} 
[2026-08-10 07:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 07:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299570688001,"66":12841,"207":206,"85":15104,"24":29,"16":117043708561457152,"45":-9101211871938666496},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-10 07:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299570688001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:17:53] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-10 07:17:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117043708561457152,"km_value":117043708561457.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101211871938666496,"description":"Unknown IO ID 45"} 
[2026-08-10 07:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299570688001,"power":12841,"unknown_207":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9101211871938666496}} 
[2026-08-10 07:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":152589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:17:53] local.INFO: GPS data processed {"connection_id":152589,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:17:53] local.INFO: Acknowledgment sent {"connection_id":152589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:18:05] local.INFO: TCP Data received {"connection_id":154042,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:18:05] local.INFO: Processing buffer {"connection_id":154042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:18:05] local.INFO: IMEI packet received {"connection_id":154042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":154042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:18:09] local.INFO: TCP Data received {"connection_id":154042,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:18:09] local.INFO: Processing buffer {"connection_id":154042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:18:09] local.INFO: IMEI packet received {"connection_id":154042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":154042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:18:10] local.INFO: TCP Data received {"connection_id":154042,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:18:10] local.INFO: Processing buffer {"connection_id":154042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:18:10] local.INFO: Packet analysis {"connection_id":154042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:18:10] local.INFO: Extracted packet for processing {"connection_id":154042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299486464001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786326420000,"timestamp_ms":1786326420000,"timestamp_seconds":1786326420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95a0a20"} 
[2026-08-10 07:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07: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-08-10 07:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299486464001,"66":25180,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299486464001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299486464001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":154042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:18:10] local.INFO: GPS data processed {"connection_id":154042,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:18:10] local.INFO: Acknowledgment sent {"connection_id":154042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:18:14] local.INFO: TCP Data received {"connection_id":152590,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:18:14] local.INFO: Processing buffer {"connection_id":152590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:18:14] local.INFO: IMEI packet received {"connection_id":152590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":152590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:18:15] local.INFO: TCP Data received {"connection_id":152590,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:18:15] local.INFO: Processing buffer {"connection_id":152590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:18:15] local.INFO: IMEI packet received {"connection_id":152590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":152590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:18:15] local.INFO: TCP Data received {"connection_id":152590,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:18:15] local.INFO: Processing buffer {"connection_id":152590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:18:15] local.INFO: IMEI packet received {"connection_id":152590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":152590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:18:16] local.INFO: TCP Data received {"connection_id":152590,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:18:16] local.INFO: Processing buffer {"connection_id":152590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:18:16] local.INFO: IMEI packet received {"connection_id":152590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":152590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:18:17] local.INFO: TCP Data received {"connection_id":152590,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95aa660012d81abc005d3aae80005000328..."} 
[2026-08-10 07:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95aa660012d81abc005d3aae80005000328..."} 
[2026-08-10 07:18:17] local.INFO: Processing buffer {"connection_id":152590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95aa660012d81abc005d3aae80005000328..."} 
[2026-08-10 07:18:17] local.INFO: Packet analysis {"connection_id":152590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:18:17] local.INFO: Extracted packet for processing {"connection_id":152590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:18:17] local.INFO: GPS Element Parsed {"raw_longitude":763472832,"raw_latitude":97757928,"longitude_deg":76.3472832,"latitude_deg":9.7757928,"altitude":5,"angle":3,"satellites":40,"speed":34,"hex_longitude":"2d81abc0","hex_latitude":"05d3aae8","is_valid_coordinates":true} 
[2026-08-10 07:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299572224001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117043936194723840,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9102548878076887040,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786326460000,"timestamp_ms":1786326460000,"timestamp_seconds":1786326460,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95aa660"} 
[2026-08-10 07:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 07:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299572224001,"66":13504,"207":206,"85":15104,"24":34,"16":117043936194723840,"45":-9102548878076887040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-10 07:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299572224001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:18:17] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-10 07:18:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117043936194723840,"km_value":117043936194723.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9102548878076887040,"description":"Unknown IO ID 45"} 
[2026-08-10 07:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299572224001,"power":13504,"unknown_207":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9102548878076887040}} 
[2026-08-10 07:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":152590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:18:17] local.INFO: GPS data processed {"connection_id":152590,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:18:17] local.INFO: Acknowledgment sent {"connection_id":152590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:18:20] local.INFO: TCP Data received {"connection_id":152590,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95abdd0012d81abc005d3c0a00002016026..."} 
[2026-08-10 07:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95abdd0012d81abc005d3c0a00002016026..."} 
[2026-08-10 07:18:20] local.INFO: Processing buffer {"connection_id":152590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95abdd0012d81abc005d3c0a00002016026..."} 
[2026-08-10 07:18:20] local.INFO: Packet analysis {"connection_id":152590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:18:20] local.INFO: Extracted packet for processing {"connection_id":152590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763472832,"raw_latitude":97763488,"longitude_deg":76.3472832,"latitude_deg":9.7763488,"altitude":2,"angle":352,"satellites":38,"speed":41,"hex_longitude":"2d81abc0","hex_latitude":"05d3c0a0","is_valid_coordinates":true} 
[2026-08-10 07:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299573760001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117044206777663488,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9102971090540763136,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786326466000,"timestamp_ms":1786326466000,"timestamp_seconds":1786326466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95abdd0"} 
[2026-08-10 07:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-10 07:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299573760001,"66":13406,"207":206,"85":15104,"24":41,"16":117044206777663488,"45":-9102971090540763136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-10 07:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299573760001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:18:20] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-10 07:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117044206777663488,"km_value":117044206777663.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9102971090540763136,"description":"Unknown IO ID 45"} 
[2026-08-10 07:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299573760001,"power":13406,"unknown_207":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9102971090540763136}} 
[2026-08-10 07:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":152590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:18:20] local.INFO: GPS data processed {"connection_id":152590,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:18:20] local.INFO: Acknowledgment sent {"connection_id":152590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:18:42] local.INFO: TCP Data received {"connection_id":154042,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:18:42] local.INFO: Processing buffer {"connection_id":154042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:18:42] local.INFO: Packet analysis {"connection_id":154042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:18:42] local.INFO: Extracted packet for processing {"connection_id":154042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299486464001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786326420000,"timestamp_ms":1786326420000,"timestamp_seconds":1786326420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95a0a20"} 
[2026-08-10 07:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":154042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":154042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":154042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299486464001,"66":25180,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299486464001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299486464001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":154042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:18:42] local.INFO: GPS data processed {"connection_id":154042,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:18:42] local.INFO: Acknowledgment sent {"connection_id":154042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:18:51] local.INFO: TCP Data received {"connection_id":152590,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95ba060012d819b4005d4a1d80004016228..."} 
[2026-08-10 07:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95ba060012d819b4005d4a1d80004016228..."} 
[2026-08-10 07:18:51] local.INFO: Processing buffer {"connection_id":152590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95ba060012d819b4005d4a1d80004016228..."} 
[2026-08-10 07:18:51] local.INFO: Packet analysis {"connection_id":152590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95b"} 
[2026-08-10 07:18:51] local.INFO: Extracted packet for processing {"connection_id":152590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95b"} 
[2026-08-10 07:18:51] local.INFO: GPS Element Parsed {"raw_longitude":763468608,"raw_latitude":97821144,"longitude_deg":76.3468608,"latitude_deg":9.7821144,"altitude":4,"angle":354,"satellites":40,"speed":38,"hex_longitude":"2d819b40","hex_latitude":"05d4a1d8","is_valid_coordinates":true} 
[2026-08-10 07:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299587840001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117047062930915328,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106911740200955904,"note":"Value kept but may cause issues"} 
[2026-08-10 07:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786326524000,"timestamp_ms":1786326524000,"timestamp_seconds":1786326524,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95ba060"} 
[2026-08-10 07:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-10 07:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299587840001,"66":13330,"166":206,"85":15104,"24":38,"16":117047062930915328,"45":-9106911740200955904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-10 07:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299587840001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:18:51] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-10 07:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117047062930915328,"km_value":117047062930915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106911740200955904,"description":"Unknown IO ID 45"} 
[2026-08-10 07:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299587840001,"power":13330,"unknown_166":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9106911740200955904}} 
[2026-08-10 07:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":152590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:18:51] local.INFO: GPS data processed {"connection_id":152590,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:18:51] local.INFO: Acknowledgment sent {"connection_id":152590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:19:00] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:19:00] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:19:00] local.INFO: IMEI packet received {"connection_id":151676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":151676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:19:05] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:19:05] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:19:05] local.INFO: IMEI packet received {"connection_id":151676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":151676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:19:06] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:19:06] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:19:06] local.INFO: Packet analysis {"connection_id":151676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:19:06] local.INFO: Extracted packet for processing {"connection_id":151676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299486464001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786326420000,"timestamp_ms":1786326420000,"timestamp_seconds":1786326420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95a0a20"} 
[2026-08-10 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-08-10 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299486464001,"66":25180,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299486464001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:19:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299486464001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":151676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:19:06] local.INFO: GPS data processed {"connection_id":151676,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:19:06] local.INFO: Acknowledgment sent {"connection_id":151676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:19:14] local.INFO: TCP Data received {"connection_id":152591,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:19:14] local.INFO: Processing buffer {"connection_id":152591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:19:14] local.INFO: IMEI packet received {"connection_id":152591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":152591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:19:15] local.INFO: TCP Data received {"connection_id":152591,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:19:15] local.INFO: Processing buffer {"connection_id":152591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:19:15] local.INFO: IMEI packet received {"connection_id":152591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":152591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:19:20] local.INFO: TCP Data received {"connection_id":152591,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:19:20] local.INFO: Processing buffer {"connection_id":152591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:19:20] local.INFO: IMEI packet received {"connection_id":152591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":152591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:19:22] local.INFO: TCP Data received {"connection_id":152591,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95bb000012d819b4005d4af90000600092a..."} 
[2026-08-10 07:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95bb000012d819b4005d4af90000600092a..."} 
[2026-08-10 07:19:22] local.INFO: Processing buffer {"connection_id":152591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95bb000012d819b4005d4af90000600092a..."} 
[2026-08-10 07:19:22] local.INFO: Packet analysis {"connection_id":152591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95b"} 
[2026-08-10 07:19:22] local.INFO: Extracted packet for processing {"connection_id":152591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95b"} 
[2026-08-10 07:19:22] local.INFO: GPS Element Parsed {"raw_longitude":763468608,"raw_latitude":97824656,"longitude_deg":76.3468608,"latitude_deg":9.7824656,"altitude":6,"angle":9,"satellites":42,"speed":31,"hex_longitude":"2d819b40","hex_latitude":"05d4af90","is_valid_coordinates":true} 
[2026-08-10 07:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299590144001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117047234729607168,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107615427640305664,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786326528000,"timestamp_ms":1786326528000,"timestamp_seconds":1786326528,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95bb000"} 
[2026-08-10 07:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:19: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":18,"data_length":795,"current_offset":136} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3915064160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2175156229,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":212,"raw_value":67553994410764032,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3279083148340884352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795897038,"corrected_to":0} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2147865642,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407159,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3559155712,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57834101181142331,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":91,"raw_value":15763893656354821,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":37,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":119,"raw_value":-3530595242401064960,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:22] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,166,85,24,241,157,16,213,159,125,45,192,124,3,40,10,66,93,90,4,41,212,64,1,240,231,227,233,113,205,31,43,167,248,239,52,207,2,5,35,7,91,37,119,72],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2795897038,"validated":0}]} 
[2026-08-10 07:19:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288619775069126656,"timestamp_seconds":288619775069126.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299590144001,"66":13341,"166":206,"85":15104,"24":31,"16":117047234729607168,"45":-9107615427640305664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-10 07:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299590144001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:19:22] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-10 07:19:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117047234729607168,"km_value":117047234729607.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107615427640305664,"description":"Unknown IO ID 45"} 
[2026-08-10 07:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299590144001,"power":13341,"unknown_166":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9107615427640305664}} 
[2026-08-10 07:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":152591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:19:22] local.INFO: GPS data processed {"connection_id":152591,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:19:22] local.INFO: Acknowledgment sent {"connection_id":152591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:19:28] local.INFO: TCP Data received {"connection_id":152591,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95bb3e8012d819c4005d4b270000600192a..."} 
[2026-08-10 07:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95bb3e8012d819c4005d4b270000600192a..."} 
[2026-08-10 07:19:28] local.INFO: Processing buffer {"connection_id":152591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95bb3e8012d819c4005d4b270000600192a..."} 
[2026-08-10 07:19:28] local.INFO: Packet analysis {"connection_id":152591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95b"} 
[2026-08-10 07:19:28] local.INFO: Extracted packet for processing {"connection_id":152591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95b"} 
[2026-08-10 07:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763468864,"raw_latitude":97825392,"longitude_deg":76.3468864,"latitude_deg":9.7825392,"altitude":6,"angle":25,"satellites":42,"speed":31,"hex_longitude":"2d819c40","hex_latitude":"05d4b270","is_valid_coordinates":true} 
[2026-08-10 07:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299591168001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117047273384312832,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107615427639406592,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786326529000,"timestamp_ms":1786326529000,"timestamp_seconds":1786326529,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95bb3e8"} 
[2026-08-10 07:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 07:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299591168001,"66":13341,"166":206,"85":15104,"24":31,"16":117047273384312832,"45":-9107615427639406592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-10 07:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299591168001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:19:28] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-10 07:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117047273384312832,"km_value":117047273384312.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107615427639406592,"description":"Unknown IO ID 45"} 
[2026-08-10 07:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299591168001,"power":13341,"unknown_166":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9107615427639406592}} 
[2026-08-10 07:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":152591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:19:28] local.INFO: GPS data processed {"connection_id":152591,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:19:28] local.INFO: Acknowledgment sent {"connection_id":152591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:19:37] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:19:37] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:19:37] local.INFO: Packet analysis {"connection_id":151676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:19:37] local.INFO: Extracted packet for processing {"connection_id":151676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299486464001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786326420000,"timestamp_ms":1786326420000,"timestamp_seconds":1786326420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95a0a20"} 
[2026-08-10 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-08-10 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299486464001,"66":25180,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299486464001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299486464001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":151676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:19:37] local.INFO: GPS data processed {"connection_id":151676,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:19:37] local.INFO: Acknowledgment sent {"connection_id":151676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:19:59] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:19:59] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:19:59] local.INFO: IMEI packet received {"connection_id":151299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":151299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:20:05] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:20:05] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:20:05] local.INFO: IMEI packet received {"connection_id":151299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":151299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:20:05] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:20:05] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:20:05] local.INFO: Packet analysis {"connection_id":151299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:20:05] local.INFO: Extracted packet for processing {"connection_id":151299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299486464001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786326420000,"timestamp_ms":1786326420000,"timestamp_seconds":1786326420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95a0a20"} 
[2026-08-10 07:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:20: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-08-10 07: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-08-10 07:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299486464001,"66":25180,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299486464001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299486464001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":151299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:20:05] local.INFO: GPS data processed {"connection_id":151299,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:20:05] local.INFO: Acknowledgment sent {"connection_id":151299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:20:15] local.INFO: TCP Data received {"connection_id":151677,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:20:15] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:20:15] local.INFO: IMEI packet received {"connection_id":151677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":151677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:20:20] local.INFO: TCP Data received {"connection_id":151677,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:20:20] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:20:20] local.INFO: IMEI packet received {"connection_id":151677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":151677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:20:22] local.INFO: TCP Data received {"connection_id":151677,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95c82f0012d81bcc005d558c00004000727..."} 
[2026-08-10 07:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95c82f0012d81bcc005d558c00004000727..."} 
[2026-08-10 07:20:22] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95c82f0012d81bcc005d558c00004000727..."} 
[2026-08-10 07:20:22] local.INFO: Packet analysis {"connection_id":151677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95c"} 
[2026-08-10 07:20:22] local.INFO: Extracted packet for processing {"connection_id":151677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95c"} 
[2026-08-10 07:20:22] local.INFO: GPS Element Parsed {"raw_longitude":763477184,"raw_latitude":97867968,"longitude_deg":76.3477184,"latitude_deg":9.7867968,"altitude":4,"angle":7,"satellites":39,"speed":41,"hex_longitude":"2d81bcc0","hex_latitude":"05d558c0","is_valid_coordinates":true} 
[2026-08-10 07:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299602688001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117049725810638848,"note":"Value kept but may cause issues"} 
[2026-08-10 07:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101000765677715456,"note":"Value kept but may cause issues"} 
[2026-08-10 07:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786326582000,"timestamp_ms":1786326582000,"timestamp_seconds":1786326582,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95c82f0"} 
[2026-08-10 07:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 07:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299602688001,"66":13178,"166":206,"85":15104,"24":41,"16":117049725810638848,"45":-9101000765677715456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-10 07:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299602688001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:20:22] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-10 07:20:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117049725810638848,"km_value":117049725810638.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101000765677715456,"description":"Unknown IO ID 45"} 
[2026-08-10 07:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299602688001,"power":13178,"unknown_166":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9101000765677715456}} 
[2026-08-10 07:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":151677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:20:22] local.INFO: GPS data processed {"connection_id":151677,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:20:22] local.INFO: Acknowledgment sent {"connection_id":151677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:20:37] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:20:37] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:20:37] local.INFO: Packet analysis {"connection_id":151299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:20:37] local.INFO: Extracted packet for processing {"connection_id":151299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299486464001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786326420000,"timestamp_ms":1786326420000,"timestamp_seconds":1786326420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95a0a20"} 
[2026-08-10 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-08-10 07:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299486464001,"66":25180,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299486464001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299486464001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":151299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:20:37] local.INFO: GPS data processed {"connection_id":151299,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:20:37] local.INFO: Acknowledgment sent {"connection_id":151299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:20:53] local.INFO: TCP Data received {"connection_id":151677,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95c9290012d81bcc005d569800004016528..."} 
[2026-08-10 07:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95c9290012d81bcc005d569800004016528..."} 
[2026-08-10 07:20:53] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95c9290012d81bcc005d569800004016528..."} 
[2026-08-10 07:20:53] local.INFO: Packet analysis {"connection_id":151677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95c"} 
[2026-08-10 07:20:53] local.INFO: Extracted packet for processing {"connection_id":151677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95c"} 
[2026-08-10 07:20:53] local.INFO: GPS Element Parsed {"raw_longitude":763477184,"raw_latitude":97872256,"longitude_deg":76.3477184,"latitude_deg":9.7872256,"altitude":4,"angle":357,"satellites":40,"speed":44,"hex_longitude":"2d81bcc0","hex_latitude":"05d56980","is_valid_coordinates":true} 
[2026-08-10 07:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299604992001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117049936264036352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098186015908511744,"note":"Value kept but may cause issues"} 
[2026-08-10 07:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786326586000,"timestamp_ms":1786326586000,"timestamp_seconds":1786326586,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95c9290"} 
[2026-08-10 07:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-10 07:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299604992001,"66":13015,"166":206,"85":15104,"24":44,"16":117049936264036352,"45":-9098186015908511744},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-10 07:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299604992001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:20:53] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-10 07:20:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117049936264036352,"km_value":117049936264036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098186015908511744,"description":"Unknown IO ID 45"} 
[2026-08-10 07:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299604992001,"power":13015,"unknown_166":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9098186015908511744}} 
[2026-08-10 07:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":151677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:20:53] local.INFO: GPS data processed {"connection_id":151677,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:20:53] local.INFO: Acknowledgment sent {"connection_id":151677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:20:59] local.INFO: TCP Data received {"connection_id":151678,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:20:59] local.INFO: Processing buffer {"connection_id":151678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:20:59] local.INFO: IMEI packet received {"connection_id":151678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":151678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:21:05] local.INFO: TCP Data received {"connection_id":151678,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:21:05] local.INFO: Processing buffer {"connection_id":151678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:21:05] local.INFO: IMEI packet received {"connection_id":151678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":151678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:21:07] local.INFO: TCP Data received {"connection_id":151678,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:21:07] local.INFO: Processing buffer {"connection_id":151678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:21:07] local.INFO: Packet analysis {"connection_id":151678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:21:07] local.INFO: Extracted packet for processing {"connection_id":151678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299486464001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786326420000,"timestamp_ms":1786326420000,"timestamp_seconds":1786326420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95a0a20"} 
[2026-08-10 07:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299486464001,"66":25180,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299486464001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:21:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299486464001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":151678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:21:07] local.INFO: GPS data processed {"connection_id":151678,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:21:07] local.INFO: Acknowledgment sent {"connection_id":151678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:21:32] local.INFO: TCP Data received {"connection_id":151300,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:21:32] local.INFO: Processing buffer {"connection_id":151300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:21:32] local.INFO: IMEI packet received {"connection_id":151300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":151300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:21:38] local.INFO: TCP Data received {"connection_id":151678,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:21:38] local.INFO: Processing buffer {"connection_id":151678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:21:38] local.INFO: Packet analysis {"connection_id":151678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:21:38] local.INFO: Extracted packet for processing {"connection_id":151678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299486464001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786326420000,"timestamp_ms":1786326420000,"timestamp_seconds":1786326420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95a0a20"} 
[2026-08-10 07:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299486464001,"66":25180,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299486464001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299486464001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":151678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:21:38] local.INFO: GPS data processed {"connection_id":151678,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:21:38] local.INFO: Acknowledgment sent {"connection_id":151678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:21:54] local.INFO: TCP Data received {"connection_id":151300,"ip":"42.106.6.20","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 07:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151300,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 07:21:54] local.INFO: Processing buffer {"connection_id":151300,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 07:21:54] local.INFO: IMEI packet received {"connection_id":151300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":151300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:21:59] local.INFO: TCP Data received {"connection_id":151679,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:21:59] local.INFO: Processing buffer {"connection_id":151679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:21:59] local.INFO: IMEI packet received {"connection_id":151679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":151679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:22:05] local.INFO: TCP Data received {"connection_id":151679,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:22:05] local.INFO: Processing buffer {"connection_id":151679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:22:05] local.INFO: IMEI packet received {"connection_id":151679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":151679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:22:15] local.INFO: TCP Data received {"connection_id":151679,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:22:15] local.INFO: Processing buffer {"connection_id":151679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95a0a20012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:22:15] local.INFO: Packet analysis {"connection_id":151679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:22:15] local.INFO: Extracted packet for processing {"connection_id":151679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95a"} 
[2026-08-10 07:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299486464001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786326420000,"timestamp_ms":1786326420000,"timestamp_seconds":1786326420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95a0a20"} 
[2026-08-10 07:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299486464001,"66":25180,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299486464001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:22:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299486464001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":151679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:22:15] local.INFO: GPS data processed {"connection_id":151679,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:22:15] local.INFO: Acknowledgment sent {"connection_id":151679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:23:05] local.INFO: TCP Data received {"connection_id":151301,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:23:05] local.INFO: Processing buffer {"connection_id":151301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:23:05] local.INFO: IMEI packet received {"connection_id":151301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":151301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:23:10] local.INFO: TCP Data received {"connection_id":151301,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:23:10] local.INFO: Processing buffer {"connection_id":151301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:23:10] local.INFO: IMEI packet received {"connection_id":151301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":151301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:23:10] local.INFO: TCP Data received {"connection_id":151301,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:23:10] local.INFO: Processing buffer {"connection_id":151301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:23:10] local.INFO: Packet analysis {"connection_id":151301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:23:10] local.INFO: Extracted packet for processing {"connection_id":151301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299563520001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786326721000,"timestamp_ms":1786326721000,"timestamp_seconds":1786326721,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95ea1e8"} 
[2026-08-10 07:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 07:23:10] 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-08-10 07:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299563520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299563520001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299563520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":151301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:23:10] local.INFO: GPS data processed {"connection_id":151301,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:23:10] local.INFO: Acknowledgment sent {"connection_id":151301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:23:15] local.INFO: TCP Data received {"connection_id":151301,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:23:15] local.INFO: Processing buffer {"connection_id":151301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:23:15] local.INFO: Packet analysis {"connection_id":151301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:23:15] local.INFO: Extracted packet for processing {"connection_id":151301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299563520001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786326721000,"timestamp_ms":1786326721000,"timestamp_seconds":1786326721,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95ea1e8"} 
[2026-08-10 07:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 07:23:15] 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-08-10 07:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299563520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299563520001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299563520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":151301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:23:15] local.INFO: GPS data processed {"connection_id":151301,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:23:15] local.INFO: Acknowledgment sent {"connection_id":151301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:24:00] local.INFO: TCP Data received {"connection_id":154044,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:24:00] local.INFO: Processing buffer {"connection_id":154044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:24:00] local.INFO: IMEI packet received {"connection_id":154044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":154044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:24:05] local.INFO: TCP Data received {"connection_id":154044,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:24:05] local.INFO: Processing buffer {"connection_id":154044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:24:05] local.INFO: IMEI packet received {"connection_id":154044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":154044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:24:05] local.INFO: TCP Data received {"connection_id":154044,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:24:06] local.INFO: Processing buffer {"connection_id":154044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:24:06] local.INFO: Packet analysis {"connection_id":154044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:24:06] local.INFO: Extracted packet for processing {"connection_id":154044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299563520001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786326721000,"timestamp_ms":1786326721000,"timestamp_seconds":1786326721,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95ea1e8"} 
[2026-08-10 07:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 07:24:06] 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-08-10 07:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299563520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299563520001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299563520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":154044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:24:06] local.INFO: GPS data processed {"connection_id":154044,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:24:06] local.INFO: Acknowledgment sent {"connection_id":154044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:24:37] local.INFO: TCP Data received {"connection_id":154044,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:24:37] local.INFO: Processing buffer {"connection_id":154044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:24:37] local.INFO: Packet analysis {"connection_id":154044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:24:37] local.INFO: Extracted packet for processing {"connection_id":154044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299563520001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786326721000,"timestamp_ms":1786326721000,"timestamp_seconds":1786326721,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95ea1e8"} 
[2026-08-10 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-08-10 07:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 07:24:37] 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-08-10 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-08-10 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-08-10 07:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299563520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299563520001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299563520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":154044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:24:37] local.INFO: GPS data processed {"connection_id":154044,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:24:37] local.INFO: Acknowledgment sent {"connection_id":154044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:25:00] local.INFO: TCP Data received {"connection_id":154045,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:25:00] local.INFO: Processing buffer {"connection_id":154045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:25:00] local.INFO: IMEI packet received {"connection_id":154045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":154045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:25:05] local.INFO: TCP Data received {"connection_id":154045,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:25:05] local.INFO: Processing buffer {"connection_id":154045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:25:05] local.INFO: IMEI packet received {"connection_id":154045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":154045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:25:06] local.INFO: TCP Data received {"connection_id":154045,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:25:06] local.INFO: Processing buffer {"connection_id":154045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:25:06] local.INFO: Packet analysis {"connection_id":154045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:25:06] local.INFO: Extracted packet for processing {"connection_id":154045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299563520001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786326721000,"timestamp_ms":1786326721000,"timestamp_seconds":1786326721,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95ea1e8"} 
[2026-08-10 07:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 07:25:06] 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-08-10 07:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299563520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299563520001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299563520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":154045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:25:06] local.INFO: GPS data processed {"connection_id":154045,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:25:06] local.INFO: Acknowledgment sent {"connection_id":154045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:25:37] local.INFO: TCP Data received {"connection_id":154045,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:25:37] local.INFO: Processing buffer {"connection_id":154045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:25:37] local.INFO: Packet analysis {"connection_id":154045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:25:37] local.INFO: Extracted packet for processing {"connection_id":154045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299563520001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786326721000,"timestamp_ms":1786326721000,"timestamp_seconds":1786326721,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95ea1e8"} 
[2026-08-10 07:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 07:25:37] 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-08-10 07:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299563520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299563520001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299563520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":154045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:25:37] local.INFO: GPS data processed {"connection_id":154045,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:25:37] local.INFO: Acknowledgment sent {"connection_id":154045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:25:59] local.INFO: TCP Data received {"connection_id":151681,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:25:59] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:25:59] local.INFO: IMEI packet received {"connection_id":151681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":151681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:26:05] local.INFO: TCP Data received {"connection_id":151681,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:26:05] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:26:05] local.INFO: IMEI packet received {"connection_id":151681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":151681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:26:15] local.INFO: TCP Data received {"connection_id":151681,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:26:15] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:26:15] local.INFO: Packet analysis {"connection_id":151681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:26:15] local.INFO: Extracted packet for processing {"connection_id":151681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299563520001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786326721000,"timestamp_ms":1786326721000,"timestamp_seconds":1786326721,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95ea1e8"} 
[2026-08-10 07:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 07:26:15] 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-08-10 07:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299563520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299563520001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299563520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":151681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:26:15] local.INFO: GPS data processed {"connection_id":151681,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:26:15] local.INFO: Acknowledgment sent {"connection_id":151681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:26:45] local.INFO: TCP Data received {"connection_id":152592,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:26:45] local.INFO: Processing buffer {"connection_id":152592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:26:45] local.INFO: IMEI packet received {"connection_id":152592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":152592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:26:45] local.INFO: TCP Data received {"connection_id":152592,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe960d080012d82bd0005d693980008014628..."} 
[2026-08-10 07:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe960d080012d82bd0005d693980008014628..."} 
[2026-08-10 07:26:45] local.INFO: Processing buffer {"connection_id":152592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe960d080012d82bd0005d693980008014628..."} 
[2026-08-10 07:26:45] local.INFO: Packet analysis {"connection_id":152592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe960"} 
[2026-08-10 07:26:45] local.INFO: Extracted packet for processing {"connection_id":152592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe960"} 
[2026-08-10 07:26:45] local.INFO: GPS Element Parsed {"raw_longitude":763542784,"raw_latitude":97948568,"longitude_deg":76.3542784,"latitude_deg":9.7948568,"altitude":8,"angle":326,"satellites":40,"speed":22,"hex_longitude":"2d82bd00","hex_latitude":"05d69398","is_valid_coordinates":true} 
[2026-08-10 07:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299676416001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117056589168377856,"note":"Value kept but may cause issues"} 
[2026-08-10 07:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9024861784455063552,"note":"Value kept but may cause issues"} 
[2026-08-10 07:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786326864000,"timestamp_ms":1786326864000,"timestamp_seconds":1786326864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe960d080"} 
[2026-08-10 07:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 07:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299676416001,"66":13298,"156":206,"85":15104,"24":22,"16":117056589168377856,"45":-9024861784455063552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-10 07:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299676416001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:26:45] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-10 07:26:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117056589168377856,"km_value":117056589168377.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9024861784455063552,"description":"Unknown IO ID 45"} 
[2026-08-10 07:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299676416001,"power":13298,"unknown_156":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9024861784455063552}} 
[2026-08-10 07:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":152592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:26:46] local.INFO: GPS data processed {"connection_id":152592,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:26:46] local.INFO: Acknowledgment sent {"connection_id":152592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:26:59] local.INFO: TCP Data received {"connection_id":152593,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:26:59] local.INFO: Processing buffer {"connection_id":152593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:26:59] local.INFO: IMEI packet received {"connection_id":152593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":152593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:27:05] local.INFO: TCP Data received {"connection_id":152593,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:27:05] local.INFO: Processing buffer {"connection_id":152593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:27:05] local.INFO: IMEI packet received {"connection_id":152593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":152593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:27:06] local.INFO: TCP Data received {"connection_id":152593,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:27:06] local.INFO: Processing buffer {"connection_id":152593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:27:06] local.INFO: Packet analysis {"connection_id":152593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:27:06] local.INFO: Extracted packet for processing {"connection_id":152593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299563520001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786326721000,"timestamp_ms":1786326721000,"timestamp_seconds":1786326721,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95ea1e8"} 
[2026-08-10 07:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 07:27:06] 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-08-10 07:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299563520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299563520001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299563520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":152593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:27:06] local.INFO: GPS data processed {"connection_id":152593,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:27:06] local.INFO: Acknowledgment sent {"connection_id":152593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:27:14] local.INFO: TCP Data received {"connection_id":154046,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:27:14] local.INFO: Processing buffer {"connection_id":154046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:27:14] local.INFO: IMEI packet received {"connection_id":154046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":154046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:27:15] local.INFO: TCP Data received {"connection_id":154046,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:27:15] local.INFO: Processing buffer {"connection_id":154046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:27:15] local.INFO: IMEI packet received {"connection_id":154046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":154046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:27:20] local.INFO: TCP Data received {"connection_id":154046,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:27:20] local.INFO: Processing buffer {"connection_id":154046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:27:20] local.INFO: IMEI packet received {"connection_id":154046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":154046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:27:20] local.INFO: TCP Data received {"connection_id":154046,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe960dc38012d82b98005d699f0000801552a..."} 
[2026-08-10 07:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe960dc38012d82b98005d699f0000801552a..."} 
[2026-08-10 07:27:20] local.INFO: Processing buffer {"connection_id":154046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe960dc38012d82b98005d699f0000801552a..."} 
[2026-08-10 07:27:20] local.INFO: Packet analysis {"connection_id":154046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe960"} 
[2026-08-10 07:27:20] local.INFO: Extracted packet for processing {"connection_id":154046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe960"} 
[2026-08-10 07:27:20] local.INFO: GPS Element Parsed {"raw_longitude":763541888,"raw_latitude":97950192,"longitude_deg":76.3541888,"latitude_deg":9.7950192,"altitude":8,"angle":341,"satellites":42,"speed":25,"hex_longitude":"2d82b980","hex_latitude":"05d699f0","is_valid_coordinates":true} 
[2026-08-10 07:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299677184001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117056679362691072,"note":"Value kept but may cause issues"} 
[2026-08-10 07:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026058053105772544,"note":"Value kept but may cause issues"} 
[2026-08-10 07:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786326867000,"timestamp_ms":1786326867000,"timestamp_seconds":1786326867,"priority":1,"record_length":96,"hex_timestamp":"0000019fe960dc38"} 
[2026-08-10 07:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-10 07:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299677184001,"66":13319,"156":206,"85":15104,"24":25,"16":117056679362691072,"45":-9026058053105772544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-10 07:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299677184001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:27:20] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-10 07:27:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117056679362691072,"km_value":117056679362691.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026058053105772544,"description":"Unknown IO ID 45"} 
[2026-08-10 07:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299677184001,"power":13319,"unknown_156":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9026058053105772544}} 
[2026-08-10 07:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":154046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:27:21] local.INFO: GPS data processed {"connection_id":154046,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:27:21] local.INFO: Acknowledgment sent {"connection_id":154046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:27:37] local.INFO: TCP Data received {"connection_id":152593,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:27:37] local.INFO: Processing buffer {"connection_id":152593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe95ea1e8012d34c20006aa3f08000600f32c..."} 
[2026-08-10 07:27:37] local.INFO: Packet analysis {"connection_id":152593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:27:37] local.INFO: Extracted packet for processing {"connection_id":152593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe95e"} 
[2026-08-10 07:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299563520001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786326721000,"timestamp_ms":1786326721000,"timestamp_seconds":1786326721,"priority":1,"record_length":96,"hex_timestamp":"0000019fe95ea1e8"} 
[2026-08-10 07:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 07:27:37] 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-08-10 07: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-08-10 07:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299563520001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299563520001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299563520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":152593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:27:37] local.INFO: GPS data processed {"connection_id":152593,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:27:37] local.INFO: Acknowledgment sent {"connection_id":152593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:27:51] local.INFO: TCP Data received {"connection_id":154046,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9639388012d82a48005d79598000d016127..."} 
[2026-08-10 07:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9639388012d82a48005d79598000d016127..."} 
[2026-08-10 07:27:51] local.INFO: Processing buffer {"connection_id":154046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9639388012d82a48005d79598000d016127..."} 
[2026-08-10 07:27:51] local.INFO: Packet analysis {"connection_id":154046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:27:51] local.INFO: Extracted packet for processing {"connection_id":154046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:27:51] local.INFO: GPS Element Parsed {"raw_longitude":763536512,"raw_latitude":98014616,"longitude_deg":76.3536512,"latitude_deg":9.8014616,"altitude":13,"angle":353,"satellites":39,"speed":34,"hex_longitude":"2d82a480","hex_latitude":"05d79598","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299720704001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117059827573719040,"note":"Value kept but may cause issues"} 
[2026-08-10 07:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032320871322996736,"note":"Value kept but may cause issues"} 
[2026-08-10 07:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786327045000,"timestamp_ms":1786327045000,"timestamp_seconds":1786327045,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9639388"} 
[2026-08-10 07:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 07:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299720704001,"66":13363,"155":206,"85":15104,"24":34,"16":117059827573719040,"45":-9032320871322996736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-10 07:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299720704001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:27:51] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-10 07:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117059827573719040,"km_value":117059827573719.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032320871322996736,"description":"Unknown IO ID 45"} 
[2026-08-10 07:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299720704001,"power":13363,"unknown_155":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9032320871322996736}} 
[2026-08-10 07:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":154046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:27:51] local.INFO: GPS data processed {"connection_id":154046,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:27:51] local.INFO: Acknowledgment sent {"connection_id":154046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:28:00] local.INFO: TCP Data received {"connection_id":152594,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:28:00] local.INFO: Processing buffer {"connection_id":152594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:28:00] local.INFO: IMEI packet received {"connection_id":152594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":152594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:28:05] local.INFO: TCP Data received {"connection_id":152594,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:28:05] local.INFO: Processing buffer {"connection_id":152594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:28:05] local.INFO: IMEI packet received {"connection_id":152594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":152594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:28:05] local.INFO: TCP Data received {"connection_id":152594,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:28:05] local.INFO: Processing buffer {"connection_id":152594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:28:05] local.INFO: Packet analysis {"connection_id":152594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:28:05] local.INFO: Extracted packet for processing {"connection_id":152594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":1,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299640576001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786327022000,"timestamp_ms":1786327022000,"timestamp_seconds":1786327022,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96339b0"} 
[2026-08-10 07:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:28: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-08-10 07:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:28: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-08-10 07:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299640576001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299640576001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:28:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299640576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":152594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:28:05] local.INFO: GPS data processed {"connection_id":152594,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:28:05] local.INFO: Acknowledgment sent {"connection_id":152594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:28:10] local.INFO: TCP Data received {"connection_id":152594,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:28:10] local.INFO: Processing buffer {"connection_id":152594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:28:10] local.INFO: Packet analysis {"connection_id":152594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:28:10] local.INFO: Extracted packet for processing {"connection_id":152594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":1,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299640576001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786327022000,"timestamp_ms":1786327022000,"timestamp_seconds":1786327022,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96339b0"} 
[2026-08-10 07:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:28: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-08-10 07: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-08-10 07:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299640576001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299640576001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299640576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":152594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:28:10] local.INFO: GPS data processed {"connection_id":152594,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:28:10] local.INFO: Acknowledgment sent {"connection_id":152594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:28:15] local.INFO: TCP Data received {"connection_id":154047,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:28:15] local.INFO: Processing buffer {"connection_id":154047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:28:15] local.INFO: IMEI packet received {"connection_id":154047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":154047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:28:20] local.INFO: TCP Data received {"connection_id":154047,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:28:20] local.INFO: Processing buffer {"connection_id":154047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:28:20] local.INFO: IMEI packet received {"connection_id":154047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":154047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:28:25] local.INFO: TCP Data received {"connection_id":154047,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:28:25] local.INFO: Processing buffer {"connection_id":154047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:28:25] local.INFO: IMEI packet received {"connection_id":154047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":154047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:28:25] local.INFO: TCP Data received {"connection_id":154047,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe963ba98012d82a20005d7b988000c016527..."} 
[2026-08-10 07:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe963ba98012d82a20005d7b988000c016527..."} 
[2026-08-10 07:28:25] local.INFO: Processing buffer {"connection_id":154047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe963ba98012d82a20005d7b988000c016527..."} 
[2026-08-10 07:28:25] local.INFO: Packet analysis {"connection_id":154047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:28:25] local.INFO: Extracted packet for processing {"connection_id":154047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763535872,"raw_latitude":98023816,"longitude_deg":76.3535872,"latitude_deg":9.8023816,"altitude":12,"angle":357,"satellites":39,"speed":40,"hex_longitude":"2d82a200","hex_latitude":"05d7b988","is_valid_coordinates":true} 
[2026-08-10 07:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299723520001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117060274250317824,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032954190018275328,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786327055000,"timestamp_ms":1786327055000,"timestamp_seconds":1786327055,"priority":1,"record_length":96,"hex_timestamp":"0000019fe963ba98"} 
[2026-08-10 07:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 07:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299723520001,"66":13406,"155":206,"85":15104,"24":40,"16":117060274250317824,"45":-9032954190018275328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-10 07:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299723520001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:28:25] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-10 07:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117060274250317824,"km_value":117060274250317.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032954190018275328,"description":"Unknown IO ID 45"} 
[2026-08-10 07:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299723520001,"power":13406,"unknown_155":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9032954190018275328}} 
[2026-08-10 07:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":154047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:28:25] local.INFO: GPS data processed {"connection_id":154047,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:28:25] local.INFO: Acknowledgment sent {"connection_id":154047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:28:33] local.INFO: TCP Data received {"connection_id":154047,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe963ddc0012d82a08005d7dd60000a016528..."} 
[2026-08-10 07:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe963ddc0012d82a08005d7dd60000a016528..."} 
[2026-08-10 07:28:33] local.INFO: Processing buffer {"connection_id":154047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe963ddc0012d82a08005d7dd60000a016528..."} 
[2026-08-10 07:28:33] local.INFO: Packet analysis {"connection_id":154047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:28:33] local.INFO: Extracted packet for processing {"connection_id":154047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763535488,"raw_latitude":98032992,"longitude_deg":76.3535488,"latitude_deg":9.8032992,"altitude":10,"angle":357,"satellites":40,"speed":41,"hex_longitude":"2d82a080","hex_latitude":"05d7dd60","is_valid_coordinates":true} 
[2026-08-10 07:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299726080001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117060720926916608,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033657877457696768,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786327064000,"timestamp_ms":1786327064000,"timestamp_seconds":1786327064,"priority":1,"record_length":96,"hex_timestamp":"0000019fe963ddc0"} 
[2026-08-10 07:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 07:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":154047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":154047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":154047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299726080001,"66":13406,"155":206,"85":15104,"24":41,"16":117060720926916608,"45":-9033657877457696768},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-10 07:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299726080001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:28:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-10 07:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117060720926916608,"km_value":117060720926916.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033657877457696768,"description":"Unknown IO ID 45"} 
[2026-08-10 07:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299726080001,"power":13406,"unknown_155":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9033657877457696768}} 
[2026-08-10 07:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":154047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:28:33] local.INFO: GPS data processed {"connection_id":154047,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:28:33] local.INFO: Acknowledgment sent {"connection_id":154047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:28:41] local.INFO: TCP Data received {"connection_id":152594,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:28:41] local.INFO: Processing buffer {"connection_id":152594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:28:41] local.INFO: Packet analysis {"connection_id":152594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:28:41] local.INFO: Extracted packet for processing {"connection_id":152594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":1,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299640576001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786327022000,"timestamp_ms":1786327022000,"timestamp_seconds":1786327022,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96339b0"} 
[2026-08-10 07:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299640576001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299640576001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:28:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299640576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":152594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:28:41] local.INFO: GPS data processed {"connection_id":152594,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:28:41] local.INFO: Acknowledgment sent {"connection_id":152594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:29:00] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:29:00] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:29:00] local.INFO: IMEI packet received {"connection_id":151683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":151683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:29:05] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:29:05] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:29:05] local.INFO: IMEI packet received {"connection_id":151683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":151683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:29:06] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:29:06] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:29:06] local.INFO: Packet analysis {"connection_id":151683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:29:06] local.INFO: Extracted packet for processing {"connection_id":151683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":1,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299640576001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786327022000,"timestamp_ms":1786327022000,"timestamp_seconds":1786327022,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96339b0"} 
[2026-08-10 07:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299640576001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299640576001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299640576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":151683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:29:06] local.INFO: GPS data processed {"connection_id":151683,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:29:06] local.INFO: Acknowledgment sent {"connection_id":151683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:29:15] local.INFO: TCP Data received {"connection_id":151684,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:29:15] local.INFO: Processing buffer {"connection_id":151684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:29:15] local.INFO: IMEI packet received {"connection_id":151684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":151684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:29:20] local.INFO: TCP Data received {"connection_id":151684,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:29:20] local.INFO: Processing buffer {"connection_id":151684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:29:20] local.INFO: IMEI packet received {"connection_id":151684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":151684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:29:20] local.INFO: TCP Data received {"connection_id":151684,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96404d0012d829e8005d80390000a01652a..."} 
[2026-08-10 07:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96404d0012d829e8005d80390000a01652a..."} 
[2026-08-10 07:29:20] local.INFO: Processing buffer {"connection_id":151684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96404d0012d829e8005d80390000a01652a..."} 
[2026-08-10 07:29:20] local.INFO: Packet analysis {"connection_id":151684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe964"} 
[2026-08-10 07:29:20] local.INFO: Extracted packet for processing {"connection_id":151684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe964"} 
[2026-08-10 07:29:20] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":98042768,"longitude_deg":76.3534976,"latitude_deg":9.8042768,"altitude":10,"angle":357,"satellites":42,"speed":37,"hex_longitude":"2d829e80","hex_latitude":"05d80390","is_valid_coordinates":true} 
[2026-08-10 07:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299728384001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117061197668286464,"note":"Value kept but may cause issues"} 
[2026-08-10 07:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034080089920413696,"note":"Value kept but may cause issues"} 
[2026-08-10 07:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786327074000,"timestamp_ms":1786327074000,"timestamp_seconds":1786327074,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96404d0"} 
[2026-08-10 07:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 07:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299728384001,"66":13493,"155":206,"85":15104,"24":37,"16":117061197668286464,"45":-9034080089920413696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-10 07:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299728384001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:29:20] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-10 07:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117061197668286464,"km_value":117061197668286.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034080089920413696,"description":"Unknown IO ID 45"} 
[2026-08-10 07:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299728384001,"power":13493,"unknown_155":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9034080089920413696}} 
[2026-08-10 07:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":151684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:29:20] local.INFO: GPS data processed {"connection_id":151684,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:29:20] local.INFO: Acknowledgment sent {"connection_id":151684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:29:37] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:29:37] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:29:37] local.INFO: Packet analysis {"connection_id":151683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:29:37] local.INFO: Extracted packet for processing {"connection_id":151683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":1,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299640576001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786327022000,"timestamp_ms":1786327022000,"timestamp_seconds":1786327022,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96339b0"} 
[2026-08-10 07:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299640576001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299640576001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299640576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":151683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:29:37] local.INFO: GPS data processed {"connection_id":151683,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:29:37] local.INFO: Acknowledgment sent {"connection_id":151683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:29:51] local.INFO: TCP Data received {"connection_id":151684,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9642be0012d829dc005d82858000a01662a..."} 
[2026-08-10 07:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9642be0012d829dc005d82858000a01662a..."} 
[2026-08-10 07:29:51] local.INFO: Processing buffer {"connection_id":151684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9642be0012d829dc005d82858000a01662a..."} 
[2026-08-10 07:29:51] local.INFO: Packet analysis {"connection_id":151684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe964"} 
[2026-08-10 07:29:51] local.INFO: Extracted packet for processing {"connection_id":151684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe964"} 
[2026-08-10 07:29:51] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":98052184,"longitude_deg":76.3534784,"latitude_deg":9.8052184,"altitude":10,"angle":358,"satellites":42,"speed":38,"hex_longitude":"2d829dc0","hex_latitude":"05d82858","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299730944001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117061652934819840,"note":"Value kept but may cause issues"} 
[2026-08-10 07:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643039871332352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786327084000,"timestamp_ms":1786327084000,"timestamp_seconds":1786327084,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9642be0"} 
[2026-08-10 07:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07: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-08-10 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 07:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299730944001,"66":13428,"155":206,"85":15104,"24":38,"16":117061652934819840,"45":-9034643039871332352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-10 07:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299730944001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:29:51] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-10 07:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117061652934819840,"km_value":117061652934819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643039871332352,"description":"Unknown IO ID 45"} 
[2026-08-10 07:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299730944001,"power":13428,"unknown_155":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9034643039871332352}} 
[2026-08-10 07:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":151684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:29:51] local.INFO: GPS data processed {"connection_id":151684,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:29:51] local.INFO: Acknowledgment sent {"connection_id":151684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:30:00] local.INFO: TCP Data received {"connection_id":152595,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:30:00] local.INFO: Processing buffer {"connection_id":152595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:30:00] local.INFO: IMEI packet received {"connection_id":152595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":152595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:30:05] local.INFO: TCP Data received {"connection_id":152595,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:30:05] local.INFO: Processing buffer {"connection_id":152595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:30:05] local.INFO: IMEI packet received {"connection_id":152595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":152595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:30:06] local.INFO: TCP Data received {"connection_id":152595,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:30:06] local.INFO: Processing buffer {"connection_id":152595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:30:06] local.INFO: Packet analysis {"connection_id":152595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:30:06] local.INFO: Extracted packet for processing {"connection_id":152595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":1,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299640576001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786327022000,"timestamp_ms":1786327022000,"timestamp_seconds":1786327022,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96339b0"} 
[2026-08-10 07:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299640576001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299640576001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299640576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":152595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:30:06] local.INFO: GPS data processed {"connection_id":152595,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:30:06] local.INFO: Acknowledgment sent {"connection_id":152595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:30:15] local.INFO: TCP Data received {"connection_id":154048,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:30:15] local.INFO: Processing buffer {"connection_id":154048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:30:15] local.INFO: IMEI packet received {"connection_id":154048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":154048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:30:17] local.INFO: TCP Data received {"connection_id":154048,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:30:17] local.INFO: Processing buffer {"connection_id":154048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:30:17] local.INFO: IMEI packet received {"connection_id":154048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":154048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:30:18] local.INFO: TCP Data received {"connection_id":154048,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96452f0012d829bc005d84d000009016027..."} 
[2026-08-10 07:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96452f0012d829bc005d84d000009016027..."} 
[2026-08-10 07:30:18] local.INFO: Processing buffer {"connection_id":154048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96452f0012d829bc005d84d000009016027..."} 
[2026-08-10 07:30:18] local.INFO: Packet analysis {"connection_id":154048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe964"} 
[2026-08-10 07:30:18] local.INFO: Extracted packet for processing {"connection_id":154048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe964"} 
[2026-08-10 07:30:18] local.INFO: GPS Element Parsed {"raw_longitude":763534272,"raw_latitude":98061568,"longitude_deg":76.3534272,"latitude_deg":9.8061568,"altitude":9,"angle":352,"satellites":39,"speed":34,"hex_longitude":"2d829bc0","hex_latitude":"05d84d00","is_valid_coordinates":true} 
[2026-08-10 07:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299733504001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117062108201353216,"note":"Value kept but may cause issues"} 
[2026-08-10 07:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034854146101454848,"note":"Value kept but may cause issues"} 
[2026-08-10 07:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786327094000,"timestamp_ms":1786327094000,"timestamp_seconds":1786327094,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96452f0"} 
[2026-08-10 07:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-10 07:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299733504001,"66":12722,"155":206,"85":15104,"24":34,"16":117062108201353216,"45":-9034854146101454848},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-10 07:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299733504001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:30:18] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-10 07:30:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117062108201353216,"km_value":117062108201353.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034854146101454848,"description":"Unknown IO ID 45"} 
[2026-08-10 07:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299733504001,"power":12722,"unknown_155":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9034854146101454848}} 
[2026-08-10 07:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":154048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:30:19] local.INFO: GPS data processed {"connection_id":154048,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:30:19] local.INFO: Acknowledgment sent {"connection_id":154048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:30:37] local.INFO: TCP Data received {"connection_id":152595,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:30:37] local.INFO: Processing buffer {"connection_id":152595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:30:37] local.INFO: Packet analysis {"connection_id":152595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:30:37] local.INFO: Extracted packet for processing {"connection_id":152595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":1,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299640576001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786327022000,"timestamp_ms":1786327022000,"timestamp_seconds":1786327022,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96339b0"} 
[2026-08-10 07:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299640576001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299640576001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299640576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":152595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:30:37] local.INFO: GPS data processed {"connection_id":152595,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:30:37] local.INFO: Acknowledgment sent {"connection_id":152595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:30:50] local.INFO: TCP Data received {"connection_id":154048,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96652a8012d8256c005d990f0000a015c26..."} 
[2026-08-10 07:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96652a8012d8256c005d990f0000a015c26..."} 
[2026-08-10 07:30:50] local.INFO: Processing buffer {"connection_id":154048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96652a8012d8256c005d990f0000a015c26..."} 
[2026-08-10 07:30:50] local.INFO: Packet analysis {"connection_id":154048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe966"} 
[2026-08-10 07:30:50] local.INFO: Extracted packet for processing {"connection_id":154048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe966"} 
[2026-08-10 07:30:50] local.INFO: GPS Element Parsed {"raw_longitude":763516608,"raw_latitude":98144496,"longitude_deg":76.3516608,"latitude_deg":9.8144496,"altitude":10,"angle":348,"satellites":38,"speed":43,"hex_longitude":"2d8256c0","hex_latitude":"05d990f0","is_valid_coordinates":true} 
[2026-08-10 07:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299767296001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117066265729695744,"note":"Value kept but may cause issues"} 
[2026-08-10 07:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9052587069613006848,"note":"Value kept but may cause issues"} 
[2026-08-10 07:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786327225000,"timestamp_ms":1786327225000,"timestamp_seconds":1786327225,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96652a8"} 
[2026-08-10 07:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 07:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":154048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":154048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":154048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299767296001,"66":13189,"69":206,"85":15104,"24":43,"16":117066265729695744,"45":-9052587069613006848},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-10 07:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299767296001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:30:50] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-10 07:30:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117066265729695744,"km_value":117066265729695.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9052587069613006848,"description":"Unknown IO ID 45"} 
[2026-08-10 07:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299767296001,"power":13189,"unknown_69":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9052587069613006848}} 
[2026-08-10 07:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":154048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:30:50] local.INFO: GPS data processed {"connection_id":154048,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:30:50] local.INFO: Acknowledgment sent {"connection_id":154048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:30:59] local.INFO: TCP Data received {"connection_id":154049,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:30:59] local.INFO: Processing buffer {"connection_id":154049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:30:59] local.INFO: IMEI packet received {"connection_id":154049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":154049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:31:05] local.INFO: TCP Data received {"connection_id":154049,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:31:05] local.INFO: Processing buffer {"connection_id":154049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:31:05] local.INFO: IMEI packet received {"connection_id":154049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":154049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:31:05] local.INFO: TCP Data received {"connection_id":154049,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:31:05] local.INFO: Processing buffer {"connection_id":154049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:31:05] local.INFO: Packet analysis {"connection_id":154049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:31:05] local.INFO: Extracted packet for processing {"connection_id":154049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":1,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299640576001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786327022000,"timestamp_ms":1786327022000,"timestamp_seconds":1786327022,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96339b0"} 
[2026-08-10 07:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:31: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-08-10 07:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299640576001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299640576001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299640576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":154049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:31:05] local.INFO: GPS data processed {"connection_id":154049,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:31:05] local.INFO: Acknowledgment sent {"connection_id":154049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:31:15] local.INFO: TCP Data received {"connection_id":154050,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:31:15] local.INFO: Processing buffer {"connection_id":154050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:31:15] local.INFO: IMEI packet received {"connection_id":154050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":154050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:31:19] local.INFO: TCP Data received {"connection_id":154050,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:31:19] local.INFO: Processing buffer {"connection_id":154050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:31:19] local.INFO: IMEI packet received {"connection_id":154050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":154050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:31:19] local.INFO: TCP Data received {"connection_id":154050,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96671e8012d824fc005d9b2d00009015b25..."} 
[2026-08-10 07:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96671e8012d824fc005d9b2d00009015b25..."} 
[2026-08-10 07:31:19] local.INFO: Processing buffer {"connection_id":154050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96671e8012d824fc005d9b2d00009015b25..."} 
[2026-08-10 07:31:19] local.INFO: Packet analysis {"connection_id":154050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe966"} 
[2026-08-10 07:31:19] local.INFO: Extracted packet for processing {"connection_id":154050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe966"} 
[2026-08-10 07:31:19] local.INFO: GPS Element Parsed {"raw_longitude":763514816,"raw_latitude":98153168,"longitude_deg":76.3514816,"latitude_deg":9.8153168,"altitude":9,"angle":347,"satellites":37,"speed":43,"hex_longitude":"2d824fc0","hex_latitude":"05d9b2d0","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299769600001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117066695226425344,"note":"Value kept but may cause issues"} 
[2026-08-10 07:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9054838869424279552,"note":"Value kept but may cause issues"} 
[2026-08-10 07:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786327233000,"timestamp_ms":1786327233000,"timestamp_seconds":1786327233,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96671e8"} 
[2026-08-10 07:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 07:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299769600001,"66":13243,"69":206,"85":15104,"24":43,"16":117066695226425344,"45":-9054838869424279552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-10 07:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299769600001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:31:19] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-10 07:31:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117066695226425344,"km_value":117066695226425.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9054838869424279552,"description":"Unknown IO ID 45"} 
[2026-08-10 07:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299769600001,"power":13243,"unknown_69":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9054838869424279552}} 
[2026-08-10 07:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":154050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:31:20] local.INFO: GPS data processed {"connection_id":154050,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:31:20] local.INFO: Acknowledgment sent {"connection_id":154050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:31:37] local.INFO: TCP Data received {"connection_id":154049,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:31:37] local.INFO: Processing buffer {"connection_id":154049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:31:37] local.INFO: Packet analysis {"connection_id":154049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:31:37] local.INFO: Extracted packet for processing {"connection_id":154049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":1,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299640576001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786327022000,"timestamp_ms":1786327022000,"timestamp_seconds":1786327022,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96339b0"} 
[2026-08-10 07:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299640576001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299640576001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299640576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":154049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:31:37] local.INFO: GPS data processed {"connection_id":154049,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:31:37] local.INFO: Acknowledgment sent {"connection_id":154049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:31:50] local.INFO: TCP Data received {"connection_id":154050,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9669510012d82474005d9d6980008015b28..."} 
[2026-08-10 07:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9669510012d82474005d9d6980008015b28..."} 
[2026-08-10 07:31:50] local.INFO: Processing buffer {"connection_id":154050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9669510012d82474005d9d6980008015b28..."} 
[2026-08-10 07:31:50] local.INFO: Packet analysis {"connection_id":154050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe966"} 
[2026-08-10 07:31:50] local.INFO: Extracted packet for processing {"connection_id":154050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe966"} 
[2026-08-10 07:31:50] local.INFO: GPS Element Parsed {"raw_longitude":763512640,"raw_latitude":98162328,"longitude_deg":76.351264,"latitude_deg":9.8162328,"altitude":8,"angle":347,"satellites":40,"speed":38,"hex_longitude":"2d824740","hex_latitude":"05d9d698","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299771648001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117067150492958720,"note":"Value kept but may cause issues"} 
[2026-08-10 07:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056809194259034112,"note":"Value kept but may cause issues"} 
[2026-08-10 07:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786327242000,"timestamp_ms":1786327242000,"timestamp_seconds":1786327242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9669510"} 
[2026-08-10 07:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 07:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":154050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":154050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":154050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299771648001,"66":13048,"69":206,"85":15104,"24":38,"16":117067150492958720,"45":-9056809194259034112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-10 07:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299771648001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:31:50] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-10 07:31:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117067150492958720,"km_value":117067150492958.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056809194259034112,"description":"Unknown IO ID 45"} 
[2026-08-10 07:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299771648001,"power":13048,"unknown_69":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9056809194259034112}} 
[2026-08-10 07:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":154050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:31:50] local.INFO: GPS data processed {"connection_id":154050,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:31:50] local.INFO: Acknowledgment sent {"connection_id":154050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:31:59] local.INFO: TCP Data received {"connection_id":151305,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:31:59] local.INFO: Processing buffer {"connection_id":151305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:31:59] local.INFO: IMEI packet received {"connection_id":151305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":151305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:32:05] local.INFO: TCP Data received {"connection_id":151305,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:32:05] local.INFO: Processing buffer {"connection_id":151305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:32:05] local.INFO: IMEI packet received {"connection_id":151305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":151305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:32:06] local.INFO: TCP Data received {"connection_id":151305,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:32:06] local.INFO: Processing buffer {"connection_id":151305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:32:06] local.INFO: Packet analysis {"connection_id":151305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:32:06] local.INFO: Extracted packet for processing {"connection_id":151305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":1,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299640576001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786327022000,"timestamp_ms":1786327022000,"timestamp_seconds":1786327022,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96339b0"} 
[2026-08-10 07:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299640576001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299640576001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299640576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":151305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:32:06] local.INFO: GPS data processed {"connection_id":151305,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:32:06] local.INFO: Acknowledgment sent {"connection_id":151305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:32:15] local.INFO: TCP Data received {"connection_id":151685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:32:15] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:32:15] local.INFO: IMEI packet received {"connection_id":151685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":151685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:32:17] local.INFO: TCP Data received {"connection_id":151685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:32:17] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:32:17] local.INFO: IMEI packet received {"connection_id":151685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":151685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:32:19] local.INFO: TCP Data received {"connection_id":151685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:32:19] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:32:19] local.INFO: IMEI packet received {"connection_id":151685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":151685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:32:20] local.INFO: TCP Data received {"connection_id":151685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967a298012d82154005da8e88000701042a..."} 
[2026-08-10 07:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967a298012d82154005da8e88000701042a..."} 
[2026-08-10 07:32:20] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967a298012d82154005da8e88000701042a..."} 
[2026-08-10 07:32:20] local.INFO: Packet analysis {"connection_id":151685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:32:20] local.INFO: Extracted packet for processing {"connection_id":151685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763499840,"raw_latitude":98209416,"longitude_deg":76.349984,"latitude_deg":9.8209416,"altitude":7,"angle":260,"satellites":42,"speed":22,"hex_longitude":"2d821540","hex_latitude":"05da8e88","is_valid_coordinates":true} 
[2026-08-10 07:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299791360001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117069590034382848,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072712530428751872,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786327311000,"timestamp_ms":1786327311000,"timestamp_seconds":1786327311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967a298"} 
[2026-08-10 07:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3915859160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2183315461,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13477703,"corrected_to":0} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":218,"raw_value":1486187924300048384,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2147867229,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392039,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3661277184,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":242,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2145966517412216837,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,71,85,24,241,157,16,234,159,154,45,128,142,7,41,10,66,150,146,64,1,240,247,227,233,218,4,113,205,42,100,47,39,239,51,2,5,40,242,103],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":247,"original":13477703,"validated":0},{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-08-10 07:32:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504707903376392192,"timestamp_seconds":504707903376392.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299791360001,"66":13319,"71":206,"85":15104,"24":22,"16":117069590034382848,"45":-9072712530428751872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-10 07:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299791360001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:32:20] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 07:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117069590034382848,"km_value":117069590034382.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072712530428751872,"description":"Unknown IO ID 45"} 
[2026-08-10 07:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299791360001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9072712530428751872}} 
[2026-08-10 07:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":151685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:32:20] local.INFO: GPS data processed {"connection_id":151685,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:32:20] local.INFO: Acknowledgment sent {"connection_id":151685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:32:21] local.INFO: TCP Data received {"connection_id":151685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967cd90012d81f04005da8450000800fe2a..."} 
[2026-08-10 07:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967cd90012d81f04005da8450000800fe2a..."} 
[2026-08-10 07:32:21] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967cd90012d81f04005da8450000800fe2a..."} 
[2026-08-10 07:32:21] local.INFO: Packet analysis {"connection_id":151685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:32:21] local.INFO: Extracted packet for processing {"connection_id":151685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:32:21] local.INFO: GPS Element Parsed {"raw_longitude":763490368,"raw_latitude":98206800,"longitude_deg":76.3490368,"latitude_deg":9.82068,"altitude":8,"angle":254,"satellites":42,"speed":42,"hex_longitude":"2d81f040","hex_latitude":"05da8450","is_valid_coordinates":true} 
[2026-08-10 07:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299791616001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117070062480785408,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073275480382208000,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786327322000,"timestamp_ms":1786327322000,"timestamp_seconds":1786327322,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967cd90"} 
[2026-08-10 07:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3915867160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2182955013,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4226628293259831040,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221609088,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397095,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3663544320,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.WARNING: Large IO value detected {"io_id":103,"raw_value":4960716284518367237,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:21] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,71,85,24,241,157,16,234,159,158,45,64,143,7,42,10,66,154,128,142,41,150,1,240,69,227,233,218,4,113,205,26,131,34,72,239,49,2,5,8,46,187,103],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-08-10 07:32:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504689211678785536,"timestamp_seconds":504689211678785.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299791616001,"66":13363,"71":206,"85":15104,"24":42,"16":117070062480785408,"45":-9073275480382208000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-10 07:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299791616001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:32:21] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 07:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117070062480785408,"km_value":117070062480785.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073275480382208000,"description":"Unknown IO ID 45"} 
[2026-08-10 07:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299791616001,"power":13363,"unknown_71":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9073275480382208000}} 
[2026-08-10 07:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":151685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:32:21] local.INFO: GPS data processed {"connection_id":151685,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:32:21] local.INFO: Acknowledgment sent {"connection_id":151685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:32:38] local.INFO: TCP Data received {"connection_id":151305,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:32:38] local.INFO: Processing buffer {"connection_id":151305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96339b0012d34c20006aa3f08000100f32c..."} 
[2026-08-10 07:32:38] local.INFO: Packet analysis {"connection_id":151305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:32:38] local.INFO: Extracted packet for processing {"connection_id":151305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe963"} 
[2026-08-10 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":1,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299640576001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786327022000,"timestamp_ms":1786327022000,"timestamp_seconds":1786327022,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96339b0"} 
[2026-08-10 07:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299640576001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299640576001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299640576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":151305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:32:38] local.INFO: GPS data processed {"connection_id":151305,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:32:38] local.INFO: Acknowledgment sent {"connection_id":151305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:32:52] local.INFO: TCP Data received {"connection_id":151685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967f0b8012d81ce0005da77f8000500fa29..."} 
[2026-08-10 07:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967f0b8012d81ce0005da77f8000500fa29..."} 
[2026-08-10 07:32:52] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967f0b8012d81ce0005da77f8000500fa29..."} 
[2026-08-10 07:32:52] local.INFO: Packet analysis {"connection_id":151685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:32:52] local.INFO: Extracted packet for processing {"connection_id":151685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:32:52] local.INFO: GPS Element Parsed {"raw_longitude":763481600,"raw_latitude":98203640,"longitude_deg":76.34816,"latitude_deg":9.820364,"altitude":5,"angle":250,"satellites":41,"speed":38,"hex_longitude":"2d81ce00","hex_latitude":"05da77f8","is_valid_coordinates":true} 
[2026-08-10 07:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299794432001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117070509157384192,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9083690054521171968,"note":"Value kept but may cause issues"} 
[2026-08-10 07:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786327331000,"timestamp_ms":1786327331000,"timestamp_seconds":1786327331,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967f0b8"} 
[2026-08-10 07:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 07:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299794432001,"66":13189,"71":206,"85":15104,"24":38,"16":117070509157384192,"45":-9083690054521171968},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-10 07:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299794432001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:32:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 07:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117070509157384192,"km_value":117070509157384.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9083690054521171968,"description":"Unknown IO ID 45"} 
[2026-08-10 07:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299794432001,"power":13189,"unknown_71":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9083690054521171968}} 
[2026-08-10 07:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":151685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:32:52] local.INFO: GPS data processed {"connection_id":151685,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:32:52] local.INFO: Acknowledgment sent {"connection_id":151685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:33:05] local.INFO: TCP Data received {"connection_id":154051,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:33:05] local.INFO: Processing buffer {"connection_id":154051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:33:05] local.INFO: IMEI packet received {"connection_id":154051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":154051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:33:10] local.INFO: TCP Data received {"connection_id":154051,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:33:10] local.INFO: Processing buffer {"connection_id":154051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:33:10] local.INFO: IMEI packet received {"connection_id":154051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":154051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:33:11] local.INFO: TCP Data received {"connection_id":154051,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:33:11] local.INFO: Processing buffer {"connection_id":154051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:33:11] local.INFO: Packet analysis {"connection_id":154051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:33:11] local.INFO: Extracted packet for processing {"connection_id":154051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299717632001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786327323000,"timestamp_ms":1786327323000,"timestamp_seconds":1786327323,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967d178"} 
[2026-08-10 07:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":154051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":154051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":154051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:33: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-08-10 07:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299717632001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299717632001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:33:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299717632001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":154051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:33:11] local.INFO: GPS data processed {"connection_id":154051,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:33:11] local.INFO: Acknowledgment sent {"connection_id":154051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:33:14] local.INFO: TCP Data received {"connection_id":151686,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:33:14] local.INFO: Processing buffer {"connection_id":151686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:33:14] local.INFO: IMEI packet received {"connection_id":151686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":151686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:33:15] local.INFO: TCP Data received {"connection_id":154051,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:33:15] local.INFO: Processing buffer {"connection_id":154051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:33:15] local.INFO: Packet analysis {"connection_id":154051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:33:15] local.INFO: Extracted packet for processing {"connection_id":154051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299717632001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786327323000,"timestamp_ms":1786327323000,"timestamp_seconds":1786327323,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967d178"} 
[2026-08-10 07:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299717632001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299717632001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299717632001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":154051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:33:15] local.INFO: GPS data processed {"connection_id":154051,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:33:15] local.INFO: Acknowledgment sent {"connection_id":154051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:33:17] local.INFO: TCP Data received {"connection_id":151686,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:33:17] local.INFO: Processing buffer {"connection_id":151686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:33:17] local.INFO: IMEI packet received {"connection_id":151686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":151686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:33:18] local.INFO: TCP Data received {"connection_id":151686,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:33:18] local.INFO: Processing buffer {"connection_id":151686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:33:18] local.INFO: IMEI packet received {"connection_id":151686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":151686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:33:21] local.INFO: TCP Data received {"connection_id":151686,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9687d58012d81644005da8ce00007015f28..."} 
[2026-08-10 07:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9687d58012d81644005da8ce00007015f28..."} 
[2026-08-10 07:33:21] local.INFO: Processing buffer {"connection_id":151686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9687d58012d81644005da8ce00007015f28..."} 
[2026-08-10 07:33:21] local.INFO: Packet analysis {"connection_id":151686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe968"} 
[2026-08-10 07:33:21] local.INFO: Extracted packet for processing {"connection_id":151686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe968"} 
[2026-08-10 07:33:21] local.INFO: GPS Element Parsed {"raw_longitude":763454528,"raw_latitude":98208992,"longitude_deg":76.3454528,"latitude_deg":9.8208992,"altitude":7,"angle":351,"satellites":40,"speed":25,"hex_longitude":"2d816440","hex_latitude":"05da8ce0","is_valid_coordinates":true} 
[2026-08-10 07:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299805696001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117071913611689984,"note":"Value kept but may cause issues"} 
[2026-08-10 07:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122955813771907072,"note":"Value kept but may cause issues"} 
[2026-08-10 07:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786327367000,"timestamp_ms":1786327367000,"timestamp_seconds":1786327367,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9687d58"} 
[2026-08-10 07:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 07:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299805696001,"66":13363,"71":206,"85":15104,"24":25,"16":117071913611689984,"45":-9122955813771907072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-10 07:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299805696001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:33:21] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 07:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117071913611689984,"km_value":117071913611689.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122955813771907072,"description":"Unknown IO ID 45"} 
[2026-08-10 07:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299805696001,"power":13363,"unknown_71":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9122955813771907072}} 
[2026-08-10 07:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":151686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:33:21] local.INFO: GPS data processed {"connection_id":151686,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:33:21] local.INFO: Acknowledgment sent {"connection_id":151686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:33:52] local.INFO: TCP Data received {"connection_id":151686,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96890e0012d81614005da9a780007015127..."} 
[2026-08-10 07:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96890e0012d81614005da9a780007015127..."} 
[2026-08-10 07:33:52] local.INFO: Processing buffer {"connection_id":151686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96890e0012d81614005da9a780007015127..."} 
[2026-08-10 07:33:52] local.INFO: Packet analysis {"connection_id":151686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe968"} 
[2026-08-10 07:33:52] local.INFO: Extracted packet for processing {"connection_id":151686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe968"} 
[2026-08-10 07:33:52] local.INFO: GPS Element Parsed {"raw_longitude":763453760,"raw_latitude":98212472,"longitude_deg":76.345376,"latitude_deg":9.8212472,"altitude":7,"angle":337,"satellites":39,"speed":31,"hex_longitude":"2d816140","hex_latitude":"05da9a78","is_valid_coordinates":true} 
[2026-08-10 07:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299805952001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117072089705349120,"note":"Value kept but may cause issues"} 
[2026-08-10 07:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123096551260102656,"note":"Value kept but may cause issues"} 
[2026-08-10 07:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786327372000,"timestamp_ms":1786327372000,"timestamp_seconds":1786327372,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96890e0"} 
[2026-08-10 07:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 07:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299805952001,"66":13396,"71":206,"85":15104,"24":31,"16":117072089705349120,"45":-9123096551260102656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-10 07:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299805952001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:33:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 07:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117072089705349120,"km_value":117072089705349.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123096551260102656,"description":"Unknown IO ID 45"} 
[2026-08-10 07:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299805952001,"power":13396,"unknown_71":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9123096551260102656}} 
[2026-08-10 07:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":151686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:33:53] local.INFO: GPS data processed {"connection_id":151686,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:33:53] local.INFO: Acknowledgment sent {"connection_id":151686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:34:00] local.INFO: TCP Data received {"connection_id":152596,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:34:00] local.INFO: Processing buffer {"connection_id":152596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:34:00] local.INFO: IMEI packet received {"connection_id":152596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":152596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:34:05] local.INFO: TCP Data received {"connection_id":152596,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:34:05] local.INFO: Processing buffer {"connection_id":152596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:34:05] local.INFO: IMEI packet received {"connection_id":152596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":152596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:34:06] local.INFO: TCP Data received {"connection_id":152596,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:34:06] local.INFO: Processing buffer {"connection_id":152596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:34:06] local.INFO: Packet analysis {"connection_id":152596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:34:06] local.INFO: Extracted packet for processing {"connection_id":152596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299717632001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786327323000,"timestamp_ms":1786327323000,"timestamp_seconds":1786327323,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967d178"} 
[2026-08-10 07:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299717632001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299717632001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299717632001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":152596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:34:06] local.INFO: GPS data processed {"connection_id":152596,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:34:06] local.INFO: Acknowledgment sent {"connection_id":152596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:34:14] local.INFO: TCP Data received {"connection_id":151306,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:34:14] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:34:14] local.INFO: IMEI packet received {"connection_id":151306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":151306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:34:20] local.INFO: TCP Data received {"connection_id":151306,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:34:20] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:34:20] local.INFO: IMEI packet received {"connection_id":151306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":151306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:34:20] local.INFO: TCP Data received {"connection_id":151306,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96992b0012d80f04005db8e500004015028..."} 
[2026-08-10 07:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96992b0012d80f04005db8e500004015028..."} 
[2026-08-10 07:34:20] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96992b0012d80f04005db8e500004015028..."} 
[2026-08-10 07:34:20] local.INFO: Packet analysis {"connection_id":151306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe969"} 
[2026-08-10 07:34:20] local.INFO: Extracted packet for processing {"connection_id":151306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe969"} 
[2026-08-10 07:34:20] local.INFO: GPS Element Parsed {"raw_longitude":763424832,"raw_latitude":98274896,"longitude_deg":76.3424832,"latitude_deg":9.8274896,"altitude":4,"angle":336,"satellites":40,"speed":44,"hex_longitude":"2d80f040","hex_latitude":"05db8e50","is_valid_coordinates":true} 
[2026-08-10 07:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299822080001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117075456959709184,"note":"Value kept but may cause issues"} 
[2026-08-10 07:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152299580079153152,"note":"Value kept but may cause issues"} 
[2026-08-10 07:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786327438000,"timestamp_ms":1786327438000,"timestamp_seconds":1786327438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96992b0"} 
[2026-08-10 07:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 07:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299822080001,"66":13493,"153":206,"85":15104,"24":44,"16":117075456959709184,"45":-9152299580079153152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-10 07:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299822080001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:34:20] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 07:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117075456959709184,"km_value":117075456959709.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152299580079153152,"description":"Unknown IO ID 45"} 
[2026-08-10 07:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299822080001,"power":13493,"unknown_153":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9152299580079153152}} 
[2026-08-10 07:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":151306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:34:20] local.INFO: GPS data processed {"connection_id":151306,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:34:20] local.INFO: Acknowledgment sent {"connection_id":151306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:34:37] local.INFO: TCP Data received {"connection_id":152596,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:34:37] local.INFO: Processing buffer {"connection_id":152596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:34:37] local.INFO: Packet analysis {"connection_id":152596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:34:37] local.INFO: Extracted packet for processing {"connection_id":152596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299717632001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786327323000,"timestamp_ms":1786327323000,"timestamp_seconds":1786327323,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967d178"} 
[2026-08-10 07:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299717632001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299717632001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299717632001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":152596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:34:37] local.INFO: GPS data processed {"connection_id":152596,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:34:37] local.INFO: Acknowledgment sent {"connection_id":152596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:34:51] local.INFO: TCP Data received {"connection_id":151306,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe969a250012d80e80005db9d400004014528..."} 
[2026-08-10 07:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe969a250012d80e80005db9d400004014528..."} 
[2026-08-10 07:34:51] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe969a250012d80e80005db9d400004014528..."} 
[2026-08-10 07:34:51] local.INFO: Packet analysis {"connection_id":151306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe969"} 
[2026-08-10 07:34:51] local.INFO: Extracted packet for processing {"connection_id":151306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe969"} 
[2026-08-10 07:34:51] local.INFO: GPS Element Parsed {"raw_longitude":763422720,"raw_latitude":98278720,"longitude_deg":76.342272,"latitude_deg":9.827872,"altitude":4,"angle":325,"satellites":40,"speed":42,"hex_longitude":"2d80e800","hex_latitude":"05db9d40","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299824128001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117075667413106688,"note":"Value kept but may cause issues"} 
[2026-08-10 07:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155747648541667328,"note":"Value kept but may cause issues"} 
[2026-08-10 07:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786327442000,"timestamp_ms":1786327442000,"timestamp_seconds":1786327442,"priority":1,"record_length":96,"hex_timestamp":"0000019fe969a250"} 
[2026-08-10 07:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 07:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299824128001,"66":13319,"154":206,"85":15104,"24":42,"16":117075667413106688,"45":-9155747648541667328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-10 07:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299824128001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:34:51] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-10 07:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117075667413106688,"km_value":117075667413106.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155747648541667328,"description":"Unknown IO ID 45"} 
[2026-08-10 07:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299824128001,"power":13319,"unknown_154":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9155747648541667328}} 
[2026-08-10 07:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":151306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:34:51] local.INFO: GPS data processed {"connection_id":151306,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:34:51] local.INFO: Acknowledgment sent {"connection_id":151306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:35:00] local.INFO: TCP Data received {"connection_id":154052,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:35:00] local.INFO: Processing buffer {"connection_id":154052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:35:00] local.INFO: IMEI packet received {"connection_id":154052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":154052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:35:05] local.INFO: TCP Data received {"connection_id":154052,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:35:05] local.INFO: Processing buffer {"connection_id":154052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:35:05] local.INFO: IMEI packet received {"connection_id":154052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":154052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:35:06] local.INFO: TCP Data received {"connection_id":154052,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:35:06] local.INFO: Processing buffer {"connection_id":154052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:35:06] local.INFO: Packet analysis {"connection_id":154052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:35:06] local.INFO: Extracted packet for processing {"connection_id":154052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299717632001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786327323000,"timestamp_ms":1786327323000,"timestamp_seconds":1786327323,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967d178"} 
[2026-08-10 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-08-10 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299717632001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299717632001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299717632001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":154052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:35:06] local.INFO: GPS data processed {"connection_id":154052,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:35:06] local.INFO: Acknowledgment sent {"connection_id":154052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:35:14] local.INFO: TCP Data received {"connection_id":152597,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:35:14] local.INFO: Processing buffer {"connection_id":152597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:35:14] local.INFO: IMEI packet received {"connection_id":152597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":152597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:35:20] local.INFO: TCP Data received {"connection_id":152597,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:35:20] local.INFO: Processing buffer {"connection_id":152597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:35:20] local.INFO: IMEI packet received {"connection_id":152597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":152597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:35:20] local.INFO: TCP Data received {"connection_id":152597,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe969c578012d80d3c005dbb9a80006014529..."} 
[2026-08-10 07:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe969c578012d80d3c005dbb9a80006014529..."} 
[2026-08-10 07:35:20] local.INFO: Processing buffer {"connection_id":152597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe969c578012d80d3c005dbb9a80006014529..."} 
[2026-08-10 07:35:20] local.INFO: Packet analysis {"connection_id":152597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe969"} 
[2026-08-10 07:35:20] local.INFO: Extracted packet for processing {"connection_id":152597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe969"} 
[2026-08-10 07:35:20] local.INFO: GPS Element Parsed {"raw_longitude":763417536,"raw_latitude":98285992,"longitude_deg":76.3417536,"latitude_deg":9.8285992,"altitude":6,"angle":325,"satellites":41,"speed":37,"hex_longitude":"2d80d3c0","hex_latitude":"05dbb9a8","is_valid_coordinates":true} 
[2026-08-10 07:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299825152001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117076101204803584,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9158069817098551296,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786327451000,"timestamp_ms":1786327451000,"timestamp_seconds":1786327451,"priority":1,"record_length":96,"hex_timestamp":"0000019fe969c578"} 
[2026-08-10 07:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3915975160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2166046725,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":219,"raw_value":78813019270424320,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828599502,"corrected_to":0} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2147560833,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422376,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3674740736,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.WARNING: Large IO value detected {"io_id":105,"raw_value":155375482097418245,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:20] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,154,85,24,241,157,16,239,159,146,45,64,142,4,40,10,66,153,115,128,108,3,41,95,1,240,161,227,238,233,219,113,205,44,29,47,8,37,51,2,5,6,39,105],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2828599502,"validated":0}]} 
[2026-08-10 07:35:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288587889232183296,"timestamp_seconds":288587889232183.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299825152001,"66":13472,"154":206,"85":15104,"24":37,"16":117076101204803584,"45":-9158069817098551296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-10 07:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299825152001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:35:20] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-10 07:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117076101204803584,"km_value":117076101204803.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9158069817098551296,"description":"Unknown IO ID 45"} 
[2026-08-10 07:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299825152001,"power":13472,"unknown_154":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9158069817098551296}} 
[2026-08-10 07:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":152597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:35:20] local.INFO: GPS data processed {"connection_id":152597,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:35:20] local.INFO: Acknowledgment sent {"connection_id":152597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:35:37] local.INFO: TCP Data received {"connection_id":154052,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:35:37] local.INFO: Processing buffer {"connection_id":154052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:35:37] local.INFO: Packet analysis {"connection_id":154052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:35:37] local.INFO: Extracted packet for processing {"connection_id":154052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299717632001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786327323000,"timestamp_ms":1786327323000,"timestamp_seconds":1786327323,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967d178"} 
[2026-08-10 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-08-10 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299717632001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299717632001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299717632001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":154052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:35:37] local.INFO: GPS data processed {"connection_id":154052,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:35:37] local.INFO: Acknowledgment sent {"connection_id":154052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:35:54] local.INFO: TCP Data received {"connection_id":152597,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96af240012d80658005dca7d8000b011128..."} 
[2026-08-10 07:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96af240012d80658005dca7d8000b011128..."} 
[2026-08-10 07:35:54] local.INFO: Processing buffer {"connection_id":152597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96af240012d80658005dca7d8000b011128..."} 
[2026-08-10 07:35:54] local.INFO: Packet analysis {"connection_id":152597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96a"} 
[2026-08-10 07:35:54] local.INFO: Extracted packet for processing {"connection_id":152597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96a"} 
[2026-08-10 07:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763389312,"raw_latitude":98346968,"longitude_deg":76.3389312,"latitude_deg":9.8346968,"altitude":11,"angle":273,"satellites":40,"speed":16,"hex_longitude":"2d806580","hex_latitude":"05dca7d8","is_valid_coordinates":true} 
[2026-08-10 07:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299846912001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117079373969883136,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194450457820952576,"note":"Value kept but may cause issues"} 
[2026-08-10 07:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786327528000,"timestamp_ms":1786327528000,"timestamp_seconds":1786327528,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96af240"} 
[2026-08-10 07:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-10 07:35: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-08-10 07:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299846912001,"66":13341,"251":206,"85":15104,"24":16,"16":117079373969883136,"45":-9194450457820952576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-10 07:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299846912001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:35:54] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-10 07:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117079373969883136,"km_value":117079373969883.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194450457820952576,"description":"Unknown IO ID 45"} 
[2026-08-10 07:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299846912001,"power":13341,"unknown_251":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9194450457820952576}} 
[2026-08-10 07:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":152597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:35:55] local.INFO: GPS data processed {"connection_id":152597,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:35:55] local.INFO: Acknowledgment sent {"connection_id":152597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:35:59] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:35:59] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:35:59] local.INFO: IMEI packet received {"connection_id":151687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":151687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:36:05] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:36:05] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:36:05] local.INFO: IMEI packet received {"connection_id":151687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":151687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:36:06] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:36:06] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:36:06] local.INFO: Packet analysis {"connection_id":151687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:36:06] local.INFO: Extracted packet for processing {"connection_id":151687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299717632001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786327323000,"timestamp_ms":1786327323000,"timestamp_seconds":1786327323,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967d178"} 
[2026-08-10 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-08-10 07:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 07:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299717632001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299717632001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299717632001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":151687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:36:06] local.INFO: GPS data processed {"connection_id":151687,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:36:06] local.INFO: Acknowledgment sent {"connection_id":151687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:36:20] local.INFO: TCP Data received {"connection_id":152598,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:36:20] local.INFO: Processing buffer {"connection_id":152598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:36:20] local.INFO: IMEI packet received {"connection_id":152598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":152598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:36:20] local.INFO: TCP Data received {"connection_id":152598,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:36:20] local.INFO: Processing buffer {"connection_id":152598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:36:20] local.INFO: IMEI packet received {"connection_id":152598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":152598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:36:25] local.INFO: TCP Data received {"connection_id":152598,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:36:25] local.INFO: Processing buffer {"connection_id":152598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:36:25] local.INFO: IMEI packet received {"connection_id":152598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":152598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:36:26] local.INFO: TCP Data received {"connection_id":152598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96af628012d80638005dca7a8000c010328..."} 
[2026-08-10 07:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96af628012d80638005dca7a8000c010328..."} 
[2026-08-10 07:36:26] local.INFO: Processing buffer {"connection_id":152598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96af628012d80638005dca7a8000c010328..."} 
[2026-08-10 07:36:26] local.INFO: Packet analysis {"connection_id":152598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96a"} 
[2026-08-10 07:36:26] local.INFO: Extracted packet for processing {"connection_id":152598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96a"} 
[2026-08-10 07:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763388800,"raw_latitude":98346920,"longitude_deg":76.33888,"latitude_deg":9.834692,"altitude":12,"angle":259,"satellites":40,"speed":17,"hex_longitude":"2d806380","hex_latitude":"05dca7a8","is_valid_coordinates":true} 
[2026-08-10 07:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299847168001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117079395444719616,"note":"Value kept but may cause issues"} 
[2026-08-10 07:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194802301541820416,"note":"Value kept but may cause issues"} 
[2026-08-10 07:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786327529000,"timestamp_ms":1786327529000,"timestamp_seconds":1786327529,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96af628"} 
[2026-08-10 07:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 07:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299847168001,"66":13341,"251":206,"85":15104,"24":17,"16":117079395444719616,"45":-9194802301541820416},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-10 07:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299847168001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:36:26] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-10 07:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117079395444719616,"km_value":117079395444719.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194802301541820416,"description":"Unknown IO ID 45"} 
[2026-08-10 07:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299847168001,"power":13341,"unknown_251":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9194802301541820416}} 
[2026-08-10 07:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":152598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:36:26] local.INFO: GPS data processed {"connection_id":152598,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:36:26] local.INFO: Acknowledgment sent {"connection_id":152598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:36:37] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:36:37] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:36:37] local.INFO: Packet analysis {"connection_id":151687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:36:37] local.INFO: Extracted packet for processing {"connection_id":151687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299717632001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786327323000,"timestamp_ms":1786327323000,"timestamp_seconds":1786327323,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967d178"} 
[2026-08-10 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-08-10 07:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299717632001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299717632001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299717632001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":151687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:36:37] local.INFO: GPS data processed {"connection_id":151687,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:36:37] local.INFO: Acknowledgment sent {"connection_id":151687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:36:59] local.INFO: TCP Data received {"connection_id":151307,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:36:59] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:36:59] local.INFO: IMEI packet received {"connection_id":151307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":151307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:37:05] local.INFO: TCP Data received {"connection_id":151307,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:37:05] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:37:05] local.INFO: IMEI packet received {"connection_id":151307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":151307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:37:06] local.INFO: TCP Data received {"connection_id":152598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96b30c0012d803e4005dca0d0000a010227..."} 
[2026-08-10 07:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96b30c0012d803e4005dca0d0000a010227..."} 
[2026-08-10 07:37:06] local.INFO: Processing buffer {"connection_id":152598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96b30c0012d803e4005dca0d0000a010227..."} 
[2026-08-10 07:37:06] local.INFO: Packet analysis {"connection_id":152598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96b"} 
[2026-08-10 07:37:06] local.INFO: Extracted packet for processing {"connection_id":152598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96b"} 
[2026-08-10 07:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763379264,"raw_latitude":98345168,"longitude_deg":76.3379264,"latitude_deg":9.8345168,"altitude":10,"angle":258,"satellites":39,"speed":31,"hex_longitude":"2d803e40","hex_latitude":"05dca0d0","is_valid_coordinates":true} 
[2026-08-10 07:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299847424001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117079859301187584,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195365251495254016,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786327544000,"timestamp_ms":1786327544000,"timestamp_seconds":1786327544,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96b30c0"} 
[2026-08-10 07:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 07:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:37: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-08-10 07:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299847424001,"66":13406,"251":206,"85":15104,"24":31,"16":117079859301187584,"45":-9195365251495254016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-10 07:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299847424001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:37:06] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-10 07:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117079859301187584,"km_value":117079859301187.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195365251495254016,"description":"Unknown IO ID 45"} 
[2026-08-10 07:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299847424001,"power":13406,"unknown_251":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9195365251495254016}} 
[2026-08-10 07:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":152598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:37:06] local.INFO: GPS data processed {"connection_id":152598,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:37:06] local.INFO: Acknowledgment sent {"connection_id":152598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:37:07] local.INFO: TCP Data received {"connection_id":151307,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:37:07] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:37:07] local.INFO: Packet analysis {"connection_id":151307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:37:07] local.INFO: Extracted packet for processing {"connection_id":151307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299717632001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786327323000,"timestamp_ms":1786327323000,"timestamp_seconds":1786327323,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967d178"} 
[2026-08-10 07:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299717632001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299717632001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299717632001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":151307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:37:07] local.INFO: GPS data processed {"connection_id":151307,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:37:07] local.INFO: Acknowledgment sent {"connection_id":151307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:37:21] local.INFO: TCP Data received {"connection_id":152598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c3678012d7f7ec005dcca10000b013a26..."} 
[2026-08-10 07:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c3678012d7f7ec005dcca10000b013a26..."} 
[2026-08-10 07:37:21] local.INFO: Processing buffer {"connection_id":152598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c3678012d7f7ec005dcca10000b013a26..."} 
[2026-08-10 07:37:21] local.INFO: Packet analysis {"connection_id":152598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:37:21] local.INFO: Extracted packet for processing {"connection_id":152598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:37:21] local.INFO: GPS Element Parsed {"raw_longitude":763330240,"raw_latitude":98355728,"longitude_deg":76.333024,"latitude_deg":9.8355728,"altitude":11,"angle":314,"satellites":38,"speed":50,"hex_longitude":"2d7f7ec0","hex_latitude":"05dcca10","is_valid_coordinates":true} 
[2026-08-10 07:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299867904001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117082865778294784,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188821008642115584,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786327611000,"timestamp_ms":1786327611000,"timestamp_seconds":1786327611,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c3678"} 
[2026-08-10 07:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 07:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299867904001,"66":13406,"251":206,"85":15104,"24":50,"16":117082865778294784,"45":9188821008642115584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-10 07:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299867904001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:37:21] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-10 07:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117082865778294784,"km_value":117082865778294.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188821008642115584,"description":"Unknown IO ID 45"} 
[2026-08-10 07:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299867904001,"power":13406,"unknown_251":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9188821008642115584}} 
[2026-08-10 07:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":152598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:37:21] local.INFO: GPS data processed {"connection_id":152598,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:37:21] local.INFO: Acknowledgment sent {"connection_id":152598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:37:22] local.INFO: TCP Data received {"connection_id":151688,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:37:22] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:37:22] local.INFO: IMEI packet received {"connection_id":151688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":151688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:37:24] local.INFO: TCP Data received {"connection_id":151688,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:37:24] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:37:24] local.INFO: IMEI packet received {"connection_id":151688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":151688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:37:38] local.INFO: TCP Data received {"connection_id":151688,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:37:38] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:37:38] local.INFO: IMEI packet received {"connection_id":151688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":151688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:37:39] local.INFO: TCP Data received {"connection_id":151307,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:37:39] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe967d178012d34c20006aa3f08000700f32d..."} 
[2026-08-10 07:37:39] local.INFO: Packet analysis {"connection_id":151307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:37:39] local.INFO: Extracted packet for processing {"connection_id":151307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe967"} 
[2026-08-10 07:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299717632001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786327323000,"timestamp_ms":1786327323000,"timestamp_seconds":1786327323,"priority":1,"record_length":96,"hex_timestamp":"0000019fe967d178"} 
[2026-08-10 07:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299717632001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299717632001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:37:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299717632001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":151307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:37:39] local.INFO: GPS data processed {"connection_id":151307,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:37:39] local.INFO: Acknowledgment sent {"connection_id":151307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:37:39] local.INFO: TCP Data received {"connection_id":151688,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c3e48012d7f788005dcd188000a014925..."} 
[2026-08-10 07:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c3e48012d7f788005dcd188000a014925..."} 
[2026-08-10 07:37:39] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c3e48012d7f788005dcd188000a014925..."} 
[2026-08-10 07:37:39] local.INFO: Packet analysis {"connection_id":151688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:37:39] local.INFO: Extracted packet for processing {"connection_id":151688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763328640,"raw_latitude":98357640,"longitude_deg":76.332864,"latitude_deg":9.835764,"altitude":10,"angle":329,"satellites":37,"speed":48,"hex_longitude":"2d7f7880","hex_latitude":"05dcd188","is_valid_coordinates":true} 
[2026-08-10 07:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299868416001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117082986037379072,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186991421293989888,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786327613000,"timestamp_ms":1786327613000,"timestamp_seconds":1786327613,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c3e48"} 
[2026-08-10 07:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 07:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:37: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-08-10 07:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299868416001,"66":13439,"251":206,"85":15104,"24":48,"16":117082986037379072,"45":9186991421293989888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-10 07:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299868416001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:37:39] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-10 07:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117082986037379072,"km_value":117082986037379.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186991421293989888,"description":"Unknown IO ID 45"} 
[2026-08-10 07:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299868416001,"power":13439,"unknown_251":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9186991421293989888}} 
[2026-08-10 07:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":151688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:37:39] local.INFO: GPS data processed {"connection_id":151688,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:37:39] local.INFO: Acknowledgment sent {"connection_id":151688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:37:40] local.INFO: TCP Data received {"connection_id":151688,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c4618012d7f750005dcdab00009015a26..."} 
[2026-08-10 07:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c4618012d7f750005dcdab00009015a26..."} 
[2026-08-10 07:37:40] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c4618012d7f750005dcdab00009015a26..."} 
[2026-08-10 07:37:40] local.INFO: Packet analysis {"connection_id":151688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:37:40] local.INFO: Extracted packet for processing {"connection_id":151688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763327744,"raw_latitude":98359984,"longitude_deg":76.3327744,"latitude_deg":9.8359984,"altitude":9,"angle":346,"satellites":38,"speed":50,"hex_longitude":"2d7f7500","hex_latitude":"05dcdab0","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299868928001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117083110591430656,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185232202690037760,"note":"Value kept but may cause issues"} 
[2026-08-10 07:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786327615000,"timestamp_ms":1786327615000,"timestamp_seconds":1786327615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c4618"} 
[2026-08-10 07:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:37: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-08-10 07: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-10 07:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299868928001,"66":13222,"251":206,"85":15104,"24":50,"16":117083110591430656,"45":9185232202690037760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-10 07:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299868928001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:37:40] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-10 07:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117083110591430656,"km_value":117083110591430.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185232202690037760,"description":"Unknown IO ID 45"} 
[2026-08-10 07:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299868928001,"power":13222,"unknown_251":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9185232202690037760}} 
[2026-08-10 07:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":151688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:37:40] local.INFO: GPS data processed {"connection_id":151688,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:37:40] local.INFO: Acknowledgment sent {"connection_id":151688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:38:05] local.INFO: TCP Data received {"connection_id":154053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:38:05] local.INFO: Processing buffer {"connection_id":154053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:38:05] local.INFO: IMEI packet received {"connection_id":154053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":154053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:38:09] local.INFO: TCP Data received {"connection_id":154053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:38:09] local.INFO: Processing buffer {"connection_id":154053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:38:09] local.INFO: IMEI packet received {"connection_id":154053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":154053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:38:10] local.INFO: TCP Data received {"connection_id":154053,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:38:10] local.INFO: Processing buffer {"connection_id":154053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:38:10] local.INFO: Packet analysis {"connection_id":154053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:38:10] local.INFO: Extracted packet for processing {"connection_id":154053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299794688001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786327624000,"timestamp_ms":1786327624000,"timestamp_seconds":1786327624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c6940"} 
[2026-08-10 07:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:38: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-08-10 07: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-08-10 07:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299794688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299794688001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299794688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":154053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:38:10] local.INFO: GPS data processed {"connection_id":154053,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:38:10] local.INFO: Acknowledgment sent {"connection_id":154053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:38:14] local.INFO: TCP Data received {"connection_id":151689,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:38:14] local.INFO: Processing buffer {"connection_id":151689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:38:14] local.INFO: IMEI packet received {"connection_id":151689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":151689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:38:18] local.INFO: TCP Data received {"connection_id":151689,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:38:18] local.INFO: Processing buffer {"connection_id":151689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:38:18] local.INFO: IMEI packet received {"connection_id":151689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":151689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:38:19] local.INFO: TCP Data received {"connection_id":151689,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96d1520012d7f2e4005ddc6580005014c28..."} 
[2026-08-10 07:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96d1520012d7f2e4005ddc6580005014c28..."} 
[2026-08-10 07:38:19] local.INFO: Processing buffer {"connection_id":151689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96d1520012d7f2e4005ddc6580005014c28..."} 
[2026-08-10 07:38:19] local.INFO: Packet analysis {"connection_id":151689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96d"} 
[2026-08-10 07:38:19] local.INFO: Extracted packet for processing {"connection_id":151689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96d"} 
[2026-08-10 07:38:19] local.INFO: GPS Element Parsed {"raw_longitude":763309632,"raw_latitude":98420312,"longitude_deg":76.3309632,"latitude_deg":9.8420312,"altitude":5,"angle":332,"satellites":40,"speed":47,"hex_longitude":"2d7f2e40","hex_latitude":"05ddc658","is_valid_coordinates":true} 
[2026-08-10 07:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299881216001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117086211557818368,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167710385403848704,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786327668000,"timestamp_ms":1786327668000,"timestamp_seconds":1786327668,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96d1520"} 
[2026-08-10 07:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":248,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3916205160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2229281845635196416,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2818649471,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2147867981,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710320640,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57885769637713211,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-8892356169321807867,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:19] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,111,85,24,241,157,16,248,159,238,45,128,155,6,41,10,66,230,64,147,214,192,1,240,133,227,233,221,4,113,205,49,171,71,176,39,239,52,2,5,7,43,220,108],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[]} 
[2026-08-10 07:38:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360666373991170048,"timestamp_seconds":360666373991170.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299881216001,"66":13428,"111":206,"85":15104,"24":47,"16":117086211557818368,"45":9167710385403848704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-10 07:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299881216001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:38:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-10 07:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117086211557818368,"km_value":117086211557818.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167710385403848704,"description":"Unknown IO ID 45"} 
[2026-08-10 07:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299881216001,"power":13428,"unknown_111":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9167710385403848704}} 
[2026-08-10 07:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":151689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:38:19] local.INFO: GPS data processed {"connection_id":151689,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:38:19] local.INFO: Acknowledgment sent {"connection_id":151689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:38:42] local.INFO: TCP Data received {"connection_id":154053,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:38:42] local.INFO: Processing buffer {"connection_id":154053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:38:42] local.INFO: Packet analysis {"connection_id":154053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:38:42] local.INFO: Extracted packet for processing {"connection_id":154053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299794688001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786327624000,"timestamp_ms":1786327624000,"timestamp_seconds":1786327624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c6940"} 
[2026-08-10 07:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":154053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":154053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":154053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299794688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299794688001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:38:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299794688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":154053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:38:42] local.INFO: GPS data processed {"connection_id":154053,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:38:42] local.INFO: Acknowledgment sent {"connection_id":154053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:38:50] local.INFO: TCP Data received {"connection_id":151689,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96d3460012d7f19c005dde4d00005014d28..."} 
[2026-08-10 07:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96d3460012d7f19c005dde4d00005014d28..."} 
[2026-08-10 07:38:50] local.INFO: Processing buffer {"connection_id":151689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96d3460012d7f19c005dde4d00005014d28..."} 
[2026-08-10 07:38:50] local.INFO: Packet analysis {"connection_id":151689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96d"} 
[2026-08-10 07:38:50] local.INFO: Extracted packet for processing {"connection_id":151689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96d"} 
[2026-08-10 07:38:50] local.INFO: GPS Element Parsed {"raw_longitude":763304384,"raw_latitude":98428112,"longitude_deg":76.3304384,"latitude_deg":9.8428112,"altitude":5,"angle":333,"satellites":40,"speed":38,"hex_longitude":"2d7f19c0","hex_latitude":"05dde4d0","is_valid_coordinates":true} 
[2026-08-10 07:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299883008001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117086666824351744,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164332685685315584,"note":"Value kept but may cause issues"} 
[2026-08-10 07:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786327676000,"timestamp_ms":1786327676000,"timestamp_seconds":1786327676,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96d3460"} 
[2026-08-10 07:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-10 07:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299883008001,"66":12461,"111":206,"85":15104,"24":38,"16":117086666824351744,"45":9164332685685315584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-10 07:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299883008001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:38:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-10 07:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117086666824351744,"km_value":117086666824351.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164332685685315584,"description":"Unknown IO ID 45"} 
[2026-08-10 07:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299883008001,"power":12461,"unknown_111":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9164332685685315584}} 
[2026-08-10 07:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":151689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:38:50] local.INFO: GPS data processed {"connection_id":151689,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:38:50] local.INFO: Acknowledgment sent {"connection_id":151689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:39:00] local.INFO: TCP Data received {"connection_id":152599,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:39:00] local.INFO: Processing buffer {"connection_id":152599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:39:00] local.INFO: IMEI packet received {"connection_id":152599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":152599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:39:05] local.INFO: TCP Data received {"connection_id":152599,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:39:05] local.INFO: Processing buffer {"connection_id":152599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:39:05] local.INFO: IMEI packet received {"connection_id":152599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":152599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:39:06] local.INFO: TCP Data received {"connection_id":152599,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:39:06] local.INFO: Processing buffer {"connection_id":152599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:39:06] local.INFO: Packet analysis {"connection_id":152599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:39:06] local.INFO: Extracted packet for processing {"connection_id":152599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299794688001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786327624000,"timestamp_ms":1786327624000,"timestamp_seconds":1786327624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c6940"} 
[2026-08-10 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-08-10 07:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299794688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299794688001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299794688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":152599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:39:06] local.INFO: GPS data processed {"connection_id":152599,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:39:06] local.INFO: Acknowledgment sent {"connection_id":152599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:39:14] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:39:14] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:39:14] local.INFO: IMEI packet received {"connection_id":151690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":151690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:39:15] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:39:15] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:39:15] local.INFO: IMEI packet received {"connection_id":151690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":151690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:39:20] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:39:20] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:39:20] local.INFO: IMEI packet received {"connection_id":151690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":151690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:39:20] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96d8668012d7f0d8005de00e00008015229..."} 
[2026-08-10 07:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96d8668012d7f0d8005de00e00008015229..."} 
[2026-08-10 07:39:20] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96d8668012d7f0d8005de00e00008015229..."} 
[2026-08-10 07:39:20] local.INFO: Packet analysis {"connection_id":151690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96d"} 
[2026-08-10 07:39:20] local.INFO: Extracted packet for processing {"connection_id":151690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96d"} 
[2026-08-10 07:39:20] local.INFO: GPS Element Parsed {"raw_longitude":763301248,"raw_latitude":98435296,"longitude_deg":76.3301248,"latitude_deg":9.8435296,"altitude":8,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d7f0d80","hex_latitude":"05de00e0","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299885056001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117087053371408384,"note":"Value kept but may cause issues"} 
[2026-08-10 07:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158562448664743936,"note":"Value kept but may cause issues"} 
[2026-08-10 07:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786327697000,"timestamp_ms":1786327697000,"timestamp_seconds":1786327697,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96d8668"} 
[2026-08-10 07:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 07:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299885056001,"66":13091,"101":206,"85":15104,"24":0,"16":117087053371408384,"45":9158562448664743936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-08-10 07:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299885056001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:39:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 07:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117087053371408384,"km_value":117087053371408.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158562448664743936,"description":"Unknown IO ID 45"} 
[2026-08-10 07:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299885056001,"power":13091,"unknown_101":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9158562448664743936}} 
[2026-08-10 07:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":151690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:39:20] local.INFO: GPS data processed {"connection_id":151690,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:39:20] local.INFO: Acknowledgment sent {"connection_id":151690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:39:37] local.INFO: TCP Data received {"connection_id":152599,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:39:37] local.INFO: Processing buffer {"connection_id":152599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:39:37] local.INFO: Packet analysis {"connection_id":152599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:39:37] local.INFO: Extracted packet for processing {"connection_id":152599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299794688001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786327624000,"timestamp_ms":1786327624000,"timestamp_seconds":1786327624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c6940"} 
[2026-08-10 07:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299794688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299794688001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299794688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":152599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:39:37] local.INFO: GPS data processed {"connection_id":152599,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:39:37] local.INFO: Acknowledgment sent {"connection_id":152599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:39:52] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96dd870012d7f058005de1460000d015128..."} 
[2026-08-10 07:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96dd870012d7f058005de1460000d015128..."} 
[2026-08-10 07:39:52] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96dd870012d7f058005de1460000d015128..."} 
[2026-08-10 07:39:52] local.INFO: Packet analysis {"connection_id":151690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96d"} 
[2026-08-10 07:39:52] local.INFO: Extracted packet for processing {"connection_id":151690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96d"} 
[2026-08-10 07:39:52] local.INFO: GPS Element Parsed {"raw_longitude":763299200,"raw_latitude":98440288,"longitude_deg":76.32992,"latitude_deg":9.8440288,"altitude":13,"angle":337,"satellites":40,"speed":29,"hex_longitude":"2d7f0580","hex_latitude":"05de1460","is_valid_coordinates":true} 
[2026-08-10 07:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299890432001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117087315364413440,"note":"Value kept but may cause issues"} 
[2026-08-10 07:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155114380201877504,"note":"Value kept but may cause issues"} 
[2026-08-10 07:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786327718000,"timestamp_ms":1786327718000,"timestamp_seconds":1786327718,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96dd870"} 
[2026-08-10 07:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 07:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299890432001,"66":13450,"101":206,"85":15104,"24":29,"16":117087315364413440,"45":9155114380201877504},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-08-10 07:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299890432001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:39:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 07:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117087315364413440,"km_value":117087315364413.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155114380201877504,"description":"Unknown IO ID 45"} 
[2026-08-10 07:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299890432001,"power":13450,"unknown_101":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9155114380201877504}} 
[2026-08-10 07:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":151690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:39:52] local.INFO: GPS data processed {"connection_id":151690,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:39:52] local.INFO: Acknowledgment sent {"connection_id":151690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:39:59] local.INFO: TCP Data received {"connection_id":154054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:39:59] local.INFO: Processing buffer {"connection_id":154054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:39:59] local.INFO: IMEI packet received {"connection_id":154054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":154054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:40:05] local.INFO: TCP Data received {"connection_id":154054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:40:05] local.INFO: Processing buffer {"connection_id":154054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:40:05] local.INFO: IMEI packet received {"connection_id":154054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":154054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:40:06] local.INFO: TCP Data received {"connection_id":154054,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:40:06] local.INFO: Processing buffer {"connection_id":154054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:40:06] local.INFO: Packet analysis {"connection_id":154054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:40:06] local.INFO: Extracted packet for processing {"connection_id":154054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299794688001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786327624000,"timestamp_ms":1786327624000,"timestamp_seconds":1786327624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c6940"} 
[2026-08-10 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-08-10 07:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299794688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299794688001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299794688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":154054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:40:06] local.INFO: GPS data processed {"connection_id":154054,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:40:06] local.INFO: Acknowledgment sent {"connection_id":154054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:40:25] local.INFO: TCP Data received {"connection_id":154055,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:40:25] local.INFO: Processing buffer {"connection_id":154055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:40:25] local.INFO: IMEI packet received {"connection_id":154055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":154055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:40:28] local.INFO: TCP Data received {"connection_id":154055,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:40:28] local.INFO: Processing buffer {"connection_id":154055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:40:28] local.INFO: IMEI packet received {"connection_id":154055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":154055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:40:28] local.INFO: TCP Data received {"connection_id":154055,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96f1ca8012d7e928005df40480009014d28..."} 
[2026-08-10 07:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96f1ca8012d7e928005df40480009014d28..."} 
[2026-08-10 07:40:28] local.INFO: Processing buffer {"connection_id":154055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96f1ca8012d7e928005df40480009014d28..."} 
[2026-08-10 07:40:28] local.INFO: Packet analysis {"connection_id":154055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96f"} 
[2026-08-10 07:40:28] local.INFO: Extracted packet for processing {"connection_id":154055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96f"} 
[2026-08-10 07:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763269760,"raw_latitude":98517064,"longitude_deg":76.326976,"latitude_deg":9.8517064,"altitude":9,"angle":333,"satellites":40,"speed":35,"hex_longitude":"2d7e9280","hex_latitude":"05df4048","is_valid_coordinates":true} 
[2026-08-10 07:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299914240001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117091369813540864,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348401433470976,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786327801000,"timestamp_ms":1786327801000,"timestamp_seconds":1786327801,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96f1ca8"} 
[2026-08-10 07:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3916326160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3734943744,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":222,"raw_value":9007199297712695552,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2147560830,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2147868345,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57787466426242363,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.WARNING: Large IO value detected {"io_id":110,"raw_value":5030522078686674949,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,205,85,24,241,157,16,253,159,229,45,64,22,7,36,10,66,183,252,5,39,171,1,240,79,227,233,222,4,113,49,124,207,184,40,239,52,2,94,110],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[]} 
[2026-08-10 07:40:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576829256204943360,"timestamp_seconds":576829256204943.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":154055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":154055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":154055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299914240001,"66":13515,"206":206,"85":15104,"24":35,"16":117091369813540864,"45":9125348401433470976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-10 07:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299914240001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:40:28] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 07:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117091369813540864,"km_value":117091369813540.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348401433470976,"description":"Unknown IO ID 45"} 
[2026-08-10 07:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299914240001,"power":13515,"unknown_206":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9125348401433470976}} 
[2026-08-10 07:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":154055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:40:28] local.INFO: GPS data processed {"connection_id":154055,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:40:28] local.INFO: Acknowledgment sent {"connection_id":154055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:40:38] local.INFO: TCP Data received {"connection_id":154054,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:40:38] local.INFO: Processing buffer {"connection_id":154054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:40:38] local.INFO: Packet analysis {"connection_id":154054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:40:38] local.INFO: Extracted packet for processing {"connection_id":154054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299794688001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786327624000,"timestamp_ms":1786327624000,"timestamp_seconds":1786327624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c6940"} 
[2026-08-10 07:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299794688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299794688001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299794688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":154054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:40:38] local.INFO: GPS data processed {"connection_id":154054,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:40:38] local.INFO: Acknowledgment sent {"connection_id":154054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:40:59] local.INFO: TCP Data received {"connection_id":151691,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:40:59] local.INFO: Processing buffer {"connection_id":151691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:40:59] local.INFO: IMEI packet received {"connection_id":151691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":151691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:40:59] local.INFO: TCP Data received {"connection_id":154055,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96f3fd0012d7e868005df63380009015726..."} 
[2026-08-10 07:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96f3fd0012d7e868005df63380009015726..."} 
[2026-08-10 07:41:00] local.INFO: Processing buffer {"connection_id":154055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96f3fd0012d7e868005df63380009015726..."} 
[2026-08-10 07:41:00] local.INFO: Packet analysis {"connection_id":154055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96f"} 
[2026-08-10 07:41:00] local.INFO: Extracted packet for processing {"connection_id":154055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96f"} 
[2026-08-10 07:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763266688,"raw_latitude":98526008,"longitude_deg":76.3266688,"latitude_deg":9.8526008,"altitude":9,"angle":343,"satellites":38,"speed":47,"hex_longitude":"2d7e8680","hex_latitude":"05df6338","is_valid_coordinates":true} 
[2026-08-10 07:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299917056001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117091829375041536,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120492958087399424,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786327810000,"timestamp_ms":1786327810000,"timestamp_seconds":1786327810,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96f3fd0"} 
[2026-08-10 07:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 07:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299917056001,"66":13515,"206":206,"85":15104,"24":47,"16":117091829375041536,"45":9120492958087399424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-10 07:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299917056001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:41:00] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 07:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117091829375041536,"km_value":117091829375041.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120492958087399424,"description":"Unknown IO ID 45"} 
[2026-08-10 07:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299917056001,"power":13515,"unknown_206":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9120492958087399424}} 
[2026-08-10 07:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":154055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:41:00] local.INFO: GPS data processed {"connection_id":154055,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:41:00] local.INFO: Acknowledgment sent {"connection_id":154055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:41:05] local.INFO: TCP Data received {"connection_id":151691,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:41:05] local.INFO: Processing buffer {"connection_id":151691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:41:05] local.INFO: IMEI packet received {"connection_id":151691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":151691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:41:06] local.INFO: TCP Data received {"connection_id":151691,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:41:06] local.INFO: Processing buffer {"connection_id":151691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:41:06] local.INFO: Packet analysis {"connection_id":151691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:41:06] local.INFO: Extracted packet for processing {"connection_id":151691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299794688001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786327624000,"timestamp_ms":1786327624000,"timestamp_seconds":1786327624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c6940"} 
[2026-08-10 07:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299794688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299794688001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299794688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":151691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:41:06] local.INFO: GPS data processed {"connection_id":151691,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:41:06] local.INFO: Acknowledgment sent {"connection_id":151691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:41:13] local.INFO: TCP Data received {"connection_id":154056,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:41:13] local.INFO: Processing buffer {"connection_id":154056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:41:13] local.INFO: IMEI packet received {"connection_id":154056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":154056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:41:14] local.INFO: TCP Data received {"connection_id":154056,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:41:14] local.INFO: Processing buffer {"connection_id":154056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:41:14] local.INFO: IMEI packet received {"connection_id":154056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":154056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:41:18] local.INFO: TCP Data received {"connection_id":154056,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:41:18] local.INFO: Processing buffer {"connection_id":154056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:41:18] local.INFO: IMEI packet received {"connection_id":154056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":154056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:41:19] local.INFO: TCP Data received {"connection_id":154056,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96f5f10012d7e7b4005df86000009015328..."} 
[2026-08-10 07:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96f5f10012d7e7b4005df86000009015328..."} 
[2026-08-10 07:41:19] local.INFO: Processing buffer {"connection_id":154056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96f5f10012d7e7b4005df86000009015328..."} 
[2026-08-10 07:41:19] local.INFO: Packet analysis {"connection_id":154056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96f"} 
[2026-08-10 07:41:19] local.INFO: Extracted packet for processing {"connection_id":154056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96f"} 
[2026-08-10 07:41:19] local.INFO: GPS Element Parsed {"raw_longitude":763263808,"raw_latitude":98534912,"longitude_deg":76.3263808,"latitude_deg":9.8534912,"altitude":9,"angle":339,"satellites":40,"speed":45,"hex_longitude":"2d7e7b40","hex_latitude":"05df8600","is_valid_coordinates":true} 
[2026-08-10 07:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299919360001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117092280346607616,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117115258369161216,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786327818000,"timestamp_ms":1786327818000,"timestamp_seconds":1786327818,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96f5f10"} 
[2026-08-10 07:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 07:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299919360001,"66":13406,"206":206,"85":15104,"24":45,"16":117092280346607616,"45":9117115258369161216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-10 07:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299919360001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:41:19] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 07:41:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117092280346607616,"km_value":117092280346607.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117115258369161216,"description":"Unknown IO ID 45"} 
[2026-08-10 07:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299919360001,"power":13406,"unknown_206":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9117115258369161216}} 
[2026-08-10 07:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":154056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:41:19] local.INFO: GPS data processed {"connection_id":154056,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:41:19] local.INFO: Acknowledgment sent {"connection_id":154056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:41:37] local.INFO: TCP Data received {"connection_id":151691,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:41:37] local.INFO: Processing buffer {"connection_id":151691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:41:37] local.INFO: Packet analysis {"connection_id":151691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:41:37] local.INFO: Extracted packet for processing {"connection_id":151691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299794688001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786327624000,"timestamp_ms":1786327624000,"timestamp_seconds":1786327624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c6940"} 
[2026-08-10 07:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299794688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299794688001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299794688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":151691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:41:37] local.INFO: GPS data processed {"connection_id":151691,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:41:37] local.INFO: Acknowledgment sent {"connection_id":151691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:41:50] local.INFO: TCP Data received {"connection_id":154056,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe970b2e8012d7e12c005e0c1d00005014228..."} 
[2026-08-10 07:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe970b2e8012d7e12c005e0c1d00005014228..."} 
[2026-08-10 07:41:50] local.INFO: Processing buffer {"connection_id":154056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe970b2e8012d7e12c005e0c1d00005014228..."} 
[2026-08-10 07:41:50] local.INFO: Packet analysis {"connection_id":154056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe970"} 
[2026-08-10 07:41:50] local.INFO: Extracted packet for processing {"connection_id":154056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe970"} 
[2026-08-10 07:41:50] local.INFO: GPS Element Parsed {"raw_longitude":763237056,"raw_latitude":98615760,"longitude_deg":76.3237056,"latitude_deg":9.861576,"altitude":5,"angle":322,"satellites":40,"speed":28,"hex_longitude":"2d7e12c0","hex_latitude":"05e0c1d0","is_valid_coordinates":true} 
[2026-08-10 07:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299941888001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117096515184361472,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090023291882911744,"note":"Value kept but may cause issues"} 
[2026-08-10 07:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786327905000,"timestamp_ms":1786327905000,"timestamp_seconds":1786327905,"priority":1,"record_length":96,"hex_timestamp":"0000019fe970b2e8"} 
[2026-08-10 07:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:41: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":198,"data_length":795,"current_offset":136} 
[2026-08-10 07:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":154056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":154056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":154056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299941888001,"66":13472,"105":206,"85":15104,"24":28,"16":117096515184361472,"45":9090023291882911744},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-10 07:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299941888001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:41:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 07:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117096515184361472,"km_value":117096515184361.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090023291882911744,"description":"Unknown IO ID 45"} 
[2026-08-10 07:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299941888001,"power":13472,"unknown_105":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9090023291882911744}} 
[2026-08-10 07:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":154056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:41:50] local.INFO: GPS data processed {"connection_id":154056,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:41:50] local.INFO: Acknowledgment sent {"connection_id":154056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:41:59] local.INFO: TCP Data received {"connection_id":152600,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:41:59] local.INFO: Processing buffer {"connection_id":152600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:41:59] local.INFO: IMEI packet received {"connection_id":152600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":152600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:42:05] local.INFO: TCP Data received {"connection_id":152600,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:42:05] local.INFO: Processing buffer {"connection_id":152600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:42:05] local.INFO: IMEI packet received {"connection_id":152600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":152600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:42:05] local.INFO: TCP Data received {"connection_id":152600,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:42:05] local.INFO: Processing buffer {"connection_id":152600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:42:05] local.INFO: Packet analysis {"connection_id":152600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:42:05] local.INFO: Extracted packet for processing {"connection_id":152600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299794688001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786327624000,"timestamp_ms":1786327624000,"timestamp_seconds":1786327624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c6940"} 
[2026-08-10 07:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:42: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-08-10 07: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-08-10 07:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299794688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299794688001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:42:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299794688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":152600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:42:05] local.INFO: GPS data processed {"connection_id":152600,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:42:05] local.INFO: Acknowledgment sent {"connection_id":152600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:42:12] local.INFO: TCP Data received {"connection_id":154057,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:42:12] local.INFO: Processing buffer {"connection_id":154057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:42:12] local.INFO: IMEI packet received {"connection_id":154057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":154057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:42:15] local.INFO: TCP Data received {"connection_id":154057,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:42:15] local.INFO: Processing buffer {"connection_id":154057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:42:15] local.INFO: IMEI packet received {"connection_id":154057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":154057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:42:15] local.INFO: TCP Data received {"connection_id":154057,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:42:15] local.INFO: Processing buffer {"connection_id":154057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:42:15] local.INFO: IMEI packet received {"connection_id":154057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":154057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:42:18] local.INFO: TCP Data received {"connection_id":154057,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:42:18] local.INFO: Processing buffer {"connection_id":154057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:42:18] local.INFO: IMEI packet received {"connection_id":154057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":154057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:42:19] local.INFO: TCP Data received {"connection_id":154057,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe970b6d0012d7e114005e0c4400005014d28..."} 
[2026-08-10 07:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe970b6d0012d7e114005e0c4400005014d28..."} 
[2026-08-10 07:42:19] local.INFO: Processing buffer {"connection_id":154057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe970b6d0012d7e114005e0c4400005014d28..."} 
[2026-08-10 07:42:19] local.INFO: Packet analysis {"connection_id":154057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe970"} 
[2026-08-10 07:42:19] local.INFO: Extracted packet for processing {"connection_id":154057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe970"} 
[2026-08-10 07:42:19] local.INFO: GPS Element Parsed {"raw_longitude":763236672,"raw_latitude":98616384,"longitude_deg":76.3236672,"latitude_deg":9.8616384,"altitude":5,"angle":333,"satellites":40,"speed":29,"hex_longitude":"2d7e1140","hex_latitude":"05e0c440","is_valid_coordinates":true} 
[2026-08-10 07:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299943680001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117096549544099840,"note":"Value kept but may cause issues"} 
[2026-08-10 07:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084534529837879296,"note":"Value kept but may cause issues"} 
[2026-08-10 07:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786327906000,"timestamp_ms":1786327906000,"timestamp_seconds":1786327906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe970b6d0"} 
[2026-08-10 07:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 07:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299943680001,"66":13472,"105":206,"85":15104,"24":29,"16":117096549544099840,"45":9084534529837879296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-10 07:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299943680001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:42:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 07:42:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117096549544099840,"km_value":117096549544099.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084534529837879296,"description":"Unknown IO ID 45"} 
[2026-08-10 07:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299943680001,"power":13472,"unknown_105":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9084534529837879296}} 
[2026-08-10 07:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":154057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:42:19] local.INFO: GPS data processed {"connection_id":154057,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:42:19] local.INFO: Acknowledgment sent {"connection_id":154057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:42:37] local.INFO: TCP Data received {"connection_id":152600,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:42:37] local.INFO: Processing buffer {"connection_id":152600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe96c6940012d34c20006aa3f08000b00f32f..."} 
[2026-08-10 07:42:37] local.INFO: Packet analysis {"connection_id":152600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:42:37] local.INFO: Extracted packet for processing {"connection_id":152600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe96c"} 
[2026-08-10 07:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":11,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299794688001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786327624000,"timestamp_ms":1786327624000,"timestamp_seconds":1786327624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe96c6940"} 
[2026-08-10 07:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 07:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299794688001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299794688001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299794688001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":152600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:42:37] local.INFO: GPS data processed {"connection_id":152600,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:42:37] local.INFO: Acknowledgment sent {"connection_id":152600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:42:51] local.INFO: TCP Data received {"connection_id":154057,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe970bea0012d7e0f8005e0c9c80005015e28..."} 
[2026-08-10 07:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe970bea0012d7e0f8005e0c9c80005015e28..."} 
[2026-08-10 07:42:51] local.INFO: Processing buffer {"connection_id":154057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe970bea0012d7e0f8005e0c9c80005015e28..."} 
[2026-08-10 07:42:51] local.INFO: Packet analysis {"connection_id":154057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe970"} 
[2026-08-10 07:42:51] local.INFO: Extracted packet for processing {"connection_id":154057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe970"} 
[2026-08-10 07:42:51] local.INFO: GPS Element Parsed {"raw_longitude":763236224,"raw_latitude":98617800,"longitude_deg":76.3236224,"latitude_deg":9.86178,"altitude":5,"angle":350,"satellites":40,"speed":28,"hex_longitude":"2d7e0f80","hex_latitude":"05e0c9c8","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299943936001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117096622558543872,"note":"Value kept but may cause issues"} 
[2026-08-10 07:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084112317372973056,"note":"Value kept but may cause issues"} 
[2026-08-10 07:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786327908000,"timestamp_ms":1786327908000,"timestamp_seconds":1786327908,"priority":1,"record_length":96,"hex_timestamp":"0000019fe970bea0"} 
[2026-08-10 07:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 07:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299943936001,"66":13243,"105":206,"85":15104,"24":28,"16":117096622558543872,"45":9084112317372973056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-10 07:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299943936001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:42:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 07:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117096622558543872,"km_value":117096622558543.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084112317372973056,"description":"Unknown IO ID 45"} 
[2026-08-10 07:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299943936001,"power":13243,"unknown_105":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9084112317372973056}} 
[2026-08-10 07:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":154057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:42:51] local.INFO: GPS data processed {"connection_id":154057,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:42:51] local.INFO: Acknowledgment sent {"connection_id":154057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:43:05] local.INFO: TCP Data received {"connection_id":152601,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:43:05] local.INFO: Processing buffer {"connection_id":152601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:43:05] local.INFO: IMEI packet received {"connection_id":152601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":152601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:43:10] local.INFO: TCP Data received {"connection_id":152601,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:43:10] local.INFO: Processing buffer {"connection_id":152601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:43:10] local.INFO: IMEI packet received {"connection_id":152601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":152601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:43:11] local.INFO: TCP Data received {"connection_id":152601,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:43:11] local.INFO: Processing buffer {"connection_id":152601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:43:11] local.INFO: Packet analysis {"connection_id":152601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:43:11] local.INFO: Extracted packet for processing {"connection_id":152601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299871744001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786327925000,"timestamp_ms":1786327925000,"timestamp_seconds":1786327925,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9710108"} 
[2026-08-10 07:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299871744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299871744001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:43:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:43:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299871744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":152601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:43:11] local.INFO: GPS data processed {"connection_id":152601,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:43:11] local.INFO: Acknowledgment sent {"connection_id":152601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:43:13] local.INFO: TCP Data received {"connection_id":154058,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:43:13] local.INFO: Processing buffer {"connection_id":154058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:43:13] local.INFO: IMEI packet received {"connection_id":154058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":154058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:43:14] local.INFO: TCP Data received {"connection_id":154058,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:43:14] local.INFO: Processing buffer {"connection_id":154058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:43:14] local.INFO: IMEI packet received {"connection_id":154058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":154058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:43:19] local.INFO: TCP Data received {"connection_id":154058,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:43:19] local.INFO: Processing buffer {"connection_id":154058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:43:19] local.INFO: IMEI packet received {"connection_id":154058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":154058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:43:20] local.INFO: TCP Data received {"connection_id":154058,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe971a130012d7e184005e168e80007016026..."} 
[2026-08-10 07:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe971a130012d7e184005e168e80007016026..."} 
[2026-08-10 07:43:20] local.INFO: Processing buffer {"connection_id":154058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe971a130012d7e184005e168e80007016026..."} 
[2026-08-10 07:43:20] local.INFO: Packet analysis {"connection_id":154058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:43:20] local.INFO: Extracted packet for processing {"connection_id":154058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:43:20] local.INFO: GPS Element Parsed {"raw_longitude":763238464,"raw_latitude":98658536,"longitude_deg":76.3238464,"latitude_deg":9.8658536,"altitude":7,"angle":352,"satellites":38,"speed":40,"hex_longitude":"2d7e1840","hex_latitude":"05e168e8","is_valid_coordinates":true} 
[2026-08-10 07:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299956992001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117098649783107584,"note":"Value kept but may cause issues"} 
[2026-08-10 07:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087349279613673472,"note":"Value kept but may cause issues"} 
[2026-08-10 07:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786327966000,"timestamp_ms":1786327966000,"timestamp_seconds":1786327966,"priority":1,"record_length":96,"hex_timestamp":"0000019fe971a130"} 
[2026-08-10 07:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 07:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299956992001,"66":13298,"105":206,"85":15104,"24":40,"16":117098649783107584,"45":9087349279613673472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-10 07:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299956992001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:43:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 07:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117098649783107584,"km_value":117098649783107.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087349279613673472,"description":"Unknown IO ID 45"} 
[2026-08-10 07:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299956992001,"power":13298,"unknown_105":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9087349279613673472}} 
[2026-08-10 07:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":154058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:43:20] local.INFO: GPS data processed {"connection_id":154058,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:43:20] local.INFO: Acknowledgment sent {"connection_id":154058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:43:51] local.INFO: TCP Data received {"connection_id":154058,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97258c8012d7e278005e20d380007013328..."} 
[2026-08-10 07:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97258c8012d7e278005e20d380007013328..."} 
[2026-08-10 07:43:51] local.INFO: Processing buffer {"connection_id":154058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97258c8012d7e278005e20d380007013328..."} 
[2026-08-10 07:43:51] local.INFO: Packet analysis {"connection_id":154058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe972"} 
[2026-08-10 07:43:51] local.INFO: Extracted packet for processing {"connection_id":154058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe972"} 
[2026-08-10 07:43:51] local.INFO: GPS Element Parsed {"raw_longitude":763242368,"raw_latitude":98700600,"longitude_deg":76.3242368,"latitude_deg":9.87006,"altitude":7,"angle":307,"satellites":40,"speed":22,"hex_longitude":"2d7e2780","hex_latitude":"05e20d38","is_valid_coordinates":true} 
[2026-08-10 07:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299971072001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117100758612049920,"note":"Value kept but may cause issues"} 
[2026-08-10 07:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090867716835495936,"note":"Value kept but may cause issues"} 
[2026-08-10 07:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786328013000,"timestamp_ms":1786328013000,"timestamp_seconds":1786328013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97258c8"} 
[2026-08-10 07:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 07:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299971072001,"66":13515,"60":206,"85":15104,"24":22,"16":117100758612049920,"45":9090867716835495936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-10 07:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299971072001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:43:51] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-10 07:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117100758612049920,"km_value":117100758612049.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090867716835495936,"description":"Unknown IO ID 45"} 
[2026-08-10 07:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299971072001,"power":13515,"unknown_60":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9090867716835495936}} 
[2026-08-10 07:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":154058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:43:52] local.INFO: GPS data processed {"connection_id":154058,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:43:52] local.INFO: Acknowledgment sent {"connection_id":154058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:43:56] local.INFO: TCP Data received {"connection_id":152601,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:43:56] local.INFO: Processing buffer {"connection_id":152601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:43:56] local.INFO: Packet analysis {"connection_id":152601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:43:56] local.INFO: Extracted packet for processing {"connection_id":152601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:43:56] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299871744001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786327925000,"timestamp_ms":1786327925000,"timestamp_seconds":1786327925,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9710108"} 
[2026-08-10 07:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299871744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299871744001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:43:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:43:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299871744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":152601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:43:56] local.INFO: GPS data processed {"connection_id":152601,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:43:56] local.INFO: Acknowledgment sent {"connection_id":152601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:44:00] local.INFO: TCP Data received {"connection_id":152602,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:44:00] local.INFO: Processing buffer {"connection_id":152602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:44:00] local.INFO: IMEI packet received {"connection_id":152602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":152602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:44:05] local.INFO: TCP Data received {"connection_id":152602,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:44:05] local.INFO: Processing buffer {"connection_id":152602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:44:05] local.INFO: IMEI packet received {"connection_id":152602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":152602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:44:06] local.INFO: TCP Data received {"connection_id":152602,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:44:06] local.INFO: Processing buffer {"connection_id":152602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:44:06] local.INFO: Packet analysis {"connection_id":152602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:44:06] local.INFO: Extracted packet for processing {"connection_id":152602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299871744001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786327925000,"timestamp_ms":1786327925000,"timestamp_seconds":1786327925,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9710108"} 
[2026-08-10 07:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299871744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299871744001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299871744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":152602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:44:06] local.INFO: GPS data processed {"connection_id":152602,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:44:06] local.INFO: Acknowledgment sent {"connection_id":152602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:44:14] local.INFO: TCP Data received {"connection_id":154059,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:44:14] local.INFO: Processing buffer {"connection_id":154059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:44:14] local.INFO: IMEI packet received {"connection_id":154059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":154059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:44:15] local.INFO: TCP Data received {"connection_id":154059,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:44:15] local.INFO: Processing buffer {"connection_id":154059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:44:15] local.INFO: IMEI packet received {"connection_id":154059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":154059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:44:20] local.INFO: TCP Data received {"connection_id":154059,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:44:20] local.INFO: Processing buffer {"connection_id":154059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:44:20] local.INFO: IMEI packet received {"connection_id":154059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":154059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:44:20] local.INFO: TCP Data received {"connection_id":154059,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9725cb0012d7e250005e20e080007012129..."} 
[2026-08-10 07:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9725cb0012d7e250005e20e080007012129..."} 
[2026-08-10 07:44:20] local.INFO: Processing buffer {"connection_id":154059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9725cb0012d7e250005e20e080007012129..."} 
[2026-08-10 07:44:20] local.INFO: Packet analysis {"connection_id":154059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe972"} 
[2026-08-10 07:44:20] local.INFO: Extracted packet for processing {"connection_id":154059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe972"} 
[2026-08-10 07:44:20] local.INFO: GPS Element Parsed {"raw_longitude":763241728,"raw_latitude":98700808,"longitude_deg":76.3241728,"latitude_deg":9.8700808,"altitude":7,"angle":289,"satellites":41,"speed":24,"hex_longitude":"2d7e2500","hex_latitude":"05e20e08","is_valid_coordinates":true} 
[2026-08-10 07:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299971328001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117100788676820992,"note":"Value kept but may cause issues"} 
[2026-08-10 07:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090375135626344448,"note":"Value kept but may cause issues"} 
[2026-08-10 07:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786328014000,"timestamp_ms":1786328014000,"timestamp_seconds":1786328014,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9725cb0"} 
[2026-08-10 07:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 07:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299971328001,"66":13352,"60":206,"85":15104,"24":24,"16":117100788676820992,"45":9090375135626344448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-10 07:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299971328001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:44:20] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-10 07:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117100788676820992,"km_value":117100788676820.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090375135626344448,"description":"Unknown IO ID 45"} 
[2026-08-10 07:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299971328001,"power":13352,"unknown_60":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9090375135626344448}} 
[2026-08-10 07:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":154059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:44:20] local.INFO: GPS data processed {"connection_id":154059,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:44:20] local.INFO: Acknowledgment sent {"connection_id":154059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:44:38] local.INFO: TCP Data received {"connection_id":152602,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:44:38] local.INFO: Processing buffer {"connection_id":152602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:44:38] local.INFO: Packet analysis {"connection_id":152602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:44:38] local.INFO: Extracted packet for processing {"connection_id":152602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299871744001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786327925000,"timestamp_ms":1786327925000,"timestamp_seconds":1786327925,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9710108"} 
[2026-08-10 07:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299871744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299871744001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299871744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":152602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:44:38] local.INFO: GPS data processed {"connection_id":152602,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:44:38] local.INFO: Acknowledgment sent {"connection_id":152602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:44:51] local.INFO: TCP Data received {"connection_id":154059,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9726868012d7e1bc005e20f900007011628..."} 
[2026-08-10 07:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9726868012d7e1bc005e20f900007011628..."} 
[2026-08-10 07:44:51] local.INFO: Processing buffer {"connection_id":154059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9726868012d7e1bc005e20f900007011628..."} 
[2026-08-10 07:44:51] local.INFO: Packet analysis {"connection_id":154059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe972"} 
[2026-08-10 07:44:51] local.INFO: Extracted packet for processing {"connection_id":154059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe972"} 
[2026-08-10 07:44:51] local.INFO: GPS Element Parsed {"raw_longitude":763239360,"raw_latitude":98701200,"longitude_deg":76.323936,"latitude_deg":9.87012,"altitude":7,"angle":278,"satellites":40,"speed":31,"hex_longitude":"2d7e1bc0","hex_latitude":"05e20f90","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299971584001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117100904640937984,"note":"Value kept but may cause issues"} 
[2026-08-10 07:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089671448184621056,"note":"Value kept but may cause issues"} 
[2026-08-10 07:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786328017000,"timestamp_ms":1786328017000,"timestamp_seconds":1786328017,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9726868"} 
[2026-08-10 07:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-10 07:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299971584001,"66":12863,"60":206,"85":15104,"24":31,"16":117100904640937984,"45":9089671448184621056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-10 07:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299971584001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:44:51] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-10 07:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117100904640937984,"km_value":117100904640937.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089671448184621056,"description":"Unknown IO ID 45"} 
[2026-08-10 07:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299971584001,"power":12863,"unknown_60":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9089671448184621056}} 
[2026-08-10 07:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":154059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:44:51] local.INFO: GPS data processed {"connection_id":154059,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:44:51] local.INFO: Acknowledgment sent {"connection_id":154059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:44:59] local.INFO: TCP Data received {"connection_id":152603,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:44:59] local.INFO: Processing buffer {"connection_id":152603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:44:59] local.INFO: IMEI packet received {"connection_id":152603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":152603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:45:05] local.INFO: TCP Data received {"connection_id":152603,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:45:05] local.INFO: Processing buffer {"connection_id":152603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:45:05] local.INFO: IMEI packet received {"connection_id":152603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":152603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:45:05] local.INFO: TCP Data received {"connection_id":152603,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:45:05] local.INFO: Processing buffer {"connection_id":152603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:45:05] local.INFO: Packet analysis {"connection_id":152603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:45:05] local.INFO: Extracted packet for processing {"connection_id":152603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299871744001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786327925000,"timestamp_ms":1786327925000,"timestamp_seconds":1786327925,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9710108"} 
[2026-08-10 07:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:45: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-08-10 07:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299871744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299871744001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299871744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":152603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:45:05] local.INFO: GPS data processed {"connection_id":152603,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:45:05] local.INFO: Acknowledgment sent {"connection_id":152603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:45:14] local.INFO: TCP Data received {"connection_id":151308,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:45:14] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:45:14] local.INFO: IMEI packet received {"connection_id":151308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":151308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:45:19] local.INFO: TCP Data received {"connection_id":151308,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:45:20] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:45:20] local.INFO: IMEI packet received {"connection_id":151308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":151308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:45:20] local.INFO: TCP Data received {"connection_id":151308,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe972ba70012d7e0cc005e210d80009011724..."} 
[2026-08-10 07:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe972ba70012d7e0cc005e210d80009011724..."} 
[2026-08-10 07:45:20] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe972ba70012d7e0cc005e210d80009011724..."} 
[2026-08-10 07:45:20] local.INFO: Packet analysis {"connection_id":151308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe972"} 
[2026-08-10 07:45:20] local.INFO: Extracted packet for processing {"connection_id":151308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe972"} 
[2026-08-10 07:45:20] local.INFO: GPS Element Parsed {"raw_longitude":763235520,"raw_latitude":98701528,"longitude_deg":76.323552,"latitude_deg":9.8701528,"altitude":9,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d7e0cc0","hex_latitude":"05e210d8","is_valid_coordinates":true} 
[2026-08-10 07:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299972352001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117101089324531712,"note":"Value kept but may cause issues"} 
[2026-08-10 07:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087067804650147840,"note":"Value kept but may cause issues"} 
[2026-08-10 07:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786328038000,"timestamp_ms":1786328038000,"timestamp_seconds":1786328038,"priority":1,"record_length":96,"hex_timestamp":"0000019fe972ba70"} 
[2026-08-10 07:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:45: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-08-10 07:45: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-08-10 07:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299972352001,"66":13091,"61":206,"85":15104,"24":0,"16":117101089324531712,"45":9087067804650147840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-10 07:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299972352001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:45:20] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-10 07:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117101089324531712,"km_value":117101089324531.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087067804650147840,"description":"Unknown IO ID 45"} 
[2026-08-10 07:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299972352001,"power":13091,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9087067804650147840}} 
[2026-08-10 07:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":151308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:45:20] local.INFO: GPS data processed {"connection_id":151308,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:45:20] local.INFO: Acknowledgment sent {"connection_id":151308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:45:37] local.INFO: TCP Data received {"connection_id":152603,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:45:37] local.INFO: Processing buffer {"connection_id":152603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:45:37] local.INFO: Packet analysis {"connection_id":152603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:45:37] local.INFO: Extracted packet for processing {"connection_id":152603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299871744001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786327925000,"timestamp_ms":1786327925000,"timestamp_seconds":1786327925,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9710108"} 
[2026-08-10 07:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299871744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299871744001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299871744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":152603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:45:37] local.INFO: GPS data processed {"connection_id":152603,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:45:37] local.INFO: Acknowledgment sent {"connection_id":152603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:45:59] local.INFO: TCP Data received {"connection_id":151308,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe972f508012d7dff4005e212080009010626..."} 
[2026-08-10 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe972f508012d7dff4005e212080009010626..."} 
[2026-08-10 07:45:59] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe972f508012d7dff4005e212080009010626..."} 
[2026-08-10 07:45:59] local.INFO: Packet analysis {"connection_id":151308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe972"} 
[2026-08-10 07:45:59] local.INFO: Extracted packet for processing {"connection_id":151308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe972"} 
[2026-08-10 07:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763232064,"raw_latitude":98701832,"longitude_deg":76.3232064,"latitude_deg":9.8701832,"altitude":9,"angle":262,"satellites":38,"speed":19,"hex_longitude":"2d7dff40","hex_latitude":"05e21208","is_valid_coordinates":true} 
[2026-08-10 07:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299977728001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117101256828256256,"note":"Value kept but may cause issues"} 
[2026-08-10 07:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9082845679999571968,"note":"Value kept but may cause issues"} 
[2026-08-10 07:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786328053000,"timestamp_ms":1786328053000,"timestamp_seconds":1786328053,"priority":1,"record_length":96,"hex_timestamp":"0000019fe972f508"} 
[2026-08-10 07:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 07:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299977728001,"66":13439,"61":206,"85":15104,"24":19,"16":117101256828256256,"45":9082845679999571968},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-10 07:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299977728001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:45:59] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-10 07:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117101256828256256,"km_value":117101256828256.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9082845679999571968,"description":"Unknown IO ID 45"} 
[2026-08-10 07:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299977728001,"power":13439,"unknown_61":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9082845679999571968}} 
[2026-08-10 07:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":151308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:45:59] local.INFO: GPS data processed {"connection_id":151308,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:45:59] local.INFO: Acknowledgment sent {"connection_id":151308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:45:59] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:45:59] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:45:59] local.INFO: IMEI packet received {"connection_id":151309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":151309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:46:05] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:46:05] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:46:05] local.INFO: IMEI packet received {"connection_id":151309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":151309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:46:14] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:46:14] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:46:14] local.INFO: Packet analysis {"connection_id":151309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:46:14] local.INFO: Extracted packet for processing {"connection_id":151309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299871744001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786327925000,"timestamp_ms":1786327925000,"timestamp_seconds":1786327925,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9710108"} 
[2026-08-10 07:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299871744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299871744001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:46:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:46:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299871744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":151309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:46:14] local.INFO: GPS data processed {"connection_id":151309,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:46:14] local.INFO: Acknowledgment sent {"connection_id":151309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:46:19] local.INFO: TCP Data received {"connection_id":154060,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:46:20] local.INFO: Processing buffer {"connection_id":154060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:46:20] local.INFO: IMEI packet received {"connection_id":154060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":154060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:46:24] local.INFO: TCP Data received {"connection_id":154060,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:46:24] local.INFO: Processing buffer {"connection_id":154060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:46:24] local.INFO: IMEI packet received {"connection_id":154060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":154060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:46:25] local.INFO: TCP Data received {"connection_id":154060,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9749318012d7cc84005e205100006011028..."} 
[2026-08-10 07:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9749318012d7cc84005e205100006011028..."} 
[2026-08-10 07:46:25] local.INFO: Processing buffer {"connection_id":154060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9749318012d7cc84005e205100006011028..."} 
[2026-08-10 07:46:25] local.INFO: Packet analysis {"connection_id":154060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe974"} 
[2026-08-10 07:46:25] local.INFO: Extracted packet for processing {"connection_id":154060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe974"} 
[2026-08-10 07:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763152448,"raw_latitude":98698512,"longitude_deg":76.3152448,"latitude_deg":9.8698512,"altitude":6,"angle":272,"satellites":40,"speed":28,"hex_longitude":"2d7cc840","hex_latitude":"05e20510","is_valid_coordinates":true} 
[2026-08-10 07:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300005376001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117105130888757248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001991992939096064,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786328159000,"timestamp_ms":1786328159000,"timestamp_seconds":1786328159,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9749318"} 
[2026-08-10 07:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3916645160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":8,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57345,"corrected_to":0} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3221611008,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3875589543,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3791398912,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57886250674050363,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":115,"raw_value":4276169141083504645,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-281474925153934080,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:25] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,61,85,24,241,157,16,10,159,41,45,192,11,8,66,9,250,203,1,240,56,227,233,226,4,113,205,32,110,151,104,39,239,51,2,160,5,12,46,138,115,225],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":203,"original":57345,"validated":0},{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-08-10 07:46:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504688103577419776,"timestamp_seconds":504688103577419.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300005376001,"66":13189,"61":206,"85":15104,"24":28,"16":117105130888757248,"45":9001991992939096064},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-10 07:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300005376001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:46:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-10 07:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117105130888757248,"km_value":117105130888757.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001991992939096064,"description":"Unknown IO ID 45"} 
[2026-08-10 07:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300005376001,"power":13189,"unknown_61":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9001991992939096064}} 
[2026-08-10 07:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":154060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:46:25] local.INFO: GPS data processed {"connection_id":154060,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:46:25] local.INFO: Acknowledgment sent {"connection_id":154060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:46:33] local.INFO: TCP Data received {"connection_id":154060,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9749318012d7cc84005e205100006011028..."} 
[2026-08-10 07:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9749318012d7cc84005e205100006011028..."} 
[2026-08-10 07:46:33] local.INFO: Processing buffer {"connection_id":154060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9749318012d7cc84005e205100006011028..."} 
[2026-08-10 07:46:33] local.INFO: Packet analysis {"connection_id":154060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe974"} 
[2026-08-10 07:46:33] local.INFO: Extracted packet for processing {"connection_id":154060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe974"} 
[2026-08-10 07:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763152448,"raw_latitude":98698512,"longitude_deg":76.3152448,"latitude_deg":9.8698512,"altitude":6,"angle":272,"satellites":40,"speed":28,"hex_longitude":"2d7cc840","hex_latitude":"05e20510","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300008704001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117105130888757248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991507050056192000,"note":"Value kept but may cause issues"} 
[2026-08-10 07:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786328159000,"timestamp_ms":1786328159000,"timestamp_seconds":1786328159,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9749318"} 
[2026-08-10 07:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 07:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":154060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":154060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":154060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300008704001,"66":13189,"61":206,"85":15104,"24":28,"16":117105130888757248,"45":8991507050056192000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-10 07:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300008704001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:46:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-10 07:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117105130888757248,"km_value":117105130888757.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991507050056192000,"description":"Unknown IO ID 45"} 
[2026-08-10 07:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300008704001,"power":13189,"unknown_61":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8991507050056192000}} 
[2026-08-10 07:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":154060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:46:33] local.INFO: GPS data processed {"connection_id":154060,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:46:33] local.INFO: Acknowledgment sent {"connection_id":154060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:47:05] local.INFO: TCP Data received {"connection_id":152604,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:47:05] local.INFO: Processing buffer {"connection_id":152604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:47:05] local.INFO: IMEI packet received {"connection_id":152604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":152604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:47:09] local.INFO: TCP Data received {"connection_id":152604,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:47:09] local.INFO: Processing buffer {"connection_id":152604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:47:09] local.INFO: IMEI packet received {"connection_id":152604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":152604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:47:10] local.INFO: TCP Data received {"connection_id":152604,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:47:10] local.INFO: Processing buffer {"connection_id":152604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:47:10] local.INFO: Packet analysis {"connection_id":152604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:47:10] local.INFO: Extracted packet for processing {"connection_id":152604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299871744001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786327925000,"timestamp_ms":1786327925000,"timestamp_seconds":1786327925,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9710108"} 
[2026-08-10 07:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:47: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-08-10 07:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299871744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299871744001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299871744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":152604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:47:10] local.INFO: GPS data processed {"connection_id":152604,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:47:10] local.INFO: Acknowledgment sent {"connection_id":152604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:47:14] local.INFO: TCP Data received {"connection_id":151310,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:47:14] local.INFO: Processing buffer {"connection_id":151310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:47:14] local.INFO: IMEI packet received {"connection_id":151310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":151310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:47:14] local.INFO: TCP Data received {"connection_id":151310,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 07:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151310,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 07:47:14] local.INFO: Processing buffer {"connection_id":151310,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 07:47:14] local.INFO: IMEI packet received {"connection_id":151310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":151310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:47:15] local.INFO: TCP Data received {"connection_id":151310,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:47:15] local.INFO: Processing buffer {"connection_id":151310,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 07:47:15] local.INFO: IMEI packet received {"connection_id":151310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":151310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:47:25] local.INFO: TCP Data received {"connection_id":152604,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:47:25] local.INFO: Processing buffer {"connection_id":152604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9710108012d34c20006aa3f08000600f330..."} 
[2026-08-10 07:47:25] local.INFO: Packet analysis {"connection_id":152604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:47:25] local.INFO: Extracted packet for processing {"connection_id":152604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe971"} 
[2026-08-10 07:47:25] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299871744001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786327925000,"timestamp_ms":1786327925000,"timestamp_seconds":1786327925,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9710108"} 
[2026-08-10 07:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299871744001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299871744001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:47:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:47:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299871744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":152604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:47:25] local.INFO: GPS data processed {"connection_id":152604,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:47:25] local.INFO: Acknowledgment sent {"connection_id":152604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:48:00] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:48:00] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:48:00] local.INFO: IMEI packet received {"connection_id":151692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":151692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:48:05] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:48:05] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:48:05] local.INFO: IMEI packet received {"connection_id":151692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":151692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:48:06] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:48:06] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:48:06] local.INFO: Packet analysis {"connection_id":151692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:48:06] local.INFO: Extracted packet for processing {"connection_id":151692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:48:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299948800001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786328226000,"timestamp_ms":1786328226000,"timestamp_seconds":1786328226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97598d0"} 
[2026-08-10 07:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299948800001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299948800001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:48:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299948800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":151692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:48:06] local.INFO: GPS data processed {"connection_id":151692,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:48:06] local.INFO: Acknowledgment sent {"connection_id":151692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:48:37] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:48:37] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:48:37] local.INFO: Packet analysis {"connection_id":151692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:48:37] local.INFO: Extracted packet for processing {"connection_id":151692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299948800001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786328226000,"timestamp_ms":1786328226000,"timestamp_seconds":1786328226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97598d0"} 
[2026-08-10 07:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299948800001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299948800001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299948800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":151692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:48:37] local.INFO: GPS data processed {"connection_id":151692,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:48:37] local.INFO: Acknowledgment sent {"connection_id":151692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:49:00] local.INFO: TCP Data received {"connection_id":151693,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:49:00] local.INFO: Processing buffer {"connection_id":151693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:49:00] local.INFO: IMEI packet received {"connection_id":151693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":151693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:49:05] local.INFO: TCP Data received {"connection_id":151693,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:49:05] local.INFO: Processing buffer {"connection_id":151693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:49:05] local.INFO: IMEI packet received {"connection_id":151693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":151693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:49:06] local.INFO: TCP Data received {"connection_id":151693,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:49:06] local.INFO: Processing buffer {"connection_id":151693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:49:06] local.INFO: Packet analysis {"connection_id":151693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:49:06] local.INFO: Extracted packet for processing {"connection_id":151693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299948800001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786328226000,"timestamp_ms":1786328226000,"timestamp_seconds":1786328226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97598d0"} 
[2026-08-10 07:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07: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-08-10 07:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299948800001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299948800001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299948800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":151693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:49:06] local.INFO: GPS data processed {"connection_id":151693,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:49:06] local.INFO: Acknowledgment sent {"connection_id":151693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:49:37] local.INFO: TCP Data received {"connection_id":151693,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:49:37] local.INFO: Processing buffer {"connection_id":151693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:49:37] local.INFO: Packet analysis {"connection_id":151693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:49:37] local.INFO: Extracted packet for processing {"connection_id":151693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299948800001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786328226000,"timestamp_ms":1786328226000,"timestamp_seconds":1786328226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97598d0"} 
[2026-08-10 07:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:49: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-08-10 07:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299948800001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299948800001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299948800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":151693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:49:37] local.INFO: GPS data processed {"connection_id":151693,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:49:37] local.INFO: Acknowledgment sent {"connection_id":151693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:49:59] local.INFO: TCP Data received {"connection_id":151312,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:49:59] local.INFO: Processing buffer {"connection_id":151312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:49:59] local.INFO: IMEI packet received {"connection_id":151312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":151312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:50:05] local.INFO: TCP Data received {"connection_id":151312,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:50:05] local.INFO: Processing buffer {"connection_id":151312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:50:05] local.INFO: IMEI packet received {"connection_id":151312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":151312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:50:06] local.INFO: TCP Data received {"connection_id":151312,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:50:06] local.INFO: Processing buffer {"connection_id":151312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:50:06] local.INFO: Packet analysis {"connection_id":151312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:50:06] local.INFO: Extracted packet for processing {"connection_id":151312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299948800001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786328226000,"timestamp_ms":1786328226000,"timestamp_seconds":1786328226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97598d0"} 
[2026-08-10 07:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:50: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-08-10 07:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299948800001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299948800001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299948800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":151312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:50:06] local.INFO: GPS data processed {"connection_id":151312,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:50:06] local.INFO: Acknowledgment sent {"connection_id":151312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:50:38] local.INFO: TCP Data received {"connection_id":151312,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:50:38] local.INFO: Processing buffer {"connection_id":151312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:50:38] local.INFO: Packet analysis {"connection_id":151312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:50:38] local.INFO: Extracted packet for processing {"connection_id":151312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299948800001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786328226000,"timestamp_ms":1786328226000,"timestamp_seconds":1786328226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97598d0"} 
[2026-08-10 07:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07: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-08-10 07:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:50: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-08-10 07:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299948800001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299948800001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299948800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":151312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:50:38] local.INFO: GPS data processed {"connection_id":151312,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:50:38] local.INFO: Acknowledgment sent {"connection_id":151312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:50:59] local.INFO: TCP Data received {"connection_id":152606,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:50:59] local.INFO: Processing buffer {"connection_id":152606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:50:59] local.INFO: IMEI packet received {"connection_id":152606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":152606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:51:05] local.INFO: TCP Data received {"connection_id":152606,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:51:05] local.INFO: Processing buffer {"connection_id":152606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:51:05] local.INFO: IMEI packet received {"connection_id":152606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":152606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:51:06] local.INFO: TCP Data received {"connection_id":152606,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:51:06] local.INFO: Processing buffer {"connection_id":152606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:51:06] local.INFO: Packet analysis {"connection_id":152606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:51:06] local.INFO: Extracted packet for processing {"connection_id":152606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299948800001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786328226000,"timestamp_ms":1786328226000,"timestamp_seconds":1786328226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97598d0"} 
[2026-08-10 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-08-10 07:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 07:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299948800001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299948800001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299948800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":152606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:51:06] local.INFO: GPS data processed {"connection_id":152606,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:51:06] local.INFO: Acknowledgment sent {"connection_id":152606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:51:37] local.INFO: TCP Data received {"connection_id":152606,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:51:37] local.INFO: Processing buffer {"connection_id":152606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:51:37] local.INFO: Packet analysis {"connection_id":152606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:51:37] local.INFO: Extracted packet for processing {"connection_id":152606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299948800001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786328226000,"timestamp_ms":1786328226000,"timestamp_seconds":1786328226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97598d0"} 
[2026-08-10 07:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299948800001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299948800001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299948800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":152606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:51:37] local.INFO: GPS data processed {"connection_id":152606,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:51:37] local.INFO: Acknowledgment sent {"connection_id":152606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:51:59] local.INFO: TCP Data received {"connection_id":152608,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:51:59] local.INFO: Processing buffer {"connection_id":152608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:51:59] local.INFO: IMEI packet received {"connection_id":152608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":152608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:52:05] local.INFO: TCP Data received {"connection_id":152608,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:52:05] local.INFO: Processing buffer {"connection_id":152608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:52:05] local.INFO: IMEI packet received {"connection_id":152608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":152608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:52:06] local.INFO: TCP Data received {"connection_id":152608,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:52:06] local.INFO: Processing buffer {"connection_id":152608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:52:06] local.INFO: Packet analysis {"connection_id":152608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:52:06] local.INFO: Extracted packet for processing {"connection_id":152608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299948800001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786328226000,"timestamp_ms":1786328226000,"timestamp_seconds":1786328226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97598d0"} 
[2026-08-10 07:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299948800001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299948800001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299948800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":152608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:52:06] local.INFO: GPS data processed {"connection_id":152608,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:52:06] local.INFO: Acknowledgment sent {"connection_id":152608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:52:17] local.INFO: TCP Data received {"connection_id":151313,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:52:17] local.INFO: Processing buffer {"connection_id":151313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:52:17] local.INFO: IMEI packet received {"connection_id":151313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":151313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:52:19] local.INFO: TCP Data received {"connection_id":151313,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:52:19] local.INFO: Processing buffer {"connection_id":151313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:52:19] local.INFO: IMEI packet received {"connection_id":151313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":151313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:52:20] local.INFO: TCP Data received {"connection_id":151313,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97959c0012d7b358005e1e7a00010000720..."} 
[2026-08-10 07:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97959c0012d7b358005e1e7a00010000720..."} 
[2026-08-10 07:52:20] local.INFO: Processing buffer {"connection_id":151313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97959c0012d7b358005e1e7a00010000720..."} 
[2026-08-10 07:52:20] local.INFO: Packet analysis {"connection_id":151313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe979"} 
[2026-08-10 07:52:20] local.INFO: Extracted packet for processing {"connection_id":151313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe979"} 
[2026-08-10 07:52:20] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":98690976,"longitude_deg":76.3049344,"latitude_deg":9.8690976,"altitude":16,"angle":7,"satellites":32,"speed":1,"hex_longitude":"2d7b3580","hex_latitude":"05e1e7a0","is_valid_coordinates":true} 
[2026-08-10 07: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-08-10 07:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300086784001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878213371928020992,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117111203972513792,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 07:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786328472000,"timestamp_ms":1786328472000,"timestamp_seconds":1786328472,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97959c0"} 
[2026-08-10 07:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 07:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167744036174,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399426,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:20] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3916994160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:20] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3296198672,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-08-10 07:52:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787671552,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:20] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,45,85,24,241,157,16,15,159,54,192,228,32,10,66,3,219,17,201,64,1,240,7,227,233,225,4,113,205,6,150,57,72,34,239,52,2,160,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-08-10 07:52:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153308665843810304,"timestamp_seconds":1153308665843810.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300086784001,"66":13363,"45":8878213371928020992,"85":15104,"24":1,"16":117111203972513792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-10 07:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300086784001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878213371928020992,"description":"Unknown IO ID 45"} 
[2026-08-10 07:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117111203972513792,"km_value":117111203972513.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:52:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457300086784001,"power":13363,"unknown_45":8878213371928020992,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-08-10 07:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":151313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:52:20] local.INFO: GPS data processed {"connection_id":151313,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:52:20] local.INFO: Acknowledgment sent {"connection_id":151313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:52:37] local.INFO: TCP Data received {"connection_id":152608,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:52:37] local.INFO: Processing buffer {"connection_id":152608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97598d0012d34c20006aa3f08000500f32e..."} 
[2026-08-10 07:52:37] local.INFO: Packet analysis {"connection_id":152608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:52:37] local.INFO: Extracted packet for processing {"connection_id":152608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe975"} 
[2026-08-10 07:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457299948800001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786328226000,"timestamp_ms":1786328226000,"timestamp_seconds":1786328226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97598d0"} 
[2026-08-10 07:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457299948800001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457299948800001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457299948800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":152608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:52:37] local.INFO: GPS data processed {"connection_id":152608,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:52:37] local.INFO: Acknowledgment sent {"connection_id":152608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:52:51] local.INFO: TCP Data received {"connection_id":151313,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9796578012d7b35c005e1e7f00010001220..."} 
[2026-08-10 07:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9796578012d7b35c005e1e7f00010001220..."} 
[2026-08-10 07:52:51] local.INFO: Processing buffer {"connection_id":151313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9796578012d7b35c005e1e7f00010001220..."} 
[2026-08-10 07:52:51] local.INFO: Packet analysis {"connection_id":151313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe979"} 
[2026-08-10 07:52:51] local.INFO: Extracted packet for processing {"connection_id":151313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe979"} 
[2026-08-10 07:52:51] local.INFO: GPS Element Parsed {"raw_longitude":763049408,"raw_latitude":98691056,"longitude_deg":76.3049408,"latitude_deg":9.8691056,"altitude":16,"angle":18,"satellites":32,"speed":0,"hex_longitude":"2d7b35c0","hex_latitude":"05e1e7f0","is_valid_coordinates":true} 
[2026-08-10 07:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300088832001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878143003184046080,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117111208267481088,"note":"Value kept but may cause issues"} 
[2026-08-10 07:52:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 07:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786328475000,"timestamp_ms":1786328475000,"timestamp_seconds":1786328475,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9796578"} 
[2026-08-10 07:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 07:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300088832001,"66":13319,"45":8878143003184046080,"85":15104,"24":0,"16":117111208267481088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-10 07:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300088832001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878143003184046080,"description":"Unknown IO ID 45"} 
[2026-08-10 07:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117111208267481088,"km_value":117111208267481.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:52:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457300088832001,"power":13319,"unknown_45":8878143003184046080,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-10 07:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":151313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:52:51] local.INFO: GPS data processed {"connection_id":151313,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:52:51] local.INFO: Acknowledgment sent {"connection_id":151313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:53:05] local.INFO: TCP Data received {"connection_id":154061,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:53:05] local.INFO: Processing buffer {"connection_id":154061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:53:05] local.INFO: IMEI packet received {"connection_id":154061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":154061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:53:10] local.INFO: TCP Data received {"connection_id":154061,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:53:10] local.INFO: Processing buffer {"connection_id":154061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:53:10] local.INFO: IMEI packet received {"connection_id":154061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":154061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:53:11] local.INFO: TCP Data received {"connection_id":154061,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:53:11] local.INFO: Processing buffer {"connection_id":154061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:53:11] local.INFO: Packet analysis {"connection_id":154061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:53:11] local.INFO: Extracted packet for processing {"connection_id":154061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300025856001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786328527000,"timestamp_ms":1786328527000,"timestamp_seconds":1786328527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97a3098"} 
[2026-08-10 07:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:53: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-08-10 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":154061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":154061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":154061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300025856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300025856001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:53:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:53:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300025856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":154061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:53:11] local.INFO: GPS data processed {"connection_id":154061,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:53:11] local.INFO: Acknowledgment sent {"connection_id":154061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:53:14] local.INFO: TCP Data received {"connection_id":151695,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:53:14] local.INFO: Processing buffer {"connection_id":151695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:53:14] local.INFO: IMEI packet received {"connection_id":151695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":151695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:53:15] local.INFO: TCP Data received {"connection_id":154061,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:53:15] local.INFO: Processing buffer {"connection_id":154061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:53:15] local.INFO: Packet analysis {"connection_id":154061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:53:15] local.INFO: Extracted packet for processing {"connection_id":154061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300025856001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786328527000,"timestamp_ms":1786328527000,"timestamp_seconds":1786328527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97a3098"} 
[2026-08-10 07:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:53: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-08-10 07:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300025856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300025856001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300025856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":154061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:53:15] local.INFO: GPS data processed {"connection_id":154061,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:53:15] local.INFO: Acknowledgment sent {"connection_id":154061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:53:19] local.INFO: TCP Data received {"connection_id":151695,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:53:20] local.INFO: Processing buffer {"connection_id":151695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:53:20] local.INFO: IMEI packet received {"connection_id":151695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":151695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:53:20] local.INFO: TCP Data received {"connection_id":151695,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9796d48012d7b35c005e1e8d00010016120..."} 
[2026-08-10 07:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9796d48012d7b35c005e1e8d00010016120..."} 
[2026-08-10 07:53:20] local.INFO: Processing buffer {"connection_id":151695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9796d48012d7b35c005e1e8d00010016120..."} 
[2026-08-10 07:53:20] local.INFO: Packet analysis {"connection_id":151695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe979"} 
[2026-08-10 07:53:20] local.INFO: Extracted packet for processing {"connection_id":151695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe979"} 
[2026-08-10 07:53:20] local.INFO: GPS Element Parsed {"raw_longitude":763049408,"raw_latitude":98691280,"longitude_deg":76.3049408,"latitude_deg":9.869128,"altitude":16,"angle":353,"satellites":32,"speed":3,"hex_longitude":"2d7b35c0","hex_latitude":"05e1e8d0","is_valid_coordinates":true} 
[2026-08-10 07:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300089600001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878213371928244224,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117111221152382976,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 07:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786328477000,"timestamp_ms":1786328477000,"timestamp_seconds":1786328477,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9796d48"} 
[2026-08-10 07:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:53:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3916996160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:20] local.WARNING: Large IO value detected {"io_id":15,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:20] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-4375246969270754816,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-08-10 07:53:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787749376,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:20] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:20] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7606578475776262139,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:20] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,45,85,24,241,157,16,159,89,128,231,32,10,66,58,192,228,31,15,54,1,240,116,227,233,225,4,113,205,8,201,56,28,239,52,2,160,5,6,29,120],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-08-10 07:53:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152941433255100416,"timestamp_seconds":1152941433255100.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300089600001,"66":13374,"45":8878213371928244224,"85":15104,"24":3,"16":117111221152382976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-10 07:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300089600001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878213371928244224,"description":"Unknown IO ID 45"} 
[2026-08-10 07:53:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117111221152382976,"km_value":117111221152382.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:53:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457300089600001,"power":13374,"unknown_45":8878213371928244224,"unknown_85":15104,"ignition":3,"odometer":null}} 
[2026-08-10 07:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":151695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:53:20] local.INFO: GPS data processed {"connection_id":151695,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:53:20] local.INFO: Acknowledgment sent {"connection_id":151695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:53:52] local.INFO: TCP Data received {"connection_id":151695,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97b6918012d7b298005e245180008016126..."} 
[2026-08-10 07:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97b6918012d7b298005e245180008016126..."} 
[2026-08-10 07:53:52] local.INFO: Processing buffer {"connection_id":151695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97b6918012d7b298005e245180008016126..."} 
[2026-08-10 07:53:52] local.INFO: Packet analysis {"connection_id":151695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97b"} 
[2026-08-10 07:53:52] local.INFO: Extracted packet for processing {"connection_id":151695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97b"} 
[2026-08-10 07:53:52] local.INFO: GPS Element Parsed {"raw_longitude":763046272,"raw_latitude":98714904,"longitude_deg":76.3046272,"latitude_deg":9.8714904,"altitude":8,"angle":353,"satellites":38,"speed":30,"hex_longitude":"2d7b2980","hex_latitude":"05e24518","is_valid_coordinates":true} 
[2026-08-10 07:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300119040001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117112397973422080,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875961572118378496,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786328607000,"timestamp_ms":1786328607000,"timestamp_seconds":1786328607,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97b6918"} 
[2026-08-10 07:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:53:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3917107160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-08-10 07:53:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3791769600,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:52] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:52] local.WARNING: Large IO value detected {"io_id":122,"raw_value":968275214736769029,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:52] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-371546917695249664,"note":"Value kept but may cause issues"} 
[2026-08-10 07:53:52] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,45,85,24,241,157,16,159,212,192,17,10,35,66,130,128,1,240,79,227,233,226,4,113,205,5,99,50,112,239,2,160,12,51,122,225],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-08-10 07:53:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504791444784611328,"timestamp_seconds":504791444784611.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300119040001,"66":13493,"96":206,"85":15104,"24":30,"16":117112397973422080,"45":8875961572118378496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 07:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300119040001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:53:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 07:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117112397973422080,"km_value":117112397973422.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875961572118378496,"description":"Unknown IO ID 45"} 
[2026-08-10 07:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300119040001,"power":13493,"unknown_96":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8875961572118378496}} 
[2026-08-10 07:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":151695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:53:52] local.INFO: GPS data processed {"connection_id":151695,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:53:52] local.INFO: Acknowledgment sent {"connection_id":151695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:54:00] local.INFO: TCP Data received {"connection_id":151314,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:54:00] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:54:00] local.INFO: IMEI packet received {"connection_id":151314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":151314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:54:05] local.INFO: TCP Data received {"connection_id":151314,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:54:05] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:54:05] local.INFO: IMEI packet received {"connection_id":151314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":151314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:54:06] local.INFO: TCP Data received {"connection_id":151314,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:54:06] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:54:06] local.INFO: Packet analysis {"connection_id":151314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:54:06] local.INFO: Extracted packet for processing {"connection_id":151314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300025856001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786328527000,"timestamp_ms":1786328527000,"timestamp_seconds":1786328527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97a3098"} 
[2026-08-10 07:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300025856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300025856001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300025856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":151314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:54:06] local.INFO: GPS data processed {"connection_id":151314,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:54:06] local.INFO: Acknowledgment sent {"connection_id":151314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:54:20] local.INFO: TCP Data received {"connection_id":154062,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:54:20] local.INFO: Processing buffer {"connection_id":154062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:54:20] local.INFO: IMEI packet received {"connection_id":154062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":154062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:54:21] local.INFO: TCP Data received {"connection_id":154062,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:54:21] local.INFO: Processing buffer {"connection_id":154062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:54:21] local.INFO: IMEI packet received {"connection_id":154062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":154062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:54:22] local.INFO: TCP Data received {"connection_id":154062,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97b9028012d7b268005e268b80007016021..."} 
[2026-08-10 07:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97b9028012d7b268005e268b80007016021..."} 
[2026-08-10 07:54:22] local.INFO: Processing buffer {"connection_id":154062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97b9028012d7b268005e268b80007016021..."} 
[2026-08-10 07:54:22] local.INFO: Packet analysis {"connection_id":154062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97b"} 
[2026-08-10 07:54:22] local.INFO: Extracted packet for processing {"connection_id":154062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97b"} 
[2026-08-10 07:54:22] local.INFO: GPS Element Parsed {"raw_longitude":763045504,"raw_latitude":98724024,"longitude_deg":76.3045504,"latitude_deg":9.8724024,"altitude":7,"angle":352,"satellites":33,"speed":42,"hex_longitude":"2d7b2680","hex_latitude":"05e268b8","is_valid_coordinates":true} 
[2026-08-10 07:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300123392001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117112844650020864,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874765303469643776,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786328617000,"timestamp_ms":1786328617000,"timestamp_seconds":1786328617,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97b9028"} 
[2026-08-10 07:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 07:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":154062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":154062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":154062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300123392001,"66":13363,"96":206,"85":15104,"24":42,"16":117112844650020864,"45":8874765303469643776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 07:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300123392001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:54:22] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 07:54:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117112844650020864,"km_value":117112844650020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874765303469643776,"description":"Unknown IO ID 45"} 
[2026-08-10 07:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300123392001,"power":13363,"unknown_96":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8874765303469643776}} 
[2026-08-10 07:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":154062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:54:22] local.INFO: GPS data processed {"connection_id":154062,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:54:22] local.INFO: Acknowledgment sent {"connection_id":154062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:54:25] local.INFO: TCP Data received {"connection_id":154062,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97baf68012d7b214005e28d880006015f1c..."} 
[2026-08-10 07:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97baf68012d7b214005e28d880006015f1c..."} 
[2026-08-10 07:54:25] local.INFO: Processing buffer {"connection_id":154062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97baf68012d7b214005e28d880006015f1c..."} 
[2026-08-10 07:54:25] local.INFO: Packet analysis {"connection_id":154062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97b"} 
[2026-08-10 07:54:25] local.INFO: Extracted packet for processing {"connection_id":154062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97b"} 
[2026-08-10 07:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763044160,"raw_latitude":98733448,"longitude_deg":76.304416,"latitude_deg":9.8733448,"altitude":6,"angle":351,"satellites":28,"speed":46,"hex_longitude":"2d7b2140","hex_latitude":"05e28d88","is_valid_coordinates":true} 
[2026-08-10 07:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300125952001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117113304211521536,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873920878541846528,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786328625000,"timestamp_ms":1786328625000,"timestamp_seconds":1786328625,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97baf68"} 
[2026-08-10 07:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 07:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300125952001,"66":13450,"96":206,"85":15104,"24":46,"16":117113304211521536,"45":8873920878541846528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 07:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300125952001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:54:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 07:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117113304211521536,"km_value":117113304211521.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873920878541846528,"description":"Unknown IO ID 45"} 
[2026-08-10 07:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300125952001,"power":13450,"unknown_96":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8873920878541846528}} 
[2026-08-10 07:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":154062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:54:25] local.INFO: GPS data processed {"connection_id":154062,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:54:25] local.INFO: Acknowledgment sent {"connection_id":154062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:54:37] local.INFO: TCP Data received {"connection_id":151314,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:54:37] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:54:37] local.INFO: Packet analysis {"connection_id":151314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:54:37] local.INFO: Extracted packet for processing {"connection_id":151314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300025856001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786328527000,"timestamp_ms":1786328527000,"timestamp_seconds":1786328527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97a3098"} 
[2026-08-10 07:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300025856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300025856001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300025856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":151314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:54:37] local.INFO: GPS data processed {"connection_id":151314,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:54:37] local.INFO: Acknowledgment sent {"connection_id":151314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:54:57] local.INFO: TCP Data received {"connection_id":154062,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97bcea8012d7b1ac005e2b4d80005015f1e..."} 
[2026-08-10 07:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97bcea8012d7b1ac005e2b4d80005015f1e..."} 
[2026-08-10 07:54:57] local.INFO: Processing buffer {"connection_id":154062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97bcea8012d7b1ac005e2b4d80005015f1e..."} 
[2026-08-10 07:54:57] local.INFO: Packet analysis {"connection_id":154062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97b"} 
[2026-08-10 07:54:57] local.INFO: Extracted packet for processing {"connection_id":154062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97b"} 
[2026-08-10 07:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763042496,"raw_latitude":98743512,"longitude_deg":76.3042496,"latitude_deg":9.8743512,"altitude":5,"angle":351,"satellites":30,"speed":53,"hex_longitude":"2d7b1ac0","hex_latitude":"05e2b4d8","is_valid_coordinates":true} 
[2026-08-10 07:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300128000001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117113798132760576,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872443134916528128,"note":"Value kept but may cause issues"} 
[2026-08-10 07:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786328633000,"timestamp_ms":1786328633000,"timestamp_seconds":1786328633,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97bcea8"} 
[2026-08-10 07:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 07:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300128000001,"66":13319,"96":206,"85":15104,"24":53,"16":117113798132760576,"45":8872443134916528128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 07:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300128000001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:54:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 07:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117113798132760576,"km_value":117113798132760.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872443134916528128,"description":"Unknown IO ID 45"} 
[2026-08-10 07:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300128000001,"power":13319,"unknown_96":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8872443134916528128}} 
[2026-08-10 07:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":154062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:54:57] local.INFO: GPS data processed {"connection_id":154062,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:54:57] local.INFO: Acknowledgment sent {"connection_id":154062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:54:59] local.INFO: TCP Data received {"connection_id":151696,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:54:59] local.INFO: Processing buffer {"connection_id":151696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:54:59] local.INFO: IMEI packet received {"connection_id":151696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":151696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:55:05] local.INFO: TCP Data received {"connection_id":151696,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:55:05] local.INFO: Processing buffer {"connection_id":151696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:55:05] local.INFO: IMEI packet received {"connection_id":151696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":151696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:55:05] local.INFO: TCP Data received {"connection_id":151696,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:55:05] local.INFO: Processing buffer {"connection_id":151696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:55:05] local.INFO: Packet analysis {"connection_id":151696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:55:05] local.INFO: Extracted packet for processing {"connection_id":151696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300025856001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786328527000,"timestamp_ms":1786328527000,"timestamp_seconds":1786328527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97a3098"} 
[2026-08-10 07:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:55: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-08-10 07:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:55: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-08-10 07:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300025856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300025856001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300025856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":151696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:55:05] local.INFO: GPS data processed {"connection_id":151696,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:55:05] local.INFO: Acknowledgment sent {"connection_id":151696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:55:14] local.INFO: TCP Data received {"connection_id":151315,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:55:14] local.INFO: Processing buffer {"connection_id":151315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:55:14] local.INFO: IMEI packet received {"connection_id":151315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":151315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:55:20] local.INFO: TCP Data received {"connection_id":151315,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:55:20] local.INFO: Processing buffer {"connection_id":151315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:55:20] local.INFO: IMEI packet received {"connection_id":151315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":151315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:55:21] local.INFO: TCP Data received {"connection_id":151315,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97bea00012d7b15c005e2d7d80005015f1b..."} 
[2026-08-10 07:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97bea00012d7b15c005e2d7d80005015f1b..."} 
[2026-08-10 07:55:21] local.INFO: Processing buffer {"connection_id":151315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97bea00012d7b15c005e2d7d80005015f1b..."} 
[2026-08-10 07:55:21] local.INFO: Packet analysis {"connection_id":151315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97b"} 
[2026-08-10 07:55:21] local.INFO: Extracted packet for processing {"connection_id":151315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97b"} 
[2026-08-10 07:55:21] local.INFO: GPS Element Parsed {"raw_longitude":763041216,"raw_latitude":98752472,"longitude_deg":76.3041216,"latitude_deg":9.8752472,"altitude":5,"angle":351,"satellites":27,"speed":47,"hex_longitude":"2d7b15c0","hex_latitude":"05e2d7d8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 07:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300130048001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117114236219424768,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870613547570485248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786328640000,"timestamp_ms":1786328640000,"timestamp_seconds":1786328640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97bea00"} 
[2026-08-10 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-08-10 07:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:55:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3917141160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:21] local.WARNING: Large IO value detected {"io_id":226,"raw_value":598978802003354368,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-08-10 07:55:21] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2818649467,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:21] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3221611025,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792779264,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:21] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:21] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-9034219557653217275,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:21] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,96,85,24,241,157,16,18,159,175,45,64,141,6,28,10,66,17,144,128,104,7,33,105,1,240,181,227,233,226,4,113,205,11,212,47,56,35,239,52,2,160,5,3,116,122],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-08-10 07:55:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360674027623481344,"timestamp_seconds":360674027623481.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 07:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300130048001,"66":13091,"96":206,"85":15104,"24":47,"16":117114236219424768,"45":8870613547570485248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 07:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300130048001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:55:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 07:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117114236219424768,"km_value":117114236219424.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870613547570485248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300130048001,"power":13091,"unknown_96":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8870613547570485248}} 
[2026-08-10 07:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":151315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:55:21] local.INFO: GPS data processed {"connection_id":151315,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:55:21] local.INFO: Acknowledgment sent {"connection_id":151315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:55:37] local.INFO: TCP Data received {"connection_id":151696,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:55:37] local.INFO: Processing buffer {"connection_id":151696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:55:37] local.INFO: Packet analysis {"connection_id":151696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:55:37] local.INFO: Extracted packet for processing {"connection_id":151696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300025856001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786328527000,"timestamp_ms":1786328527000,"timestamp_seconds":1786328527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97a3098"} 
[2026-08-10 07:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300025856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300025856001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300025856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":151696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:55:37] local.INFO: GPS data processed {"connection_id":151696,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:55:37] local.INFO: Acknowledgment sent {"connection_id":151696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:55:55] local.INFO: TCP Data received {"connection_id":151315,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97c0d28012d7b10c005e2fd78000401611b..."} 
[2026-08-10 07:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97c0d28012d7b10c005e2fd78000401611b..."} 
[2026-08-10 07:55:55] local.INFO: Processing buffer {"connection_id":151315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97c0d28012d7b10c005e2fd78000401611b..."} 
[2026-08-10 07:55:55] local.INFO: Packet analysis {"connection_id":151315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97c"} 
[2026-08-10 07:55:55] local.INFO: Extracted packet for processing {"connection_id":151315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97c"} 
[2026-08-10 07:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763039936,"raw_latitude":98762104,"longitude_deg":76.3039936,"latitude_deg":9.8762104,"altitude":4,"angle":353,"satellites":27,"speed":38,"hex_longitude":"2d7b10c0","hex_latitude":"05e2fd78","is_valid_coordinates":true} 
[2026-08-10 07:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300131840001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117114708665827328,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869206172689225728,"note":"Value kept but may cause issues"} 
[2026-08-10 07:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786328649000,"timestamp_ms":1786328649000,"timestamp_seconds":1786328649,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97c0d28"} 
[2026-08-10 07:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 07:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300131840001,"66":13200,"96":206,"85":15104,"24":38,"16":117114708665827328,"45":8869206172689225728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 07:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300131840001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:55:55] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 07:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117114708665827328,"km_value":117114708665827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869206172689225728,"description":"Unknown IO ID 45"} 
[2026-08-10 07:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300131840001,"power":13200,"unknown_96":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8869206172689225728}} 
[2026-08-10 07:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":151315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:55:55] local.INFO: GPS data processed {"connection_id":151315,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:55:55] local.INFO: Acknowledgment sent {"connection_id":151315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:55:59] local.INFO: TCP Data received {"connection_id":152609,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:55:59] local.INFO: Processing buffer {"connection_id":152609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:55:59] local.INFO: IMEI packet received {"connection_id":152609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":152609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:56:05] local.INFO: TCP Data received {"connection_id":152609,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:56:05] local.INFO: Processing buffer {"connection_id":152609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:56:05] local.INFO: IMEI packet received {"connection_id":152609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":152609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:56:05] local.INFO: TCP Data received {"connection_id":152609,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:56:05] local.INFO: Processing buffer {"connection_id":152609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:56:05] local.INFO: Packet analysis {"connection_id":152609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:56:05] local.INFO: Extracted packet for processing {"connection_id":152609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300025856001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786328527000,"timestamp_ms":1786328527000,"timestamp_seconds":1786328527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97a3098"} 
[2026-08-10 07:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:56: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-08-10 07:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:56: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-08-10 07:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300025856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300025856001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300025856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":152609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:56:05] local.INFO: GPS data processed {"connection_id":152609,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:56:05] local.INFO: Acknowledgment sent {"connection_id":152609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:56:14] local.INFO: TCP Data received {"connection_id":151316,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:56:14] local.INFO: Processing buffer {"connection_id":151316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:56:14] local.INFO: IMEI packet received {"connection_id":151316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":151316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:56:18] local.INFO: TCP Data received {"connection_id":151316,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:56:18] local.INFO: Processing buffer {"connection_id":151316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:56:18] local.INFO: IMEI packet received {"connection_id":151316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":151316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:56:18] local.INFO: TCP Data received {"connection_id":151316,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97d93c8012d7aee8005e39398000c015929..."} 
[2026-08-10 07:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97d93c8012d7aee8005e39398000c015929..."} 
[2026-08-10 07:56:18] local.INFO: Processing buffer {"connection_id":151316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97d93c8012d7aee8005e39398000c015929..."} 
[2026-08-10 07:56:18] local.INFO: Packet analysis {"connection_id":151316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97d"} 
[2026-08-10 07:56:18] local.INFO: Extracted packet for processing {"connection_id":151316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97d"} 
[2026-08-10 07:56:18] local.INFO: GPS Element Parsed {"raw_longitude":763031168,"raw_latitude":98800536,"longitude_deg":76.3031168,"latitude_deg":9.8800536,"altitude":12,"angle":345,"satellites":41,"speed":8,"hex_longitude":"2d7aee80","hex_latitude":"05e39398","is_valid_coordinates":true} 
[2026-08-10 07:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300157696001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117116649991045120,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859002704795351040,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786328749000,"timestamp_ms":1786328749000,"timestamp_seconds":1786328749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97d93c8"} 
[2026-08-10 07:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 07:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300157696001,"66":13319,"97":206,"85":15104,"24":8,"16":117116649991045120,"45":8859002704795351040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 07:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300157696001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:56:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:56:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117116649991045120,"km_value":117116649991045.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859002704795351040,"description":"Unknown IO ID 45"} 
[2026-08-10 07:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300157696001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8859002704795351040}} 
[2026-08-10 07:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":151316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:56:19] local.INFO: GPS data processed {"connection_id":151316,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:56:19] local.INFO: Acknowledgment sent {"connection_id":151316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:56:37] local.INFO: TCP Data received {"connection_id":152609,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:56:37] local.INFO: Processing buffer {"connection_id":152609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:56:37] local.INFO: Packet analysis {"connection_id":152609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:56:37] local.INFO: Extracted packet for processing {"connection_id":152609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300025856001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786328527000,"timestamp_ms":1786328527000,"timestamp_seconds":1786328527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97a3098"} 
[2026-08-10 07:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 07:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300025856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300025856001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300025856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":152609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:56:37] local.INFO: GPS data processed {"connection_id":152609,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:56:37] local.INFO: Acknowledgment sent {"connection_id":152609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:56:50] local.INFO: TCP Data received {"connection_id":151316,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97dda18012d7ae40005e3b600000b01562a..."} 
[2026-08-10 07:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97dda18012d7ae40005e3b600000b01562a..."} 
[2026-08-10 07:56:50] local.INFO: Processing buffer {"connection_id":151316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97dda18012d7ae40005e3b600000b01562a..."} 
[2026-08-10 07:56:50] local.INFO: Packet analysis {"connection_id":151316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97d"} 
[2026-08-10 07:56:50] local.INFO: Extracted packet for processing {"connection_id":151316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97d"} 
[2026-08-10 07:56:50] local.INFO: GPS Element Parsed {"raw_longitude":763028480,"raw_latitude":98809344,"longitude_deg":76.302848,"latitude_deg":9.8809344,"altitude":11,"angle":342,"satellites":42,"speed":34,"hex_longitude":"2d7ae400","hex_latitude":"05e3b600","is_valid_coordinates":true} 
[2026-08-10 07:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300159744001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117117096667643904,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858158279865636864,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786328767000,"timestamp_ms":1786328767000,"timestamp_seconds":1786328767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97dda18"} 
[2026-08-10 07:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3372220416,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3917264160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":5199405774117216000,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2147869553,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4060138918,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3813601280,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-6239735988872544251,"note":"Value kept but may cause issues"} 
[2026-08-10 07:56:50] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,20,159,116,45,128,141,12,40,10,66,64,136,39,81,1,240,18,227,233,4,113,205,228,250,112,239,51,2,160,5,23,198,124],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-10 07:56:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865070636060901376,"timestamp_seconds":865070636060901.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300159744001,"66":13363,"97":206,"85":15104,"24":34,"16":117117096667643904,"45":8858158279865636864},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 07:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300159744001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:56:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:56:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117117096667643904,"km_value":117117096667643.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858158279865636864,"description":"Unknown IO ID 45"} 
[2026-08-10 07:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300159744001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8858158279865636864}} 
[2026-08-10 07:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":151316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:56:50] local.INFO: GPS data processed {"connection_id":151316,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:56:50] local.INFO: Acknowledgment sent {"connection_id":151316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:56:59] local.INFO: TCP Data received {"connection_id":151317,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:56:59] local.INFO: Processing buffer {"connection_id":151317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:56:59] local.INFO: IMEI packet received {"connection_id":151317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":151317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:57:05] local.INFO: TCP Data received {"connection_id":151317,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:57:05] local.INFO: Processing buffer {"connection_id":151317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:57:05] local.INFO: IMEI packet received {"connection_id":151317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":151317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:57:06] local.INFO: TCP Data received {"connection_id":151317,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:57:06] local.INFO: Processing buffer {"connection_id":151317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:57:06] local.INFO: Packet analysis {"connection_id":151317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:57:06] local.INFO: Extracted packet for processing {"connection_id":151317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300025856001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786328527000,"timestamp_ms":1786328527000,"timestamp_seconds":1786328527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97a3098"} 
[2026-08-10 07:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300025856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300025856001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300025856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":151317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:57:06] local.INFO: GPS data processed {"connection_id":151317,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:57:06] local.INFO: Acknowledgment sent {"connection_id":151317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:57:15] local.INFO: TCP Data received {"connection_id":151697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:57:15] local.INFO: Processing buffer {"connection_id":151697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:57:15] local.INFO: IMEI packet received {"connection_id":151697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":151697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:57:15] local.INFO: TCP Data received {"connection_id":151697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:57:15] local.INFO: Processing buffer {"connection_id":151697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:57:15] local.INFO: IMEI packet received {"connection_id":151697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":151697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:57:20] local.INFO: TCP Data received {"connection_id":151697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:57:20] local.INFO: Processing buffer {"connection_id":151697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:57:20] local.INFO: IMEI packet received {"connection_id":151697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":151697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:57:21] local.INFO: TCP Data received {"connection_id":151697,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97dfd40012d7adb0005e3d7b8000a01552a..."} 
[2026-08-10 07:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97dfd40012d7adb0005e3d7b8000a01552a..."} 
[2026-08-10 07:57:21] local.INFO: Processing buffer {"connection_id":151697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97dfd40012d7adb0005e3d7b8000a01552a..."} 
[2026-08-10 07:57:21] local.INFO: Packet analysis {"connection_id":151697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97d"} 
[2026-08-10 07:57:21] local.INFO: Extracted packet for processing {"connection_id":151697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97d"} 
[2026-08-10 07:57:21] local.INFO: GPS Element Parsed {"raw_longitude":763026176,"raw_latitude":98817976,"longitude_deg":76.3026176,"latitude_deg":9.8817976,"altitude":10,"angle":341,"satellites":42,"speed":37,"hex_longitude":"2d7adb00","hex_latitude":"05e3d7b8","is_valid_coordinates":true} 
[2026-08-10 07:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300164352001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117117530459340800,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855202792612429824,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786328776000,"timestamp_ms":1786328776000,"timestamp_seconds":1786328776,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97dfd40"} 
[2026-08-10 07:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 07:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300164352001,"66":13319,"97":206,"85":15104,"24":37,"16":117117530459340800,"45":8855202792612429824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 07:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300164352001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:57:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117117530459340800,"km_value":117117530459340.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855202792612429824,"description":"Unknown IO ID 45"} 
[2026-08-10 07:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300164352001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8855202792612429824}} 
[2026-08-10 07:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":151697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:57:21] local.INFO: GPS data processed {"connection_id":151697,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:57:21] local.INFO: Acknowledgment sent {"connection_id":151697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:57:38] local.INFO: TCP Data received {"connection_id":151317,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:57:38] local.INFO: Processing buffer {"connection_id":151317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97a3098012d34c20006aa3f08000400f330..."} 
[2026-08-10 07:57:38] local.INFO: Packet analysis {"connection_id":151317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:57:38] local.INFO: Extracted packet for processing {"connection_id":151317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97a"} 
[2026-08-10 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300025856001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786328527000,"timestamp_ms":1786328527000,"timestamp_seconds":1786328527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97a3098"} 
[2026-08-10 07:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 07:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300025856001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300025856001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300025856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":151317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:57:38] local.INFO: GPS data processed {"connection_id":151317,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:57:38] local.INFO: Acknowledgment sent {"connection_id":151317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:57:52] local.INFO: TCP Data received {"connection_id":151697,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97e0ce0012d7ad78005e3e420000a016029..."} 
[2026-08-10 07:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97e0ce0012d7ad78005e3e420000a016029..."} 
[2026-08-10 07:57:52] local.INFO: Processing buffer {"connection_id":151697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97e0ce0012d7ad78005e3e420000a016029..."} 
[2026-08-10 07:57:52] local.INFO: Packet analysis {"connection_id":151697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 07:57:52] local.INFO: Extracted packet for processing {"connection_id":151697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 07:57:52] local.INFO: GPS Element Parsed {"raw_longitude":763025280,"raw_latitude":98821152,"longitude_deg":76.302528,"latitude_deg":9.8821152,"altitude":10,"angle":352,"satellites":41,"speed":27,"hex_longitude":"2d7ad780","hex_latitude":"05e3e420","is_valid_coordinates":true} 
[2026-08-10 07:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300166656001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117117689373130752,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852669517824243712,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786328780000,"timestamp_ms":1786328780000,"timestamp_seconds":1786328780,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97e0ce0"} 
[2026-08-10 07:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 07:57:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3917297160,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:52] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":8174033353764710400,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-10 07:57:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3816886272,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:52] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:52] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-2017611338213588987,"note":"Value kept but may cause issues"} 
[2026-08-10 07:57:52] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,21,159,218,45,182,11,42,10,66,147,128,12,41,20,116,1,240,160,227,233,4,113,205,81,244,80,43,239,52,2,5,51,124],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-10 07:57:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720951054235402240,"timestamp_seconds":720951054235402.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 07:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300166656001,"66":13374,"97":206,"85":15104,"24":27,"16":117117689373130752,"45":8852669517824243712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 07:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300166656001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117117689373130752,"km_value":117117689373130.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852669517824243712,"description":"Unknown IO ID 45"} 
[2026-08-10 07:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300166656001,"power":13374,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8852669517824243712}} 
[2026-08-10 07:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":151697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:57:52] local.INFO: GPS data processed {"connection_id":151697,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:57:52] local.INFO: Acknowledgment sent {"connection_id":151697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:58:19] local.INFO: TCP Data received {"connection_id":154063,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:58:19] local.INFO: Processing buffer {"connection_id":154063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:58:19] local.INFO: IMEI packet received {"connection_id":154063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":154063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:58:20] local.INFO: TCP Data received {"connection_id":152610,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:58:20] local.INFO: Processing buffer {"connection_id":152610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:58:20] local.INFO: IMEI packet received {"connection_id":152610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":152610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:58:25] local.INFO: TCP Data received {"connection_id":152610,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:58:25] local.INFO: Processing buffer {"connection_id":152610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:58:25] local.INFO: IMEI packet received {"connection_id":152610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":152610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:58:25] local.INFO: TCP Data received {"connection_id":154063,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:58:25] local.INFO: TCP Data received {"connection_id":152610,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 07:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:58:25] local.INFO: Processing buffer {"connection_id":154063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:58:25] local.INFO: IMEI packet received {"connection_id":154063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":154063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 07:58:25] local.INFO: Processing buffer {"connection_id":152610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 07:58:25] local.INFO: Packet analysis {"connection_id":152610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 07:58:25] local.INFO: Extracted packet for processing {"connection_id":152610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 07:58:25] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300102912001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786328828000,"timestamp_ms":1786328828000,"timestamp_seconds":1786328828,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97ec860"} 
[2026-08-10 07:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300102912001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300102912001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:58:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:58:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300102912001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":152610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:58:25] local.INFO: GPS data processed {"connection_id":152610,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:58:25] local.INFO: Acknowledgment sent {"connection_id":152610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:58:27] local.INFO: TCP Data received {"connection_id":154063,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97e3fa8012d7ad04005e406700009015827..."} 
[2026-08-10 07:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97e3fa8012d7ad04005e406700009015827..."} 
[2026-08-10 07:58:27] local.INFO: Processing buffer {"connection_id":154063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97e3fa8012d7ad04005e406700009015827..."} 
[2026-08-10 07:58:27] local.INFO: Packet analysis {"connection_id":154063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 07:58:27] local.INFO: Extracted packet for processing {"connection_id":154063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 07:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763023424,"raw_latitude":98829936,"longitude_deg":76.3023424,"latitude_deg":9.8829936,"altitude":9,"angle":344,"satellites":39,"speed":25,"hex_longitude":"2d7ad040","hex_latitude":"05e40670","is_valid_coordinates":true} 
[2026-08-10 07:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300167680001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117118123164827648,"note":"Value kept but may cause issues"} 
[2026-08-10 07:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851684355406569472,"note":"Value kept but may cause issues"} 
[2026-08-10 07:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786328793000,"timestamp_ms":1786328793000,"timestamp_seconds":1786328793,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97e3fa8"} 
[2026-08-10 07:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 07:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":154063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":154063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":154063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300167680001,"66":13189,"97":206,"85":15104,"24":25,"16":117118123164827648,"45":8851684355406569472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 07:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300167680001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:58:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 07:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117118123164827648,"km_value":117118123164827.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851684355406569472,"description":"Unknown IO ID 45"} 
[2026-08-10 07:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300167680001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8851684355406569472}} 
[2026-08-10 07:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":154063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:58:27] local.INFO: GPS data processed {"connection_id":154063,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:58:27] local.INFO: Acknowledgment sent {"connection_id":154063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:58:59] local.INFO: TCP Data received {"connection_id":154064,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:58:59] local.INFO: Processing buffer {"connection_id":154064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:58:59] local.INFO: IMEI packet received {"connection_id":154064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":154064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:59:00] local.INFO: TCP Data received {"connection_id":154063,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9802bd8012d7a2b0005e45ef8000b014a2b..."} 
[2026-08-10 07:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9802bd8012d7a2b0005e45ef8000b014a2b..."} 
[2026-08-10 07:59:00] local.INFO: Processing buffer {"connection_id":154063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9802bd8012d7a2b0005e45ef8000b014a2b..."} 
[2026-08-10 07:59:00] local.INFO: Packet analysis {"connection_id":154063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe980"} 
[2026-08-10 07:59:00] local.INFO: Extracted packet for processing {"connection_id":154063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe980"} 
[2026-08-10 07:59:00] local.INFO: GPS Element Parsed {"raw_longitude":762981120,"raw_latitude":98852600,"longitude_deg":76.298112,"latitude_deg":9.88526,"altitude":11,"angle":330,"satellites":43,"speed":14,"hex_longitude":"2d7a2b00","hex_latitude":"05e45ef8","is_valid_coordinates":true} 
[2026-08-10 07:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300202752001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117120700145205248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803622503141107712,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786328919000,"timestamp_ms":1786328919000,"timestamp_seconds":1786328919,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9802bd8"} 
[2026-08-10 07:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 07:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300202752001,"66":13363,"102":206,"87":12288,"24":14,"16":117120700145205248,"45":8803622503141107712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-10 07:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300202752001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:59:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 07:59:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 07:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117120700145205248,"km_value":117120700145205.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803622503141107712,"description":"Unknown IO ID 45"} 
[2026-08-10 07:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300202752001,"power":13363,"unknown_102":206,"unknown_87":12288,"ignition":14,"odometer":null,"unknown_45":8803622503141107712}} 
[2026-08-10 07:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":154063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:59:00] local.INFO: GPS data processed {"connection_id":154063,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:59:00] local.INFO: Acknowledgment sent {"connection_id":154063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:59:05] local.INFO: TCP Data received {"connection_id":154064,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:59:05] local.INFO: Processing buffer {"connection_id":154064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:59:05] local.INFO: IMEI packet received {"connection_id":154064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 07:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":154064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:59:05] local.INFO: TCP Data received {"connection_id":154064,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 07:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 07:59:05] local.INFO: Processing buffer {"connection_id":154064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 07:59:05] local.INFO: Packet analysis {"connection_id":154064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 07:59:05] local.INFO: Extracted packet for processing {"connection_id":154064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 07:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300102912001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786328828000,"timestamp_ms":1786328828000,"timestamp_seconds":1786328828,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97ec860"} 
[2026-08-10 07:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:59: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-08-10 07:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300102912001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300102912001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:59:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300102912001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":154064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:59:05] local.INFO: GPS data processed {"connection_id":154064,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:59:05] local.INFO: Acknowledgment sent {"connection_id":154064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:59:16] local.INFO: TCP Data received {"connection_id":151318,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:59:16] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:59:16] local.INFO: IMEI packet received {"connection_id":151318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 07:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":151318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 07:59:17] local.INFO: TCP Data received {"connection_id":151318,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:59:17] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:59:17] local.INFO: IMEI packet received {"connection_id":151318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":151318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:59:19] local.INFO: TCP Data received {"connection_id":151318,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:59:19] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 07:59:19] local.INFO: IMEI packet received {"connection_id":151318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 07:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":151318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 07:59:20] local.INFO: TCP Data received {"connection_id":151318,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98052e8012d7a254005e46858000c013f2a..."} 
[2026-08-10 07:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98052e8012d7a254005e46858000c013f2a..."} 
[2026-08-10 07:59:20] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98052e8012d7a254005e46858000c013f2a..."} 
[2026-08-10 07:59:20] local.INFO: Packet analysis {"connection_id":151318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe980"} 
[2026-08-10 07:59:20] local.INFO: Extracted packet for processing {"connection_id":151318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe980"} 
[2026-08-10 07:59:20] local.INFO: GPS Element Parsed {"raw_longitude":762979648,"raw_latitude":98855000,"longitude_deg":76.2979648,"latitude_deg":9.8855,"altitude":12,"angle":319,"satellites":42,"speed":7,"hex_longitude":"2d7a2540","hex_latitude":"05e46858","is_valid_coordinates":true} 
[2026-08-10 07:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300203264001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117120837584158720,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803129921932032000,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786328929000,"timestamp_ms":1786328929000,"timestamp_seconds":1786328929,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98052e8"} 
[2026-08-10 07:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 07:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300203264001,"66":13243,"102":206,"87":12288,"24":7,"16":117120837584158720,"45":8803129921932032000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-10 07:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300203264001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:59:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 07:59:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 07:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117120837584158720,"km_value":117120837584158.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803129921932032000,"description":"Unknown IO ID 45"} 
[2026-08-10 07:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300203264001,"power":13243,"unknown_102":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8803129921932032000}} 
[2026-08-10 07:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":151318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:59:21] local.INFO: GPS data processed {"connection_id":151318,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:59:21] local.INFO: Acknowledgment sent {"connection_id":151318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:59:37] local.INFO: TCP Data received {"connection_id":154064,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 07:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 07:59:37] local.INFO: Processing buffer {"connection_id":154064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 07:59:37] local.INFO: Packet analysis {"connection_id":154064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 07:59:37] local.INFO: Extracted packet for processing {"connection_id":154064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 07:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 07:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300102912001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786328828000,"timestamp_ms":1786328828000,"timestamp_seconds":1786328828,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97ec860"} 
[2026-08-10 07:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 07:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 07:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 07:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 07:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 07:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300102912001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 07:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 07:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 07:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300102912001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 07:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 07:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 07:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300102912001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 07:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":154064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:59:37] local.INFO: GPS data processed {"connection_id":154064,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:59:37] local.INFO: Acknowledgment sent {"connection_id":154064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:59:52] local.INFO: TCP Data received {"connection_id":151318,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9806a58012d7a234005e46a70000b014e2c..."} 
[2026-08-10 07:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9806a58012d7a234005e46a70000b014e2c..."} 
[2026-08-10 07:59:52] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9806a58012d7a234005e46a70000b014e2c..."} 
[2026-08-10 07:59:52] local.INFO: Packet analysis {"connection_id":151318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe980"} 
[2026-08-10 07:59:52] local.INFO: Extracted packet for processing {"connection_id":151318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe980"} 
[2026-08-10 07:59:52] local.INFO: GPS Element Parsed {"raw_longitude":762979136,"raw_latitude":98855536,"longitude_deg":76.2979136,"latitude_deg":9.8855536,"altitude":11,"angle":334,"satellites":44,"speed":5,"hex_longitude":"2d7a2340","hex_latitude":"05e46a70","is_valid_coordinates":true} 
[2026-08-10 07:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 07:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300205824001,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117120871943897088,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801511440816560128,"note":"Value kept but may cause issues"} 
[2026-08-10 07:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 07:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786328935000,"timestamp_ms":1786328935000,"timestamp_seconds":1786328935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9806a58"} 
[2026-08-10 07:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 07:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 07:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 07:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 07:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 07:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 07:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 07:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 07:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 07:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 07:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 07:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 07:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300205824001,"66":13352,"102":206,"87":12288,"24":5,"16":117120871943897088,"45":8801511440816560128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-10 07:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 07:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 07:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300205824001,"description":"Unknown IO ID 0"} 
[2026-08-10 07:59:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 07:59:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 07:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117120871943897088,"km_value":117120871943897.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 07:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801511440816560128,"description":"Unknown IO ID 45"} 
[2026-08-10 07:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300205824001,"power":13352,"unknown_102":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8801511440816560128}} 
[2026-08-10 07:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":151318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 07:59:52] local.INFO: GPS data processed {"connection_id":151318,"processed":1,"errors":0,"total":1} 
[2026-08-10 07:59:52] local.INFO: Acknowledgment sent {"connection_id":151318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 07:59:59] local.INFO: TCP Data received {"connection_id":151698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:59:59] local.INFO: Processing buffer {"connection_id":151698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 07:59:59] local.INFO: IMEI packet received {"connection_id":151698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 07:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":151698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:00:05] local.INFO: TCP Data received {"connection_id":151698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:00:05] local.INFO: Processing buffer {"connection_id":151698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:00:05] local.INFO: IMEI packet received {"connection_id":151698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":151698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:00:06] local.INFO: TCP Data received {"connection_id":151698,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:00:06] local.INFO: Processing buffer {"connection_id":151698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:00:06] local.INFO: Packet analysis {"connection_id":151698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 08:00:06] local.INFO: Extracted packet for processing {"connection_id":151698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 08:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300102912001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786328828000,"timestamp_ms":1786328828000,"timestamp_seconds":1786328828,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97ec860"} 
[2026-08-10 08:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:00: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-08-10 08:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300102912001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300102912001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300102912001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":151698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:00:06] local.INFO: GPS data processed {"connection_id":151698,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:00:06] local.INFO: Acknowledgment sent {"connection_id":151698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:00:14] local.INFO: TCP Data received {"connection_id":151319,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:00:14] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:00:14] local.INFO: IMEI packet received {"connection_id":151319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":151319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:00:22] local.INFO: TCP Data received {"connection_id":151319,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:00:22] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:00:22] local.INFO: IMEI packet received {"connection_id":151319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":151319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:00:23] local.INFO: TCP Data received {"connection_id":151319,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe980b878012d7a224005e46b70000b014e2a..."} 
[2026-08-10 08:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe980b878012d7a224005e46b70000b014e2a..."} 
[2026-08-10 08:00:23] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe980b878012d7a224005e46b70000b014e2a..."} 
[2026-08-10 08:00:23] local.INFO: Packet analysis {"connection_id":151319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe980"} 
[2026-08-10 08:00:23] local.INFO: Extracted packet for processing {"connection_id":151319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe980"} 
[2026-08-10 08:00:23] local.INFO: GPS Element Parsed {"raw_longitude":762978880,"raw_latitude":98855792,"longitude_deg":76.297888,"latitude_deg":9.8855792,"altitude":11,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d7a2240","hex_latitude":"05e46b70","is_valid_coordinates":true} 
[2026-08-10 08:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300207360001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117120893418733568,"note":"Value kept but may cause issues"} 
[2026-08-10 08:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800948490863276032,"note":"Value kept but may cause issues"} 
[2026-08-10 08:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786328955000,"timestamp_ms":1786328955000,"timestamp_seconds":1786328955,"priority":1,"record_length":96,"hex_timestamp":"0000019fe980b878"} 
[2026-08-10 08:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:00: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-08-10 08:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-10 08:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300207360001,"66":13472,"97":206,"85":15104,"24":0,"16":117120893418733568,"45":8800948490863276032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300207360001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:00:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:00:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117120893418733568,"km_value":117120893418733.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800948490863276032,"description":"Unknown IO ID 45"} 
[2026-08-10 08:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300207360001,"power":13472,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800948490863276032}} 
[2026-08-10 08:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":151319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:00:23] local.INFO: GPS data processed {"connection_id":151319,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:00:23] local.INFO: Acknowledgment sent {"connection_id":151319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:00:38] local.INFO: TCP Data received {"connection_id":151698,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:00:38] local.INFO: Processing buffer {"connection_id":151698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:00:38] local.INFO: Packet analysis {"connection_id":151698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 08:00:38] local.INFO: Extracted packet for processing {"connection_id":151698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 08:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300102912001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786328828000,"timestamp_ms":1786328828000,"timestamp_seconds":1786328828,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97ec860"} 
[2026-08-10 08:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08: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-08-10 08:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300102912001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300102912001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300102912001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":151698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:00:38] local.INFO: GPS data processed {"connection_id":151698,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:00:38] local.INFO: Acknowledgment sent {"connection_id":151698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:00:59] local.INFO: TCP Data received {"connection_id":152611,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:00:59] local.INFO: Processing buffer {"connection_id":152611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:00:59] local.INFO: IMEI packet received {"connection_id":152611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":152611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:01:05] local.INFO: TCP Data received {"connection_id":152611,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:01:05] local.INFO: Processing buffer {"connection_id":152611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:01:05] local.INFO: IMEI packet received {"connection_id":152611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":152611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:01:05] local.INFO: TCP Data received {"connection_id":152611,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:01:05] local.INFO: Processing buffer {"connection_id":152611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:01:05] local.INFO: Packet analysis {"connection_id":152611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 08:01:05] local.INFO: Extracted packet for processing {"connection_id":152611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 08:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300102912001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786328828000,"timestamp_ms":1786328828000,"timestamp_seconds":1786328828,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97ec860"} 
[2026-08-10 08:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:01: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-08-10 08:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300102912001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300102912001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300102912001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":152611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:01:05] local.INFO: GPS data processed {"connection_id":152611,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:01:05] local.INFO: Acknowledgment sent {"connection_id":152611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:01:12] local.INFO: TCP Data received {"connection_id":151319,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9810a80012d7a224005e46b70000b014e2c..."} 
[2026-08-10 08:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9810a80012d7a224005e46b70000b014e2c..."} 
[2026-08-10 08:01:12] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9810a80012d7a224005e46b70000b014e2c..."} 
[2026-08-10 08:01:12] local.INFO: Packet analysis {"connection_id":151319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe981"} 
[2026-08-10 08:01:12] local.INFO: Extracted packet for processing {"connection_id":151319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe981"} 
[2026-08-10 08:01:12] local.INFO: GPS Element Parsed {"raw_longitude":762978880,"raw_latitude":98855792,"longitude_deg":76.297888,"latitude_deg":9.8855792,"altitude":11,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d7a2240","hex_latitude":"05e46b70","is_valid_coordinates":true} 
[2026-08-10 08:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300212480001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117120893418733568,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800667015886630912,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786328976000,"timestamp_ms":1786328976000,"timestamp_seconds":1786328976,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9810a80"} 
[2026-08-10 08:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:01: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":160,"data_length":795,"current_offset":136} 
[2026-08-10 08:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300212480001,"66":13450,"97":206,"85":15104,"24":0,"16":117120893418733568,"45":8800667015886630912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300212480001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:01:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117120893418733568,"km_value":117120893418733.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800667015886630912,"description":"Unknown IO ID 45"} 
[2026-08-10 08:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300212480001,"power":13450,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800667015886630912}} 
[2026-08-10 08:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":151319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:01:12] local.INFO: GPS data processed {"connection_id":151319,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:01:12] local.INFO: Acknowledgment sent {"connection_id":151319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:01:20] local.INFO: TCP Data received {"connection_id":154065,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:01:20] local.INFO: Processing buffer {"connection_id":154065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:01:20] local.INFO: IMEI packet received {"connection_id":154065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":154065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:01:25] local.INFO: TCP Data received {"connection_id":154065,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:01:25] local.INFO: Processing buffer {"connection_id":154065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:01:25] local.INFO: IMEI packet received {"connection_id":154065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":154065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:01:26] local.INFO: TCP Data received {"connection_id":154065,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9815c88012d7a224005e46b70000b014e2c..."} 
[2026-08-10 08:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9815c88012d7a224005e46b70000b014e2c..."} 
[2026-08-10 08:01:26] local.INFO: Processing buffer {"connection_id":154065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9815c88012d7a224005e46b70000b014e2c..."} 
[2026-08-10 08:01:26] local.INFO: Packet analysis {"connection_id":154065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe981"} 
[2026-08-10 08:01:26] local.INFO: Extracted packet for processing {"connection_id":154065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe981"} 
[2026-08-10 08:01:26] local.INFO: GPS Element Parsed {"raw_longitude":762978880,"raw_latitude":98855792,"longitude_deg":76.297888,"latitude_deg":9.8855792,"altitude":11,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d7a2240","hex_latitude":"05e46b70","is_valid_coordinates":true} 
[2026-08-10 08:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300217856001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117120893418733568,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800667015886630912,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786328997000,"timestamp_ms":1786328997000,"timestamp_seconds":1786328997,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9815c88"} 
[2026-08-10 08:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 08:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300217856001,"66":13319,"97":206,"85":15104,"24":0,"16":117120893418733568,"45":8800667015886630912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300217856001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:01:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117120893418733568,"km_value":117120893418733.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800667015886630912,"description":"Unknown IO ID 45"} 
[2026-08-10 08:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300217856001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800667015886630912}} 
[2026-08-10 08:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":154065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:01:26] local.INFO: GPS data processed {"connection_id":154065,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:01:26] local.INFO: Acknowledgment sent {"connection_id":154065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:01:31] local.INFO: TCP Data received {"connection_id":154065,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe981ae90012d7a224005e46b70000b014e2b..."} 
[2026-08-10 08:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe981ae90012d7a224005e46b70000b014e2b..."} 
[2026-08-10 08:01:31] local.INFO: Processing buffer {"connection_id":154065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe981ae90012d7a224005e46b70000b014e2b..."} 
[2026-08-10 08:01:31] local.INFO: Packet analysis {"connection_id":154065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe981"} 
[2026-08-10 08:01:31] local.INFO: Extracted packet for processing {"connection_id":154065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe981"} 
[2026-08-10 08:01:31] local.INFO: GPS Element Parsed {"raw_longitude":762978880,"raw_latitude":98855792,"longitude_deg":76.297888,"latitude_deg":9.8855792,"altitude":11,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d7a2240","hex_latitude":"05e46b70","is_valid_coordinates":true} 
[2026-08-10 08:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300223232001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117120893418733568,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800667015886630912,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786329018000,"timestamp_ms":1786329018000,"timestamp_seconds":1786329018,"priority":1,"record_length":96,"hex_timestamp":"0000019fe981ae90"} 
[2026-08-10 08:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 08:01:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3917489160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:31] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2152916993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:31] local.WARNING: Large IO value detected {"io_id":228,"raw_value":6593269901735045632,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-08-10 08:01:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831261184,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:31] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57822655093298992,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:31] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2314851503303409669,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:31] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,159,10,45,64,107,11,44,66,184,42,106,1,240,40,227,233,228,4,113,205,87,7,43,248,239,52,102,2,160,5,14,220,128],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-08-10 08:01:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793000960279445504,"timestamp_seconds":793000960279445.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300223232001,"66":13624,"97":206,"85":15104,"24":0,"16":117120893418733568,"45":8800667015886630912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300223232001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:01:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:01:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117120893418733568,"km_value":117120893418733.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800667015886630912,"description":"Unknown IO ID 45"} 
[2026-08-10 08:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300223232001,"power":13624,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800667015886630912}} 
[2026-08-10 08:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":154065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:01:31] local.INFO: GPS data processed {"connection_id":154065,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:01:31] local.INFO: Acknowledgment sent {"connection_id":154065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:01:37] local.INFO: TCP Data received {"connection_id":152611,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:01:37] local.INFO: Processing buffer {"connection_id":152611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:01:37] local.INFO: Packet analysis {"connection_id":152611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 08:01:37] local.INFO: Extracted packet for processing {"connection_id":152611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 08:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300102912001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786328828000,"timestamp_ms":1786328828000,"timestamp_seconds":1786328828,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97ec860"} 
[2026-08-10 08:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300102912001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300102912001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300102912001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":152611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:01:37] local.INFO: GPS data processed {"connection_id":152611,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:01:37] local.INFO: Acknowledgment sent {"connection_id":152611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:02:05] local.INFO: TCP Data received {"connection_id":154066,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:02:05] local.INFO: Processing buffer {"connection_id":154066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:02:05] local.INFO: IMEI packet received {"connection_id":154066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":154066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:02:09] local.INFO: TCP Data received {"connection_id":154066,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:02:09] local.INFO: Processing buffer {"connection_id":154066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:02:09] local.INFO: IMEI packet received {"connection_id":154066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":154066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:02:10] local.INFO: TCP Data received {"connection_id":154066,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:02:10] local.INFO: Processing buffer {"connection_id":154066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:02:10] local.INFO: Packet analysis {"connection_id":154066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 08:02:10] local.INFO: Extracted packet for processing {"connection_id":154066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 08:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300102912001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786328828000,"timestamp_ms":1786328828000,"timestamp_seconds":1786328828,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97ec860"} 
[2026-08-10 08:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:02: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-08-10 08: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-08-10 08:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300102912001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300102912001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300102912001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":154066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:02:10] local.INFO: GPS data processed {"connection_id":154066,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:02:10] local.INFO: Acknowledgment sent {"connection_id":154066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:02:15] local.INFO: TCP Data received {"connection_id":154066,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:02:15] local.INFO: Processing buffer {"connection_id":154066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe97ec860012d34c20006aa3f08000300f330..."} 
[2026-08-10 08:02:15] local.INFO: Packet analysis {"connection_id":154066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 08:02:15] local.INFO: Extracted packet for processing {"connection_id":154066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe97e"} 
[2026-08-10 08:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":3,"angle":243,"satellites":48,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300102912001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786328828000,"timestamp_ms":1786328828000,"timestamp_seconds":1786328828,"priority":1,"record_length":96,"hex_timestamp":"0000019fe97ec860"} 
[2026-08-10 08:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:02: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-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300102912001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300102912001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300102912001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":154066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:02:15] local.INFO: GPS data processed {"connection_id":154066,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:02:15] local.INFO: Acknowledgment sent {"connection_id":154066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:02:19] local.INFO: TCP Data received {"connection_id":151699,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:02:19] local.INFO: Processing buffer {"connection_id":151699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:02:19] local.INFO: IMEI packet received {"connection_id":151699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":151699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:02:25] local.INFO: TCP Data received {"connection_id":151699,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:02:25] local.INFO: Processing buffer {"connection_id":151699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:02:25] local.INFO: IMEI packet received {"connection_id":151699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":151699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:02:27] local.INFO: TCP Data received {"connection_id":151699,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9834ca0012d79d78005e45de8000e00f329..."} 
[2026-08-10 08:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9834ca0012d79d78005e45de8000e00f329..."} 
[2026-08-10 08:02:27] local.INFO: Processing buffer {"connection_id":151699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9834ca0012d79d78005e45de8000e00f329..."} 
[2026-08-10 08:02:27] local.INFO: Packet analysis {"connection_id":151699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:02:27] local.INFO: Extracted packet for processing {"connection_id":151699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:02:27] local.INFO: GPS Element Parsed {"raw_longitude":762959744,"raw_latitude":98852328,"longitude_deg":76.2959744,"latitude_deg":9.8852328,"altitude":14,"angle":243,"satellites":41,"speed":8,"hex_longitude":"2d79d780","hex_latitude":"05e45de8","is_valid_coordinates":true} 
[2026-08-10 08:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300253952001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121876966244352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8781034136260130816,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786329124000,"timestamp_ms":1786329124000,"timestamp_seconds":1786329124,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9834ca0"} 
[2026-08-10 08:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 08:02:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:27] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3917624160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:27] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":386145,"corrected_to":0} 
[2026-08-10 08:02:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:27] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2195156993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:27] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7617838799778949888,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-10 08:02:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831742464,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:27] local.WARNING: Large IO value detected {"io_id":40,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:27] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-1364589392259186683,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:27] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,145,87,24,241,157,16,25,159,254,45,128,96,12,43,10,66,39,246,238,64,1,240,116,227,233,228,4,113,205,133,208,44,239,52,2,160,5,7,20,40,129],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":246,"original":386145,"validated":0},{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-10 08:02:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937045771021516800,"timestamp_seconds":937045771021516.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":151699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":151699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":151699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300253952001,"66":13319,"145":206,"87":12288,"24":8,"16":117121876966244352,"45":8781034136260130816},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-10 08:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300253952001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:02:27] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:02:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121876966244352,"km_value":117121876966244.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8781034136260130816,"description":"Unknown IO ID 45"} 
[2026-08-10 08:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300253952001,"power":13319,"unknown_145":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8781034136260130816}} 
[2026-08-10 08:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":151699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:02:28] local.INFO: GPS data processed {"connection_id":151699,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:02:28] local.INFO: Acknowledgment sent {"connection_id":151699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:02:58] local.INFO: TCP Data received {"connection_id":151699,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9835088012d79d70005e45d70000f00e529..."} 
[2026-08-10 08:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9835088012d79d70005e45d70000f00e529..."} 
[2026-08-10 08:02:58] local.INFO: Processing buffer {"connection_id":151699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9835088012d79d70005e45d70000f00e529..."} 
[2026-08-10 08:02:58] local.INFO: Packet analysis {"connection_id":151699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:02:58] local.INFO: Extracted packet for processing {"connection_id":151699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:02:58] local.INFO: GPS Element Parsed {"raw_longitude":762959616,"raw_latitude":98852208,"longitude_deg":76.2959616,"latitude_deg":9.8852208,"altitude":15,"angle":229,"satellites":41,"speed":8,"hex_longitude":"2d79d700","hex_latitude":"05e45d70","is_valid_coordinates":true} 
[2026-08-10 08:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300255744001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121889851146240,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779626761376622592,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786329125000,"timestamp_ms":1786329125000,"timestamp_seconds":1786329125,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9835088"} 
[2026-08-10 08:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 08:02:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:58] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3917645160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:58] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":386145,"corrected_to":0} 
[2026-08-10 08:02:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:58] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2196692993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:58] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7187745035364805376,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-10 08:02:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831615488,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:58] local.WARNING: Large IO value detected {"io_id":105,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:58] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3701960188530311173,"note":"Value kept but may cause issues"} 
[2026-08-10 08:02:58] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,145,87,24,241,157,16,25,159,49,45,128,93,13,42,10,66,254,96,12,43,39,246,1,240,79,227,233,228,4,113,205,6,215,208,40,239,52,2,160,5,9,105,130],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":246,"original":386145,"validated":0},{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-10 08:02:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009073673950724096,"timestamp_seconds":1009073673950724.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300255744001,"66":13319,"145":206,"87":12288,"24":8,"16":117121889851146240,"45":8779626761376622592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-10 08:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300255744001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:02:58] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:02:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121889851146240,"km_value":117121889851146.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779626761376622592,"description":"Unknown IO ID 45"} 
[2026-08-10 08:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300255744001,"power":13319,"unknown_145":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8779626761376622592}} 
[2026-08-10 08:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":151699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:02:58] local.INFO: GPS data processed {"connection_id":151699,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:02:58] local.INFO: Acknowledgment sent {"connection_id":151699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:03:00] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:03:00] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:03:00] local.INFO: IMEI packet received {"connection_id":151700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":151700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:03:05] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:03:05] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:03:05] local.INFO: IMEI packet received {"connection_id":151700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":151700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:03:06] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:03:06] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:03:06] local.INFO: Packet analysis {"connection_id":151700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:03:06] local.INFO: Extracted packet for processing {"connection_id":151700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300179968001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786329129000,"timestamp_ms":1786329129000,"timestamp_seconds":1786329129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9836028"} 
[2026-08-10 08:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300179968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300179968001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300179968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":151700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:03:06] local.INFO: GPS data processed {"connection_id":151700,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:03:06] local.INFO: Acknowledgment sent {"connection_id":151700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:03:19] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:03:20] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:03:20] local.INFO: IMEI packet received {"connection_id":151320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":151320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:03:25] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:03:25] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:03:25] local.INFO: IMEI packet received {"connection_id":151320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":151320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:03:26] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9835858012d79d5c005e45cb8001000fd29..."} 
[2026-08-10 08:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9835858012d79d5c005e45cb8001000fd29..."} 
[2026-08-10 08:03:26] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9835858012d79d5c005e45cb8001000fd29..."} 
[2026-08-10 08:03:26] local.INFO: Packet analysis {"connection_id":151320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:03:26] local.INFO: Extracted packet for processing {"connection_id":151320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:03:26] local.INFO: GPS Element Parsed {"raw_longitude":762959296,"raw_latitude":98852024,"longitude_deg":76.2959296,"latitude_deg":9.8852024,"altitude":16,"angle":253,"satellites":41,"speed":6,"hex_longitude":"2d79d5c0","hex_latitude":"05e45cb8","is_valid_coordinates":true} 
[2026-08-10 08:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300256000001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121907031015424,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779486023888236544,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786329127000,"timestamp_ms":1786329127000,"timestamp_seconds":1786329127,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9835858"} 
[2026-08-10 08:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 08:03:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3917666160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:26] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2197204993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:26] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7048133455506451456,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-10 08:03:26] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3758173561,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831615488,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:26] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:26] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-8833809374255906811,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:26] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,145,87,24,241,157,16,25,159,76,45,128,93,14,41,10,66,49,13,42,254,1,240,51,227,233,228,4,113,205,12,238,245,112,239,52,39,2,160,5,9,62,130],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-10 08:03:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081115874825863168,"timestamp_seconds":1081115874825863.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300256000001,"66":13276,"145":206,"87":12288,"24":6,"16":117121907031015424,"45":8779486023888236544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-10 08:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300256000001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:03:26] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:03:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121907031015424,"km_value":117121907031015.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779486023888236544,"description":"Unknown IO ID 45"} 
[2026-08-10 08:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300256000001,"power":13276,"unknown_145":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8779486023888236544}} 
[2026-08-10 08:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":151320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:03:26] local.INFO: GPS data processed {"connection_id":151320,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:03:26] local.INFO: Acknowledgment sent {"connection_id":151320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:03:30] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe983aa60012d79d34005e45ee8000f00fd2b..."} 
[2026-08-10 08:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe983aa60012d79d34005e45ee8000f00fd2b..."} 
[2026-08-10 08:03:30] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe983aa60012d79d34005e45ee8000f00fd2b..."} 
[2026-08-10 08:03:30] local.INFO: Packet analysis {"connection_id":151320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:03:30] local.INFO: Extracted packet for processing {"connection_id":151320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:03:30] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300256512001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779134180167301120,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786329148000,"timestamp_ms":1786329148000,"timestamp_seconds":1786329148,"priority":1,"record_length":96,"hex_timestamp":"0000019fe983aa60"} 
[2026-08-10 08:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 08:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300256512001,"66":13363,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8779134180167301120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-10 08:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300256512001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:03:30] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:03:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779134180167301120,"description":"Unknown IO ID 45"} 
[2026-08-10 08:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300256512001,"power":13363,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8779134180167301120}} 
[2026-08-10 08:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":151320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:03:30] local.INFO: GPS data processed {"connection_id":151320,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:03:30] local.INFO: Acknowledgment sent {"connection_id":151320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:03:37] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:03:37] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:03:37] local.INFO: Packet analysis {"connection_id":151700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:03:37] local.INFO: Extracted packet for processing {"connection_id":151700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300179968001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786329129000,"timestamp_ms":1786329129000,"timestamp_seconds":1786329129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9836028"} 
[2026-08-10 08:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300179968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300179968001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300179968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":151700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:03:37] local.INFO: GPS data processed {"connection_id":151700,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:03:37] local.INFO: Acknowledgment sent {"connection_id":151700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:04:00] local.INFO: TCP Data received {"connection_id":154067,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:04:00] local.INFO: Processing buffer {"connection_id":154067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:04:00] local.INFO: IMEI packet received {"connection_id":154067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":154067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:04:05] local.INFO: TCP Data received {"connection_id":154067,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:04:05] local.INFO: Processing buffer {"connection_id":154067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:04:05] local.INFO: IMEI packet received {"connection_id":154067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":154067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:04:05] local.INFO: TCP Data received {"connection_id":154067,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:04:05] local.INFO: Processing buffer {"connection_id":154067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:04:05] local.INFO: Packet analysis {"connection_id":154067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:04:05] local.INFO: Extracted packet for processing {"connection_id":154067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300179968001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786329129000,"timestamp_ms":1786329129000,"timestamp_seconds":1786329129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9836028"} 
[2026-08-10 08:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:04: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-08-10 08:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300179968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300179968001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:04:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300179968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":154067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:04:05] local.INFO: GPS data processed {"connection_id":154067,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:04:05] local.INFO: Acknowledgment sent {"connection_id":154067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:04:14] local.INFO: TCP Data received {"connection_id":154068,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:04:14] local.INFO: Processing buffer {"connection_id":154068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:04:14] local.INFO: IMEI packet received {"connection_id":154068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":154068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:04:19] local.INFO: TCP Data received {"connection_id":154068,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:04:19] local.INFO: Processing buffer {"connection_id":154068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:04:19] local.INFO: IMEI packet received {"connection_id":154068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":154068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:04:21] local.INFO: TCP Data received {"connection_id":154068,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe983fc68012d79d34005e45ee8000f00fd29..."} 
[2026-08-10 08:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe983fc68012d79d34005e45ee8000f00fd29..."} 
[2026-08-10 08:04:21] local.INFO: Processing buffer {"connection_id":154068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe983fc68012d79d34005e45ee8000f00fd29..."} 
[2026-08-10 08:04:21] local.INFO: Packet analysis {"connection_id":154068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:04:21] local.INFO: Extracted packet for processing {"connection_id":154068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:04:21] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300261888001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725667840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786329169000,"timestamp_ms":1786329169000,"timestamp_seconds":1786329169,"priority":1,"record_length":96,"hex_timestamp":"0000019fe983fc68"} 
[2026-08-10 08:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 08:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300261888001,"66":13515,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778430492725667840},"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-08-10 08:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300261888001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:04:21] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:04:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725667840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300261888001,"power":13515,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725667840}} 
[2026-08-10 08:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":154068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:04:21] local.INFO: GPS data processed {"connection_id":154068,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:04:21] local.INFO: Acknowledgment sent {"connection_id":154068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:04:37] local.INFO: TCP Data received {"connection_id":154067,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:04:37] local.INFO: Processing buffer {"connection_id":154067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:04:37] local.INFO: Packet analysis {"connection_id":154067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:04:37] local.INFO: Extracted packet for processing {"connection_id":154067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300179968001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786329129000,"timestamp_ms":1786329129000,"timestamp_seconds":1786329129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9836028"} 
[2026-08-10 08:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300179968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300179968001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300179968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":154067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:04:37] local.INFO: GPS data processed {"connection_id":154067,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:04:37] local.INFO: Acknowledgment sent {"connection_id":154067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:04:53] local.INFO: TCP Data received {"connection_id":154068,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98413d8012d79d34005e45ee8000f00fd29..."} 
[2026-08-10 08:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98413d8012d79d34005e45ee8000f00fd29..."} 
[2026-08-10 08:04:53] local.INFO: Processing buffer {"connection_id":154068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98413d8012d79d34005e45ee8000f00fd29..."} 
[2026-08-10 08:04:53] local.INFO: Packet analysis {"connection_id":154068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe984"} 
[2026-08-10 08:04:53] local.INFO: Extracted packet for processing {"connection_id":154068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe984"} 
[2026-08-10 08:04:53] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300267264001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725667840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786329175000,"timestamp_ms":1786329175000,"timestamp_seconds":1786329175,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98413d8"} 
[2026-08-10 08:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 08:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300267264001,"66":13580,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778430492725667840},"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-08-10 08:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300267264001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:04:53] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:04:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725667840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300267264001,"power":13580,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725667840}} 
[2026-08-10 08:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":154068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:04:53] local.INFO: GPS data processed {"connection_id":154068,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:04:53] local.INFO: Acknowledgment sent {"connection_id":154068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:04:59] local.INFO: TCP Data received {"connection_id":152612,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:04:59] local.INFO: Processing buffer {"connection_id":152612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:04:59] local.INFO: IMEI packet received {"connection_id":152612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":152612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:05:04] local.INFO: TCP Data received {"connection_id":152612,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:05:04] local.INFO: Processing buffer {"connection_id":152612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:05:04] local.INFO: IMEI packet received {"connection_id":152612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":152612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:05:05] local.INFO: TCP Data received {"connection_id":152612,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:05:05] local.INFO: Processing buffer {"connection_id":152612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:05:05] local.INFO: Packet analysis {"connection_id":152612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:05:05] local.INFO: Extracted packet for processing {"connection_id":152612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300179968001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786329129000,"timestamp_ms":1786329129000,"timestamp_seconds":1786329129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9836028"} 
[2026-08-10 08:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:05: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-08-10 08:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300179968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300179968001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:05:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300179968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":152612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:05:05] local.INFO: GPS data processed {"connection_id":152612,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:05:05] local.INFO: Acknowledgment sent {"connection_id":152612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:05:15] local.INFO: TCP Data received {"connection_id":151321,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:05:15] local.INFO: Processing buffer {"connection_id":151321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:05:15] local.INFO: IMEI packet received {"connection_id":151321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":151321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:05:19] local.INFO: TCP Data received {"connection_id":151321,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:05:20] local.INFO: Processing buffer {"connection_id":151321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:05:20] local.INFO: IMEI packet received {"connection_id":151321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":151321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:05:21] local.INFO: TCP Data received {"connection_id":151321,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98413d8012d79d34005e45ee8000f00fd29..."} 
[2026-08-10 08:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98413d8012d79d34005e45ee8000f00fd29..."} 
[2026-08-10 08:05:21] local.INFO: Processing buffer {"connection_id":151321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98413d8012d79d34005e45ee8000f00fd29..."} 
[2026-08-10 08:05:21] local.INFO: Packet analysis {"connection_id":151321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe984"} 
[2026-08-10 08:05:21] local.INFO: Extracted packet for processing {"connection_id":151321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe984"} 
[2026-08-10 08:05:21] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300268800001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725667840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786329175000,"timestamp_ms":1786329175000,"timestamp_seconds":1786329175,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98413d8"} 
[2026-08-10 08:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620121,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3917689160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":228276274831818762,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2203092993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145780881,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2684431737,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2147869789,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163074429505111,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-1116886229157150708,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:21] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,145,87,24,241,157,16,25,159,252,45,64,94,15,41,10,66,170,43,88,192,1,240,220,227,233,228,4,113,205,8,76,215,232,239,52,2,160,5,13,121,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-08-10 08:05:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081142263104405743,"timestamp_seconds":1081142263104405.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300268800001,"66":13580,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778430492725667840},"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-08-10 08:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300268800001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:05:21] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:05:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725667840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300268800001,"power":13580,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725667840}} 
[2026-08-10 08:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":151321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:05:21] local.INFO: GPS data processed {"connection_id":151321,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:05:21] local.INFO: Acknowledgment sent {"connection_id":151321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:05:37] local.INFO: TCP Data received {"connection_id":152612,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:05:37] local.INFO: Processing buffer {"connection_id":152612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:05:37] local.INFO: Packet analysis {"connection_id":152612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:05:37] local.INFO: Extracted packet for processing {"connection_id":152612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300179968001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786329129000,"timestamp_ms":1786329129000,"timestamp_seconds":1786329129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9836028"} 
[2026-08-10 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-08-10 08:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300179968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300179968001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300179968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":152612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:05:37] local.INFO: GPS data processed {"connection_id":152612,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:05:37] local.INFO: Acknowledgment sent {"connection_id":152612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:05:53] local.INFO: TCP Data received {"connection_id":151321,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe986b7a0012d79d34005e45ee8000f00fd2a..."} 
[2026-08-10 08:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe986b7a0012d79d34005e45ee8000f00fd2a..."} 
[2026-08-10 08:05:53] local.INFO: Processing buffer {"connection_id":151321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe986b7a0012d79d34005e45ee8000f00fd2a..."} 
[2026-08-10 08:05:53] local.INFO: Packet analysis {"connection_id":151321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe986"} 
[2026-08-10 08:05:53] local.INFO: Extracted packet for processing {"connection_id":151321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe986"} 
[2026-08-10 08:05:53] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300313088001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725667840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786329348000,"timestamp_ms":1786329348000,"timestamp_seconds":1786329348,"priority":1,"record_length":96,"hex_timestamp":"0000019fe986b7a0"} 
[2026-08-10 08:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-10 08:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300313088001,"66":11602,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778430492725667840},"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-08-10 08:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300313088001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:05:53] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:05:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725667840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300313088001,"power":11602,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725667840}} 
[2026-08-10 08:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":151321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:05:53] local.INFO: GPS data processed {"connection_id":151321,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:05:53] local.INFO: Acknowledgment sent {"connection_id":151321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:05:59] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:05:59] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:05:59] local.INFO: IMEI packet received {"connection_id":151701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":151701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:06:05] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:06:05] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:06:05] local.INFO: IMEI packet received {"connection_id":151701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":151701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:06:06] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:06:06] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:06:06] local.INFO: Packet analysis {"connection_id":151701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:06:06] local.INFO: Extracted packet for processing {"connection_id":151701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300179968001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786329129000,"timestamp_ms":1786329129000,"timestamp_seconds":1786329129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9836028"} 
[2026-08-10 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-08-10 08:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300179968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300179968001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300179968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":151701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:06:06] local.INFO: GPS data processed {"connection_id":151701,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:06:06] local.INFO: Acknowledgment sent {"connection_id":151701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:06:19] local.INFO: TCP Data received {"connection_id":154069,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:06:19] local.INFO: Processing buffer {"connection_id":154069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:06:19] local.INFO: IMEI packet received {"connection_id":154069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":154069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:06:24] local.INFO: TCP Data received {"connection_id":154069,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:06:24] local.INFO: Processing buffer {"connection_id":154069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:06:24] local.INFO: IMEI packet received {"connection_id":154069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":154069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:06:25] local.INFO: TCP Data received {"connection_id":154069,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe986c358012d79d34005e45ee8000f00fd2a..."} 
[2026-08-10 08:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe986c358012d79d34005e45ee8000f00fd2a..."} 
[2026-08-10 08:06:25] local.INFO: Processing buffer {"connection_id":154069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe986c358012d79d34005e45ee8000f00fd2a..."} 
[2026-08-10 08:06:25] local.INFO: Packet analysis {"connection_id":154069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe986"} 
[2026-08-10 08:06:25] local.INFO: Extracted packet for processing {"connection_id":154069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe986"} 
[2026-08-10 08:06:25] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300313088001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725667840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786329351000,"timestamp_ms":1786329351000,"timestamp_seconds":1786329351,"priority":1,"record_length":96,"hex_timestamp":"0000019fe986c358"} 
[2026-08-10 08:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-10 08:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300313088001,"66":12069,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778430492725667840},"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-08-10 08:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300313088001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:06:25] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:06:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725667840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300313088001,"power":12069,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725667840}} 
[2026-08-10 08:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":154069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:06:25] local.INFO: GPS data processed {"connection_id":154069,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:06:25] local.INFO: Acknowledgment sent {"connection_id":154069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:06:37] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:06:37] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:06:37] local.INFO: Packet analysis {"connection_id":151701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:06:37] local.INFO: Extracted packet for processing {"connection_id":151701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300179968001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786329129000,"timestamp_ms":1786329129000,"timestamp_seconds":1786329129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9836028"} 
[2026-08-10 08:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300179968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300179968001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300179968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":151701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:06:37] local.INFO: GPS data processed {"connection_id":151701,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:06:37] local.INFO: Acknowledgment sent {"connection_id":151701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:06:57] local.INFO: TCP Data received {"connection_id":154069,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9874058012d79d44005e45ed8000f00fd2d..."} 
[2026-08-10 08:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9874058012d79d44005e45ed8000f00fd2d..."} 
[2026-08-10 08:06:57] local.INFO: Processing buffer {"connection_id":154069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9874058012d79d44005e45ed8000f00fd2d..."} 
[2026-08-10 08:06:57] local.INFO: Packet analysis {"connection_id":154069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:06:57] local.INFO: Extracted packet for processing {"connection_id":154069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:06:57] local.INFO: GPS Element Parsed {"raw_longitude":762958912,"raw_latitude":98852568,"longitude_deg":76.2958912,"latitude_deg":9.8852568,"altitude":15,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d79d440","hex_latitude":"05e45ed8","is_valid_coordinates":true} 
[2026-08-10 08:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300317184001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725667840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786329383000,"timestamp_ms":1786329383000,"timestamp_seconds":1786329383,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9874058"} 
[2026-08-10 08:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-10 08:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2280,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300317184001,"66":12461,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778430492725667840},"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-08-10 08:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300317184001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:06:57] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:06:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725667840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300317184001,"power":12461,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725667840}} 
[2026-08-10 08:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":154069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:06:57] local.INFO: GPS data processed {"connection_id":154069,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:06:57] local.INFO: Acknowledgment sent {"connection_id":154069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:06:59] local.INFO: TCP Data received {"connection_id":151322,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:06:59] local.INFO: Processing buffer {"connection_id":151322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:06:59] local.INFO: IMEI packet received {"connection_id":151322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":151322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:07:04] local.INFO: TCP Data received {"connection_id":151322,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:07:04] local.INFO: Processing buffer {"connection_id":151322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:07:04] local.INFO: IMEI packet received {"connection_id":151322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":151322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:07:06] local.INFO: TCP Data received {"connection_id":151322,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:07:06] local.INFO: Processing buffer {"connection_id":151322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:07:06] local.INFO: Packet analysis {"connection_id":151322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:07:06] local.INFO: Extracted packet for processing {"connection_id":151322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:07:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300179968001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786329129000,"timestamp_ms":1786329129000,"timestamp_seconds":1786329129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9836028"} 
[2026-08-10 08:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300179968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300179968001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300179968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":151322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:07:06] local.INFO: GPS data processed {"connection_id":151322,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:07:06] local.INFO: Acknowledgment sent {"connection_id":151322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:07:14] local.INFO: TCP Data received {"connection_id":154070,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:07:14] local.INFO: Processing buffer {"connection_id":154070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:07:14] local.INFO: IMEI packet received {"connection_id":154070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":154070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:07:19] local.INFO: TCP Data received {"connection_id":154070,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:07:19] local.INFO: Processing buffer {"connection_id":154070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:07:19] local.INFO: IMEI packet received {"connection_id":154070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":154070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:07:20] local.INFO: TCP Data received {"connection_id":154070,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9874058012d79d44005e45ed8000f00fd2d..."} 
[2026-08-10 08:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9874058012d79d44005e45ed8000f00fd2d..."} 
[2026-08-10 08:07:20] local.INFO: Processing buffer {"connection_id":154070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9874058012d79d44005e45ed8000f00fd2d..."} 
[2026-08-10 08:07:20] local.INFO: Packet analysis {"connection_id":154070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:07:20] local.INFO: Extracted packet for processing {"connection_id":154070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:07:20] local.INFO: GPS Element Parsed {"raw_longitude":762958912,"raw_latitude":98852568,"longitude_deg":76.2958912,"latitude_deg":9.8852568,"altitude":15,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d79d440","hex_latitude":"05e45ed8","is_valid_coordinates":true} 
[2026-08-10 08:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300322048001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778711967702374400,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786329383000,"timestamp_ms":1786329383000,"timestamp_seconds":1786329383,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9874058"} 
[2026-08-10 08:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 08:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300322048001,"66":12461,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778711967702374400},"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-08-10 08:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300322048001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:07:20] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:07:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778711967702374400,"description":"Unknown IO ID 45"} 
[2026-08-10 08:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300322048001,"power":12461,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778711967702374400}} 
[2026-08-10 08:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":154070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:07:20] local.INFO: GPS data processed {"connection_id":154070,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:07:20] local.INFO: Acknowledgment sent {"connection_id":154070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:07:25] local.INFO: TCP Data received {"connection_id":154070,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe987a200012d79d34005e45ee8000f00fd2b..."} 
[2026-08-10 08:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe987a200012d79d34005e45ee8000f00fd2b..."} 
[2026-08-10 08:07:25] local.INFO: Processing buffer {"connection_id":154070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe987a200012d79d34005e45ee8000f00fd2b..."} 
[2026-08-10 08:07:25] local.INFO: Packet analysis {"connection_id":154070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:07:25] local.INFO: Extracted packet for processing {"connection_id":154070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:07:25] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300322048001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778711967702374400,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786329408000,"timestamp_ms":1786329408000,"timestamp_seconds":1786329408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe987a200"} 
[2026-08-10 08:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 08:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300322048001,"66":11874,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778711967702374400},"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-08-10 08:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300322048001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:07:25] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:07:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778711967702374400,"description":"Unknown IO ID 45"} 
[2026-08-10 08:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300322048001,"power":11874,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778711967702374400}} 
[2026-08-10 08:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":154070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:07:25] local.INFO: GPS data processed {"connection_id":154070,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:07:25] local.INFO: Acknowledgment sent {"connection_id":154070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:07:37] local.INFO: TCP Data received {"connection_id":151322,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:07:37] local.INFO: Processing buffer {"connection_id":151322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9836028012d34c20006aa3f08000400f32f..."} 
[2026-08-10 08:07:37] local.INFO: Packet analysis {"connection_id":151322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:07:37] local.INFO: Extracted packet for processing {"connection_id":151322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe983"} 
[2026-08-10 08:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300179968001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786329129000,"timestamp_ms":1786329129000,"timestamp_seconds":1786329129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9836028"} 
[2026-08-10 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-08-10 08:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:07: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-08-10 08:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300179968001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300179968001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300179968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":151322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:07:37] local.INFO: GPS data processed {"connection_id":151322,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:07:37] local.INFO: Acknowledgment sent {"connection_id":151322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:07:57] local.INFO: TCP Data received {"connection_id":154070,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe987f408012d79d34005e45ee8000f00fd2c..."} 
[2026-08-10 08:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe987f408012d79d34005e45ee8000f00fd2c..."} 
[2026-08-10 08:07:57] local.INFO: Processing buffer {"connection_id":154070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe987f408012d79d34005e45ee8000f00fd2c..."} 
[2026-08-10 08:07:57] local.INFO: Packet analysis {"connection_id":154070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:07:57] local.INFO: Extracted packet for processing {"connection_id":154070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:07:57] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300328448001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725667840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786329429000,"timestamp_ms":1786329429000,"timestamp_seconds":1786329429,"priority":1,"record_length":96,"hex_timestamp":"0000019fe987f408"} 
[2026-08-10 08:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 08:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300328448001,"66":11743,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778430492725667840},"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-08-10 08:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300328448001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:07:57] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:07:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725667840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300328448001,"power":11743,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725667840}} 
[2026-08-10 08:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":154070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:07:57] local.INFO: GPS data processed {"connection_id":154070,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:07:57] local.INFO: Acknowledgment sent {"connection_id":154070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:08:05] local.INFO: TCP Data received {"connection_id":154071,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:08:05] local.INFO: Processing buffer {"connection_id":154071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:08:05] local.INFO: IMEI packet received {"connection_id":154071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":154071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:08:09] local.INFO: TCP Data received {"connection_id":154071,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:08:09] local.INFO: Processing buffer {"connection_id":154071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:08:09] local.INFO: IMEI packet received {"connection_id":154071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":154071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:08:10] local.INFO: TCP Data received {"connection_id":154071,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:08:10] local.INFO: Processing buffer {"connection_id":154071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:08:10] local.INFO: Packet analysis {"connection_id":154071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:08:10] local.INFO: Extracted packet for processing {"connection_id":154071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300257024001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786329430000,"timestamp_ms":1786329430000,"timestamp_seconds":1786329430,"priority":1,"record_length":96,"hex_timestamp":"0000019fe987f7f0"} 
[2026-08-10 08:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 08:08: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-08-10 08:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300257024001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300257024001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300257024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":154071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:08:10] local.INFO: GPS data processed {"connection_id":154071,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:08:10] local.INFO: Acknowledgment sent {"connection_id":154071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:08:13] local.INFO: TCP Data received {"connection_id":151323,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:08:13] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:08:13] local.INFO: IMEI packet received {"connection_id":151323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":151323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:08:14] local.INFO: TCP Data received {"connection_id":151323,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:08:14] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:08:14] local.INFO: IMEI packet received {"connection_id":151323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":151323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:08:15] local.INFO: TCP Data received {"connection_id":154071,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:08:15] local.INFO: Processing buffer {"connection_id":154071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:08:15] local.INFO: Packet analysis {"connection_id":154071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:08:15] local.INFO: Extracted packet for processing {"connection_id":154071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300257024001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786329430000,"timestamp_ms":1786329430000,"timestamp_seconds":1786329430,"priority":1,"record_length":96,"hex_timestamp":"0000019fe987f7f0"} 
[2026-08-10 08:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 08:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300257024001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300257024001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:08:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300257024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":154071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:08:15] local.INFO: GPS data processed {"connection_id":154071,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:08:15] local.INFO: Acknowledgment sent {"connection_id":154071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:08:19] local.INFO: TCP Data received {"connection_id":151323,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:08:19] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:08:19] local.INFO: IMEI packet received {"connection_id":151323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":151323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:08:20] local.INFO: TCP Data received {"connection_id":151323,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9884610012d79d34005e45ee8000f00fd2b..."} 
[2026-08-10 08:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9884610012d79d34005e45ee8000f00fd2b..."} 
[2026-08-10 08:08:20] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9884610012d79d34005e45ee8000f00fd2b..."} 
[2026-08-10 08:08:20] local.INFO: Packet analysis {"connection_id":151323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe988"} 
[2026-08-10 08:08:20] local.INFO: Extracted packet for processing {"connection_id":151323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe988"} 
[2026-08-10 08:08:20] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300333824001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725667840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786329450000,"timestamp_ms":1786329450000,"timestamp_seconds":1786329450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9884610"} 
[2026-08-10 08:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 08:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300333824001,"66":11808,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778430492725667840},"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-08-10 08:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300333824001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:08:20] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:08:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725667840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300333824001,"power":11808,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725667840}} 
[2026-08-10 08:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":151323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:08:20] local.INFO: GPS data processed {"connection_id":151323,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:08:20] local.INFO: Acknowledgment sent {"connection_id":151323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:08:51] local.INFO: TCP Data received {"connection_id":151323,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9889818012d79d34005e45ee8000f00fd2a..."} 
[2026-08-10 08:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9889818012d79d34005e45ee8000f00fd2a..."} 
[2026-08-10 08:08:51] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9889818012d79d34005e45ee8000f00fd2a..."} 
[2026-08-10 08:08:51] local.INFO: Packet analysis {"connection_id":151323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe988"} 
[2026-08-10 08:08:51] local.INFO: Extracted packet for processing {"connection_id":151323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe988"} 
[2026-08-10 08:08:51] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300339200001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725667840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:08: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-08-10 08:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786329471000,"timestamp_ms":1786329471000,"timestamp_seconds":1786329471,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9889818"} 
[2026-08-10 08:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:08: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-08-10 08:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-10 08:08:51] 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-08-10 08:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300339200001,"66":11830,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778430492725667840},"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-08-10 08:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300339200001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:08:51] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:08:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725667840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300339200001,"power":11830,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725667840}} 
[2026-08-10 08:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":151323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:08:51] local.INFO: GPS data processed {"connection_id":151323,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:08:51] local.INFO: Acknowledgment sent {"connection_id":151323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:09:00] local.INFO: TCP Data received {"connection_id":154072,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:09:00] local.INFO: Processing buffer {"connection_id":154072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:09:00] local.INFO: IMEI packet received {"connection_id":154072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":154072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:09:04] local.INFO: TCP Data received {"connection_id":154072,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:09:04] local.INFO: Processing buffer {"connection_id":154072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:09:04] local.INFO: IMEI packet received {"connection_id":154072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":154072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:09:05] local.INFO: TCP Data received {"connection_id":154072,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:09:05] local.INFO: Processing buffer {"connection_id":154072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:09:05] local.INFO: Packet analysis {"connection_id":154072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:09:05] local.INFO: Extracted packet for processing {"connection_id":154072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300257024001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786329430000,"timestamp_ms":1786329430000,"timestamp_seconds":1786329430,"priority":1,"record_length":96,"hex_timestamp":"0000019fe987f7f0"} 
[2026-08-10 08:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 08:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300257024001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300257024001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:09:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300257024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":154072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:09:05] local.INFO: GPS data processed {"connection_id":154072,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:09:05] local.INFO: Acknowledgment sent {"connection_id":154072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:09:14] local.INFO: TCP Data received {"connection_id":151702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:09:14] local.INFO: Processing buffer {"connection_id":151702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:09:14] local.INFO: IMEI packet received {"connection_id":151702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":151702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:09:17] local.INFO: TCP Data received {"connection_id":151702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:09:17] local.INFO: Processing buffer {"connection_id":151702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:09:17] local.INFO: IMEI packet received {"connection_id":151702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":151702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:09:19] local.INFO: TCP Data received {"connection_id":151702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:09:19] local.INFO: Processing buffer {"connection_id":151702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:09:19] local.INFO: IMEI packet received {"connection_id":151702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":151702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:09:22] local.INFO: TCP Data received {"connection_id":151702,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe988ea20012d79d34005e45ee8000f00fd2a..."} 
[2026-08-10 08:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe988ea20012d79d34005e45ee8000f00fd2a..."} 
[2026-08-10 08:09:22] local.INFO: Processing buffer {"connection_id":151702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe988ea20012d79d34005e45ee8000f00fd2a..."} 
[2026-08-10 08:09:22] local.INFO: Packet analysis {"connection_id":151702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe988"} 
[2026-08-10 08:09:22] local.INFO: Extracted packet for processing {"connection_id":151702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe988"} 
[2026-08-10 08:09:22] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300344576001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725667840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786329492000,"timestamp_ms":1786329492000,"timestamp_seconds":1786329492,"priority":1,"record_length":96,"hex_timestamp":"0000019fe988ea20"} 
[2026-08-10 08:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-10 08:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300344576001,"66":11711,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778430492725667840},"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-08-10 08:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300344576001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:09:22] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:09:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725667840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300344576001,"power":11711,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725667840}} 
[2026-08-10 08:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":151702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:09:22] local.INFO: GPS data processed {"connection_id":151702,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:09:22] local.INFO: Acknowledgment sent {"connection_id":151702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:09:37] local.INFO: TCP Data received {"connection_id":154072,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:09:37] local.INFO: Processing buffer {"connection_id":154072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:09:37] local.INFO: Packet analysis {"connection_id":154072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:09:37] local.INFO: Extracted packet for processing {"connection_id":154072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300257024001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786329430000,"timestamp_ms":1786329430000,"timestamp_seconds":1786329430,"priority":1,"record_length":96,"hex_timestamp":"0000019fe987f7f0"} 
[2026-08-10 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-08-10 08:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 08:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:09: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-08-10 08:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300257024001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300257024001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300257024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":154072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:09:37] local.INFO: GPS data processed {"connection_id":154072,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:09:37] local.INFO: Acknowledgment sent {"connection_id":154072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:09:53] local.INFO: TCP Data received {"connection_id":151702,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9893c28012d79d34005e45ee8000f00fd2c..."} 
[2026-08-10 08:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9893c28012d79d34005e45ee8000f00fd2c..."} 
[2026-08-10 08:09:53] local.INFO: Processing buffer {"connection_id":151702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9893c28012d79d34005e45ee8000f00fd2c..."} 
[2026-08-10 08:09:53] local.INFO: Packet analysis {"connection_id":151702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe989"} 
[2026-08-10 08:09:53] local.INFO: Extracted packet for processing {"connection_id":151702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe989"} 
[2026-08-10 08:09:53] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300349952001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725667840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786329513000,"timestamp_ms":1786329513000,"timestamp_seconds":1786329513,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9893c28"} 
[2026-08-10 08:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-10 08:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300349952001,"66":11189,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778430492725667840},"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-08-10 08:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300349952001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:09:53] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:09:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725667840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300349952001,"power":11189,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725667840}} 
[2026-08-10 08:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":151702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:09:53] local.INFO: GPS data processed {"connection_id":151702,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:09:53] local.INFO: Acknowledgment sent {"connection_id":151702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:10:00] local.INFO: TCP Data received {"connection_id":154073,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:10:00] local.INFO: Processing buffer {"connection_id":154073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:10:00] local.INFO: IMEI packet received {"connection_id":154073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":154073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:10:04] local.INFO: TCP Data received {"connection_id":151324,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:10:04] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:10:04] local.INFO: IMEI packet received {"connection_id":151324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":151324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:10:05] local.INFO: TCP Data received {"connection_id":154073,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:10:05] local.INFO: Processing buffer {"connection_id":154073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:10:05] local.INFO: IMEI packet received {"connection_id":154073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":154073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:10:09] local.INFO: TCP Data received {"connection_id":151324,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:10:09] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:10:09] local.INFO: IMEI packet received {"connection_id":151324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":151324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:10:10] local.INFO: TCP Data received {"connection_id":151324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-08-10 08:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-08-10 08:10:10] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-08-10 08:10:10] local.INFO: Packet analysis {"connection_id":151324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 08:10:10] local.INFO: Extracted packet for processing {"connection_id":151324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 08:10:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 08:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27228022482403328,"note":"Value kept but may cause issues"} 
[2026-08-10 08:10:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 08:10:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28000,"timestamp_seconds":28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:10:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 08:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151324,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 08:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 08:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 08:10:10] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 08:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":151324,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 08:10:10] local.ERROR: GPS data processing failed {"connection_id":151324,"error":"No valid data to process"} 
[2026-08-10 08:10:10] local.INFO: Acknowledgment sent {"connection_id":151324,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 08:10:16] local.INFO: TCP Data received {"connection_id":154073,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:10:16] local.INFO: Processing buffer {"connection_id":154073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:10:16] local.INFO: Packet analysis {"connection_id":154073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:10:16] local.INFO: Extracted packet for processing {"connection_id":154073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300257024001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786329430000,"timestamp_ms":1786329430000,"timestamp_seconds":1786329430,"priority":1,"record_length":96,"hex_timestamp":"0000019fe987f7f0"} 
[2026-08-10 08:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 08:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300257024001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300257024001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:10:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300257024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":154073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:10:16] local.INFO: GPS data processed {"connection_id":154073,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:10:16] local.INFO: Acknowledgment sent {"connection_id":154073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:10:24] local.INFO: TCP Data received {"connection_id":154074,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:10:24] local.INFO: Processing buffer {"connection_id":154074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:10:24] local.INFO: IMEI packet received {"connection_id":154074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":154074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:10:29] local.INFO: TCP Data received {"connection_id":154074,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:10:29] local.INFO: Processing buffer {"connection_id":154074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:10:29] local.INFO: IMEI packet received {"connection_id":154074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":154074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:10:30] local.INFO: TCP Data received {"connection_id":154074,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9898e30012d79d34005e45ee8000f00fd29..."} 
[2026-08-10 08:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9898e30012d79d34005e45ee8000f00fd29..."} 
[2026-08-10 08:10:31] local.INFO: Processing buffer {"connection_id":154074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9898e30012d79d34005e45ee8000f00fd29..."} 
[2026-08-10 08:10:31] local.INFO: Packet analysis {"connection_id":154074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe989"} 
[2026-08-10 08:10:31] local.INFO: Extracted packet for processing {"connection_id":154074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe989"} 
[2026-08-10 08:10:31] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852584,"longitude_deg":76.2958656,"latitude_deg":9.8852584,"altitude":15,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e45ee8","is_valid_coordinates":true} 
[2026-08-10 08:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300355328001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117121971455524864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725667840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786329534000,"timestamp_ms":1786329534000,"timestamp_seconds":1786329534,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9898e30"} 
[2026-08-10 08:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":43,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 08:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2042,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300355328001,"66":11656,"145":206,"87":12288,"24":0,"16":117121971455524864,"45":8778430492725667840},"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-08-10 08:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300355328001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:10:31] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 08:10:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117121971455524864,"km_value":117121971455524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725667840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300355328001,"power":11656,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725667840}} 
[2026-08-10 08:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":154074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:10:31] local.INFO: GPS data processed {"connection_id":154074,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:10:31] local.INFO: Acknowledgment sent {"connection_id":154074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:10:41] local.INFO: TCP Data received {"connection_id":151324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-08-10 08:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-08-10 08:10:41] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-08-10 08:10:41] local.INFO: Packet analysis {"connection_id":151324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 08:10:41] local.INFO: Extracted packet for processing {"connection_id":151324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 08:10:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 08:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27228022482403328,"note":"Value kept but may cause issues"} 
[2026-08-10 08:10:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 08:10:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":49000,"timestamp_seconds":49,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:10:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 08:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151324,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 08:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 08:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 08:10:41] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 08:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":151324,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 08:10:41] local.ERROR: GPS data processing failed {"connection_id":151324,"error":"No valid data to process"} 
[2026-08-10 08:10:41] local.INFO: Acknowledgment sent {"connection_id":151324,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 08:10:59] local.INFO: TCP Data received {"connection_id":151703,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:10:59] local.INFO: Processing buffer {"connection_id":151703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:10:59] local.INFO: IMEI packet received {"connection_id":151703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":151703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:11:05] local.INFO: TCP Data received {"connection_id":151703,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:11:05] local.INFO: Processing buffer {"connection_id":151703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:11:05] local.INFO: IMEI packet received {"connection_id":151703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":151703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:11:05] local.INFO: TCP Data received {"connection_id":151703,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:11:05] local.INFO: Processing buffer {"connection_id":151703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:11:05] local.INFO: Packet analysis {"connection_id":151703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:11:05] local.INFO: Extracted packet for processing {"connection_id":151703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300257024001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786329430000,"timestamp_ms":1786329430000,"timestamp_seconds":1786329430,"priority":1,"record_length":96,"hex_timestamp":"0000019fe987f7f0"} 
[2026-08-10 08:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 08:11: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-08-10 08:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300257024001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300257024001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300257024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":151703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:11:05] local.INFO: GPS data processed {"connection_id":151703,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:11:05] local.INFO: Acknowledgment sent {"connection_id":151703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:11:13] local.INFO: TCP Data received {"connection_id":151324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-10 08:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-10 08:11:13] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-10 08:11:13] local.INFO: Packet analysis {"connection_id":151324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-10 08:11:13] local.INFO: Extracted packet for processing {"connection_id":151324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-10 08:11:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 08:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27228022482403328,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 08:11:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72000,"timestamp_seconds":72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:11:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 08:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151324,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 08:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 08:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 08:11:13] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 08:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":151324,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 08:11:13] local.ERROR: GPS data processing failed {"connection_id":151324,"error":"No valid data to process"} 
[2026-08-10 08:11:13] local.INFO: Acknowledgment sent {"connection_id":151324,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 08:11:24] local.INFO: TCP Data received {"connection_id":152613,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:11:24] local.INFO: Processing buffer {"connection_id":152613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:11:24] local.INFO: IMEI packet received {"connection_id":152613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":152613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:11:29] local.INFO: TCP Data received {"connection_id":152613,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:11:29] local.INFO: Processing buffer {"connection_id":152613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:11:29] local.INFO: IMEI packet received {"connection_id":152613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":152613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:11:32] local.INFO: TCP Data received {"connection_id":152613,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98b7678012d7a23c005e469c8000d007d26..."} 
[2026-08-10 08:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98b7678012d7a23c005e469c8000d007d26..."} 
[2026-08-10 08:11:32] local.INFO: Processing buffer {"connection_id":152613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98b7678012d7a23c005e469c8000d007d26..."} 
[2026-08-10 08:11:32] local.INFO: Packet analysis {"connection_id":152613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98b"} 
[2026-08-10 08:11:32] local.INFO: Extracted packet for processing {"connection_id":152613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98b"} 
[2026-08-10 08:11:32] local.INFO: GPS Element Parsed {"raw_longitude":762979264,"raw_latitude":98855368,"longitude_deg":76.2979264,"latitude_deg":9.8855368,"altitude":13,"angle":125,"satellites":38,"speed":7,"hex_longitude":"2d7a23c0","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-10 08:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300392448001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117122993657741312,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800948490863255552,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786329659000,"timestamp_ms":1786329659000,"timestamp_seconds":1786329659,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98b7678"} 
[2026-08-10 08:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 08:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303136924290413,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:32] local.WARNING: Large IO value detected {"io_id":102,"raw_value":58079708874014726,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3918153160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:32] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:32] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2326740993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-08-10 08:11:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831597056,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:32] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,87,24,241,157,16,26,159,110,45,128,106,15,44,10,66,63,19,42,1,192,240,122,227,25,233,228,4,113,205,93,216,239,2,160,5,31,6],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-08-10 08:11:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008931824065708032,"timestamp_seconds":1008931824065708.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300392448001,"66":13102,"102":206,"87":12288,"24":7,"16":117122993657741312,"45":8800948490863255552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-10 08:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300392448001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:11:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 08:11:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-10 08:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117122993657741312,"km_value":117122993657741.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800948490863255552,"description":"Unknown IO ID 45"} 
[2026-08-10 08:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300392448001,"power":13102,"unknown_102":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8800948490863255552}} 
[2026-08-10 08:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":152613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:11:32] local.INFO: GPS data processed {"connection_id":152613,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:11:32] local.INFO: Acknowledgment sent {"connection_id":152613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:11:37] local.INFO: TCP Data received {"connection_id":151703,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:11:37] local.INFO: Processing buffer {"connection_id":151703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:11:37] local.INFO: Packet analysis {"connection_id":151703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:11:37] local.INFO: Extracted packet for processing {"connection_id":151703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300257024001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786329430000,"timestamp_ms":1786329430000,"timestamp_seconds":1786329430,"priority":1,"record_length":96,"hex_timestamp":"0000019fe987f7f0"} 
[2026-08-10 08:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 08:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:11: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-08-10 08:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300257024001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300257024001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300257024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":151703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:11:37] local.INFO: GPS data processed {"connection_id":151703,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:11:37] local.INFO: Acknowledgment sent {"connection_id":151703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:11:45] local.INFO: TCP Data received {"connection_id":151324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98afd60012d0b0a000702a668002d005c05..."} 
[2026-08-10 08:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98afd60012d0b0a000702a668002d005c05..."} 
[2026-08-10 08:11:45] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98afd60012d0b0a000702a668002d005c05..."} 
[2026-08-10 08:11:45] local.INFO: Packet analysis {"connection_id":151324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98a"} 
[2026-08-10 08:11:45] local.INFO: Extracted packet for processing {"connection_id":151324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98a"} 
[2026-08-10 08:11:45] local.INFO: GPS Element Parsed {"raw_longitude":755698176,"raw_latitude":117614184,"longitude_deg":75.5698176,"latitude_deg":11.7614184,"altitude":45,"angle":92,"satellites":5,"speed":0,"hex_longitude":"2d0b0a00","hex_latitude":"0702a668","is_valid_coordinates":true} 
[2026-08-10 08:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27228022482403328,"note":"Value kept but may cause issues"} 
[2026-08-10 08:11:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 08:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786329628000,"timestamp_ms":1786329628000,"timestamp_seconds":1786329628,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98afd60"} 
[2026-08-10 08:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:11:45] 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-08-10 08:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 08:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14298,"17":206,"94":11008,"24":0,"16":27228022482403328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16]} 
[2026-08-10 08:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-10 08:11:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27228022482403328,"km_value":27228022482403.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:11:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14298,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null}} 
[2026-08-10 08:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":151324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618454,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:11:45] local.INFO: GPS data processed {"connection_id":151324,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:11:45] local.INFO: Acknowledgment sent {"connection_id":151324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:11:59] local.INFO: TCP Data received {"connection_id":152614,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:11:59] local.INFO: Processing buffer {"connection_id":152614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:11:59] local.INFO: IMEI packet received {"connection_id":152614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":152614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:12:05] local.INFO: TCP Data received {"connection_id":152614,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:12:05] local.INFO: Processing buffer {"connection_id":152614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:12:05] local.INFO: IMEI packet received {"connection_id":152614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":152614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:12:06] local.INFO: TCP Data received {"connection_id":152614,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:12:06] local.INFO: Processing buffer {"connection_id":152614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:12:06] local.INFO: Packet analysis {"connection_id":152614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:12:06] local.INFO: Extracted packet for processing {"connection_id":152614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300257024001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786329430000,"timestamp_ms":1786329430000,"timestamp_seconds":1786329430,"priority":1,"record_length":96,"hex_timestamp":"0000019fe987f7f0"} 
[2026-08-10 08:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 08:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300257024001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300257024001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:12:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300257024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":152614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:12:06] local.INFO: GPS data processed {"connection_id":152614,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:12:06] local.INFO: Acknowledgment sent {"connection_id":152614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:12:17] local.INFO: TCP Data received {"connection_id":151324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98b0148012d0b0a000702a630002d005c05..."} 
[2026-08-10 08:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98b0148012d0b0a000702a630002d005c05..."} 
[2026-08-10 08:12:17] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98b0148012d0b0a000702a630002d005c05..."} 
[2026-08-10 08:12:17] local.INFO: Packet analysis {"connection_id":151324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98b"} 
[2026-08-10 08:12:17] local.INFO: Extracted packet for processing {"connection_id":151324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98b"} 
[2026-08-10 08:12:17] local.INFO: GPS Element Parsed {"raw_longitude":755698176,"raw_latitude":117614128,"longitude_deg":75.5698176,"latitude_deg":11.7614128,"altitude":45,"angle":92,"satellites":5,"speed":0,"hex_longitude":"2d0b0a00","hex_latitude":"0702a630","is_valid_coordinates":true} 
[2026-08-10 08:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300384768001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27228022482403328,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795448314293544960,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12: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-08-10 08:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786329629000,"timestamp_ms":1786329629000,"timestamp_seconds":1786329629,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98b0148"} 
[2026-08-10 08:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:12:17] 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-08-10 08:12: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":218,"data_length":795,"current_offset":136} 
[2026-08-10 08:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300384768001,"66":14439,"17":206,"94":11008,"24":0,"16":27228022482403328,"45":795448314293544960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 08:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300384768001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:12:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27228022482403328,"km_value":27228022482403.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":795448314293544960,"description":"Unknown IO ID 45"} 
[2026-08-10 08:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300384768001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795448314293544960}} 
[2026-08-10 08:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":151324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618456,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:12:17] local.INFO: GPS data processed {"connection_id":151324,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:12:17] local.INFO: Acknowledgment sent {"connection_id":151324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:12:19] local.INFO: TCP Data received {"connection_id":152615,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:12:19] local.INFO: Processing buffer {"connection_id":152615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:12:19] local.INFO: IMEI packet received {"connection_id":152615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":152615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:12:25] local.INFO: TCP Data received {"connection_id":152615,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:12:25] local.INFO: Processing buffer {"connection_id":152615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:12:25] local.INFO: IMEI packet received {"connection_id":152615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":152615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:12:26] local.INFO: TCP Data received {"connection_id":152615,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98c5138012d7a67c005e46828000d00882a..."} 
[2026-08-10 08:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98c5138012d7a67c005e46828000d00882a..."} 
[2026-08-10 08:12:26] local.INFO: Processing buffer {"connection_id":152615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98c5138012d7a67c005e46828000d00882a..."} 
[2026-08-10 08:12:26] local.INFO: Packet analysis {"connection_id":152615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:12:26] local.INFO: Extracted packet for processing {"connection_id":152615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:12:26] local.INFO: GPS Element Parsed {"raw_longitude":762996672,"raw_latitude":98854952,"longitude_deg":76.2996672,"latitude_deg":9.8854952,"altitude":13,"angle":136,"satellites":42,"speed":7,"hex_longitude":"2d7a67c0","hex_latitude":"05e46828","is_valid_coordinates":true} 
[2026-08-10 08:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300406528001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117123947140481024,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819877683046991872,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786329715000,"timestamp_ms":1786329715000,"timestamp_seconds":1786329715,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98c5138"} 
[2026-08-10 08:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 08:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300406528001,"66":13222,"97":206,"85":15104,"24":7,"16":117123947140481024,"45":8819877683046991872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300406528001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:12:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117123947140481024,"km_value":117123947140481.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819877683046991872,"description":"Unknown IO ID 45"} 
[2026-08-10 08:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300406528001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8819877683046991872}} 
[2026-08-10 08:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":152615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:12:26] local.INFO: GPS data processed {"connection_id":152615,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:12:26] local.INFO: Acknowledgment sent {"connection_id":152615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:12:27] local.INFO: TCP Data received {"connection_id":152615,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98c9788012d7a834005e45210000a008129..."} 
[2026-08-10 08:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98c9788012d7a834005e45210000a008129..."} 
[2026-08-10 08:12:27] local.INFO: Processing buffer {"connection_id":152615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98c9788012d7a834005e45210000a008129..."} 
[2026-08-10 08:12:27] local.INFO: Packet analysis {"connection_id":152615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:12:27] local.INFO: Extracted packet for processing {"connection_id":152615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763003712,"raw_latitude":98849296,"longitude_deg":76.3003712,"latitude_deg":9.8849296,"altitude":10,"angle":129,"satellites":41,"speed":39,"hex_longitude":"2d7a8340","hex_latitude":"05e45210","is_valid_coordinates":true} 
[2026-08-10 08:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300407040001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117124380932177920,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820229526767806464,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786329733000,"timestamp_ms":1786329733000,"timestamp_seconds":1786329733,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98c9788"} 
[2026-08-10 08:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-10 08:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300407040001,"66":13243,"97":206,"85":15104,"24":39,"16":117124380932177920,"45":8820229526767806464},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300407040001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:12:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117124380932177920,"km_value":117124380932177.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820229526767806464,"description":"Unknown IO ID 45"} 
[2026-08-10 08:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300407040001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8820229526767806464}} 
[2026-08-10 08:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":152615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:12:27] local.INFO: GPS data processed {"connection_id":152615,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:12:27] local.INFO: Acknowledgment sent {"connection_id":152615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:12:40] local.INFO: TCP Data received {"connection_id":152614,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:12:40] local.INFO: Processing buffer {"connection_id":152614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe987f7f0012d34c20006aa3f08000400f32e..."} 
[2026-08-10 08:12:40] local.INFO: Packet analysis {"connection_id":152614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:12:40] local.INFO: Extracted packet for processing {"connection_id":152614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe987"} 
[2026-08-10 08:12:40] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300257024001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786329430000,"timestamp_ms":1786329430000,"timestamp_seconds":1786329430,"priority":1,"record_length":96,"hex_timestamp":"0000019fe987f7f0"} 
[2026-08-10 08:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 08:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300257024001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300257024001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:12:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:12:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300257024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":152614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:12:40] local.INFO: GPS data processed {"connection_id":152614,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:12:40] local.INFO: Acknowledgment sent {"connection_id":152614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:12:50] local.INFO: TCP Data received {"connection_id":151324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98b5350012d0b0a000702a548002e005c05..."} 
[2026-08-10 08:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98b5350012d0b0a000702a548002e005c05..."} 
[2026-08-10 08:12:50] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98b5350012d0b0a000702a548002e005c05..."} 
[2026-08-10 08:12:50] local.INFO: Packet analysis {"connection_id":151324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98b"} 
[2026-08-10 08:12:50] local.INFO: Extracted packet for processing {"connection_id":151324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98b"} 
[2026-08-10 08:12:50] local.INFO: GPS Element Parsed {"raw_longitude":755698176,"raw_latitude":117613896,"longitude_deg":75.5698176,"latitude_deg":11.7613896,"altitude":46,"angle":92,"satellites":5,"speed":0,"hex_longitude":"2d0b0a00","hex_latitude":"0702a548","is_valid_coordinates":true} 
[2026-08-10 08:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300385024001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27228048252207104,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795448314293530624,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786329650000,"timestamp_ms":1786329650000,"timestamp_seconds":1786329650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98b5350"} 
[2026-08-10 08:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:12: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-08-10 08:12: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-08-10 08:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300385024001,"66":14450,"17":206,"94":11008,"24":0,"16":27228048252207104,"45":795448314293530624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 08:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300385024001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:12:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27228048252207104,"km_value":27228048252207.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":795448314293530624,"description":"Unknown IO ID 45"} 
[2026-08-10 08:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300385024001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795448314293530624}} 
[2026-08-10 08:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":151324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618460,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:12:50] local.INFO: GPS data processed {"connection_id":151324,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:12:50] local.INFO: Acknowledgment sent {"connection_id":151324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:12:58] local.INFO: TCP Data received {"connection_id":152615,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98cb6c8012d7aa18005e43a080009007e27..."} 
[2026-08-10 08:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98cb6c8012d7aa18005e43a080009007e27..."} 
[2026-08-10 08:12:58] local.INFO: Processing buffer {"connection_id":152615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98cb6c8012d7aa18005e43a080009007e27..."} 
[2026-08-10 08:12:58] local.INFO: Packet analysis {"connection_id":152615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:12:58] local.INFO: Extracted packet for processing {"connection_id":152615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:12:58] local.INFO: GPS Element Parsed {"raw_longitude":763011456,"raw_latitude":98843144,"longitude_deg":76.3011456,"latitude_deg":9.8843144,"altitude":9,"angle":126,"satellites":39,"speed":53,"hex_longitude":"2d7aa180","hex_latitude":"05e43a08","is_valid_coordinates":true} 
[2026-08-10 08:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300411648001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117124857673547776,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827970088625901568,"note":"Value kept but may cause issues"} 
[2026-08-10 08:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786329741000,"timestamp_ms":1786329741000,"timestamp_seconds":1786329741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98cb6c8"} 
[2026-08-10 08:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 08:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300411648001,"66":13048,"97":206,"85":15104,"24":53,"16":117124857673547776,"45":8827970088625901568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300411648001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:12:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:12:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117124857673547776,"km_value":117124857673547.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827970088625901568,"description":"Unknown IO ID 45"} 
[2026-08-10 08:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300411648001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8827970088625901568}} 
[2026-08-10 08:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":152615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:12:58] local.INFO: GPS data processed {"connection_id":152615,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:12:58] local.INFO: Acknowledgment sent {"connection_id":152615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:12:59] local.INFO: TCP Data received {"connection_id":151325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:12:59] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:12:59] local.INFO: IMEI packet received {"connection_id":151325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":151325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:13:05] local.INFO: TCP Data received {"connection_id":151325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:13:05] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:13:05] local.INFO: IMEI packet received {"connection_id":151325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":151325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:13:06] local.INFO: TCP Data received {"connection_id":151325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:13:06] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:13:06] local.INFO: Packet analysis {"connection_id":151325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:13:06] local.INFO: Extracted packet for processing {"connection_id":151325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300334080001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786329731000,"timestamp_ms":1786329731000,"timestamp_seconds":1786329731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98c8fb8"} 
[2026-08-10 08:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300334080001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300334080001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300334080001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":151325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:13:06] local.INFO: GPS data processed {"connection_id":151325,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:13:06] local.INFO: Acknowledgment sent {"connection_id":151325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:13:15] local.INFO: TCP Data received {"connection_id":151326,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:13:15] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:13:15] local.INFO: IMEI packet received {"connection_id":151326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":151326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:13:15] local.INFO: TCP Data received {"connection_id":151326,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:13:15] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:13:15] local.INFO: IMEI packet received {"connection_id":151326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":151326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:13:19] local.INFO: TCP Data received {"connection_id":151326,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:13:19] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:13:19] local.INFO: IMEI packet received {"connection_id":151326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":151326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:13:20] local.INFO: TCP Data received {"connection_id":151326,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98cd608012d7abcc005e422600009008829..."} 
[2026-08-10 08:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98cd608012d7abcc005e422600009008829..."} 
[2026-08-10 08:13:20] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98cd608012d7abcc005e422600009008829..."} 
[2026-08-10 08:13:20] local.INFO: Packet analysis {"connection_id":151326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:13:20] local.INFO: Extracted packet for processing {"connection_id":151326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:13:20] local.INFO: GPS Element Parsed {"raw_longitude":763018432,"raw_latitude":98837088,"longitude_deg":76.3018432,"latitude_deg":9.8837088,"altitude":9,"angle":136,"satellites":41,"speed":43,"hex_longitude":"2d7abcc0","hex_latitude":"05e42260","is_valid_coordinates":true} 
[2026-08-10 08:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300413696001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117125300055179264,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836484706669824000,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786329749000,"timestamp_ms":1786329749000,"timestamp_seconds":1786329749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98cd608"} 
[2026-08-10 08:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-10 08:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300413696001,"66":13091,"97":206,"85":15104,"24":43,"16":117125300055179264,"45":8836484706669824000},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300413696001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117125300055179264,"km_value":117125300055179.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836484706669824000,"description":"Unknown IO ID 45"} 
[2026-08-10 08:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300413696001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8836484706669824000}} 
[2026-08-10 08:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":151326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:13:20] local.INFO: GPS data processed {"connection_id":151326,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:13:20] local.INFO: Acknowledgment sent {"connection_id":151326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:13:21] local.INFO: TCP Data received {"connection_id":151324,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e010000019fe98d62a8012d0b09000702a3480032011e0a..."} 
[2026-08-10 08:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":93,"packet_hex":"00000000000000518e010000019fe98d62a8012d0b09000702a3480032011e0a..."} 
[2026-08-10 08:13:21] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fe98d62a8012d0b09000702a3480032011e0a..."} 
[2026-08-10 08:13:21] local.INFO: Packet analysis {"connection_id":151324,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fe98d"} 
[2026-08-10 08:13:21] local.INFO: Extracted packet for processing {"connection_id":151324,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fe98d"} 
[2026-08-10 08:13:21] local.INFO: GPS Element Parsed {"raw_longitude":755697920,"raw_latitude":117613384,"longitude_deg":75.569792,"latitude_deg":11.7613384,"altitude":50,"angle":286,"satellites":10,"speed":0,"hex_longitude":"2d0b0900","hex_latitude":"0702a348","is_valid_coordinates":true} 
[2026-08-10 08:13: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":93,"current_offset":40} 
[2026-08-10 08:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:13:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:13:21] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 08:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151324,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-10 08:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 08:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 08:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 08:13:21] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 08:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":151324,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 08:13:21] local.ERROR: GPS data processing failed {"connection_id":151324,"error":"No valid data to process"} 
[2026-08-10 08:13:21] local.INFO: Acknowledgment sent {"connection_id":151324,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 08:13:25] local.INFO: TCP Data received {"connection_id":151326,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98cf548012d7ad00005e40c900008009b28..."} 
[2026-08-10 08:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98cf548012d7ad00005e40c900008009b28..."} 
[2026-08-10 08:13:25] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98cf548012d7ad00005e40c900008009b28..."} 
[2026-08-10 08:13:25] local.INFO: Packet analysis {"connection_id":151326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:13:25] local.INFO: Extracted packet for processing {"connection_id":151326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763023360,"raw_latitude":98831504,"longitude_deg":76.302336,"latitude_deg":9.8831504,"altitude":8,"angle":155,"satellites":40,"speed":33,"hex_longitude":"2d7ad000","hex_latitude":"05e40c90","is_valid_coordinates":true} 
[2026-08-10 08:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300415744001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117125665127399424,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844154899783639040,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786329757000,"timestamp_ms":1786329757000,"timestamp_seconds":1786329757,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98cf548"} 
[2026-08-10 08:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 08:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300415744001,"66":13102,"97":206,"85":15104,"24":33,"16":117125665127399424,"45":8844154899783639040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300415744001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:13:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117125665127399424,"km_value":117125665127399.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844154899783639040,"description":"Unknown IO ID 45"} 
[2026-08-10 08:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300415744001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8844154899783639040}} 
[2026-08-10 08:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":151326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:13:25] local.INFO: GPS data processed {"connection_id":151326,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:13:25] local.INFO: Acknowledgment sent {"connection_id":151326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:13:37] local.INFO: TCP Data received {"connection_id":151325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:13:37] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:13:37] local.INFO: Packet analysis {"connection_id":151325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:13:37] local.INFO: Extracted packet for processing {"connection_id":151325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300334080001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786329731000,"timestamp_ms":1786329731000,"timestamp_seconds":1786329731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98c8fb8"} 
[2026-08-10 08:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:13: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-08-10 08:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300334080001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300334080001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300334080001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":151325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:13:37] local.INFO: GPS data processed {"connection_id":151325,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:13:37] local.INFO: Acknowledgment sent {"connection_id":151325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:13:54] local.INFO: TCP Data received {"connection_id":151324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98d9188012d0b09c00702a3280032006d0a..."} 
[2026-08-10 08:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98d9188012d0b09c00702a3280032006d0a..."} 
[2026-08-10 08:13:54] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98d9188012d0b09c00702a3280032006d0a..."} 
[2026-08-10 08:13:54] local.INFO: Packet analysis {"connection_id":151324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98d"} 
[2026-08-10 08:13:54] local.INFO: Extracted packet for processing {"connection_id":151324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98d"} 
[2026-08-10 08:13:54] local.INFO: GPS Element Parsed {"raw_longitude":755698112,"raw_latitude":117613352,"longitude_deg":75.5698112,"latitude_deg":11.7613352,"altitude":50,"angle":109,"satellites":10,"speed":1,"hex_longitude":"2d0b09c0","hex_latitude":"0702a328","is_valid_coordinates":true} 
[2026-08-10 08:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300424960001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27228202871029760,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795166839316629504,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786329797000,"timestamp_ms":1786329797000,"timestamp_seconds":1786329797,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98d9188"} 
[2026-08-10 08:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 08:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300424960001,"66":14580,"147":206,"94":11008,"24":1,"16":27228202871029760,"45":795166839316629504},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-10 08:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300424960001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:13:54] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-10 08:13:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27228202871029760,"km_value":27228202871029.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":795166839316629504,"description":"Unknown IO ID 45"} 
[2026-08-10 08:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300424960001,"power":14580,"unknown_147":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":795166839316629504}} 
[2026-08-10 08:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":151324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618466,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:13:54] local.INFO: GPS data processed {"connection_id":151324,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:13:54] local.INFO: Acknowledgment sent {"connection_id":151324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:13:57] local.INFO: TCP Data received {"connection_id":151326,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98cfd18012d7ad1c005e405b0000700a627..."} 
[2026-08-10 08:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98cfd18012d7ad1c005e405b0000700a627..."} 
[2026-08-10 08:13:57] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98cfd18012d7ad1c005e405b0000700a627..."} 
[2026-08-10 08:13:57] local.INFO: Packet analysis {"connection_id":151326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:13:57] local.INFO: Extracted packet for processing {"connection_id":151326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763023808,"raw_latitude":98829744,"longitude_deg":76.3023808,"latitude_deg":9.8829744,"altitude":7,"angle":166,"satellites":39,"speed":36,"hex_longitude":"2d7ad1c0","hex_latitude":"05e405b0","is_valid_coordinates":true} 
[2026-08-10 08:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300417792001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117125751026745344,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849573293083889664,"note":"Value kept but may cause issues"} 
[2026-08-10 08:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786329759000,"timestamp_ms":1786329759000,"timestamp_seconds":1786329759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98cfd18"} 
[2026-08-10 08:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-10 08:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300417792001,"66":12645,"97":206,"85":15104,"24":36,"16":117125751026745344,"45":8849573293083889664},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300417792001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:13:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117125751026745344,"km_value":117125751026745.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849573293083889664,"description":"Unknown IO ID 45"} 
[2026-08-10 08:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300417792001,"power":12645,"unknown_97":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8849573293083889664}} 
[2026-08-10 08:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":151326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:13:57] local.INFO: GPS data processed {"connection_id":151326,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:13:57] local.INFO: Acknowledgment sent {"connection_id":151326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:13:59] local.INFO: TCP Data received {"connection_id":151704,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:13:59] local.INFO: Processing buffer {"connection_id":151704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:13:59] local.INFO: IMEI packet received {"connection_id":151704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":151704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:14:05] local.INFO: TCP Data received {"connection_id":151704,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:14:05] local.INFO: Processing buffer {"connection_id":151704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:14:05] local.INFO: IMEI packet received {"connection_id":151704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":151704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:14:14] local.INFO: TCP Data received {"connection_id":152616,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:14:14] local.INFO: Processing buffer {"connection_id":152616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:14:14] local.INFO: IMEI packet received {"connection_id":152616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":152616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:14:19] local.INFO: TCP Data received {"connection_id":152616,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:14:19] local.INFO: Processing buffer {"connection_id":152616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:14:19] local.INFO: IMEI packet received {"connection_id":152616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":152616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:14:20] local.INFO: TCP Data received {"connection_id":152616,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98d2810012d7ad94005e3e2c0000500a828..."} 
[2026-08-10 08:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98d2810012d7ad94005e3e2c0000500a828..."} 
[2026-08-10 08:14:20] local.INFO: Processing buffer {"connection_id":152616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98d2810012d7ad94005e3e2c0000500a828..."} 
[2026-08-10 08:14:20] local.INFO: Packet analysis {"connection_id":152616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98d"} 
[2026-08-10 08:14:20] local.INFO: Extracted packet for processing {"connection_id":152616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98d"} 
[2026-08-10 08:14:20] local.INFO: GPS Element Parsed {"raw_longitude":763025728,"raw_latitude":98820800,"longitude_deg":76.3025728,"latitude_deg":9.88208,"altitude":5,"angle":168,"satellites":40,"speed":35,"hex_longitude":"2d7ad940","hex_latitude":"05e3e2c0","is_valid_coordinates":true} 
[2026-08-10 08:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300418304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117126197703344128,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850065874292682752,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786329770000,"timestamp_ms":1786329770000,"timestamp_seconds":1786329770,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98d2810"} 
[2026-08-10 08:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:14: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-08-10 08:14: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-08-10 08:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300418304001,"66":13243,"97":206,"85":15104,"24":35,"16":117126197703344128,"45":8850065874292682752},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300418304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:14:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117126197703344128,"km_value":117126197703344.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850065874292682752,"description":"Unknown IO ID 45"} 
[2026-08-10 08:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300418304001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8850065874292682752}} 
[2026-08-10 08:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":152616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:14:20] local.INFO: GPS data processed {"connection_id":152616,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:14:20] local.INFO: Acknowledgment sent {"connection_id":152616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:14:29] local.INFO: TCP Data received {"connection_id":152617,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:14:29] local.INFO: Processing buffer {"connection_id":152617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:14:29] local.INFO: IMEI packet received {"connection_id":152617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":152617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:14:34] local.INFO: TCP Data received {"connection_id":152617,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:14:34] local.INFO: Processing buffer {"connection_id":152617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:14:34] local.INFO: IMEI packet received {"connection_id":152617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":152617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:14:36] local.INFO: TCP Data received {"connection_id":152617,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98d9570012d0b09c00702a3280032005e0a..."} 
[2026-08-10 08:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98d9570012d0b09c00702a3280032005e0a..."} 
[2026-08-10 08:14:36] local.INFO: Processing buffer {"connection_id":152617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98d9570012d0b09c00702a3280032005e0a..."} 
[2026-08-10 08:14:36] local.INFO: Packet analysis {"connection_id":152617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98d"} 
[2026-08-10 08:14:36] local.INFO: Extracted packet for processing {"connection_id":152617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98d"} 
[2026-08-10 08:14:36] local.INFO: GPS Element Parsed {"raw_longitude":755698112,"raw_latitude":117613352,"longitude_deg":75.5698112,"latitude_deg":11.7613352,"altitude":50,"angle":94,"satellites":10,"speed":1,"hex_longitude":"2d0b09c0","hex_latitude":"0702a328","is_valid_coordinates":true} 
[2026-08-10 08:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300428032001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27228202871029760,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795377945549154304,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786329798000,"timestamp_ms":1786329798000,"timestamp_seconds":1786329798,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98d9570"} 
[2026-08-10 08:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-10 08:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300428032001,"66":14559,"147":206,"94":11008,"24":1,"16":27228202871029760,"45":795377945549154304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-10 08:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300428032001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:14:36] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-10 08:14:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27228202871029760,"km_value":27228202871029.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":795377945549154304,"description":"Unknown IO ID 45"} 
[2026-08-10 08:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300428032001,"power":14559,"unknown_147":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":795377945549154304}} 
[2026-08-10 08:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":152617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618469,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:14:37] local.INFO: GPS data processed {"connection_id":152617,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:14:37] local.INFO: Acknowledgment sent {"connection_id":152617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:14:39] local.INFO: TCP Data received {"connection_id":152617,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98de778012d0b0a800702a318003100610a..."} 
[2026-08-10 08:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98de778012d0b0a800702a318003100610a..."} 
[2026-08-10 08:14:39] local.INFO: Processing buffer {"connection_id":152617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98de778012d0b0a800702a318003100610a..."} 
[2026-08-10 08:14:39] local.INFO: Packet analysis {"connection_id":152617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98d"} 
[2026-08-10 08:14:39] local.INFO: Extracted packet for processing {"connection_id":152617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98d"} 
[2026-08-10 08:14:39] local.INFO: GPS Element Parsed {"raw_longitude":755698304,"raw_latitude":117613336,"longitude_deg":75.5698304,"latitude_deg":11.7613336,"altitude":49,"angle":97,"satellites":10,"speed":0,"hex_longitude":"2d0b0a80","hex_latitude":"0702a318","is_valid_coordinates":true} 
[2026-08-10 08:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300428288001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27228215755931648,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795377945549154304,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786329819000,"timestamp_ms":1786329819000,"timestamp_seconds":1786329819,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98de778"} 
[2026-08-10 08:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 08:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300428288001,"66":14352,"147":206,"94":11008,"24":0,"16":27228215755931648,"45":795377945549154304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-10 08:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300428288001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:14:39] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-10 08:14:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27228215755931648,"km_value":27228215755931.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":795377945549154304,"description":"Unknown IO ID 45"} 
[2026-08-10 08:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300428288001,"power":14352,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795377945549154304}} 
[2026-08-10 08:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":152617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618470,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:14:40] local.INFO: GPS data processed {"connection_id":152617,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:14:40] local.INFO: Acknowledgment sent {"connection_id":152617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:14:43] local.INFO: TCP Data received {"connection_id":151704,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:14:43] local.INFO: Processing buffer {"connection_id":151704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:14:43] local.INFO: Packet analysis {"connection_id":151704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:14:43] local.INFO: Extracted packet for processing {"connection_id":151704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300334080001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786329731000,"timestamp_ms":1786329731000,"timestamp_seconds":1786329731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98c8fb8"} 
[2026-08-10 08:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300334080001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300334080001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:14:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:14:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300334080001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":151704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:14:43] local.INFO: GPS data processed {"connection_id":151704,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:14:43] local.INFO: Acknowledgment sent {"connection_id":151704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:14:44] local.INFO: TCP Data received {"connection_id":151704,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:14:44] local.INFO: Processing buffer {"connection_id":151704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:14:44] local.INFO: Packet analysis {"connection_id":151704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:14:44] local.INFO: Extracted packet for processing {"connection_id":151704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300334080001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786329731000,"timestamp_ms":1786329731000,"timestamp_seconds":1786329731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98c8fb8"} 
[2026-08-10 08:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300334080001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300334080001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300334080001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":151704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:14:44] local.INFO: GPS data processed {"connection_id":151704,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:14:44] local.INFO: Acknowledgment sent {"connection_id":151704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:14:53] local.INFO: TCP Data received {"connection_id":152616,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98d5308012d7ae2c005e3bf38000500a424..."} 
[2026-08-10 08:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98d5308012d7ae2c005e3bf38000500a424..."} 
[2026-08-10 08:14:53] local.INFO: Processing buffer {"connection_id":152616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98d5308012d7ae2c005e3bf38000500a424..."} 
[2026-08-10 08:14:53] local.INFO: Packet analysis {"connection_id":152616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98d"} 
[2026-08-10 08:14:53] local.INFO: Extracted packet for processing {"connection_id":152616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98d"} 
[2026-08-10 08:14:53] local.INFO: GPS Element Parsed {"raw_longitude":763028160,"raw_latitude":98811704,"longitude_deg":76.302816,"latitude_deg":9.8811704,"altitude":5,"angle":164,"satellites":36,"speed":31,"hex_longitude":"2d7ae2c0","hex_latitude":"05e3bf38","is_valid_coordinates":true} 
[2026-08-10 08:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300421120001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117126652969877504,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852176936615723008,"note":"Value kept but may cause issues"} 
[2026-08-10 08:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786329781000,"timestamp_ms":1786329781000,"timestamp_seconds":1786329781,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98d5308"} 
[2026-08-10 08:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 08:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300421120001,"66":13254,"97":206,"85":15104,"24":31,"16":117126652969877504,"45":8852176936615723008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300421120001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:14:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117126652969877504,"km_value":117126652969877.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852176936615723008,"description":"Unknown IO ID 45"} 
[2026-08-10 08:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300421120001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8852176936615723008}} 
[2026-08-10 08:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":152616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:14:53] local.INFO: GPS data processed {"connection_id":152616,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:14:53] local.INFO: Acknowledgment sent {"connection_id":152616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:14:59] local.INFO: TCP Data received {"connection_id":154075,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:14:59] local.INFO: Processing buffer {"connection_id":154075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:14:59] local.INFO: IMEI packet received {"connection_id":154075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":154075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:15:05] local.INFO: TCP Data received {"connection_id":154075,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:15:05] local.INFO: Processing buffer {"connection_id":154075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:15:05] local.INFO: IMEI packet received {"connection_id":154075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":154075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:15:06] local.INFO: TCP Data received {"connection_id":154075,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:15:06] local.INFO: Processing buffer {"connection_id":154075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:15:06] local.INFO: Packet analysis {"connection_id":154075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:15:06] local.INFO: Extracted packet for processing {"connection_id":154075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300334080001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786329731000,"timestamp_ms":1786329731000,"timestamp_seconds":1786329731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98c8fb8"} 
[2026-08-10 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-08-10 08:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300334080001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300334080001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300334080001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":154075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:15:06] local.INFO: GPS data processed {"connection_id":154075,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:15:06] local.INFO: Acknowledgment sent {"connection_id":154075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:15:14] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:15:14] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:15:14] local.INFO: IMEI packet received {"connection_id":151327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":151327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:15:15] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:15:15] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:15:15] local.INFO: IMEI packet received {"connection_id":151327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":151327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:15:19] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:15:19] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:15:19] local.INFO: IMEI packet received {"connection_id":151327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":151327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:15:20] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98f1828012d7b0d4005e33cc8000800ae29..."} 
[2026-08-10 08:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98f1828012d7b0d4005e33cc8000800ae29..."} 
[2026-08-10 08:15:20] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98f1828012d7b0d4005e33cc8000800ae29..."} 
[2026-08-10 08:15:20] local.INFO: Packet analysis {"connection_id":151327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98f"} 
[2026-08-10 08:15:20] local.INFO: Extracted packet for processing {"connection_id":151327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98f"} 
[2026-08-10 08:15:20] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98778312,"longitude_deg":76.303904,"latitude_deg":9.8778312,"altitude":8,"angle":174,"satellites":41,"speed":9,"hex_longitude":"2d7b0d40","hex_latitude":"05e33cc8","is_valid_coordinates":true} 
[2026-08-10 08:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300452096001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117128375251763200,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866039579208552448,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786329897000,"timestamp_ms":1786329897000,"timestamp_seconds":1786329897,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98f1828"} 
[2026-08-10 08:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 08:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300452096001,"66":13200,"97":206,"85":15104,"24":9,"16":117128375251763200,"45":8866039579208552448},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300452096001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117128375251763200,"km_value":117128375251763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866039579208552448,"description":"Unknown IO ID 45"} 
[2026-08-10 08:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300452096001,"power":13200,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8866039579208552448}} 
[2026-08-10 08:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":151327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:15:20] local.INFO: GPS data processed {"connection_id":151327,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:15:20] local.INFO: Acknowledgment sent {"connection_id":151327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:15:33] local.INFO: TCP Data received {"connection_id":152617,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98e3980012d0b0b400702a320003100610a..."} 
[2026-08-10 08:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98e3980012d0b0b400702a320003100610a..."} 
[2026-08-10 08:15:33] local.INFO: Processing buffer {"connection_id":152617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98e3980012d0b0b400702a320003100610a..."} 
[2026-08-10 08:15:33] local.INFO: Packet analysis {"connection_id":152617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98e"} 
[2026-08-10 08:15:33] local.INFO: Extracted packet for processing {"connection_id":152617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98e"} 
[2026-08-10 08:15:33] local.INFO: GPS Element Parsed {"raw_longitude":755698496,"raw_latitude":117613344,"longitude_deg":75.5698496,"latitude_deg":11.7613344,"altitude":49,"angle":97,"satellites":10,"speed":0,"hex_longitude":"2d0b0b40","hex_latitude":"0702a320","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300433664001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27228224345866240,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795589051781683200,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786329840000,"timestamp_ms":1786329840000,"timestamp_seconds":1786329840,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98e3980"} 
[2026-08-10 08:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733130240,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3918295160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504015096053760,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2366676993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825556115,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2306106896303849728,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1620246734,"corrected_to":0} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2550213899,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3152150528,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3741371744,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84736112010396323,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":40,"raw_value":13511310100660224,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.WARNING: Large IO value detected {"io_id":11,"raw_value":864698836365344817,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,147,94,24,241,157,16,187,159,149,45,192,163,50,10,66,145,98,1,240,201,227,233,2,4,113,205,190,9,96,8,239,56,7,48,206,224,40,11],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1620246734,"validated":0}]} 
[2026-08-10 08:15:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530928803436036096,"timestamp_seconds":3530928803436036.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300433664001,"66":14396,"147":206,"94":11008,"24":0,"16":27228224345866240,"45":795589051781683200},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-10 08:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300433664001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:15:33] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-10 08:15:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27228224345866240,"km_value":27228224345866.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":795589051781683200,"description":"Unknown IO ID 45"} 
[2026-08-10 08:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300433664001,"power":14396,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795589051781683200}} 
[2026-08-10 08:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":152617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:15:33] local.INFO: GPS data processed {"connection_id":152617,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:15:33] local.INFO: Acknowledgment sent {"connection_id":152617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:15:37] local.INFO: TCP Data received {"connection_id":154075,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:15:37] local.INFO: Processing buffer {"connection_id":154075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:15:37] local.INFO: Packet analysis {"connection_id":154075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:15:37] local.INFO: Extracted packet for processing {"connection_id":154075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300334080001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786329731000,"timestamp_ms":1786329731000,"timestamp_seconds":1786329731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98c8fb8"} 
[2026-08-10 08:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:15: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-08-10 08:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300334080001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300334080001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300334080001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":154075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:15:37] local.INFO: GPS data processed {"connection_id":154075,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:15:37] local.INFO: Acknowledgment sent {"connection_id":154075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:15:51] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98f3b50012d7b0e0005e33628000800b927..."} 
[2026-08-10 08:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98f3b50012d7b0e0005e33628000800b927..."} 
[2026-08-10 08:15:51] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98f3b50012d7b0e0005e33628000800b927..."} 
[2026-08-10 08:15:51] local.INFO: Packet analysis {"connection_id":151327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98f"} 
[2026-08-10 08:15:51] local.INFO: Extracted packet for processing {"connection_id":151327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98f"} 
[2026-08-10 08:15:51] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98776616,"longitude_deg":76.3039232,"latitude_deg":9.8776616,"altitude":8,"angle":185,"satellites":39,"speed":11,"hex_longitude":"2d7b0e00","hex_latitude":"05e33628","is_valid_coordinates":true} 
[2026-08-10 08:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300453632001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117128461151109120,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866813635393800192,"note":"Value kept but may cause issues"} 
[2026-08-10 08:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786329906000,"timestamp_ms":1786329906000,"timestamp_seconds":1786329906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98f3b50"} 
[2026-08-10 08:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-10 08:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300453632001,"66":12874,"97":206,"85":15104,"24":11,"16":117128461151109120,"45":8866813635393800192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300453632001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:15:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117128461151109120,"km_value":117128461151109.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866813635393800192,"description":"Unknown IO ID 45"} 
[2026-08-10 08:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300453632001,"power":12874,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8866813635393800192}} 
[2026-08-10 08:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":151327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:15:51] local.INFO: GPS data processed {"connection_id":151327,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:15:51] local.INFO: Acknowledgment sent {"connection_id":151327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:15:59] local.INFO: TCP Data received {"connection_id":152618,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:15:59] local.INFO: Processing buffer {"connection_id":152618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:15:59] local.INFO: IMEI packet received {"connection_id":152618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":152618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:16:05] local.INFO: TCP Data received {"connection_id":152618,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:16:05] local.INFO: Processing buffer {"connection_id":152618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:16:05] local.INFO: IMEI packet received {"connection_id":152618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":152618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:16:05] local.INFO: TCP Data received {"connection_id":152618,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:16:05] local.INFO: Processing buffer {"connection_id":152618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:16:05] local.INFO: Packet analysis {"connection_id":152618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:16:05] local.INFO: Extracted packet for processing {"connection_id":152618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300334080001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786329731000,"timestamp_ms":1786329731000,"timestamp_seconds":1786329731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98c8fb8"} 
[2026-08-10 08:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:16: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-08-10 08:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300334080001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300334080001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:16:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:16:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300334080001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":152618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:16:05] local.INFO: GPS data processed {"connection_id":152618,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:16:05] local.INFO: Acknowledgment sent {"connection_id":152618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:16:14] local.INFO: TCP Data received {"connection_id":152617,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98ffea0012d0b0c400702a140003000920c..."} 
[2026-08-10 08:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98ffea0012d0b0c400702a140003000920c..."} 
[2026-08-10 08:16:14] local.INFO: Processing buffer {"connection_id":152617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98ffea0012d0b0c400702a140003000920c..."} 
[2026-08-10 08:16:14] local.INFO: Packet analysis {"connection_id":152617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98f"} 
[2026-08-10 08:16:14] local.INFO: Extracted packet for processing {"connection_id":152617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98f"} 
[2026-08-10 08:16:14] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612864,"longitude_deg":75.5698752,"latitude_deg":11.7612864,"altitude":48,"angle":146,"satellites":12,"speed":1,"hex_longitude":"2d0b0c40","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-08-10 08:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300468480001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27228284475408384,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796011264246638592,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786329956000,"timestamp_ms":1786329956000,"timestamp_seconds":1786329956,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98ffea0"} 
[2026-08-10 08:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 08:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300468480001,"66":14461,"147":206,"94":11008,"24":1,"16":27228284475408384,"45":796011264246638592},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-10 08:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300468480001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:16:14] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-10 08:16:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27228284475408384,"km_value":27228284475408.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":796011264246638592,"description":"Unknown IO ID 45"} 
[2026-08-10 08:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300468480001,"power":14461,"unknown_147":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":796011264246638592}} 
[2026-08-10 08:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":152617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618480,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:16:14] local.INFO: GPS data processed {"connection_id":152617,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:16:14] local.INFO: Acknowledgment sent {"connection_id":152617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:16:14] local.INFO: TCP Data received {"connection_id":154076,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:16:14] local.INFO: Processing buffer {"connection_id":154076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:16:14] local.INFO: IMEI packet received {"connection_id":154076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":154076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:16:15] local.INFO: TCP Data received {"connection_id":154076,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:16:15] local.INFO: Processing buffer {"connection_id":154076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:16:15] local.INFO: IMEI packet received {"connection_id":154076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":154076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:16:19] local.INFO: TCP Data received {"connection_id":154076,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:16:19] local.INFO: Processing buffer {"connection_id":154076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:16:19] local.INFO: IMEI packet received {"connection_id":154076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":154076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:16:20] local.INFO: TCP Data received {"connection_id":152619,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152619,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:16:20] local.INFO: Processing buffer {"connection_id":152619,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:16:20] local.INFO: IMEI packet received {"connection_id":152619,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":152619,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:16:20] local.INFO: TCP Data received {"connection_id":154076,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98f52c0012d7b0e0005e33168000800ac29..."} 
[2026-08-10 08:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98f52c0012d7b0e0005e33168000800ac29..."} 
[2026-08-10 08:16:20] local.INFO: Processing buffer {"connection_id":154076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98f52c0012d7b0e0005e33168000800ac29..."} 
[2026-08-10 08:16:20] local.INFO: Packet analysis {"connection_id":154076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98f"} 
[2026-08-10 08:16:20] local.INFO: Extracted packet for processing {"connection_id":154076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98f"} 
[2026-08-10 08:16:20] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98775400,"longitude_deg":76.3039232,"latitude_deg":9.87754,"altitude":8,"angle":172,"satellites":41,"speed":11,"hex_longitude":"2d7b0e00","hex_latitude":"05e33168","is_valid_coordinates":true} 
[2026-08-10 08:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300455936001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117128521280651264,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741625899008,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786329912000,"timestamp_ms":1786329912000,"timestamp_seconds":1786329912,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98f52c0"} 
[2026-08-10 08:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:16: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":74,"data_length":795,"current_offset":136} 
[2026-08-10 08:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300455936001,"66":13374,"97":206,"85":15104,"24":11,"16":117128521280651264,"45":8867024741625899008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300455936001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:16:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117128521280651264,"km_value":117128521280651.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741625899008,"description":"Unknown IO ID 45"} 
[2026-08-10 08:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300455936001,"power":13374,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8867024741625899008}} 
[2026-08-10 08:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":154076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:16:20] local.INFO: GPS data processed {"connection_id":154076,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:16:20] local.INFO: Acknowledgment sent {"connection_id":154076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:16:23] local.INFO: TCP Data received {"connection_id":152619,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152619,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:16:23] local.INFO: Processing buffer {"connection_id":152619,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:16:23] local.INFO: IMEI packet received {"connection_id":152619,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":152619,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:16:24] local.INFO: TCP Data received {"connection_id":152619,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152619,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:16:24] local.INFO: Processing buffer {"connection_id":152619,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:16:24] local.INFO: IMEI packet received {"connection_id":152619,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":152619,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:16:24] local.INFO: TCP Data received {"connection_id":152619,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152619,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:16:24] local.INFO: Processing buffer {"connection_id":152619,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:16:24] local.INFO: IMEI packet received {"connection_id":152619,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":152619,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:16:37] local.INFO: TCP Data received {"connection_id":152618,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:16:37] local.INFO: Processing buffer {"connection_id":152618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:16:37] local.INFO: Packet analysis {"connection_id":152618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:16:37] local.INFO: Extracted packet for processing {"connection_id":152618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300334080001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786329731000,"timestamp_ms":1786329731000,"timestamp_seconds":1786329731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98c8fb8"} 
[2026-08-10 08:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:16: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-08-10 08:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300334080001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300334080001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300334080001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":152618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:16:37] local.INFO: GPS data processed {"connection_id":152618,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:16:37] local.INFO: Acknowledgment sent {"connection_id":152618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:16:51] local.INFO: TCP Data received {"connection_id":154076,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98fa4c8012d7b110005e324c0000700a628..."} 
[2026-08-10 08:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98fa4c8012d7b110005e324c0000700a628..."} 
[2026-08-10 08:16:51] local.INFO: Processing buffer {"connection_id":154076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98fa4c8012d7b110005e324c0000700a628..."} 
[2026-08-10 08:16:51] local.INFO: Packet analysis {"connection_id":154076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98f"} 
[2026-08-10 08:16:51] local.INFO: Extracted packet for processing {"connection_id":154076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98f"} 
[2026-08-10 08:16:51] local.INFO: GPS Element Parsed {"raw_longitude":763040000,"raw_latitude":98772160,"longitude_deg":76.304,"latitude_deg":9.877216,"altitude":7,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7b1100","hex_latitude":"05e324c0","is_valid_coordinates":true} 
[2026-08-10 08:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300457472001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117128688784375808,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741625587712,"note":"Value kept but may cause issues"} 
[2026-08-10 08:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786329933000,"timestamp_ms":1786329933000,"timestamp_seconds":1786329933,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98fa4c8"} 
[2026-08-10 08:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 08:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300457472001,"66":13472,"97":206,"85":15104,"24":0,"16":117128688784375808,"45":8867024741625587712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300457472001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:16:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117128688784375808,"km_value":117128688784375.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741625587712,"description":"Unknown IO ID 45"} 
[2026-08-10 08:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300457472001,"power":13472,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867024741625587712}} 
[2026-08-10 08:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":154076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:16:51] local.INFO: GPS data processed {"connection_id":154076,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:16:51] local.INFO: Acknowledgment sent {"connection_id":154076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:16:59] local.INFO: TCP Data received {"connection_id":151328,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:16:59] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:16:59] local.INFO: IMEI packet received {"connection_id":151328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":151328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:17:04] local.INFO: TCP Data received {"connection_id":151328,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:17:04] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:17:04] local.INFO: IMEI packet received {"connection_id":151328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":151328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:17:05] local.INFO: TCP Data received {"connection_id":151328,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:17:05] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:17:05] local.INFO: Packet analysis {"connection_id":151328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:17:05] local.INFO: Extracted packet for processing {"connection_id":151328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300334080001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786329731000,"timestamp_ms":1786329731000,"timestamp_seconds":1786329731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98c8fb8"} 
[2026-08-10 08:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:17: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-08-10 08:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:17: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-08-10 08:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300334080001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300334080001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:17:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300334080001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":151328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:17:05] local.INFO: GPS data processed {"connection_id":151328,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:17:05] local.INFO: Acknowledgment sent {"connection_id":151328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:17:14] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:17:14] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:17:14] local.INFO: IMEI packet received {"connection_id":151329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":151329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:17:19] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:17:19] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:17:19] local.INFO: IMEI packet received {"connection_id":151329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":151329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:17:20] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe990d578012d7b204005e29300000901592a..."} 
[2026-08-10 08:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe990d578012d7b204005e29300000901592a..."} 
[2026-08-10 08:17:20] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe990d578012d7b204005e29300000901592a..."} 
[2026-08-10 08:17:20] local.INFO: Packet analysis {"connection_id":151329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe990"} 
[2026-08-10 08:17:20] local.INFO: Extracted packet for processing {"connection_id":151329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe990"} 
[2026-08-10 08:17:20] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98734848,"longitude_deg":76.3043904,"latitude_deg":9.8734848,"altitude":9,"angle":345,"satellites":42,"speed":16,"hex_longitude":"2d7b2040","hex_latitude":"05e29300","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300482304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117130664469331968,"note":"Value kept but may cause issues"} 
[2026-08-10 08:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872443134916734976,"note":"Value kept but may cause issues"} 
[2026-08-10 08:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786330011000,"timestamp_ms":1786330011000,"timestamp_seconds":1786330011,"priority":1,"record_length":96,"hex_timestamp":"0000019fe990d578"} 
[2026-08-10 08:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 08:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300482304001,"66":13493,"96":206,"85":15104,"24":16,"16":117130664469331968,"45":8872443134916734976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 08:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300482304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:17:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117130664469331968,"km_value":117130664469331.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872443134916734976,"description":"Unknown IO ID 45"} 
[2026-08-10 08:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300482304001,"power":13493,"unknown_96":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8872443134916734976}} 
[2026-08-10 08:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":151329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:17:20] local.INFO: GPS data processed {"connection_id":151329,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:17:20] local.INFO: Acknowledgment sent {"connection_id":151329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:17:36] local.INFO: TCP Data received {"connection_id":151328,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:17:36] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe98c8fb8012d34c20006aa3f08000600f32e..."} 
[2026-08-10 08:17:36] local.INFO: Packet analysis {"connection_id":151328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:17:36] local.INFO: Extracted packet for processing {"connection_id":151328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe98c"} 
[2026-08-10 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300334080001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786329731000,"timestamp_ms":1786329731000,"timestamp_seconds":1786329731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe98c8fb8"} 
[2026-08-10 08:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:17: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-08-10 08:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300334080001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300334080001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300334080001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":151328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:17:36] local.INFO: GPS data processed {"connection_id":151328,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:17:36] local.INFO: Acknowledgment sent {"connection_id":151328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:17:52] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9910070012d7b1a0005e2b7b8000b015f23..."} 
[2026-08-10 08:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9910070012d7b1a0005e2b7b8000b015f23..."} 
[2026-08-10 08:17:52] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9910070012d7b1a0005e2b7b8000b015f23..."} 
[2026-08-10 08:17:52] local.INFO: Packet analysis {"connection_id":151329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:17:52] local.INFO: Extracted packet for processing {"connection_id":151329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:17:52] local.INFO: GPS Element Parsed {"raw_longitude":763042304,"raw_latitude":98744248,"longitude_deg":76.3042304,"latitude_deg":9.8744248,"altitude":11,"angle":351,"satellites":35,"speed":43,"hex_longitude":"2d7b1a00","hex_latitude":"05e2b7b8","is_valid_coordinates":true} 
[2026-08-10 08:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300482816001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117131128325799936,"note":"Value kept but may cause issues"} 
[2026-08-10 08:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659940175872,"note":"Value kept but may cause issues"} 
[2026-08-10 08:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786330022000,"timestamp_ms":1786330022000,"timestamp_seconds":1786330022,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9910070"} 
[2026-08-10 08:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 08:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300482816001,"66":13515,"96":206,"85":15104,"24":43,"16":117131128325799936,"45":8872161659940175872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 08:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300482816001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:17:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117131128325799936,"km_value":117131128325799.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659940175872,"description":"Unknown IO ID 45"} 
[2026-08-10 08:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300482816001,"power":13515,"unknown_96":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8872161659940175872}} 
[2026-08-10 08:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":151329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:17:52] local.INFO: GPS data processed {"connection_id":151329,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:17:52] local.INFO: Acknowledgment sent {"connection_id":151329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:17:59] local.INFO: TCP Data received {"connection_id":154077,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:17:59] local.INFO: Processing buffer {"connection_id":154077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:17:59] local.INFO: IMEI packet received {"connection_id":154077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":154077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:18:05] local.INFO: TCP Data received {"connection_id":154077,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:18:05] local.INFO: Processing buffer {"connection_id":154077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:18:05] local.INFO: IMEI packet received {"connection_id":154077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":154077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:18:05] local.INFO: TCP Data received {"connection_id":154077,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:18:05] local.INFO: Processing buffer {"connection_id":154077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:18:05] local.INFO: Packet analysis {"connection_id":154077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:18:05] local.INFO: Extracted packet for processing {"connection_id":154077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300411136001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786330032000,"timestamp_ms":1786330032000,"timestamp_seconds":1786330032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9912780"} 
[2026-08-10 08:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08: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-08-10 08: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-08-10 08:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08: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-08-10 08:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300411136001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300411136001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300411136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":154077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:18:05] local.INFO: GPS data processed {"connection_id":154077,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:18:05] local.INFO: Acknowledgment sent {"connection_id":154077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:18:14] local.INFO: TCP Data received {"connection_id":152620,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:18:14] local.INFO: Processing buffer {"connection_id":152620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:18:14] local.INFO: IMEI packet received {"connection_id":152620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":152620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:18:17] local.INFO: TCP Data received {"connection_id":152620,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:18:17] local.INFO: Processing buffer {"connection_id":152620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:18:17] local.INFO: IMEI packet received {"connection_id":152620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":152620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:18:19] local.INFO: TCP Data received {"connection_id":152620,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:18:19] local.INFO: Processing buffer {"connection_id":152620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:18:19] local.INFO: IMEI packet received {"connection_id":152620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":152620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:18:20] local.INFO: TCP Data received {"connection_id":152620,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9911fb0012d7b130005e2dd60000b015e1f..."} 
[2026-08-10 08:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9911fb0012d7b130005e2dd60000b015e1f..."} 
[2026-08-10 08:18:20] local.INFO: Processing buffer {"connection_id":152620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9911fb0012d7b130005e2dd60000b015e1f..."} 
[2026-08-10 08:18:20] local.INFO: Packet analysis {"connection_id":152620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:18:20] local.INFO: Extracted packet for processing {"connection_id":152620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763040512,"raw_latitude":98753888,"longitude_deg":76.3040512,"latitude_deg":9.8753888,"altitude":11,"angle":350,"satellites":31,"speed":49,"hex_longitude":"2d7b1300","hex_latitude":"05e2dd60","is_valid_coordinates":true} 
[2026-08-10 08:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300485632001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117131605067169792,"note":"Value kept but may cause issues"} 
[2026-08-10 08:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870402441338140672,"note":"Value kept but may cause issues"} 
[2026-08-10 08:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786330030000,"timestamp_ms":1786330030000,"timestamp_seconds":1786330030,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9911fb0"} 
[2026-08-10 08:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 08:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300485632001,"66":12841,"96":206,"85":15104,"24":49,"16":117131605067169792,"45":8870402441338140672},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 08:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300485632001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:18:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117131605067169792,"km_value":117131605067169.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870402441338140672,"description":"Unknown IO ID 45"} 
[2026-08-10 08:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300485632001,"power":12841,"unknown_96":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8870402441338140672}} 
[2026-08-10 08:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":152620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:18:20] local.INFO: GPS data processed {"connection_id":152620,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:18:20] local.INFO: Acknowledgment sent {"connection_id":152620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:18:37] local.INFO: TCP Data received {"connection_id":154077,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:18:37] local.INFO: Processing buffer {"connection_id":154077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:18:37] local.INFO: Packet analysis {"connection_id":154077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:18:37] local.INFO: Extracted packet for processing {"connection_id":154077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300411136001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330032000,"timestamp_ms":1786330032000,"timestamp_seconds":1786330032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9912780"} 
[2026-08-10 08:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300411136001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300411136001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300411136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":154077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:18:37] local.INFO: GPS data processed {"connection_id":154077,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:18:37] local.INFO: Acknowledgment sent {"connection_id":154077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:18:51] local.INFO: TCP Data received {"connection_id":152620,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99146c0012d7b0e0005e2faf80009015224..."} 
[2026-08-10 08:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99146c0012d7b0e0005e2faf80009015224..."} 
[2026-08-10 08:18:51] local.INFO: Processing buffer {"connection_id":152620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99146c0012d7b0e0005e2faf80009015224..."} 
[2026-08-10 08:18:51] local.INFO: Packet analysis {"connection_id":152620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:18:51] local.INFO: Extracted packet for processing {"connection_id":152620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:18:51] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98761464,"longitude_deg":76.3039232,"latitude_deg":9.8761464,"altitude":9,"angle":338,"satellites":36,"speed":13,"hex_longitude":"2d7b0e00","hex_latitude":"05e2faf8","is_valid_coordinates":true} 
[2026-08-10 08:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300487680001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117131978729324544,"note":"Value kept but may cause issues"} 
[2026-08-10 08:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868432116503633920,"note":"Value kept but may cause issues"} 
[2026-08-10 08:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786330040000,"timestamp_ms":1786330040000,"timestamp_seconds":1786330040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99146c0"} 
[2026-08-10 08:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 08:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300487680001,"66":13059,"96":206,"85":15104,"24":13,"16":117131978729324544,"45":8868432116503633920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 08:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300487680001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:18:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117131978729324544,"km_value":117131978729324.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868432116503633920,"description":"Unknown IO ID 45"} 
[2026-08-10 08:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300487680001,"power":13059,"unknown_96":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8868432116503633920}} 
[2026-08-10 08:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":152620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:18:51] local.INFO: GPS data processed {"connection_id":152620,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:18:51] local.INFO: Acknowledgment sent {"connection_id":152620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:19:00] local.INFO: TCP Data received {"connection_id":154078,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:19:00] local.INFO: Processing buffer {"connection_id":154078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:19:00] local.INFO: IMEI packet received {"connection_id":154078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":154078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:19:04] local.INFO: TCP Data received {"connection_id":154078,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:19:04] local.INFO: Processing buffer {"connection_id":154078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:19:04] local.INFO: IMEI packet received {"connection_id":154078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":154078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:19:05] local.INFO: TCP Data received {"connection_id":154078,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:19:05] local.INFO: Processing buffer {"connection_id":154078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:19:05] local.INFO: Packet analysis {"connection_id":154078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:19:05] local.INFO: Extracted packet for processing {"connection_id":154078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300411136001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786330032000,"timestamp_ms":1786330032000,"timestamp_seconds":1786330032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9912780"} 
[2026-08-10 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-08-10 08:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:19: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-08-10 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-08-10 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-08-10 08:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:19: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-08-10 08:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300411136001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300411136001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300411136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":154078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:19:05] local.INFO: GPS data processed {"connection_id":154078,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:19:05] local.INFO: Acknowledgment sent {"connection_id":154078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:19:19] local.INFO: TCP Data received {"connection_id":152621,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:19:19] local.INFO: Processing buffer {"connection_id":152621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:19:19] local.INFO: IMEI packet received {"connection_id":152621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":152621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:19:24] local.INFO: TCP Data received {"connection_id":152621,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:19:24] local.INFO: Processing buffer {"connection_id":152621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:19:24] local.INFO: IMEI packet received {"connection_id":152621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":152621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:19:25] local.INFO: TCP Data received {"connection_id":152621,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9917d70012d7b0ac005e2fdc00007015d1f..."} 
[2026-08-10 08:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9917d70012d7b0ac005e2fdc00007015d1f..."} 
[2026-08-10 08:19:25] local.INFO: Processing buffer {"connection_id":152621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9917d70012d7b0ac005e2fdc00007015d1f..."} 
[2026-08-10 08:19:25] local.INFO: Packet analysis {"connection_id":152621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:19:25] local.INFO: Extracted packet for processing {"connection_id":152621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:19:25] local.INFO: GPS Element Parsed {"raw_longitude":763038400,"raw_latitude":98762176,"longitude_deg":76.30384,"latitude_deg":9.8762176,"altitude":7,"angle":349,"satellites":31,"speed":10,"hex_longitude":"2d7b0ac0","hex_latitude":"05e2fdc0","is_valid_coordinates":true} 
[2026-08-10 08:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300490240001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117132051743768576,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741622020096,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786330054000,"timestamp_ms":1786330054000,"timestamp_seconds":1786330054,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9917d70"} 
[2026-08-10 08:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 08:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937510,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:25] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58077557095399427,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:25] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3918579160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147869328,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:25] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2429396993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:25] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2427453449,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-08-10 08:19:25] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3801083904,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,96,85,24,241,157,16,34,159,31,45,221,11,10,66,183,35,213,64,1,240,181,227,33,233,226,4,113,205,7,201,42,239,52,2,160,5,9,3],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-08-10 08:19:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648890135891214336,"timestamp_seconds":648890135891214.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300490240001,"66":13406,"96":206,"85":15104,"24":10,"16":117132051743768576,"45":8867024741622020096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 08:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300490240001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:19:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117132051743768576,"km_value":117132051743768.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741622020096,"description":"Unknown IO ID 45"} 
[2026-08-10 08:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300490240001,"power":13406,"unknown_96":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8867024741622020096}} 
[2026-08-10 08:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":152621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:19:25] local.INFO: GPS data processed {"connection_id":152621,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:19:25] local.INFO: Acknowledgment sent {"connection_id":152621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:19:30] local.INFO: TCP Data received {"connection_id":152621,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe991cf78012d7b090005e317600008016021..."} 
[2026-08-10 08:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe991cf78012d7b090005e317600008016021..."} 
[2026-08-10 08:19:30] local.INFO: Processing buffer {"connection_id":152621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe991cf78012d7b090005e317600008016021..."} 
[2026-08-10 08:19:30] local.INFO: Packet analysis {"connection_id":152621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:19:30] local.INFO: Extracted packet for processing {"connection_id":152621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:19:30] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98768736,"longitude_deg":76.3037952,"latitude_deg":9.8768736,"altitude":8,"angle":352,"satellites":33,"speed":6,"hex_longitude":"2d7b0900","hex_latitude":"05e31760","is_valid_coordinates":true} 
[2026-08-10 08:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300493824001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117132373866315776,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866109947947892736,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786330075000,"timestamp_ms":1786330075000,"timestamp_seconds":1786330075,"priority":1,"record_length":96,"hex_timestamp":"0000019fe991cf78"} 
[2026-08-10 08:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 08:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:19: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-08-10 08:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300493824001,"66":13254,"97":206,"85":15104,"24":6,"16":117132373866315776,"45":8866109947947892736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300493824001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:19:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:19:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117132373866315776,"km_value":117132373866315.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866109947947892736,"description":"Unknown IO ID 45"} 
[2026-08-10 08:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300493824001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8866109947947892736}} 
[2026-08-10 08:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":152621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:19:30] local.INFO: GPS data processed {"connection_id":152621,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:19:30] local.INFO: Acknowledgment sent {"connection_id":152621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:19:37] local.INFO: TCP Data received {"connection_id":154078,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:19:37] local.INFO: Processing buffer {"connection_id":154078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:19:37] local.INFO: Packet analysis {"connection_id":154078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:19:37] local.INFO: Extracted packet for processing {"connection_id":154078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300411136001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330032000,"timestamp_ms":1786330032000,"timestamp_seconds":1786330032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9912780"} 
[2026-08-10 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-08-10 08:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300411136001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300411136001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300411136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":154078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:19:37] local.INFO: GPS data processed {"connection_id":154078,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:19:37] local.INFO: Acknowledgment sent {"connection_id":154078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:20:00] local.INFO: TCP Data received {"connection_id":151706,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:20:00] local.INFO: Processing buffer {"connection_id":151706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:20:00] local.INFO: IMEI packet received {"connection_id":151706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":151706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:20:05] local.INFO: TCP Data received {"connection_id":151706,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:20:05] local.INFO: Processing buffer {"connection_id":151706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:20:05] local.INFO: IMEI packet received {"connection_id":151706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":151706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:20:06] local.INFO: TCP Data received {"connection_id":151706,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:20:06] local.INFO: Processing buffer {"connection_id":151706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:20:06] local.INFO: Packet analysis {"connection_id":151706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:20:06] local.INFO: Extracted packet for processing {"connection_id":151706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300411136001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786330032000,"timestamp_ms":1786330032000,"timestamp_seconds":1786330032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9912780"} 
[2026-08-10 08:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300411136001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300411136001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300411136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":151706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:20:06] local.INFO: GPS data processed {"connection_id":151706,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:20:06] local.INFO: Acknowledgment sent {"connection_id":151706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:20:10] local.INFO: TCP Data received {"connection_id":154080,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:20:10] local.INFO: Processing buffer {"connection_id":154080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:20:10] local.INFO: IMEI packet received {"connection_id":154080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":154080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:20:13] local.INFO: TCP Data received {"connection_id":154080,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:20:13] local.INFO: Processing buffer {"connection_id":154080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:20:13] local.INFO: IMEI packet received {"connection_id":154080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":154080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:20:14] local.INFO: TCP Data received {"connection_id":154080,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:20:14] local.INFO: Processing buffer {"connection_id":154080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:20:14] local.INFO: IMEI packet received {"connection_id":154080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":154080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:20:19] local.INFO: TCP Data received {"connection_id":154080,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:20:19] local.INFO: Processing buffer {"connection_id":154080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:20:19] local.INFO: IMEI packet received {"connection_id":154080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":154080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:20:20] local.INFO: TCP Data received {"connection_id":154080,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9935230012d7aef4005e390400008014d28..."} 
[2026-08-10 08:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9935230012d7aef4005e390400008014d28..."} 
[2026-08-10 08:20:20] local.INFO: Processing buffer {"connection_id":154080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9935230012d7aef4005e390400008014d28..."} 
[2026-08-10 08:20:20] local.INFO: Packet analysis {"connection_id":154080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe993"} 
[2026-08-10 08:20:20] local.INFO: Extracted packet for processing {"connection_id":154080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe993"} 
[2026-08-10 08:20:20] local.INFO: GPS Element Parsed {"raw_longitude":763031360,"raw_latitude":98799680,"longitude_deg":76.303136,"latitude_deg":9.879968,"altitude":8,"angle":333,"satellites":40,"speed":15,"hex_longitude":"2d7aef40","hex_latitude":"05e39040","is_valid_coordinates":true} 
[2026-08-10 08:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300523520001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117133937234411520,"note":"Value kept but may cause issues"} 
[2026-08-10 08:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859143442283503616,"note":"Value kept but may cause issues"} 
[2026-08-10 08:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786330174000,"timestamp_ms":1786330174000,"timestamp_seconds":1786330174,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9935230"} 
[2026-08-10 08:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 08:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300523520001,"66":13189,"97":206,"85":15104,"24":15,"16":117133937234411520,"45":8859143442283503616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300523520001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117133937234411520,"km_value":117133937234411.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859143442283503616,"description":"Unknown IO ID 45"} 
[2026-08-10 08:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300523520001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8859143442283503616}} 
[2026-08-10 08:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":154080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:20:20] local.INFO: GPS data processed {"connection_id":154080,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:20:20] local.INFO: Acknowledgment sent {"connection_id":154080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:20:38] local.INFO: TCP Data received {"connection_id":151706,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:20:38] local.INFO: Processing buffer {"connection_id":151706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:20:38] local.INFO: Packet analysis {"connection_id":151706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:20:38] local.INFO: Extracted packet for processing {"connection_id":151706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300411136001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786330032000,"timestamp_ms":1786330032000,"timestamp_seconds":1786330032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9912780"} 
[2026-08-10 08:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300411136001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300411136001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300411136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":151706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:20:38] local.INFO: GPS data processed {"connection_id":151706,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:20:38] local.INFO: Acknowledgment sent {"connection_id":151706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:20:51] local.INFO: TCP Data received {"connection_id":154080,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99369a0012d7aecc005e39600000701592a..."} 
[2026-08-10 08:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99369a0012d7aecc005e39600000701592a..."} 
[2026-08-10 08:20:51] local.INFO: Processing buffer {"connection_id":154080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99369a0012d7aecc005e39600000701592a..."} 
[2026-08-10 08:20:51] local.INFO: Packet analysis {"connection_id":154080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe993"} 
[2026-08-10 08:20:51] local.INFO: Extracted packet for processing {"connection_id":154080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe993"} 
[2026-08-10 08:20:51] local.INFO: GPS Element Parsed {"raw_longitude":763030720,"raw_latitude":98801152,"longitude_deg":76.303072,"latitude_deg":9.8801152,"altitude":7,"angle":345,"satellites":42,"speed":6,"hex_longitude":"2d7aecc0","hex_latitude":"05e39600","is_valid_coordinates":true} 
[2026-08-10 08:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300524544001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117134014543822848,"note":"Value kept but may cause issues"} 
[2026-08-10 08:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858369386097950720,"note":"Value kept but may cause issues"} 
[2026-08-10 08:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786330180000,"timestamp_ms":1786330180000,"timestamp_seconds":1786330180,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99369a0"} 
[2026-08-10 08:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 08:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300524544001,"66":13189,"97":206,"85":15104,"24":6,"16":117134014543822848,"45":8858369386097950720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300524544001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:20:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117134014543822848,"km_value":117134014543822.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858369386097950720,"description":"Unknown IO ID 45"} 
[2026-08-10 08:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300524544001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8858369386097950720}} 
[2026-08-10 08:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":154080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:20:51] local.INFO: GPS data processed {"connection_id":154080,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:20:51] local.INFO: Acknowledgment sent {"connection_id":154080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:21:00] local.INFO: TCP Data received {"connection_id":151331,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:21:00] local.INFO: Processing buffer {"connection_id":151331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:21:00] local.INFO: IMEI packet received {"connection_id":151331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":151331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:21:05] local.INFO: TCP Data received {"connection_id":151331,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:21:05] local.INFO: Processing buffer {"connection_id":151331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:21:05] local.INFO: IMEI packet received {"connection_id":151331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":151331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:21:06] local.INFO: TCP Data received {"connection_id":151331,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:21:06] local.INFO: Processing buffer {"connection_id":151331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:21:06] local.INFO: Packet analysis {"connection_id":151331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:21:06] local.INFO: Extracted packet for processing {"connection_id":151331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300411136001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786330032000,"timestamp_ms":1786330032000,"timestamp_seconds":1786330032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9912780"} 
[2026-08-10 08:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300411136001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300411136001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300411136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":151331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:21:06] local.INFO: GPS data processed {"connection_id":151331,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:21:06] local.INFO: Acknowledgment sent {"connection_id":151331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:21:15] local.INFO: TCP Data received {"connection_id":151332,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:21:15] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:21:15] local.INFO: IMEI packet received {"connection_id":151332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":151332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:21:20] local.INFO: TCP Data received {"connection_id":151332,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:21:20] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:21:20] local.INFO: IMEI packet received {"connection_id":151332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":151332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:21:21] local.INFO: TCP Data received {"connection_id":151332,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe993bba8012d7aec8005e39668000801592b..."} 
[2026-08-10 08:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe993bba8012d7aec8005e39668000801592b..."} 
[2026-08-10 08:21:21] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe993bba8012d7aec8005e39668000801592b..."} 
[2026-08-10 08:21:21] local.INFO: Packet analysis {"connection_id":151332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe993"} 
[2026-08-10 08:21:21] local.INFO: Extracted packet for processing {"connection_id":151332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe993"} 
[2026-08-10 08:21:21] local.INFO: GPS Element Parsed {"raw_longitude":763030656,"raw_latitude":98801256,"longitude_deg":76.3030656,"latitude_deg":9.8801256,"altitude":8,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d7aec80","hex_latitude":"05e39668","is_valid_coordinates":true} 
[2026-08-10 08:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300526080001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117134027428724736,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857665698656550912,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786330201000,"timestamp_ms":1786330201000,"timestamp_seconds":1786330201,"priority":1,"record_length":96,"hex_timestamp":"0000019fe993bba8"} 
[2026-08-10 08:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:21: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-08-10 08:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 08:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300526080001,"66":12961,"97":206,"85":15104,"24":0,"16":117134027428724736,"45":8857665698656550912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300526080001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:21:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117134027428724736,"km_value":117134027428724.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857665698656550912,"description":"Unknown IO ID 45"} 
[2026-08-10 08:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300526080001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8857665698656550912}} 
[2026-08-10 08:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":151332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:21:21] local.INFO: GPS data processed {"connection_id":151332,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:21:21] local.INFO: Acknowledgment sent {"connection_id":151332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:21:29] local.INFO: TCP Data received {"connection_id":151707,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:21:29] local.INFO: Processing buffer {"connection_id":151707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:21:29] local.INFO: IMEI packet received {"connection_id":151707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":151707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:21:30] local.INFO: TCP Data received {"connection_id":151707,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe993c378012d0b46800703a3300022014c0f..."} 
[2026-08-10 08:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe993c378012d0b46800703a3300022014c0f..."} 
[2026-08-10 08:21:30] local.INFO: Processing buffer {"connection_id":151707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe993c378012d0b46800703a3300022014c0f..."} 
[2026-08-10 08:21:30] local.INFO: Packet analysis {"connection_id":151707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe993"} 
[2026-08-10 08:21:30] local.INFO: Extracted packet for processing {"connection_id":151707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe993"} 
[2026-08-10 08:21:30] local.INFO: GPS Element Parsed {"raw_longitude":755713664,"raw_latitude":117678896,"longitude_deg":75.5713664,"latitude_deg":11.7678896,"altitude":34,"angle":332,"satellites":15,"speed":11,"hex_longitude":"2d0b4680","hex_latitude":"0703a330","is_valid_coordinates":true} 
[2026-08-10 08:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300530176001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27232124176171008,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813321975330613248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786330203000,"timestamp_ms":1786330203000,"timestamp_seconds":1786330203,"priority":1,"record_length":96,"hex_timestamp":"0000019fe993c378"} 
[2026-08-10 08:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 08:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300530176001,"66":14428,"17":206,"94":11008,"24":11,"16":27232124176171008,"45":813321975330613248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 08:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300530176001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:21:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27232124176171008,"km_value":27232124176171.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":813321975330613248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300530176001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":813321975330613248}} 
[2026-08-10 08:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":151707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618502,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:21:30] local.INFO: GPS data processed {"connection_id":151707,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:21:30] local.INFO: Acknowledgment sent {"connection_id":151707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:21:37] local.INFO: TCP Data received {"connection_id":151331,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:21:37] local.INFO: Processing buffer {"connection_id":151331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:21:37] local.INFO: Packet analysis {"connection_id":151331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:21:37] local.INFO: Extracted packet for processing {"connection_id":151331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300411136001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330032000,"timestamp_ms":1786330032000,"timestamp_seconds":1786330032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9912780"} 
[2026-08-10 08:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300411136001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300411136001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300411136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":151331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:21:37] local.INFO: GPS data processed {"connection_id":151331,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:21:37] local.INFO: Acknowledgment sent {"connection_id":151331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:21:52] local.INFO: TCP Data received {"connection_id":151332,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe993dae8012d7aec8005e398e0000901662d..."} 
[2026-08-10 08:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe993dae8012d7aec8005e398e0000901662d..."} 
[2026-08-10 08:21:52] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe993dae8012d7aec8005e398e0000901662d..."} 
[2026-08-10 08:21:52] local.INFO: Packet analysis {"connection_id":151332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe993"} 
[2026-08-10 08:21:52] local.INFO: Extracted packet for processing {"connection_id":151332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe993"} 
[2026-08-10 08:21:52] local.INFO: GPS Element Parsed {"raw_longitude":763030656,"raw_latitude":98801888,"longitude_deg":76.3030656,"latitude_deg":9.8801888,"altitude":9,"angle":358,"satellites":45,"speed":6,"hex_longitude":"2d7aec80","hex_latitude":"05e398e0","is_valid_coordinates":true} 
[2026-08-10 08:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300531456001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117134057493495808,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595329912399872,"note":"Value kept but may cause issues"} 
[2026-08-10 08:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786330209000,"timestamp_ms":1786330209000,"timestamp_seconds":1786330209,"priority":1,"record_length":96,"hex_timestamp":"0000019fe993dae8"} 
[2026-08-10 08:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 08:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300531456001,"66":13406,"97":206,"85":15104,"24":6,"16":117134057493495808,"45":8857595329912399872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300531456001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:21:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117134057493495808,"km_value":117134057493495.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595329912399872,"description":"Unknown IO ID 45"} 
[2026-08-10 08:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300531456001,"power":13406,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8857595329912399872}} 
[2026-08-10 08:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":151332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:21:52] local.INFO: GPS data processed {"connection_id":151332,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:21:52] local.INFO: Acknowledgment sent {"connection_id":151332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:21:59] local.INFO: TCP Data received {"connection_id":151333,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:21:59] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:21:59] local.INFO: IMEI packet received {"connection_id":151333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":151333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:22:01] local.INFO: TCP Data received {"connection_id":151707,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe993dae8012d0b44c00703a9a00022015c10..."} 
[2026-08-10 08:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe993dae8012d0b44c00703a9a00022015c10..."} 
[2026-08-10 08:22:01] local.INFO: Processing buffer {"connection_id":151707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe993dae8012d0b44c00703a9a00022015c10..."} 
[2026-08-10 08:22:01] local.INFO: Packet analysis {"connection_id":151707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe993"} 
[2026-08-10 08:22:01] local.INFO: Extracted packet for processing {"connection_id":151707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe993"} 
[2026-08-10 08:22:01] local.INFO: GPS Element Parsed {"raw_longitude":755713216,"raw_latitude":117680544,"longitude_deg":75.5713216,"latitude_deg":11.7680544,"altitude":34,"angle":348,"satellites":16,"speed":8,"hex_longitude":"2d0b44c0","hex_latitude":"0703a9a0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300531968001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27232210075516928,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812477550401105920,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786330209000,"timestamp_ms":1786330209000,"timestamp_seconds":1786330209,"priority":1,"record_length":96,"hex_timestamp":"0000019fe993dae8"} 
[2026-08-10 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-08-10 08:22: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-08-10 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 08:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300531968001,"66":14352,"17":206,"94":11008,"24":8,"16":27232210075516928,"45":812477550401105920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 08:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300531968001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:22:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27232210075516928,"km_value":27232210075516.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":812477550401105920,"description":"Unknown IO ID 45"} 
[2026-08-10 08:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300531968001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":812477550401105920}} 
[2026-08-10 08:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":151707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618505,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:22:02] local.INFO: GPS data processed {"connection_id":151707,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:22:02] local.INFO: Acknowledgment sent {"connection_id":151707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:22:04] local.INFO: TCP Data received {"connection_id":151333,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:22:04] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:22:04] local.INFO: IMEI packet received {"connection_id":151333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":151333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:22:06] local.INFO: TCP Data received {"connection_id":151333,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:22:06] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:22:06] local.INFO: Packet analysis {"connection_id":151333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:22:06] local.INFO: Extracted packet for processing {"connection_id":151333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300411136001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786330032000,"timestamp_ms":1786330032000,"timestamp_seconds":1786330032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9912780"} 
[2026-08-10 08:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300411136001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300411136001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300411136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":151333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:22:06] local.INFO: GPS data processed {"connection_id":151333,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:22:06] local.INFO: Acknowledgment sent {"connection_id":151333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:22:14] local.INFO: TCP Data received {"connection_id":151708,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:22:14] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:22:14] local.INFO: IMEI packet received {"connection_id":151708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":151708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:22:20] local.INFO: TCP Data received {"connection_id":151708,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:22:20] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:22:20] local.INFO: IMEI packet received {"connection_id":151708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":151708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:22:21] local.INFO: TCP Data received {"connection_id":151708,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99559b8012d7aa3c005e40b380009010624..."} 
[2026-08-10 08:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99559b8012d7aa3c005e40b380009010624..."} 
[2026-08-10 08:22:21] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99559b8012d7aa3c005e40b380009010624..."} 
[2026-08-10 08:22:21] local.INFO: Packet analysis {"connection_id":151708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:22:21] local.INFO: Extracted packet for processing {"connection_id":151708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:22:21] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":98831160,"longitude_deg":76.3012032,"latitude_deg":9.883116,"altitude":9,"angle":262,"satellites":36,"speed":17,"hex_longitude":"2d7aa3c0","hex_latitude":"05e40b38","is_valid_coordinates":true} 
[2026-08-10 08:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300558592001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117136110487863296,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118025364355072,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786330307000,"timestamp_ms":1786330307000,"timestamp_seconds":1786330307,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99559b8"} 
[2026-08-10 08:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:22: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-08-10 08:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 08:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300558592001,"66":13406,"97":206,"85":15104,"24":17,"16":117136110487863296,"45":8837118025364355072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300558592001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:22:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117136110487863296,"km_value":117136110487863.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118025364355072,"description":"Unknown IO ID 45"} 
[2026-08-10 08:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300558592001,"power":13406,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8837118025364355072}} 
[2026-08-10 08:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":151708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:22:21] local.INFO: GPS data processed {"connection_id":151708,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:22:21] local.INFO: Acknowledgment sent {"connection_id":151708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:22:24] local.INFO: TCP Data received {"connection_id":152622,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:22:24] local.INFO: Processing buffer {"connection_id":152622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:22:24] local.INFO: IMEI packet received {"connection_id":152622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":152622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:22:29] local.INFO: TCP Data received {"connection_id":152622,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:22:29] local.INFO: Processing buffer {"connection_id":152622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:22:29] local.INFO: IMEI packet received {"connection_id":152622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":152622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:22:33] local.INFO: TCP Data received {"connection_id":152622,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9942908012d0b45c00703ad78001f015b11..."} 
[2026-08-10 08:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9942908012d0b45c00703ad78001f015b11..."} 
[2026-08-10 08:22:33] local.INFO: Processing buffer {"connection_id":152622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9942908012d0b45c00703ad78001f015b11..."} 
[2026-08-10 08:22:33] local.INFO: Packet analysis {"connection_id":152622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:22:33] local.INFO: Extracted packet for processing {"connection_id":152622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:22:33] local.INFO: GPS Element Parsed {"raw_longitude":755713472,"raw_latitude":117681528,"longitude_deg":75.5713472,"latitude_deg":11.7681528,"altitude":31,"angle":347,"satellites":17,"speed":0,"hex_longitude":"2d0b45c0","hex_latitude":"0703ad78","is_valid_coordinates":true} 
[2026-08-10 08:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300533504001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27232261615124480,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811984969192284160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786330229000,"timestamp_ms":1786330229000,"timestamp_seconds":1786330229,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9942908"} 
[2026-08-10 08:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143040,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3918747160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504015149268992,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2476244993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2496659488,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639784415944209,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756222048534784,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3205234688,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84736340717405053,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4413535346394398744,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,17,94,24,241,157,16,191,159,195,45,128,163,34,15,10,66,168,153,160,1,240,125,227,233,3,4,113,205,90,239,56,2,96,7,25,206,48,11],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-08-10 08:22:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2450340896056016896,"timestamp_seconds":2450340896056017.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300533504001,"66":14537,"96":206,"94":10240,"24":0,"16":27232261615124480,"45":811984969192284160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 08:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300533504001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:22:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:22:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27232261615124480,"km_value":27232261615124.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":811984969192284160,"description":"Unknown IO ID 45"} 
[2026-08-10 08:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300533504001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":811984969192284160}} 
[2026-08-10 08:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":152622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618508,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:22:33] local.INFO: GPS data processed {"connection_id":152622,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:22:33] local.INFO: Acknowledgment sent {"connection_id":152622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:22:38] local.INFO: TCP Data received {"connection_id":151333,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:22:38] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9912780012d34c20006aa3f08000200f32c..."} 
[2026-08-10 08:22:38] local.INFO: Packet analysis {"connection_id":151333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:22:38] local.INFO: Extracted packet for processing {"connection_id":151333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe991"} 
[2026-08-10 08:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":2,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300411136001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786330032000,"timestamp_ms":1786330032000,"timestamp_seconds":1786330032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9912780"} 
[2026-08-10 08:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300411136001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300411136001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300411136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":151333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:22:38] local.INFO: GPS data processed {"connection_id":151333,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:22:38] local.INFO: Acknowledgment sent {"connection_id":151333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:22:53] local.INFO: TCP Data received {"connection_id":151708,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9956d40012d7a9dc005e40ac00009011325..."} 
[2026-08-10 08:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9956d40012d7a9dc005e40ac00009011325..."} 
[2026-08-10 08:22:53] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9956d40012d7a9dc005e40ac00009011325..."} 
[2026-08-10 08:22:53] local.INFO: Packet analysis {"connection_id":151708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:22:53] local.INFO: Extracted packet for processing {"connection_id":151708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:22:53] local.INFO: GPS Element Parsed {"raw_longitude":763010496,"raw_latitude":98831040,"longitude_deg":76.3010496,"latitude_deg":9.883104,"altitude":9,"angle":275,"satellites":37,"speed":7,"hex_longitude":"2d7a9dc0","hex_latitude":"05e40ac0","is_valid_coordinates":true} 
[2026-08-10 08:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300558592001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117136183502307328,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118025364355072,"note":"Value kept but may cause issues"} 
[2026-08-10 08:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786330312000,"timestamp_ms":1786330312000,"timestamp_seconds":1786330312,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9956d40"} 
[2026-08-10 08:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 08:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300558592001,"66":13319,"97":206,"85":15104,"24":7,"16":117136183502307328,"45":8837118025364355072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300558592001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:22:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117136183502307328,"km_value":117136183502307.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118025364355072,"description":"Unknown IO ID 45"} 
[2026-08-10 08:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300558592001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8837118025364355072}} 
[2026-08-10 08:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":151708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:22:53] local.INFO: GPS data processed {"connection_id":151708,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:22:53] local.INFO: Acknowledgment sent {"connection_id":151708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:22:59] local.INFO: TCP Data received {"connection_id":151334,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:22:59] local.INFO: Processing buffer {"connection_id":151334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:22:59] local.INFO: IMEI packet received {"connection_id":151334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":151334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:23:04] local.INFO: TCP Data received {"connection_id":151334,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:23:04] local.INFO: Processing buffer {"connection_id":151334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:23:04] local.INFO: IMEI packet received {"connection_id":151334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":151334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:23:13] local.INFO: TCP Data received {"connection_id":154082,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:23:13] local.INFO: Processing buffer {"connection_id":154082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:23:13] local.INFO: IMEI packet received {"connection_id":154082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":154082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:23:14] local.INFO: TCP Data received {"connection_id":154082,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:23:14] local.INFO: Processing buffer {"connection_id":154082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:23:14] local.INFO: IMEI packet received {"connection_id":154082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":154082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:23:19] local.INFO: TCP Data received {"connection_id":154082,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:23:19] local.INFO: Processing buffer {"connection_id":154082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:23:19] local.INFO: IMEI packet received {"connection_id":154082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":154082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:23:21] local.INFO: TCP Data received {"connection_id":154082,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9959c20012d7a9f4005e40a100008007827..."} 
[2026-08-10 08:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9959c20012d7a9f4005e40a100008007827..."} 
[2026-08-10 08:23:21] local.INFO: Processing buffer {"connection_id":154082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9959c20012d7a9f4005e40a100008007827..."} 
[2026-08-10 08:23:21] local.INFO: Packet analysis {"connection_id":154082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:23:21] local.INFO: Extracted packet for processing {"connection_id":154082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":98830864,"longitude_deg":76.301088,"latitude_deg":9.8830864,"altitude":8,"angle":120,"satellites":39,"speed":2,"hex_longitude":"2d7a9f40","hex_latitude":"05e40a10","is_valid_coordinates":true} 
[2026-08-10 08:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300559872001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117136222157012992,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835429175504060416,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786330324000,"timestamp_ms":1786330324000,"timestamp_seconds":1786330324,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9959c20"} 
[2026-08-10 08:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:23: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-08-10 08:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 08:23:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3918855160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:21] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2500308993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:21] local.WARNING: Large IO value detected {"io_id":228,"raw_value":961518559120401920,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-10 08:23:21] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:21] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2147869713,"corrected_to":0} 
[2026-08-10 08:23:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826278400,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:21] local.WARNING: Large IO value detected {"io_id":74,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:21] local.WARNING: Large IO value detected {"io_id":148,"raw_value":-1134905811251871739,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:21] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,97,85,24,241,157,16,38,159,89,45,192,11,9,36,10,66,128,1,240,116,227,233,228,4,113,205,13,3,202,136,239,52,2,160,5,74,148],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0},{"io_id":202,"original":2147869713,"validated":0}]} 
[2026-08-10 08:23:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648820870953238528,"timestamp_seconds":648820870953238.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300559872001,"66":13406,"97":206,"85":15104,"24":2,"16":117136222157012992,"45":8835429175504060416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300559872001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:23:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117136222157012992,"km_value":117136222157012.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835429175504060416,"description":"Unknown IO ID 45"} 
[2026-08-10 08:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300559872001,"power":13406,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8835429175504060416}} 
[2026-08-10 08:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":154082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:23:21] local.INFO: GPS data processed {"connection_id":154082,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:23:21] local.INFO: Acknowledgment sent {"connection_id":154082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:23:24] local.INFO: TCP Data received {"connection_id":151709,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:23:24] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:23:24] local.INFO: IMEI packet received {"connection_id":151709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":151709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:23:25] local.INFO: TCP Data received {"connection_id":152622,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9947b10012d0b45c00703ad78001f015b17..."} 
[2026-08-10 08:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9947b10012d0b45c00703ad78001f015b17..."} 
[2026-08-10 08:23:25] local.INFO: Processing buffer {"connection_id":152622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9947b10012d0b45c00703ad78001f015b17..."} 
[2026-08-10 08:23:25] local.INFO: Packet analysis {"connection_id":152622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:23:25] local.INFO: Extracted packet for processing {"connection_id":152622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:23:25] local.INFO: GPS Element Parsed {"raw_longitude":755713472,"raw_latitude":117681528,"longitude_deg":75.5713472,"latitude_deg":11.7681528,"altitude":31,"angle":347,"satellites":23,"speed":0,"hex_longitude":"2d0b45c0","hex_latitude":"0703ad78","is_valid_coordinates":true} 
[2026-08-10 08:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300538624001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27232261615124480,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812266444169246720,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786330250000,"timestamp_ms":1786330250000,"timestamp_seconds":1786330250,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9947b10"} 
[2026-08-10 08:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 08:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300538624001,"66":14461,"96":206,"94":10240,"24":0,"16":27232261615124480,"45":812266444169246720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 08:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300538624001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:23:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:23:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27232261615124480,"km_value":27232261615124.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":812266444169246720,"description":"Unknown IO ID 45"} 
[2026-08-10 08:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300538624001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":812266444169246720}} 
[2026-08-10 08:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":152622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618512,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:23:25] local.INFO: GPS data processed {"connection_id":152622,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:23:25] local.INFO: Acknowledgment sent {"connection_id":152622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:23:29] local.INFO: TCP Data received {"connection_id":151709,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:23:29] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:23:29] local.INFO: IMEI packet received {"connection_id":151709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":151709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:23:30] local.INFO: TCP Data received {"connection_id":151709,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9949a50012d0b45c00703ada8001f00b317..."} 
[2026-08-10 08:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9949a50012d0b45c00703ada8001f00b317..."} 
[2026-08-10 08:23:30] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9949a50012d0b45c00703ada8001f00b317..."} 
[2026-08-10 08:23:30] local.INFO: Packet analysis {"connection_id":151709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:23:30] local.INFO: Extracted packet for processing {"connection_id":151709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:23:30] local.INFO: GPS Element Parsed {"raw_longitude":755713472,"raw_latitude":117681576,"longitude_deg":75.5713472,"latitude_deg":11.7681576,"altitude":31,"angle":179,"satellites":23,"speed":1,"hex_longitude":"2d0b45c0","hex_latitude":"0703ada8","is_valid_coordinates":true} 
[2026-08-10 08:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300544000001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27232265910091776,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812266444169246720,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786330258000,"timestamp_ms":1786330258000,"timestamp_seconds":1786330258,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9949a50"} 
[2026-08-10 08:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 08:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300544000001,"66":14580,"96":206,"94":10240,"24":1,"16":27232265910091776,"45":812266444169246720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 08:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300544000001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:23:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:23:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27232265910091776,"km_value":27232265910091.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":812266444169246720,"description":"Unknown IO ID 45"} 
[2026-08-10 08:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300544000001,"power":14580,"unknown_96":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":812266444169246720}} 
[2026-08-10 08:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":151709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618513,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:23:30] local.INFO: GPS data processed {"connection_id":151709,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:23:30] local.INFO: Acknowledgment sent {"connection_id":151709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:23:52] local.INFO: TCP Data received {"connection_id":154082,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe995a008012d7a9f4005e409e80008008627..."} 
[2026-08-10 08:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe995a008012d7a9f4005e409e80008008627..."} 
[2026-08-10 08:23:52] local.INFO: Processing buffer {"connection_id":154082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe995a008012d7a9f4005e409e80008008627..."} 
[2026-08-10 08:23:52] local.INFO: Packet analysis {"connection_id":154082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:23:52] local.INFO: Extracted packet for processing {"connection_id":154082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:23:52] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":98830824,"longitude_deg":76.301088,"latitude_deg":9.8830824,"altitude":8,"angle":134,"satellites":39,"speed":2,"hex_longitude":"2d7a9f40","hex_latitude":"05e409e8","is_valid_coordinates":true} 
[2026-08-10 08:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300562944001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117136222157012992,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835851387969081344,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786330325000,"timestamp_ms":1786330325000,"timestamp_seconds":1786330325,"priority":1,"record_length":96,"hex_timestamp":"0000019fe995a008"} 
[2026-08-10 08:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:23: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-08-10 08:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 08:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300562944001,"66":13200,"97":206,"85":15104,"24":2,"16":117136222157012992,"45":8835851387969081344},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300562944001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117136222157012992,"km_value":117136222157012.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835851387969081344,"description":"Unknown IO ID 45"} 
[2026-08-10 08:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300562944001,"power":13200,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8835851387969081344}} 
[2026-08-10 08:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":154082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:23:52] local.INFO: GPS data processed {"connection_id":154082,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:23:52] local.INFO: Acknowledgment sent {"connection_id":154082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:23:58] local.INFO: TCP Data received {"connection_id":151334,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:23:58] local.INFO: Processing buffer {"connection_id":151334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:23:58] local.INFO: Packet analysis {"connection_id":151334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:23:58] local.INFO: Extracted packet for processing {"connection_id":151334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:23:58] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300488192001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786330333000,"timestamp_ms":1786330333000,"timestamp_seconds":1786330333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe995bf48"} 
[2026-08-10 08:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300488192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300488192001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:23:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:23:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300488192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":151334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:23:58] local.INFO: GPS data processed {"connection_id":151334,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:23:58] local.INFO: Acknowledgment sent {"connection_id":151334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:23:59] local.INFO: TCP Data received {"connection_id":151710,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:23:59] local.INFO: Processing buffer {"connection_id":151710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:23:59] local.INFO: IMEI packet received {"connection_id":151710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":151710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:24:01] local.INFO: TCP Data received {"connection_id":151709,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe994a220012d0b45800703ad88001f00c817..."} 
[2026-08-10 08:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe994a220012d0b45800703ad88001f00c817..."} 
[2026-08-10 08:24:01] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe994a220012d0b45800703ad88001f00c817..."} 
[2026-08-10 08:24:01] local.INFO: Packet analysis {"connection_id":151709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:24:01] local.INFO: Extracted packet for processing {"connection_id":151709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:24:01] local.INFO: GPS Element Parsed {"raw_longitude":755713408,"raw_latitude":117681544,"longitude_deg":75.5713408,"latitude_deg":11.7681544,"altitude":31,"angle":200,"satellites":23,"speed":1,"hex_longitude":"2d0b4580","hex_latitude":"0703ad88","is_valid_coordinates":true} 
[2026-08-10 08:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300546048001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27232270205059072,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812266444169259008,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786330260000,"timestamp_ms":1786330260000,"timestamp_seconds":1786330260,"priority":1,"record_length":96,"hex_timestamp":"0000019fe994a220"} 
[2026-08-10 08:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:24: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-08-10 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-10 08:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300546048001,"66":14428,"96":206,"94":10240,"24":1,"16":27232270205059072,"45":812266444169259008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 08:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300546048001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:24:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:24:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27232270205059072,"km_value":27232270205059.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":812266444169259008,"description":"Unknown IO ID 45"} 
[2026-08-10 08:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300546048001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":812266444169259008}} 
[2026-08-10 08:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":151709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618516,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:24:01] local.INFO: GPS data processed {"connection_id":151709,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:24:01] local.INFO: Acknowledgment sent {"connection_id":151709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:24:05] local.INFO: TCP Data received {"connection_id":151710,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:24:05] local.INFO: Processing buffer {"connection_id":151710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:24:05] local.INFO: IMEI packet received {"connection_id":151710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":151710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:24:06] local.INFO: TCP Data received {"connection_id":151710,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:24:06] local.INFO: Processing buffer {"connection_id":151710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:24:06] local.INFO: Packet analysis {"connection_id":151710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:24:06] local.INFO: Extracted packet for processing {"connection_id":151710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300488192001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786330333000,"timestamp_ms":1786330333000,"timestamp_seconds":1786330333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe995bf48"} 
[2026-08-10 08:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300488192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300488192001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300488192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":151710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:24:06] local.INFO: GPS data processed {"connection_id":151710,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:24:06] local.INFO: Acknowledgment sent {"connection_id":151710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:24:13] local.INFO: TCP Data received {"connection_id":151335,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:24:13] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:24:13] local.INFO: IMEI packet received {"connection_id":151335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":151335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:24:14] local.INFO: TCP Data received {"connection_id":151335,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:24:14] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:24:14] local.INFO: IMEI packet received {"connection_id":151335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":151335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:24:20] local.INFO: TCP Data received {"connection_id":151335,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:24:20] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:24:20] local.INFO: IMEI packet received {"connection_id":151335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":151335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:24:21] local.INFO: TCP Data received {"connection_id":151335,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99722c0012d7ae0c005e3c568000b00a427..."} 
[2026-08-10 08:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99722c0012d7ae0c005e3c568000b00a427..."} 
[2026-08-10 08:24:21] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99722c0012d7ae0c005e3c568000b00a427..."} 
[2026-08-10 08:24:21] local.INFO: Packet analysis {"connection_id":151335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe997"} 
[2026-08-10 08:24:21] local.INFO: Extracted packet for processing {"connection_id":151335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe997"} 
[2026-08-10 08:24:21] local.INFO: GPS Element Parsed {"raw_longitude":763027648,"raw_latitude":98813288,"longitude_deg":76.3027648,"latitude_deg":9.8813288,"altitude":11,"angle":164,"satellites":39,"speed":23,"hex_longitude":"2d7ae0c0","hex_latitude":"05e3c568","is_valid_coordinates":true} 
[2026-08-10 08:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300584448001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117137764050272256,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851543617918490624,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786330424000,"timestamp_ms":1786330424000,"timestamp_seconds":1786330424,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99722c0"} 
[2026-08-10 08:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:24: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-08-10 08:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 08:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300584448001,"66":13396,"97":206,"85":15104,"24":23,"16":117137764050272256,"45":8851543617918490624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300584448001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:24:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117137764050272256,"km_value":117137764050272.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851543617918490624,"description":"Unknown IO ID 45"} 
[2026-08-10 08:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300584448001,"power":13396,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8851543617918490624}} 
[2026-08-10 08:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":151335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:24:21] local.INFO: GPS data processed {"connection_id":151335,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:24:21] local.INFO: Acknowledgment sent {"connection_id":151335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:24:24] local.INFO: TCP Data received {"connection_id":152623,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152623,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:24:24] local.INFO: Processing buffer {"connection_id":152623,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:24:24] local.INFO: IMEI packet received {"connection_id":152623,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":152623,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:24:29] local.INFO: TCP Data received {"connection_id":152623,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152623,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:24:29] local.INFO: Processing buffer {"connection_id":152623,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:24:29] local.INFO: IMEI packet received {"connection_id":152623,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":152623,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:24:33] local.INFO: TCP Data received {"connection_id":152623,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe994a9f0012d0b45c00703ad28001f00b617..."} 
[2026-08-10 08:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe994a9f0012d0b45c00703ad28001f00b617..."} 
[2026-08-10 08:24:33] local.INFO: Processing buffer {"connection_id":152623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe994a9f0012d0b45c00703ad28001f00b617..."} 
[2026-08-10 08:24:33] local.INFO: Packet analysis {"connection_id":152623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:24:33] local.INFO: Extracted packet for processing {"connection_id":152623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:24:33] local.INFO: GPS Element Parsed {"raw_longitude":755713472,"raw_latitude":117681448,"longitude_deg":75.5713472,"latitude_deg":11.7681448,"altitude":31,"angle":182,"satellites":23,"speed":0,"hex_longitude":"2d0b45c0","hex_latitude":"0703ad28","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300546560001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27232274500026368,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812196075425073152,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786330262000,"timestamp_ms":1786330262000,"timestamp_seconds":1786330262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe994a9f0"} 
[2026-08-10 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-08-10 08:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 08:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152623,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152623,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300546560001,"66":14374,"96":206,"94":10240,"24":0,"16":27232274500026368,"45":812196075425073152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 08:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300546560001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:24:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:24:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27232274500026368,"km_value":27232274500026.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":812196075425073152,"description":"Unknown IO ID 45"} 
[2026-08-10 08:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300546560001,"power":14374,"unknown_96":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":812196075425073152}} 
[2026-08-10 08:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":152623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618519,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:24:33] local.INFO: GPS data processed {"connection_id":152623,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:24:33] local.INFO: Acknowledgment sent {"connection_id":152623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:24:37] local.INFO: TCP Data received {"connection_id":151710,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:24:37] local.INFO: Processing buffer {"connection_id":151710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:24:37] local.INFO: Packet analysis {"connection_id":151710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:24:37] local.INFO: Extracted packet for processing {"connection_id":151710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300488192001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330333000,"timestamp_ms":1786330333000,"timestamp_seconds":1786330333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe995bf48"} 
[2026-08-10 08:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300488192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300488192001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300488192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":151710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:24:37] local.INFO: GPS data processed {"connection_id":151710,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:24:37] local.INFO: Acknowledgment sent {"connection_id":151710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:24:52] local.INFO: TCP Data received {"connection_id":151335,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99751a0012d7aeb4005e3a448000c00a220..."} 
[2026-08-10 08:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99751a0012d7aeb4005e3a448000c00a220..."} 
[2026-08-10 08:24:52] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99751a0012d7aeb4005e3a448000c00a220..."} 
[2026-08-10 08:24:52] local.INFO: Packet analysis {"connection_id":151335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe997"} 
[2026-08-10 08:24:52] local.INFO: Extracted packet for processing {"connection_id":151335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe997"} 
[2026-08-10 08:24:52] local.INFO: GPS Element Parsed {"raw_longitude":763030336,"raw_latitude":98804808,"longitude_deg":76.3030336,"latitude_deg":9.8804808,"altitude":12,"angle":162,"satellites":32,"speed":28,"hex_longitude":"2d7aeb40","hex_latitude":"05e3a448","is_valid_coordinates":true} 
[2026-08-10 08:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300588544001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117138193547001856,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854287998939129856,"note":"Value kept but may cause issues"} 
[2026-08-10 08:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786330436000,"timestamp_ms":1786330436000,"timestamp_seconds":1786330436,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99751a0"} 
[2026-08-10 08:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:24: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-08-10 08:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-10 08:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300588544001,"66":13559,"97":206,"85":15104,"24":28,"16":117138193547001856,"45":8854287998939129856},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300588544001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:24:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117138193547001856,"km_value":117138193547001.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854287998939129856,"description":"Unknown IO ID 45"} 
[2026-08-10 08:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300588544001,"power":13559,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8854287998939129856}} 
[2026-08-10 08:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":151335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:24:52] local.INFO: GPS data processed {"connection_id":151335,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:24:52] local.INFO: Acknowledgment sent {"connection_id":151335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:24:59] local.INFO: TCP Data received {"connection_id":154083,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:24:59] local.INFO: Processing buffer {"connection_id":154083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:24:59] local.INFO: IMEI packet received {"connection_id":154083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":154083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:25:04] local.INFO: TCP Data received {"connection_id":152623,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe994b1c0012d0b45c00703acf8001f00b417..."} 
[2026-08-10 08:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe994b1c0012d0b45c00703acf8001f00b417..."} 
[2026-08-10 08:25:04] local.INFO: Processing buffer {"connection_id":152623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe994b1c0012d0b45c00703acf8001f00b417..."} 
[2026-08-10 08:25:04] local.INFO: Packet analysis {"connection_id":152623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:25:04] local.INFO: Extracted packet for processing {"connection_id":152623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:25:04] local.INFO: GPS Element Parsed {"raw_longitude":755713472,"raw_latitude":117681400,"longitude_deg":75.5713472,"latitude_deg":11.76814,"altitude":31,"angle":180,"satellites":23,"speed":0,"hex_longitude":"2d0b45c0","hex_latitude":"0703acf8","is_valid_coordinates":true} 
[2026-08-10 08:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300547072001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27232278794993664,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812266444169226240,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786330264000,"timestamp_ms":1786330264000,"timestamp_seconds":1786330264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe994b1c0"} 
[2026-08-10 08:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 08:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152623,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152623,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300547072001,"66":14461,"96":206,"94":10240,"24":0,"16":27232278794993664,"45":812266444169226240},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 08:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300547072001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:25:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:25:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27232278794993664,"km_value":27232278794993.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":812266444169226240,"description":"Unknown IO ID 45"} 
[2026-08-10 08:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300547072001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":812266444169226240}} 
[2026-08-10 08:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":152623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618522,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:25:04] local.INFO: GPS data processed {"connection_id":152623,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:25:04] local.INFO: Acknowledgment sent {"connection_id":152623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:25:04] local.INFO: TCP Data received {"connection_id":154083,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:25:04] local.INFO: Processing buffer {"connection_id":154083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:25:04] local.INFO: IMEI packet received {"connection_id":154083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":154083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:25:06] local.INFO: TCP Data received {"connection_id":154083,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:25:06] local.INFO: Processing buffer {"connection_id":154083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:25:06] local.INFO: Packet analysis {"connection_id":154083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:25:06] local.INFO: Extracted packet for processing {"connection_id":154083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300488192001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786330333000,"timestamp_ms":1786330333000,"timestamp_seconds":1786330333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe995bf48"} 
[2026-08-10 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-08-10 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300488192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300488192001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300488192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":154083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:25:06] local.INFO: GPS data processed {"connection_id":154083,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:25:06] local.INFO: Acknowledgment sent {"connection_id":154083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:25:14] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:25:14] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:25:14] local.INFO: IMEI packet received {"connection_id":151711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":151711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:25:20] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:25:20] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:25:20] local.INFO: IMEI packet received {"connection_id":151711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":151711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:25:20] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9979020012d7af1c005e38f30000b009628..."} 
[2026-08-10 08:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9979020012d7af1c005e38f30000b009628..."} 
[2026-08-10 08:25:20] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9979020012d7af1c005e38f30000b009628..."} 
[2026-08-10 08:25:20] local.INFO: Packet analysis {"connection_id":151711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe997"} 
[2026-08-10 08:25:20] local.INFO: Extracted packet for processing {"connection_id":151711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe997"} 
[2026-08-10 08:25:20] local.INFO: GPS Element Parsed {"raw_longitude":763032000,"raw_latitude":98799408,"longitude_deg":76.3032,"latitude_deg":9.8799408,"altitude":11,"angle":150,"satellites":40,"speed":12,"hex_longitude":"2d7af1c0","hex_latitude":"05e38f30","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300591616001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117138472719876096,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857243486192420864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786330452000,"timestamp_ms":1786330452000,"timestamp_seconds":1786330452,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9979020"} 
[2026-08-10 08:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 08:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300591616001,"66":13406,"97":206,"85":15104,"24":12,"16":117138472719876096,"45":8857243486192420864},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300591616001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:25:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117138472719876096,"km_value":117138472719876.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857243486192420864,"description":"Unknown IO ID 45"} 
[2026-08-10 08:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300591616001,"power":13406,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8857243486192420864}} 
[2026-08-10 08:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":151711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:25:21] local.INFO: GPS data processed {"connection_id":151711,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:25:21] local.INFO: Acknowledgment sent {"connection_id":151711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:25:24] local.INFO: TCP Data received {"connection_id":152624,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:25:24] local.INFO: Processing buffer {"connection_id":152624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:25:24] local.INFO: IMEI packet received {"connection_id":152624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":152624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:25:29] local.INFO: TCP Data received {"connection_id":152624,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:25:29] local.INFO: Processing buffer {"connection_id":152624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:25:29] local.INFO: IMEI packet received {"connection_id":152624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":152624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:25:30] local.INFO: TCP Data received {"connection_id":152624,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe994b1c0012d0b45c00703acf8001f00b417..."} 
[2026-08-10 08:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe994b1c0012d0b45c00703acf8001f00b417..."} 
[2026-08-10 08:25:30] local.INFO: Processing buffer {"connection_id":152624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe994b1c0012d0b45c00703acf8001f00b417..."} 
[2026-08-10 08:25:30] local.INFO: Packet analysis {"connection_id":152624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:25:30] local.INFO: Extracted packet for processing {"connection_id":152624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe994"} 
[2026-08-10 08:25:30] local.INFO: GPS Element Parsed {"raw_longitude":755713472,"raw_latitude":117681400,"longitude_deg":75.5713472,"latitude_deg":11.76814,"altitude":31,"angle":180,"satellites":23,"speed":0,"hex_longitude":"2d0b45c0","hex_latitude":"0703acf8","is_valid_coordinates":true} 
[2026-08-10 08:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300547584001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27232278794993664,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812266444169213952,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786330264000,"timestamp_ms":1786330264000,"timestamp_seconds":1786330264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe994b1c0"} 
[2026-08-10 08:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 08:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300547584001,"66":14461,"96":206,"94":10240,"24":0,"16":27232278794993664,"45":812266444169213952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 08:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300547584001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:25:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:25:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27232278794993664,"km_value":27232278794993.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":812266444169213952,"description":"Unknown IO ID 45"} 
[2026-08-10 08:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300547584001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":812266444169213952}} 
[2026-08-10 08:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":152624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618525,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:25:30] local.INFO: GPS data processed {"connection_id":152624,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:25:30] local.INFO: Acknowledgment sent {"connection_id":152624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:25:37] local.INFO: TCP Data received {"connection_id":154083,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:25:37] local.INFO: Processing buffer {"connection_id":154083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:25:37] local.INFO: Packet analysis {"connection_id":154083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:25:37] local.INFO: Extracted packet for processing {"connection_id":154083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300488192001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330333000,"timestamp_ms":1786330333000,"timestamp_seconds":1786330333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe995bf48"} 
[2026-08-10 08:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:25: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-08-10 08:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300488192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300488192001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300488192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":154083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:25:37] local.INFO: GPS data processed {"connection_id":154083,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:25:37] local.INFO: Acknowledgment sent {"connection_id":154083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:25:51] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe997c2e8012d7af58005e385c8000c00b024..."} 
[2026-08-10 08:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe997c2e8012d7af58005e385c8000c00b024..."} 
[2026-08-10 08:25:51] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe997c2e8012d7af58005e385c8000c00b024..."} 
[2026-08-10 08:25:51] local.INFO: Packet analysis {"connection_id":151711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe997"} 
[2026-08-10 08:25:51] local.INFO: Extracted packet for processing {"connection_id":151711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe997"} 
[2026-08-10 08:25:51] local.INFO: GPS Element Parsed {"raw_longitude":763032960,"raw_latitude":98797000,"longitude_deg":76.303296,"latitude_deg":9.8797,"altitude":12,"angle":176,"satellites":36,"speed":6,"hex_longitude":"2d7af580","hex_latitude":"05e385c8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300595712001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117138601568894976,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859073073539657728,"note":"Value kept but may cause issues"} 
[2026-08-10 08:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786330465000,"timestamp_ms":1786330465000,"timestamp_seconds":1786330465,"priority":1,"record_length":96,"hex_timestamp":"0000019fe997c2e8"} 
[2026-08-10 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-08-10 08:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 08:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300595712001,"66":13450,"97":206,"85":15104,"24":6,"16":117138601568894976,"45":8859073073539657728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300595712001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:25:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117138601568894976,"km_value":117138601568894.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859073073539657728,"description":"Unknown IO ID 45"} 
[2026-08-10 08:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300595712001,"power":13450,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8859073073539657728}} 
[2026-08-10 08:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":151711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:25:51] local.INFO: GPS data processed {"connection_id":151711,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:25:51] local.INFO: Acknowledgment sent {"connection_id":151711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:26:00] local.INFO: TCP Data received {"connection_id":151336,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:26:00] local.INFO: Processing buffer {"connection_id":151336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:26:00] local.INFO: IMEI packet received {"connection_id":151336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":151336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:26:01] local.INFO: TCP Data received {"connection_id":152624,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe998c0d0012d0b44000703aca8001f00b422..."} 
[2026-08-10 08:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe998c0d0012d0b44000703aca8001f00b422..."} 
[2026-08-10 08:26:01] local.INFO: Processing buffer {"connection_id":152624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe998c0d0012d0b44000703aca8001f00b422..."} 
[2026-08-10 08:26:01] local.INFO: Packet analysis {"connection_id":152624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe998"} 
[2026-08-10 08:26:01] local.INFO: Extracted packet for processing {"connection_id":152624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe998"} 
[2026-08-10 08:26:01] local.INFO: GPS Element Parsed {"raw_longitude":755713024,"raw_latitude":117681320,"longitude_deg":75.5713024,"latitude_deg":11.768132,"altitude":31,"angle":180,"satellites":34,"speed":0,"hex_longitude":"2d0b4400","hex_latitude":"0703aca8","is_valid_coordinates":true} 
[2026-08-10 08:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300547584001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27232278794993664,"note":"Value kept but may cause issues"} 
[2026-08-10 08:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812266444169213952,"note":"Value kept but may cause issues"} 
[2026-08-10 08:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786330530000,"timestamp_ms":1786330530000,"timestamp_seconds":1786330530,"priority":1,"record_length":96,"hex_timestamp":"0000019fe998c0d0"} 
[2026-08-10 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-08-10 08:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 08:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300547584001,"66":12798,"96":206,"94":10240,"24":0,"16":27232278794993664,"45":812266444169213952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 08:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300547584001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:26:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:26:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27232278794993664,"km_value":27232278794993.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":812266444169213952,"description":"Unknown IO ID 45"} 
[2026-08-10 08:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300547584001,"power":12798,"unknown_96":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":812266444169213952}} 
[2026-08-10 08:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":152624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618528,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:26:02] local.INFO: GPS data processed {"connection_id":152624,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:26:02] local.INFO: Acknowledgment sent {"connection_id":152624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:26:04] local.INFO: TCP Data received {"connection_id":151336,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:26:04] local.INFO: Processing buffer {"connection_id":151336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:26:04] local.INFO: IMEI packet received {"connection_id":151336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":151336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:26:05] local.INFO: TCP Data received {"connection_id":151336,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:26:05] local.INFO: Processing buffer {"connection_id":151336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:26:05] local.INFO: Packet analysis {"connection_id":151336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:26:05] local.INFO: Extracted packet for processing {"connection_id":151336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300488192001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786330333000,"timestamp_ms":1786330333000,"timestamp_seconds":1786330333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe995bf48"} 
[2026-08-10 08:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:26: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-08-10 08:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300488192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300488192001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:26:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300488192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":151336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:26:05] local.INFO: GPS data processed {"connection_id":151336,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:26:05] local.INFO: Acknowledgment sent {"connection_id":151336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:26:21] local.INFO: TCP Data received {"connection_id":152625,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152625,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:26:21] local.INFO: Processing buffer {"connection_id":152625,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:26:21] local.INFO: IMEI packet received {"connection_id":152625,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":152625,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:26:22] local.INFO: TCP Data received {"connection_id":152625,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152625,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:26:22] local.INFO: Processing buffer {"connection_id":152625,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:26:22] local.INFO: IMEI packet received {"connection_id":152625,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":152625,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:26:23] local.INFO: TCP Data received {"connection_id":152625,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152625,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:26:23] local.INFO: Processing buffer {"connection_id":152625,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:26:23] local.INFO: IMEI packet received {"connection_id":152625,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":152625,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:26:24] local.INFO: TCP Data received {"connection_id":152625,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152625,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:26:24] local.INFO: Processing buffer {"connection_id":152625,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:26:24] local.INFO: IMEI packet received {"connection_id":152625,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":152625,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:26:25] local.INFO: TCP Data received {"connection_id":154084,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:26:25] local.INFO: Processing buffer {"connection_id":154084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:26:25] local.INFO: IMEI packet received {"connection_id":154084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":154084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:26:29] local.INFO: TCP Data received {"connection_id":154084,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:26:29] local.INFO: Processing buffer {"connection_id":154084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:26:29] local.INFO: IMEI packet received {"connection_id":154084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":154084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:26:30] local.INFO: TCP Data received {"connection_id":154084,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe998efb0012d7b370005e394b80009002228..."} 
[2026-08-10 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe998efb0012d7b370005e394b80009002228..."} 
[2026-08-10 08:26:30] local.INFO: Processing buffer {"connection_id":154084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe998efb0012d7b370005e394b80009002228..."} 
[2026-08-10 08:26:30] local.INFO: Packet analysis {"connection_id":154084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe998"} 
[2026-08-10 08:26:30] local.INFO: Extracted packet for processing {"connection_id":154084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe998"} 
[2026-08-10 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763049728,"raw_latitude":98800824,"longitude_deg":76.3049728,"latitude_deg":9.8800824,"altitude":9,"angle":34,"satellites":40,"speed":31,"hex_longitude":"2d7b3700","hex_latitude":"05e394b8","is_valid_coordinates":true} 
[2026-08-10 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300614656001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117140293786009600,"note":"Value kept but may cause issues"} 
[2026-08-10 08:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872935716140931072,"note":"Value kept but may cause issues"} 
[2026-08-10 08:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786330542000,"timestamp_ms":1786330542000,"timestamp_seconds":1786330542,"priority":1,"record_length":96,"hex_timestamp":"0000019fe998efb0"} 
[2026-08-10 08:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-10 08:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:26: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-08-10 08:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300614656001,"66":13363,"97":206,"85":15104,"24":31,"16":117140293786009600,"45":8872935716140931072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300614656001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:26:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117140293786009600,"km_value":117140293786009.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872935716140931072,"description":"Unknown IO ID 45"} 
[2026-08-10 08:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300614656001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8872935716140931072}} 
[2026-08-10 08:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":154084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:26:30] local.INFO: GPS data processed {"connection_id":154084,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:26:30] local.INFO: Acknowledgment sent {"connection_id":154084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:26:37] local.INFO: TCP Data received {"connection_id":151336,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:26:37] local.INFO: Processing buffer {"connection_id":151336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:26:37] local.INFO: Packet analysis {"connection_id":151336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:26:37] local.INFO: Extracted packet for processing {"connection_id":151336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300488192001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330333000,"timestamp_ms":1786330333000,"timestamp_seconds":1786330333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe995bf48"} 
[2026-08-10 08:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300488192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300488192001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300488192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":151336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:26:37] local.INFO: GPS data processed {"connection_id":151336,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:26:37] local.INFO: Acknowledgment sent {"connection_id":151336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:26:59] local.INFO: TCP Data received {"connection_id":151712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:26:59] local.INFO: Processing buffer {"connection_id":151712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:26:59] local.INFO: IMEI packet received {"connection_id":151712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":151712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:27:04] local.INFO: TCP Data received {"connection_id":151712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:27:04] local.INFO: Processing buffer {"connection_id":151712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:27:04] local.INFO: IMEI packet received {"connection_id":151712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":151712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:27:05] local.INFO: TCP Data received {"connection_id":151712,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:27:05] local.INFO: Processing buffer {"connection_id":151712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:27:05] local.INFO: Packet analysis {"connection_id":151712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:27:05] local.INFO: Extracted packet for processing {"connection_id":151712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300488192001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786330333000,"timestamp_ms":1786330333000,"timestamp_seconds":1786330333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe995bf48"} 
[2026-08-10 08:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:27: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-08-10 08:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:27: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-08-10 08:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300488192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300488192001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:27:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300488192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":151712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:27:05] local.INFO: GPS data processed {"connection_id":151712,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:27:05] local.INFO: Acknowledgment sent {"connection_id":151712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:27:37] local.INFO: TCP Data received {"connection_id":151712,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:27:37] local.INFO: Processing buffer {"connection_id":151712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe995bf48012d34c20006aa3f08000800f32d..."} 
[2026-08-10 08:27:37] local.INFO: Packet analysis {"connection_id":151712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:27:37] local.INFO: Extracted packet for processing {"connection_id":151712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe995"} 
[2026-08-10 08:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300488192001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330333000,"timestamp_ms":1786330333000,"timestamp_seconds":1786330333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe995bf48"} 
[2026-08-10 08:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300488192001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300488192001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300488192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":151712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:27:37] local.INFO: GPS data processed {"connection_id":151712,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:27:37] local.INFO: Acknowledgment sent {"connection_id":151712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:27:59] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:27:59] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:27:59] local.INFO: IMEI packet received {"connection_id":152626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":152626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:28:04] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:28:04] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:28:04] local.INFO: IMEI packet received {"connection_id":152626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":152626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:28:05] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:28:05] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:28:05] local.INFO: Packet analysis {"connection_id":152626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:28:05] local.INFO: Extracted packet for processing {"connection_id":152626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300565248001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786330634000,"timestamp_ms":1786330634000,"timestamp_seconds":1786330634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99a5710"} 
[2026-08-10 08:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:28: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-08-10 08:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300565248001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300565248001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:28:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300565248001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":152626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:28:05] local.INFO: GPS data processed {"connection_id":152626,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:28:05] local.INFO: Acknowledgment sent {"connection_id":152626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:28:19] local.INFO: TCP Data received {"connection_id":151337,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:28:19] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:28:19] local.INFO: IMEI packet received {"connection_id":151337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":151337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:28:25] local.INFO: TCP Data received {"connection_id":151337,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:28:25] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:28:25] local.INFO: IMEI packet received {"connection_id":151337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":151337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:28:26] local.INFO: TCP Data received {"connection_id":151337,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99a33e8012d7c010005e4bdc0000e00212c..."} 
[2026-08-10 08:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99a33e8012d7c010005e4bdc0000e00212c..."} 
[2026-08-10 08:28:26] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99a33e8012d7c010005e4bdc0000e00212c..."} 
[2026-08-10 08:28:26] local.INFO: Packet analysis {"connection_id":151337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:28:26] local.INFO: Extracted packet for processing {"connection_id":151337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:28:26] local.INFO: GPS Element Parsed {"raw_longitude":763101440,"raw_latitude":98876864,"longitude_deg":76.310144,"latitude_deg":9.8876864,"altitude":14,"angle":33,"satellites":44,"speed":45,"hex_longitude":"2d7c0100","hex_latitude":"05e4bdc0","is_valid_coordinates":true} 
[2026-08-10 08:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300637952001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117144739077160960,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929652923967604736,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786330625000,"timestamp_ms":1786330625000,"timestamp_seconds":1786330625,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99a33e8"} 
[2026-08-10 08:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 08:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300637952001,"66":13363,"97":206,"85":15104,"24":45,"16":117144739077160960,"45":8929652923967604736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 08:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300637952001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:28:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:28:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 08:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117144739077160960,"km_value":117144739077160.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929652923967604736,"description":"Unknown IO ID 45"} 
[2026-08-10 08:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300637952001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8929652923967604736}} 
[2026-08-10 08:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":151337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:28:26] local.INFO: GPS data processed {"connection_id":151337,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:28:26] local.INFO: Acknowledgment sent {"connection_id":151337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:28:36] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:28:36] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:28:36] local.INFO: Packet analysis {"connection_id":152626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:28:36] local.INFO: Extracted packet for processing {"connection_id":152626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300565248001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786330634000,"timestamp_ms":1786330634000,"timestamp_seconds":1786330634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99a5710"} 
[2026-08-10 08:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300565248001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300565248001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:28:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300565248001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":152626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:28:36] local.INFO: GPS data processed {"connection_id":152626,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:28:36] local.INFO: Acknowledgment sent {"connection_id":152626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:28:59] local.INFO: TCP Data received {"connection_id":151337,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99b4170012d7c2c8005e569480004015727..."} 
[2026-08-10 08:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99b4170012d7c2c8005e569480004015727..."} 
[2026-08-10 08:28:59] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99b4170012d7c2c8005e569480004015727..."} 
[2026-08-10 08:28:59] local.INFO: Packet analysis {"connection_id":151337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99b"} 
[2026-08-10 08:28:59] local.INFO: Extracted packet for processing {"connection_id":151337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99b"} 
[2026-08-10 08:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763112576,"raw_latitude":98920776,"longitude_deg":76.3112576,"latitude_deg":9.8920776,"altitude":4,"angle":343,"satellites":39,"speed":17,"hex_longitude":"2d7c2c80","hex_latitude":"05e56948","is_valid_coordinates":true} 
[2026-08-10 08:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300657152001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117147131373944832,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947808059978514432,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786330694000,"timestamp_ms":1786330694000,"timestamp_seconds":1786330694,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99b4170"} 
[2026-08-10 08:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3919231160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147869988,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2596564993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":229,"raw_value":1974828475258644480,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2684431740,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718541,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3844216832,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":199,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.WARNING: Large IO value detected {"io_id":154,"raw_value":-5980779010278506491,"note":"Value kept but may cause issues"} 
[2026-08-10 08:28:59] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,39,87,24,241,157,16,48,159,45,64,95,4,37,10,66,90,30,192,3,36,6,128,1,240,62,227,233,229,113,205,15,188,72,35,239,49,2,160,5,9,23,199,154],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-08-10 08:28:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288621969796235264,"timestamp_seconds":288621969796235.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300657152001,"66":13200,"39":206,"87":13824,"24":17,"16":117147131373944832,"45":8947808059978514432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 08:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300657152001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:28:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 08:28:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117147131373944832,"km_value":117147131373944.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947808059978514432,"description":"Unknown IO ID 45"} 
[2026-08-10 08:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300657152001,"power":13200,"unknown_39":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8947808059978514432}} 
[2026-08-10 08:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":151337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:28:59] local.INFO: GPS data processed {"connection_id":151337,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:28:59] local.INFO: Acknowledgment sent {"connection_id":151337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:29:05] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:29:05] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:29:05] local.INFO: IMEI packet received {"connection_id":151715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":151715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:29:09] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:29:09] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:29:09] local.INFO: IMEI packet received {"connection_id":151715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":151715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:29:11] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:29:11] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:29:11] local.INFO: Packet analysis {"connection_id":151715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:29:11] local.INFO: Extracted packet for processing {"connection_id":151715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300565248001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786330634000,"timestamp_ms":1786330634000,"timestamp_seconds":1786330634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99a5710"} 
[2026-08-10 08:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300565248001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300565248001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:29:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:29:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300565248001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":151715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:29:11] local.INFO: GPS data processed {"connection_id":151715,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:29:11] local.INFO: Acknowledgment sent {"connection_id":151715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:29:14] local.INFO: TCP Data received {"connection_id":152627,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:29:14] local.INFO: Processing buffer {"connection_id":152627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:29:14] local.INFO: IMEI packet received {"connection_id":152627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":152627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:29:15] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:29:15] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:29:15] local.INFO: Packet analysis {"connection_id":151715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:29:15] local.INFO: Extracted packet for processing {"connection_id":151715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300565248001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786330634000,"timestamp_ms":1786330634000,"timestamp_seconds":1786330634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99a5710"} 
[2026-08-10 08:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300565248001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300565248001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300565248001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":151715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:29:15] local.INFO: GPS data processed {"connection_id":151715,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:29:15] local.INFO: Acknowledgment sent {"connection_id":151715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:29:17] local.INFO: TCP Data received {"connection_id":152627,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:29:17] local.INFO: Processing buffer {"connection_id":152627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:29:17] local.INFO: IMEI packet received {"connection_id":152627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":152627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:29:19] local.INFO: TCP Data received {"connection_id":152627,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:29:19] local.INFO: Processing buffer {"connection_id":152627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:29:19] local.INFO: IMEI packet received {"connection_id":152627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":152627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:29:20] local.INFO: TCP Data received {"connection_id":152627,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99b9378012d7c258005e585400004015423..."} 
[2026-08-10 08:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99b9378012d7c258005e585400004015423..."} 
[2026-08-10 08:29:20] local.INFO: Processing buffer {"connection_id":152627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99b9378012d7c258005e585400004015423..."} 
[2026-08-10 08:29:20] local.INFO: Packet analysis {"connection_id":152627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99b"} 
[2026-08-10 08:29:20] local.INFO: Extracted packet for processing {"connection_id":152627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99b"} 
[2026-08-10 08:29:20] local.INFO: GPS Element Parsed {"raw_longitude":763110784,"raw_latitude":98927936,"longitude_deg":76.3110784,"latitude_deg":9.8927936,"altitude":4,"angle":340,"satellites":35,"speed":30,"hex_longitude":"2d7c2580","hex_latitude":"05e58540","is_valid_coordinates":true} 
[2026-08-10 08:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300657664001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117147505036099584,"note":"Value kept but may cause issues"} 
[2026-08-10 08:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947667322490406912,"note":"Value kept but may cause issues"} 
[2026-08-10 08:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786330715000,"timestamp_ms":1786330715000,"timestamp_seconds":1786330715,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99b9378"} 
[2026-08-10 08:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-10 08:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300657664001,"66":13472,"39":206,"87":13824,"24":30,"16":117147505036099584,"45":8947667322490406912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 08:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300657664001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:29:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 08:29:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117147505036099584,"km_value":117147505036099.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947667322490406912,"description":"Unknown IO ID 45"} 
[2026-08-10 08:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300657664001,"power":13472,"unknown_39":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8947667322490406912}} 
[2026-08-10 08:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":152627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:29:20] local.INFO: GPS data processed {"connection_id":152627,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:29:20] local.INFO: Acknowledgment sent {"connection_id":152627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:29:52] local.INFO: TCP Data received {"connection_id":152627,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99bbe70012d7c178005e5a6000005014e23..."} 
[2026-08-10 08:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99bbe70012d7c178005e5a6000005014e23..."} 
[2026-08-10 08:29:52] local.INFO: Processing buffer {"connection_id":152627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99bbe70012d7c178005e5a6000005014e23..."} 
[2026-08-10 08:29:52] local.INFO: Packet analysis {"connection_id":152627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99b"} 
[2026-08-10 08:29:52] local.INFO: Extracted packet for processing {"connection_id":152627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99b"} 
[2026-08-10 08:29:52] local.INFO: GPS Element Parsed {"raw_longitude":763107200,"raw_latitude":98936320,"longitude_deg":76.31072,"latitude_deg":9.893632,"altitude":5,"angle":334,"satellites":35,"speed":30,"hex_longitude":"2d7c1780","hex_latitude":"05e5a600","is_valid_coordinates":true} 
[2026-08-10 08:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300663040001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117147947417731072,"note":"Value kept but may cause issues"} 
[2026-08-10 08:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945696997655265280,"note":"Value kept but may cause issues"} 
[2026-08-10 08:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786330726000,"timestamp_ms":1786330726000,"timestamp_seconds":1786330726,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99bbe70"} 
[2026-08-10 08:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 08:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300663040001,"66":13526,"39":206,"87":13824,"24":30,"16":117147947417731072,"45":8945696997655265280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 08:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300663040001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:29:52] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 08:29:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117147947417731072,"km_value":117147947417731.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945696997655265280,"description":"Unknown IO ID 45"} 
[2026-08-10 08:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300663040001,"power":13526,"unknown_39":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8945696997655265280}} 
[2026-08-10 08:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":152627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:29:52] local.INFO: GPS data processed {"connection_id":152627,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:29:52] local.INFO: Acknowledgment sent {"connection_id":152627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:29:59] local.INFO: TCP Data received {"connection_id":151717,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:29:59] local.INFO: Processing buffer {"connection_id":151717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:29:59] local.INFO: IMEI packet received {"connection_id":151717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":151717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:30:04] local.INFO: TCP Data received {"connection_id":151717,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:30:04] local.INFO: Processing buffer {"connection_id":151717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:30:04] local.INFO: IMEI packet received {"connection_id":151717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":151717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:30:05] local.INFO: TCP Data received {"connection_id":151717,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:30:05] local.INFO: Processing buffer {"connection_id":151717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:30:05] local.INFO: Packet analysis {"connection_id":151717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:30:05] local.INFO: Extracted packet for processing {"connection_id":151717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300565248001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786330634000,"timestamp_ms":1786330634000,"timestamp_seconds":1786330634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99a5710"} 
[2026-08-10 08:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:30: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-08-10 08:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300565248001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300565248001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:30:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300565248001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":151717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:30:05] local.INFO: GPS data processed {"connection_id":151717,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:30:05] local.INFO: Acknowledgment sent {"connection_id":151717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:30:19] local.INFO: TCP Data received {"connection_id":151338,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:30:19] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:30:19] local.INFO: IMEI packet received {"connection_id":151338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":151338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:30:24] local.INFO: TCP Data received {"connection_id":151338,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:30:24] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:30:24] local.INFO: IMEI packet received {"connection_id":151338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":151338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:30:25] local.INFO: TCP Data received {"connection_id":151338,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99be968012d7c074005e5c6980007014b23..."} 
[2026-08-10 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99be968012d7c074005e5c6980007014b23..."} 
[2026-08-10 08:30:25] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99be968012d7c074005e5c6980007014b23..."} 
[2026-08-10 08:30:25] local.INFO: Packet analysis {"connection_id":151338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99b"} 
[2026-08-10 08:30:25] local.INFO: Extracted packet for processing {"connection_id":151338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99b"} 
[2026-08-10 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763103040,"raw_latitude":98944664,"longitude_deg":76.310304,"latitude_deg":9.8944664,"altitude":7,"angle":331,"satellites":35,"speed":33,"hex_longitude":"2d7c0740","hex_latitude":"05e5c698","is_valid_coordinates":true} 
[2026-08-10 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300665856001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117148398389297152,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941756347983462400,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786330737000,"timestamp_ms":1786330737000,"timestamp_seconds":1786330737,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99be968"} 
[2026-08-10 08:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 08:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300665856001,"66":13526,"39":206,"87":13824,"24":33,"16":117148398389297152,"45":8941756347983462400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 08:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300665856001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:30:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 08:30:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117148398389297152,"km_value":117148398389297.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941756347983462400,"description":"Unknown IO ID 45"} 
[2026-08-10 08:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300665856001,"power":13526,"unknown_39":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8941756347983462400}} 
[2026-08-10 08:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":151338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:30:25] local.INFO: GPS data processed {"connection_id":151338,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:30:25] local.INFO: Acknowledgment sent {"connection_id":151338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:30:26] local.INFO: TCP Data received {"connection_id":151338,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99bf908012d7c000005e5d1080007013f23..."} 
[2026-08-10 08:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99bf908012d7c000005e5d1080007013f23..."} 
[2026-08-10 08:30:26] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99bf908012d7c000005e5d1080007013f23..."} 
[2026-08-10 08:30:26] local.INFO: Packet analysis {"connection_id":151338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99b"} 
[2026-08-10 08:30:26] local.INFO: Extracted packet for processing {"connection_id":151338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99b"} 
[2026-08-10 08:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763101184,"raw_latitude":98947336,"longitude_deg":76.3101184,"latitude_deg":9.8947336,"altitude":7,"angle":319,"satellites":35,"speed":32,"hex_longitude":"2d7c0000","hex_latitude":"05e5d108","is_valid_coordinates":true} 
[2026-08-10 08:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300668672001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117148557303087104,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937182379614050304,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786330741000,"timestamp_ms":1786330741000,"timestamp_seconds":1786330741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99bf908"} 
[2026-08-10 08:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 08:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300668672001,"66":13580,"39":206,"87":13824,"24":32,"16":117148557303087104,"45":8937182379614050304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 08:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300668672001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:30:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 08:30:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117148557303087104,"km_value":117148557303087.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937182379614050304,"description":"Unknown IO ID 45"} 
[2026-08-10 08:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300668672001,"power":13580,"unknown_39":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8937182379614050304}} 
[2026-08-10 08:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":151338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:30:26] local.INFO: GPS data processed {"connection_id":151338,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:30:26] local.INFO: Acknowledgment sent {"connection_id":151338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:30:37] local.INFO: TCP Data received {"connection_id":151717,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:30:37] local.INFO: Processing buffer {"connection_id":151717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:30:37] local.INFO: Packet analysis {"connection_id":151717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:30:37] local.INFO: Extracted packet for processing {"connection_id":151717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300565248001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330634000,"timestamp_ms":1786330634000,"timestamp_seconds":1786330634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99a5710"} 
[2026-08-10 08:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:30: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-08-10 08:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300565248001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300565248001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300565248001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":151717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:30:37] local.INFO: GPS data processed {"connection_id":151717,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:30:37] local.INFO: Acknowledgment sent {"connection_id":151717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:30:57] local.INFO: TCP Data received {"connection_id":151338,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99d9330012d7b954005e6c1f80009000a24..."} 
[2026-08-10 08:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99d9330012d7b954005e6c1f80009000a24..."} 
[2026-08-10 08:30:57] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99d9330012d7b954005e6c1f80009000a24..."} 
[2026-08-10 08:30:57] local.INFO: Packet analysis {"connection_id":151338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:30:57] local.INFO: Extracted packet for processing {"connection_id":151338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763073856,"raw_latitude":99009016,"longitude_deg":76.3073856,"latitude_deg":9.9009016,"altitude":9,"angle":10,"satellites":36,"speed":34,"hex_longitude":"2d7b9540","hex_latitude":"05e6c1f8","is_valid_coordinates":true} 
[2026-08-10 08:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300696064001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117151915967512576,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904883126052528128,"note":"Value kept but may cause issues"} 
[2026-08-10 08:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786330846000,"timestamp_ms":1786330846000,"timestamp_seconds":1786330846,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99d9330"} 
[2026-08-10 08:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 08:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300696064001,"66":13189,"95":206,"87":13824,"24":34,"16":117151915967512576,"45":8904883126052528128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-10 08:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300696064001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:30:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 08:30:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117151915967512576,"km_value":117151915967512.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904883126052528128,"description":"Unknown IO ID 45"} 
[2026-08-10 08:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300696064001,"power":13189,"unknown_95":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8904883126052528128}} 
[2026-08-10 08:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":151338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:30:57] local.INFO: GPS data processed {"connection_id":151338,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:30:57] local.INFO: Acknowledgment sent {"connection_id":151338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:31:00] local.INFO: TCP Data received {"connection_id":151718,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:31:00] local.INFO: Processing buffer {"connection_id":151718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:31:00] local.INFO: IMEI packet received {"connection_id":151718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":151718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:31:04] local.INFO: TCP Data received {"connection_id":151718,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:31:04] local.INFO: Processing buffer {"connection_id":151718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:31:04] local.INFO: IMEI packet received {"connection_id":151718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":151718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:31:06] local.INFO: TCP Data received {"connection_id":151718,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:31:06] local.INFO: Processing buffer {"connection_id":151718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:31:06] local.INFO: Packet analysis {"connection_id":151718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:31:06] local.INFO: Extracted packet for processing {"connection_id":151718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300565248001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786330634000,"timestamp_ms":1786330634000,"timestamp_seconds":1786330634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99a5710"} 
[2026-08-10 08:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300565248001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300565248001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300565248001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":151718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:31:06] local.INFO: GPS data processed {"connection_id":151718,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:31:06] local.INFO: Acknowledgment sent {"connection_id":151718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:31:10] local.INFO: TCP Data received {"connection_id":152628,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:31:10] local.INFO: Processing buffer {"connection_id":152628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:31:10] local.INFO: IMEI packet received {"connection_id":152628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":152628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:31:14] local.INFO: TCP Data received {"connection_id":152628,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:31:14] local.INFO: Processing buffer {"connection_id":152628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:31:14] local.INFO: IMEI packet received {"connection_id":152628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":152628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:31:16] local.INFO: TCP Data received {"connection_id":152628,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:31:16] local.INFO: Processing buffer {"connection_id":152628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:31:16] local.INFO: IMEI packet received {"connection_id":152628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":152628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:31:17] local.INFO: TCP Data received {"connection_id":152628,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99daaa0012d7b980005e6d5500009016523..."} 
[2026-08-10 08:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99daaa0012d7b980005e6d5500009016523..."} 
[2026-08-10 08:31:17] local.INFO: Processing buffer {"connection_id":152628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99daaa0012d7b980005e6d5500009016523..."} 
[2026-08-10 08:31:17] local.INFO: Packet analysis {"connection_id":152628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:31:17] local.INFO: Extracted packet for processing {"connection_id":152628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:31:17] local.INFO: GPS Element Parsed {"raw_longitude":763074560,"raw_latitude":99013968,"longitude_deg":76.307456,"latitude_deg":9.9013968,"altitude":9,"angle":357,"satellites":35,"speed":30,"hex_longitude":"2d7b9800","hex_latitude":"05e6d550","is_valid_coordinates":true} 
[2026-08-10 08:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300696576001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117152156485681152,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905094232285509632,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786330852000,"timestamp_ms":1786330852000,"timestamp_seconds":1786330852,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99daaa0"} 
[2026-08-10 08:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 08:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300696576001,"66":13319,"95":206,"87":13824,"24":30,"16":117152156485681152,"45":8905094232285509632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-10 08:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300696576001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:31:17] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 08:31:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117152156485681152,"km_value":117152156485681.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905094232285509632,"description":"Unknown IO ID 45"} 
[2026-08-10 08:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300696576001,"power":13319,"unknown_95":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8905094232285509632}} 
[2026-08-10 08:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":152628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:31:17] local.INFO: GPS data processed {"connection_id":152628,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:31:17] local.INFO: Acknowledgment sent {"connection_id":152628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:31:25] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:31:25] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:31:25] local.INFO: IMEI packet received {"connection_id":151719,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":151719,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:31:27] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:31:27] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:31:27] local.INFO: IMEI packet received {"connection_id":151719,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":151719,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:31:29] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:31:29] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:31:29] local.INFO: IMEI packet received {"connection_id":151719,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":151719,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:31:30] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99d1a18012d0cb54007048b80001b014d20..."} 
[2026-08-10 08:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99d1a18012d0cb54007048b80001b014d20..."} 
[2026-08-10 08:31:30] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99d1a18012d0cb54007048b80001b014d20..."} 
[2026-08-10 08:31:30] local.INFO: Packet analysis {"connection_id":151719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:31:30] local.INFO: Extracted packet for processing {"connection_id":151719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:31:30] local.INFO: GPS Element Parsed {"raw_longitude":755807552,"raw_latitude":117738368,"longitude_deg":75.5807552,"latitude_deg":11.7738368,"altitude":27,"angle":333,"satellites":32,"speed":37,"hex_longitude":"2d0cb540","hex_latitude":"07048b80","is_valid_coordinates":true} 
[2026-08-10 08:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300687872001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27238815735218176,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916764029286924288,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 08:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786330815000,"timestamp_ms":1786330815000,"timestamp_seconds":1786330815,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99d1a18"} 
[2026-08-10 08:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-10 08:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151719,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151719,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300687872001,"66":14515,"16":27238815735218176,"94":11008,"24":37,"45":916764029286924288},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 08:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300687872001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27238815735218176,"km_value":27238815735218.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:31:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":916764029286924288,"description":"Unknown IO ID 45"} 
[2026-08-10 08:31:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457300687872001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":37,"unknown_45":916764029286924288}} 
[2026-08-10 08:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":151719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618549,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:31:30] local.INFO: GPS data processed {"connection_id":151719,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:31:30] local.INFO: Acknowledgment sent {"connection_id":151719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:31:35] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99d3d40012d0ca1c00704a890001d01471f..."} 
[2026-08-10 08:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99d3d40012d0ca1c00704a890001d01471f..."} 
[2026-08-10 08:31:35] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99d3d40012d0ca1c00704a890001d01471f..."} 
[2026-08-10 08:31:35] local.INFO: Packet analysis {"connection_id":151719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:31:35] local.INFO: Extracted packet for processing {"connection_id":151719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:31:35] local.INFO: GPS Element Parsed {"raw_longitude":755802560,"raw_latitude":117745808,"longitude_deg":75.580256,"latitude_deg":11.7745808,"altitude":29,"angle":327,"satellites":31,"speed":40,"hex_longitude":"2d0ca1c0","hex_latitude":"0704a890","is_valid_coordinates":true} 
[2026-08-10 08:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300688640001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27239249526915072,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915708498124963840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 08:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786330824000,"timestamp_ms":1786330824000,"timestamp_seconds":1786330824,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99d3d40"} 
[2026-08-10 08:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 08:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151719,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151719,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300688640001,"66":13820,"16":27239249526915072,"94":11008,"24":40,"45":915708498124963840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 08:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300688640001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27239249526915072,"km_value":27239249526915.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:31:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":915708498124963840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:31:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457300688640001,"power":13820,"odometer":null,"unknown_94":11008,"ignition":40,"unknown_45":915708498124963840}} 
[2026-08-10 08:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":151719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618550,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:31:35] local.INFO: GPS data processed {"connection_id":151719,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:31:35] local.INFO: Acknowledgment sent {"connection_id":151719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:31:37] local.INFO: TCP Data received {"connection_id":151718,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:31:37] local.INFO: Processing buffer {"connection_id":151718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:31:37] local.INFO: Packet analysis {"connection_id":151718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:31:37] local.INFO: Extracted packet for processing {"connection_id":151718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300565248001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330634000,"timestamp_ms":1786330634000,"timestamp_seconds":1786330634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99a5710"} 
[2026-08-10 08:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300565248001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300565248001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300565248001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":151718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:31:37] local.INFO: GPS data processed {"connection_id":151718,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:31:37] local.INFO: Acknowledgment sent {"connection_id":151718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:31:49] local.INFO: TCP Data received {"connection_id":152628,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99db658012d7b96c005e6dda80009015922..."} 
[2026-08-10 08:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99db658012d7b96c005e6dda80009015922..."} 
[2026-08-10 08:31:49] local.INFO: Processing buffer {"connection_id":152628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99db658012d7b96c005e6dda80009015922..."} 
[2026-08-10 08:31:49] local.INFO: Packet analysis {"connection_id":152628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:31:49] local.INFO: Extracted packet for processing {"connection_id":152628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:31:49] local.INFO: GPS Element Parsed {"raw_longitude":763074240,"raw_latitude":99016104,"longitude_deg":76.307424,"latitude_deg":9.9016104,"altitude":9,"angle":345,"satellites":34,"speed":28,"hex_longitude":"2d7b96c0","hex_latitude":"05e6dda8","is_valid_coordinates":true} 
[2026-08-10 08:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300698112001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117152263859863552,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905868288472731648,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786330855000,"timestamp_ms":1786330855000,"timestamp_seconds":1786330855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99db658"} 
[2026-08-10 08:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3919384160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728653,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2638292993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":230,"raw_value":3492541545407521280,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3221612141,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3863943168,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":192,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.WARNING: Large IO value detected {"io_id":156,"raw_value":-4875145301766635515,"note":"Value kept but may cause issues"} 
[2026-08-10 08:31:49] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,95,87,24,241,157,16,53,159,147,45,64,193,9,36,10,66,139,128,187,52,104,1,240,84,227,233,230,4,113,205,32,57,166,40,38,239,2,160,5,11,26,192,156],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-08-10 08:31:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648911022318288896,"timestamp_seconds":648911022318288.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300698112001,"66":13472,"96":206,"87":13824,"24":28,"16":117152263859863552,"45":8905868288472731648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 08:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300698112001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:31:49] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:31:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117152263859863552,"km_value":117152263859863.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905868288472731648,"description":"Unknown IO ID 45"} 
[2026-08-10 08:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300698112001,"power":13472,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8905868288472731648}} 
[2026-08-10 08:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":152628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:31:49] local.INFO: GPS data processed {"connection_id":152628,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:31:49] local.INFO: Acknowledgment sent {"connection_id":152628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:31:59] local.INFO: TCP Data received {"connection_id":154086,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:31:59] local.INFO: Processing buffer {"connection_id":154086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:31:59] local.INFO: IMEI packet received {"connection_id":154086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":154086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:32:04] local.INFO: TCP Data received {"connection_id":154086,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:32:04] local.INFO: Processing buffer {"connection_id":154086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:32:04] local.INFO: IMEI packet received {"connection_id":154086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":154086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:32:06] local.INFO: TCP Data received {"connection_id":154086,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:32:06] local.INFO: Processing buffer {"connection_id":154086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:32:06] local.INFO: Packet analysis {"connection_id":154086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:32:06] local.INFO: Extracted packet for processing {"connection_id":154086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300565248001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786330634000,"timestamp_ms":1786330634000,"timestamp_seconds":1786330634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99a5710"} 
[2026-08-10 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-08-10 08:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300565248001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300565248001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300565248001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":154086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:32:06] local.INFO: GPS data processed {"connection_id":154086,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:32:06] local.INFO: Acknowledgment sent {"connection_id":154086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:32:09] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99d8f48012d0c91800704c600001d014d21..."} 
[2026-08-10 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99d8f48012d0c91800704c600001d014d21..."} 
[2026-08-10 08:32:09] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99d8f48012d0c91800704c600001d014d21..."} 
[2026-08-10 08:32:09] local.INFO: Packet analysis {"connection_id":151719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:32:09] local.INFO: Extracted packet for processing {"connection_id":151719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:32:09] local.INFO: GPS Element Parsed {"raw_longitude":755798400,"raw_latitude":117753344,"longitude_deg":75.57984,"latitude_deg":11.7753344,"altitude":29,"angle":333,"satellites":33,"speed":0,"hex_longitude":"2d0c9180","hex_latitude":"0704c600","is_valid_coordinates":true} 
[2026-08-10 08:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300690944001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27239666138742784,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910219736081010688,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786330845000,"timestamp_ms":1786330845000,"timestamp_seconds":1786330845,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99d8f48"} 
[2026-08-10 08:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:32: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-08-10 08:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-10 08:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151719,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151719,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300690944001,"66":14428,"95":206,"94":10240,"24":0,"16":27239666138742784,"45":910219736081010688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 08:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300690944001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:32:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 08:32:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27239666138742784,"km_value":27239666138742.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":910219736081010688,"description":"Unknown IO ID 45"} 
[2026-08-10 08:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300690944001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":910219736081010688}} 
[2026-08-10 08:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":151719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618554,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:32:09] local.INFO: GPS data processed {"connection_id":151719,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:32:09] local.INFO: Acknowledgment sent {"connection_id":151719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:32:16] local.INFO: TCP Data received {"connection_id":151720,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:32:16] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:32:16] local.INFO: IMEI packet received {"connection_id":151720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":151720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:32:20] local.INFO: TCP Data received {"connection_id":151720,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:32:20] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:32:20] local.INFO: IMEI packet received {"connection_id":151720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":151720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:32:20] local.INFO: TCP Data received {"connection_id":151720,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99dc9e0012d7b930005e6ea18000a014d21..."} 
[2026-08-10 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99dc9e0012d7b930005e6ea18000a014d21..."} 
[2026-08-10 08:32:20] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99dc9e0012d7b930005e6ea18000a014d21..."} 
[2026-08-10 08:32:20] local.INFO: Packet analysis {"connection_id":151720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:32:20] local.INFO: Extracted packet for processing {"connection_id":151720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763073280,"raw_latitude":99019288,"longitude_deg":76.307328,"latitude_deg":9.9019288,"altitude":10,"angle":333,"satellites":33,"speed":22,"hex_longitude":"2d7b9300","hex_latitude":"05e6ea18","is_valid_coordinates":true} 
[2026-08-10 08:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300698880001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117152422773653504,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905516444752390144,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786330860000,"timestamp_ms":1786330860000,"timestamp_seconds":1786330860,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99dc9e0"} 
[2026-08-10 08:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 08:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300698880001,"66":13515,"96":206,"87":13824,"24":22,"16":117152422773653504,"45":8905516444752390144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 08:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300698880001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:32:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:32:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117152422773653504,"km_value":117152422773653.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905516444752390144,"description":"Unknown IO ID 45"} 
[2026-08-10 08:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300698880001,"power":13515,"unknown_96":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8905516444752390144}} 
[2026-08-10 08:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":151720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:32:20] local.INFO: GPS data processed {"connection_id":151720,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:32:20] local.INFO: Acknowledgment sent {"connection_id":151720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:32:23] local.INFO: TCP Data received {"connection_id":154087,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:32:23] local.INFO: Processing buffer {"connection_id":154087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:32:23] local.INFO: IMEI packet received {"connection_id":154087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":154087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:32:24] local.INFO: TCP Data received {"connection_id":154087,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:32:24] local.INFO: Processing buffer {"connection_id":154087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:32:24] local.INFO: IMEI packet received {"connection_id":154087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":154087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:32:25] local.INFO: TCP Data received {"connection_id":154087,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:32:25] local.INFO: Processing buffer {"connection_id":154087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:32:25] local.INFO: IMEI packet received {"connection_id":154087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":154087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:32:25] local.INFO: TCP Data received {"connection_id":151720,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99ded08012d7b888005e702c80009015c23..."} 
[2026-08-10 08:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99ded08012d7b888005e702c80009015c23..."} 
[2026-08-10 08:32:25] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99ded08012d7b888005e702c80009015c23..."} 
[2026-08-10 08:32:25] local.INFO: Packet analysis {"connection_id":151720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:32:25] local.INFO: Extracted packet for processing {"connection_id":151720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99d"} 
[2026-08-10 08:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":99025608,"longitude_deg":76.3070592,"latitude_deg":9.9025608,"altitude":9,"angle":348,"satellites":35,"speed":28,"hex_longitude":"2d7b8880","hex_latitude":"05e702c8","is_valid_coordinates":true} 
[2026-08-10 08:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300700160001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117152757781102592,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904460913590540288,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786330869000,"timestamp_ms":1786330869000,"timestamp_seconds":1786330869,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99ded08"} 
[2026-08-10 08:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 08:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300700160001,"66":13374,"96":206,"87":13824,"24":28,"16":117152757781102592,"45":8904460913590540288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 08:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300700160001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:32:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:32:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117152757781102592,"km_value":117152757781102.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904460913590540288,"description":"Unknown IO ID 45"} 
[2026-08-10 08:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300700160001,"power":13374,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8904460913590540288}} 
[2026-08-10 08:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":151720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:32:25] local.INFO: GPS data processed {"connection_id":151720,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:32:25] local.INFO: Acknowledgment sent {"connection_id":151720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:32:26] local.INFO: TCP Data received {"connection_id":154087,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:32:26] local.INFO: Processing buffer {"connection_id":154087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:32:26] local.INFO: IMEI packet received {"connection_id":154087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":154087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:32:37] local.INFO: TCP Data received {"connection_id":154086,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:32:37] local.INFO: Processing buffer {"connection_id":154086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99a5710012d34c20006aa3f08000700f32c..."} 
[2026-08-10 08:32:37] local.INFO: Packet analysis {"connection_id":154086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:32:37] local.INFO: Extracted packet for processing {"connection_id":154086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99a"} 
[2026-08-10 08:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300565248001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330634000,"timestamp_ms":1786330634000,"timestamp_seconds":1786330634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99a5710"} 
[2026-08-10 08:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300565248001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300565248001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300565248001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":154086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:32:37] local.INFO: GPS data processed {"connection_id":154086,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:32:37] local.INFO: Acknowledgment sent {"connection_id":154086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:32:56] local.INFO: TCP Data received {"connection_id":151720,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99e0478012d7b858005e710700009014e23..."} 
[2026-08-10 08:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99e0478012d7b858005e710700009014e23..."} 
[2026-08-10 08:32:56] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99e0478012d7b858005e710700009014e23..."} 
[2026-08-10 08:32:56] local.INFO: Packet analysis {"connection_id":151720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:32:56] local.INFO: Extracted packet for processing {"connection_id":151720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":99029104,"longitude_deg":76.3069824,"latitude_deg":9.9029104,"altitude":9,"angle":334,"satellites":35,"speed":20,"hex_longitude":"2d7b8580","hex_latitude":"05e71070","is_valid_coordinates":true} 
[2026-08-10 08:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300702464001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117152929579794432,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426336696320,"note":"Value kept but may cause issues"} 
[2026-08-10 08:32: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-08-10 08:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786330875000,"timestamp_ms":1786330875000,"timestamp_seconds":1786330875,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99e0478"} 
[2026-08-10 08:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 08:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300702464001,"66":13276,"96":206,"87":13824,"24":20,"16":117152929579794432,"45":8901505426336696320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 08:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300702464001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:32:56] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:32:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117152929579794432,"km_value":117152929579794.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426336696320,"description":"Unknown IO ID 45"} 
[2026-08-10 08:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300702464001,"power":13276,"unknown_96":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8901505426336696320}} 
[2026-08-10 08:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":151720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:32:56] local.INFO: GPS data processed {"connection_id":151720,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:32:56] local.INFO: Acknowledgment sent {"connection_id":151720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:32:59] local.INFO: TCP Data received {"connection_id":152629,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:32:59] local.INFO: Processing buffer {"connection_id":152629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:32:59] local.INFO: IMEI packet received {"connection_id":152629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":152629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:33:04] local.INFO: TCP Data received {"connection_id":152629,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:33:04] local.INFO: Processing buffer {"connection_id":152629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:33:04] local.INFO: IMEI packet received {"connection_id":152629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":152629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:33:05] local.INFO: TCP Data received {"connection_id":152629,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:33:05] local.INFO: Processing buffer {"connection_id":152629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:33:05] local.INFO: Packet analysis {"connection_id":152629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:33:05] local.INFO: Extracted packet for processing {"connection_id":152629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:33:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300642304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786330935000,"timestamp_ms":1786330935000,"timestamp_seconds":1786330935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99eeed8"} 
[2026-08-10 08:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:33: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-08-10 08:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300642304001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300642304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:33:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:33:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300642304001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":152629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:33:05] local.INFO: GPS data processed {"connection_id":152629,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:33:05] local.INFO: Acknowledgment sent {"connection_id":152629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:33:13] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:33:13] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:33:13] local.INFO: IMEI packet received {"connection_id":151339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":151339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:33:14] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:33:14] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:33:14] local.INFO: IMEI packet received {"connection_id":151339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":151339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:33:19] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:33:19] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:33:19] local.INFO: IMEI packet received {"connection_id":151339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":151339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:33:20] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99e0860012d7b844005e712000009013f23..."} 
[2026-08-10 08:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99e0860012d7b844005e712000009013f23..."} 
[2026-08-10 08:33:20] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99e0860012d7b844005e712000009013f23..."} 
[2026-08-10 08:33:20] local.INFO: Packet analysis {"connection_id":151339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:33:20] local.INFO: Extracted packet for processing {"connection_id":151339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:33:20] local.INFO: GPS Element Parsed {"raw_longitude":763069504,"raw_latitude":99029504,"longitude_deg":76.3069504,"latitude_deg":9.9029504,"altitude":9,"angle":319,"satellites":35,"speed":19,"hex_longitude":"2d7b8440","hex_latitude":"05e71200","is_valid_coordinates":true} 
[2026-08-10 08:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300704000001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117152955349598208,"note":"Value kept but may cause issues"} 
[2026-08-10 08:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001407459328,"note":"Value kept but may cause issues"} 
[2026-08-10 08:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786330876000,"timestamp_ms":1786330876000,"timestamp_seconds":1786330876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99e0860"} 
[2026-08-10 08:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 08:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300704000001,"66":13276,"96":206,"87":13824,"24":19,"16":117152955349598208,"45":8900661001407459328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 08:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300704000001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:33:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:33:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117152955349598208,"km_value":117152955349598.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001407459328,"description":"Unknown IO ID 45"} 
[2026-08-10 08:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300704000001,"power":13276,"unknown_96":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8900661001407459328}} 
[2026-08-10 08:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":151339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:33:20] local.INFO: GPS data processed {"connection_id":151339,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:33:20] local.INFO: Acknowledgment sent {"connection_id":151339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:33:37] local.INFO: TCP Data received {"connection_id":152629,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:33:37] local.INFO: Processing buffer {"connection_id":152629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:33:37] local.INFO: Packet analysis {"connection_id":152629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:33:37] local.INFO: Extracted packet for processing {"connection_id":152629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300642304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330935000,"timestamp_ms":1786330935000,"timestamp_seconds":1786330935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99eeed8"} 
[2026-08-10 08:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300642304001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300642304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300642304001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":152629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:33:37] local.INFO: GPS data processed {"connection_id":152629,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:33:37] local.INFO: Acknowledgment sent {"connection_id":152629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:33:51] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99e1be8012d7b7e8005e719080007015223..."} 
[2026-08-10 08:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99e1be8012d7b7e8005e719080007015223..."} 
[2026-08-10 08:33:51] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99e1be8012d7b7e8005e719080007015223..."} 
[2026-08-10 08:33:51] local.INFO: Packet analysis {"connection_id":151339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:33:51] local.INFO: Extracted packet for processing {"connection_id":151339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:33:51] local.INFO: GPS Element Parsed {"raw_longitude":763068032,"raw_latitude":99031304,"longitude_deg":76.3068032,"latitude_deg":9.9031304,"altitude":7,"angle":338,"satellites":35,"speed":21,"hex_longitude":"2d7b7e80","hex_latitude":"05e71908","is_valid_coordinates":true} 
[2026-08-10 08:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300704256001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117153071313715200,"note":"Value kept but may cause issues"} 
[2026-08-10 08:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157686673408,"note":"Value kept but may cause issues"} 
[2026-08-10 08:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786330881000,"timestamp_ms":1786330881000,"timestamp_seconds":1786330881,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99e1be8"} 
[2026-08-10 08:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:33: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-08-10 08:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 08:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300704256001,"66":13406,"96":206,"87":13824,"24":21,"16":117153071313715200,"45":8900309157686673408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 08:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300704256001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:33:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:33:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117153071313715200,"km_value":117153071313715.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157686673408,"description":"Unknown IO ID 45"} 
[2026-08-10 08:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300704256001,"power":13406,"unknown_96":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8900309157686673408}} 
[2026-08-10 08:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":151339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:33:51] local.INFO: GPS data processed {"connection_id":151339,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:33:51] local.INFO: Acknowledgment sent {"connection_id":151339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:34:04] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:34:04] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:34:04] local.INFO: IMEI packet received {"connection_id":151721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":151721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:34:09] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:34:09] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:34:09] local.INFO: IMEI packet received {"connection_id":151721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":151721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:34:12] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:34:12] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:34:12] local.INFO: Packet analysis {"connection_id":151721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:34:12] local.INFO: Extracted packet for processing {"connection_id":151721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:34:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300642304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786330935000,"timestamp_ms":1786330935000,"timestamp_seconds":1786330935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99eeed8"} 
[2026-08-10 08:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:34: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-08-10 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300642304001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300642304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:34:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:34:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300642304001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":151721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:34:12] local.INFO: GPS data processed {"connection_id":151721,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:34:12] local.INFO: Acknowledgment sent {"connection_id":151721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:34:14] local.INFO: TCP Data received {"connection_id":151340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:34:14] local.INFO: Processing buffer {"connection_id":151340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:34:14] local.INFO: IMEI packet received {"connection_id":151340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":151340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:34:15] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:34:15] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:34:15] local.INFO: Packet analysis {"connection_id":151721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:34:15] local.INFO: Extracted packet for processing {"connection_id":151721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300642304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786330935000,"timestamp_ms":1786330935000,"timestamp_seconds":1786330935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99eeed8"} 
[2026-08-10 08:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:34: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-08-10 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300642304001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300642304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300642304001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":151721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:34:15] local.INFO: GPS data processed {"connection_id":151721,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:34:15] local.INFO: Acknowledgment sent {"connection_id":151721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:34:22] local.INFO: TCP Data received {"connection_id":151340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:34:22] local.INFO: Processing buffer {"connection_id":151340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:34:22] local.INFO: IMEI packet received {"connection_id":151340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":151340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:34:23] local.INFO: TCP Data received {"connection_id":151340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99e6df0012d7b75c005e734680006015b23..."} 
[2026-08-10 08:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99e6df0012d7b75c005e734680006015b23..."} 
[2026-08-10 08:34:23] local.INFO: Processing buffer {"connection_id":151340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99e6df0012d7b75c005e734680006015b23..."} 
[2026-08-10 08:34:23] local.INFO: Packet analysis {"connection_id":151340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:34:23] local.INFO: Extracted packet for processing {"connection_id":151340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:34:23] local.INFO: GPS Element Parsed {"raw_longitude":763065792,"raw_latitude":99038312,"longitude_deg":76.3065792,"latitude_deg":9.9038312,"altitude":6,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2d7b75c0","hex_latitude":"05e73468","is_valid_coordinates":true} 
[2026-08-10 08:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300705536001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117153436385935360,"note":"Value kept but may cause issues"} 
[2026-08-10 08:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898690676571047936,"note":"Value kept but may cause issues"} 
[2026-08-10 08:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786330902000,"timestamp_ms":1786330902000,"timestamp_seconds":1786330902,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99e6df0"} 
[2026-08-10 08:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 08:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300705536001,"66":12613,"96":206,"87":13824,"24":0,"16":117153436385935360,"45":8898690676571047936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 08:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300705536001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:34:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 08:34:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117153436385935360,"km_value":117153436385935.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898690676571047936,"description":"Unknown IO ID 45"} 
[2026-08-10 08:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300705536001,"power":12613,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8898690676571047936}} 
[2026-08-10 08:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":151340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:34:23] local.INFO: GPS data processed {"connection_id":151340,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:34:23] local.INFO: Acknowledgment sent {"connection_id":151340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:34:54] local.INFO: TCP Data received {"connection_id":151340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a10218012d7b5c8005e84d880009000623..."} 
[2026-08-10 08:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a10218012d7b5c8005e84d880009000623..."} 
[2026-08-10 08:34:54] local.INFO: Processing buffer {"connection_id":151340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a10218012d7b5c8005e84d880009000623..."} 
[2026-08-10 08:34:54] local.INFO: Packet analysis {"connection_id":151340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a1"} 
[2026-08-10 08:34:54] local.INFO: Extracted packet for processing {"connection_id":151340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a1"} 
[2026-08-10 08:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":99110280,"longitude_deg":76.3059328,"latitude_deg":9.911028,"altitude":9,"angle":6,"satellites":35,"speed":21,"hex_longitude":"2d7b5c80","hex_latitude":"05e84d88","is_valid_coordinates":true} 
[2026-08-10 08:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300750848001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117156979733954560,"note":"Value kept but may cause issues"} 
[2026-08-10 08:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627473983488,"note":"Value kept but may cause issues"} 
[2026-08-10 08:34:54] 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-08-10 08:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786331071000,"timestamp_ms":1786331071000,"timestamp_seconds":1786331071,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a10218"} 
[2026-08-10 08:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 08:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300750848001,"66":13243,"30":206,"87":13824,"24":21,"16":117156979733954560,"45":8887994627473983488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-08-10 08:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300750848001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:34:54] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-10 08:34:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117156979733954560,"km_value":117156979733954.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627473983488,"description":"Unknown IO ID 45"} 
[2026-08-10 08:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300750848001,"power":13243,"unknown_30":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8887994627473983488}} 
[2026-08-10 08:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":151340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:34:54] local.INFO: GPS data processed {"connection_id":151340,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:34:54] local.INFO: Acknowledgment sent {"connection_id":151340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:34:59] local.INFO: TCP Data received {"connection_id":151342,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:34:59] local.INFO: Processing buffer {"connection_id":151342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:34:59] local.INFO: IMEI packet received {"connection_id":151342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":151342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:35:05] local.INFO: TCP Data received {"connection_id":151342,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:35:05] local.INFO: Processing buffer {"connection_id":151342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:35:05] local.INFO: IMEI packet received {"connection_id":151342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":151342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:35:05] local.INFO: TCP Data received {"connection_id":151342,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:35:05] local.INFO: Processing buffer {"connection_id":151342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:35:05] local.INFO: Packet analysis {"connection_id":151342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:35:05] local.INFO: Extracted packet for processing {"connection_id":151342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300642304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786330935000,"timestamp_ms":1786330935000,"timestamp_seconds":1786330935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99eeed8"} 
[2026-08-10 08:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:35: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-08-10 08:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300642304001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300642304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300642304001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":151342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:35:05] local.INFO: GPS data processed {"connection_id":151342,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:35:05] local.INFO: Acknowledgment sent {"connection_id":151342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:35:19] local.INFO: TCP Data received {"connection_id":152630,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:35:19] local.INFO: Processing buffer {"connection_id":152630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:35:19] local.INFO: IMEI packet received {"connection_id":152630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":152630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:35:21] local.INFO: TCP Data received {"connection_id":152630,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:35:21] local.INFO: Processing buffer {"connection_id":152630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:35:21] local.INFO: IMEI packet received {"connection_id":152630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":152630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:35:22] local.INFO: TCP Data received {"connection_id":152630,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a111b8012d7b5c8005e854a80008016423..."} 
[2026-08-10 08:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a111b8012d7b5c8005e854a80008016423..."} 
[2026-08-10 08:35:22] local.INFO: Processing buffer {"connection_id":152630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a111b8012d7b5c8005e854a80008016423..."} 
[2026-08-10 08:35:22] local.INFO: Packet analysis {"connection_id":152630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a1"} 
[2026-08-10 08:35:22] local.INFO: Extracted packet for processing {"connection_id":152630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a1"} 
[2026-08-10 08:35:22] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":99112104,"longitude_deg":76.3059328,"latitude_deg":9.9112104,"altitude":8,"angle":356,"satellites":35,"speed":19,"hex_longitude":"2d7b5c80","hex_latitude":"05e854a8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300754176001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117157069928267776,"note":"Value kept but may cause issues"} 
[2026-08-10 08:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527383103488,"note":"Value kept but may cause issues"} 
[2026-08-10 08:35:22] 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-08-10 08:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786331075000,"timestamp_ms":1786331075000,"timestamp_seconds":1786331075,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a111b8"} 
[2026-08-10 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-08-10 08:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 08:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300754176001,"66":13276,"30":206,"87":13824,"24":19,"16":117157069928267776,"45":8889120527383103488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-08-10 08:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300754176001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:35:22] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-10 08:35:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117157069928267776,"km_value":117157069928267.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527383103488,"description":"Unknown IO ID 45"} 
[2026-08-10 08:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300754176001,"power":13276,"unknown_30":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8889120527383103488}} 
[2026-08-10 08:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":152630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:35:22] local.INFO: GPS data processed {"connection_id":152630,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:35:22] local.INFO: Acknowledgment sent {"connection_id":152630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:35:36] local.INFO: TCP Data received {"connection_id":151342,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:35:36] local.INFO: Processing buffer {"connection_id":151342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:35:36] local.INFO: Packet analysis {"connection_id":151342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:35:36] local.INFO: Extracted packet for processing {"connection_id":151342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300642304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786330935000,"timestamp_ms":1786330935000,"timestamp_seconds":1786330935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99eeed8"} 
[2026-08-10 08:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300642304001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300642304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300642304001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":151342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:35:36] local.INFO: GPS data processed {"connection_id":151342,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:35:36] local.INFO: Acknowledgment sent {"connection_id":151342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:35:53] local.INFO: TCP Data received {"connection_id":152630,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a14098012d7b594005e87a280008016525..."} 
[2026-08-10 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a14098012d7b594005e87a280008016525..."} 
[2026-08-10 08:35:53] local.INFO: Processing buffer {"connection_id":152630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a14098012d7b594005e87a280008016525..."} 
[2026-08-10 08:35:53] local.INFO: Packet analysis {"connection_id":152630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a1"} 
[2026-08-10 08:35:53] local.INFO: Extracted packet for processing {"connection_id":152630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a1"} 
[2026-08-10 08:35:53] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":99121704,"longitude_deg":76.3058496,"latitude_deg":9.9121704,"altitude":8,"angle":357,"satellites":37,"speed":38,"hex_longitude":"2d7b5940","hex_latitude":"05e87a28","is_valid_coordinates":true} 
[2026-08-10 08:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300755200001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117157538079703040,"note":"Value kept but may cause issues"} 
[2026-08-10 08:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527383570432,"note":"Value kept but may cause issues"} 
[2026-08-10 08:35:53] 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-08-10 08:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786331087000,"timestamp_ms":1786331087000,"timestamp_seconds":1786331087,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a14098"} 
[2026-08-10 08:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 08:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300755200001,"66":13363,"201":206,"87":13824,"24":38,"16":117157538079703040,"45":8889120527383570432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-10 08:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300755200001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:35:53] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 08:35:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117157538079703040,"km_value":117157538079703.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527383570432,"description":"Unknown IO ID 45"} 
[2026-08-10 08:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300755200001,"power":13363,"unknown_201":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8889120527383570432}} 
[2026-08-10 08:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":152630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:35:54] local.INFO: GPS data processed {"connection_id":152630,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:35:54] local.INFO: Acknowledgment sent {"connection_id":152630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:35:59] local.INFO: TCP Data received {"connection_id":154089,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:35:59] local.INFO: Processing buffer {"connection_id":154089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:35:59] local.INFO: IMEI packet received {"connection_id":154089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":154089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:36:04] local.INFO: TCP Data received {"connection_id":154089,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:36:04] local.INFO: Processing buffer {"connection_id":154089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:36:04] local.INFO: IMEI packet received {"connection_id":154089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":154089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:36:05] local.INFO: TCP Data received {"connection_id":154089,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:36:05] local.INFO: Processing buffer {"connection_id":154089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:36:05] local.INFO: Packet analysis {"connection_id":154089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:36:05] local.INFO: Extracted packet for processing {"connection_id":154089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300642304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786330935000,"timestamp_ms":1786330935000,"timestamp_seconds":1786330935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99eeed8"} 
[2026-08-10 08:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:36: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-08-10 08:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300642304001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300642304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:36:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300642304001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":154089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:36:05] local.INFO: GPS data processed {"connection_id":154089,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:36:05] local.INFO: Acknowledgment sent {"connection_id":154089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:36:15] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:36:15] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:36:15] local.INFO: IMEI packet received {"connection_id":151722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":151722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:36:15] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:36:15] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:36:15] local.INFO: IMEI packet received {"connection_id":151722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":151722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:36:19] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:36:19] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:36:19] local.INFO: IMEI packet received {"connection_id":151722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":151722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:36:21] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a163c0012d7b588005e8a0900007000025..."} 
[2026-08-10 08:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a163c0012d7b588005e8a0900007000025..."} 
[2026-08-10 08:36:21] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a163c0012d7b588005e8a0900007000025..."} 
[2026-08-10 08:36:21] local.INFO: Packet analysis {"connection_id":151722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a1"} 
[2026-08-10 08:36:21] local.INFO: Extracted packet for processing {"connection_id":151722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a1"} 
[2026-08-10 08:36:21] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99131536,"longitude_deg":76.3058304,"latitude_deg":9.9131536,"altitude":7,"angle":0,"satellites":37,"speed":46,"hex_longitude":"2d7b5880","hex_latitude":"05e8a090","is_valid_coordinates":true} 
[2026-08-10 08:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300758272001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117158014821072896,"note":"Value kept but may cause issues"} 
[2026-08-10 08:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733711718400,"note":"Value kept but may cause issues"} 
[2026-08-10 08:36:21] 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-08-10 08:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786331096000,"timestamp_ms":1786331096000,"timestamp_seconds":1786331096,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a163c0"} 
[2026-08-10 08:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:36: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-08-10 08:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 08:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:36: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-08-10 08:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300758272001,"66":13363,"201":206,"87":13824,"24":46,"16":117158014821072896,"45":8888205733711718400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-10 08:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300758272001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:36:21] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 08:36:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117158014821072896,"km_value":117158014821072.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733711718400,"description":"Unknown IO ID 45"} 
[2026-08-10 08:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300758272001,"power":13363,"unknown_201":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8888205733711718400}} 
[2026-08-10 08:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":151722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:36:21] local.INFO: GPS data processed {"connection_id":151722,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:36:21] local.INFO: Acknowledgment sent {"connection_id":151722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:36:37] local.INFO: TCP Data received {"connection_id":154089,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:36:37] local.INFO: Processing buffer {"connection_id":154089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:36:37] local.INFO: Packet analysis {"connection_id":154089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:36:37] local.INFO: Extracted packet for processing {"connection_id":154089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300642304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330935000,"timestamp_ms":1786330935000,"timestamp_seconds":1786330935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99eeed8"} 
[2026-08-10 08:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300642304001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300642304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300642304001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":154089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:36:37] local.INFO: GPS data processed {"connection_id":154089,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:36:37] local.INFO: Acknowledgment sent {"connection_id":154089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:36:53] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a2f230012d7bc18005e952600004003326..."} 
[2026-08-10 08:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a2f230012d7bc18005e952600004003326..."} 
[2026-08-10 08:36:53] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a2f230012d7bc18005e952600004003326..."} 
[2026-08-10 08:36:53] local.INFO: Packet analysis {"connection_id":151722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a2"} 
[2026-08-10 08:36:53] local.INFO: Extracted packet for processing {"connection_id":151722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a2"} 
[2026-08-10 08:36:53] local.INFO: GPS Element Parsed {"raw_longitude":763085184,"raw_latitude":99177056,"longitude_deg":76.3085184,"latitude_deg":9.9177056,"altitude":4,"angle":51,"satellites":38,"speed":21,"hex_longitude":"2d7bc180","hex_latitude":"05e95260","is_valid_coordinates":true} 
[2026-08-10 08:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300784384001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117161356305629184,"note":"Value kept but may cause issues"} 
[2026-08-10 08:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914031062838595584,"note":"Value kept but may cause issues"} 
[2026-08-10 08:36:53] 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-08-10 08:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786331198000,"timestamp_ms":1786331198000,"timestamp_seconds":1786331198,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a2f230"} 
[2026-08-10 08:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-10 08:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300784384001,"66":12982,"201":206,"87":13824,"24":21,"16":117161356305629184,"45":8914031062838595584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-10 08:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300784384001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:36:53] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 08:36:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117161356305629184,"km_value":117161356305629.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914031062838595584,"description":"Unknown IO ID 45"} 
[2026-08-10 08:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300784384001,"power":12982,"unknown_201":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8914031062838595584}} 
[2026-08-10 08:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":151722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:36:53] local.INFO: GPS data processed {"connection_id":151722,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:36:53] local.INFO: Acknowledgment sent {"connection_id":151722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:36:59] local.INFO: TCP Data received {"connection_id":151343,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:36:59] local.INFO: Processing buffer {"connection_id":151343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:36:59] local.INFO: IMEI packet received {"connection_id":151343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":151343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:37:04] local.INFO: TCP Data received {"connection_id":151343,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:37:04] local.INFO: Processing buffer {"connection_id":151343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:37:04] local.INFO: IMEI packet received {"connection_id":151343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":151343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:37:06] local.INFO: TCP Data received {"connection_id":151343,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:37:06] local.INFO: Processing buffer {"connection_id":151343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:37:06] local.INFO: Packet analysis {"connection_id":151343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:37:06] local.INFO: Extracted packet for processing {"connection_id":151343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300642304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786330935000,"timestamp_ms":1786330935000,"timestamp_seconds":1786330935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99eeed8"} 
[2026-08-10 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-08-10 08:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300642304001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300642304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300642304001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":151343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:37:06] local.INFO: GPS data processed {"connection_id":151343,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:37:06] local.INFO: Acknowledgment sent {"connection_id":151343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:37:14] local.INFO: TCP Data received {"connection_id":154090,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:37:14] local.INFO: Processing buffer {"connection_id":154090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:37:14] local.INFO: IMEI packet received {"connection_id":154090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":154090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:37:19] local.INFO: TCP Data received {"connection_id":154090,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:37:19] local.INFO: Processing buffer {"connection_id":154090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:37:19] local.INFO: IMEI packet received {"connection_id":154090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":154090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:37:20] local.INFO: TCP Data received {"connection_id":154090,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a309a0012d7bcdc005e95af00004004624..."} 
[2026-08-10 08:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a309a0012d7bcdc005e95af00004004624..."} 
[2026-08-10 08:37:20] local.INFO: Processing buffer {"connection_id":154090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a309a0012d7bcdc005e95af00004004624..."} 
[2026-08-10 08:37:20] local.INFO: Packet analysis {"connection_id":154090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:37:20] local.INFO: Extracted packet for processing {"connection_id":154090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:37:20] local.INFO: GPS Element Parsed {"raw_longitude":763088320,"raw_latitude":99179248,"longitude_deg":76.308832,"latitude_deg":9.9179248,"altitude":4,"angle":70,"satellites":36,"speed":26,"hex_longitude":"2d7bcdc0","hex_latitude":"05e95af0","is_valid_coordinates":true} 
[2026-08-10 08:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300786688001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117161540989222912,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917549500047974400,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:20] 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-08-10 08:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786331204000,"timestamp_ms":1786331204000,"timestamp_seconds":1786331204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a309a0"} 
[2026-08-10 08:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:37: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-08-10 08:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-10 08:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300786688001,"66":13319,"201":206,"87":13824,"24":26,"16":117161540989222912,"45":8917549500047974400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-10 08:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300786688001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:37:20] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 08:37:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117161540989222912,"km_value":117161540989222.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917549500047974400,"description":"Unknown IO ID 45"} 
[2026-08-10 08:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300786688001,"power":13319,"unknown_201":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8917549500047974400}} 
[2026-08-10 08:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":154090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:37:20] local.INFO: GPS data processed {"connection_id":154090,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:37:20] local.INFO: Acknowledgment sent {"connection_id":154090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:37:29] local.INFO: TCP Data received {"connection_id":152633,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152633,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:37:29] local.INFO: Processing buffer {"connection_id":152633,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:37:29] local.INFO: IMEI packet received {"connection_id":152633,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":152633,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:37:30] local.INFO: TCP Data received {"connection_id":152633,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a34c08012d0d97c00705d7880018005221..."} 
[2026-08-10 08:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a34c08012d0d97c00705d7880018005221..."} 
[2026-08-10 08:37:30] local.INFO: Processing buffer {"connection_id":152633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a34c08012d0d97c00705d7880018005221..."} 
[2026-08-10 08:37:30] local.INFO: Packet analysis {"connection_id":152633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:37:30] local.INFO: Extracted packet for processing {"connection_id":152633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:37:30] local.INFO: GPS Element Parsed {"raw_longitude":755865536,"raw_latitude":117823368,"longitude_deg":75.5865536,"latitude_deg":11.7823368,"altitude":24,"angle":82,"satellites":33,"speed":27,"hex_longitude":"2d0d97c0","hex_latitude":"0705d788","is_valid_coordinates":true} 
[2026-08-10 08:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300792064001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27247852346408960,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":978055205488048128,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786331221000,"timestamp_ms":1786331221000,"timestamp_seconds":1786331221,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a34c08"} 
[2026-08-10 08:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 08:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152633,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152633,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300792064001,"66":14515,"167":206,"94":11008,"24":27,"16":27247852346408960,"45":978055205488048128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-10 08:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300792064001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:37:30] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 08:37:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27247852346408960,"km_value":27247852346408.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":978055205488048128,"description":"Unknown IO ID 45"} 
[2026-08-10 08:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300792064001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":978055205488048128}} 
[2026-08-10 08:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":152633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:37:30] local.INFO: GPS data processed {"connection_id":152633,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:37:30] local.INFO: Acknowledgment sent {"connection_id":152633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:37:37] local.INFO: TCP Data received {"connection_id":151343,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:37:37] local.INFO: Processing buffer {"connection_id":151343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe99eeed8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:37:37] local.INFO: Packet analysis {"connection_id":151343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:37:37] local.INFO: Extracted packet for processing {"connection_id":151343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe99e"} 
[2026-08-10 08:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300642304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786330935000,"timestamp_ms":1786330935000,"timestamp_seconds":1786330935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe99eeed8"} 
[2026-08-10 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-08-10 08:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 08:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300642304001,"66":25093,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300642304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300642304001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":151343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:37:37] local.INFO: GPS data processed {"connection_id":151343,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:37:37] local.INFO: Acknowledgment sent {"connection_id":151343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:37:52] local.INFO: TCP Data received {"connection_id":154090,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a31558012d7bd60005e95c700003005627..."} 
[2026-08-10 08:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a31558012d7bd60005e95c700003005627..."} 
[2026-08-10 08:37:52] local.INFO: Processing buffer {"connection_id":154090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a31558012d7bd60005e95c700003005627..."} 
[2026-08-10 08:37:52] local.INFO: Packet analysis {"connection_id":154090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:37:52] local.INFO: Extracted packet for processing {"connection_id":154090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:37:52] local.INFO: GPS Element Parsed {"raw_longitude":763090432,"raw_latitude":99179632,"longitude_deg":76.3090432,"latitude_deg":9.9179632,"altitude":3,"angle":86,"satellites":39,"speed":28,"hex_longitude":"2d7bd600","hex_latitude":"05e95c70","is_valid_coordinates":true} 
[2026-08-10 08:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300788224001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117161644068438016,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920997568513241088,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:52] 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-08-10 08:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786331207000,"timestamp_ms":1786331207000,"timestamp_seconds":1786331207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a31558"} 
[2026-08-10 08:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 08:37:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3919719160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:52] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3467771725966156544,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-08-10 08:37:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802093,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912380416,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:52] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57752711550883638,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:52] local.WARNING: Large IO value detected {"io_id":162,"raw_value":281476271564455941,"note":"Value kept but may cause issues"} 
[2026-08-10 08:37:52] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,201,87,24,241,157,16,61,159,242,45,128,82,4,38,10,66,207,74,6,148,1,240,40,227,233,113,205,19,120,160,33,239,50,2,5,3,22,161,162],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-08-10 08:37:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288307496586182656,"timestamp_seconds":288307496586182.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300788224001,"66":12863,"201":206,"87":13824,"24":28,"16":117161644068438016,"45":8920997568513241088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-10 08:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300788224001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:37:52] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 08:37:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117161644068438016,"km_value":117161644068438.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920997568513241088,"description":"Unknown IO ID 45"} 
[2026-08-10 08:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300788224001,"power":12863,"unknown_201":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8920997568513241088}} 
[2026-08-10 08:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":154090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:37:52] local.INFO: GPS data processed {"connection_id":154090,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:37:52] local.INFO: Acknowledgment sent {"connection_id":154090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:37:59] local.INFO: TCP Data received {"connection_id":152634,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:37:59] local.INFO: Processing buffer {"connection_id":152634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:37:59] local.INFO: IMEI packet received {"connection_id":152634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":152634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:38:01] local.INFO: TCP Data received {"connection_id":152633,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a353d8012d0d9d000705d7400018006821..."} 
[2026-08-10 08:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a353d8012d0d9d000705d7400018006821..."} 
[2026-08-10 08:38:01] local.INFO: Processing buffer {"connection_id":152633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a353d8012d0d9d000705d7400018006821..."} 
[2026-08-10 08:38:01] local.INFO: Packet analysis {"connection_id":152633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:38:01] local.INFO: Extracted packet for processing {"connection_id":152633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:38:01] local.INFO: GPS Element Parsed {"raw_longitude":755866880,"raw_latitude":117823296,"longitude_deg":75.586688,"latitude_deg":11.7823296,"altitude":24,"angle":104,"satellites":33,"speed":25,"hex_longitude":"2d0d9d00","hex_latitude":"0705d740","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300792576001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27247916770918400,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":979462580371687424,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786331223000,"timestamp_ms":1786331223000,"timestamp_seconds":1786331223,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a353d8"} 
[2026-08-10 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-08-10 08:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 08:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152633,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152633,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300792576001,"66":14407,"167":206,"94":11008,"24":25,"16":27247916770918400,"45":979462580371687424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-10 08:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300792576001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:38:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 08:38:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27247916770918400,"km_value":27247916770918.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":979462580371687424,"description":"Unknown IO ID 45"} 
[2026-08-10 08:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300792576001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":979462580371687424}} 
[2026-08-10 08:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":152633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618580,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:38:01] local.INFO: GPS data processed {"connection_id":152633,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:38:01] local.INFO: Acknowledgment sent {"connection_id":152633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:38:05] local.INFO: TCP Data received {"connection_id":152634,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:38:05] local.INFO: Processing buffer {"connection_id":152634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:38:05] local.INFO: IMEI packet received {"connection_id":152634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":152634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:38:06] local.INFO: TCP Data received {"connection_id":152634,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:38:06] local.INFO: Processing buffer {"connection_id":152634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:38:06] local.INFO: Packet analysis {"connection_id":152634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:38:06] local.INFO: Extracted packet for processing {"connection_id":152634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300719360001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786331236000,"timestamp_ms":1786331236000,"timestamp_seconds":1786331236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a386a0"} 
[2026-08-10 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-08-10 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 08:38: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-08-10 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-08-10 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-08-10 08:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:38: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-08-10 08:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300719360001,"66":25212,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300719360001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:38:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:38:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300719360001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":152634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:38:06] local.INFO: GPS data processed {"connection_id":152634,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:38:06] local.INFO: Acknowledgment sent {"connection_id":152634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:38:13] local.INFO: TCP Data received {"connection_id":154091,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:38:13] local.INFO: Processing buffer {"connection_id":154091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:38:13] local.INFO: IMEI packet received {"connection_id":154091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":154091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:38:14] local.INFO: TCP Data received {"connection_id":154091,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:38:14] local.INFO: Processing buffer {"connection_id":154091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:38:14] local.INFO: IMEI packet received {"connection_id":154091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":154091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:38:15] local.INFO: TCP Data received {"connection_id":154091,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:38:15] local.INFO: Processing buffer {"connection_id":154091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:38:15] local.INFO: IMEI packet received {"connection_id":154091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":154091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:38:21] local.INFO: TCP Data received {"connection_id":152635,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:38:21] local.INFO: Processing buffer {"connection_id":152635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:38:21] local.INFO: IMEI packet received {"connection_id":152635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":152635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:38:21] local.INFO: TCP Data received {"connection_id":154091,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:38:21] local.INFO: Processing buffer {"connection_id":154091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:38:21] local.INFO: IMEI packet received {"connection_id":154091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":154091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:38:22] local.INFO: TCP Data received {"connection_id":154091,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a330b0012d7be6c005e95fa80001004a25..."} 
[2026-08-10 08:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a330b0012d7be6c005e95fa80001004a25..."} 
[2026-08-10 08:38:22] local.INFO: Processing buffer {"connection_id":154091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a330b0012d7be6c005e95fa80001004a25..."} 
[2026-08-10 08:38:22] local.INFO: Packet analysis {"connection_id":154091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:38:22] local.INFO: Extracted packet for processing {"connection_id":154091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:38:22] local.INFO: GPS Element Parsed {"raw_longitude":763094720,"raw_latitude":99180456,"longitude_deg":76.309472,"latitude_deg":9.9180456,"altitude":1,"angle":74,"satellites":37,"speed":18,"hex_longitude":"2d7be6c0","hex_latitude":"05e95fa8","is_valid_coordinates":true} 
[2026-08-10 08:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300788992001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117161854521835520,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923319737071202304,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:22] 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-08-10 08:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786331214000,"timestamp_ms":1786331214000,"timestamp_seconds":1786331214,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a330b0"} 
[2026-08-10 08:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 08:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":154091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":154091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":154091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300788992001,"66":12917,"201":206,"87":13824,"24":18,"16":117161854521835520,"45":8923319737071202304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-10 08:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300788992001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:38:22] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 08:38:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117161854521835520,"km_value":117161854521835.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923319737071202304,"description":"Unknown IO ID 45"} 
[2026-08-10 08:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300788992001,"power":12917,"unknown_201":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8923319737071202304}} 
[2026-08-10 08:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":154091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:38:22] local.INFO: GPS data processed {"connection_id":154091,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:38:22] local.INFO: Acknowledgment sent {"connection_id":154091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:38:24] local.INFO: TCP Data received {"connection_id":152635,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:38:24] local.INFO: Processing buffer {"connection_id":152635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:38:24] local.INFO: IMEI packet received {"connection_id":152635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":152635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:38:24] local.INFO: TCP Data received {"connection_id":152635,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:38:24] local.INFO: Processing buffer {"connection_id":152635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:38:24] local.INFO: IMEI packet received {"connection_id":152635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":152635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:38:25] local.INFO: TCP Data received {"connection_id":152635,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:38:25] local.INFO: Processing buffer {"connection_id":152635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:38:25] local.INFO: IMEI packet received {"connection_id":152635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":152635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:38:38] local.INFO: TCP Data received {"connection_id":152634,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:38:38] local.INFO: Processing buffer {"connection_id":152634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:38:38] local.INFO: Packet analysis {"connection_id":152634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:38:38] local.INFO: Extracted packet for processing {"connection_id":152634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300719360001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786331236000,"timestamp_ms":1786331236000,"timestamp_seconds":1786331236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a386a0"} 
[2026-08-10 08:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 08:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:38:38] 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-08-10 08:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300719360001,"66":25212,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300719360001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300719360001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":152634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:38:38] local.INFO: GPS data processed {"connection_id":152634,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:38:38] local.INFO: Acknowledgment sent {"connection_id":152634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:38:53] local.INFO: TCP Data received {"connection_id":154091,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a4bb38012d7c8ec005e99b880008002d23..."} 
[2026-08-10 08:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a4bb38012d7c8ec005e99b880008002d23..."} 
[2026-08-10 08:38:53] local.INFO: Processing buffer {"connection_id":154091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a4bb38012d7c8ec005e99b880008002d23..."} 
[2026-08-10 08:38:53] local.INFO: Packet analysis {"connection_id":154091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a4"} 
[2026-08-10 08:38:53] local.INFO: Extracted packet for processing {"connection_id":154091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a4"} 
[2026-08-10 08:38:53] local.INFO: GPS Element Parsed {"raw_longitude":763137728,"raw_latitude":99195784,"longitude_deg":76.3137728,"latitude_deg":9.9195784,"altitude":8,"angle":45,"satellites":35,"speed":3,"hex_longitude":"2d7c8ec0","hex_latitude":"05e99b88","is_valid_coordinates":true} 
[2026-08-10 08:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300811264001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117164049250123776,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818639394981888,"note":"Value kept but may cause issues"} 
[2026-08-10 08:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786331315000,"timestamp_ms":1786331315000,"timestamp_seconds":1786331315,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a4bb38"} 
[2026-08-10 08:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-10 08:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300811264001,"66":13015,"156":206,"87":13824,"24":3,"16":117164049250123776,"45":8970818639394981888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-10 08:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300811264001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:38:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-10 08:38:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117164049250123776,"km_value":117164049250123.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818639394981888,"description":"Unknown IO ID 45"} 
[2026-08-10 08:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300811264001,"power":13015,"unknown_156":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8970818639394981888}} 
[2026-08-10 08:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":154091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:38:53] local.INFO: GPS data processed {"connection_id":154091,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:38:53] local.INFO: Acknowledgment sent {"connection_id":154091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:38:59] local.INFO: TCP Data received {"connection_id":152636,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:38:59] local.INFO: Processing buffer {"connection_id":152636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:38:59] local.INFO: IMEI packet received {"connection_id":152636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":152636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:39:04] local.INFO: TCP Data received {"connection_id":152636,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:39:04] local.INFO: Processing buffer {"connection_id":152636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:39:04] local.INFO: IMEI packet received {"connection_id":152636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":152636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:39:06] local.INFO: TCP Data received {"connection_id":152636,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:39:06] local.INFO: Processing buffer {"connection_id":152636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:39:06] local.INFO: Packet analysis {"connection_id":152636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:39:06] local.INFO: Extracted packet for processing {"connection_id":152636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300719360001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786331236000,"timestamp_ms":1786331236000,"timestamp_seconds":1786331236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a386a0"} 
[2026-08-10 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-08-10 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 08:39: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-08-10 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-08-10 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-08-10 08:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:39: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-08-10 08:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300719360001,"66":25212,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300719360001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300719360001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":152636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:39:06] local.INFO: GPS data processed {"connection_id":152636,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:39:06] local.INFO: Acknowledgment sent {"connection_id":152636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:39:14] local.INFO: TCP Data received {"connection_id":151344,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:39:14] local.INFO: Processing buffer {"connection_id":151344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:39:14] local.INFO: IMEI packet received {"connection_id":151344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":151344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:39:19] local.INFO: TCP Data received {"connection_id":151344,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:39:19] local.INFO: Processing buffer {"connection_id":151344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:39:19] local.INFO: IMEI packet received {"connection_id":151344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":151344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:39:23] local.INFO: TCP Data received {"connection_id":151344,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a4c308012d7c8f0005e99c700008000f24..."} 
[2026-08-10 08:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a4c308012d7c8f0005e99c700008000f24..."} 
[2026-08-10 08:39:23] local.INFO: Processing buffer {"connection_id":151344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a4c308012d7c8f0005e99c700008000f24..."} 
[2026-08-10 08:39:23] local.INFO: Packet analysis {"connection_id":151344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a4"} 
[2026-08-10 08:39:23] local.INFO: Extracted packet for processing {"connection_id":151344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a4"} 
[2026-08-10 08:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763137792,"raw_latitude":99196016,"longitude_deg":76.3137792,"latitude_deg":9.9196016,"altitude":8,"angle":15,"satellites":36,"speed":4,"hex_longitude":"2d7c8f00","hex_latitude":"05e99c70","is_valid_coordinates":true} 
[2026-08-10 08:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300816640001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117164062135025664,"note":"Value kept but may cause issues"} 
[2026-08-10 08:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975322239022630912,"note":"Value kept but may cause issues"} 
[2026-08-10 08:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786331317000,"timestamp_ms":1786331317000,"timestamp_seconds":1786331317,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a4c308"} 
[2026-08-10 08:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-10 08:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300816640001,"66":13341,"156":206,"87":13824,"24":4,"16":117164062135025664,"45":8975322239022630912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-10 08:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300816640001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:39:23] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-10 08:39:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117164062135025664,"km_value":117164062135025.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975322239022630912,"description":"Unknown IO ID 45"} 
[2026-08-10 08:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300816640001,"power":13341,"unknown_156":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8975322239022630912}} 
[2026-08-10 08:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":151344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:39:23] local.INFO: GPS data processed {"connection_id":151344,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:39:23] local.INFO: Acknowledgment sent {"connection_id":151344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:39:37] local.INFO: TCP Data received {"connection_id":152636,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:39:37] local.INFO: Processing buffer {"connection_id":152636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:39:37] local.INFO: Packet analysis {"connection_id":152636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:39:37] local.INFO: Extracted packet for processing {"connection_id":152636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300719360001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786331236000,"timestamp_ms":1786331236000,"timestamp_seconds":1786331236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a386a0"} 
[2026-08-10 08:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 08:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300719360001,"66":25212,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300719360001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300719360001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":152636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:39:37] local.INFO: GPS data processed {"connection_id":152636,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:39:37] local.INFO: Acknowledgment sent {"connection_id":152636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:39:54] local.INFO: TCP Data received {"connection_id":151344,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a4c6f0012d7c8f0005e99d100008015824..."} 
[2026-08-10 08:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a4c6f0012d7c8f0005e99d100008015824..."} 
[2026-08-10 08:39:54] local.INFO: Processing buffer {"connection_id":151344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a4c6f0012d7c8f0005e99d100008015824..."} 
[2026-08-10 08:39:54] local.INFO: Packet analysis {"connection_id":151344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a4"} 
[2026-08-10 08:39:54] local.INFO: Extracted packet for processing {"connection_id":151344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a4"} 
[2026-08-10 08:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763137792,"raw_latitude":99196176,"longitude_deg":76.3137792,"latitude_deg":9.9196176,"altitude":8,"angle":344,"satellites":36,"speed":7,"hex_longitude":"2d7c8f00","hex_latitude":"05e99d10","is_valid_coordinates":true} 
[2026-08-10 08:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300817152001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117164070724960256,"note":"Value kept but may cause issues"} 
[2026-08-10 08:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975392607766867968,"note":"Value kept but may cause issues"} 
[2026-08-10 08:39: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-08-10 08:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786331318000,"timestamp_ms":1786331318000,"timestamp_seconds":1786331318,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a4c6f0"} 
[2026-08-10 08:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 08:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300817152001,"66":13341,"156":206,"87":13824,"24":7,"16":117164070724960256,"45":8975392607766867968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-10 08:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300817152001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:39:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-10 08:39:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117164070724960256,"km_value":117164070724960.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975392607766867968,"description":"Unknown IO ID 45"} 
[2026-08-10 08:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300817152001,"power":13341,"unknown_156":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8975392607766867968}} 
[2026-08-10 08:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":151344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:39:54] local.INFO: GPS data processed {"connection_id":151344,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:39:54] local.INFO: Acknowledgment sent {"connection_id":151344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:40:00] local.INFO: TCP Data received {"connection_id":152637,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:40:00] local.INFO: Processing buffer {"connection_id":152637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:40:00] local.INFO: IMEI packet received {"connection_id":152637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":152637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:40:05] local.INFO: TCP Data received {"connection_id":152637,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:40:05] local.INFO: Processing buffer {"connection_id":152637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:40:05] local.INFO: IMEI packet received {"connection_id":152637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":152637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:40:06] local.INFO: TCP Data received {"connection_id":152637,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:40:06] local.INFO: Processing buffer {"connection_id":152637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:40:06] local.INFO: Packet analysis {"connection_id":152637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:40:06] local.INFO: Extracted packet for processing {"connection_id":152637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300719360001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786331236000,"timestamp_ms":1786331236000,"timestamp_seconds":1786331236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a386a0"} 
[2026-08-10 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-08-10 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 08:40: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-08-10 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-08-10 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-08-10 08:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300719360001,"66":25212,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300719360001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300719360001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":152637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:40:06] local.INFO: GPS data processed {"connection_id":152637,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:40:06] local.INFO: Acknowledgment sent {"connection_id":152637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:40:19] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:40:19] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:40:19] local.INFO: IMEI packet received {"connection_id":151723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":151723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:40:24] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:40:24] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:40:24] local.INFO: IMEI packet received {"connection_id":151723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":151723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:40:25] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a518f8012d7c8a0005e9b418000a015426..."} 
[2026-08-10 08:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a518f8012d7c8a0005e9b418000a015426..."} 
[2026-08-10 08:40:25] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a518f8012d7c8a0005e9b418000a015426..."} 
[2026-08-10 08:40:25] local.INFO: Packet analysis {"connection_id":151723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a5"} 
[2026-08-10 08:40:25] local.INFO: Extracted packet for processing {"connection_id":151723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a5"} 
[2026-08-10 08:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763136512,"raw_latitude":99202072,"longitude_deg":76.3136512,"latitude_deg":9.9202072,"altitude":10,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d7c8a00","hex_latitude":"05e9b418","is_valid_coordinates":true} 
[2026-08-10 08:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300817408001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117164367077703680,"note":"Value kept but may cause issues"} 
[2026-08-10 08:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975392607766908928,"note":"Value kept but may cause issues"} 
[2026-08-10 08:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786331339000,"timestamp_ms":1786331339000,"timestamp_seconds":1786331339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a518f8"} 
[2026-08-10 08:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 08:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300817408001,"66":12841,"192":206,"87":13824,"24":0,"16":117164367077703680,"45":8975392607766908928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-10 08:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300817408001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:40:25] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-10 08:40:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117164367077703680,"km_value":117164367077703.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975392607766908928,"description":"Unknown IO ID 45"} 
[2026-08-10 08:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300817408001,"power":12841,"unknown_192":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8975392607766908928}} 
[2026-08-10 08:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":151723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:40:25] local.INFO: GPS data processed {"connection_id":151723,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:40:25] local.INFO: Acknowledgment sent {"connection_id":151723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:40:38] local.INFO: TCP Data received {"connection_id":152637,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:40:38] local.INFO: Processing buffer {"connection_id":152637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:40:38] local.INFO: Packet analysis {"connection_id":152637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:40:38] local.INFO: Extracted packet for processing {"connection_id":152637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300719360001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786331236000,"timestamp_ms":1786331236000,"timestamp_seconds":1786331236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a386a0"} 
[2026-08-10 08:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 08:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:40: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-08-10 08:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300719360001,"66":25212,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300719360001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300719360001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":152637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:40:38] local.INFO: GPS data processed {"connection_id":152637,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:40:38] local.INFO: Acknowledgment sent {"connection_id":152637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:40:57] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a52898012d7c8b4005e9b508000a003c23..."} 
[2026-08-10 08:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a52898012d7c8b4005e9b508000a003c23..."} 
[2026-08-10 08:40:57] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a52898012d7c8b4005e9b508000a003c23..."} 
[2026-08-10 08:40:57] local.INFO: Packet analysis {"connection_id":151723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a5"} 
[2026-08-10 08:40:57] local.INFO: Extracted packet for processing {"connection_id":151723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a5"} 
[2026-08-10 08:40:57] local.INFO: GPS Element Parsed {"raw_longitude":763136832,"raw_latitude":99202312,"longitude_deg":76.3136832,"latitude_deg":9.9202312,"altitude":10,"angle":60,"satellites":35,"speed":3,"hex_longitude":"2d7c8b40","hex_latitude":"05e9b508","is_valid_coordinates":true} 
[2026-08-10 08:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300822784001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117164384257572864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973985232884865024,"note":"Value kept but may cause issues"} 
[2026-08-10 08:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786331343000,"timestamp_ms":1786331343000,"timestamp_seconds":1786331343,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a52898"} 
[2026-08-10 08:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 08:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300822784001,"66":13254,"192":206,"87":13824,"24":3,"16":117164384257572864,"45":8973985232884865024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-10 08:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300822784001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:40:57] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-10 08:40:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117164384257572864,"km_value":117164384257572.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973985232884865024,"description":"Unknown IO ID 45"} 
[2026-08-10 08:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300822784001,"power":13254,"unknown_192":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8973985232884865024}} 
[2026-08-10 08:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":151723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:40:57] local.INFO: GPS data processed {"connection_id":151723,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:40:57] local.INFO: Acknowledgment sent {"connection_id":151723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:40:59] local.INFO: TCP Data received {"connection_id":154092,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:40:59] local.INFO: Processing buffer {"connection_id":154092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:40:59] local.INFO: IMEI packet received {"connection_id":154092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":154092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:41:04] local.INFO: TCP Data received {"connection_id":154092,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:41:04] local.INFO: Processing buffer {"connection_id":154092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:41:04] local.INFO: IMEI packet received {"connection_id":154092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":154092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:41:06] local.INFO: TCP Data received {"connection_id":154092,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:41:06] local.INFO: Processing buffer {"connection_id":154092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:41:06] local.INFO: Packet analysis {"connection_id":154092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:41:06] local.INFO: Extracted packet for processing {"connection_id":154092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300719360001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786331236000,"timestamp_ms":1786331236000,"timestamp_seconds":1786331236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a386a0"} 
[2026-08-10 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-08-10 08:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 08:41: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-08-10 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-08-10 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-08-10 08:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300719360001,"66":25212,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300719360001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300719360001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":154092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:41:06] local.INFO: GPS data processed {"connection_id":154092,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:41:06] local.INFO: Acknowledgment sent {"connection_id":154092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:41:19] local.INFO: TCP Data received {"connection_id":151725,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:41:19] local.INFO: Processing buffer {"connection_id":151725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:41:19] local.INFO: IMEI packet received {"connection_id":151725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":151725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:41:24] local.INFO: TCP Data received {"connection_id":151725,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:41:24] local.INFO: Processing buffer {"connection_id":151725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:41:24] local.INFO: IMEI packet received {"connection_id":151725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":151725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:41:25] local.INFO: TCP Data received {"connection_id":151725,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a54008012d7c8ec005e9b6b8000a004b24..."} 
[2026-08-10 08:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a54008012d7c8ec005e9b6b8000a004b24..."} 
[2026-08-10 08:41:25] local.INFO: Processing buffer {"connection_id":151725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a54008012d7c8ec005e9b6b8000a004b24..."} 
[2026-08-10 08:41:25] local.INFO: Packet analysis {"connection_id":151725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a5"} 
[2026-08-10 08:41:25] local.INFO: Extracted packet for processing {"connection_id":151725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a5"} 
[2026-08-10 08:41:25] local.INFO: GPS Element Parsed {"raw_longitude":763137728,"raw_latitude":99202744,"longitude_deg":76.3137728,"latitude_deg":9.9202744,"altitude":10,"angle":75,"satellites":36,"speed":8,"hex_longitude":"2d7c8ec0","hex_latitude":"05e9b6b8","is_valid_coordinates":true} 
[2026-08-10 08:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300823808001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117164435797180416,"note":"Value kept but may cause issues"} 
[2026-08-10 08:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974337076605814784,"note":"Value kept but may cause issues"} 
[2026-08-10 08:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786331349000,"timestamp_ms":1786331349000,"timestamp_seconds":1786331349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a54008"} 
[2026-08-10 08:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 08:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300823808001,"66":13189,"192":206,"87":13824,"24":8,"16":117164435797180416,"45":8974337076605814784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-10 08:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300823808001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:41:25] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-10 08:41:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117164435797180416,"km_value":117164435797180.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974337076605814784,"description":"Unknown IO ID 45"} 
[2026-08-10 08:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300823808001,"power":13189,"unknown_192":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8974337076605814784}} 
[2026-08-10 08:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":151725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:41:25] local.INFO: GPS data processed {"connection_id":151725,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:41:25] local.INFO: Acknowledgment sent {"connection_id":151725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:41:38] local.INFO: TCP Data received {"connection_id":154092,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:41:38] local.INFO: Processing buffer {"connection_id":154092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:41:38] local.INFO: Packet analysis {"connection_id":154092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:41:38] local.INFO: Extracted packet for processing {"connection_id":154092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300719360001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786331236000,"timestamp_ms":1786331236000,"timestamp_seconds":1786331236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a386a0"} 
[2026-08-10 08:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 08:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300719360001,"66":25212,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300719360001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300719360001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":154092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:41:38] local.INFO: GPS data processed {"connection_id":154092,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:41:38] local.INFO: Acknowledgment sent {"connection_id":154092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:41:59] local.INFO: TCP Data received {"connection_id":152638,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:41:59] local.INFO: Processing buffer {"connection_id":152638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:41:59] local.INFO: IMEI packet received {"connection_id":152638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":152638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:42:00] local.INFO: TCP Data received {"connection_id":151725,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a7b4f0012d7ccc4005e9bab0000500ac27..."} 
[2026-08-10 08:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a7b4f0012d7ccc4005e9bab0000500ac27..."} 
[2026-08-10 08:42:00] local.INFO: Processing buffer {"connection_id":151725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a7b4f0012d7ccc4005e9bab0000500ac27..."} 
[2026-08-10 08:42:00] local.INFO: Packet analysis {"connection_id":151725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a7"} 
[2026-08-10 08:42:00] local.INFO: Extracted packet for processing {"connection_id":151725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a7"} 
[2026-08-10 08:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763153472,"raw_latitude":99203760,"longitude_deg":76.3153472,"latitude_deg":9.920376,"altitude":5,"angle":172,"satellites":39,"speed":14,"hex_longitude":"2d7ccc40","hex_latitude":"05e9bab0","is_valid_coordinates":true} 
[2026-08-10 08:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300866304001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117165234661097472,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992562581348288512,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:00] 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-08-10 08:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786331510000,"timestamp_ms":1786331510000,"timestamp_seconds":1786331510,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a7b4f0"} 
[2026-08-10 08:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 08:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:42: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-08-10 08:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300866304001,"66":12917,"9":206,"87":13824,"24":14,"16":117165234661097472,"45":8992562581348288512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-08-10 08:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300866304001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:42:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 08:42:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117165234661097472,"km_value":117165234661097.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992562581348288512,"description":"Unknown IO ID 45"} 
[2026-08-10 08:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300866304001,"power":12917,"unknown_9":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8992562581348288512}} 
[2026-08-10 08:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":151725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:42:00] local.INFO: GPS data processed {"connection_id":151725,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:42:00] local.INFO: Acknowledgment sent {"connection_id":151725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:42:04] local.INFO: TCP Data received {"connection_id":152638,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:42:04] local.INFO: Processing buffer {"connection_id":152638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:42:04] local.INFO: IMEI packet received {"connection_id":152638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":152638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:42:05] local.INFO: TCP Data received {"connection_id":152638,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:42:05] local.INFO: Processing buffer {"connection_id":152638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:42:05] local.INFO: Packet analysis {"connection_id":152638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:42:05] local.INFO: Extracted packet for processing {"connection_id":152638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300719360001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786331236000,"timestamp_ms":1786331236000,"timestamp_seconds":1786331236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a386a0"} 
[2026-08-10 08:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 08:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:42: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-08-10 08:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300719360001,"66":25212,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300719360001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:42:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300719360001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":152638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:42:05] local.INFO: GPS data processed {"connection_id":152638,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:42:05] local.INFO: Acknowledgment sent {"connection_id":152638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:42:14] local.INFO: TCP Data received {"connection_id":154094,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:42:14] local.INFO: Processing buffer {"connection_id":154094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:42:14] local.INFO: IMEI packet received {"connection_id":154094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":154094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:42:17] local.INFO: TCP Data received {"connection_id":154094,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:42:17] local.INFO: Processing buffer {"connection_id":154094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:42:17] local.INFO: IMEI packet received {"connection_id":154094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":154094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:42:19] local.INFO: TCP Data received {"connection_id":154094,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:42:19] local.INFO: Processing buffer {"connection_id":154094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:42:19] local.INFO: IMEI packet received {"connection_id":154094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":154094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:42:20] local.INFO: TCP Data received {"connection_id":154094,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a7c0a8012d7ccd0005e9b6e00005009227..."} 
[2026-08-10 08:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a7c0a8012d7ccd0005e9b6e00005009227..."} 
[2026-08-10 08:42:20] local.INFO: Processing buffer {"connection_id":154094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a7c0a8012d7ccd0005e9b6e00005009227..."} 
[2026-08-10 08:42:20] local.INFO: Packet analysis {"connection_id":154094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a7"} 
[2026-08-10 08:42:20] local.INFO: Extracted packet for processing {"connection_id":154094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a7"} 
[2026-08-10 08:42:20] local.INFO: GPS Element Parsed {"raw_longitude":763153664,"raw_latitude":99202784,"longitude_deg":76.3153664,"latitude_deg":9.9202784,"altitude":5,"angle":146,"satellites":39,"speed":10,"hex_longitude":"2d7ccd00","hex_latitude":"05e9b6e0","is_valid_coordinates":true} 
[2026-08-10 08:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300866560001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117165281905737728,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992632950092378112,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:20] 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-08-10 08:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786331513000,"timestamp_ms":1786331513000,"timestamp_seconds":1786331513,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a7c0a8"} 
[2026-08-10 08:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 08:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300866560001,"66":13048,"9":206,"87":13824,"24":10,"16":117165281905737728,"45":8992632950092378112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-08-10 08:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300866560001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:42:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 08:42:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117165281905737728,"km_value":117165281905737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992632950092378112,"description":"Unknown IO ID 45"} 
[2026-08-10 08:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300866560001,"power":13048,"unknown_9":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8992632950092378112}} 
[2026-08-10 08:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":154094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:42:20] local.INFO: GPS data processed {"connection_id":154094,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:42:20] local.INFO: Acknowledgment sent {"connection_id":154094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:42:24] local.INFO: TCP Data received {"connection_id":154094,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a7c490012d7cce0005e9b6500005007227..."} 
[2026-08-10 08:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a7c490012d7cce0005e9b6500005007227..."} 
[2026-08-10 08:42:24] local.INFO: Processing buffer {"connection_id":154094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a7c490012d7cce0005e9b6500005007227..."} 
[2026-08-10 08:42:24] local.INFO: Packet analysis {"connection_id":154094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a7"} 
[2026-08-10 08:42:24] local.INFO: Extracted packet for processing {"connection_id":154094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a7"} 
[2026-08-10 08:42:24] local.INFO: GPS Element Parsed {"raw_longitude":763153920,"raw_latitude":99202640,"longitude_deg":76.315392,"latitude_deg":9.920264,"altitude":5,"angle":114,"satellites":39,"speed":10,"hex_longitude":"2d7cce00","hex_latitude":"05e9b650","is_valid_coordinates":true} 
[2026-08-10 08:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300867328001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117165294790639616,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992844056324661248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:24] 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-08-10 08:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786331514000,"timestamp_ms":1786331514000,"timestamp_seconds":1786331514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a7c490"} 
[2026-08-10 08:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-10 08:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":154094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":154094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":154094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300867328001,"66":13428,"9":206,"87":13824,"24":10,"16":117165294790639616,"45":8992844056324661248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-08-10 08:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300867328001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:42:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 08:42:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117165294790639616,"km_value":117165294790639.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992844056324661248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300867328001,"power":13428,"unknown_9":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8992844056324661248}} 
[2026-08-10 08:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":154094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:42:24] local.INFO: GPS data processed {"connection_id":154094,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:42:24] local.INFO: Acknowledgment sent {"connection_id":154094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:42:37] local.INFO: TCP Data received {"connection_id":152638,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:42:37] local.INFO: Processing buffer {"connection_id":152638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a386a0012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:42:37] local.INFO: Packet analysis {"connection_id":152638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:42:37] local.INFO: Extracted packet for processing {"connection_id":152638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a3"} 
[2026-08-10 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300719360001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786331236000,"timestamp_ms":1786331236000,"timestamp_seconds":1786331236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a386a0"} 
[2026-08-10 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-08-10 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 08:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:42:37] 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-08-10 08:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300719360001,"66":25212,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300719360001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300719360001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":152638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:42:37] local.INFO: GPS data processed {"connection_id":152638,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:42:37] local.INFO: Acknowledgment sent {"connection_id":152638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:42:55] local.INFO: TCP Data received {"connection_id":154094,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a7c878012d7ccf0005e9b6080005005f27..."} 
[2026-08-10 08:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a7c878012d7ccf0005e9b6080005005f27..."} 
[2026-08-10 08:42:55] local.INFO: Processing buffer {"connection_id":154094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a7c878012d7ccf0005e9b6080005005f27..."} 
[2026-08-10 08:42:55] local.INFO: Packet analysis {"connection_id":154094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a7"} 
[2026-08-10 08:42:55] local.INFO: Extracted packet for processing {"connection_id":154094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a7"} 
[2026-08-10 08:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763154176,"raw_latitude":99202568,"longitude_deg":76.3154176,"latitude_deg":9.9202568,"altitude":5,"angle":95,"satellites":39,"speed":11,"hex_longitude":"2d7ccf00","hex_latitude":"05e9b608","is_valid_coordinates":true} 
[2026-08-10 08:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300867584001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117165307675541504,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993125531301335040,"note":"Value kept but may cause issues"} 
[2026-08-10 08:42:55] 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-08-10 08:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786331515000,"timestamp_ms":1786331515000,"timestamp_seconds":1786331515,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a7c878"} 
[2026-08-10 08:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-10 08:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":154094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":154094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":154094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300867584001,"66":13428,"9":206,"87":13824,"24":11,"16":117165307675541504,"45":8993125531301335040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-08-10 08:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300867584001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:42:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 08:42:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117165307675541504,"km_value":117165307675541.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993125531301335040,"description":"Unknown IO ID 45"} 
[2026-08-10 08:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300867584001,"power":13428,"unknown_9":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8993125531301335040}} 
[2026-08-10 08:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":154094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:42:55] local.INFO: GPS data processed {"connection_id":154094,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:42:55] local.INFO: Acknowledgment sent {"connection_id":154094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:42:59] local.INFO: TCP Data received {"connection_id":151346,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:42:59] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:42:59] local.INFO: IMEI packet received {"connection_id":151346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":151346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:43:04] local.INFO: TCP Data received {"connection_id":151346,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:43:04] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:43:04] local.INFO: IMEI packet received {"connection_id":151346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":151346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:43:05] local.INFO: TCP Data received {"connection_id":151346,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:43:05] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:43:05] local.INFO: Packet analysis {"connection_id":151346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:43:05] local.INFO: Extracted packet for processing {"connection_id":151346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300796416001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786331537000,"timestamp_ms":1786331537000,"timestamp_seconds":1786331537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a81e68"} 
[2026-08-10 08:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 08:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300796416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300796416001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:43:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300796416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":151346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:43:05] local.INFO: GPS data processed {"connection_id":151346,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:43:05] local.INFO: Acknowledgment sent {"connection_id":151346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:43:14] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:43:14] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:43:14] local.INFO: IMEI packet received {"connection_id":151727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":151727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:43:20] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:43:20] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:43:20] local.INFO: IMEI packet received {"connection_id":151727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":151727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:43:21] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a7d048012d7cd24005e9b6680005004c27..."} 
[2026-08-10 08:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a7d048012d7cd24005e9b6680005004c27..."} 
[2026-08-10 08:43:21] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a7d048012d7cd24005e9b6680005004c27..."} 
[2026-08-10 08:43:21] local.INFO: Packet analysis {"connection_id":151727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a7"} 
[2026-08-10 08:43:21] local.INFO: Extracted packet for processing {"connection_id":151727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a7"} 
[2026-08-10 08:43:21] local.INFO: GPS Element Parsed {"raw_longitude":763155008,"raw_latitude":99202664,"longitude_deg":76.3155008,"latitude_deg":9.9202664,"altitude":5,"angle":76,"satellites":39,"speed":18,"hex_longitude":"2d7cd240","hex_latitude":"05e9b668","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300867840001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117165350625214464,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993407006278027264,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:21] 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-08-10 08:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786331517000,"timestamp_ms":1786331517000,"timestamp_seconds":1786331517,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a7d048"} 
[2026-08-10 08:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-10 08:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:43: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-08-10 08:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300867840001,"66":13352,"9":206,"87":13824,"24":18,"16":117165350625214464,"45":8993407006278027264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-08-10 08:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300867840001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:43:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 08:43:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117165350625214464,"km_value":117165350625214.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993407006278027264,"description":"Unknown IO ID 45"} 
[2026-08-10 08:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300867840001,"power":13352,"unknown_9":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8993407006278027264}} 
[2026-08-10 08:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":151727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:43:21] local.INFO: GPS data processed {"connection_id":151727,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:43:21] local.INFO: Acknowledgment sent {"connection_id":151727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:43:29] local.INFO: TCP Data received {"connection_id":151728,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151728,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:43:29] local.INFO: Processing buffer {"connection_id":151728,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:43:29] local.INFO: IMEI packet received {"connection_id":151728,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":151728,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:43:30] local.INFO: TCP Data received {"connection_id":151728,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a8b6c0012d0dad0007066440001f002b1e..."} 
[2026-08-10 08:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a8b6c0012d0dad0007066440001f002b1e..."} 
[2026-08-10 08:43:30] local.INFO: Processing buffer {"connection_id":151728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a8b6c0012d0dad0007066440001f002b1e..."} 
[2026-08-10 08:43:30] local.INFO: Packet analysis {"connection_id":151728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:43:30] local.INFO: Extracted packet for processing {"connection_id":151728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:43:30] local.INFO: GPS Element Parsed {"raw_longitude":755870976,"raw_latitude":117859392,"longitude_deg":75.5870976,"latitude_deg":11.7859392,"altitude":31,"angle":43,"satellites":30,"speed":25,"hex_longitude":"2d0dad00","hex_latitude":"07066440","is_valid_coordinates":true} 
[2026-08-10 08:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300880640001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27252112953966592,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436379498496,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786331576000,"timestamp_ms":1786331576000,"timestamp_seconds":1786331576,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a8b6c0"} 
[2026-08-10 08:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":27,"data_length":795,"current_offset":136} 
[2026-08-10 08:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151728,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151728,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300880640001,"66":14439,"167":206,"94":11008,"24":25,"16":27252112953966592,"45":982488436379498496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-10 08:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300880640001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:43:30] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 08:43:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 08:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27252112953966592,"km_value":27252112953966.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436379498496,"description":"Unknown IO ID 45"} 
[2026-08-10 08:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300880640001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":982488436379498496}} 
[2026-08-10 08:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":151728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618604,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:43:30] local.INFO: GPS data processed {"connection_id":151728,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:43:30] local.INFO: Acknowledgment sent {"connection_id":151728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:43:37] local.INFO: TCP Data received {"connection_id":151346,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:43:37] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:43:37] local.INFO: Packet analysis {"connection_id":151346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:43:37] local.INFO: Extracted packet for processing {"connection_id":151346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300796416001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786331537000,"timestamp_ms":1786331537000,"timestamp_seconds":1786331537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a81e68"} 
[2026-08-10 08:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 08:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300796416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300796416001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300796416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":151346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:43:37] local.INFO: GPS data processed {"connection_id":151346,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:43:37] local.INFO: Acknowledgment sent {"connection_id":151346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:43:53] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a7fb40012d7cf2c005e9bc400007005926..."} 
[2026-08-10 08:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a7fb40012d7cf2c005e9bc400007005926..."} 
[2026-08-10 08:43:53] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a7fb40012d7cf2c005e9bc400007005926..."} 
[2026-08-10 08:43:53] local.INFO: Packet analysis {"connection_id":151727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a7"} 
[2026-08-10 08:43:53] local.INFO: Extracted packet for processing {"connection_id":151727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a7"} 
[2026-08-10 08:43:53] local.INFO: GPS Element Parsed {"raw_longitude":763163328,"raw_latitude":99204160,"longitude_deg":76.3163328,"latitude_deg":9.920416,"altitude":7,"angle":89,"satellites":38,"speed":31,"hex_longitude":"2d7cf2c0","hex_latitude":"05e9bc40","is_valid_coordinates":true} 
[2026-08-10 08:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300868352001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117165754352140288,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994321799952361472,"note":"Value kept but may cause issues"} 
[2026-08-10 08:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786331528000,"timestamp_ms":1786331528000,"timestamp_seconds":1786331528,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a7fb40"} 
[2026-08-10 08:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-10 08:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300868352001,"66":13363,"154":206,"87":13824,"24":31,"16":117165754352140288,"45":8994321799952361472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-10 08:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300868352001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:43:53] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-10 08:43:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117165754352140288,"km_value":117165754352140.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994321799952361472,"description":"Unknown IO ID 45"} 
[2026-08-10 08:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300868352001,"power":13363,"unknown_154":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8994321799952361472}} 
[2026-08-10 08:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":151727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:43:54] local.INFO: GPS data processed {"connection_id":151727,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:43:54] local.INFO: Acknowledgment sent {"connection_id":151727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:44:00] local.INFO: TCP Data received {"connection_id":154095,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:44:00] local.INFO: Processing buffer {"connection_id":154095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:44:00] local.INFO: IMEI packet received {"connection_id":154095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":154095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:44:05] local.INFO: TCP Data received {"connection_id":154095,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:44:05] local.INFO: Processing buffer {"connection_id":154095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:44:05] local.INFO: IMEI packet received {"connection_id":154095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":154095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:44:06] local.INFO: TCP Data received {"connection_id":154095,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:44:06] local.INFO: Processing buffer {"connection_id":154095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:44:06] local.INFO: Packet analysis {"connection_id":154095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:44:06] local.INFO: Extracted packet for processing {"connection_id":154095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300796416001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786331537000,"timestamp_ms":1786331537000,"timestamp_seconds":1786331537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a81e68"} 
[2026-08-10 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-08-10 08:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 08:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300796416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300796416001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300796416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":154095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:44:06] local.INFO: GPS data processed {"connection_id":154095,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:44:06] local.INFO: Acknowledgment sent {"connection_id":154095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:44:20] local.INFO: TCP Data received {"connection_id":152639,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:44:20] local.INFO: Processing buffer {"connection_id":152639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:44:20] local.INFO: IMEI packet received {"connection_id":152639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":152639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:44:24] local.INFO: TCP Data received {"connection_id":151347,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:44:24] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:44:24] local.INFO: IMEI packet received {"connection_id":151347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":151347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:44:28] local.INFO: TCP Data received {"connection_id":151347,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:44:28] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:44:28] local.INFO: IMEI packet received {"connection_id":151347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":151347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:44:28] local.INFO: TCP Data received {"connection_id":152639,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:44:28] local.INFO: Processing buffer {"connection_id":152639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:44:28] local.INFO: IMEI packet received {"connection_id":152639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":152639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:44:29] local.INFO: TCP Data received {"connection_id":151347,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a9a508012d0dee000706b7e8001d015b1e..."} 
[2026-08-10 08:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a9a508012d0dee000706b7e8001d015b1e..."} 
[2026-08-10 08:44:29] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a9a508012d0dee000706b7e8001d015b1e..."} 
[2026-08-10 08:44:29] local.INFO: Packet analysis {"connection_id":151347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a9"} 
[2026-08-10 08:44:29] local.INFO: Extracted packet for processing {"connection_id":151347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a9"} 
[2026-08-10 08:44:29] local.INFO: GPS Element Parsed {"raw_longitude":755887616,"raw_latitude":117880808,"longitude_deg":75.5887616,"latitude_deg":11.7880808,"altitude":29,"angle":347,"satellites":30,"speed":18,"hex_longitude":"2d0dee00","hex_latitude":"0706b7e8","is_valid_coordinates":true} 
[2026-08-10 08:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300898560001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27253672027095040,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1003880534615787520,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786331637000,"timestamp_ms":1786331637000,"timestamp_seconds":1786331637,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a9a508"} 
[2026-08-10 08:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 08:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300898560001,"66":13493,"219":206,"94":10240,"24":18,"16":27253672027095040,"45":1003880534615787520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300898560001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:44:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:44:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27253672027095040,"km_value":27253672027095.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1003880534615787520,"description":"Unknown IO ID 45"} 
[2026-08-10 08:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300898560001,"power":13493,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1003880534615787520}} 
[2026-08-10 08:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":151347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618608,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:44:29] local.INFO: GPS data processed {"connection_id":151347,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:44:29] local.INFO: Acknowledgment sent {"connection_id":151347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:44:37] local.INFO: TCP Data received {"connection_id":154095,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:44:37] local.INFO: Processing buffer {"connection_id":154095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:44:37] local.INFO: Packet analysis {"connection_id":154095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:44:37] local.INFO: Extracted packet for processing {"connection_id":154095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300796416001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786331537000,"timestamp_ms":1786331537000,"timestamp_seconds":1786331537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a81e68"} 
[2026-08-10 08:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 08:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300796416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300796416001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300796416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":154095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:44:37] local.INFO: GPS data processed {"connection_id":154095,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:44:37] local.INFO: Acknowledgment sent {"connection_id":154095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:44:53] local.INFO: TCP Data received {"connection_id":152639,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:44:53] local.INFO: Processing buffer {"connection_id":152639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:44:53] local.INFO: IMEI packet received {"connection_id":152639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":152639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:44:53] local.INFO: TCP Data received {"connection_id":152639,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a97628012d7d1a0005ea5808000b015a24..."} 
[2026-08-10 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a97628012d7d1a0005ea5808000b015a24..."} 
[2026-08-10 08:44:53] local.INFO: Processing buffer {"connection_id":152639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a97628012d7d1a0005ea5808000b015a24..."} 
[2026-08-10 08:44:53] local.INFO: Packet analysis {"connection_id":152639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a9"} 
[2026-08-10 08:44:53] local.INFO: Extracted packet for processing {"connection_id":152639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a9"} 
[2026-08-10 08:44:53] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99244040,"longitude_deg":76.3173376,"latitude_deg":9.924404,"altitude":11,"angle":346,"satellites":36,"speed":5,"hex_longitude":"2d7d1a00","hex_latitude":"05ea5808","is_valid_coordinates":true} 
[2026-08-10 08:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300894976001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117168039274741760,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014587998285860864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786331625000,"timestamp_ms":1786331625000,"timestamp_seconds":1786331625,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a97628"} 
[2026-08-10 08:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-10 08:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300894976001,"66":12645,"154":206,"87":13824,"24":5,"16":117168039274741760,"45":9014587998285860864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-10 08:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300894976001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:44:53] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-10 08:44:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117168039274741760,"km_value":117168039274741.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014587998285860864,"description":"Unknown IO ID 45"} 
[2026-08-10 08:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300894976001,"power":12645,"unknown_154":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9014587998285860864}} 
[2026-08-10 08:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":152639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:44:53] local.INFO: GPS data processed {"connection_id":152639,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:44:53] local.INFO: Acknowledgment sent {"connection_id":152639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:44:56] local.INFO: TCP Data received {"connection_id":152639,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a98d98012d7d1a8005ea5a00000b001323..."} 
[2026-08-10 08:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a98d98012d7d1a8005ea5a00000b001323..."} 
[2026-08-10 08:44:56] local.INFO: Processing buffer {"connection_id":152639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a98d98012d7d1a8005ea5a00000b001323..."} 
[2026-08-10 08:44:56] local.INFO: Packet analysis {"connection_id":152639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a9"} 
[2026-08-10 08:44:56] local.INFO: Extracted packet for processing {"connection_id":152639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a9"} 
[2026-08-10 08:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763173504,"raw_latitude":99244544,"longitude_deg":76.3173504,"latitude_deg":9.9244544,"altitude":11,"angle":19,"satellites":35,"speed":5,"hex_longitude":"2d7d1a80","hex_latitude":"05ea5a00","is_valid_coordinates":true} 
[2026-08-10 08:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300896000001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117168065044545536,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014517629541943296,"note":"Value kept but may cause issues"} 
[2026-08-10 08:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786331631000,"timestamp_ms":1786331631000,"timestamp_seconds":1786331631,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a98d98"} 
[2026-08-10 08:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 08:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300896000001,"66":12809,"154":206,"87":13824,"24":5,"16":117168065044545536,"45":9014517629541943296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-10 08:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300896000001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:44:56] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-10 08:44:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117168065044545536,"km_value":117168065044545.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014517629541943296,"description":"Unknown IO ID 45"} 
[2026-08-10 08:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300896000001,"power":12809,"unknown_154":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9014517629541943296}} 
[2026-08-10 08:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":152639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:44:56] local.INFO: GPS data processed {"connection_id":152639,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:44:56] local.INFO: Acknowledgment sent {"connection_id":152639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:44:59] local.INFO: TCP Data received {"connection_id":152640,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:44:59] local.INFO: Processing buffer {"connection_id":152640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:44:59] local.INFO: IMEI packet received {"connection_id":152640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":152640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:45:00] local.INFO: TCP Data received {"connection_id":151347,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9aa50e8012d0dd0c00706f988002e003d1f..."} 
[2026-08-10 08:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9aa50e8012d0dd0c00706f988002e003d1f..."} 
[2026-08-10 08:45:00] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9aa50e8012d0dd0c00706f988002e003d1f..."} 
[2026-08-10 08:45:00] local.INFO: Packet analysis {"connection_id":151347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9aa"} 
[2026-08-10 08:45:00] local.INFO: Extracted packet for processing {"connection_id":151347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9aa"} 
[2026-08-10 08:45:00] local.INFO: GPS Element Parsed {"raw_longitude":755880128,"raw_latitude":117897608,"longitude_deg":75.5880128,"latitude_deg":11.7897608,"altitude":46,"angle":61,"satellites":31,"speed":11,"hex_longitude":"2d0dd0c0","hex_latitude":"0706f988","is_valid_coordinates":true} 
[2026-08-10 08:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300909824001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27254780128657408,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995014072853829632,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786331681000,"timestamp_ms":1786331681000,"timestamp_seconds":1786331681,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9aa50e8"} 
[2026-08-10 08:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-10 08:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300909824001,"66":14026,"219":206,"94":10240,"24":11,"16":27254780128657408,"45":995014072853829632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300909824001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:45:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:45:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27254780128657408,"km_value":27254780128657.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":995014072853829632,"description":"Unknown IO ID 45"} 
[2026-08-10 08:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300909824001,"power":14026,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":995014072853829632}} 
[2026-08-10 08:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":151347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:45:01] local.INFO: GPS data processed {"connection_id":151347,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:45:01] local.INFO: Acknowledgment sent {"connection_id":151347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:45:04] local.INFO: TCP Data received {"connection_id":152640,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:45:04] local.INFO: Processing buffer {"connection_id":152640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:45:04] local.INFO: IMEI packet received {"connection_id":152640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":152640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:45:05] local.INFO: TCP Data received {"connection_id":152640,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:45:05] local.INFO: Processing buffer {"connection_id":152640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:45:05] local.INFO: Packet analysis {"connection_id":152640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:45:05] local.INFO: Extracted packet for processing {"connection_id":152640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300796416001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786331537000,"timestamp_ms":1786331537000,"timestamp_seconds":1786331537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a81e68"} 
[2026-08-10 08:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 08:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300796416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300796416001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300796416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":152640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:45:05] local.INFO: GPS data processed {"connection_id":152640,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:45:05] local.INFO: Acknowledgment sent {"connection_id":152640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:45:15] local.INFO: TCP Data received {"connection_id":151729,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:45:15] local.INFO: Processing buffer {"connection_id":151729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:45:15] local.INFO: IMEI packet received {"connection_id":151729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":151729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:45:19] local.INFO: TCP Data received {"connection_id":151729,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:45:19] local.INFO: Processing buffer {"connection_id":151729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:45:19] local.INFO: IMEI packet received {"connection_id":151729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":151729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:45:20] local.INFO: TCP Data received {"connection_id":151729,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a99568012d7d1ac005ea5be8000b000623..."} 
[2026-08-10 08:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a99568012d7d1ac005ea5be8000b000623..."} 
[2026-08-10 08:45:20] local.INFO: Processing buffer {"connection_id":151729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a99568012d7d1ac005ea5be8000b000623..."} 
[2026-08-10 08:45:20] local.INFO: Packet analysis {"connection_id":151729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a9"} 
[2026-08-10 08:45:20] local.INFO: Extracted packet for processing {"connection_id":151729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a9"} 
[2026-08-10 08:45:20] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":99245032,"longitude_deg":76.3173568,"latitude_deg":9.9245032,"altitude":11,"angle":6,"satellites":35,"speed":11,"hex_longitude":"2d7d1ac0","hex_latitude":"05ea5be8","is_valid_coordinates":true} 
[2026-08-10 08:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300897536001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117168090814349312,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014658367030427648,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786331633000,"timestamp_ms":1786331633000,"timestamp_seconds":1786331633,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a99568"} 
[2026-08-10 08:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:45: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":9,"data_length":795,"current_offset":136} 
[2026-08-10 08:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2522015791495250944,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3920141160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:20] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-6308320415957838464,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469710542,"corrected_to":0} 
[2026-08-10 08:45:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1591987283869826780,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4179114681727660457,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:20] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755562649944305,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:20] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,154,87,24,241,157,16,67,159,118,45,88,11,36,10,66,102,64,84,39,1,240,178,227,233,234,4,113,205,5,206,239,51,2,160,6,38,54,215],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1469710542,"validated":0}]} 
[2026-08-10 08:45:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792654575462318080,"timestamp_seconds":792654575462318.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300897536001,"66":12982,"154":206,"87":13824,"24":11,"16":117168090814349312,"45":9014658367030427648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-10 08:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300897536001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:45:20] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-10 08:45:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117168090814349312,"km_value":117168090814349.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014658367030427648,"description":"Unknown IO ID 45"} 
[2026-08-10 08:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300897536001,"power":12982,"unknown_154":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9014658367030427648}} 
[2026-08-10 08:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":151729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:45:20] local.INFO: GPS data processed {"connection_id":151729,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:45:20] local.INFO: Acknowledgment sent {"connection_id":151729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:45:24] local.INFO: TCP Data received {"connection_id":151730,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:45:24] local.INFO: Processing buffer {"connection_id":151730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:45:24] local.INFO: IMEI packet received {"connection_id":151730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":151730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:45:29] local.INFO: TCP Data received {"connection_id":151730,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:45:29] local.INFO: Processing buffer {"connection_id":151730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:45:29] local.INFO: IMEI packet received {"connection_id":151730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":151730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:45:30] local.INFO: TCP Data received {"connection_id":151730,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9aa58b8012d0dd2800706fa90002e004b1e..."} 
[2026-08-10 08:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9aa58b8012d0dd2800706fa90002e004b1e..."} 
[2026-08-10 08:45:30] local.INFO: Processing buffer {"connection_id":151730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9aa58b8012d0dd2800706fa90002e004b1e..."} 
[2026-08-10 08:45:30] local.INFO: Packet analysis {"connection_id":151730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9aa"} 
[2026-08-10 08:45:30] local.INFO: Extracted packet for processing {"connection_id":151730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9aa"} 
[2026-08-10 08:45:30] local.INFO: GPS Element Parsed {"raw_longitude":755880576,"raw_latitude":117897872,"longitude_deg":75.5880576,"latitude_deg":11.7897872,"altitude":46,"angle":75,"satellites":30,"speed":11,"hex_longitude":"2d0dd280","hex_latitude":"0706fa90","is_valid_coordinates":true} 
[2026-08-10 08:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300910336001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27254805898461184,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995506654063200256,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786331683000,"timestamp_ms":1786331683000,"timestamp_seconds":1786331683,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9aa58b8"} 
[2026-08-10 08:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-10 08:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300910336001,"66":14515,"219":206,"94":10240,"24":11,"16":27254805898461184,"45":995506654063200256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300910336001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:45:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:45:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27254805898461184,"km_value":27254805898461.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":995506654063200256,"description":"Unknown IO ID 45"} 
[2026-08-10 08:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300910336001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":995506654063200256}} 
[2026-08-10 08:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":151730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618615,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:45:30] local.INFO: GPS data processed {"connection_id":151730,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:45:30] local.INFO: Acknowledgment sent {"connection_id":151730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:45:47] local.INFO: TCP Data received {"connection_id":152640,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:45:47] local.INFO: Processing buffer {"connection_id":152640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:45:47] local.INFO: Packet analysis {"connection_id":152640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:45:47] local.INFO: Extracted packet for processing {"connection_id":152640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300796416001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786331537000,"timestamp_ms":1786331537000,"timestamp_seconds":1786331537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a81e68"} 
[2026-08-10 08:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 08:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300796416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300796416001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:45:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300796416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":152640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:45:47] local.INFO: GPS data processed {"connection_id":152640,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:45:47] local.INFO: Acknowledgment sent {"connection_id":152640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:45:51] local.INFO: TCP Data received {"connection_id":151729,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a9d000012d7d1d0005ea7e68000d016723..."} 
[2026-08-10 08:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a9d000012d7d1d0005ea7e68000d016723..."} 
[2026-08-10 08:45:51] local.INFO: Processing buffer {"connection_id":151729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a9d000012d7d1d0005ea7e68000d016723..."} 
[2026-08-10 08:45:51] local.INFO: Packet analysis {"connection_id":151729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a9"} 
[2026-08-10 08:45:51] local.INFO: Extracted packet for processing {"connection_id":151729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a9"} 
[2026-08-10 08:45:51] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99253864,"longitude_deg":76.3174144,"latitude_deg":9.9253864,"altitude":13,"angle":359,"satellites":35,"speed":21,"hex_longitude":"2d7d1d00","hex_latitude":"05ea7e68","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300898048001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117168520311078912,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735774730240,"note":"Value kept but may cause issues"} 
[2026-08-10 08:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786331648000,"timestamp_ms":1786331648000,"timestamp_seconds":1786331648,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a9d000"} 
[2026-08-10 08:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-10 08:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300898048001,"66":13135,"154":206,"87":13824,"24":21,"16":117168520311078912,"45":9014728735774730240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-10 08:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300898048001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:45:51] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-10 08:45:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117168520311078912,"km_value":117168520311078.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735774730240,"description":"Unknown IO ID 45"} 
[2026-08-10 08:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300898048001,"power":13135,"unknown_154":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":9014728735774730240}} 
[2026-08-10 08:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":151729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:45:52] local.INFO: GPS data processed {"connection_id":151729,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:45:52] local.INFO: Acknowledgment sent {"connection_id":151729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:45:59] local.INFO: TCP Data received {"connection_id":154096,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:45:59] local.INFO: Processing buffer {"connection_id":154096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:45:59] local.INFO: IMEI packet received {"connection_id":154096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":154096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:46:01] local.INFO: TCP Data received {"connection_id":151730,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9aa6470012d0dd5400706fb40002d00581d..."} 
[2026-08-10 08:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9aa6470012d0dd5400706fb40002d00581d..."} 
[2026-08-10 08:46:01] local.INFO: Processing buffer {"connection_id":151730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9aa6470012d0dd5400706fb40002d00581d..."} 
[2026-08-10 08:46:01] local.INFO: Packet analysis {"connection_id":151730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9aa"} 
[2026-08-10 08:46:01] local.INFO: Extracted packet for processing {"connection_id":151730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9aa"} 
[2026-08-10 08:46:01] local.INFO: GPS Element Parsed {"raw_longitude":755881280,"raw_latitude":117898048,"longitude_deg":75.588128,"latitude_deg":11.7898048,"altitude":45,"angle":88,"satellites":29,"speed":6,"hex_longitude":"2d0dd540","hex_latitude":"0706fb40","is_valid_coordinates":true} 
[2026-08-10 08:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300910848001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27254840258199552,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995999235272511488,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786331686000,"timestamp_ms":1786331686000,"timestamp_seconds":1786331686,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9aa6470"} 
[2026-08-10 08:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 08:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300910848001,"66":13939,"219":206,"94":10240,"24":6,"16":27254840258199552,"45":995999235272511488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300910848001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:46:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:46:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27254840258199552,"km_value":27254840258199.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":995999235272511488,"description":"Unknown IO ID 45"} 
[2026-08-10 08:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300910848001,"power":13939,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":995999235272511488}} 
[2026-08-10 08:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":151730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618618,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:46:01] local.INFO: GPS data processed {"connection_id":151730,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:46:01] local.INFO: Acknowledgment sent {"connection_id":151730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:46:04] local.INFO: TCP Data received {"connection_id":154096,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:46:04] local.INFO: Processing buffer {"connection_id":154096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:46:04] local.INFO: IMEI packet received {"connection_id":154096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":154096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:46:06] local.INFO: TCP Data received {"connection_id":154096,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:46:06] local.INFO: Processing buffer {"connection_id":154096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:46:06] local.INFO: Packet analysis {"connection_id":154096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:46:06] local.INFO: Extracted packet for processing {"connection_id":154096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300796416001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786331537000,"timestamp_ms":1786331537000,"timestamp_seconds":1786331537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a81e68"} 
[2026-08-10 08:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 08:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300796416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300796416001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300796416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":154096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:46:06] local.INFO: GPS data processed {"connection_id":154096,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:46:06] local.INFO: Acknowledgment sent {"connection_id":154096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:46:15] local.INFO: TCP Data received {"connection_id":151348,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:46:15] local.INFO: Processing buffer {"connection_id":151348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:46:15] local.INFO: IMEI packet received {"connection_id":151348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":151348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:46:15] local.INFO: TCP Data received {"connection_id":151348,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:46:15] local.INFO: Processing buffer {"connection_id":151348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:46:15] local.INFO: IMEI packet received {"connection_id":151348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":151348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:46:20] local.INFO: TCP Data received {"connection_id":151348,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:46:20] local.INFO: Processing buffer {"connection_id":151348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:46:20] local.INFO: IMEI packet received {"connection_id":151348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":151348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:46:20] local.INFO: TCP Data received {"connection_id":151348,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9aa2208012d7d1cc005ea8988000a000624..."} 
[2026-08-10 08:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9aa2208012d7d1cc005ea8988000a000624..."} 
[2026-08-10 08:46:20] local.INFO: Processing buffer {"connection_id":151348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9aa2208012d7d1cc005ea8988000a000624..."} 
[2026-08-10 08:46:20] local.INFO: Packet analysis {"connection_id":151348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9aa"} 
[2026-08-10 08:46:20] local.INFO: Extracted packet for processing {"connection_id":151348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9aa"} 
[2026-08-10 08:46:20] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99256712,"longitude_deg":76.317408,"latitude_deg":9.9256712,"altitude":10,"angle":6,"satellites":36,"speed":5,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea8988","is_valid_coordinates":true} 
[2026-08-10 08:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300901888001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117168670634934272,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054474590208,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786331669000,"timestamp_ms":1786331669000,"timestamp_seconds":1786331669,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9aa2208"} 
[2026-08-10 08:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-10 08:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300901888001,"66":13135,"154":206,"87":13824,"24":5,"16":117168670634934272,"45":9015362054474590208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-10 08:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300901888001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:46:20] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-10 08:46:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117168670634934272,"km_value":117168670634934.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054474590208,"description":"Unknown IO ID 45"} 
[2026-08-10 08:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300901888001,"power":13135,"unknown_154":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9015362054474590208}} 
[2026-08-10 08:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":151348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:46:20] local.INFO: GPS data processed {"connection_id":151348,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:46:20] local.INFO: Acknowledgment sent {"connection_id":151348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:46:24] local.INFO: TCP Data received {"connection_id":154097,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:46:24] local.INFO: Processing buffer {"connection_id":154097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:46:24] local.INFO: IMEI packet received {"connection_id":154097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":154097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:46:25] local.INFO: TCP Data received {"connection_id":154097,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:46:25] local.INFO: Processing buffer {"connection_id":154097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:46:25] local.INFO: IMEI packet received {"connection_id":154097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":154097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:46:25] local.INFO: TCP Data received {"connection_id":154097,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:46:25] local.INFO: Processing buffer {"connection_id":154097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:46:25] local.INFO: IMEI packet received {"connection_id":154097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":154097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:46:29] local.INFO: TCP Data received {"connection_id":154097,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:46:29] local.INFO: Processing buffer {"connection_id":154097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:46:29] local.INFO: IMEI packet received {"connection_id":154097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":154097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:46:30] local.INFO: TCP Data received {"connection_id":154097,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9abac90012d0e3d4007070060002800ae20..."} 
[2026-08-10 08:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9abac90012d0e3d4007070060002800ae20..."} 
[2026-08-10 08:46:30] local.INFO: Processing buffer {"connection_id":154097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9abac90012d0e3d4007070060002800ae20..."} 
[2026-08-10 08:46:30] local.INFO: Packet analysis {"connection_id":154097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ab"} 
[2026-08-10 08:46:30] local.INFO: Extracted packet for processing {"connection_id":154097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ab"} 
[2026-08-10 08:46:30] local.INFO: GPS Element Parsed {"raw_longitude":755907904,"raw_latitude":117899360,"longitude_deg":75.5907904,"latitude_deg":11.789936,"altitude":40,"angle":174,"satellites":32,"speed":9,"hex_longitude":"2d0e3d40","hex_latitude":"07070060","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300932608001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27256171698061312,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025765214060167168,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786331770000,"timestamp_ms":1786331770000,"timestamp_seconds":1786331770,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9abac90"} 
[2026-08-10 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-08-10 08:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 08:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154097,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154097,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300932608001,"66":14407,"219":206,"94":10240,"24":9,"16":27256171698061312,"45":1025765214060167168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300932608001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:46:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:46:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27256171698061312,"km_value":27256171698061.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025765214060167168,"description":"Unknown IO ID 45"} 
[2026-08-10 08:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300932608001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1025765214060167168}} 
[2026-08-10 08:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":154097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618621,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:46:30] local.INFO: GPS data processed {"connection_id":154097,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:46:30] local.INFO: Acknowledgment sent {"connection_id":154097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:46:37] local.INFO: TCP Data received {"connection_id":154096,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:46:37] local.INFO: Processing buffer {"connection_id":154096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:46:37] local.INFO: Packet analysis {"connection_id":154096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:46:37] local.INFO: Extracted packet for processing {"connection_id":154096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300796416001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786331537000,"timestamp_ms":1786331537000,"timestamp_seconds":1786331537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a81e68"} 
[2026-08-10 08:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 08:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300796416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300796416001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300796416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":154096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:46:37] local.INFO: GPS data processed {"connection_id":154096,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:46:37] local.INFO: Acknowledgment sent {"connection_id":154096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:46:51] local.INFO: TCP Data received {"connection_id":151348,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9aa6470012d7d1f0005eaac280007000126..."} 
[2026-08-10 08:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9aa6470012d7d1f0005eaac280007000126..."} 
[2026-08-10 08:46:51] local.INFO: Processing buffer {"connection_id":151348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9aa6470012d7d1f0005eaac280007000126..."} 
[2026-08-10 08:46:51] local.INFO: Packet analysis {"connection_id":151348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9aa"} 
[2026-08-10 08:46:51] local.INFO: Extracted packet for processing {"connection_id":151348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9aa"} 
[2026-08-10 08:46:51] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99265576,"longitude_deg":76.3174656,"latitude_deg":9.9265576,"altitude":7,"angle":1,"satellites":38,"speed":18,"hex_longitude":"2d7d1f00","hex_latitude":"05eaac28","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300907264001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117169100131663872,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685731141632,"note":"Value kept but may cause issues"} 
[2026-08-10 08:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786331686000,"timestamp_ms":1786331686000,"timestamp_seconds":1786331686,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9aa6470"} 
[2026-08-10 08:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-10 08:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08: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-08-10 08:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300907264001,"66":13048,"154":206,"87":13824,"24":18,"16":117169100131663872,"45":9015291685731141632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-10 08:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300907264001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:46:51] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-10 08:46:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117169100131663872,"km_value":117169100131663.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685731141632,"description":"Unknown IO ID 45"} 
[2026-08-10 08:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300907264001,"power":13048,"unknown_154":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9015291685731141632}} 
[2026-08-10 08:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":151348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:46:51] local.INFO: GPS data processed {"connection_id":151348,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:46:51] local.INFO: Acknowledgment sent {"connection_id":151348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:46:59] local.INFO: TCP Data received {"connection_id":152641,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:46:59] local.INFO: Processing buffer {"connection_id":152641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:46:59] local.INFO: IMEI packet received {"connection_id":152641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":152641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:47:01] local.INFO: TCP Data received {"connection_id":154097,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9abb460012d0e3d000706fec8002800c420..."} 
[2026-08-10 08:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9abb460012d0e3d000706fec8002800c420..."} 
[2026-08-10 08:47:01] local.INFO: Processing buffer {"connection_id":154097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9abb460012d0e3d000706fec8002800c420..."} 
[2026-08-10 08:47:01] local.INFO: Packet analysis {"connection_id":154097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ab"} 
[2026-08-10 08:47:01] local.INFO: Extracted packet for processing {"connection_id":154097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ab"} 
[2026-08-10 08:47:01] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117898952,"longitude_deg":75.590784,"latitude_deg":11.7898952,"altitude":40,"angle":196,"satellites":32,"speed":8,"hex_longitude":"2d0e3d00","hex_latitude":"0706fec8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300933120001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27256188877930496,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026046689036754944,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786331772000,"timestamp_ms":1786331772000,"timestamp_seconds":1786331772,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9abb460"} 
[2026-08-10 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-08-10 08:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 08:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154097,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154097,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300933120001,"66":14407,"219":206,"94":10240,"24":8,"16":27256188877930496,"45":1026046689036754944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300933120001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:47:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:47:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27256188877930496,"km_value":27256188877930.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026046689036754944,"description":"Unknown IO ID 45"} 
[2026-08-10 08:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300933120001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1026046689036754944}} 
[2026-08-10 08:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":154097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618624,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:47:01] local.INFO: GPS data processed {"connection_id":154097,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:47:01] local.INFO: Acknowledgment sent {"connection_id":154097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:47:04] local.INFO: TCP Data received {"connection_id":152641,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:47:04] local.INFO: Processing buffer {"connection_id":152641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:47:04] local.INFO: IMEI packet received {"connection_id":152641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":152641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:47:06] local.INFO: TCP Data received {"connection_id":152641,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:47:06] local.INFO: Processing buffer {"connection_id":152641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:47:06] local.INFO: Packet analysis {"connection_id":152641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:47:06] local.INFO: Extracted packet for processing {"connection_id":152641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300796416001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786331537000,"timestamp_ms":1786331537000,"timestamp_seconds":1786331537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a81e68"} 
[2026-08-10 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-08-10 08:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 08:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300796416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300796416001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:47:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300796416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":152641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:47:06] local.INFO: GPS data processed {"connection_id":152641,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:47:06] local.INFO: Acknowledgment sent {"connection_id":152641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:47:14] local.INFO: TCP Data received {"connection_id":154098,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:47:14] local.INFO: Processing buffer {"connection_id":154098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:47:14] local.INFO: IMEI packet received {"connection_id":154098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":154098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:47:15] local.INFO: TCP Data received {"connection_id":154098,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:47:15] local.INFO: Processing buffer {"connection_id":154098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:47:15] local.INFO: IMEI packet received {"connection_id":154098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":154098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:47:19] local.INFO: TCP Data received {"connection_id":154098,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:47:19] local.INFO: Processing buffer {"connection_id":154098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:47:19] local.INFO: IMEI packet received {"connection_id":154098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":154098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:47:20] local.INFO: TCP Data received {"connection_id":154098,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ac1dd8012d7cf50005eaee60000c010f1f..."} 
[2026-08-10 08:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ac1dd8012d7cf50005eaee60000c010f1f..."} 
[2026-08-10 08:47:20] local.INFO: Processing buffer {"connection_id":154098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ac1dd8012d7cf50005eaee60000c010f1f..."} 
[2026-08-10 08:47:20] local.INFO: Packet analysis {"connection_id":154098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:47:20] local.INFO: Extracted packet for processing {"connection_id":154098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:47:20] local.INFO: GPS Element Parsed {"raw_longitude":763163904,"raw_latitude":99282528,"longitude_deg":76.3163904,"latitude_deg":9.9282528,"altitude":12,"angle":271,"satellites":31,"speed":0,"hex_longitude":"2d7cf500","hex_latitude":"05eaee60","is_valid_coordinates":true} 
[2026-08-10 08:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300935168001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117170719334334464,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005440061552932864,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786331799000,"timestamp_ms":1786331799000,"timestamp_seconds":1786331799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ac1dd8"} 
[2026-08-10 08:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 08:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300935168001,"66":12645,"158":206,"87":13824,"24":0,"16":117170719334334464,"45":9005440061552932864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 08:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300935168001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:47:20] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 08:47:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117170719334334464,"km_value":117170719334334.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005440061552932864,"description":"Unknown IO ID 45"} 
[2026-08-10 08:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300935168001,"power":12645,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9005440061552932864}} 
[2026-08-10 08:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":154098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:47:20] local.INFO: GPS data processed {"connection_id":154098,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:47:20] local.INFO: Acknowledgment sent {"connection_id":154098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:47:24] local.INFO: TCP Data received {"connection_id":154099,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154099,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:47:24] local.INFO: Processing buffer {"connection_id":154099,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:47:24] local.INFO: IMEI packet received {"connection_id":154099,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":154099,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:47:29] local.INFO: TCP Data received {"connection_id":154099,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154099,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:47:29] local.INFO: Processing buffer {"connection_id":154099,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:47:29] local.INFO: IMEI packet received {"connection_id":154099,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":154099,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:47:30] local.INFO: TCP Data received {"connection_id":154099,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9abc400012d0e3c400706fb30002800b720..."} 
[2026-08-10 08:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9abc400012d0e3c400706fb30002800b720..."} 
[2026-08-10 08:47:30] local.INFO: Processing buffer {"connection_id":154099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9abc400012d0e3c400706fb30002800b720..."} 
[2026-08-10 08:47:30] local.INFO: Packet analysis {"connection_id":154099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ab"} 
[2026-08-10 08:47:30] local.INFO: Extracted packet for processing {"connection_id":154099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ab"} 
[2026-08-10 08:47:30] local.INFO: GPS Element Parsed {"raw_longitude":755907648,"raw_latitude":117898032,"longitude_deg":75.5907648,"latitude_deg":11.7898032,"altitude":40,"angle":183,"satellites":32,"speed":9,"hex_longitude":"2d0e3c40","hex_latitude":"0706fb30","is_valid_coordinates":true} 
[2026-08-10 08:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300933632001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27256236122570752,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025976320292472832,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786331776000,"timestamp_ms":1786331776000,"timestamp_seconds":1786331776,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9abc400"} 
[2026-08-10 08:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 08:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154099,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154099,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300933632001,"66":14396,"219":206,"94":10240,"24":9,"16":27256236122570752,"45":1025976320292472832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300933632001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:47:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:47:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27256236122570752,"km_value":27256236122570.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025976320292472832,"description":"Unknown IO ID 45"} 
[2026-08-10 08:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300933632001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1025976320292472832}} 
[2026-08-10 08:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":154099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618627,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:47:30] local.INFO: GPS data processed {"connection_id":154099,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:47:30] local.INFO: Acknowledgment sent {"connection_id":154099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:47:38] local.INFO: TCP Data received {"connection_id":152641,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:47:38] local.INFO: Processing buffer {"connection_id":152641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9a81e68012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:47:38] local.INFO: Packet analysis {"connection_id":152641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:47:38] local.INFO: Extracted packet for processing {"connection_id":152641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9a8"} 
[2026-08-10 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300796416001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786331537000,"timestamp_ms":1786331537000,"timestamp_seconds":1786331537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9a81e68"} 
[2026-08-10 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-08-10 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 08:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:47: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-08-10 08:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300796416001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300796416001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300796416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":152641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:47:38] local.INFO: GPS data processed {"connection_id":152641,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:47:38] local.INFO: Acknowledgment sent {"connection_id":152641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:47:51] local.INFO: TCP Data received {"connection_id":154098,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ac6fe0012d7cf50005eaee60000c010f1b..."} 
[2026-08-10 08:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ac6fe0012d7cf50005eaee60000c010f1b..."} 
[2026-08-10 08:47:51] local.INFO: Processing buffer {"connection_id":154098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ac6fe0012d7cf50005eaee60000c010f1b..."} 
[2026-08-10 08:47:51] local.INFO: Packet analysis {"connection_id":154098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:47:51] local.INFO: Extracted packet for processing {"connection_id":154098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:47:51] local.INFO: GPS Element Parsed {"raw_longitude":763163904,"raw_latitude":99282528,"longitude_deg":76.3163904,"latitude_deg":9.9282528,"altitude":12,"angle":271,"satellites":27,"speed":0,"hex_longitude":"2d7cf500","hex_latitude":"05eaee60","is_valid_coordinates":true} 
[2026-08-10 08:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300940544001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117170719334334464,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004103055413501952,"note":"Value kept but may cause issues"} 
[2026-08-10 08:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786331820000,"timestamp_ms":1786331820000,"timestamp_seconds":1786331820,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ac6fe0"} 
[2026-08-10 08:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:47: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":101,"data_length":795,"current_offset":136} 
[2026-08-10 08:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300940544001,"66":13189,"158":206,"87":13824,"24":0,"16":117170719334334464,"45":9004103055413501952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 08:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300940544001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:47:51] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 08:47:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117170719334334464,"km_value":117170719334334.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004103055413501952,"description":"Unknown IO ID 45"} 
[2026-08-10 08:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300940544001,"power":13189,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9004103055413501952}} 
[2026-08-10 08:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":154098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:47:51] local.INFO: GPS data processed {"connection_id":154098,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:47:51] local.INFO: Acknowledgment sent {"connection_id":154098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:47:59] local.INFO: TCP Data received {"connection_id":151349,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:47:59] local.INFO: Processing buffer {"connection_id":151349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:47:59] local.INFO: IMEI packet received {"connection_id":151349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":151349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:48:01] local.INFO: TCP Data received {"connection_id":154099,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ad2b60012d0e268007068368001a012a21..."} 
[2026-08-10 08:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ad2b60012d0e268007068368001a012a21..."} 
[2026-08-10 08:48:01] local.INFO: Processing buffer {"connection_id":154099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ad2b60012d0e268007068368001a012a21..."} 
[2026-08-10 08:48:01] local.INFO: Packet analysis {"connection_id":154099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ad"} 
[2026-08-10 08:48:01] local.INFO: Extracted packet for processing {"connection_id":154099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ad"} 
[2026-08-10 08:48:01] local.INFO: GPS Element Parsed {"raw_longitude":755902080,"raw_latitude":117867368,"longitude_deg":75.590208,"latitude_deg":11.7867368,"altitude":26,"angle":298,"satellites":33,"speed":13,"hex_longitude":"2d0e2680","hex_latitude":"07068368","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300957184001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27257885390012416,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020769033215158272,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786331868000,"timestamp_ms":1786331868000,"timestamp_seconds":1786331868,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ad2b60"} 
[2026-08-10 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-08-10 08:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 08:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154099,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154099,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300957184001,"66":14450,"219":206,"94":10240,"24":13,"16":27257885390012416,"45":1020769033215158272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300957184001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:48:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:48:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27257885390012416,"km_value":27257885390012.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020769033215158272,"description":"Unknown IO ID 45"} 
[2026-08-10 08:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300957184001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1020769033215158272}} 
[2026-08-10 08:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":154099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618630,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:48:01] local.INFO: GPS data processed {"connection_id":154099,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:48:01] local.INFO: Acknowledgment sent {"connection_id":154099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:48:05] local.INFO: TCP Data received {"connection_id":151349,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:48:05] local.INFO: Processing buffer {"connection_id":151349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:48:05] local.INFO: IMEI packet received {"connection_id":151349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":151349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:48:05] local.INFO: TCP Data received {"connection_id":151349,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:48:05] local.INFO: Processing buffer {"connection_id":151349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:48:05] local.INFO: Packet analysis {"connection_id":151349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:48:05] local.INFO: Extracted packet for processing {"connection_id":151349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300873472001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786331838000,"timestamp_ms":1786331838000,"timestamp_seconds":1786331838,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9acb630"} 
[2026-08-10 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-08-10 08:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 08:48: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-08-10 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-08-10 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-08-10 08:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300873472001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300873472001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:48:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300873472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":151349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:48:05] local.INFO: GPS data processed {"connection_id":151349,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:48:05] local.INFO: Acknowledgment sent {"connection_id":151349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:48:14] local.INFO: TCP Data received {"connection_id":152642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:48:14] local.INFO: Processing buffer {"connection_id":152642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:48:14] local.INFO: IMEI packet received {"connection_id":152642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":152642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:48:17] local.INFO: TCP Data received {"connection_id":152642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:48:17] local.INFO: Processing buffer {"connection_id":152642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:48:17] local.INFO: IMEI packet received {"connection_id":152642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":152642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:48:18] local.INFO: TCP Data received {"connection_id":152642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:48:18] local.INFO: Processing buffer {"connection_id":152642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:48:18] local.INFO: IMEI packet received {"connection_id":152642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":152642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:48:19] local.INFO: TCP Data received {"connection_id":152642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:48:19] local.INFO: Processing buffer {"connection_id":152642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:48:19] local.INFO: IMEI packet received {"connection_id":152642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":152642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:48:20] local.INFO: TCP Data received {"connection_id":152642,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ac8750012d7cf30005eaef08000c01011b..."} 
[2026-08-10 08:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ac8750012d7cf30005eaef08000c01011b..."} 
[2026-08-10 08:48:20] local.INFO: Processing buffer {"connection_id":152642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ac8750012d7cf30005eaef08000c01011b..."} 
[2026-08-10 08:48:20] local.INFO: Packet analysis {"connection_id":152642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:48:20] local.INFO: Extracted packet for processing {"connection_id":152642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:48:20] local.INFO: GPS Element Parsed {"raw_longitude":763163392,"raw_latitude":99282696,"longitude_deg":76.3163392,"latitude_deg":9.9282696,"altitude":12,"angle":257,"satellites":27,"speed":3,"hex_longitude":"2d7cf300","hex_latitude":"05eaef08","is_valid_coordinates":true} 
[2026-08-10 08:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300945920001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117170745104138240,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004103055413501952,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786331826000,"timestamp_ms":1786331826000,"timestamp_seconds":1786331826,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ac8750"} 
[2026-08-10 08:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 08:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300945920001,"66":12917,"158":206,"87":13824,"24":3,"16":117170745104138240,"45":9004103055413501952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 08:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300945920001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:48:20] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 08:48:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117170745104138240,"km_value":117170745104138.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004103055413501952,"description":"Unknown IO ID 45"} 
[2026-08-10 08:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300945920001,"power":12917,"unknown_158":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9004103055413501952}} 
[2026-08-10 08:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":152642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:48:20] local.INFO: GPS data processed {"connection_id":152642,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:48:20] local.INFO: Acknowledgment sent {"connection_id":152642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:48:24] local.INFO: TCP Data received {"connection_id":151350,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:48:24] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:48:24] local.INFO: IMEI packet received {"connection_id":151350,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":151350,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:48:25] local.INFO: TCP Data received {"connection_id":152642,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9aca690012d7cea0005eaed90000b010f1f..."} 
[2026-08-10 08:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9aca690012d7cea0005eaed90000b010f1f..."} 
[2026-08-10 08:48:25] local.INFO: Processing buffer {"connection_id":152642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9aca690012d7cea0005eaed90000b010f1f..."} 
[2026-08-10 08:48:25] local.INFO: Packet analysis {"connection_id":152642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:48:25] local.INFO: Extracted packet for processing {"connection_id":152642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763161088,"raw_latitude":99282320,"longitude_deg":76.3161088,"latitude_deg":9.928232,"altitude":11,"angle":271,"satellites":31,"speed":16,"hex_longitude":"2d7cea00","hex_latitude":"05eaed90","is_valid_coordinates":true} 
[2026-08-10 08:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300947456001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117170856773287936,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003540105460123648,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786331834000,"timestamp_ms":1786331834000,"timestamp_seconds":1786331834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9aca690"} 
[2026-08-10 08:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 08:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300947456001,"66":13352,"158":206,"87":13824,"24":16,"16":117170856773287936,"45":9003540105460123648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 08:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300947456001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:48:25] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 08:48:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117170856773287936,"km_value":117170856773287.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003540105460123648,"description":"Unknown IO ID 45"} 
[2026-08-10 08:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300947456001,"power":13352,"unknown_158":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9003540105460123648}} 
[2026-08-10 08:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":152642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:48:25] local.INFO: GPS data processed {"connection_id":152642,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:48:25] local.INFO: Acknowledgment sent {"connection_id":152642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:48:27] local.INFO: TCP Data received {"connection_id":151350,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:48:27] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:48:27] local.INFO: IMEI packet received {"connection_id":151350,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":151350,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:48:27] local.INFO: TCP Data received {"connection_id":151350,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:48:27] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:48:27] local.INFO: IMEI packet received {"connection_id":151350,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":151350,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:48:28] local.INFO: TCP Data received {"connection_id":151350,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ad3b00012d0e2040070685700018011a20..."} 
[2026-08-10 08:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ad3b00012d0e2040070685700018011a20..."} 
[2026-08-10 08:48:28] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ad3b00012d0e2040070685700018011a20..."} 
[2026-08-10 08:48:28] local.INFO: Packet analysis {"connection_id":151350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ad"} 
[2026-08-10 08:48:28] local.INFO: Extracted packet for processing {"connection_id":151350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ad"} 
[2026-08-10 08:48:28] local.INFO: GPS Element Parsed {"raw_longitude":755900480,"raw_latitude":117867888,"longitude_deg":75.590048,"latitude_deg":11.7867888,"altitude":24,"angle":282,"satellites":32,"speed":17,"hex_longitude":"2d0e2040","hex_latitude":"07068570","is_valid_coordinates":true} 
[2026-08-10 08:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300958208001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27257962699423744,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1019643133308397568,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786331872000,"timestamp_ms":1786331872000,"timestamp_seconds":1786331872,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ad3b00"} 
[2026-08-10 08:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 08:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":151350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":151350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":151350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300958208001,"66":14515,"219":206,"94":10240,"24":17,"16":27257962699423744,"45":1019643133308397568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300958208001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:48:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:48:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27257962699423744,"km_value":27257962699423.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1019643133308397568,"description":"Unknown IO ID 45"} 
[2026-08-10 08:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300958208001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":1019643133308397568}} 
[2026-08-10 08:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":151350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618634,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:48:28] local.INFO: GPS data processed {"connection_id":151350,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:48:28] local.INFO: Acknowledgment sent {"connection_id":151350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:48:29] local.INFO: TCP Data received {"connection_id":151350,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ad5658012d0e1400070686c00016010e20..."} 
[2026-08-10 08:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ad5658012d0e1400070686c00016010e20..."} 
[2026-08-10 08:48:29] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ad5658012d0e1400070686c00016010e20..."} 
[2026-08-10 08:48:29] local.INFO: Packet analysis {"connection_id":151350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ad"} 
[2026-08-10 08:48:29] local.INFO: Extracted packet for processing {"connection_id":151350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ad"} 
[2026-08-10 08:48:29] local.INFO: GPS Element Parsed {"raw_longitude":755897344,"raw_latitude":117868224,"longitude_deg":75.5897344,"latitude_deg":11.7868224,"altitude":22,"angle":270,"satellites":32,"speed":15,"hex_longitude":"2d0e1400","hex_latitude":"070686c0","is_valid_coordinates":true} 
[2026-08-10 08:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300959232001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27258113023279104,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1017883914704089088,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786331879000,"timestamp_ms":1786331879000,"timestamp_seconds":1786331879,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ad5658"} 
[2026-08-10 08:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 08:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300959232001,"66":14407,"219":206,"94":10240,"24":15,"16":27258113023279104,"45":1017883914704089088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300959232001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:48:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:48:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27258113023279104,"km_value":27258113023279.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1017883914704089088,"description":"Unknown IO ID 45"} 
[2026-08-10 08:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300959232001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":1017883914704089088}} 
[2026-08-10 08:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":151350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618635,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:48:29] local.INFO: GPS data processed {"connection_id":151350,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:48:29] local.INFO: Acknowledgment sent {"connection_id":151350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:48:37] local.INFO: TCP Data received {"connection_id":151349,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:48:37] local.INFO: Processing buffer {"connection_id":151349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:48:37] local.INFO: Packet analysis {"connection_id":151349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:48:37] local.INFO: Extracted packet for processing {"connection_id":151349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300873472001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786331838000,"timestamp_ms":1786331838000,"timestamp_seconds":1786331838,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9acb630"} 
[2026-08-10 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-08-10 08:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 08:48: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-08-10 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-08-10 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-08-10 08:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300873472001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300873472001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300873472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":151349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:48:37] local.INFO: GPS data processed {"connection_id":151349,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:48:37] local.INFO: Acknowledgment sent {"connection_id":151349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:48:56] local.INFO: TCP Data received {"connection_id":152642,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9acf898012d7ce10005eaedc0000b010d26..."} 
[2026-08-10 08:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9acf898012d7ce10005eaedc0000b010d26..."} 
[2026-08-10 08:48:56] local.INFO: Processing buffer {"connection_id":152642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9acf898012d7ce10005eaedc0000b010d26..."} 
[2026-08-10 08:48:56] local.INFO: Packet analysis {"connection_id":152642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:48:56] local.INFO: Extracted packet for processing {"connection_id":152642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763158784,"raw_latitude":99282368,"longitude_deg":76.3158784,"latitude_deg":9.9282368,"altitude":11,"angle":269,"satellites":38,"speed":0,"hex_longitude":"2d7ce100","hex_latitude":"05eaedc0","is_valid_coordinates":true} 
[2026-08-10 08:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300949504001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117170968442437632,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001006830669631488,"note":"Value kept but may cause issues"} 
[2026-08-10 08:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786331855000,"timestamp_ms":1786331855000,"timestamp_seconds":1786331855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9acf898"} 
[2026-08-10 08:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-10 08:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300949504001,"66":13352,"158":206,"87":13824,"24":0,"16":117170968442437632,"45":9001006830669631488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 08:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300949504001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:48:56] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 08:48:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117170968442437632,"km_value":117170968442437.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001006830669631488,"description":"Unknown IO ID 45"} 
[2026-08-10 08:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300949504001,"power":13352,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001006830669631488}} 
[2026-08-10 08:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":152642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:48:56] local.INFO: GPS data processed {"connection_id":152642,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:48:56] local.INFO: Acknowledgment sent {"connection_id":152642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:48:59] local.INFO: TCP Data received {"connection_id":152643,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:48:59] local.INFO: Processing buffer {"connection_id":152643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:48:59] local.INFO: IMEI packet received {"connection_id":152643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":152643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:49:00] local.INFO: TCP Data received {"connection_id":151350,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ae2560012d0e08c007068e980018009d1e..."} 
[2026-08-10 08:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ae2560012d0e08c007068e980018009d1e..."} 
[2026-08-10 08:49:00] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ae2560012d0e08c007068e980018009d1e..."} 
[2026-08-10 08:49:00] local.INFO: Packet analysis {"connection_id":151350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:49:00] local.INFO: Extracted packet for processing {"connection_id":151350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:49:00] local.INFO: GPS Element Parsed {"raw_longitude":755894464,"raw_latitude":117870232,"longitude_deg":75.5894464,"latitude_deg":11.7870232,"altitude":24,"angle":157,"satellites":30,"speed":6,"hex_longitude":"2d0e08c0","hex_latitude":"07068e98","is_valid_coordinates":true} 
[2026-08-10 08:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300974336001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27258551109943296,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011198884007843840,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786331932000,"timestamp_ms":1786331932000,"timestamp_seconds":1786331932,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ae2560"} 
[2026-08-10 08:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 08:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300974336001,"66":13559,"219":206,"94":10240,"24":6,"16":27258551109943296,"45":1011198884007843840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300974336001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:49:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:49:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27258551109943296,"km_value":27258551109943.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011198884007843840,"description":"Unknown IO ID 45"} 
[2026-08-10 08:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300974336001,"power":13559,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1011198884007843840}} 
[2026-08-10 08:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":151350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618638,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:49:00] local.INFO: GPS data processed {"connection_id":151350,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:49:00] local.INFO: Acknowledgment sent {"connection_id":151350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:49:04] local.INFO: TCP Data received {"connection_id":152643,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:49:04] local.INFO: Processing buffer {"connection_id":152643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:49:04] local.INFO: IMEI packet received {"connection_id":152643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":152643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:49:06] local.INFO: TCP Data received {"connection_id":152643,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:49:06] local.INFO: Processing buffer {"connection_id":152643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:49:06] local.INFO: Packet analysis {"connection_id":152643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:49:06] local.INFO: Extracted packet for processing {"connection_id":152643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300873472001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786331838000,"timestamp_ms":1786331838000,"timestamp_seconds":1786331838,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9acb630"} 
[2026-08-10 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-08-10 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 08:49: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-08-10 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-08-10 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-08-10 08:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300873472001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300873472001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300873472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":152643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:49:06] local.INFO: GPS data processed {"connection_id":152643,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:49:06] local.INFO: Acknowledgment sent {"connection_id":152643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:49:14] local.INFO: TCP Data received {"connection_id":154100,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:49:14] local.INFO: Processing buffer {"connection_id":154100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:49:14] local.INFO: IMEI packet received {"connection_id":154100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":154100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:49:19] local.INFO: TCP Data received {"connection_id":154100,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:49:19] local.INFO: Processing buffer {"connection_id":154100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:49:19] local.INFO: IMEI packet received {"connection_id":154100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":154100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:49:20] local.INFO: TCP Data received {"connection_id":154100,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ad4aa0012d7cc2c005eaea18000b010423..."} 
[2026-08-10 08:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ad4aa0012d7cc2c005eaea18000b010423..."} 
[2026-08-10 08:49:20] local.INFO: Processing buffer {"connection_id":154100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ad4aa0012d7cc2c005eaea18000b010423..."} 
[2026-08-10 08:49:20] local.INFO: Packet analysis {"connection_id":154100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ad"} 
[2026-08-10 08:49:20] local.INFO: Extracted packet for processing {"connection_id":154100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ad"} 
[2026-08-10 08:49:20] local.INFO: GPS Element Parsed {"raw_longitude":763151040,"raw_latitude":99281432,"longitude_deg":76.315104,"latitude_deg":9.9281432,"altitude":11,"angle":260,"satellites":35,"speed":14,"hex_longitude":"2d7cc2c0","hex_latitude":"05eaea18","is_valid_coordinates":true} 
[2026-08-10 08:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300954880001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117171342104592384,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998473555879247872,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786331876000,"timestamp_ms":1786331876000,"timestamp_seconds":1786331876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ad4aa0"} 
[2026-08-10 08:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-10 08:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300954880001,"66":12613,"158":206,"87":13824,"24":14,"16":117171342104592384,"45":8998473555879247872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 08:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300954880001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:49:20] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 08:49:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117171342104592384,"km_value":117171342104592.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998473555879247872,"description":"Unknown IO ID 45"} 
[2026-08-10 08:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300954880001,"power":12613,"unknown_158":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8998473555879247872}} 
[2026-08-10 08:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":154100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:49:21] local.INFO: GPS data processed {"connection_id":154100,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:49:21] local.INFO: Acknowledgment sent {"connection_id":154100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:49:24] local.INFO: TCP Data received {"connection_id":151731,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:49:24] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:49:24] local.INFO: IMEI packet received {"connection_id":151731,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":151731,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:49:29] local.INFO: TCP Data received {"connection_id":151731,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:49:29] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:49:29] local.INFO: IMEI packet received {"connection_id":151731,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":151731,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:49:29] local.INFO: TCP Data received {"connection_id":151731,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ae2d30012d0e090007068d00001900ab1b..."} 
[2026-08-10 08:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ae2d30012d0e090007068d00001900ab1b..."} 
[2026-08-10 08:49:29] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ae2d30012d0e090007068d00001900ab1b..."} 
[2026-08-10 08:49:29] local.INFO: Packet analysis {"connection_id":151731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:49:29] local.INFO: Extracted packet for processing {"connection_id":151731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:49:29] local.INFO: GPS Element Parsed {"raw_longitude":755894528,"raw_latitude":117869824,"longitude_deg":75.5894528,"latitude_deg":11.7869824,"altitude":25,"angle":171,"satellites":27,"speed":12,"hex_longitude":"2d0e0900","hex_latitude":"07068d00","is_valid_coordinates":true} 
[2026-08-10 08:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300974592001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27258568289812480,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011269252751988736,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786331934000,"timestamp_ms":1786331934000,"timestamp_seconds":1786331934,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ae2d30"} 
[2026-08-10 08:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 08:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300974592001,"66":14276,"219":206,"94":10240,"24":12,"16":27258568289812480,"45":1011269252751988736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300974592001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:49:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:49:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27258568289812480,"km_value":27258568289812.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011269252751988736,"description":"Unknown IO ID 45"} 
[2026-08-10 08:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300974592001,"power":14276,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1011269252751988736}} 
[2026-08-10 08:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":151731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618641,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:49:30] local.INFO: GPS data processed {"connection_id":151731,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:49:30] local.INFO: Acknowledgment sent {"connection_id":151731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:49:38] local.INFO: TCP Data received {"connection_id":152643,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:49:38] local.INFO: Processing buffer {"connection_id":152643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:49:38] local.INFO: Packet analysis {"connection_id":152643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:49:38] local.INFO: Extracted packet for processing {"connection_id":152643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300873472001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786331838000,"timestamp_ms":1786331838000,"timestamp_seconds":1786331838,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9acb630"} 
[2026-08-10 08:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 08:49: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-08-10 08:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:49: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-08-10 08:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300873472001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300873472001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300873472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":152643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:49:38] local.INFO: GPS data processed {"connection_id":152643,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:49:38] local.INFO: Acknowledgment sent {"connection_id":152643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:49:52] local.INFO: TCP Data received {"connection_id":154100,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9aee8b0012d7c3dc005eaca480006013b24..."} 
[2026-08-10 08:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9aee8b0012d7c3dc005eaca480006013b24..."} 
[2026-08-10 08:49:52] local.INFO: Processing buffer {"connection_id":154100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9aee8b0012d7c3dc005eaca480006013b24..."} 
[2026-08-10 08:49:52] local.INFO: Packet analysis {"connection_id":154100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:49:52] local.INFO: Extracted packet for processing {"connection_id":154100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:49:52] local.INFO: GPS Element Parsed {"raw_longitude":763116992,"raw_latitude":99273288,"longitude_deg":76.3116992,"latitude_deg":9.9273288,"altitude":6,"angle":315,"satellites":36,"speed":2,"hex_longitude":"2d7c3dc0","hex_latitude":"05eaca48","is_valid_coordinates":true} 
[2026-08-10 08:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300986368001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117173068681445376,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952593134673008640,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786331982000,"timestamp_ms":1786331982000,"timestamp_seconds":1786331982,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9aee8b0"} 
[2026-08-10 08:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 08:49:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3920518160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":14336,"corrected_to":0} 
[2026-08-10 08:49:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:52] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2926804993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:52] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-3352929896790483200,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-08-10 08:49:52] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57788166505912118,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:52] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1567253965198491653,"note":"Value kept but may cause issues"} 
[2026-08-10 08:49:52] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,10,87,24,241,157,16,72,159,209,45,64,200,6,34,66,201,199,197,128,1,240,18,227,233,234,4,113,205,20,92,112,33,239,52,8,2,160,5,62,174],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":200,"original":14336,"validated":0},{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-08-10 08:49:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432717349481873408,"timestamp_seconds":432717349481873.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300986368001,"66":13059,"10":206,"87":13824,"24":2,"16":117173068681445376,"45":8952593134673008640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 08:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300986368001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:49:52] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 08:49:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117173068681445376,"km_value":117173068681445.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952593134673008640,"description":"Unknown IO ID 45"} 
[2026-08-10 08:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300986368001,"power":13059,"unknown_10":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8952593134673008640}} 
[2026-08-10 08:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":154100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:49:52] local.INFO: GPS data processed {"connection_id":154100,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:49:52] local.INFO: Acknowledgment sent {"connection_id":154100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:50:00] local.INFO: TCP Data received {"connection_id":151732,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:50:00] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:50:00] local.INFO: IMEI packet received {"connection_id":151732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":151732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:50:01] local.INFO: TCP Data received {"connection_id":151731,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ae3cd0012d0e0a00070689680019009b1c..."} 
[2026-08-10 08:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ae3cd0012d0e0a00070689680019009b1c..."} 
[2026-08-10 08:50:01] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ae3cd0012d0e0a00070689680019009b1c..."} 
[2026-08-10 08:50:01] local.INFO: Packet analysis {"connection_id":151731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:50:01] local.INFO: Extracted packet for processing {"connection_id":151731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:50:01] local.INFO: GPS Element Parsed {"raw_longitude":755894784,"raw_latitude":117868904,"longitude_deg":75.5894784,"latitude_deg":11.7868904,"altitude":25,"angle":155,"satellites":28,"speed":6,"hex_longitude":"2d0e0a00","hex_latitude":"07068968","is_valid_coordinates":true} 
[2026-08-10 08:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300975104001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27258615534452736,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011339621496061952,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786331938000,"timestamp_ms":1786331938000,"timestamp_seconds":1786331938,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ae3cd0"} 
[2026-08-10 08:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 08:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300975104001,"66":14450,"219":206,"94":10240,"24":6,"16":27258615534452736,"45":1011339621496061952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300975104001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:50:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:50:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27258615534452736,"km_value":27258615534452.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011339621496061952,"description":"Unknown IO ID 45"} 
[2026-08-10 08:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300975104001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1011339621496061952}} 
[2026-08-10 08:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":151731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618644,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:50:01] local.INFO: GPS data processed {"connection_id":151731,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:50:01] local.INFO: Acknowledgment sent {"connection_id":151731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:50:05] local.INFO: TCP Data received {"connection_id":151732,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:50:05] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:50:05] local.INFO: IMEI packet received {"connection_id":151732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":151732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:50:06] local.INFO: TCP Data received {"connection_id":151732,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:50:06] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:50:06] local.INFO: Packet analysis {"connection_id":151732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:50:06] local.INFO: Extracted packet for processing {"connection_id":151732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300873472001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786331838000,"timestamp_ms":1786331838000,"timestamp_seconds":1786331838,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9acb630"} 
[2026-08-10 08:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 08:50: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-08-10 08:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300873472001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300873472001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300873472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":151732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:50:06] local.INFO: GPS data processed {"connection_id":151732,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:50:06] local.INFO: Acknowledgment sent {"connection_id":151732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:50:19] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:50:19] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:50:19] local.INFO: IMEI packet received {"connection_id":151351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":151351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:50:20] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:50:20] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:50:20] local.INFO: IMEI packet received {"connection_id":151351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":151351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:50:22] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9aef080012d7c3dc005eaca700006015326..."} 
[2026-08-10 08:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9aef080012d7c3dc005eaca700006015326..."} 
[2026-08-10 08:50:22] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9aef080012d7c3dc005eaca700006015326..."} 
[2026-08-10 08:50:22] local.INFO: Packet analysis {"connection_id":151351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:50:22] local.INFO: Extracted packet for processing {"connection_id":151351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:50:22] local.INFO: GPS Element Parsed {"raw_longitude":763116992,"raw_latitude":99273328,"longitude_deg":76.3116992,"latitude_deg":9.9273328,"altitude":6,"angle":339,"satellites":38,"speed":1,"hex_longitude":"2d7c3dc0","hex_latitude":"05eaca70","is_valid_coordinates":true} 
[2026-08-10 08:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300987392001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117173072976412672,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952522765928908800,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786331984000,"timestamp_ms":1786331984000,"timestamp_seconds":1786331984,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9aef080"} 
[2026-08-10 08:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:50: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-08-10 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 08:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168297684302,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:22] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3920518160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":14336,"corrected_to":0} 
[2026-08-10 08:50:22] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2932180993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:22] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3343908870,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-08-10 08:50:22] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2147560828,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:22] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728654,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:22] local.WARNING: Large IO value detected {"io_id":8,"raw_value":58079734643818516,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,10,87,24,241,157,16,72,159,217,45,201,6,35,66,209,64,200,34,1,240,18,227,233,234,4,113,205,115,75,48,239,52,8,2,160,5,20],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":200,"original":14336,"validated":0},{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-08-10 08:50:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432692065009270784,"timestamp_seconds":432692065009270.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300987392001,"66":13406,"10":206,"87":13824,"24":1,"16":117173072976412672,"45":8952522765928908800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 08:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300987392001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:50:22] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 08:50:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117173072976412672,"km_value":117173072976412.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952522765928908800,"description":"Unknown IO ID 45"} 
[2026-08-10 08:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300987392001,"power":13406,"unknown_10":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8952522765928908800}} 
[2026-08-10 08:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":151351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:50:22] local.INFO: GPS data processed {"connection_id":151351,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:50:22] local.INFO: Acknowledgment sent {"connection_id":151351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:50:24] local.INFO: TCP Data received {"connection_id":152644,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:50:24] local.INFO: Processing buffer {"connection_id":152644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:50:24] local.INFO: IMEI packet received {"connection_id":152644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":152644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:50:25] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9aef468012d7c3dc005eacab00006016021..."} 
[2026-08-10 08:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9aef468012d7c3dc005eacab00006016021..."} 
[2026-08-10 08:50:25] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9aef468012d7c3dc005eacab00006016021..."} 
[2026-08-10 08:50:25] local.INFO: Packet analysis {"connection_id":151351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:50:25] local.INFO: Extracted packet for processing {"connection_id":151351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763116992,"raw_latitude":99273392,"longitude_deg":76.3116992,"latitude_deg":9.9273392,"altitude":6,"angle":352,"satellites":33,"speed":2,"hex_longitude":"2d7c3dc0","hex_latitude":"05eacab0","is_valid_coordinates":true} 
[2026-08-10 08:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300987904001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117173072976412672,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952522765928919040,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786331985000,"timestamp_ms":1786331985000,"timestamp_seconds":1786331985,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9aef468"} 
[2026-08-10 08:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 08:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300987904001,"66":13406,"10":206,"87":13824,"24":2,"16":117173072976412672,"45":8952522765928919040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 08:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300987904001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:50:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 08:50:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117173072976412672,"km_value":117173072976412.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952522765928919040,"description":"Unknown IO ID 45"} 
[2026-08-10 08:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300987904001,"power":13406,"unknown_10":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8952522765928919040}} 
[2026-08-10 08:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":151351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:50:25] local.INFO: GPS data processed {"connection_id":151351,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:50:25] local.INFO: Acknowledgment sent {"connection_id":151351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:50:29] local.INFO: TCP Data received {"connection_id":152644,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:50:29] local.INFO: Processing buffer {"connection_id":152644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:50:29] local.INFO: IMEI packet received {"connection_id":152644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":152644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:50:30] local.INFO: TCP Data received {"connection_id":152644,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ae63e0012d0e0bc007068778001a007721..."} 
[2026-08-10 08:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ae63e0012d0e0bc007068778001a007721..."} 
[2026-08-10 08:50:30] local.INFO: Processing buffer {"connection_id":152644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ae63e0012d0e0bc007068778001a007721..."} 
[2026-08-10 08:50:30] local.INFO: Packet analysis {"connection_id":152644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:50:30] local.INFO: Extracted packet for processing {"connection_id":152644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ae"} 
[2026-08-10 08:50:30] local.INFO: GPS Element Parsed {"raw_longitude":755895232,"raw_latitude":117868408,"longitude_deg":75.5895232,"latitude_deg":11.7868408,"altitude":26,"angle":119,"satellites":33,"speed":3,"hex_longitude":"2d0e0bc0","hex_latitude":"07068778","is_valid_coordinates":true} 
[2026-08-10 08:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300976128001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27258654189158400,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011621096472537088,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786331948000,"timestamp_ms":1786331948000,"timestamp_seconds":1786331948,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ae63e0"} 
[2026-08-10 08:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 08:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300976128001,"66":14439,"219":206,"94":10240,"24":3,"16":27258654189158400,"45":1011621096472537088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300976128001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:50:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:50:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27258654189158400,"km_value":27258654189158.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011621096472537088,"description":"Unknown IO ID 45"} 
[2026-08-10 08:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300976128001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":1011621096472537088}} 
[2026-08-10 08:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":152644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:50:30] local.INFO: GPS data processed {"connection_id":152644,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:50:30] local.INFO: Acknowledgment sent {"connection_id":152644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:50:37] local.INFO: TCP Data received {"connection_id":151732,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:50:37] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:50:37] local.INFO: Packet analysis {"connection_id":151732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:50:37] local.INFO: Extracted packet for processing {"connection_id":151732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300873472001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786331838000,"timestamp_ms":1786331838000,"timestamp_seconds":1786331838,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9acb630"} 
[2026-08-10 08:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 08:50: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-08-10 08:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300873472001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300873472001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300873472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":151732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:50:37] local.INFO: GPS data processed {"connection_id":151732,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:50:37] local.INFO: Acknowledgment sent {"connection_id":151732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:50:56] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9af0bd8012d7c3dc005ead098000700031e..."} 
[2026-08-10 08:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9af0bd8012d7c3dc005ead098000700031e..."} 
[2026-08-10 08:50:56] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9af0bd8012d7c3dc005ead098000700031e..."} 
[2026-08-10 08:50:56] local.INFO: Packet analysis {"connection_id":151351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9af"} 
[2026-08-10 08:50:56] local.INFO: Extracted packet for processing {"connection_id":151351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9af"} 
[2026-08-10 08:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763116992,"raw_latitude":99274904,"longitude_deg":76.3116992,"latitude_deg":9.9274904,"altitude":7,"angle":3,"satellites":30,"speed":18,"hex_longitude":"2d7c3dc0","hex_latitude":"05ead098","is_valid_coordinates":true} 
[2026-08-10 08:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300988160001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117173145990856704,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952522765928935424,"note":"Value kept but may cause issues"} 
[2026-08-10 08:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786331991000,"timestamp_ms":1786331991000,"timestamp_seconds":1786331991,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9af0bd8"} 
[2026-08-10 08:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 08:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300988160001,"66":13319,"10":206,"87":13824,"24":18,"16":117173145990856704,"45":8952522765928935424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 08:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300988160001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:50:56] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 08:50:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117173145990856704,"km_value":117173145990856.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952522765928935424,"description":"Unknown IO ID 45"} 
[2026-08-10 08:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300988160001,"power":13319,"unknown_10":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8952522765928935424}} 
[2026-08-10 08:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":151351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:50:56] local.INFO: GPS data processed {"connection_id":151351,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:50:56] local.INFO: Acknowledgment sent {"connection_id":151351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:50:59] local.INFO: TCP Data received {"connection_id":151733,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:50:59] local.INFO: Processing buffer {"connection_id":151733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:50:59] local.INFO: IMEI packet received {"connection_id":151733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":151733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:51:01] local.INFO: TCP Data received {"connection_id":152644,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9afe698012d0e3200070688d80023001b22..."} 
[2026-08-10 08:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9afe698012d0e3200070688d80023001b22..."} 
[2026-08-10 08:51:01] local.INFO: Processing buffer {"connection_id":152644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9afe698012d0e3200070688d80023001b22..."} 
[2026-08-10 08:51:01] local.INFO: Packet analysis {"connection_id":152644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9af"} 
[2026-08-10 08:51:01] local.INFO: Extracted packet for processing {"connection_id":152644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9af"} 
[2026-08-10 08:51:01] local.INFO: GPS Element Parsed {"raw_longitude":755905024,"raw_latitude":117868760,"longitude_deg":75.5905024,"latitude_deg":11.786876,"altitude":35,"angle":27,"satellites":34,"speed":17,"hex_longitude":"2d0e3200","hex_latitude":"070688d8","is_valid_coordinates":true} 
[2026-08-10 08: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-08-10 08:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301003264001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27259178175168512,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022106039354722304,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786332047000,"timestamp_ms":1786332047000,"timestamp_seconds":1786332047,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9afe698"} 
[2026-08-10 08:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-08-10 08:51:01] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1970333442703360,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633289110784,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:01] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3920591160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:01] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:01] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2948820993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:01] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2189426720,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-08-10 08:51:01] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3621388288,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:01] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2882634774902474502,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:01] local.WARNING: Large IO value detected {"io_id":136,"raw_value":-9223344547585523708,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:01] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,219,94,24,241,157,16,216,159,214,45,64,132,34,10,66,207,130,33,215,199,128,1,240,103,227,233,6,4,113,205,12,172,160,31,239,56,2,96,7,27,82,136],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0}]} 
[2026-08-10 08:51:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2450005622319218688,"timestamp_seconds":2450005622319218.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301003264001,"66":14407,"219":206,"94":10240,"24":17,"16":27259178175168512,"45":1022106039354722304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301003264001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:51:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:51:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27259178175168512,"km_value":27259178175168.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022106039354722304,"description":"Unknown IO ID 45"} 
[2026-08-10 08:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301003264001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":1022106039354722304}} 
[2026-08-10 08:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":152644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618651,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:51:01] local.INFO: GPS data processed {"connection_id":152644,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:51:01] local.INFO: Acknowledgment sent {"connection_id":152644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:51:04] local.INFO: TCP Data received {"connection_id":151733,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:51:04] local.INFO: Processing buffer {"connection_id":151733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:51:04] local.INFO: IMEI packet received {"connection_id":151733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":151733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:51:05] local.INFO: TCP Data received {"connection_id":151733,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:51:05] local.INFO: Processing buffer {"connection_id":151733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:51:05] local.INFO: Packet analysis {"connection_id":151733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:51:05] local.INFO: Extracted packet for processing {"connection_id":151733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300873472001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786331838000,"timestamp_ms":1786331838000,"timestamp_seconds":1786331838,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9acb630"} 
[2026-08-10 08:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":233,"data_length":795,"current_offset":136} 
[2026-08-10 08:51: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-08-10 08:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300873472001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300873472001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:51:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300873472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":151733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:51:05] local.INFO: GPS data processed {"connection_id":151733,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:51:05] local.INFO: Acknowledgment sent {"connection_id":151733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:51:16] local.INFO: TCP Data received {"connection_id":151352,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:51:16] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:51:16] local.INFO: IMEI packet received {"connection_id":151352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":151352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:51:20] local.INFO: TCP Data received {"connection_id":151352,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:51:20] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:51:20] local.INFO: IMEI packet received {"connection_id":151352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":151352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:51:21] local.INFO: TCP Data received {"connection_id":151352,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9affa20012d7c260005eb2eb00005015d23..."} 
[2026-08-10 08:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9affa20012d7c260005eb2eb00005015d23..."} 
[2026-08-10 08:51:21] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9affa20012d7c260005eb2eb00005015d23..."} 
[2026-08-10 08:51:21] local.INFO: Packet analysis {"connection_id":151352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9af"} 
[2026-08-10 08:51:21] local.INFO: Extracted packet for processing {"connection_id":151352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9af"} 
[2026-08-10 08:51:21] local.INFO: GPS Element Parsed {"raw_longitude":763110912,"raw_latitude":99298992,"longitude_deg":76.3110912,"latitude_deg":9.9298992,"altitude":5,"angle":349,"satellites":35,"speed":25,"hex_longitude":"2d7c2600","hex_latitude":"05eb2eb0","is_valid_coordinates":true} 
[2026-08-10 08:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301004800001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117174404416274432,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946119210215024640,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786332052000,"timestamp_ms":1786332052000,"timestamp_seconds":1786332052,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9affa20"} 
[2026-08-10 08:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 08:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1873497445153899520,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3920606160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1511309518602938074,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:21] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":16385,"corrected_to":0} 
[2026-08-10 08:51:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:21] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5787151904392070400,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-08-10 08:51:21] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2684431740,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:21] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755506815369457,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:21] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847650306437545,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:21] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,10,87,24,241,157,16,73,159,230,45,64,36,5,34,66,222,32,6,203,1,240,198,227,233,235,4,113,205,25,187,54,80,39,239,52,2,160,51,3],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":203,"original":16385,"validated":0},{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-08-10 08:51:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360653154080391168,"timestamp_seconds":360653154080391.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:51: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-08-10 08:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301004800001,"66":12809,"10":206,"87":13824,"24":25,"16":117174404416274432,"45":8946119210215024640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 08:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301004800001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:51:21] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 08:51:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117174404416274432,"km_value":117174404416274.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946119210215024640,"description":"Unknown IO ID 45"} 
[2026-08-10 08:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301004800001,"power":12809,"unknown_10":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8946119210215024640}} 
[2026-08-10 08:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":151352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:51:21] local.INFO: GPS data processed {"connection_id":151352,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:51:21] local.INFO: Acknowledgment sent {"connection_id":151352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:51:23] local.INFO: TCP Data received {"connection_id":151352,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b01960012d7c248005eb40580005000020..."} 
[2026-08-10 08:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b01960012d7c248005eb40580005000020..."} 
[2026-08-10 08:51:23] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b01960012d7c248005eb40580005000020..."} 
[2026-08-10 08:51:23] local.INFO: Packet analysis {"connection_id":151352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b0"} 
[2026-08-10 08:51:23] local.INFO: Extracted packet for processing {"connection_id":151352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b0"} 
[2026-08-10 08:51:23] local.INFO: GPS Element Parsed {"raw_longitude":763110528,"raw_latitude":99303512,"longitude_deg":76.3110528,"latitude_deg":9.9303512,"altitude":5,"angle":0,"satellites":32,"speed":21,"hex_longitude":"2d7c2480","hex_latitude":"05eb4058","is_valid_coordinates":true} 
[2026-08-10 08:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301005312001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117174623459606528,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945837735238610944,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786332060000,"timestamp_ms":1786332060000,"timestamp_seconds":1786332060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b01960"} 
[2026-08-10 08:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 08:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1801439851115971584,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3920608160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1510614627254186713,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:23] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5786052392764294720,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-08-10 08:51:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2147871507,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504628893324463703,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:23] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:23] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,10,87,24,241,157,16,73,159,242,45,42,5,34,66,230,64,36,222,1,240,198,227,233,235,4,113,205,199,49,72,32,239,51,2,160,26,52,54,18],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-08-10 08:51:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360671850073227264,"timestamp_seconds":360671850073227.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301005312001,"66":12722,"10":206,"87":13824,"24":21,"16":117174623459606528,"45":8945837735238610944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 08:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301005312001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:51:23] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 08:51:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117174623459606528,"km_value":117174623459606.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945837735238610944,"description":"Unknown IO ID 45"} 
[2026-08-10 08:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301005312001,"power":12722,"unknown_10":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8945837735238610944}} 
[2026-08-10 08:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":151352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:51:23] local.INFO: GPS data processed {"connection_id":151352,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:51:23] local.INFO: Acknowledgment sent {"connection_id":151352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:51:27] local.INFO: TCP Data received {"connection_id":152645,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:51:27] local.INFO: Processing buffer {"connection_id":152645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:51:27] local.INFO: IMEI packet received {"connection_id":152645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":152645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:51:29] local.INFO: TCP Data received {"connection_id":152645,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:51:29] local.INFO: Processing buffer {"connection_id":152645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:51:29] local.INFO: IMEI packet received {"connection_id":152645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":152645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:51:31] local.INFO: TCP Data received {"connection_id":152645,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:51:31] local.INFO: Processing buffer {"connection_id":152645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:51:31] local.INFO: IMEI packet received {"connection_id":152645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":152645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:51:32] local.INFO: TCP Data received {"connection_id":152645,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9afea80012d0e324007068ae80023000c22..."} 
[2026-08-10 08:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9afea80012d0e324007068ae80023000c22..."} 
[2026-08-10 08:51:32] local.INFO: Processing buffer {"connection_id":152645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9afea80012d0e324007068ae80023000c22..."} 
[2026-08-10 08:51:32] local.INFO: Packet analysis {"connection_id":152645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9af"} 
[2026-08-10 08:51:32] local.INFO: Extracted packet for processing {"connection_id":152645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9af"} 
[2026-08-10 08:51:32] local.INFO: GPS Element Parsed {"raw_longitude":755905088,"raw_latitude":117869288,"longitude_deg":75.5905088,"latitude_deg":11.7869288,"altitude":35,"angle":12,"satellites":34,"speed":20,"hex_longitude":"2d0e3240","hex_latitude":"07068ae8","is_valid_coordinates":true} 
[2026-08-10 08:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301004032001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27259203944972288,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022880095540926464,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786332048000,"timestamp_ms":1786332048000,"timestamp_seconds":1786332048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9afea80"} 
[2026-08-10 08:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 08:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301004032001,"66":14407,"219":206,"94":10240,"24":20,"16":27259203944972288,"45":1022880095540926464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301004032001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:51:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:51:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27259203944972288,"km_value":27259203944972.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022880095540926464,"description":"Unknown IO ID 45"} 
[2026-08-10 08:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301004032001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1022880095540926464}} 
[2026-08-10 08:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":152645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618655,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:51:32] local.INFO: GPS data processed {"connection_id":152645,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:51:32] local.INFO: Acknowledgment sent {"connection_id":152645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:51:35] local.INFO: TCP Data received {"connection_id":152645,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b005d8012d0e340007069c580025016622..."} 
[2026-08-10 08:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b005d8012d0e340007069c580025016622..."} 
[2026-08-10 08:51:35] local.INFO: Processing buffer {"connection_id":152645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b005d8012d0e340007069c580025016622..."} 
[2026-08-10 08:51:35] local.INFO: Packet analysis {"connection_id":152645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b0"} 
[2026-08-10 08:51:35] local.INFO: Extracted packet for processing {"connection_id":152645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b0"} 
[2026-08-10 08:51:35] local.INFO: GPS Element Parsed {"raw_longitude":755905536,"raw_latitude":117873752,"longitude_deg":75.5905536,"latitude_deg":11.7873752,"altitude":37,"angle":358,"satellites":34,"speed":17,"hex_longitude":"2d0e3400","hex_latitude":"07069c58","is_valid_coordinates":true} 
[2026-08-10 08:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301004288001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27259422988304384,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022950464285239296,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786332055000,"timestamp_ms":1786332055000,"timestamp_seconds":1786332055,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b005d8"} 
[2026-08-10 08:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 08:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301004288001,"66":14396,"219":206,"94":10240,"24":17,"16":27259422988304384,"45":1022950464285239296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301004288001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:51:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:51:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27259422988304384,"km_value":27259422988304.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022950464285239296,"description":"Unknown IO ID 45"} 
[2026-08-10 08:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301004288001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":1022950464285239296}} 
[2026-08-10 08:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":152645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618656,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:51:35] local.INFO: GPS data processed {"connection_id":152645,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:51:35] local.INFO: Acknowledgment sent {"connection_id":152645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:51:37] local.INFO: TCP Data received {"connection_id":151733,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:51:37] local.INFO: Processing buffer {"connection_id":151733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:51:37] local.INFO: Packet analysis {"connection_id":151733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:51:37] local.INFO: Extracted packet for processing {"connection_id":151733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300873472001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786331838000,"timestamp_ms":1786331838000,"timestamp_seconds":1786331838,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9acb630"} 
[2026-08-10 08:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 08:51: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-08-10 08:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300873472001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300873472001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300873472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":151733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:51:37] local.INFO: GPS data processed {"connection_id":151733,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:51:37] local.INFO: Acknowledgment sent {"connection_id":151733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:51:56] local.INFO: TCP Data received {"connection_id":151352,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b034b8012d7c234005eb51300005015d21..."} 
[2026-08-10 08:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b034b8012d7c234005eb51300005015d21..."} 
[2026-08-10 08:51:56] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b034b8012d7c234005eb51300005015d21..."} 
[2026-08-10 08:51:56] local.INFO: Packet analysis {"connection_id":151352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b0"} 
[2026-08-10 08:51:56] local.INFO: Extracted packet for processing {"connection_id":151352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b0"} 
[2026-08-10 08:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763110208,"raw_latitude":99307824,"longitude_deg":76.3110208,"latitude_deg":9.9307824,"altitude":5,"angle":349,"satellites":33,"speed":24,"hex_longitude":"2d7c2340","hex_latitude":"05eb5130","is_valid_coordinates":true} 
[2026-08-10 08:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301007360001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117174833913004032,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945415522774702080,"note":"Value kept but may cause issues"} 
[2026-08-10 08:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786332067000,"timestamp_ms":1786332067000,"timestamp_seconds":1786332067,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b034b8"} 
[2026-08-10 08:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 08:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301007360001,"66":13319,"10":206,"87":13824,"24":24,"16":117174833913004032,"45":8945415522774702080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 08:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301007360001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:51:56] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 08:51:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117174833913004032,"km_value":117174833913004.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945415522774702080,"description":"Unknown IO ID 45"} 
[2026-08-10 08:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301007360001,"power":13319,"unknown_10":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8945415522774702080}} 
[2026-08-10 08:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":151352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:51:56] local.INFO: GPS data processed {"connection_id":151352,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:51:56] local.INFO: Acknowledgment sent {"connection_id":151352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:51:59] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:51:59] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:51:59] local.INFO: IMEI packet received {"connection_id":151353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":151353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:52:04] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:52:04] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:52:04] local.INFO: IMEI packet received {"connection_id":151353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":151353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:52:05] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:52:05] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:52:05] local.INFO: Packet analysis {"connection_id":151353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:52:05] local.INFO: Extracted packet for processing {"connection_id":151353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300873472001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786331838000,"timestamp_ms":1786331838000,"timestamp_seconds":1786331838,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9acb630"} 
[2026-08-10 08:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 08:52: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-08-10 08:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08: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-08-10 08:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300873472001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300873472001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300873472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":151353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:52:05] local.INFO: GPS data processed {"connection_id":151353,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:52:05] local.INFO: Acknowledgment sent {"connection_id":151353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:52:06] local.INFO: TCP Data received {"connection_id":152645,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b01d48012d0e34400706a508002600101f..."} 
[2026-08-10 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b01d48012d0e34400706a508002600101f..."} 
[2026-08-10 08:52:06] local.INFO: Processing buffer {"connection_id":152645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b01d48012d0e34400706a508002600101f..."} 
[2026-08-10 08:52:06] local.INFO: Packet analysis {"connection_id":152645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b0"} 
[2026-08-10 08:52:06] local.INFO: Extracted packet for processing {"connection_id":152645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b0"} 
[2026-08-10 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":755905600,"raw_latitude":117875976,"longitude_deg":75.59056,"latitude_deg":11.7875976,"altitude":38,"angle":16,"satellites":31,"speed":16,"hex_longitude":"2d0e3440","hex_latitude":"0706a508","is_valid_coordinates":true} 
[2026-08-10 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301006080001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27259530362486784,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023443045495625728,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786332061000,"timestamp_ms":1786332061000,"timestamp_seconds":1786332061,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b01d48"} 
[2026-08-10 08:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 08:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301006080001,"66":14396,"219":206,"94":10240,"24":16,"16":27259530362486784,"45":1023443045495625728},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301006080001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:52:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:52:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27259530362486784,"km_value":27259530362486.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023443045495625728,"description":"Unknown IO ID 45"} 
[2026-08-10 08:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301006080001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":1023443045495625728}} 
[2026-08-10 08:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":152645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618660,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:52:06] local.INFO: GPS data processed {"connection_id":152645,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:52:06] local.INFO: Acknowledgment sent {"connection_id":152645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:52:23] local.INFO: TCP Data received {"connection_id":154101,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:52:23] local.INFO: Processing buffer {"connection_id":154101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:52:23] local.INFO: IMEI packet received {"connection_id":154101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":154101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:52:24] local.INFO: TCP Data received {"connection_id":154101,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:52:24] local.INFO: Processing buffer {"connection_id":154101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:52:24] local.INFO: IMEI packet received {"connection_id":154101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":154101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:52:26] local.INFO: TCP Data received {"connection_id":154101,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:52:26] local.INFO: Processing buffer {"connection_id":154101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:52:26] local.INFO: IMEI packet received {"connection_id":154101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":154101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:52:27] local.INFO: TCP Data received {"connection_id":154101,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b04070012d0e37c00706b4200026016220..."} 
[2026-08-10 08:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b04070012d0e37c00706b4200026016220..."} 
[2026-08-10 08:52:27] local.INFO: Processing buffer {"connection_id":154101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b04070012d0e37c00706b4200026016220..."} 
[2026-08-10 08:52:27] local.INFO: Packet analysis {"connection_id":154101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b0"} 
[2026-08-10 08:52:27] local.INFO: Extracted packet for processing {"connection_id":154101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b0"} 
[2026-08-10 08:52:27] local.INFO: GPS Element Parsed {"raw_longitude":755906496,"raw_latitude":117879840,"longitude_deg":75.5906496,"latitude_deg":11.787984,"altitude":38,"angle":354,"satellites":32,"speed":5,"hex_longitude":"2d0e37c0","hex_latitude":"0706b420","is_valid_coordinates":true} 
[2026-08-10 08:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301007616001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27259723636015104,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023513414240372736,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786332070000,"timestamp_ms":1786332070000,"timestamp_seconds":1786332070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b04070"} 
[2026-08-10 08:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 08:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":154101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":154101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":154101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301007616001,"66":14407,"219":206,"94":10240,"24":5,"16":27259723636015104,"45":1023513414240372736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301007616001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:52:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:52:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27259723636015104,"km_value":27259723636015.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023513414240372736,"description":"Unknown IO ID 45"} 
[2026-08-10 08:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301007616001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1023513414240372736}} 
[2026-08-10 08:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":154101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618661,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:52:27] local.INFO: GPS data processed {"connection_id":154101,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:52:27] local.INFO: Acknowledgment sent {"connection_id":154101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:52:37] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:52:37] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9acb630012d34c20006aa3f08000400f327..."} 
[2026-08-10 08:52:37] local.INFO: Packet analysis {"connection_id":151353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:52:37] local.INFO: Extracted packet for processing {"connection_id":151353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ac"} 
[2026-08-10 08:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300873472001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786331838000,"timestamp_ms":1786331838000,"timestamp_seconds":1786331838,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9acb630"} 
[2026-08-10 08:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 08:52: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-08-10 08:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:52: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-08-10 08:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300873472001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300873472001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300873472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":151353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:52:37] local.INFO: GPS data processed {"connection_id":151353,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:52:37] local.INFO: Acknowledgment sent {"connection_id":151353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:52:55] local.INFO: TCP Data received {"connection_id":152646,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:52:55] local.INFO: Processing buffer {"connection_id":152646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:52:55] local.INFO: IMEI packet received {"connection_id":152646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":152646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:52:55] local.INFO: TCP Data received {"connection_id":152646,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:52:55] local.INFO: Processing buffer {"connection_id":152646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:52:55] local.INFO: IMEI packet received {"connection_id":152646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":152646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:52:58] local.INFO: TCP Data received {"connection_id":154101,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b1d2c8012d0e3ac0070703b0002701401d..."} 
[2026-08-10 08:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b1d2c8012d0e3ac0070703b0002701401d..."} 
[2026-08-10 08:52:58] local.INFO: Processing buffer {"connection_id":154101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b1d2c8012d0e3ac0070703b0002701401d..."} 
[2026-08-10 08:52:58] local.INFO: Packet analysis {"connection_id":154101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:52:58] local.INFO: Extracted packet for processing {"connection_id":154101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:52:58] local.INFO: GPS Element Parsed {"raw_longitude":755907264,"raw_latitude":117900208,"longitude_deg":75.5907264,"latitude_deg":11.7900208,"altitude":39,"angle":320,"satellites":29,"speed":14,"hex_longitude":"2d0e3ac0","hex_latitude":"070703b0","is_valid_coordinates":true} 
[2026-08-10 08:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301036032001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27261067960778752,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025624476571820032,"note":"Value kept but may cause issues"} 
[2026-08-10 08:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786332173000,"timestamp_ms":1786332173000,"timestamp_seconds":1786332173,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b1d2c8"} 
[2026-08-10 08:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 08:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301036032001,"66":14439,"219":206,"94":10240,"24":14,"16":27261067960778752,"45":1025624476571820032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301036032001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:52:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:52:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27261067960778752,"km_value":27261067960778.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025624476571820032,"description":"Unknown IO ID 45"} 
[2026-08-10 08:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301036032001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":1025624476571820032}} 
[2026-08-10 08:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":154101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618663,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:52:58] local.INFO: GPS data processed {"connection_id":154101,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:52:58] local.INFO: Acknowledgment sent {"connection_id":154101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:52:59] local.INFO: TCP Data received {"connection_id":151734,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:52:59] local.INFO: Processing buffer {"connection_id":151734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:52:59] local.INFO: IMEI packet received {"connection_id":151734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":151734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:53:00] local.INFO: TCP Data received {"connection_id":152646,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:53:00] local.INFO: Processing buffer {"connection_id":152646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:53:00] local.INFO: IMEI packet received {"connection_id":152646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":152646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:53:04] local.INFO: TCP Data received {"connection_id":151734,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:53:04] local.INFO: Processing buffer {"connection_id":151734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:53:04] local.INFO: IMEI packet received {"connection_id":151734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":151734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:53:06] local.INFO: TCP Data received {"connection_id":151734,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:53:06] local.INFO: Processing buffer {"connection_id":151734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:53:06] local.INFO: Packet analysis {"connection_id":151734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:53:06] local.INFO: Extracted packet for processing {"connection_id":151734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300950528001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786332139000,"timestamp_ms":1786332139000,"timestamp_seconds":1786332139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b14df8"} 
[2026-08-10 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-08-10 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300950528001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300950528001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:53:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300950528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":151734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:53:06] local.INFO: GPS data processed {"connection_id":151734,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:53:06] local.INFO: Acknowledgment sent {"connection_id":151734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:53:24] local.INFO: TCP Data received {"connection_id":151354,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:53:24] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:53:24] local.INFO: IMEI packet received {"connection_id":151354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":151354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:53:28] local.INFO: TCP Data received {"connection_id":151354,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:53:28] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:53:28] local.INFO: IMEI packet received {"connection_id":151354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":151354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:53:29] local.INFO: TCP Data received {"connection_id":151354,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b1d6b0012d0e39c0070704980027012b1e..."} 
[2026-08-10 08:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b1d6b0012d0e39c0070704980027012b1e..."} 
[2026-08-10 08:53:29] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b1d6b0012d0e39c0070704980027012b1e..."} 
[2026-08-10 08:53:29] local.INFO: Packet analysis {"connection_id":151354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:53:29] local.INFO: Extracted packet for processing {"connection_id":151354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:53:29] local.INFO: GPS Element Parsed {"raw_longitude":755907008,"raw_latitude":117900440,"longitude_deg":75.5907008,"latitude_deg":11.790044,"altitude":39,"angle":299,"satellites":30,"speed":14,"hex_longitude":"2d0e39c0","hex_latitude":"07070498","is_valid_coordinates":true} 
[2026-08-10 08:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301036288001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27261085140647936,"note":"Value kept but may cause issues"} 
[2026-08-10 08:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025343001595195392,"note":"Value kept but may cause issues"} 
[2026-08-10 08:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786332174000,"timestamp_ms":1786332174000,"timestamp_seconds":1786332174,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b1d6b0"} 
[2026-08-10 08:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 08:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301036288001,"66":14439,"219":206,"94":10240,"24":14,"16":27261085140647936,"45":1025343001595195392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301036288001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:53:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:53:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27261085140647936,"km_value":27261085140647.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025343001595195392,"description":"Unknown IO ID 45"} 
[2026-08-10 08:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301036288001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":1025343001595195392}} 
[2026-08-10 08:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":151354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618665,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:53:29] local.INFO: GPS data processed {"connection_id":151354,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:53:29] local.INFO: Acknowledgment sent {"connection_id":151354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:53:29] local.INFO: TCP Data received {"connection_id":152647,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:53:29] local.INFO: Processing buffer {"connection_id":152647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:53:29] local.INFO: IMEI packet received {"connection_id":152647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":152647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:53:37] local.INFO: TCP Data received {"connection_id":151734,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:53:37] local.INFO: Processing buffer {"connection_id":151734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:53:37] local.INFO: Packet analysis {"connection_id":151734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:53:37] local.INFO: Extracted packet for processing {"connection_id":151734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300950528001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786332139000,"timestamp_ms":1786332139000,"timestamp_seconds":1786332139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b14df8"} 
[2026-08-10 08:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:53: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-08-10 08:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300950528001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300950528001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300950528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":151734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:53:37] local.INFO: GPS data processed {"connection_id":151734,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:53:37] local.INFO: Acknowledgment sent {"connection_id":151734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:53:59] local.INFO: TCP Data received {"connection_id":151735,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:53:59] local.INFO: Processing buffer {"connection_id":151735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:53:59] local.INFO: IMEI packet received {"connection_id":151735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":151735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:54:00] local.INFO: TCP Data received {"connection_id":151354,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b1da98012d0e37c007070518002701191e..."} 
[2026-08-10 08:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b1da98012d0e37c007070518002701191e..."} 
[2026-08-10 08:54:00] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b1da98012d0e37c007070518002701191e..."} 
[2026-08-10 08:54:00] local.INFO: Packet analysis {"connection_id":151354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:54:00] local.INFO: Extracted packet for processing {"connection_id":151354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:54:00] local.INFO: GPS Element Parsed {"raw_longitude":755906496,"raw_latitude":117900568,"longitude_deg":75.5906496,"latitude_deg":11.7900568,"altitude":39,"angle":281,"satellites":30,"speed":16,"hex_longitude":"2d0e37c0","hex_latitude":"07070518","is_valid_coordinates":true} 
[2026-08-10 08:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301036544001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27261106615484416,"note":"Value kept but may cause issues"} 
[2026-08-10 08:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025061526618544128,"note":"Value kept but may cause issues"} 
[2026-08-10 08:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786332175000,"timestamp_ms":1786332175000,"timestamp_seconds":1786332175,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b1da98"} 
[2026-08-10 08:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 08:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301036544001,"66":14396,"219":206,"94":10240,"24":16,"16":27261106615484416,"45":1025061526618544128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301036544001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:54:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:54:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27261106615484416,"km_value":27261106615484.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025061526618544128,"description":"Unknown IO ID 45"} 
[2026-08-10 08:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301036544001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":1025061526618544128}} 
[2026-08-10 08:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":151354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618667,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:54:00] local.INFO: GPS data processed {"connection_id":151354,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:54:00] local.INFO: Acknowledgment sent {"connection_id":151354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:54:04] local.INFO: TCP Data received {"connection_id":151735,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:54:04] local.INFO: Processing buffer {"connection_id":151735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:54:04] local.INFO: IMEI packet received {"connection_id":151735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":151735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:54:06] local.INFO: TCP Data received {"connection_id":151735,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:54:06] local.INFO: Processing buffer {"connection_id":151735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:54:06] local.INFO: Packet analysis {"connection_id":151735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:54:06] local.INFO: Extracted packet for processing {"connection_id":151735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300950528001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786332139000,"timestamp_ms":1786332139000,"timestamp_seconds":1786332139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b14df8"} 
[2026-08-10 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-08-10 08:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 08:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300950528001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300950528001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300950528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":151735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:54:06] local.INFO: GPS data processed {"connection_id":151735,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:54:06] local.INFO: Acknowledgment sent {"connection_id":151735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:54:23] local.INFO: TCP Data received {"connection_id":152648,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152648,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:54:23] local.INFO: Processing buffer {"connection_id":152648,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:54:23] local.INFO: IMEI packet received {"connection_id":152648,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":152648,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:54:24] local.INFO: TCP Data received {"connection_id":152648,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152648,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:54:24] local.INFO: Processing buffer {"connection_id":152648,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:54:24] local.INFO: IMEI packet received {"connection_id":152648,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":152648,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:54:29] local.INFO: TCP Data received {"connection_id":152648,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152648,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:54:29] local.INFO: Processing buffer {"connection_id":152648,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:54:29] local.INFO: IMEI packet received {"connection_id":152648,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":152648,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:54:30] local.INFO: TCP Data received {"connection_id":152648,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b2d0b0012d0dcc000706f3f8002000df1e..."} 
[2026-08-10 08:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b2d0b0012d0dcc000706f3f8002000df1e..."} 
[2026-08-10 08:54:30] local.INFO: Processing buffer {"connection_id":152648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b2d0b0012d0dcc000706f3f8002000df1e..."} 
[2026-08-10 08:54:30] local.INFO: Packet analysis {"connection_id":152648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b2"} 
[2026-08-10 08:54:30] local.INFO: Extracted packet for processing {"connection_id":152648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b2"} 
[2026-08-10 08:54:30] local.INFO: GPS Element Parsed {"raw_longitude":755878912,"raw_latitude":117896184,"longitude_deg":75.5878912,"latitude_deg":11.7896184,"altitude":32,"angle":223,"satellites":30,"speed":12,"hex_longitude":"2d0dcc00","hex_latitude":"0706f3f8","is_valid_coordinates":true} 
[2026-08-10 08:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301052416001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27262493889921024,"note":"Value kept but may cause issues"} 
[2026-08-10 08:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994662229132859392,"note":"Value kept but may cause issues"} 
[2026-08-10 08:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786332238000,"timestamp_ms":1786332238000,"timestamp_seconds":1786332238,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b2d0b0"} 
[2026-08-10 08:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 08:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301052416001,"66":14548,"219":206,"94":10240,"24":12,"16":27262493889921024,"45":994662229132859392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301052416001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:54:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:54:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27262493889921024,"km_value":27262493889921.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":994662229132859392,"description":"Unknown IO ID 45"} 
[2026-08-10 08:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301052416001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":994662229132859392}} 
[2026-08-10 08:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":152648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618669,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:54:30] local.INFO: GPS data processed {"connection_id":152648,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:54:30] local.INFO: Acknowledgment sent {"connection_id":152648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:54:37] local.INFO: TCP Data received {"connection_id":151735,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:54:37] local.INFO: Processing buffer {"connection_id":151735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:54:37] local.INFO: Packet analysis {"connection_id":151735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:54:37] local.INFO: Extracted packet for processing {"connection_id":151735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300950528001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786332139000,"timestamp_ms":1786332139000,"timestamp_seconds":1786332139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b14df8"} 
[2026-08-10 08:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:54: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-08-10 08:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300950528001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300950528001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300950528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":151735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:54:37] local.INFO: GPS data processed {"connection_id":151735,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:54:37] local.INFO: Acknowledgment sent {"connection_id":151735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:55:00] local.INFO: TCP Data received {"connection_id":154102,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:55:00] local.INFO: Processing buffer {"connection_id":154102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:55:00] local.INFO: IMEI packet received {"connection_id":154102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":154102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:55:04] local.INFO: TCP Data received {"connection_id":154102,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:55:04] local.INFO: Processing buffer {"connection_id":154102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:55:04] local.INFO: IMEI packet received {"connection_id":154102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":154102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:55:05] local.INFO: TCP Data received {"connection_id":152648,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b2d498012d0dcb000706f338002000f21f..."} 
[2026-08-10 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b2d498012d0dcb000706f338002000f21f..."} 
[2026-08-10 08:55:05] local.INFO: Processing buffer {"connection_id":152648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b2d498012d0dcb000706f338002000f21f..."} 
[2026-08-10 08:55:05] local.INFO: Packet analysis {"connection_id":152648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b2"} 
[2026-08-10 08:55:05] local.INFO: Extracted packet for processing {"connection_id":152648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b2"} 
[2026-08-10 08:55:05] local.INFO: GPS Element Parsed {"raw_longitude":755878656,"raw_latitude":117895992,"longitude_deg":75.5878656,"latitude_deg":11.7895992,"altitude":32,"angle":242,"satellites":31,"speed":14,"hex_longitude":"2d0dcb00","hex_latitude":"0706f338","is_valid_coordinates":true} 
[2026-08-10 08:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301052928001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27262506774822912,"note":"Value kept but may cause issues"} 
[2026-08-10 08:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994169647923460096,"note":"Value kept but may cause issues"} 
[2026-08-10 08:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786332239000,"timestamp_ms":1786332239000,"timestamp_seconds":1786332239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b2d498"} 
[2026-08-10 08:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 08:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301052928001,"66":14450,"219":206,"94":10240,"24":14,"16":27262506774822912,"45":994169647923460096},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301052928001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:55:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:55:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27262506774822912,"km_value":27262506774822.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":994169647923460096,"description":"Unknown IO ID 45"} 
[2026-08-10 08:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301052928001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":994169647923460096}} 
[2026-08-10 08:55:05] local.INFO: TCP Data received {"connection_id":154102,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:55:05] local.INFO: Processing buffer {"connection_id":154102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:55:05] local.INFO: Packet analysis {"connection_id":154102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:55:05] local.INFO: Extracted packet for processing {"connection_id":154102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300950528001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786332139000,"timestamp_ms":1786332139000,"timestamp_seconds":1786332139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b14df8"} 
[2026-08-10 08:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:55: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-08-10 08:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300950528001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300950528001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300950528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":154102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:55:05] local.INFO: GPS data processed {"connection_id":154102,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:55:05] local.INFO: Acknowledgment sent {"connection_id":154102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":152648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618672,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:55:05] local.INFO: GPS data processed {"connection_id":152648,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:55:05] local.INFO: Acknowledgment sent {"connection_id":152648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:55:24] local.INFO: TCP Data received {"connection_id":151356,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:55:24] local.INFO: Processing buffer {"connection_id":151356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:55:24] local.INFO: IMEI packet received {"connection_id":151356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":151356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:55:29] local.INFO: TCP Data received {"connection_id":151356,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:55:29] local.INFO: Processing buffer {"connection_id":151356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:55:29] local.INFO: IMEI packet received {"connection_id":151356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":151356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:55:30] local.INFO: TCP Data received {"connection_id":151356,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b3d668012d0d310007071518001e01151d..."} 
[2026-08-10 08:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b3d668012d0d310007071518001e01151d..."} 
[2026-08-10 08:55:30] local.INFO: Processing buffer {"connection_id":151356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b3d668012d0d310007071518001e01151d..."} 
[2026-08-10 08:55:30] local.INFO: Packet analysis {"connection_id":151356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b3"} 
[2026-08-10 08:55:30] local.INFO: Extracted packet for processing {"connection_id":151356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b3"} 
[2026-08-10 08:55:30] local.INFO: GPS Element Parsed {"raw_longitude":755839232,"raw_latitude":117904664,"longitude_deg":75.5839232,"latitude_deg":11.7904664,"altitude":30,"angle":277,"satellites":29,"speed":13,"hex_longitude":"2d0d3100","hex_latitude":"07071518","is_valid_coordinates":true} 
[2026-08-10 08:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301069056001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27264521114484736,"note":"Value kept but may cause issues"} 
[2026-08-10 08:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952581720116656128,"note":"Value kept but may cause issues"} 
[2026-08-10 08:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786332305000,"timestamp_ms":1786332305000,"timestamp_seconds":1786332305,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b3d668"} 
[2026-08-10 08:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 08:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301069056001,"66":14265,"219":206,"94":10240,"24":13,"16":27264521114484736,"45":952581720116656128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 08:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301069056001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:55:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 08:55:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27264521114484736,"km_value":27264521114484.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":952581720116656128,"description":"Unknown IO ID 45"} 
[2026-08-10 08:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301069056001,"power":14265,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":952581720116656128}} 
[2026-08-10 08:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":151356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:55:30] local.INFO: GPS data processed {"connection_id":151356,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:55:30] local.INFO: Acknowledgment sent {"connection_id":151356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:55:37] local.INFO: TCP Data received {"connection_id":154102,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:55:37] local.INFO: Processing buffer {"connection_id":154102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:55:37] local.INFO: Packet analysis {"connection_id":154102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:55:37] local.INFO: Extracted packet for processing {"connection_id":154102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300950528001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786332139000,"timestamp_ms":1786332139000,"timestamp_seconds":1786332139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b14df8"} 
[2026-08-10 08:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:55: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-08-10 08:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300950528001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300950528001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300950528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":154102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:55:37] local.INFO: GPS data processed {"connection_id":154102,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:55:37] local.INFO: Acknowledgment sent {"connection_id":154102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:55:59] local.INFO: TCP Data received {"connection_id":151737,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:55:59] local.INFO: Processing buffer {"connection_id":151737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:55:59] local.INFO: IMEI packet received {"connection_id":151737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":151737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:56:02] local.INFO: TCP Data received {"connection_id":151356,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b49da0012d0ce400070755c0002500f21f..."} 
[2026-08-10 08:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b49da0012d0ce400070755c0002500f21f..."} 
[2026-08-10 08:56:02] local.INFO: Processing buffer {"connection_id":151356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b49da0012d0ce400070755c0002500f21f..."} 
[2026-08-10 08:56:02] local.INFO: Packet analysis {"connection_id":151356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b4"} 
[2026-08-10 08:56:02] local.INFO: Extracted packet for processing {"connection_id":151356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b4"} 
[2026-08-10 08:56:02] local.INFO: GPS Element Parsed {"raw_longitude":755819520,"raw_latitude":117921216,"longitude_deg":75.581952,"latitude_deg":11.7921216,"altitude":37,"angle":242,"satellites":31,"speed":12,"hex_longitude":"2d0ce400","hex_latitude":"070755c0","is_valid_coordinates":true} 
[2026-08-10 08:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301082880001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27265998583234560,"note":"Value kept but may cause issues"} 
[2026-08-10 08:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929219297053917184,"note":"Value kept but may cause issues"} 
[2026-08-10 08:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786332356000,"timestamp_ms":1786332356000,"timestamp_seconds":1786332356,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b49da0"} 
[2026-08-10 08:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 08:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":151356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":151356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":151356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301082880001,"66":14363,"221":206,"94":10240,"24":12,"16":27265998583234560,"45":929219297053917184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 08:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301082880001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:56:02] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 08:56:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27265998583234560,"km_value":27265998583234.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":929219297053917184,"description":"Unknown IO ID 45"} 
[2026-08-10 08:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301082880001,"power":14363,"unknown_221":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":929219297053917184}} 
[2026-08-10 08:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":151356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:56:02] local.INFO: GPS data processed {"connection_id":151356,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:56:02] local.INFO: Acknowledgment sent {"connection_id":151356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:56:04] local.INFO: TCP Data received {"connection_id":151737,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:56:04] local.INFO: Processing buffer {"connection_id":151737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:56:04] local.INFO: IMEI packet received {"connection_id":151737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":151737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:56:05] local.INFO: TCP Data received {"connection_id":151737,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:56:05] local.INFO: Processing buffer {"connection_id":151737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:56:05] local.INFO: Packet analysis {"connection_id":151737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:56:05] local.INFO: Extracted packet for processing {"connection_id":151737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300950528001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786332139000,"timestamp_ms":1786332139000,"timestamp_seconds":1786332139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b14df8"} 
[2026-08-10 08:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:56: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-08-10 08:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300950528001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300950528001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300950528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":151737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:56:05] local.INFO: GPS data processed {"connection_id":151737,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:56:05] local.INFO: Acknowledgment sent {"connection_id":151737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:56:24] local.INFO: TCP Data received {"connection_id":152650,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:56:24] local.INFO: Processing buffer {"connection_id":152650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:56:24] local.INFO: IMEI packet received {"connection_id":152650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":152650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:56:29] local.INFO: TCP Data received {"connection_id":152650,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:56:29] local.INFO: Processing buffer {"connection_id":152650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:56:29] local.INFO: IMEI packet received {"connection_id":152650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":152650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:56:30] local.INFO: TCP Data received {"connection_id":152650,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b4a188012d0ce34007075498002500d91f..."} 
[2026-08-10 08:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b4a188012d0ce34007075498002500d91f..."} 
[2026-08-10 08:56:30] local.INFO: Processing buffer {"connection_id":152650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b4a188012d0ce34007075498002500d91f..."} 
[2026-08-10 08:56:30] local.INFO: Packet analysis {"connection_id":152650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b4"} 
[2026-08-10 08:56:30] local.INFO: Extracted packet for processing {"connection_id":152650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b4"} 
[2026-08-10 08:56:30] local.INFO: GPS Element Parsed {"raw_longitude":755819328,"raw_latitude":117920920,"longitude_deg":75.5819328,"latitude_deg":11.792092,"altitude":37,"angle":217,"satellites":31,"speed":16,"hex_longitude":"2d0ce340","hex_latitude":"07075498","is_valid_coordinates":true} 
[2026-08-10 08:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301083136001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27266015763103744,"note":"Value kept but may cause issues"} 
[2026-08-10 08:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928867453332996096,"note":"Value kept but may cause issues"} 
[2026-08-10 08:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786332357000,"timestamp_ms":1786332357000,"timestamp_seconds":1786332357,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b4a188"} 
[2026-08-10 08:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 08:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301083136001,"66":14363,"221":206,"94":10240,"24":16,"16":27266015763103744,"45":928867453332996096},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 08:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301083136001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:56:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 08:56:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27266015763103744,"km_value":27266015763103.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":928867453332996096,"description":"Unknown IO ID 45"} 
[2026-08-10 08:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301083136001,"power":14363,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":928867453332996096}} 
[2026-08-10 08:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":152650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:56:30] local.INFO: GPS data processed {"connection_id":152650,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:56:30] local.INFO: Acknowledgment sent {"connection_id":152650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:56:37] local.INFO: TCP Data received {"connection_id":151737,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:56:37] local.INFO: Processing buffer {"connection_id":151737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:56:37] local.INFO: Packet analysis {"connection_id":151737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:56:37] local.INFO: Extracted packet for processing {"connection_id":151737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300950528001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786332139000,"timestamp_ms":1786332139000,"timestamp_seconds":1786332139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b14df8"} 
[2026-08-10 08:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:56: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-08-10 08:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300950528001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300950528001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300950528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":151737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:56:37] local.INFO: GPS data processed {"connection_id":151737,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:56:37] local.INFO: Acknowledgment sent {"connection_id":151737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:56:59] local.INFO: TCP Data received {"connection_id":151738,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:56:59] local.INFO: Processing buffer {"connection_id":151738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:56:59] local.INFO: IMEI packet received {"connection_id":151738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":151738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:57:01] local.INFO: TCP Data received {"connection_id":152650,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b58800012d0ca980070777c8001e012622..."} 
[2026-08-10 08:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b58800012d0ca980070777c8001e012622..."} 
[2026-08-10 08:57:01] local.INFO: Processing buffer {"connection_id":152650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b58800012d0ca980070777c8001e012622..."} 
[2026-08-10 08:57:01] local.INFO: Packet analysis {"connection_id":152650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:57:01] local.INFO: Extracted packet for processing {"connection_id":152650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:57:01] local.INFO: GPS Element Parsed {"raw_longitude":755804544,"raw_latitude":117929928,"longitude_deg":75.5804544,"latitude_deg":11.7929928,"altitude":30,"angle":294,"satellites":34,"speed":10,"hex_longitude":"2d0ca980","hex_latitude":"070777c8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301098240001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27267093799895040,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912682642174330880,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786332416000,"timestamp_ms":1786332416000,"timestamp_seconds":1786332416,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b58800"} 
[2026-08-10 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-08-10 08:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 08:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 08:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301098240001,"66":14363,"221":206,"94":10240,"24":10,"16":27267093799895040,"45":912682642174330880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 08:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301098240001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:57:01] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 08:57:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27267093799895040,"km_value":27267093799895.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":912682642174330880,"description":"Unknown IO ID 45"} 
[2026-08-10 08:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301098240001,"power":14363,"unknown_221":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":912682642174330880}} 
[2026-08-10 08:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":152650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:57:01] local.INFO: GPS data processed {"connection_id":152650,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:57:01] local.INFO: Acknowledgment sent {"connection_id":152650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:57:04] local.INFO: TCP Data received {"connection_id":151738,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:57:04] local.INFO: Processing buffer {"connection_id":151738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:57:04] local.INFO: IMEI packet received {"connection_id":151738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":151738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:57:05] local.INFO: TCP Data received {"connection_id":151738,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:57:05] local.INFO: Processing buffer {"connection_id":151738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:57:05] local.INFO: Packet analysis {"connection_id":151738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:57:05] local.INFO: Extracted packet for processing {"connection_id":151738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 08:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300950528001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786332139000,"timestamp_ms":1786332139000,"timestamp_seconds":1786332139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b14df8"} 
[2026-08-10 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-08-10 08:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:57: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-08-10 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-08-10 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-08-10 08:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300950528001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300950528001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:57:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300950528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":151738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:57:05] local.INFO: GPS data processed {"connection_id":151738,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:57:05] local.INFO: Acknowledgment sent {"connection_id":151738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:57:23] local.INFO: TCP Data received {"connection_id":154103,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:57:23] local.INFO: Processing buffer {"connection_id":154103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:57:23] local.INFO: IMEI packet received {"connection_id":154103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":154103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:57:24] local.INFO: TCP Data received {"connection_id":154103,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:57:24] local.INFO: Processing buffer {"connection_id":154103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:57:24] local.INFO: IMEI packet received {"connection_id":154103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":154103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:57:24] local.INFO: TCP Data received {"connection_id":154103,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:57:24] local.INFO: Processing buffer {"connection_id":154103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:57:24] local.INFO: IMEI packet received {"connection_id":154103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":154103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:57:29] local.INFO: TCP Data received {"connection_id":154103,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:57:29] local.INFO: Processing buffer {"connection_id":154103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:57:29] local.INFO: IMEI packet received {"connection_id":154103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":154103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:57:30] local.INFO: TCP Data received {"connection_id":154103,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b58be8012d0ca78007077808001e011522..."} 
[2026-08-10 08:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b58be8012d0ca78007077808001e011522..."} 
[2026-08-10 08:57:30] local.INFO: Processing buffer {"connection_id":154103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b58be8012d0ca78007077808001e011522..."} 
[2026-08-10 08:57:30] local.INFO: Packet analysis {"connection_id":154103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:57:30] local.INFO: Extracted packet for processing {"connection_id":154103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:57:30] local.INFO: GPS Element Parsed {"raw_longitude":755804032,"raw_latitude":117929992,"longitude_deg":75.5804032,"latitude_deg":11.7929992,"altitude":30,"angle":277,"satellites":34,"speed":15,"hex_longitude":"2d0ca780","hex_latitude":"07077808","is_valid_coordinates":true} 
[2026-08-10 08:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301098496001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27267119569698816,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912401167197652992,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786332417000,"timestamp_ms":1786332417000,"timestamp_seconds":1786332417,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b58be8"} 
[2026-08-10 08:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 08:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301098496001,"66":14363,"221":206,"94":10240,"24":15,"16":27267119569698816,"45":912401167197652992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 08:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301098496001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:57:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 08:57:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27267119569698816,"km_value":27267119569698.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":912401167197652992,"description":"Unknown IO ID 45"} 
[2026-08-10 08:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301098496001,"power":14363,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":912401167197652992}} 
[2026-08-10 08:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":154103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618681,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:57:30] local.INFO: GPS data processed {"connection_id":154103,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:57:30] local.INFO: Acknowledgment sent {"connection_id":154103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:57:33] local.INFO: TCP Data received {"connection_id":154103,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b593b8012d0ca240070777c0001e010721..."} 
[2026-08-10 08:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b593b8012d0ca240070777c0001e010721..."} 
[2026-08-10 08:57:33] local.INFO: Processing buffer {"connection_id":154103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b593b8012d0ca240070777c0001e010721..."} 
[2026-08-10 08:57:33] local.INFO: Packet analysis {"connection_id":154103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:57:33] local.INFO: Extracted packet for processing {"connection_id":154103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:57:33] local.INFO: GPS Element Parsed {"raw_longitude":755802688,"raw_latitude":117929920,"longitude_deg":75.5802688,"latitude_deg":11.792992,"altitude":30,"angle":263,"satellites":33,"speed":25,"hex_longitude":"2d0ca240","hex_latitude":"070777c0","is_valid_coordinates":true} 
[2026-08-10 08:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301098752001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27267183994208256,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911838217244248064,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786332419000,"timestamp_ms":1786332419000,"timestamp_seconds":1786332419,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b593b8"} 
[2026-08-10 08:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 08:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":154103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":154103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":154103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301098752001,"66":14363,"221":206,"94":10240,"24":25,"16":27267183994208256,"45":911838217244248064},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 08:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301098752001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:57:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 08:57:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27267183994208256,"km_value":27267183994208.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":911838217244248064,"description":"Unknown IO ID 45"} 
[2026-08-10 08:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301098752001,"power":14363,"unknown_221":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":911838217244248064}} 
[2026-08-10 08:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":154103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618682,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:57:33] local.INFO: GPS data processed {"connection_id":154103,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:57:33] local.INFO: Acknowledgment sent {"connection_id":154103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:57:37] local.INFO: TCP Data received {"connection_id":151738,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:57:37] local.INFO: Processing buffer {"connection_id":151738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b14df8012d34c20006aa3f08000700f329..."} 
[2026-08-10 08:57:37] local.INFO: Packet analysis {"connection_id":151738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:57:37] local.INFO: Extracted packet for processing {"connection_id":151738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b1"} 
[2026-08-10 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457300950528001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786332139000,"timestamp_ms":1786332139000,"timestamp_seconds":1786332139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b14df8"} 
[2026-08-10 08:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:57: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-08-10 08:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457300950528001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457300950528001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457300950528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":151738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:57:37] local.INFO: GPS data processed {"connection_id":151738,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:57:37] local.INFO: Acknowledgment sent {"connection_id":151738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:57:59] local.INFO: TCP Data received {"connection_id":152651,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:57:59] local.INFO: Processing buffer {"connection_id":152651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:57:59] local.INFO: IMEI packet received {"connection_id":152651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":152651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:58:04] local.INFO: TCP Data received {"connection_id":154103,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b5c298012d0c8a8007077478001d00fb20..."} 
[2026-08-10 08:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b5c298012d0c8a8007077478001d00fb20..."} 
[2026-08-10 08:58:04] local.INFO: Processing buffer {"connection_id":154103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b5c298012d0c8a8007077478001d00fb20..."} 
[2026-08-10 08:58:04] local.INFO: Packet analysis {"connection_id":154103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:58:04] local.INFO: Extracted packet for processing {"connection_id":154103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:58:04] local.INFO: GPS Element Parsed {"raw_longitude":755796608,"raw_latitude":117929080,"longitude_deg":75.5796608,"latitude_deg":11.792908,"altitude":29,"angle":251,"satellites":32,"speed":27,"hex_longitude":"2d0c8a80","hex_latitude":"07077478","is_valid_coordinates":true} 
[2026-08-10 08:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301099264001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27267476051984384,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910360473616498688,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786332431000,"timestamp_ms":1786332431000,"timestamp_seconds":1786332431,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b5c298"} 
[2026-08-10 08:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 08:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301099264001,"66":14396,"221":206,"94":10240,"24":27,"16":27267476051984384,"45":910360473616498688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 08:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301099264001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:58:04] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 08:58:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27267476051984384,"km_value":27267476051984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":910360473616498688,"description":"Unknown IO ID 45"} 
[2026-08-10 08:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301099264001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":910360473616498688}} 
[2026-08-10 08:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":154103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:58:04] local.INFO: GPS data processed {"connection_id":154103,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:58:04] local.INFO: Acknowledgment sent {"connection_id":154103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:58:04] local.INFO: TCP Data received {"connection_id":152651,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:58:04] local.INFO: Processing buffer {"connection_id":152651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:58:04] local.INFO: IMEI packet received {"connection_id":152651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":152651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:58:05] local.INFO: TCP Data received {"connection_id":152651,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 08:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 08:58:05] local.INFO: Processing buffer {"connection_id":152651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 08:58:05] local.INFO: Packet analysis {"connection_id":152651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:58:05] local.INFO: Extracted packet for processing {"connection_id":152651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301027584001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786332440000,"timestamp_ms":1786332440000,"timestamp_seconds":1786332440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b5e5c0"} 
[2026-08-10 08:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:58: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-08-10 08:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301027584001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301027584001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:58:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301027584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":152651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:58:05] local.INFO: GPS data processed {"connection_id":152651,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:58:05] local.INFO: Acknowledgment sent {"connection_id":152651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:58:23] local.INFO: TCP Data received {"connection_id":151740,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:58:23] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:58:23] local.INFO: IMEI packet received {"connection_id":151740,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":151740,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:58:24] local.INFO: TCP Data received {"connection_id":151740,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:58:24] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:58:24] local.INFO: IMEI packet received {"connection_id":151740,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":151740,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:58:27] local.INFO: TCP Data received {"connection_id":151740,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:58:27] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:58:27] local.INFO: IMEI packet received {"connection_id":151740,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":151740,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:58:28] local.INFO: TCP Data received {"connection_id":151740,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b69d58012d0c3700070758c8000e00cc20..."} 
[2026-08-10 08:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b69d58012d0c3700070758c8000e00cc20..."} 
[2026-08-10 08:58:28] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b69d58012d0c3700070758c8000e00cc20..."} 
[2026-08-10 08:58:28] local.INFO: Packet analysis {"connection_id":151740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b6"} 
[2026-08-10 08:58:28] local.INFO: Extracted packet for processing {"connection_id":151740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b6"} 
[2026-08-10 08:58:28] local.INFO: GPS Element Parsed {"raw_longitude":755775232,"raw_latitude":117921992,"longitude_deg":75.5775232,"latitude_deg":11.7921992,"altitude":14,"angle":204,"satellites":32,"speed":9,"hex_longitude":"2d0c3700","hex_latitude":"070758c8","is_valid_coordinates":true} 
[2026-08-10 08:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301114112001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27268828966682624,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880101913619501056,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786332487000,"timestamp_ms":1786332487000,"timestamp_seconds":1786332487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b69d58"} 
[2026-08-10 08:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 08:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":151740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":151740,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":151740,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301114112001,"66":14548,"221":206,"94":10240,"24":9,"16":27268828966682624,"45":880101913619501056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 08:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301114112001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:58:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 08:58:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27268828966682624,"km_value":27268828966682.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":880101913619501056,"description":"Unknown IO ID 45"} 
[2026-08-10 08:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301114112001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":880101913619501056}} 
[2026-08-10 08:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":151740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618686,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:58:28] local.INFO: GPS data processed {"connection_id":151740,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:58:28] local.INFO: Acknowledgment sent {"connection_id":151740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:58:30] local.INFO: TCP Data received {"connection_id":151357,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:58:30] local.INFO: Processing buffer {"connection_id":151357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:58:30] local.INFO: IMEI packet received {"connection_id":151357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":151357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:58:31] local.INFO: TCP Data received {"connection_id":151357,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b512d0012d7c1a0005ec3358000d010c29..."} 
[2026-08-10 08:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b512d0012d7c1a0005ec3358000d010c29..."} 
[2026-08-10 08:58:31] local.INFO: Processing buffer {"connection_id":151357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b512d0012d7c1a0005ec3358000d010c29..."} 
[2026-08-10 08:58:31] local.INFO: Packet analysis {"connection_id":151357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:58:31] local.INFO: Extracted packet for processing {"connection_id":151357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763107840,"raw_latitude":99365720,"longitude_deg":76.310784,"latitude_deg":9.936572,"altitude":13,"angle":268,"satellites":41,"speed":36,"hex_longitude":"2d7c1a00","hex_latitude":"05ec3358","is_valid_coordinates":true} 
[2026-08-10 08:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301088000001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117184866956607488,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952874609673543680,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786332386000,"timestamp_ms":1786332386000,"timestamp_seconds":1786332386,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b512d0"} 
[2026-08-10 08:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3920881160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277807989732162976,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3024340993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4406772278346982400,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2684431740,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1074129977,"corrected_to":0} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070409,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963359232,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-4685994117394841595,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":73,"raw_value":7926562218135525376,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.WARNING: Large IO value detected {"io_id":96,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:31] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,198,87,24,241,157,16,82,159,184,45,128,53,12,41,10,66,142,64,54,11,81,106,1,240,160,227,233,236,4,113,205,39,32,246,35,239,51,110,2,5,9,8,181,179,6,73,96],"length":626,"final_offset":756,"validated_count":48,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0},{"io_id":246,"original":1074129977,"validated":0}]} 
[2026-08-10 08:58:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864984878450409472,"timestamp_seconds":864984878450409.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:58: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-08-10 08:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301088000001,"66":13352,"198":206,"87":13824,"24":36,"16":117184866956607488,"45":8952874609673543680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-10 08:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301088000001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:58:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 08:58:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117184866956607488,"km_value":117184866956607.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952874609673543680,"description":"Unknown IO ID 45"} 
[2026-08-10 08:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301088000001,"power":13352,"unknown_198":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8952874609673543680}} 
[2026-08-10 08:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":151357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:58:31] local.INFO: GPS data processed {"connection_id":151357,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:58:31] local.INFO: Acknowledgment sent {"connection_id":151357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:58:37] local.INFO: TCP Data received {"connection_id":152651,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 08:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 08:58:37] local.INFO: Processing buffer {"connection_id":152651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 08:58:37] local.INFO: Packet analysis {"connection_id":152651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:58:37] local.INFO: Extracted packet for processing {"connection_id":152651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301027584001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786332440000,"timestamp_ms":1786332440000,"timestamp_seconds":1786332440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b5e5c0"} 
[2026-08-10 08:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:58: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-08-10 08:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301027584001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301027584001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301027584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":152651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:58:37] local.INFO: GPS data processed {"connection_id":152651,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:58:37] local.INFO: Acknowledgment sent {"connection_id":152651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:58:59] local.INFO: TCP Data received {"connection_id":151740,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b6a140012d0c3600070757e0000e00dd20..."} 
[2026-08-10 08:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b6a140012d0c3600070757e0000e00dd20..."} 
[2026-08-10 08:58:59] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b6a140012d0c3600070757e0000e00dd20..."} 
[2026-08-10 08:58:59] local.INFO: Packet analysis {"connection_id":151740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b6"} 
[2026-08-10 08:58:59] local.INFO: Extracted packet for processing {"connection_id":151740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b6"} 
[2026-08-10 08:58:59] local.INFO: GPS Element Parsed {"raw_longitude":755774976,"raw_latitude":117921760,"longitude_deg":75.5774976,"latitude_deg":11.792176,"altitude":14,"angle":221,"satellites":32,"speed":12,"hex_longitude":"2d0c3600","hex_latitude":"070757e0","is_valid_coordinates":true} 
[2026-08-10 08:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301116672001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27268846146551808,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880172282362251264,"note":"Value kept but may cause issues"} 
[2026-08-10 08:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786332488000,"timestamp_ms":1786332488000,"timestamp_seconds":1786332488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b6a140"} 
[2026-08-10 08:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 08:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151740,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151740,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301116672001,"66":14265,"221":206,"94":10240,"24":12,"16":27268846146551808,"45":880172282362251264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 08:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301116672001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:58:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 08:58:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27268846146551808,"km_value":27268846146551.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":880172282362251264,"description":"Unknown IO ID 45"} 
[2026-08-10 08:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301116672001,"power":14265,"unknown_221":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":880172282362251264}} 
[2026-08-10 08:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":151740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618689,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:59:00] local.INFO: GPS data processed {"connection_id":151740,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:59:00] local.INFO: Acknowledgment sent {"connection_id":151740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:59:00] local.INFO: TCP Data received {"connection_id":151741,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:59:00] local.INFO: Processing buffer {"connection_id":151741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:59:00] local.INFO: IMEI packet received {"connection_id":151741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 08:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":151741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:59:04] local.INFO: TCP Data received {"connection_id":151741,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:59:04] local.INFO: Processing buffer {"connection_id":151741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 08:59:04] local.INFO: IMEI packet received {"connection_id":151741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 08:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":151741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:59:06] local.INFO: TCP Data received {"connection_id":151741,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 08:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 08:59:06] local.INFO: Processing buffer {"connection_id":151741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 08:59:06] local.INFO: Packet analysis {"connection_id":151741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:59:06] local.INFO: Extracted packet for processing {"connection_id":151741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301027584001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786332440000,"timestamp_ms":1786332440000,"timestamp_seconds":1786332440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b5e5c0"} 
[2026-08-10 08:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301027584001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301027584001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301027584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":151741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:59:06] local.INFO: GPS data processed {"connection_id":151741,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:59:06] local.INFO: Acknowledgment sent {"connection_id":151741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:59:19] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:59:19] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:59:19] local.INFO: IMEI packet received {"connection_id":151358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 08:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":151358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:59:22] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:59:22] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 08:59:22] local.INFO: IMEI packet received {"connection_id":151358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 08:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":151358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:59:23] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b6ef60012d7a9dc005ebacc0000600f72a..."} 
[2026-08-10 08:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b6ef60012d7a9dc005ebacc0000600f72a..."} 
[2026-08-10 08:59:23] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b6ef60012d7a9dc005ebacc0000600f72a..."} 
[2026-08-10 08:59:23] local.INFO: Packet analysis {"connection_id":151358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b6"} 
[2026-08-10 08:59:23] local.INFO: Extracted packet for processing {"connection_id":151358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b6"} 
[2026-08-10 08:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763010496,"raw_latitude":99331264,"longitude_deg":76.3010496,"latitude_deg":9.9331264,"altitude":6,"angle":247,"satellites":42,"speed":30,"hex_longitude":"2d7a9dc0","hex_latitude":"05ebacc0","is_valid_coordinates":true} 
[2026-08-10 08:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301118976001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117189844823703552,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845280799817916416,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786332508000,"timestamp_ms":1786332508000,"timestamp_seconds":1786332508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b6ef60"} 
[2026-08-10 08:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921003160,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3875536896,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3055572993,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4216848398,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":102,"raw_value":2147871753,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154005,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960782848,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":181,"raw_value":-7521010082848522235,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2272066085039385088,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:23] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,98,87,24,241,157,16,159,149,45,64,203,7,42,10,66,86,110,128,218,9,71,1,240,227,85,233,235,4,113,205,32,102,160,41,239,50,198,2,5,17,122,181,236],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-08-10 08:59:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432615124967030784,"timestamp_seconds":432615124967030.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 08:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301118976001,"66":13243,"98":206,"87":13824,"24":30,"16":117189844823703552,"45":8845280799817916416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-10 08:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301118976001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:59:23] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-10 08:59:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117189844823703552,"km_value":117189844823703.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845280799817916416,"description":"Unknown IO ID 45"} 
[2026-08-10 08:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301118976001,"power":13243,"unknown_98":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8845280799817916416}} 
[2026-08-10 08:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":151358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:59:23] local.INFO: GPS data processed {"connection_id":151358,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:59:23] local.INFO: Acknowledgment sent {"connection_id":151358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:59:23] local.INFO: TCP Data received {"connection_id":154104,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:59:23] local.INFO: Processing buffer {"connection_id":154104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:59:23] local.INFO: IMEI packet received {"connection_id":154104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 08:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":154104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 08:59:24] local.INFO: TCP Data received {"connection_id":154104,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:59:24] local.INFO: Processing buffer {"connection_id":154104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:59:24] local.INFO: IMEI packet received {"connection_id":154104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":154104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:59:24] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b71a58012d7a7c0005eba090000600fc25..."} 
[2026-08-10 08:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b71a58012d7a7c0005eba090000600fc25..."} 
[2026-08-10 08:59:24] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b71a58012d7a7c0005eba090000600fc25..."} 
[2026-08-10 08:59:24] local.INFO: Packet analysis {"connection_id":151358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b7"} 
[2026-08-10 08:59:24] local.INFO: Extracted packet for processing {"connection_id":151358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b7"} 
[2026-08-10 08:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763001856,"raw_latitude":99328144,"longitude_deg":76.3001856,"latitude_deg":9.9328144,"altitude":6,"angle":252,"satellites":37,"speed":33,"hex_longitude":"2d7a7c00","hex_latitude":"05eba090","is_valid_coordinates":true} 
[2026-08-10 08:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301122048001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117190282910367744,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835429175632117760,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786332519000,"timestamp_ms":1786332519000,"timestamp_seconds":1786332519,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b71a58"} 
[2026-08-10 08:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 08:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301122048001,"66":13428,"98":206,"87":13824,"24":33,"16":117190282910367744,"45":8835429175632117760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-10 08:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301122048001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:59:24] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-10 08:59:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117190282910367744,"km_value":117190282910367.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835429175632117760,"description":"Unknown IO ID 45"} 
[2026-08-10 08:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301122048001,"power":13428,"unknown_98":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8835429175632117760}} 
[2026-08-10 08:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":151358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:59:24] local.INFO: GPS data processed {"connection_id":151358,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:59:24] local.INFO: Acknowledgment sent {"connection_id":151358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:59:25] local.INFO: TCP Data received {"connection_id":154104,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:59:25] local.INFO: Processing buffer {"connection_id":154104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:59:25] local.INFO: IMEI packet received {"connection_id":154104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":154104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:59:29] local.INFO: TCP Data received {"connection_id":154104,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:59:29] local.INFO: Processing buffer {"connection_id":154104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 08:59:29] local.INFO: IMEI packet received {"connection_id":154104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 08:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":154104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 08:59:30] local.INFO: TCP Data received {"connection_id":154104,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b77048012d0bb340070719c0001000d420..."} 
[2026-08-10 08:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b77048012d0bb340070719c0001000d420..."} 
[2026-08-10 08:59:30] local.INFO: Processing buffer {"connection_id":154104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b77048012d0bb340070719c0001000d420..."} 
[2026-08-10 08:59:30] local.INFO: Packet analysis {"connection_id":154104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b7"} 
[2026-08-10 08:59:30] local.INFO: Extracted packet for processing {"connection_id":154104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b7"} 
[2026-08-10 08:59:30] local.INFO: GPS Element Parsed {"raw_longitude":755741504,"raw_latitude":117905856,"longitude_deg":75.5741504,"latitude_deg":11.7905856,"altitude":16,"angle":212,"satellites":32,"speed":20,"hex_longitude":"2d0bb340","hex_latitude":"070719c0","is_valid_coordinates":true} 
[2026-08-10 08:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301130240001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27270972155363328,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843369429153318912,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786332541000,"timestamp_ms":1786332541000,"timestamp_seconds":1786332541,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b77048"} 
[2026-08-10 08:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 08:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 08:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 08:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 08:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301130240001,"66":14515,"163":206,"94":10240,"24":20,"16":27270972155363328,"45":843369429153318912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-10 08:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 08:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 08:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301130240001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:59:30] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 08:59:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 08:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27270972155363328,"km_value":27270972155363.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":843369429153318912,"description":"Unknown IO ID 45"} 
[2026-08-10 08:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301130240001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":843369429153318912}} 
[2026-08-10 08:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":154104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618693,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:59:30] local.INFO: GPS data processed {"connection_id":154104,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:59:30] local.INFO: Acknowledgment sent {"connection_id":154104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:59:38] local.INFO: TCP Data received {"connection_id":151741,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 08:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 08:59:38] local.INFO: Processing buffer {"connection_id":151741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 08:59:38] local.INFO: Packet analysis {"connection_id":151741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:59:38] local.INFO: Extracted packet for processing {"connection_id":151741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 08:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 08:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301027584001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786332440000,"timestamp_ms":1786332440000,"timestamp_seconds":1786332440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b5e5c0"} 
[2026-08-10 08:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 08:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 08:59: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-08-10 08:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 08:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 08:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301027584001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 08:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 08:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 08:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301027584001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 08:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 08:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 08:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301027584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 08:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":151741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:59:38] local.INFO: GPS data processed {"connection_id":151741,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:59:38] local.INFO: Acknowledgment sent {"connection_id":151741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 08:59:55] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b76c60012d7a650005eb9838000500fd19..."} 
[2026-08-10 08:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b76c60012d7a650005eb9838000500fd19..."} 
[2026-08-10 08:59:55] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b76c60012d7a650005eb9838000500fd19..."} 
[2026-08-10 08:59:55] local.INFO: Packet analysis {"connection_id":151358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b7"} 
[2026-08-10 08:59:55] local.INFO: Extracted packet for processing {"connection_id":151358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b7"} 
[2026-08-10 08:59:55] local.INFO: GPS Element Parsed {"raw_longitude":762995968,"raw_latitude":99326008,"longitude_deg":76.2995968,"latitude_deg":9.9326008,"altitude":5,"angle":253,"satellites":25,"speed":0,"hex_longitude":"2d7a6500","hex_latitude":"05eb9838","is_valid_coordinates":true} 
[2026-08-10 08:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 08:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301124864001,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117190583558078464,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825929395167334400,"note":"Value kept but may cause issues"} 
[2026-08-10 08:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 08:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786332540000,"timestamp_ms":1786332540000,"timestamp_seconds":1786332540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b76c60"} 
[2026-08-10 08:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 08:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 08:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-10 08:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 08:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 08:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 08:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 08:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 08:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 08:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 08:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 08:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 08:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301124864001,"66":13091,"161":206,"87":13824,"24":0,"16":117190583558078464,"45":8825929395167334400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-10 08:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 08:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 08:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301124864001,"description":"Unknown IO ID 0"} 
[2026-08-10 08:59:55] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-10 08:59:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 08:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117190583558078464,"km_value":117190583558078.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 08:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825929395167334400,"description":"Unknown IO ID 45"} 
[2026-08-10 08:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301124864001,"power":13091,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8825929395167334400}} 
[2026-08-10 08:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":151358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 08:59:56] local.INFO: GPS data processed {"connection_id":151358,"processed":1,"errors":0,"total":1} 
[2026-08-10 08:59:56] local.INFO: Acknowledgment sent {"connection_id":151358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:00:00] local.INFO: TCP Data received {"connection_id":151742,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:00:00] local.INFO: Processing buffer {"connection_id":151742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:00:00] local.INFO: IMEI packet received {"connection_id":151742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":151742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:00:01] local.INFO: TCP Data received {"connection_id":154104,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b77430012d0bb1c007071888001000e721..."} 
[2026-08-10 09:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b77430012d0bb1c007071888001000e721..."} 
[2026-08-10 09:00:01] local.INFO: Processing buffer {"connection_id":154104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b77430012d0bb1c007071888001000e721..."} 
[2026-08-10 09:00:01] local.INFO: Packet analysis {"connection_id":154104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b7"} 
[2026-08-10 09:00:01] local.INFO: Extracted packet for processing {"connection_id":154104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b7"} 
[2026-08-10 09:00:01] local.INFO: GPS Element Parsed {"raw_longitude":755741120,"raw_latitude":117905544,"longitude_deg":75.574112,"latitude_deg":11.7905544,"altitude":16,"angle":231,"satellites":33,"speed":20,"hex_longitude":"2d0bb1c0","hex_latitude":"07071888","is_valid_coordinates":true} 
[2026-08-10 09:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301130496001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27270993630199808,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843087954176491520,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786332542000,"timestamp_ms":1786332542000,"timestamp_seconds":1786332542,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b77430"} 
[2026-08-10 09:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 09:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301130496001,"66":14515,"163":206,"94":10240,"24":20,"16":27270993630199808,"45":843087954176491520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-10 09:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301130496001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:00:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 09:00:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27270993630199808,"km_value":27270993630199.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":843087954176491520,"description":"Unknown IO ID 45"} 
[2026-08-10 09:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301130496001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":843087954176491520}} 
[2026-08-10 09:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":154104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618696,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:00:01] local.INFO: GPS data processed {"connection_id":154104,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:00:01] local.INFO: Acknowledgment sent {"connection_id":154104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:00:04] local.INFO: TCP Data received {"connection_id":151742,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:00:04] local.INFO: Processing buffer {"connection_id":151742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:00:04] local.INFO: IMEI packet received {"connection_id":151742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":151742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:00:06] local.INFO: TCP Data received {"connection_id":151742,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:00:06] local.INFO: Processing buffer {"connection_id":151742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:00:06] local.INFO: Packet analysis {"connection_id":151742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 09:00:06] local.INFO: Extracted packet for processing {"connection_id":151742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301027584001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786332440000,"timestamp_ms":1786332440000,"timestamp_seconds":1786332440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b5e5c0"} 
[2026-08-10 09:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301027584001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301027584001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301027584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":151742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:00:06] local.INFO: GPS data processed {"connection_id":151742,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:00:06] local.INFO: Acknowledgment sent {"connection_id":151742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:00:14] local.INFO: TCP Data received {"connection_id":154105,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:00:14] local.INFO: Processing buffer {"connection_id":154105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:00:14] local.INFO: IMEI packet received {"connection_id":154105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":154105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:00:19] local.INFO: TCP Data received {"connection_id":154105,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:00:19] local.INFO: Processing buffer {"connection_id":154105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:00:19] local.INFO: IMEI packet received {"connection_id":154105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":154105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:00:20] local.INFO: TCP Data received {"connection_id":154105,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b7be68012d7a650005eb9838000500fd1c..."} 
[2026-08-10 09:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b7be68012d7a650005eb9838000500fd1c..."} 
[2026-08-10 09:00:20] local.INFO: Processing buffer {"connection_id":154105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b7be68012d7a650005eb9838000500fd1c..."} 
[2026-08-10 09:00:20] local.INFO: Packet analysis {"connection_id":154105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b7"} 
[2026-08-10 09:00:20] local.INFO: Extracted packet for processing {"connection_id":154105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b7"} 
[2026-08-10 09:00:20] local.INFO: GPS Element Parsed {"raw_longitude":762995968,"raw_latitude":99326008,"longitude_deg":76.2995968,"latitude_deg":9.9326008,"altitude":5,"angle":253,"satellites":28,"speed":0,"hex_longitude":"2d7a6500","hex_latitude":"05eb9838","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301130240001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117190583558078464,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819455470702442496,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00: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-08-10 09:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786332561000,"timestamp_ms":1786332561000,"timestamp_seconds":1786332561,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b7be68"} 
[2026-08-10 09:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 09:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301130240001,"66":13319,"161":206,"87":13824,"24":0,"16":117190583558078464,"45":8819455470702442496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-10 09:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301130240001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:00:20] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-10 09:00:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117190583558078464,"km_value":117190583558078.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819455470702442496,"description":"Unknown IO ID 45"} 
[2026-08-10 09:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301130240001,"power":13319,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8819455470702442496}} 
[2026-08-10 09:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":154105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:00:20] local.INFO: GPS data processed {"connection_id":154105,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:00:20] local.INFO: Acknowledgment sent {"connection_id":154105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:00:24] local.INFO: TCP Data received {"connection_id":154106,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:00:24] local.INFO: Processing buffer {"connection_id":154106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:00:24] local.INFO: IMEI packet received {"connection_id":154106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":154106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:00:27] local.INFO: TCP Data received {"connection_id":154106,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:00:27] local.INFO: Processing buffer {"connection_id":154106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:00:27] local.INFO: IMEI packet received {"connection_id":154106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":154106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:00:29] local.INFO: TCP Data received {"connection_id":154106,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:00:29] local.INFO: Processing buffer {"connection_id":154106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:00:29] local.INFO: IMEI packet received {"connection_id":154106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":154106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:00:30] local.INFO: TCP Data received {"connection_id":154106,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b87dd0012d0b1b000706a280000f00d220..."} 
[2026-08-10 09:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b87dd0012d0b1b000706a280000f00d220..."} 
[2026-08-10 09:00:30] local.INFO: Processing buffer {"connection_id":154106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b87dd0012d0b1b000706a280000f00d220..."} 
[2026-08-10 09:00:30] local.INFO: Packet analysis {"connection_id":154106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:00:30] local.INFO: Extracted packet for processing {"connection_id":154106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:00:30] local.INFO: GPS Element Parsed {"raw_longitude":755702528,"raw_latitude":117875328,"longitude_deg":75.5702528,"latitude_deg":11.7875328,"altitude":15,"angle":210,"satellites":32,"speed":35,"hex_longitude":"2d0b1b00","hex_latitude":"0706a280","is_valid_coordinates":true} 
[2026-08-10 09:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301145856001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27273579200512000,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804666619849820160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786332610000,"timestamp_ms":1786332610000,"timestamp_seconds":1786332610,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b87dd0"} 
[2026-08-10 09:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 09:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301145856001,"66":14374,"163":206,"94":10240,"24":35,"16":27273579200512000,"45":804666619849820160},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-10 09:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301145856001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:00:30] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 09:00:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27273579200512000,"km_value":27273579200512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":804666619849820160,"description":"Unknown IO ID 45"} 
[2026-08-10 09:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301145856001,"power":14374,"unknown_163":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":804666619849820160}} 
[2026-08-10 09:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":154106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:00:30] local.INFO: GPS data processed {"connection_id":154106,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:00:30] local.INFO: Acknowledgment sent {"connection_id":154106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:00:31] local.INFO: TCP Data received {"connection_id":154106,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b89928012d0b0e4007069210000f00df1f..."} 
[2026-08-10 09:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b89928012d0b0e4007069210000f00df1f..."} 
[2026-08-10 09:00:31] local.INFO: Processing buffer {"connection_id":154106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b89928012d0b0e4007069210000f00df1f..."} 
[2026-08-10 09:00:31] local.INFO: Packet analysis {"connection_id":154106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:00:31] local.INFO: Extracted packet for processing {"connection_id":154106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:00:31] local.INFO: GPS Element Parsed {"raw_longitude":755699264,"raw_latitude":117871120,"longitude_deg":75.5699264,"latitude_deg":11.787112,"altitude":15,"angle":223,"satellites":31,"speed":24,"hex_longitude":"2d0b0e40","hex_latitude":"07069210","is_valid_coordinates":true} 
[2026-08-10 09:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301148160001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27273836898549760,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":800233388964478976,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786332617000,"timestamp_ms":1786332617000,"timestamp_seconds":1786332617,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b89928"} 
[2026-08-10 09:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:00: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-08-10 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 09:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301148160001,"66":14407,"163":206,"94":10240,"24":24,"16":27273836898549760,"45":800233388964478976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-10 09:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301148160001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:00:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 09:00:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27273836898549760,"km_value":27273836898549.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":800233388964478976,"description":"Unknown IO ID 45"} 
[2026-08-10 09:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301148160001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":800233388964478976}} 
[2026-08-10 09:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":154106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618700,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:00:32] local.INFO: GPS data processed {"connection_id":154106,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:00:32] local.INFO: Acknowledgment sent {"connection_id":154106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:00:37] local.INFO: TCP Data received {"connection_id":151742,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:00:37] local.INFO: Processing buffer {"connection_id":151742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:00:37] local.INFO: Packet analysis {"connection_id":151742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 09:00:37] local.INFO: Extracted packet for processing {"connection_id":151742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 09:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301027584001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786332440000,"timestamp_ms":1786332440000,"timestamp_seconds":1786332440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b5e5c0"} 
[2026-08-10 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-08-10 09:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:00: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-08-10 09:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301027584001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301027584001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301027584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":151742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:00:37] local.INFO: GPS data processed {"connection_id":151742,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:00:37] local.INFO: Acknowledgment sent {"connection_id":151742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:00:51] local.INFO: TCP Data received {"connection_id":154105,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b81070012d7a650005eb9838000500fd1c..."} 
[2026-08-10 09:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b81070012d7a650005eb9838000500fd1c..."} 
[2026-08-10 09:00:51] local.INFO: Processing buffer {"connection_id":154105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b81070012d7a650005eb9838000500fd1c..."} 
[2026-08-10 09:00:51] local.INFO: Packet analysis {"connection_id":154105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:00:51] local.INFO: Extracted packet for processing {"connection_id":154105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:00:51] local.INFO: GPS Element Parsed {"raw_longitude":762995968,"raw_latitude":99326008,"longitude_deg":76.2995968,"latitude_deg":9.9326008,"altitude":5,"angle":253,"satellites":28,"speed":0,"hex_longitude":"2d7a6500","hex_latitude":"05eb9838","is_valid_coordinates":true} 
[2026-08-10 09:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301135616001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117190583558078464,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819455470702442496,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786332582000,"timestamp_ms":1786332582000,"timestamp_seconds":1786332582,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b81070"} 
[2026-08-10 09:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:00: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":7,"data_length":795,"current_offset":136} 
[2026-08-10 09:00:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921047160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3956981760,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:51] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3066068993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:51] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-1481684230144316928,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-08-10 09:00:51] local.WARNING: Large IO value detected {"io_id":149,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:51] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57777557936690998,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:51] local.WARNING: Large IO value detected {"io_id":182,"raw_value":5145363869121806341,"note":"Value kept but may cause issues"} 
[2026-08-10 09:00:51] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,161,87,24,241,157,16,88,159,108,45,152,5,25,10,66,26,160,6,37,98,239,192,1,240,187,227,233,235,4,113,205,31,149,226,42,52,2,9,36,214,182],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1147273422,"validated":0}]} 
[2026-08-10 09:00:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360566266890551296,"timestamp_seconds":360566266890551.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301135616001,"66":13059,"161":206,"87":13824,"24":0,"16":117190583558078464,"45":8819455470702442496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-10 09:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301135616001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:00:51] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-10 09:00:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117190583558078464,"km_value":117190583558078.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819455470702442496,"description":"Unknown IO ID 45"} 
[2026-08-10 09:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301135616001,"power":13059,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8819455470702442496}} 
[2026-08-10 09:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":154105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:00:51] local.INFO: GPS data processed {"connection_id":154105,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:00:51] local.INFO: Acknowledgment sent {"connection_id":154105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:00:59] local.INFO: TCP Data received {"connection_id":151743,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:00:59] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:00:59] local.INFO: IMEI packet received {"connection_id":151743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":151743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:01:03] local.INFO: TCP Data received {"connection_id":154106,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b8bc50012d0afc0007067dd8001100d020..."} 
[2026-08-10 09:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b8bc50012d0afc0007067dd8001100d020..."} 
[2026-08-10 09:01:03] local.INFO: Processing buffer {"connection_id":154106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b8bc50012d0afc0007067dd8001100d020..."} 
[2026-08-10 09:01:03] local.INFO: Packet analysis {"connection_id":154106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:01:03] local.INFO: Extracted packet for processing {"connection_id":154106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:01:03] local.INFO: GPS Element Parsed {"raw_longitude":755694592,"raw_latitude":117865944,"longitude_deg":75.5694592,"latitude_deg":11.7865944,"altitude":17,"angle":208,"satellites":32,"speed":28,"hex_longitude":"2d0afc00","hex_latitude":"07067dd8","is_valid_coordinates":true} 
[2026-08-10 09:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301149952001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27274171905998848,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796644583010340864,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786332626000,"timestamp_ms":1786332626000,"timestamp_seconds":1786332626,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b8bc50"} 
[2026-08-10 09:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 09:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301149952001,"66":14352,"163":206,"94":10240,"24":28,"16":27274171905998848,"45":796644583010340864},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-10 09:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301149952001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:01:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 09:01:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27274171905998848,"km_value":27274171905998.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":796644583010340864,"description":"Unknown IO ID 45"} 
[2026-08-10 09:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301149952001,"power":14352,"unknown_163":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":796644583010340864}} 
[2026-08-10 09:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":154106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618703,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:01:03] local.INFO: GPS data processed {"connection_id":154106,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:01:03] local.INFO: Acknowledgment sent {"connection_id":154106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:01:05] local.INFO: TCP Data received {"connection_id":151743,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:01:05] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:01:05] local.INFO: IMEI packet received {"connection_id":151743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":151743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:01:05] local.INFO: TCP Data received {"connection_id":151743,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:01:05] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:01:05] local.INFO: Packet analysis {"connection_id":151743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 09:01:05] local.INFO: Extracted packet for processing {"connection_id":151743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 09:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301027584001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786332440000,"timestamp_ms":1786332440000,"timestamp_seconds":1786332440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b5e5c0"} 
[2026-08-10 09:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:01: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-08-10 09:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301027584001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301027584001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301027584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":151743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:01:05] local.INFO: GPS data processed {"connection_id":151743,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:01:05] local.INFO: Acknowledgment sent {"connection_id":151743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:01:14] local.INFO: TCP Data received {"connection_id":151359,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:01:14] local.INFO: Processing buffer {"connection_id":151359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:01:14] local.INFO: IMEI packet received {"connection_id":151359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":151359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:01:20] local.INFO: TCP Data received {"connection_id":151359,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:01:20] local.INFO: Processing buffer {"connection_id":151359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:01:20] local.INFO: IMEI packet received {"connection_id":151359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":151359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:01:20] local.INFO: TCP Data received {"connection_id":151359,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b86278012d7a650005eb9838000500fd1c..."} 
[2026-08-10 09:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b86278012d7a650005eb9838000500fd1c..."} 
[2026-08-10 09:01:20] local.INFO: Processing buffer {"connection_id":151359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b86278012d7a650005eb9838000500fd1c..."} 
[2026-08-10 09:01:20] local.INFO: Packet analysis {"connection_id":151359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:01:20] local.INFO: Extracted packet for processing {"connection_id":151359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":762995968,"raw_latitude":99326008,"longitude_deg":76.2995968,"latitude_deg":9.9326008,"altitude":5,"angle":253,"satellites":28,"speed":0,"hex_longitude":"2d7a6500","hex_latitude":"05eb9838","is_valid_coordinates":true} 
[2026-08-10 09:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301140992001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117190583558078464,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819455470702442496,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01: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-08-10 09:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786332603000,"timestamp_ms":1786332603000,"timestamp_seconds":1786332603,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b86278"} 
[2026-08-10 09:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 09:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169019104580,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921057160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3955949568,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:20] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3069140993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:20] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2898264070,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-08-10 09:01:20] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3221613498,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:20] local.WARNING: Large IO value detected {"io_id":98,"raw_value":58079734643818531,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:20] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,161,87,24,241,157,16,88,159,190,45,152,5,28,10,66,108,25,26,1,240,116,227,233,235,4,113,205,30,192,224,42,239,52,98,2,160,7,35],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147273422,"validated":0}]} 
[2026-08-10 09:01:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360566266890551296,"timestamp_seconds":360566266890551.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301140992001,"66":13363,"161":206,"87":13824,"24":0,"16":117190583558078464,"45":8819455470702442496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-10 09:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301140992001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:01:20] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-10 09:01:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117190583558078464,"km_value":117190583558078.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819455470702442496,"description":"Unknown IO ID 45"} 
[2026-08-10 09:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301140992001,"power":13363,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8819455470702442496}} 
[2026-08-10 09:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":151359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:01:20] local.INFO: GPS data processed {"connection_id":151359,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:01:20] local.INFO: Acknowledgment sent {"connection_id":151359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:01:24] local.INFO: TCP Data received {"connection_id":154107,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154107,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:01:24] local.INFO: Processing buffer {"connection_id":154107,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:01:24] local.INFO: IMEI packet received {"connection_id":154107,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":154107,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:01:24] local.INFO: TCP Data received {"connection_id":154107,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154107,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:01:24] local.INFO: Processing buffer {"connection_id":154107,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:01:24] local.INFO: IMEI packet received {"connection_id":154107,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":154107,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:01:31] local.INFO: TCP Data received {"connection_id":154107,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154107,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:01:31] local.INFO: Processing buffer {"connection_id":154107,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:01:31] local.INFO: IMEI packet received {"connection_id":154107,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":154107,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:01:31] local.INFO: TCP Data received {"connection_id":154107,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b8cbf0012d0af78007067698001200e91f..."} 
[2026-08-10 09:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b8cbf0012d0af78007067698001200e91f..."} 
[2026-08-10 09:01:31] local.INFO: Processing buffer {"connection_id":154107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b8cbf0012d0af78007067698001200e91f..."} 
[2026-08-10 09:01:31] local.INFO: Packet analysis {"connection_id":154107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:01:31] local.INFO: Extracted packet for processing {"connection_id":154107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:01:31] local.INFO: GPS Element Parsed {"raw_longitude":755693440,"raw_latitude":117864088,"longitude_deg":75.569344,"latitude_deg":11.7864088,"altitude":18,"angle":233,"satellites":31,"speed":17,"hex_longitude":"2d0af780","hex_latitude":"07067698","is_valid_coordinates":true} 
[2026-08-10 09:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301152256001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27274279280181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791507664684046336,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786332630000,"timestamp_ms":1786332630000,"timestamp_seconds":1786332630,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b8cbf0"} 
[2026-08-10 09:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5067602334328064,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921158160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":369295345538039818,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504015770419200,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3090644993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3849322512,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264511395,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738735822,"corrected_to":0} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3758173451,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3827695616,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84736473861392136,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.WARNING: Large IO value detected {"io_id":11,"raw_value":7710170288896344083,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:31] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,163,94,24,241,157,16,229,159,153,45,64,146,15,31,10,66,125,162,32,90,192,1,240,27,227,228,233,6,4,113,205,44,39,67,239,56,2,96,7,17,34,206,184,11],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1738735822,"validated":0}]} 
[2026-08-10 09:01:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225207934504140800,"timestamp_seconds":1225207934504140.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154107,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154107,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301152256001,"66":14428,"163":206,"94":10240,"24":17,"16":27274279280181248,"45":791507664684046336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-10 09:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301152256001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:01:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 09:01:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27274279280181248,"km_value":27274279280181.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":791507664684046336,"description":"Unknown IO ID 45"} 
[2026-08-10 09:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301152256001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":791507664684046336}} 
[2026-08-10 09:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":154107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:01:31] local.INFO: GPS data processed {"connection_id":154107,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:01:31] local.INFO: Acknowledgment sent {"connection_id":154107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:01:37] local.INFO: TCP Data received {"connection_id":151743,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:01:37] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:01:37] local.INFO: Packet analysis {"connection_id":151743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 09:01:37] local.INFO: Extracted packet for processing {"connection_id":151743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 09:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301027584001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786332440000,"timestamp_ms":1786332440000,"timestamp_seconds":1786332440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b5e5c0"} 
[2026-08-10 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-08-10 09:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:01: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-08-10 09:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301027584001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301027584001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301027584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":151743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:01:37] local.INFO: GPS data processed {"connection_id":151743,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:01:37] local.INFO: Acknowledgment sent {"connection_id":151743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:01:51] local.INFO: TCP Data received {"connection_id":151359,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b8b480012d7a5f0005eb9570000400fd1b..."} 
[2026-08-10 09:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b8b480012d7a5f0005eb9570000400fd1b..."} 
[2026-08-10 09:01:51] local.INFO: Processing buffer {"connection_id":151359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b8b480012d7a5f0005eb9570000400fd1b..."} 
[2026-08-10 09:01:51] local.INFO: Packet analysis {"connection_id":151359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:01:51] local.INFO: Extracted packet for processing {"connection_id":151359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:01:51] local.INFO: GPS Element Parsed {"raw_longitude":762994432,"raw_latitude":99325296,"longitude_deg":76.2994432,"latitude_deg":9.9325296,"altitude":4,"angle":253,"satellites":27,"speed":15,"hex_longitude":"2d7a5f00","hex_latitude":"05eb9570","is_valid_coordinates":true} 
[2026-08-10 09:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301146368001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117190669457424384,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819455470702442496,"note":"Value kept but may cause issues"} 
[2026-08-10 09:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786332624000,"timestamp_ms":1786332624000,"timestamp_seconds":1786332624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b8b480"} 
[2026-08-10 09:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 09:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301146368001,"66":13037,"161":206,"87":13824,"24":15,"16":117190669457424384,"45":8819455470702442496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-10 09:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301146368001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:01:51] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-10 09:01:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117190669457424384,"km_value":117190669457424.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819455470702442496,"description":"Unknown IO ID 45"} 
[2026-08-10 09:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301146368001,"power":13037,"unknown_161":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8819455470702442496}} 
[2026-08-10 09:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":151359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:01:52] local.INFO: GPS data processed {"connection_id":151359,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:01:52] local.INFO: Acknowledgment sent {"connection_id":151359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:01:59] local.INFO: TCP Data received {"connection_id":152652,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:01:59] local.INFO: Processing buffer {"connection_id":152652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:01:59] local.INFO: IMEI packet received {"connection_id":152652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":152652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:02:02] local.INFO: TCP Data received {"connection_id":154107,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b9f0e8012d0b4d800705ff900013005422..."} 
[2026-08-10 09:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b9f0e8012d0b4d800705ff900013005422..."} 
[2026-08-10 09:02:02] local.INFO: Processing buffer {"connection_id":154107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b9f0e8012d0b4d800705ff900013005422..."} 
[2026-08-10 09:02:02] local.INFO: Packet analysis {"connection_id":154107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b9"} 
[2026-08-10 09:02:02] local.INFO: Extracted packet for processing {"connection_id":154107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b9"} 
[2026-08-10 09:02:02] local.INFO: GPS Element Parsed {"raw_longitude":755715456,"raw_latitude":117833616,"longitude_deg":75.5715456,"latitude_deg":11.7833616,"altitude":19,"angle":84,"satellites":34,"speed":6,"hex_longitude":"2d0b4d80","hex_latitude":"0705ff90","is_valid_coordinates":true} 
[2026-08-10 09:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301172224001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27276302209777664,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814236769045161984,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786332705000,"timestamp_ms":1786332705000,"timestamp_seconds":1786332705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b9f0e8"} 
[2026-08-10 09:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:02: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-08-10 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 09:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":154107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":154107,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":154107,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301172224001,"66":14428,"165":206,"94":10240,"24":6,"16":27276302209777664,"45":814236769045161984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 09:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301172224001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:02:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 09:02:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27276302209777664,"km_value":27276302209777.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":814236769045161984,"description":"Unknown IO ID 45"} 
[2026-08-10 09:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301172224001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814236769045161984}} 
[2026-08-10 09:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":154107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:02:02] local.INFO: GPS data processed {"connection_id":154107,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:02:02] local.INFO: Acknowledgment sent {"connection_id":154107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:02:04] local.INFO: TCP Data received {"connection_id":152652,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:02:04] local.INFO: Processing buffer {"connection_id":152652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:02:04] local.INFO: IMEI packet received {"connection_id":152652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":152652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:02:15] local.INFO: TCP Data received {"connection_id":154108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:02:15] local.INFO: Processing buffer {"connection_id":154108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:02:15] local.INFO: IMEI packet received {"connection_id":154108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":154108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:02:15] local.INFO: TCP Data received {"connection_id":152652,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:02:15] local.INFO: Processing buffer {"connection_id":152652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b5e5c0012d34c20006aa3f08000500f329..."} 
[2026-08-10 09:02:15] local.INFO: Packet analysis {"connection_id":152652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 09:02:15] local.INFO: Extracted packet for processing {"connection_id":152652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b5"} 
[2026-08-10 09:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":5,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301027584001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786332440000,"timestamp_ms":1786332440000,"timestamp_seconds":1786332440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b5e5c0"} 
[2026-08-10 09:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301027584001,"66":25321,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301027584001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301027584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":152652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:02:15] local.INFO: GPS data processed {"connection_id":152652,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:02:15] local.INFO: Acknowledgment sent {"connection_id":152652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:02:21] local.INFO: TCP Data received {"connection_id":154108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:02:21] local.INFO: Processing buffer {"connection_id":154108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:02:21] local.INFO: IMEI packet received {"connection_id":154108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":154108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:02:22] local.INFO: TCP Data received {"connection_id":154108,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9b8c420012d7a588005eb9408000301081d..."} 
[2026-08-10 09:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9b8c420012d7a588005eb9408000301081d..."} 
[2026-08-10 09:02:22] local.INFO: Processing buffer {"connection_id":154108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9b8c420012d7a588005eb9408000301081d..."} 
[2026-08-10 09:02:22] local.INFO: Packet analysis {"connection_id":154108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:02:22] local.INFO: Extracted packet for processing {"connection_id":154108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9b8"} 
[2026-08-10 09:02:22] local.INFO: GPS Element Parsed {"raw_longitude":762992768,"raw_latitude":99324936,"longitude_deg":76.2992768,"latitude_deg":9.9324936,"altitude":3,"angle":264,"satellites":29,"speed":13,"hex_longitude":"2d7a5880","hex_latitude":"05eb9408","is_valid_coordinates":true} 
[2026-08-10 09:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301151744001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117190751061803008,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817766620841996288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786332628000,"timestamp_ms":1786332628000,"timestamp_seconds":1786332628,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9b8c420"} 
[2026-08-10 09:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:02: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":237,"data_length":795,"current_offset":136} 
[2026-08-10 09:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":154108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":154108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":154108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301151744001,"66":13102,"161":206,"87":13824,"24":13,"16":117190751061803008,"45":8817766620841996288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-10 09:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301151744001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:02:22] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-10 09:02:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117190751061803008,"km_value":117190751061803.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817766620841996288,"description":"Unknown IO ID 45"} 
[2026-08-10 09:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301151744001,"power":13102,"unknown_161":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8817766620841996288}} 
[2026-08-10 09:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":154108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:02:22] local.INFO: GPS data processed {"connection_id":154108,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:02:22] local.INFO: Acknowledgment sent {"connection_id":154108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:02:24] local.INFO: TCP Data received {"connection_id":151744,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151744,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:02:24] local.INFO: Processing buffer {"connection_id":151744,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:02:24] local.INFO: IMEI packet received {"connection_id":151744,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":151744,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:02:29] local.INFO: TCP Data received {"connection_id":151744,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151744,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:02:29] local.INFO: Processing buffer {"connection_id":151744,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:02:29] local.INFO: IMEI packet received {"connection_id":151744,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":151744,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:02:30] local.INFO: TCP Data received {"connection_id":151744,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba0470012d0b4ec0070601000014001821..."} 
[2026-08-10 09:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba0470012d0b4ec0070601000014001821..."} 
[2026-08-10 09:02:30] local.INFO: Processing buffer {"connection_id":151744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba0470012d0b4ec0070601000014001821..."} 
[2026-08-10 09:02:30] local.INFO: Packet analysis {"connection_id":151744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:02:30] local.INFO: Extracted packet for processing {"connection_id":151744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:02:30] local.INFO: GPS Element Parsed {"raw_longitude":755715776,"raw_latitude":117833984,"longitude_deg":75.5715776,"latitude_deg":11.7833984,"altitude":20,"angle":24,"satellites":33,"speed":5,"hex_longitude":"2d0b4ec0","hex_latitude":"07060100","is_valid_coordinates":true} 
[2026-08-10 09:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301172480001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27276327979581440,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814447875277688832,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786332710000,"timestamp_ms":1786332710000,"timestamp_seconds":1786332710,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba0470"} 
[2026-08-10 09:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 09:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151744,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151744,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301172480001,"66":14428,"165":206,"94":10240,"24":5,"16":27276327979581440,"45":814447875277688832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 09:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301172480001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:02:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 09:02:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27276327979581440,"km_value":27276327979581.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":814447875277688832,"description":"Unknown IO ID 45"} 
[2026-08-10 09:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301172480001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814447875277688832}} 
[2026-08-10 09:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":151744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618712,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:02:30] local.INFO: GPS data processed {"connection_id":151744,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:02:30] local.INFO: Acknowledgment sent {"connection_id":151744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:02:53] local.INFO: TCP Data received {"connection_id":154108,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba8d28012d7a1ec005ec01280007015e1b..."} 
[2026-08-10 09:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba8d28012d7a1ec005ec01280007015e1b..."} 
[2026-08-10 09:02:53] local.INFO: Processing buffer {"connection_id":154108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba8d28012d7a1ec005ec01280007015e1b..."} 
[2026-08-10 09:02:53] local.INFO: Packet analysis {"connection_id":154108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:02:53] local.INFO: Extracted packet for processing {"connection_id":154108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:02:53] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":99352872,"longitude_deg":76.2977984,"latitude_deg":9.9352872,"altitude":7,"angle":350,"satellites":27,"speed":3,"hex_longitude":"2d7a1ec0","hex_latitude":"05ec0128","is_valid_coordinates":true} 
[2026-08-10 09:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117192331609767936,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222339467264,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786332745000,"timestamp_ms":1786332745000,"timestamp_seconds":1786332745,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba8d28"} 
[2026-08-10 09:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 09:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311853,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:53] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921219160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:53] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3115476993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:53] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3309305856,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-08-10 09:02:53] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2147871664,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:53] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941293,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952996352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:53] local.WARNING: Large IO value detected {"io_id":161,"raw_value":58079734643818508,"note":"Value kept but may cause issues"} 
[2026-08-10 09:02:53] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,163,87,24,241,157,16,89,159,121,45,192,255,7,29,10,66,74,252,28,248,64,1,240,215,227,233,235,4,113,205,18,96,70,37,239,51,2,160,5,12,161],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-08-10 09:02:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504409879889444864,"timestamp_seconds":504409879889444.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":12982,"163":206,"87":13824,"24":3,"16":117192331609767936,"45":8799752222339467264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 09:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:02:53] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 09:02:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117192331609767936,"km_value":117192331609767.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222339467264,"description":"Unknown IO ID 45"} 
[2026-08-10 09:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":12982,"unknown_163":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8799752222339467264}} 
[2026-08-10 09:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":154108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:02:53] local.INFO: GPS data processed {"connection_id":154108,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:02:53] local.INFO: Acknowledgment sent {"connection_id":154108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:02:59] local.INFO: TCP Data received {"connection_id":154109,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:02:59] local.INFO: Processing buffer {"connection_id":154109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:02:59] local.INFO: IMEI packet received {"connection_id":154109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":154109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:03:00] local.INFO: TCP Data received {"connection_id":154109,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:03:00] local.INFO: Processing buffer {"connection_id":154109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:03:00] local.INFO: IMEI packet received {"connection_id":154109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":154109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:03:01] local.INFO: TCP Data received {"connection_id":151744,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba2b80012d0b538007060b700015000a22..."} 
[2026-08-10 09:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba2b80012d0b538007060b700015000a22..."} 
[2026-08-10 09:03:01] local.INFO: Processing buffer {"connection_id":151744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba2b80012d0b538007060b700015000a22..."} 
[2026-08-10 09:03:01] local.INFO: Packet analysis {"connection_id":151744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:01] local.INFO: Extracted packet for processing {"connection_id":151744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:01] local.INFO: GPS Element Parsed {"raw_longitude":755716992,"raw_latitude":117836656,"longitude_deg":75.5716992,"latitude_deg":11.7836656,"altitude":21,"angle":10,"satellites":34,"speed":7,"hex_longitude":"2d0b5380","hex_latitude":"07060b70","is_valid_coordinates":true} 
[2026-08-10 09:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301173760001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27276469713502208,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814799718998671360,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786332720000,"timestamp_ms":1786332720000,"timestamp_seconds":1786332720,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba2b80"} 
[2026-08-10 09:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:03: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-08-10 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 09:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151744,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151744,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301173760001,"66":14439,"165":206,"94":10240,"24":7,"16":27276469713502208,"45":814799718998671360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 09:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301173760001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:03:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 09:03:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27276469713502208,"km_value":27276469713502.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":814799718998671360,"description":"Unknown IO ID 45"} 
[2026-08-10 09:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301173760001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":814799718998671360}} 
[2026-08-10 09:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":151744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618714,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:03:01] local.INFO: GPS data processed {"connection_id":151744,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:03:01] local.INFO: Acknowledgment sent {"connection_id":151744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:03:05] local.INFO: TCP Data received {"connection_id":154109,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:03:05] local.INFO: Processing buffer {"connection_id":154109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:03:05] local.INFO: IMEI packet received {"connection_id":154109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":154109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:03:06] local.INFO: TCP Data received {"connection_id":154109,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:03:06] local.INFO: Processing buffer {"connection_id":154109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:03:06] local.INFO: Packet analysis {"connection_id":154109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:06] local.INFO: Extracted packet for processing {"connection_id":154109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301104640001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786332741000,"timestamp_ms":1786332741000,"timestamp_seconds":1786332741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba7d88"} 
[2026-08-10 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-08-10 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 09:03: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-08-10 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-08-10 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-08-10 09:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301104640001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301104640001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301104640001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":154109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:03:06] local.INFO: GPS data processed {"connection_id":154109,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:03:06] local.INFO: Acknowledgment sent {"connection_id":154109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:03:14] local.INFO: TCP Data received {"connection_id":152653,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:03:14] local.INFO: Processing buffer {"connection_id":152653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:03:14] local.INFO: IMEI packet received {"connection_id":152653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":152653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:03:20] local.INFO: TCP Data received {"connection_id":152653,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:03:20] local.INFO: Processing buffer {"connection_id":152653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:03:20] local.INFO: IMEI packet received {"connection_id":152653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":152653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:03:21] local.INFO: TCP Data received {"connection_id":152653,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9babff0012d7a1d0005ec05c0000601511c..."} 
[2026-08-10 09:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9babff0012d7a1d0005ec05c0000601511c..."} 
[2026-08-10 09:03:21] local.INFO: Processing buffer {"connection_id":152653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9babff0012d7a1d0005ec05c0000601511c..."} 
[2026-08-10 09:03:21] local.INFO: Packet analysis {"connection_id":152653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:21] local.INFO: Extracted packet for processing {"connection_id":152653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:21] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":99354048,"longitude_deg":76.2977536,"latitude_deg":9.9354048,"altitude":6,"angle":337,"satellites":28,"speed":2,"hex_longitude":"2d7a1d00","hex_latitude":"05ec05c0","is_valid_coordinates":true} 
[2026-08-10 09:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301182720001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117192396034277376,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853595396096,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786332758000,"timestamp_ms":1786332758000,"timestamp_seconds":1786332758,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9babff0"} 
[2026-08-10 09:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-10 09:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:03: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-08-10 09:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301182720001,"66":13015,"99":206,"87":13824,"24":2,"16":117192396034277376,"45":8799681853595396096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-10 09:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301182720001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:03:21] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-10 09:03:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117192396034277376,"km_value":117192396034277.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853595396096,"description":"Unknown IO ID 45"} 
[2026-08-10 09:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301182720001,"power":13015,"unknown_99":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8799681853595396096}} 
[2026-08-10 09:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":152653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:03:21] local.INFO: GPS data processed {"connection_id":152653,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:03:21] local.INFO: Acknowledgment sent {"connection_id":152653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:03:27] local.INFO: TCP Data received {"connection_id":154110,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154110,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:03:27] local.INFO: Processing buffer {"connection_id":154110,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:03:27] local.INFO: IMEI packet received {"connection_id":154110,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":154110,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:03:29] local.INFO: TCP Data received {"connection_id":154110,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154110,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:03:29] local.INFO: Processing buffer {"connection_id":154110,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:03:29] local.INFO: IMEI packet received {"connection_id":154110,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":154110,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:03:34] local.INFO: TCP Data received {"connection_id":154110,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154110,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:03:34] local.INFO: Processing buffer {"connection_id":154110,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:03:34] local.INFO: IMEI packet received {"connection_id":154110,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":154110,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:03:35] local.INFO: TCP Data received {"connection_id":154110,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba7d88012d0b53c007060c380014000a1d..."} 
[2026-08-10 09:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba7d88012d0b53c007060c380014000a1d..."} 
[2026-08-10 09:03:35] local.INFO: Processing buffer {"connection_id":154110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba7d88012d0b53c007060c380014000a1d..."} 
[2026-08-10 09:03:35] local.INFO: Packet analysis {"connection_id":154110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:35] local.INFO: Extracted packet for processing {"connection_id":154110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:35] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836856,"longitude_deg":75.5717056,"latitude_deg":11.7836856,"altitude":20,"angle":10,"satellites":29,"speed":0,"hex_longitude":"2d0b53c0","hex_latitude":"07060c38","is_valid_coordinates":true} 
[2026-08-10 09:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301176320001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27276482598404096,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816136725138731008,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786332741000,"timestamp_ms":1786332741000,"timestamp_seconds":1786332741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba7d88"} 
[2026-08-10 09:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 09:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301176320001,"66":14396,"165":206,"94":10240,"24":0,"16":27276482598404096,"45":816136725138731008},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 09:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301176320001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:03:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 09:03:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27276482598404096,"km_value":27276482598404.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":816136725138731008,"description":"Unknown IO ID 45"} 
[2026-08-10 09:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301176320001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816136725138731008}} 
[2026-08-10 09:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":154110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618717,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:03:35] local.INFO: GPS data processed {"connection_id":154110,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:03:35] local.INFO: Acknowledgment sent {"connection_id":154110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:03:38] local.INFO: TCP Data received {"connection_id":154109,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:03:38] local.INFO: Processing buffer {"connection_id":154109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:03:38] local.INFO: Packet analysis {"connection_id":154109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:38] local.INFO: Extracted packet for processing {"connection_id":154109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301104640001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786332741000,"timestamp_ms":1786332741000,"timestamp_seconds":1786332741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba7d88"} 
[2026-08-10 09:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 09:03: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-08-10 09:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:03: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-08-10 09:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301104640001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301104640001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301104640001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":154109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:03:38] local.INFO: GPS data processed {"connection_id":154109,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:03:38] local.INFO: Acknowledgment sent {"connection_id":154109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:03:39] local.INFO: TCP Data received {"connection_id":154110,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba9cc8012d0b534007060c28001400c21d..."} 
[2026-08-10 09:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba9cc8012d0b534007060c28001400c21d..."} 
[2026-08-10 09:03:39] local.INFO: Processing buffer {"connection_id":154110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba9cc8012d0b534007060c28001400c21d..."} 
[2026-08-10 09:03:39] local.INFO: Packet analysis {"connection_id":154110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:39] local.INFO: Extracted packet for processing {"connection_id":154110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:39] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117836840,"longitude_deg":75.5716928,"latitude_deg":11.783684,"altitude":20,"angle":194,"satellites":29,"speed":2,"hex_longitude":"2d0b5340","hex_latitude":"07060c28","is_valid_coordinates":true} 
[2026-08-10 09:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27276486893371392,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882959872,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786332749000,"timestamp_ms":1786332749000,"timestamp_seconds":1786332749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba9cc8"} 
[2026-08-10 09:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":14548,"165":206,"94":10240,"24":2,"16":27276486893371392,"45":816207093882959872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 09:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:03:39] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 09:03:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27276486893371392,"km_value":27276486893371.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882959872,"description":"Unknown IO ID 45"} 
[2026-08-10 09:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":816207093882959872}} 
[2026-08-10 09:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":154110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618719,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:03:40] local.INFO: GPS data processed {"connection_id":154110,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:03:40] local.INFO: Acknowledgment sent {"connection_id":154110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:03:52] local.INFO: TCP Data received {"connection_id":152653,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9baeed0012d7a1c0005ec08e00006015d1b..."} 
[2026-08-10 09:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9baeed0012d7a1c0005ec08e00006015d1b..."} 
[2026-08-10 09:03:52] local.INFO: Processing buffer {"connection_id":152653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9baeed0012d7a1c0005ec08e00006015d1b..."} 
[2026-08-10 09:03:52] local.INFO: Packet analysis {"connection_id":152653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:52] local.INFO: Extracted packet for processing {"connection_id":152653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:03:52] local.INFO: GPS Element Parsed {"raw_longitude":762977280,"raw_latitude":99354848,"longitude_deg":76.297728,"latitude_deg":9.9354848,"altitude":6,"angle":349,"satellites":27,"speed":4,"hex_longitude":"2d7a1c00","hex_latitude":"05ec08e0","is_valid_coordinates":true} 
[2026-08-10 09:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301186048001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117192438983950336,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272386453504,"note":"Value kept but may cause issues"} 
[2026-08-10 09:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786332770000,"timestamp_ms":1786332770000,"timestamp_seconds":1786332770,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9baeed0"} 
[2026-08-10 09:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-10 09:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301186048001,"66":13298,"99":206,"87":13824,"24":4,"16":117192438983950336,"45":8799189272386453504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-10 09:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301186048001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:03:52] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-10 09:03:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117192438983950336,"km_value":117192438983950.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272386453504,"description":"Unknown IO ID 45"} 
[2026-08-10 09:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301186048001,"power":13298,"unknown_99":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8799189272386453504}} 
[2026-08-10 09:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":152653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:03:53] local.INFO: GPS data processed {"connection_id":152653,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:03:53] local.INFO: Acknowledgment sent {"connection_id":152653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:03:59] local.INFO: TCP Data received {"connection_id":151360,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:03:59] local.INFO: Processing buffer {"connection_id":151360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:03:59] local.INFO: IMEI packet received {"connection_id":151360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":151360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:04:04] local.INFO: TCP Data received {"connection_id":151360,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:04:04] local.INFO: Processing buffer {"connection_id":151360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:04:04] local.INFO: IMEI packet received {"connection_id":151360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":151360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:04:07] local.INFO: TCP Data received {"connection_id":151360,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:04:07] local.INFO: Processing buffer {"connection_id":151360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:04:07] local.INFO: Packet analysis {"connection_id":151360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:04:07] local.INFO: Extracted packet for processing {"connection_id":151360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301104640001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786332741000,"timestamp_ms":1786332741000,"timestamp_seconds":1786332741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba7d88"} 
[2026-08-10 09:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 09:04: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-08-10 09:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301104640001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301104640001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:04:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:04:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301104640001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":151360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:04:07] local.INFO: GPS data processed {"connection_id":151360,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:04:07] local.INFO: Acknowledgment sent {"connection_id":151360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:04:14] local.INFO: TCP Data received {"connection_id":151361,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:04:14] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:04:14] local.INFO: IMEI packet received {"connection_id":151361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":151361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:04:19] local.INFO: TCP Data received {"connection_id":151361,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:04:19] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:04:19] local.INFO: IMEI packet received {"connection_id":151361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":151361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:04:20] local.INFO: TCP Data received {"connection_id":151361,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bb2580012d7a158005ec1a88000601511e..."} 
[2026-08-10 09:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bb2580012d7a158005ec1a88000601511e..."} 
[2026-08-10 09:04:20] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bb2580012d7a158005ec1a88000601511e..."} 
[2026-08-10 09:04:20] local.INFO: Packet analysis {"connection_id":151361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bb"} 
[2026-08-10 09:04:20] local.INFO: Extracted packet for processing {"connection_id":151361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bb"} 
[2026-08-10 09:04:20] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":99359368,"longitude_deg":76.2975616,"latitude_deg":9.9359368,"altitude":6,"angle":337,"satellites":30,"speed":14,"hex_longitude":"2d7a1580","hex_latitude":"05ec1a88","is_valid_coordinates":true} 
[2026-08-10 09:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301189120001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117192675207151616,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798907797409947648,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786332784000,"timestamp_ms":1786332784000,"timestamp_seconds":1786332784,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bb2580"} 
[2026-08-10 09:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-10 09:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301189120001,"66":13276,"99":206,"87":13824,"24":14,"16":117192675207151616,"45":8798907797409947648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-10 09:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301189120001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:04:20] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-10 09:04:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117192675207151616,"km_value":117192675207151.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798907797409947648,"description":"Unknown IO ID 45"} 
[2026-08-10 09:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301189120001,"power":13276,"unknown_99":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8798907797409947648}} 
[2026-08-10 09:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":151361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:04:20] local.INFO: GPS data processed {"connection_id":151361,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:04:20] local.INFO: Acknowledgment sent {"connection_id":151361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:04:24] local.INFO: TCP Data received {"connection_id":152654,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:04:24] local.INFO: Processing buffer {"connection_id":152654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:04:24] local.INFO: IMEI packet received {"connection_id":152654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":152654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:04:25] local.INFO: TCP Data received {"connection_id":152654,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:04:25] local.INFO: Processing buffer {"connection_id":152654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:04:25] local.INFO: IMEI packet received {"connection_id":152654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":152654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:04:29] local.INFO: TCP Data received {"connection_id":152654,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:04:29] local.INFO: Processing buffer {"connection_id":152654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:04:29] local.INFO: IMEI packet received {"connection_id":152654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":152654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:04:30] local.INFO: TCP Data received {"connection_id":152654,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bc0810012d0b29c007061340001600ef21..."} 
[2026-08-10 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bc0810012d0b29c007061340001600ef21..."} 
[2026-08-10 09:04:30] local.INFO: Processing buffer {"connection_id":152654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bc0810012d0b29c007061340001600ef21..."} 
[2026-08-10 09:04:30] local.INFO: Packet analysis {"connection_id":152654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bc"} 
[2026-08-10 09:04:30] local.INFO: Extracted packet for processing {"connection_id":152654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bc"} 
[2026-08-10 09:04:30] local.INFO: GPS Element Parsed {"raw_longitude":755706304,"raw_latitude":117838656,"longitude_deg":75.5706304,"latitude_deg":11.7838656,"altitude":22,"angle":239,"satellites":33,"speed":6,"hex_longitude":"2d0b29c0","hex_latitude":"07061340","is_valid_coordinates":true} 
[2026-08-10 09:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301207296001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27277195562975232,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804525882349946880,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786332842000,"timestamp_ms":1786332842000,"timestamp_seconds":1786332842,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bc0810"} 
[2026-08-10 09:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 09:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301207296001,"66":14396,"165":206,"94":10240,"24":6,"16":27277195562975232,"45":804525882349946880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 09:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301207296001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:04:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 09:04:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27277195562975232,"km_value":27277195562975.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":804525882349946880,"description":"Unknown IO ID 45"} 
[2026-08-10 09:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301207296001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":804525882349946880}} 
[2026-08-10 09:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":152654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618723,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:04:30] local.INFO: GPS data processed {"connection_id":152654,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:04:30] local.INFO: Acknowledgment sent {"connection_id":152654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:04:35] local.INFO: TCP Data received {"connection_id":152654,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bc0bf8012d0b2940070612d8001600d921..."} 
[2026-08-10 09:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bc0bf8012d0b2940070612d8001600d921..."} 
[2026-08-10 09:04:35] local.INFO: Processing buffer {"connection_id":152654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bc0bf8012d0b2940070612d8001600d921..."} 
[2026-08-10 09:04:35] local.INFO: Packet analysis {"connection_id":152654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bc"} 
[2026-08-10 09:04:35] local.INFO: Extracted packet for processing {"connection_id":152654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bc"} 
[2026-08-10 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":755706176,"raw_latitude":117838552,"longitude_deg":75.5706176,"latitude_deg":11.7838552,"altitude":22,"angle":217,"satellites":33,"speed":6,"hex_longitude":"2d0b2940","hex_latitude":"070612d8","is_valid_coordinates":true} 
[2026-08-10 09:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301207552001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27277204152909824,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804385144861573120,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786332843000,"timestamp_ms":1786332843000,"timestamp_seconds":1786332843,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bc0bf8"} 
[2026-08-10 09:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301207552001,"66":14396,"165":206,"94":10240,"24":6,"16":27277204152909824,"45":804385144861573120},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 09:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301207552001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:04:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 09:04:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27277204152909824,"km_value":27277204152909.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":804385144861573120,"description":"Unknown IO ID 45"} 
[2026-08-10 09:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301207552001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":804385144861573120}} 
[2026-08-10 09:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":152654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:04:35] local.INFO: GPS data processed {"connection_id":152654,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:04:35] local.INFO: Acknowledgment sent {"connection_id":152654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:04:38] local.INFO: TCP Data received {"connection_id":151360,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:04:38] local.INFO: Processing buffer {"connection_id":151360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:04:38] local.INFO: Packet analysis {"connection_id":151360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:04:38] local.INFO: Extracted packet for processing {"connection_id":151360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301104640001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786332741000,"timestamp_ms":1786332741000,"timestamp_seconds":1786332741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba7d88"} 
[2026-08-10 09:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 09:04: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-08-10 09: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-08-10 09:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:04: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-08-10 09:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301104640001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301104640001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301104640001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":151360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:04:38] local.INFO: GPS data processed {"connection_id":151360,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:04:38] local.INFO: Acknowledgment sent {"connection_id":151360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:04:52] local.INFO: TCP Data received {"connection_id":151361,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bb6fb8012d7a124005ec21180006015d20..."} 
[2026-08-10 09:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bb6fb8012d7a124005ec21180006015d20..."} 
[2026-08-10 09:04:52] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bb6fb8012d7a124005ec21180006015d20..."} 
[2026-08-10 09:04:52] local.INFO: Packet analysis {"connection_id":151361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bb"} 
[2026-08-10 09:04:52] local.INFO: Extracted packet for processing {"connection_id":151361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bb"} 
[2026-08-10 09:04:52] local.INFO: GPS Element Parsed {"raw_longitude":762974784,"raw_latitude":99361048,"longitude_deg":76.2974784,"latitude_deg":9.9361048,"altitude":6,"angle":349,"satellites":32,"speed":8,"hex_longitude":"2d7a1240","hex_latitude":"05ec2118","is_valid_coordinates":true} 
[2026-08-10 09:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301192704001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117192769696432128,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078210062485504,"note":"Value kept but may cause issues"} 
[2026-08-10 09:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786332803000,"timestamp_ms":1786332803000,"timestamp_seconds":1786332803,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bb6fb8"} 
[2026-08-10 09:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 09:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301192704001,"66":13178,"99":206,"87":13824,"24":8,"16":117192769696432128,"45":8797078210062485504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-10 09:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301192704001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:04:52] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-10 09:04:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117192769696432128,"km_value":117192769696432.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078210062485504,"description":"Unknown IO ID 45"} 
[2026-08-10 09:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301192704001,"power":13178,"unknown_99":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8797078210062485504}} 
[2026-08-10 09:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":151361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:04:52] local.INFO: GPS data processed {"connection_id":151361,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:04:52] local.INFO: Acknowledgment sent {"connection_id":151361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:04:59] local.INFO: TCP Data received {"connection_id":154111,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:04:59] local.INFO: Processing buffer {"connection_id":154111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:04:59] local.INFO: IMEI packet received {"connection_id":154111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":154111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:05:05] local.INFO: TCP Data received {"connection_id":154111,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:05:05] local.INFO: Processing buffer {"connection_id":154111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:05:05] local.INFO: IMEI packet received {"connection_id":154111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":154111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:05:06] local.INFO: TCP Data received {"connection_id":154111,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:05:06] local.INFO: Processing buffer {"connection_id":154111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:05:06] local.INFO: Packet analysis {"connection_id":154111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:05:06] local.INFO: Extracted packet for processing {"connection_id":154111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301104640001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786332741000,"timestamp_ms":1786332741000,"timestamp_seconds":1786332741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba7d88"} 
[2026-08-10 09:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 09:05: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-08-10 09:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301104640001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301104640001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301104640001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":154111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:05:06] local.INFO: GPS data processed {"connection_id":154111,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:05:06] local.INFO: Acknowledgment sent {"connection_id":154111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:05:06] local.INFO: TCP Data received {"connection_id":152654,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bc1f80012d0b294007061080001600a720..."} 
[2026-08-10 09:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bc1f80012d0b294007061080001600a720..."} 
[2026-08-10 09:05:06] local.INFO: Processing buffer {"connection_id":152654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bc1f80012d0b294007061080001600a720..."} 
[2026-08-10 09:05:06] local.INFO: Packet analysis {"connection_id":152654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bc"} 
[2026-08-10 09:05:06] local.INFO: Extracted packet for processing {"connection_id":152654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bc"} 
[2026-08-10 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":755706176,"raw_latitude":117837952,"longitude_deg":75.5706176,"latitude_deg":11.7837952,"altitude":22,"angle":167,"satellites":32,"speed":7,"hex_longitude":"2d0b2940","hex_latitude":"07061080","is_valid_coordinates":true} 
[2026-08-10 09:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301207808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27277234217680896,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804244407373191168,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786332848000,"timestamp_ms":1786332848000,"timestamp_seconds":1786332848,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bc1f80"} 
[2026-08-10 09:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301207808001,"66":14537,"165":206,"94":10240,"24":7,"16":27277234217680896,"45":804244407373191168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 09:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301207808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:05:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 09:05:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27277234217680896,"km_value":27277234217680.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":804244407373191168,"description":"Unknown IO ID 45"} 
[2026-08-10 09:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301207808001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":804244407373191168}} 
[2026-08-10 09:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":152654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618728,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:05:06] local.INFO: GPS data processed {"connection_id":152654,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:05:06] local.INFO: Acknowledgment sent {"connection_id":152654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:05:13] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:05:13] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:05:13] local.INFO: IMEI packet received {"connection_id":151745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":151745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:05:14] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:05:14] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:05:14] local.INFO: IMEI packet received {"connection_id":151745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":151745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:05:20] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:05:20] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:05:20] local.INFO: IMEI packet received {"connection_id":151745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":151745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:05:21] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bb7788012d7a120005ec22700006015120..."} 
[2026-08-10 09:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bb7788012d7a120005ec22700006015120..."} 
[2026-08-10 09:05:21] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bb7788012d7a120005ec22700006015120..."} 
[2026-08-10 09:05:21] local.INFO: Packet analysis {"connection_id":151745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bb"} 
[2026-08-10 09:05:21] local.INFO: Extracted packet for processing {"connection_id":151745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bb"} 
[2026-08-10 09:05:21] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99361392,"longitude_deg":76.297472,"latitude_deg":9.9361392,"altitude":6,"angle":337,"satellites":32,"speed":4,"hex_longitude":"2d7a1200","hex_latitude":"05ec2270","is_valid_coordinates":true} 
[2026-08-10 09:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301197568001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117192786876301312,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416388605952,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786332805000,"timestamp_ms":1786332805000,"timestamp_seconds":1786332805,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bb7788"} 
[2026-08-10 09:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-10 09:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:05: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-08-10 09:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301197568001,"66":13015,"99":206,"87":13824,"24":4,"16":117192786876301312,"45":8796163416388605952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-10 09:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301197568001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:05:21] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-10 09:05:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117192786876301312,"km_value":117192786876301.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416388605952,"description":"Unknown IO ID 45"} 
[2026-08-10 09:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301197568001,"power":13015,"unknown_99":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8796163416388605952}} 
[2026-08-10 09:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":151745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:05:21] local.INFO: GPS data processed {"connection_id":151745,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:05:21] local.INFO: Acknowledgment sent {"connection_id":151745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:05:24] local.INFO: TCP Data received {"connection_id":152655,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152655,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:05:24] local.INFO: Processing buffer {"connection_id":152655,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:05:24] local.INFO: IMEI packet received {"connection_id":152655,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":152655,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:05:25] local.INFO: TCP Data received {"connection_id":152655,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152655,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:05:25] local.INFO: Processing buffer {"connection_id":152655,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:05:25] local.INFO: IMEI packet received {"connection_id":152655,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":152655,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:05:26] local.INFO: TCP Data received {"connection_id":152655,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152655,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:05:26] local.INFO: Processing buffer {"connection_id":152655,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:05:26] local.INFO: IMEI packet received {"connection_id":152655,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":152655,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:05:27] local.INFO: TCP Data received {"connection_id":152655,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bd1598012d0afac007059988001e00fd20..."} 
[2026-08-10 09:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bd1598012d0afac007059988001e00fd20..."} 
[2026-08-10 09:05:27] local.INFO: Processing buffer {"connection_id":152655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bd1598012d0afac007059988001e00fd20..."} 
[2026-08-10 09:05:27] local.INFO: Packet analysis {"connection_id":152655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:05:27] local.INFO: Extracted packet for processing {"connection_id":152655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:05:27] local.INFO: GPS Element Parsed {"raw_longitude":755694272,"raw_latitude":117807496,"longitude_deg":75.5694272,"latitude_deg":11.7807496,"altitude":30,"angle":253,"satellites":32,"speed":15,"hex_longitude":"2d0afac0","hex_latitude":"07059988","is_valid_coordinates":true} 
[2026-08-10 09:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301220096001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27279158363029504,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801288920109934592,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786332911000,"timestamp_ms":1786332911000,"timestamp_seconds":1786332911,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bd1598"} 
[2026-08-10 09:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:05: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-08-10 09:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 09:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301220096001,"66":14439,"165":206,"94":10240,"24":15,"16":27279158363029504,"45":801288920109934592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 09:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301220096001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:05:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 09:05:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27279158363029504,"km_value":27279158363029.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":801288920109934592,"description":"Unknown IO ID 45"} 
[2026-08-10 09:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301220096001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":801288920109934592}} 
[2026-08-10 09:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":152655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618730,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:05:27] local.INFO: GPS data processed {"connection_id":152655,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:05:27] local.INFO: Acknowledgment sent {"connection_id":152655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:05:37] local.INFO: TCP Data received {"connection_id":154111,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:05:37] local.INFO: Processing buffer {"connection_id":154111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:05:37] local.INFO: Packet analysis {"connection_id":154111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:05:37] local.INFO: Extracted packet for processing {"connection_id":154111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301104640001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786332741000,"timestamp_ms":1786332741000,"timestamp_seconds":1786332741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba7d88"} 
[2026-08-10 09:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 09:05: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-08-10 09: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-08-10 09:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:05: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-08-10 09:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301104640001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301104640001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301104640001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":154111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:05:37] local.INFO: GPS data processed {"connection_id":154111,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:05:37] local.INFO: Acknowledgment sent {"connection_id":154111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:05:52] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bba668012d7a0bc005ec3200000501601f..."} 
[2026-08-10 09:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bba668012d7a0bc005ec3200000501601f..."} 
[2026-08-10 09:05:52] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bba668012d7a0bc005ec3200000501601f..."} 
[2026-08-10 09:05:52] local.INFO: Packet analysis {"connection_id":151745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bb"} 
[2026-08-10 09:05:52] local.INFO: Extracted packet for processing {"connection_id":151745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bb"} 
[2026-08-10 09:05:52] local.INFO: GPS Element Parsed {"raw_longitude":762973120,"raw_latitude":99365376,"longitude_deg":76.297312,"latitude_deg":9.9365376,"altitude":5,"angle":352,"satellites":31,"speed":19,"hex_longitude":"2d7a0bc0","hex_latitude":"05ec3200","is_valid_coordinates":true} 
[2026-08-10 09:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301198080001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117192997329698816,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047644516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786332817000,"timestamp_ms":1786332817000,"timestamp_seconds":1786332817,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bba668"} 
[2026-08-10 09:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-10 09:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301198080001,"66":12928,"99":206,"87":13824,"24":19,"16":117192997329698816,"45":8796093047644516352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-10 09:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301198080001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:05:52] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-10 09:05:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117192997329698816,"km_value":117192997329698.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047644516352,"description":"Unknown IO ID 45"} 
[2026-08-10 09:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301198080001,"power":12928,"unknown_99":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8796093047644516352}} 
[2026-08-10 09:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":151745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:05:52] local.INFO: GPS data processed {"connection_id":151745,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:05:52] local.INFO: Acknowledgment sent {"connection_id":151745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:05:58] local.INFO: TCP Data received {"connection_id":152655,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bd1598012d0afac007059988001e00fd20..."} 
[2026-08-10 09:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bd1598012d0afac007059988001e00fd20..."} 
[2026-08-10 09:05:58] local.INFO: Processing buffer {"connection_id":152655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bd1598012d0afac007059988001e00fd20..."} 
[2026-08-10 09:05:58] local.INFO: Packet analysis {"connection_id":152655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:05:58] local.INFO: Extracted packet for processing {"connection_id":152655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:05:58] local.INFO: GPS Element Parsed {"raw_longitude":755694272,"raw_latitude":117807496,"longitude_deg":75.5694272,"latitude_deg":11.7807496,"altitude":30,"angle":253,"satellites":32,"speed":15,"hex_longitude":"2d0afac0","hex_latitude":"07059988","is_valid_coordinates":true} 
[2026-08-10 09:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301225216001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27279158363029504,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791155820948195328,"note":"Value kept but may cause issues"} 
[2026-08-10 09:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786332911000,"timestamp_ms":1786332911000,"timestamp_seconds":1786332911,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bd1598"} 
[2026-08-10 09:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 09:05: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-08-10 09:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301225216001,"66":14439,"165":206,"94":10240,"24":15,"16":27279158363029504,"45":791155820948195328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 09:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301225216001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:05:58] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 09:05:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27279158363029504,"km_value":27279158363029.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":791155820948195328,"description":"Unknown IO ID 45"} 
[2026-08-10 09:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301225216001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":791155820948195328}} 
[2026-08-10 09:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":152655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618733,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:05:58] local.INFO: GPS data processed {"connection_id":152655,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:05:58] local.INFO: Acknowledgment sent {"connection_id":152655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:05:59] local.INFO: TCP Data received {"connection_id":151362,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:05:59] local.INFO: Processing buffer {"connection_id":151362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:05:59] local.INFO: IMEI packet received {"connection_id":151362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":151362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:06:05] local.INFO: TCP Data received {"connection_id":151362,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:06:05] local.INFO: Processing buffer {"connection_id":151362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:06:05] local.INFO: IMEI packet received {"connection_id":151362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":151362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:06:06] local.INFO: TCP Data received {"connection_id":151362,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:06:06] local.INFO: Processing buffer {"connection_id":151362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:06:06] local.INFO: Packet analysis {"connection_id":151362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:06:06] local.INFO: Extracted packet for processing {"connection_id":151362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301104640001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786332741000,"timestamp_ms":1786332741000,"timestamp_seconds":1786332741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba7d88"} 
[2026-08-10 09:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 09:06: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-08-10 09:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301104640001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301104640001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301104640001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":151362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:06:06] local.INFO: GPS data processed {"connection_id":151362,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:06:06] local.INFO: Acknowledgment sent {"connection_id":151362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:06:14] local.INFO: TCP Data received {"connection_id":151363,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:06:14] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:06:14] local.INFO: IMEI packet received {"connection_id":151363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":151363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:06:15] local.INFO: TCP Data received {"connection_id":151363,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:06:15] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:06:15] local.INFO: IMEI packet received {"connection_id":151363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":151363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:06:17] local.INFO: TCP Data received {"connection_id":151363,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:06:17] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:06:17] local.INFO: IMEI packet received {"connection_id":151363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":151363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:06:19] local.INFO: TCP Data received {"connection_id":151363,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:06:19] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:06:19] local.INFO: IMEI packet received {"connection_id":151363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":151363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:06:20] local.INFO: TCP Data received {"connection_id":151363,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bde0b8012d7a0fc005ec7ec0000b008e26..."} 
[2026-08-10 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bde0b8012d7a0fc005ec7ec0000b008e26..."} 
[2026-08-10 09:06:20] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bde0b8012d7a0fc005ec7ec0000b008e26..."} 
[2026-08-10 09:06:20] local.INFO: Packet analysis {"connection_id":151363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:06:20] local.INFO: Extracted packet for processing {"connection_id":151363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385024,"longitude_deg":76.2974144,"latitude_deg":9.9385024,"altitude":11,"angle":142,"satellites":38,"speed":7,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec7ec0","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301238272001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117194191330607104,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795318991464642560,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786332963000,"timestamp_ms":1786332963000,"timestamp_seconds":1786332963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bde0b8"} 
[2026-08-10 09:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921463160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3276926731162511760,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3177940993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":236,"raw_value":8496040735693677824,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":2,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967627264,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":188,"raw_value":8462264994660745221,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":68,"raw_value":7205986277756246016,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,100,87,24,241,157,16,91,159,216,45,127,10,38,66,197,64,189,1,240,161,227,233,236,4,113,205,25,8,48,32,239,51,2,160,5,79,188,68,97],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-10 09:06:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720709144495325184,"timestamp_seconds":720709144495325.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301238272001,"66":13341,"100":206,"87":13824,"24":7,"16":117194191330607104,"45":8795318991464642560},"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-08-10 09:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301238272001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:06:20] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:06:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117194191330607104,"km_value":117194191330607.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795318991464642560,"description":"Unknown IO ID 45"} 
[2026-08-10 09:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301238272001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8795318991464642560}} 
[2026-08-10 09:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":151363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:06:20] local.INFO: GPS data processed {"connection_id":151363,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:06:20] local.INFO: Acknowledgment sent {"connection_id":151363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:06:24] local.INFO: TCP Data received {"connection_id":152656,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152656,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:06:24] local.INFO: Processing buffer {"connection_id":152656,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:06:24] local.INFO: IMEI packet received {"connection_id":152656,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":152656,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:06:29] local.INFO: TCP Data received {"connection_id":152656,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152656,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:06:29] local.INFO: Processing buffer {"connection_id":152656,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:06:29] local.INFO: IMEI packet received {"connection_id":152656,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":152656,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:06:30] local.INFO: TCP Data received {"connection_id":152656,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bd4478012d0ae6c0070592780026010b20..."} 
[2026-08-10 09:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bd4478012d0ae6c0070592780026010b20..."} 
[2026-08-10 09:06:30] local.INFO: Processing buffer {"connection_id":152656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bd4478012d0ae6c0070592780026010b20..."} 
[2026-08-10 09:06:30] local.INFO: Packet analysis {"connection_id":152656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:06:30] local.INFO: Extracted packet for processing {"connection_id":152656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:06:30] local.INFO: GPS Element Parsed {"raw_longitude":755689152,"raw_latitude":117805688,"longitude_deg":75.5689152,"latitude_deg":11.7805688,"altitude":38,"angle":267,"satellites":32,"speed":15,"hex_longitude":"2d0ae6c0","hex_latitude":"07059278","is_valid_coordinates":true} 
[2026-08-10 09:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301225216001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27279416061067264,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791155820948195328,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786332923000,"timestamp_ms":1786332923000,"timestamp_seconds":1786332923,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bd4478"} 
[2026-08-10 09:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 09:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301225216001,"66":14515,"165":206,"94":10240,"24":15,"16":27279416061067264,"45":791155820948195328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 09:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301225216001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:06:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 09:06:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27279416061067264,"km_value":27279416061067.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":791155820948195328,"description":"Unknown IO ID 45"} 
[2026-08-10 09:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301225216001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":791155820948195328}} 
[2026-08-10 09:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":152656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618736,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:06:30] local.INFO: GPS data processed {"connection_id":152656,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:06:30] local.INFO: Acknowledgment sent {"connection_id":152656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:06:38] local.INFO: TCP Data received {"connection_id":151362,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:06:38] local.INFO: Processing buffer {"connection_id":151362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:06:38] local.INFO: Packet analysis {"connection_id":151362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:06:38] local.INFO: Extracted packet for processing {"connection_id":151362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301104640001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786332741000,"timestamp_ms":1786332741000,"timestamp_seconds":1786332741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba7d88"} 
[2026-08-10 09:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09: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-08-10 09:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:06: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-08-10 09:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301104640001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301104640001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301104640001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":151362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:06:38] local.INFO: GPS data processed {"connection_id":151362,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:06:38] local.INFO: Acknowledgment sent {"connection_id":151362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:06:52] local.INFO: TCP Data received {"connection_id":151363,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bde4a0012d7a104005ec7e08000b00a627..."} 
[2026-08-10 09:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bde4a0012d7a104005ec7e08000b00a627..."} 
[2026-08-10 09:06:52] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bde4a0012d7a104005ec7e08000b00a627..."} 
[2026-08-10 09:06:52] local.INFO: Packet analysis {"connection_id":151363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:06:52] local.INFO: Extracted packet for processing {"connection_id":151363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:06:52] local.INFO: GPS Element Parsed {"raw_longitude":762974272,"raw_latitude":99384840,"longitude_deg":76.2974272,"latitude_deg":9.938484,"altitude":11,"angle":166,"satellites":39,"speed":10,"hex_longitude":"2d7a1040","hex_latitude":"05ec7e08","is_valid_coordinates":true} 
[2026-08-10 09:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301238528001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117194199920541696,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728952967168,"note":"Value kept but may cause issues"} 
[2026-08-10 09:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786332964000,"timestamp_ms":1786332964000,"timestamp_seconds":1786332964,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bde4a0"} 
[2026-08-10 09:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 09:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301238528001,"66":13526,"100":206,"87":13824,"24":10,"16":117194199920541696,"45":8795459728952967168},"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-08-10 09:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301238528001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:06:52] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:06:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117194199920541696,"km_value":117194199920541.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728952967168,"description":"Unknown IO ID 45"} 
[2026-08-10 09:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301238528001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8795459728952967168}} 
[2026-08-10 09:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":151363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:06:52] local.INFO: GPS data processed {"connection_id":151363,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:06:52] local.INFO: Acknowledgment sent {"connection_id":151363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:06:59] local.INFO: TCP Data received {"connection_id":151746,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:06:59] local.INFO: Processing buffer {"connection_id":151746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:06:59] local.INFO: IMEI packet received {"connection_id":151746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":151746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:07:01] local.INFO: TCP Data received {"connection_id":152656,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bd4c48012d0ae400070593080027012a20..."} 
[2026-08-10 09:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bd4c48012d0ae400070593080027012a20..."} 
[2026-08-10 09:07:01] local.INFO: Processing buffer {"connection_id":152656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bd4c48012d0ae400070593080027012a20..."} 
[2026-08-10 09:07:01] local.INFO: Packet analysis {"connection_id":152656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:07:01] local.INFO: Extracted packet for processing {"connection_id":152656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:07:01] local.INFO: GPS Element Parsed {"raw_longitude":755688448,"raw_latitude":117805832,"longitude_deg":75.5688448,"latitude_deg":11.7805832,"altitude":39,"angle":298,"satellites":32,"speed":13,"hex_longitude":"2d0ae400","hex_latitude":"07059308","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301228288001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27279450420805632,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785526321413519360,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786332925000,"timestamp_ms":1786332925000,"timestamp_seconds":1786332925,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bd4c48"} 
[2026-08-10 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-08-10 09:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 09:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301228288001,"66":14374,"165":206,"94":10240,"24":13,"16":27279450420805632,"45":785526321413519360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 09:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301228288001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:07:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 09:07:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27279450420805632,"km_value":27279450420805.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":785526321413519360,"description":"Unknown IO ID 45"} 
[2026-08-10 09:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301228288001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":785526321413519360}} 
[2026-08-10 09:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":152656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618739,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:07:01] local.INFO: GPS data processed {"connection_id":152656,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:07:01] local.INFO: Acknowledgment sent {"connection_id":152656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:07:04] local.INFO: TCP Data received {"connection_id":151746,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:07:04] local.INFO: Processing buffer {"connection_id":151746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:07:04] local.INFO: IMEI packet received {"connection_id":151746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":151746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:07:05] local.INFO: TCP Data received {"connection_id":151746,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:07:05] local.INFO: Processing buffer {"connection_id":151746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:07:05] local.INFO: Packet analysis {"connection_id":151746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:07:05] local.INFO: Extracted packet for processing {"connection_id":151746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:07:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301104640001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786332741000,"timestamp_ms":1786332741000,"timestamp_seconds":1786332741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba7d88"} 
[2026-08-10 09:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 09:07: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-08-10 09:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301104640001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301104640001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:07:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301104640001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":151746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:07:06] local.INFO: GPS data processed {"connection_id":151746,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:07:06] local.INFO: Acknowledgment sent {"connection_id":151746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:07:14] local.INFO: TCP Data received {"connection_id":154112,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:07:14] local.INFO: Processing buffer {"connection_id":154112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:07:14] local.INFO: IMEI packet received {"connection_id":154112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":154112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:07:19] local.INFO: TCP Data received {"connection_id":154112,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:07:19] local.INFO: Processing buffer {"connection_id":154112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:07:19] local.INFO: IMEI packet received {"connection_id":154112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":154112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:07:21] local.INFO: TCP Data received {"connection_id":154112,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bde888012d7a104005ec7d30000b00c327..."} 
[2026-08-10 09:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bde888012d7a104005ec7d30000b00c327..."} 
[2026-08-10 09:07:21] local.INFO: Processing buffer {"connection_id":154112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bde888012d7a104005ec7d30000b00c327..."} 
[2026-08-10 09:07:21] local.INFO: Packet analysis {"connection_id":154112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:07:21] local.INFO: Extracted packet for processing {"connection_id":154112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:07:21] local.INFO: GPS Element Parsed {"raw_longitude":762974272,"raw_latitude":99384624,"longitude_deg":76.2974272,"latitude_deg":9.9384624,"altitude":11,"angle":195,"satellites":39,"speed":9,"hex_longitude":"2d7a1040","hex_latitude":"05ec7d30","is_valid_coordinates":true} 
[2026-08-10 09:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301238784001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117194212805443584,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795600466441275392,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786332965000,"timestamp_ms":1786332965000,"timestamp_seconds":1786332965,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bde888"} 
[2026-08-10 09:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 09:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:07: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-08-10 09:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301238784001,"66":13526,"100":206,"87":13824,"24":9,"16":117194212805443584,"45":8795600466441275392},"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-08-10 09:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301238784001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:07:21] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:07:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117194212805443584,"km_value":117194212805443.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795600466441275392,"description":"Unknown IO ID 45"} 
[2026-08-10 09:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301238784001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8795600466441275392}} 
[2026-08-10 09:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":154112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:07:21] local.INFO: GPS data processed {"connection_id":154112,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:07:21] local.INFO: Acknowledgment sent {"connection_id":154112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:07:24] local.INFO: TCP Data received {"connection_id":151364,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:07:24] local.INFO: Processing buffer {"connection_id":151364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:07:24] local.INFO: IMEI packet received {"connection_id":151364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":151364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:07:29] local.INFO: TCP Data received {"connection_id":151364,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:07:29] local.INFO: Processing buffer {"connection_id":151364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:07:29] local.INFO: IMEI packet received {"connection_id":151364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":151364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:07:30] local.INFO: TCP Data received {"connection_id":151364,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9beee40012d0a9fc0070583a80023012922..."} 
[2026-08-10 09:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9beee40012d0a9fc0070583a80023012922..."} 
[2026-08-10 09:07:30] local.INFO: Processing buffer {"connection_id":151364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9beee40012d0a9fc0070583a80023012922..."} 
[2026-08-10 09:07:30] local.INFO: Packet analysis {"connection_id":151364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9be"} 
[2026-08-10 09:07:30] local.INFO: Extracted packet for processing {"connection_id":151364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9be"} 
[2026-08-10 09:07:30] local.INFO: GPS Element Parsed {"raw_longitude":755670976,"raw_latitude":117801896,"longitude_deg":75.5670976,"latitude_deg":11.7801896,"altitude":35,"angle":297,"satellites":34,"speed":15,"hex_longitude":"2d0a9fc0","hex_latitude":"070583a8","is_valid_coordinates":true} 
[2026-08-10 09:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301255936001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27280318004199424,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765963810531125248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786333032000,"timestamp_ms":1786333032000,"timestamp_seconds":1786333032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9beee40"} 
[2026-08-10 09:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 09:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301255936001,"66":14428,"153":206,"94":10240,"24":15,"16":27280318004199424,"45":765963810531125248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301255936001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:07:30] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:07:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27280318004199424,"km_value":27280318004199.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":765963810531125248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301255936001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":765963810531125248}} 
[2026-08-10 09:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":151364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:07:30] local.INFO: GPS data processed {"connection_id":151364,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:07:30] local.INFO: Acknowledgment sent {"connection_id":151364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:07:37] local.INFO: TCP Data received {"connection_id":151746,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:07:37] local.INFO: Processing buffer {"connection_id":151746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ba7d88012d34c20006aa3f08000800f32a..."} 
[2026-08-10 09:07:37] local.INFO: Packet analysis {"connection_id":151746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:07:37] local.INFO: Extracted packet for processing {"connection_id":151746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ba"} 
[2026-08-10 09:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301104640001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786332741000,"timestamp_ms":1786332741000,"timestamp_seconds":1786332741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ba7d88"} 
[2026-08-10 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-08-10 09:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 09:07: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-08-10 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-08-10 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-08-10 09:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:07: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-08-10 09:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301104640001,"66":25299,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301104640001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301104640001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":151746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:07:37] local.INFO: GPS data processed {"connection_id":151746,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:07:37] local.INFO: Acknowledgment sent {"connection_id":151746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:07:52] local.INFO: TCP Data received {"connection_id":154112,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bdec70012d7a0f8005ec7c68000b00da27..."} 
[2026-08-10 09:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bdec70012d7a0f8005ec7c68000b00da27..."} 
[2026-08-10 09:07:52] local.INFO: Processing buffer {"connection_id":154112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bdec70012d7a0f8005ec7c68000b00da27..."} 
[2026-08-10 09:07:52] local.INFO: Packet analysis {"connection_id":154112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:07:52] local.INFO: Extracted packet for processing {"connection_id":154112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bd"} 
[2026-08-10 09:07:52] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99384424,"longitude_deg":76.297408,"latitude_deg":9.9384424,"altitude":11,"angle":218,"satellites":39,"speed":9,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7c68","is_valid_coordinates":true} 
[2026-08-10 09:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301239040001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117194221395378176,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795600466441220096,"note":"Value kept but may cause issues"} 
[2026-08-10 09:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786332966000,"timestamp_ms":1786332966000,"timestamp_seconds":1786332966,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bdec70"} 
[2026-08-10 09:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 09:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301239040001,"66":13222,"100":206,"87":13824,"24":9,"16":117194221395378176,"45":8795600466441220096},"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-08-10 09:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301239040001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:07:52] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:07:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117194221395378176,"km_value":117194221395378.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795600466441220096,"description":"Unknown IO ID 45"} 
[2026-08-10 09:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301239040001,"power":13222,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8795600466441220096}} 
[2026-08-10 09:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":154112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:07:52] local.INFO: GPS data processed {"connection_id":154112,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:07:52] local.INFO: Acknowledgment sent {"connection_id":154112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:07:59] local.INFO: TCP Data received {"connection_id":152657,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:07:59] local.INFO: Processing buffer {"connection_id":152657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:07:59] local.INFO: IMEI packet received {"connection_id":152657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":152657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:08:00] local.INFO: TCP Data received {"connection_id":152657,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:08:00] local.INFO: Processing buffer {"connection_id":152657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:08:00] local.INFO: IMEI packet received {"connection_id":152657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":152657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:08:01] local.INFO: TCP Data received {"connection_id":151364,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bef610012d0a9d40070585980022013721..."} 
[2026-08-10 09:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bef610012d0a9d40070585980022013721..."} 
[2026-08-10 09:08:01] local.INFO: Processing buffer {"connection_id":151364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bef610012d0a9d40070585980022013721..."} 
[2026-08-10 09:08:01] local.INFO: Packet analysis {"connection_id":151364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9be"} 
[2026-08-10 09:08:01] local.INFO: Extracted packet for processing {"connection_id":151364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9be"} 
[2026-08-10 09:08:01] local.INFO: GPS Element Parsed {"raw_longitude":755670336,"raw_latitude":117802392,"longitude_deg":75.5670336,"latitude_deg":11.7802392,"altitude":34,"angle":311,"satellites":33,"speed":18,"hex_longitude":"2d0a9d40","hex_latitude":"07058598","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301256192001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27280356658905088,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765541598066092032,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786333034000,"timestamp_ms":1786333034000,"timestamp_seconds":1786333034,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bef610"} 
[2026-08-10 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-08-10 09:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 09:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301256192001,"66":13722,"153":206,"94":10240,"24":18,"16":27280356658905088,"45":765541598066092032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301256192001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:08:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:08:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27280356658905088,"km_value":27280356658905.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":765541598066092032,"description":"Unknown IO ID 45"} 
[2026-08-10 09:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301256192001,"power":13722,"unknown_153":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":765541598066092032}} 
[2026-08-10 09:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":151364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618745,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:08:01] local.INFO: GPS data processed {"connection_id":151364,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:08:01] local.INFO: Acknowledgment sent {"connection_id":151364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:08:05] local.INFO: TCP Data received {"connection_id":152657,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:08:05] local.INFO: Processing buffer {"connection_id":152657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:08:05] local.INFO: IMEI packet received {"connection_id":152657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":152657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:08:06] local.INFO: TCP Data received {"connection_id":152657,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:08:06] local.INFO: Processing buffer {"connection_id":152657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:08:06] local.INFO: Packet analysis {"connection_id":152657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:08:06] local.INFO: Extracted packet for processing {"connection_id":152657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786333042000,"timestamp_ms":1786333042000,"timestamp_seconds":1786333042,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf1550"} 
[2026-08-10 09:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 09:08: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-08-10 09:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":152657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:08:06] local.INFO: GPS data processed {"connection_id":152657,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:08:06] local.INFO: Acknowledgment sent {"connection_id":152657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:08:19] local.INFO: TCP Data received {"connection_id":151747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:08:19] local.INFO: Processing buffer {"connection_id":151747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:08:19] local.INFO: IMEI packet received {"connection_id":151747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":151747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:08:19] local.INFO: TCP Data received {"connection_id":151747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:08:19] local.INFO: Processing buffer {"connection_id":151747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:08:19] local.INFO: IMEI packet received {"connection_id":151747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":151747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:08:24] local.INFO: TCP Data received {"connection_id":154113,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:08:24] local.INFO: Processing buffer {"connection_id":154113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:08:24] local.INFO: IMEI packet received {"connection_id":154113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":154113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:08:24] local.INFO: TCP Data received {"connection_id":151747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:08:24] local.INFO: Processing buffer {"connection_id":151747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:08:24] local.INFO: IMEI packet received {"connection_id":151747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":151747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:08:25] local.INFO: TCP Data received {"connection_id":151747,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf9638012d79e04005ecaa600008001624..."} 
[2026-08-10 09:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf9638012d79e04005ecaa600008001624..."} 
[2026-08-10 09:08:25] local.INFO: Processing buffer {"connection_id":151747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf9638012d79e04005ecaa600008001624..."} 
[2026-08-10 09:08:25] local.INFO: Packet analysis {"connection_id":151747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:08:25] local.INFO: Extracted packet for processing {"connection_id":151747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:08:25] local.INFO: GPS Element Parsed {"raw_longitude":762961984,"raw_latitude":99396192,"longitude_deg":76.2961984,"latitude_deg":9.9396192,"altitude":8,"angle":22,"satellites":36,"speed":8,"hex_longitude":"2d79e040","hex_latitude":"05ecaa60","is_valid_coordinates":true} 
[2026-08-10 09:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301266944001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117195269367398400,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8781948930073661440,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786333075000,"timestamp_ms":1786333075000,"timestamp_seconds":1786333075,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf9638"} 
[2026-08-10 09:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 09:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301266944001,"66":12961,"100":206,"87":13824,"24":8,"16":117195269367398400,"45":8781948930073661440},"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-08-10 09:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301266944001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:08:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:08:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117195269367398400,"km_value":117195269367398.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8781948930073661440,"description":"Unknown IO ID 45"} 
[2026-08-10 09:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301266944001,"power":12961,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8781948930073661440}} 
[2026-08-10 09:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":151747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:08:25] local.INFO: GPS data processed {"connection_id":151747,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:08:25] local.INFO: Acknowledgment sent {"connection_id":151747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:08:26] local.INFO: TCP Data received {"connection_id":151747,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf9a20012d79e0c005ecab080008003125..."} 
[2026-08-10 09:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf9a20012d79e0c005ecab080008003125..."} 
[2026-08-10 09:08:26] local.INFO: Processing buffer {"connection_id":151747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf9a20012d79e0c005ecab080008003125..."} 
[2026-08-10 09:08:26] local.INFO: Packet analysis {"connection_id":151747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:08:26] local.INFO: Extracted packet for processing {"connection_id":151747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:08:26] local.INFO: GPS Element Parsed {"raw_longitude":762962112,"raw_latitude":99396360,"longitude_deg":76.2962112,"latitude_deg":9.939636,"altitude":8,"angle":49,"satellites":37,"speed":8,"hex_longitude":"2d79e0c0","hex_latitude":"05ecab08","is_valid_coordinates":true} 
[2026-08-10 09:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301267200001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117195277957332992,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782089667562070016,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786333076000,"timestamp_ms":1786333076000,"timestamp_seconds":1786333076,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf9a20"} 
[2026-08-10 09:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 09:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301267200001,"66":12765,"100":206,"87":13824,"24":8,"16":117195277957332992,"45":8782089667562070016},"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-08-10 09:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301267200001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:08:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:08:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117195277957332992,"km_value":117195277957332.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782089667562070016,"description":"Unknown IO ID 45"} 
[2026-08-10 09:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301267200001,"power":12765,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8782089667562070016}} 
[2026-08-10 09:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":151747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:08:26] local.INFO: GPS data processed {"connection_id":151747,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:08:26] local.INFO: Acknowledgment sent {"connection_id":151747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:08:29] local.INFO: TCP Data received {"connection_id":151747,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf9e08012d79e14005ecab900008003d25..."} 
[2026-08-10 09:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf9e08012d79e14005ecab900008003d25..."} 
[2026-08-10 09:08:29] local.INFO: Processing buffer {"connection_id":151747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf9e08012d79e14005ecab900008003d25..."} 
[2026-08-10 09:08:29] local.INFO: Packet analysis {"connection_id":151747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:08:29] local.INFO: Extracted packet for processing {"connection_id":151747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:08:29] local.INFO: GPS Element Parsed {"raw_longitude":762962240,"raw_latitude":99396496,"longitude_deg":76.296224,"latitude_deg":9.9396496,"altitude":8,"angle":61,"satellites":37,"speed":8,"hex_longitude":"2d79e140","hex_latitude":"05ecab90","is_valid_coordinates":true} 
[2026-08-10 09:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301267456001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117195286547267584,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782230405050468352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786333077000,"timestamp_ms":1786333077000,"timestamp_seconds":1786333077,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf9e08"} 
[2026-08-10 09:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 09:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301267456001,"66":12765,"100":206,"87":13824,"24":8,"16":117195286547267584,"45":8782230405050468352},"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-08-10 09:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301267456001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:08:29] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:08:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117195286547267584,"km_value":117195286547267.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782230405050468352,"description":"Unknown IO ID 45"} 
[2026-08-10 09:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301267456001,"power":12765,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8782230405050468352}} 
[2026-08-10 09:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":151747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:08:29] local.INFO: GPS data processed {"connection_id":151747,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:08:29] local.INFO: Acknowledgment sent {"connection_id":151747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:08:29] local.INFO: TCP Data received {"connection_id":154113,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:08:29] local.INFO: Processing buffer {"connection_id":154113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:08:29] local.INFO: IMEI packet received {"connection_id":154113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":154113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:08:30] local.INFO: TCP Data received {"connection_id":154113,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bfd8a0012d0a72400705e0080014001a1e..."} 
[2026-08-10 09:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bfd8a0012d0a72400705e0080014001a1e..."} 
[2026-08-10 09:08:30] local.INFO: Processing buffer {"connection_id":154113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bfd8a0012d0a72400705e0080014001a1e..."} 
[2026-08-10 09:08:30] local.INFO: Packet analysis {"connection_id":154113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:08:30] local.INFO: Extracted packet for processing {"connection_id":154113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:08:30] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117825544,"longitude_deg":75.5659328,"latitude_deg":11.7825544,"altitude":20,"angle":26,"satellites":30,"speed":10,"hex_longitude":"2d0a7240","hex_latitude":"0705e008","is_valid_coordinates":true} 
[2026-08-10 09:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301271296001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27281636559159296,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752593749143394304,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786333092000,"timestamp_ms":1786333092000,"timestamp_seconds":1786333092,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bfd8a0"} 
[2026-08-10 09:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 09:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301271296001,"66":14428,"153":206,"94":10240,"24":10,"16":27281636559159296,"45":752593749143394304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301271296001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:08:30] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:08:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27281636559159296,"km_value":27281636559159.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":752593749143394304,"description":"Unknown IO ID 45"} 
[2026-08-10 09:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301271296001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":752593749143394304}} 
[2026-08-10 09:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":154113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618750,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:08:30] local.INFO: GPS data processed {"connection_id":154113,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:08:30] local.INFO: Acknowledgment sent {"connection_id":154113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:08:37] local.INFO: TCP Data received {"connection_id":152657,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:08:37] local.INFO: Processing buffer {"connection_id":152657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:08:37] local.INFO: Packet analysis {"connection_id":152657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:08:37] local.INFO: Extracted packet for processing {"connection_id":152657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786333042000,"timestamp_ms":1786333042000,"timestamp_seconds":1786333042,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf1550"} 
[2026-08-10 09:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 09:08: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-08-10 09:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:08: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-08-10 09:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":152657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:08:37] local.INFO: GPS data processed {"connection_id":152657,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:08:37] local.INFO: Acknowledgment sent {"connection_id":152657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:08:59] local.INFO: TCP Data received {"connection_id":152658,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:08:59] local.INFO: Processing buffer {"connection_id":152658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:08:59] local.INFO: IMEI packet received {"connection_id":152658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":152658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:09:01] local.INFO: TCP Data received {"connection_id":154113,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bfec28012d0a75400705e6700014000e1e..."} 
[2026-08-10 09:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bfec28012d0a75400705e6700014000e1e..."} 
[2026-08-10 09:09:01] local.INFO: Processing buffer {"connection_id":154113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bfec28012d0a75400705e6700014000e1e..."} 
[2026-08-10 09:09:01] local.INFO: Packet analysis {"connection_id":154113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:09:01] local.INFO: Extracted packet for processing {"connection_id":154113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:09:01] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117827184,"longitude_deg":75.5660096,"latitude_deg":11.7827184,"altitude":20,"angle":14,"satellites":30,"speed":18,"hex_longitude":"2d0a7540","hex_latitude":"0705e670","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301271552001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27281722458505216,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752734486631811072,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786333097000,"timestamp_ms":1786333097000,"timestamp_seconds":1786333097,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bfec28"} 
[2026-08-10 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-08-10 09:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 09:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301271552001,"66":14374,"153":206,"94":10240,"24":18,"16":27281722458505216,"45":752734486631811072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301271552001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:09:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:09:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27281722458505216,"km_value":27281722458505.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":752734486631811072,"description":"Unknown IO ID 45"} 
[2026-08-10 09:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301271552001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":752734486631811072}} 
[2026-08-10 09:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":154113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618752,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:09:01] local.INFO: GPS data processed {"connection_id":154113,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:09:01] local.INFO: Acknowledgment sent {"connection_id":154113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:09:04] local.INFO: TCP Data received {"connection_id":152658,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:09:04] local.INFO: Processing buffer {"connection_id":152658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:09:04] local.INFO: IMEI packet received {"connection_id":152658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":152658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:09:05] local.INFO: TCP Data received {"connection_id":152658,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:09:05] local.INFO: Processing buffer {"connection_id":152658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:09:05] local.INFO: Packet analysis {"connection_id":152658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:09:05] local.INFO: Extracted packet for processing {"connection_id":152658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786333042000,"timestamp_ms":1786333042000,"timestamp_seconds":1786333042,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf1550"} 
[2026-08-10 09:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 09:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:09:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":152658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:09:05] local.INFO: GPS data processed {"connection_id":152658,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:09:05] local.INFO: Acknowledgment sent {"connection_id":152658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:09:14] local.INFO: TCP Data received {"connection_id":151365,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:09:14] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:09:14] local.INFO: IMEI packet received {"connection_id":151365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":151365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:09:15] local.INFO: TCP Data received {"connection_id":151365,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:09:15] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:09:15] local.INFO: IMEI packet received {"connection_id":151365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":151365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:09:19] local.INFO: TCP Data received {"connection_id":151365,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:09:19] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:09:19] local.INFO: IMEI packet received {"connection_id":151365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":151365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:09:20] local.INFO: TCP Data received {"connection_id":151365,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bff010012d79e28005ecac380008004528..."} 
[2026-08-10 09:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bff010012d79e28005ecac380008004528..."} 
[2026-08-10 09:09:20] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bff010012d79e28005ecac380008004528..."} 
[2026-08-10 09:09:20] local.INFO: Packet analysis {"connection_id":151365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:09:20] local.INFO: Extracted packet for processing {"connection_id":151365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:09:20] local.INFO: GPS Element Parsed {"raw_longitude":762962560,"raw_latitude":99396664,"longitude_deg":76.296256,"latitude_deg":9.9396664,"altitude":8,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d79e280","hex_latitude":"05ecac38","is_valid_coordinates":true} 
[2026-08-10 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301267712001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117195308022104064,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782371142538858496,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786333098000,"timestamp_ms":1786333098000,"timestamp_seconds":1786333098,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bff010"} 
[2026-08-10 09:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:09: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-08-10 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 09:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301267712001,"66":12961,"100":206,"87":13824,"24":0,"16":117195308022104064,"45":8782371142538858496},"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-08-10 09:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301267712001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:09:20] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:09:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117195308022104064,"km_value":117195308022104.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782371142538858496,"description":"Unknown IO ID 45"} 
[2026-08-10 09:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301267712001,"power":12961,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8782371142538858496}} 
[2026-08-10 09:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":151365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:09:20] local.INFO: GPS data processed {"connection_id":151365,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:09:20] local.INFO: Acknowledgment sent {"connection_id":151365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:09:24] local.INFO: TCP Data received {"connection_id":152659,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152659,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:09:24] local.INFO: Processing buffer {"connection_id":152659,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:09:24] local.INFO: IMEI packet received {"connection_id":152659,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":152659,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:09:29] local.INFO: TCP Data received {"connection_id":152659,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152659,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:09:29] local.INFO: Processing buffer {"connection_id":152659,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:09:29] local.INFO: IMEI packet received {"connection_id":152659,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":152659,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:09:30] local.INFO: TCP Data received {"connection_id":152659,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bff3f8012d0a75800705ea50001301671e..."} 
[2026-08-10 09:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bff3f8012d0a75800705ea50001301671e..."} 
[2026-08-10 09:09:30] local.INFO: Processing buffer {"connection_id":152659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bff3f8012d0a75800705ea50001301671e..."} 
[2026-08-10 09:09:30] local.INFO: Packet analysis {"connection_id":152659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:09:30] local.INFO: Extracted packet for processing {"connection_id":152659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:09:30] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117828176,"longitude_deg":75.566016,"latitude_deg":11.7828176,"altitude":19,"angle":359,"satellites":30,"speed":20,"hex_longitude":"2d0a7580","hex_latitude":"0705ea50","is_valid_coordinates":true} 
[2026-08-10 09:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301272832001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27281769703145472,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911562362880,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786333099000,"timestamp_ms":1786333099000,"timestamp_seconds":1786333099,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bff3f8"} 
[2026-08-10 09:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 09:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301272832001,"66":14309,"153":206,"94":10240,"24":20,"16":27281769703145472,"45":753578911562362880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301272832001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:09:30] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:09:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27281769703145472,"km_value":27281769703145.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911562362880,"description":"Unknown IO ID 45"} 
[2026-08-10 09:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301272832001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":753578911562362880}} 
[2026-08-10 09:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":152659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618755,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:09:30] local.INFO: GPS data processed {"connection_id":152659,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:09:30] local.INFO: Acknowledgment sent {"connection_id":152659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:09:37] local.INFO: TCP Data received {"connection_id":152658,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:09:37] local.INFO: Processing buffer {"connection_id":152658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:09:37] local.INFO: Packet analysis {"connection_id":152658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:09:37] local.INFO: Extracted packet for processing {"connection_id":152658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786333042000,"timestamp_ms":1786333042000,"timestamp_seconds":1786333042,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf1550"} 
[2026-08-10 09:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 09:09: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-08-10 09:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":152658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:09:37] local.INFO: GPS data processed {"connection_id":152658,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:09:37] local.INFO: Acknowledgment sent {"connection_id":152658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:09:52] local.INFO: TCP Data received {"connection_id":151365,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c00780012d79e3c005ecad200008003928..."} 
[2026-08-10 09:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c00780012d79e3c005ecad200008003928..."} 
[2026-08-10 09:09:52] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c00780012d79e3c005ecad200008003928..."} 
[2026-08-10 09:09:52] local.INFO: Packet analysis {"connection_id":151365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c0"} 
[2026-08-10 09:09:52] local.INFO: Extracted packet for processing {"connection_id":151365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c0"} 
[2026-08-10 09:09:52] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":99396896,"longitude_deg":76.296288,"latitude_deg":9.9396896,"altitude":8,"angle":57,"satellites":40,"speed":6,"hex_longitude":"2d79e3c0","hex_latitude":"05ecad20","is_valid_coordinates":true} 
[2026-08-10 09:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301273088001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117195325201973248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986259789824,"note":"Value kept but may cause issues"} 
[2026-08-10 09:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786333104000,"timestamp_ms":1786333104000,"timestamp_seconds":1786333104,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c00780"} 
[2026-08-10 09:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 09:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301273088001,"66":12624,"100":206,"87":13824,"24":6,"16":117195325201973248,"45":8782722986259789824},"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-08-10 09:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301273088001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:09:52] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:09:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117195325201973248,"km_value":117195325201973.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986259789824,"description":"Unknown IO ID 45"} 
[2026-08-10 09:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301273088001,"power":12624,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8782722986259789824}} 
[2026-08-10 09:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":151365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:09:52] local.INFO: GPS data processed {"connection_id":151365,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:09:52] local.INFO: Acknowledgment sent {"connection_id":151365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:10:00] local.INFO: TCP Data received {"connection_id":154114,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:10:00] local.INFO: Processing buffer {"connection_id":154114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:10:00] local.INFO: IMEI packet received {"connection_id":154114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":154114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:10:01] local.INFO: TCP Data received {"connection_id":152659,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c02e90012d0a7380070605880013015b1e..."} 
[2026-08-10 09:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c02e90012d0a7380070605880013015b1e..."} 
[2026-08-10 09:10:01] local.INFO: Processing buffer {"connection_id":152659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c02e90012d0a7380070605880013015b1e..."} 
[2026-08-10 09:10:01] local.INFO: Packet analysis {"connection_id":152659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c0"} 
[2026-08-10 09:10:01] local.INFO: Extracted packet for processing {"connection_id":152659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c0"} 
[2026-08-10 09:10:01] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117835144,"longitude_deg":75.5659648,"latitude_deg":11.7835144,"altitude":19,"angle":347,"satellites":30,"speed":7,"hex_longitude":"2d0a7380","hex_latitude":"07060588","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301273344001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27282113300529152,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280306794496,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786333114000,"timestamp_ms":1786333114000,"timestamp_seconds":1786333114,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c02e90"} 
[2026-08-10 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-08-10 09:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 09:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301273344001,"66":14396,"153":206,"94":10240,"24":7,"16":27282113300529152,"45":753649280306794496},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301273344001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:10:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:10:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27282113300529152,"km_value":27282113300529.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280306794496,"description":"Unknown IO ID 45"} 
[2026-08-10 09:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301273344001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":753649280306794496}} 
[2026-08-10 09:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":152659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618758,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:10:01] local.INFO: GPS data processed {"connection_id":152659,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:10:01] local.INFO: Acknowledgment sent {"connection_id":152659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:10:04] local.INFO: TCP Data received {"connection_id":154114,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:10:04] local.INFO: Processing buffer {"connection_id":154114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:10:04] local.INFO: IMEI packet received {"connection_id":154114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":154114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:10:06] local.INFO: TCP Data received {"connection_id":154114,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:10:06] local.INFO: Processing buffer {"connection_id":154114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:10:06] local.INFO: Packet analysis {"connection_id":154114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:10:06] local.INFO: Extracted packet for processing {"connection_id":154114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786333042000,"timestamp_ms":1786333042000,"timestamp_seconds":1786333042,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf1550"} 
[2026-08-10 09:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 09:10: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-08-10 09:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":154114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:10:06] local.INFO: GPS data processed {"connection_id":154114,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:10:06] local.INFO: Acknowledgment sent {"connection_id":154114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:10:14] local.INFO: TCP Data received {"connection_id":152660,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:10:14] local.INFO: Processing buffer {"connection_id":152660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:10:14] local.INFO: IMEI packet received {"connection_id":152660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":152660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:10:18] local.INFO: TCP Data received {"connection_id":152660,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:10:18] local.INFO: Processing buffer {"connection_id":152660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:10:18] local.INFO: IMEI packet received {"connection_id":152660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":152660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:10:19] local.INFO: TCP Data received {"connection_id":152660,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c01338012d79e78005ecadf00008005327..."} 
[2026-08-10 09:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c01338012d79e78005ecadf00008005327..."} 
[2026-08-10 09:10:19] local.INFO: Processing buffer {"connection_id":152660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c01338012d79e78005ecadf00008005327..."} 
[2026-08-10 09:10:19] local.INFO: Packet analysis {"connection_id":152660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c0"} 
[2026-08-10 09:10:19] local.INFO: Extracted packet for processing {"connection_id":152660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c0"} 
[2026-08-10 09:10:19] local.INFO: GPS Element Parsed {"raw_longitude":762963840,"raw_latitude":99397104,"longitude_deg":76.296384,"latitude_deg":9.9397104,"altitude":8,"angle":83,"satellites":39,"speed":13,"hex_longitude":"2d79e780","hex_latitude":"05ecadf0","is_valid_coordinates":true} 
[2026-08-10 09:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301274624001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117195376741580800,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829980737536,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786333107000,"timestamp_ms":1786333107000,"timestamp_seconds":1786333107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c01338"} 
[2026-08-10 09:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-10 09:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301274624001,"66":13135,"100":206,"87":13824,"24":13,"16":117195376741580800,"45":8783074829980737536},"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-08-10 09:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301274624001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:10:19] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:10:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117195376741580800,"km_value":117195376741580.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829980737536,"description":"Unknown IO ID 45"} 
[2026-08-10 09:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301274624001,"power":13135,"unknown_100":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8783074829980737536}} 
[2026-08-10 09:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":152660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:10:19] local.INFO: GPS data processed {"connection_id":152660,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:10:19] local.INFO: Acknowledgment sent {"connection_id":152660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:10:24] local.INFO: TCP Data received {"connection_id":151748,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151748,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:10:24] local.INFO: Processing buffer {"connection_id":151748,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:10:24] local.INFO: IMEI packet received {"connection_id":151748,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":151748,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:10:29] local.INFO: TCP Data received {"connection_id":151748,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151748,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:10:29] local.INFO: Processing buffer {"connection_id":151748,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:10:29] local.INFO: IMEI packet received {"connection_id":151748,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":151748,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:10:30] local.INFO: TCP Data received {"connection_id":151748,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c19208012d0a7540070604a80011005423..."} 
[2026-08-10 09:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c19208012d0a7540070604a80011005423..."} 
[2026-08-10 09:10:30] local.INFO: Processing buffer {"connection_id":151748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c19208012d0a7540070604a80011005423..."} 
[2026-08-10 09:10:30] local.INFO: Packet analysis {"connection_id":151748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c1"} 
[2026-08-10 09:10:30] local.INFO: Extracted packet for processing {"connection_id":151748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c1"} 
[2026-08-10 09:10:30] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117834920,"longitude_deg":75.5660096,"latitude_deg":11.783492,"altitude":17,"angle":84,"satellites":35,"speed":0,"hex_longitude":"2d0a7540","hex_latitude":"070604a8","is_valid_coordinates":true} 
[2026-08-10 09:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301295104001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27282186314973184,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911564345344,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786333205000,"timestamp_ms":1786333205000,"timestamp_seconds":1786333205,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c19208"} 
[2026-08-10 09:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143808,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921743160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638989846996889,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":8322659833854033938,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6350075474592399370,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504015919906816,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3239636993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5764871410124390656,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2147943942,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3372272999,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3975741440,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84735458101626374,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.WARNING: Large IO value detected {"io_id":216,"raw_value":5067245902364928,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,153,94,24,241,157,16,237,159,60,45,4,17,32,10,66,52,192,33,236,44,64,1,240,227,233,6,113,205,115,34,239,56,2,96,7,18,206,128,216],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1738080462,"validated":0}]} 
[2026-08-10 09:10:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225071595060461568,"timestamp_seconds":1225071595060461.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301295104001,"66":14407,"153":206,"94":10240,"24":0,"16":27282186314973184,"45":753578911564345344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301295104001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:10:30] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:10:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27282186314973184,"km_value":27282186314973.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911564345344,"description":"Unknown IO ID 45"} 
[2026-08-10 09:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301295104001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753578911564345344}} 
[2026-08-10 09:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":151748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618761,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:10:30] local.INFO: GPS data processed {"connection_id":151748,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:10:30] local.INFO: Acknowledgment sent {"connection_id":151748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:10:38] local.INFO: TCP Data received {"connection_id":154114,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:10:38] local.INFO: Processing buffer {"connection_id":154114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:10:38] local.INFO: Packet analysis {"connection_id":154114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:10:38] local.INFO: Extracted packet for processing {"connection_id":154114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786333042000,"timestamp_ms":1786333042000,"timestamp_seconds":1786333042,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf1550"} 
[2026-08-10 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-08-10 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 09:10: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-08-10 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-08-10 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-08-10 09:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":154114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:10:38] local.INFO: GPS data processed {"connection_id":154114,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:10:38] local.INFO: Acknowledgment sent {"connection_id":154114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:10:50] local.INFO: TCP Data received {"connection_id":152660,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c22678012d79e44005eca978000900df22..."} 
[2026-08-10 09:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c22678012d79e44005eca978000900df22..."} 
[2026-08-10 09:10:50] local.INFO: Processing buffer {"connection_id":152660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c22678012d79e44005eca978000900df22..."} 
[2026-08-10 09:10:50] local.INFO: Packet analysis {"connection_id":152660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:10:50] local.INFO: Extracted packet for processing {"connection_id":152660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:10:50] local.INFO: GPS Element Parsed {"raw_longitude":762963008,"raw_latitude":99395960,"longitude_deg":76.2963008,"latitude_deg":9.939596,"altitude":9,"angle":223,"satellites":34,"speed":2,"hex_longitude":"2d79e440","hex_latitude":"05eca978","is_valid_coordinates":true} 
[2026-08-10 09:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301308416001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117195823418179584,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785396998538473472,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786333243000,"timestamp_ms":1786333243000,"timestamp_seconds":1786333243,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c22678"} 
[2026-08-10 09:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:10: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-08-10 09:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921789160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":38913,"corrected_to":0} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221613741,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3252692993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-6016809067804351744,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391937,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970727936,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.WARNING: Large IO value detected {"io_id":193,"raw_value":7989387033786515461,"note":"Value kept but may cause issues"} 
[2026-08-10 09:10:50] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,118,87,24,241,157,16,92,159,247,45,192,171,9,32,10,66,243,128,172,231,1,240,3,227,233,236,4,113,205,8,220,184,239,51,2,160,5,29,193],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":247,"original":38913,"validated":0},{"io_id":205,"original":1098252494,"validated":0}]} 
[2026-08-10 09:10:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648795565005668352,"timestamp_seconds":648795565005668.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301308416001,"66":13330,"118":206,"87":13824,"24":2,"16":117195823418179584,"45":8785396998538473472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-08-10 09:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301308416001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:10:50] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-10 09:10:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117195823418179584,"km_value":117195823418179.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785396998538473472,"description":"Unknown IO ID 45"} 
[2026-08-10 09:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301308416001,"power":13330,"unknown_118":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8785396998538473472}} 
[2026-08-10 09:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":152660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:10:50] local.INFO: GPS data processed {"connection_id":152660,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:10:50] local.INFO: Acknowledgment sent {"connection_id":152660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:11:01] local.INFO: TCP Data received {"connection_id":151748,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c1a590012d0a74c007060420001100d322..."} 
[2026-08-10 09:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c1a590012d0a74c007060420001100d322..."} 
[2026-08-10 09:11:01] local.INFO: Processing buffer {"connection_id":151748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c1a590012d0a74c007060420001100d322..."} 
[2026-08-10 09:11:01] local.INFO: Packet analysis {"connection_id":151748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c1"} 
[2026-08-10 09:11:01] local.INFO: Extracted packet for processing {"connection_id":151748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c1"} 
[2026-08-10 09:11:01] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834784,"longitude_deg":75.5659968,"latitude_deg":11.7834784,"altitude":17,"angle":211,"satellites":34,"speed":1,"hex_longitude":"2d0a74c0","hex_latitude":"07060420","is_valid_coordinates":true} 
[2026-08-10 09:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301300480001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27282199199875072,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911564343296,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786333210000,"timestamp_ms":1786333210000,"timestamp_seconds":1786333210,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c1a590"} 
[2026-08-10 09:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 09:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301300480001,"66":14298,"153":206,"94":10240,"24":1,"16":27282199199875072,"45":753578911564343296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301300480001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:11:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:11:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27282199199875072,"km_value":27282199199875.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911564343296,"description":"Unknown IO ID 45"} 
[2026-08-10 09:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301300480001,"power":14298,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753578911564343296}} 
[2026-08-10 09:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":151748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618764,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:11:01] local.INFO: GPS data processed {"connection_id":151748,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:11:01] local.INFO: Acknowledgment sent {"connection_id":151748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:11:02] local.INFO: TCP Data received {"connection_id":152661,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:11:02] local.INFO: Processing buffer {"connection_id":152661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:11:02] local.INFO: IMEI packet received {"connection_id":152661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":152661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:11:04] local.INFO: TCP Data received {"connection_id":152661,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:11:04] local.INFO: Processing buffer {"connection_id":152661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:11:04] local.INFO: IMEI packet received {"connection_id":152661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":152661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:11:06] local.INFO: TCP Data received {"connection_id":152661,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:11:06] local.INFO: Processing buffer {"connection_id":152661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:11:06] local.INFO: Packet analysis {"connection_id":152661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:11:06] local.INFO: Extracted packet for processing {"connection_id":152661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786333042000,"timestamp_ms":1786333042000,"timestamp_seconds":1786333042,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf1550"} 
[2026-08-10 09:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 09:11: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-08-10 09:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":152661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:11:06] local.INFO: GPS data processed {"connection_id":152661,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:11:06] local.INFO: Acknowledgment sent {"connection_id":152661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:11:10] local.INFO: TCP Data received {"connection_id":152661,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:11:10] local.INFO: Processing buffer {"connection_id":152661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:11:10] local.INFO: Packet analysis {"connection_id":152661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:11:10] local.INFO: Extracted packet for processing {"connection_id":152661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786333042000,"timestamp_ms":1786333042000,"timestamp_seconds":1786333042,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf1550"} 
[2026-08-10 09:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 09:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":152661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:11:10] local.INFO: GPS data processed {"connection_id":152661,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:11:10] local.INFO: Acknowledgment sent {"connection_id":152661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:11:14] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:11:14] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:11:14] local.INFO: IMEI packet received {"connection_id":151366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":151366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:11:15] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:11:15] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:11:15] local.INFO: IMEI packet received {"connection_id":151366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":151366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:11:17] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:11:17] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:11:17] local.INFO: IMEI packet received {"connection_id":151366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":151366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:11:19] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:11:19] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:11:19] local.INFO: IMEI packet received {"connection_id":151366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":151366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:11:21] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c23618012d79e34005eca870000800c923..."} 
[2026-08-10 09:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c23618012d79e34005eca870000800c923..."} 
[2026-08-10 09:11:21] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c23618012d79e34005eca870000800c923..."} 
[2026-08-10 09:11:21] local.INFO: Packet analysis {"connection_id":151366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:11:21] local.INFO: Extracted packet for processing {"connection_id":151366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:11:21] local.INFO: GPS Element Parsed {"raw_longitude":762962752,"raw_latitude":99395696,"longitude_deg":76.2962752,"latitude_deg":9.9395696,"altitude":8,"angle":201,"satellites":35,"speed":5,"hex_longitude":"2d79e340","hex_latitude":"05eca870","is_valid_coordinates":true} 
[2026-08-10 09:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301310208001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117195849187983360,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783215567468853248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786333247000,"timestamp_ms":1786333247000,"timestamp_seconds":1786333247,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c23618"} 
[2026-08-10 09:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:11: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-08-10 09: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921796160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":38913,"corrected_to":0} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3276919584336948352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3253204993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-6016809067804352256,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":193,"raw_value":-4546382528999260155,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":65,"raw_value":8503022970438948864,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:21] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,118,87,24,241,157,16,92,159,11,45,171,9,33,10,66,247,192,32,243,128,1,240,79,227,233,236,4,113,205,224,88,31,239,50,2,160,5,187,193,65,93],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":247,"original":38913,"validated":0},{"io_id":205,"original":1098252494,"validated":0}]} 
[2026-08-10 09:11:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648763683463364608,"timestamp_seconds":648763683463364.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:11: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-08-10 09:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301310208001,"66":13222,"118":206,"87":13824,"24":5,"16":117195849187983360,"45":8783215567468853248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-08-10 09:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301310208001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:11:21] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-10 09:11:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117195849187983360,"km_value":117195849187983.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783215567468853248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301310208001,"power":13222,"unknown_118":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8783215567468853248}} 
[2026-08-10 09:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":151366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:11:21] local.INFO: GPS data processed {"connection_id":151366,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:11:21] local.INFO: Acknowledgment sent {"connection_id":151366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:11:25] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c23a00012d79e34005eca7b8000800aa25..."} 
[2026-08-10 09:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c23a00012d79e34005eca7b8000800aa25..."} 
[2026-08-10 09:11:25] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c23a00012d79e34005eca7b8000800aa25..."} 
[2026-08-10 09:11:25] local.INFO: Packet analysis {"connection_id":151366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:11:25] local.INFO: Extracted packet for processing {"connection_id":151366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:11:25] local.INFO: GPS Element Parsed {"raw_longitude":762962752,"raw_latitude":99395512,"longitude_deg":76.2962752,"latitude_deg":9.9395512,"altitude":8,"angle":170,"satellites":37,"speed":10,"hex_longitude":"2d79e340","hex_latitude":"05eca7b8","is_valid_coordinates":true} 
[2026-08-10 09:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301311232001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117195857777917952,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782934092492075008,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786333248000,"timestamp_ms":1786333248000,"timestamp_seconds":1786333248,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c23a00"} 
[2026-08-10 09:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-10 09:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301311232001,"66":13222,"118":206,"87":13824,"24":10,"16":117195857777917952,"45":8782934092492075008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-08-10 09:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301311232001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:11:25] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-10 09:11:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117195857777917952,"km_value":117195857777917.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782934092492075008,"description":"Unknown IO ID 45"} 
[2026-08-10 09:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301311232001,"power":13222,"unknown_118":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8782934092492075008}} 
[2026-08-10 09:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":151366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:11:25] local.INFO: GPS data processed {"connection_id":151366,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:11:25] local.INFO: Acknowledgment sent {"connection_id":151366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:11:26] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:11:26] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:11:26] local.INFO: IMEI packet received {"connection_id":151749,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":151749,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:11:29] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:11:29] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:11:29] local.INFO: IMEI packet received {"connection_id":151749,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":151749,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:11:33] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:11:33] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:11:33] local.INFO: IMEI packet received {"connection_id":151749,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":151749,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:11:34] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c2b318012d0a78400705bec8001700a123..."} 
[2026-08-10 09:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c2b318012d0a78400705bec8001700a123..."} 
[2026-08-10 09:11:34] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c2b318012d0a78400705bec8001700a123..."} 
[2026-08-10 09:11:34] local.INFO: Packet analysis {"connection_id":151749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:11:34] local.INFO: Extracted packet for processing {"connection_id":151749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:11:34] local.INFO: GPS Element Parsed {"raw_longitude":755660864,"raw_latitude":117817032,"longitude_deg":75.5660864,"latitude_deg":11.7817032,"altitude":23,"angle":161,"satellites":35,"speed":23,"hex_longitude":"2d0a7840","hex_latitude":"0705bec8","is_valid_coordinates":true} 
[2026-08-10 09:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301317632001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27283083963138048,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753930755281295360,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786333279000,"timestamp_ms":1786333279000,"timestamp_seconds":1786333279,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c2b318"} 
[2026-08-10 09:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 09:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151749,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151749,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301317632001,"66":14439,"153":206,"94":10240,"24":23,"16":27283083963138048,"45":753930755281295360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301317632001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:11:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:11:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27283083963138048,"km_value":27283083963138.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":753930755281295360,"description":"Unknown IO ID 45"} 
[2026-08-10 09:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301317632001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":753930755281295360}} 
[2026-08-10 09:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":151749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618769,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:11:34] local.INFO: GPS data processed {"connection_id":151749,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:11:34] local.INFO: Acknowledgment sent {"connection_id":151749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:11:42] local.INFO: TCP Data received {"connection_id":152661,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:11:42] local.INFO: Processing buffer {"connection_id":152661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:11:42] local.INFO: Packet analysis {"connection_id":152661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:11:42] local.INFO: Extracted packet for processing {"connection_id":152661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786333042000,"timestamp_ms":1786333042000,"timestamp_seconds":1786333042,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf1550"} 
[2026-08-10 09:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 09:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":152661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:11:42] local.INFO: GPS data processed {"connection_id":152661,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:11:42] local.INFO: Acknowledgment sent {"connection_id":152661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:11:56] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c24d88012d79e58005eca0d80008009d28..."} 
[2026-08-10 09:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c24d88012d79e58005eca0d80008009d28..."} 
[2026-08-10 09:11:56] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c24d88012d79e58005eca0d80008009d28..."} 
[2026-08-10 09:11:56] local.INFO: Packet analysis {"connection_id":151366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:11:56] local.INFO: Extracted packet for processing {"connection_id":151366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:11:56] local.INFO: GPS Element Parsed {"raw_longitude":762963328,"raw_latitude":99393752,"longitude_deg":76.2963328,"latitude_deg":9.9393752,"altitude":8,"angle":157,"satellites":40,"speed":19,"hex_longitude":"2d79e580","hex_latitude":"05eca0d8","is_valid_coordinates":true} 
[2026-08-10 09:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301311488001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117195947972231168,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782934092492027904,"note":"Value kept but may cause issues"} 
[2026-08-10 09:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786333253000,"timestamp_ms":1786333253000,"timestamp_seconds":1786333253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c24d88"} 
[2026-08-10 09:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-10 09:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301311488001,"66":13363,"118":206,"87":13824,"24":19,"16":117195947972231168,"45":8782934092492027904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-08-10 09:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301311488001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:11:56] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-10 09:11:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117195947972231168,"km_value":117195947972231.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782934092492027904,"description":"Unknown IO ID 45"} 
[2026-08-10 09:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301311488001,"power":13363,"unknown_118":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8782934092492027904}} 
[2026-08-10 09:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":151366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:11:56] local.INFO: GPS data processed {"connection_id":151366,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:11:56] local.INFO: Acknowledgment sent {"connection_id":151366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:11:59] local.INFO: TCP Data received {"connection_id":154115,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:11:59] local.INFO: Processing buffer {"connection_id":154115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:11:59] local.INFO: IMEI packet received {"connection_id":154115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":154115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:12:04] local.INFO: TCP Data received {"connection_id":154115,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:12:04] local.INFO: Processing buffer {"connection_id":154115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:12:04] local.INFO: IMEI packet received {"connection_id":154115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":154115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:12:05] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c2ca88012d0a7f000705b0280018009521..."} 
[2026-08-10 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c2ca88012d0a7f000705b0280018009521..."} 
[2026-08-10 09:12:05] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c2ca88012d0a7f000705b0280018009521..."} 
[2026-08-10 09:12:05] local.INFO: Packet analysis {"connection_id":151749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:12:05] local.INFO: Extracted packet for processing {"connection_id":151749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":755662592,"raw_latitude":117813288,"longitude_deg":75.5662592,"latitude_deg":11.7813288,"altitude":24,"angle":149,"satellites":33,"speed":20,"hex_longitude":"2d0a7f00","hex_latitude":"0705b028","is_valid_coordinates":true} 
[2026-08-10 09:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301319424001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27283285826600960,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754423336489895936,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786333285000,"timestamp_ms":1786333285000,"timestamp_seconds":1786333285,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c2ca88"} 
[2026-08-10 09:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 09:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151749,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151749,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301319424001,"66":13863,"153":206,"94":10240,"24":20,"16":27283285826600960,"45":754423336489895936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301319424001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:12:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:12:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27283285826600960,"km_value":27283285826600.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":754423336489895936,"description":"Unknown IO ID 45"} 
[2026-08-10 09:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301319424001,"power":13863,"unknown_153":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":754423336489895936}} 
[2026-08-10 09:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":151749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618772,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:12:06] local.INFO: GPS data processed {"connection_id":151749,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:12:06] local.INFO: Acknowledgment sent {"connection_id":151749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:12:07] local.INFO: TCP Data received {"connection_id":154115,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:12:07] local.INFO: Processing buffer {"connection_id":154115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:12:07] local.INFO: Packet analysis {"connection_id":154115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:12:07] local.INFO: Extracted packet for processing {"connection_id":154115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786333042000,"timestamp_ms":1786333042000,"timestamp_seconds":1786333042,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf1550"} 
[2026-08-10 09:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 09:12: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-08-10 09:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:12: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-08-10 09:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":154115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:12:07] local.INFO: GPS data processed {"connection_id":154115,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:12:07] local.INFO: Acknowledgment sent {"connection_id":154115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:12:14] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:12:14] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:12:14] local.INFO: IMEI packet received {"connection_id":151750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":151750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:12:19] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:12:19] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:12:19] local.INFO: IMEI packet received {"connection_id":151750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":151750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:12:20] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c29f90012d79ee8005ec8780000600a429..."} 
[2026-08-10 09:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c29f90012d79ee8005ec8780000600a429..."} 
[2026-08-10 09:12:20] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c29f90012d79ee8005ec8780000600a429..."} 
[2026-08-10 09:12:20] local.INFO: Packet analysis {"connection_id":151750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:12:20] local.INFO: Extracted packet for processing {"connection_id":151750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:12:20] local.INFO: GPS Element Parsed {"raw_longitude":762965632,"raw_latitude":99387264,"longitude_deg":76.2965632,"latitude_deg":9.9387264,"altitude":6,"angle":164,"satellites":41,"speed":15,"hex_longitude":"2d79ee80","hex_latitude":"05ec8780","is_valid_coordinates":true} 
[2026-08-10 09:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301312768001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117196282979680256,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783567411189176320,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786333274000,"timestamp_ms":1786333274000,"timestamp_seconds":1786333274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c29f90"} 
[2026-08-10 09:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 09:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301312768001,"66":13319,"118":206,"87":13824,"24":15,"16":117196282979680256,"45":8783567411189176320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-08-10 09:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301312768001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:12:20] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-10 09:12:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117196282979680256,"km_value":117196282979680.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783567411189176320,"description":"Unknown IO ID 45"} 
[2026-08-10 09:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301312768001,"power":13319,"unknown_118":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8783567411189176320}} 
[2026-08-10 09:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":151750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:12:20] local.INFO: GPS data processed {"connection_id":151750,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:12:20] local.INFO: Acknowledgment sent {"connection_id":151750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:12:26] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:12:26] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:12:26] local.INFO: IMEI packet received {"connection_id":151751,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":151751,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:12:26] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:12:26] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:12:26] local.INFO: IMEI packet received {"connection_id":151751,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":151751,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:12:29] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:12:29] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:12:29] local.INFO: IMEI packet received {"connection_id":151751,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":151751,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:12:33] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c2e1f8012d0a81c00705aa48001800a721..."} 
[2026-08-10 09:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c2e1f8012d0a81c00705aa48001800a721..."} 
[2026-08-10 09:12:33] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c2e1f8012d0a81c00705aa48001800a721..."} 
[2026-08-10 09:12:33] local.INFO: Packet analysis {"connection_id":151751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:12:33] local.INFO: Extracted packet for processing {"connection_id":151751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:12:33] local.INFO: GPS Element Parsed {"raw_longitude":755663296,"raw_latitude":117811784,"longitude_deg":75.5663296,"latitude_deg":11.7811784,"altitude":24,"angle":167,"satellites":33,"speed":9,"hex_longitude":"2d0a81c0","hex_latitude":"0705aa48","is_valid_coordinates":true} 
[2026-08-10 09:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301320960001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27283363136012288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756323292581734400,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786333291000,"timestamp_ms":1786333291000,"timestamp_seconds":1786333291,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c2e1f8"} 
[2026-08-10 09:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-10 09:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301320960001,"66":14439,"153":206,"94":10240,"24":9,"16":27283363136012288,"45":756323292581734400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301320960001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:12:33] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:12:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27283363136012288,"km_value":27283363136012.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":756323292581734400,"description":"Unknown IO ID 45"} 
[2026-08-10 09:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301320960001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":756323292581734400}} 
[2026-08-10 09:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":151751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618775,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:12:34] local.INFO: GPS data processed {"connection_id":151751,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:12:34] local.INFO: Acknowledgment sent {"connection_id":151751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:12:34] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c2e5e0012d0a81c00705a970001700c022..."} 
[2026-08-10 09:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c2e5e0012d0a81c00705a970001700c022..."} 
[2026-08-10 09:12:34] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c2e5e0012d0a81c00705a970001700c022..."} 
[2026-08-10 09:12:34] local.INFO: Packet analysis {"connection_id":151751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:12:34] local.INFO: Extracted packet for processing {"connection_id":151751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:12:34] local.INFO: GPS Element Parsed {"raw_longitude":755663296,"raw_latitude":117811568,"longitude_deg":75.5663296,"latitude_deg":11.7811568,"altitude":23,"angle":192,"satellites":34,"speed":9,"hex_longitude":"2d0a81c0","hex_latitude":"0705a970","is_valid_coordinates":true} 
[2026-08-10 09:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301322496001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27283376020914176,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757097348767303680,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786333292000,"timestamp_ms":1786333292000,"timestamp_seconds":1786333292,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c2e5e0"} 
[2026-08-10 09:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 09:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301322496001,"66":14439,"153":206,"94":10240,"24":9,"16":27283376020914176,"45":757097348767303680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301322496001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:12:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:12:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27283376020914176,"km_value":27283376020914.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":757097348767303680,"description":"Unknown IO ID 45"} 
[2026-08-10 09:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301322496001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":757097348767303680}} 
[2026-08-10 09:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":151751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618776,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:12:35] local.INFO: GPS data processed {"connection_id":151751,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:12:35] local.INFO: Acknowledgment sent {"connection_id":151751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:12:35] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c2edb0012d0a81400705a738001700d020..."} 
[2026-08-10 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c2edb0012d0a81400705a738001700d020..."} 
[2026-08-10 09:12:35] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c2edb0012d0a81400705a738001700d020..."} 
[2026-08-10 09:12:35] local.INFO: Packet analysis {"connection_id":151751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:12:35] local.INFO: Extracted packet for processing {"connection_id":151751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":755663168,"raw_latitude":117811000,"longitude_deg":75.5663168,"latitude_deg":11.7811,"altitude":23,"angle":208,"satellites":32,"speed":13,"hex_longitude":"2d0a8140","hex_latitude":"0705a738","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301322752001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27283401790717952,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757097348767248384,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786333294000,"timestamp_ms":1786333294000,"timestamp_seconds":1786333294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c2edb0"} 
[2026-08-10 09:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 09:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301322752001,"66":14233,"153":206,"94":10240,"24":13,"16":27283401790717952,"45":757097348767248384},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301322752001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:12:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:12:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27283401790717952,"km_value":27283401790717.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":757097348767248384,"description":"Unknown IO ID 45"} 
[2026-08-10 09:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301322752001,"power":14233,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":757097348767248384}} 
[2026-08-10 09:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":151751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618777,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:12:35] local.INFO: GPS data processed {"connection_id":151751,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:12:35] local.INFO: Acknowledgment sent {"connection_id":151751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:12:41] local.INFO: TCP Data received {"connection_id":154115,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:12:41] local.INFO: Processing buffer {"connection_id":154115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9bf1550012d34c20006aa3f08000800f329..."} 
[2026-08-10 09:12:41] local.INFO: Packet analysis {"connection_id":154115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:12:41] local.INFO: Extracted packet for processing {"connection_id":154115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9bf"} 
[2026-08-10 09:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":8,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301181696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786333042000,"timestamp_ms":1786333042000,"timestamp_seconds":1786333042,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9bf1550"} 
[2026-08-10 09:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 09:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301181696001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301181696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:12:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301181696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":154115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:12:41] local.INFO: GPS data processed {"connection_id":154115,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:12:41] local.INFO: Acknowledgment sent {"connection_id":154115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:12:52] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c2a760012d79efc005ec84400006009728..."} 
[2026-08-10 09:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c2a760012d79efc005ec84400006009728..."} 
[2026-08-10 09:12:52] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c2a760012d79efc005ec84400006009728..."} 
[2026-08-10 09:12:52] local.INFO: Packet analysis {"connection_id":151750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:12:52] local.INFO: Extracted packet for processing {"connection_id":151750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:12:52] local.INFO: GPS Element Parsed {"raw_longitude":762965952,"raw_latitude":99386432,"longitude_deg":76.2965952,"latitude_deg":9.9386432,"altitude":6,"angle":151,"satellites":40,"speed":18,"hex_longitude":"2d79efc0","hex_latitude":"05ec8440","is_valid_coordinates":true} 
[2026-08-10 09:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301318144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117196325929353216,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786100685977911296,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786333276000,"timestamp_ms":1786333276000,"timestamp_seconds":1786333276,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c2a760"} 
[2026-08-10 09:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 09:12:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921803160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:52] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3257300993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:52] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-6050586060701687808,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-08-10 09:12:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970682880,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:52] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:52] local.WARNING: Large IO value detected {"io_id":193,"raw_value":-887207831761158139,"note":"Value kept but may cause issues"} 
[2026-08-10 09:12:52] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,118,87,24,241,157,16,93,159,77,45,128,160,8,40,10,66,58,64,167,37,54,1,240,166,227,233,236,4,113,205,2,11,48,33,239,52,5,9,79,193],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0}]} 
[2026-08-10 09:12:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432526060229165056,"timestamp_seconds":432526060229165.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301318144001,"66":13319,"100":206,"87":13824,"24":18,"16":117196325929353216,"45":8786100685977911296},"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-08-10 09:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301318144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:12:52] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:12:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117196325929353216,"km_value":117196325929353.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786100685977911296,"description":"Unknown IO ID 45"} 
[2026-08-10 09:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301318144001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8786100685977911296}} 
[2026-08-10 09:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":151750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:12:52] local.INFO: GPS data processed {"connection_id":151750,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:12:52] local.INFO: Acknowledgment sent {"connection_id":151750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:12:59] local.INFO: TCP Data received {"connection_id":154116,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:12:59] local.INFO: Processing buffer {"connection_id":154116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:12:59] local.INFO: IMEI packet received {"connection_id":154116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":154116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:13:01] local.INFO: TCP Data received {"connection_id":154116,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:13:01] local.INFO: Processing buffer {"connection_id":154116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:13:01] local.INFO: IMEI packet received {"connection_id":154116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":154116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:13:05] local.INFO: TCP Data received {"connection_id":154116,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:13:05] local.INFO: Processing buffer {"connection_id":154116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:13:05] local.INFO: IMEI packet received {"connection_id":154116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":154116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:13:06] local.INFO: TCP Data received {"connection_id":154116,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:13:06] local.INFO: Processing buffer {"connection_id":154116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:13:06] local.INFO: Packet analysis {"connection_id":154116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:13:06] local.INFO: Extracted packet for processing {"connection_id":154116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301258752001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786333343000,"timestamp_ms":1786333343000,"timestamp_seconds":1786333343,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c3ad18"} 
[2026-08-10 09:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301258752001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301258752001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301258752001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":154116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:13:06] local.INFO: GPS data processed {"connection_id":154116,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:13:06] local.INFO: Acknowledgment sent {"connection_id":154116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:13:06] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c33018012d0a7d800705a168001700f322..."} 
[2026-08-10 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c33018012d0a7d800705a168001700f322..."} 
[2026-08-10 09:13:06] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c33018012d0a7d800705a168001700f322..."} 
[2026-08-10 09:13:06] local.INFO: Packet analysis {"connection_id":151751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:13:06] local.INFO: Extracted packet for processing {"connection_id":151751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":755662208,"raw_latitude":117809512,"longitude_deg":75.5662208,"latitude_deg":11.7809512,"altitude":23,"angle":243,"satellites":34,"speed":4,"hex_longitude":"2d0a7d80","hex_latitude":"0705a168","is_valid_coordinates":true} 
[2026-08-10 09:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301323264001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27283491985031168,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756956611278747648,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786333311000,"timestamp_ms":1786333311000,"timestamp_seconds":1786333311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c33018"} 
[2026-08-10 09:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 09:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301323264001,"66":14439,"153":206,"94":10240,"24":4,"16":27283491985031168,"45":756956611278747648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 09:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301323264001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:13:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 09:13:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27283491985031168,"km_value":27283491985031.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":756956611278747648,"description":"Unknown IO ID 45"} 
[2026-08-10 09:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301323264001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":756956611278747648}} 
[2026-08-10 09:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":151751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618781,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:13:07] local.INFO: GPS data processed {"connection_id":151751,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:13:07] local.INFO: Acknowledgment sent {"connection_id":151751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:13:14] local.INFO: TCP Data received {"connection_id":152662,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:13:14] local.INFO: Processing buffer {"connection_id":152662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:13:14] local.INFO: IMEI packet received {"connection_id":152662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":152662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:13:19] local.INFO: TCP Data received {"connection_id":152662,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:13:19] local.INFO: Processing buffer {"connection_id":152662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:13:19] local.INFO: IMEI packet received {"connection_id":152662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":152662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:13:20] local.INFO: TCP Data received {"connection_id":152662,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c2f968012d79f90005ec76380009009929..."} 
[2026-08-10 09:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c2f968012d79f90005ec76380009009929..."} 
[2026-08-10 09:13:20] local.INFO: Processing buffer {"connection_id":152662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c2f968012d79f90005ec76380009009929..."} 
[2026-08-10 09:13:20] local.INFO: Packet analysis {"connection_id":152662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:13:20] local.INFO: Extracted packet for processing {"connection_id":152662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c2"} 
[2026-08-10 09:13:20] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99382840,"longitude_deg":76.296832,"latitude_deg":9.938284,"altitude":9,"angle":153,"satellites":41,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ec7638","is_valid_coordinates":true} 
[2026-08-10 09:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301318656001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117196540677718016,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786452529698586624,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786333297000,"timestamp_ms":1786333297000,"timestamp_seconds":1786333297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c2f968"} 
[2026-08-10 09:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 09:13:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921808160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:20] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3258324993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:20] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-6066348659398795264,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-08-10 09:13:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970641920,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:20] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:20] local.WARNING: Large IO value detected {"io_id":193,"raw_value":-605732855050551291,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:20] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,100,87,24,241,157,16,93,159,45,128,135,6,41,10,66,118,77,160,8,40,58,64,1,240,166,227,233,236,4,113,205,5,38,228,120,34,239,52,2,9,3,7,193],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0}]} 
[2026-08-10 09:13:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432511762283233280,"timestamp_seconds":432511762283233.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301318656001,"66":12982,"100":206,"87":13824,"24":0,"16":117196540677718016,"45":8786452529698586624},"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-08-10 09:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301318656001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:13:20] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:13:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117196540677718016,"km_value":117196540677718.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786452529698586624,"description":"Unknown IO ID 45"} 
[2026-08-10 09:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301318656001,"power":12982,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8786452529698586624}} 
[2026-08-10 09:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":152662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:13:20] local.INFO: GPS data processed {"connection_id":152662,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:13:20] local.INFO: Acknowledgment sent {"connection_id":152662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:13:23] local.INFO: TCP Data received {"connection_id":151367,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:13:23] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:13:23] local.INFO: IMEI packet received {"connection_id":151367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":151367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:13:24] local.INFO: TCP Data received {"connection_id":151367,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:13:24] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:13:24] local.INFO: IMEI packet received {"connection_id":151367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":151367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:13:29] local.INFO: TCP Data received {"connection_id":151367,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:13:29] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:13:29] local.INFO: IMEI packet received {"connection_id":151367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":151367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:13:30] local.INFO: TCP Data received {"connection_id":151367,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c42a18012d0a4c00070584500013001520..."} 
[2026-08-10 09:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c42a18012d0a4c00070584500013001520..."} 
[2026-08-10 09:13:30] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c42a18012d0a4c00070584500013001520..."} 
[2026-08-10 09:13:30] local.INFO: Packet analysis {"connection_id":151367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c4"} 
[2026-08-10 09:13:30] local.INFO: Extracted packet for processing {"connection_id":151367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c4"} 
[2026-08-10 09:13:30] local.INFO: GPS Element Parsed {"raw_longitude":755649536,"raw_latitude":117802064,"longitude_deg":75.5649536,"latitude_deg":11.7802064,"altitude":19,"angle":21,"satellites":32,"speed":1,"hex_longitude":"2d0a4c00","hex_latitude":"07058450","is_valid_coordinates":true} 
[2026-08-10 09:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301340160001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27284372453326848,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742179174999109632,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786333375000,"timestamp_ms":1786333375000,"timestamp_seconds":1786333375,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c42a18"} 
[2026-08-10 09:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 09:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301340160001,"66":14450,"177":206,"94":10240,"24":1,"16":27284372453326848,"45":742179174999109632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301340160001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:13:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:13:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27284372453326848,"km_value":27284372453326.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":742179174999109632,"description":"Unknown IO ID 45"} 
[2026-08-10 09:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301340160001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":742179174999109632}} 
[2026-08-10 09:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":151367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618783,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:13:30] local.INFO: GPS data processed {"connection_id":151367,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:13:30] local.INFO: Acknowledgment sent {"connection_id":151367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:13:37] local.INFO: TCP Data received {"connection_id":154116,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:13:37] local.INFO: Processing buffer {"connection_id":154116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:13:37] local.INFO: Packet analysis {"connection_id":154116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:13:37] local.INFO: Extracted packet for processing {"connection_id":154116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301258752001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786333343000,"timestamp_ms":1786333343000,"timestamp_seconds":1786333343,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c3ad18"} 
[2026-08-10 09:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301258752001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301258752001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301258752001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":154116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:13:37] local.INFO: GPS data processed {"connection_id":154116,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:13:37] local.INFO: Acknowledgment sent {"connection_id":154116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:13:52] local.INFO: TCP Data received {"connection_id":152662,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c30908012d79f94005ec7488000900a928..."} 
[2026-08-10 09:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c30908012d79f94005ec7488000900a928..."} 
[2026-08-10 09:13:52] local.INFO: Processing buffer {"connection_id":152662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c30908012d79f94005ec7488000900a928..."} 
[2026-08-10 09:13:52] local.INFO: Packet analysis {"connection_id":152662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:13:52] local.INFO: Extracted packet for processing {"connection_id":152662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:13:52] local.INFO: GPS Element Parsed {"raw_longitude":762968384,"raw_latitude":99382408,"longitude_deg":76.2968384,"latitude_deg":9.9382408,"altitude":9,"angle":169,"satellites":40,"speed":8,"hex_longitude":"2d79f940","hex_latitude":"05ec7488","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301324032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117196562152554496,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173232240640,"note":"Value kept but may cause issues"} 
[2026-08-10 09:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786333301000,"timestamp_ms":1786333301000,"timestamp_seconds":1786333301,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c30908"} 
[2026-08-10 09:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-10 09:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301324032001,"66":13319,"100":206,"87":13824,"24":8,"16":117196562152554496,"45":8789056173232240640},"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-08-10 09:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301324032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:13:52] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 09:13:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117196562152554496,"km_value":117196562152554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173232240640,"description":"Unknown IO ID 45"} 
[2026-08-10 09:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301324032001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8789056173232240640}} 
[2026-08-10 09:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":152662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:13:52] local.INFO: GPS data processed {"connection_id":152662,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:13:52] local.INFO: Acknowledgment sent {"connection_id":152662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:13:59] local.INFO: TCP Data received {"connection_id":152663,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:13:59] local.INFO: Processing buffer {"connection_id":152663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:13:59] local.INFO: IMEI packet received {"connection_id":152663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":152663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:14:01] local.INFO: TCP Data received {"connection_id":151367,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c45ce0012d0a4bc0070585e00012016020..."} 
[2026-08-10 09:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c45ce0012d0a4bc0070585e00012016020..."} 
[2026-08-10 09:14:01] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c45ce0012d0a4bc0070585e00012016020..."} 
[2026-08-10 09:14:01] local.INFO: Packet analysis {"connection_id":151367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c4"} 
[2026-08-10 09:14:01] local.INFO: Extracted packet for processing {"connection_id":151367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c4"} 
[2026-08-10 09:14:01] local.INFO: GPS Element Parsed {"raw_longitude":755649472,"raw_latitude":117802464,"longitude_deg":75.5649472,"latitude_deg":11.7802464,"altitude":18,"angle":352,"satellites":32,"speed":2,"hex_longitude":"2d0a4bc0","hex_latitude":"070585e0","is_valid_coordinates":true} 
[2026-08-10 09:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301344000001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27284393928163328,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741968068766617600,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786333388000,"timestamp_ms":1786333388000,"timestamp_seconds":1786333388,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c45ce0"} 
[2026-08-10 09:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:14: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-08-10 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 09:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301344000001,"66":13798,"177":206,"94":10240,"24":2,"16":27284393928163328,"45":741968068766617600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301344000001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:14:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:14:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27284393928163328,"km_value":27284393928163.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":741968068766617600,"description":"Unknown IO ID 45"} 
[2026-08-10 09:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301344000001,"power":13798,"unknown_177":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":741968068766617600}} 
[2026-08-10 09:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":151367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618786,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:14:02] local.INFO: GPS data processed {"connection_id":151367,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:14:02] local.INFO: Acknowledgment sent {"connection_id":151367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:14:04] local.INFO: TCP Data received {"connection_id":152663,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:14:04] local.INFO: Processing buffer {"connection_id":152663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:14:04] local.INFO: IMEI packet received {"connection_id":152663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":152663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:14:05] local.INFO: TCP Data received {"connection_id":152663,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:14:05] local.INFO: Processing buffer {"connection_id":152663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:14:05] local.INFO: Packet analysis {"connection_id":152663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:14:05] local.INFO: Extracted packet for processing {"connection_id":152663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301258752001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786333343000,"timestamp_ms":1786333343000,"timestamp_seconds":1786333343,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c3ad18"} 
[2026-08-10 09:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:14: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-08-10 09:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301258752001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301258752001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301258752001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":152663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:14:05] local.INFO: GPS data processed {"connection_id":152663,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:14:05] local.INFO: Acknowledgment sent {"connection_id":152663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:14:15] local.INFO: TCP Data received {"connection_id":152664,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:14:15] local.INFO: Processing buffer {"connection_id":152664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:14:15] local.INFO: IMEI packet received {"connection_id":152664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":152664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:14:17] local.INFO: TCP Data received {"connection_id":152664,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:14:17] local.INFO: Processing buffer {"connection_id":152664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:14:17] local.INFO: IMEI packet received {"connection_id":152664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":152664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:14:19] local.INFO: TCP Data received {"connection_id":152664,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:14:19] local.INFO: Processing buffer {"connection_id":152664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:14:19] local.INFO: IMEI packet received {"connection_id":152664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":152664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:14:22] local.INFO: TCP Data received {"connection_id":152665,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:14:22] local.INFO: Processing buffer {"connection_id":152665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:14:22] local.INFO: IMEI packet received {"connection_id":152665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":152665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:14:23] local.INFO: TCP Data received {"connection_id":152665,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:14:23] local.INFO: Processing buffer {"connection_id":152665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:14:23] local.INFO: IMEI packet received {"connection_id":152665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":152665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:14:24] local.INFO: TCP Data received {"connection_id":152665,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:14:24] local.INFO: Processing buffer {"connection_id":152665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:14:24] local.INFO: IMEI packet received {"connection_id":152665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":152665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:14:24] local.INFO: TCP Data received {"connection_id":152664,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:14:24] local.INFO: Processing buffer {"connection_id":152664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:14:24] local.INFO: IMEI packet received {"connection_id":152664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":152664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:14:25] local.INFO: TCP Data received {"connection_id":152664,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c556e0012d7a56c005eb96d80009007929..."} 
[2026-08-10 09:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c556e0012d7a56c005eb96d80009007929..."} 
[2026-08-10 09:14:25] local.INFO: Processing buffer {"connection_id":152664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c556e0012d7a56c005eb96d80009007929..."} 
[2026-08-10 09:14:25] local.INFO: Packet analysis {"connection_id":152664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:14:25] local.INFO: Extracted packet for processing {"connection_id":152664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:14:25] local.INFO: GPS Element Parsed {"raw_longitude":762992320,"raw_latitude":99325656,"longitude_deg":76.299232,"latitude_deg":9.9325656,"altitude":9,"angle":121,"satellites":41,"speed":18,"hex_longitude":"2d7a56c0","hex_latitude":"05eb96d8","is_valid_coordinates":true} 
[2026-08-10 09:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301363456001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117199585809530880,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815022239819235328,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786333452000,"timestamp_ms":1786333452000,"timestamp_seconds":1786333452,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c556e0"} 
[2026-08-10 09:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921956160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971748295014560169,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-4324801439450132288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3881304077,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3221613576,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1429532241708410327,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:25] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,163,87,24,241,157,16,96,159,51,45,192,168,9,40,10,66,128,199,12,42,99,95,1,240,117,227,233,235,4,113,205,77,29,8,35,239,2,160,5,21,54,247],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0}]} 
[2026-08-10 09:14:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648668051722665984,"timestamp_seconds":648668051722666.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301363456001,"66":12809,"163":206,"87":13824,"24":18,"16":117199585809530880,"45":8815022239819235328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 09:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301363456001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:14:25] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 09:14:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117199585809530880,"km_value":117199585809530.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815022239819235328,"description":"Unknown IO ID 45"} 
[2026-08-10 09:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301363456001,"power":12809,"unknown_163":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8815022239819235328}} 
[2026-08-10 09:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":152664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:14:25] local.INFO: GPS data processed {"connection_id":152664,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:14:25] local.INFO: Acknowledgment sent {"connection_id":152664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:14:27] local.INFO: TCP Data received {"connection_id":152665,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:14:27] local.INFO: Processing buffer {"connection_id":152665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:14:27] local.INFO: IMEI packet received {"connection_id":152665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":152665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:14:28] local.INFO: TCP Data received {"connection_id":152664,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c55ac8012d7a588005eb96400009006729..."} 
[2026-08-10 09:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c55ac8012d7a588005eb96400009006729..."} 
[2026-08-10 09:14:28] local.INFO: Processing buffer {"connection_id":152664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c55ac8012d7a588005eb96400009006729..."} 
[2026-08-10 09:14:28] local.INFO: Packet analysis {"connection_id":152664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:14:28] local.INFO: Extracted packet for processing {"connection_id":152664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:14:28] local.INFO: GPS Element Parsed {"raw_longitude":762992768,"raw_latitude":99325504,"longitude_deg":76.2992768,"latitude_deg":9.9325504,"altitude":9,"angle":103,"satellites":41,"speed":17,"hex_longitude":"2d7a5880","hex_latitude":"05eb9640","is_valid_coordinates":true} 
[2026-08-10 09:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301363712001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117199611579334656,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815444452284225536,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786333453000,"timestamp_ms":1786333453000,"timestamp_seconds":1786333453,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c55ac8"} 
[2026-08-10 09:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1513209474964259840,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921956160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8070224838645461417,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-4301711695266832960,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3881304077,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3221613543,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1438891284650484189,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,163,87,24,241,157,16,96,159,82,45,64,152,9,40,10,66,51,192,168,128,1,240,150,227,95,233,235,4,113,205,12,42,88,33,239,50,99,2,160,5,21,54,247],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0}]} 
[2026-08-10 09:14:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648651563343151104,"timestamp_seconds":648651563343151.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301363712001,"66":12472,"163":206,"87":13824,"24":17,"16":117199611579334656,"45":8815444452284225536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 09:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301363712001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:14:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 09:14:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117199611579334656,"km_value":117199611579334.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815444452284225536,"description":"Unknown IO ID 45"} 
[2026-08-10 09:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301363712001,"power":12472,"unknown_163":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8815444452284225536}} 
[2026-08-10 09:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":152664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:14:28] local.INFO: GPS data processed {"connection_id":152664,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:14:28] local.INFO: Acknowledgment sent {"connection_id":152664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:14:28] local.INFO: TCP Data received {"connection_id":152665,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c508c0012d0a28c0070584200011010122..."} 
[2026-08-10 09:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c508c0012d0a28c0070584200011010122..."} 
[2026-08-10 09:14:28] local.INFO: Processing buffer {"connection_id":152665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c508c0012d0a28c0070584200011010122..."} 
[2026-08-10 09:14:28] local.INFO: Packet analysis {"connection_id":152665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:14:28] local.INFO: Extracted packet for processing {"connection_id":152665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:14:28] local.INFO: GPS Element Parsed {"raw_longitude":755640512,"raw_latitude":117802016,"longitude_deg":75.5640512,"latitude_deg":11.7802016,"altitude":17,"angle":257,"satellites":34,"speed":25,"hex_longitude":"2d0a28c0","hex_latitude":"07058420","is_valid_coordinates":true} 
[2026-08-10 09:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301358080001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27284844899729408,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":733383081976989696,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786333432000,"timestamp_ms":1786333432000,"timestamp_seconds":1786333432,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c508c0"} 
[2026-08-10 09:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 09:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301358080001,"66":14439,"177":206,"94":10240,"24":25,"16":27284844899729408,"45":733383081976989696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301358080001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:14:28] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:14:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27284844899729408,"km_value":27284844899729.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":733383081976989696,"description":"Unknown IO ID 45"} 
[2026-08-10 09:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301358080001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":733383081976989696}} 
[2026-08-10 09:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":152665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618790,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:14:28] local.INFO: GPS data processed {"connection_id":152665,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:14:28] local.INFO: Acknowledgment sent {"connection_id":152665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:14:37] local.INFO: TCP Data received {"connection_id":152663,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:14:37] local.INFO: Processing buffer {"connection_id":152663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:14:37] local.INFO: Packet analysis {"connection_id":152663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:14:37] local.INFO: Extracted packet for processing {"connection_id":152663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301258752001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786333343000,"timestamp_ms":1786333343000,"timestamp_seconds":1786333343,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c3ad18"} 
[2026-08-10 09:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301258752001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301258752001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301258752001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":152663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:14:37] local.INFO: GPS data processed {"connection_id":152663,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:14:37] local.INFO: Acknowledgment sent {"connection_id":152663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:15:00] local.INFO: TCP Data received {"connection_id":151752,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:15:00] local.INFO: Processing buffer {"connection_id":151752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:15:00] local.INFO: IMEI packet received {"connection_id":151752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":151752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:15:00] local.INFO: TCP Data received {"connection_id":152664,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c55eb0012d7a5a4005eb96400009005529..."} 
[2026-08-10 09:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c55eb0012d7a5a4005eb96400009005529..."} 
[2026-08-10 09:15:00] local.INFO: Processing buffer {"connection_id":152664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c55eb0012d7a5a4005eb96400009005529..."} 
[2026-08-10 09:15:00] local.INFO: Packet analysis {"connection_id":152664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:15:00] local.INFO: Extracted packet for processing {"connection_id":152664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:15:00] local.INFO: GPS Element Parsed {"raw_longitude":762993216,"raw_latitude":99325504,"longitude_deg":76.2993216,"latitude_deg":9.9325504,"altitude":9,"angle":85,"satellites":41,"speed":18,"hex_longitude":"2d7a5a40","hex_latitude":"05eb9640","is_valid_coordinates":true} 
[2026-08-10 09:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301363968001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117199633054171136,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815937033493430272,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786333454000,"timestamp_ms":1786333454000,"timestamp_seconds":1786333454,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c55eb0"} 
[2026-08-10 09:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-10 09:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:15: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-08-10 09:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301363968001,"66":12472,"163":206,"87":13824,"24":18,"16":117199633054171136,"45":8815937033493430272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 09:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301363968001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:15:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 09:15:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117199633054171136,"km_value":117199633054171.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815937033493430272,"description":"Unknown IO ID 45"} 
[2026-08-10 09:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301363968001,"power":12472,"unknown_163":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8815937033493430272}} 
[2026-08-10 09:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":152664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:15:00] local.INFO: GPS data processed {"connection_id":152664,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:15:00] local.INFO: Acknowledgment sent {"connection_id":152664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:15:00] local.INFO: TCP Data received {"connection_id":152665,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c5f708012d09bec007057308000900db23..."} 
[2026-08-10 09:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c5f708012d09bec007057308000900db23..."} 
[2026-08-10 09:15:00] local.INFO: Processing buffer {"connection_id":152665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c5f708012d09bec007057308000900db23..."} 
[2026-08-10 09:15:00] local.INFO: Packet analysis {"connection_id":152665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:15:00] local.INFO: Extracted packet for processing {"connection_id":152665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:15:00] local.INFO: GPS Element Parsed {"raw_longitude":755613376,"raw_latitude":117797640,"longitude_deg":75.5613376,"latitude_deg":11.779764,"altitude":9,"angle":219,"satellites":35,"speed":14,"hex_longitude":"2d09bec0","hex_latitude":"07057308","is_valid_coordinates":true} 
[2026-08-10 09:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301373952001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27286322368479232,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702491203281887232,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786333493000,"timestamp_ms":1786333493000,"timestamp_seconds":1786333493,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c5f708"} 
[2026-08-10 09:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751538416,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3922044160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":9,"raw_value":-1819446529550188536,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":298082047581224970,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3318228993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639410753796017,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2008088782,"corrected_to":0} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2684431625,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2147943791,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":8214791634278207070,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":96,"raw_value":4033150976,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:00] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,177,94,24,241,157,16,240,159,239,45,128,116,8,35,10,66,223,117,9,34,215,64,1,60,227,233,5,4,113,205,17,180,222,72,56,2,96,7,15,40],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2008088782,"validated":0}]} 
[2026-08-10 09:15:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648784574185144320,"timestamp_seconds":648784574185144.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301373952001,"66":13580,"177":206,"94":10240,"24":14,"16":27286322368479232,"45":702491203281887232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301373952001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:15:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:15:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27286322368479232,"km_value":27286322368479.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":702491203281887232,"description":"Unknown IO ID 45"} 
[2026-08-10 09:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301373952001,"power":13580,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":702491203281887232}} 
[2026-08-10 09:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":152665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618793,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:15:00] local.INFO: GPS data processed {"connection_id":152665,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:15:00] local.INFO: Acknowledgment sent {"connection_id":152665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:15:04] local.INFO: TCP Data received {"connection_id":151752,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:15:04] local.INFO: Processing buffer {"connection_id":151752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:15:04] local.INFO: IMEI packet received {"connection_id":151752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":151752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:15:05] local.INFO: TCP Data received {"connection_id":151752,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:15:05] local.INFO: Processing buffer {"connection_id":151752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:15:05] local.INFO: Packet analysis {"connection_id":151752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:15:05] local.INFO: Extracted packet for processing {"connection_id":151752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301258752001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786333343000,"timestamp_ms":1786333343000,"timestamp_seconds":1786333343,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c3ad18"} 
[2026-08-10 09:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:15: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-08-10 09:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301258752001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301258752001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301258752001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":151752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:15:05] local.INFO: GPS data processed {"connection_id":151752,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:15:05] local.INFO: Acknowledgment sent {"connection_id":151752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:15:14] local.INFO: TCP Data received {"connection_id":151753,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:15:14] local.INFO: Processing buffer {"connection_id":151753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:15:14] local.INFO: IMEI packet received {"connection_id":151753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":151753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:15:15] local.INFO: TCP Data received {"connection_id":151753,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:15:15] local.INFO: Processing buffer {"connection_id":151753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:15:15] local.INFO: IMEI packet received {"connection_id":151753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":151753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:15:16] local.INFO: TCP Data received {"connection_id":151753,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c56680012d7a5f8005eb97c0000a004727..."} 
[2026-08-10 09:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c56680012d7a5f8005eb97c0000a004727..."} 
[2026-08-10 09:15:16] local.INFO: Processing buffer {"connection_id":151753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c56680012d7a5f8005eb97c0000a004727..."} 
[2026-08-10 09:15:16] local.INFO: Packet analysis {"connection_id":151753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:15:16] local.INFO: Extracted packet for processing {"connection_id":151753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:15:16] local.INFO: GPS Element Parsed {"raw_longitude":762994560,"raw_latitude":99325888,"longitude_deg":76.299456,"latitude_deg":9.9325888,"altitude":10,"angle":71,"satellites":39,"speed":28,"hex_longitude":"2d7a5f80","hex_latitude":"05eb97c0","is_valid_coordinates":true} 
[2026-08-10 09:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301364224001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117199697478680576,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816429614702673920,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15: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-08-10 09:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786333456000,"timestamp_ms":1786333456000,"timestamp_seconds":1786333456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c56680"} 
[2026-08-10 09:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-10 09:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301364224001,"66":13059,"163":206,"87":13824,"24":28,"16":117199697478680576,"45":8816429614702673920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 09:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301364224001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:15:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 09:15:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117199697478680576,"km_value":117199697478680.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816429614702673920,"description":"Unknown IO ID 45"} 
[2026-08-10 09:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301364224001,"power":13059,"unknown_163":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8816429614702673920}} 
[2026-08-10 09:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":151753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:15:16] local.INFO: GPS data processed {"connection_id":151753,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:15:16] local.INFO: Acknowledgment sent {"connection_id":151753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:15:24] local.INFO: TCP Data received {"connection_id":151368,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:15:24] local.INFO: Processing buffer {"connection_id":151368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:15:24] local.INFO: IMEI packet received {"connection_id":151368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":151368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:15:28] local.INFO: TCP Data received {"connection_id":151368,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:15:28] local.INFO: Processing buffer {"connection_id":151368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:15:28] local.INFO: IMEI packet received {"connection_id":151368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":151368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:15:29] local.INFO: TCP Data received {"connection_id":151368,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c63970012d09c580070564e0000a00b022..."} 
[2026-08-10 09:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c63970012d09c580070564e0000a00b022..."} 
[2026-08-10 09:15:29] local.INFO: Processing buffer {"connection_id":151368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c63970012d09c580070564e0000a00b022..."} 
[2026-08-10 09:15:29] local.INFO: Packet analysis {"connection_id":151368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c6"} 
[2026-08-10 09:15:29] local.INFO: Extracted packet for processing {"connection_id":151368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c6"} 
[2026-08-10 09:15:29] local.INFO: GPS Element Parsed {"raw_longitude":755615104,"raw_latitude":117794016,"longitude_deg":75.5615104,"latitude_deg":11.7794016,"altitude":10,"angle":176,"satellites":34,"speed":14,"hex_longitude":"2d09c580","hex_latitude":"070564e0","is_valid_coordinates":true} 
[2026-08-10 09:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301378304001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27286558591680512,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704109684397064192,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786333510000,"timestamp_ms":1786333510000,"timestamp_seconds":1786333510,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c63970"} 
[2026-08-10 09:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 09:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301378304001,"66":14396,"177":206,"94":10240,"24":14,"16":27286558591680512,"45":704109684397064192},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301378304001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:15:29] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:15:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27286558591680512,"km_value":27286558591680.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":704109684397064192,"description":"Unknown IO ID 45"} 
[2026-08-10 09:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301378304001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":704109684397064192}} 
[2026-08-10 09:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":151368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618796,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:15:29] local.INFO: GPS data processed {"connection_id":151368,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:15:29] local.INFO: Acknowledgment sent {"connection_id":151368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:15:37] local.INFO: TCP Data received {"connection_id":151752,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:15:37] local.INFO: Processing buffer {"connection_id":151752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:15:37] local.INFO: Packet analysis {"connection_id":151752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:15:37] local.INFO: Extracted packet for processing {"connection_id":151752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301258752001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786333343000,"timestamp_ms":1786333343000,"timestamp_seconds":1786333343,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c3ad18"} 
[2026-08-10 09:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301258752001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301258752001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301258752001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":151752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:15:37] local.INFO: GPS data processed {"connection_id":151752,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:15:37] local.INFO: Acknowledgment sent {"connection_id":151752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:15:47] local.INFO: TCP Data received {"connection_id":151753,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c58d90012d7a80c005eba400000a004724..."} 
[2026-08-10 09:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c58d90012d7a80c005eba400000a004724..."} 
[2026-08-10 09:15:47] local.INFO: Processing buffer {"connection_id":151753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c58d90012d7a80c005eba400000a004724..."} 
[2026-08-10 09:15:47] local.INFO: Packet analysis {"connection_id":151753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:15:47] local.INFO: Extracted packet for processing {"connection_id":151753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:15:47] local.INFO: GPS Element Parsed {"raw_longitude":763003072,"raw_latitude":99329024,"longitude_deg":76.3003072,"latitude_deg":9.9329024,"altitude":10,"angle":71,"satellites":36,"speed":41,"hex_longitude":"2d7a80c0","hex_latitude":"05eba400","is_valid_coordinates":true} 
[2026-08-10 09:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301364736001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117200131270377472,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817907358330503168,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786333466000,"timestamp_ms":1786333466000,"timestamp_seconds":1786333466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c58d90"} 
[2026-08-10 09:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 09:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161184144708,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3921998160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:47] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3310548993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:47] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2550136841,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-08-10 09:15:47] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040045,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:47] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3221613480,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3955736576,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:47] local.WARNING: Large IO value detected {"io_id":99,"raw_value":58079734643818511,"note":"Value kept but may cause issues"} 
[2026-08-10 09:15:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,163,87,24,241,157,16,96,159,94,45,64,150,9,41,10,66,90,128,86,192,1,240,227,233,235,4,113,205,19,51,74,56,40,239,2,160,5,12,15,99],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-08-10 09:15:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720654173210411008,"timestamp_seconds":720654173210411.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301364736001,"66":12993,"163":206,"87":13824,"24":41,"16":117200131270377472,"45":8817907358330503168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 09:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301364736001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:15:47] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 09:15:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117200131270377472,"km_value":117200131270377.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817907358330503168,"description":"Unknown IO ID 45"} 
[2026-08-10 09:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301364736001,"power":12993,"unknown_163":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8817907358330503168}} 
[2026-08-10 09:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":151753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:15:47] local.INFO: GPS data processed {"connection_id":151753,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:15:47] local.INFO: Acknowledgment sent {"connection_id":151753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:15:59] local.INFO: TCP Data received {"connection_id":151369,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:15:59] local.INFO: Processing buffer {"connection_id":151369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:15:59] local.INFO: IMEI packet received {"connection_id":151369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":151369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:16:00] local.INFO: TCP Data received {"connection_id":151368,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c63d58012d09c50007056328000a00bb22..."} 
[2026-08-10 09:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c63d58012d09c50007056328000a00bb22..."} 
[2026-08-10 09:16:00] local.INFO: Processing buffer {"connection_id":151368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c63d58012d09c50007056328000a00bb22..."} 
[2026-08-10 09:16:00] local.INFO: Packet analysis {"connection_id":151368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c6"} 
[2026-08-10 09:16:00] local.INFO: Extracted packet for processing {"connection_id":151368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c6"} 
[2026-08-10 09:16:00] local.INFO: GPS Element Parsed {"raw_longitude":755614976,"raw_latitude":117793576,"longitude_deg":75.5614976,"latitude_deg":11.7793576,"altitude":10,"angle":187,"satellites":34,"speed":18,"hex_longitude":"2d09c500","hex_latitude":"07056328","is_valid_coordinates":true} 
[2026-08-10 09:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301378560001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27286580066516992,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704109684396974080,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786333511000,"timestamp_ms":1786333511000,"timestamp_seconds":1786333511,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c63d58"} 
[2026-08-10 09:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301378560001,"66":14396,"177":206,"94":10240,"24":18,"16":27286580066516992,"45":704109684396974080},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301378560001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:16:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:16:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27286580066516992,"km_value":27286580066516.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":704109684396974080,"description":"Unknown IO ID 45"} 
[2026-08-10 09:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301378560001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":704109684396974080}} 
[2026-08-10 09:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":151368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618799,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:16:00] local.INFO: GPS data processed {"connection_id":151368,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:16:00] local.INFO: Acknowledgment sent {"connection_id":151368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:16:05] local.INFO: TCP Data received {"connection_id":151369,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:16:05] local.INFO: Processing buffer {"connection_id":151369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:16:05] local.INFO: IMEI packet received {"connection_id":151369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":151369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:16:07] local.INFO: TCP Data received {"connection_id":151369,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:16:07] local.INFO: Processing buffer {"connection_id":151369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:16:07] local.INFO: Packet analysis {"connection_id":151369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:16:07] local.INFO: Extracted packet for processing {"connection_id":151369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301258752001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786333343000,"timestamp_ms":1786333343000,"timestamp_seconds":1786333343,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c3ad18"} 
[2026-08-10 09:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301258752001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301258752001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:16:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301258752001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":151369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:16:07] local.INFO: GPS data processed {"connection_id":151369,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:16:07] local.INFO: Acknowledgment sent {"connection_id":151369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:16:12] local.INFO: TCP Data received {"connection_id":154117,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:16:12] local.INFO: Processing buffer {"connection_id":154117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:16:12] local.INFO: IMEI packet received {"connection_id":154117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":154117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:16:14] local.INFO: TCP Data received {"connection_id":154117,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:16:14] local.INFO: Processing buffer {"connection_id":154117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:16:14] local.INFO: IMEI packet received {"connection_id":154117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":154117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:16:19] local.INFO: TCP Data received {"connection_id":154117,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:16:19] local.INFO: Processing buffer {"connection_id":154117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:16:19] local.INFO: IMEI packet received {"connection_id":154117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":154117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:16:21] local.INFO: TCP Data received {"connection_id":154117,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c5b888012d7aa48005ebb220000b004627..."} 
[2026-08-10 09:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c5b888012d7aa48005ebb220000b004627..."} 
[2026-08-10 09:16:21] local.INFO: Processing buffer {"connection_id":154117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c5b888012d7aa48005ebb220000b004627..."} 
[2026-08-10 09:16:21] local.INFO: Packet analysis {"connection_id":154117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:16:21] local.INFO: Extracted packet for processing {"connection_id":154117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:16:21] local.INFO: GPS Element Parsed {"raw_longitude":763012224,"raw_latitude":99332640,"longitude_deg":76.3012224,"latitude_deg":9.933264,"altitude":11,"angle":70,"satellites":39,"speed":37,"hex_longitude":"2d7aa480","hex_latitude":"05ebb220","is_valid_coordinates":true} 
[2026-08-10 09:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301367296001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117200603716780032,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827266401306935296,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786333477000,"timestamp_ms":1786333477000,"timestamp_seconds":1786333477,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c5b888"} 
[2026-08-10 09:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:16: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-08-10 09:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-10 09:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:16: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-08-10 09:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301367296001,"66":13135,"161":206,"87":13824,"24":37,"16":117200603716780032,"45":8827266401306935296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-10 09:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301367296001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:16:21] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-10 09:16:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117200603716780032,"km_value":117200603716780.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827266401306935296,"description":"Unknown IO ID 45"} 
[2026-08-10 09:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301367296001,"power":13135,"unknown_161":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8827266401306935296}} 
[2026-08-10 09:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":154117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:16:21] local.INFO: GPS data processed {"connection_id":154117,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:16:21] local.INFO: Acknowledgment sent {"connection_id":154117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:16:23] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:16:23] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:16:23] local.INFO: IMEI packet received {"connection_id":151370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":151370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:16:24] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:16:24] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:16:24] local.INFO: IMEI packet received {"connection_id":151370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":151370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:16:28] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:16:28] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:16:28] local.INFO: IMEI packet received {"connection_id":151370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":151370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:16:29] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c67bd8012d09be8007054158000d00c223..."} 
[2026-08-10 09:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c67bd8012d09be8007054158000d00c223..."} 
[2026-08-10 09:16:29] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c67bd8012d09be8007054158000d00c223..."} 
[2026-08-10 09:16:29] local.INFO: Packet analysis {"connection_id":151370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c6"} 
[2026-08-10 09:16:29] local.INFO: Extracted packet for processing {"connection_id":151370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c6"} 
[2026-08-10 09:16:29] local.INFO: GPS Element Parsed {"raw_longitude":755613312,"raw_latitude":117784920,"longitude_deg":75.5613312,"latitude_deg":11.778492,"altitude":13,"angle":194,"satellites":35,"speed":24,"hex_longitude":"2d09be80","hex_latitude":"07054158","is_valid_coordinates":true} 
[2026-08-10 09:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301378816001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27287009563246592,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703968946908506112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786333527000,"timestamp_ms":1786333527000,"timestamp_seconds":1786333527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c67bd8"} 
[2026-08-10 09:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301378816001,"66":14352,"177":206,"94":10240,"24":24,"16":27287009563246592,"45":703968946908506112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301378816001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:16:29] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:16:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27287009563246592,"km_value":27287009563246.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":703968946908506112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301378816001,"power":14352,"unknown_177":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":703968946908506112}} 
[2026-08-10 09:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":151370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618802,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:16:29] local.INFO: GPS data processed {"connection_id":151370,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:16:29] local.INFO: Acknowledgment sent {"connection_id":151370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:16:38] local.INFO: TCP Data received {"connection_id":151369,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:16:38] local.INFO: Processing buffer {"connection_id":151369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:16:38] local.INFO: Packet analysis {"connection_id":151369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:16:38] local.INFO: Extracted packet for processing {"connection_id":151369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301258752001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786333343000,"timestamp_ms":1786333343000,"timestamp_seconds":1786333343,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c3ad18"} 
[2026-08-10 09:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301258752001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301258752001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301258752001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":151369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:16:38] local.INFO: GPS data processed {"connection_id":151369,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:16:38] local.INFO: Acknowledgment sent {"connection_id":151369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:16:53] local.INFO: TCP Data received {"connection_id":154117,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c5df98012d7ac64005ebbf68000c00402a..."} 
[2026-08-10 09:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c5df98012d7ac64005ebbf68000c00402a..."} 
[2026-08-10 09:16:53] local.INFO: Processing buffer {"connection_id":154117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c5df98012d7ac64005ebbf68000c00402a..."} 
[2026-08-10 09:16:53] local.INFO: Packet analysis {"connection_id":154117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:16:53] local.INFO: Extracted packet for processing {"connection_id":154117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c5"} 
[2026-08-10 09:16:53] local.INFO: GPS Element Parsed {"raw_longitude":763020864,"raw_latitude":99336040,"longitude_deg":76.3020864,"latitude_deg":9.933604,"altitude":12,"angle":64,"satellites":42,"speed":31,"hex_longitude":"2d7ac640","hex_latitude":"05ebbf68","is_valid_coordinates":true} 
[2026-08-10 09:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301370112001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117201046098411520,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837329131725266944,"note":"Value kept but may cause issues"} 
[2026-08-10 09:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786333487000,"timestamp_ms":1786333487000,"timestamp_seconds":1786333487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c5df98"} 
[2026-08-10 09:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-10 09:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301370112001,"66":13363,"161":206,"87":13824,"24":31,"16":117201046098411520,"45":8837329131725266944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-10 09:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301370112001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:16:53] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-10 09:16:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117201046098411520,"km_value":117201046098411.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837329131725266944,"description":"Unknown IO ID 45"} 
[2026-08-10 09:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301370112001,"power":13363,"unknown_161":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8837329131725266944}} 
[2026-08-10 09:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":154117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:16:53] local.INFO: GPS data processed {"connection_id":154117,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:16:53] local.INFO: Acknowledgment sent {"connection_id":154117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:16:59] local.INFO: TCP Data received {"connection_id":151754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:16:59] local.INFO: Processing buffer {"connection_id":151754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:16:59] local.INFO: IMEI packet received {"connection_id":151754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":151754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:17:00] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c7cfb0012d09c8c00704fe980013008421..."} 
[2026-08-10 09:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c7cfb0012d09c8c00704fe980013008421..."} 
[2026-08-10 09:17:00] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c7cfb0012d09c8c00704fe980013008421..."} 
[2026-08-10 09:17:00] local.INFO: Packet analysis {"connection_id":151370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c7"} 
[2026-08-10 09:17:00] local.INFO: Extracted packet for processing {"connection_id":151370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c7"} 
[2026-08-10 09:17:00] local.INFO: GPS Element Parsed {"raw_longitude":755615936,"raw_latitude":117767832,"longitude_deg":75.5615936,"latitude_deg":11.7767832,"altitude":19,"angle":132,"satellites":33,"speed":12,"hex_longitude":"2d09c8c0","hex_latitude":"0704fe98","is_valid_coordinates":true} 
[2026-08-10 09:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301403904001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27287988815790080,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704180053134780416,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786333614000,"timestamp_ms":1786333614000,"timestamp_seconds":1786333614,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c7cfb0"} 
[2026-08-10 09:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301403904001,"66":14450,"177":206,"94":10240,"24":12,"16":27287988815790080,"45":704180053134780416},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301403904001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:17:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:17:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27287988815790080,"km_value":27287988815790.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":704180053134780416,"description":"Unknown IO ID 45"} 
[2026-08-10 09:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301403904001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":704180053134780416}} 
[2026-08-10 09:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":151370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618805,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:17:00] local.INFO: GPS data processed {"connection_id":151370,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:17:00] local.INFO: Acknowledgment sent {"connection_id":151370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:17:05] local.INFO: TCP Data received {"connection_id":151754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:17:05] local.INFO: Processing buffer {"connection_id":151754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:17:05] local.INFO: IMEI packet received {"connection_id":151754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":151754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:17:15] local.INFO: TCP Data received {"connection_id":151754,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:17:15] local.INFO: Processing buffer {"connection_id":151754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c3ad18012d34c20006aa3f08000900f328..."} 
[2026-08-10 09:17:15] local.INFO: Packet analysis {"connection_id":151754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:17:15] local.INFO: Extracted packet for processing {"connection_id":151754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c3"} 
[2026-08-10 09:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301258752001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786333343000,"timestamp_ms":1786333343000,"timestamp_seconds":1786333343,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c3ad18"} 
[2026-08-10 09:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301258752001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301258752001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301258752001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":151754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:17:15] local.INFO: GPS data processed {"connection_id":151754,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:17:15] local.INFO: Acknowledgment sent {"connection_id":151754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:17:15] local.INFO: TCP Data received {"connection_id":154118,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:17:15] local.INFO: Processing buffer {"connection_id":154118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:17:15] local.INFO: IMEI packet received {"connection_id":154118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":154118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:17:19] local.INFO: TCP Data received {"connection_id":154118,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:17:19] local.INFO: Processing buffer {"connection_id":154118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:17:19] local.INFO: IMEI packet received {"connection_id":154118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":154118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:17:21] local.INFO: TCP Data received {"connection_id":154118,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c7b070012d7c474005ec36d0000f00592a..."} 
[2026-08-10 09:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c7b070012d7c474005ec36d0000f00592a..."} 
[2026-08-10 09:17:21] local.INFO: Processing buffer {"connection_id":154118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c7b070012d7c474005ec36d0000f00592a..."} 
[2026-08-10 09:17:21] local.INFO: Packet analysis {"connection_id":154118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c7"} 
[2026-08-10 09:17:21] local.INFO: Extracted packet for processing {"connection_id":154118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c7"} 
[2026-08-10 09:17:21] local.INFO: GPS Element Parsed {"raw_longitude":763119424,"raw_latitude":99366608,"longitude_deg":76.3119424,"latitude_deg":9.9366608,"altitude":15,"angle":89,"satellites":42,"speed":35,"hex_longitude":"2d7c4740","hex_latitude":"05ec36d0","is_valid_coordinates":true} 
[2026-08-10 09:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301400576001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117206041145376768,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944641466604828672,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786333606000,"timestamp_ms":1786333606000,"timestamp_seconds":1786333606,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c7b070"} 
[2026-08-10 09:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:17: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-08-10 09:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-10 09:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:17: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-08-10 09:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301400576001,"66":13059,"198":206,"87":13824,"24":35,"16":117206041145376768,"45":8944641466604828672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-10 09:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301400576001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:17:21] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 09:17:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117206041145376768,"km_value":117206041145376.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944641466604828672,"description":"Unknown IO ID 45"} 
[2026-08-10 09:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301400576001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8944641466604828672}} 
[2026-08-10 09:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":154118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:17:21] local.INFO: GPS data processed {"connection_id":154118,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:17:21] local.INFO: Acknowledgment sent {"connection_id":154118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:17:24] local.INFO: TCP Data received {"connection_id":152666,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:17:24] local.INFO: Processing buffer {"connection_id":152666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:17:24] local.INFO: IMEI packet received {"connection_id":152666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":152666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:17:29] local.INFO: TCP Data received {"connection_id":152666,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:17:29] local.INFO: Processing buffer {"connection_id":152666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:17:29] local.INFO: IMEI packet received {"connection_id":152666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":152666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:17:29] local.INFO: TCP Data received {"connection_id":152666,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:17:29] local.INFO: Processing buffer {"connection_id":152666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:17:29] local.INFO: IMEI packet received {"connection_id":152666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":152666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:17:30] local.INFO: TCP Data received {"connection_id":152666,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c7d780012d09ca000704fd780013009521..."} 
[2026-08-10 09:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c7d780012d09ca000704fd780013009521..."} 
[2026-08-10 09:17:30] local.INFO: Processing buffer {"connection_id":152666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c7d780012d09ca000704fd780013009521..."} 
[2026-08-10 09:17:30] local.INFO: Packet analysis {"connection_id":152666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c7"} 
[2026-08-10 09:17:30] local.INFO: Extracted packet for processing {"connection_id":152666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c7"} 
[2026-08-10 09:17:30] local.INFO: GPS Element Parsed {"raw_longitude":755616256,"raw_latitude":117767544,"longitude_deg":75.5616256,"latitude_deg":11.7767544,"altitude":19,"angle":149,"satellites":33,"speed":7,"hex_longitude":"2d09ca00","hex_latitude":"0704fd78","is_valid_coordinates":true} 
[2026-08-10 09:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301405184001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27288010290626560,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705024478064580608,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786333616000,"timestamp_ms":1786333616000,"timestamp_seconds":1786333616,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c7d780"} 
[2026-08-10 09:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 09:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301405184001,"66":14450,"177":206,"94":10240,"24":7,"16":27288010290626560,"45":705024478064580608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301405184001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:17:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:17:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27288010290626560,"km_value":27288010290626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":705024478064580608,"description":"Unknown IO ID 45"} 
[2026-08-10 09:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301405184001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":705024478064580608}} 
[2026-08-10 09:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":152666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618808,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:17:30] local.INFO: GPS data processed {"connection_id":152666,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:17:30] local.INFO: Acknowledgment sent {"connection_id":152666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:17:34] local.INFO: TCP Data received {"connection_id":152666,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c7db68012d09ca000704fcd8001400b521..."} 
[2026-08-10 09:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c7db68012d09ca000704fcd8001400b521..."} 
[2026-08-10 09:17:34] local.INFO: Processing buffer {"connection_id":152666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c7db68012d09ca000704fcd8001400b521..."} 
[2026-08-10 09:17:34] local.INFO: Packet analysis {"connection_id":152666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c7"} 
[2026-08-10 09:17:34] local.INFO: Extracted packet for processing {"connection_id":152666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c7"} 
[2026-08-10 09:17:34] local.INFO: GPS Element Parsed {"raw_longitude":755616256,"raw_latitude":117767384,"longitude_deg":75.5616256,"latitude_deg":11.7767384,"altitude":20,"angle":181,"satellites":33,"speed":6,"hex_longitude":"2d09ca00","hex_latitude":"0704fcd8","is_valid_coordinates":true} 
[2026-08-10 09:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301405696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27288018880561152,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705376321785395200,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786333617000,"timestamp_ms":1786333617000,"timestamp_seconds":1786333617,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c7db68"} 
[2026-08-10 09:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 09:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301405696001,"66":14374,"177":206,"94":10240,"24":6,"16":27288018880561152,"45":705376321785395200},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301405696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:17:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:17:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27288018880561152,"km_value":27288018880561.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":705376321785395200,"description":"Unknown IO ID 45"} 
[2026-08-10 09:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301405696001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":705376321785395200}} 
[2026-08-10 09:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":152666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618809,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:17:35] local.INFO: GPS data processed {"connection_id":152666,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:17:35] local.INFO: Acknowledgment sent {"connection_id":152666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:17:52] local.INFO: TCP Data received {"connection_id":154118,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c7d780012d7c6c0005ec37a8000d00582a..."} 
[2026-08-10 09:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c7d780012d7c6c0005ec37a8000d00582a..."} 
[2026-08-10 09:17:52] local.INFO: Processing buffer {"connection_id":154118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c7d780012d7c6c0005ec37a8000d00582a..."} 
[2026-08-10 09:17:52] local.INFO: Packet analysis {"connection_id":154118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c7"} 
[2026-08-10 09:17:52] local.INFO: Extracted packet for processing {"connection_id":154118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c7"} 
[2026-08-10 09:17:52] local.INFO: GPS Element Parsed {"raw_longitude":763128832,"raw_latitude":99366824,"longitude_deg":76.3128832,"latitude_deg":9.9366824,"altitude":13,"angle":88,"satellites":42,"speed":35,"hex_longitude":"2d7c6c00","hex_latitude":"05ec37a8","is_valid_coordinates":true} 
[2026-08-10 09:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301403136001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117206487821975552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955196778231549952,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786333616000,"timestamp_ms":1786333616000,"timestamp_seconds":1786333616,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c7d780"} 
[2026-08-10 09:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 09:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937412,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3922114160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:52] local.WARNING: Large IO value detected {"io_id":98,"raw_value":58079734643818536,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:52] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422276,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:52] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3338196993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-08-10 09:17:52] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:52] local.WARNING: Large IO value detected {"io_id":142,"raw_value":2147871768,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960305664,"note":"Value kept but may cause issues"} 
[2026-08-10 09:17:52] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,198,87,24,241,157,16,102,159,137,45,192,53,15,42,10,66,101,98,51,43,39,64,1,240,7,227,233,236,4,113,205,40,213,142,239,2,160,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147273422,"validated":0}]} 
[2026-08-10 09:17:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080961947494711296,"timestamp_seconds":1080961947494711.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301403136001,"66":12906,"198":206,"87":13824,"24":35,"16":117206487821975552,"45":8955196778231549952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-10 09:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301403136001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:17:52] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 09:17:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117206487821975552,"km_value":117206487821975.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955196778231549952,"description":"Unknown IO ID 45"} 
[2026-08-10 09:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301403136001,"power":12906,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8955196778231549952}} 
[2026-08-10 09:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":154118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:17:52] local.INFO: GPS data processed {"connection_id":154118,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:17:52] local.INFO: Acknowledgment sent {"connection_id":154118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:17:59] local.INFO: TCP Data received {"connection_id":151371,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:17:59] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:17:59] local.INFO: IMEI packet received {"connection_id":151371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":151371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:18:02] local.INFO: TCP Data received {"connection_id":151371,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:18:02] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:18:02] local.INFO: IMEI packet received {"connection_id":151371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":151371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:18:04] local.INFO: TCP Data received {"connection_id":151371,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:18:04] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:18:04] local.INFO: IMEI packet received {"connection_id":151371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":151371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:18:05] local.INFO: TCP Data received {"connection_id":151371,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:18:05] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:18:05] local.INFO: Packet analysis {"connection_id":151371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:18:05] local.INFO: Extracted packet for processing {"connection_id":151371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301335808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786333644000,"timestamp_ms":1786333644000,"timestamp_seconds":1786333644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c844e0"} 
[2026-08-10 09:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:18: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-08-10 09: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-08-10 09:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301335808001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301335808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301335808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":151371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:18:05] local.INFO: GPS data processed {"connection_id":151371,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:18:05] local.INFO: Acknowledgment sent {"connection_id":151371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:18:06] local.INFO: TCP Data received {"connection_id":152666,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c7fe90012d09cc400704ee68001500a81f..."} 
[2026-08-10 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c7fe90012d09cc400704ee68001500a81f..."} 
[2026-08-10 09:18:06] local.INFO: Processing buffer {"connection_id":152666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c7fe90012d09cc400704ee68001500a81f..."} 
[2026-08-10 09:18:06] local.INFO: Packet analysis {"connection_id":152666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c7"} 
[2026-08-10 09:18:06] local.INFO: Extracted packet for processing {"connection_id":152666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c7"} 
[2026-08-10 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":755616832,"raw_latitude":117763688,"longitude_deg":75.5616832,"latitude_deg":11.7763688,"altitude":21,"angle":168,"satellites":31,"speed":14,"hex_longitude":"2d09cc40","hex_latitude":"0704ee68","is_valid_coordinates":true} 
[2026-08-10 09:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301405952001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27288199269187584,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705376321785354240,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786333626000,"timestamp_ms":1786333626000,"timestamp_seconds":1786333626,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c7fe90"} 
[2026-08-10 09:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 09:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301405952001,"66":14439,"177":206,"94":10240,"24":14,"16":27288199269187584,"45":705376321785354240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301405952001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:18:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:18:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27288199269187584,"km_value":27288199269187.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":705376321785354240,"description":"Unknown IO ID 45"} 
[2026-08-10 09:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301405952001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":705376321785354240}} 
[2026-08-10 09:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":152666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618812,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:18:06] local.INFO: GPS data processed {"connection_id":152666,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:18:06] local.INFO: Acknowledgment sent {"connection_id":152666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:18:14] local.INFO: TCP Data received {"connection_id":151372,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:18:14] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:18:14] local.INFO: IMEI packet received {"connection_id":151372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":151372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:18:15] local.INFO: TCP Data received {"connection_id":151372,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:18:15] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:18:15] local.INFO: IMEI packet received {"connection_id":151372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":151372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:18:16] local.INFO: TCP Data received {"connection_id":151372,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:18:16] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:18:16] local.INFO: IMEI packet received {"connection_id":151372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":151372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:18:20] local.INFO: TCP Data received {"connection_id":151372,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:18:20] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:18:20] local.INFO: IMEI packet received {"connection_id":151372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":151372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:18:21] local.INFO: TCP Data received {"connection_id":151372,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c80278012d7c8f0005ec38b8000c00582a..."} 
[2026-08-10 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c80278012d7c8f0005ec38b8000c00582a..."} 
[2026-08-10 09:18:21] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c80278012d7c8f0005ec38b8000c00582a..."} 
[2026-08-10 09:18:21] local.INFO: Packet analysis {"connection_id":151372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:18:21] local.INFO: Extracted packet for processing {"connection_id":151372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:18:21] local.INFO: GPS Element Parsed {"raw_longitude":763137792,"raw_latitude":99367096,"longitude_deg":76.3137792,"latitude_deg":9.9367096,"altitude":12,"angle":88,"satellites":42,"speed":32,"hex_longitude":"2d7c8f00","hex_latitude":"05ec38b8","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301405696001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117206921613672448,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965540983625721856,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786333627000,"timestamp_ms":1786333627000,"timestamp_seconds":1786333627,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c80278"} 
[2026-08-10 09:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:18: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-08-10 09: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":106,"data_length":795,"current_offset":136} 
[2026-08-10 09:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:18: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-08-10 09:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301405696001,"66":13243,"198":206,"87":13824,"24":32,"16":117206921613672448,"45":8965540983625721856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-10 09:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301405696001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:18:21] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 09:18:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117206921613672448,"km_value":117206921613672.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965540983625721856,"description":"Unknown IO ID 45"} 
[2026-08-10 09:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301405696001,"power":13243,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8965540983625721856}} 
[2026-08-10 09:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":151372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:18:21] local.INFO: GPS data processed {"connection_id":151372,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:18:21] local.INFO: Acknowledgment sent {"connection_id":151372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:18:29] local.INFO: TCP Data received {"connection_id":154119,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154119,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:18:29] local.INFO: Processing buffer {"connection_id":154119,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:18:29] local.INFO: IMEI packet received {"connection_id":154119,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":154119,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:18:32] local.INFO: TCP Data received {"connection_id":154119,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154119,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:18:32] local.INFO: Processing buffer {"connection_id":154119,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:18:32] local.INFO: IMEI packet received {"connection_id":154119,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":154119,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:18:33] local.INFO: TCP Data received {"connection_id":154119,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c8f0c0012d09ee800704d3f8001b00221d..."} 
[2026-08-10 09:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c8f0c0012d09ee800704d3f8001b00221d..."} 
[2026-08-10 09:18:33] local.INFO: Processing buffer {"connection_id":154119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c8f0c0012d09ee800704d3f8001b00221d..."} 
[2026-08-10 09:18:33] local.INFO: Packet analysis {"connection_id":154119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:18:33] local.INFO: Extracted packet for processing {"connection_id":154119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:18:33] local.INFO: GPS Element Parsed {"raw_longitude":755625600,"raw_latitude":117756920,"longitude_deg":75.56256,"latitude_deg":11.775692,"altitude":27,"angle":34,"satellites":29,"speed":17,"hex_longitude":"2d09ee80","hex_latitude":"0704d3f8","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301423872001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27289028197875712,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":715439052199995392,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786333688000,"timestamp_ms":1786333688000,"timestamp_seconds":1786333688,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c8f0c0"} 
[2026-08-10 09:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 09:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":154119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":154119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":154119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301423872001,"66":13493,"177":206,"94":10240,"24":17,"16":27289028197875712,"45":715439052199995392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301423872001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:18:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:18:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27289028197875712,"km_value":27289028197875.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":715439052199995392,"description":"Unknown IO ID 45"} 
[2026-08-10 09:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301423872001,"power":13493,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":715439052199995392}} 
[2026-08-10 09:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":154119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618814,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:18:33] local.INFO: GPS data processed {"connection_id":154119,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:18:33] local.INFO: Acknowledgment sent {"connection_id":154119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:18:34] local.INFO: TCP Data received {"connection_id":154119,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c8f890012d09ef400704d840001a000f1f..."} 
[2026-08-10 09:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c8f890012d09ef400704d840001a000f1f..."} 
[2026-08-10 09:18:34] local.INFO: Processing buffer {"connection_id":154119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c8f890012d09ef400704d840001a000f1f..."} 
[2026-08-10 09:18:34] local.INFO: Packet analysis {"connection_id":154119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:18:34] local.INFO: Extracted packet for processing {"connection_id":154119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:18:34] local.INFO: GPS Element Parsed {"raw_longitude":755625792,"raw_latitude":117758016,"longitude_deg":75.5625792,"latitude_deg":11.7758016,"altitude":26,"angle":15,"satellites":31,"speed":24,"hex_longitude":"2d09ef40","hex_latitude":"0704d840","is_valid_coordinates":true} 
[2026-08-10 09:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301424128001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27289084032450560,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":715650158432614400,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786333690000,"timestamp_ms":1786333690000,"timestamp_seconds":1786333690,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c8f890"} 
[2026-08-10 09:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 09:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":154119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":154119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":154119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301424128001,"66":14374,"177":206,"94":10240,"24":24,"16":27289084032450560,"45":715650158432614400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301424128001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:18:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:18:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27289084032450560,"km_value":27289084032450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":715650158432614400,"description":"Unknown IO ID 45"} 
[2026-08-10 09:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301424128001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":715650158432614400}} 
[2026-08-10 09:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":154119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618815,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:18:35] local.INFO: GPS data processed {"connection_id":154119,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:18:35] local.INFO: Acknowledgment sent {"connection_id":154119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:18:37] local.INFO: TCP Data received {"connection_id":151371,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:18:37] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:18:37] local.INFO: Packet analysis {"connection_id":151371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:18:37] local.INFO: Extracted packet for processing {"connection_id":151371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301335808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786333644000,"timestamp_ms":1786333644000,"timestamp_seconds":1786333644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c844e0"} 
[2026-08-10 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-08-10 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301335808001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301335808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301335808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":151371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:18:37] local.INFO: GPS data processed {"connection_id":151371,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:18:37] local.INFO: Acknowledgment sent {"connection_id":151371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:18:53] local.INFO: TCP Data received {"connection_id":151372,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c83158012d7cb24005ec39c8000b00582a..."} 
[2026-08-10 09:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c83158012d7cb24005ec39c8000b00582a..."} 
[2026-08-10 09:18:53] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c83158012d7cb24005ec39c8000b00582a..."} 
[2026-08-10 09:18:53] local.INFO: Packet analysis {"connection_id":151372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:18:53] local.INFO: Extracted packet for processing {"connection_id":151372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:18:53] local.INFO: GPS Element Parsed {"raw_longitude":763146816,"raw_latitude":99367368,"longitude_deg":76.3146816,"latitude_deg":9.9367368,"altitude":11,"angle":88,"satellites":42,"speed":20,"hex_longitude":"2d7cb240","hex_latitude":"05ec39c8","is_valid_coordinates":true} 
[2026-08-10 09:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301408512001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117207351110402048,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975392607810664448,"note":"Value kept but may cause issues"} 
[2026-08-10 09:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786333639000,"timestamp_ms":1786333639000,"timestamp_seconds":1786333639,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c83158"} 
[2026-08-10 09:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301408512001,"66":13189,"198":206,"87":13824,"24":20,"16":117207351110402048,"45":8975392607810664448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-10 09:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301408512001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:18:53] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 09:18:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117207351110402048,"km_value":117207351110402.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975392607810664448,"description":"Unknown IO ID 45"} 
[2026-08-10 09:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301408512001,"power":13189,"unknown_198":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8975392607810664448}} 
[2026-08-10 09:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":151372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:18:53] local.INFO: GPS data processed {"connection_id":151372,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:18:53] local.INFO: Acknowledgment sent {"connection_id":151372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:19:00] local.INFO: TCP Data received {"connection_id":154120,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:19:00] local.INFO: Processing buffer {"connection_id":154120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:19:00] local.INFO: IMEI packet received {"connection_id":154120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":154120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:19:08] local.INFO: TCP Data received {"connection_id":154120,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:19:08] local.INFO: Processing buffer {"connection_id":154120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:19:08] local.INFO: IMEI packet received {"connection_id":154120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":154120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:19:10] local.INFO: TCP Data received {"connection_id":154120,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:19:10] local.INFO: Processing buffer {"connection_id":154120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:19:10] local.INFO: Packet analysis {"connection_id":154120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:19:10] local.INFO: Extracted packet for processing {"connection_id":154120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301335808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786333644000,"timestamp_ms":1786333644000,"timestamp_seconds":1786333644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c844e0"} 
[2026-08-10 09:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:19: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-08-10 09:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301335808001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301335808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301335808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":154120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:19:10] local.INFO: GPS data processed {"connection_id":154120,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:19:10] local.INFO: Acknowledgment sent {"connection_id":154120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:19:14] local.INFO: TCP Data received {"connection_id":151755,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:19:14] local.INFO: Processing buffer {"connection_id":151755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:19:14] local.INFO: IMEI packet received {"connection_id":151755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":151755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:19:19] local.INFO: TCP Data received {"connection_id":151755,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:19:19] local.INFO: Processing buffer {"connection_id":151755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:19:19] local.INFO: IMEI packet received {"connection_id":151755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":151755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:19:20] local.INFO: TCP Data received {"connection_id":151755,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c86fd8012d7cd70005ec3ad0000a00572a..."} 
[2026-08-10 09:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c86fd8012d7cd70005ec3ad0000a00572a..."} 
[2026-08-10 09:19:20] local.INFO: Processing buffer {"connection_id":151755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c86fd8012d7cd70005ec3ad0000a00572a..."} 
[2026-08-10 09:19:20] local.INFO: Packet analysis {"connection_id":151755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:19:20] local.INFO: Extracted packet for processing {"connection_id":151755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:19:20] local.INFO: GPS Element Parsed {"raw_longitude":763156224,"raw_latitude":99367632,"longitude_deg":76.3156224,"latitude_deg":9.9367632,"altitude":10,"angle":87,"satellites":42,"speed":32,"hex_longitude":"2d7cd700","hex_latitude":"05ec3ad0","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301411584001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117207797787000832,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985314600739784704,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786333655000,"timestamp_ms":1786333655000,"timestamp_seconds":1786333655,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c86fd8"} 
[2026-08-10 09:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 09:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301411584001,"66":13319,"198":206,"87":13824,"24":32,"16":117207797787000832,"45":8985314600739784704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-10 09:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301411584001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:19:20] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 09:19:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117207797787000832,"km_value":117207797787000.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985314600739784704,"description":"Unknown IO ID 45"} 
[2026-08-10 09:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301411584001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8985314600739784704}} 
[2026-08-10 09:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":151755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:19:20] local.INFO: GPS data processed {"connection_id":151755,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:19:20] local.INFO: Acknowledgment sent {"connection_id":151755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:19:21] local.INFO: TCP Data received {"connection_id":152667,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:19:21] local.INFO: Processing buffer {"connection_id":152667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:19:21] local.INFO: IMEI packet received {"connection_id":152667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":152667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:19:24] local.INFO: TCP Data received {"connection_id":152667,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:19:24] local.INFO: Processing buffer {"connection_id":152667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:19:24] local.INFO: IMEI packet received {"connection_id":152667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":152667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:19:30] local.INFO: TCP Data received {"connection_id":152667,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:19:30] local.INFO: Processing buffer {"connection_id":152667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:19:30] local.INFO: IMEI packet received {"connection_id":152667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":152667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:19:32] local.INFO: TCP Data received {"connection_id":152667,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c9cb80012d0a82c00704e350001d009c1f..."} 
[2026-08-10 09:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c9cb80012d0a82c00704e350001d009c1f..."} 
[2026-08-10 09:19:32] local.INFO: Processing buffer {"connection_id":152667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c9cb80012d0a82c00704e350001d009c1f..."} 
[2026-08-10 09:19:32] local.INFO: Packet analysis {"connection_id":152667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c9"} 
[2026-08-10 09:19:32] local.INFO: Extracted packet for processing {"connection_id":152667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c9"} 
[2026-08-10 09:19:32] local.INFO: GPS Element Parsed {"raw_longitude":755663552,"raw_latitude":117760848,"longitude_deg":75.5663552,"latitude_deg":11.7760848,"altitude":29,"angle":156,"satellites":31,"speed":13,"hex_longitude":"2d0a82c0","hex_latitude":"0704e350","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301438208001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27290973818060800,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757097348754335744,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786333744000,"timestamp_ms":1786333744000,"timestamp_seconds":1786333744,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c9cb80"} 
[2026-08-10 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-08-10 09:19: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-08-10 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301438208001,"66":14396,"177":206,"94":10240,"24":13,"16":27290973818060800,"45":757097348754335744},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301438208001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:19:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:19:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27290973818060800,"km_value":27290973818060.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":757097348754335744,"description":"Unknown IO ID 45"} 
[2026-08-10 09:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301438208001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":757097348754335744}} 
[2026-08-10 09:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":152667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618820,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:19:32] local.INFO: GPS data processed {"connection_id":152667,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:19:32] local.INFO: Acknowledgment sent {"connection_id":152667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:19:42] local.INFO: TCP Data received {"connection_id":154120,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:19:42] local.INFO: Processing buffer {"connection_id":154120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:19:42] local.INFO: Packet analysis {"connection_id":154120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:19:42] local.INFO: Extracted packet for processing {"connection_id":154120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301335808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786333644000,"timestamp_ms":1786333644000,"timestamp_seconds":1786333644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c844e0"} 
[2026-08-10 09:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":154120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":154120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":154120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301335808001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301335808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301335808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":154120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:19:42] local.INFO: GPS data processed {"connection_id":154120,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:19:42] local.INFO: Acknowledgment sent {"connection_id":154120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:19:52] local.INFO: TCP Data received {"connection_id":151755,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ca3110012d7d38c005ec39e0000900dd24..."} 
[2026-08-10 09:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ca3110012d7d38c005ec39e0000900dd24..."} 
[2026-08-10 09:19:52] local.INFO: Processing buffer {"connection_id":151755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ca3110012d7d38c005ec39e0000900dd24..."} 
[2026-08-10 09:19:52] local.INFO: Packet analysis {"connection_id":151755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ca"} 
[2026-08-10 09:19:52] local.INFO: Extracted packet for processing {"connection_id":151755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ca"} 
[2026-08-10 09:19:52] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99367392,"longitude_deg":76.3181248,"latitude_deg":9.9367392,"altitude":9,"angle":221,"satellites":36,"speed":6,"hex_longitude":"2d7d38c0","hex_latitude":"05ec39e0","is_valid_coordinates":true} 
[2026-08-10 09:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301444608001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209064802353152,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722595792896,"note":"Value kept but may cause issues"} 
[2026-08-10 09:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786333770000,"timestamp_ms":1786333770000,"timestamp_seconds":1786333770,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ca3110"} 
[2026-08-10 09:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 09:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301444608001,"66":13276,"110":206,"87":13824,"24":6,"16":117209064802353152,"45":9023313722595792896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301444608001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:19:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:19:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209064802353152,"km_value":117209064802353.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722595792896,"description":"Unknown IO ID 45"} 
[2026-08-10 09:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301444608001,"power":13276,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9023313722595792896}} 
[2026-08-10 09:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":151755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:19:52] local.INFO: GPS data processed {"connection_id":151755,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:19:52] local.INFO: Acknowledgment sent {"connection_id":151755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:19:59] local.INFO: TCP Data received {"connection_id":154121,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:19:59] local.INFO: Processing buffer {"connection_id":154121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:19:59] local.INFO: IMEI packet received {"connection_id":154121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":154121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:20:04] local.INFO: TCP Data received {"connection_id":152667,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ca9e70012d0a5a8007046fc0001500e320..."} 
[2026-08-10 09:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ca9e70012d0a5a8007046fc0001500e320..."} 
[2026-08-10 09:20:04] local.INFO: Processing buffer {"connection_id":152667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ca9e70012d0a5a8007046fc0001500e320..."} 
[2026-08-10 09:20:04] local.INFO: Packet analysis {"connection_id":152667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ca"} 
[2026-08-10 09:20:04] local.INFO: Extracted packet for processing {"connection_id":152667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ca"} 
[2026-08-10 09:20:04] local.INFO: GPS Element Parsed {"raw_longitude":755653248,"raw_latitude":117731264,"longitude_deg":75.5653248,"latitude_deg":11.7731264,"altitude":21,"angle":227,"satellites":32,"speed":13,"hex_longitude":"2d0a5a80","hex_latitude":"07046fc0","is_valid_coordinates":true} 
[2026-08-10 09:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301452032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27292833538899968,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746260562143387648,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786333798000,"timestamp_ms":1786333798000,"timestamp_seconds":1786333798,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ca9e70"} 
[2026-08-10 09:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-10 09:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301452032001,"66":14494,"177":206,"94":10240,"24":13,"16":27292833538899968,"45":746260562143387648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301452032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:20:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:20:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27292833538899968,"km_value":27292833538899.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":746260562143387648,"description":"Unknown IO ID 45"} 
[2026-08-10 09:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301452032001,"power":14494,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":746260562143387648}} 
[2026-08-10 09:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":152667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618823,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:20:04] local.INFO: GPS data processed {"connection_id":152667,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:20:04] local.INFO: Acknowledgment sent {"connection_id":152667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:20:04] local.INFO: TCP Data received {"connection_id":154121,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:20:04] local.INFO: Processing buffer {"connection_id":154121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:20:04] local.INFO: IMEI packet received {"connection_id":154121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":154121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:20:05] local.INFO: TCP Data received {"connection_id":154121,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:20:05] local.INFO: Processing buffer {"connection_id":154121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:20:05] local.INFO: Packet analysis {"connection_id":154121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:20:05] local.INFO: Extracted packet for processing {"connection_id":154121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301335808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786333644000,"timestamp_ms":1786333644000,"timestamp_seconds":1786333644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c844e0"} 
[2026-08-10 09:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:20: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-08-10 09:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301335808001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301335808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301335808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":154121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:20:05] local.INFO: GPS data processed {"connection_id":154121,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:20:05] local.INFO: Acknowledgment sent {"connection_id":154121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:20:13] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:20:13] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:20:13] local.INFO: IMEI packet received {"connection_id":151373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":151373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:20:14] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:20:14] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:20:14] local.INFO: IMEI packet received {"connection_id":151373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":151373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:20:20] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:20:20] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:20:20] local.INFO: IMEI packet received {"connection_id":151373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":151373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:20:21] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ca4c68012d7d360005ec3618000900cb28..."} 
[2026-08-10 09:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ca4c68012d7d360005ec3618000900cb28..."} 
[2026-08-10 09:20:21] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ca4c68012d7d360005ec3618000900cb28..."} 
[2026-08-10 09:20:21] local.INFO: Packet analysis {"connection_id":151373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ca"} 
[2026-08-10 09:20:21] local.INFO: Extracted packet for processing {"connection_id":151373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ca"} 
[2026-08-10 09:20:21] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99366424,"longitude_deg":76.3180544,"latitude_deg":9.9366424,"altitude":9,"angle":203,"satellites":40,"speed":4,"hex_longitude":"2d7d3600","hex_latitude":"05ec3618","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301445120001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209124931895296,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985107374080,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786333777000,"timestamp_ms":1786333777000,"timestamp_seconds":1786333777,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ca4c68"} 
[2026-08-10 09:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:20: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-08-10 09: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":220,"data_length":795,"current_offset":136} 
[2026-08-10 09:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:20: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-08-10 09:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301445120001,"66":12819,"110":206,"87":13824,"24":4,"16":117209124931895296,"45":9023172985107374080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301445120001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:20:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:20:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209124931895296,"km_value":117209124931895.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985107374080,"description":"Unknown IO ID 45"} 
[2026-08-10 09:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301445120001,"power":12819,"unknown_110":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9023172985107374080}} 
[2026-08-10 09:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":151373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:20:21] local.INFO: GPS data processed {"connection_id":151373,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:20:21] local.INFO: Acknowledgment sent {"connection_id":151373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:20:24] local.INFO: TCP Data received {"connection_id":151756,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151756,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:20:24] local.INFO: Processing buffer {"connection_id":151756,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:20:24] local.INFO: IMEI packet received {"connection_id":151756,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":151756,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:20:30] local.INFO: TCP Data received {"connection_id":151756,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151756,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:20:30] local.INFO: Processing buffer {"connection_id":151756,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:20:30] local.INFO: IMEI packet received {"connection_id":151756,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":151756,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:20:30] local.INFO: TCP Data received {"connection_id":151756,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9caa258012d0a598007046e48001600c920..."} 
[2026-08-10 09:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9caa258012d0a598007046e48001600c920..."} 
[2026-08-10 09:20:30] local.INFO: Processing buffer {"connection_id":151756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9caa258012d0a598007046e48001600c920..."} 
[2026-08-10 09:20:30] local.INFO: Packet analysis {"connection_id":151756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ca"} 
[2026-08-10 09:20:30] local.INFO: Extracted packet for processing {"connection_id":151756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ca"} 
[2026-08-10 09:20:30] local.INFO: GPS Element Parsed {"raw_longitude":755652992,"raw_latitude":117730888,"longitude_deg":75.5652992,"latitude_deg":11.7730888,"altitude":22,"angle":201,"satellites":32,"speed":15,"hex_longitude":"2d0a5980","hex_latitude":"07046e48","is_valid_coordinates":true} 
[2026-08-10 09:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301452288001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27292855013736448,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746049455910797312,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786333799000,"timestamp_ms":1786333799000,"timestamp_seconds":1786333799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9caa258"} 
[2026-08-10 09:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-10 09:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301452288001,"66":14494,"177":206,"94":10240,"24":15,"16":27292855013736448,"45":746049455910797312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 09:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301452288001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:20:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 09:20:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27292855013736448,"km_value":27292855013736.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":746049455910797312,"description":"Unknown IO ID 45"} 
[2026-08-10 09:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301452288001,"power":14494,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":746049455910797312}} 
[2026-08-10 09:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":151756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:20:31] local.INFO: GPS data processed {"connection_id":151756,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:20:31] local.INFO: Acknowledgment sent {"connection_id":151756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:20:37] local.INFO: TCP Data received {"connection_id":154121,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:20:37] local.INFO: Processing buffer {"connection_id":154121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:20:37] local.INFO: Packet analysis {"connection_id":154121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:20:37] local.INFO: Extracted packet for processing {"connection_id":154121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301335808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786333644000,"timestamp_ms":1786333644000,"timestamp_seconds":1786333644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c844e0"} 
[2026-08-10 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-08-10 09:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301335808001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301335808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301335808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":154121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:20:37] local.INFO: GPS data processed {"connection_id":154121,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:20:37] local.INFO: Acknowledgment sent {"connection_id":154121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:20:52] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ca5050012d7d364005ec35d8000900ad28..."} 
[2026-08-10 09:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ca5050012d7d364005ec35d8000900ad28..."} 
[2026-08-10 09:20:52] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ca5050012d7d364005ec35d8000900ad28..."} 
[2026-08-10 09:20:52] local.INFO: Packet analysis {"connection_id":151373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ca"} 
[2026-08-10 09:20:52] local.INFO: Extracted packet for processing {"connection_id":151373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ca"} 
[2026-08-10 09:20:52] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":99366360,"longitude_deg":76.3180608,"latitude_deg":9.936636,"altitude":9,"angle":173,"satellites":40,"speed":1,"hex_longitude":"2d7d3640","hex_latitude":"05ec35d8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301446912001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209129226862592,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928921171968,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786333778000,"timestamp_ms":1786333778000,"timestamp_seconds":1786333778,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ca5050"} 
[2026-08-10 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-08-10 09:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3922336160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147871804,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84861639945743423,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505388094980096,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-3886096299967301312,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5291167498433331224,"corrected_to":0} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2281778557,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505865,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1423753208609600728,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8070224816986075561,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195111680,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2533653351497728,"note":"Value kept but may cause issues"} 
[2026-08-10 09:20:52] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,110,87,24,241,157,16,105,159,49,45,192,57,9,36,10,66,41,64,58,35,37,128,1,240,3,227,233,236,4,113,205,29,239,50,2,160,5,51,54,253,69,56],"length":625,"final_offset":755,"validated_count":43,"validation_warnings":[{"io_id":205,"original":5291167498433331224,"validated":0}]} 
[2026-08-10 09:20:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648741719000743936,"timestamp_seconds":648741719000743.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 09:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301446912001,"66":12819,"110":206,"87":13824,"24":1,"16":117209129226862592,"45":9022398928921171968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301446912001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:20:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:20:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209129226862592,"km_value":117209129226862.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928921171968,"description":"Unknown IO ID 45"} 
[2026-08-10 09:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301446912001,"power":12819,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022398928921171968}} 
[2026-08-10 09:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":151373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:20:52] local.INFO: GPS data processed {"connection_id":151373,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:20:52] local.INFO: Acknowledgment sent {"connection_id":151373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:20:59] local.INFO: TCP Data received {"connection_id":151374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:20:59] local.INFO: Processing buffer {"connection_id":151374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:20:59] local.INFO: IMEI packet received {"connection_id":151374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":151374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:21:02] local.INFO: TCP Data received {"connection_id":151756,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cb5608012d0a514007043f58001600061d..."} 
[2026-08-10 09:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cb5608012d0a514007043f58001600061d..."} 
[2026-08-10 09:21:02] local.INFO: Processing buffer {"connection_id":151756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cb5608012d0a514007043f58001600061d..."} 
[2026-08-10 09:21:02] local.INFO: Packet analysis {"connection_id":151756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cb"} 
[2026-08-10 09:21:02] local.INFO: Extracted packet for processing {"connection_id":151756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cb"} 
[2026-08-10 09:21:02] local.INFO: GPS Element Parsed {"raw_longitude":755650880,"raw_latitude":117718872,"longitude_deg":75.565088,"latitude_deg":11.7718872,"altitude":22,"angle":6,"satellites":29,"speed":5,"hex_longitude":"2d0a5140","hex_latitude":"07043f58","is_valid_coordinates":true} 
[2026-08-10 09:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301463808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27293589453144064,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743445812372981760,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786333845000,"timestamp_ms":1786333845000,"timestamp_seconds":1786333845,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cb5608"} 
[2026-08-10 09:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 09:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":151756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":151756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":151756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301463808001,"66":13678,"178":206,"94":10240,"24":5,"16":27293589453144064,"45":743445812372981760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-08-10 09:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301463808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:21:02] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-10 09:21:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27293589453144064,"km_value":27293589453144.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":743445812372981760,"description":"Unknown IO ID 45"} 
[2026-08-10 09:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301463808001,"power":13678,"unknown_178":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":743445812372981760}} 
[2026-08-10 09:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":151756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618829,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:21:03] local.INFO: GPS data processed {"connection_id":151756,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:21:03] local.INFO: Acknowledgment sent {"connection_id":151756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:21:04] local.INFO: TCP Data received {"connection_id":151374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:21:04] local.INFO: Processing buffer {"connection_id":151374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:21:04] local.INFO: IMEI packet received {"connection_id":151374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:21:05] local.INFO: TCP Data received {"connection_id":151374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:21:05] local.INFO: Processing buffer {"connection_id":151374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:21:05] local.INFO: Packet analysis {"connection_id":151374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:21:05] local.INFO: Extracted packet for processing {"connection_id":151374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301335808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786333644000,"timestamp_ms":1786333644000,"timestamp_seconds":1786333644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c844e0"} 
[2026-08-10 09:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:21: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-08-10 09:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301335808001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301335808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301335808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":151374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:21:05] local.INFO: GPS data processed {"connection_id":151374,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:21:05] local.INFO: Acknowledgment sent {"connection_id":151374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:21:14] local.INFO: TCP Data received {"connection_id":154122,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:21:14] local.INFO: Processing buffer {"connection_id":154122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:21:14] local.INFO: IMEI packet received {"connection_id":154122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":154122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:21:19] local.INFO: TCP Data received {"connection_id":154122,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:21:19] local.INFO: Processing buffer {"connection_id":154122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:21:19] local.INFO: IMEI packet received {"connection_id":154122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":154122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:21:20] local.INFO: TCP Data received {"connection_id":154122,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ca9e70012d7d370005ec3408000900b920..."} 
[2026-08-10 09:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ca9e70012d7d370005ec3408000900b920..."} 
[2026-08-10 09:21:20] local.INFO: Processing buffer {"connection_id":154122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ca9e70012d7d370005ec3408000900b920..."} 
[2026-08-10 09:21:20] local.INFO: Packet analysis {"connection_id":154122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ca"} 
[2026-08-10 09:21:20] local.INFO: Extracted packet for processing {"connection_id":154122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ca"} 
[2026-08-10 09:21:20] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99365896,"longitude_deg":76.31808,"latitude_deg":9.9365896,"altitude":9,"angle":185,"satellites":32,"speed":6,"hex_longitude":"2d7d3700","hex_latitude":"05ec3408","is_valid_coordinates":true} 
[2026-08-10 09:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301447168001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209154996666368,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297665333248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786333798000,"timestamp_ms":1786333798000,"timestamp_seconds":1786333798,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ca9e70"} 
[2026-08-10 09:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3922337160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147871803,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505388095176704,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-3883897276711749248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5291167498433331224,"corrected_to":0} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1424034683586306264,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5332036243544813993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195114496,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2533872461939200,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:20] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,110,87,24,241,157,16,105,159,76,45,54,9,40,10,66,49,192,57,36,41,64,1,240,220,227,233,236,4,113,205,3,33,136,35,239,51,2,160,5,8,50,255,69,208],"length":625,"final_offset":755,"validated_count":45,"validation_warnings":[{"io_id":205,"original":5291167498433331224,"validated":0}]} 
[2026-08-10 09:21:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648708733651714048,"timestamp_seconds":648708733651714.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301447168001,"66":12874,"197":206,"87":13824,"24":6,"16":117209154996666368,"45":9022469297665333248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-10 09:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301447168001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:21:20] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-10 09:21:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209154996666368,"km_value":117209154996666.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297665333248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301447168001,"power":12874,"unknown_197":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9022469297665333248}} 
[2026-08-10 09:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":154122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:21:20] local.INFO: GPS data processed {"connection_id":154122,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:21:20] local.INFO: Acknowledgment sent {"connection_id":154122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:21:25] local.INFO: TCP Data received {"connection_id":151375,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:21:25] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:21:25] local.INFO: IMEI packet received {"connection_id":151375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":151375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:21:30] local.INFO: TCP Data received {"connection_id":151375,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:21:30] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:21:30] local.INFO: IMEI packet received {"connection_id":151375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":151375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:21:36] local.INFO: TCP Data received {"connection_id":151374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:21:36] local.INFO: Processing buffer {"connection_id":151374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:21:36] local.INFO: Packet analysis {"connection_id":151374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:21:36] local.INFO: Extracted packet for processing {"connection_id":151374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301335808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786333644000,"timestamp_ms":1786333644000,"timestamp_seconds":1786333644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c844e0"} 
[2026-08-10 09:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:21: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-08-10 09:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301335808001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301335808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301335808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":151374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:21:36] local.INFO: GPS data processed {"connection_id":151374,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:21:36] local.INFO: Acknowledgment sent {"connection_id":151374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:21:52] local.INFO: TCP Data received {"connection_id":154122,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cbfe00012d7d34c005ec11c8000800e717..."} 
[2026-08-10 09:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cbfe00012d7d34c005ec11c8000800e717..."} 
[2026-08-10 09:21:52] local.INFO: Processing buffer {"connection_id":154122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cbfe00012d7d34c005ec11c8000800e717..."} 
[2026-08-10 09:21:52] local.INFO: Packet analysis {"connection_id":154122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cb"} 
[2026-08-10 09:21:52] local.INFO: Extracted packet for processing {"connection_id":154122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cb"} 
[2026-08-10 09:21:52] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":99357128,"longitude_deg":76.3180224,"latitude_deg":9.9357128,"altitude":8,"angle":231,"satellites":23,"speed":2,"hex_longitude":"2d7d34c0","hex_latitude":"05ec11c8","is_valid_coordinates":true} 
[2026-08-10 09:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301475072001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209614558167040,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453942095872,"note":"Value kept but may cause issues"} 
[2026-08-10 09:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786333888000,"timestamp_ms":1786333888000,"timestamp_seconds":1786333888,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cbfe00"} 
[2026-08-10 09:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 09:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301475072001,"66":13243,"197":206,"87":13824,"24":2,"16":117209614558167040,"45":9022117453942095872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-10 09:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301475072001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:21:52] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-10 09:21:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209614558167040,"km_value":117209614558167.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453942095872,"description":"Unknown IO ID 45"} 
[2026-08-10 09:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301475072001,"power":13243,"unknown_197":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9022117453942095872}} 
[2026-08-10 09:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":154122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:21:52] local.INFO: GPS data processed {"connection_id":154122,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:21:52] local.INFO: Acknowledgment sent {"connection_id":154122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:21:57] local.INFO: TCP Data received {"connection_id":151375,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:21:57] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:21:57] local.INFO: IMEI packet received {"connection_id":151375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":151375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:21:59] local.INFO: TCP Data received {"connection_id":151757,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:21:59] local.INFO: Processing buffer {"connection_id":151757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:21:59] local.INFO: IMEI packet received {"connection_id":151757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":151757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:22:00] local.INFO: TCP Data received {"connection_id":151375,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cb5dd8012d0a518007044100001700121e..."} 
[2026-08-10 09:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cb5dd8012d0a518007044100001700121e..."} 
[2026-08-10 09:22:00] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cb5dd8012d0a518007044100001700121e..."} 
[2026-08-10 09:22:00] local.INFO: Packet analysis {"connection_id":151375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cb"} 
[2026-08-10 09:22:00] local.INFO: Extracted packet for processing {"connection_id":151375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cb"} 
[2026-08-10 09:22:00] local.INFO: GPS Element Parsed {"raw_longitude":755650944,"raw_latitude":117719296,"longitude_deg":75.5650944,"latitude_deg":11.7719296,"altitude":23,"angle":18,"satellites":30,"speed":11,"hex_longitude":"2d0a5180","hex_latitude":"07044100","is_valid_coordinates":true} 
[2026-08-10 09:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301464320001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27293610927980544,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743445812373051392,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786333847000,"timestamp_ms":1786333847000,"timestamp_seconds":1786333847,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cb5dd8"} 
[2026-08-10 09:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:22: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-08-10 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-10 09:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301464320001,"66":14428,"178":206,"94":10240,"24":11,"16":27293610927980544,"45":743445812373051392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-08-10 09:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301464320001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:22:00] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-10 09:22:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27293610927980544,"km_value":27293610927980.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":743445812373051392,"description":"Unknown IO ID 45"} 
[2026-08-10 09:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301464320001,"power":14428,"unknown_178":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":743445812373051392}} 
[2026-08-10 09:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":151375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:22:00] local.INFO: GPS data processed {"connection_id":151375,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:22:00] local.INFO: Acknowledgment sent {"connection_id":151375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:22:04] local.INFO: TCP Data received {"connection_id":151375,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cc30c8012d0a7f00070477400019016520..."} 
[2026-08-10 09:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cc30c8012d0a7f00070477400019016520..."} 
[2026-08-10 09:22:04] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cc30c8012d0a7f00070477400019016520..."} 
[2026-08-10 09:22:04] local.INFO: Packet analysis {"connection_id":151375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:22:04] local.INFO: Extracted packet for processing {"connection_id":151375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:22:04] local.INFO: GPS Element Parsed {"raw_longitude":755662592,"raw_latitude":117733184,"longitude_deg":75.5662592,"latitude_deg":11.7733184,"altitude":25,"angle":357,"satellites":32,"speed":18,"hex_longitude":"2d0a7f00","hex_latitude":"07047740","is_valid_coordinates":true} 
[2026-08-10 09:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301478144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27294736209412096,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756464030049363968,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786333901000,"timestamp_ms":1786333901000,"timestamp_seconds":1786333901,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cc30c8"} 
[2026-08-10 09:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 09:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301478144001,"66":14450,"96":206,"94":10240,"24":18,"16":27294736209412096,"45":756464030049363968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 09:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301478144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:22:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 09:22:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27294736209412096,"km_value":27294736209412.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":756464030049363968,"description":"Unknown IO ID 45"} 
[2026-08-10 09:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301478144001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":756464030049363968}} 
[2026-08-10 09:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":151375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618835,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:22:04] local.INFO: GPS data processed {"connection_id":151375,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:22:04] local.INFO: Acknowledgment sent {"connection_id":151375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:22:04] local.INFO: TCP Data received {"connection_id":151757,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:22:04] local.INFO: Processing buffer {"connection_id":151757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:22:04] local.INFO: IMEI packet received {"connection_id":151757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":151757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:22:06] local.INFO: TCP Data received {"connection_id":151757,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:22:06] local.INFO: Processing buffer {"connection_id":151757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:22:06] local.INFO: Packet analysis {"connection_id":151757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:22:06] local.INFO: Extracted packet for processing {"connection_id":151757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301335808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786333644000,"timestamp_ms":1786333644000,"timestamp_seconds":1786333644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c844e0"} 
[2026-08-10 09:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:22: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-08-10 09:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301335808001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301335808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301335808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":151757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:22:06] local.INFO: GPS data processed {"connection_id":151757,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:22:06] local.INFO: Acknowledgment sent {"connection_id":151757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:22:19] local.INFO: TCP Data received {"connection_id":154123,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:22:19] local.INFO: Processing buffer {"connection_id":154123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:22:19] local.INFO: IMEI packet received {"connection_id":154123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":154123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:22:25] local.INFO: TCP Data received {"connection_id":154123,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:22:25] local.INFO: Processing buffer {"connection_id":154123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:22:25] local.INFO: IMEI packet received {"connection_id":154123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":154123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:22:27] local.INFO: TCP Data received {"connection_id":154123,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cc5008012d7d340005ec11880007005017..."} 
[2026-08-10 09:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cc5008012d7d340005ec11880007005017..."} 
[2026-08-10 09:22:27] local.INFO: Processing buffer {"connection_id":154123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cc5008012d7d340005ec11880007005017..."} 
[2026-08-10 09:22:27] local.INFO: Packet analysis {"connection_id":154123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:22:27] local.INFO: Extracted packet for processing {"connection_id":154123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":99357064,"longitude_deg":76.3180032,"latitude_deg":9.9357064,"altitude":7,"angle":80,"satellites":23,"speed":2,"hex_longitude":"2d7d3400","hex_latitude":"05ec1188","is_valid_coordinates":true} 
[2026-08-10 09:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301475328001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209627443068928,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047085197903872,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786333909000,"timestamp_ms":1786333909000,"timestamp_seconds":1786333909,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cc5008"} 
[2026-08-10 09:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09: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-08-10 09:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":154123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":154123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":154123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301475328001,"66":13178,"197":206,"87":13824,"24":2,"16":117209627443068928,"45":9022047085197903872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-10 09:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301475328001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:22:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-10 09:22:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209627443068928,"km_value":117209627443068.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047085197903872,"description":"Unknown IO ID 45"} 
[2026-08-10 09:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301475328001,"power":13178,"unknown_197":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9022047085197903872}} 
[2026-08-10 09:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":154123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:22:27] local.INFO: GPS data processed {"connection_id":154123,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:22:27] local.INFO: Acknowledgment sent {"connection_id":154123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:22:30] local.INFO: TCP Data received {"connection_id":154123,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cc5008012d7d340005ec11880007005017..."} 
[2026-08-10 09:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cc5008012d7d340005ec11880007005017..."} 
[2026-08-10 09:22:30] local.INFO: Processing buffer {"connection_id":154123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cc5008012d7d340005ec11880007005017..."} 
[2026-08-10 09:22:30] local.INFO: Packet analysis {"connection_id":154123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:22:30] local.INFO: Extracted packet for processing {"connection_id":154123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":99357064,"longitude_deg":76.3180032,"latitude_deg":9.9357064,"altitude":7,"angle":80,"satellites":23,"speed":2,"hex_longitude":"2d7d3400","hex_latitude":"05ec1188","is_valid_coordinates":true} 
[2026-08-10 09:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301480704001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209627443068928,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978965354496,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786333909000,"timestamp_ms":1786333909000,"timestamp_seconds":1786333909,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cc5008"} 
[2026-08-10 09:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-10 09:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:22: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-08-10 09:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301480704001,"66":13178,"197":206,"87":13824,"24":2,"16":117209627443068928,"45":9021835978965354496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-10 09:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301480704001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:22:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-10 09:22:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209627443068928,"km_value":117209627443068.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978965354496,"description":"Unknown IO ID 45"} 
[2026-08-10 09:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301480704001,"power":13178,"unknown_197":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9021835978965354496}} 
[2026-08-10 09:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":154123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:22:31] local.INFO: GPS data processed {"connection_id":154123,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:22:31] local.INFO: Acknowledgment sent {"connection_id":154123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:22:45] local.INFO: TCP Data received {"connection_id":151757,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:22:45] local.INFO: Processing buffer {"connection_id":151757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9c844e0012d34c20006aa3f08000600f328..."} 
[2026-08-10 09:22:45] local.INFO: Packet analysis {"connection_id":151757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:22:45] local.INFO: Extracted packet for processing {"connection_id":151757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9c8"} 
[2026-08-10 09:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301335808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786333644000,"timestamp_ms":1786333644000,"timestamp_seconds":1786333644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9c844e0"} 
[2026-08-10 09:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301335808001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301335808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:22:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301335808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":151757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:22:45] local.INFO: GPS data processed {"connection_id":151757,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:22:45] local.INFO: Acknowledgment sent {"connection_id":151757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:22:54] local.INFO: TCP Data received {"connection_id":154124,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154124,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:22:54] local.INFO: Processing buffer {"connection_id":154124,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:22:54] local.INFO: IMEI packet received {"connection_id":154124,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":154124,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:22:59] local.INFO: TCP Data received {"connection_id":154124,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154124,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:22:59] local.INFO: Processing buffer {"connection_id":154124,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:22:59] local.INFO: IMEI packet received {"connection_id":154124,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":154124,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:22:59] local.INFO: TCP Data received {"connection_id":154124,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154124,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:22:59] local.INFO: Processing buffer {"connection_id":154124,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:22:59] local.INFO: IMEI packet received {"connection_id":154124,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":154124,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:23:00] local.INFO: TCP Data received {"connection_id":154124,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cd0b88012d0a97c00704e3800023002d1f..."} 
[2026-08-10 09:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cd0b88012d0a97c00704e3800023002d1f..."} 
[2026-08-10 09:23:00] local.INFO: Processing buffer {"connection_id":154124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cd0b88012d0a97c00704e3800023002d1f..."} 
[2026-08-10 09:23:00] local.INFO: Packet analysis {"connection_id":154124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:23:00] local.INFO: Extracted packet for processing {"connection_id":154124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:23:00] local.INFO: GPS Element Parsed {"raw_longitude":755668928,"raw_latitude":117760896,"longitude_deg":75.5668928,"latitude_deg":11.7760896,"altitude":35,"angle":45,"satellites":31,"speed":15,"hex_longitude":"2d0a97c0","hex_latitude":"0704e380","is_valid_coordinates":true} 
[2026-08-10 09:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301492480001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27296321052344320,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":762586110800035840,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786333957000,"timestamp_ms":1786333957000,"timestamp_seconds":1786333957,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cd0b88"} 
[2026-08-10 09:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:23: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-08-10 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301492480001,"66":13722,"96":206,"94":10240,"24":15,"16":27296321052344320,"45":762586110800035840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 09:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301492480001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:23:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 09:23:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27296321052344320,"km_value":27296321052344.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":762586110800035840,"description":"Unknown IO ID 45"} 
[2026-08-10 09:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301492480001,"power":13722,"unknown_96":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":762586110800035840}} 
[2026-08-10 09:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":154124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:23:00] local.INFO: GPS data processed {"connection_id":154124,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:23:00] local.INFO: Acknowledgment sent {"connection_id":154124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:23:03] local.INFO: TCP Data received {"connection_id":152668,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:23:03] local.INFO: Processing buffer {"connection_id":152668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:23:03] local.INFO: IMEI packet received {"connection_id":152668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":152668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:23:04] local.INFO: TCP Data received {"connection_id":152668,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:23:04] local.INFO: Processing buffer {"connection_id":152668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:23:04] local.INFO: IMEI packet received {"connection_id":152668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":152668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:23:09] local.INFO: TCP Data received {"connection_id":154124,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cd0f70012d0a98800704e4f80023001520..."} 
[2026-08-10 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cd0f70012d0a98800704e4f80023001520..."} 
[2026-08-10 09:23:09] local.INFO: Processing buffer {"connection_id":154124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cd0f70012d0a98800704e4f80023001520..."} 
[2026-08-10 09:23:09] local.INFO: Packet analysis {"connection_id":154124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:23:09] local.INFO: Extracted packet for processing {"connection_id":154124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":755669120,"raw_latitude":117761272,"longitude_deg":75.566912,"latitude_deg":11.7761272,"altitude":35,"angle":21,"satellites":32,"speed":16,"hex_longitude":"2d0a9880","hex_latitude":"0704e4f8","is_valid_coordinates":true} 
[2026-08-10 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301492992001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27296338232213504,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763289798241910784,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786333958000,"timestamp_ms":1786333958000,"timestamp_seconds":1786333958,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cd0f70"} 
[2026-08-10 09:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-10 09:23: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-08-10 09:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301492992001,"66":13722,"96":206,"94":10240,"24":16,"16":27296338232213504,"45":763289798241910784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 09:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301492992001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:23:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 09:23:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27296338232213504,"km_value":27296338232213.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":763289798241910784,"description":"Unknown IO ID 45"} 
[2026-08-10 09:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301492992001,"power":13722,"unknown_96":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":763289798241910784}} 
[2026-08-10 09:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":154124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618841,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:23:09] local.INFO: GPS data processed {"connection_id":154124,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:23:09] local.INFO: Acknowledgment sent {"connection_id":154124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:23:10] local.INFO: TCP Data received {"connection_id":152668,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:23:10] local.INFO: Processing buffer {"connection_id":152668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:23:10] local.INFO: IMEI packet received {"connection_id":152668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":152668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:23:11] local.INFO: TCP Data received {"connection_id":152668,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:23:11] local.INFO: Processing buffer {"connection_id":152668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:23:11] local.INFO: Packet analysis {"connection_id":152668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:23:11] local.INFO: Extracted packet for processing {"connection_id":152668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301412864001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786333945000,"timestamp_ms":1786333945000,"timestamp_seconds":1786333945,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ccdca8"} 
[2026-08-10 09:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301412864001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301412864001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:23:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:23:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301412864001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":152668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:23:11] local.INFO: GPS data processed {"connection_id":152668,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:23:11] local.INFO: Acknowledgment sent {"connection_id":152668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:23:14] local.INFO: TCP Data received {"connection_id":152669,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:23:14] local.INFO: Processing buffer {"connection_id":152669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:23:14] local.INFO: IMEI packet received {"connection_id":152669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":152669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:23:14] local.INFO: TCP Data received {"connection_id":152669,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:23:14] local.INFO: Processing buffer {"connection_id":152669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:23:14] local.INFO: IMEI packet received {"connection_id":152669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":152669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:23:15] local.INFO: TCP Data received {"connection_id":152668,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:23:15] local.INFO: Processing buffer {"connection_id":152668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:23:15] local.INFO: Packet analysis {"connection_id":152668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:23:15] local.INFO: Extracted packet for processing {"connection_id":152668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301412864001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786333945000,"timestamp_ms":1786333945000,"timestamp_seconds":1786333945,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ccdca8"} 
[2026-08-10 09:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301412864001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301412864001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301412864001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":152668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:23:15] local.INFO: GPS data processed {"connection_id":152668,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:23:15] local.INFO: Acknowledgment sent {"connection_id":152668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:23:19] local.INFO: TCP Data received {"connection_id":152669,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:23:19] local.INFO: Processing buffer {"connection_id":152669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:23:19] local.INFO: IMEI packet received {"connection_id":152669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":152669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:23:21] local.INFO: TCP Data received {"connection_id":152669,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cd3680012d7d340005ec10080007005819..."} 
[2026-08-10 09:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cd3680012d7d340005ec10080007005819..."} 
[2026-08-10 09:23:21] local.INFO: Processing buffer {"connection_id":152669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cd3680012d7d340005ec10080007005819..."} 
[2026-08-10 09:23:21] local.INFO: Packet analysis {"connection_id":152669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:23:21] local.INFO: Extracted packet for processing {"connection_id":152669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":99356680,"longitude_deg":76.3180032,"latitude_deg":9.935668,"altitude":7,"angle":88,"satellites":25,"speed":1,"hex_longitude":"2d7d3400","hex_latitude":"05ec1008","is_valid_coordinates":true} 
[2026-08-10 09:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301494784001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209696162545664,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695241476904960,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786333968000,"timestamp_ms":1786333968000,"timestamp_seconds":1786333968,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cd3680"} 
[2026-08-10 09:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:23: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":166,"data_length":795,"current_offset":136} 
[2026-08-10 09:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:23: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-08-10 09:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301494784001,"66":13059,"110":206,"87":13824,"24":1,"16":117209696162545664,"45":9021695241476904960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301494784001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:23:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:23:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209696162545664,"km_value":117209696162545.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695241476904960,"description":"Unknown IO ID 45"} 
[2026-08-10 09:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301494784001,"power":13059,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9021695241476904960}} 
[2026-08-10 09:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":152669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:23:21] local.INFO: GPS data processed {"connection_id":152669,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:23:21] local.INFO: Acknowledgment sent {"connection_id":152669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:23:29] local.INFO: TCP Data received {"connection_id":151758,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:23:29] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:23:29] local.INFO: IMEI packet received {"connection_id":151758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":151758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:23:32] local.INFO: TCP Data received {"connection_id":151758,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:23:32] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:23:32] local.INFO: IMEI packet received {"connection_id":151758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":151758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:23:33] local.INFO: TCP Data received {"connection_id":151758,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cd1358012d0a98c00704e7000023000a1f..."} 
[2026-08-10 09:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cd1358012d0a98c00704e7000023000a1f..."} 
[2026-08-10 09:23:33] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cd1358012d0a98c00704e7000023000a1f..."} 
[2026-08-10 09:23:33] local.INFO: Packet analysis {"connection_id":151758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:23:33] local.INFO: Extracted packet for processing {"connection_id":151758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:23:33] local.INFO: GPS Element Parsed {"raw_longitude":755669184,"raw_latitude":117761792,"longitude_deg":75.5669184,"latitude_deg":11.7761792,"altitude":35,"angle":10,"satellites":31,"speed":20,"hex_longitude":"2d0a98c0","hex_latitude":"0704e700","is_valid_coordinates":true} 
[2026-08-10 09:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301493248001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27296364002017280,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763500904474540032,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786333959000,"timestamp_ms":1786333959000,"timestamp_seconds":1786333959,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cd1358"} 
[2026-08-10 09:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:23: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-08-10 09:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-10 09:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301493248001,"66":14515,"96":206,"94":10240,"24":20,"16":27296364002017280,"45":763500904474540032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 09:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301493248001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:23:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 09:23:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27296364002017280,"km_value":27296364002017.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":763500904474540032,"description":"Unknown IO ID 45"} 
[2026-08-10 09:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301493248001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":763500904474540032}} 
[2026-08-10 09:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":151758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618845,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:23:33] local.INFO: GPS data processed {"connection_id":151758,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:23:33] local.INFO: Acknowledgment sent {"connection_id":151758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:23:34] local.INFO: TCP Data received {"connection_id":151758,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cd22f8012d0a9a800704f0080023001b20..."} 
[2026-08-10 09:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cd22f8012d0a9a800704f0080023001b20..."} 
[2026-08-10 09:23:34] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cd22f8012d0a9a800704f0080023001b20..."} 
[2026-08-10 09:23:34] local.INFO: Packet analysis {"connection_id":151758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:23:34] local.INFO: Extracted packet for processing {"connection_id":151758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:23:34] local.INFO: GPS Element Parsed {"raw_longitude":755669632,"raw_latitude":117764104,"longitude_deg":75.5669632,"latitude_deg":11.7764104,"altitude":35,"angle":27,"satellites":32,"speed":20,"hex_longitude":"2d0a9a80","hex_latitude":"0704f008","is_valid_coordinates":true} 
[2026-08-10 09:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301493504001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27296479966134272,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763571273218850816,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786333963000,"timestamp_ms":1786333963000,"timestamp_seconds":1786333963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cd22f8"} 
[2026-08-10 09:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:23: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-08-10 09:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 09:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301493504001,"66":13656,"96":206,"94":10240,"24":20,"16":27296479966134272,"45":763571273218850816},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 09:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301493504001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:23:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 09:23:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27296479966134272,"km_value":27296479966134.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":763571273218850816,"description":"Unknown IO ID 45"} 
[2026-08-10 09:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301493504001,"power":13656,"unknown_96":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":763571273218850816}} 
[2026-08-10 09:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":151758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618846,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:23:35] local.INFO: GPS data processed {"connection_id":151758,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:23:35] local.INFO: Acknowledgment sent {"connection_id":151758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:23:52] local.INFO: TCP Data received {"connection_id":152669,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cd3e50012d7d344005ec10100007004d19..."} 
[2026-08-10 09:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cd3e50012d7d344005ec10100007004d19..."} 
[2026-08-10 09:23:52] local.INFO: Processing buffer {"connection_id":152669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cd3e50012d7d344005ec10100007004d19..."} 
[2026-08-10 09:23:52] local.INFO: Packet analysis {"connection_id":152669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:23:52] local.INFO: Extracted packet for processing {"connection_id":152669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:23:52] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99356688,"longitude_deg":76.3180096,"latitude_deg":9.9356688,"altitude":7,"angle":77,"satellites":25,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec1010","is_valid_coordinates":true} 
[2026-08-10 09:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301495808001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209700457512960,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978965256192,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786333970000,"timestamp_ms":1786333970000,"timestamp_seconds":1786333970,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cd3e50"} 
[2026-08-10 09:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547477,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3922503160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3438804993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3355520381,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147871760,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085589,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":197,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960545280,"note":"Value kept but may cause issues"} 
[2026-08-10 09:23:52] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,110,87,24,241,157,16,105,159,38,45,128,7,28,10,66,34,64,30,31,1,240,139,227,233,236,4,113,205,173,51,248,27,239,50,197,2,160,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-10 09:23:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504500022662987776,"timestamp_seconds":504500022662987.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301495808001,"66":13243,"110":206,"87":13824,"24":0,"16":117209700457512960,"45":9021835978965256192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301495808001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:23:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:23:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209700457512960,"km_value":117209700457512.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978965256192,"description":"Unknown IO ID 45"} 
[2026-08-10 09:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301495808001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021835978965256192}} 
[2026-08-10 09:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":152669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:23:52] local.INFO: GPS data processed {"connection_id":152669,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:23:52] local.INFO: Acknowledgment sent {"connection_id":152669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:24:00] local.INFO: TCP Data received {"connection_id":152670,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:24:00] local.INFO: Processing buffer {"connection_id":152670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:24:00] local.INFO: IMEI packet received {"connection_id":152670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":152670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:24:04] local.INFO: TCP Data received {"connection_id":152670,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:24:04] local.INFO: Processing buffer {"connection_id":152670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:24:04] local.INFO: IMEI packet received {"connection_id":152670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":152670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:24:06] local.INFO: TCP Data received {"connection_id":152670,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:24:06] local.INFO: Processing buffer {"connection_id":152670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:24:06] local.INFO: Packet analysis {"connection_id":152670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:24:06] local.INFO: Extracted packet for processing {"connection_id":152670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301412864001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786333945000,"timestamp_ms":1786333945000,"timestamp_seconds":1786333945,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ccdca8"} 
[2026-08-10 09:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301412864001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301412864001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301412864001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":152670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:24:06] local.INFO: GPS data processed {"connection_id":152670,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:24:06] local.INFO: Acknowledgment sent {"connection_id":152670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:24:14] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:24:14] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:24:14] local.INFO: IMEI packet received {"connection_id":151759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":151759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:24:19] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:24:19] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:24:19] local.INFO: IMEI packet received {"connection_id":151759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":151759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:24:21] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cd4238012d7d344005ec10580007002d1b..."} 
[2026-08-10 09:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cd4238012d7d344005ec10580007002d1b..."} 
[2026-08-10 09:24:21] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cd4238012d7d344005ec10580007002d1b..."} 
[2026-08-10 09:24:21] local.INFO: Packet analysis {"connection_id":151759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:24:21] local.INFO: Extracted packet for processing {"connection_id":151759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:24:21] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99356760,"longitude_deg":76.3180096,"latitude_deg":9.935676,"altitude":7,"angle":45,"satellites":27,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec1058","is_valid_coordinates":true} 
[2026-08-10 09:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301496320001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209704752480256,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709435904,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786333971000,"timestamp_ms":1786333971000,"timestamp_seconds":1786333971,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cd4238"} 
[2026-08-10 09:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:24: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-08-10 09:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301496320001,"66":13243,"110":206,"87":13824,"24":0,"16":117209704752480256,"45":9021906347709435904},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301496320001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:24:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:24:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209704752480256,"km_value":117209704752480.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709435904,"description":"Unknown IO ID 45"} 
[2026-08-10 09:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301496320001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709435904}} 
[2026-08-10 09:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":151759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:24:21] local.INFO: GPS data processed {"connection_id":151759,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:24:21] local.INFO: Acknowledgment sent {"connection_id":151759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:24:24] local.INFO: TCP Data received {"connection_id":152671,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152671,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:24:24] local.INFO: Processing buffer {"connection_id":152671,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:24:24] local.INFO: IMEI packet received {"connection_id":152671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":152671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:24:25] local.INFO: TCP Data received {"connection_id":152671,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152671,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:24:25] local.INFO: Processing buffer {"connection_id":152671,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:24:25] local.INFO: IMEI packet received {"connection_id":152671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":152671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:24:28] local.INFO: TCP Data received {"connection_id":152671,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152671,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:24:28] local.INFO: Processing buffer {"connection_id":152671,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:24:28] local.INFO: IMEI packet received {"connection_id":152671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":152671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:24:29] local.INFO: TCP Data received {"connection_id":152671,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ce5b78012d0b7a000704c6d80019006e1f..."} 
[2026-08-10 09:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ce5b78012d0b7a000704c6d80019006e1f..."} 
[2026-08-10 09:24:29] local.INFO: Processing buffer {"connection_id":152671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ce5b78012d0b7a000704c6d80019006e1f..."} 
[2026-08-10 09:24:29] local.INFO: Packet analysis {"connection_id":152671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ce"} 
[2026-08-10 09:24:29] local.INFO: Extracted packet for processing {"connection_id":152671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ce"} 
[2026-08-10 09:24:29] local.INFO: GPS Element Parsed {"raw_longitude":755726848,"raw_latitude":117753560,"longitude_deg":75.5726848,"latitude_deg":11.775356,"altitude":25,"angle":110,"satellites":31,"speed":23,"hex_longitude":"2d0b7a00","hex_latitude":"0704c6d8","is_valid_coordinates":true} 
[2026-08-10 09:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301513728001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27299705486573568,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822751387070117888,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786334043000,"timestamp_ms":1786334043000,"timestamp_seconds":1786334043,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ce5b78"} 
[2026-08-10 09:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-10 09:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301513728001,"66":14428,"96":206,"94":10240,"24":23,"16":27299705486573568,"45":822751387070117888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 09:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301513728001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:24:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 09:24:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27299705486573568,"km_value":27299705486573.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":822751387070117888,"description":"Unknown IO ID 45"} 
[2026-08-10 09:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301513728001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":822751387070117888}} 
[2026-08-10 09:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":152671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618850,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:24:29] local.INFO: GPS data processed {"connection_id":152671,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:24:29] local.INFO: Acknowledgment sent {"connection_id":152671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:24:38] local.INFO: TCP Data received {"connection_id":152670,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:24:38] local.INFO: Processing buffer {"connection_id":152670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:24:38] local.INFO: Packet analysis {"connection_id":152670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:24:38] local.INFO: Extracted packet for processing {"connection_id":152670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301412864001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786333945000,"timestamp_ms":1786333945000,"timestamp_seconds":1786333945,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ccdca8"} 
[2026-08-10 09:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301412864001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301412864001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301412864001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":152670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:24:38] local.INFO: GPS data processed {"connection_id":152670,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:24:38] local.INFO: Acknowledgment sent {"connection_id":152670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:24:54] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cd9440012d7d344005ec10600007002d1d..."} 
[2026-08-10 09:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cd9440012d7d344005ec10600007002d1d..."} 
[2026-08-10 09:24:54] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cd9440012d7d344005ec10600007002d1d..."} 
[2026-08-10 09:24:54] local.INFO: Packet analysis {"connection_id":151759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:24:54] local.INFO: Extracted packet for processing {"connection_id":151759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99356768,"longitude_deg":76.3180096,"latitude_deg":9.9356768,"altitude":7,"angle":45,"satellites":29,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec1060","is_valid_coordinates":true} 
[2026-08-10 09:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301496576001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209704752480256,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709454336,"note":"Value kept but may cause issues"} 
[2026-08-10 09:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786333992000,"timestamp_ms":1786333992000,"timestamp_seconds":1786333992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cd9440"} 
[2026-08-10 09:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301496576001,"66":13080,"110":206,"87":13824,"24":0,"16":117209704752480256,"45":9021906347709454336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301496576001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:24:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:24:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209704752480256,"km_value":117209704752480.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709454336,"description":"Unknown IO ID 45"} 
[2026-08-10 09:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301496576001,"power":13080,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709454336}} 
[2026-08-10 09:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":151759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:24:54] local.INFO: GPS data processed {"connection_id":151759,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:24:54] local.INFO: Acknowledgment sent {"connection_id":151759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:24:59] local.INFO: TCP Data received {"connection_id":154125,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:24:59] local.INFO: Processing buffer {"connection_id":154125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:24:59] local.INFO: IMEI packet received {"connection_id":154125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":154125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:25:00] local.INFO: TCP Data received {"connection_id":152671,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cf1310012d0bbb000704fb50001700211f..."} 
[2026-08-10 09:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cf1310012d0bbb000704fb50001700211f..."} 
[2026-08-10 09:25:00] local.INFO: Processing buffer {"connection_id":152671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cf1310012d0bbb000704fb50001700211f..."} 
[2026-08-10 09:25:00] local.INFO: Packet analysis {"connection_id":152671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:25:00] local.INFO: Extracted packet for processing {"connection_id":152671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:25:00] local.INFO: GPS Element Parsed {"raw_longitude":755743488,"raw_latitude":117766992,"longitude_deg":75.5743488,"latitude_deg":11.7766992,"altitude":23,"angle":33,"satellites":31,"speed":24,"hex_longitude":"2d0bbb00","hex_latitude":"0704fb50","is_valid_coordinates":true} 
[2026-08-10 09:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301525248001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27301406293622784,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844284222790590464,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786334090000,"timestamp_ms":1786334090000,"timestamp_seconds":1786334090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cf1310"} 
[2026-08-10 09:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:25: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-08-10 09: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-10 09:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301525248001,"66":14407,"96":206,"94":10240,"24":24,"16":27301406293622784,"45":844284222790590464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 09:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301525248001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:25:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 09:25:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27301406293622784,"km_value":27301406293622.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":844284222790590464,"description":"Unknown IO ID 45"} 
[2026-08-10 09:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301525248001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":844284222790590464}} 
[2026-08-10 09:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":152671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618853,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:25:00] local.INFO: GPS data processed {"connection_id":152671,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:25:00] local.INFO: Acknowledgment sent {"connection_id":152671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:25:04] local.INFO: TCP Data received {"connection_id":154125,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:25:04] local.INFO: Processing buffer {"connection_id":154125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:25:04] local.INFO: IMEI packet received {"connection_id":154125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":154125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:25:05] local.INFO: TCP Data received {"connection_id":154125,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:25:05] local.INFO: Processing buffer {"connection_id":154125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:25:05] local.INFO: Packet analysis {"connection_id":154125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:25:05] local.INFO: Extracted packet for processing {"connection_id":154125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301412864001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786333945000,"timestamp_ms":1786333945000,"timestamp_seconds":1786333945,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ccdca8"} 
[2026-08-10 09:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:25: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-08-10 09:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301412864001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301412864001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:25:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301412864001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":154125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:25:05] local.INFO: GPS data processed {"connection_id":154125,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:25:05] local.INFO: Acknowledgment sent {"connection_id":154125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:25:15] local.INFO: TCP Data received {"connection_id":151376,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:25:15] local.INFO: Processing buffer {"connection_id":151376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:25:15] local.INFO: IMEI packet received {"connection_id":151376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":151376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:25:19] local.INFO: TCP Data received {"connection_id":151376,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:25:19] local.INFO: Processing buffer {"connection_id":151376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:25:19] local.INFO: IMEI packet received {"connection_id":151376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":151376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:25:20] local.INFO: TCP Data received {"connection_id":151376,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cde648012d7d344005ec10600007002d1c..."} 
[2026-08-10 09:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cde648012d7d344005ec10600007002d1c..."} 
[2026-08-10 09:25:20] local.INFO: Processing buffer {"connection_id":151376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cde648012d7d344005ec10600007002d1c..."} 
[2026-08-10 09:25:20] local.INFO: Packet analysis {"connection_id":151376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:25:20] local.INFO: Extracted packet for processing {"connection_id":151376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cd"} 
[2026-08-10 09:25:20] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99356768,"longitude_deg":76.3180096,"latitude_deg":9.9356768,"altitude":7,"angle":45,"satellites":28,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec1060","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301501952001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209704752480256,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709456384,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786334013000,"timestamp_ms":1786334013000,"timestamp_seconds":1786334013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cde648"} 
[2026-08-10 09:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-10 09:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301501952001,"66":13189,"110":206,"87":13824,"24":0,"16":117209704752480256,"45":9021906347709456384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301501952001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:25:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:25:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209704752480256,"km_value":117209704752480.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709456384,"description":"Unknown IO ID 45"} 
[2026-08-10 09:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301501952001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709456384}} 
[2026-08-10 09:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":151376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:25:20] local.INFO: GPS data processed {"connection_id":151376,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:25:20] local.INFO: Acknowledgment sent {"connection_id":151376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:25:37] local.INFO: TCP Data received {"connection_id":154125,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:25:37] local.INFO: Processing buffer {"connection_id":154125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:25:37] local.INFO: Packet analysis {"connection_id":154125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:25:37] local.INFO: Extracted packet for processing {"connection_id":154125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301412864001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786333945000,"timestamp_ms":1786333945000,"timestamp_seconds":1786333945,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ccdca8"} 
[2026-08-10 09:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301412864001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301412864001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301412864001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":154125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:25:37] local.INFO: GPS data processed {"connection_id":154125,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:25:37] local.INFO: Acknowledgment sent {"connection_id":154125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:25:52] local.INFO: TCP Data received {"connection_id":151376,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ce3850012d7d344005ec10600007002d18..."} 
[2026-08-10 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ce3850012d7d344005ec10600007002d18..."} 
[2026-08-10 09:25:52] local.INFO: Processing buffer {"connection_id":151376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ce3850012d7d344005ec10600007002d18..."} 
[2026-08-10 09:25:52] local.INFO: Packet analysis {"connection_id":151376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ce"} 
[2026-08-10 09:25:52] local.INFO: Extracted packet for processing {"connection_id":151376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ce"} 
[2026-08-10 09:25:52] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99356768,"longitude_deg":76.3180096,"latitude_deg":9.9356768,"altitude":7,"angle":45,"satellites":24,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec1060","is_valid_coordinates":true} 
[2026-08-10 09:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301507328001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209704752480256,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709456384,"note":"Value kept but may cause issues"} 
[2026-08-10 09:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786334034000,"timestamp_ms":1786334034000,"timestamp_seconds":1786334034,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ce3850"} 
[2026-08-10 09:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 09:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301507328001,"66":13254,"110":206,"87":13824,"24":0,"16":117209704752480256,"45":9021906347709456384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301507328001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:25:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:25:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209704752480256,"km_value":117209704752480.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709456384,"description":"Unknown IO ID 45"} 
[2026-08-10 09:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301507328001,"power":13254,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709456384}} 
[2026-08-10 09:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":151376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:25:52] local.INFO: GPS data processed {"connection_id":151376,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:25:52] local.INFO: Acknowledgment sent {"connection_id":151376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:25:59] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:25:59] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:25:59] local.INFO: IMEI packet received {"connection_id":151760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":151760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:26:04] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:26:04] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:26:04] local.INFO: IMEI packet received {"connection_id":151760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":151760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:26:06] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:26:06] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:26:06] local.INFO: Packet analysis {"connection_id":151760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:26:06] local.INFO: Extracted packet for processing {"connection_id":151760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301412864001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786333945000,"timestamp_ms":1786333945000,"timestamp_seconds":1786333945,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ccdca8"} 
[2026-08-10 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-08-10 09:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301412864001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301412864001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301412864001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":151760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:26:06] local.INFO: GPS data processed {"connection_id":151760,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:26:06] local.INFO: Acknowledgment sent {"connection_id":151760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:26:14] local.INFO: TCP Data received {"connection_id":151377,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:26:14] local.INFO: Processing buffer {"connection_id":151377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:26:14] local.INFO: IMEI packet received {"connection_id":151377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":151377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:26:19] local.INFO: TCP Data received {"connection_id":151377,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:26:19] local.INFO: Processing buffer {"connection_id":151377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:26:19] local.INFO: IMEI packet received {"connection_id":151377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":151377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:26:20] local.INFO: TCP Data received {"connection_id":151377,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ce4bd8012d7d348005ec0ee00007000617..."} 
[2026-08-10 09:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ce4bd8012d7d348005ec0ee00007000617..."} 
[2026-08-10 09:26:20] local.INFO: Processing buffer {"connection_id":151377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ce4bd8012d7d348005ec0ee00007000617..."} 
[2026-08-10 09:26:20] local.INFO: Packet analysis {"connection_id":151377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ce"} 
[2026-08-10 09:26:20] local.INFO: Extracted packet for processing {"connection_id":151377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ce"} 
[2026-08-10 09:26:20] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99356384,"longitude_deg":76.318016,"latitude_deg":9.9356384,"altitude":7,"angle":6,"satellites":23,"speed":1,"hex_longitude":"2d7d3480","hex_latitude":"05ec0ee0","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301512704001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209721932349440,"note":"Value kept but may cause issues"} 
[2026-08-10 09:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709456384,"note":"Value kept but may cause issues"} 
[2026-08-10 09:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786334039000,"timestamp_ms":1786334039000,"timestamp_seconds":1786334039,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ce4bd8"} 
[2026-08-10 09:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 09:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301512704001,"66":13189,"110":206,"87":13824,"24":1,"16":117209721932349440,"45":9021906347709456384},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301512704001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:26:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:26:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209721932349440,"km_value":117209721932349.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709456384,"description":"Unknown IO ID 45"} 
[2026-08-10 09:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301512704001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9021906347709456384}} 
[2026-08-10 09:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":151377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:26:20] local.INFO: GPS data processed {"connection_id":151377,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:26:20] local.INFO: Acknowledgment sent {"connection_id":151377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:26:38] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:26:38] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:26:38] local.INFO: Packet analysis {"connection_id":151760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:26:38] local.INFO: Extracted packet for processing {"connection_id":151760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301412864001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786333945000,"timestamp_ms":1786333945000,"timestamp_seconds":1786333945,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ccdca8"} 
[2026-08-10 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-08-10 09:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301412864001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301412864001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301412864001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":151760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:26:38] local.INFO: GPS data processed {"connection_id":151760,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:26:38] local.INFO: Acknowledgment sent {"connection_id":151760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:26:52] local.INFO: TCP Data received {"connection_id":151377,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ce9de0012d7d348005ec0ec0000700061e..."} 
[2026-08-10 09:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ce9de0012d7d348005ec0ec0000700061e..."} 
[2026-08-10 09:26:52] local.INFO: Processing buffer {"connection_id":151377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ce9de0012d7d348005ec0ec0000700061e..."} 
[2026-08-10 09:26:52] local.INFO: Packet analysis {"connection_id":151377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ce"} 
[2026-08-10 09:26:52] local.INFO: Extracted packet for processing {"connection_id":151377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ce"} 
[2026-08-10 09:26:52] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99356352,"longitude_deg":76.318016,"latitude_deg":9.9356352,"altitude":7,"angle":6,"satellites":30,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-08-10 09:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301513984001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453535744,"note":"Value kept but may cause issues"} 
[2026-08-10 09:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786334060000,"timestamp_ms":1786334060000,"timestamp_seconds":1786334060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ce9de0"} 
[2026-08-10 09:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 09:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301513984001,"66":13319,"110":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453535744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301513984001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:26:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:26:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453535744,"description":"Unknown IO ID 45"} 
[2026-08-10 09:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301513984001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453535744}} 
[2026-08-10 09:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":151377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:26:52] local.INFO: GPS data processed {"connection_id":151377,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:26:52] local.INFO: Acknowledgment sent {"connection_id":151377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:26:59] local.INFO: TCP Data received {"connection_id":151761,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:26:59] local.INFO: Processing buffer {"connection_id":151761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:26:59] local.INFO: IMEI packet received {"connection_id":151761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":151761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:27:04] local.INFO: TCP Data received {"connection_id":151761,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:27:04] local.INFO: Processing buffer {"connection_id":151761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:27:04] local.INFO: IMEI packet received {"connection_id":151761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":151761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:27:05] local.INFO: TCP Data received {"connection_id":151761,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:27:05] local.INFO: Processing buffer {"connection_id":151761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:27:05] local.INFO: Packet analysis {"connection_id":151761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:27:05] local.INFO: Extracted packet for processing {"connection_id":151761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301412864001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786333945000,"timestamp_ms":1786333945000,"timestamp_seconds":1786333945,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ccdca8"} 
[2026-08-10 09:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:27: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-08-10 09:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301412864001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301412864001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:27:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301412864001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":151761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:27:05] local.INFO: GPS data processed {"connection_id":151761,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:27:05] local.INFO: Acknowledgment sent {"connection_id":151761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:27:14] local.INFO: TCP Data received {"connection_id":154126,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:27:14] local.INFO: Processing buffer {"connection_id":154126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:27:14] local.INFO: IMEI packet received {"connection_id":154126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":154126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:27:19] local.INFO: TCP Data received {"connection_id":154126,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:27:19] local.INFO: Processing buffer {"connection_id":154126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:27:19] local.INFO: IMEI packet received {"connection_id":154126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":154126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:27:20] local.INFO: TCP Data received {"connection_id":154126,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ceefe8012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ceefe8012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:27:20] local.INFO: Processing buffer {"connection_id":154126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ceefe8012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:27:20] local.INFO: Packet analysis {"connection_id":154126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ce"} 
[2026-08-10 09:27:20] local.INFO: Extracted packet for processing {"connection_id":154126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ce"} 
[2026-08-10 09:27:20] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99356352,"longitude_deg":76.318016,"latitude_deg":9.9356352,"altitude":7,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-08-10 09:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301519360001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786334081000,"timestamp_ms":1786334081000,"timestamp_seconds":1786334081,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ceefe8"} 
[2026-08-10 09:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 09:27:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:20] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3922542160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:20] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3449044993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:20] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1155173334491076864,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3927140169952788485,"corrected_to":0} 
[2026-08-10 09:27:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391945,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960475648,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:20] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:20] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,110,87,24,241,157,16,105,159,75,45,128,14,7,23,10,66,56,64,230,1,240,133,227,233,236,4,113,205,52,88,27,239,51,2,160,5,187],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3927140169952788485,"validated":0}]} 
[2026-08-10 09:27:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504409884184281088,"timestamp_seconds":504409884184281.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301519360001,"66":13254,"110":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301519360001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:27:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:27:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301519360001,"power":13254,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":154126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:27:20] local.INFO: GPS data processed {"connection_id":154126,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:27:20] local.INFO: Acknowledgment sent {"connection_id":154126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:27:37] local.INFO: TCP Data received {"connection_id":151761,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:27:37] local.INFO: Processing buffer {"connection_id":151761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ccdca8012d34c20006aa3f08000400f327..."} 
[2026-08-10 09:27:37] local.INFO: Packet analysis {"connection_id":151761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:27:37] local.INFO: Extracted packet for processing {"connection_id":151761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cc"} 
[2026-08-10 09:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301412864001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786333945000,"timestamp_ms":1786333945000,"timestamp_seconds":1786333945,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ccdca8"} 
[2026-08-10 09:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301412864001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301412864001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301412864001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":151761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:27:37] local.INFO: GPS data processed {"connection_id":151761,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:27:37] local.INFO: Acknowledgment sent {"connection_id":151761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:27:51] local.INFO: TCP Data received {"connection_id":154126,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cf41f0012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cf41f0012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:27:51] local.INFO: Processing buffer {"connection_id":154126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cf41f0012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:27:51] local.INFO: Packet analysis {"connection_id":154126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:27:51] local.INFO: Extracted packet for processing {"connection_id":154126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:27:51] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99356352,"longitude_deg":76.318016,"latitude_deg":9.9356352,"altitude":7,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301524736001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786334102000,"timestamp_ms":1786334102000,"timestamp_seconds":1786334102,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cf41f0"} 
[2026-08-10 09:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:27: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-08-10 09: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 09:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301524736001,"66":13091,"110":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301524736001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:27:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:27:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301524736001,"power":13091,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":154126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:27:51] local.INFO: GPS data processed {"connection_id":154126,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:27:51] local.INFO: Acknowledgment sent {"connection_id":154126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:28:05] local.INFO: TCP Data received {"connection_id":154127,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:28:05] local.INFO: Processing buffer {"connection_id":154127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:28:05] local.INFO: IMEI packet received {"connection_id":154127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":154127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:28:05] local.INFO: TCP Data received {"connection_id":154127,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:28:05] local.INFO: Processing buffer {"connection_id":154127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:28:05] local.INFO: IMEI packet received {"connection_id":154127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":154127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:28:09] local.INFO: TCP Data received {"connection_id":154127,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:28:09] local.INFO: Processing buffer {"connection_id":154127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:28:09] local.INFO: IMEI packet received {"connection_id":154127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":154127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:28:10] local.INFO: TCP Data received {"connection_id":154127,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:28:10] local.INFO: Processing buffer {"connection_id":154127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:28:10] local.INFO: Packet analysis {"connection_id":154127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:28:10] local.INFO: Extracted packet for processing {"connection_id":154127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301489920001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786334246000,"timestamp_ms":1786334246000,"timestamp_seconds":1786334246,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d17470"} 
[2026-08-10 09:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:28: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-08-10 09:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301489920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301489920001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301489920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":154127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:28:10] local.INFO: GPS data processed {"connection_id":154127,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:28:10] local.INFO: Acknowledgment sent {"connection_id":154127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:28:14] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:28:14] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:28:14] local.INFO: IMEI packet received {"connection_id":151762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":151762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:28:15] local.INFO: TCP Data received {"connection_id":154127,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:28:15] local.INFO: Processing buffer {"connection_id":154127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:28:15] local.INFO: Packet analysis {"connection_id":154127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:28:15] local.INFO: Extracted packet for processing {"connection_id":154127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301489920001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786334246000,"timestamp_ms":1786334246000,"timestamp_seconds":1786334246,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d17470"} 
[2026-08-10 09:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301489920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301489920001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:28:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301489920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":154127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:28:15] local.INFO: GPS data processed {"connection_id":154127,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:28:15] local.INFO: Acknowledgment sent {"connection_id":154127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:28:19] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:28:19] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:28:19] local.INFO: IMEI packet received {"connection_id":151762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":151762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:28:21] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cf93f8012d7d348005ec0ec0000700061c..."} 
[2026-08-10 09:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cf93f8012d7d348005ec0ec0000700061c..."} 
[2026-08-10 09:28:21] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cf93f8012d7d348005ec0ec0000700061c..."} 
[2026-08-10 09:28:21] local.INFO: Packet analysis {"connection_id":151762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:28:21] local.INFO: Extracted packet for processing {"connection_id":151762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99356352,"longitude_deg":76.318016,"latitude_deg":9.9356352,"altitude":7,"angle":6,"satellites":28,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-08-10 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301530112001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786334123000,"timestamp_ms":1786334123000,"timestamp_seconds":1786334123,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cf93f8"} 
[2026-08-10 09:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 09:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301530112001,"66":13189,"110":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301530112001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:28:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:28:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301530112001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":151762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:28:21] local.INFO: GPS data processed {"connection_id":151762,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:28:21] local.INFO: Acknowledgment sent {"connection_id":151762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:28:52] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cfaf50012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cfaf50012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:28:52] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cfaf50012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:28:52] local.INFO: Packet analysis {"connection_id":151762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:28:52] local.INFO: Extracted packet for processing {"connection_id":151762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:28:52] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99356352,"longitude_deg":76.318016,"latitude_deg":9.9356352,"altitude":7,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-08-10 09:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301535488001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786334130000,"timestamp_ms":1786334130000,"timestamp_seconds":1786334130,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cfaf50"} 
[2026-08-10 09:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 09:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301535488001,"66":13243,"110":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301535488001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:28:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:28:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301535488001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":151762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:28:52] local.INFO: GPS data processed {"connection_id":151762,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:28:52] local.INFO: Acknowledgment sent {"connection_id":151762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:28:59] local.INFO: TCP Data received {"connection_id":154128,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:28:59] local.INFO: Processing buffer {"connection_id":154128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:28:59] local.INFO: IMEI packet received {"connection_id":154128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":154128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:29:04] local.INFO: TCP Data received {"connection_id":154128,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:29:04] local.INFO: Processing buffer {"connection_id":154128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:29:04] local.INFO: IMEI packet received {"connection_id":154128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":154128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:29:06] local.INFO: TCP Data received {"connection_id":154128,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:29:06] local.INFO: Processing buffer {"connection_id":154128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:29:06] local.INFO: Packet analysis {"connection_id":154128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:29:06] local.INFO: Extracted packet for processing {"connection_id":154128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301489920001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786334246000,"timestamp_ms":1786334246000,"timestamp_seconds":1786334246,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d17470"} 
[2026-08-10 09:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301489920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301489920001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301489920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":154128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:29:06] local.INFO: GPS data processed {"connection_id":154128,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:29:06] local.INFO: Acknowledgment sent {"connection_id":154128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:29:20] local.INFO: TCP Data received {"connection_id":154129,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:29:20] local.INFO: Processing buffer {"connection_id":154129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:29:20] local.INFO: IMEI packet received {"connection_id":154129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":154129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:29:24] local.INFO: TCP Data received {"connection_id":154129,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:29:24] local.INFO: Processing buffer {"connection_id":154129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:29:24] local.INFO: IMEI packet received {"connection_id":154129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":154129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:29:25] local.INFO: TCP Data received {"connection_id":154129,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cfaf50012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cfaf50012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:29:25] local.INFO: Processing buffer {"connection_id":154129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cfaf50012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:29:25] local.INFO: Packet analysis {"connection_id":154129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:29:25] local.INFO: Extracted packet for processing {"connection_id":154129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99356352,"longitude_deg":76.318016,"latitude_deg":9.9356352,"altitude":7,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-08-10 09:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786334130000,"timestamp_ms":1786334130000,"timestamp_seconds":1786334130,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cfaf50"} 
[2026-08-10 09:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":13243,"110":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:29:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:29:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":154129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:29:25] local.INFO: GPS data processed {"connection_id":154129,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:29:25] local.INFO: Acknowledgment sent {"connection_id":154129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:29:30] local.INFO: TCP Data received {"connection_id":154129,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cfaf50012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cfaf50012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:29:30] local.INFO: Processing buffer {"connection_id":154129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cfaf50012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:29:30] local.INFO: Packet analysis {"connection_id":154129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:29:30] local.INFO: Extracted packet for processing {"connection_id":154129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99356352,"longitude_deg":76.318016,"latitude_deg":9.9356352,"altitude":7,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-08-10 09:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786334130000,"timestamp_ms":1786334130000,"timestamp_seconds":1786334130,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cfaf50"} 
[2026-08-10 09:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":13243,"110":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:29:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:29:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":154129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:29:30] local.INFO: GPS data processed {"connection_id":154129,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:29:30] local.INFO: Acknowledgment sent {"connection_id":154129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:29:37] local.INFO: TCP Data received {"connection_id":154128,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:29:37] local.INFO: Processing buffer {"connection_id":154128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:29:37] local.INFO: Packet analysis {"connection_id":154128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:29:37] local.INFO: Extracted packet for processing {"connection_id":154128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301489920001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786334246000,"timestamp_ms":1786334246000,"timestamp_seconds":1786334246,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d17470"} 
[2026-08-10 09:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:29: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-08-10 09:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301489920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301489920001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301489920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":154128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:29:37] local.INFO: GPS data processed {"connection_id":154128,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:29:37] local.INFO: Acknowledgment sent {"connection_id":154128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:29:59] local.INFO: TCP Data received {"connection_id":152672,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:29:59] local.INFO: Processing buffer {"connection_id":152672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:29:59] local.INFO: IMEI packet received {"connection_id":152672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":152672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:30:05] local.INFO: TCP Data received {"connection_id":152672,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:30:05] local.INFO: Processing buffer {"connection_id":152672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:30:05] local.INFO: IMEI packet received {"connection_id":152672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":152672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:30:06] local.INFO: TCP Data received {"connection_id":152672,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:30:06] local.INFO: Processing buffer {"connection_id":152672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:30:06] local.INFO: Packet analysis {"connection_id":152672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:30:06] local.INFO: Extracted packet for processing {"connection_id":152672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301489920001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786334246000,"timestamp_ms":1786334246000,"timestamp_seconds":1786334246,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d17470"} 
[2026-08-10 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-08-10 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301489920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301489920001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301489920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":152672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:30:06] local.INFO: GPS data processed {"connection_id":152672,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:30:06] local.INFO: Acknowledgment sent {"connection_id":152672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:30:14] local.INFO: TCP Data received {"connection_id":151378,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:30:14] local.INFO: Processing buffer {"connection_id":151378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:30:14] local.INFO: IMEI packet received {"connection_id":151378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":151378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:30:19] local.INFO: TCP Data received {"connection_id":151378,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:30:19] local.INFO: Processing buffer {"connection_id":151378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:30:19] local.INFO: IMEI packet received {"connection_id":151378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":151378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:30:20] local.INFO: TCP Data received {"connection_id":151378,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9cfaf50012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9cfaf50012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:30:20] local.INFO: Processing buffer {"connection_id":151378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9cfaf50012d7d348005ec0ec0000700061d..."} 
[2026-08-10 09:30:20] local.INFO: Packet analysis {"connection_id":151378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:30:20] local.INFO: Extracted packet for processing {"connection_id":151378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9cf"} 
[2026-08-10 09:30:20] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99356352,"longitude_deg":76.318016,"latitude_deg":9.9356352,"altitude":7,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-08-10 09:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786334130000,"timestamp_ms":1786334130000,"timestamp_seconds":1786334130,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9cfaf50"} 
[2026-08-10 09:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":13243,"110":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 09:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:30:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 09:30:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":151378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:30:20] local.INFO: GPS data processed {"connection_id":151378,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:30:20] local.INFO: Acknowledgment sent {"connection_id":151378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:30:37] local.INFO: TCP Data received {"connection_id":152672,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:30:37] local.INFO: Processing buffer {"connection_id":152672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:30:37] local.INFO: Packet analysis {"connection_id":152672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:30:37] local.INFO: Extracted packet for processing {"connection_id":152672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301489920001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786334246000,"timestamp_ms":1786334246000,"timestamp_seconds":1786334246,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d17470"} 
[2026-08-10 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-08-10 09:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301489920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301489920001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301489920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":152672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:30:37] local.INFO: GPS data processed {"connection_id":152672,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:30:37] local.INFO: Acknowledgment sent {"connection_id":152672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:30:52] local.INFO: TCP Data received {"connection_id":151378,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:30:52] local.INFO: Processing buffer {"connection_id":151378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:30:52] local.INFO: Packet analysis {"connection_id":151378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:30:52] local.INFO: Extracted packet for processing {"connection_id":151378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:30:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":23,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786334433000,"timestamp_ms":1786334433000,"timestamp_seconds":1786334433,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d44ee8"} 
[2026-08-10 09:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":12961,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:30:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:30:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":12961,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":151378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:30:52] local.INFO: GPS data processed {"connection_id":151378,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:30:52] local.INFO: Acknowledgment sent {"connection_id":151378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:30:59] local.INFO: TCP Data received {"connection_id":151379,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:30:59] local.INFO: Processing buffer {"connection_id":151379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:30:59] local.INFO: IMEI packet received {"connection_id":151379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":151379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:31:05] local.INFO: TCP Data received {"connection_id":151379,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:31:05] local.INFO: Processing buffer {"connection_id":151379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:31:05] local.INFO: IMEI packet received {"connection_id":151379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":151379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:31:06] local.INFO: TCP Data received {"connection_id":151379,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:31:06] local.INFO: Processing buffer {"connection_id":151379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:31:06] local.INFO: Packet analysis {"connection_id":151379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:31:06] local.INFO: Extracted packet for processing {"connection_id":151379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301489920001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786334246000,"timestamp_ms":1786334246000,"timestamp_seconds":1786334246,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d17470"} 
[2026-08-10 09:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301489920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301489920001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301489920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":151379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:31:06] local.INFO: GPS data processed {"connection_id":151379,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:31:06] local.INFO: Acknowledgment sent {"connection_id":151379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:31:14] local.INFO: TCP Data received {"connection_id":152673,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:31:14] local.INFO: Processing buffer {"connection_id":152673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:31:14] local.INFO: IMEI packet received {"connection_id":152673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":152673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:31:19] local.INFO: TCP Data received {"connection_id":152673,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:31:19] local.INFO: Processing buffer {"connection_id":152673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:31:19] local.INFO: IMEI packet received {"connection_id":152673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":152673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:31:20] local.INFO: TCP Data received {"connection_id":152673,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:31:20] local.INFO: Processing buffer {"connection_id":152673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:31:20] local.INFO: Packet analysis {"connection_id":152673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:31:20] local.INFO: Extracted packet for processing {"connection_id":152673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:31:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":23,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786334433000,"timestamp_ms":1786334433000,"timestamp_seconds":1786334433,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d44ee8"} 
[2026-08-10 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-08-10 09:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":12961,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:31:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:31:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":12961,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":152673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:31:20] local.INFO: GPS data processed {"connection_id":152673,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:31:20] local.INFO: Acknowledgment sent {"connection_id":152673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:31:38] local.INFO: TCP Data received {"connection_id":151379,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:31:38] local.INFO: Processing buffer {"connection_id":151379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:31:38] local.INFO: Packet analysis {"connection_id":151379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:31:38] local.INFO: Extracted packet for processing {"connection_id":151379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301489920001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786334246000,"timestamp_ms":1786334246000,"timestamp_seconds":1786334246,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d17470"} 
[2026-08-10 09:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301489920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301489920001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301489920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":151379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:31:38] local.INFO: GPS data processed {"connection_id":151379,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:31:38] local.INFO: Acknowledgment sent {"connection_id":151379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:31:52] local.INFO: TCP Data received {"connection_id":152673,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:31:52] local.INFO: Processing buffer {"connection_id":152673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:31:52] local.INFO: Packet analysis {"connection_id":152673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:31:52] local.INFO: Extracted packet for processing {"connection_id":152673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:31:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":23,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786334433000,"timestamp_ms":1786334433000,"timestamp_seconds":1786334433,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d44ee8"} 
[2026-08-10 09:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":12961,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:31:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:31:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":12961,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":152673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:31:52] local.INFO: GPS data processed {"connection_id":152673,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:31:52] local.INFO: Acknowledgment sent {"connection_id":152673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:32:04] local.INFO: TCP Data received {"connection_id":154130,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:32:04] local.INFO: Processing buffer {"connection_id":154130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:32:04] local.INFO: IMEI packet received {"connection_id":154130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":154130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:32:09] local.INFO: TCP Data received {"connection_id":154130,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:32:09] local.INFO: Processing buffer {"connection_id":154130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:32:09] local.INFO: IMEI packet received {"connection_id":154130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":154130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:32:10] local.INFO: TCP Data received {"connection_id":154130,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:32:10] local.INFO: Processing buffer {"connection_id":154130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:32:10] local.INFO: Packet analysis {"connection_id":154130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:32:10] local.INFO: Extracted packet for processing {"connection_id":154130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301489920001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786334246000,"timestamp_ms":1786334246000,"timestamp_seconds":1786334246,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d17470"} 
[2026-08-10 09:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301489920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301489920001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301489920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":154130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:32:10] local.INFO: GPS data processed {"connection_id":154130,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:32:10] local.INFO: Acknowledgment sent {"connection_id":154130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:32:14] local.INFO: TCP Data received {"connection_id":152674,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:32:14] local.INFO: Processing buffer {"connection_id":152674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:32:14] local.INFO: IMEI packet received {"connection_id":152674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":152674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:32:15] local.INFO: TCP Data received {"connection_id":151380,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:32:15] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:32:15] local.INFO: IMEI packet received {"connection_id":151380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":151380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:32:15] local.INFO: TCP Data received {"connection_id":154130,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:32:15] local.INFO: Processing buffer {"connection_id":154130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:32:15] local.INFO: Packet analysis {"connection_id":154130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:32:15] local.INFO: Extracted packet for processing {"connection_id":154130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301489920001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786334246000,"timestamp_ms":1786334246000,"timestamp_seconds":1786334246,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d17470"} 
[2026-08-10 09:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301489920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301489920001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301489920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":154130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:32:15] local.INFO: GPS data processed {"connection_id":154130,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:32:15] local.INFO: Acknowledgment sent {"connection_id":154130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:32:16] local.INFO: TCP Data received {"connection_id":151380,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:32:16] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:32:16] local.INFO: IMEI packet received {"connection_id":151380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":151380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:32:19] local.INFO: TCP Data received {"connection_id":152674,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:32:19] local.INFO: Processing buffer {"connection_id":152674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:32:19] local.INFO: IMEI packet received {"connection_id":152674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":152674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:32:20] local.INFO: TCP Data received {"connection_id":151380,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:32:20] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:32:20] local.INFO: IMEI packet received {"connection_id":151380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":151380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:32:20] local.INFO: TCP Data received {"connection_id":152674,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:32:20] local.INFO: Processing buffer {"connection_id":152674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:32:20] local.INFO: Packet analysis {"connection_id":152674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:32:20] local.INFO: Extracted packet for processing {"connection_id":152674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":23,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786334433000,"timestamp_ms":1786334433000,"timestamp_seconds":1786334433,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d44ee8"} 
[2026-08-10 09:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":12961,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:32:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:32:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":12961,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":152674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:32:21] local.INFO: GPS data processed {"connection_id":152674,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:32:21] local.INFO: Acknowledgment sent {"connection_id":152674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:32:21] local.INFO: TCP Data received {"connection_id":151380,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-10 09:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-10 09:32:21] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-10 09:32:21] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 09:32:21] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 09:32:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 09:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327499501830144,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:32:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 09:32:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 09:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-10 09:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-10 09:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 09:32:21] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 09:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 09:32:21] local.ERROR: GPS data processing failed {"connection_id":151380,"error":"No valid data to process"} 
[2026-08-10 09:32:21] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 09:32:52] local.INFO: TCP Data received {"connection_id":151380,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d623a8012d1965c0071ff078002900aa07..."} 
[2026-08-10 09:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d623a8012d1965c0071ff078002900aa07..."} 
[2026-08-10 09:32:52] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d623a8012d1965c0071ff078002900aa07..."} 
[2026-08-10 09:32:52] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:32:52] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533688,"longitude_deg":75.6639168,"latitude_deg":11.9533688,"altitude":41,"angle":170,"satellites":7,"speed":1,"hex_longitude":"2d1965c0","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-08-10 09:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327520976666624,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786334553000,"timestamp_ms":1786334553000,"timestamp_seconds":1786334553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d623a8"} 
[2026-08-10 09:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:32: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-10 09:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12287,"102":206,"83":41984,"24":1,"16":11327520976666624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16]} 
[2026-08-10 09:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-10 09:32:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 09:32:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11327520976666624,"km_value":11327520976666.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:32:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null}} 
[2026-08-10 09:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:32:52] local.INFO: GPS data processed {"connection_id":151380,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:32:52] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:32:52] local.INFO: TCP Data received {"connection_id":152674,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:32:52] local.INFO: Processing buffer {"connection_id":152674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:32:52] local.INFO: Packet analysis {"connection_id":152674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:32:52] local.INFO: Extracted packet for processing {"connection_id":152674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:32:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":23,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786334433000,"timestamp_ms":1786334433000,"timestamp_seconds":1786334433,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d44ee8"} 
[2026-08-10 09:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":12961,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:32:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:32:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":12961,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":152674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:32:52] local.INFO: GPS data processed {"connection_id":152674,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:32:52] local.INFO: Acknowledgment sent {"connection_id":152674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:32:59] local.INFO: TCP Data received {"connection_id":154131,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:32:59] local.INFO: Processing buffer {"connection_id":154131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:32:59] local.INFO: IMEI packet received {"connection_id":154131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":154131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:33:04] local.INFO: TCP Data received {"connection_id":154131,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:33:04] local.INFO: Processing buffer {"connection_id":154131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:33:04] local.INFO: IMEI packet received {"connection_id":154131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":154131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:33:06] local.INFO: TCP Data received {"connection_id":154131,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:33:06] local.INFO: Processing buffer {"connection_id":154131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d17470012d34c20006aa3f08000400f328..."} 
[2026-08-10 09:33:06] local.INFO: Packet analysis {"connection_id":154131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:33:06] local.INFO: Extracted packet for processing {"connection_id":154131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d1"} 
[2026-08-10 09:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":4,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301489920001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786334246000,"timestamp_ms":1786334246000,"timestamp_seconds":1786334246,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d17470"} 
[2026-08-10 09:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301489920001,"66":25375,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301489920001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301489920001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":154131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:33:06] local.INFO: GPS data processed {"connection_id":154131,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:33:06] local.INFO: Acknowledgment sent {"connection_id":154131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:33:06] local.INFO: TCP Data received {"connection_id":154132,"ip":"117.224.91.69","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:33:06] local.INFO: Processing buffer {"connection_id":154132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:33:06] local.INFO: IMEI packet received {"connection_id":154132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":154132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:33:07] local.INFO: TCP Data received {"connection_id":154132,"ip":"117.224.91.69","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:33:07] local.INFO: Processing buffer {"connection_id":154132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:33:07] local.INFO: IMEI packet received {"connection_id":154132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":154132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:33:08] local.INFO: TCP Data received {"connection_id":154132,"ip":"117.224.91.69","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:33:08] local.INFO: Processing buffer {"connection_id":154132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:33:08] local.INFO: IMEI packet received {"connection_id":154132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":154132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:33:19] local.INFO: TCP Data received {"connection_id":151381,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:33:19] local.INFO: Processing buffer {"connection_id":151381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:33:19] local.INFO: IMEI packet received {"connection_id":151381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":151381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:33:23] local.INFO: TCP Data received {"connection_id":151380,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d66228012d1966c0071fef68003100880a..."} 
[2026-08-10 09:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d66228012d1966c0071fef68003100880a..."} 
[2026-08-10 09:33:23] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d66228012d1966c0071fef68003100880a..."} 
[2026-08-10 09:33:23] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:33:23] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533416,"longitude_deg":75.6639424,"latitude_deg":11.9533416,"altitude":49,"angle":136,"satellites":10,"speed":1,"hex_longitude":"2d1966c0","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-10 09:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301645568001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327542451503104,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429131776,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786334569000,"timestamp_ms":1786334569000,"timestamp_seconds":1786334569,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d66228"} 
[2026-08-10 09:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301645568001,"66":12254,"102":206,"83":41984,"24":1,"16":11327542451503104,"45":1830079960429131776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 09:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301645568001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:33:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 09:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11327542451503104,"km_value":11327542451503.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429131776,"description":"Unknown IO ID 45"} 
[2026-08-10 09:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301645568001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1830079960429131776}} 
[2026-08-10 09:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:33:23] local.INFO: GPS data processed {"connection_id":151380,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:33:23] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:33:24] local.INFO: TCP Data received {"connection_id":151381,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:33:24] local.INFO: Processing buffer {"connection_id":151381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:33:24] local.INFO: IMEI packet received {"connection_id":151381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":151381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:33:25] local.INFO: TCP Data received {"connection_id":151381,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:33:25] local.INFO: Processing buffer {"connection_id":151381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:33:25] local.INFO: Packet analysis {"connection_id":151381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:33:25] local.INFO: Extracted packet for processing {"connection_id":151381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:33:25] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":23,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786334433000,"timestamp_ms":1786334433000,"timestamp_seconds":1786334433,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d44ee8"} 
[2026-08-10 09:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":12961,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:33:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:33:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":12961,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":151381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:33:25] local.INFO: GPS data processed {"connection_id":151381,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:33:25] local.INFO: Acknowledgment sent {"connection_id":151381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:33:37] local.INFO: TCP Data received {"connection_id":154131,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:33:37] local.INFO: Processing buffer {"connection_id":154131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:33:37] local.INFO: Packet analysis {"connection_id":154131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:33:37] local.INFO: Extracted packet for processing {"connection_id":154131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301566976001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786334547000,"timestamp_ms":1786334547000,"timestamp_seconds":1786334547,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d60c38"} 
[2026-08-10 09:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301566976001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301566976001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301566976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":154131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:33:37] local.INFO: GPS data processed {"connection_id":154131,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:33:37] local.INFO: Acknowledgment sent {"connection_id":154131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:33:44] local.INFO: TCP Data received {"connection_id":151763,"ip":"117.224.91.69","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151763,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:33:44] local.INFO: Processing buffer {"connection_id":151763,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:33:44] local.INFO: IMEI packet received {"connection_id":151763,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":151763,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:33:54] local.INFO: TCP Data received {"connection_id":151380,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d72d48012d198400071fefa8003400450b..."} 
[2026-08-10 09:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d72d48012d198400071fefa8003400450b..."} 
[2026-08-10 09:33:54] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d72d48012d198400071fefa8003400450b..."} 
[2026-08-10 09:33:54] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d7"} 
[2026-08-10 09:33:54] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d7"} 
[2026-08-10 09:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756646912,"raw_latitude":119533480,"longitude_deg":75.6646912,"latitude_deg":11.953348,"altitude":52,"angle":69,"satellites":11,"speed":21,"hex_longitude":"2d198400","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-08-10 09:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301662464001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327980538167296,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837468678567600128,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786334621000,"timestamp_ms":1786334621000,"timestamp_seconds":1786334621,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d72d48"} 
[2026-08-10 09:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-10 09:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301662464001,"66":14211,"102":206,"83":41984,"24":21,"16":11327980538167296,"45":1837468678567600128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 09:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301662464001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:33:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 09:33:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11327980538167296,"km_value":11327980538167.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837468678567600128,"description":"Unknown IO ID 45"} 
[2026-08-10 09:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301662464001,"power":14211,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1837468678567600128}} 
[2026-08-10 09:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:33:54] local.INFO: GPS data processed {"connection_id":151380,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:33:54] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:33:56] local.INFO: TCP Data received {"connection_id":151381,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:33:56] local.INFO: Processing buffer {"connection_id":151381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:33:56] local.INFO: Packet analysis {"connection_id":151381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:33:56] local.INFO: Extracted packet for processing {"connection_id":151381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":23,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786334433000,"timestamp_ms":1786334433000,"timestamp_seconds":1786334433,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d44ee8"} 
[2026-08-10 09:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":12961,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:33:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:33:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":12961,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":151381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:33:57] local.INFO: GPS data processed {"connection_id":151381,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:33:57] local.INFO: Acknowledgment sent {"connection_id":151381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:33:59] local.INFO: TCP Data received {"connection_id":151382,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:33:59] local.INFO: Processing buffer {"connection_id":151382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:33:59] local.INFO: IMEI packet received {"connection_id":151382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":151382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:34:04] local.INFO: TCP Data received {"connection_id":151382,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:34:04] local.INFO: Processing buffer {"connection_id":151382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:34:04] local.INFO: IMEI packet received {"connection_id":151382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":151382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:34:05] local.INFO: TCP Data received {"connection_id":151382,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:34:05] local.INFO: Processing buffer {"connection_id":151382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:34:05] local.INFO: Packet analysis {"connection_id":151382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:34:05] local.INFO: Extracted packet for processing {"connection_id":151382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301566976001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786334547000,"timestamp_ms":1786334547000,"timestamp_seconds":1786334547,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d60c38"} 
[2026-08-10 09:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:34: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-08-10 09:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301566976001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301566976001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301566976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":151382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:34:06] local.INFO: GPS data processed {"connection_id":151382,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:34:06] local.INFO: Acknowledgment sent {"connection_id":151382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:34:14] local.INFO: TCP Data received {"connection_id":154133,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:34:14] local.INFO: Processing buffer {"connection_id":154133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:34:14] local.INFO: IMEI packet received {"connection_id":154133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":154133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:34:19] local.INFO: TCP Data received {"connection_id":154133,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:34:19] local.INFO: Processing buffer {"connection_id":154133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:34:19] local.INFO: IMEI packet received {"connection_id":154133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":154133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:34:20] local.INFO: TCP Data received {"connection_id":154133,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:34:20] local.INFO: Processing buffer {"connection_id":154133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:34:20] local.INFO: Packet analysis {"connection_id":154133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:34:20] local.INFO: Extracted packet for processing {"connection_id":154133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:34:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":23,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786334433000,"timestamp_ms":1786334433000,"timestamp_seconds":1786334433,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d44ee8"} 
[2026-08-10 09:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":12961,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:34:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:34:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":12961,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":154133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:34:20] local.INFO: GPS data processed {"connection_id":154133,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:34:20] local.INFO: Acknowledgment sent {"connection_id":154133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:34:25] local.INFO: TCP Data received {"connection_id":151380,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d73130012d198600071ff028003400530b..."} 
[2026-08-10 09:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d73130012d198600071ff028003400530b..."} 
[2026-08-10 09:34:25] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d73130012d198600071ff028003400530b..."} 
[2026-08-10 09:34:25] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d7"} 
[2026-08-10 09:34:25] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d7"} 
[2026-08-10 09:34:25] local.INFO: GPS Element Parsed {"raw_longitude":756647424,"raw_latitude":119533608,"longitude_deg":75.6647424,"latitude_deg":11.9533608,"altitude":52,"angle":83,"satellites":11,"speed":22,"hex_longitude":"2d198600","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-08-10 09:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301662976001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11328006307971072,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838594578474575872,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786334622000,"timestamp_ms":1786334622000,"timestamp_seconds":1786334622,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d73130"} 
[2026-08-10 09:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 09:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301662976001,"66":14157,"102":206,"83":41984,"24":22,"16":11328006307971072,"45":1838594578474575872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 09:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301662976001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:34:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 09:34:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11328006307971072,"km_value":11328006307971.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838594578474575872,"description":"Unknown IO ID 45"} 
[2026-08-10 09:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301662976001,"power":14157,"unknown_102":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1838594578474575872}} 
[2026-08-10 09:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:34:25] local.INFO: GPS data processed {"connection_id":151380,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:34:25] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:34:37] local.INFO: TCP Data received {"connection_id":151382,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:34:37] local.INFO: Processing buffer {"connection_id":151382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:34:37] local.INFO: Packet analysis {"connection_id":151382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:34:37] local.INFO: Extracted packet for processing {"connection_id":151382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301566976001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786334547000,"timestamp_ms":1786334547000,"timestamp_seconds":1786334547,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d60c38"} 
[2026-08-10 09:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:34: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-08-10 09:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301566976001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301566976001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301566976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":151382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:34:37] local.INFO: GPS data processed {"connection_id":151382,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:34:37] local.INFO: Acknowledgment sent {"connection_id":151382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:34:51] local.INFO: TCP Data received {"connection_id":154133,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:34:52] local.INFO: Processing buffer {"connection_id":154133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:34:52] local.INFO: Packet analysis {"connection_id":154133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:34:52] local.INFO: Extracted packet for processing {"connection_id":154133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:34:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":23,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786334433000,"timestamp_ms":1786334433000,"timestamp_seconds":1786334433,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d44ee8"} 
[2026-08-10 09:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":12961,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:34:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:34:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":12961,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":154133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:34:52] local.INFO: GPS data processed {"connection_id":154133,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:34:52] local.INFO: Acknowledgment sent {"connection_id":154133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:34:57] local.INFO: TCP Data received {"connection_id":151380,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d82748012d19c8c007201e18001101320b..."} 
[2026-08-10 09:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d82748012d19c8c007201e18001101320b..."} 
[2026-08-10 09:34:57] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d82748012d19c8c007201e18001101320b..."} 
[2026-08-10 09:34:57] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:34:57] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119545368,"longitude_deg":75.6664512,"latitude_deg":11.9545368,"altitude":17,"angle":306,"satellites":11,"speed":8,"hex_longitude":"2d19c8c0","hex_latitude":"07201e18","is_valid_coordinates":true} 
[2026-08-10 09:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301678080001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11329646985478144,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570474584064,"note":"Value kept but may cause issues"} 
[2026-08-10 09:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786334685000,"timestamp_ms":1786334685000,"timestamp_seconds":1786334685,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d82748"} 
[2026-08-10 09:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 09:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301678080001,"66":14211,"101":206,"83":41984,"24":8,"16":11329646985478144,"45":1859775570474584064},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 09:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301678080001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:34:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 09:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11329646985478144,"km_value":11329646985478.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570474584064,"description":"Unknown IO ID 45"} 
[2026-08-10 09:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301678080001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1859775570474584064}} 
[2026-08-10 09:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:34:57] local.INFO: GPS data processed {"connection_id":151380,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:34:57] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:34:59] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:34:59] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:34:59] local.INFO: IMEI packet received {"connection_id":151764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":151764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:35:04] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:35:04] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:35:04] local.INFO: IMEI packet received {"connection_id":151764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":151764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:35:05] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:35:05] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:35:05] local.INFO: Packet analysis {"connection_id":151764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:35:05] local.INFO: Extracted packet for processing {"connection_id":151764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301566976001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786334547000,"timestamp_ms":1786334547000,"timestamp_seconds":1786334547,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d60c38"} 
[2026-08-10 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-08-10 09:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:35: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-08-10 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-08-10 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-08-10 09:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301566976001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301566976001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301566976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":151764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:35:05] local.INFO: GPS data processed {"connection_id":151764,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:35:05] local.INFO: Acknowledgment sent {"connection_id":151764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:35:15] local.INFO: TCP Data received {"connection_id":152675,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:35:15] local.INFO: Processing buffer {"connection_id":152675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:35:15] local.INFO: IMEI packet received {"connection_id":152675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":152675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:35:19] local.INFO: TCP Data received {"connection_id":152675,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:35:19] local.INFO: Processing buffer {"connection_id":152675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:35:19] local.INFO: IMEI packet received {"connection_id":152675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":152675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:35:20] local.INFO: TCP Data received {"connection_id":152675,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:35:20] local.INFO: Processing buffer {"connection_id":152675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d44ee8012d7d358005ec0eb00006000617..."} 
[2026-08-10 09:35:20] local.INFO: Packet analysis {"connection_id":152675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:35:20] local.INFO: Extracted packet for processing {"connection_id":152675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d4"} 
[2026-08-10 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":23,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453527552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786334433000,"timestamp_ms":1786334433000,"timestamp_seconds":1786334433,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d44ee8"} 
[2026-08-10 09:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301537280001,"66":12961,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9021976716453527552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:35:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:35:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453527552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301537280001,"power":12961,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453527552}} 
[2026-08-10 09:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":152675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:35:20] local.INFO: GPS data processed {"connection_id":152675,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:35:20] local.INFO: Acknowledgment sent {"connection_id":152675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:35:28] local.INFO: TCP Data received {"connection_id":151380,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d82b30012d19c84007201e580010011d0b..."} 
[2026-08-10 09:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d82b30012d19c84007201e580010011d0b..."} 
[2026-08-10 09:35:28] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d82b30012d19c84007201e580010011d0b..."} 
[2026-08-10 09:35:28] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:35:28] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756664384,"raw_latitude":119545432,"longitude_deg":75.6664384,"latitude_deg":11.9545432,"altitude":16,"angle":285,"satellites":11,"speed":6,"hex_longitude":"2d19c840","hex_latitude":"07201e58","is_valid_coordinates":true} 
[2026-08-10 09:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301679360001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11329655575412736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857945983126476800,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786334686000,"timestamp_ms":1786334686000,"timestamp_seconds":1786334686,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d82b30"} 
[2026-08-10 09:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 09:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301679360001,"66":14113,"101":206,"83":41984,"24":6,"16":11329655575412736,"45":1857945983126476800},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 09:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301679360001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:35:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 09:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11329655575412736,"km_value":11329655575412.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857945983126476800,"description":"Unknown IO ID 45"} 
[2026-08-10 09:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301679360001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1857945983126476800}} 
[2026-08-10 09:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:35:28] local.INFO: GPS data processed {"connection_id":151380,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:35:28] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:35:37] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:35:37] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:35:37] local.INFO: Packet analysis {"connection_id":151764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:35:37] local.INFO: Extracted packet for processing {"connection_id":151764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301566976001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786334547000,"timestamp_ms":1786334547000,"timestamp_seconds":1786334547,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d60c38"} 
[2026-08-10 09:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301566976001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301566976001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301566976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":151764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:35:37] local.INFO: GPS data processed {"connection_id":151764,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:35:37] local.INFO: Acknowledgment sent {"connection_id":151764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:35:51] local.INFO: TCP Data received {"connection_id":152675,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d8cf40012d7d358005ec0eb0000600061a..."} 
[2026-08-10 09:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d8cf40012d7d358005ec0eb0000600061a..."} 
[2026-08-10 09:35:51] local.INFO: Processing buffer {"connection_id":152675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d8cf40012d7d358005ec0eb0000600061a..."} 
[2026-08-10 09:35:51] local.INFO: Packet analysis {"connection_id":152675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:35:51] local.INFO: Extracted packet for processing {"connection_id":152675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:35:51] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301614848001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786334728000,"timestamp_ms":1786334728000,"timestamp_seconds":1786334728,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d8cf40"} 
[2026-08-10 09:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 09:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301614848001,"66":12645,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301614848001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:35:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:35:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301614848001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":152675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:35:51] local.INFO: GPS data processed {"connection_id":152675,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:35:51] local.INFO: Acknowledgment sent {"connection_id":152675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:35:59] local.INFO: TCP Data received {"connection_id":151380,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d82f18012d19c78007201e68000f010c0b..."} 
[2026-08-10 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d82f18012d19c78007201e68000f010c0b..."} 
[2026-08-10 09:35:59] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d82f18012d19c78007201e68000f010c0b..."} 
[2026-08-10 09:35:59] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:35:59] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756664192,"raw_latitude":119545448,"longitude_deg":75.6664192,"latitude_deg":11.9545448,"altitude":15,"angle":268,"satellites":11,"speed":6,"hex_longitude":"2d19c780","hex_latitude":"07201e68","is_valid_coordinates":true} 
[2026-08-10 09:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301679616001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11329664165347328,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857805245638137856,"note":"Value kept but may cause issues"} 
[2026-08-10 09:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786334687000,"timestamp_ms":1786334687000,"timestamp_seconds":1786334687,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d82f18"} 
[2026-08-10 09:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-10 09:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301679616001,"66":14113,"101":206,"83":41984,"24":6,"16":11329664165347328,"45":1857805245638137856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 09:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301679616001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:35:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 09:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11329664165347328,"km_value":11329664165347.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857805245638137856,"description":"Unknown IO ID 45"} 
[2026-08-10 09:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301679616001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1857805245638137856}} 
[2026-08-10 09:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:35:59] local.INFO: GPS data processed {"connection_id":151380,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:35:59] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:36:05] local.INFO: TCP Data received {"connection_id":152676,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:36:05] local.INFO: Processing buffer {"connection_id":152676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:36:05] local.INFO: IMEI packet received {"connection_id":152676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":152676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:36:09] local.INFO: TCP Data received {"connection_id":152676,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:36:09] local.INFO: Processing buffer {"connection_id":152676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:36:09] local.INFO: IMEI packet received {"connection_id":152676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":152676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:36:10] local.INFO: TCP Data received {"connection_id":152676,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:36:10] local.INFO: Processing buffer {"connection_id":152676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:36:10] local.INFO: Packet analysis {"connection_id":152676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:36:10] local.INFO: Extracted packet for processing {"connection_id":152676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301566976001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786334547000,"timestamp_ms":1786334547000,"timestamp_seconds":1786334547,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d60c38"} 
[2026-08-10 09:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301566976001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301566976001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301566976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":152676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:36:10] local.INFO: GPS data processed {"connection_id":152676,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:36:10] local.INFO: Acknowledgment sent {"connection_id":152676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:36:14] local.INFO: TCP Data received {"connection_id":152677,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:36:14] local.INFO: Processing buffer {"connection_id":152677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:36:14] local.INFO: IMEI packet received {"connection_id":152677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":152677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:36:15] local.INFO: TCP Data received {"connection_id":152676,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:36:15] local.INFO: Processing buffer {"connection_id":152676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:36:15] local.INFO: Packet analysis {"connection_id":152676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:36:15] local.INFO: Extracted packet for processing {"connection_id":152676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301566976001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786334547000,"timestamp_ms":1786334547000,"timestamp_seconds":1786334547,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d60c38"} 
[2026-08-10 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-08-10 09:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301566976001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301566976001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301566976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":152676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:36:15] local.INFO: GPS data processed {"connection_id":152676,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:36:15] local.INFO: Acknowledgment sent {"connection_id":152676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:36:19] local.INFO: TCP Data received {"connection_id":152677,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:36:19] local.INFO: Processing buffer {"connection_id":152677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:36:19] local.INFO: IMEI packet received {"connection_id":152677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":152677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:36:20] local.INFO: TCP Data received {"connection_id":152677,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d8cf40012d7d358005ec0eb0000600061a..."} 
[2026-08-10 09:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d8cf40012d7d358005ec0eb0000600061a..."} 
[2026-08-10 09:36:20] local.INFO: Processing buffer {"connection_id":152677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d8cf40012d7d358005ec0eb0000600061a..."} 
[2026-08-10 09:36:20] local.INFO: Packet analysis {"connection_id":152677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:36:20] local.INFO: Extracted packet for processing {"connection_id":152677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:36:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301690368001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786334728000,"timestamp_ms":1786334728000,"timestamp_seconds":1786334728,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d8cf40"} 
[2026-08-10 09:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:36: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-08-10 09:36: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-08-10 09:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301690368001,"66":12645,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301690368001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:36:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:36:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301690368001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":152677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:36:20] local.INFO: GPS data processed {"connection_id":152677,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:36:20] local.INFO: Acknowledgment sent {"connection_id":152677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:36:30] local.INFO: TCP Data received {"connection_id":151380,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d99a60012d1960c00720abf0002601080d..."} 
[2026-08-10 09:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d99a60012d1960c00720abf0002601080d..."} 
[2026-08-10 09:36:30] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d99a60012d1960c00720abf0002601080d..."} 
[2026-08-10 09:36:30] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d9"} 
[2026-08-10 09:36:30] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d9"} 
[2026-08-10 09:36:30] local.INFO: GPS Element Parsed {"raw_longitude":756637888,"raw_latitude":119581680,"longitude_deg":75.6637888,"latitude_deg":11.958168,"altitude":38,"angle":264,"satellites":13,"speed":48,"hex_longitude":"2d1960c0","hex_latitude":"0720abf0","is_valid_coordinates":true} 
[2026-08-10 09:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301702656001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11332610512912384,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978859788288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786334780000,"timestamp_ms":1786334780000,"timestamp_seconds":1786334780,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d99a60"} 
[2026-08-10 09:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 09:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301702656001,"66":14396,"103":206,"83":41984,"24":48,"16":11332610512912384,"45":1834090978859788288},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 09:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301702656001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:36:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 09:36:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11332610512912384,"km_value":11332610512912.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978859788288,"description":"Unknown IO ID 45"} 
[2026-08-10 09:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301702656001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1834090978859788288}} 
[2026-08-10 09:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:36:30] local.INFO: GPS data processed {"connection_id":151380,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:36:30] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:36:52] local.INFO: TCP Data received {"connection_id":152677,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:36:52] local.INFO: Processing buffer {"connection_id":152677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:36:52] local.INFO: Packet analysis {"connection_id":152677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:36:52] local.INFO: Extracted packet for processing {"connection_id":152677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:36:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301690368001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786334734000,"timestamp_ms":1786334734000,"timestamp_seconds":1786334734,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d8e6b0"} 
[2026-08-10 09:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 09:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301690368001,"66":3677,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301690368001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:36:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:36:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301690368001,"power":3677,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":152677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:36:52] local.INFO: GPS data processed {"connection_id":152677,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:36:52] local.INFO: Acknowledgment sent {"connection_id":152677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:36:55] local.INFO: TCP Data received {"connection_id":152678,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:36:55] local.INFO: Processing buffer {"connection_id":152678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:36:55] local.INFO: IMEI packet received {"connection_id":152678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":152678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:36:59] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:36:59] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:36:59] local.INFO: IMEI packet received {"connection_id":151765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":151765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:37:00] local.INFO: TCP Data received {"connection_id":152678,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:37:00] local.INFO: Processing buffer {"connection_id":152678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:37:00] local.INFO: IMEI packet received {"connection_id":152678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":152678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:37:01] local.INFO: TCP Data received {"connection_id":152678,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d9aa00012d194e000720ac40002601180d..."} 
[2026-08-10 09:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d9aa00012d194e000720ac40002601180d..."} 
[2026-08-10 09:37:01] local.INFO: Processing buffer {"connection_id":152678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d9aa00012d194e000720ac40002601180d..."} 
[2026-08-10 09:37:01] local.INFO: Packet analysis {"connection_id":152678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d9"} 
[2026-08-10 09:37:01] local.INFO: Extracted packet for processing {"connection_id":152678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d9"} 
[2026-08-10 09:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119581760,"longitude_deg":75.6633088,"latitude_deg":11.958176,"altitude":38,"angle":280,"satellites":13,"speed":47,"hex_longitude":"2d194e00","hex_latitude":"0720ac40","is_valid_coordinates":true} 
[2026-08-10 09:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301703680001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11332842441146368,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828672585557864448,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786334784000,"timestamp_ms":1786334784000,"timestamp_seconds":1786334784,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d9aa00"} 
[2026-08-10 09:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301703680001,"66":14396,"103":206,"83":41984,"24":47,"16":11332842441146368,"45":1828672585557864448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 09:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301703680001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:37:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 09:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11332842441146368,"km_value":11332842441146.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828672585557864448,"description":"Unknown IO ID 45"} 
[2026-08-10 09:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301703680001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1828672585557864448}} 
[2026-08-10 09:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":152678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:37:01] local.INFO: GPS data processed {"connection_id":152678,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:37:01] local.INFO: Acknowledgment sent {"connection_id":152678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:37:04] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:37:04] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:37:04] local.INFO: IMEI packet received {"connection_id":151765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":151765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:37:06] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:37:06] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:37:06] local.INFO: Packet analysis {"connection_id":151765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:37:06] local.INFO: Extracted packet for processing {"connection_id":151765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301566976001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786334547000,"timestamp_ms":1786334547000,"timestamp_seconds":1786334547,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d60c38"} 
[2026-08-10 09:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301566976001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301566976001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301566976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":151765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:37:06] local.INFO: GPS data processed {"connection_id":151765,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:37:06] local.INFO: Acknowledgment sent {"connection_id":151765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:37:10] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:37:10] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:37:10] local.INFO: Packet analysis {"connection_id":151765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:37:10] local.INFO: Extracted packet for processing {"connection_id":151765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301566976001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786334547000,"timestamp_ms":1786334547000,"timestamp_seconds":1786334547,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d60c38"} 
[2026-08-10 09:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:37: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-08-10 09:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301566976001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301566976001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301566976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":151765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:37:10] local.INFO: GPS data processed {"connection_id":151765,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:37:10] local.INFO: Acknowledgment sent {"connection_id":151765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:37:19] local.INFO: TCP Data received {"connection_id":151383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:37:19] local.INFO: Processing buffer {"connection_id":151383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:37:19] local.INFO: IMEI packet received {"connection_id":151383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":151383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:37:24] local.INFO: TCP Data received {"connection_id":151383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:37:24] local.INFO: Processing buffer {"connection_id":151383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:37:24] local.INFO: IMEI packet received {"connection_id":151383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":151383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:37:25] local.INFO: TCP Data received {"connection_id":151383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:37:25] local.INFO: Processing buffer {"connection_id":151383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:37:25] local.INFO: Packet analysis {"connection_id":151383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:37:25] local.INFO: Extracted packet for processing {"connection_id":151383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:37:25] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301690368001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786334734000,"timestamp_ms":1786334734000,"timestamp_seconds":1786334734,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d8e6b0"} 
[2026-08-10 09:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 09:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301690368001,"66":3677,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301690368001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:37:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:37:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301690368001,"power":3677,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":151383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:37:25] local.INFO: GPS data processed {"connection_id":151383,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:37:25] local.INFO: Acknowledgment sent {"connection_id":151383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:37:30] local.INFO: TCP Data received {"connection_id":151383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:37:30] local.INFO: Processing buffer {"connection_id":151383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:37:30] local.INFO: Packet analysis {"connection_id":151383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:37:30] local.INFO: Extracted packet for processing {"connection_id":151383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301690368001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786334734000,"timestamp_ms":1786334734000,"timestamp_seconds":1786334734,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d8e6b0"} 
[2026-08-10 09:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 09:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301690368001,"66":3677,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301690368001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:37:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:37:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301690368001,"power":3677,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":151383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:37:30] local.INFO: GPS data processed {"connection_id":151383,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:37:30] local.INFO: Acknowledgment sent {"connection_id":151383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:37:34] local.INFO: TCP Data received {"connection_id":152678,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9da88a8012d18c28007214808002f01610d..."} 
[2026-08-10 09:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9da88a8012d18c28007214808002f01610d..."} 
[2026-08-10 09:37:34] local.INFO: Processing buffer {"connection_id":152678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9da88a8012d18c28007214808002f01610d..."} 
[2026-08-10 09:37:34] local.INFO: Packet analysis {"connection_id":152678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:37:34] local.INFO: Extracted packet for processing {"connection_id":152678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119621640,"longitude_deg":75.6597376,"latitude_deg":11.962164,"altitude":47,"angle":353,"satellites":13,"speed":40,"hex_longitude":"2d18c280","hex_latitude":"07214808","is_valid_coordinates":true} 
[2026-08-10 09:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301718784001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11335634169888768,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712368640,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786334841000,"timestamp_ms":1786334841000,"timestamp_seconds":1786334841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9da88a8"} 
[2026-08-10 09:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301718784001,"66":14363,"103":206,"83":41984,"24":40,"16":11335634169888768,"45":1784621751712368640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 09:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301718784001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:37:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 09:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11335634169888768,"km_value":11335634169888.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712368640,"description":"Unknown IO ID 45"} 
[2026-08-10 09:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301718784001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1784621751712368640}} 
[2026-08-10 09:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":152678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:37:34] local.INFO: GPS data processed {"connection_id":152678,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:37:34] local.INFO: Acknowledgment sent {"connection_id":152678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:37:42] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:37:42] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d60c38012d34c20006aa3f08000a00f326..."} 
[2026-08-10 09:37:42] local.INFO: Packet analysis {"connection_id":151765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:37:42] local.INFO: Extracted packet for processing {"connection_id":151765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d6"} 
[2026-08-10 09:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":10,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301566976001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786334547000,"timestamp_ms":1786334547000,"timestamp_seconds":1786334547,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d60c38"} 
[2026-08-10 09:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 09:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301566976001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301566976001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:37:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301566976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":151765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:37:42] local.INFO: GPS data processed {"connection_id":151765,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:37:42] local.INFO: Acknowledgment sent {"connection_id":151765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:37:59] local.INFO: TCP Data received {"connection_id":151384,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:37:59] local.INFO: Processing buffer {"connection_id":151384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:37:59] local.INFO: IMEI packet received {"connection_id":151384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":151384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:38:05] local.INFO: TCP Data received {"connection_id":152678,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9da9848012d18bfc007215700003001500d..."} 
[2026-08-10 09:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9da9848012d18bfc007215700003001500d..."} 
[2026-08-10 09:38:05] local.INFO: Processing buffer {"connection_id":152678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9da9848012d18bfc007215700003001500d..."} 
[2026-08-10 09:38:05] local.INFO: Packet analysis {"connection_id":152678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:38:05] local.INFO: Extracted packet for processing {"connection_id":152678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756596672,"raw_latitude":119625472,"longitude_deg":75.6596672,"latitude_deg":11.9625472,"altitude":48,"angle":336,"satellites":13,"speed":35,"hex_longitude":"2d18bfc0","hex_latitude":"07215700","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301719296001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11335823148449792,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170503632896,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786334845000,"timestamp_ms":1786334845000,"timestamp_seconds":1786334845,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9da9848"} 
[2026-08-10 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-08-10 09:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":27,"data_length":795,"current_offset":136} 
[2026-08-10 09:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301719296001,"66":14396,"103":206,"83":41984,"24":35,"16":11335823148449792,"45":1784129170503632896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 09:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301719296001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:38:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 09:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11335823148449792,"km_value":11335823148449.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170503632896,"description":"Unknown IO ID 45"} 
[2026-08-10 09:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301719296001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784129170503632896}} 
[2026-08-10 09:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":152678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:38:05] local.INFO: GPS data processed {"connection_id":152678,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:38:05] local.INFO: Acknowledgment sent {"connection_id":152678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:38:07] local.INFO: TCP Data received {"connection_id":151384,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:38:07] local.INFO: Processing buffer {"connection_id":151384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:38:07] local.INFO: IMEI packet received {"connection_id":151384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":151384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:38:14] local.INFO: TCP Data received {"connection_id":152679,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:38:14] local.INFO: Processing buffer {"connection_id":152679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:38:14] local.INFO: IMEI packet received {"connection_id":152679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":152679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:38:17] local.INFO: TCP Data received {"connection_id":151384,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:38:17] local.INFO: Processing buffer {"connection_id":151384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:38:17] local.INFO: Packet analysis {"connection_id":151384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:38:17] local.INFO: Extracted packet for processing {"connection_id":151384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":37,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301644032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786334848000,"timestamp_ms":1786334848000,"timestamp_seconds":1786334848,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9daa400"} 
[2026-08-10 09:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301644032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301644032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301644032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":151384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:38:17] local.INFO: GPS data processed {"connection_id":151384,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:38:17] local.INFO: Acknowledgment sent {"connection_id":151384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:38:20] local.INFO: TCP Data received {"connection_id":152679,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:38:20] local.INFO: Processing buffer {"connection_id":152679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:38:20] local.INFO: IMEI packet received {"connection_id":152679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":152679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:38:21] local.INFO: TCP Data received {"connection_id":152679,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:38:21] local.INFO: Processing buffer {"connection_id":152679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:38:21] local.INFO: Packet analysis {"connection_id":152679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:38:21] local.INFO: Extracted packet for processing {"connection_id":152679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:38:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301690368001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786334734000,"timestamp_ms":1786334734000,"timestamp_seconds":1786334734,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d8e6b0"} 
[2026-08-10 09:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 09:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301690368001,"66":3677,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301690368001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:38:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:38:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301690368001,"power":3677,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":152679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:38:21] local.INFO: GPS data processed {"connection_id":152679,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:38:21] local.INFO: Acknowledgment sent {"connection_id":152679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:38:36] local.INFO: TCP Data received {"connection_id":152678,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9daa018012d18bb4007215d30003101430d..."} 
[2026-08-10 09:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9daa018012d18bb4007215d30003101430d..."} 
[2026-08-10 09:38:36] local.INFO: Processing buffer {"connection_id":152678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9daa018012d18bb4007215d30003101430d..."} 
[2026-08-10 09:38:36] local.INFO: Packet analysis {"connection_id":152678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:38:36] local.INFO: Extracted packet for processing {"connection_id":152678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756595520,"raw_latitude":119627056,"longitude_deg":75.659552,"latitude_deg":11.9627056,"altitude":49,"angle":323,"satellites":13,"speed":38,"hex_longitude":"2d18bb40","hex_latitude":"07215d30","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301720320001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11335917637730304,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783355114318659584,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786334847000,"timestamp_ms":1786334847000,"timestamp_seconds":1786334847,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9daa018"} 
[2026-08-10 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-08-10 09:38: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-08-10 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301720320001,"66":13852,"103":206,"83":41984,"24":38,"16":11335917637730304,"45":1783355114318659584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 09:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301720320001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:38:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 09:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11335917637730304,"km_value":11335917637730.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783355114318659584,"description":"Unknown IO ID 45"} 
[2026-08-10 09:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301720320001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1783355114318659584}} 
[2026-08-10 09:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":152678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:38:36] local.INFO: GPS data processed {"connection_id":152678,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:38:36] local.INFO: Acknowledgment sent {"connection_id":152678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:38:53] local.INFO: TCP Data received {"connection_id":152679,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:38:53] local.INFO: Processing buffer {"connection_id":152679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:38:53] local.INFO: Packet analysis {"connection_id":152679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:38:53] local.INFO: Extracted packet for processing {"connection_id":152679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:38:53] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301690368001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786334734000,"timestamp_ms":1786334734000,"timestamp_seconds":1786334734,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d8e6b0"} 
[2026-08-10 09:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 09:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301690368001,"66":3677,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301690368001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:38:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:38:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301690368001,"power":3677,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":152679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:38:53] local.INFO: GPS data processed {"connection_id":152679,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:38:53] local.INFO: Acknowledgment sent {"connection_id":152679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:38:54] local.INFO: TCP Data received {"connection_id":151766,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:38:54] local.INFO: Processing buffer {"connection_id":151766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:38:54] local.INFO: IMEI packet received {"connection_id":151766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":151766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:38:55] local.INFO: TCP Data received {"connection_id":151766,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:38:55] local.INFO: Processing buffer {"connection_id":151766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:38:55] local.INFO: IMEI packet received {"connection_id":151766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":151766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:38:55] local.INFO: TCP Data received {"connection_id":151766,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:38:55] local.INFO: Processing buffer {"connection_id":151766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:38:55] local.INFO: IMEI packet received {"connection_id":151766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":151766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:38:56] local.INFO: TCP Data received {"connection_id":151766,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:38:56] local.INFO: Processing buffer {"connection_id":151766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:38:56] local.INFO: IMEI packet received {"connection_id":151766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":151766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:38:59] local.INFO: TCP Data received {"connection_id":154134,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:38:59] local.INFO: Processing buffer {"connection_id":154134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:38:59] local.INFO: IMEI packet received {"connection_id":154134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":154134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:39:05] local.INFO: TCP Data received {"connection_id":154134,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:39:05] local.INFO: Processing buffer {"connection_id":154134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:39:05] local.INFO: IMEI packet received {"connection_id":154134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":154134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:39:06] local.INFO: TCP Data received {"connection_id":154134,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:39:06] local.INFO: Processing buffer {"connection_id":154134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:39:06] local.INFO: Packet analysis {"connection_id":154134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:39:06] local.INFO: Extracted packet for processing {"connection_id":154134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":37,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301644032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786334848000,"timestamp_ms":1786334848000,"timestamp_seconds":1786334848,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9daa400"} 
[2026-08-10 09:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301644032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301644032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301644032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":154134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:39:06] local.INFO: GPS data processed {"connection_id":154134,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:39:06] local.INFO: Acknowledgment sent {"connection_id":154134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:39:15] local.INFO: TCP Data received {"connection_id":151767,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:39:15] local.INFO: Processing buffer {"connection_id":151767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:39:15] local.INFO: IMEI packet received {"connection_id":151767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":151767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:39:19] local.INFO: TCP Data received {"connection_id":151767,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:39:19] local.INFO: Processing buffer {"connection_id":151767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:39:19] local.INFO: IMEI packet received {"connection_id":151767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":151767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:39:21] local.INFO: TCP Data received {"connection_id":151767,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:39:21] local.INFO: Processing buffer {"connection_id":151767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:39:21] local.INFO: Packet analysis {"connection_id":151767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:39:21] local.INFO: Extracted packet for processing {"connection_id":151767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:39:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301690368001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786334734000,"timestamp_ms":1786334734000,"timestamp_seconds":1786334734,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d8e6b0"} 
[2026-08-10 09:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 09:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301690368001,"66":3677,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301690368001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:39:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:39:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301690368001,"power":3677,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":151767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:39:21] local.INFO: GPS data processed {"connection_id":151767,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:39:21] local.INFO: Acknowledgment sent {"connection_id":151767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:39:38] local.INFO: TCP Data received {"connection_id":154134,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:39:38] local.INFO: Processing buffer {"connection_id":154134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:39:38] local.INFO: Packet analysis {"connection_id":154134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:39:38] local.INFO: Extracted packet for processing {"connection_id":154134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":37,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301644032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786334848000,"timestamp_ms":1786334848000,"timestamp_seconds":1786334848,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9daa400"} 
[2026-08-10 09:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:39: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-08-10 09:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301644032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301644032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301644032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":154134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:39:38] local.INFO: GPS data processed {"connection_id":154134,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:39:38] local.INFO: Acknowledgment sent {"connection_id":154134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:39:52] local.INFO: TCP Data received {"connection_id":151767,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:39:52] local.INFO: Processing buffer {"connection_id":151767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:39:52] local.INFO: Packet analysis {"connection_id":151767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:39:52] local.INFO: Extracted packet for processing {"connection_id":151767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:39:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301690368001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786334734000,"timestamp_ms":1786334734000,"timestamp_seconds":1786334734,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d8e6b0"} 
[2026-08-10 09:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 09:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301690368001,"66":3677,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301690368001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:39:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:39:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301690368001,"power":3677,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":151767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:39:52] local.INFO: GPS data processed {"connection_id":151767,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:39:52] local.INFO: Acknowledgment sent {"connection_id":151767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:39:59] local.INFO: TCP Data received {"connection_id":152680,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:39:59] local.INFO: Processing buffer {"connection_id":152680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:39:59] local.INFO: IMEI packet received {"connection_id":152680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":152680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:40:04] local.INFO: TCP Data received {"connection_id":154136,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:40:04] local.INFO: Processing buffer {"connection_id":154136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:40:04] local.INFO: IMEI packet received {"connection_id":154136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":154136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:40:04] local.INFO: TCP Data received {"connection_id":152680,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:40:04] local.INFO: Processing buffer {"connection_id":152680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:40:04] local.INFO: IMEI packet received {"connection_id":152680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":152680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:40:06] local.INFO: TCP Data received {"connection_id":152680,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:40:07] local.INFO: Processing buffer {"connection_id":152680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:40:07] local.INFO: Packet analysis {"connection_id":152680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:40:07] local.INFO: Extracted packet for processing {"connection_id":152680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":37,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301644032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786334848000,"timestamp_ms":1786334848000,"timestamp_seconds":1786334848,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9daa400"} 
[2026-08-10 09:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301644032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301644032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:40:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301644032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":152680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:40:07] local.INFO: GPS data processed {"connection_id":152680,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:40:07] local.INFO: Acknowledgment sent {"connection_id":152680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:40:14] local.INFO: TCP Data received {"connection_id":151385,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:40:14] local.INFO: Processing buffer {"connection_id":151385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:40:14] local.INFO: IMEI packet received {"connection_id":151385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":151385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:40:19] local.INFO: TCP Data received {"connection_id":151385,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:40:19] local.INFO: Processing buffer {"connection_id":151385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:40:19] local.INFO: IMEI packet received {"connection_id":151385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":151385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:40:20] local.INFO: TCP Data received {"connection_id":151385,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:40:20] local.INFO: Processing buffer {"connection_id":151385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9d8e6b0012d7d358005ec0eb0000600061d..."} 
[2026-08-10 09:40:20] local.INFO: Packet analysis {"connection_id":151385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:40:20] local.INFO: Extracted packet for processing {"connection_id":151385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9d8"} 
[2026-08-10 09:40:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":6,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301690368001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786334734000,"timestamp_ms":1786334734000,"timestamp_seconds":1786334734,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9d8e6b0"} 
[2026-08-10 09:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:40: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-08-10 09:40: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-08-10 09:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301690368001,"66":3677,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301690368001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:40:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:40:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301690368001,"power":3677,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":151385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:40:20] local.INFO: GPS data processed {"connection_id":151385,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:40:20] local.INFO: Acknowledgment sent {"connection_id":151385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:40:34] local.INFO: TCP Data received {"connection_id":152681,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152681,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:40:34] local.INFO: Processing buffer {"connection_id":152681,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:40:34] local.INFO: IMEI packet received {"connection_id":152681,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":152681,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:40:38] local.INFO: TCP Data received {"connection_id":152680,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:40:38] local.INFO: Processing buffer {"connection_id":152680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:40:38] local.INFO: Packet analysis {"connection_id":152680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:40:38] local.INFO: Extracted packet for processing {"connection_id":152680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":37,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301644032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786334848000,"timestamp_ms":1786334848000,"timestamp_seconds":1786334848,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9daa400"} 
[2026-08-10 09:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301644032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301644032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301644032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":152680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:40:38] local.INFO: GPS data processed {"connection_id":152680,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:40:38] local.INFO: Acknowledgment sent {"connection_id":152680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:40:39] local.INFO: TCP Data received {"connection_id":152681,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152681,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:40:39] local.INFO: Processing buffer {"connection_id":152681,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:40:39] local.INFO: IMEI packet received {"connection_id":152681,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":152681,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:40:39] local.INFO: TCP Data received {"connection_id":152681,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9dc4210012d0d24c0070431d8001b00bc21..."} 
[2026-08-10 09:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9dc4210012d0d24c0070431d8001b00bc21..."} 
[2026-08-10 09:40:39] local.INFO: Processing buffer {"connection_id":152681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9dc4210012d0d24c0070431d8001b00bc21..."} 
[2026-08-10 09:40:39] local.INFO: Packet analysis {"connection_id":152681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dc"} 
[2026-08-10 09:40:39] local.INFO: Extracted packet for processing {"connection_id":152681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dc"} 
[2026-08-10 09:40:39] local.INFO: GPS Element Parsed {"raw_longitude":755836096,"raw_latitude":117715416,"longitude_deg":75.5836096,"latitude_deg":11.7715416,"altitude":27,"angle":188,"satellites":33,"speed":12,"hex_longitude":"2d0d24c0","hex_latitude":"070431d8","is_valid_coordinates":true} 
[2026-08-10 09:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301745920001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27317838838497280,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948078120441561088,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:39] 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-08-10 09:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786334954000,"timestamp_ms":1786334954000,"timestamp_seconds":1786334954,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9dc4210"} 
[2026-08-10 09:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:40: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-08-10 09:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 09:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152681,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152681,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301745920001,"66":14439,"18":206,"28":32256,"24":12,"16":27317838838497280,"45":948078120441561088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-08-10 09:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301745920001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:40:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-10 09:40:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-10 09:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27317838838497280,"km_value":27317838838497.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":948078120441561088,"description":"Unknown IO ID 45"} 
[2026-08-10 09:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301745920001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":948078120441561088}} 
[2026-08-10 09:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":152681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618929,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:40:40] local.INFO: GPS data processed {"connection_id":152681,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:40:40] local.INFO: Acknowledgment sent {"connection_id":152681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:40:52] local.INFO: TCP Data received {"connection_id":151385,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:40:52] local.INFO: Processing buffer {"connection_id":151385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:40:52] local.INFO: Packet analysis {"connection_id":151385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:40:52] local.INFO: Extracted packet for processing {"connection_id":151385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:40:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":4,"angle":6,"satellites":27,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301691904001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786335035000,"timestamp_ms":1786335035000,"timestamp_seconds":1786335035,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9dd7e78"} 
[2026-08-10 09:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":14,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-10 09:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301691904001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301691904001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:40:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:40:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301691904001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":151385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:40:52] local.INFO: GPS data processed {"connection_id":151385,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:40:52] local.INFO: Acknowledgment sent {"connection_id":151385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:40:59] local.INFO: TCP Data received {"connection_id":154138,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:40:59] local.INFO: Processing buffer {"connection_id":154138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:40:59] local.INFO: IMEI packet received {"connection_id":154138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":154138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:41:04] local.INFO: TCP Data received {"connection_id":154138,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:41:04] local.INFO: Processing buffer {"connection_id":154138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:41:04] local.INFO: IMEI packet received {"connection_id":154138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":154138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:41:06] local.INFO: TCP Data received {"connection_id":154138,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:41:06] local.INFO: Processing buffer {"connection_id":154138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:41:06] local.INFO: Packet analysis {"connection_id":154138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:41:06] local.INFO: Extracted packet for processing {"connection_id":154138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":37,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301644032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786334848000,"timestamp_ms":1786334848000,"timestamp_seconds":1786334848,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9daa400"} 
[2026-08-10 09:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301644032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301644032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301644032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":154138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:41:06] local.INFO: GPS data processed {"connection_id":154138,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:41:06] local.INFO: Acknowledgment sent {"connection_id":154138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:41:14] local.INFO: TCP Data received {"connection_id":154139,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:41:14] local.INFO: Processing buffer {"connection_id":154139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:41:14] local.INFO: IMEI packet received {"connection_id":154139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":154139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:41:19] local.INFO: TCP Data received {"connection_id":154139,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:41:19] local.INFO: Processing buffer {"connection_id":154139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:41:19] local.INFO: IMEI packet received {"connection_id":154139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":154139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:41:20] local.INFO: TCP Data received {"connection_id":154139,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:41:20] local.INFO: Processing buffer {"connection_id":154139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:41:20] local.INFO: Packet analysis {"connection_id":154139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:41:20] local.INFO: Extracted packet for processing {"connection_id":154139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:41:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":4,"angle":6,"satellites":27,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301691904001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786335035000,"timestamp_ms":1786335035000,"timestamp_seconds":1786335035,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9dd7e78"} 
[2026-08-10 09:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":14,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-10 09:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301691904001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301691904001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:41:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:41:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301691904001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":154139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:41:20] local.INFO: GPS data processed {"connection_id":154139,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:41:20] local.INFO: Acknowledgment sent {"connection_id":154139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:41:24] local.INFO: TCP Data received {"connection_id":151768,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151768,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:41:24] local.INFO: Processing buffer {"connection_id":151768,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:41:24] local.INFO: IMEI packet received {"connection_id":151768,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":151768,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:41:29] local.INFO: TCP Data received {"connection_id":151768,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151768,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:41:29] local.INFO: Processing buffer {"connection_id":151768,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:41:29] local.INFO: IMEI packet received {"connection_id":151768,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":151768,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:41:30] local.INFO: TCP Data received {"connection_id":151768,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ddad58012d0d2dc00703cb680011003120..."} 
[2026-08-10 09:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ddad58012d0d2dc00703cb680011003120..."} 
[2026-08-10 09:41:30] local.INFO: Processing buffer {"connection_id":151768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ddad58012d0d2dc00703cb680011003120..."} 
[2026-08-10 09:41:30] local.INFO: Packet analysis {"connection_id":151768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:41:30] local.INFO: Extracted packet for processing {"connection_id":151768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:41:30] local.INFO: GPS Element Parsed {"raw_longitude":755838400,"raw_latitude":117689192,"longitude_deg":75.58384,"latitude_deg":11.7689192,"altitude":17,"angle":49,"satellites":32,"speed":2,"hex_longitude":"2d0d2dc0","hex_latitude":"0703cb68","is_valid_coordinates":true} 
[2026-08-10 09:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301771776001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27319196048162816,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949555864061822976,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786335047000,"timestamp_ms":1786335047000,"timestamp_seconds":1786335047,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ddad58"} 
[2026-08-10 09:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 09:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151768,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151768,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301771776001,"66":14559,"16":27319196048162816,"94":11008,"24":2,"45":949555864061822976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301771776001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27319196048162816,"km_value":27319196048162.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:41:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":949555864061822976,"description":"Unknown IO ID 45"} 
[2026-08-10 09:41:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301771776001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":949555864061822976}} 
[2026-08-10 09:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":151768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618933,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:41:30] local.INFO: GPS data processed {"connection_id":151768,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:41:30] local.INFO: Acknowledgment sent {"connection_id":151768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:41:37] local.INFO: TCP Data received {"connection_id":154138,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:41:37] local.INFO: Processing buffer {"connection_id":154138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:41:37] local.INFO: Packet analysis {"connection_id":154138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:41:37] local.INFO: Extracted packet for processing {"connection_id":154138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":37,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301644032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786334848000,"timestamp_ms":1786334848000,"timestamp_seconds":1786334848,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9daa400"} 
[2026-08-10 09:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301644032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301644032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301644032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":154138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:41:37] local.INFO: GPS data processed {"connection_id":154138,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:41:37] local.INFO: Acknowledgment sent {"connection_id":154138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:41:52] local.INFO: TCP Data received {"connection_id":154139,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:41:52] local.INFO: Processing buffer {"connection_id":154139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:41:52] local.INFO: Packet analysis {"connection_id":154139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:41:52] local.INFO: Extracted packet for processing {"connection_id":154139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:41:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":4,"angle":6,"satellites":27,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301691904001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786335035000,"timestamp_ms":1786335035000,"timestamp_seconds":1786335035,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9dd7e78"} 
[2026-08-10 09:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":14,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-10 09:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301691904001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301691904001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:41:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:41:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301691904001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":154139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:41:52] local.INFO: GPS data processed {"connection_id":154139,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:41:52] local.INFO: Acknowledgment sent {"connection_id":154139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:42:01] local.INFO: TCP Data received {"connection_id":151768,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ddb140012d0d2dc00703cb78001100421f..."} 
[2026-08-10 09:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ddb140012d0d2dc00703cb78001100421f..."} 
[2026-08-10 09:42:01] local.INFO: Processing buffer {"connection_id":151768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ddb140012d0d2dc00703cb78001100421f..."} 
[2026-08-10 09:42:01] local.INFO: Packet analysis {"connection_id":151768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:42:01] local.INFO: Extracted packet for processing {"connection_id":151768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:42:01] local.INFO: GPS Element Parsed {"raw_longitude":755838400,"raw_latitude":117689208,"longitude_deg":75.58384,"latitude_deg":11.7689208,"altitude":17,"angle":66,"satellites":31,"speed":2,"hex_longitude":"2d0d2dc0","hex_latitude":"0703cb78","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301772032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27319196048162816,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232806008832,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335048000,"timestamp_ms":1786335048000,"timestamp_seconds":1786335048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ddb140"} 
[2026-08-10 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-08-10 09:42: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-08-10 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 09:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151768,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151768,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301772032001,"66":14548,"16":27319196048162816,"94":11008,"24":2,"45":949626232806008832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301772032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27319196048162816,"km_value":27319196048162.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:42:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232806008832,"description":"Unknown IO ID 45"} 
[2026-08-10 09:42:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301772032001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":949626232806008832}} 
[2026-08-10 09:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":151768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618936,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:42:01] local.INFO: GPS data processed {"connection_id":151768,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:42:01] local.INFO: Acknowledgment sent {"connection_id":151768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:42:04] local.INFO: TCP Data received {"connection_id":152683,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:42:04] local.INFO: Processing buffer {"connection_id":152683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:42:04] local.INFO: IMEI packet received {"connection_id":152683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":152683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:42:09] local.INFO: TCP Data received {"connection_id":152683,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:42:09] local.INFO: Processing buffer {"connection_id":152683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:42:09] local.INFO: IMEI packet received {"connection_id":152683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":152683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:42:10] local.INFO: TCP Data received {"connection_id":152683,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:42:10] local.INFO: Processing buffer {"connection_id":152683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:42:10] local.INFO: Packet analysis {"connection_id":152683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:42:10] local.INFO: Extracted packet for processing {"connection_id":152683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":37,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301644032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786334848000,"timestamp_ms":1786334848000,"timestamp_seconds":1786334848,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9daa400"} 
[2026-08-10 09:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301644032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301644032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:42:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301644032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":152683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:42:10] local.INFO: GPS data processed {"connection_id":152683,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:42:10] local.INFO: Acknowledgment sent {"connection_id":152683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:42:15] local.INFO: TCP Data received {"connection_id":152683,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:42:15] local.INFO: Processing buffer {"connection_id":152683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:42:15] local.INFO: Packet analysis {"connection_id":152683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:42:15] local.INFO: Extracted packet for processing {"connection_id":152683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":37,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301644032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786334848000,"timestamp_ms":1786334848000,"timestamp_seconds":1786334848,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9daa400"} 
[2026-08-10 09:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301644032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301644032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301644032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":152683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:42:15] local.INFO: GPS data processed {"connection_id":152683,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:42:15] local.INFO: Acknowledgment sent {"connection_id":152683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:42:20] local.INFO: TCP Data received {"connection_id":152684,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:42:20] local.INFO: Processing buffer {"connection_id":152684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:42:20] local.INFO: IMEI packet received {"connection_id":152684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":152684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:42:24] local.INFO: TCP Data received {"connection_id":152685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:42:24] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:42:24] local.INFO: IMEI packet received {"connection_id":152685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":152685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:42:24] local.INFO: TCP Data received {"connection_id":152684,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:42:24] local.INFO: Processing buffer {"connection_id":152684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:42:24] local.INFO: IMEI packet received {"connection_id":152684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":152684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:42:25] local.INFO: TCP Data received {"connection_id":152684,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:42:25] local.INFO: Processing buffer {"connection_id":152684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:42:25] local.INFO: Packet analysis {"connection_id":152684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:42:25] local.INFO: Extracted packet for processing {"connection_id":152684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":4,"angle":6,"satellites":27,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301691904001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786335035000,"timestamp_ms":1786335035000,"timestamp_seconds":1786335035,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9dd7e78"} 
[2026-08-10 09:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":14,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-10 09:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301691904001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301691904001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:42:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:42:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301691904001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":152684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:42:25] local.INFO: GPS data processed {"connection_id":152684,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:42:25] local.INFO: Acknowledgment sent {"connection_id":152684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:42:29] local.INFO: TCP Data received {"connection_id":152685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:42:29] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:42:29] local.INFO: IMEI packet received {"connection_id":152685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":152685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:42:30] local.INFO: TCP Data received {"connection_id":152685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ddb910012d0d2e000703cb900011005320..."} 
[2026-08-10 09:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ddb910012d0d2e000703cb900011005320..."} 
[2026-08-10 09:42:30] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ddb910012d0d2e000703cb900011005320..."} 
[2026-08-10 09:42:30] local.INFO: Packet analysis {"connection_id":152685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:42:30] local.INFO: Extracted packet for processing {"connection_id":152685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:42:30] local.INFO: GPS Element Parsed {"raw_longitude":755838464,"raw_latitude":117689232,"longitude_deg":75.5838464,"latitude_deg":11.7689232,"altitude":17,"angle":83,"satellites":32,"speed":1,"hex_longitude":"2d0d2e00","hex_latitude":"0703cb90","is_valid_coordinates":true} 
[2026-08-10 09:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301772288001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27319200343130112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232806012928,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786335050000,"timestamp_ms":1786335050000,"timestamp_seconds":1786335050,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ddb910"} 
[2026-08-10 09:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 09:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301772288001,"66":14157,"16":27319200343130112,"94":11008,"24":1,"45":949626232806012928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301772288001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27319200343130112,"km_value":27319200343130.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:42:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232806012928,"description":"Unknown IO ID 45"} 
[2026-08-10 09:42:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301772288001,"power":14157,"odometer":null,"unknown_94":11008,"ignition":1,"unknown_45":949626232806012928}} 
[2026-08-10 09:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":152685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618940,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:42:30] local.INFO: GPS data processed {"connection_id":152685,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:42:30] local.INFO: Acknowledgment sent {"connection_id":152685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:42:30] local.INFO: TCP Data received {"connection_id":152684,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:42:30] local.INFO: Processing buffer {"connection_id":152684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:42:30] local.INFO: Packet analysis {"connection_id":152684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:42:30] local.INFO: Extracted packet for processing {"connection_id":152684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":4,"angle":6,"satellites":27,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301691904001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786335035000,"timestamp_ms":1786335035000,"timestamp_seconds":1786335035,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9dd7e78"} 
[2026-08-10 09:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":14,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-10 09:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301691904001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301691904001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:42:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:42:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301691904001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":152684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:42:30] local.INFO: GPS data processed {"connection_id":152684,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:42:30] local.INFO: Acknowledgment sent {"connection_id":152684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:43:00] local.INFO: TCP Data received {"connection_id":154141,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:43:00] local.INFO: Processing buffer {"connection_id":154141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:43:00] local.INFO: IMEI packet received {"connection_id":154141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":154141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:43:01] local.INFO: TCP Data received {"connection_id":152685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df37e0012d0d244007041ad0001701651f..."} 
[2026-08-10 09:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df37e0012d0d244007041ad0001701651f..."} 
[2026-08-10 09:43:01] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df37e0012d0d244007041ad0001701651f..."} 
[2026-08-10 09:43:01] local.INFO: Packet analysis {"connection_id":152685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:43:01] local.INFO: Extracted packet for processing {"connection_id":152685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:43:01] local.INFO: GPS Element Parsed {"raw_longitude":755835968,"raw_latitude":117709520,"longitude_deg":75.5835968,"latitude_deg":11.770952,"altitude":23,"angle":357,"satellites":31,"speed":9,"hex_longitude":"2d0d2440","hex_latitude":"07041ad0","is_valid_coordinates":true} 
[2026-08-10 09:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301794816001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27320213955411968,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947655907973400576,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335148000,"timestamp_ms":1786335148000,"timestamp_seconds":1786335148,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df37e0"} 
[2026-08-10 09:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:43: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-08-10 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 09:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301794816001,"66":14439,"16":27320213955411968,"94":11008,"24":9,"45":947655907973400576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301794816001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27320213955411968,"km_value":27320213955411.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:43:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":947655907973400576,"description":"Unknown IO ID 45"} 
[2026-08-10 09:43:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301794816001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":947655907973400576}} 
[2026-08-10 09:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":152685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618942,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:43:01] local.INFO: GPS data processed {"connection_id":152685,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:43:01] local.INFO: Acknowledgment sent {"connection_id":152685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:43:04] local.INFO: TCP Data received {"connection_id":154141,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:43:04] local.INFO: Processing buffer {"connection_id":154141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:43:04] local.INFO: IMEI packet received {"connection_id":154141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":154141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:43:05] local.INFO: TCP Data received {"connection_id":154141,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:43:05] local.INFO: Processing buffer {"connection_id":154141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9daa400012d34c20006aa3f08000600f325..."} 
[2026-08-10 09:43:05] local.INFO: Packet analysis {"connection_id":154141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:43:05] local.INFO: Extracted packet for processing {"connection_id":154141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9da"} 
[2026-08-10 09:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":6,"angle":243,"satellites":37,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301644032001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786334848000,"timestamp_ms":1786334848000,"timestamp_seconds":1786334848,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9daa400"} 
[2026-08-10 09:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301644032001,"66":25397,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301644032001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:43:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301644032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":154141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:43:05] local.INFO: GPS data processed {"connection_id":154141,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:43:05] local.INFO: Acknowledgment sent {"connection_id":154141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:43:14] local.INFO: TCP Data received {"connection_id":152686,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:43:14] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:43:14] local.INFO: IMEI packet received {"connection_id":152686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":152686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:43:19] local.INFO: TCP Data received {"connection_id":152686,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:43:19] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:43:19] local.INFO: IMEI packet received {"connection_id":152686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":152686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:43:21] local.INFO: TCP Data received {"connection_id":152686,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:43:21] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:43:21] local.INFO: Packet analysis {"connection_id":152686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:43:21] local.INFO: Extracted packet for processing {"connection_id":152686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:43:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":4,"angle":6,"satellites":27,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301691904001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786335035000,"timestamp_ms":1786335035000,"timestamp_seconds":1786335035,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9dd7e78"} 
[2026-08-10 09:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":14,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-10 09:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301691904001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301691904001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:43:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:43:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301691904001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":152686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:43:21] local.INFO: GPS data processed {"connection_id":152686,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:43:21] local.INFO: Acknowledgment sent {"connection_id":152686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:43:29] local.INFO: TCP Data received {"connection_id":151769,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:43:29] local.INFO: Processing buffer {"connection_id":151769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:43:29] local.INFO: IMEI packet received {"connection_id":151769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":151769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:43:35] local.INFO: TCP Data received {"connection_id":151769,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:43:35] local.INFO: Processing buffer {"connection_id":151769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:43:35] local.INFO: IMEI packet received {"connection_id":151769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":151769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:43:37] local.INFO: TCP Data received {"connection_id":154141,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:43:37] local.INFO: Processing buffer {"connection_id":154141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:43:37] local.INFO: Packet analysis {"connection_id":154141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:43:37] local.INFO: Extracted packet for processing {"connection_id":154141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301721088001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786335149000,"timestamp_ms":1786335149000,"timestamp_seconds":1786335149,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df3bc8"} 
[2026-08-10 09:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301721088001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301721088001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301721088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":154141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:43:37] local.INFO: GPS data processed {"connection_id":154141,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:43:37] local.INFO: Acknowledgment sent {"connection_id":154141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:43:38] local.INFO: TCP Data received {"connection_id":151769,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df7660012d0d2340070430d0001800081d..."} 
[2026-08-10 09:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df7660012d0d2340070430d0001800081d..."} 
[2026-08-10 09:43:38] local.INFO: Processing buffer {"connection_id":151769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df7660012d0d2340070430d0001800081d..."} 
[2026-08-10 09:43:38] local.INFO: Packet analysis {"connection_id":151769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:43:38] local.INFO: Extracted packet for processing {"connection_id":151769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:43:38] local.INFO: GPS Element Parsed {"raw_longitude":755835712,"raw_latitude":117715152,"longitude_deg":75.5835712,"latitude_deg":11.7715152,"altitude":24,"angle":8,"satellites":29,"speed":13,"hex_longitude":"2d0d2340","hex_latitude":"070430d0","is_valid_coordinates":true} 
[2026-08-10 09:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301797888001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27320488833318912,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":946952220532461568,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786335164000,"timestamp_ms":1786335164000,"timestamp_seconds":1786335164,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df7660"} 
[2026-08-10 09:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 09:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301797888001,"66":14396,"16":27320488833318912,"94":11008,"24":13,"45":946952220532461568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301797888001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27320488833318912,"km_value":27320488833318.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:43:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":946952220532461568,"description":"Unknown IO ID 45"} 
[2026-08-10 09:43:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301797888001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":946952220532461568}} 
[2026-08-10 09:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":151769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618946,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:43:38] local.INFO: GPS data processed {"connection_id":151769,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:43:38] local.INFO: Acknowledgment sent {"connection_id":151769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:43:38] local.INFO: TCP Data received {"connection_id":151769,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df8218012d0d2480070434e8001700141d..."} 
[2026-08-10 09:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df8218012d0d2480070434e8001700141d..."} 
[2026-08-10 09:43:38] local.INFO: Processing buffer {"connection_id":151769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df8218012d0d2480070434e8001700141d..."} 
[2026-08-10 09:43:38] local.INFO: Packet analysis {"connection_id":151769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:43:38] local.INFO: Extracted packet for processing {"connection_id":151769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:43:38] local.INFO: GPS Element Parsed {"raw_longitude":755836032,"raw_latitude":117716200,"longitude_deg":75.5836032,"latitude_deg":11.77162,"altitude":23,"angle":20,"satellites":29,"speed":13,"hex_longitude":"2d0d2480","hex_latitude":"070434e8","is_valid_coordinates":true} 
[2026-08-10 09:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301801984001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27320540372926464,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":946670745557192704,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786335167000,"timestamp_ms":1786335167000,"timestamp_seconds":1786335167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df8218"} 
[2026-08-10 09:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301801984001,"66":14428,"16":27320540372926464,"94":11008,"24":13,"45":946670745557192704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301801984001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27320540372926464,"km_value":27320540372926.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:43:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":946670745557192704,"description":"Unknown IO ID 45"} 
[2026-08-10 09:43:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301801984001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":946670745557192704}} 
[2026-08-10 09:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":151769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618947,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:43:38] local.INFO: GPS data processed {"connection_id":151769,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:43:38] local.INFO: Acknowledgment sent {"connection_id":151769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:43:52] local.INFO: TCP Data received {"connection_id":152686,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:43:52] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:43:52] local.INFO: Packet analysis {"connection_id":152686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:43:52] local.INFO: Extracted packet for processing {"connection_id":152686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:43:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":4,"angle":6,"satellites":27,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301691904001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786335035000,"timestamp_ms":1786335035000,"timestamp_seconds":1786335035,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9dd7e78"} 
[2026-08-10 09:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":14,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-10 09:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301691904001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301691904001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:43:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:43:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301691904001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":152686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:43:52] local.INFO: GPS data processed {"connection_id":152686,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:43:52] local.INFO: Acknowledgment sent {"connection_id":152686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:43:59] local.INFO: TCP Data received {"connection_id":151770,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:43:59] local.INFO: Processing buffer {"connection_id":151770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:43:59] local.INFO: IMEI packet received {"connection_id":151770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":151770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:44:00] local.INFO: TCP Data received {"connection_id":152687,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:44:00] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:44:00] local.INFO: IMEI packet received {"connection_id":152687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":152687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:44:01] local.INFO: TCP Data received {"connection_id":152687,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9deaf28012d18d2c007212560004400b717..."} 
[2026-08-10 09:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9deaf28012d18d2c007212560004400b717..."} 
[2026-08-10 09:44:01] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9deaf28012d18d2c007212560004400b717..."} 
[2026-08-10 09:44:01] local.INFO: Packet analysis {"connection_id":152687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9de"} 
[2026-08-10 09:44:01] local.INFO: Extracted packet for processing {"connection_id":152687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9de"} 
[2026-08-10 09:44:01] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119612768,"longitude_deg":75.6601536,"latitude_deg":11.9612768,"altitude":68,"angle":183,"satellites":23,"speed":9,"hex_longitude":"2d18d2c0","hex_latitude":"07212560","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301788160001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11341148907896832,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128992256,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335113000,"timestamp_ms":1786335113000,"timestamp_seconds":1786335113,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9deaf28"} 
[2026-08-10 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-08-10 09:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-10 09:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:01] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3923654160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:01] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3730900993,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-10 09:44:01] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:01] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3221692779,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:01] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,74,159,128,45,58,70,23,10,66,120,62,69,104,64,1,240,22,227,233,33,4,113,205,31,61,178,168,239,55,2,40,7,76,37],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-10 09:44:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972154407309344768,"timestamp_seconds":4972154407309345.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 09:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301788160001,"66":14102,"106":206,"83":41984,"24":9,"16":11341148907896832,"45":1788632770128992256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 09:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301788160001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:44:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 09:44:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11341148907896832,"km_value":11341148907896.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128992256,"description":"Unknown IO ID 45"} 
[2026-08-10 09:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301788160001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1788632770128992256}} 
[2026-08-10 09:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":152687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:44:01] local.INFO: GPS data processed {"connection_id":152687,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:44:01] local.INFO: Acknowledgment sent {"connection_id":152687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:44:04] local.INFO: TCP Data received {"connection_id":151770,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:44:04] local.INFO: Processing buffer {"connection_id":151770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:44:04] local.INFO: IMEI packet received {"connection_id":151770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":151770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:44:05] local.INFO: TCP Data received {"connection_id":151770,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:44:05] local.INFO: Processing buffer {"connection_id":151770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:44:05] local.INFO: Packet analysis {"connection_id":151770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:44:05] local.INFO: Extracted packet for processing {"connection_id":151770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301721088001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786335149000,"timestamp_ms":1786335149000,"timestamp_seconds":1786335149,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df3bc8"} 
[2026-08-10 09:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:44: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-08-10 09:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301721088001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301721088001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:44:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:44:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301721088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":151770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:44:05] local.INFO: GPS data processed {"connection_id":151770,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:44:05] local.INFO: Acknowledgment sent {"connection_id":151770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:44:14] local.INFO: TCP Data received {"connection_id":154142,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:44:14] local.INFO: Processing buffer {"connection_id":154142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:44:14] local.INFO: IMEI packet received {"connection_id":154142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":154142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:44:19] local.INFO: TCP Data received {"connection_id":154142,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:44:19] local.INFO: Processing buffer {"connection_id":154142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:44:19] local.INFO: IMEI packet received {"connection_id":154142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":154142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:44:20] local.INFO: TCP Data received {"connection_id":154142,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:44:20] local.INFO: Processing buffer {"connection_id":154142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:44:20] local.INFO: Packet analysis {"connection_id":154142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:44:20] local.INFO: Extracted packet for processing {"connection_id":154142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:44:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":4,"angle":6,"satellites":27,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301691904001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786335035000,"timestamp_ms":1786335035000,"timestamp_seconds":1786335035,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9dd7e78"} 
[2026-08-10 09:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":14,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-10 09:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301691904001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301691904001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:44:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:44:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301691904001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":154142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:44:20] local.INFO: GPS data processed {"connection_id":154142,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:44:20] local.INFO: Acknowledgment sent {"connection_id":154142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:44:32] local.INFO: TCP Data received {"connection_id":152687,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e0d208012d18f480072130580044006919..."} 
[2026-08-10 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e0d208012d18f480072130580044006919..."} 
[2026-08-10 09:44:32] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e0d208012d18f480072130580044006919..."} 
[2026-08-10 09:44:32] local.INFO: Packet analysis {"connection_id":152687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e0"} 
[2026-08-10 09:44:32] local.INFO: Extracted packet for processing {"connection_id":152687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e0"} 
[2026-08-10 09:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756610176,"raw_latitude":119615576,"longitude_deg":75.6610176,"latitude_deg":11.9615576,"altitude":68,"angle":105,"satellites":25,"speed":1,"hex_longitude":"2d18f480","hex_latitude":"07213058","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301824512001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11341943476846592,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798132550593441792,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786335253000,"timestamp_ms":1786335253000,"timestamp_seconds":1786335253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e0d208"} 
[2026-08-10 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-08-10 09:44: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-08-10 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-10 09:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301824512001,"66":14243,"106":206,"83":41984,"24":1,"16":11341943476846592,"45":1798132550593441792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 09:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301824512001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:44:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 09:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11341943476846592,"km_value":11341943476846.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798132550593441792,"description":"Unknown IO ID 45"} 
[2026-08-10 09:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301824512001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1798132550593441792}} 
[2026-08-10 09:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":152687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:44:32] local.INFO: GPS data processed {"connection_id":152687,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:44:32] local.INFO: Acknowledgment sent {"connection_id":152687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:44:32] local.INFO: TCP Data received {"connection_id":151386,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:44:32] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:44:32] local.INFO: IMEI packet received {"connection_id":151386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":151386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:44:34] local.INFO: TCP Data received {"connection_id":151386,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:44:34] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:44:34] local.INFO: IMEI packet received {"connection_id":151386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":151386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:44:34] local.INFO: TCP Data received {"connection_id":151386,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:44:34] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:44:34] local.INFO: IMEI packet received {"connection_id":151386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":151386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:44:37] local.INFO: TCP Data received {"connection_id":151770,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:44:37] local.INFO: Processing buffer {"connection_id":151770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:44:37] local.INFO: Packet analysis {"connection_id":151770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:44:37] local.INFO: Extracted packet for processing {"connection_id":151770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301721088001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786335149000,"timestamp_ms":1786335149000,"timestamp_seconds":1786335149,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df3bc8"} 
[2026-08-10 09:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:44: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-08-10 09:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301721088001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301721088001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301721088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":151770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:44:37] local.INFO: GPS data processed {"connection_id":151770,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:44:37] local.INFO: Acknowledgment sent {"connection_id":151770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:44:39] local.INFO: TCP Data received {"connection_id":151386,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:44:39] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:44:39] local.INFO: IMEI packet received {"connection_id":151386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":151386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:44:40] local.INFO: TCP Data received {"connection_id":151386,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e0ed60012d0d390007048b50001701671e..."} 
[2026-08-10 09:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e0ed60012d0d390007048b50001701671e..."} 
[2026-08-10 09:44:40] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e0ed60012d0d390007048b50001701671e..."} 
[2026-08-10 09:44:40] local.INFO: Packet analysis {"connection_id":151386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e0"} 
[2026-08-10 09:44:40] local.INFO: Extracted packet for processing {"connection_id":151386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e0"} 
[2026-08-10 09:44:40] local.INFO: GPS Element Parsed {"raw_longitude":755841280,"raw_latitude":117738320,"longitude_deg":75.584128,"latitude_deg":11.773832,"altitude":23,"angle":359,"satellites":30,"speed":15,"hex_longitude":"2d0d3900","hex_latitude":"07048b50","is_valid_coordinates":true} 
[2026-08-10 09:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301824768001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27321661359390720,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952370613841022976,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786335260000,"timestamp_ms":1786335260000,"timestamp_seconds":1786335260,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e0ed60"} 
[2026-08-10 09:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 09:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301824768001,"66":14439,"16":27321661359390720,"94":11008,"24":15,"45":952370613841022976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301824768001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27321661359390720,"km_value":27321661359390.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:44:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":952370613841022976,"description":"Unknown IO ID 45"} 
[2026-08-10 09:44:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301824768001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":952370613841022976}} 
[2026-08-10 09:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":151386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618954,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:44:40] local.INFO: GPS data processed {"connection_id":151386,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:44:40] local.INFO: Acknowledgment sent {"connection_id":151386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:44:51] local.INFO: TCP Data received {"connection_id":154142,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:44:51] local.INFO: Processing buffer {"connection_id":154142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:44:51] local.INFO: Packet analysis {"connection_id":154142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:44:51] local.INFO: Extracted packet for processing {"connection_id":154142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:44:51] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":4,"angle":6,"satellites":27,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301691904001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786335035000,"timestamp_ms":1786335035000,"timestamp_seconds":1786335035,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9dd7e78"} 
[2026-08-10 09:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":14,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-10 09:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301691904001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301691904001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:44:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:44:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301691904001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":154142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:44:51] local.INFO: GPS data processed {"connection_id":154142,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:44:51] local.INFO: Acknowledgment sent {"connection_id":154142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:44:55] local.INFO: TCP Data received {"connection_id":152688,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:44:55] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:44:55] local.INFO: IMEI packet received {"connection_id":152688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":152688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:44:59] local.INFO: TCP Data received {"connection_id":152689,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:44:59] local.INFO: Processing buffer {"connection_id":152689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:44:59] local.INFO: IMEI packet received {"connection_id":152689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":152689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:45:00] local.INFO: TCP Data received {"connection_id":152688,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:45:00] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:45:00] local.INFO: IMEI packet received {"connection_id":152688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":152688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:45:01] local.INFO: TCP Data received {"connection_id":152688,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e0e978012d18f44007212fe0004400d319..."} 
[2026-08-10 09:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e0e978012d18f44007212fe0004400d319..."} 
[2026-08-10 09:45:01] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e0e978012d18f44007212fe0004400d319..."} 
[2026-08-10 09:45:01] local.INFO: Packet analysis {"connection_id":152688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e0"} 
[2026-08-10 09:45:01] local.INFO: Extracted packet for processing {"connection_id":152688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e0"} 
[2026-08-10 09:45:01] local.INFO: GPS Element Parsed {"raw_longitude":756610112,"raw_latitude":119615456,"longitude_deg":75.6610112,"latitude_deg":11.9615456,"altitude":68,"angle":211,"satellites":25,"speed":3,"hex_longitude":"2d18f440","hex_latitude":"07212fe0","is_valid_coordinates":true} 
[2026-08-10 09:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301824768001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11341947771813888,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798202919337613312,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335259000,"timestamp_ms":1786335259000,"timestamp_seconds":1786335259,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e0e978"} 
[2026-08-10 09:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-10 09:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301824768001,"66":14363,"106":206,"83":41984,"24":3,"16":11341947771813888,"45":1798202919337613312},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 09:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301824768001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:45:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 09:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11341947771813888,"km_value":11341947771813.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798202919337613312,"description":"Unknown IO ID 45"} 
[2026-08-10 09:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301824768001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1798202919337613312}} 
[2026-08-10 09:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":152688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:45:01] local.INFO: GPS data processed {"connection_id":152688,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:45:01] local.INFO: Acknowledgment sent {"connection_id":152688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:45:04] local.INFO: TCP Data received {"connection_id":152689,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:45:04] local.INFO: Processing buffer {"connection_id":152689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:45:04] local.INFO: IMEI packet received {"connection_id":152689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":152689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:45:09] local.INFO: TCP Data received {"connection_id":152689,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:45:09] local.INFO: Processing buffer {"connection_id":152689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:45:09] local.INFO: Packet analysis {"connection_id":152689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:45:09] local.INFO: Extracted packet for processing {"connection_id":152689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301721088001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786335149000,"timestamp_ms":1786335149000,"timestamp_seconds":1786335149,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df3bc8"} 
[2026-08-10 09:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301721088001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301721088001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301721088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":152689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:45:09] local.INFO: GPS data processed {"connection_id":152689,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:45:09] local.INFO: Acknowledgment sent {"connection_id":152689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:45:14] local.INFO: TCP Data received {"connection_id":151387,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:45:14] local.INFO: Processing buffer {"connection_id":151387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:45:14] local.INFO: IMEI packet received {"connection_id":151387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":151387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:45:19] local.INFO: TCP Data received {"connection_id":151387,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:45:19] local.INFO: Processing buffer {"connection_id":151387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:45:19] local.INFO: IMEI packet received {"connection_id":151387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":151387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:45:20] local.INFO: TCP Data received {"connection_id":151387,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:45:20] local.INFO: Processing buffer {"connection_id":151387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9dd7e78012d7d358005ec0eb0000400061b..."} 
[2026-08-10 09:45:20] local.INFO: Packet analysis {"connection_id":151387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:45:20] local.INFO: Extracted packet for processing {"connection_id":151387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9dd"} 
[2026-08-10 09:45:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":4,"angle":6,"satellites":27,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301691904001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786335035000,"timestamp_ms":1786335035000,"timestamp_seconds":1786335035,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9dd7e78"} 
[2026-08-10 09:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:45: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":14,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-10 09:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301691904001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301691904001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:45:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:45:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301691904001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":151387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:45:20] local.INFO: GPS data processed {"connection_id":151387,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:45:20] local.INFO: Acknowledgment sent {"connection_id":151387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:45:24] local.INFO: TCP Data received {"connection_id":154143,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154143,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:45:24] local.INFO: Processing buffer {"connection_id":154143,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:45:24] local.INFO: IMEI packet received {"connection_id":154143,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":154143,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:45:28] local.INFO: TCP Data received {"connection_id":154143,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154143,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:45:28] local.INFO: Processing buffer {"connection_id":154143,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:45:28] local.INFO: IMEI packet received {"connection_id":154143,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":154143,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:45:30] local.INFO: TCP Data received {"connection_id":154143,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e11470012d0d3940070499d8001701571c..."} 
[2026-08-10 09:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e11470012d0d3940070499d8001701571c..."} 
[2026-08-10 09:45:30] local.INFO: Processing buffer {"connection_id":154143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e11470012d0d3940070499d8001701571c..."} 
[2026-08-10 09:45:30] local.INFO: Packet analysis {"connection_id":154143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e1"} 
[2026-08-10 09:45:30] local.INFO: Extracted packet for processing {"connection_id":154143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e1"} 
[2026-08-10 09:45:30] local.INFO: GPS Element Parsed {"raw_longitude":755841344,"raw_latitude":117742040,"longitude_deg":75.5841344,"latitude_deg":11.774204,"altitude":23,"angle":343,"satellites":28,"speed":13,"hex_longitude":"2d0d3940","hex_latitude":"070499d8","is_valid_coordinates":true} 
[2026-08-10 09:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301826560001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27321841748017152,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952792826306580480,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786335270000,"timestamp_ms":1786335270000,"timestamp_seconds":1786335270,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e11470"} 
[2026-08-10 09:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 09:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154143,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154143,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301826560001,"66":14428,"16":27321841748017152,"94":11008,"24":13,"45":952792826306580480},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301826560001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27321841748017152,"km_value":27321841748017.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:45:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":952792826306580480,"description":"Unknown IO ID 45"} 
[2026-08-10 09:45:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301826560001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":952792826306580480}} 
[2026-08-10 09:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":154143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618959,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:45:30] local.INFO: GPS data processed {"connection_id":154143,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:45:30] local.INFO: Acknowledgment sent {"connection_id":154143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:45:32] local.INFO: TCP Data received {"connection_id":152688,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e18d88012d18d28007211df00041016519..."} 
[2026-08-10 09:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e18d88012d18d28007211df00041016519..."} 
[2026-08-10 09:45:32] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e18d88012d18d28007211df00041016519..."} 
[2026-08-10 09:45:32] local.INFO: Packet analysis {"connection_id":152688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e1"} 
[2026-08-10 09:45:32] local.INFO: Extracted packet for processing {"connection_id":152688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e1"} 
[2026-08-10 09:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119610864,"longitude_deg":75.6601472,"latitude_deg":11.9610864,"altitude":65,"angle":357,"satellites":25,"speed":10,"hex_longitude":"2d18d280","hex_latitude":"07211df0","is_valid_coordinates":true} 
[2026-08-10 09:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301836800001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11342596311875584,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128183296,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786335301000,"timestamp_ms":1786335301000,"timestamp_seconds":1786335301,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e18d88"} 
[2026-08-10 09:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 09:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301836800001,"66":14265,"106":206,"83":41984,"24":10,"16":11342596311875584,"45":1788632770128183296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 09:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301836800001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:45:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 09:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11342596311875584,"km_value":11342596311875.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128183296,"description":"Unknown IO ID 45"} 
[2026-08-10 09:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301836800001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1788632770128183296}} 
[2026-08-10 09:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":152688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:45:32] local.INFO: GPS data processed {"connection_id":152688,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:45:32] local.INFO: Acknowledgment sent {"connection_id":152688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:45:52] local.INFO: TCP Data received {"connection_id":151387,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:45:52] local.INFO: Processing buffer {"connection_id":151387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:45:52] local.INFO: Packet analysis {"connection_id":151387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:45:52] local.INFO: Extracted packet for processing {"connection_id":151387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:45:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":3,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301768960001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786335336000,"timestamp_ms":1786335336000,"timestamp_seconds":1786335336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e21640"} 
[2026-08-10 09:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301768960001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301768960001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:45:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:45:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301768960001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":151387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:45:52] local.INFO: GPS data processed {"connection_id":151387,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:45:52] local.INFO: Acknowledgment sent {"connection_id":151387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:45:54] local.INFO: TCP Data received {"connection_id":151771,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:45:54] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:45:54] local.INFO: IMEI packet received {"connection_id":151771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":151771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:45:55] local.INFO: TCP Data received {"connection_id":151771,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:45:55] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:45:55] local.INFO: IMEI packet received {"connection_id":151771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":151771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:45:56] local.INFO: TCP Data received {"connection_id":151771,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:45:56] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:45:56] local.INFO: IMEI packet received {"connection_id":151771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":151771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:45:56] local.INFO: TCP Data received {"connection_id":152689,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:45:56] local.INFO: Processing buffer {"connection_id":152689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:45:56] local.INFO: Packet analysis {"connection_id":152689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:45:56] local.INFO: Extracted packet for processing {"connection_id":152689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:45:56] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301721088001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786335149000,"timestamp_ms":1786335149000,"timestamp_seconds":1786335149,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df3bc8"} 
[2026-08-10 09:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301721088001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301721088001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:45:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:45:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301721088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":152689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:45:56] local.INFO: GPS data processed {"connection_id":152689,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:45:56] local.INFO: Acknowledgment sent {"connection_id":152689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:45:59] local.INFO: TCP Data received {"connection_id":151772,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:45:59] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:45:59] local.INFO: IMEI packet received {"connection_id":151772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":151772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:46:00] local.INFO: TCP Data received {"connection_id":151771,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:46:00] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:46:00] local.INFO: IMEI packet received {"connection_id":151771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":151771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:46:01] local.INFO: TCP Data received {"connection_id":151771,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e1a8e0012d18d1c0072128800042015519..."} 
[2026-08-10 09:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e1a8e0012d18d1c0072128800042015519..."} 
[2026-08-10 09:46:01] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e1a8e0012d18d1c0072128800042015519..."} 
[2026-08-10 09:46:01] local.INFO: Packet analysis {"connection_id":151771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e1"} 
[2026-08-10 09:46:01] local.INFO: Extracted packet for processing {"connection_id":151771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e1"} 
[2026-08-10 09:46:01] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119613568,"longitude_deg":75.660128,"latitude_deg":11.9613568,"altitude":66,"angle":341,"satellites":25,"speed":7,"hex_longitude":"2d18d1c0","hex_latitude":"07212880","is_valid_coordinates":true} 
[2026-08-10 09:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301837056001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11342725160894464,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128244736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335308000,"timestamp_ms":1786335308000,"timestamp_seconds":1786335308,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e1a8e0"} 
[2026-08-10 09:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 09:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301837056001,"66":14135,"106":206,"83":41984,"24":7,"16":11342725160894464,"45":1788632770128244736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 09:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301837056001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:46:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 09:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11342725160894464,"km_value":11342725160894.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128244736,"description":"Unknown IO ID 45"} 
[2026-08-10 09:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301837056001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1788632770128244736}} 
[2026-08-10 09:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":151771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:46:01] local.INFO: GPS data processed {"connection_id":151771,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:46:01] local.INFO: Acknowledgment sent {"connection_id":151771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:46:04] local.INFO: TCP Data received {"connection_id":151772,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:46:05] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:46:05] local.INFO: IMEI packet received {"connection_id":151772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":151772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:46:06] local.INFO: TCP Data received {"connection_id":151772,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:46:06] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:46:06] local.INFO: Packet analysis {"connection_id":151772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:46:06] local.INFO: Extracted packet for processing {"connection_id":151772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301721088001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786335149000,"timestamp_ms":1786335149000,"timestamp_seconds":1786335149,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df3bc8"} 
[2026-08-10 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-08-10 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301721088001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301721088001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301721088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":151772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:46:06] local.INFO: GPS data processed {"connection_id":151772,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:46:06] local.INFO: Acknowledgment sent {"connection_id":151772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:46:08] local.INFO: TCP Data received {"connection_id":154143,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e21e10012d0ce6000704beb0002000fb1a..."} 
[2026-08-10 09:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e21e10012d0ce6000704beb0002000fb1a..."} 
[2026-08-10 09:46:08] local.INFO: Processing buffer {"connection_id":154143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e21e10012d0ce6000704beb0002000fb1a..."} 
[2026-08-10 09:46:08] local.INFO: Packet analysis {"connection_id":154143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:46:08] local.INFO: Extracted packet for processing {"connection_id":154143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:46:08] local.INFO: GPS Element Parsed {"raw_longitude":755820032,"raw_latitude":117751472,"longitude_deg":75.5820032,"latitude_deg":11.7751472,"altitude":32,"angle":251,"satellites":26,"speed":7,"hex_longitude":"2d0ce600","hex_latitude":"0704beb0","is_valid_coordinates":true} 
[2026-08-10 09:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301846016001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27323289151995904,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929852615708061696,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786335338000,"timestamp_ms":1786335338000,"timestamp_seconds":1786335338,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e21e10"} 
[2026-08-10 09:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 09:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154143,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154143,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301846016001,"66":14537,"17":206,"94":11008,"24":7,"16":27323289151995904,"45":929852615708061696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 09:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301846016001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:46:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27323289151995904,"km_value":27323289151995.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":929852615708061696,"description":"Unknown IO ID 45"} 
[2026-08-10 09:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301846016001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":929852615708061696}} 
[2026-08-10 09:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":154143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618965,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:46:09] local.INFO: GPS data processed {"connection_id":154143,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:46:09] local.INFO: Acknowledgment sent {"connection_id":154143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:46:14] local.INFO: TCP Data received {"connection_id":152690,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:46:14] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:46:14] local.INFO: IMEI packet received {"connection_id":152690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":152690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:46:19] local.INFO: TCP Data received {"connection_id":152690,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:46:19] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:46:19] local.INFO: IMEI packet received {"connection_id":152690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":152690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:46:20] local.INFO: TCP Data received {"connection_id":152690,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:46:20] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:46:20] local.INFO: Packet analysis {"connection_id":152690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:46:20] local.INFO: Extracted packet for processing {"connection_id":152690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:46:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":3,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301768960001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786335336000,"timestamp_ms":1786335336000,"timestamp_seconds":1786335336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e21640"} 
[2026-08-10 09:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:46: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-08-10 09: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301768960001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301768960001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:46:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:46:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301768960001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":152690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:46:21] local.INFO: GPS data processed {"connection_id":152690,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:46:21] local.INFO: Acknowledgment sent {"connection_id":152690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:46:22] local.INFO: TCP Data received {"connection_id":154144,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:46:22] local.INFO: Processing buffer {"connection_id":154144,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:46:22] local.INFO: IMEI packet received {"connection_id":154144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":154144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:46:23] local.INFO: TCP Data received {"connection_id":154144,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:46:23] local.INFO: Processing buffer {"connection_id":154144,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:46:23] local.INFO: IMEI packet received {"connection_id":154144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":154144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:46:24] local.INFO: TCP Data received {"connection_id":154144,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:46:24] local.INFO: Processing buffer {"connection_id":154144,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:46:24] local.INFO: IMEI packet received {"connection_id":154144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":154144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:46:29] local.INFO: TCP Data received {"connection_id":154144,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:46:29] local.INFO: Processing buffer {"connection_id":154144,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:46:29] local.INFO: IMEI packet received {"connection_id":154144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":154144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:46:30] local.INFO: TCP Data received {"connection_id":154144,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e229c8012d0ce2c00704bde00020010a1a..."} 
[2026-08-10 09:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e229c8012d0ce2c00704bde00020010a1a..."} 
[2026-08-10 09:46:30] local.INFO: Processing buffer {"connection_id":154144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e229c8012d0ce2c00704bde00020010a1a..."} 
[2026-08-10 09:46:30] local.INFO: Packet analysis {"connection_id":154144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:46:30] local.INFO: Extracted packet for processing {"connection_id":154144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:46:30] local.INFO: GPS Element Parsed {"raw_longitude":755819200,"raw_latitude":117751264,"longitude_deg":75.58192,"latitude_deg":11.7751264,"altitude":32,"angle":266,"satellites":26,"speed":13,"hex_longitude":"2d0ce2c0","hex_latitude":"0704bde0","is_valid_coordinates":true} 
[2026-08-10 09:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301846528001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27323327806701568,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929430403242962944,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786335341000,"timestamp_ms":1786335341000,"timestamp_seconds":1786335341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e229c8"} 
[2026-08-10 09:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 09:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301846528001,"66":14428,"17":206,"94":11008,"24":13,"16":27323327806701568,"45":929430403242962944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 09:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301846528001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:46:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27323327806701568,"km_value":27323327806701.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":929430403242962944,"description":"Unknown IO ID 45"} 
[2026-08-10 09:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301846528001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":929430403242962944}} 
[2026-08-10 09:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":154144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618967,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:46:30] local.INFO: GPS data processed {"connection_id":154144,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:46:30] local.INFO: Acknowledgment sent {"connection_id":154144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:46:32] local.INFO: TCP Data received {"connection_id":151771,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e1cff0012d18cf8007212c580041014919..."} 
[2026-08-10 09:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e1cff0012d18cf8007212c580041014919..."} 
[2026-08-10 09:46:32] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e1cff0012d18cf8007212c580041014919..."} 
[2026-08-10 09:46:32] local.INFO: Packet analysis {"connection_id":151771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e1"} 
[2026-08-10 09:46:32] local.INFO: Extracted packet for processing {"connection_id":151771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e1"} 
[2026-08-10 09:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756600704,"raw_latitude":119614552,"longitude_deg":75.6600704,"latitude_deg":11.9614552,"altitude":65,"angle":329,"satellites":25,"speed":16,"hex_longitude":"2d18cf80","hex_latitude":"07212c58","is_valid_coordinates":true} 
[2026-08-10 09:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301838848001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11342785290436608,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663896403968,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786335318000,"timestamp_ms":1786335318000,"timestamp_seconds":1786335318,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e1cff0"} 
[2026-08-10 09:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-10 09:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301838848001,"66":14298,"103":206,"83":41984,"24":16,"16":11342785290436608,"45":1788421663896403968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 09:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301838848001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:46:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 09:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11342785290436608,"km_value":11342785290436.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663896403968,"description":"Unknown IO ID 45"} 
[2026-08-10 09:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301838848001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1788421663896403968}} 
[2026-08-10 09:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":151771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:46:32] local.INFO: GPS data processed {"connection_id":151771,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:46:32] local.INFO: Acknowledgment sent {"connection_id":151771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:46:38] local.INFO: TCP Data received {"connection_id":151772,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:46:38] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:46:38] local.INFO: Packet analysis {"connection_id":151772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:46:38] local.INFO: Extracted packet for processing {"connection_id":151772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301721088001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786335149000,"timestamp_ms":1786335149000,"timestamp_seconds":1786335149,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df3bc8"} 
[2026-08-10 09:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301721088001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301721088001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301721088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":151772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:46:38] local.INFO: GPS data processed {"connection_id":151772,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:46:38] local.INFO: Acknowledgment sent {"connection_id":151772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:46:52] local.INFO: TCP Data received {"connection_id":152690,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:46:52] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:46:52] local.INFO: Packet analysis {"connection_id":152690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:46:52] local.INFO: Extracted packet for processing {"connection_id":152690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":3,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301768960001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786335336000,"timestamp_ms":1786335336000,"timestamp_seconds":1786335336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e21640"} 
[2026-08-10 09:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301768960001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301768960001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:46:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:46:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301768960001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":152690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:46:52] local.INFO: GPS data processed {"connection_id":152690,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:46:52] local.INFO: Acknowledgment sent {"connection_id":152690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:46:54] local.INFO: TCP Data received {"connection_id":154145,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:46:54] local.INFO: Processing buffer {"connection_id":154145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:46:54] local.INFO: IMEI packet received {"connection_id":154145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":154145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:47:00] local.INFO: TCP Data received {"connection_id":154145,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:47:00] local.INFO: Processing buffer {"connection_id":154145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:47:00] local.INFO: IMEI packet received {"connection_id":154145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":154145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:47:01] local.INFO: TCP Data received {"connection_id":154145,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e2a6c8012d185900072185780049012618..."} 
[2026-08-10 09:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e2a6c8012d185900072185780049012618..."} 
[2026-08-10 09:47:01] local.INFO: Processing buffer {"connection_id":154145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e2a6c8012d185900072185780049012618..."} 
[2026-08-10 09:47:01] local.INFO: Packet analysis {"connection_id":154145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:47:01] local.INFO: Extracted packet for processing {"connection_id":154145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:47:01] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119637368,"longitude_deg":75.6570368,"latitude_deg":11.9637368,"altitude":73,"angle":294,"satellites":24,"speed":35,"hex_longitude":"2d185900","hex_latitude":"07218578","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301854720001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344821104934912,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757248310231549952,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335373000,"timestamp_ms":1786335373000,"timestamp_seconds":1786335373,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e2a6c8"} 
[2026-08-10 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-08-10 09:47: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-08-10 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 09:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301854720001,"66":14396,"105":206,"83":41984,"24":35,"16":11344821104934912,"45":1757248310231549952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301854720001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:47:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344821104934912,"km_value":11344821104934.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757248310231549952,"description":"Unknown IO ID 45"} 
[2026-08-10 09:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301854720001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1757248310231549952}} 
[2026-08-10 09:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":154145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:47:01] local.INFO: GPS data processed {"connection_id":154145,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:47:01] local.INFO: Acknowledgment sent {"connection_id":154145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:47:01] local.INFO: TCP Data received {"connection_id":154144,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e2e548012d0c92400704cb30001900ac1e..."} 
[2026-08-10 09:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e2e548012d0c92400704cb30001900ac1e..."} 
[2026-08-10 09:47:01] local.INFO: Processing buffer {"connection_id":154144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e2e548012d0c92400704cb30001900ac1e..."} 
[2026-08-10 09:47:01] local.INFO: Packet analysis {"connection_id":154144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:47:01] local.INFO: Extracted packet for processing {"connection_id":154144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:47:01] local.INFO: GPS Element Parsed {"raw_longitude":755798592,"raw_latitude":117754672,"longitude_deg":75.5798592,"latitude_deg":11.7754672,"altitude":25,"angle":172,"satellites":30,"speed":11,"hex_longitude":"2d0c9240","hex_latitude":"0704cb30","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301859328001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27324418728394752,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905856873944332288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335389000,"timestamp_ms":1786335389000,"timestamp_seconds":1786335389,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e2e548"} 
[2026-08-10 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-08-10 09:47: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-08-10 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 09:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301859328001,"66":13624,"95":206,"94":10240,"24":11,"16":27324418728394752,"45":905856873944332288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 09:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301859328001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:47:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 09:47:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27324418728394752,"km_value":27324418728394.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":905856873944332288,"description":"Unknown IO ID 45"} 
[2026-08-10 09:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301859328001,"power":13624,"unknown_95":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":905856873944332288}} 
[2026-08-10 09:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":154144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618972,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:47:01] local.INFO: GPS data processed {"connection_id":154144,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:47:01] local.INFO: Acknowledgment sent {"connection_id":154144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:47:04] local.INFO: TCP Data received {"connection_id":151773,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:47:04] local.INFO: Processing buffer {"connection_id":151773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:47:04] local.INFO: IMEI packet received {"connection_id":151773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":151773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:47:09] local.INFO: TCP Data received {"connection_id":151773,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:47:09] local.INFO: Processing buffer {"connection_id":151773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:47:09] local.INFO: IMEI packet received {"connection_id":151773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":151773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:47:11] local.INFO: TCP Data received {"connection_id":151773,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:47:11] local.INFO: Processing buffer {"connection_id":151773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:47:11] local.INFO: Packet analysis {"connection_id":151773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:47:11] local.INFO: Extracted packet for processing {"connection_id":151773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301721088001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786335149000,"timestamp_ms":1786335149000,"timestamp_seconds":1786335149,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df3bc8"} 
[2026-08-10 09:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301721088001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301721088001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301721088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":151773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:47:11] local.INFO: GPS data processed {"connection_id":151773,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:47:11] local.INFO: Acknowledgment sent {"connection_id":151773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:47:15] local.INFO: TCP Data received {"connection_id":151773,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:47:15] local.INFO: Processing buffer {"connection_id":151773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:47:15] local.INFO: Packet analysis {"connection_id":151773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:47:15] local.INFO: Extracted packet for processing {"connection_id":151773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301721088001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786335149000,"timestamp_ms":1786335149000,"timestamp_seconds":1786335149,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df3bc8"} 
[2026-08-10 09:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301721088001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301721088001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301721088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":151773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:47:15] local.INFO: GPS data processed {"connection_id":151773,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:47:15] local.INFO: Acknowledgment sent {"connection_id":151773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:47:19] local.INFO: TCP Data received {"connection_id":154146,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:47:19] local.INFO: Processing buffer {"connection_id":154146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:47:19] local.INFO: IMEI packet received {"connection_id":154146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":154146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:47:24] local.INFO: TCP Data received {"connection_id":151388,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:47:24] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:47:24] local.INFO: IMEI packet received {"connection_id":151388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":151388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:47:24] local.INFO: TCP Data received {"connection_id":154146,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:47:24] local.INFO: Processing buffer {"connection_id":154146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:47:24] local.INFO: IMEI packet received {"connection_id":154146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":154146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:47:25] local.INFO: TCP Data received {"connection_id":154146,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:47:25] local.INFO: Processing buffer {"connection_id":154146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:47:25] local.INFO: Packet analysis {"connection_id":154146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:47:25] local.INFO: Extracted packet for processing {"connection_id":154146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":3,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301768960001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786335336000,"timestamp_ms":1786335336000,"timestamp_seconds":1786335336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e21640"} 
[2026-08-10 09:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301768960001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301768960001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:47:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:47:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301768960001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":154146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:47:25] local.INFO: GPS data processed {"connection_id":154146,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:47:25] local.INFO: Acknowledgment sent {"connection_id":154146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:47:27] local.INFO: TCP Data received {"connection_id":151388,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:47:27] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:47:27] local.INFO: IMEI packet received {"connection_id":151388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":151388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:47:30] local.INFO: TCP Data received {"connection_id":151388,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:47:30] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:47:30] local.INFO: IMEI packet received {"connection_id":151388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":151388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:47:30] local.INFO: TCP Data received {"connection_id":151388,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e30488012d0c97000704bc800017009d1f..."} 
[2026-08-10 09:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e30488012d0c97000704bc800017009d1f..."} 
[2026-08-10 09:47:30] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e30488012d0c97000704bc800017009d1f..."} 
[2026-08-10 09:47:30] local.INFO: Packet analysis {"connection_id":151388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:47:30] local.INFO: Extracted packet for processing {"connection_id":151388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:47:30] local.INFO: GPS Element Parsed {"raw_longitude":755799808,"raw_latitude":117750912,"longitude_deg":75.5799808,"latitude_deg":11.7750912,"altitude":23,"angle":157,"satellites":31,"speed":25,"hex_longitude":"2d0c9700","hex_latitude":"0704bc80","is_valid_coordinates":true} 
[2026-08-10 09:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301859584001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27324612001923072,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905856873944264704,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786335397000,"timestamp_ms":1786335397000,"timestamp_seconds":1786335397,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e30488"} 
[2026-08-10 09:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-10 09:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301859584001,"66":14428,"95":206,"94":10240,"24":25,"16":27324612001923072,"45":905856873944264704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 09:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301859584001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:47:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 09:47:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27324612001923072,"km_value":27324612001923.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":905856873944264704,"description":"Unknown IO ID 45"} 
[2026-08-10 09:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301859584001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":905856873944264704}} 
[2026-08-10 09:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":151388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618976,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:47:31] local.INFO: GPS data processed {"connection_id":151388,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:47:31] local.INFO: Acknowledgment sent {"connection_id":151388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:47:31] local.INFO: TCP Data received {"connection_id":154146,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:47:31] local.INFO: Processing buffer {"connection_id":154146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:47:31] local.INFO: Packet analysis {"connection_id":154146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:47:31] local.INFO: Extracted packet for processing {"connection_id":154146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":3,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301768960001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786335336000,"timestamp_ms":1786335336000,"timestamp_seconds":1786335336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e21640"} 
[2026-08-10 09:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301768960001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301768960001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:47:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:47:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301768960001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":154146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:47:31] local.INFO: GPS data processed {"connection_id":154146,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:47:31] local.INFO: Acknowledgment sent {"connection_id":154146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:47:32] local.INFO: TCP Data received {"connection_id":154145,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e2dd78012d183940072194380049011318..."} 
[2026-08-10 09:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e2dd78012d183940072194380049011318..."} 
[2026-08-10 09:47:32] local.INFO: Processing buffer {"connection_id":154145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e2dd78012d183940072194380049011318..."} 
[2026-08-10 09:47:32] local.INFO: Packet analysis {"connection_id":154145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:47:32] local.INFO: Extracted packet for processing {"connection_id":154145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756562240,"raw_latitude":119641144,"longitude_deg":75.656224,"latitude_deg":11.9641144,"altitude":73,"angle":275,"satellites":24,"speed":6,"hex_longitude":"2d183940","hex_latitude":"07219438","is_valid_coordinates":true} 
[2026-08-10 09:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301855488001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345246306697216,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560464685056,"note":"Value kept but may cause issues"} 
[2026-08-10 09:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786335387000,"timestamp_ms":1786335387000,"timestamp_seconds":1786335387,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e2dd78"} 
[2026-08-10 09:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301855488001,"66":14048,"105":206,"83":41984,"24":6,"16":11345246306697216,"45":1754433560464685056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301855488001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:47:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345246306697216,"km_value":11345246306697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560464685056,"description":"Unknown IO ID 45"} 
[2026-08-10 09:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301855488001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1754433560464685056}} 
[2026-08-10 09:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":154145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:47:32] local.INFO: GPS data processed {"connection_id":154145,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:47:32] local.INFO: Acknowledgment sent {"connection_id":154145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:47:54] local.INFO: TCP Data received {"connection_id":154147,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:47:54] local.INFO: Processing buffer {"connection_id":154147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:47:54] local.INFO: IMEI packet received {"connection_id":154147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":154147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:47:59] local.INFO: TCP Data received {"connection_id":151774,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:47:59] local.INFO: Processing buffer {"connection_id":151774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:47:59] local.INFO: IMEI packet received {"connection_id":151774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":151774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:48:00] local.INFO: TCP Data received {"connection_id":154147,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:48:00] local.INFO: Processing buffer {"connection_id":154147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:48:00] local.INFO: IMEI packet received {"connection_id":154147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":154147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:48:01] local.INFO: TCP Data received {"connection_id":154147,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e31040012d18378007219460004b012119..."} 
[2026-08-10 09:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e31040012d18378007219460004b012119..."} 
[2026-08-10 09:48:01] local.INFO: Processing buffer {"connection_id":154147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e31040012d18378007219460004b012119..."} 
[2026-08-10 09:48:01] local.INFO: Packet analysis {"connection_id":154147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:48:01] local.INFO: Extracted packet for processing {"connection_id":154147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:48:01] local.INFO: GPS Element Parsed {"raw_longitude":756561792,"raw_latitude":119641184,"longitude_deg":75.6561792,"latitude_deg":11.9641184,"altitude":75,"angle":289,"satellites":25,"speed":3,"hex_longitude":"2d183780","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301859072001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345272076500992,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745496729955088384,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335400000,"timestamp_ms":1786335400000,"timestamp_seconds":1786335400,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e31040"} 
[2026-08-10 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-08-10 09:48: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-08-10 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 09:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301859072001,"66":13243,"105":206,"83":41984,"24":3,"16":11345272076500992,"45":1745496729955088384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301859072001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:48:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:48:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345272076500992,"km_value":11345272076500.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745496729955088384,"description":"Unknown IO ID 45"} 
[2026-08-10 09:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301859072001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1745496729955088384}} 
[2026-08-10 09:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":154147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:48:01] local.INFO: GPS data processed {"connection_id":154147,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:48:01] local.INFO: Acknowledgment sent {"connection_id":154147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:48:04] local.INFO: TCP Data received {"connection_id":151774,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:48:04] local.INFO: Processing buffer {"connection_id":151774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:48:04] local.INFO: IMEI packet received {"connection_id":151774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":151774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:48:05] local.INFO: TCP Data received {"connection_id":151774,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:48:05] local.INFO: Processing buffer {"connection_id":151774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9df3bc8012d34c20006aa3f08000900f326..."} 
[2026-08-10 09:48:05] local.INFO: Packet analysis {"connection_id":151774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:48:05] local.INFO: Extracted packet for processing {"connection_id":151774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9df"} 
[2026-08-10 09:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301721088001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786335149000,"timestamp_ms":1786335149000,"timestamp_seconds":1786335149,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9df3bc8"} 
[2026-08-10 09:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 09:48: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-08-10 09:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301721088001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301721088001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:48:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301721088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":151774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:48:05] local.INFO: GPS data processed {"connection_id":151774,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:48:05] local.INFO: Acknowledgment sent {"connection_id":151774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:48:07] local.INFO: TCP Data received {"connection_id":151388,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e35690012d0ca0c00704a7d00019009e1f..."} 
[2026-08-10 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e35690012d0ca0c00704a7d00019009e1f..."} 
[2026-08-10 09:48:07] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e35690012d0ca0c00704a7d00019009e1f..."} 
[2026-08-10 09:48:07] local.INFO: Packet analysis {"connection_id":151388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:48:07] local.INFO: Extracted packet for processing {"connection_id":151388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":755802304,"raw_latitude":117745616,"longitude_deg":75.5802304,"latitude_deg":11.7745616,"altitude":25,"angle":158,"satellites":31,"speed":0,"hex_longitude":"2d0ca0c0","hex_latitude":"0704a7d0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301861632001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27324899764731904,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907193880082677760,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786335418000,"timestamp_ms":1786335418000,"timestamp_seconds":1786335418,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e35690"} 
[2026-08-10 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-08-10 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 09:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301861632001,"66":14439,"95":206,"94":10240,"24":0,"16":27324899764731904,"45":907193880082677760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 09:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301861632001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:48:07] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 09:48:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27324899764731904,"km_value":27324899764731.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":907193880082677760,"description":"Unknown IO ID 45"} 
[2026-08-10 09:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301861632001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":907193880082677760}} 
[2026-08-10 09:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":151388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618981,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:48:07] local.INFO: GPS data processed {"connection_id":151388,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:48:07] local.INFO: Acknowledgment sent {"connection_id":151388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:48:14] local.INFO: TCP Data received {"connection_id":151389,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:48:14] local.INFO: Processing buffer {"connection_id":151389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:48:14] local.INFO: IMEI packet received {"connection_id":151389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":151389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:48:19] local.INFO: TCP Data received {"connection_id":151389,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:48:19] local.INFO: Processing buffer {"connection_id":151389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:48:19] local.INFO: IMEI packet received {"connection_id":151389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":151389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:48:20] local.INFO: TCP Data received {"connection_id":151389,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:48:20] local.INFO: Processing buffer {"connection_id":151389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:48:20] local.INFO: Packet analysis {"connection_id":151389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:48:20] local.INFO: Extracted packet for processing {"connection_id":151389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:48:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":3,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301768960001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786335336000,"timestamp_ms":1786335336000,"timestamp_seconds":1786335336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e21640"} 
[2026-08-10 09:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:48: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-08-10 09:48: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301768960001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301768960001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:48:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:48:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301768960001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":151389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:48:20] local.INFO: GPS data processed {"connection_id":151389,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:48:20] local.INFO: Acknowledgment sent {"connection_id":151389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:48:29] local.INFO: TCP Data received {"connection_id":151775,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:48:29] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:48:29] local.INFO: IMEI packet received {"connection_id":151775,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":151775,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:48:31] local.INFO: TCP Data received {"connection_id":151775,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:48:31] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:48:31] local.INFO: IMEI packet received {"connection_id":151775,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":151775,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:48:32] local.INFO: TCP Data received {"connection_id":151775,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e398f8012d0ca2000704a6f0001a00921f..."} 
[2026-08-10 09:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e398f8012d0ca2000704a6f0001a00921f..."} 
[2026-08-10 09:48:32] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e398f8012d0ca2000704a6f0001a00921f..."} 
[2026-08-10 09:48:32] local.INFO: Packet analysis {"connection_id":151775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:48:32] local.INFO: Extracted packet for processing {"connection_id":151775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:48:32] local.INFO: GPS Element Parsed {"raw_longitude":755802624,"raw_latitude":117745392,"longitude_deg":75.5802624,"latitude_deg":11.7745392,"altitude":26,"angle":146,"satellites":31,"speed":3,"hex_longitude":"2d0ca200","hex_latitude":"0704a6f0","is_valid_coordinates":true} 
[2026-08-10 09:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301867008001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27324916944601088,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909938261104250880,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786335435000,"timestamp_ms":1786335435000,"timestamp_seconds":1786335435,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e398f8"} 
[2026-08-10 09:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 09:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301867008001,"66":14515,"95":206,"94":10240,"24":3,"16":27324916944601088,"45":909938261104250880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 09:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301867008001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:48:32] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 09:48:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27324916944601088,"km_value":27324916944601.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":909938261104250880,"description":"Unknown IO ID 45"} 
[2026-08-10 09:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301867008001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":909938261104250880}} 
[2026-08-10 09:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":151775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618983,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:48:32] local.INFO: GPS data processed {"connection_id":151775,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:48:32] local.INFO: Acknowledgment sent {"connection_id":151775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:48:32] local.INFO: TCP Data received {"connection_id":154147,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e31bf8012d18374007219488004b012d19..."} 
[2026-08-10 09:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e31bf8012d18374007219488004b012d19..."} 
[2026-08-10 09:48:32] local.INFO: Processing buffer {"connection_id":154147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e31bf8012d18374007219488004b012d19..."} 
[2026-08-10 09:48:32] local.INFO: Packet analysis {"connection_id":154147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:48:32] local.INFO: Extracted packet for processing {"connection_id":154147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":25,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301862400001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745004148745854976,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786335403000,"timestamp_ms":1786335403000,"timestamp_seconds":1786335403,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e31bf8"} 
[2026-08-10 09:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:48: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-08-10 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 09:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301862400001,"66":13091,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1745004148745854976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301862400001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:48:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:48:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745004148745854976,"description":"Unknown IO ID 45"} 
[2026-08-10 09:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301862400001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1745004148745854976}} 
[2026-08-10 09:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":154147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:48:32] local.INFO: GPS data processed {"connection_id":154147,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:48:32] local.INFO: Acknowledgment sent {"connection_id":154147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:48:33] local.INFO: TCP Data received {"connection_id":151775,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e3a0c8012d0ca2c00704a638001a00861f..."} 
[2026-08-10 09:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e3a0c8012d0ca2c00704a638001a00861f..."} 
[2026-08-10 09:48:33] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e3a0c8012d0ca2c00704a638001a00861f..."} 
[2026-08-10 09:48:33] local.INFO: Packet analysis {"connection_id":151775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:48:33] local.INFO: Extracted packet for processing {"connection_id":151775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:48:33] local.INFO: GPS Element Parsed {"raw_longitude":755802816,"raw_latitude":117745208,"longitude_deg":75.5802816,"latitude_deg":11.7745208,"altitude":26,"angle":134,"satellites":31,"speed":4,"hex_longitude":"2d0ca2c0","hex_latitude":"0704a638","is_valid_coordinates":true} 
[2026-08-10 09:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301871360001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27324929829502976,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910290104825081856,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786335437000,"timestamp_ms":1786335437000,"timestamp_seconds":1786335437,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e3a0c8"} 
[2026-08-10 09:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 09:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301871360001,"66":14515,"95":206,"94":10240,"24":4,"16":27324929829502976,"45":910290104825081856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 09:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301871360001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:48:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 09:48:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 09:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27324929829502976,"km_value":27324929829502.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":910290104825081856,"description":"Unknown IO ID 45"} 
[2026-08-10 09:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301871360001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":910290104825081856}} 
[2026-08-10 09:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":151775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618985,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:48:34] local.INFO: GPS data processed {"connection_id":151775,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:48:34] local.INFO: Acknowledgment sent {"connection_id":151775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:48:38] local.INFO: TCP Data received {"connection_id":151774,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:48:38] local.INFO: Processing buffer {"connection_id":151774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:48:38] local.INFO: Packet analysis {"connection_id":151774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:48:38] local.INFO: Extracted packet for processing {"connection_id":151774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301798144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786335450000,"timestamp_ms":1786335450000,"timestamp_seconds":1786335450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e3d390"} 
[2026-08-10 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-08-10 09:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301798144001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301798144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301798144001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":151774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:48:38] local.INFO: GPS data processed {"connection_id":151774,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:48:38] local.INFO: Acknowledgment sent {"connection_id":151774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:48:52] local.INFO: TCP Data received {"connection_id":151389,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:48:52] local.INFO: Processing buffer {"connection_id":151389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:48:52] local.INFO: Packet analysis {"connection_id":151389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:48:52] local.INFO: Extracted packet for processing {"connection_id":151389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:48:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":3,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301768960001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786335336000,"timestamp_ms":1786335336000,"timestamp_seconds":1786335336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e21640"} 
[2026-08-10 09:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301768960001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301768960001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:48:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:48:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301768960001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":151389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:48:52] local.INFO: GPS data processed {"connection_id":151389,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:48:52] local.INFO: Acknowledgment sent {"connection_id":151389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:48:54] local.INFO: TCP Data received {"connection_id":154148,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:48:54] local.INFO: Processing buffer {"connection_id":154148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:48:54] local.INFO: IMEI packet received {"connection_id":154148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":154148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:48:56] local.INFO: TCP Data received {"connection_id":154148,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:48:56] local.INFO: Processing buffer {"connection_id":154148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:48:56] local.INFO: IMEI packet received {"connection_id":154148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":154148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:48:59] local.INFO: TCP Data received {"connection_id":154149,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:48:59] local.INFO: Processing buffer {"connection_id":154149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:48:59] local.INFO: IMEI packet received {"connection_id":154149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":154149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:49:00] local.INFO: TCP Data received {"connection_id":154148,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:49:00] local.INFO: Processing buffer {"connection_id":154148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:49:00] local.INFO: IMEI packet received {"connection_id":154148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":154148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:49:01] local.INFO: TCP Data received {"connection_id":154148,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e36e00012d18374007219488004b012d19..."} 
[2026-08-10 09:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e36e00012d18374007219488004b012d19..."} 
[2026-08-10 09:49:01] local.INFO: Processing buffer {"connection_id":154148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e36e00012d18374007219488004b012d19..."} 
[2026-08-10 09:49:01] local.INFO: Packet analysis {"connection_id":154148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:49:01] local.INFO: Extracted packet for processing {"connection_id":154148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":25,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301863168001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335424000,"timestamp_ms":1786335424000,"timestamp_seconds":1786335424,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e36e00"} 
[2026-08-10 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-08-10 09:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 09:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301863168001,"66":13135,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301863168001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:49:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301863168001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":154148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:49:01] local.INFO: GPS data processed {"connection_id":154148,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:49:01] local.INFO: Acknowledgment sent {"connection_id":154148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:49:04] local.INFO: TCP Data received {"connection_id":154149,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:49:04] local.INFO: Processing buffer {"connection_id":154149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:49:04] local.INFO: IMEI packet received {"connection_id":154149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":154149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:49:04] local.INFO: TCP Data received {"connection_id":151775,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e53320012d0c6dc00703de98001300861e..."} 
[2026-08-10 09:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e53320012d0c6dc00703de98001300861e..."} 
[2026-08-10 09:49:04] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e53320012d0c6dc00703de98001300861e..."} 
[2026-08-10 09:49:04] local.INFO: Packet analysis {"connection_id":151775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:49:04] local.INFO: Extracted packet for processing {"connection_id":151775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:49:04] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117694104,"longitude_deg":75.5789248,"latitude_deg":11.7694104,"altitude":19,"angle":134,"satellites":30,"speed":14,"hex_longitude":"2d0c6dc0","hex_latitude":"0703de98","is_valid_coordinates":true} 
[2026-08-10 09:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301897984001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27328279903993856,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931046352896,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786335540000,"timestamp_ms":1786335540000,"timestamp_seconds":1786335540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e53320"} 
[2026-08-10 09:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 09:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301897984001,"66":14450,"16":27328279903993856,"94":11008,"24":14,"45":895371931046352896},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301897984001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27328279903993856,"km_value":27328279903993.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:49:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931046352896,"description":"Unknown IO ID 45"} 
[2026-08-10 09:49:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301897984001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":895371931046352896}} 
[2026-08-10 09:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":151775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618989,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:49:05] local.INFO: GPS data processed {"connection_id":151775,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:49:05] local.INFO: Acknowledgment sent {"connection_id":151775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:49:06] local.INFO: TCP Data received {"connection_id":154149,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:49:06] local.INFO: Processing buffer {"connection_id":154149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:49:06] local.INFO: Packet analysis {"connection_id":154149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:49:06] local.INFO: Extracted packet for processing {"connection_id":154149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301798144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786335450000,"timestamp_ms":1786335450000,"timestamp_seconds":1786335450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e3d390"} 
[2026-08-10 09:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301798144001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301798144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301798144001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":154149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:49:06] local.INFO: GPS data processed {"connection_id":154149,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:49:06] local.INFO: Acknowledgment sent {"connection_id":154149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:49:15] local.INFO: TCP Data received {"connection_id":151390,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:49:15] local.INFO: Processing buffer {"connection_id":151390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:49:15] local.INFO: IMEI packet received {"connection_id":151390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":151390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:49:19] local.INFO: TCP Data received {"connection_id":151390,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:49:19] local.INFO: Processing buffer {"connection_id":151390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:49:19] local.INFO: IMEI packet received {"connection_id":151390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":151390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:49:21] local.INFO: TCP Data received {"connection_id":151390,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:49:21] local.INFO: Processing buffer {"connection_id":151390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:49:21] local.INFO: Packet analysis {"connection_id":151390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:49:21] local.INFO: Extracted packet for processing {"connection_id":151390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:49:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":3,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301768960001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786335336000,"timestamp_ms":1786335336000,"timestamp_seconds":1786335336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e21640"} 
[2026-08-10 09:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301768960001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301768960001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:49:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:49:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301768960001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":151390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:49:21] local.INFO: GPS data processed {"connection_id":151390,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:49:21] local.INFO: Acknowledgment sent {"connection_id":151390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:49:24] local.INFO: TCP Data received {"connection_id":154150,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154150,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:49:24] local.INFO: Processing buffer {"connection_id":154150,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:49:24] local.INFO: IMEI packet received {"connection_id":154150,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":154150,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:49:28] local.INFO: TCP Data received {"connection_id":154150,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154150,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:49:28] local.INFO: Processing buffer {"connection_id":154150,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:49:28] local.INFO: IMEI packet received {"connection_id":154150,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":154150,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:49:29] local.INFO: TCP Data received {"connection_id":154150,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e53708012d0c6e000703dd380013009c1e..."} 
[2026-08-10 09:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e53708012d0c6e000703dd380013009c1e..."} 
[2026-08-10 09:49:29] local.INFO: Processing buffer {"connection_id":154150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e53708012d0c6e000703dd380013009c1e..."} 
[2026-08-10 09:49:29] local.INFO: Packet analysis {"connection_id":154150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:49:29] local.INFO: Extracted packet for processing {"connection_id":154150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:49:29] local.INFO: GPS Element Parsed {"raw_longitude":755789312,"raw_latitude":117693752,"longitude_deg":75.5789312,"latitude_deg":11.7693752,"altitude":19,"angle":156,"satellites":30,"speed":13,"hex_longitude":"2d0c6e00","hex_latitude":"0703dd38","is_valid_coordinates":true} 
[2026-08-10 09:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301898240001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27328297083863040,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037278820352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786335541000,"timestamp_ms":1786335541000,"timestamp_seconds":1786335541,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e53708"} 
[2026-08-10 09:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 09:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":154150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":154150,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":154150,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301898240001,"66":14396,"16":27328297083863040,"94":11008,"24":13,"45":895583037278820352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301898240001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27328297083863040,"km_value":27328297083863.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:49:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037278820352,"description":"Unknown IO ID 45"} 
[2026-08-10 09:49:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301898240001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":895583037278820352}} 
[2026-08-10 09:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":154150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618992,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:49:29] local.INFO: GPS data processed {"connection_id":154150,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:49:29] local.INFO: Acknowledgment sent {"connection_id":154150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:49:32] local.INFO: TCP Data received {"connection_id":154148,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e3bc20012d18374007219488004b012d1a..."} 
[2026-08-10 09:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e3bc20012d18374007219488004b012d1a..."} 
[2026-08-10 09:49:32] local.INFO: Processing buffer {"connection_id":154148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e3bc20012d18374007219488004b012d1a..."} 
[2026-08-10 09:49:32] local.INFO: Packet analysis {"connection_id":154148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:49:32] local.INFO: Extracted packet for processing {"connection_id":154148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":26,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301868544001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786335444000,"timestamp_ms":1786335444000,"timestamp_seconds":1786335444,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e3bc20"} 
[2026-08-10 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-08-10 09:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-10 09:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301868544001,"66":13135,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301868544001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:49:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301868544001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":154148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:49:32] local.INFO: GPS data processed {"connection_id":154148,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:49:32] local.INFO: Acknowledgment sent {"connection_id":154148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:49:37] local.INFO: TCP Data received {"connection_id":154149,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:49:37] local.INFO: Processing buffer {"connection_id":154149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:49:37] local.INFO: Packet analysis {"connection_id":154149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:49:37] local.INFO: Extracted packet for processing {"connection_id":154149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301798144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786335450000,"timestamp_ms":1786335450000,"timestamp_seconds":1786335450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e3d390"} 
[2026-08-10 09:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301798144001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301798144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301798144001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":154149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:49:37] local.INFO: GPS data processed {"connection_id":154149,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:49:37] local.INFO: Acknowledgment sent {"connection_id":154149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:49:52] local.INFO: TCP Data received {"connection_id":151390,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:49:52] local.INFO: Processing buffer {"connection_id":151390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:49:52] local.INFO: Packet analysis {"connection_id":151390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:49:52] local.INFO: Extracted packet for processing {"connection_id":151390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:49:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":3,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301768960001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786335336000,"timestamp_ms":1786335336000,"timestamp_seconds":1786335336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e21640"} 
[2026-08-10 09:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301768960001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301768960001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:49:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:49:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301768960001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":151390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:49:52] local.INFO: GPS data processed {"connection_id":151390,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:49:52] local.INFO: Acknowledgment sent {"connection_id":151390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:49:59] local.INFO: TCP Data received {"connection_id":154151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:49:59] local.INFO: Processing buffer {"connection_id":154151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:49:59] local.INFO: IMEI packet received {"connection_id":154151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":154151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:49:59] local.INFO: TCP Data received {"connection_id":154152,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:49:59] local.INFO: Processing buffer {"connection_id":154152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:49:59] local.INFO: IMEI packet received {"connection_id":154152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":154152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:49:59] local.INFO: TCP Data received {"connection_id":154151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:49:59] local.INFO: Processing buffer {"connection_id":154151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:49:59] local.INFO: IMEI packet received {"connection_id":154151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":154151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:50:00] local.INFO: TCP Data received {"connection_id":154150,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e53af0012d0c6dc00703db68001300ad1d..."} 
[2026-08-10 09:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e53af0012d0c6dc00703db68001300ad1d..."} 
[2026-08-10 09:50:00] local.INFO: Processing buffer {"connection_id":154150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e53af0012d0c6dc00703db68001300ad1d..."} 
[2026-08-10 09:50:00] local.INFO: Packet analysis {"connection_id":154150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:50:00] local.INFO: Extracted packet for processing {"connection_id":154150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:50:00] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117693288,"longitude_deg":75.5789248,"latitude_deg":11.7693288,"altitude":19,"angle":173,"satellites":29,"speed":16,"hex_longitude":"2d0c6dc0","hex_latitude":"0703db68","is_valid_coordinates":true} 
[2026-08-10 09:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301898496001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27328318558699520,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895653406022907904,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786335542000,"timestamp_ms":1786335542000,"timestamp_seconds":1786335542,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e53af0"} 
[2026-08-10 09:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154150,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154150,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301898496001,"66":14396,"16":27328318558699520,"94":11008,"24":16,"45":895653406022907904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301898496001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27328318558699520,"km_value":27328318558699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:50:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":895653406022907904,"description":"Unknown IO ID 45"} 
[2026-08-10 09:50:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301898496001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":895653406022907904}} 
[2026-08-10 09:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":154150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:50:00] local.INFO: GPS data processed {"connection_id":154150,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:50:00] local.INFO: Acknowledgment sent {"connection_id":154150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:50:04] local.INFO: TCP Data received {"connection_id":154152,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:50:04] local.INFO: Processing buffer {"connection_id":154152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:50:04] local.INFO: IMEI packet received {"connection_id":154152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":154152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:50:05] local.INFO: TCP Data received {"connection_id":154151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:50:05] local.INFO: Processing buffer {"connection_id":154151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:50:05] local.INFO: IMEI packet received {"connection_id":154151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":154151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:50:05] local.INFO: TCP Data received {"connection_id":154152,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:50:05] local.INFO: Processing buffer {"connection_id":154152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:50:05] local.INFO: Packet analysis {"connection_id":154152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:50:05] local.INFO: Extracted packet for processing {"connection_id":154152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301798144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786335450000,"timestamp_ms":1786335450000,"timestamp_seconds":1786335450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e3d390"} 
[2026-08-10 09:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:50: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-08-10 09:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301798144001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301798144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:50:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301798144001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":154152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:50:05] local.INFO: GPS data processed {"connection_id":154152,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:50:05] local.INFO: Acknowledgment sent {"connection_id":154152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:50:06] local.INFO: TCP Data received {"connection_id":154151,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e40a40012d18374007219488004b012d1d..."} 
[2026-08-10 09:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e40a40012d18374007219488004b012d1d..."} 
[2026-08-10 09:50:06] local.INFO: Processing buffer {"connection_id":154151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e40a40012d18374007219488004b012d1d..."} 
[2026-08-10 09:50:06] local.INFO: Packet analysis {"connection_id":154151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e4"} 
[2026-08-10 09:50:06] local.INFO: Extracted packet for processing {"connection_id":154151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e4"} 
[2026-08-10 09:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":29,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301873664001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786335464000,"timestamp_ms":1786335464000,"timestamp_seconds":1786335464,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e40a40"} 
[2026-08-10 09:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-10 09:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301873664001,"66":13102,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301873664001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:50:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301873664001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":154151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:50:06] local.INFO: GPS data processed {"connection_id":154151,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:50:06] local.INFO: Acknowledgment sent {"connection_id":154151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:50:14] local.INFO: TCP Data received {"connection_id":154153,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:50:14] local.INFO: Processing buffer {"connection_id":154153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:50:14] local.INFO: IMEI packet received {"connection_id":154153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":154153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:50:19] local.INFO: TCP Data received {"connection_id":154153,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:50:19] local.INFO: Processing buffer {"connection_id":154153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:50:19] local.INFO: IMEI packet received {"connection_id":154153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":154153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:50:20] local.INFO: TCP Data received {"connection_id":154153,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:50:20] local.INFO: Processing buffer {"connection_id":154153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e21640012d7d358005ec0eb00003000618..."} 
[2026-08-10 09:50:20] local.INFO: Packet analysis {"connection_id":154153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:50:20] local.INFO: Extracted packet for processing {"connection_id":154153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e2"} 
[2026-08-10 09:50:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":3,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301768960001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786335336000,"timestamp_ms":1786335336000,"timestamp_seconds":1786335336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e21640"} 
[2026-08-10 09:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:50: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-08-10 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301768960001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301768960001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:50:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:50:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301768960001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":154153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:50:20] local.INFO: GPS data processed {"connection_id":154153,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:50:20] local.INFO: Acknowledgment sent {"connection_id":154153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:50:24] local.INFO: TCP Data received {"connection_id":151391,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:50:24] local.INFO: Processing buffer {"connection_id":151391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:50:24] local.INFO: IMEI packet received {"connection_id":151391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":151391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:50:29] local.INFO: TCP Data received {"connection_id":151391,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:50:29] local.INFO: Processing buffer {"connection_id":151391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:50:29] local.INFO: IMEI packet received {"connection_id":151391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":151391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:50:30] local.INFO: TCP Data received {"connection_id":151391,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e542c0012d0c6d800703d788001300be1d..."} 
[2026-08-10 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e542c0012d0c6d800703d788001300be1d..."} 
[2026-08-10 09:50:30] local.INFO: Processing buffer {"connection_id":151391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e542c0012d0c6d800703d788001300be1d..."} 
[2026-08-10 09:50:30] local.INFO: Packet analysis {"connection_id":151391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:50:30] local.INFO: Extracted packet for processing {"connection_id":151391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:50:30] local.INFO: GPS Element Parsed {"raw_longitude":755789184,"raw_latitude":117692296,"longitude_deg":75.5789184,"latitude_deg":11.7692296,"altitude":19,"angle":190,"satellites":29,"speed":20,"hex_longitude":"2d0c6d80","hex_latitude":"0703d788","is_valid_coordinates":true} 
[2026-08-10 09:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301898752001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27328365803339776,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037278611456,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786335544000,"timestamp_ms":1786335544000,"timestamp_seconds":1786335544,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e542c0"} 
[2026-08-10 09:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 09:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301898752001,"66":13722,"16":27328365803339776,"94":11008,"24":20,"45":895583037278611456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301898752001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27328365803339776,"km_value":27328365803339.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:50:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037278611456,"description":"Unknown IO ID 45"} 
[2026-08-10 09:50:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301898752001,"power":13722,"odometer":null,"unknown_94":11008,"ignition":20,"unknown_45":895583037278611456}} 
[2026-08-10 09:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":151391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619000,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:50:30] local.INFO: GPS data processed {"connection_id":151391,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:50:30] local.INFO: Acknowledgment sent {"connection_id":151391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:50:37] local.INFO: TCP Data received {"connection_id":154151,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e45860012d18374007219488004b012d1e..."} 
[2026-08-10 09:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e45860012d18374007219488004b012d1e..."} 
[2026-08-10 09:50:37] local.INFO: Processing buffer {"connection_id":154151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e45860012d18374007219488004b012d1e..."} 
[2026-08-10 09:50:37] local.INFO: Packet analysis {"connection_id":154151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e4"} 
[2026-08-10 09:50:37] local.INFO: Extracted packet for processing {"connection_id":154151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e4"} 
[2026-08-10 09:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":30,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301878784001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786335484000,"timestamp_ms":1786335484000,"timestamp_seconds":1786335484,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e45860"} 
[2026-08-10 09:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":46,"data_length":795,"current_offset":136} 
[2026-08-10 09:50: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-08-10 09: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-08-10 09:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301878784001,"66":13091,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301878784001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:50:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301878784001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":154151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:50:37] local.INFO: GPS data processed {"connection_id":154151,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:50:37] local.INFO: Acknowledgment sent {"connection_id":154151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:50:37] local.INFO: TCP Data received {"connection_id":154152,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:50:37] local.INFO: Processing buffer {"connection_id":154152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:50:37] local.INFO: Packet analysis {"connection_id":154152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:50:37] local.INFO: Extracted packet for processing {"connection_id":154152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301798144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786335450000,"timestamp_ms":1786335450000,"timestamp_seconds":1786335450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e3d390"} 
[2026-08-10 09:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301798144001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301798144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301798144001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":154152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:50:37] local.INFO: GPS data processed {"connection_id":154152,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:50:37] local.INFO: Acknowledgment sent {"connection_id":154152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:50:54] local.INFO: TCP Data received {"connection_id":154153,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:50:54] local.INFO: Processing buffer {"connection_id":154153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:50:54] local.INFO: Packet analysis {"connection_id":154153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:50:54] local.INFO: Extracted packet for processing {"connection_id":154153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":22,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301846016001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786335637000,"timestamp_ms":1786335637000,"timestamp_seconds":1786335637,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e6ae08"} 
[2026-08-10 09:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":154153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":154153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":154153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301846016001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301846016001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:50:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:50:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301846016001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":154153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:50:54] local.INFO: GPS data processed {"connection_id":154153,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:50:54] local.INFO: Acknowledgment sent {"connection_id":154153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:50:55] local.INFO: TCP Data received {"connection_id":154154,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:50:55] local.INFO: Processing buffer {"connection_id":154154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:50:55] local.INFO: IMEI packet received {"connection_id":154154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":154154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:51:00] local.INFO: TCP Data received {"connection_id":154154,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:51:00] local.INFO: Processing buffer {"connection_id":154154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:51:00] local.INFO: IMEI packet received {"connection_id":154154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":154154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:51:00] local.INFO: TCP Data received {"connection_id":154154,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e4a680012d18374007219488004b012d1f..."} 
[2026-08-10 09:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e4a680012d18374007219488004b012d1f..."} 
[2026-08-10 09:51:01] local.INFO: Processing buffer {"connection_id":154154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e4a680012d18374007219488004b012d1f..."} 
[2026-08-10 09:51:01] local.INFO: Packet analysis {"connection_id":154154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e4"} 
[2026-08-10 09:51:01] local.INFO: Extracted packet for processing {"connection_id":154154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e4"} 
[2026-08-10 09:51:01] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":31,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301883904001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335504000,"timestamp_ms":1786335504000,"timestamp_seconds":1786335504,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e4a680"} 
[2026-08-10 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-08-10 09:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 09:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301883904001,"66":13015,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301883904001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:51:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:51:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301883904001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":154154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:51:01] local.INFO: GPS data processed {"connection_id":154154,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:51:01] local.INFO: Acknowledgment sent {"connection_id":154154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:51:01] local.INFO: TCP Data received {"connection_id":151391,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e55e18012d0c6b000703c550001400ab1d..."} 
[2026-08-10 09:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e55e18012d0c6b000703c550001400ab1d..."} 
[2026-08-10 09:51:01] local.INFO: Processing buffer {"connection_id":151391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e55e18012d0c6b000703c550001400ab1d..."} 
[2026-08-10 09:51:01] local.INFO: Packet analysis {"connection_id":151391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:51:01] local.INFO: Extracted packet for processing {"connection_id":151391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:51:01] local.INFO: GPS Element Parsed {"raw_longitude":755788544,"raw_latitude":117687632,"longitude_deg":75.5788544,"latitude_deg":11.7687632,"altitude":20,"angle":171,"satellites":29,"speed":25,"hex_longitude":"2d0c6b00","hex_latitude":"0703c550","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301899264001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27328597731573760,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895512668534179840,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335551000,"timestamp_ms":1786335551000,"timestamp_seconds":1786335551,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e55e18"} 
[2026-08-10 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-08-10 09:51: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-08-10 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-10 09:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301899264001,"66":14439,"16":27328597731573760,"94":11008,"24":25,"45":895512668534179840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301899264001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27328597731573760,"km_value":27328597731573.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:51:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":895512668534179840,"description":"Unknown IO ID 45"} 
[2026-08-10 09:51:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301899264001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":25,"unknown_45":895512668534179840}} 
[2026-08-10 09:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":151391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:51:01] local.INFO: GPS data processed {"connection_id":151391,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:51:01] local.INFO: Acknowledgment sent {"connection_id":151391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:51:04] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:51:04] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:51:04] local.INFO: IMEI packet received {"connection_id":151776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":151776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:51:09] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:51:09] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:51:09] local.INFO: IMEI packet received {"connection_id":151776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":151776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:51:10] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:51:10] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:51:10] local.INFO: Packet analysis {"connection_id":151776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:51:10] local.INFO: Extracted packet for processing {"connection_id":151776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301798144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786335450000,"timestamp_ms":1786335450000,"timestamp_seconds":1786335450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e3d390"} 
[2026-08-10 09:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:51: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-08-10 09:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:51: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-08-10 09:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301798144001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301798144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301798144001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":151776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:51:10] local.INFO: GPS data processed {"connection_id":151776,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:51:10] local.INFO: Acknowledgment sent {"connection_id":151776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:51:15] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:51:15] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:51:15] local.INFO: Packet analysis {"connection_id":151776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:51:15] local.INFO: Extracted packet for processing {"connection_id":151776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301798144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786335450000,"timestamp_ms":1786335450000,"timestamp_seconds":1786335450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e3d390"} 
[2026-08-10 09:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301798144001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301798144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301798144001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":151776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:51:15] local.INFO: GPS data processed {"connection_id":151776,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:51:15] local.INFO: Acknowledgment sent {"connection_id":151776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:51:24] local.INFO: TCP Data received {"connection_id":154155,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154155,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:51:24] local.INFO: Processing buffer {"connection_id":154155,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:51:24] local.INFO: IMEI packet received {"connection_id":154155,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":154155,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:51:24] local.INFO: TCP Data received {"connection_id":151777,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:51:24] local.INFO: Processing buffer {"connection_id":151777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:51:24] local.INFO: IMEI packet received {"connection_id":151777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":151777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:51:29] local.INFO: TCP Data received {"connection_id":154155,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154155,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:51:29] local.INFO: Processing buffer {"connection_id":154155,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:51:29] local.INFO: IMEI packet received {"connection_id":154155,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":154155,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:51:30] local.INFO: TCP Data received {"connection_id":151777,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:51:30] local.INFO: Processing buffer {"connection_id":151777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:51:30] local.INFO: IMEI packet received {"connection_id":151777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":151777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:51:30] local.INFO: TCP Data received {"connection_id":154155,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e57588012d0c6bc00703b5c8001500ba1d..."} 
[2026-08-10 09:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e57588012d0c6bc00703b5c8001500ba1d..."} 
[2026-08-10 09:51:30] local.INFO: Processing buffer {"connection_id":154155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e57588012d0c6bc00703b5c8001500ba1d..."} 
[2026-08-10 09:51:30] local.INFO: Packet analysis {"connection_id":154155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:51:30] local.INFO: Extracted packet for processing {"connection_id":154155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:51:30] local.INFO: GPS Element Parsed {"raw_longitude":755788736,"raw_latitude":117683656,"longitude_deg":75.5788736,"latitude_deg":11.7683656,"altitude":21,"angle":186,"satellites":29,"speed":21,"hex_longitude":"2d0c6bc0","hex_latitude":"0703b5c8","is_valid_coordinates":true} 
[2026-08-10 09:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301901056001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27328791005102080,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894808981091209216,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786335557000,"timestamp_ms":1786335557000,"timestamp_seconds":1786335557,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e57588"} 
[2026-08-10 09:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 09:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154155,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154155,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301901056001,"66":14407,"16":27328791005102080,"94":11008,"24":21,"45":894808981091209216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301901056001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27328791005102080,"km_value":27328791005102.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:51:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":894808981091209216,"description":"Unknown IO ID 45"} 
[2026-08-10 09:51:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301901056001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":21,"unknown_45":894808981091209216}} 
[2026-08-10 09:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":154155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:51:30] local.INFO: GPS data processed {"connection_id":154155,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:51:30] local.INFO: Acknowledgment sent {"connection_id":154155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:51:31] local.INFO: TCP Data received {"connection_id":151777,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:51:31] local.INFO: Processing buffer {"connection_id":151777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:51:31] local.INFO: Packet analysis {"connection_id":151777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:51:31] local.INFO: Extracted packet for processing {"connection_id":151777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":22,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301846016001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786335637000,"timestamp_ms":1786335637000,"timestamp_seconds":1786335637,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e6ae08"} 
[2026-08-10 09:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301846016001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301846016001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:51:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:51:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301846016001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":151777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:51:31] local.INFO: GPS data processed {"connection_id":151777,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:51:31] local.INFO: Acknowledgment sent {"connection_id":151777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:51:32] local.INFO: TCP Data received {"connection_id":154154,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e4f4a0012d18374007219488004b012d1f..."} 
[2026-08-10 09:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e4f4a0012d18374007219488004b012d1f..."} 
[2026-08-10 09:51:32] local.INFO: Processing buffer {"connection_id":154154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e4f4a0012d18374007219488004b012d1f..."} 
[2026-08-10 09:51:32] local.INFO: Packet analysis {"connection_id":154154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e4"} 
[2026-08-10 09:51:32] local.INFO: Extracted packet for processing {"connection_id":154154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e4"} 
[2026-08-10 09:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":31,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301889024001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786335524000,"timestamp_ms":1786335524000,"timestamp_seconds":1786335524,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e4f4a0"} 
[2026-08-10 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-08-10 09:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-10 09:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301889024001,"66":13004,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301889024001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:51:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301889024001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":154154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:51:32] local.INFO: GPS data processed {"connection_id":154154,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:51:32] local.INFO: Acknowledgment sent {"connection_id":154154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:51:55] local.INFO: TCP Data received {"connection_id":151392,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:51:55] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:51:55] local.INFO: IMEI packet received {"connection_id":151392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":151392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:51:59] local.INFO: TCP Data received {"connection_id":151778,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:51:59] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:51:59] local.INFO: IMEI packet received {"connection_id":151778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":151778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:52:00] local.INFO: TCP Data received {"connection_id":151392,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:52:00] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:52:00] local.INFO: IMEI packet received {"connection_id":151392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":151392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:52:00] local.INFO: TCP Data received {"connection_id":151392,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e53ed8012d18374007219488004b012d1e..."} 
[2026-08-10 09:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e53ed8012d18374007219488004b012d1e..."} 
[2026-08-10 09:52:00] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e53ed8012d18374007219488004b012d1e..."} 
[2026-08-10 09:52:00] local.INFO: Packet analysis {"connection_id":151392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:52:00] local.INFO: Extracted packet for processing {"connection_id":151392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:52:00] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":30,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301894144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786335543000,"timestamp_ms":1786335543000,"timestamp_seconds":1786335543,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e53ed8"} 
[2026-08-10 09:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-10 09:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301894144001,"66":13015,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301894144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:52:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:52:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301894144001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":151392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:52:01] local.INFO: GPS data processed {"connection_id":151392,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:52:01] local.INFO: Acknowledgment sent {"connection_id":151392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:52:01] local.INFO: TCP Data received {"connection_id":154155,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e7cb30012d0c38c007035f38001800d51b..."} 
[2026-08-10 09:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e7cb30012d0c38c007035f38001800d51b..."} 
[2026-08-10 09:52:01] local.INFO: Processing buffer {"connection_id":154155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e7cb30012d0c38c007035f38001800d51b..."} 
[2026-08-10 09:52:01] local.INFO: Packet analysis {"connection_id":154155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:52:01] local.INFO: Extracted packet for processing {"connection_id":154155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:52:01] local.INFO: GPS Element Parsed {"raw_longitude":755775680,"raw_latitude":117661496,"longitude_deg":75.577568,"latitude_deg":11.7661496,"altitude":24,"angle":213,"satellites":27,"speed":9,"hex_longitude":"2d0c38c0","hex_latitude":"07035f38","is_valid_coordinates":true} 
[2026-08-10 09:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301941504001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27330221229211648,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880805600993214464,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335710000,"timestamp_ms":1786335710000,"timestamp_seconds":1786335710,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e7cb30"} 
[2026-08-10 09:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:52: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-08-10 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 09:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154155,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154155,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301941504001,"66":14363,"16":27330221229211648,"94":11008,"24":9,"45":880805600993214464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301941504001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27330221229211648,"km_value":27330221229211.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:52:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":880805600993214464,"description":"Unknown IO ID 45"} 
[2026-08-10 09:52:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301941504001,"power":14363,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":880805600993214464}} 
[2026-08-10 09:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":154155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619012,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:52:02] local.INFO: GPS data processed {"connection_id":154155,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:52:02] local.INFO: Acknowledgment sent {"connection_id":154155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:52:04] local.INFO: TCP Data received {"connection_id":151778,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:52:04] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:52:04] local.INFO: IMEI packet received {"connection_id":151778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":151778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:52:06] local.INFO: TCP Data received {"connection_id":151778,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:52:06] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:52:06] local.INFO: Packet analysis {"connection_id":151778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:52:06] local.INFO: Extracted packet for processing {"connection_id":151778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301798144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786335450000,"timestamp_ms":1786335450000,"timestamp_seconds":1786335450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e3d390"} 
[2026-08-10 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-08-10 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301798144001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301798144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301798144001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":151778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:52:06] local.INFO: GPS data processed {"connection_id":151778,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:52:06] local.INFO: Acknowledgment sent {"connection_id":151778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:52:19] local.INFO: TCP Data received {"connection_id":152691,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:52:19] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:52:19] local.INFO: IMEI packet received {"connection_id":152691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":152691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:52:24] local.INFO: TCP Data received {"connection_id":152692,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:52:24] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:52:24] local.INFO: IMEI packet received {"connection_id":152692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":152692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:52:24] local.INFO: TCP Data received {"connection_id":152691,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:52:24] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:52:24] local.INFO: IMEI packet received {"connection_id":152691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":152691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:52:25] local.INFO: TCP Data received {"connection_id":152691,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:52:25] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:52:25] local.INFO: Packet analysis {"connection_id":152691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:52:25] local.INFO: Extracted packet for processing {"connection_id":152691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:52:25] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":22,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301846016001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786335637000,"timestamp_ms":1786335637000,"timestamp_seconds":1786335637,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e6ae08"} 
[2026-08-10 09:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:52: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-08-10 09:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301846016001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301846016001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:52:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:52:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301846016001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":152691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:52:25] local.INFO: GPS data processed {"connection_id":152691,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:52:25] local.INFO: Acknowledgment sent {"connection_id":152691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:52:29] local.INFO: TCP Data received {"connection_id":152692,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:52:29] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:52:29] local.INFO: IMEI packet received {"connection_id":152692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":152692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:52:30] local.INFO: TCP Data received {"connection_id":152692,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e7cf18012d0c388007035e48001800c21a..."} 
[2026-08-10 09:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e7cf18012d0c388007035e48001800c21a..."} 
[2026-08-10 09:52:30] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e7cf18012d0c388007035e48001800c21a..."} 
[2026-08-10 09:52:30] local.INFO: Packet analysis {"connection_id":152692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:52:30] local.INFO: Extracted packet for processing {"connection_id":152692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:52:30] local.INFO: GPS Element Parsed {"raw_longitude":755775616,"raw_latitude":117661256,"longitude_deg":75.5775616,"latitude_deg":11.7661256,"altitude":24,"angle":194,"satellites":26,"speed":9,"hex_longitude":"2d0c3880","hex_latitude":"07035e48","is_valid_coordinates":true} 
[2026-08-10 09:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301941760001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27330234114113536,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880664863504807936,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786335711000,"timestamp_ms":1786335711000,"timestamp_seconds":1786335711,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e7cf18"} 
[2026-08-10 09:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 09:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301941760001,"66":14309,"16":27330234114113536,"94":11008,"24":9,"45":880664863504807936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301941760001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27330234114113536,"km_value":27330234114113.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:52:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":880664863504807936,"description":"Unknown IO ID 45"} 
[2026-08-10 09:52:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301941760001,"power":14309,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":880664863504807936}} 
[2026-08-10 09:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":152692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619015,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:52:30] local.INFO: GPS data processed {"connection_id":152692,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:52:30] local.INFO: Acknowledgment sent {"connection_id":152692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:52:30] local.INFO: TCP Data received {"connection_id":152691,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:52:30] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:52:30] local.INFO: Packet analysis {"connection_id":152691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:52:30] local.INFO: Extracted packet for processing {"connection_id":152691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":22,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301846016001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786335637000,"timestamp_ms":1786335637000,"timestamp_seconds":1786335637,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e6ae08"} 
[2026-08-10 09:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:52: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-08-10 09:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301846016001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301846016001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:52:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:52:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301846016001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":152691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:52:30] local.INFO: GPS data processed {"connection_id":152691,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:52:30] local.INFO: Acknowledgment sent {"connection_id":152691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:52:32] local.INFO: TCP Data received {"connection_id":151392,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e58cf8012d18374007219488004b012d1e..."} 
[2026-08-10 09:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e58cf8012d18374007219488004b012d1e..."} 
[2026-08-10 09:52:32] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e58cf8012d18374007219488004b012d1e..."} 
[2026-08-10 09:52:32] local.INFO: Packet analysis {"connection_id":151392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:52:32] local.INFO: Extracted packet for processing {"connection_id":151392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":30,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301899008001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786335563000,"timestamp_ms":1786335563000,"timestamp_seconds":1786335563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e58cf8"} 
[2026-08-10 09:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-10 09:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301899008001,"66":12993,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301899008001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:52:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:52:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301899008001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":151392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:52:32] local.INFO: GPS data processed {"connection_id":151392,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:52:32] local.INFO: Acknowledgment sent {"connection_id":151392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:52:37] local.INFO: TCP Data received {"connection_id":151778,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:52:37] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:52:37] local.INFO: Packet analysis {"connection_id":151778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:52:37] local.INFO: Extracted packet for processing {"connection_id":151778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301798144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786335450000,"timestamp_ms":1786335450000,"timestamp_seconds":1786335450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e3d390"} 
[2026-08-10 09:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301798144001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301798144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301798144001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":151778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:52:37] local.INFO: GPS data processed {"connection_id":151778,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:52:37] local.INFO: Acknowledgment sent {"connection_id":151778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:52:54] local.INFO: TCP Data received {"connection_id":154156,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:52:54] local.INFO: Processing buffer {"connection_id":154156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:52:54] local.INFO: IMEI packet received {"connection_id":154156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":154156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:53:00] local.INFO: TCP Data received {"connection_id":154156,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:53:00] local.INFO: Processing buffer {"connection_id":154156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:53:00] local.INFO: IMEI packet received {"connection_id":154156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":154156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:53:00] local.INFO: TCP Data received {"connection_id":151393,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:53:00] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:53:00] local.INFO: IMEI packet received {"connection_id":151393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":151393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:53:01] local.INFO: TCP Data received {"connection_id":154156,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e5db18012d18374007219488004b012d1d..."} 
[2026-08-10 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e5db18012d18374007219488004b012d1d..."} 
[2026-08-10 09:53:01] local.INFO: Processing buffer {"connection_id":154156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e5db18012d18374007219488004b012d1d..."} 
[2026-08-10 09:53:01] local.INFO: Packet analysis {"connection_id":154156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:53:01] local.INFO: Extracted packet for processing {"connection_id":154156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e5"} 
[2026-08-10 09:53:01] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":29,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301904128001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335583000,"timestamp_ms":1786335583000,"timestamp_seconds":1786335583,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e5db18"} 
[2026-08-10 09:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-10 09:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301904128001,"66":12982,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301904128001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:53:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301904128001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":154156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:53:01] local.INFO: GPS data processed {"connection_id":154156,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:53:01] local.INFO: Acknowledgment sent {"connection_id":154156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:53:01] local.INFO: TCP Data received {"connection_id":152692,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e7d300012d0c388007035d38001800b61a..."} 
[2026-08-10 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e7d300012d0c388007035d38001800b61a..."} 
[2026-08-10 09:53:01] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e7d300012d0c388007035d38001800b61a..."} 
[2026-08-10 09:53:01] local.INFO: Packet analysis {"connection_id":152692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:53:01] local.INFO: Extracted packet for processing {"connection_id":152692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:53:01] local.INFO: GPS Element Parsed {"raw_longitude":755775616,"raw_latitude":117660984,"longitude_deg":75.5775616,"latitude_deg":11.7660984,"altitude":24,"angle":182,"satellites":26,"speed":11,"hex_longitude":"2d0c3880","hex_latitude":"07035d38","is_valid_coordinates":true} 
[2026-08-10 09:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301942016001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27330246999015424,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880594494760568832,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 09:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335712000,"timestamp_ms":1786335712000,"timestamp_seconds":1786335712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e7d300"} 
[2026-08-10 09:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09: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-08-10 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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 09:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301942016001,"66":14309,"16":27330246999015424,"94":11008,"24":11,"45":880594494760568832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 09:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301942016001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27330246999015424,"km_value":27330246999015.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:53:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":880594494760568832,"description":"Unknown IO ID 45"} 
[2026-08-10 09:53:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457301942016001,"power":14309,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":880594494760568832}} 
[2026-08-10 09:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":152692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619020,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:53:01] local.INFO: GPS data processed {"connection_id":152692,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:53:01] local.INFO: Acknowledgment sent {"connection_id":152692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:53:04] local.INFO: TCP Data received {"connection_id":151393,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:53:04] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:53:04] local.INFO: IMEI packet received {"connection_id":151393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":151393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:53:06] local.INFO: TCP Data received {"connection_id":151393,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:53:06] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e3d390012d34c20006aa3f08000900f327..."} 
[2026-08-10 09:53:06] local.INFO: Packet analysis {"connection_id":151393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:53:06] local.INFO: Extracted packet for processing {"connection_id":151393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e3"} 
[2026-08-10 09:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301798144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786335450000,"timestamp_ms":1786335450000,"timestamp_seconds":1786335450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e3d390"} 
[2026-08-10 09:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301798144001,"66":25441,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301798144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:53:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301798144001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":151393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:53:06] local.INFO: GPS data processed {"connection_id":151393,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:53:06] local.INFO: Acknowledgment sent {"connection_id":151393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:53:14] local.INFO: TCP Data received {"connection_id":151394,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:53:14] local.INFO: Processing buffer {"connection_id":151394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:53:14] local.INFO: IMEI packet received {"connection_id":151394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":151394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:53:19] local.INFO: TCP Data received {"connection_id":151394,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:53:19] local.INFO: Processing buffer {"connection_id":151394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:53:19] local.INFO: IMEI packet received {"connection_id":151394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":151394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:53:23] local.INFO: TCP Data received {"connection_id":151394,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:53:23] local.INFO: Processing buffer {"connection_id":151394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:53:23] local.INFO: Packet analysis {"connection_id":151394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:53:23] local.INFO: Extracted packet for processing {"connection_id":151394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":22,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301846016001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786335637000,"timestamp_ms":1786335637000,"timestamp_seconds":1786335637,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e6ae08"} 
[2026-08-10 09:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:53: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301846016001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301846016001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:53:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:53:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301846016001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":151394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:53:23] local.INFO: GPS data processed {"connection_id":151394,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:53:23] local.INFO: Acknowledgment sent {"connection_id":151394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:53:24] local.INFO: TCP Data received {"connection_id":151779,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:53:24] local.INFO: Processing buffer {"connection_id":151779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:53:24] local.INFO: IMEI packet received {"connection_id":151779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":151779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:53:29] local.INFO: TCP Data received {"connection_id":151779,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:53:29] local.INFO: Processing buffer {"connection_id":151779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:53:29] local.INFO: IMEI packet received {"connection_id":151779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":151779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:53:30] local.INFO: TCP Data received {"connection_id":151779,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e8fbe0012d0c16c007034058001500f01d..."} 
[2026-08-10 09:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e8fbe0012d0c16c007034058001500f01d..."} 
[2026-08-10 09:53:30] local.INFO: Processing buffer {"connection_id":151779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e8fbe0012d0c16c007034058001500f01d..."} 
[2026-08-10 09:53:30] local.INFO: Packet analysis {"connection_id":151779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e8"} 
[2026-08-10 09:53:30] local.INFO: Extracted packet for processing {"connection_id":151779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e8"} 
[2026-08-10 09:53:30] local.INFO: GPS Element Parsed {"raw_longitude":755766976,"raw_latitude":117653592,"longitude_deg":75.5766976,"latitude_deg":11.7653592,"altitude":21,"angle":240,"satellites":29,"speed":13,"hex_longitude":"2d0c16c0","hex_latitude":"07034058","is_valid_coordinates":true} 
[2026-08-10 09:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301961472001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27330869769273344,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871446558015569920,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786335788000,"timestamp_ms":1786335788000,"timestamp_seconds":1786335788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e8fbe0"} 
[2026-08-10 09:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 09:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301961472001,"66":14559,"37":206,"94":11008,"24":13,"16":27330869769273344,"45":871446558015569920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 09:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301961472001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:53:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 09:53:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27330869769273344,"km_value":27330869769273.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":871446558015569920,"description":"Unknown IO ID 45"} 
[2026-08-10 09:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301961472001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":871446558015569920}} 
[2026-08-10 09:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":151779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619023,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:53:30] local.INFO: GPS data processed {"connection_id":151779,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:53:30] local.INFO: Acknowledgment sent {"connection_id":151779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:53:31] local.INFO: TCP Data received {"connection_id":154156,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e62938012d18374007219488004b012d1f..."} 
[2026-08-10 09:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e62938012d18374007219488004b012d1f..."} 
[2026-08-10 09:53:31] local.INFO: Processing buffer {"connection_id":154156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e62938012d18374007219488004b012d1f..."} 
[2026-08-10 09:53:31] local.INFO: Packet analysis {"connection_id":154156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:53:31] local.INFO: Extracted packet for processing {"connection_id":154156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:53:31] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":31,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301909248001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786335603000,"timestamp_ms":1786335603000,"timestamp_seconds":1786335603,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e62938"} 
[2026-08-10 09:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-10 09:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301909248001,"66":12961,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301909248001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:53:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:53:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301909248001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":154156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:53:31] local.INFO: GPS data processed {"connection_id":154156,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:53:31] local.INFO: Acknowledgment sent {"connection_id":154156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:53:39] local.INFO: TCP Data received {"connection_id":151393,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e86b58012d34c20006aa3f08000900f329..."} 
[2026-08-10 09:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e86b58012d34c20006aa3f08000900f329..."} 
[2026-08-10 09:53:39] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e86b58012d34c20006aa3f08000900f329..."} 
[2026-08-10 09:53:39] local.INFO: Packet analysis {"connection_id":151393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e8"} 
[2026-08-10 09:53:39] local.INFO: Extracted packet for processing {"connection_id":151393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e8"} 
[2026-08-10 09:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301875200001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786335751000,"timestamp_ms":1786335751000,"timestamp_seconds":1786335751,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e86b58"} 
[2026-08-10 09:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301875200001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301875200001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301875200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":151393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:53:39] local.INFO: GPS data processed {"connection_id":151393,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:53:39] local.INFO: Acknowledgment sent {"connection_id":151393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:53:54] local.INFO: TCP Data received {"connection_id":152693,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:53:54] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:53:54] local.INFO: IMEI packet received {"connection_id":152693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":152693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:53:54] local.INFO: TCP Data received {"connection_id":151394,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:53:54] local.INFO: Processing buffer {"connection_id":151394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:53:54] local.INFO: Packet analysis {"connection_id":151394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:53:54] local.INFO: Extracted packet for processing {"connection_id":151394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":22,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301846016001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786335637000,"timestamp_ms":1786335637000,"timestamp_seconds":1786335637,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e6ae08"} 
[2026-08-10 09:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301846016001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301846016001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:53:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:53:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301846016001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":151394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:53:55] local.INFO: GPS data processed {"connection_id":151394,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:53:55] local.INFO: Acknowledgment sent {"connection_id":151394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:53:59] local.INFO: TCP Data received {"connection_id":151780,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:53:59] local.INFO: Processing buffer {"connection_id":151780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:53:59] local.INFO: IMEI packet received {"connection_id":151780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":151780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:54:00] local.INFO: TCP Data received {"connection_id":152693,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:54:00] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:54:00] local.INFO: IMEI packet received {"connection_id":152693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":152693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:54:00] local.INFO: TCP Data received {"connection_id":152693,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e67758012d18374007219488004b012d1f..."} 
[2026-08-10 09:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e67758012d18374007219488004b012d1f..."} 
[2026-08-10 09:54:00] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e67758012d18374007219488004b012d1f..."} 
[2026-08-10 09:54:00] local.INFO: Packet analysis {"connection_id":152693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:54:00] local.INFO: Extracted packet for processing {"connection_id":152693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":31,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301914368001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786335623000,"timestamp_ms":1786335623000,"timestamp_seconds":1786335623,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e67758"} 
[2026-08-10 09:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 09:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301914368001,"66":12917,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301914368001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:54:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301914368001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":152693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:54:01] local.INFO: GPS data processed {"connection_id":152693,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:54:01] local.INFO: Acknowledgment sent {"connection_id":152693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:54:01] local.INFO: TCP Data received {"connection_id":151779,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e8ffc8012d0c158007033ff8001401061d..."} 
[2026-08-10 09:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e8ffc8012d0c158007033ff8001401061d..."} 
[2026-08-10 09:54:01] local.INFO: Processing buffer {"connection_id":151779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e8ffc8012d0c158007033ff8001401061d..."} 
[2026-08-10 09:54:01] local.INFO: Packet analysis {"connection_id":151779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e8"} 
[2026-08-10 09:54:01] local.INFO: Extracted packet for processing {"connection_id":151779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e8"} 
[2026-08-10 09:54:01] local.INFO: GPS Element Parsed {"raw_longitude":755766656,"raw_latitude":117653496,"longitude_deg":75.5766656,"latitude_deg":11.7653496,"altitude":20,"angle":262,"satellites":29,"speed":14,"hex_longitude":"2d0c1580","hex_latitude":"07033ff8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301961728001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27330882654175232,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871094714294622208,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335789000,"timestamp_ms":1786335789000,"timestamp_seconds":1786335789,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e8ffc8"} 
[2026-08-10 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-08-10 09:54: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-08-10 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 09:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301961728001,"66":14396,"37":206,"94":11008,"24":14,"16":27330882654175232,"45":871094714294622208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 09:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301961728001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:54:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 09:54:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27330882654175232,"km_value":27330882654175.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":871094714294622208,"description":"Unknown IO ID 45"} 
[2026-08-10 09:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301961728001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":871094714294622208}} 
[2026-08-10 09:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":151779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619028,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:54:01] local.INFO: GPS data processed {"connection_id":151779,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:54:01] local.INFO: Acknowledgment sent {"connection_id":151779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:54:04] local.INFO: TCP Data received {"connection_id":151780,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:54:04] local.INFO: Processing buffer {"connection_id":151780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:54:04] local.INFO: IMEI packet received {"connection_id":151780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":151780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:54:07] local.INFO: TCP Data received {"connection_id":151780,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e86b58012d34c20006aa3f08000900f329..."} 
[2026-08-10 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e86b58012d34c20006aa3f08000900f329..."} 
[2026-08-10 09:54:07] local.INFO: Processing buffer {"connection_id":151780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e86b58012d34c20006aa3f08000900f329..."} 
[2026-08-10 09:54:07] local.INFO: Packet analysis {"connection_id":151780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e8"} 
[2026-08-10 09:54:07] local.INFO: Extracted packet for processing {"connection_id":151780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e8"} 
[2026-08-10 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301875200001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786335751000,"timestamp_ms":1786335751000,"timestamp_seconds":1786335751,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e86b58"} 
[2026-08-10 09:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301875200001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301875200001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:54:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301875200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":151780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:54:07] local.INFO: GPS data processed {"connection_id":151780,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:54:07] local.INFO: Acknowledgment sent {"connection_id":151780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:54:14] local.INFO: TCP Data received {"connection_id":152694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:54:14] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:54:14] local.INFO: IMEI packet received {"connection_id":152694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":152694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:54:19] local.INFO: TCP Data received {"connection_id":152694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:54:19] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:54:19] local.INFO: IMEI packet received {"connection_id":152694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":152694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:54:20] local.INFO: TCP Data received {"connection_id":152694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:54:20] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:54:20] local.INFO: Packet analysis {"connection_id":152694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:54:20] local.INFO: Extracted packet for processing {"connection_id":152694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:54:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":22,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301846016001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786335637000,"timestamp_ms":1786335637000,"timestamp_seconds":1786335637,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e6ae08"} 
[2026-08-10 09:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:54: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-08-10 09:54: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301846016001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301846016001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:54:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:54:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301846016001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":152694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:54:20] local.INFO: GPS data processed {"connection_id":152694,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:54:20] local.INFO: Acknowledgment sent {"connection_id":152694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:54:24] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:54:24] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:54:24] local.INFO: IMEI packet received {"connection_id":151781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":151781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:54:24] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:54:24] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:54:24] local.INFO: IMEI packet received {"connection_id":151781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":151781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:54:25] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:54:25] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:54:25] local.INFO: IMEI packet received {"connection_id":151781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":151781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:54:28] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:54:28] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:54:28] local.INFO: IMEI packet received {"connection_id":151781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":151781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:54:29] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e9f5e0012d0bf98007035a30000f013f1e..."} 
[2026-08-10 09:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e9f5e0012d0bf98007035a30000f013f1e..."} 
[2026-08-10 09:54:29] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e9f5e0012d0bf98007035a30000f013f1e..."} 
[2026-08-10 09:54:29] local.INFO: Packet analysis {"connection_id":151781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e9"} 
[2026-08-10 09:54:29] local.INFO: Extracted packet for processing {"connection_id":151781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e9"} 
[2026-08-10 09:54:29] local.INFO: GPS Element Parsed {"raw_longitude":755759488,"raw_latitude":117660208,"longitude_deg":75.5759488,"latitude_deg":11.7660208,"altitude":15,"angle":319,"satellites":30,"speed":10,"hex_longitude":"2d0bf980","hex_latitude":"07035a30","is_valid_coordinates":true} 
[2026-08-10 09:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301977856001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27331475359662080,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863143046204188672,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786335852000,"timestamp_ms":1786335852000,"timestamp_seconds":1786335852,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e9f5e0"} 
[2026-08-10 09:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 09:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151781,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151781,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301977856001,"66":14461,"37":206,"94":11008,"24":10,"16":27331475359662080,"45":863143046204188672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 09:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301977856001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:54:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 09:54:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27331475359662080,"km_value":27331475359662.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":863143046204188672,"description":"Unknown IO ID 45"} 
[2026-08-10 09:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301977856001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":863143046204188672}} 
[2026-08-10 09:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":151781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619031,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:54:29] local.INFO: GPS data processed {"connection_id":151781,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:54:29] local.INFO: Acknowledgment sent {"connection_id":151781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:54:31] local.INFO: TCP Data received {"connection_id":152693,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e6c578012d18374007219488004b012d1f..."} 
[2026-08-10 09:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e6c578012d18374007219488004b012d1f..."} 
[2026-08-10 09:54:31] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e6c578012d18374007219488004b012d1f..."} 
[2026-08-10 09:54:31] local.INFO: Packet analysis {"connection_id":152693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:54:31] local.INFO: Extracted packet for processing {"connection_id":152693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":31,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301919488001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786335643000,"timestamp_ms":1786335643000,"timestamp_seconds":1786335643,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e6c578"} 
[2026-08-10 09:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 09:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301919488001,"66":12874,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301919488001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:54:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:54:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301919488001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":152693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:54:31] local.INFO: GPS data processed {"connection_id":152693,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:54:31] local.INFO: Acknowledgment sent {"connection_id":152693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:54:39] local.INFO: TCP Data received {"connection_id":151780,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e86b58012d34c20006aa3f08000900f329..."} 
[2026-08-10 09:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e86b58012d34c20006aa3f08000900f329..."} 
[2026-08-10 09:54:39] local.INFO: Processing buffer {"connection_id":151780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e86b58012d34c20006aa3f08000900f329..."} 
[2026-08-10 09:54:39] local.INFO: Packet analysis {"connection_id":151780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e8"} 
[2026-08-10 09:54:39] local.INFO: Extracted packet for processing {"connection_id":151780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e8"} 
[2026-08-10 09:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301875200001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786335751000,"timestamp_ms":1786335751000,"timestamp_seconds":1786335751,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e86b58"} 
[2026-08-10 09:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:54: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-08-10 09:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301875200001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301875200001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:54:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:54:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301875200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":151780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:54:39] local.INFO: GPS data processed {"connection_id":151780,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:54:39] local.INFO: Acknowledgment sent {"connection_id":151780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:54:52] local.INFO: TCP Data received {"connection_id":152694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:54:52] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:54:52] local.INFO: Packet analysis {"connection_id":152694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:54:52] local.INFO: Extracted packet for processing {"connection_id":152694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:54:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":22,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301846016001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786335637000,"timestamp_ms":1786335637000,"timestamp_seconds":1786335637,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e6ae08"} 
[2026-08-10 09:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301846016001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301846016001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:54:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:54:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301846016001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":152694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:54:52] local.INFO: GPS data processed {"connection_id":152694,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:54:52] local.INFO: Acknowledgment sent {"connection_id":152694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:54:54] local.INFO: TCP Data received {"connection_id":154157,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:54:54] local.INFO: Processing buffer {"connection_id":154157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:54:54] local.INFO: IMEI packet received {"connection_id":154157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":154157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:55:00] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e9fdb0012d0bf7c007035b90000f01261d..."} 
[2026-08-10 09:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e9fdb0012d0bf7c007035b90000f01261d..."} 
[2026-08-10 09:55:00] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e9fdb0012d0bf7c007035b90000f01261d..."} 
[2026-08-10 09:55:00] local.INFO: Packet analysis {"connection_id":151781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e9"} 
[2026-08-10 09:55:00] local.INFO: Extracted packet for processing {"connection_id":151781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e9"} 
[2026-08-10 09:55:00] local.INFO: GPS Element Parsed {"raw_longitude":755759040,"raw_latitude":117660560,"longitude_deg":75.575904,"latitude_deg":11.766056,"altitude":15,"angle":294,"satellites":29,"speed":12,"hex_longitude":"2d0bf7c0","hex_latitude":"07035b90","is_valid_coordinates":true} 
[2026-08-10 09:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301978112001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27331505424433152,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862861571227529216,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786335854000,"timestamp_ms":1786335854000,"timestamp_seconds":1786335854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e9fdb0"} 
[2026-08-10 09:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 09:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151781,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151781,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 09:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 09:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 09:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301978112001,"66":14428,"37":206,"94":11008,"24":12,"16":27331505424433152,"45":862861571227529216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 09:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 09:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 09:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301978112001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:55:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 09:55:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 09:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27331505424433152,"km_value":27331505424433.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":862861571227529216,"description":"Unknown IO ID 45"} 
[2026-08-10 09:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301978112001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":862861571227529216}} 
[2026-08-10 09:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":151781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619035,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:55:00] local.INFO: GPS data processed {"connection_id":151781,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:55:00] local.INFO: Acknowledgment sent {"connection_id":151781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:55:00] local.INFO: TCP Data received {"connection_id":154157,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:55:00] local.INFO: Processing buffer {"connection_id":154157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:55:00] local.INFO: IMEI packet received {"connection_id":154157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":154157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:55:01] local.INFO: TCP Data received {"connection_id":154157,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e71398012d18374007219488004b012d1f..."} 
[2026-08-10 09:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e71398012d18374007219488004b012d1f..."} 
[2026-08-10 09:55:01] local.INFO: Processing buffer {"connection_id":154157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e71398012d18374007219488004b012d1f..."} 
[2026-08-10 09:55:01] local.INFO: Packet analysis {"connection_id":154157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:55:01] local.INFO: Extracted packet for processing {"connection_id":154157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:55:01] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":31,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301924608001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786335663000,"timestamp_ms":1786335663000,"timestamp_seconds":1786335663,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e71398"} 
[2026-08-10 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-08-10 09:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-10 09:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301924608001,"66":12885,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301924608001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:55:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:55:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301924608001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":154157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:55:01] local.INFO: GPS data processed {"connection_id":154157,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:55:01] local.INFO: Acknowledgment sent {"connection_id":154157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:55:04] local.INFO: TCP Data received {"connection_id":151395,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:55:04] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:55:04] local.INFO: IMEI packet received {"connection_id":151395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":151395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:55:09] local.INFO: TCP Data received {"connection_id":151395,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:55:09] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:55:09] local.INFO: IMEI packet received {"connection_id":151395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":151395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:55:10] local.INFO: TCP Data received {"connection_id":151395,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e86b58012d34c20006aa3f08000900f329..."} 
[2026-08-10 09:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e86b58012d34c20006aa3f08000900f329..."} 
[2026-08-10 09:55:10] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e86b58012d34c20006aa3f08000900f329..."} 
[2026-08-10 09:55:10] local.INFO: Packet analysis {"connection_id":151395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e8"} 
[2026-08-10 09:55:10] local.INFO: Extracted packet for processing {"connection_id":151395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e8"} 
[2026-08-10 09:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":9,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301875200001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786335751000,"timestamp_ms":1786335751000,"timestamp_seconds":1786335751,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e86b58"} 
[2026-08-10 09:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301875200001,"66":25343,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301875200001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301875200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":151395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:55:10] local.INFO: GPS data processed {"connection_id":151395,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:55:10] local.INFO: Acknowledgment sent {"connection_id":151395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:55:14] local.INFO: TCP Data received {"connection_id":152695,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:55:14] local.INFO: Processing buffer {"connection_id":152695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:55:14] local.INFO: IMEI packet received {"connection_id":152695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":152695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:55:17] local.INFO: TCP Data received {"connection_id":151395,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ea4fb8012d34c20006aa3f08000700f328..."} 
[2026-08-10 09:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ea4fb8012d34c20006aa3f08000700f328..."} 
[2026-08-10 09:55:17] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ea4fb8012d34c20006aa3f08000700f328..."} 
[2026-08-10 09:55:17] local.INFO: Packet analysis {"connection_id":151395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ea"} 
[2026-08-10 09:55:17] local.INFO: Extracted packet for processing {"connection_id":151395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ea"} 
[2026-08-10 09:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820552,"longitude_deg":75.8432256,"latitude_deg":11.1820552,"altitude":7,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-08-10 09:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301952256001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447170460516352,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786335875000,"timestamp_ms":1786335875000,"timestamp_seconds":1786335875,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ea4fb8"} 
[2026-08-10 09:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 09:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301952256001,"66":25430,"97":206,"81":23296,"24":0,"16":376447170460516352,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301952256001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447170460516352,"km_value":376447170460516.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301952256001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":151395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:55:17] local.INFO: GPS data processed {"connection_id":151395,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:55:17] local.INFO: Acknowledgment sent {"connection_id":151395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:55:19] local.INFO: TCP Data received {"connection_id":152695,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:55:19] local.INFO: Processing buffer {"connection_id":152695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:55:19] local.INFO: IMEI packet received {"connection_id":152695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":152695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:55:20] local.INFO: TCP Data received {"connection_id":152695,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:55:20] local.INFO: Processing buffer {"connection_id":152695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e6ae08012d7d358005ec0eb00002000616..."} 
[2026-08-10 09:55:20] local.INFO: Packet analysis {"connection_id":152695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:55:20] local.INFO: Extracted packet for processing {"connection_id":152695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e6"} 
[2026-08-10 09:55:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":22,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301846016001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786335637000,"timestamp_ms":1786335637000,"timestamp_seconds":1786335637,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e6ae08"} 
[2026-08-10 09:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:55: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-08-10 09:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 09:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301846016001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301846016001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:55:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:55:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301846016001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":152695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:55:20] local.INFO: GPS data processed {"connection_id":152695,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:55:20] local.INFO: Acknowledgment sent {"connection_id":152695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:55:24] local.INFO: TCP Data received {"connection_id":151396,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:55:24] local.INFO: Processing buffer {"connection_id":151396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:55:24] local.INFO: IMEI packet received {"connection_id":151396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 09:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":151396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:55:24] local.INFO: TCP Data received {"connection_id":151396,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:55:24] local.INFO: Processing buffer {"connection_id":151396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:55:24] local.INFO: IMEI packet received {"connection_id":151396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":151396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:55:25] local.INFO: TCP Data received {"connection_id":151396,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:55:25] local.INFO: Processing buffer {"connection_id":151396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:55:25] local.INFO: IMEI packet received {"connection_id":151396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":151396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:55:26] local.INFO: TCP Data received {"connection_id":151396,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:55:26] local.INFO: Processing buffer {"connection_id":151396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 09:55:26] local.INFO: IMEI packet received {"connection_id":151396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 09:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":151396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:55:31] local.INFO: TCP Data received {"connection_id":154157,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e761b8012d18374007219488004b012d1f..."} 
[2026-08-10 09:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e761b8012d18374007219488004b012d1f..."} 
[2026-08-10 09:55:31] local.INFO: Processing buffer {"connection_id":154157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e761b8012d18374007219488004b012d1f..."} 
[2026-08-10 09:55:31] local.INFO: Packet analysis {"connection_id":154157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:55:31] local.INFO: Extracted packet for processing {"connection_id":154157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":31,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301929728001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786335683000,"timestamp_ms":1786335683000,"timestamp_seconds":1786335683,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e761b8"} 
[2026-08-10 09:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 09:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301929728001,"66":12852,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301929728001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:55:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301929728001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":154157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:55:31] local.INFO: GPS data processed {"connection_id":154157,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:55:31] local.INFO: Acknowledgment sent {"connection_id":154157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:55:51] local.INFO: TCP Data received {"connection_id":152695,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:55:51] local.INFO: Processing buffer {"connection_id":152695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:55:51] local.INFO: Packet analysis {"connection_id":152695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:55:51] local.INFO: Extracted packet for processing {"connection_id":152695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:55:51] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301923072001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786335938000,"timestamp_ms":1786335938000,"timestamp_seconds":1786335938,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eb45d0"} 
[2026-08-10 09:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 09:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301923072001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301923072001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:55:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:55:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301923072001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":152695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:55:51] local.INFO: GPS data processed {"connection_id":152695,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:55:51] local.INFO: Acknowledgment sent {"connection_id":152695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:55:54] local.INFO: TCP Data received {"connection_id":154158,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:55:55] local.INFO: Processing buffer {"connection_id":154158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:55:55] local.INFO: IMEI packet received {"connection_id":154158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":154158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:55:56] local.INFO: TCP Data received {"connection_id":154158,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:55:56] local.INFO: Processing buffer {"connection_id":154158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:55:56] local.INFO: IMEI packet received {"connection_id":154158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":154158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:55:59] local.INFO: TCP Data received {"connection_id":151782,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:55:59] local.INFO: Processing buffer {"connection_id":151782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:55:59] local.INFO: IMEI packet received {"connection_id":151782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":151782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:56:04] local.INFO: TCP Data received {"connection_id":151782,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:56:04] local.INFO: Processing buffer {"connection_id":151782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:56:04] local.INFO: IMEI packet received {"connection_id":151782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":151782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:56:06] local.INFO: TCP Data received {"connection_id":151782,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eaa5a8012d34c10006aa3e28000800f328..."} 
[2026-08-10 09:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eaa5a8012d34c10006aa3e28000800f328..."} 
[2026-08-10 09:56:06] local.INFO: Processing buffer {"connection_id":151782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eaa5a8012d34c10006aa3e28000800f328..."} 
[2026-08-10 09:56:06] local.INFO: Packet analysis {"connection_id":151782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ea"} 
[2026-08-10 09:56:06] local.INFO: Extracted packet for processing {"connection_id":151782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ea"} 
[2026-08-10 09:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111820328,"longitude_deg":75.8432,"latitude_deg":11.1820328,"altitude":8,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d34c100","hex_latitude":"06aa3e28","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301984000001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447179050450944,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080181248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786335897000,"timestamp_ms":1786335897000,"timestamp_seconds":1786335897,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eaa5a8"} 
[2026-08-10 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-08-10 09:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":86,"data_length":795,"current_offset":136} 
[2026-08-10 09:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301984000001,"66":27767,"97":206,"81":23296,"24":0,"16":376447179050450944,"45":3801601064080181248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301984000001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:56:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447179050450944,"km_value":376447179050450.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080181248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301984000001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080181248}} 
[2026-08-10 09:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":151782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:56:06] local.INFO: GPS data processed {"connection_id":151782,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:56:06] local.INFO: Acknowledgment sent {"connection_id":151782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:56:08] local.INFO: TCP Data received {"connection_id":154158,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:56:08] local.INFO: Processing buffer {"connection_id":154158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:56:08] local.INFO: IMEI packet received {"connection_id":154158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":154158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:56:09] local.INFO: TCP Data received {"connection_id":154158,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e7afd8012d18374007219488004b012d1f..."} 
[2026-08-10 09:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e7afd8012d18374007219488004b012d1f..."} 
[2026-08-10 09:56:09] local.INFO: Processing buffer {"connection_id":154158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e7afd8012d18374007219488004b012d1f..."} 
[2026-08-10 09:56:09] local.INFO: Packet analysis {"connection_id":154158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:56:09] local.INFO: Extracted packet for processing {"connection_id":154158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:56:09] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":31,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301934848001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786335703000,"timestamp_ms":1786335703000,"timestamp_seconds":1786335703,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e7afd8"} 
[2026-08-10 09:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-10 09:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301934848001,"66":12863,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301934848001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:56:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:56:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301934848001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":154158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:56:09] local.INFO: GPS data processed {"connection_id":154158,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:56:09] local.INFO: Acknowledgment sent {"connection_id":154158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:56:10] local.INFO: TCP Data received {"connection_id":154158,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9e7fdf8012d18374007219488004b012d1e..."} 
[2026-08-10 09:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9e7fdf8012d18374007219488004b012d1e..."} 
[2026-08-10 09:56:10] local.INFO: Processing buffer {"connection_id":154158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9e7fdf8012d18374007219488004b012d1e..."} 
[2026-08-10 09:56:10] local.INFO: Packet analysis {"connection_id":154158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:56:10] local.INFO: Extracted packet for processing {"connection_id":154158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9e7"} 
[2026-08-10 09:56:10] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":30,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301939968001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09: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-08-10 09:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786335723000,"timestamp_ms":1786335723000,"timestamp_seconds":1786335723,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9e7fdf8"} 
[2026-08-10 09:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:56: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-08-10 09: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-08-10 09: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-08-10 09: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-08-10 09:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301939968001,"66":12809,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301939968001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:56:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:56:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301939968001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":154158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:56:10] local.INFO: GPS data processed {"connection_id":154158,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:56:10] local.INFO: Acknowledgment sent {"connection_id":154158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:56:19] local.INFO: TCP Data received {"connection_id":152696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:56:19] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:56:19] local.INFO: IMEI packet received {"connection_id":152696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":152696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:56:24] local.INFO: TCP Data received {"connection_id":152696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:56:24] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:56:24] local.INFO: IMEI packet received {"connection_id":152696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":152696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:56:26] local.INFO: TCP Data received {"connection_id":152696,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:56:26] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:56:26] local.INFO: Packet analysis {"connection_id":152696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:56:26] local.INFO: Extracted packet for processing {"connection_id":152696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301923072001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786335938000,"timestamp_ms":1786335938000,"timestamp_seconds":1786335938,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eb45d0"} 
[2026-08-10 09:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 09:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301923072001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301923072001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:56:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:56:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301923072001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":152696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:56:26] local.INFO: GPS data processed {"connection_id":152696,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:56:26] local.INFO: Acknowledgment sent {"connection_id":152696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:56:30] local.INFO: TCP Data received {"connection_id":152696,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:56:30] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:56:30] local.INFO: Packet analysis {"connection_id":152696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:56:30] local.INFO: Extracted packet for processing {"connection_id":152696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:56:30] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301923072001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786335938000,"timestamp_ms":1786335938000,"timestamp_seconds":1786335938,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eb45d0"} 
[2026-08-10 09:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 09:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301923072001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301923072001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:56:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:56:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301923072001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":152696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:56:30] local.INFO: GPS data processed {"connection_id":152696,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:56:30] local.INFO: Acknowledgment sent {"connection_id":152696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:56:38] local.INFO: TCP Data received {"connection_id":151782,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eaf7b0012d34c10006aa3e08000700f329..."} 
[2026-08-10 09:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eaf7b0012d34c10006aa3e08000700f329..."} 
[2026-08-10 09:56:38] local.INFO: Processing buffer {"connection_id":151782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eaf7b0012d34c10006aa3e08000700f329..."} 
[2026-08-10 09:56:38] local.INFO: Packet analysis {"connection_id":151782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ea"} 
[2026-08-10 09:56:38] local.INFO: Extracted packet for processing {"connection_id":151782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ea"} 
[2026-08-10 09:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111820296,"longitude_deg":75.8432,"latitude_deg":11.1820296,"altitude":7,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d34c100","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301989632001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447187640385536,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589103413248,"note":"Value kept but may cause issues"} 
[2026-08-10 09:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786335918000,"timestamp_ms":1786335918000,"timestamp_seconds":1786335918,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eaf7b0"} 
[2026-08-10 09:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-10 09:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301989632001,"66":27843,"97":206,"81":23296,"24":0,"16":376447187640385536,"45":3801319589103413248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301989632001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447187640385536,"km_value":376447187640385.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589103413248,"description":"Unknown IO ID 45"} 
[2026-08-10 09:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301989632001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801319589103413248}} 
[2026-08-10 09:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":151782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:56:38] local.INFO: GPS data processed {"connection_id":151782,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:56:38] local.INFO: Acknowledgment sent {"connection_id":151782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:56:54] local.INFO: TCP Data received {"connection_id":154159,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:56:54] local.INFO: Processing buffer {"connection_id":154159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:56:54] local.INFO: IMEI packet received {"connection_id":154159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":154159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:57:00] local.INFO: TCP Data received {"connection_id":154159,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:57:00] local.INFO: Processing buffer {"connection_id":154159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:57:00] local.INFO: IMEI packet received {"connection_id":154159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":154159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:57:04] local.INFO: TCP Data received {"connection_id":154159,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eb49b8012d18374007219488004b012d20..."} 
[2026-08-10 09:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eb49b8012d18374007219488004b012d20..."} 
[2026-08-10 09:57:04] local.INFO: Processing buffer {"connection_id":154159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eb49b8012d18374007219488004b012d20..."} 
[2026-08-10 09:57:04] local.INFO: Packet analysis {"connection_id":154159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:57:04] local.INFO: Extracted packet for processing {"connection_id":154159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":32,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301995264001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786335939000,"timestamp_ms":1786335939000,"timestamp_seconds":1786335939,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eb49b8"} 
[2026-08-10 09:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 09:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301995264001,"66":14135,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301995264001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:57:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301995264001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":154159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:57:04] local.INFO: GPS data processed {"connection_id":154159,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:57:04] local.INFO: Acknowledgment sent {"connection_id":154159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:57:04] local.INFO: TCP Data received {"connection_id":151397,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:57:04] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:57:04] local.INFO: IMEI packet received {"connection_id":151397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":151397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:57:09] local.INFO: TCP Data received {"connection_id":151397,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:57:09] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:57:09] local.INFO: IMEI packet received {"connection_id":151397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":151397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:57:12] local.INFO: TCP Data received {"connection_id":151397,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ebcaa0012d34c5c006aa4718000500152a..."} 
[2026-08-10 09:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ebcaa0012d34c5c006aa4718000500152a..."} 
[2026-08-10 09:57:12] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ebcaa0012d34c5c006aa4718000500152a..."} 
[2026-08-10 09:57:12] local.INFO: Packet analysis {"connection_id":151397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:57:12] local.INFO: Extracted packet for processing {"connection_id":151397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:57:12] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111822616,"longitude_deg":75.8433216,"latitude_deg":11.1822616,"altitude":5,"angle":21,"satellites":42,"speed":5,"hex_longitude":"2d34c5c0","hex_latitude":"06aa4718","is_valid_coordinates":true} 
[2026-08-10 09: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-08-10 09:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302006784001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447363734044672,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522160640,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786335972000,"timestamp_ms":1786335972000,"timestamp_seconds":1786335972,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ebcaa0"} 
[2026-08-10 09:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 09:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09: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-08-10 09:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302006784001,"66":27745,"97":206,"81":23296,"24":5,"16":376447363734044672,"45":3802304751522160640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302006784001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:57:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:57:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447363734044672,"km_value":376447363734044.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522160640,"description":"Unknown IO ID 45"} 
[2026-08-10 09:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302006784001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802304751522160640}} 
[2026-08-10 09:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":151397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:57:12] local.INFO: GPS data processed {"connection_id":151397,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:57:12] local.INFO: Acknowledgment sent {"connection_id":151397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:57:14] local.INFO: TCP Data received {"connection_id":151783,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:57:14] local.INFO: Processing buffer {"connection_id":151783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:57:14] local.INFO: IMEI packet received {"connection_id":151783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":151783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:57:15] local.INFO: TCP Data received {"connection_id":151397,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ebd270012d34c60006aa48380005000629..."} 
[2026-08-10 09:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ebd270012d34c60006aa48380005000629..."} 
[2026-08-10 09:57:15] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ebd270012d34c60006aa48380005000629..."} 
[2026-08-10 09:57:15] local.INFO: Packet analysis {"connection_id":151397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:57:15] local.INFO: Extracted packet for processing {"connection_id":151397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111822904,"longitude_deg":75.843328,"latitude_deg":11.1822904,"altitude":5,"angle":6,"satellites":41,"speed":5,"hex_longitude":"2d34c600","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-08-10 09:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302008832001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447376618946560,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243374592,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786335974000,"timestamp_ms":1786335974000,"timestamp_seconds":1786335974,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ebd270"} 
[2026-08-10 09:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302008832001,"66":27930,"97":206,"81":23296,"24":5,"16":376447376618946560,"45":3802656595243374592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302008832001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447376618946560,"km_value":376447376618946.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243374592,"description":"Unknown IO ID 45"} 
[2026-08-10 09:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302008832001,"power":27930,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802656595243374592}} 
[2026-08-10 09:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":151397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:57:15] local.INFO: GPS data processed {"connection_id":151397,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:57:15] local.INFO: Acknowledgment sent {"connection_id":151397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:57:20] local.INFO: TCP Data received {"connection_id":151783,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:57:20] local.INFO: Processing buffer {"connection_id":151783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:57:20] local.INFO: IMEI packet received {"connection_id":151783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":151783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:57:22] local.INFO: TCP Data received {"connection_id":151783,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:57:22] local.INFO: Processing buffer {"connection_id":151783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:57:22] local.INFO: Packet analysis {"connection_id":151783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:57:22] local.INFO: Extracted packet for processing {"connection_id":151783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:57:22] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301923072001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786335938000,"timestamp_ms":1786335938000,"timestamp_seconds":1786335938,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eb45d0"} 
[2026-08-10 09:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 09:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301923072001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301923072001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:57:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:57:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301923072001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":151783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:57:22] local.INFO: GPS data processed {"connection_id":151783,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:57:22] local.INFO: Acknowledgment sent {"connection_id":151783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:57:35] local.INFO: TCP Data received {"connection_id":154159,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eb9bc0012d18374007219488004b012d20..."} 
[2026-08-10 09:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eb9bc0012d18374007219488004b012d20..."} 
[2026-08-10 09:57:35] local.INFO: Processing buffer {"connection_id":154159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eb9bc0012d18374007219488004b012d20..."} 
[2026-08-10 09:57:35] local.INFO: Packet analysis {"connection_id":154159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:57:35] local.INFO: Extracted packet for processing {"connection_id":154159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641224,"longitude_deg":75.6561728,"latitude_deg":11.9641224,"altitude":75,"angle":301,"satellites":32,"speed":0,"hex_longitude":"2d183740","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-10 09:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302000384001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11345276371468288,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001687552,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786335960000,"timestamp_ms":1786335960000,"timestamp_seconds":1786335960,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eb9bc0"} 
[2026-08-10 09:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":55,"data_length":795,"current_offset":136} 
[2026-08-10 09:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302000384001,"66":14243,"105":206,"83":41984,"24":0,"16":11345276371468288,"45":1744933780001687552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 09:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302000384001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:57:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 09:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11345276371468288,"km_value":11345276371468.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001687552,"description":"Unknown IO ID 45"} 
[2026-08-10 09:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302000384001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744933780001687552}} 
[2026-08-10 09:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":154159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:57:35] local.INFO: GPS data processed {"connection_id":154159,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:57:35] local.INFO: Acknowledgment sent {"connection_id":154159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:57:53] local.INFO: TCP Data received {"connection_id":151783,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:57:53] local.INFO: Processing buffer {"connection_id":151783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:57:53] local.INFO: Packet analysis {"connection_id":151783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:57:53] local.INFO: Extracted packet for processing {"connection_id":151783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:57:53] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301923072001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786335938000,"timestamp_ms":1786335938000,"timestamp_seconds":1786335938,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eb45d0"} 
[2026-08-10 09:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 09:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301923072001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301923072001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:57:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:57:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301923072001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":151783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:57:53] local.INFO: GPS data processed {"connection_id":151783,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:57:53] local.INFO: Acknowledgment sent {"connection_id":151783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:57:59] local.INFO: TCP Data received {"connection_id":152698,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:57:59] local.INFO: Processing buffer {"connection_id":152698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:57:59] local.INFO: IMEI packet received {"connection_id":152698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":152698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:58:00] local.INFO: TCP Data received {"connection_id":152699,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:58:00] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:58:00] local.INFO: IMEI packet received {"connection_id":152699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":152699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:58:04] local.INFO: TCP Data received {"connection_id":152698,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:58:04] local.INFO: Processing buffer {"connection_id":152698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:58:04] local.INFO: IMEI packet received {"connection_id":152698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":152698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:58:05] local.INFO: TCP Data received {"connection_id":152699,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:58:05] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:58:05] local.INFO: IMEI packet received {"connection_id":152699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":152699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:58:05] local.INFO: TCP Data received {"connection_id":152699,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ec62f8012d1884c007218208004b00681f..."} 
[2026-08-10 09:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ec62f8012d1884c007218208004b00681f..."} 
[2026-08-10 09:58:05] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ec62f8012d1884c007218208004b00681f..."} 
[2026-08-10 09:58:05] local.INFO: Packet analysis {"connection_id":152699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ec"} 
[2026-08-10 09:58:05] local.INFO: Extracted packet for processing {"connection_id":152699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ec"} 
[2026-08-10 09:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756581568,"raw_latitude":119636488,"longitude_deg":75.6581568,"latitude_deg":11.9636488,"altitude":75,"angle":104,"satellites":31,"speed":28,"hex_longitude":"2d1884c0","hex_latitude":"07218208","is_valid_coordinates":true} 
[2026-08-10 09:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302016512001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11346328638455808,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759640847533629440,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336011000,"timestamp_ms":1786336011000,"timestamp_seconds":1786336011,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ec62f8"} 
[2026-08-10 09:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 09:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302016512001,"66":12939,"106":206,"83":41984,"24":28,"16":11346328638455808,"45":1759640847533629440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 09:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302016512001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:58:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 09:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11346328638455808,"km_value":11346328638455.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759640847533629440,"description":"Unknown IO ID 45"} 
[2026-08-10 09:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302016512001,"power":12939,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1759640847533629440}} 
[2026-08-10 09:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":152699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:58:06] local.INFO: GPS data processed {"connection_id":152699,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:58:06] local.INFO: Acknowledgment sent {"connection_id":152699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:58:06] local.INFO: TCP Data received {"connection_id":152698,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ebe5f8012d34c68006aa4b600006015f29..."} 
[2026-08-10 09:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ebe5f8012d34c68006aa4b600006015f29..."} 
[2026-08-10 09:58:06] local.INFO: Processing buffer {"connection_id":152698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ebe5f8012d34c68006aa4b600006015f29..."} 
[2026-08-10 09:58:06] local.INFO: Packet analysis {"connection_id":152698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:58:06] local.INFO: Extracted packet for processing {"connection_id":152698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111823712,"longitude_deg":75.8433408,"latitude_deg":11.1823712,"altitude":6,"angle":351,"satellites":41,"speed":6,"hex_longitude":"2d34c680","hex_latitude":"06aa4b60","is_valid_coordinates":true} 
[2026-08-10 09:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302009344001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447419568619520,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987625984,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786335979000,"timestamp_ms":1786335979000,"timestamp_seconds":1786335979,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ebe5f8"} 
[2026-08-10 09:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-10 09:58: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-08-10 09:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302009344001,"66":27745,"97":206,"81":23296,"24":6,"16":376447419568619520,"45":3802726963987625984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302009344001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447419568619520,"km_value":376447419568619.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987625984,"description":"Unknown IO ID 45"} 
[2026-08-10 09:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302009344001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802726963987625984}} 
[2026-08-10 09:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":152698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:58:06] local.INFO: GPS data processed {"connection_id":152698,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:58:06] local.INFO: Acknowledgment sent {"connection_id":152698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:58:09] local.INFO: TCP Data received {"connection_id":152699,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ec95c0012d18a4c0072175a0004a007420..."} 
[2026-08-10 09:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ec95c0012d18a4c0072175a0004a007420..."} 
[2026-08-10 09:58:09] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ec95c0012d18a4c0072175a0004a007420..."} 
[2026-08-10 09:58:09] local.INFO: Packet analysis {"connection_id":152699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ec"} 
[2026-08-10 09:58:09] local.INFO: Extracted packet for processing {"connection_id":152699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ec"} 
[2026-08-10 09:58:09] local.INFO: GPS Element Parsed {"raw_longitude":756589760,"raw_latitude":119633312,"longitude_deg":75.658976,"latitude_deg":11.9633312,"altitude":74,"angle":116,"satellites":32,"speed":20,"hex_longitude":"2d18a4c0","hex_latitude":"072175a0","is_valid_coordinates":true} 
[2026-08-10 09:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302018816001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11346745250283520,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766748090695550976,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786336024000,"timestamp_ms":1786336024000,"timestamp_seconds":1786336024,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ec95c0"} 
[2026-08-10 09:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 09:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302018816001,"66":12863,"106":206,"83":41984,"24":20,"16":11346745250283520,"45":1766748090695550976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 09:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302018816001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:58:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 09:58:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11346745250283520,"km_value":11346745250283.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766748090695550976,"description":"Unknown IO ID 45"} 
[2026-08-10 09:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302018816001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1766748090695550976}} 
[2026-08-10 09:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":152699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:58:09] local.INFO: GPS data processed {"connection_id":152699,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:58:09] local.INFO: Acknowledgment sent {"connection_id":152699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:58:14] local.INFO: TCP Data received {"connection_id":151784,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:58:14] local.INFO: Processing buffer {"connection_id":151784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:58:14] local.INFO: IMEI packet received {"connection_id":151784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":151784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:58:19] local.INFO: TCP Data received {"connection_id":151784,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:58:19] local.INFO: Processing buffer {"connection_id":151784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:58:19] local.INFO: IMEI packet received {"connection_id":151784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":151784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:58:21] local.INFO: TCP Data received {"connection_id":151784,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:58:21] local.INFO: Processing buffer {"connection_id":151784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:58:21] local.INFO: Packet analysis {"connection_id":151784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:58:21] local.INFO: Extracted packet for processing {"connection_id":151784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:58:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301923072001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786335938000,"timestamp_ms":1786335938000,"timestamp_seconds":1786335938,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eb45d0"} 
[2026-08-10 09:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 09:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301923072001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301923072001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:58:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:58:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301923072001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":151784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:58:21] local.INFO: GPS data processed {"connection_id":151784,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:58:21] local.INFO: Acknowledgment sent {"connection_id":151784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:58:37] local.INFO: TCP Data received {"connection_id":152698,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ec3800012d34c60006aa4f780007016129..."} 
[2026-08-10 09:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ec3800012d34c60006aa4f780007016129..."} 
[2026-08-10 09:58:37] local.INFO: Processing buffer {"connection_id":152698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ec3800012d34c60006aa4f780007016129..."} 
[2026-08-10 09:58:37] local.INFO: Packet analysis {"connection_id":152698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ec"} 
[2026-08-10 09:58:37] local.INFO: Extracted packet for processing {"connection_id":152698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ec"} 
[2026-08-10 09:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111824760,"longitude_deg":75.843328,"latitude_deg":11.182476,"altitude":7,"angle":353,"satellites":41,"speed":1,"hex_longitude":"2d34c600","hex_latitude":"06aa4f78","is_valid_coordinates":true} 
[2026-08-10 09:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302010624001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376447475403194368,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701476188160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786336000000,"timestamp_ms":1786336000000,"timestamp_seconds":1786336000,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ec3800"} 
[2026-08-10 09:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 09:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302010624001,"66":27767,"97":206,"81":23296,"24":1,"16":376447475403194368,"45":3802867701476188160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302010624001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376447475403194368,"km_value":376447475403194.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701476188160,"description":"Unknown IO ID 45"} 
[2026-08-10 09:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302010624001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802867701476188160}} 
[2026-08-10 09:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":152698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:58:37] local.INFO: GPS data processed {"connection_id":152698,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:58:37] local.INFO: Acknowledgment sent {"connection_id":152698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:58:52] local.INFO: TCP Data received {"connection_id":151784,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:58:52] local.INFO: Processing buffer {"connection_id":151784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:58:52] local.INFO: Packet analysis {"connection_id":151784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:58:52] local.INFO: Extracted packet for processing {"connection_id":151784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:58:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301923072001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786335938000,"timestamp_ms":1786335938000,"timestamp_seconds":1786335938,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eb45d0"} 
[2026-08-10 09:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 09:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301923072001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301923072001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:58:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:58:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301923072001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":151784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:58:52] local.INFO: GPS data processed {"connection_id":151784,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:58:52] local.INFO: Acknowledgment sent {"connection_id":151784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:58:55] local.INFO: TCP Data received {"connection_id":154160,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:58:55] local.INFO: Processing buffer {"connection_id":154160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:58:55] local.INFO: IMEI packet received {"connection_id":154160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":154160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:58:59] local.INFO: TCP Data received {"connection_id":152701,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:58:59] local.INFO: Processing buffer {"connection_id":152701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:58:59] local.INFO: IMEI packet received {"connection_id":152701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":152701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:59:00] local.INFO: TCP Data received {"connection_id":154160,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:59:00] local.INFO: Processing buffer {"connection_id":154160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:59:00] local.INFO: IMEI packet received {"connection_id":154160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":154160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:59:00] local.INFO: TCP Data received {"connection_id":152701,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:59:00] local.INFO: Processing buffer {"connection_id":152701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:59:00] local.INFO: IMEI packet received {"connection_id":152701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":152701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:59:01] local.INFO: TCP Data received {"connection_id":154160,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eca178012d18a8c007217388004a008020..."} 
[2026-08-10 09:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eca178012d18a8c007217388004a008020..."} 
[2026-08-10 09:59:01] local.INFO: Processing buffer {"connection_id":154160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eca178012d18a8c007217388004a008020..."} 
[2026-08-10 09:59:01] local.INFO: Packet analysis {"connection_id":154160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ec"} 
[2026-08-10 09:59:01] local.INFO: Extracted packet for processing {"connection_id":154160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ec"} 
[2026-08-10 09:59:01] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119632776,"longitude_deg":75.6590784,"latitude_deg":11.9632776,"altitude":74,"angle":128,"satellites":32,"speed":11,"hex_longitude":"2d18a8c0","hex_latitude":"07217388","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302022144001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11346801084858368,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775755289949478912,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786336027000,"timestamp_ms":1786336027000,"timestamp_seconds":1786336027,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eca178"} 
[2026-08-10 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-08-10 09:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 09:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 09:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302022144001,"66":12809,"106":206,"83":41984,"24":11,"16":11346801084858368,"45":1775755289949478912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 09:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302022144001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:59:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 09:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11346801084858368,"km_value":11346801084858.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775755289949478912,"description":"Unknown IO ID 45"} 
[2026-08-10 09:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302022144001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1775755289949478912}} 
[2026-08-10 09:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":154160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:59:01] local.INFO: GPS data processed {"connection_id":154160,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:59:01] local.INFO: Acknowledgment sent {"connection_id":154160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:59:02] local.INFO: TCP Data received {"connection_id":152701,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:59:02] local.INFO: Processing buffer {"connection_id":152701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:59:02] local.INFO: IMEI packet received {"connection_id":152701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 09:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":152701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:59:03] local.INFO: TCP Data received {"connection_id":152701,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ed5910012d3500c006aa62780005004e28..."} 
[2026-08-10 09:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ed5910012d3500c006aa62780005004e28..."} 
[2026-08-10 09:59:03] local.INFO: Processing buffer {"connection_id":152701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ed5910012d3500c006aa62780005004e28..."} 
[2026-08-10 09:59:03] local.INFO: Packet analysis {"connection_id":152701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ed"} 
[2026-08-10 09:59:03] local.INFO: Extracted packet for processing {"connection_id":152701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ed"} 
[2026-08-10 09:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758448320,"raw_latitude":111829624,"longitude_deg":75.844832,"latitude_deg":11.1829624,"altitude":5,"angle":78,"satellites":40,"speed":13,"hex_longitude":"2d3500c0","hex_latitude":"06aa6278","is_valid_coordinates":true} 
[2026-08-10 09:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302029568001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376448291446980608,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3814267438034180096,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786336074000,"timestamp_ms":1786336074000,"timestamp_seconds":1786336074,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ed5910"} 
[2026-08-10 09:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-10 09:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302029568001,"66":27767,"97":206,"81":23296,"24":13,"16":376448291446980608,"45":3814267438034180096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302029568001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376448291446980608,"km_value":376448291446980.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3814267438034180096,"description":"Unknown IO ID 45"} 
[2026-08-10 09:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302029568001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":3814267438034180096}} 
[2026-08-10 09:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":152701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:59:03] local.INFO: GPS data processed {"connection_id":152701,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:59:03] local.INFO: Acknowledgment sent {"connection_id":152701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:59:04] local.INFO: TCP Data received {"connection_id":152701,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ed7c38012d350bc006aa6400000600592a..."} 
[2026-08-10 09:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ed7c38012d350bc006aa6400000600592a..."} 
[2026-08-10 09:59:04] local.INFO: Processing buffer {"connection_id":152701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ed7c38012d350bc006aa6400000600592a..."} 
[2026-08-10 09:59:04] local.INFO: Packet analysis {"connection_id":152701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ed"} 
[2026-08-10 09:59:04] local.INFO: Extracted packet for processing {"connection_id":152701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ed"} 
[2026-08-10 09:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758451136,"raw_latitude":111830016,"longitude_deg":75.8451136,"latitude_deg":11.1830016,"altitude":6,"angle":89,"satellites":42,"speed":7,"hex_longitude":"2d350bc0","hex_latitude":"06aa6400","is_valid_coordinates":true} 
[2026-08-10 09:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302034944001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376448424590966784,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3819263618871097344,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786336083000,"timestamp_ms":1786336083000,"timestamp_seconds":1786336083,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ed7c38"} 
[2026-08-10 09:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-10 09:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302034944001,"66":27767,"97":206,"81":23296,"24":7,"16":376448424590966784,"45":3819263618871097344},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302034944001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:59:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376448424590966784,"km_value":376448424590966.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3819263618871097344,"description":"Unknown IO ID 45"} 
[2026-08-10 09:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302034944001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3819263618871097344}} 
[2026-08-10 09:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":152701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:59:04] local.INFO: GPS data processed {"connection_id":152701,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:59:04] local.INFO: Acknowledgment sent {"connection_id":152701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:59:17] local.INFO: TCP Data received {"connection_id":151399,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:59:17] local.INFO: Processing buffer {"connection_id":151399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:59:17] local.INFO: IMEI packet received {"connection_id":151399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 09:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":151399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:59:19] local.INFO: TCP Data received {"connection_id":151399,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:59:19] local.INFO: Processing buffer {"connection_id":151399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 09:59:19] local.INFO: IMEI packet received {"connection_id":151399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 09:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":151399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:59:21] local.INFO: TCP Data received {"connection_id":151399,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:59:21] local.INFO: Processing buffer {"connection_id":151399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:59:21] local.INFO: Packet analysis {"connection_id":151399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:59:21] local.INFO: Extracted packet for processing {"connection_id":151399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:59:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301923072001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786335938000,"timestamp_ms":1786335938000,"timestamp_seconds":1786335938,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eb45d0"} 
[2026-08-10 09:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 09:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301923072001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301923072001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:59:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:59:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301923072001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":151399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:59:21] local.INFO: GPS data processed {"connection_id":151399,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:59:21] local.INFO: Acknowledgment sent {"connection_id":151399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:59:32] local.INFO: TCP Data received {"connection_id":154160,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ecad30012d18aa80072172180049008d20..."} 
[2026-08-10 09:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ecad30012d18aa80072172180049008d20..."} 
[2026-08-10 09:59:32] local.INFO: Processing buffer {"connection_id":154160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ecad30012d18aa80072172180049008d20..."} 
[2026-08-10 09:59:32] local.INFO: Packet analysis {"connection_id":154160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ec"} 
[2026-08-10 09:59:32] local.INFO: Extracted packet for processing {"connection_id":154160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ec"} 
[2026-08-10 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632408,"longitude_deg":75.6591232,"latitude_deg":11.9632408,"altitude":73,"angle":141,"satellites":32,"speed":5,"hex_longitude":"2d18aa80","hex_latitude":"07217218","is_valid_coordinates":true} 
[2026-08-10 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-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302022912001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11346831149629440,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189856184320,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786336030000,"timestamp_ms":1786336030000,"timestamp_seconds":1786336030,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ecad30"} 
[2026-08-10 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-08-10 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3924547160,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-1455076090961185088,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2205679694,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-7421706328994689453,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2420491287007349792,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:32] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,106,83,24,241,157,16,79,159,149,45,192,117,74,32,10,66,98,130,75,31,63,128,1,240,41,227,233,33,4,113,205,28,36,89,184,239,55,2,40,7,80,164,133],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-10 09:59:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332402833734696960,"timestamp_seconds":5332402833734697.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 09:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 09:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 09:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 09:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302022912001,"66":12841,"106":206,"83":41984,"24":5,"16":11346831149629440,"45":1776881189856184320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 09:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 09:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 09:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302022912001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:59:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 09:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 09:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11346831149629440,"km_value":11346831149629.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189856184320,"description":"Unknown IO ID 45"} 
[2026-08-10 09:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302022912001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1776881189856184320}} 
[2026-08-10 09:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":154160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:59:32] local.INFO: GPS data processed {"connection_id":154160,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:59:32] local.INFO: Acknowledgment sent {"connection_id":154160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:59:43] local.INFO: TCP Data received {"connection_id":152701,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9edc670012d350f0006aa68f0000a01352b..."} 
[2026-08-10 09:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9edc670012d350f0006aa68f0000a01352b..."} 
[2026-08-10 09:59:43] local.INFO: Processing buffer {"connection_id":152701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9edc670012d350f0006aa68f0000a01352b..."} 
[2026-08-10 09:59:43] local.INFO: Packet analysis {"connection_id":152701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ed"} 
[2026-08-10 09:59:43] local.INFO: Extracted packet for processing {"connection_id":152701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ed"} 
[2026-08-10 09:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758451968,"raw_latitude":111831280,"longitude_deg":75.8451968,"latitude_deg":11.183128,"altitude":10,"angle":309,"satellites":43,"speed":5,"hex_longitude":"2d350f00","hex_latitude":"06aa68f0","is_valid_coordinates":true} 
[2026-08-10 09:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302037248001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376448519080247296,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822359843615014912,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786336102000,"timestamp_ms":1786336102000,"timestamp_seconds":1786336102,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9edc670"} 
[2026-08-10 09:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-10 09:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 09:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 09:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 09:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302037248001,"66":27832,"97":206,"81":23296,"24":5,"16":376448519080247296,"45":3822359843615014912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 09:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 09:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 09:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302037248001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:59:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 09:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 09:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376448519080247296,"km_value":376448519080247.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822359843615014912,"description":"Unknown IO ID 45"} 
[2026-08-10 09:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302037248001,"power":27832,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3822359843615014912}} 
[2026-08-10 09:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":152701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:59:43] local.INFO: GPS data processed {"connection_id":152701,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:59:43] local.INFO: Acknowledgment sent {"connection_id":152701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:59:54] local.INFO: TCP Data received {"connection_id":151399,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:59:54] local.INFO: Processing buffer {"connection_id":151399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 09:59:54] local.INFO: Packet analysis {"connection_id":151399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:59:54] local.INFO: Extracted packet for processing {"connection_id":151399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 09:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 09:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 09:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301923072001,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 09:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 09:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786335938000,"timestamp_ms":1786335938000,"timestamp_seconds":1786335938,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eb45d0"} 
[2026-08-10 09:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 09:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 09:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 09:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 09:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 09:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 09:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 09:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 09:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 09:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 09:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 09:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 09:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301923072001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 09:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 09:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 09:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301923072001,"description":"Unknown IO ID 0"} 
[2026-08-10 09:59:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 09:59:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 09:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 09:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 09:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301923072001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 09:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":151399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 09:59:54] local.INFO: GPS data processed {"connection_id":151399,"processed":1,"errors":0,"total":1} 
[2026-08-10 09:59:54] local.INFO: Acknowledgment sent {"connection_id":151399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 09:59:55] local.INFO: TCP Data received {"connection_id":151785,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:59:55] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:59:55] local.INFO: IMEI packet received {"connection_id":151785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 09:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":151785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 09:59:55] local.INFO: TCP Data received {"connection_id":151785,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:59:55] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 09:59:55] local.INFO: IMEI packet received {"connection_id":151785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 09:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":151785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 09:59:59] local.INFO: TCP Data received {"connection_id":152702,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:59:59] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 09:59:59] local.INFO: IMEI packet received {"connection_id":152702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 09:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":152702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:00:00] local.INFO: TCP Data received {"connection_id":151785,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:00:00] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:00:00] local.INFO: IMEI packet received {"connection_id":151785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":151785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:00:01] local.INFO: TCP Data received {"connection_id":151785,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ecff38012d18ab00072171880047008d1e..."} 
[2026-08-10 10:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ecff38012d18ab00072171880047008d1e..."} 
[2026-08-10 10:00:01] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ecff38012d18ab00072171880047008d1e..."} 
[2026-08-10 10:00:01] local.INFO: Packet analysis {"connection_id":151785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ec"} 
[2026-08-10 10:00:01] local.INFO: Extracted packet for processing {"connection_id":151785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ec"} 
[2026-08-10 10:00:01] local.INFO: GPS Element Parsed {"raw_longitude":756591360,"raw_latitude":119632264,"longitude_deg":75.659136,"latitude_deg":11.9632264,"altitude":71,"angle":141,"satellites":30,"speed":0,"hex_longitude":"2d18ab00","hex_latitude":"07217188","is_valid_coordinates":true} 
[2026-08-10 10:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302023680001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11346839739564032,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065333760,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786336051000,"timestamp_ms":1786336051000,"timestamp_seconds":1786336051,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ecff38"} 
[2026-08-10 10:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302023680001,"66":12798,"106":206,"83":41984,"24":0,"16":11346839739564032,"45":1777373771065333760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 10:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302023680001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:00:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 10:00:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11346839739564032,"km_value":11346839739564.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065333760,"description":"Unknown IO ID 45"} 
[2026-08-10 10:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302023680001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771065333760}} 
[2026-08-10 10:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":151785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:00:01] local.INFO: GPS data processed {"connection_id":151785,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:00:01] local.INFO: Acknowledgment sent {"connection_id":151785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:00:04] local.INFO: TCP Data received {"connection_id":152702,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:00:04] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:00:04] local.INFO: IMEI packet received {"connection_id":152702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":152702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:00:04] local.INFO: TCP Data received {"connection_id":152702,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:00:04] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:00:04] local.INFO: IMEI packet received {"connection_id":152702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":152702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:00:05] local.INFO: TCP Data received {"connection_id":152702,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9edce40012d350e4006aa69d0000a01262b..."} 
[2026-08-10 10:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9edce40012d350e4006aa69d0000a01262b..."} 
[2026-08-10 10:00:05] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9edce40012d350e4006aa69d0000a01262b..."} 
[2026-08-10 10:00:05] local.INFO: Packet analysis {"connection_id":152702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ed"} 
[2026-08-10 10:00:05] local.INFO: Extracted packet for processing {"connection_id":152702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ed"} 
[2026-08-10 10:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758451776,"raw_latitude":111831504,"longitude_deg":75.8451776,"latitude_deg":11.1831504,"altitude":10,"angle":294,"satellites":43,"speed":8,"hex_longitude":"2d350e40","hex_latitude":"06aa69d0","is_valid_coordinates":true} 
[2026-08-10 10:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302042112001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376448531965149184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823274637289648128,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336104000,"timestamp_ms":1786336104000,"timestamp_seconds":1786336104,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9edce40"} 
[2026-08-10 10:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-10 10:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302042112001,"66":27745,"97":206,"81":23296,"24":8,"16":376448531965149184,"45":3823274637289648128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 10:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302042112001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 10:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376448531965149184,"km_value":376448531965149.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823274637289648128,"description":"Unknown IO ID 45"} 
[2026-08-10 10:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302042112001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3823274637289648128}} 
[2026-08-10 10:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":152702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:00:06] local.INFO: GPS data processed {"connection_id":152702,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:00:06] local.INFO: Acknowledgment sent {"connection_id":152702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:00:11] local.INFO: TCP Data received {"connection_id":152702,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9edd228012d350d4006aa6a28000a011b2b..."} 
[2026-08-10 10:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9edd228012d350d4006aa6a28000a011b2b..."} 
[2026-08-10 10:00:11] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9edd228012d350d4006aa6a28000a011b2b..."} 
[2026-08-10 10:00:11] local.INFO: Packet analysis {"connection_id":152702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ed"} 
[2026-08-10 10:00:11] local.INFO: Extracted packet for processing {"connection_id":152702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ed"} 
[2026-08-10 10:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758451520,"raw_latitude":111831592,"longitude_deg":75.845152,"latitude_deg":11.1831592,"altitude":10,"angle":283,"satellites":43,"speed":11,"hex_longitude":"2d350d40","hex_latitude":"06aa6a28","is_valid_coordinates":true} 
[2026-08-10 10:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302042624001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376448544850051072,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823063531057172480,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786336105000,"timestamp_ms":1786336105000,"timestamp_seconds":1786336105,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9edd228"} 
[2026-08-10 10:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302042624001,"66":27745,"97":206,"81":23296,"24":11,"16":376448544850051072,"45":3823063531057172480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 10:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302042624001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:00:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 10:00:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376448544850051072,"km_value":376448544850051.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823063531057172480,"description":"Unknown IO ID 45"} 
[2026-08-10 10:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302042624001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":11,"odometer":null,"unknown_45":3823063531057172480}} 
[2026-08-10 10:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":152702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:00:11] local.INFO: GPS data processed {"connection_id":152702,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:00:11] local.INFO: Acknowledgment sent {"connection_id":152702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:00:14] local.INFO: TCP Data received {"connection_id":151400,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:00:14] local.INFO: Processing buffer {"connection_id":151400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:00:14] local.INFO: IMEI packet received {"connection_id":151400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":151400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:00:19] local.INFO: TCP Data received {"connection_id":151400,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:00:19] local.INFO: Processing buffer {"connection_id":151400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:00:19] local.INFO: IMEI packet received {"connection_id":151400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":151400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:00:21] local.INFO: TCP Data received {"connection_id":151400,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 10:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 10:00:21] local.INFO: Processing buffer {"connection_id":151400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9eb45d0012d7d358005ec0eb00002000618..."} 
[2026-08-10 10:00:21] local.INFO: Packet analysis {"connection_id":151400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 10:00:21] local.INFO: Extracted packet for processing {"connection_id":151400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9eb"} 
[2026-08-10 10:00:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":2,"angle":6,"satellites":24,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457301923072001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786335938000,"timestamp_ms":1786335938000,"timestamp_seconds":1786335938,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9eb45d0"} 
[2026-08-10 10:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457301923072001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457301923072001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:00:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:00:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457301923072001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":151400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:00:21] local.INFO: GPS data processed {"connection_id":151400,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:00:21] local.INFO: Acknowledgment sent {"connection_id":151400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:00:27] local.INFO: TCP Data received {"connection_id":151786,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:00:27] local.INFO: Processing buffer {"connection_id":151786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:00:27] local.INFO: IMEI packet received {"connection_id":151786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":151786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:00:28] local.INFO: TCP Data received {"connection_id":151786,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ef4d10012d0b660007042108001500b41e..."} 
[2026-08-10 10:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ef4d10012d0b660007042108001500b41e..."} 
[2026-08-10 10:00:28] local.INFO: Processing buffer {"connection_id":151786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ef4d10012d0b660007042108001500b41e..."} 
[2026-08-10 10:00:28] local.INFO: Packet analysis {"connection_id":151786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:00:28] local.INFO: Extracted packet for processing {"connection_id":151786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:00:28] local.INFO: GPS Element Parsed {"raw_longitude":755721728,"raw_latitude":117711112,"longitude_deg":75.5721728,"latitude_deg":11.7711112,"altitude":21,"angle":180,"satellites":30,"speed":6,"hex_longitude":"2d0b6600","hex_latitude":"07042108","is_valid_coordinates":true} 
[2026-08-10 10:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302062336001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27338085314330624,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821132905943648256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786336202000,"timestamp_ms":1786336202000,"timestamp_seconds":1786336202,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ef4d10"} 
[2026-08-10 10:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 10:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":151786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":151786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":151786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302062336001,"66":14450,"96":206,"94":10240,"24":6,"16":27338085314330624,"45":821132905943648256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 10:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302062336001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:00:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 10:00:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 10:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27338085314330624,"km_value":27338085314330.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":821132905943648256,"description":"Unknown IO ID 45"} 
[2026-08-10 10:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302062336001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":821132905943648256}} 
[2026-08-10 10:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":151786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619071,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:00:28] local.INFO: GPS data processed {"connection_id":151786,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:00:28] local.INFO: Acknowledgment sent {"connection_id":151786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:00:31] local.INFO: TCP Data received {"connection_id":151785,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ed5140012d18ab00072171880047008d1f..."} 
[2026-08-10 10:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ed5140012d18ab00072171880047008d1f..."} 
[2026-08-10 10:00:31] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ed5140012d18ab00072171880047008d1f..."} 
[2026-08-10 10:00:31] local.INFO: Packet analysis {"connection_id":151785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ed"} 
[2026-08-10 10:00:31] local.INFO: Extracted packet for processing {"connection_id":151785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ed"} 
[2026-08-10 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756591360,"raw_latitude":119632264,"longitude_deg":75.659136,"latitude_deg":11.9632264,"altitude":71,"angle":141,"satellites":31,"speed":0,"hex_longitude":"2d18ab00","hex_latitude":"07217188","is_valid_coordinates":true} 
[2026-08-10 10:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302029056001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11346839739564032,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777514508553652224,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786336072000,"timestamp_ms":1786336072000,"timestamp_seconds":1786336072,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ed5140"} 
[2026-08-10 10:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 10:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302029056001,"66":12776,"103":206,"83":41984,"24":0,"16":11346839739564032,"45":1777514508553652224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302029056001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:00:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:00:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11346839739564032,"km_value":11346839739564.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777514508553652224,"description":"Unknown IO ID 45"} 
[2026-08-10 10:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302029056001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777514508553652224}} 
[2026-08-10 10:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":151785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:00:32] local.INFO: GPS data processed {"connection_id":151785,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:00:32] local.INFO: Acknowledgment sent {"connection_id":151785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:00:43] local.INFO: TCP Data received {"connection_id":152702,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ee0cc0012d34e94006aa77100008012125..."} 
[2026-08-10 10:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ee0cc0012d34e94006aa77100008012125..."} 
[2026-08-10 10:00:43] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ee0cc0012d34e94006aa77100008012125..."} 
[2026-08-10 10:00:43] local.INFO: Packet analysis {"connection_id":152702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ee"} 
[2026-08-10 10:00:43] local.INFO: Extracted packet for processing {"connection_id":152702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ee"} 
[2026-08-10 10:00:43] local.INFO: GPS Element Parsed {"raw_longitude":758442304,"raw_latitude":111834896,"longitude_deg":75.8442304,"latitude_deg":11.1834896,"altitude":8,"angle":289,"satellites":37,"speed":36,"hex_longitude":"2d34e940","hex_latitude":"06aa7710","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302042880001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376449013001486336,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822782056080484352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786336120000,"timestamp_ms":1786336120000,"timestamp_seconds":1786336120,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ee0cc0"} 
[2026-08-10 10:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302042880001,"66":27713,"97":206,"81":23296,"24":36,"16":376449013001486336,"45":3822782056080484352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 10:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302042880001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:00:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 10:00:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376449013001486336,"km_value":376449013001486.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822782056080484352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302042880001,"power":27713,"unknown_97":206,"unknown_81":23296,"ignition":36,"odometer":null,"unknown_45":3822782056080484352}} 
[2026-08-10 10:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":152702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:00:43] local.INFO: GPS data processed {"connection_id":152702,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:00:43] local.INFO: Acknowledgment sent {"connection_id":152702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:00:53] local.INFO: TCP Data received {"connection_id":151400,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:00:53] local.INFO: Processing buffer {"connection_id":151400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:00:53] local.INFO: Packet analysis {"connection_id":151400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:00:53] local.INFO: Extracted packet for processing {"connection_id":151400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:00:53] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302000128001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786336239000,"timestamp_ms":1786336239000,"timestamp_seconds":1786336239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9efdd98"} 
[2026-08-10 10:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302000128001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302000128001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:00:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:00:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302000128001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":151400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:00:53] local.INFO: GPS data processed {"connection_id":151400,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:00:53] local.INFO: Acknowledgment sent {"connection_id":151400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:00:54] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:00:54] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:00:54] local.INFO: IMEI packet received {"connection_id":151787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":151787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:00:54] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:00:54] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:00:54] local.INFO: IMEI packet received {"connection_id":151787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":151787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:00:59] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:00:59] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:00:59] local.INFO: IMEI packet received {"connection_id":151787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":151787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:00:59] local.INFO: TCP Data received {"connection_id":151786,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ef87a8012d0b69000703fe20001300b11e..."} 
[2026-08-10 10:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ef87a8012d0b69000703fe20001300b11e..."} 
[2026-08-10 10:00:59] local.INFO: Processing buffer {"connection_id":151786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ef87a8012d0b69000703fe20001300b11e..."} 
[2026-08-10 10:00:59] local.INFO: Packet analysis {"connection_id":151786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:00:59] local.INFO: Extracted packet for processing {"connection_id":151786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:00:59] local.INFO: GPS Element Parsed {"raw_longitude":755722496,"raw_latitude":117702176,"longitude_deg":75.5722496,"latitude_deg":11.7702176,"altitude":19,"angle":177,"satellites":30,"speed":24,"hex_longitude":"2d0b6900","hex_latitude":"0703fe20","is_valid_coordinates":true} 
[2026-08-10 10:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302067712001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27338519106027520,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821344012175738880,"note":"Value kept but may cause issues"} 
[2026-08-10 10:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786336217000,"timestamp_ms":1786336217000,"timestamp_seconds":1786336217,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ef87a8"} 
[2026-08-10 10:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 10:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302067712001,"66":14450,"96":206,"94":10240,"24":24,"16":27338519106027520,"45":821344012175738880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 10:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302067712001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:00:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 10:00:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 10:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27338519106027520,"km_value":27338519106027.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":821344012175738880,"description":"Unknown IO ID 45"} 
[2026-08-10 10:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302067712001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":821344012175738880}} 
[2026-08-10 10:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":151786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619075,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:00:59] local.INFO: GPS data processed {"connection_id":151786,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:00:59] local.INFO: Acknowledgment sent {"connection_id":151786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:01:00] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ef5cb0012d18d1c007212988003d00a21f..."} 
[2026-08-10 10:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ef5cb0012d18d1c007212988003d00a21f..."} 
[2026-08-10 10:01:00] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ef5cb0012d18d1c007212988003d00a21f..."} 
[2026-08-10 10:01:00] local.INFO: Packet analysis {"connection_id":151787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:01:00] local.INFO: Extracted packet for processing {"connection_id":151787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:01:00] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119613832,"longitude_deg":75.660128,"latitude_deg":11.9613832,"altitude":61,"angle":162,"satellites":31,"speed":30,"hex_longitude":"2d18d1c0","hex_latitude":"07212988","is_valid_coordinates":true} 
[2026-08-10 10:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302067712001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11347887711584256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786873551525214208,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786336206000,"timestamp_ms":1786336206000,"timestamp_seconds":1786336206,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ef5cb0"} 
[2026-08-10 10:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 10:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302067712001,"66":14374,"103":206,"83":41984,"24":30,"16":11347887711584256,"45":1786873551525214208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302067712001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:01:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11347887711584256,"km_value":11347887711584.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786873551525214208,"description":"Unknown IO ID 45"} 
[2026-08-10 10:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302067712001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1786873551525214208}} 
[2026-08-10 10:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":151787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:01:00] local.INFO: GPS data processed {"connection_id":151787,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:01:00] local.INFO: Acknowledgment sent {"connection_id":151787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:01:04] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:01:04] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:01:04] local.INFO: IMEI packet received {"connection_id":151788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":151788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:01:04] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:01:04] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:01:04] local.INFO: IMEI packet received {"connection_id":151788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":151788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:01:12] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:01:12] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:01:12] local.INFO: IMEI packet received {"connection_id":151788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":151788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:01:13] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ee2fe8012d34c80006aa83980006012227..."} 
[2026-08-10 10:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ee2fe8012d34c80006aa83980006012227..."} 
[2026-08-10 10:01:13] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ee2fe8012d34c80006aa83980006012227..."} 
[2026-08-10 10:01:13] local.INFO: Packet analysis {"connection_id":151788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ee"} 
[2026-08-10 10:01:13] local.INFO: Extracted packet for processing {"connection_id":151788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ee"} 
[2026-08-10 10:01:13] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111838104,"longitude_deg":75.8433792,"latitude_deg":11.1838104,"altitude":6,"angle":290,"satellites":39,"speed":35,"hex_longitude":"2d34c800","hex_latitude":"06aa8398","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302046720001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376449446793183232,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3812648956919746560,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786336129000,"timestamp_ms":1786336129000,"timestamp_seconds":1786336129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ee2fe8"} 
[2026-08-10 10:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-10 10:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302046720001,"66":27615,"97":206,"81":23296,"24":35,"16":376449446793183232,"45":3812648956919746560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 10:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302046720001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:01:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 10:01:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376449446793183232,"km_value":376449446793183.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3812648956919746560,"description":"Unknown IO ID 45"} 
[2026-08-10 10:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302046720001,"power":27615,"unknown_97":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3812648956919746560}} 
[2026-08-10 10:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":151788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:01:13] local.INFO: GPS data processed {"connection_id":151788,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:01:13] local.INFO: Acknowledgment sent {"connection_id":151788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:01:14] local.INFO: TCP Data received {"connection_id":154162,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:01:14] local.INFO: Processing buffer {"connection_id":154162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:01:14] local.INFO: IMEI packet received {"connection_id":154162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":154162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:01:15] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ee5ae0012d34a3c006aa90d00009011f26..."} 
[2026-08-10 10:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ee5ae0012d34a3c006aa90d00009011f26..."} 
[2026-08-10 10:01:15] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ee5ae0012d34a3c006aa90d00009011f26..."} 
[2026-08-10 10:01:15] local.INFO: Packet analysis {"connection_id":151788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ee"} 
[2026-08-10 10:01:15] local.INFO: Extracted packet for processing {"connection_id":151788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ee"} 
[2026-08-10 10:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758424512,"raw_latitude":111841488,"longitude_deg":75.8424512,"latitude_deg":11.1841488,"altitude":9,"angle":287,"satellites":38,"speed":35,"hex_longitude":"2d34a3c0","hex_latitude":"06aa90d0","is_valid_coordinates":true} 
[2026-08-10 10:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302049024001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376449914944618496,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913944938496,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786336140000,"timestamp_ms":1786336140000,"timestamp_seconds":1786336140,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ee5ae0"} 
[2026-08-10 10:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 10:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302049024001,"66":27745,"97":206,"81":23296,"24":35,"16":376449914944618496,"45":3803289913944938496},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-10 10:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302049024001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 10:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376449914944618496,"km_value":376449914944618.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913944938496,"description":"Unknown IO ID 45"} 
[2026-08-10 10:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302049024001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3803289913944938496}} 
[2026-08-10 10:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":151788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:01:15] local.INFO: GPS data processed {"connection_id":151788,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:01:15] local.INFO: Acknowledgment sent {"connection_id":151788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:01:16] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ee81f0012d3483c006aa98f8000d011327..."} 
[2026-08-10 10:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ee81f0012d3483c006aa98f8000d011327..."} 
[2026-08-10 10:01:16] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ee81f0012d3483c006aa98f8000d011327..."} 
[2026-08-10 10:01:16] local.INFO: Packet analysis {"connection_id":151788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ee"} 
[2026-08-10 10:01:16] local.INFO: Extracted packet for processing {"connection_id":151788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ee"} 
[2026-08-10 10:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758416320,"raw_latitude":111843576,"longitude_deg":75.841632,"latitude_deg":11.1843576,"altitude":13,"angle":275,"satellites":39,"speed":31,"hex_longitude":"2d3483c0","hex_latitude":"06aa98f8","is_valid_coordinates":true} 
[2026-08-10 10:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302051840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376450322966511616,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3793086446040043520,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786336150000,"timestamp_ms":1786336150000,"timestamp_seconds":1786336150,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ee81f0"} 
[2026-08-10 10:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302051840001,"66":27517,"34":206,"81":23296,"24":31,"16":376450322966511616,"45":3793086446040043520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 10:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302051840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:01:16] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 10:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376450322966511616,"km_value":376450322966511.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3793086446040043520,"description":"Unknown IO ID 45"} 
[2026-08-10 10:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302051840001,"power":27517,"unknown_34":206,"unknown_81":23296,"ignition":31,"odometer":null,"unknown_45":3793086446040043520}} 
[2026-08-10 10:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":151788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:01:16] local.INFO: GPS data processed {"connection_id":151788,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:01:16] local.INFO: Acknowledgment sent {"connection_id":151788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:01:19] local.INFO: TCP Data received {"connection_id":154162,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:01:19] local.INFO: Processing buffer {"connection_id":154162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:01:19] local.INFO: IMEI packet received {"connection_id":154162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":154162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:01:21] local.INFO: TCP Data received {"connection_id":154162,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:01:21] local.INFO: Processing buffer {"connection_id":154162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:01:21] local.INFO: Packet analysis {"connection_id":154162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:01:21] local.INFO: Extracted packet for processing {"connection_id":154162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302000128001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786336239000,"timestamp_ms":1786336239000,"timestamp_seconds":1786336239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9efdd98"} 
[2026-08-10 10:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302000128001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302000128001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:01:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:01:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302000128001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":154162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:01:21] local.INFO: GPS data processed {"connection_id":154162,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:01:21] local.INFO: Acknowledgment sent {"connection_id":154162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:01:31] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ef6480012d18d24007212418003c00b31f..."} 
[2026-08-10 10:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ef6480012d18d24007212418003c00b31f..."} 
[2026-08-10 10:01:31] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ef6480012d18d24007212418003c00b31f..."} 
[2026-08-10 10:01:31] local.INFO: Packet analysis {"connection_id":151787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:01:31] local.INFO: Extracted packet for processing {"connection_id":151787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119612440,"longitude_deg":75.6601408,"latitude_deg":11.961244,"altitude":60,"angle":179,"satellites":31,"speed":28,"hex_longitude":"2d18d240","hex_latitude":"07212418","is_valid_coordinates":true} 
[2026-08-10 10:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302068736001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11347952136093696,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663896471552,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786336208000,"timestamp_ms":1786336208000,"timestamp_seconds":1786336208,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ef6480"} 
[2026-08-10 10:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 10:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302068736001,"66":14265,"103":206,"83":41984,"24":28,"16":11347952136093696,"45":1788421663896471552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302068736001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:01:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:01:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11347952136093696,"km_value":11347952136093.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663896471552,"description":"Unknown IO ID 45"} 
[2026-08-10 10:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302068736001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1788421663896471552}} 
[2026-08-10 10:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":151787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:01:31] local.INFO: GPS data processed {"connection_id":151787,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:01:31] local.INFO: Acknowledgment sent {"connection_id":151787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:01:39] local.INFO: TCP Data received {"connection_id":151401,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:01:39] local.INFO: Processing buffer {"connection_id":151401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:01:39] local.INFO: IMEI packet received {"connection_id":151401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":151401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:01:52] local.INFO: TCP Data received {"connection_id":154162,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:01:52] local.INFO: Processing buffer {"connection_id":154162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:01:52] local.INFO: Packet analysis {"connection_id":154162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:01:52] local.INFO: Extracted packet for processing {"connection_id":154162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:01:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302000128001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786336239000,"timestamp_ms":1786336239000,"timestamp_seconds":1786336239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9efdd98"} 
[2026-08-10 10:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302000128001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302000128001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:01:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:01:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302000128001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":154162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:01:52] local.INFO: GPS data processed {"connection_id":154162,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:01:52] local.INFO: Acknowledgment sent {"connection_id":154162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:01:54] local.INFO: TCP Data received {"connection_id":152703,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:01:54] local.INFO: Processing buffer {"connection_id":152703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:01:54] local.INFO: IMEI packet received {"connection_id":152703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":152703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:02:00] local.INFO: TCP Data received {"connection_id":152703,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:02:00] local.INFO: Processing buffer {"connection_id":152703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:02:00] local.INFO: IMEI packet received {"connection_id":152703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":152703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:02:01] local.INFO: TCP Data received {"connection_id":152703,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ef83c0012d18d34007210d38003900a51f..."} 
[2026-08-10 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ef83c0012d18d34007210d38003900a51f..."} 
[2026-08-10 10:02:01] local.INFO: Processing buffer {"connection_id":152703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ef83c0012d18d34007210d38003900a51f..."} 
[2026-08-10 10:02:01] local.INFO: Packet analysis {"connection_id":152703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:02:01] local.INFO: Extracted packet for processing {"connection_id":152703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:02:01] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119606584,"longitude_deg":75.6601664,"latitude_deg":11.9606584,"altitude":57,"angle":165,"satellites":31,"speed":29,"hex_longitude":"2d18d340","hex_latitude":"07210d38","is_valid_coordinates":true} 
[2026-08-10 10:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302069248001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11348239898902528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384470528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786336216000,"timestamp_ms":1786336216000,"timestamp_seconds":1786336216,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ef83c0"} 
[2026-08-10 10:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:02: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-08-10 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 10:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302069248001,"66":14265,"103":206,"83":41984,"24":29,"16":11348239898902528,"45":1788562401384470528},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302069248001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:02:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:02:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11348239898902528,"km_value":11348239898902.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384470528,"description":"Unknown IO ID 45"} 
[2026-08-10 10:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302069248001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1788562401384470528}} 
[2026-08-10 10:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":152703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:02:01] local.INFO: GPS data processed {"connection_id":152703,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:02:01] local.INFO: Acknowledgment sent {"connection_id":152703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:02:01] local.INFO: TCP Data received {"connection_id":152704,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:02:01] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:02:01] local.INFO: IMEI packet received {"connection_id":152704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":152704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:02:03] local.INFO: TCP Data received {"connection_id":152704,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:02:03] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:02:03] local.INFO: IMEI packet received {"connection_id":152704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":152704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:02:04] local.INFO: TCP Data received {"connection_id":152704,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f02fa0012d3431c006aab830000700182a..."} 
[2026-08-10 10:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f02fa0012d3431c006aab830000700182a..."} 
[2026-08-10 10:02:04] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f02fa0012d3431c006aab830000700182a..."} 
[2026-08-10 10:02:04] local.INFO: Packet analysis {"connection_id":152704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f0"} 
[2026-08-10 10:02:04] local.INFO: Extracted packet for processing {"connection_id":152704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f0"} 
[2026-08-10 10:02:04] local.INFO: GPS Element Parsed {"raw_longitude":758395328,"raw_latitude":111851568,"longitude_deg":75.8395328,"latitude_deg":11.1851568,"altitude":7,"angle":24,"satellites":42,"speed":12,"hex_longitude":"2d3431c0","hex_latitude":"06aab830","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302081792001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376452354486042624,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3760505717488230400,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786336260000,"timestamp_ms":1786336260000,"timestamp_seconds":1786336260,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f02fa0"} 
[2026-08-10 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-08-10 10:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-10 10:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302081792001,"66":27745,"34":206,"81":23296,"24":12,"16":376452354486042624,"45":3760505717488230400},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 10:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302081792001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:02:04] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 10:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376452354486042624,"km_value":376452354486042.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3760505717488230400,"description":"Unknown IO ID 45"} 
[2026-08-10 10:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302081792001,"power":27745,"unknown_34":206,"unknown_81":23296,"ignition":12,"odometer":null,"unknown_45":3760505717488230400}} 
[2026-08-10 10:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":152704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:02:04] local.INFO: GPS data processed {"connection_id":152704,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:02:04] local.INFO: Acknowledgment sent {"connection_id":152704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:02:06] local.INFO: TCP Data received {"connection_id":152704,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f03388012d34320006aab9880006016628..."} 
[2026-08-10 10:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f03388012d34320006aab9880006016628..."} 
[2026-08-10 10:02:06] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f03388012d34320006aab9880006016628..."} 
[2026-08-10 10:02:06] local.INFO: Packet analysis {"connection_id":152704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f0"} 
[2026-08-10 10:02:06] local.INFO: Extracted packet for processing {"connection_id":152704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f0"} 
[2026-08-10 10:02:06] local.INFO: GPS Element Parsed {"raw_longitude":758395392,"raw_latitude":111851912,"longitude_deg":75.8395392,"latitude_deg":11.1851912,"altitude":6,"angle":358,"satellites":40,"speed":15,"hex_longitude":"2d343200","hex_latitude":"06aab988","is_valid_coordinates":true} 
[2026-08-10 10:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302082560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376452371665911808,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3760998298697609216,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786336261000,"timestamp_ms":1786336261000,"timestamp_seconds":1786336261,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f03388"} 
[2026-08-10 10:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10: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-08-10 10:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302082560001,"66":27745,"34":206,"81":23296,"24":15,"16":376452371665911808,"45":3760998298697609216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 10:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302082560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:02:06] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 10:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376452371665911808,"km_value":376452371665911.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3760998298697609216,"description":"Unknown IO ID 45"} 
[2026-08-10 10:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302082560001,"power":27745,"unknown_34":206,"unknown_81":23296,"ignition":15,"odometer":null,"unknown_45":3760998298697609216}} 
[2026-08-10 10:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":152704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:02:06] local.INFO: GPS data processed {"connection_id":152704,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:02:06] local.INFO: Acknowledgment sent {"connection_id":152704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:02:14] local.INFO: TCP Data received {"connection_id":154163,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154163,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:02:14] local.INFO: Processing buffer {"connection_id":154163,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:02:14] local.INFO: IMEI packet received {"connection_id":154163,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":154163,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:02:14] local.INFO: TCP Data received {"connection_id":154164,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:02:14] local.INFO: Processing buffer {"connection_id":154164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:02:14] local.INFO: IMEI packet received {"connection_id":154164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":154164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:02:16] local.INFO: TCP Data received {"connection_id":154163,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154163,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:02:16] local.INFO: Processing buffer {"connection_id":154163,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:02:16] local.INFO: IMEI packet received {"connection_id":154163,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":154163,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:02:17] local.INFO: TCP Data received {"connection_id":154163,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f13558012d0b54800703ab08001a01071c..."} 
[2026-08-10 10:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f13558012d0b54800703ab08001a01071c..."} 
[2026-08-10 10:02:17] local.INFO: Processing buffer {"connection_id":154163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f13558012d0b54800703ab08001a01071c..."} 
[2026-08-10 10:02:17] local.INFO: Packet analysis {"connection_id":154163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:02:17] local.INFO: Extracted packet for processing {"connection_id":154163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:02:17] local.INFO: GPS Element Parsed {"raw_longitude":755717248,"raw_latitude":117680904,"longitude_deg":75.5717248,"latitude_deg":11.7680904,"altitude":26,"angle":263,"satellites":28,"speed":17,"hex_longitude":"2d0b5480","hex_latitude":"0703ab08","is_valid_coordinates":true} 
[2026-08-10 10:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302098944001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27340993007190016,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817755206215075840,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02: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-08-10 10:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786336327000,"timestamp_ms":1786336327000,"timestamp_seconds":1786336327,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f13558"} 
[2026-08-10 10:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 10:02: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-08-10 10:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302098944001,"66":14428,"16":27340993007190016,"94":11008,"24":17,"45":817755206215075840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 10:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302098944001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27340993007190016,"km_value":27340993007190.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:02:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":817755206215075840,"description":"Unknown IO ID 45"} 
[2026-08-10 10:02:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457302098944001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":17,"unknown_45":817755206215075840}} 
[2026-08-10 10:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":154163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619086,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:02:17] local.INFO: GPS data processed {"connection_id":154163,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:02:17] local.INFO: Acknowledgment sent {"connection_id":154163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:02:17] local.INFO: TCP Data received {"connection_id":154163,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f13940012d0b52800703ab60001a01171c..."} 
[2026-08-10 10:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f13940012d0b52800703ab60001a01171c..."} 
[2026-08-10 10:02:17] local.INFO: Processing buffer {"connection_id":154163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f13940012d0b52800703ab60001a01171c..."} 
[2026-08-10 10:02:17] local.INFO: Packet analysis {"connection_id":154163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:02:17] local.INFO: Extracted packet for processing {"connection_id":154163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:02:17] local.INFO: GPS Element Parsed {"raw_longitude":755716736,"raw_latitude":117680992,"longitude_deg":75.5716736,"latitude_deg":11.7680992,"altitude":26,"angle":279,"satellites":28,"speed":20,"hex_longitude":"2d0b5280","hex_latitude":"0703ab60","is_valid_coordinates":true} 
[2026-08-10 10:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302099712001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27341018776993792,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816418200075569152,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786336328000,"timestamp_ms":1786336328000,"timestamp_seconds":1786336328,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f13940"} 
[2026-08-10 10:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 10:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302099712001,"66":13624,"96":206,"94":10240,"24":20,"16":27341018776993792,"45":816418200075569152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 10:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302099712001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:02:17] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 10:02:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 10:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27341018776993792,"km_value":27341018776993.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":816418200075569152,"description":"Unknown IO ID 45"} 
[2026-08-10 10:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302099712001,"power":13624,"unknown_96":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":816418200075569152}} 
[2026-08-10 10:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":154163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619087,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:02:17] local.INFO: GPS data processed {"connection_id":154163,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:02:17] local.INFO: Acknowledgment sent {"connection_id":154163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:02:19] local.INFO: TCP Data received {"connection_id":154164,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:02:19] local.INFO: Processing buffer {"connection_id":154164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:02:19] local.INFO: IMEI packet received {"connection_id":154164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":154164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:02:21] local.INFO: TCP Data received {"connection_id":154164,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:02:21] local.INFO: Processing buffer {"connection_id":154164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:02:21] local.INFO: Packet analysis {"connection_id":154164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:02:21] local.INFO: Extracted packet for processing {"connection_id":154164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:02:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302000128001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786336239000,"timestamp_ms":1786336239000,"timestamp_seconds":1786336239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9efdd98"} 
[2026-08-10 10:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302000128001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302000128001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:02:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:02:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302000128001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":154164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:02:21] local.INFO: GPS data processed {"connection_id":154164,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:02:21] local.INFO: Acknowledgment sent {"connection_id":154164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:02:32] local.INFO: TCP Data received {"connection_id":152703,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f03b58012d1956000720ab98002900561f..."} 
[2026-08-10 10:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f03b58012d1956000720ab98002900561f..."} 
[2026-08-10 10:02:32] local.INFO: Processing buffer {"connection_id":152703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f03b58012d1956000720ab98002900561f..."} 
[2026-08-10 10:02:32] local.INFO: Packet analysis {"connection_id":152703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f0"} 
[2026-08-10 10:02:32] local.INFO: Extracted packet for processing {"connection_id":152703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f0"} 
[2026-08-10 10:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756635136,"raw_latitude":119581592,"longitude_deg":75.6635136,"latitude_deg":11.9581592,"altitude":41,"angle":86,"satellites":31,"speed":28,"hex_longitude":"2d195600","hex_latitude":"0720ab98","is_valid_coordinates":true} 
[2026-08-10 10:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302082816001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350331547975680,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823887510953791488,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786336263000,"timestamp_ms":1786336263000,"timestamp_seconds":1786336263,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f03b58"} 
[2026-08-10 10:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:02: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-08-10 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 10:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302082816001,"66":12950,"103":206,"83":41984,"24":28,"16":11350331547975680,"45":1823887510953791488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302082816001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:02:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350331547975680,"km_value":11350331547975.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823887510953791488,"description":"Unknown IO ID 45"} 
[2026-08-10 10:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302082816001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1823887510953791488}} 
[2026-08-10 10:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":152703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:02:32] local.INFO: GPS data processed {"connection_id":152703,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:02:32] local.INFO: Acknowledgment sent {"connection_id":152703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:02:42] local.INFO: TCP Data received {"connection_id":152704,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f04710012d34324006aac3a00006000d2a..."} 
[2026-08-10 10:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f04710012d34324006aac3a00006000d2a..."} 
[2026-08-10 10:02:42] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f04710012d34324006aac3a00006000d2a..."} 
[2026-08-10 10:02:42] local.INFO: Packet analysis {"connection_id":152704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f0"} 
[2026-08-10 10:02:42] local.INFO: Extracted packet for processing {"connection_id":152704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f0"} 
[2026-08-10 10:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758395456,"raw_latitude":111854496,"longitude_deg":75.8395456,"latitude_deg":11.1854496,"altitude":6,"angle":13,"satellites":42,"speed":23,"hex_longitude":"2d343240","hex_latitude":"06aac3a0","is_valid_coordinates":true} 
[2026-08-10 10:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302082816001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376452496219963392,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3761068667441874944,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786336266000,"timestamp_ms":1786336266000,"timestamp_seconds":1786336266,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f04710"} 
[2026-08-10 10:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302082816001,"66":27843,"34":206,"81":23296,"24":23,"16":376452496219963392,"45":3761068667441874944},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 10:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302082816001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:02:42] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 10:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376452496219963392,"km_value":376452496219963.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3761068667441874944,"description":"Unknown IO ID 45"} 
[2026-08-10 10:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302082816001,"power":27843,"unknown_34":206,"unknown_81":23296,"ignition":23,"odometer":null,"unknown_45":3761068667441874944}} 
[2026-08-10 10:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":152704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:02:42] local.INFO: GPS data processed {"connection_id":152704,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:02:42] local.INFO: Acknowledgment sent {"connection_id":152704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:02:52] local.INFO: TCP Data received {"connection_id":154164,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:02:52] local.INFO: Processing buffer {"connection_id":154164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:02:52] local.INFO: Packet analysis {"connection_id":154164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:02:52] local.INFO: Extracted packet for processing {"connection_id":154164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:02:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302000128001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786336239000,"timestamp_ms":1786336239000,"timestamp_seconds":1786336239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9efdd98"} 
[2026-08-10 10:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302000128001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302000128001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:02:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:02:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302000128001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":154164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:02:52] local.INFO: GPS data processed {"connection_id":154164,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:02:52] local.INFO: Acknowledgment sent {"connection_id":154164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:02:54] local.INFO: TCP Data received {"connection_id":151789,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:02:54] local.INFO: Processing buffer {"connection_id":151789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:02:54] local.INFO: IMEI packet received {"connection_id":151789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":151789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:02:57] local.INFO: TCP Data received {"connection_id":154163,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f1be10012d0b38c007037b80001600e71c..."} 
[2026-08-10 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f1be10012d0b38c007037b80001600e71c..."} 
[2026-08-10 10:02:57] local.INFO: Processing buffer {"connection_id":154163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f1be10012d0b38c007037b80001600e71c..."} 
[2026-08-10 10:02:57] local.INFO: Packet analysis {"connection_id":154163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:02:57] local.INFO: Extracted packet for processing {"connection_id":154163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:02:57] local.INFO: GPS Element Parsed {"raw_longitude":755710144,"raw_latitude":117668736,"longitude_deg":75.5710144,"latitude_deg":11.7668736,"altitude":22,"angle":231,"satellites":28,"speed":20,"hex_longitude":"2d0b38c0","hex_latitude":"07037b80","is_valid_coordinates":true} 
[2026-08-10 10:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302108416001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27341882065420288,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809099850678054912,"note":"Value kept but may cause issues"} 
[2026-08-10 10:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786336362000,"timestamp_ms":1786336362000,"timestamp_seconds":1786336362,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f1be10"} 
[2026-08-10 10:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 10:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302108416001,"66":14439,"96":206,"94":10240,"24":20,"16":27341882065420288,"45":809099850678054912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 10:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302108416001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:02:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 10:02:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 10:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27341882065420288,"km_value":27341882065420.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":809099850678054912,"description":"Unknown IO ID 45"} 
[2026-08-10 10:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302108416001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":809099850678054912}} 
[2026-08-10 10:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":154163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619092,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:02:57] local.INFO: GPS data processed {"connection_id":154163,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:02:57] local.INFO: Acknowledgment sent {"connection_id":154163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:02:59] local.INFO: TCP Data received {"connection_id":154165,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:02:59] local.INFO: Processing buffer {"connection_id":154165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:02:59] local.INFO: IMEI packet received {"connection_id":154165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":154165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:03:00] local.INFO: TCP Data received {"connection_id":151789,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:03:00] local.INFO: Processing buffer {"connection_id":151789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:03:00] local.INFO: IMEI packet received {"connection_id":151789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":151789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:03:00] local.INFO: TCP Data received {"connection_id":151789,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f08d60012d1968c00720acd8002d00511f..."} 
[2026-08-10 10:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f08d60012d1968c00720acd8002d00511f..."} 
[2026-08-10 10:03:00] local.INFO: Processing buffer {"connection_id":151789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f08d60012d1968c00720acd8002d00511f..."} 
[2026-08-10 10:03:00] local.INFO: Packet analysis {"connection_id":151789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f0"} 
[2026-08-10 10:03:00] local.INFO: Extracted packet for processing {"connection_id":151789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f0"} 
[2026-08-10 10:03:00] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":31,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302083328001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729558202368,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786336284000,"timestamp_ms":1786336284000,"timestamp_seconds":1786336284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f08d60"} 
[2026-08-10 10:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 10:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302083328001,"66":12885,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1825646729558202368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302083328001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:03:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:03:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729558202368,"description":"Unknown IO ID 45"} 
[2026-08-10 10:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302083328001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825646729558202368}} 
[2026-08-10 10:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":151789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:03:01] local.INFO: GPS data processed {"connection_id":151789,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:03:01] local.INFO: Acknowledgment sent {"connection_id":151789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:03:04] local.INFO: TCP Data received {"connection_id":154165,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:03:04] local.INFO: Processing buffer {"connection_id":154165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:03:04] local.INFO: IMEI packet received {"connection_id":154165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":154165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:03:05] local.INFO: TCP Data received {"connection_id":154165,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f11de8012d34388006ab4c480008014c27..."} 
[2026-08-10 10:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f11de8012d34388006ab4c480008014c27..."} 
[2026-08-10 10:03:05] local.INFO: Processing buffer {"connection_id":154165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f11de8012d34388006ab4c480008014c27..."} 
[2026-08-10 10:03:05] local.INFO: Packet analysis {"connection_id":154165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:03:05] local.INFO: Extracted packet for processing {"connection_id":154165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758397056,"raw_latitude":111889480,"longitude_deg":75.8397056,"latitude_deg":11.188948,"altitude":8,"angle":332,"satellites":39,"speed":18,"hex_longitude":"2d343880","hex_latitude":"06ab4c48","is_valid_coordinates":true} 
[2026-08-10 10:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302097920001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376454231386750976,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3763109361032521728,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336321000,"timestamp_ms":1786336321000,"timestamp_seconds":1786336321,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f11de8"} 
[2026-08-10 10:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-10 10:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302097920001,"66":27658,"34":206,"81":23296,"24":18,"16":376454231386750976,"45":3763109361032521728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 10:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302097920001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:03:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 10:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376454231386750976,"km_value":376454231386751.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3763109361032521728,"description":"Unknown IO ID 45"} 
[2026-08-10 10:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302097920001,"power":27658,"unknown_34":206,"unknown_81":23296,"ignition":18,"odometer":null,"unknown_45":3763109361032521728}} 
[2026-08-10 10:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":154165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:03:05] local.INFO: GPS data processed {"connection_id":154165,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:03:05] local.INFO: Acknowledgment sent {"connection_id":154165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:03:14] local.INFO: TCP Data received {"connection_id":151402,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:03:14] local.INFO: Processing buffer {"connection_id":151402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:03:14] local.INFO: IMEI packet received {"connection_id":151402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":151402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:03:19] local.INFO: TCP Data received {"connection_id":151402,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:03:19] local.INFO: Processing buffer {"connection_id":151402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:03:19] local.INFO: IMEI packet received {"connection_id":151402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":151402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:03:21] local.INFO: TCP Data received {"connection_id":151402,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:03:21] local.INFO: Processing buffer {"connection_id":151402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:03:21] local.INFO: Packet analysis {"connection_id":151402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:03:21] local.INFO: Extracted packet for processing {"connection_id":151402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:03:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302000128001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786336239000,"timestamp_ms":1786336239000,"timestamp_seconds":1786336239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9efdd98"} 
[2026-08-10 10:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302000128001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302000128001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:03:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:03:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302000128001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":151402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:03:21] local.INFO: GPS data processed {"connection_id":151402,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:03:21] local.INFO: Acknowledgment sent {"connection_id":151402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:03:32] local.INFO: TCP Data received {"connection_id":151789,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f0df68012d1968c00720acd8002d005120..."} 
[2026-08-10 10:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f0df68012d1968c00720acd8002d005120..."} 
[2026-08-10 10:03:32] local.INFO: Processing buffer {"connection_id":151789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f0df68012d1968c00720acd8002d005120..."} 
[2026-08-10 10:03:32] local.INFO: Packet analysis {"connection_id":151789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f0"} 
[2026-08-10 10:03:32] local.INFO: Extracted packet for processing {"connection_id":151789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f0"} 
[2026-08-10 10:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302088704001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786336305000,"timestamp_ms":1786336305000,"timestamp_seconds":1786336305,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f0df68"} 
[2026-08-10 10:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:03: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-08-10 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 10:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302088704001,"66":12743,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302088704001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:03:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302088704001,"power":12743,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":151789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:03:32] local.INFO: GPS data processed {"connection_id":151789,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:03:32] local.INFO: Acknowledgment sent {"connection_id":151789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:03:37] local.INFO: TCP Data received {"connection_id":154165,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f1e520012d34210006abc3100008004a29..."} 
[2026-08-10 10:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f1e520012d34210006abc3100008004a29..."} 
[2026-08-10 10:03:37] local.INFO: Processing buffer {"connection_id":154165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f1e520012d34210006abc3100008004a29..."} 
[2026-08-10 10:03:37] local.INFO: Packet analysis {"connection_id":154165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:03:37] local.INFO: Extracted packet for processing {"connection_id":154165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758391040,"raw_latitude":111919888,"longitude_deg":75.839104,"latitude_deg":11.1919888,"altitude":8,"angle":74,"satellites":41,"speed":9,"hex_longitude":"2d342100","hex_latitude":"06abc310","is_valid_coordinates":true} 
[2026-08-10 10:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302110976001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376455768985042944,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3756002117878441984,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786336372000,"timestamp_ms":1786336372000,"timestamp_seconds":1786336372,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f1e520"} 
[2026-08-10 10:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302110976001,"66":27745,"75":206,"81":23296,"24":9,"16":376455768985042944,"45":3756002117878441984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302110976001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:03:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376455768985042944,"km_value":376455768985042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3756002117878441984,"description":"Unknown IO ID 45"} 
[2026-08-10 10:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302110976001,"power":27745,"unknown_75":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":3756002117878441984}} 
[2026-08-10 10:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":154165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:03:37] local.INFO: GPS data processed {"connection_id":154165,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:03:37] local.INFO: Acknowledgment sent {"connection_id":154165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:03:52] local.INFO: TCP Data received {"connection_id":151402,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:03:52] local.INFO: Processing buffer {"connection_id":151402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:03:52] local.INFO: Packet analysis {"connection_id":151402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:03:52] local.INFO: Extracted packet for processing {"connection_id":151402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:03:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302000128001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786336239000,"timestamp_ms":1786336239000,"timestamp_seconds":1786336239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9efdd98"} 
[2026-08-10 10:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302000128001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302000128001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:03:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:03:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302000128001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":151402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:03:52] local.INFO: GPS data processed {"connection_id":151402,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:03:52] local.INFO: Acknowledgment sent {"connection_id":151402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:03:59] local.INFO: TCP Data received {"connection_id":151790,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151790,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:03:59] local.INFO: Processing buffer {"connection_id":151790,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:03:59] local.INFO: IMEI packet received {"connection_id":151790,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":151790,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:04:00] local.INFO: TCP Data received {"connection_id":154166,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:04:00] local.INFO: Processing buffer {"connection_id":154166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:04:00] local.INFO: IMEI packet received {"connection_id":154166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":154166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:04:01] local.INFO: TCP Data received {"connection_id":152705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:04:01] local.INFO: Processing buffer {"connection_id":152705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:04:01] local.INFO: IMEI packet received {"connection_id":152705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":152705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:04:02] local.INFO: TCP Data received {"connection_id":151790,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151790,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:02] local.INFO: Processing buffer {"connection_id":151790,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:02] local.INFO: IMEI packet received {"connection_id":151790,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":151790,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:04:04] local.INFO: TCP Data received {"connection_id":152705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:04:04] local.INFO: Processing buffer {"connection_id":152705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:04:04] local.INFO: IMEI packet received {"connection_id":152705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":152705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:04:04] local.INFO: TCP Data received {"connection_id":151790,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f1c1f8012d0b3700070379c0001600dc1b..."} 
[2026-08-10 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f1c1f8012d0b3700070379c0001600dc1b..."} 
[2026-08-10 10:04:04] local.INFO: Processing buffer {"connection_id":151790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f1c1f8012d0b3700070379c0001600dc1b..."} 
[2026-08-10 10:04:04] local.INFO: Packet analysis {"connection_id":151790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:04] local.INFO: Extracted packet for processing {"connection_id":151790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:04] local.INFO: GPS Element Parsed {"raw_longitude":755709696,"raw_latitude":117668288,"longitude_deg":75.5709696,"latitude_deg":11.7668288,"altitude":22,"angle":220,"satellites":27,"speed":22,"hex_longitude":"2d0b3700","hex_latitude":"070379c0","is_valid_coordinates":true} 
[2026-08-10 10:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302108672001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27341912130191360,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808607269468733440,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786336363000,"timestamp_ms":1786336363000,"timestamp_seconds":1786336363,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f1c1f8"} 
[2026-08-10 10:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 10:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151790,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151790,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302108672001,"66":14439,"96":206,"94":10240,"24":22,"16":27341912130191360,"45":808607269468733440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 10:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302108672001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:04:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 10:04:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 10:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27341912130191360,"km_value":27341912130191.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":808607269468733440,"description":"Unknown IO ID 45"} 
[2026-08-10 10:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302108672001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":808607269468733440}} 
[2026-08-10 10:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":151790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619099,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:04:04] local.INFO: GPS data processed {"connection_id":151790,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:04:04] local.INFO: Acknowledgment sent {"connection_id":151790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:04:05] local.INFO: TCP Data received {"connection_id":152705,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f1e908012d34220006abc3680009005929..."} 
[2026-08-10 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f1e908012d34220006abc3680009005929..."} 
[2026-08-10 10:04:05] local.INFO: Processing buffer {"connection_id":152705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f1e908012d34220006abc3680009005929..."} 
[2026-08-10 10:04:05] local.INFO: Packet analysis {"connection_id":152705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:05] local.INFO: Extracted packet for processing {"connection_id":152705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758391296,"raw_latitude":111919976,"longitude_deg":75.8391296,"latitude_deg":11.1919976,"altitude":9,"angle":89,"satellites":41,"speed":8,"hex_longitude":"2d342200","hex_latitude":"06abc368","is_valid_coordinates":true} 
[2026-08-10 10:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302111232001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376455781869944832,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3756283592855195648,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336373000,"timestamp_ms":1786336373000,"timestamp_seconds":1786336373,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f1e908"} 
[2026-08-10 10:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302111232001,"66":27745,"75":206,"81":23296,"24":8,"16":376455781869944832,"45":3756283592855195648},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302111232001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:04:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376455781869944832,"km_value":376455781869944.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3756283592855195648,"description":"Unknown IO ID 45"} 
[2026-08-10 10:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302111232001,"power":27745,"unknown_75":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3756283592855195648}} 
[2026-08-10 10:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":152705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:04:05] local.INFO: GPS data processed {"connection_id":152705,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:04:05] local.INFO: Acknowledgment sent {"connection_id":152705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:04:05] local.INFO: TCP Data received {"connection_id":154166,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:04:05] local.INFO: Processing buffer {"connection_id":154166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:04:05] local.INFO: IMEI packet received {"connection_id":154166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":154166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:04:05] local.INFO: TCP Data received {"connection_id":151790,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f1c9c8012d0b33c007037458001600d01b..."} 
[2026-08-10 10:04:05] local.INFO: TCP Data received {"connection_id":154166,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f13170012d1968c00720acd8002d005120..."} 
[2026-08-10 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f1c9c8012d0b33c007037458001600d01b..."} 
[2026-08-10 10:04:05] local.INFO: Processing buffer {"connection_id":151790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f1c9c8012d0b33c007037458001600d01b..."} 
[2026-08-10 10:04:05] local.INFO: Packet analysis {"connection_id":151790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:05] local.INFO: Extracted packet for processing {"connection_id":151790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":755708864,"raw_latitude":117666904,"longitude_deg":75.5708864,"latitude_deg":11.7666904,"altitude":22,"angle":208,"satellites":27,"speed":32,"hex_longitude":"2d0b33c0","hex_latitude":"07037458","is_valid_coordinates":true} 
[2026-08-10 10:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302108928001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27341989439602688,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808114688259375104,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336365000,"timestamp_ms":1786336365000,"timestamp_seconds":1786336365,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f1c9c8"} 
[2026-08-10 10:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f13170012d1968c00720acd8002d005120..."} 
[2026-08-10 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:04:05] local.INFO: Processing buffer {"connection_id":154166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f13170012d1968c00720acd8002d005120..."} 
[2026-08-10 10: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 10:04:05] local.INFO: Packet analysis {"connection_id":154166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:04:05] local.INFO: Extracted packet for processing {"connection_id":154166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302094080001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336326000,"timestamp_ms":1786336326000,"timestamp_seconds":1786336326,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f13170"} 
[2026-08-10 10:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151790,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151790,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-10 10:04: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-08-10 10:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302108928001,"66":14396,"96":206,"94":10240,"24":32,"16":27341989439602688,"45":808114688259375104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 10:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302094080001,"66":12809,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302108928001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:04:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 10:04:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 10:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27341989439602688,"km_value":27341989439602.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":808114688259375104,"description":"Unknown IO ID 45"} 
[2026-08-10 10:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302108928001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":808114688259375104}} 
[2026-08-10 10:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302094080001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:04:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302094080001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":154166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:04:06] local.INFO: GPS data processed {"connection_id":154166,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:04:06] local.INFO: Acknowledgment sent {"connection_id":154166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":151790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619102,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:04:06] local.INFO: GPS data processed {"connection_id":151790,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:04:06] local.INFO: Acknowledgment sent {"connection_id":151790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:04:08] local.INFO: TCP Data received {"connection_id":154166,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f18378012d1968c00720acd8002d00511f..."} 
[2026-08-10 10:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f18378012d1968c00720acd8002d00511f..."} 
[2026-08-10 10:04:08] local.INFO: Processing buffer {"connection_id":154166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f18378012d1968c00720acd8002d00511f..."} 
[2026-08-10 10:04:08] local.INFO: Packet analysis {"connection_id":154166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:08] local.INFO: Extracted packet for processing {"connection_id":154166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":31,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302099456001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786336347000,"timestamp_ms":1786336347000,"timestamp_seconds":1786336347,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f18378"} 
[2026-08-10 10:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":9,"data_length":795,"current_offset":136} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3386706919950386176,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3924827160,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2886729769,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-1152710393322726144,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2147950767,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879051012485549,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2360581096812343071,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755592714715377,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:08] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,159,223,45,192,172,32,10,66,141,31,59,1,240,150,227,233,4,113,205,33,39,69,239,50,2,40,7,42,164],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-10 10:04:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242680929587560448,"timestamp_seconds":3242680929587560.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 10:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302099456001,"66":12798,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302099456001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:04:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302099456001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":154166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:04:08] local.INFO: GPS data processed {"connection_id":154166,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:04:08] local.INFO: Acknowledgment sent {"connection_id":154166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:04:14] local.INFO: TCP Data received {"connection_id":154167,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:04:14] local.INFO: Processing buffer {"connection_id":154167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:04:14] local.INFO: IMEI packet received {"connection_id":154167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":154167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:04:19] local.INFO: TCP Data received {"connection_id":154167,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:04:19] local.INFO: Processing buffer {"connection_id":154167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:04:19] local.INFO: IMEI packet received {"connection_id":154167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":154167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:04:20] local.INFO: TCP Data received {"connection_id":154167,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:04:20] local.INFO: Processing buffer {"connection_id":154167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:04:20] local.INFO: Packet analysis {"connection_id":154167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:04:20] local.INFO: Extracted packet for processing {"connection_id":154167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:04:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302000128001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786336239000,"timestamp_ms":1786336239000,"timestamp_seconds":1786336239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9efdd98"} 
[2026-08-10 10:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302000128001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302000128001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:04:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:04:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302000128001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":154167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:04:21] local.INFO: GPS data processed {"connection_id":154167,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:04:21] local.INFO: Acknowledgment sent {"connection_id":154167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:04:30] local.INFO: TCP Data received {"connection_id":151403,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:30] local.INFO: Processing buffer {"connection_id":151403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:30] local.INFO: IMEI packet received {"connection_id":151403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":151403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:04:31] local.INFO: TCP Data received {"connection_id":151403,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:31] local.INFO: Processing buffer {"connection_id":151403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:31] local.INFO: IMEI packet received {"connection_id":151403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":151403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:04:32] local.INFO: TCP Data received {"connection_id":151403,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:32] local.INFO: Processing buffer {"connection_id":151403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:32] local.INFO: IMEI packet received {"connection_id":151403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":151403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:04:33] local.INFO: TCP Data received {"connection_id":151403,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:33] local.INFO: Processing buffer {"connection_id":151403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:04:33] local.INFO: IMEI packet received {"connection_id":151403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":151403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:04:36] local.INFO: TCP Data received {"connection_id":152705,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f1f0d8012d3423c006abc3980009006729..."} 
[2026-08-10 10:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f1f0d8012d3423c006abc3980009006729..."} 
[2026-08-10 10:04:36] local.INFO: Processing buffer {"connection_id":152705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f1f0d8012d3423c006abc3980009006729..."} 
[2026-08-10 10:04:36] local.INFO: Packet analysis {"connection_id":152705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:36] local.INFO: Extracted packet for processing {"connection_id":152705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758391744,"raw_latitude":111920024,"longitude_deg":75.8391744,"latitude_deg":11.1920024,"altitude":9,"angle":103,"satellites":41,"speed":8,"hex_longitude":"2d3423c0","hex_latitude":"06abc398","is_valid_coordinates":true} 
[2026-08-10 10:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302111488001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376455803344781312,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3756565067831928832,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786336375000,"timestamp_ms":1786336375000,"timestamp_seconds":1786336375,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f1f0d8"} 
[2026-08-10 10:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302111488001,"66":27767,"75":206,"81":23296,"24":8,"16":376455803344781312,"45":3756565067831928832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302111488001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:04:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376455803344781312,"km_value":376455803344781.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3756565067831928832,"description":"Unknown IO ID 45"} 
[2026-08-10 10:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302111488001,"power":27767,"unknown_75":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3756565067831928832}} 
[2026-08-10 10:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":152705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:04:36] local.INFO: GPS data processed {"connection_id":152705,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:04:36] local.INFO: Acknowledgment sent {"connection_id":152705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:04:40] local.INFO: TCP Data received {"connection_id":154166,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f1d580012d1968c00720acd8002d005121..."} 
[2026-08-10 10:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f1d580012d1968c00720acd8002d005121..."} 
[2026-08-10 10:04:40] local.INFO: Processing buffer {"connection_id":154166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f1d580012d1968c00720acd8002d005121..."} 
[2026-08-10 10:04:40] local.INFO: Packet analysis {"connection_id":154166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:40] local.INFO: Extracted packet for processing {"connection_id":154166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f1"} 
[2026-08-10 10:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302104832001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04: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-08-10 10:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786336368000,"timestamp_ms":1786336368000,"timestamp_seconds":1786336368,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f1d580"} 
[2026-08-10 10:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 10:04: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-08-10 10:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302104832001,"66":12722,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302104832001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:04:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:04:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302104832001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":154166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:04:40] local.INFO: GPS data processed {"connection_id":154166,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:04:40] local.INFO: Acknowledgment sent {"connection_id":154166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:04:52] local.INFO: TCP Data received {"connection_id":154167,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:04:52] local.INFO: Processing buffer {"connection_id":154167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:04:52] local.INFO: Packet analysis {"connection_id":154167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:04:52] local.INFO: Extracted packet for processing {"connection_id":154167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:04:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302000128001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786336239000,"timestamp_ms":1786336239000,"timestamp_seconds":1786336239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9efdd98"} 
[2026-08-10 10:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302000128001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302000128001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:04:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:04:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302000128001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":154167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:04:52] local.INFO: GPS data processed {"connection_id":154167,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:04:52] local.INFO: Acknowledgment sent {"connection_id":154167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:04:55] local.INFO: TCP Data received {"connection_id":154168,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:04:55] local.INFO: Processing buffer {"connection_id":154168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:04:55] local.INFO: IMEI packet received {"connection_id":154168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":154168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:04:59] local.INFO: TCP Data received {"connection_id":151404,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:04:59] local.INFO: Processing buffer {"connection_id":151404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:04:59] local.INFO: IMEI packet received {"connection_id":151404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":151404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:05:00] local.INFO: TCP Data received {"connection_id":154168,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:05:00] local.INFO: Processing buffer {"connection_id":154168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:05:00] local.INFO: IMEI packet received {"connection_id":154168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":154168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:05:01] local.INFO: TCP Data received {"connection_id":154168,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f22788012d1968c00720acd8002d005120..."} 
[2026-08-10 10:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f22788012d1968c00720acd8002d005120..."} 
[2026-08-10 10:05:01] local.INFO: Processing buffer {"connection_id":154168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f22788012d1968c00720acd8002d005120..."} 
[2026-08-10 10:05:01] local.INFO: Packet analysis {"connection_id":154168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:05:01] local.INFO: Extracted packet for processing {"connection_id":154168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:05:01] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302110208001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786336389000,"timestamp_ms":1786336389000,"timestamp_seconds":1786336389,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f22788"} 
[2026-08-10 10:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 10:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302110208001,"66":12711,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302110208001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:05:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302110208001,"power":12711,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":154168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:05:01] local.INFO: GPS data processed {"connection_id":154168,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:05:01] local.INFO: Acknowledgment sent {"connection_id":154168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:05:04] local.INFO: TCP Data received {"connection_id":151404,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:05:04] local.INFO: Processing buffer {"connection_id":151404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:05:04] local.INFO: IMEI packet received {"connection_id":151404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":151404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:05:14] local.INFO: TCP Data received {"connection_id":152706,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:05:14] local.INFO: Processing buffer {"connection_id":152706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:05:14] local.INFO: IMEI packet received {"connection_id":152706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":152706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:05:19] local.INFO: TCP Data received {"connection_id":152706,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:05:19] local.INFO: Processing buffer {"connection_id":152706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:05:19] local.INFO: IMEI packet received {"connection_id":152706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":152706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:05:22] local.INFO: TCP Data received {"connection_id":152706,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:05:22] local.INFO: Processing buffer {"connection_id":152706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9efdd98012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:05:22] local.INFO: Packet analysis {"connection_id":152706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:05:22] local.INFO: Extracted packet for processing {"connection_id":152706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ef"} 
[2026-08-10 10:05:22] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302000128001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786336239000,"timestamp_ms":1786336239000,"timestamp_seconds":1786336239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9efdd98"} 
[2026-08-10 10:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302000128001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302000128001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:05:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:05:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302000128001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":152706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:05:22] local.INFO: GPS data processed {"connection_id":152706,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:05:22] local.INFO: Acknowledgment sent {"connection_id":152706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:05:22] local.INFO: TCP Data received {"connection_id":151404,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f20460012d34278006abc278000c004f2a..."} 
[2026-08-10 10:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f20460012d34278006abc278000c004f2a..."} 
[2026-08-10 10:05:22] local.INFO: Processing buffer {"connection_id":151404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f20460012d34278006abc278000c004f2a..."} 
[2026-08-10 10:05:22] local.INFO: Packet analysis {"connection_id":151404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:05:22] local.INFO: Extracted packet for processing {"connection_id":151404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:05:22] local.INFO: GPS Element Parsed {"raw_longitude":758392704,"raw_latitude":111919736,"longitude_deg":75.8392704,"latitude_deg":11.1919736,"altitude":12,"angle":79,"satellites":42,"speed":7,"hex_longitude":"2d342780","hex_latitude":"06abc278","is_valid_coordinates":true} 
[2026-08-10 10:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302112000001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376455854884388864,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757057649041184768,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786336380000,"timestamp_ms":1786336380000,"timestamp_seconds":1786336380,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f20460"} 
[2026-08-10 10:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10: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-08-10 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-10 10:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302112000001,"66":27908,"75":206,"81":23296,"24":7,"16":376455854884388864,"45":3757057649041184768},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302112000001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:05:22] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:05:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376455854884388864,"km_value":376455854884388.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757057649041184768,"description":"Unknown IO ID 45"} 
[2026-08-10 10:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302112000001,"power":27908,"unknown_75":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3757057649041184768}} 
[2026-08-10 10:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":151404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:05:22] local.INFO: GPS data processed {"connection_id":151404,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:05:22] local.INFO: Acknowledgment sent {"connection_id":151404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:05:32] local.INFO: TCP Data received {"connection_id":154168,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f27990012d1968c00720acd8002d00511e..."} 
[2026-08-10 10:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f27990012d1968c00720acd8002d00511e..."} 
[2026-08-10 10:05:32] local.INFO: Processing buffer {"connection_id":154168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f27990012d1968c00720acd8002d00511e..."} 
[2026-08-10 10:05:32] local.INFO: Packet analysis {"connection_id":154168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:05:32] local.INFO: Extracted packet for processing {"connection_id":154168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":30,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302115584001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786336410000,"timestamp_ms":1786336410000,"timestamp_seconds":1786336410,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f27990"} 
[2026-08-10 10:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 10:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302115584001,"66":12645,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302115584001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:05:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302115584001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":154168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:05:32] local.INFO: GPS data processed {"connection_id":154168,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:05:32] local.INFO: Acknowledgment sent {"connection_id":154168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:05:53] local.INFO: TCP Data received {"connection_id":151405,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:05:53] local.INFO: Processing buffer {"connection_id":151405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:05:53] local.INFO: IMEI packet received {"connection_id":151405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":151405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:05:53] local.INFO: TCP Data received {"connection_id":152706,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:05:53] local.INFO: Processing buffer {"connection_id":152706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:05:53] local.INFO: Packet analysis {"connection_id":152706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:05:53] local.INFO: Extracted packet for processing {"connection_id":152706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:05:53] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302077184001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786336540000,"timestamp_ms":1786336540000,"timestamp_seconds":1786336540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f47560"} 
[2026-08-10 10:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302077184001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302077184001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:05:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:05:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302077184001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":152706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:05:53] local.INFO: GPS data processed {"connection_id":152706,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:05:53] local.INFO: Acknowledgment sent {"connection_id":152706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:05:55] local.INFO: TCP Data received {"connection_id":151405,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:05:55] local.INFO: Processing buffer {"connection_id":151405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:05:55] local.INFO: IMEI packet received {"connection_id":151405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":151405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:05:59] local.INFO: TCP Data received {"connection_id":151791,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:05:59] local.INFO: Processing buffer {"connection_id":151791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:05:59] local.INFO: IMEI packet received {"connection_id":151791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":151791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:06:00] local.INFO: TCP Data received {"connection_id":151405,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:06:00] local.INFO: Processing buffer {"connection_id":151405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:06:00] local.INFO: IMEI packet received {"connection_id":151405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":151405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:06:01] local.INFO: TCP Data received {"connection_id":151405,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f2cb98012d1968c00720acd8002d005122..."} 
[2026-08-10 10:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f2cb98012d1968c00720acd8002d005122..."} 
[2026-08-10 10:06:01] local.INFO: Processing buffer {"connection_id":151405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f2cb98012d1968c00720acd8002d005122..."} 
[2026-08-10 10:06:01] local.INFO: Packet analysis {"connection_id":151405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:06:01] local.INFO: Extracted packet for processing {"connection_id":151405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:06:01] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302120960001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786336431000,"timestamp_ms":1786336431000,"timestamp_seconds":1786336431,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f2cb98"} 
[2026-08-10 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-08-10 10:06: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-08-10 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 10:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302120960001,"66":12613,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302120960001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:06:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:06:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302120960001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":151405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:06:01] local.INFO: GPS data processed {"connection_id":151405,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:06:01] local.INFO: Acknowledgment sent {"connection_id":151405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:06:04] local.INFO: TCP Data received {"connection_id":151791,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:06:04] local.INFO: Processing buffer {"connection_id":151791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:06:04] local.INFO: IMEI packet received {"connection_id":151791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":151791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:06:05] local.INFO: TCP Data received {"connection_id":151791,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f20848012d34284006abc2b8000c003329..."} 
[2026-08-10 10:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f20848012d34284006abc2b8000c003329..."} 
[2026-08-10 10:06:05] local.INFO: Processing buffer {"connection_id":151791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f20848012d34284006abc2b8000c003329..."} 
[2026-08-10 10:06:05] local.INFO: Packet analysis {"connection_id":151791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:06:05] local.INFO: Extracted packet for processing {"connection_id":151791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758392896,"raw_latitude":111919800,"longitude_deg":75.8392896,"latitude_deg":11.19198,"altitude":12,"angle":51,"satellites":41,"speed":6,"hex_longitude":"2d342840","hex_latitude":"06abc2b8","is_valid_coordinates":true} 
[2026-08-10 10:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302113280001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376455859179356160,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758113180203776000,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336381000,"timestamp_ms":1786336381000,"timestamp_seconds":1786336381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f20848"} 
[2026-08-10 10:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 10:06: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-08-10 10:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302113280001,"66":27908,"75":206,"81":23296,"24":6,"16":376455859179356160,"45":3758113180203776000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302113280001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:06:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:06:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376455859179356160,"km_value":376455859179356.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758113180203776000,"description":"Unknown IO ID 45"} 
[2026-08-10 10:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302113280001,"power":27908,"unknown_75":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3758113180203776000}} 
[2026-08-10 10:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":151791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:06:05] local.INFO: GPS data processed {"connection_id":151791,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:06:05] local.INFO: Acknowledgment sent {"connection_id":151791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:06:14] local.INFO: TCP Data received {"connection_id":154169,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:06:15] local.INFO: Processing buffer {"connection_id":154169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:06:15] local.INFO: IMEI packet received {"connection_id":154169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":154169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:06:20] local.INFO: TCP Data received {"connection_id":154169,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:06:20] local.INFO: Processing buffer {"connection_id":154169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:06:20] local.INFO: IMEI packet received {"connection_id":154169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":154169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:06:21] local.INFO: TCP Data received {"connection_id":154169,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:06:21] local.INFO: Processing buffer {"connection_id":154169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:06:21] local.INFO: Packet analysis {"connection_id":154169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:06:21] local.INFO: Extracted packet for processing {"connection_id":154169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302077184001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786336540000,"timestamp_ms":1786336540000,"timestamp_seconds":1786336540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f47560"} 
[2026-08-10 10:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302077184001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302077184001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:06:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:06:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302077184001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":154169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:06:21] local.INFO: GPS data processed {"connection_id":154169,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:06:21] local.INFO: Acknowledgment sent {"connection_id":154169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:06:26] local.INFO: TCP Data received {"connection_id":154169,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:06:26] local.INFO: Processing buffer {"connection_id":154169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:06:26] local.INFO: Packet analysis {"connection_id":154169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:06:26] local.INFO: Extracted packet for processing {"connection_id":154169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302077184001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786336540000,"timestamp_ms":1786336540000,"timestamp_seconds":1786336540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f47560"} 
[2026-08-10 10:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302077184001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302077184001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:06:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:06:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302077184001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":154169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:06:26] local.INFO: GPS data processed {"connection_id":154169,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:06:26] local.INFO: Acknowledgment sent {"connection_id":154169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:06:32] local.INFO: TCP Data received {"connection_id":151405,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f31da0012d1968c00720acd8002d005121..."} 
[2026-08-10 10:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f31da0012d1968c00720acd8002d005121..."} 
[2026-08-10 10:06:32] local.INFO: Processing buffer {"connection_id":151405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f31da0012d1968c00720acd8002d005121..."} 
[2026-08-10 10:06:32] local.INFO: Packet analysis {"connection_id":151405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f3"} 
[2026-08-10 10:06:32] local.INFO: Extracted packet for processing {"connection_id":151405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f3"} 
[2026-08-10 10:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302126336001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786336452000,"timestamp_ms":1786336452000,"timestamp_seconds":1786336452,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f31da0"} 
[2026-08-10 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-08-10 10:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 10:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302126336001,"66":12591,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302126336001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:06:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302126336001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":151405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:06:32] local.INFO: GPS data processed {"connection_id":151405,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:06:32] local.INFO: Acknowledgment sent {"connection_id":151405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:06:36] local.INFO: TCP Data received {"connection_id":151791,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f20c30012d3428c006abc318000c00232a..."} 
[2026-08-10 10:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f20c30012d3428c006abc318000c00232a..."} 
[2026-08-10 10:06:36] local.INFO: Processing buffer {"connection_id":151791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f20c30012d3428c006abc318000c00232a..."} 
[2026-08-10 10:06:36] local.INFO: Packet analysis {"connection_id":151791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:06:36] local.INFO: Extracted packet for processing {"connection_id":151791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758393024,"raw_latitude":111919896,"longitude_deg":75.8393024,"latitude_deg":11.1919896,"altitude":12,"angle":35,"satellites":42,"speed":6,"hex_longitude":"2d3428c0","hex_latitude":"06abc318","is_valid_coordinates":true} 
[2026-08-10 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302113536001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376455867769290752,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758324286436325376,"note":"Value kept but may cause issues"} 
[2026-08-10 10:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786336382000,"timestamp_ms":1786336382000,"timestamp_seconds":1786336382,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f20c30"} 
[2026-08-10 10:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":4,"data_length":795,"current_offset":136} 
[2026-08-10 10:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:06: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-08-10 10:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302113536001,"66":27908,"75":206,"81":23296,"24":6,"16":376455867769290752,"45":3758324286436325376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302113536001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:06:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376455867769290752,"km_value":376455867769290.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758324286436325376,"description":"Unknown IO ID 45"} 
[2026-08-10 10:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302113536001,"power":27908,"unknown_75":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3758324286436325376}} 
[2026-08-10 10:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":151791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:06:36] local.INFO: GPS data processed {"connection_id":151791,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:06:36] local.INFO: Acknowledgment sent {"connection_id":151791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:06:55] local.INFO: TCP Data received {"connection_id":154170,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:06:55] local.INFO: Processing buffer {"connection_id":154170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:06:55] local.INFO: IMEI packet received {"connection_id":154170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":154170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:06:56] local.INFO: TCP Data received {"connection_id":154170,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:06:56] local.INFO: Processing buffer {"connection_id":154170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:06:56] local.INFO: IMEI packet received {"connection_id":154170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":154170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:07:00] local.INFO: TCP Data received {"connection_id":154170,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:07:00] local.INFO: Processing buffer {"connection_id":154170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:07:00] local.INFO: IMEI packet received {"connection_id":154170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":154170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:07:01] local.INFO: TCP Data received {"connection_id":154170,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f36fa8012d1968c00720acd8002d005120..."} 
[2026-08-10 10:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f36fa8012d1968c00720acd8002d005120..."} 
[2026-08-10 10:07:01] local.INFO: Processing buffer {"connection_id":154170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f36fa8012d1968c00720acd8002d005120..."} 
[2026-08-10 10:07:01] local.INFO: Packet analysis {"connection_id":154170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f3"} 
[2026-08-10 10:07:01] local.INFO: Extracted packet for processing {"connection_id":154170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f3"} 
[2026-08-10 10:07:01] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302131712001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786336473000,"timestamp_ms":1786336473000,"timestamp_seconds":1786336473,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f36fa8"} 
[2026-08-10 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-08-10 10:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 10:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302131712001,"66":12548,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302131712001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:07:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302131712001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":154170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:07:01] local.INFO: GPS data processed {"connection_id":154170,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:07:01] local.INFO: Acknowledgment sent {"connection_id":154170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:07:01] local.INFO: TCP Data received {"connection_id":154169,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:07:01] local.INFO: Processing buffer {"connection_id":154169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:07:01] local.INFO: Packet analysis {"connection_id":154169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:07:01] local.INFO: Extracted packet for processing {"connection_id":154169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302077184001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786336540000,"timestamp_ms":1786336540000,"timestamp_seconds":1786336540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f47560"} 
[2026-08-10 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-08-10 10:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302077184001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302077184001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:07:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:07:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302077184001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":154169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:07:01] local.INFO: GPS data processed {"connection_id":154169,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:07:01] local.INFO: Acknowledgment sent {"connection_id":154169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:07:04] local.INFO: TCP Data received {"connection_id":152707,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:07:04] local.INFO: Processing buffer {"connection_id":152707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:07:04] local.INFO: IMEI packet received {"connection_id":152707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":152707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:07:09] local.INFO: TCP Data received {"connection_id":152707,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:07:09] local.INFO: Processing buffer {"connection_id":152707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:07:09] local.INFO: IMEI packet received {"connection_id":152707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":152707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:07:10] local.INFO: TCP Data received {"connection_id":152707,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f217e8012d34294006abc4c0000d01672a..."} 
[2026-08-10 10:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f217e8012d34294006abc4c0000d01672a..."} 
[2026-08-10 10:07:10] local.INFO: Processing buffer {"connection_id":152707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f217e8012d34294006abc4c0000d01672a..."} 
[2026-08-10 10:07:10] local.INFO: Packet analysis {"connection_id":152707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:07:10] local.INFO: Extracted packet for processing {"connection_id":152707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758393152,"raw_latitude":111920320,"longitude_deg":75.8393152,"latitude_deg":11.192032,"altitude":13,"angle":359,"satellites":42,"speed":6,"hex_longitude":"2d342940","hex_latitude":"06abc4c0","is_valid_coordinates":true} 
[2026-08-10 10:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302113792001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376455893539094528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758465023924705280,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786336385000,"timestamp_ms":1786336385000,"timestamp_seconds":1786336385,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f217e8"} 
[2026-08-10 10:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 10:07: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-08-10 10:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302113792001,"66":27767,"75":206,"81":23296,"24":6,"16":376455893539094528,"45":3758465023924705280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302113792001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:07:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376455893539094528,"km_value":376455893539094.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758465023924705280,"description":"Unknown IO ID 45"} 
[2026-08-10 10:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302113792001,"power":27767,"unknown_75":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3758465023924705280}} 
[2026-08-10 10:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":152707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:07:10] local.INFO: GPS data processed {"connection_id":152707,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:07:10] local.INFO: Acknowledgment sent {"connection_id":152707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:07:14] local.INFO: TCP Data received {"connection_id":151792,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:07:14] local.INFO: Processing buffer {"connection_id":151792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:07:14] local.INFO: IMEI packet received {"connection_id":151792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":151792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:07:14] local.INFO: TCP Data received {"connection_id":152707,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f269f0012d34284006abc528001001672a..."} 
[2026-08-10 10:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f269f0012d34284006abc528001001672a..."} 
[2026-08-10 10:07:14] local.INFO: Processing buffer {"connection_id":152707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f269f0012d34284006abc528001001672a..."} 
[2026-08-10 10:07:14] local.INFO: Packet analysis {"connection_id":152707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:07:14] local.INFO: Extracted packet for processing {"connection_id":152707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758392896,"raw_latitude":111920424,"longitude_deg":75.8392896,"latitude_deg":11.1920424,"altitude":16,"angle":359,"satellites":42,"speed":0,"hex_longitude":"2d342840","hex_latitude":"06abc528","is_valid_coordinates":true} 
[2026-08-10 10:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302114560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376455932193800192,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758605761413169152,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786336406000,"timestamp_ms":1786336406000,"timestamp_seconds":1786336406,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f269f0"} 
[2026-08-10 10:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-10 10:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302114560001,"66":27800,"75":206,"81":23296,"24":0,"16":376455932193800192,"45":3758605761413169152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302114560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:07:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:07:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376455932193800192,"km_value":376455932193800.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758605761413169152,"description":"Unknown IO ID 45"} 
[2026-08-10 10:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302114560001,"power":27800,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758605761413169152}} 
[2026-08-10 10:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":152707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:07:14] local.INFO: GPS data processed {"connection_id":152707,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:07:14] local.INFO: Acknowledgment sent {"connection_id":152707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:07:19] local.INFO: TCP Data received {"connection_id":151792,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:07:19] local.INFO: Processing buffer {"connection_id":151792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:07:19] local.INFO: IMEI packet received {"connection_id":151792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":151792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:07:21] local.INFO: TCP Data received {"connection_id":151792,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:07:21] local.INFO: Processing buffer {"connection_id":151792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:07:21] local.INFO: Packet analysis {"connection_id":151792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:07:21] local.INFO: Extracted packet for processing {"connection_id":151792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:07:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302077184001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786336540000,"timestamp_ms":1786336540000,"timestamp_seconds":1786336540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f47560"} 
[2026-08-10 10:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302077184001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302077184001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:07:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:07:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302077184001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":151792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:07:21] local.INFO: GPS data processed {"connection_id":151792,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:07:21] local.INFO: Acknowledgment sent {"connection_id":151792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:07:32] local.INFO: TCP Data received {"connection_id":154170,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f3c1b0012d1968c00720acd8002d00511e..."} 
[2026-08-10 10:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f3c1b0012d1968c00720acd8002d00511e..."} 
[2026-08-10 10:07:32] local.INFO: Processing buffer {"connection_id":154170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f3c1b0012d1968c00720acd8002d00511e..."} 
[2026-08-10 10:07:32] local.INFO: Packet analysis {"connection_id":154170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f3"} 
[2026-08-10 10:07:32] local.INFO: Extracted packet for processing {"connection_id":154170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f3"} 
[2026-08-10 10:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":30,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302137088001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786336494000,"timestamp_ms":1786336494000,"timestamp_seconds":1786336494,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f3c1b0"} 
[2026-08-10 10:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3924919160,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":38913,"corrected_to":0} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184213414093,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4062676993,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2899836973,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692588,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397048,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:32] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,159,29,45,192,172,33,10,66,203,34,121,1,240,101,227,233,32,4,113,205,213,104,216,239,49,2,40,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":203,"original":38913,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-10 10:07:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242680929587560448,"timestamp_seconds":3242680929587560.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 10:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302137088001,"66":12515,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302137088001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:07:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302137088001,"power":12515,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":154170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:07:32] local.INFO: GPS data processed {"connection_id":154170,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:07:32] local.INFO: Acknowledgment sent {"connection_id":154170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:07:53] local.INFO: TCP Data received {"connection_id":151792,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:07:53] local.INFO: Processing buffer {"connection_id":151792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:07:53] local.INFO: Packet analysis {"connection_id":151792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:07:53] local.INFO: Extracted packet for processing {"connection_id":151792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:07:53] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302077184001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786336540000,"timestamp_ms":1786336540000,"timestamp_seconds":1786336540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f47560"} 
[2026-08-10 10:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302077184001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302077184001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:07:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:07:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302077184001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":151792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:07:53] local.INFO: GPS data processed {"connection_id":151792,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:07:53] local.INFO: Acknowledgment sent {"connection_id":151792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:07:54] local.INFO: TCP Data received {"connection_id":152708,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:07:54] local.INFO: Processing buffer {"connection_id":152708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:07:54] local.INFO: IMEI packet received {"connection_id":152708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":152708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:07:59] local.INFO: TCP Data received {"connection_id":152708,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:07:59] local.INFO: Processing buffer {"connection_id":152708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:07:59] local.INFO: IMEI packet received {"connection_id":152708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":152708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:07:59] local.INFO: TCP Data received {"connection_id":151406,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:07:59] local.INFO: Processing buffer {"connection_id":151406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:07:59] local.INFO: IMEI packet received {"connection_id":151406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":151406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:08:00] local.INFO: TCP Data received {"connection_id":152708,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f413b8012d1968c00720acd8002d005120..."} 
[2026-08-10 10:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f413b8012d1968c00720acd8002d005120..."} 
[2026-08-10 10:08:00] local.INFO: Processing buffer {"connection_id":152708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f413b8012d1968c00720acd8002d005120..."} 
[2026-08-10 10:08:00] local.INFO: Packet analysis {"connection_id":152708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:08:00] local.INFO: Extracted packet for processing {"connection_id":152708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:08:00] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302142464001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786336515000,"timestamp_ms":1786336515000,"timestamp_seconds":1786336515,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f413b8"} 
[2026-08-10 10:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-10 10:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302142464001,"66":12461,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302142464001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:08:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:08:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302142464001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":152708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:08:00] local.INFO: GPS data processed {"connection_id":152708,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:08:00] local.INFO: Acknowledgment sent {"connection_id":152708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:08:04] local.INFO: TCP Data received {"connection_id":151406,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:08:04] local.INFO: Processing buffer {"connection_id":151406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:08:04] local.INFO: IMEI packet received {"connection_id":151406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":151406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:08:05] local.INFO: TCP Data received {"connection_id":151406,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f26dd8012d34270006abc5e0001001282a..."} 
[2026-08-10 10:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f26dd8012d34270006abc5e0001001282a..."} 
[2026-08-10 10:08:05] local.INFO: Processing buffer {"connection_id":151406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f26dd8012d34270006abc5e0001001282a..."} 
[2026-08-10 10:08:05] local.INFO: Packet analysis {"connection_id":151406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:08:05] local.INFO: Extracted packet for processing {"connection_id":151406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758392576,"raw_latitude":111920608,"longitude_deg":75.8392576,"latitude_deg":11.1920608,"altitude":16,"angle":296,"satellites":42,"speed":6,"hex_longitude":"2d342700","hex_latitude":"06abc5e0","is_valid_coordinates":true} 
[2026-08-10 10:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302119936001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376455949373669376,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758324286436485120,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336407000,"timestamp_ms":1786336407000,"timestamp_seconds":1786336407,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f26dd8"} 
[2026-08-10 10:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 10:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302119936001,"66":27800,"75":206,"81":23296,"24":6,"16":376455949373669376,"45":3758324286436485120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302119936001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:08:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376455949373669376,"km_value":376455949373669.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758324286436485120,"description":"Unknown IO ID 45"} 
[2026-08-10 10:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302119936001,"power":27800,"unknown_75":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3758324286436485120}} 
[2026-08-10 10:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":151406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:08:05] local.INFO: GPS data processed {"connection_id":151406,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:08:05] local.INFO: Acknowledgment sent {"connection_id":151406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:08:10] local.INFO: TCP Data received {"connection_id":151406,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f271c0012d34260006abc618001101172a..."} 
[2026-08-10 10:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f271c0012d34260006abc618001101172a..."} 
[2026-08-10 10:08:10] local.INFO: Processing buffer {"connection_id":151406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f271c0012d34260006abc618001101172a..."} 
[2026-08-10 10:08:10] local.INFO: Packet analysis {"connection_id":151406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:08:10] local.INFO: Extracted packet for processing {"connection_id":151406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758392320,"raw_latitude":111920664,"longitude_deg":75.839232,"latitude_deg":11.1920664,"altitude":17,"angle":279,"satellites":42,"speed":9,"hex_longitude":"2d342600","hex_latitude":"06abc618","is_valid_coordinates":true} 
[2026-08-10 10:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302120192001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376455962258571264,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757972442715643904,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786336408000,"timestamp_ms":1786336408000,"timestamp_seconds":1786336408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f271c0"} 
[2026-08-10 10:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 10:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302120192001,"66":27745,"75":206,"81":23296,"24":9,"16":376455962258571264,"45":3757972442715643904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302120192001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:08:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376455962258571264,"km_value":376455962258571.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757972442715643904,"description":"Unknown IO ID 45"} 
[2026-08-10 10:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302120192001,"power":27745,"unknown_75":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":3757972442715643904}} 
[2026-08-10 10:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":151406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:08:10] local.INFO: GPS data processed {"connection_id":151406,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:08:10] local.INFO: Acknowledgment sent {"connection_id":151406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:08:14] local.INFO: TCP Data received {"connection_id":154171,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:08:14] local.INFO: Processing buffer {"connection_id":154171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:08:14] local.INFO: IMEI packet received {"connection_id":154171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":154171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:08:19] local.INFO: TCP Data received {"connection_id":154171,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:08:19] local.INFO: Processing buffer {"connection_id":154171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:08:19] local.INFO: IMEI packet received {"connection_id":154171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":154171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:08:21] local.INFO: TCP Data received {"connection_id":154171,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:08:21] local.INFO: Processing buffer {"connection_id":154171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:08:21] local.INFO: Packet analysis {"connection_id":154171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:08:21] local.INFO: Extracted packet for processing {"connection_id":154171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:08:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302077184001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786336540000,"timestamp_ms":1786336540000,"timestamp_seconds":1786336540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f47560"} 
[2026-08-10 10:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302077184001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302077184001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:08:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:08:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302077184001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":154171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:08:21] local.INFO: GPS data processed {"connection_id":154171,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:08:21] local.INFO: Acknowledgment sent {"connection_id":154171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:08:31] local.INFO: TCP Data received {"connection_id":152708,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f465c0012d1968c00720acd8002d005121..."} 
[2026-08-10 10:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f465c0012d1968c00720acd8002d005121..."} 
[2026-08-10 10:08:31] local.INFO: Processing buffer {"connection_id":152708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f465c0012d1968c00720acd8002d005121..."} 
[2026-08-10 10:08:31] local.INFO: Packet analysis {"connection_id":152708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:08:31] local.INFO: Extracted packet for processing {"connection_id":152708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302147840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786336536000,"timestamp_ms":1786336536000,"timestamp_seconds":1786336536,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f465c0"} 
[2026-08-10 10:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 10:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302147840001,"66":12461,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302147840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:08:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302147840001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":152708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:08:31] local.INFO: GPS data processed {"connection_id":152708,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:08:31] local.INFO: Acknowledgment sent {"connection_id":152708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:08:41] local.INFO: TCP Data received {"connection_id":151406,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f275a8012d34254006abc6180011010c28..."} 
[2026-08-10 10:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f275a8012d34254006abc6180011010c28..."} 
[2026-08-10 10:08:41] local.INFO: Processing buffer {"connection_id":151406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f275a8012d34254006abc6180011010c28..."} 
[2026-08-10 10:08:41] local.INFO: Packet analysis {"connection_id":151406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:08:41] local.INFO: Extracted packet for processing {"connection_id":151406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758392128,"raw_latitude":111920664,"longitude_deg":75.8392128,"latitude_deg":11.1920664,"altitude":17,"angle":268,"satellites":40,"speed":9,"hex_longitude":"2d342540","hex_latitude":"06abc618","is_valid_coordinates":true} 
[2026-08-10 10:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302120448001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376455970848505856,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757690967738947584,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786336409000,"timestamp_ms":1786336409000,"timestamp_seconds":1786336409,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f275a8"} 
[2026-08-10 10:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302120448001,"66":27745,"75":206,"81":23296,"24":9,"16":376455970848505856,"45":3757690967738947584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302120448001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:08:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376455970848505856,"km_value":376455970848505.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757690967738947584,"description":"Unknown IO ID 45"} 
[2026-08-10 10:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302120448001,"power":27745,"unknown_75":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":3757690967738947584}} 
[2026-08-10 10:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":151406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:08:41] local.INFO: GPS data processed {"connection_id":151406,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:08:41] local.INFO: Acknowledgment sent {"connection_id":151406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:08:54] local.INFO: TCP Data received {"connection_id":154171,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:08:54] local.INFO: Processing buffer {"connection_id":154171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:08:54] local.INFO: Packet analysis {"connection_id":154171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:08:54] local.INFO: Extracted packet for processing {"connection_id":154171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302077184001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786336540000,"timestamp_ms":1786336540000,"timestamp_seconds":1786336540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f47560"} 
[2026-08-10 10:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":154171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":154171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":154171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302077184001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302077184001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:08:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:08:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302077184001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":154171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:08:54] local.INFO: GPS data processed {"connection_id":154171,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:08:54] local.INFO: Acknowledgment sent {"connection_id":154171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:08:54] local.INFO: TCP Data received {"connection_id":151793,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:08:54] local.INFO: Processing buffer {"connection_id":151793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:08:54] local.INFO: IMEI packet received {"connection_id":151793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":151793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:08:59] local.INFO: TCP Data received {"connection_id":151794,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:08:59] local.INFO: Processing buffer {"connection_id":151794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:08:59] local.INFO: IMEI packet received {"connection_id":151794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":151794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:09:00] local.INFO: TCP Data received {"connection_id":151793,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:09:00] local.INFO: Processing buffer {"connection_id":151793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:09:00] local.INFO: IMEI packet received {"connection_id":151793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":151793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:09:01] local.INFO: TCP Data received {"connection_id":151793,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f4b7c8012d1968c00720acd8002d005120..."} 
[2026-08-10 10:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f4b7c8012d1968c00720acd8002d005120..."} 
[2026-08-10 10:09:01] local.INFO: Processing buffer {"connection_id":151793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f4b7c8012d1968c00720acd8002d005120..."} 
[2026-08-10 10:09:01] local.INFO: Packet analysis {"connection_id":151793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:09:01] local.INFO: Extracted packet for processing {"connection_id":151793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:09:01] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302153216001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786336557000,"timestamp_ms":1786336557000,"timestamp_seconds":1786336557,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f4b7c8"} 
[2026-08-10 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-08-10 10:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 10:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302153216001,"66":12341,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302153216001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:09:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302153216001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":151793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:09:01] local.INFO: GPS data processed {"connection_id":151793,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:09:01] local.INFO: Acknowledgment sent {"connection_id":151793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:09:04] local.INFO: TCP Data received {"connection_id":151794,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:09:04] local.INFO: Processing buffer {"connection_id":151794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:09:04] local.INFO: IMEI packet received {"connection_id":151794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":151794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:09:05] local.INFO: TCP Data received {"connection_id":151794,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f2c3c8012d34264006abc3a0000f01022a..."} 
[2026-08-10 10:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f2c3c8012d34264006abc3a0000f01022a..."} 
[2026-08-10 10:09:05] local.INFO: Processing buffer {"connection_id":151794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f2c3c8012d34264006abc3a0000f01022a..."} 
[2026-08-10 10:09:05] local.INFO: Packet analysis {"connection_id":151794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:09:05] local.INFO: Extracted packet for processing {"connection_id":151794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758392384,"raw_latitude":111920032,"longitude_deg":75.8392384,"latitude_deg":11.1920032,"altitude":15,"angle":258,"satellites":42,"speed":2,"hex_longitude":"2d342640","hex_latitude":"06abc3a0","is_valid_coordinates":true} 
[2026-08-10 10:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302120704001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757479861506414592,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336429000,"timestamp_ms":1786336429000,"timestamp_seconds":1786336429,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f2c3c8"} 
[2026-08-10 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-08-10 10:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302120704001,"66":27843,"75":206,"81":23296,"24":2,"16":376456048157917184,"45":3757479861506414592},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302120704001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:09:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757479861506414592,"description":"Unknown IO ID 45"} 
[2026-08-10 10:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302120704001,"power":27843,"unknown_75":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3757479861506414592}} 
[2026-08-10 10:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":151794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:09:05] local.INFO: GPS data processed {"connection_id":151794,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:09:05] local.INFO: Acknowledgment sent {"connection_id":151794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:09:15] local.INFO: TCP Data received {"connection_id":152709,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:09:15] local.INFO: Processing buffer {"connection_id":152709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:09:15] local.INFO: IMEI packet received {"connection_id":152709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":152709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:09:19] local.INFO: TCP Data received {"connection_id":152709,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:09:19] local.INFO: Processing buffer {"connection_id":152709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:09:19] local.INFO: IMEI packet received {"connection_id":152709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":152709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:09:20] local.INFO: TCP Data received {"connection_id":152709,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:09:20] local.INFO: Processing buffer {"connection_id":152709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:09:20] local.INFO: Packet analysis {"connection_id":152709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:09:20] local.INFO: Extracted packet for processing {"connection_id":152709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:09:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302077184001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786336540000,"timestamp_ms":1786336540000,"timestamp_seconds":1786336540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f47560"} 
[2026-08-10 10:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:09: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-08-10 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302077184001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302077184001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:09:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:09:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302077184001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":152709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:09:20] local.INFO: GPS data processed {"connection_id":152709,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:09:20] local.INFO: Acknowledgment sent {"connection_id":152709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:09:32] local.INFO: TCP Data received {"connection_id":151793,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f509d0012d1968c00720acd8002d005120..."} 
[2026-08-10 10:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f509d0012d1968c00720acd8002d005120..."} 
[2026-08-10 10:09:32] local.INFO: Processing buffer {"connection_id":151793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f509d0012d1968c00720acd8002d005120..."} 
[2026-08-10 10:09:32] local.INFO: Packet analysis {"connection_id":151793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f5"} 
[2026-08-10 10:09:32] local.INFO: Extracted packet for processing {"connection_id":151793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f5"} 
[2026-08-10 10:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302158592001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786336578000,"timestamp_ms":1786336578000,"timestamp_seconds":1786336578,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f509d0"} 
[2026-08-10 10:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 10:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302158592001,"66":12406,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302158592001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:09:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302158592001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":151793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:09:32] local.INFO: GPS data processed {"connection_id":151793,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:09:32] local.INFO: Acknowledgment sent {"connection_id":151793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:09:50] local.INFO: TCP Data received {"connection_id":151794,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f2c7b0012d3426c006abc378000f01022a..."} 
[2026-08-10 10:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f2c7b0012d3426c006abc378000f01022a..."} 
[2026-08-10 10:09:50] local.INFO: Processing buffer {"connection_id":151794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f2c7b0012d3426c006abc378000f01022a..."} 
[2026-08-10 10:09:50] local.INFO: Packet analysis {"connection_id":151794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:09:50] local.INFO: Extracted packet for processing {"connection_id":151794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f2"} 
[2026-08-10 10:09:50] local.INFO: GPS Element Parsed {"raw_longitude":758392512,"raw_latitude":111919992,"longitude_deg":75.8392512,"latitude_deg":11.1919992,"altitude":15,"angle":258,"satellites":42,"speed":2,"hex_longitude":"2d3426c0","hex_latitude":"06abc378","is_valid_coordinates":true} 
[2026-08-10 10:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302125824001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757761336482963456,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786336430000,"timestamp_ms":1786336430000,"timestamp_seconds":1786336430,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f2c7b0"} 
[2026-08-10 10:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-10 10:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302125824001,"66":27517,"75":206,"81":23296,"24":2,"16":376456048157917184,"45":3757761336482963456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302125824001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:09:50] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:09:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757761336482963456,"description":"Unknown IO ID 45"} 
[2026-08-10 10:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302125824001,"power":27517,"unknown_75":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3757761336482963456}} 
[2026-08-10 10:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":151794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:09:50] local.INFO: GPS data processed {"connection_id":151794,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:09:50] local.INFO: Acknowledgment sent {"connection_id":151794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:09:52] local.INFO: TCP Data received {"connection_id":152709,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:09:52] local.INFO: Processing buffer {"connection_id":152709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:09:52] local.INFO: Packet analysis {"connection_id":152709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:09:52] local.INFO: Extracted packet for processing {"connection_id":152709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:09:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302077184001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786336540000,"timestamp_ms":1786336540000,"timestamp_seconds":1786336540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f47560"} 
[2026-08-10 10:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302077184001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302077184001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:09:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:09:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302077184001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":152709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:09:52] local.INFO: GPS data processed {"connection_id":152709,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:09:52] local.INFO: Acknowledgment sent {"connection_id":152709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:09:59] local.INFO: TCP Data received {"connection_id":152711,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:09:59] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:09:59] local.INFO: IMEI packet received {"connection_id":152711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":152711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:10:00] local.INFO: TCP Data received {"connection_id":152710,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:10:00] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:10:00] local.INFO: IMEI packet received {"connection_id":152710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":152710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:10:04] local.INFO: TCP Data received {"connection_id":152711,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:10:04] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:10:04] local.INFO: IMEI packet received {"connection_id":152711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":152711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:10:05] local.INFO: TCP Data received {"connection_id":152711,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:10:05] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:10:05] local.INFO: Packet analysis {"connection_id":152711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:10:05] local.INFO: Extracted packet for processing {"connection_id":152711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757902073971308544,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336732000,"timestamp_ms":1786336732000,"timestamp_seconds":1786336732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f76360"} 
[2026-08-10 10:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 10:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302126080001,"66":26039,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757902073971308544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:10:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757902073971308544,"description":"Unknown IO ID 45"} 
[2026-08-10 10:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302126080001,"power":26039,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757902073971308544}} 
[2026-08-10 10:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":152711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:10:05] local.INFO: GPS data processed {"connection_id":152711,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:10:05] local.INFO: Acknowledgment sent {"connection_id":152711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:10:05] local.INFO: TCP Data received {"connection_id":152710,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:10:05] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:10:05] local.INFO: IMEI packet received {"connection_id":152710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":152710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:10:06] local.INFO: TCP Data received {"connection_id":152710,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f55bd8012d1968c00720acd8002d005121..."} 
[2026-08-10 10:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f55bd8012d1968c00720acd8002d005121..."} 
[2026-08-10 10:10:06] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f55bd8012d1968c00720acd8002d005121..."} 
[2026-08-10 10:10:06] local.INFO: Packet analysis {"connection_id":152710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f5"} 
[2026-08-10 10:10:06] local.INFO: Extracted packet for processing {"connection_id":152710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f5"} 
[2026-08-10 10:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302163968001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786336599000,"timestamp_ms":1786336599000,"timestamp_seconds":1786336599,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f55bd8"} 
[2026-08-10 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-08-10 10:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 10:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302163968001,"66":12439,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302163968001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:10:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302163968001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":152710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:10:06] local.INFO: GPS data processed {"connection_id":152710,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:10:06] local.INFO: Acknowledgment sent {"connection_id":152710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:10:07] local.INFO: TCP Data received {"connection_id":152710,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f5ade0012d1968c00720acd8002d005120..."} 
[2026-08-10 10:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f5ade0012d1968c00720acd8002d005120..."} 
[2026-08-10 10:10:07] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f5ade0012d1968c00720acd8002d005120..."} 
[2026-08-10 10:10:07] local.INFO: Packet analysis {"connection_id":152710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f5"} 
[2026-08-10 10:10:07] local.INFO: Extracted packet for processing {"connection_id":152710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f5"} 
[2026-08-10 10:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302169344001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786336620000,"timestamp_ms":1786336620000,"timestamp_seconds":1786336620,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f5ade0"} 
[2026-08-10 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-08-10 10:10: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-08-10 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 10:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302169344001,"66":12428,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302169344001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:10:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302169344001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":152710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:10:07] local.INFO: GPS data processed {"connection_id":152710,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:10:07] local.INFO: Acknowledgment sent {"connection_id":152710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:10:14] local.INFO: TCP Data received {"connection_id":154172,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:10:14] local.INFO: Processing buffer {"connection_id":154172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:10:14] local.INFO: IMEI packet received {"connection_id":154172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":154172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:10:19] local.INFO: TCP Data received {"connection_id":154172,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:10:19] local.INFO: Processing buffer {"connection_id":154172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:10:19] local.INFO: IMEI packet received {"connection_id":154172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":154172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:10:20] local.INFO: TCP Data received {"connection_id":154172,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:10:20] local.INFO: Processing buffer {"connection_id":154172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f47560012d7d358005ec0eb0000000061d..."} 
[2026-08-10 10:10:20] local.INFO: Packet analysis {"connection_id":154172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:10:20] local.INFO: Extracted packet for processing {"connection_id":154172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:10:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302077184001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786336540000,"timestamp_ms":1786336540000,"timestamp_seconds":1786336540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f47560"} 
[2026-08-10 10:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:10: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-08-10 10: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":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302077184001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302077184001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:10:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:10:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302077184001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":154172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:10:20] local.INFO: GPS data processed {"connection_id":154172,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:10:20] local.INFO: Acknowledgment sent {"connection_id":154172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:10:34] local.INFO: TCP Data received {"connection_id":154173,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154173,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:10:34] local.INFO: Processing buffer {"connection_id":154173,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:10:34] local.INFO: IMEI packet received {"connection_id":154173,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":154173,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:10:36] local.INFO: TCP Data received {"connection_id":154173,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154173,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:10:36] local.INFO: Processing buffer {"connection_id":154173,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:10:36] local.INFO: IMEI packet received {"connection_id":154173,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":154173,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:10:36] local.INFO: TCP Data received {"connection_id":152711,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:10:36] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:10:36] local.INFO: Packet analysis {"connection_id":152711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:10:36] local.INFO: Extracted packet for processing {"connection_id":152711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757902073971308544,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786336732000,"timestamp_ms":1786336732000,"timestamp_seconds":1786336732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f76360"} 
[2026-08-10 10:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 10:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302126080001,"66":26039,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757902073971308544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:10:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757902073971308544,"description":"Unknown IO ID 45"} 
[2026-08-10 10:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302126080001,"power":26039,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757902073971308544}} 
[2026-08-10 10:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":152711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:10:36] local.INFO: GPS data processed {"connection_id":152711,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:10:36] local.INFO: Acknowledgment sent {"connection_id":152711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:10:38] local.INFO: TCP Data received {"connection_id":152710,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f5ffe8012d1968c00720acd8002d005121..."} 
[2026-08-10 10:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f5ffe8012d1968c00720acd8002d005121..."} 
[2026-08-10 10:10:38] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f5ffe8012d1968c00720acd8002d005121..."} 
[2026-08-10 10:10:38] local.INFO: Packet analysis {"connection_id":152710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f5"} 
[2026-08-10 10:10:38] local.INFO: Extracted packet for processing {"connection_id":152710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f5"} 
[2026-08-10 10:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302174720001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10: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-08-10 10:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786336641000,"timestamp_ms":1786336641000,"timestamp_seconds":1786336641,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f5ffe8"} 
[2026-08-10 10:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:10: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-08-10 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 10:10: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-08-10 10:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302174720001,"66":12406,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302174720001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:10:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302174720001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":152710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:10:38] local.INFO: GPS data processed {"connection_id":152710,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:10:38] local.INFO: Acknowledgment sent {"connection_id":152710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:10:48] local.INFO: TCP Data received {"connection_id":154173,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f3f860012d0b138007029e680010006619..."} 
[2026-08-10 10:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f3f860012d0b138007029e680010006619..."} 
[2026-08-10 10:10:48] local.INFO: Processing buffer {"connection_id":154173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f3f860012d0b138007029e680010006619..."} 
[2026-08-10 10:10:48] local.INFO: Packet analysis {"connection_id":154173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f3"} 
[2026-08-10 10:10:48] local.INFO: Extracted packet for processing {"connection_id":154173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f3"} 
[2026-08-10 10:10:48] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612136,"longitude_deg":75.5700608,"latitude_deg":11.7612136,"altitude":16,"angle":102,"satellites":25,"speed":2,"hex_longitude":"2d0b1380","hex_latitude":"07029e68","is_valid_coordinates":true} 
[2026-08-10 10:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302146048001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27345116175794176,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571771904,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786336508000,"timestamp_ms":1786336508000,"timestamp_seconds":1786336508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f3f860"} 
[2026-08-10 10:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 10:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302146048001,"66":14396,"17":206,"94":11008,"24":2,"16":27345116175794176,"45":798122326571771904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 10:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302146048001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:10:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27345116175794176,"km_value":27345116175794.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571771904,"description":"Unknown IO ID 45"} 
[2026-08-10 10:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302146048001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":798122326571771904}} 
[2026-08-10 10:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":154173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619145,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:10:49] local.INFO: GPS data processed {"connection_id":154173,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:10:49] local.INFO: Acknowledgment sent {"connection_id":154173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:10:49] local.INFO: TCP Data received {"connection_id":154173,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f3fc48012d0b138007029e680010005319..."} 
[2026-08-10 10:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f3fc48012d0b138007029e680010005319..."} 
[2026-08-10 10:10:49] local.INFO: Processing buffer {"connection_id":154173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f3fc48012d0b138007029e680010005319..."} 
[2026-08-10 10:10:49] local.INFO: Packet analysis {"connection_id":154173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f3"} 
[2026-08-10 10:10:49] local.INFO: Extracted packet for processing {"connection_id":154173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f3"} 
[2026-08-10 10:10:49] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612136,"longitude_deg":75.5700608,"latitude_deg":11.7612136,"altitude":16,"angle":83,"satellites":25,"speed":1,"hex_longitude":"2d0b1380","hex_latitude":"07029e68","is_valid_coordinates":true} 
[2026-08-10 10:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302146048001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27345116175794176,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571771904,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786336509000,"timestamp_ms":1786336509000,"timestamp_seconds":1786336509,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f3fc48"} 
[2026-08-10 10:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 10:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302146048001,"66":14396,"17":206,"94":11008,"24":1,"16":27345116175794176,"45":798122326571771904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 10:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302146048001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:10:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27345116175794176,"km_value":27345116175794.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571771904,"description":"Unknown IO ID 45"} 
[2026-08-10 10:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302146048001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798122326571771904}} 
[2026-08-10 10:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":154173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619146,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:10:50] local.INFO: GPS data processed {"connection_id":154173,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:10:50] local.INFO: Acknowledgment sent {"connection_id":154173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:10:53] local.INFO: TCP Data received {"connection_id":154172,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:10:53] local.INFO: Processing buffer {"connection_id":154172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:10:53] local.INFO: Packet analysis {"connection_id":154172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:10:53] local.INFO: Extracted packet for processing {"connection_id":154172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302154240001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786336841000,"timestamp_ms":1786336841000,"timestamp_seconds":1786336841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f90d28"} 
[2026-08-10 10:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302154240001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302154240001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:10:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:10:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302154240001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":154172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:10:53] local.INFO: GPS data processed {"connection_id":154172,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:10:53] local.INFO: Acknowledgment sent {"connection_id":154172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:10:55] local.INFO: TCP Data received {"connection_id":151407,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:10:55] local.INFO: Processing buffer {"connection_id":151407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:10:55] local.INFO: IMEI packet received {"connection_id":151407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":151407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:11:00] local.INFO: TCP Data received {"connection_id":151407,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:11:00] local.INFO: Processing buffer {"connection_id":151407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:11:00] local.INFO: IMEI packet received {"connection_id":151407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":151407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:11:01] local.INFO: TCP Data received {"connection_id":151407,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f651f0012d1968c00720acd8002d00511e..."} 
[2026-08-10 10:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f651f0012d1968c00720acd8002d00511e..."} 
[2026-08-10 10:11:01] local.INFO: Processing buffer {"connection_id":151407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f651f0012d1968c00720acd8002d00511e..."} 
[2026-08-10 10:11:01] local.INFO: Packet analysis {"connection_id":151407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f6"} 
[2026-08-10 10:11:01] local.INFO: Extracted packet for processing {"connection_id":151407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f6"} 
[2026-08-10 10:11:01] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":30,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302180096001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786336662000,"timestamp_ms":1786336662000,"timestamp_seconds":1786336662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f651f0"} 
[2026-08-10 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-08-10 10:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 10:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302180096001,"66":12406,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302180096001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:11:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:11:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302180096001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":151407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:11:01] local.INFO: GPS data processed {"connection_id":151407,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:11:01] local.INFO: Acknowledgment sent {"connection_id":151407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:11:04] local.INFO: TCP Data received {"connection_id":151408,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:11:04] local.INFO: Processing buffer {"connection_id":151408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:11:04] local.INFO: IMEI packet received {"connection_id":151408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":151408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:11:09] local.INFO: TCP Data received {"connection_id":151408,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:11:09] local.INFO: Processing buffer {"connection_id":151408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:11:09] local.INFO: IMEI packet received {"connection_id":151408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":151408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:11:11] local.INFO: TCP Data received {"connection_id":151408,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:11:11] local.INFO: Processing buffer {"connection_id":151408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:11:11] local.INFO: Packet analysis {"connection_id":151408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:11:11] local.INFO: Extracted packet for processing {"connection_id":151408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757902073971308544,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786336732000,"timestamp_ms":1786336732000,"timestamp_seconds":1786336732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f76360"} 
[2026-08-10 10:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 10:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302126080001,"66":26039,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757902073971308544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:11:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:11:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757902073971308544,"description":"Unknown IO ID 45"} 
[2026-08-10 10:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302126080001,"power":26039,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757902073971308544}} 
[2026-08-10 10:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":151408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:11:11] local.INFO: GPS data processed {"connection_id":151408,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:11:11] local.INFO: Acknowledgment sent {"connection_id":151408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:11:15] local.INFO: TCP Data received {"connection_id":151795,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:11:15] local.INFO: Processing buffer {"connection_id":151795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:11:15] local.INFO: IMEI packet received {"connection_id":151795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":151795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:11:15] local.INFO: TCP Data received {"connection_id":151408,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:11:15] local.INFO: Processing buffer {"connection_id":151408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:11:15] local.INFO: Packet analysis {"connection_id":151408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:11:15] local.INFO: Extracted packet for processing {"connection_id":151408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757902073971308544,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786336732000,"timestamp_ms":1786336732000,"timestamp_seconds":1786336732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f76360"} 
[2026-08-10 10:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 10:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302126080001,"66":26039,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757902073971308544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:11:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757902073971308544,"description":"Unknown IO ID 45"} 
[2026-08-10 10:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302126080001,"power":26039,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757902073971308544}} 
[2026-08-10 10:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":151408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:11:15] local.INFO: GPS data processed {"connection_id":151408,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:11:15] local.INFO: Acknowledgment sent {"connection_id":151408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:11:20] local.INFO: TCP Data received {"connection_id":151795,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:11:20] local.INFO: Processing buffer {"connection_id":151795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:11:20] local.INFO: IMEI packet received {"connection_id":151795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":151795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:11:22] local.INFO: TCP Data received {"connection_id":151795,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:11:22] local.INFO: Processing buffer {"connection_id":151795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:11:22] local.INFO: Packet analysis {"connection_id":151795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:11:22] local.INFO: Extracted packet for processing {"connection_id":151795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:11:22] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302154240001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786336841000,"timestamp_ms":1786336841000,"timestamp_seconds":1786336841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f90d28"} 
[2026-08-10 10:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302154240001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302154240001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:11:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:11:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302154240001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":151795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:11:22] local.INFO: GPS data processed {"connection_id":151795,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:11:22] local.INFO: Acknowledgment sent {"connection_id":151795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:11:32] local.INFO: TCP Data received {"connection_id":151407,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f6a3f8012d1968c00720acd8002d00511f..."} 
[2026-08-10 10:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f6a3f8012d1968c00720acd8002d00511f..."} 
[2026-08-10 10:11:32] local.INFO: Processing buffer {"connection_id":151407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f6a3f8012d1968c00720acd8002d00511f..."} 
[2026-08-10 10:11:32] local.INFO: Packet analysis {"connection_id":151407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f6"} 
[2026-08-10 10:11:32] local.INFO: Extracted packet for processing {"connection_id":151407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f6"} 
[2026-08-10 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":31,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302185472001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786336683000,"timestamp_ms":1786336683000,"timestamp_seconds":1786336683,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f6a3f8"} 
[2026-08-10 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-08-10 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 10:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302185472001,"66":12385,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302185472001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:11:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302185472001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":151407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:11:32] local.INFO: GPS data processed {"connection_id":151407,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:11:32] local.INFO: Acknowledgment sent {"connection_id":151407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:11:54] local.INFO: TCP Data received {"connection_id":151795,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:11:54] local.INFO: Processing buffer {"connection_id":151795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:11:54] local.INFO: Packet analysis {"connection_id":151795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:11:54] local.INFO: Extracted packet for processing {"connection_id":151795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302154240001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786336841000,"timestamp_ms":1786336841000,"timestamp_seconds":1786336841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f90d28"} 
[2026-08-10 10:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302154240001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302154240001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:11:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:11:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302154240001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":151795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:11:54] local.INFO: GPS data processed {"connection_id":151795,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:11:54] local.INFO: Acknowledgment sent {"connection_id":151795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:11:55] local.INFO: TCP Data received {"connection_id":152712,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:11:55] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:11:55] local.INFO: IMEI packet received {"connection_id":152712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":152712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:11:59] local.INFO: TCP Data received {"connection_id":152713,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:11:59] local.INFO: Processing buffer {"connection_id":152713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:11:59] local.INFO: IMEI packet received {"connection_id":152713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":152713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:12:00] local.INFO: TCP Data received {"connection_id":152712,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:12:00] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:12:00] local.INFO: IMEI packet received {"connection_id":152712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":152712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:12:04] local.INFO: TCP Data received {"connection_id":152712,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f6f600012d1968c00720acd8002d005121..."} 
[2026-08-10 10:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f6f600012d1968c00720acd8002d005121..."} 
[2026-08-10 10:12:04] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f6f600012d1968c00720acd8002d005121..."} 
[2026-08-10 10:12:04] local.INFO: Packet analysis {"connection_id":152712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f6"} 
[2026-08-10 10:12:04] local.INFO: Extracted packet for processing {"connection_id":152712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f6"} 
[2026-08-10 10:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302190848001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786336704000,"timestamp_ms":1786336704000,"timestamp_seconds":1786336704,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f6f600"} 
[2026-08-10 10:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302190848001,"66":11808,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302190848001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:12:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302190848001,"power":11808,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":152712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:12:04] local.INFO: GPS data processed {"connection_id":152712,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:12:04] local.INFO: Acknowledgment sent {"connection_id":152712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:12:04] local.INFO: TCP Data received {"connection_id":152713,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:12:04] local.INFO: Processing buffer {"connection_id":152713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:12:04] local.INFO: IMEI packet received {"connection_id":152713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":152713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:12:05] local.INFO: TCP Data received {"connection_id":152713,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:12:05] local.INFO: Processing buffer {"connection_id":152713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:12:05] local.INFO: Packet analysis {"connection_id":152713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:12:05] local.INFO: Extracted packet for processing {"connection_id":152713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757902073971308544,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336732000,"timestamp_ms":1786336732000,"timestamp_seconds":1786336732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f76360"} 
[2026-08-10 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-08-10 10:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 10:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302126080001,"66":26039,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757902073971308544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:12:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757902073971308544,"description":"Unknown IO ID 45"} 
[2026-08-10 10:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302126080001,"power":26039,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757902073971308544}} 
[2026-08-10 10:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":152713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:12:05] local.INFO: GPS data processed {"connection_id":152713,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:12:05] local.INFO: Acknowledgment sent {"connection_id":152713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:12:14] local.INFO: TCP Data received {"connection_id":151796,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:12:14] local.INFO: Processing buffer {"connection_id":151796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:12:14] local.INFO: IMEI packet received {"connection_id":151796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":151796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:12:19] local.INFO: TCP Data received {"connection_id":151796,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:12:19] local.INFO: Processing buffer {"connection_id":151796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:12:19] local.INFO: IMEI packet received {"connection_id":151796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":151796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:12:21] local.INFO: TCP Data received {"connection_id":151796,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:12:21] local.INFO: Processing buffer {"connection_id":151796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:12:21] local.INFO: Packet analysis {"connection_id":151796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:12:21] local.INFO: Extracted packet for processing {"connection_id":151796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:12:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302154240001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786336841000,"timestamp_ms":1786336841000,"timestamp_seconds":1786336841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f90d28"} 
[2026-08-10 10:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302154240001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302154240001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:12:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:12:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302154240001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":151796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:12:21] local.INFO: GPS data processed {"connection_id":151796,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:12:21] local.INFO: Acknowledgment sent {"connection_id":151796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:12:35] local.INFO: TCP Data received {"connection_id":152712,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f74808012d1968c00720acd8002d005122..."} 
[2026-08-10 10:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f74808012d1968c00720acd8002d005122..."} 
[2026-08-10 10:12:35] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f74808012d1968c00720acd8002d005122..."} 
[2026-08-10 10:12:35] local.INFO: Packet analysis {"connection_id":152712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:12:35] local.INFO: Extracted packet for processing {"connection_id":152712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302196224001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786336725000,"timestamp_ms":1786336725000,"timestamp_seconds":1786336725,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f74808"} 
[2026-08-10 10:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:12: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-08-10 10: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":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-10 10:12:35] 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-08-10 10: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-08-10 10:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302196224001,"66":11678,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302196224001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:12:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302196224001,"power":11678,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":152712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:12:35] local.INFO: GPS data processed {"connection_id":152712,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:12:35] local.INFO: Acknowledgment sent {"connection_id":152712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:12:37] local.INFO: TCP Data received {"connection_id":152713,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:12:37] local.INFO: Processing buffer {"connection_id":152713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:12:37] local.INFO: Packet analysis {"connection_id":152713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:12:37] local.INFO: Extracted packet for processing {"connection_id":152713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757902073971308544,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786336732000,"timestamp_ms":1786336732000,"timestamp_seconds":1786336732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f76360"} 
[2026-08-10 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-08-10 10:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 10:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302126080001,"66":26039,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757902073971308544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:12:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757902073971308544,"description":"Unknown IO ID 45"} 
[2026-08-10 10:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302126080001,"power":26039,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757902073971308544}} 
[2026-08-10 10:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":152713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:12:37] local.INFO: GPS data processed {"connection_id":152713,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:12:37] local.INFO: Acknowledgment sent {"connection_id":152713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:12:52] local.INFO: TCP Data received {"connection_id":151796,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:12:52] local.INFO: Processing buffer {"connection_id":151796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:12:52] local.INFO: Packet analysis {"connection_id":151796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:12:52] local.INFO: Extracted packet for processing {"connection_id":151796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:12:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302154240001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786336841000,"timestamp_ms":1786336841000,"timestamp_seconds":1786336841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f90d28"} 
[2026-08-10 10:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302154240001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302154240001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:12:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:12:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302154240001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":151796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:12:52] local.INFO: GPS data processed {"connection_id":151796,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:12:52] local.INFO: Acknowledgment sent {"connection_id":151796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:12:53] local.INFO: TCP Data received {"connection_id":152714,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:12:53] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:12:53] local.INFO: IMEI packet received {"connection_id":152714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":152714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:12:55] local.INFO: TCP Data received {"connection_id":152714,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:12:55] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:12:55] local.INFO: IMEI packet received {"connection_id":152714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":152714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:12:59] local.INFO: TCP Data received {"connection_id":154174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:12:59] local.INFO: Processing buffer {"connection_id":154174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:12:59] local.INFO: IMEI packet received {"connection_id":154174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":154174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:13:00] local.INFO: TCP Data received {"connection_id":152714,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:13:00] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:13:00] local.INFO: IMEI packet received {"connection_id":152714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":152714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:13:01] local.INFO: TCP Data received {"connection_id":152714,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f79a10012d1968c00720acd8002d00511f..."} 
[2026-08-10 10:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f79a10012d1968c00720acd8002d00511f..."} 
[2026-08-10 10:13:01] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f79a10012d1968c00720acd8002d00511f..."} 
[2026-08-10 10:13:01] local.INFO: Packet analysis {"connection_id":152714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:13:01] local.INFO: Extracted packet for processing {"connection_id":152714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":31,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302201600001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786336746000,"timestamp_ms":1786336746000,"timestamp_seconds":1786336746,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f79a10"} 
[2026-08-10 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-08-10 10:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-10 10:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302201600001,"66":12363,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302201600001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:13:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302201600001,"power":12363,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":152714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:13:01] local.INFO: GPS data processed {"connection_id":152714,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:13:01] local.INFO: Acknowledgment sent {"connection_id":152714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:13:04] local.INFO: TCP Data received {"connection_id":151797,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:13:04] local.INFO: Processing buffer {"connection_id":151797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:13:04] local.INFO: IMEI packet received {"connection_id":151797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":151797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:13:04] local.INFO: TCP Data received {"connection_id":154174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:13:04] local.INFO: Processing buffer {"connection_id":154174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:13:04] local.INFO: IMEI packet received {"connection_id":154174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":154174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:13:05] local.INFO: TCP Data received {"connection_id":154174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:13:05] local.INFO: Processing buffer {"connection_id":154174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:13:05] local.INFO: Packet analysis {"connection_id":154174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:13:05] local.INFO: Extracted packet for processing {"connection_id":154174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757902073971308544,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336732000,"timestamp_ms":1786336732000,"timestamp_seconds":1786336732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f76360"} 
[2026-08-10 10:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 10: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-08-10 10:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302126080001,"66":26039,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757902073971308544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:13:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757902073971308544,"description":"Unknown IO ID 45"} 
[2026-08-10 10:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302126080001,"power":26039,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757902073971308544}} 
[2026-08-10 10:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":154174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:13:05] local.INFO: GPS data processed {"connection_id":154174,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:13:05] local.INFO: Acknowledgment sent {"connection_id":154174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:13:14] local.INFO: TCP Data received {"connection_id":154175,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:13:14] local.INFO: Processing buffer {"connection_id":154175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:13:14] local.INFO: IMEI packet received {"connection_id":154175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":154175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:13:19] local.INFO: TCP Data received {"connection_id":154175,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:13:19] local.INFO: Processing buffer {"connection_id":154175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:13:19] local.INFO: IMEI packet received {"connection_id":154175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":154175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:13:20] local.INFO: TCP Data received {"connection_id":154175,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:13:20] local.INFO: Processing buffer {"connection_id":154175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:13:20] local.INFO: Packet analysis {"connection_id":154175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:13:20] local.INFO: Extracted packet for processing {"connection_id":154175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:13:20] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302154240001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786336841000,"timestamp_ms":1786336841000,"timestamp_seconds":1786336841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f90d28"} 
[2026-08-10 10:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:13: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-08-10 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302154240001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302154240001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:13:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:13:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302154240001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":154175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:13:20] local.INFO: GPS data processed {"connection_id":154175,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:13:20] local.INFO: Acknowledgment sent {"connection_id":154175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:13:32] local.INFO: TCP Data received {"connection_id":152714,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f7ec18012d1968c00720acd8002d005120..."} 
[2026-08-10 10:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f7ec18012d1968c00720acd8002d005120..."} 
[2026-08-10 10:13:32] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f7ec18012d1968c00720acd8002d005120..."} 
[2026-08-10 10:13:32] local.INFO: Packet analysis {"connection_id":152714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:13:32] local.INFO: Extracted packet for processing {"connection_id":152714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302206976001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786336767000,"timestamp_ms":1786336767000,"timestamp_seconds":1786336767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f7ec18"} 
[2026-08-10 10:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 10:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302206976001,"66":12298,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302206976001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:13:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302206976001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":152714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:13:32] local.INFO: GPS data processed {"connection_id":152714,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:13:32] local.INFO: Acknowledgment sent {"connection_id":152714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:13:35] local.INFO: TCP Data received {"connection_id":154174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:13:35] local.INFO: Processing buffer {"connection_id":154174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:13:35] local.INFO: Packet analysis {"connection_id":154174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:13:35] local.INFO: Extracted packet for processing {"connection_id":154174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757902073971308544,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786336732000,"timestamp_ms":1786336732000,"timestamp_seconds":1786336732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f76360"} 
[2026-08-10 10:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 10:13: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-08-10 10:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302126080001,"66":26039,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757902073971308544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:13:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757902073971308544,"description":"Unknown IO ID 45"} 
[2026-08-10 10:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302126080001,"power":26039,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757902073971308544}} 
[2026-08-10 10:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":154174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:13:35] local.INFO: GPS data processed {"connection_id":154174,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:13:35] local.INFO: Acknowledgment sent {"connection_id":154174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:13:43] local.INFO: TCP Data received {"connection_id":152715,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:13:43] local.INFO: Processing buffer {"connection_id":152715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:13:43] local.INFO: IMEI packet received {"connection_id":152715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":152715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:13:49] local.INFO: TCP Data received {"connection_id":152715,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:13:49] local.INFO: Processing buffer {"connection_id":152715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:13:49] local.INFO: IMEI packet received {"connection_id":152715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":152715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:13:52] local.INFO: TCP Data received {"connection_id":154175,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:13:52] local.INFO: Processing buffer {"connection_id":154175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:13:52] local.INFO: Packet analysis {"connection_id":154175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:13:52] local.INFO: Extracted packet for processing {"connection_id":154175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:13:52] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302154240001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786336841000,"timestamp_ms":1786336841000,"timestamp_seconds":1786336841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f90d28"} 
[2026-08-10 10:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302154240001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302154240001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:13:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:13:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302154240001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":154175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:13:53] local.INFO: GPS data processed {"connection_id":154175,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:13:53] local.INFO: Acknowledgment sent {"connection_id":154175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:13:53] local.INFO: TCP Data received {"connection_id":152715,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f40030012d0b13c007029e780010002d18..."} 
[2026-08-10 10:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f40030012d0b13c007029e780010002d18..."} 
[2026-08-10 10:13:53] local.INFO: Processing buffer {"connection_id":152715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f40030012d0b13c007029e780010002d18..."} 
[2026-08-10 10:13:53] local.INFO: Packet analysis {"connection_id":152715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:13:53] local.INFO: Extracted packet for processing {"connection_id":152715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:13:53] local.INFO: GPS Element Parsed {"raw_longitude":755700672,"raw_latitude":117612152,"longitude_deg":75.5700672,"latitude_deg":11.7612152,"altitude":16,"angle":45,"satellites":24,"speed":1,"hex_longitude":"2d0b13c0","hex_latitude":"07029e78","is_valid_coordinates":true} 
[2026-08-10 10:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302146304001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27345116175794176,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571771904,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786336510000,"timestamp_ms":1786336510000,"timestamp_seconds":1786336510,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f40030"} 
[2026-08-10 10:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 10:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302146304001,"66":13178,"17":206,"94":11008,"24":1,"16":27345116175794176,"45":798122326571771904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 10:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302146304001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:13:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27345116175794176,"km_value":27345116175794.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571771904,"description":"Unknown IO ID 45"} 
[2026-08-10 10:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302146304001,"power":13178,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798122326571771904}} 
[2026-08-10 10:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":152715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619166,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:13:54] local.INFO: GPS data processed {"connection_id":152715,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:13:54] local.INFO: Acknowledgment sent {"connection_id":152715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:13:54] local.INFO: TCP Data received {"connection_id":152715,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f40800012d0b140007029ea80011004118..."} 
[2026-08-10 10:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f40800012d0b140007029ea80011004118..."} 
[2026-08-10 10:13:54] local.INFO: Processing buffer {"connection_id":152715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f40800012d0b140007029ea80011004118..."} 
[2026-08-10 10:13:54] local.INFO: Packet analysis {"connection_id":152715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:13:54] local.INFO: Extracted packet for processing {"connection_id":152715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f4"} 
[2026-08-10 10:13:54] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117612200,"longitude_deg":75.5700736,"latitude_deg":11.76122,"altitude":17,"angle":65,"satellites":24,"speed":0,"hex_longitude":"2d0b1400","hex_latitude":"07029ea8","is_valid_coordinates":true} 
[2026-08-10 10:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302146560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27345116175794176,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798192695315953664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786336512000,"timestamp_ms":1786336512000,"timestamp_seconds":1786336512,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f40800"} 
[2026-08-10 10:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-10 10:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302146560001,"66":13059,"17":206,"94":11008,"24":0,"16":27345116175794176,"45":798192695315953664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 10:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302146560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:13:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27345116175794176,"km_value":27345116175794.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":798192695315953664,"description":"Unknown IO ID 45"} 
[2026-08-10 10:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302146560001,"power":13059,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798192695315953664}} 
[2026-08-10 10:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":152715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619167,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:13:55] local.INFO: GPS data processed {"connection_id":152715,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:13:55] local.INFO: Acknowledgment sent {"connection_id":152715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:13:55] local.INFO: TCP Data received {"connection_id":151409,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:13:55] local.INFO: Processing buffer {"connection_id":151409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:13:55] local.INFO: IMEI packet received {"connection_id":151409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":151409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:13:56] local.INFO: TCP Data received {"connection_id":151409,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:13:56] local.INFO: Processing buffer {"connection_id":151409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:13:56] local.INFO: IMEI packet received {"connection_id":151409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":151409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:13:59] local.INFO: TCP Data received {"connection_id":152716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:13:59] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:13:59] local.INFO: IMEI packet received {"connection_id":152716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":152716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:14:00] local.INFO: TCP Data received {"connection_id":151409,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:14:00] local.INFO: Processing buffer {"connection_id":151409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:14:00] local.INFO: IMEI packet received {"connection_id":151409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":151409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:14:01] local.INFO: TCP Data received {"connection_id":151409,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f83e20012d1968c00720acd8002d005122..."} 
[2026-08-10 10:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f83e20012d1968c00720acd8002d005122..."} 
[2026-08-10 10:14:01] local.INFO: Processing buffer {"connection_id":151409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f83e20012d1968c00720acd8002d005122..."} 
[2026-08-10 10:14:01] local.INFO: Packet analysis {"connection_id":151409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f8"} 
[2026-08-10 10:14:01] local.INFO: Extracted packet for processing {"connection_id":151409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f8"} 
[2026-08-10 10:14:01] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302212352001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786336788000,"timestamp_ms":1786336788000,"timestamp_seconds":1786336788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f83e20"} 
[2026-08-10 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-08-10 10:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":5116089176692883457,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185640,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1588172115974219416,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":22835756997279744,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513600401236099153,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832565,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3491979443560710350,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4137940993,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":81,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692588,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:01] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,159,154,45,192,172,31,10,66,72,34,246,1,240,32,227,233,4,113,205,81,104,216,30,239,48,2,40,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-10 10:14:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242680929587560448,"timestamp_seconds":3242680929587560.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 10:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302212352001,"66":12374,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302212352001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:14:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:14:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302212352001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":151409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:14:01] local.INFO: GPS data processed {"connection_id":151409,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:14:01] local.INFO: Acknowledgment sent {"connection_id":151409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:14:04] local.INFO: TCP Data received {"connection_id":152716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:14:04] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:14:04] local.INFO: IMEI packet received {"connection_id":152716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":152716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:14:05] local.INFO: TCP Data received {"connection_id":152716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:14:05] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f76360012d342a4006abc280000f010227..."} 
[2026-08-10 10:14:05] local.INFO: Packet analysis {"connection_id":152716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:14:05] local.INFO: Extracted packet for processing {"connection_id":152716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f7"} 
[2026-08-10 10:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757902073971308544,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786336732000,"timestamp_ms":1786336732000,"timestamp_seconds":1786336732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f76360"} 
[2026-08-10 10:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 10:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10: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-08-10 10:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302126080001,"66":26039,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757902073971308544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:14:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757902073971308544,"description":"Unknown IO ID 45"} 
[2026-08-10 10:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302126080001,"power":26039,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757902073971308544}} 
[2026-08-10 10:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":152716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:14:05] local.INFO: GPS data processed {"connection_id":152716,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:14:05] local.INFO: Acknowledgment sent {"connection_id":152716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:14:20] local.INFO: TCP Data received {"connection_id":154176,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:14:20] local.INFO: Processing buffer {"connection_id":154176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:14:20] local.INFO: IMEI packet received {"connection_id":154176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":154176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:14:25] local.INFO: TCP Data received {"connection_id":154176,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:14:25] local.INFO: Processing buffer {"connection_id":154176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:14:25] local.INFO: IMEI packet received {"connection_id":154176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":154176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:14:28] local.INFO: TCP Data received {"connection_id":154176,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:14:28] local.INFO: Processing buffer {"connection_id":154176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:14:28] local.INFO: Packet analysis {"connection_id":154176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:14:28] local.INFO: Extracted packet for processing {"connection_id":154176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302154240001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786336841000,"timestamp_ms":1786336841000,"timestamp_seconds":1786336841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f90d28"} 
[2026-08-10 10:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:14: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-08-10 10:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":154176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":154176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":154176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302154240001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302154240001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:14:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:14:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302154240001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":154176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:14:28] local.INFO: GPS data processed {"connection_id":154176,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:14:28] local.INFO: Acknowledgment sent {"connection_id":154176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:14:31] local.INFO: TCP Data received {"connection_id":154176,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:14:31] local.INFO: Processing buffer {"connection_id":154176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:14:31] local.INFO: Packet analysis {"connection_id":154176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:14:31] local.INFO: Extracted packet for processing {"connection_id":154176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302154240001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786336841000,"timestamp_ms":1786336841000,"timestamp_seconds":1786336841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f90d28"} 
[2026-08-10 10:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302154240001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302154240001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:14:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:14:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302154240001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":154176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:14:31] local.INFO: GPS data processed {"connection_id":154176,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:14:31] local.INFO: Acknowledgment sent {"connection_id":154176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:14:31] local.INFO: TCP Data received {"connection_id":151798,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151798,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:14:31] local.INFO: Processing buffer {"connection_id":151798,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:14:31] local.INFO: IMEI packet received {"connection_id":151798,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":151798,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:14:32] local.INFO: TCP Data received {"connection_id":151409,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f89028012d1968c00720acd8002d005122..."} 
[2026-08-10 10:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f89028012d1968c00720acd8002d005122..."} 
[2026-08-10 10:14:32] local.INFO: Processing buffer {"connection_id":151409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f89028012d1968c00720acd8002d005122..."} 
[2026-08-10 10:14:32] local.INFO: Packet analysis {"connection_id":151409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f8"} 
[2026-08-10 10:14:32] local.INFO: Extracted packet for processing {"connection_id":151409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f8"} 
[2026-08-10 10:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302217728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786336809000,"timestamp_ms":1786336809000,"timestamp_seconds":1786336809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f89028"} 
[2026-08-10 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-08-10 10:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 10:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302217728001,"66":12363,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302217728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:14:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302217728001,"power":12363,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":151409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:14:32] local.INFO: GPS data processed {"connection_id":151409,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:14:32] local.INFO: Acknowledgment sent {"connection_id":151409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:14:36] local.INFO: TCP Data received {"connection_id":152716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:14:36] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:14:36] local.INFO: Packet analysis {"connection_id":152716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:14:36] local.INFO: Extracted packet for processing {"connection_id":152716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302203392001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337033000,"timestamp_ms":1786337033000,"timestamp_seconds":1786337033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fbfb28"} 
[2026-08-10 10:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:14: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-08-10 10:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302203392001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302203392001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:14:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302203392001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":152716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:14:36] local.INFO: GPS data processed {"connection_id":152716,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:14:36] local.INFO: Acknowledgment sent {"connection_id":152716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:14:55] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:14:55] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:14:55] local.INFO: IMEI packet received {"connection_id":151799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":151799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:14:59] local.INFO: TCP Data received {"connection_id":151800,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:14:59] local.INFO: Processing buffer {"connection_id":151800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:14:59] local.INFO: IMEI packet received {"connection_id":151800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":151800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:14:59] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:14:59] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:14:59] local.INFO: IMEI packet received {"connection_id":151799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":151799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:15:00] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f8e230012d1968c00720acd8002d005122..."} 
[2026-08-10 10:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f8e230012d1968c00720acd8002d005122..."} 
[2026-08-10 10:15:00] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f8e230012d1968c00720acd8002d005122..."} 
[2026-08-10 10:15:00] local.INFO: Packet analysis {"connection_id":151799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f8"} 
[2026-08-10 10:15:00] local.INFO: Extracted packet for processing {"connection_id":151799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f8"} 
[2026-08-10 10:15:00] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302223104001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786336830000,"timestamp_ms":1786336830000,"timestamp_seconds":1786336830,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f8e230"} 
[2026-08-10 10:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 10:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302223104001,"66":12341,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302223104001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:15:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302223104001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":151799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:15:00] local.INFO: GPS data processed {"connection_id":151799,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:15:00] local.INFO: Acknowledgment sent {"connection_id":151799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:15:04] local.INFO: TCP Data received {"connection_id":151800,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:15:04] local.INFO: Processing buffer {"connection_id":151800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:15:04] local.INFO: IMEI packet received {"connection_id":151800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":151800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:15:05] local.INFO: TCP Data received {"connection_id":151800,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:15:05] local.INFO: Processing buffer {"connection_id":151800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:15:05] local.INFO: Packet analysis {"connection_id":151800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:15:05] local.INFO: Extracted packet for processing {"connection_id":151800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302203392001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337033000,"timestamp_ms":1786337033000,"timestamp_seconds":1786337033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fbfb28"} 
[2026-08-10 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-08-10 10:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:15: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-08-10 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-08-10 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-08-10 10:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302203392001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302203392001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:15:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302203392001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":151800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:15:05] local.INFO: GPS data processed {"connection_id":151800,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:15:05] local.INFO: Acknowledgment sent {"connection_id":151800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:15:15] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:15:15] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:15:15] local.INFO: IMEI packet received {"connection_id":151801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":151801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:15:20] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:15:20] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:15:20] local.INFO: IMEI packet received {"connection_id":151801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":151801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:15:22] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:15:22] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:15:22] local.INFO: Packet analysis {"connection_id":151801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:15:22] local.INFO: Extracted packet for processing {"connection_id":151801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:15:22] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302154240001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786336841000,"timestamp_ms":1786336841000,"timestamp_seconds":1786336841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f90d28"} 
[2026-08-10 10:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302154240001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302154240001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:15:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:15:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302154240001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":151801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:15:22] local.INFO: GPS data processed {"connection_id":151801,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:15:22] local.INFO: Acknowledgment sent {"connection_id":151801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:15:25] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:15:25] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f90d28012d7d358005ec0eb00000000619..."} 
[2026-08-10 10:15:25] local.INFO: Packet analysis {"connection_id":151801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:15:25] local.INFO: Extracted packet for processing {"connection_id":151801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302154240001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786336841000,"timestamp_ms":1786336841000,"timestamp_seconds":1786336841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f90d28"} 
[2026-08-10 10:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302154240001,"66":2242,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302154240001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:15:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:15:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302154240001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":151801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:15:25] local.INFO: GPS data processed {"connection_id":151801,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:15:25] local.INFO: Acknowledgment sent {"connection_id":151801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:15:31] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9f93438012d1968c00720acd8002d005122..."} 
[2026-08-10 10:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9f93438012d1968c00720acd8002d005122..."} 
[2026-08-10 10:15:31] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9f93438012d1968c00720acd8002d005122..."} 
[2026-08-10 10:15:31] local.INFO: Packet analysis {"connection_id":151799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:15:31] local.INFO: Extracted packet for processing {"connection_id":151799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9f9"} 
[2026-08-10 10:15:31] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302228480001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786336851000,"timestamp_ms":1786336851000,"timestamp_seconds":1786336851,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9f93438"} 
[2026-08-10 10:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 10:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302228480001,"66":12341,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302228480001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:15:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:15:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302228480001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":151799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:15:31] local.INFO: GPS data processed {"connection_id":151799,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:15:31] local.INFO: Acknowledgment sent {"connection_id":151799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:15:37] local.INFO: TCP Data received {"connection_id":151800,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:15:37] local.INFO: Processing buffer {"connection_id":151800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:15:37] local.INFO: Packet analysis {"connection_id":151800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:15:37] local.INFO: Extracted packet for processing {"connection_id":151800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302203392001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786337033000,"timestamp_ms":1786337033000,"timestamp_seconds":1786337033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fbfb28"} 
[2026-08-10 10:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302203392001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302203392001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:15:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302203392001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":151800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:15:37] local.INFO: GPS data processed {"connection_id":151800,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:15:37] local.INFO: Acknowledgment sent {"connection_id":151800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:15:54] local.INFO: TCP Data received {"connection_id":151802,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:15:54] local.INFO: Processing buffer {"connection_id":151802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:15:54] local.INFO: IMEI packet received {"connection_id":151802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":151802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:15:58] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:15:58] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:15:58] local.INFO: Packet analysis {"connection_id":151801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:15:58] local.INFO: Extracted packet for processing {"connection_id":151801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:15:58] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302231296001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786337142000,"timestamp_ms":1786337142000,"timestamp_seconds":1786337142,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fda4f0"} 
[2026-08-10 10:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302231296001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302231296001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:15:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:15:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302231296001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":151801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:15:58] local.INFO: GPS data processed {"connection_id":151801,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:15:58] local.INFO: Acknowledgment sent {"connection_id":151801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:16:00] local.INFO: TCP Data received {"connection_id":151802,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:16:00] local.INFO: Processing buffer {"connection_id":151802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:16:00] local.INFO: IMEI packet received {"connection_id":151802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":151802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:16:01] local.INFO: TCP Data received {"connection_id":151802,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fcba90012d1968c00720acd8002d00511d..."} 
[2026-08-10 10:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fcba90012d1968c00720acd8002d00511d..."} 
[2026-08-10 10:16:01] local.INFO: Processing buffer {"connection_id":151802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fcba90012d1968c00720acd8002d00511d..."} 
[2026-08-10 10:16:01] local.INFO: Packet analysis {"connection_id":151802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fc"} 
[2026-08-10 10:16:01] local.INFO: Extracted packet for processing {"connection_id":151802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fc"} 
[2026-08-10 10:16:01] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":29,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302287616001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337082000,"timestamp_ms":1786337082000,"timestamp_seconds":1786337082,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fcba90"} 
[2026-08-10 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-08-10 10:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 10:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302287616001,"66":14135,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302287616001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:16:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302287616001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":151802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:16:01] local.INFO: GPS data processed {"connection_id":151802,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:16:01] local.INFO: Acknowledgment sent {"connection_id":151802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:16:04] local.INFO: TCP Data received {"connection_id":152717,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:16:04] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:16:04] local.INFO: IMEI packet received {"connection_id":152717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":152717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:16:09] local.INFO: TCP Data received {"connection_id":152717,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:16:09] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:16:09] local.INFO: IMEI packet received {"connection_id":152717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":152717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:16:10] local.INFO: TCP Data received {"connection_id":152717,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:16:10] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:16:10] local.INFO: Packet analysis {"connection_id":152717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:16:10] local.INFO: Extracted packet for processing {"connection_id":152717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302203392001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786337033000,"timestamp_ms":1786337033000,"timestamp_seconds":1786337033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fbfb28"} 
[2026-08-10 10:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:16: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-08-10 10: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-08-10 10:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:16: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-08-10 10:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302203392001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302203392001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:16:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302203392001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":152717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:16:10] local.INFO: GPS data processed {"connection_id":152717,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:16:10] local.INFO: Acknowledgment sent {"connection_id":152717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:16:15] local.INFO: TCP Data received {"connection_id":154177,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:16:15] local.INFO: Processing buffer {"connection_id":154177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:16:15] local.INFO: IMEI packet received {"connection_id":154177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":154177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:16:18] local.INFO: TCP Data received {"connection_id":154178,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154178,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:16:18] local.INFO: Processing buffer {"connection_id":154178,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:16:18] local.INFO: IMEI packet received {"connection_id":154178,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":154178,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:16:20] local.INFO: TCP Data received {"connection_id":154177,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:16:20] local.INFO: Processing buffer {"connection_id":154177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:16:20] local.INFO: IMEI packet received {"connection_id":154177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":154177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:16:21] local.INFO: TCP Data received {"connection_id":154177,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:16:21] local.INFO: Processing buffer {"connection_id":154177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:16:21] local.INFO: Packet analysis {"connection_id":154177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:16:21] local.INFO: Extracted packet for processing {"connection_id":154177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:16:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302231296001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786337142000,"timestamp_ms":1786337142000,"timestamp_seconds":1786337142,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fda4f0"} 
[2026-08-10 10:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302231296001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302231296001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:16:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:16:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302231296001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":154177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:16:21] local.INFO: GPS data processed {"connection_id":154177,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:16:21] local.INFO: Acknowledgment sent {"connection_id":154177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:16:31] local.INFO: TCP Data received {"connection_id":151802,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fd0c98012d1968c00720acd8002d00511e..."} 
[2026-08-10 10:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fd0c98012d1968c00720acd8002d00511e..."} 
[2026-08-10 10:16:31] local.INFO: Processing buffer {"connection_id":151802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fd0c98012d1968c00720acd8002d00511e..."} 
[2026-08-10 10:16:31] local.INFO: Packet analysis {"connection_id":151802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:16:31] local.INFO: Extracted packet for processing {"connection_id":151802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:16:31] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581912,"longitude_deg":75.6639936,"latitude_deg":11.9581912,"altitude":45,"angle":81,"satellites":30,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-08-10 10:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302292992001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11350563476209664,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371609088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786337103000,"timestamp_ms":1786337103000,"timestamp_seconds":1786337103,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fd0c98"} 
[2026-08-10 10:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-10 10:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302292992001,"66":14102,"103":206,"83":41984,"24":0,"16":11350563476209664,"45":1830924385371609088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302292992001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:16:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:16:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11350563476209664,"km_value":11350563476209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371609088,"description":"Unknown IO ID 45"} 
[2026-08-10 10:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302292992001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385371609088}} 
[2026-08-10 10:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":151802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:16:31] local.INFO: GPS data processed {"connection_id":151802,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:16:31] local.INFO: Acknowledgment sent {"connection_id":151802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:16:41] local.INFO: TCP Data received {"connection_id":152717,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:16:41] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:16:41] local.INFO: Packet analysis {"connection_id":152717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:16:41] local.INFO: Extracted packet for processing {"connection_id":152717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:16:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302203392001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786337033000,"timestamp_ms":1786337033000,"timestamp_seconds":1786337033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fbfb28"} 
[2026-08-10 10:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:16: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-08-10 10:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302203392001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302203392001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:16:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:16:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302203392001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":152717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:16:41] local.INFO: GPS data processed {"connection_id":152717,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:16:41] local.INFO: Acknowledgment sent {"connection_id":152717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:16:54] local.INFO: TCP Data received {"connection_id":154177,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:16:54] local.INFO: Processing buffer {"connection_id":154177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:16:54] local.INFO: Packet analysis {"connection_id":154177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:16:54] local.INFO: Extracted packet for processing {"connection_id":154177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302231296001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786337142000,"timestamp_ms":1786337142000,"timestamp_seconds":1786337142,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fda4f0"} 
[2026-08-10 10:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":154177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":154177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":154177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302231296001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302231296001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:16:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:16:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302231296001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":154177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:16:54] local.INFO: GPS data processed {"connection_id":154177,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:16:54] local.INFO: Acknowledgment sent {"connection_id":154177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:16:57] local.INFO: TCP Data received {"connection_id":154179,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:16:57] local.INFO: Processing buffer {"connection_id":154179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:16:57] local.INFO: IMEI packet received {"connection_id":154179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":154179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:16:57] local.INFO: TCP Data received {"connection_id":154179,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:16:57] local.INFO: Processing buffer {"connection_id":154179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:16:57] local.INFO: IMEI packet received {"connection_id":154179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":154179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:16:59] local.INFO: TCP Data received {"connection_id":151803,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:16:59] local.INFO: Processing buffer {"connection_id":151803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:16:59] local.INFO: IMEI packet received {"connection_id":151803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":151803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:17:00] local.INFO: TCP Data received {"connection_id":154179,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:17:00] local.INFO: Processing buffer {"connection_id":154179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:17:00] local.INFO: IMEI packet received {"connection_id":154179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":154179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:17:01] local.INFO: TCP Data received {"connection_id":154179,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fdd3d0012d19b9c00720a120003100d320..."} 
[2026-08-10 10:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fdd3d0012d19b9c00720a120003100d320..."} 
[2026-08-10 10:17:01] local.INFO: Processing buffer {"connection_id":154179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fdd3d0012d19b9c00720a120003100d320..."} 
[2026-08-10 10:17:01] local.INFO: Packet analysis {"connection_id":154179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:17:01] local.INFO: Extracted packet for processing {"connection_id":154179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:17:01] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119578912,"longitude_deg":75.6660672,"latitude_deg":11.9578912,"altitude":49,"angle":211,"satellites":32,"speed":23,"hex_longitude":"2d19b9c0","hex_latitude":"0720a120","is_valid_coordinates":true} 
[2026-08-10 10:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302311168001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11351701642543104,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205429760,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337154000,"timestamp_ms":1786337154000,"timestamp_seconds":1786337154,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fdd3d0"} 
[2026-08-10 10:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-10 10:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302311168001,"66":14265,"103":206,"83":41984,"24":23,"16":11351701642543104,"45":1854075702205429760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302311168001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:17:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11351701642543104,"km_value":11351701642543.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205429760,"description":"Unknown IO ID 45"} 
[2026-08-10 10:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302311168001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1854075702205429760}} 
[2026-08-10 10:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":154179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:17:01] local.INFO: GPS data processed {"connection_id":154179,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:17:01] local.INFO: Acknowledgment sent {"connection_id":154179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:17:04] local.INFO: TCP Data received {"connection_id":151803,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:17:04] local.INFO: Processing buffer {"connection_id":151803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:17:04] local.INFO: IMEI packet received {"connection_id":151803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":151803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:17:05] local.INFO: TCP Data received {"connection_id":151803,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:17:05] local.INFO: Processing buffer {"connection_id":151803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:17:05] local.INFO: Packet analysis {"connection_id":151803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:17:05] local.INFO: Extracted packet for processing {"connection_id":151803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302203392001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337033000,"timestamp_ms":1786337033000,"timestamp_seconds":1786337033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fbfb28"} 
[2026-08-10 10:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10: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-08-10 10:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302203392001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302203392001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:17:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302203392001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":151803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:17:05] local.INFO: GPS data processed {"connection_id":151803,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:17:05] local.INFO: Acknowledgment sent {"connection_id":151803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:17:14] local.INFO: TCP Data received {"connection_id":152718,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:17:14] local.INFO: Processing buffer {"connection_id":152718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:17:14] local.INFO: IMEI packet received {"connection_id":152718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 10:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":152718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:17:20] local.INFO: TCP Data received {"connection_id":152718,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:17:20] local.INFO: Processing buffer {"connection_id":152718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 10:17:20] local.INFO: IMEI packet received {"connection_id":152718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 10:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":152718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:17:22] local.INFO: TCP Data received {"connection_id":152718,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:17:22] local.INFO: Processing buffer {"connection_id":152718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:17:22] local.INFO: Packet analysis {"connection_id":152718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:17:22] local.INFO: Extracted packet for processing {"connection_id":152718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:17:22] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302231296001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786337142000,"timestamp_ms":1786337142000,"timestamp_seconds":1786337142,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fda4f0"} 
[2026-08-10 10:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:17: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302231296001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302231296001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:17:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:17:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302231296001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":152718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:17:22] local.INFO: GPS data processed {"connection_id":152718,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:17:22] local.INFO: Acknowledgment sent {"connection_id":152718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:17:32] local.INFO: TCP Data received {"connection_id":154179,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fdf6f8012d19ae0007209008003000b921..."} 
[2026-08-10 10:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fdf6f8012d19ae0007209008003000b921..."} 
[2026-08-10 10:17:32] local.INFO: Processing buffer {"connection_id":154179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fdf6f8012d19ae0007209008003000b921..."} 
[2026-08-10 10:17:32] local.INFO: Packet analysis {"connection_id":154179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:17:32] local.INFO: Extracted packet for processing {"connection_id":154179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574536,"longitude_deg":75.6657664,"latitude_deg":11.9574536,"altitude":48,"angle":185,"satellites":33,"speed":25,"hex_longitude":"2d19ae00","hex_latitude":"07209008","is_valid_coordinates":true} 
[2026-08-10 10:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302311424001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11351963635548160,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484404224,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786337163000,"timestamp_ms":1786337163000,"timestamp_seconds":1786337163,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fdf6f8"} 
[2026-08-10 10:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 10:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302311424001,"66":14233,"103":206,"83":41984,"24":25,"16":11351963635548160,"45":1853723858484404224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 10:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302311424001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:17:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 10:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11351963635548160,"km_value":11351963635548.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484404224,"description":"Unknown IO ID 45"} 
[2026-08-10 10:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302311424001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1853723858484404224}} 
[2026-08-10 10:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":154179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:17:32] local.INFO: GPS data processed {"connection_id":154179,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:17:32] local.INFO: Acknowledgment sent {"connection_id":154179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:17:36] local.INFO: TCP Data received {"connection_id":151803,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:17:36] local.INFO: Processing buffer {"connection_id":151803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:17:36] local.INFO: Packet analysis {"connection_id":151803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:17:36] local.INFO: Extracted packet for processing {"connection_id":151803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302203392001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337033000,"timestamp_ms":1786337033000,"timestamp_seconds":1786337033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fbfb28"} 
[2026-08-10 10:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302203392001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302203392001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:17:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302203392001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":151803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:17:36] local.INFO: GPS data processed {"connection_id":151803,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:17:36] local.INFO: Acknowledgment sent {"connection_id":151803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:17:54] local.INFO: TCP Data received {"connection_id":152718,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:17:54] local.INFO: Processing buffer {"connection_id":152718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fda4f0012d7d358005ec0eb0000000061c..."} 
[2026-08-10 10:17:54] local.INFO: Packet analysis {"connection_id":152718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:17:54] local.INFO: Extracted packet for processing {"connection_id":152718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fd"} 
[2026-08-10 10:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356336,"longitude_deg":76.3180416,"latitude_deg":9.9356336,"altitude":0,"angle":6,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-10 10:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302231296001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430234112,"note":"Value kept but may cause issues"} 
[2026-08-10 10:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786337142000,"timestamp_ms":1786337142000,"timestamp_seconds":1786337142,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fda4f0"} 
[2026-08-10 10:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 10:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 10:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 10:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 10:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302231296001,"66":2231,"109":206,"87":13824,"24":0,"16":117209726227316736,"45":9022258191430234112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-10 10:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 10:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 10:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302231296001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:17:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 10:17:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 10:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430234112,"description":"Unknown IO ID 45"} 
[2026-08-10 10:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302231296001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430234112}} 
[2026-08-10 10:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":152718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:17:54] local.INFO: GPS data processed {"connection_id":152718,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:17:54] local.INFO: Acknowledgment sent {"connection_id":152718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:17:54] local.INFO: TCP Data received {"connection_id":151410,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:17:54] local.INFO: Processing buffer {"connection_id":151410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:17:54] local.INFO: IMEI packet received {"connection_id":151410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":151410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:17:57] local.INFO: TCP Data received {"connection_id":151410,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:17:57] local.INFO: Processing buffer {"connection_id":151410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:17:57] local.INFO: IMEI packet received {"connection_id":151410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":151410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:17:58] local.INFO: TCP Data received {"connection_id":151410,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:17:58] local.INFO: Processing buffer {"connection_id":151410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:17:58] local.INFO: IMEI packet received {"connection_id":151410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":151410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:17:59] local.INFO: TCP Data received {"connection_id":151411,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:17:59] local.INFO: Processing buffer {"connection_id":151411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:17:59] local.INFO: IMEI packet received {"connection_id":151411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":151411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:18:00] local.INFO: TCP Data received {"connection_id":151410,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:18:00] local.INFO: Processing buffer {"connection_id":151410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:18:00] local.INFO: IMEI packet received {"connection_id":151410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":151410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:18:01] local.INFO: TCP Data received {"connection_id":151410,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9feed10012d19de8007200930002e00d020..."} 
[2026-08-10 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9feed10012d19de8007200930002e00d020..."} 
[2026-08-10 10:18:01] local.INFO: Processing buffer {"connection_id":151410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9feed10012d19de8007200930002e00d020..."} 
[2026-08-10 10:18:01] local.INFO: Packet analysis {"connection_id":151410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fe"} 
[2026-08-10 10:18:01] local.INFO: Extracted packet for processing {"connection_id":151410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fe"} 
[2026-08-10 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":756670080,"raw_latitude":119540016,"longitude_deg":75.667008,"latitude_deg":11.9540016,"altitude":46,"angle":208,"satellites":32,"speed":10,"hex_longitude":"2d19de80","hex_latitude":"07200930","is_valid_coordinates":true} 
[2026-08-10 10:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302329600001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11353810471485440,"note":"Value kept but may cause issues"} 
[2026-08-10 10:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864138432612804608,"note":"Value kept but may cause issues"} 
[2026-08-10 10:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337226000,"timestamp_ms":1786337226000,"timestamp_seconds":1786337226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9feed10"} 
[2026-08-10 10:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-10 10:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302329600001,"66":14243,"101":206,"83":41984,"24":10,"16":11353810471485440,"45":1864138432612804608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302329600001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:18:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11353810471485440,"km_value":11353810471485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864138432612804608,"description":"Unknown IO ID 45"} 
[2026-08-10 10:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302329600001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1864138432612804608}} 
[2026-08-10 10:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":151410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:18:01] local.INFO: GPS data processed {"connection_id":151410,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:18:01] local.INFO: Acknowledgment sent {"connection_id":151410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:18:04] local.INFO: TCP Data received {"connection_id":151411,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:18:04] local.INFO: Processing buffer {"connection_id":151411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:18:04] local.INFO: IMEI packet received {"connection_id":151411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":151411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:18:05] local.INFO: TCP Data received {"connection_id":151411,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:18:05] local.INFO: Processing buffer {"connection_id":151411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:18:05] local.INFO: Packet analysis {"connection_id":151411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:18:05] local.INFO: Extracted packet for processing {"connection_id":151411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302203392001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337033000,"timestamp_ms":1786337033000,"timestamp_seconds":1786337033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fbfb28"} 
[2026-08-10 10:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:18: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-08-10 10:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302203392001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302203392001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:18:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302203392001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":151411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:18:05] local.INFO: GPS data processed {"connection_id":151411,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:18:05] local.INFO: Acknowledgment sent {"connection_id":151411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:18:32] local.INFO: TCP Data received {"connection_id":151410,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ff8950012d19b200071feeb0002e01141d..."} 
[2026-08-10 10:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ff8950012d19b200071feeb0002e01141d..."} 
[2026-08-10 10:18:32] local.INFO: Processing buffer {"connection_id":151410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ff8950012d19b200071feeb0002e01141d..."} 
[2026-08-10 10:18:32] local.INFO: Packet analysis {"connection_id":151410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:18:32] local.INFO: Extracted packet for processing {"connection_id":151410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756658688,"raw_latitude":119533232,"longitude_deg":75.6658688,"latitude_deg":11.9533232,"altitude":46,"angle":276,"satellites":29,"speed":17,"hex_longitude":"2d19b200","hex_latitude":"071feeb0","is_valid_coordinates":true} 
[2026-08-10 10:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302339584001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11354493371285504,"note":"Value kept but may cause issues"} 
[2026-08-10 10:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852457221077506048,"note":"Value kept but may cause issues"} 
[2026-08-10 10:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786337266000,"timestamp_ms":1786337266000,"timestamp_seconds":1786337266,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ff8950"} 
[2026-08-10 10:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-10 10:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302339584001,"66":12841,"101":206,"83":41984,"24":17,"16":11354493371285504,"45":1852457221077506048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302339584001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:18:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11354493371285504,"km_value":11354493371285.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852457221077506048,"description":"Unknown IO ID 45"} 
[2026-08-10 10:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302339584001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1852457221077506048}} 
[2026-08-10 10:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":151410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:18:32] local.INFO: GPS data processed {"connection_id":151410,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:18:32] local.INFO: Acknowledgment sent {"connection_id":151410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:18:36] local.INFO: TCP Data received {"connection_id":151411,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:18:36] local.INFO: Processing buffer {"connection_id":151411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:18:36] local.INFO: Packet analysis {"connection_id":151411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:18:36] local.INFO: Extracted packet for processing {"connection_id":151411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302203392001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337033000,"timestamp_ms":1786337033000,"timestamp_seconds":1786337033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fbfb28"} 
[2026-08-10 10:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302203392001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302203392001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:18:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302203392001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":151411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:18:36] local.INFO: GPS data processed {"connection_id":151411,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:18:36] local.INFO: Acknowledgment sent {"connection_id":151411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:18:56] local.INFO: TCP Data received {"connection_id":154181,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:18:56] local.INFO: Processing buffer {"connection_id":154181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:18:56] local.INFO: IMEI packet received {"connection_id":154181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":154181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:18:59] local.INFO: TCP Data received {"connection_id":154181,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:18:59] local.INFO: Processing buffer {"connection_id":154181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:18:59] local.INFO: IMEI packet received {"connection_id":154181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":154181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:19:00] local.INFO: TCP Data received {"connection_id":151805,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:19:00] local.INFO: Processing buffer {"connection_id":151805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:19:00] local.INFO: IMEI packet received {"connection_id":151805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":151805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:19:00] local.INFO: TCP Data received {"connection_id":154181,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:19:00] local.INFO: Processing buffer {"connection_id":154181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:19:00] local.INFO: IMEI packet received {"connection_id":154181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":154181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:19:03] local.INFO: TCP Data received {"connection_id":154181,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:19:03] local.INFO: Processing buffer {"connection_id":154181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:19:03] local.INFO: IMEI packet received {"connection_id":154181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":154181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:19:03] local.INFO: TCP Data received {"connection_id":154181,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ff9508012d19acc0071ff000002f01221e..."} 
[2026-08-10 10:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ff9508012d19acc0071ff000002f01221e..."} 
[2026-08-10 10:19:03] local.INFO: Processing buffer {"connection_id":154181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ff9508012d19acc0071ff000002f01221e..."} 
[2026-08-10 10:19:03] local.INFO: Packet analysis {"connection_id":154181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:19:03] local.INFO: Extracted packet for processing {"connection_id":154181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119533568,"longitude_deg":75.6657344,"latitude_deg":11.9533568,"altitude":47,"angle":290,"satellites":30,"speed":17,"hex_longitude":"2d19acc0","hex_latitude":"071ff000","is_valid_coordinates":true} 
[2026-08-10 10:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302340096001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11354562090762240,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851542427403202560,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786337269000,"timestamp_ms":1786337269000,"timestamp_seconds":1786337269,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ff9508"} 
[2026-08-10 10:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302340096001,"66":13352,"101":206,"83":41984,"24":17,"16":11354562090762240,"45":1851542427403202560},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302340096001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:19:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11354562090762240,"km_value":11354562090762.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851542427403202560,"description":"Unknown IO ID 45"} 
[2026-08-10 10:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302340096001,"power":13352,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1851542427403202560}} 
[2026-08-10 10:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":154181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:19:03] local.INFO: GPS data processed {"connection_id":154181,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:19:03] local.INFO: Acknowledgment sent {"connection_id":154181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:19:04] local.INFO: TCP Data received {"connection_id":151805,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:19:04] local.INFO: Processing buffer {"connection_id":151805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:19:04] local.INFO: IMEI packet received {"connection_id":151805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":151805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:19:05] local.INFO: TCP Data received {"connection_id":154181,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ffa4a8012d19a680071ff1200030010b1f..."} 
[2026-08-10 10:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ffa4a8012d19a680071ff1200030010b1f..."} 
[2026-08-10 10:19:05] local.INFO: Processing buffer {"connection_id":154181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ffa4a8012d19a680071ff1200030010b1f..."} 
[2026-08-10 10:19:05] local.INFO: Packet analysis {"connection_id":154181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:19:05] local.INFO: Extracted packet for processing {"connection_id":154181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756655744,"raw_latitude":119533856,"longitude_deg":75.6655744,"latitude_deg":11.9533856,"altitude":48,"angle":267,"satellites":31,"speed":13,"hex_longitude":"2d19a680","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-10 10:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302340864001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11354639400173568,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683775557632,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337273000,"timestamp_ms":1786337273000,"timestamp_seconds":1786337273,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ffa4a8"} 
[2026-08-10 10:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-10 10:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302340864001,"66":13243,"101":206,"83":41984,"24":13,"16":11354639400173568,"45":1850064683775557632},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302340864001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:19:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11354639400173568,"km_value":11354639400173.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683775557632,"description":"Unknown IO ID 45"} 
[2026-08-10 10:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302340864001,"power":13243,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1850064683775557632}} 
[2026-08-10 10:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":154181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:19:05] local.INFO: GPS data processed {"connection_id":154181,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:19:05] local.INFO: Acknowledgment sent {"connection_id":154181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:19:05] local.INFO: TCP Data received {"connection_id":151805,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:19:05] local.INFO: Processing buffer {"connection_id":151805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fbfb28012d342a4006abc280000f010224..."} 
[2026-08-10 10:19:05] local.INFO: Packet analysis {"connection_id":151805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:19:05] local.INFO: Extracted packet for processing {"connection_id":151805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9fb"} 
[2026-08-10 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302203392001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337033000,"timestamp_ms":1786337033000,"timestamp_seconds":1786337033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fbfb28"} 
[2026-08-10 10:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 10:19: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-08-10 10:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302203392001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302203392001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:19:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302203392001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":151805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:19:05] local.INFO: GPS data processed {"connection_id":151805,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:19:05] local.INFO: Acknowledgment sent {"connection_id":151805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:19:36] local.INFO: TCP Data received {"connection_id":154181,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ffa890012d19a580071ff0c0003000f91f..."} 
[2026-08-10 10:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ffa890012d19a580071ff0c0003000f91f..."} 
[2026-08-10 10:19:36] local.INFO: Processing buffer {"connection_id":154181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ffa890012d19a580071ff0c0003000f91f..."} 
[2026-08-10 10:19:36] local.INFO: Packet analysis {"connection_id":154181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:19:36] local.INFO: Extracted packet for processing {"connection_id":154181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119533760,"longitude_deg":75.6655488,"latitude_deg":11.953376,"altitude":48,"angle":249,"satellites":31,"speed":10,"hex_longitude":"2d19a580","hex_latitude":"071ff0c0","is_valid_coordinates":true} 
[2026-08-10 10:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302341888001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11354652285075456,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848305465171189760,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337274000,"timestamp_ms":1786337274000,"timestamp_seconds":1786337274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ffa890"} 
[2026-08-10 10:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 10:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302341888001,"66":13004,"101":206,"83":41984,"24":10,"16":11354652285075456,"45":1848305465171189760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302341888001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:19:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11354652285075456,"km_value":11354652285075.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848305465171189760,"description":"Unknown IO ID 45"} 
[2026-08-10 10:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302341888001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1848305465171189760}} 
[2026-08-10 10:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":154181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:19:36] local.INFO: GPS data processed {"connection_id":154181,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:19:36] local.INFO: Acknowledgment sent {"connection_id":154181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:19:37] local.INFO: TCP Data received {"connection_id":151805,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:19:37] local.INFO: Processing buffer {"connection_id":151805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:19:37] local.INFO: Packet analysis {"connection_id":151805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:19:37] local.INFO: Extracted packet for processing {"connection_id":151805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302280448001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786337334000,"timestamp_ms":1786337334000,"timestamp_seconds":1786337334,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0092f0"} 
[2026-08-10 10:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:19: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-08-10 10: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-08-10 10:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302280448001,"66":25952,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302280448001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:19:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302280448001,"power":25952,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":151805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:19:37] local.INFO: GPS data processed {"connection_id":151805,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:19:37] local.INFO: Acknowledgment sent {"connection_id":151805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:19:54] local.INFO: TCP Data received {"connection_id":151806,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:19:54] local.INFO: Processing buffer {"connection_id":151806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:19:54] local.INFO: IMEI packet received {"connection_id":151806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":151806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:20:00] local.INFO: TCP Data received {"connection_id":151806,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:20:00] local.INFO: Processing buffer {"connection_id":151806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:20:00] local.INFO: IMEI packet received {"connection_id":151806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":151806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:20:00] local.INFO: TCP Data received {"connection_id":151806,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ffc000012d199e80071feec80033010d20..."} 
[2026-08-10 10:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ffc000012d199e80071feec80033010d20..."} 
[2026-08-10 10:20:01] local.INFO: Processing buffer {"connection_id":151806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ffc000012d199e80071feec80033010d20..."} 
[2026-08-10 10:20:01] local.INFO: Packet analysis {"connection_id":151806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:20:01] local.INFO: Extracted packet for processing {"connection_id":151806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:20:01] local.INFO: GPS Element Parsed {"raw_longitude":756653696,"raw_latitude":119533256,"longitude_deg":75.6653696,"latitude_deg":11.9533256,"altitude":51,"angle":269,"satellites":32,"speed":14,"hex_longitude":"2d199e80","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-08-10 10:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302342144001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11354742479388672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990194454528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337280000,"timestamp_ms":1786337280000,"timestamp_seconds":1786337280,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ffc000"} 
[2026-08-10 10:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-10 10:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302342144001,"66":13276,"101":206,"83":41984,"24":14,"16":11354742479388672,"45":1848023990194454528},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302342144001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:20:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:20:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11354742479388672,"km_value":11354742479388.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990194454528,"description":"Unknown IO ID 45"} 
[2026-08-10 10:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302342144001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1848023990194454528}} 
[2026-08-10 10:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":151806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:20:01] local.INFO: GPS data processed {"connection_id":151806,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:20:01] local.INFO: Acknowledgment sent {"connection_id":151806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:20:04] local.INFO: TCP Data received {"connection_id":151412,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:20:04] local.INFO: Processing buffer {"connection_id":151412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:20:04] local.INFO: IMEI packet received {"connection_id":151412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":151412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:20:09] local.INFO: TCP Data received {"connection_id":151412,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:20:09] local.INFO: Processing buffer {"connection_id":151412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:20:09] local.INFO: IMEI packet received {"connection_id":151412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":151412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:20:10] local.INFO: TCP Data received {"connection_id":151412,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:20:10] local.INFO: Processing buffer {"connection_id":151412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:20:10] local.INFO: Packet analysis {"connection_id":151412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:20:10] local.INFO: Extracted packet for processing {"connection_id":151412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302280448001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786337334000,"timestamp_ms":1786337334000,"timestamp_seconds":1786337334,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0092f0"} 
[2026-08-10 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-08-10 10:20: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-08-10 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:20: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-08-10 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-08-10 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-08-10 10:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302280448001,"66":25952,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302280448001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:20:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302280448001,"power":25952,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":151412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:20:10] local.INFO: GPS data processed {"connection_id":151412,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:20:10] local.INFO: Acknowledgment sent {"connection_id":151412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:20:15] local.INFO: TCP Data received {"connection_id":151412,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:20:15] local.INFO: Processing buffer {"connection_id":151412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:20:15] local.INFO: Packet analysis {"connection_id":151412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:20:15] local.INFO: Extracted packet for processing {"connection_id":151412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302280448001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786337334000,"timestamp_ms":1786337334000,"timestamp_seconds":1786337334,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0092f0"} 
[2026-08-10 10:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302280448001,"66":25952,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302280448001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:20:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302280448001,"power":25952,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":151412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:20:15] local.INFO: GPS data processed {"connection_id":151412,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:20:15] local.INFO: Acknowledgment sent {"connection_id":151412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:20:32] local.INFO: TCP Data received {"connection_id":151806,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ffcfa0012d199880071fefc80034011920..."} 
[2026-08-10 10:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ffcfa0012d199880071fefc80034011920..."} 
[2026-08-10 10:20:32] local.INFO: Processing buffer {"connection_id":151806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ffcfa0012d199880071fefc80034011920..."} 
[2026-08-10 10:20:32] local.INFO: Packet analysis {"connection_id":151806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:20:32] local.INFO: Extracted packet for processing {"connection_id":151806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756652160,"raw_latitude":119533512,"longitude_deg":75.665216,"latitude_deg":11.9533512,"altitude":52,"angle":281,"satellites":32,"speed":16,"hex_longitude":"2d199880","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302343680001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11354815493832704,"note":"Value kept but may cause issues"} 
[2026-08-10 10:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846053665357350912,"note":"Value kept but may cause issues"} 
[2026-08-10 10:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786337284000,"timestamp_ms":1786337284000,"timestamp_seconds":1786337284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ffcfa0"} 
[2026-08-10 10:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 10:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302343680001,"66":13222,"102":206,"83":41984,"24":16,"16":11354815493832704,"45":1846053665357350912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302343680001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:20:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:20:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11354815493832704,"km_value":11354815493832.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846053665357350912,"description":"Unknown IO ID 45"} 
[2026-08-10 10:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302343680001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1846053665357350912}} 
[2026-08-10 10:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":151806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:20:32] local.INFO: GPS data processed {"connection_id":151806,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:20:32] local.INFO: Acknowledgment sent {"connection_id":151806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:20:55] local.INFO: TCP Data received {"connection_id":151413,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:20:55] local.INFO: Processing buffer {"connection_id":151413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:20:55] local.INFO: IMEI packet received {"connection_id":151413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":151413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:20:59] local.INFO: TCP Data received {"connection_id":151807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:20:59] local.INFO: Processing buffer {"connection_id":151807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:20:59] local.INFO: IMEI packet received {"connection_id":151807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":151807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:21:00] local.INFO: TCP Data received {"connection_id":151413,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:21:00] local.INFO: Processing buffer {"connection_id":151413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:21:00] local.INFO: IMEI packet received {"connection_id":151413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":151413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:21:04] local.INFO: TCP Data received {"connection_id":151807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:21:04] local.INFO: Processing buffer {"connection_id":151807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:21:04] local.INFO: IMEI packet received {"connection_id":151807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:21:05] local.INFO: TCP Data received {"connection_id":151413,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9ffdf40012d199180071ff0a80038010e21..."} 
[2026-08-10 10:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9ffdf40012d199180071ff0a80038010e21..."} 
[2026-08-10 10:21:05] local.INFO: Processing buffer {"connection_id":151413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9ffdf40012d199180071ff0a80038010e21..."} 
[2026-08-10 10:21:05] local.INFO: Packet analysis {"connection_id":151413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:21:05] local.INFO: Extracted packet for processing {"connection_id":151413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756650368,"raw_latitude":119533736,"longitude_deg":75.6650368,"latitude_deg":11.9533736,"altitude":56,"angle":270,"satellites":33,"speed":15,"hex_longitude":"2d199180","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-10 10:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302344704001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11354901393178624,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844364815497152512,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337288000,"timestamp_ms":1786337288000,"timestamp_seconds":1786337288,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9ffdf40"} 
[2026-08-10 10:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-10 10:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302344704001,"66":13276,"102":206,"83":41984,"24":15,"16":11354901393178624,"45":1844364815497152512},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302344704001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:21:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11354901393178624,"km_value":11354901393178.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844364815497152512,"description":"Unknown IO ID 45"} 
[2026-08-10 10:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302344704001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1844364815497152512}} 
[2026-08-10 10:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":151413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:21:05] local.INFO: GPS data processed {"connection_id":151413,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:21:05] local.INFO: Acknowledgment sent {"connection_id":151413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:21:05] local.INFO: TCP Data received {"connection_id":151807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:21:05] local.INFO: Processing buffer {"connection_id":151807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:21:05] local.INFO: Packet analysis {"connection_id":151807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:21:05] local.INFO: Extracted packet for processing {"connection_id":151807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302280448001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337334000,"timestamp_ms":1786337334000,"timestamp_seconds":1786337334,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0092f0"} 
[2026-08-10 10:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:21: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-08-10 10:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302280448001,"66":25952,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302280448001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:21:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302280448001,"power":25952,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":151807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:21:05] local.INFO: GPS data processed {"connection_id":151807,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:21:05] local.INFO: Acknowledgment sent {"connection_id":151807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:21:36] local.INFO: TCP Data received {"connection_id":151413,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fff6b0012d198640071ff038003900fd21..."} 
[2026-08-10 10:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fff6b0012d198640071ff038003900fd21..."} 
[2026-08-10 10:21:36] local.INFO: Processing buffer {"connection_id":151413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fff6b0012d198640071ff038003900fd21..."} 
[2026-08-10 10:21:36] local.INFO: Packet analysis {"connection_id":151413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:21:36] local.INFO: Extracted packet for processing {"connection_id":151413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756647488,"raw_latitude":119533624,"longitude_deg":75.6647488,"latitude_deg":11.9533624,"altitude":57,"angle":253,"satellites":33,"speed":20,"hex_longitude":"2d198640","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 10:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302345728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355038832132096,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842394490660235264,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337294000,"timestamp_ms":1786337294000,"timestamp_seconds":1786337294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fff6b0"} 
[2026-08-10 10:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 10:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302345728001,"66":13276,"102":206,"83":41984,"24":20,"16":11355038832132096,"45":1842394490660235264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302345728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:21:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355038832132096,"km_value":11355038832132.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842394490660235264,"description":"Unknown IO ID 45"} 
[2026-08-10 10:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302345728001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1842394490660235264}} 
[2026-08-10 10:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":151413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:21:36] local.INFO: GPS data processed {"connection_id":151413,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:21:36] local.INFO: Acknowledgment sent {"connection_id":151413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:21:36] local.INFO: TCP Data received {"connection_id":151807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:21:36] local.INFO: Processing buffer {"connection_id":151807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:21:36] local.INFO: Packet analysis {"connection_id":151807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:21:36] local.INFO: Extracted packet for processing {"connection_id":151807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302280448001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337334000,"timestamp_ms":1786337334000,"timestamp_seconds":1786337334,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0092f0"} 
[2026-08-10 10:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:21: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-08-10 10:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302280448001,"66":25952,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302280448001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:21:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302280448001,"power":25952,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":151807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:21:36] local.INFO: GPS data processed {"connection_id":151807,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:21:36] local.INFO: Acknowledgment sent {"connection_id":151807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:21:39] local.INFO: TCP Data received {"connection_id":154184,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154184,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:21:39] local.INFO: Processing buffer {"connection_id":154184,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:21:39] local.INFO: IMEI packet received {"connection_id":154184,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":154184,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:21:40] local.INFO: TCP Data received {"connection_id":154184,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea01b400012d0bf2c00702a1e80014005b21..."} 
[2026-08-10 10:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea01b400012d0bf2c00702a1e80014005b21..."} 
[2026-08-10 10:21:40] local.INFO: Processing buffer {"connection_id":154184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea01b400012d0bf2c00702a1e80014005b21..."} 
[2026-08-10 10:21:40] local.INFO: Packet analysis {"connection_id":154184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea01"} 
[2026-08-10 10:21:40] local.INFO: Extracted packet for processing {"connection_id":154184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea01"} 
[2026-08-10 10:21:40] local.INFO: GPS Element Parsed {"raw_longitude":755757760,"raw_latitude":117613032,"longitude_deg":75.575776,"latitude_deg":11.7613032,"altitude":20,"angle":91,"satellites":33,"speed":11,"hex_longitude":"2d0bf2c0","hex_latitude":"0702a1e8","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302373888001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27348908631916544,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856387646751303680,"note":"Value kept but may cause issues"} 
[2026-08-10 10:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786337408000,"timestamp_ms":1786337408000,"timestamp_seconds":1786337408,"priority":1,"record_length":96,"hex_timestamp":"0000019fea01b400"} 
[2026-08-10 10:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 10:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154184,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154184,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302373888001,"66":14407,"37":206,"94":11008,"24":11,"16":27348908631916544,"45":856387646751303680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302373888001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:21:40] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:21:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27348908631916544,"km_value":27348908631916.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":856387646751303680,"description":"Unknown IO ID 45"} 
[2026-08-10 10:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302373888001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":856387646751303680}} 
[2026-08-10 10:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":154184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:21:40] local.INFO: GPS data processed {"connection_id":154184,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:21:40] local.INFO: Acknowledgment sent {"connection_id":154184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:21:55] local.INFO: TCP Data received {"connection_id":151414,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:21:55] local.INFO: Processing buffer {"connection_id":151414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:21:55] local.INFO: IMEI packet received {"connection_id":151414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":151414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:21:59] local.INFO: TCP Data received {"connection_id":152719,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:21:59] local.INFO: Processing buffer {"connection_id":152719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:21:59] local.INFO: IMEI packet received {"connection_id":152719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":152719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:22:00] local.INFO: TCP Data received {"connection_id":151414,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:22:00] local.INFO: Processing buffer {"connection_id":151414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:22:00] local.INFO: IMEI packet received {"connection_id":151414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":151414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:22:00] local.INFO: TCP Data received {"connection_id":151414,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe9fffa98012d198440071fef78003900f121..."} 
[2026-08-10 10:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe9fffa98012d198440071fef78003900f121..."} 
[2026-08-10 10:22:00] local.INFO: Processing buffer {"connection_id":151414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe9fffa98012d198440071fef78003900f121..."} 
[2026-08-10 10:22:00] local.INFO: Packet analysis {"connection_id":151414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:22:00] local.INFO: Extracted packet for processing {"connection_id":151414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe9ff"} 
[2026-08-10 10:22:00] local.INFO: GPS Element Parsed {"raw_longitude":756646976,"raw_latitude":119533432,"longitude_deg":75.6646976,"latitude_deg":11.9533432,"altitude":57,"angle":241,"satellites":33,"speed":20,"hex_longitude":"2d198440","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-08-10 10:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302347264001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355064601935872,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839227897172211712,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786337295000,"timestamp_ms":1786337295000,"timestamp_seconds":1786337295,"priority":1,"record_length":96,"hex_timestamp":"0000019fe9fffa98"} 
[2026-08-10 10:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 10:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302347264001,"66":13276,"102":206,"83":41984,"24":20,"16":11355064601935872,"45":1839227897172211712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302347264001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:22:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:22:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355064601935872,"km_value":11355064601935.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839227897172211712,"description":"Unknown IO ID 45"} 
[2026-08-10 10:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302347264001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1839227897172211712}} 
[2026-08-10 10:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":151414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:22:01] local.INFO: GPS data processed {"connection_id":151414,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:22:01] local.INFO: Acknowledgment sent {"connection_id":151414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:22:04] local.INFO: TCP Data received {"connection_id":152719,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:22:04] local.INFO: Processing buffer {"connection_id":152719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:22:04] local.INFO: IMEI packet received {"connection_id":152719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":152719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:22:05] local.INFO: TCP Data received {"connection_id":152719,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:22:05] local.INFO: Processing buffer {"connection_id":152719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:22:05] local.INFO: Packet analysis {"connection_id":152719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:22:05] local.INFO: Extracted packet for processing {"connection_id":152719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302280448001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337334000,"timestamp_ms":1786337334000,"timestamp_seconds":1786337334,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0092f0"} 
[2026-08-10 10:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:22: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-08-10 10:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:22: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-08-10 10:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302280448001,"66":25952,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302280448001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:22:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302280448001,"power":25952,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":152719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:22:05] local.INFO: GPS data processed {"connection_id":152719,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:22:05] local.INFO: Acknowledgment sent {"connection_id":152719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:22:21] local.INFO: TCP Data received {"connection_id":154185,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:22:21] local.INFO: Processing buffer {"connection_id":154185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:22:21] local.INFO: IMEI packet received {"connection_id":154185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":154185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:22:23] local.INFO: TCP Data received {"connection_id":154185,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:22:23] local.INFO: Processing buffer {"connection_id":154185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:22:23] local.INFO: IMEI packet received {"connection_id":154185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":154185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:22:24] local.INFO: TCP Data received {"connection_id":154185,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:22:24] local.INFO: Processing buffer {"connection_id":154185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:22:24] local.INFO: IMEI packet received {"connection_id":154185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":154185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:22:27] local.INFO: TCP Data received {"connection_id":154185,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:22:27] local.INFO: Processing buffer {"connection_id":154185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:22:27] local.INFO: IMEI packet received {"connection_id":154185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":154185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:22:28] local.INFO: TCP Data received {"connection_id":154185,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea032718012d0c29400702ad700014004921..."} 
[2026-08-10 10:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea032718012d0c29400702ad700014004921..."} 
[2026-08-10 10:22:28] local.INFO: Processing buffer {"connection_id":154185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea032718012d0c29400702ad700014004921..."} 
[2026-08-10 10:22:28] local.INFO: Packet analysis {"connection_id":154185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:22:28] local.INFO: Extracted packet for processing {"connection_id":154185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:22:28] local.INFO: GPS Element Parsed {"raw_longitude":755771712,"raw_latitude":117615984,"longitude_deg":75.5771712,"latitude_deg":11.7615984,"altitude":20,"angle":73,"satellites":33,"speed":4,"hex_longitude":"2d0c2940","hex_latitude":"0702ad70","is_valid_coordinates":true} 
[2026-08-10 10:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302400256001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27349634481389568,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377428992,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786337503000,"timestamp_ms":1786337503000,"timestamp_seconds":1786337503,"priority":1,"record_length":96,"hex_timestamp":"0000019fea032718"} 
[2026-08-10 10:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 10:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":154185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":154185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":154185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302400256001,"66":14298,"37":206,"94":11008,"24":4,"16":27349634481389568,"45":876020526377428992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302400256001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:22:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:22:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27349634481389568,"km_value":27349634481389.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377428992,"description":"Unknown IO ID 45"} 
[2026-08-10 10:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302400256001,"power":14298,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":876020526377428992}} 
[2026-08-10 10:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":154185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619213,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:22:28] local.INFO: GPS data processed {"connection_id":154185,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:22:28] local.INFO: Acknowledgment sent {"connection_id":154185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:22:32] local.INFO: TCP Data received {"connection_id":151414,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea000a38012d197d00071fec000038010021..."} 
[2026-08-10 10:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea000a38012d197d00071fec000038010021..."} 
[2026-08-10 10:22:32] local.INFO: Processing buffer {"connection_id":151414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea000a38012d197d00071fec000038010021..."} 
[2026-08-10 10:22:32] local.INFO: Packet analysis {"connection_id":151414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:22:32] local.INFO: Extracted packet for processing {"connection_id":151414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:22:32] local.INFO: GPS Element Parsed {"raw_longitude":756645120,"raw_latitude":119532544,"longitude_deg":75.664512,"latitude_deg":11.9532544,"altitude":56,"angle":256,"satellites":33,"speed":21,"hex_longitude":"2d197d00","hex_latitude":"071fec00","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302347520001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355163386183680,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218741248,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786337299000,"timestamp_ms":1786337299000,"timestamp_seconds":1786337299,"priority":1,"record_length":96,"hex_timestamp":"0000019fea000a38"} 
[2026-08-10 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-08-10 10:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 10:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302347520001,"66":12841,"102":206,"83":41984,"24":21,"16":11355163386183680,"45":1838664947218741248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302347520001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:22:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355163386183680,"km_value":11355163386183.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218741248,"description":"Unknown IO ID 45"} 
[2026-08-10 10:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302347520001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1838664947218741248}} 
[2026-08-10 10:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":151414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:22:32] local.INFO: GPS data processed {"connection_id":151414,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:22:32] local.INFO: Acknowledgment sent {"connection_id":151414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:22:36] local.INFO: TCP Data received {"connection_id":152719,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:22:36] local.INFO: Processing buffer {"connection_id":152719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:22:36] local.INFO: Packet analysis {"connection_id":152719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:22:36] local.INFO: Extracted packet for processing {"connection_id":152719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302280448001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337334000,"timestamp_ms":1786337334000,"timestamp_seconds":1786337334,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0092f0"} 
[2026-08-10 10:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:22: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-08-10 10:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302280448001,"66":25952,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302280448001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:22:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302280448001,"power":25952,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":152719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:22:36] local.INFO: GPS data processed {"connection_id":152719,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:22:36] local.INFO: Acknowledgment sent {"connection_id":152719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:22:53] local.INFO: TCP Data received {"connection_id":151415,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:22:53] local.INFO: Processing buffer {"connection_id":151415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:22:53] local.INFO: IMEI packet received {"connection_id":151415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":151415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:22:54] local.INFO: TCP Data received {"connection_id":151415,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:22:54] local.INFO: Processing buffer {"connection_id":151415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:22:54] local.INFO: IMEI packet received {"connection_id":151415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":151415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:22:59] local.INFO: TCP Data received {"connection_id":152720,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:22:59] local.INFO: Processing buffer {"connection_id":152720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:22:59] local.INFO: IMEI packet received {"connection_id":152720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":152720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:22:59] local.INFO: TCP Data received {"connection_id":154185,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea032b00012d0c29800702ad900014003c22..."} 
[2026-08-10 10:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea032b00012d0c29800702ad900014003c22..."} 
[2026-08-10 10:22:59] local.INFO: Processing buffer {"connection_id":154185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea032b00012d0c29800702ad900014003c22..."} 
[2026-08-10 10:22:59] local.INFO: Packet analysis {"connection_id":154185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:22:59] local.INFO: Extracted packet for processing {"connection_id":154185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:22:59] local.INFO: GPS Element Parsed {"raw_longitude":755771776,"raw_latitude":117616016,"longitude_deg":75.5771776,"latitude_deg":11.7616016,"altitude":20,"angle":60,"satellites":34,"speed":3,"hex_longitude":"2d0c2980","hex_latitude":"0702ad90","is_valid_coordinates":true} 
[2026-08-10 10:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302400768001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27349638776356864,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876302001354141696,"note":"Value kept but may cause issues"} 
[2026-08-10 10:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786337504000,"timestamp_ms":1786337504000,"timestamp_seconds":1786337504,"priority":1,"record_length":96,"hex_timestamp":"0000019fea032b00"} 
[2026-08-10 10:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 10:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302400768001,"66":14298,"37":206,"94":11008,"24":3,"16":27349638776356864,"45":876302001354141696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302400768001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:22:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:22:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27349638776356864,"km_value":27349638776356.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":876302001354141696,"description":"Unknown IO ID 45"} 
[2026-08-10 10:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302400768001,"power":14298,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":876302001354141696}} 
[2026-08-10 10:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":154185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:22:59] local.INFO: GPS data processed {"connection_id":154185,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:22:59] local.INFO: Acknowledgment sent {"connection_id":154185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:23:00] local.INFO: TCP Data received {"connection_id":151415,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:23:00] local.INFO: Processing buffer {"connection_id":151415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:23:00] local.INFO: IMEI packet received {"connection_id":151415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":151415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:23:01] local.INFO: TCP Data received {"connection_id":151415,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0303f0012d196940071fedd80039011619..."} 
[2026-08-10 10:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0303f0012d196940071fedd80039011619..."} 
[2026-08-10 10:23:01] local.INFO: Processing buffer {"connection_id":151415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0303f0012d196940071fedd80039011619..."} 
[2026-08-10 10:23:01] local.INFO: Packet analysis {"connection_id":151415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:23:01] local.INFO: Extracted packet for processing {"connection_id":151415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:23:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":25,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302393088001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337494000,"timestamp_ms":1786337494000,"timestamp_seconds":1786337494,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0303f0"} 
[2026-08-10 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-08-10 10:23: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-08-10 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 10:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302393088001,"66":12939,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302393088001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:23:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:23:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302393088001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":151415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:23:01] local.INFO: GPS data processed {"connection_id":151415,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:23:01] local.INFO: Acknowledgment sent {"connection_id":151415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:23:04] local.INFO: TCP Data received {"connection_id":152720,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:23:04] local.INFO: Processing buffer {"connection_id":152720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:23:04] local.INFO: IMEI packet received {"connection_id":152720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":152720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:23:05] local.INFO: TCP Data received {"connection_id":152720,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:23:05] local.INFO: Processing buffer {"connection_id":152720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:23:05] local.INFO: Packet analysis {"connection_id":152720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:23:05] local.INFO: Extracted packet for processing {"connection_id":152720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302280448001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337334000,"timestamp_ms":1786337334000,"timestamp_seconds":1786337334,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0092f0"} 
[2026-08-10 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-08-10 10: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-08-10 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:23: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-08-10 10:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 10:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:23: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-08-10 10:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302280448001,"66":25952,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302280448001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:23:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302280448001,"power":25952,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":152720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:23:05] local.INFO: GPS data processed {"connection_id":152720,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:23:05] local.INFO: Acknowledgment sent {"connection_id":152720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:23:24] local.INFO: TCP Data received {"connection_id":154186,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154186,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:23:24] local.INFO: Processing buffer {"connection_id":154186,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:23:24] local.INFO: IMEI packet received {"connection_id":154186,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":154186,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:23:29] local.INFO: TCP Data received {"connection_id":154186,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154186,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:23:29] local.INFO: Processing buffer {"connection_id":154186,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:23:29] local.INFO: IMEI packet received {"connection_id":154186,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":154186,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:23:29] local.INFO: TCP Data received {"connection_id":154186,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea037d08012d0c29800702ad980014003c1e..."} 
[2026-08-10 10:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea037d08012d0c29800702ad980014003c1e..."} 
[2026-08-10 10:23:29] local.INFO: Processing buffer {"connection_id":154186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea037d08012d0c29800702ad980014003c1e..."} 
[2026-08-10 10:23:29] local.INFO: Packet analysis {"connection_id":154186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:23:29] local.INFO: Extracted packet for processing {"connection_id":154186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:23:29] local.INFO: GPS Element Parsed {"raw_longitude":755771776,"raw_latitude":117616024,"longitude_deg":75.5771776,"latitude_deg":11.7616024,"altitude":20,"angle":60,"satellites":30,"speed":0,"hex_longitude":"2d0c2980","hex_latitude":"0702ad98","is_valid_coordinates":true} 
[2026-08-10 10:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302401024001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27349638776356864,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876372370098327552,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786337525000,"timestamp_ms":1786337525000,"timestamp_seconds":1786337525,"priority":1,"record_length":96,"hex_timestamp":"0000019fea037d08"} 
[2026-08-10 10:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 10:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":154186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":154186,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":154186,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302401024001,"66":14330,"37":206,"94":11008,"24":0,"16":27349638776356864,"45":876372370098327552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302401024001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:23:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:23:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27349638776356864,"km_value":27349638776356.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":876372370098327552,"description":"Unknown IO ID 45"} 
[2026-08-10 10:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302401024001,"power":14330,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876372370098327552}} 
[2026-08-10 10:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":154186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619219,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:23:29] local.INFO: GPS data processed {"connection_id":154186,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:23:29] local.INFO: Acknowledgment sent {"connection_id":154186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:23:32] local.INFO: TCP Data received {"connection_id":151415,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0355f8012d196940071fedd80039011621..."} 
[2026-08-10 10:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0355f8012d196940071fedd80039011621..."} 
[2026-08-10 10:23:32] local.INFO: Processing buffer {"connection_id":151415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0355f8012d196940071fedd80039011621..."} 
[2026-08-10 10:23:32] local.INFO: Packet analysis {"connection_id":151415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:23:32] local.INFO: Extracted packet for processing {"connection_id":151415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302398464001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786337515000,"timestamp_ms":1786337515000,"timestamp_seconds":1786337515,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0355f8"} 
[2026-08-10 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-08-10 10:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 10:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302398464001,"66":12928,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302398464001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:23:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302398464001,"power":12928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":151415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:23:32] local.INFO: GPS data processed {"connection_id":151415,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:23:32] local.INFO: Acknowledgment sent {"connection_id":151415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:23:36] local.INFO: TCP Data received {"connection_id":152720,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:23:36] local.INFO: Processing buffer {"connection_id":152720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:23:36] local.INFO: Packet analysis {"connection_id":152720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:23:36] local.INFO: Extracted packet for processing {"connection_id":152720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302280448001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337334000,"timestamp_ms":1786337334000,"timestamp_seconds":1786337334,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0092f0"} 
[2026-08-10 10:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:23: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-08-10 10:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:23: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-08-10 10:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302280448001,"66":25952,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302280448001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:23:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302280448001,"power":25952,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":152720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:23:36] local.INFO: GPS data processed {"connection_id":152720,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:23:36] local.INFO: Acknowledgment sent {"connection_id":152720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:23:54] local.INFO: TCP Data received {"connection_id":154187,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:23:54] local.INFO: Processing buffer {"connection_id":154187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:23:54] local.INFO: IMEI packet received {"connection_id":154187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":154187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:23:56] local.INFO: TCP Data received {"connection_id":154187,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:23:56] local.INFO: Processing buffer {"connection_id":154187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:23:56] local.INFO: IMEI packet received {"connection_id":154187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":154187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:23:59] local.INFO: TCP Data received {"connection_id":152721,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:23:59] local.INFO: Processing buffer {"connection_id":152721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:23:59] local.INFO: IMEI packet received {"connection_id":152721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":152721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:24:00] local.INFO: TCP Data received {"connection_id":154187,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:24:00] local.INFO: Processing buffer {"connection_id":154187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:24:00] local.INFO: IMEI packet received {"connection_id":154187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":154187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:24:00] local.INFO: TCP Data received {"connection_id":154186,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea03a800012d0c2a800702ae800015000c22..."} 
[2026-08-10 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea03a800012d0c2a800702ae800015000c22..."} 
[2026-08-10 10:24:00] local.INFO: Processing buffer {"connection_id":154186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea03a800012d0c2a800702ae800015000c22..."} 
[2026-08-10 10:24:00] local.INFO: Packet analysis {"connection_id":154186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:24:00] local.INFO: Extracted packet for processing {"connection_id":154186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:24:00] local.INFO: GPS Element Parsed {"raw_longitude":755772032,"raw_latitude":117616256,"longitude_deg":75.5772032,"latitude_deg":11.7616256,"altitude":21,"angle":12,"satellites":34,"speed":1,"hex_longitude":"2d0c2a80","hex_latitude":"0702ae80","is_valid_coordinates":true} 
[2026-08-10 10:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302406400001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27349655956226048,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876372370098329600,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786337536000,"timestamp_ms":1786337536000,"timestamp_seconds":1786337536,"priority":1,"record_length":96,"hex_timestamp":"0000019fea03a800"} 
[2026-08-10 10:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-10 10:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154186,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154186,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302406400001,"66":14374,"37":206,"94":11008,"24":1,"16":27349655956226048,"45":876372370098329600},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302406400001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:24:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:24:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27349655956226048,"km_value":27349655956226.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":876372370098329600,"description":"Unknown IO ID 45"} 
[2026-08-10 10:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302406400001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":876372370098329600}} 
[2026-08-10 10:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":154186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619222,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:24:00] local.INFO: GPS data processed {"connection_id":154186,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:24:00] local.INFO: Acknowledgment sent {"connection_id":154186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:24:01] local.INFO: TCP Data received {"connection_id":154187,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea03a800012d196940071fedd8003901161f..."} 
[2026-08-10 10:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea03a800012d196940071fedd8003901161f..."} 
[2026-08-10 10:24:01] local.INFO: Processing buffer {"connection_id":154187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea03a800012d196940071fedd8003901161f..."} 
[2026-08-10 10:24:01] local.INFO: Packet analysis {"connection_id":154187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:24:01] local.INFO: Extracted packet for processing {"connection_id":154187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:24:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":31,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302403840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337536000,"timestamp_ms":1786337536000,"timestamp_seconds":1786337536,"priority":1,"record_length":96,"hex_timestamp":"0000019fea03a800"} 
[2026-08-10 10:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:24: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-08-10 10: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-10 10:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302403840001,"66":12841,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302403840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:24:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302403840001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":154187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:24:01] local.INFO: GPS data processed {"connection_id":154187,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:24:01] local.INFO: Acknowledgment sent {"connection_id":154187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:24:04] local.INFO: TCP Data received {"connection_id":152721,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:24:04] local.INFO: Processing buffer {"connection_id":152721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:24:04] local.INFO: IMEI packet received {"connection_id":152721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":152721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:24:05] local.INFO: TCP Data received {"connection_id":152721,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:24:05] local.INFO: Processing buffer {"connection_id":152721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0092f0012d342a4006abc280000f010226..."} 
[2026-08-10 10:24:05] local.INFO: Packet analysis {"connection_id":152721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:24:05] local.INFO: Extracted packet for processing {"connection_id":152721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea00"} 
[2026-08-10 10:24:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302280448001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337334000,"timestamp_ms":1786337334000,"timestamp_seconds":1786337334,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0092f0"} 
[2026-08-10 10:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10: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-08-10 10:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:24: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-08-10 10:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302280448001,"66":25952,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302280448001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:24:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:24:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302280448001,"power":25952,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":152721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:24:05] local.INFO: GPS data processed {"connection_id":152721,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:24:05] local.INFO: Acknowledgment sent {"connection_id":152721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:24:23] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:24:23] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:24:23] local.INFO: IMEI packet received {"connection_id":151808,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":151808,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:24:24] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:24:24] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:24:24] local.INFO: IMEI packet received {"connection_id":151808,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":151808,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:24:29] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:24:29] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:24:29] local.INFO: IMEI packet received {"connection_id":151808,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":151808,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:24:30] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea03b3b8012d0c2a800702af300016016422..."} 
[2026-08-10 10:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea03b3b8012d0c2a800702af300016016422..."} 
[2026-08-10 10:24:30] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea03b3b8012d0c2a800702af300016016422..."} 
[2026-08-10 10:24:30] local.INFO: Packet analysis {"connection_id":151808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:24:30] local.INFO: Extracted packet for processing {"connection_id":151808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:24:30] local.INFO: GPS Element Parsed {"raw_longitude":755772032,"raw_latitude":117616432,"longitude_deg":75.5772032,"latitude_deg":11.7616432,"altitude":22,"angle":356,"satellites":34,"speed":3,"hex_longitude":"2d0c2a80","hex_latitude":"0702af30","is_valid_coordinates":true} 
[2026-08-10 10:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302409216001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27349664546160640,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876653845075099648,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786337539000,"timestamp_ms":1786337539000,"timestamp_seconds":1786337539,"priority":1,"record_length":96,"hex_timestamp":"0000019fea03b3b8"} 
[2026-08-10 10:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 10:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302409216001,"66":14298,"37":206,"94":11008,"24":3,"16":27349664546160640,"45":876653845075099648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302409216001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:24:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:24:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27349664546160640,"km_value":27349664546160.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":876653845075099648,"description":"Unknown IO ID 45"} 
[2026-08-10 10:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302409216001,"power":14298,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":876653845075099648}} 
[2026-08-10 10:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":151808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619225,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:24:30] local.INFO: GPS data processed {"connection_id":151808,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:24:30] local.INFO: Acknowledgment sent {"connection_id":151808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:24:32] local.INFO: TCP Data received {"connection_id":154187,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea03fa08012d196940071fedd8003901161d..."} 
[2026-08-10 10:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea03fa08012d196940071fedd8003901161d..."} 
[2026-08-10 10:24:32] local.INFO: Processing buffer {"connection_id":154187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea03fa08012d196940071fedd8003901161d..."} 
[2026-08-10 10:24:32] local.INFO: Packet analysis {"connection_id":154187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:24:32] local.INFO: Extracted packet for processing {"connection_id":154187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea03"} 
[2026-08-10 10:24:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302409216001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786337557000,"timestamp_ms":1786337557000,"timestamp_seconds":1786337557,"priority":1,"record_length":96,"hex_timestamp":"0000019fea03fa08"} 
[2026-08-10 10:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302409216001,"66":12863,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302409216001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:24:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302409216001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":154187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:24:32] local.INFO: GPS data processed {"connection_id":154187,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:24:32] local.INFO: Acknowledgment sent {"connection_id":154187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:24:36] local.INFO: TCP Data received {"connection_id":152721,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:24:36] local.INFO: Processing buffer {"connection_id":152721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:24:36] local.INFO: Packet analysis {"connection_id":152721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:24:36] local.INFO: Extracted packet for processing {"connection_id":152721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":34,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302357504001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337635000,"timestamp_ms":1786337635000,"timestamp_seconds":1786337635,"priority":1,"record_length":96,"hex_timestamp":"0000019fea052ab8"} 
[2026-08-10 10:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 10:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302357504001,"66":25919,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302357504001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:24:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302357504001,"power":25919,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":152721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:24:36] local.INFO: GPS data processed {"connection_id":152721,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:24:36] local.INFO: Acknowledgment sent {"connection_id":152721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:25:00] local.INFO: TCP Data received {"connection_id":151809,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:25:00] local.INFO: Processing buffer {"connection_id":151809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:25:00] local.INFO: IMEI packet received {"connection_id":151809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":151809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:25:00] local.INFO: TCP Data received {"connection_id":151809,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:25:00] local.INFO: Processing buffer {"connection_id":151809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:25:00] local.INFO: IMEI packet received {"connection_id":151809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":151809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:25:01] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea05ea20012d0c0c0007031fa0000e001125..."} 
[2026-08-10 10:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea05ea20012d0c0c0007031fa0000e001125..."} 
[2026-08-10 10:25:01] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea05ea20012d0c0c0007031fa0000e001125..."} 
[2026-08-10 10:25:01] local.INFO: Packet analysis {"connection_id":151808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:25:01] local.INFO: Extracted packet for processing {"connection_id":151808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:25:01] local.INFO: GPS Element Parsed {"raw_longitude":755764224,"raw_latitude":117645216,"longitude_deg":75.5764224,"latitude_deg":11.7645216,"altitude":14,"angle":17,"satellites":37,"speed":4,"hex_longitude":"2d0c0c00","hex_latitude":"07031fa0","is_valid_coordinates":true} 
[2026-08-10 10:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302443264001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351240799158272,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867857752060354560,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337684000,"timestamp_ms":1786337684000,"timestamp_seconds":1786337684,"priority":1,"record_length":96,"hex_timestamp":"0000019fea05ea20"} 
[2026-08-10 10:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:25: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-08-10 10: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 10:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302443264001,"66":14537,"37":206,"94":11008,"24":4,"16":27351240799158272,"45":867857752060354560},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302443264001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:25:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:25:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351240799158272,"km_value":27351240799158.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":867857752060354560,"description":"Unknown IO ID 45"} 
[2026-08-10 10:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302443264001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":867857752060354560}} 
[2026-08-10 10:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":151808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619228,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:25:01] local.INFO: GPS data processed {"connection_id":151808,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:25:01] local.INFO: Acknowledgment sent {"connection_id":151808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:25:04] local.INFO: TCP Data received {"connection_id":151810,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:25:04] local.INFO: Processing buffer {"connection_id":151810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:25:04] local.INFO: IMEI packet received {"connection_id":151810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":151810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:25:05] local.INFO: TCP Data received {"connection_id":151809,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:25:05] local.INFO: Processing buffer {"connection_id":151809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:25:05] local.INFO: IMEI packet received {"connection_id":151809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":151809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:25:06] local.INFO: TCP Data received {"connection_id":151809,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea044c10012d196940071fedd8003901161d..."} 
[2026-08-10 10:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea044c10012d196940071fedd8003901161d..."} 
[2026-08-10 10:25:06] local.INFO: Processing buffer {"connection_id":151809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea044c10012d196940071fedd8003901161d..."} 
[2026-08-10 10:25:06] local.INFO: Packet analysis {"connection_id":151809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea04"} 
[2026-08-10 10:25:06] local.INFO: Extracted packet for processing {"connection_id":151809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea04"} 
[2026-08-10 10:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302414592001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786337578000,"timestamp_ms":1786337578000,"timestamp_seconds":1786337578,"priority":1,"record_length":96,"hex_timestamp":"0000019fea044c10"} 
[2026-08-10 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-08-10 10:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 10:25: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-08-10 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-08-10 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-08-10 10:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302414592001,"66":12841,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302414592001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:25:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302414592001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":151809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:25:06] local.INFO: GPS data processed {"connection_id":151809,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:25:06] local.INFO: Acknowledgment sent {"connection_id":151809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:25:09] local.INFO: TCP Data received {"connection_id":151810,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:25:09] local.INFO: Processing buffer {"connection_id":151810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:25:09] local.INFO: IMEI packet received {"connection_id":151810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":151810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:25:10] local.INFO: TCP Data received {"connection_id":151809,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea049e18012d196940071fedd8003901161f..."} 
[2026-08-10 10:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea049e18012d196940071fedd8003901161f..."} 
[2026-08-10 10:25:10] local.INFO: Processing buffer {"connection_id":151809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea049e18012d196940071fedd8003901161f..."} 
[2026-08-10 10:25:10] local.INFO: Packet analysis {"connection_id":151809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea04"} 
[2026-08-10 10:25:10] local.INFO: Extracted packet for processing {"connection_id":151809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea04"} 
[2026-08-10 10:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":31,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302419968001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786337599000,"timestamp_ms":1786337599000,"timestamp_seconds":1786337599,"priority":1,"record_length":96,"hex_timestamp":"0000019fea049e18"} 
[2026-08-10 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-08-10 10:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:25: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-08-10 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-08-10 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-08-10 10:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302419968001,"66":12798,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302419968001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:25:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302419968001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":151809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:25:10] local.INFO: GPS data processed {"connection_id":151809,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:25:10] local.INFO: Acknowledgment sent {"connection_id":151809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:25:10] local.INFO: TCP Data received {"connection_id":151810,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:25:10] local.INFO: Processing buffer {"connection_id":151810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:25:10] local.INFO: Packet analysis {"connection_id":151810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:25:10] local.INFO: Extracted packet for processing {"connection_id":151810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":34,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302357504001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786337635000,"timestamp_ms":1786337635000,"timestamp_seconds":1786337635,"priority":1,"record_length":96,"hex_timestamp":"0000019fea052ab8"} 
[2026-08-10 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-08-10 10:25: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-08-10 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 10:25: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-08-10 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-08-10 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-08-10 10:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302357504001,"66":25919,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302357504001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:25:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302357504001,"power":25919,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":151810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:25:10] local.INFO: GPS data processed {"connection_id":151810,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:25:10] local.INFO: Acknowledgment sent {"connection_id":151810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:25:24] local.INFO: TCP Data received {"connection_id":152722,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152722,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:25:24] local.INFO: Processing buffer {"connection_id":152722,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:25:24] local.INFO: IMEI packet received {"connection_id":152722,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":152722,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:25:29] local.INFO: TCP Data received {"connection_id":152722,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152722,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:25:29] local.INFO: Processing buffer {"connection_id":152722,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:25:29] local.INFO: IMEI packet received {"connection_id":152722,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":152722,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:25:30] local.INFO: TCP Data received {"connection_id":152722,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea060190012d0c0d0007032228000d000324..."} 
[2026-08-10 10:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea060190012d0c0d0007032228000d000324..."} 
[2026-08-10 10:25:30] local.INFO: Processing buffer {"connection_id":152722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea060190012d0c0d0007032228000d000324..."} 
[2026-08-10 10:25:30] local.INFO: Packet analysis {"connection_id":152722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:25:30] local.INFO: Extracted packet for processing {"connection_id":152722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:25:30] local.INFO: GPS Element Parsed {"raw_longitude":755764480,"raw_latitude":117645864,"longitude_deg":75.576448,"latitude_deg":11.7645864,"altitude":13,"angle":3,"satellites":36,"speed":3,"hex_longitude":"2d0c0d00","hex_latitude":"07032228","is_valid_coordinates":true} 
[2026-08-10 10:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302447104001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351275158896640,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868068858292838400,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786337690000,"timestamp_ms":1786337690000,"timestamp_seconds":1786337690,"priority":1,"record_length":96,"hex_timestamp":"0000019fea060190"} 
[2026-08-10 10:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 10:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302447104001,"66":14439,"37":206,"94":11008,"24":3,"16":27351275158896640,"45":868068858292838400},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302447104001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:25:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:25:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351275158896640,"km_value":27351275158896.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":868068858292838400,"description":"Unknown IO ID 45"} 
[2026-08-10 10:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302447104001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":868068858292838400}} 
[2026-08-10 10:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":152722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619232,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:25:30] local.INFO: GPS data processed {"connection_id":152722,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:25:30] local.INFO: Acknowledgment sent {"connection_id":152722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:25:41] local.INFO: TCP Data received {"connection_id":151810,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:25:41] local.INFO: Processing buffer {"connection_id":151810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:25:41] local.INFO: Packet analysis {"connection_id":151810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:25:41] local.INFO: Extracted packet for processing {"connection_id":151810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":34,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302357504001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786337635000,"timestamp_ms":1786337635000,"timestamp_seconds":1786337635,"priority":1,"record_length":96,"hex_timestamp":"0000019fea052ab8"} 
[2026-08-10 10:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 10:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302357504001,"66":25919,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302357504001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:25:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302357504001,"power":25919,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":151810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:25:41] local.INFO: GPS data processed {"connection_id":151810,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:25:41] local.INFO: Acknowledgment sent {"connection_id":151810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:25:55] local.INFO: TCP Data received {"connection_id":152723,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:25:55] local.INFO: Processing buffer {"connection_id":152723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:25:55] local.INFO: IMEI packet received {"connection_id":152723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":152723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:25:59] local.INFO: TCP Data received {"connection_id":154188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:25:59] local.INFO: Processing buffer {"connection_id":154188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:25:59] local.INFO: IMEI packet received {"connection_id":154188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":154188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:26:00] local.INFO: TCP Data received {"connection_id":152723,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:26:00] local.INFO: Processing buffer {"connection_id":152723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:26:00] local.INFO: IMEI packet received {"connection_id":152723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":152723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:26:01] local.INFO: TCP Data received {"connection_id":152723,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea04f020012d196940071fedd8003901161e..."} 
[2026-08-10 10:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea04f020012d196940071fedd8003901161e..."} 
[2026-08-10 10:26:01] local.INFO: Processing buffer {"connection_id":152723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea04f020012d196940071fedd8003901161e..."} 
[2026-08-10 10:26:01] local.INFO: Packet analysis {"connection_id":152723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea04"} 
[2026-08-10 10:26:01] local.INFO: Extracted packet for processing {"connection_id":152723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea04"} 
[2026-08-10 10:26:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302425344001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337620000,"timestamp_ms":1786337620000,"timestamp_seconds":1786337620,"priority":1,"record_length":96,"hex_timestamp":"0000019fea04f020"} 
[2026-08-10 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-08-10 10:26: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-08-10 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 10:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302425344001,"66":12819,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302425344001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:26:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:26:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302425344001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":152723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:26:01] local.INFO: GPS data processed {"connection_id":152723,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:26:01] local.INFO: Acknowledgment sent {"connection_id":152723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:26:01] local.INFO: TCP Data received {"connection_id":152722,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea060960012d0c0d00070322b8000d014b25..."} 
[2026-08-10 10:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea060960012d0c0d00070322b8000d014b25..."} 
[2026-08-10 10:26:01] local.INFO: Processing buffer {"connection_id":152722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea060960012d0c0d00070322b8000d014b25..."} 
[2026-08-10 10:26:01] local.INFO: Packet analysis {"connection_id":152722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:26:01] local.INFO: Extracted packet for processing {"connection_id":152722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:26:01] local.INFO: GPS Element Parsed {"raw_longitude":755764480,"raw_latitude":117646008,"longitude_deg":75.576448,"latitude_deg":11.7646008,"altitude":13,"angle":331,"satellites":37,"speed":2,"hex_longitude":"2d0c0d00","hex_latitude":"070322b8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302448640001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351283748831232,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868350333269714944,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337692000,"timestamp_ms":1786337692000,"timestamp_seconds":1786337692,"priority":1,"record_length":96,"hex_timestamp":"0000019fea060960"} 
[2026-08-10 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-08-10 10:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 10:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302448640001,"66":14374,"37":206,"94":11008,"24":2,"16":27351283748831232,"45":868350333269714944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302448640001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:26:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:26:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351283748831232,"km_value":27351283748831.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":868350333269714944,"description":"Unknown IO ID 45"} 
[2026-08-10 10:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302448640001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":868350333269714944}} 
[2026-08-10 10:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":152722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619235,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:26:01] local.INFO: GPS data processed {"connection_id":152722,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:26:01] local.INFO: Acknowledgment sent {"connection_id":152722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:26:04] local.INFO: TCP Data received {"connection_id":154188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:26:04] local.INFO: Processing buffer {"connection_id":154188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:26:04] local.INFO: IMEI packet received {"connection_id":154188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":154188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:26:05] local.INFO: TCP Data received {"connection_id":154188,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:26:05] local.INFO: Processing buffer {"connection_id":154188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:26:05] local.INFO: Packet analysis {"connection_id":154188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:26:05] local.INFO: Extracted packet for processing {"connection_id":154188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":34,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302357504001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337635000,"timestamp_ms":1786337635000,"timestamp_seconds":1786337635,"priority":1,"record_length":96,"hex_timestamp":"0000019fea052ab8"} 
[2026-08-10 10:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 10:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10: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-08-10 10:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302357504001,"66":25919,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302357504001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:26:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302357504001,"power":25919,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":154188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:26:05] local.INFO: GPS data processed {"connection_id":154188,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:26:05] local.INFO: Acknowledgment sent {"connection_id":154188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:26:24] local.INFO: TCP Data received {"connection_id":152724,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152724,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:26:24] local.INFO: Processing buffer {"connection_id":152724,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:26:24] local.INFO: IMEI packet received {"connection_id":152724,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":152724,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:26:29] local.INFO: TCP Data received {"connection_id":152724,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152724,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:26:29] local.INFO: Processing buffer {"connection_id":152724,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:26:29] local.INFO: IMEI packet received {"connection_id":152724,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":152724,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:26:30] local.INFO: TCP Data received {"connection_id":152724,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea065b68012d0c0cc007032310000d014024..."} 
[2026-08-10 10:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea065b68012d0c0cc007032310000d014024..."} 
[2026-08-10 10:26:30] local.INFO: Processing buffer {"connection_id":152724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea065b68012d0c0cc007032310000d014024..."} 
[2026-08-10 10:26:30] local.INFO: Packet analysis {"connection_id":152724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:26:30] local.INFO: Extracted packet for processing {"connection_id":152724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:26:30] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 10:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302449152001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868350333269751808,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786337713000,"timestamp_ms":1786337713000,"timestamp_seconds":1786337713,"priority":1,"record_length":96,"hex_timestamp":"0000019fea065b68"} 
[2026-08-10 10:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 10:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302449152001,"66":14396,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868350333269751808},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302449152001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:26:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:26:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":868350333269751808,"description":"Unknown IO ID 45"} 
[2026-08-10 10:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302449152001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868350333269751808}} 
[2026-08-10 10:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":152724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619237,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:26:30] local.INFO: GPS data processed {"connection_id":152724,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:26:30] local.INFO: Acknowledgment sent {"connection_id":152724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:26:32] local.INFO: TCP Data received {"connection_id":152723,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea054228012d196940071fedd8003901161d..."} 
[2026-08-10 10:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea054228012d196940071fedd8003901161d..."} 
[2026-08-10 10:26:32] local.INFO: Processing buffer {"connection_id":152723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea054228012d196940071fedd8003901161d..."} 
[2026-08-10 10:26:32] local.INFO: Packet analysis {"connection_id":152723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:26:32] local.INFO: Extracted packet for processing {"connection_id":152723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:26:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302430720001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786337641000,"timestamp_ms":1786337641000,"timestamp_seconds":1786337641,"priority":1,"record_length":96,"hex_timestamp":"0000019fea054228"} 
[2026-08-10 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-08-10 10:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3926066160,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356025,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503772897083392,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":234,"raw_value":194191350702893376,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4035489153214120192,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":216,"raw_value":16045268193509376,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182079385764096,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512585446470061,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300732480124163615,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195053312,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84751907826376685,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:32] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,87,159,158,45,64,237,57,31,10,66,76,29,250,1,240,63,227,234,4,113,205,85,105,216,33,239,50,2,40,7,164,174,69,224],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-08-10 10:26:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588653243432960,"timestamp_seconds":4107588653243433.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 10:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302430720001,"66":12798,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302430720001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:26:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302430720001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":152723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:26:32] local.INFO: GPS data processed {"connection_id":152723,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:26:32] local.INFO: Acknowledgment sent {"connection_id":152723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:26:37] local.INFO: TCP Data received {"connection_id":154188,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:26:37] local.INFO: Processing buffer {"connection_id":154188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:26:37] local.INFO: Packet analysis {"connection_id":154188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:26:37] local.INFO: Extracted packet for processing {"connection_id":154188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":34,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302357504001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786337635000,"timestamp_ms":1786337635000,"timestamp_seconds":1786337635,"priority":1,"record_length":96,"hex_timestamp":"0000019fea052ab8"} 
[2026-08-10 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-08-10 10:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 10:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10: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-08-10 10:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302357504001,"66":25919,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302357504001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:26:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302357504001,"power":25919,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":154188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:26:37] local.INFO: GPS data processed {"connection_id":154188,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:26:37] local.INFO: Acknowledgment sent {"connection_id":154188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:26:55] local.INFO: TCP Data received {"connection_id":152725,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:26:55] local.INFO: Processing buffer {"connection_id":152725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:26:55] local.INFO: IMEI packet received {"connection_id":152725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":152725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:27:00] local.INFO: TCP Data received {"connection_id":152725,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:27:00] local.INFO: Processing buffer {"connection_id":152725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:27:00] local.INFO: IMEI packet received {"connection_id":152725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":152725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:27:01] local.INFO: TCP Data received {"connection_id":152724,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea06ad70012d0c0cc007032310000d014023..."} 
[2026-08-10 10:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea06ad70012d0c0cc007032310000d014023..."} 
[2026-08-10 10:27:01] local.INFO: Processing buffer {"connection_id":152724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea06ad70012d0c0cc007032310000d014023..."} 
[2026-08-10 10:27:01] local.INFO: Packet analysis {"connection_id":152724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:27:01] local.INFO: Extracted packet for processing {"connection_id":152724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:27:01] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":35,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302454528001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337734000,"timestamp_ms":1786337734000,"timestamp_seconds":1786337734,"priority":1,"record_length":96,"hex_timestamp":"0000019fea06ad70"} 
[2026-08-10 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-08-10 10:27: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-08-10 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 10:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302454528001,"66":14407,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302454528001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:27:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:27:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302454528001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":152724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619240,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:27:01] local.INFO: GPS data processed {"connection_id":152724,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:27:01] local.INFO: Acknowledgment sent {"connection_id":152724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:27:01] local.INFO: TCP Data received {"connection_id":152725,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea059430012d196940071fedd8003901161f..."} 
[2026-08-10 10:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea059430012d196940071fedd8003901161f..."} 
[2026-08-10 10:27:01] local.INFO: Processing buffer {"connection_id":152725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea059430012d196940071fedd8003901161f..."} 
[2026-08-10 10:27:01] local.INFO: Packet analysis {"connection_id":152725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:27:01] local.INFO: Extracted packet for processing {"connection_id":152725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:27:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":31,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302436096001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337662000,"timestamp_ms":1786337662000,"timestamp_seconds":1786337662,"priority":1,"record_length":96,"hex_timestamp":"0000019fea059430"} 
[2026-08-10 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-08-10 10:27: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-08-10 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 10:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302436096001,"66":12798,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302436096001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:27:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:27:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302436096001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":152725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:27:01] local.INFO: GPS data processed {"connection_id":152725,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:27:01] local.INFO: Acknowledgment sent {"connection_id":152725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:27:04] local.INFO: TCP Data received {"connection_id":151416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:27:04] local.INFO: Processing buffer {"connection_id":151416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:27:04] local.INFO: IMEI packet received {"connection_id":151416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":151416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:27:09] local.INFO: TCP Data received {"connection_id":151416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:27:09] local.INFO: Processing buffer {"connection_id":151416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:27:09] local.INFO: IMEI packet received {"connection_id":151416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":151416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:27:10] local.INFO: TCP Data received {"connection_id":151416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:27:10] local.INFO: Processing buffer {"connection_id":151416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:27:10] local.INFO: Packet analysis {"connection_id":151416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:27:10] local.INFO: Extracted packet for processing {"connection_id":151416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":34,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302357504001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786337635000,"timestamp_ms":1786337635000,"timestamp_seconds":1786337635,"priority":1,"record_length":96,"hex_timestamp":"0000019fea052ab8"} 
[2026-08-10 10:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:27: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-08-10 10:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 10:27: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-08-10 10:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:27: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-08-10 10:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302357504001,"66":25919,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302357504001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:27:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302357504001,"power":25919,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":151416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:27:10] local.INFO: GPS data processed {"connection_id":151416,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:27:10] local.INFO: Acknowledgment sent {"connection_id":151416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:27:23] local.INFO: TCP Data received {"connection_id":151416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:27:23] local.INFO: Processing buffer {"connection_id":151416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:27:23] local.INFO: Packet analysis {"connection_id":151416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:27:23] local.INFO: Extracted packet for processing {"connection_id":151416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:27:23] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":34,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302357504001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786337635000,"timestamp_ms":1786337635000,"timestamp_seconds":1786337635,"priority":1,"record_length":96,"hex_timestamp":"0000019fea052ab8"} 
[2026-08-10 10:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 10:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:27: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-08-10 10:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302357504001,"66":25919,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302357504001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:27:23] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:27:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302357504001,"power":25919,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":151416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:27:23] local.INFO: GPS data processed {"connection_id":151416,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:27:23] local.INFO: Acknowledgment sent {"connection_id":151416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:27:24] local.INFO: TCP Data received {"connection_id":152726,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152726,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:27:24] local.INFO: Processing buffer {"connection_id":152726,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:27:24] local.INFO: IMEI packet received {"connection_id":152726,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":152726,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:27:29] local.INFO: TCP Data received {"connection_id":152726,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152726,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:27:29] local.INFO: Processing buffer {"connection_id":152726,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:27:29] local.INFO: IMEI packet received {"connection_id":152726,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":152726,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:27:30] local.INFO: TCP Data received {"connection_id":152726,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea06ff78012d0c0cc007032310000d014023..."} 
[2026-08-10 10:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea06ff78012d0c0cc007032310000d014023..."} 
[2026-08-10 10:27:30] local.INFO: Processing buffer {"connection_id":152726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea06ff78012d0c0cc007032310000d014023..."} 
[2026-08-10 10:27:30] local.INFO: Packet analysis {"connection_id":152726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:27:30] local.INFO: Extracted packet for processing {"connection_id":152726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:27:30] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":35,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 10:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302459904001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786337755000,"timestamp_ms":1786337755000,"timestamp_seconds":1786337755,"priority":1,"record_length":96,"hex_timestamp":"0000019fea06ff78"} 
[2026-08-10 10:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 10:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152726,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152726,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302459904001,"66":14450,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302459904001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:27:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:27:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302459904001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":152726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619244,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:27:30] local.INFO: GPS data processed {"connection_id":152726,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:27:30] local.INFO: Acknowledgment sent {"connection_id":152726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:27:32] local.INFO: TCP Data received {"connection_id":152725,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea05e638012d196940071fedd80039011620..."} 
[2026-08-10 10:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea05e638012d196940071fedd80039011620..."} 
[2026-08-10 10:27:32] local.INFO: Processing buffer {"connection_id":152725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea05e638012d196940071fedd80039011620..."} 
[2026-08-10 10:27:32] local.INFO: Packet analysis {"connection_id":152725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:27:32] local.INFO: Extracted packet for processing {"connection_id":152725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302441472001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786337683000,"timestamp_ms":1786337683000,"timestamp_seconds":1786337683,"priority":1,"record_length":96,"hex_timestamp":"0000019fea05e638"} 
[2026-08-10 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-08-10 10:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 10:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302441472001,"66":12776,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302441472001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:27:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302441472001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":152725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:27:32] local.INFO: GPS data processed {"connection_id":152725,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:27:32] local.INFO: Acknowledgment sent {"connection_id":152725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:27:55] local.INFO: TCP Data received {"connection_id":151417,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:27:55] local.INFO: Processing buffer {"connection_id":151417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:27:55] local.INFO: IMEI packet received {"connection_id":151417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":151417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:27:59] local.INFO: TCP Data received {"connection_id":152727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:27:59] local.INFO: Processing buffer {"connection_id":152727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:27:59] local.INFO: IMEI packet received {"connection_id":152727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":152727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:27:59] local.INFO: TCP Data received {"connection_id":151417,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:27:59] local.INFO: Processing buffer {"connection_id":151417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:27:59] local.INFO: IMEI packet received {"connection_id":151417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":151417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:28:00] local.INFO: TCP Data received {"connection_id":151417,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea063840012d196940071fedd8003901161f..."} 
[2026-08-10 10:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea063840012d196940071fedd8003901161f..."} 
[2026-08-10 10:28:00] local.INFO: Processing buffer {"connection_id":151417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea063840012d196940071fedd8003901161f..."} 
[2026-08-10 10:28:00] local.INFO: Packet analysis {"connection_id":151417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:28:00] local.INFO: Extracted packet for processing {"connection_id":151417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:28:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":31,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302446848001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786337704000,"timestamp_ms":1786337704000,"timestamp_seconds":1786337704,"priority":1,"record_length":96,"hex_timestamp":"0000019fea063840"} 
[2026-08-10 10:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-10 10:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302446848001,"66":12711,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302446848001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:28:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:28:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302446848001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":151417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:28:00] local.INFO: GPS data processed {"connection_id":151417,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:28:00] local.INFO: Acknowledgment sent {"connection_id":151417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:28:01] local.INFO: TCP Data received {"connection_id":152726,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea075180012d0c0cc007032310000d014026..."} 
[2026-08-10 10:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea075180012d0c0cc007032310000d014026..."} 
[2026-08-10 10:28:01] local.INFO: Processing buffer {"connection_id":152726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea075180012d0c0cc007032310000d014026..."} 
[2026-08-10 10:28:01] local.INFO: Packet analysis {"connection_id":152726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea07"} 
[2026-08-10 10:28:01] local.INFO: Extracted packet for processing {"connection_id":152726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea07"} 
[2026-08-10 10:28:01] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":38,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302465280001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337776000,"timestamp_ms":1786337776000,"timestamp_seconds":1786337776,"priority":1,"record_length":96,"hex_timestamp":"0000019fea075180"} 
[2026-08-10 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-08-10 10:28: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-08-10 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 10:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152726,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152726,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302465280001,"66":14450,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302465280001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:28:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:28:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302465280001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":152726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619247,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:28:01] local.INFO: GPS data processed {"connection_id":152726,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:28:01] local.INFO: Acknowledgment sent {"connection_id":152726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:28:04] local.INFO: TCP Data received {"connection_id":152727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:28:04] local.INFO: Processing buffer {"connection_id":152727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:28:04] local.INFO: IMEI packet received {"connection_id":152727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":152727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:28:05] local.INFO: TCP Data received {"connection_id":152727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:28:05] local.INFO: Processing buffer {"connection_id":152727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:28:05] local.INFO: Packet analysis {"connection_id":152727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:28:05] local.INFO: Extracted packet for processing {"connection_id":152727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":34,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302357504001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337635000,"timestamp_ms":1786337635000,"timestamp_seconds":1786337635,"priority":1,"record_length":96,"hex_timestamp":"0000019fea052ab8"} 
[2026-08-10 10:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 10:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302357504001,"66":25919,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302357504001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:28:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302357504001,"power":25919,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":152727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:28:05] local.INFO: GPS data processed {"connection_id":152727,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:28:05] local.INFO: Acknowledgment sent {"connection_id":152727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:28:24] local.INFO: TCP Data received {"connection_id":151418,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:28:24] local.INFO: Processing buffer {"connection_id":151418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:28:24] local.INFO: IMEI packet received {"connection_id":151418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":151418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:28:24] local.INFO: TCP Data received {"connection_id":151418,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:28:24] local.INFO: Processing buffer {"connection_id":151418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:28:24] local.INFO: IMEI packet received {"connection_id":151418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":151418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:28:29] local.INFO: TCP Data received {"connection_id":151418,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:28:29] local.INFO: Processing buffer {"connection_id":151418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:28:29] local.INFO: IMEI packet received {"connection_id":151418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":151418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:28:29] local.INFO: TCP Data received {"connection_id":151418,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea07a388012d0c0cc007032310000d014028..."} 
[2026-08-10 10:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea07a388012d0c0cc007032310000d014028..."} 
[2026-08-10 10:28:29] local.INFO: Processing buffer {"connection_id":151418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea07a388012d0c0cc007032310000d014028..."} 
[2026-08-10 10:28:29] local.INFO: Packet analysis {"connection_id":151418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea07"} 
[2026-08-10 10:28:29] local.INFO: Extracted packet for processing {"connection_id":151418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea07"} 
[2026-08-10 10:28:29] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":40,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 10:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302470656001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786337797000,"timestamp_ms":1786337797000,"timestamp_seconds":1786337797,"priority":1,"record_length":96,"hex_timestamp":"0000019fea07a388"} 
[2026-08-10 10:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 10:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302470656001,"66":14407,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302470656001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:28:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:28:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302470656001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":151418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619249,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:28:29] local.INFO: GPS data processed {"connection_id":151418,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:28:29] local.INFO: Acknowledgment sent {"connection_id":151418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:28:31] local.INFO: TCP Data received {"connection_id":151417,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea068a48012d196940071fedd80039011621..."} 
[2026-08-10 10:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea068a48012d196940071fedd80039011621..."} 
[2026-08-10 10:28:31] local.INFO: Processing buffer {"connection_id":151417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea068a48012d196940071fedd80039011621..."} 
[2026-08-10 10:28:31] local.INFO: Packet analysis {"connection_id":151417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:28:31] local.INFO: Extracted packet for processing {"connection_id":151417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:28:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302452224001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786337725000,"timestamp_ms":1786337725000,"timestamp_seconds":1786337725,"priority":1,"record_length":96,"hex_timestamp":"0000019fea068a48"} 
[2026-08-10 10:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 10:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302452224001,"66":12711,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302452224001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:28:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:28:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302452224001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":151417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:28:31] local.INFO: GPS data processed {"connection_id":151417,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:28:31] local.INFO: Acknowledgment sent {"connection_id":151417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:28:36] local.INFO: TCP Data received {"connection_id":152727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:28:36] local.INFO: Processing buffer {"connection_id":152727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:28:36] local.INFO: Packet analysis {"connection_id":152727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:28:36] local.INFO: Extracted packet for processing {"connection_id":152727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":34,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302357504001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337635000,"timestamp_ms":1786337635000,"timestamp_seconds":1786337635,"priority":1,"record_length":96,"hex_timestamp":"0000019fea052ab8"} 
[2026-08-10 10:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 10:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302357504001,"66":25919,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302357504001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:28:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302357504001,"power":25919,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":152727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:28:36] local.INFO: GPS data processed {"connection_id":152727,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:28:36] local.INFO: Acknowledgment sent {"connection_id":152727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:28:55] local.INFO: TCP Data received {"connection_id":152728,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:28:55] local.INFO: Processing buffer {"connection_id":152728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:28:55] local.INFO: IMEI packet received {"connection_id":152728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":152728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:28:59] local.INFO: TCP Data received {"connection_id":151811,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:28:59] local.INFO: Processing buffer {"connection_id":151811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:28:59] local.INFO: IMEI packet received {"connection_id":151811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":151811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:29:00] local.INFO: TCP Data received {"connection_id":152728,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:29:00] local.INFO: Processing buffer {"connection_id":152728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:29:00] local.INFO: IMEI packet received {"connection_id":152728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":152728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:29:01] local.INFO: TCP Data received {"connection_id":151418,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea07f590012d0c0cc007032310000d014027..."} 
[2026-08-10 10:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea07f590012d0c0cc007032310000d014027..."} 
[2026-08-10 10:29:01] local.INFO: Processing buffer {"connection_id":151418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea07f590012d0c0cc007032310000d014027..."} 
[2026-08-10 10:29:01] local.INFO: Packet analysis {"connection_id":151418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea07"} 
[2026-08-10 10:29:01] local.INFO: Extracted packet for processing {"connection_id":151418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea07"} 
[2026-08-10 10:29:01] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":39,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302476032001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337818000,"timestamp_ms":1786337818000,"timestamp_seconds":1786337818,"priority":1,"record_length":96,"hex_timestamp":"0000019fea07f590"} 
[2026-08-10 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-08-10 10:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 10:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302476032001,"66":14548,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302476032001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:29:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:29:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302476032001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:29:01] local.INFO: TCP Data received {"connection_id":152728,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea06dc50012d196940071fedd80039011620..."} 
[2026-08-10 10:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea06dc50012d196940071fedd80039011620..."} 
[2026-08-10 10:29:01] local.INFO: Processing buffer {"connection_id":152728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea06dc50012d196940071fedd80039011620..."} 
[2026-08-10 10:29:01] local.INFO: Packet analysis {"connection_id":152728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:29:01] local.INFO: Extracted packet for processing {"connection_id":152728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea06"} 
[2026-08-10 10:29:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302457600001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337746000,"timestamp_ms":1786337746000,"timestamp_seconds":1786337746,"priority":1,"record_length":96,"hex_timestamp":"0000019fea06dc50"} 
[2026-08-10 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-08-10 10:29: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-08-10 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 10:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302457600001,"66":12678,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302457600001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:29:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302457600001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":151418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619252,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:29:01] local.INFO: GPS data processed {"connection_id":151418,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:29:01] local.INFO: Acknowledgment sent {"connection_id":151418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":152728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:29:01] local.INFO: GPS data processed {"connection_id":152728,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:29:01] local.INFO: Acknowledgment sent {"connection_id":152728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:29:04] local.INFO: TCP Data received {"connection_id":151811,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:29:04] local.INFO: Processing buffer {"connection_id":151811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:29:04] local.INFO: IMEI packet received {"connection_id":151811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":151811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:29:05] local.INFO: TCP Data received {"connection_id":151811,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:29:05] local.INFO: Processing buffer {"connection_id":151811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea052ab8012d342a4006abc2800022010224..."} 
[2026-08-10 10:29:05] local.INFO: Packet analysis {"connection_id":151811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:29:05] local.INFO: Extracted packet for processing {"connection_id":151811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea05"} 
[2026-08-10 10:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":34,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302357504001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337635000,"timestamp_ms":1786337635000,"timestamp_seconds":1786337635,"priority":1,"record_length":96,"hex_timestamp":"0000019fea052ab8"} 
[2026-08-10 10:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 10:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302357504001,"66":25919,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302357504001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:29:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302357504001,"power":25919,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":151811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:29:05] local.INFO: GPS data processed {"connection_id":151811,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:29:05] local.INFO: Acknowledgment sent {"connection_id":151811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:29:24] local.INFO: TCP Data received {"connection_id":152729,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:29:24] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:29:24] local.INFO: IMEI packet received {"connection_id":152729,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":152729,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:29:27] local.INFO: TCP Data received {"connection_id":152729,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:29:27] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:29:27] local.INFO: IMEI packet received {"connection_id":152729,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":152729,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:29:29] local.INFO: TCP Data received {"connection_id":152729,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:29:29] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:29:29] local.INFO: IMEI packet received {"connection_id":152729,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":152729,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:29:29] local.INFO: TCP Data received {"connection_id":152729,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea084798012d0c0cc007032310000d014022..."} 
[2026-08-10 10:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea084798012d0c0cc007032310000d014022..."} 
[2026-08-10 10:29:29] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea084798012d0c0cc007032310000d014022..."} 
[2026-08-10 10:29:29] local.INFO: Packet analysis {"connection_id":152729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea08"} 
[2026-08-10 10:29:29] local.INFO: Extracted packet for processing {"connection_id":152729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea08"} 
[2026-08-10 10:29:29] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":34,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 10:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302481408001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786337839000,"timestamp_ms":1786337839000,"timestamp_seconds":1786337839,"priority":1,"record_length":96,"hex_timestamp":"0000019fea084798"} 
[2026-08-10 10:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 10:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302481408001,"66":14515,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302481408001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:29:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:29:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302481408001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":152729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619255,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:29:29] local.INFO: GPS data processed {"connection_id":152729,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:29:29] local.INFO: Acknowledgment sent {"connection_id":152729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:29:32] local.INFO: TCP Data received {"connection_id":152728,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea072e58012d196940071fedd80039011621..."} 
[2026-08-10 10:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea072e58012d196940071fedd80039011621..."} 
[2026-08-10 10:29:32] local.INFO: Processing buffer {"connection_id":152728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea072e58012d196940071fedd80039011621..."} 
[2026-08-10 10:29:32] local.INFO: Packet analysis {"connection_id":152728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea07"} 
[2026-08-10 10:29:32] local.INFO: Extracted packet for processing {"connection_id":152728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea07"} 
[2026-08-10 10:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302462976001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786337767000,"timestamp_ms":1786337767000,"timestamp_seconds":1786337767,"priority":1,"record_length":96,"hex_timestamp":"0000019fea072e58"} 
[2026-08-10 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-08-10 10:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 10:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302462976001,"66":12341,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302462976001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:29:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302462976001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":152728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:29:32] local.INFO: GPS data processed {"connection_id":152728,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:29:32] local.INFO: Acknowledgment sent {"connection_id":152728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:29:36] local.INFO: TCP Data received {"connection_id":151811,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:29:36] local.INFO: Processing buffer {"connection_id":151811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:29:36] local.INFO: Packet analysis {"connection_id":151811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:29:36] local.INFO: Extracted packet for processing {"connection_id":151811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302434560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337936000,"timestamp_ms":1786337936000,"timestamp_seconds":1786337936,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09c280"} 
[2026-08-10 10:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:29: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-08-10 10:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 10:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:29: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-08-10 10:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302434560001,"66":25897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302434560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:29:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302434560001,"power":25897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":151811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:29:36] local.INFO: GPS data processed {"connection_id":151811,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:29:36] local.INFO: Acknowledgment sent {"connection_id":151811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:29:54] local.INFO: TCP Data received {"connection_id":151812,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:29:54] local.INFO: Processing buffer {"connection_id":151812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:29:54] local.INFO: IMEI packet received {"connection_id":151812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":151812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:29:54] local.INFO: TCP Data received {"connection_id":151812,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:29:54] local.INFO: Processing buffer {"connection_id":151812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:29:54] local.INFO: IMEI packet received {"connection_id":151812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":151812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:29:59] local.INFO: TCP Data received {"connection_id":151419,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:29:59] local.INFO: Processing buffer {"connection_id":151419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:29:59] local.INFO: IMEI packet received {"connection_id":151419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":151419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:29:59] local.INFO: TCP Data received {"connection_id":151812,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:29:59] local.INFO: Processing buffer {"connection_id":151812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:29:59] local.INFO: IMEI packet received {"connection_id":151812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":151812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:30:00] local.INFO: TCP Data received {"connection_id":151812,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea078060012d196940071fedd80039011621..."} 
[2026-08-10 10:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea078060012d196940071fedd80039011621..."} 
[2026-08-10 10:30:00] local.INFO: Processing buffer {"connection_id":151812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea078060012d196940071fedd80039011621..."} 
[2026-08-10 10:30:00] local.INFO: Packet analysis {"connection_id":151812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea07"} 
[2026-08-10 10:30:00] local.INFO: Extracted packet for processing {"connection_id":151812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea07"} 
[2026-08-10 10:30:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302468352001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786337788000,"timestamp_ms":1786337788000,"timestamp_seconds":1786337788,"priority":1,"record_length":96,"hex_timestamp":"0000019fea078060"} 
[2026-08-10 10:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 10:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302468352001,"66":12689,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302468352001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:30:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302468352001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":151812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:30:00] local.INFO: GPS data processed {"connection_id":151812,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:30:00] local.INFO: Acknowledgment sent {"connection_id":151812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:30:00] local.INFO: TCP Data received {"connection_id":152729,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0899a0012d0c0cc007032310000d014021..."} 
[2026-08-10 10:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0899a0012d0c0cc007032310000d014021..."} 
[2026-08-10 10:30:00] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0899a0012d0c0cc007032310000d014021..."} 
[2026-08-10 10:30:00] local.INFO: Packet analysis {"connection_id":152729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea08"} 
[2026-08-10 10:30:00] local.INFO: Extracted packet for processing {"connection_id":152729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea08"} 
[2026-08-10 10:30:00] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":33,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 10:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302486784001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786337860000,"timestamp_ms":1786337860000,"timestamp_seconds":1786337860,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0899a0"} 
[2026-08-10 10:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 10:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302486784001,"66":14537,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302486784001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:30:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:30:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302486784001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":152729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619259,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:30:01] local.INFO: GPS data processed {"connection_id":152729,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:30:01] local.INFO: Acknowledgment sent {"connection_id":152729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:30:04] local.INFO: TCP Data received {"connection_id":151419,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:30:04] local.INFO: Processing buffer {"connection_id":151419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:30:04] local.INFO: IMEI packet received {"connection_id":151419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":151419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:30:06] local.INFO: TCP Data received {"connection_id":151419,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:30:06] local.INFO: Processing buffer {"connection_id":151419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:30:06] local.INFO: Packet analysis {"connection_id":151419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:30:06] local.INFO: Extracted packet for processing {"connection_id":151419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302434560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786337936000,"timestamp_ms":1786337936000,"timestamp_seconds":1786337936,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09c280"} 
[2026-08-10 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-08-10 10:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 10:30: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-08-10 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-08-10 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-08-10 10:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302434560001,"66":25897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302434560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:30:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302434560001,"power":25897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":151419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:30:06] local.INFO: GPS data processed {"connection_id":151419,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:30:06] local.INFO: Acknowledgment sent {"connection_id":151419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:30:29] local.INFO: TCP Data received {"connection_id":154189,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154189,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:30:29] local.INFO: Processing buffer {"connection_id":154189,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:30:29] local.INFO: IMEI packet received {"connection_id":154189,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":154189,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:30:30] local.INFO: TCP Data received {"connection_id":154189,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154189,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:30:30] local.INFO: Processing buffer {"connection_id":154189,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:30:30] local.INFO: IMEI packet received {"connection_id":154189,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":154189,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:30:30] local.INFO: TCP Data received {"connection_id":154189,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea08eba8012d0c0cc007032310000d014027..."} 
[2026-08-10 10:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea08eba8012d0c0cc007032310000d014027..."} 
[2026-08-10 10:30:30] local.INFO: Processing buffer {"connection_id":154189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea08eba8012d0c0cc007032310000d014027..."} 
[2026-08-10 10:30:30] local.INFO: Packet analysis {"connection_id":154189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea08"} 
[2026-08-10 10:30:30] local.INFO: Extracted packet for processing {"connection_id":154189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea08"} 
[2026-08-10 10:30:30] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":39,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 10:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302492160001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786337881000,"timestamp_ms":1786337881000,"timestamp_seconds":1786337881,"priority":1,"record_length":96,"hex_timestamp":"0000019fea08eba8"} 
[2026-08-10 10:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 10:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302492160001,"66":14352,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302492160001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:30:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:30:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302492160001,"power":14352,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":154189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619261,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:30:31] local.INFO: GPS data processed {"connection_id":154189,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:30:31] local.INFO: Acknowledgment sent {"connection_id":154189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:30:31] local.INFO: TCP Data received {"connection_id":151812,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea07d268012d196940071fedd8003901161f..."} 
[2026-08-10 10:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea07d268012d196940071fedd8003901161f..."} 
[2026-08-10 10:30:31] local.INFO: Processing buffer {"connection_id":151812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea07d268012d196940071fedd8003901161f..."} 
[2026-08-10 10:30:31] local.INFO: Packet analysis {"connection_id":151812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea07"} 
[2026-08-10 10:30:31] local.INFO: Extracted packet for processing {"connection_id":151812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea07"} 
[2026-08-10 10:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":31,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302473728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786337809000,"timestamp_ms":1786337809000,"timestamp_seconds":1786337809,"priority":1,"record_length":96,"hex_timestamp":"0000019fea07d268"} 
[2026-08-10 10:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 10:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302473728001,"66":12678,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302473728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:30:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:30:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302473728001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":151812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:30:31] local.INFO: GPS data processed {"connection_id":151812,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:30:31] local.INFO: Acknowledgment sent {"connection_id":151812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:30:37] local.INFO: TCP Data received {"connection_id":151419,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:30:37] local.INFO: Processing buffer {"connection_id":151419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:30:37] local.INFO: Packet analysis {"connection_id":151419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:30:37] local.INFO: Extracted packet for processing {"connection_id":151419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302434560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786337936000,"timestamp_ms":1786337936000,"timestamp_seconds":1786337936,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09c280"} 
[2026-08-10 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-08-10 10:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 10:30: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-08-10 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-08-10 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-08-10 10:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302434560001,"66":25897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302434560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:30:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302434560001,"power":25897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":151419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:30:38] local.INFO: GPS data processed {"connection_id":151419,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:30:38] local.INFO: Acknowledgment sent {"connection_id":151419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:30:54] local.INFO: TCP Data received {"connection_id":154190,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:30:54] local.INFO: Processing buffer {"connection_id":154190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:30:54] local.INFO: IMEI packet received {"connection_id":154190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":154190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:30:57] local.INFO: TCP Data received {"connection_id":154190,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:30:57] local.INFO: Processing buffer {"connection_id":154190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:30:57] local.INFO: IMEI packet received {"connection_id":154190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":154190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:31:00] local.INFO: TCP Data received {"connection_id":154190,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:31:00] local.INFO: Processing buffer {"connection_id":154190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:31:00] local.INFO: IMEI packet received {"connection_id":154190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":154190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:31:01] local.INFO: TCP Data received {"connection_id":154190,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea082470012d196940071fedd80039011620..."} 
[2026-08-10 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea082470012d196940071fedd80039011620..."} 
[2026-08-10 10:31:01] local.INFO: Processing buffer {"connection_id":154190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea082470012d196940071fedd80039011620..."} 
[2026-08-10 10:31:01] local.INFO: Packet analysis {"connection_id":154190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea08"} 
[2026-08-10 10:31:01] local.INFO: Extracted packet for processing {"connection_id":154190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea08"} 
[2026-08-10 10:31:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302479104001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337830000,"timestamp_ms":1786337830000,"timestamp_seconds":1786337830,"priority":1,"record_length":96,"hex_timestamp":"0000019fea082470"} 
[2026-08-10 10:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:31: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-08-10 10: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 10:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302479104001,"66":12667,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302479104001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:31:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302479104001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":154190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:31:01] local.INFO: GPS data processed {"connection_id":154190,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:31:01] local.INFO: Acknowledgment sent {"connection_id":154190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:31:04] local.INFO: TCP Data received {"connection_id":152730,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:31:04] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:31:04] local.INFO: IMEI packet received {"connection_id":152730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":152730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:31:09] local.INFO: TCP Data received {"connection_id":152730,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:31:09] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:31:09] local.INFO: IMEI packet received {"connection_id":152730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":152730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:31:10] local.INFO: TCP Data received {"connection_id":152730,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:31:10] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:31:10] local.INFO: Packet analysis {"connection_id":152730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:31:10] local.INFO: Extracted packet for processing {"connection_id":152730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302434560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786337936000,"timestamp_ms":1786337936000,"timestamp_seconds":1786337936,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09c280"} 
[2026-08-10 10:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:31: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-08-10 10: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 10:31: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-08-10 10: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-08-10 10:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302434560001,"66":25897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302434560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:31:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302434560001,"power":25897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":152730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:31:10] local.INFO: GPS data processed {"connection_id":152730,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:31:10] local.INFO: Acknowledgment sent {"connection_id":152730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:31:12] local.INFO: TCP Data received {"connection_id":154189,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea093db0012d0c0cc007032310000d014027..."} 
[2026-08-10 10:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea093db0012d0c0cc007032310000d014027..."} 
[2026-08-10 10:31:12] local.INFO: Processing buffer {"connection_id":154189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea093db0012d0c0cc007032310000d014027..."} 
[2026-08-10 10:31:12] local.INFO: Packet analysis {"connection_id":154189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:31:12] local.INFO: Extracted packet for processing {"connection_id":154189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:31:12] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":39,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 10:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302497536001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786337902000,"timestamp_ms":1786337902000,"timestamp_seconds":1786337902,"priority":1,"record_length":96,"hex_timestamp":"0000019fea093db0"} 
[2026-08-10 10:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3660549673975808,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3926327160,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4621819117588971530,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504016974905344,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070194981,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756222048534784,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2147560716,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":12,"raw_value":918742034038128653,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84737216890733347,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:12] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,37,94,24,241,157,16,43,159,153,45,192,35,13,33,10,66,71,34,245,1,240,212,227,234,3,4,113,205,81,12,38,239,56,2,97,7,206,112],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0}]} 
[2026-08-10 10:31:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937100733717676032,"timestamp_seconds":937100733717676.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 10:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302497536001,"66":14233,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302497536001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:31:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:31:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302497536001,"power":14233,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":154189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619266,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:31:12] local.INFO: GPS data processed {"connection_id":154189,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:31:12] local.INFO: Acknowledgment sent {"connection_id":154189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:31:13] local.INFO: TCP Data received {"connection_id":154189,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea098fb8012d0c0cc007032310000d014028..."} 
[2026-08-10 10:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea098fb8012d0c0cc007032310000d014028..."} 
[2026-08-10 10:31:13] local.INFO: Processing buffer {"connection_id":154189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea098fb8012d0c0cc007032310000d014028..."} 
[2026-08-10 10:31:13] local.INFO: Packet analysis {"connection_id":154189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:31:13] local.INFO: Extracted packet for processing {"connection_id":154189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:31:13] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":40,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 10:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302502912001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786337923000,"timestamp_ms":1786337923000,"timestamp_seconds":1786337923,"priority":1,"record_length":96,"hex_timestamp":"0000019fea098fb8"} 
[2026-08-10 10:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 10:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302502912001,"66":14407,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302502912001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:31:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:31:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302502912001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":154189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619267,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:31:13] local.INFO: GPS data processed {"connection_id":154189,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:31:13] local.ERROR: TCP Connection error {"connection_id":154189,"code":2,"message":"client closed"} 
[2026-08-10 10:31:13] local.INFO: Acknowledgment sent {"connection_id":154189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:31:14] local.INFO: TCP Data received {"connection_id":152730,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:31:15] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:31:15] local.INFO: Packet analysis {"connection_id":152730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:31:15] local.INFO: Extracted packet for processing {"connection_id":152730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302434560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786337936000,"timestamp_ms":1786337936000,"timestamp_seconds":1786337936,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09c280"} 
[2026-08-10 10:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 10:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302434560001,"66":25897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302434560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:31:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302434560001,"power":25897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":152730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:31:15] local.INFO: GPS data processed {"connection_id":152730,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:31:15] local.INFO: Acknowledgment sent {"connection_id":152730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:31:24] local.INFO: TCP Data received {"connection_id":154191,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154191,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:31:24] local.INFO: Processing buffer {"connection_id":154191,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:31:24] local.INFO: IMEI packet received {"connection_id":154191,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":154191,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:31:28] local.INFO: TCP Data received {"connection_id":154191,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154191,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:31:28] local.INFO: Processing buffer {"connection_id":154191,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:31:28] local.INFO: IMEI packet received {"connection_id":154191,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":154191,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:31:28] local.INFO: TCP Data received {"connection_id":154191,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09e1c0012d0c0cc007032310000d014029..."} 
[2026-08-10 10:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09e1c0012d0c0cc007032310000d014029..."} 
[2026-08-10 10:31:28] local.INFO: Processing buffer {"connection_id":154191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09e1c0012d0c0cc007032310000d014029..."} 
[2026-08-10 10:31:28] local.INFO: Packet analysis {"connection_id":154191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:31:28] local.INFO: Extracted packet for processing {"connection_id":154191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:31:28] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":41,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 10:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302508288001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786337944000,"timestamp_ms":1786337944000,"timestamp_seconds":1786337944,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09e1c0"} 
[2026-08-10 10:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 10:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":154191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":154191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":154191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302508288001,"66":14548,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302508288001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:31:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:31:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302508288001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":154191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619269,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:31:29] local.INFO: GPS data processed {"connection_id":154191,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:31:29] local.INFO: Acknowledgment sent {"connection_id":154191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:31:32] local.INFO: TCP Data received {"connection_id":154190,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea087678012d196940071fedd80039011620..."} 
[2026-08-10 10:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea087678012d196940071fedd80039011620..."} 
[2026-08-10 10:31:32] local.INFO: Processing buffer {"connection_id":154190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea087678012d196940071fedd80039011620..."} 
[2026-08-10 10:31:32] local.INFO: Packet analysis {"connection_id":154190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea08"} 
[2026-08-10 10:31:32] local.INFO: Extracted packet for processing {"connection_id":154190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea08"} 
[2026-08-10 10:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302484480001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786337851000,"timestamp_ms":1786337851000,"timestamp_seconds":1786337851,"priority":1,"record_length":96,"hex_timestamp":"0000019fea087678"} 
[2026-08-10 10:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:31: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-08-10 10: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 10:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302484480001,"66":12667,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302484480001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:31:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:31:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302484480001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":154190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:31:32] local.INFO: GPS data processed {"connection_id":154190,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:31:32] local.INFO: Acknowledgment sent {"connection_id":154190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:31:59] local.INFO: TCP Data received {"connection_id":151420,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:31:59] local.INFO: Processing buffer {"connection_id":151420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:31:59] local.INFO: IMEI packet received {"connection_id":151420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":151420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:32:00] local.INFO: TCP Data received {"connection_id":154191,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0a33c8012d0c0cc007032310000d014028..."} 
[2026-08-10 10:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0a33c8012d0c0cc007032310000d014028..."} 
[2026-08-10 10:32:00] local.INFO: Processing buffer {"connection_id":154191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0a33c8012d0c0cc007032310000d014028..."} 
[2026-08-10 10:32:00] local.INFO: Packet analysis {"connection_id":154191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0a"} 
[2026-08-10 10:32:00] local.INFO: Extracted packet for processing {"connection_id":154191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0a"} 
[2026-08-10 10:32:00] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":40,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 10:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302513664001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786337965000,"timestamp_ms":1786337965000,"timestamp_seconds":1786337965,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0a33c8"} 
[2026-08-10 10:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:32: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-08-10 10: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 10:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302513664001,"66":14439,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302513664001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:32:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:32:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302513664001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:32:00] local.INFO: TCP Data received {"connection_id":151421,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:32:00] local.INFO: Processing buffer {"connection_id":151421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:32:00] local.INFO: IMEI packet received {"connection_id":151421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":151421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":154191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:32:00] local.INFO: GPS data processed {"connection_id":154191,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:32:00] local.INFO: Acknowledgment sent {"connection_id":154191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:32:00] local.INFO: TCP Data received {"connection_id":151421,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:32:00] local.INFO: Processing buffer {"connection_id":151421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:32:00] local.INFO: IMEI packet received {"connection_id":151421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":151421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:32:04] local.INFO: TCP Data received {"connection_id":151420,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:32:04] local.INFO: Processing buffer {"connection_id":151420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:32:04] local.INFO: IMEI packet received {"connection_id":151420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":151420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:32:05] local.INFO: TCP Data received {"connection_id":151421,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:32:05] local.INFO: Processing buffer {"connection_id":151421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:32:05] local.INFO: IMEI packet received {"connection_id":151421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":151421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:32:05] local.INFO: TCP Data received {"connection_id":151420,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:32:05] local.INFO: Processing buffer {"connection_id":151420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:32:05] local.INFO: Packet analysis {"connection_id":151420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:32:05] local.INFO: Extracted packet for processing {"connection_id":151420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302434560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337936000,"timestamp_ms":1786337936000,"timestamp_seconds":1786337936,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09c280"} 
[2026-08-10 10:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:32: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-08-10 10:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 10:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302434560001,"66":25897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302434560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:32:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302434560001,"power":25897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":151420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:32:05] local.INFO: GPS data processed {"connection_id":151420,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:32:05] local.INFO: Acknowledgment sent {"connection_id":151420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:32:05] local.INFO: TCP Data received {"connection_id":151421,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea08c880012d196940071fedd8003901161f..."} 
[2026-08-10 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea08c880012d196940071fedd8003901161f..."} 
[2026-08-10 10:32:05] local.INFO: Processing buffer {"connection_id":151421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea08c880012d196940071fedd8003901161f..."} 
[2026-08-10 10:32:05] local.INFO: Packet analysis {"connection_id":151421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea08"} 
[2026-08-10 10:32:05] local.INFO: Extracted packet for processing {"connection_id":151421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea08"} 
[2026-08-10 10:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":31,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302489856001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337872000,"timestamp_ms":1786337872000,"timestamp_seconds":1786337872,"priority":1,"record_length":96,"hex_timestamp":"0000019fea08c880"} 
[2026-08-10 10:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":123,"data_length":795,"current_offset":136} 
[2026-08-10 10:32: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-08-10 10:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302489856001,"66":12645,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302489856001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:32:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302489856001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":151421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:32:06] local.INFO: GPS data processed {"connection_id":151421,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:32:06] local.INFO: Acknowledgment sent {"connection_id":151421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:32:10] local.INFO: TCP Data received {"connection_id":151421,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea091a88012d196940071fedd8003901161f..."} 
[2026-08-10 10:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea091a88012d196940071fedd8003901161f..."} 
[2026-08-10 10:32:10] local.INFO: Processing buffer {"connection_id":151421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea091a88012d196940071fedd8003901161f..."} 
[2026-08-10 10:32:10] local.INFO: Packet analysis {"connection_id":151421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:32:10] local.INFO: Extracted packet for processing {"connection_id":151421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":31,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302495232001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786337893000,"timestamp_ms":1786337893000,"timestamp_seconds":1786337893,"priority":1,"record_length":96,"hex_timestamp":"0000019fea091a88"} 
[2026-08-10 10:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:32: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-08-10 10:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 10:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302495232001,"66":12645,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302495232001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:32:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302495232001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":151421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:32:10] local.INFO: GPS data processed {"connection_id":151421,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:32:10] local.INFO: Acknowledgment sent {"connection_id":151421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:32:24] local.INFO: TCP Data received {"connection_id":151813,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151813,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:32:24] local.INFO: Processing buffer {"connection_id":151813,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:32:24] local.INFO: IMEI packet received {"connection_id":151813,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":151813,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:32:29] local.INFO: TCP Data received {"connection_id":151813,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151813,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:32:29] local.INFO: Processing buffer {"connection_id":151813,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:32:29] local.INFO: IMEI packet received {"connection_id":151813,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":151813,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:32:30] local.INFO: TCP Data received {"connection_id":151813,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0a85d0012d0c0cc007032310000d014023..."} 
[2026-08-10 10:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0a85d0012d0c0cc007032310000d014023..."} 
[2026-08-10 10:32:30] local.INFO: Processing buffer {"connection_id":151813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0a85d0012d0c0cc007032310000d014023..."} 
[2026-08-10 10:32:30] local.INFO: Packet analysis {"connection_id":151813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0a"} 
[2026-08-10 10:32:30] local.INFO: Extracted packet for processing {"connection_id":151813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0a"} 
[2026-08-10 10:32:30] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":35,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 10:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302519040001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786337986000,"timestamp_ms":1786337986000,"timestamp_seconds":1786337986,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0a85d0"} 
[2026-08-10 10:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 10:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302519040001,"66":14407,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302519040001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:32:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:32:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302519040001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":151813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619275,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:32:30] local.INFO: GPS data processed {"connection_id":151813,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:32:30] local.INFO: Acknowledgment sent {"connection_id":151813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:32:36] local.INFO: TCP Data received {"connection_id":151420,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:32:36] local.INFO: Processing buffer {"connection_id":151420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:32:36] local.INFO: Packet analysis {"connection_id":151420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:32:36] local.INFO: Extracted packet for processing {"connection_id":151420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302434560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337936000,"timestamp_ms":1786337936000,"timestamp_seconds":1786337936,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09c280"} 
[2026-08-10 10:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:32: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-08-10 10:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 10:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302434560001,"66":25897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302434560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:32:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302434560001,"power":25897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":151420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:32:36] local.INFO: GPS data processed {"connection_id":151420,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:32:36] local.INFO: Acknowledgment sent {"connection_id":151420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:32:55] local.INFO: TCP Data received {"connection_id":152731,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:32:55] local.INFO: Processing buffer {"connection_id":152731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:32:55] local.INFO: IMEI packet received {"connection_id":152731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":152731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:32:59] local.INFO: TCP Data received {"connection_id":154192,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:32:59] local.INFO: Processing buffer {"connection_id":154192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:32:59] local.INFO: IMEI packet received {"connection_id":154192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":154192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:33:00] local.INFO: TCP Data received {"connection_id":152731,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:33:00] local.INFO: Processing buffer {"connection_id":152731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:33:00] local.INFO: IMEI packet received {"connection_id":152731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":152731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:33:01] local.INFO: TCP Data received {"connection_id":151813,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0ad7d8012d0c0cc007032310000d014025..."} 
[2026-08-10 10:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0ad7d8012d0c0cc007032310000d014025..."} 
[2026-08-10 10:33:01] local.INFO: Processing buffer {"connection_id":151813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0ad7d8012d0c0cc007032310000d014025..."} 
[2026-08-10 10:33:01] local.INFO: Packet analysis {"connection_id":151813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0a"} 
[2026-08-10 10:33:01] local.INFO: Extracted packet for processing {"connection_id":151813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0a"} 
[2026-08-10 10:33:01] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302524416001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786338007000,"timestamp_ms":1786338007000,"timestamp_seconds":1786338007,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0ad7d8"} 
[2026-08-10 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-08-10 10:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 10:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302524416001,"66":14548,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302524416001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:33:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:33:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302524416001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:33:01] local.INFO: TCP Data received {"connection_id":152731,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea096c90012d196940071fedd8003901161f..."} 
[2026-08-10 10:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea096c90012d196940071fedd8003901161f..."} 
[2026-08-10 10:33:01] local.INFO: Processing buffer {"connection_id":152731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea096c90012d196940071fedd8003901161f..."} 
[2026-08-10 10:33:01] local.INFO: Packet analysis {"connection_id":152731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:33:01] local.INFO: Extracted packet for processing {"connection_id":152731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:33:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":31,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302500608001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337914000,"timestamp_ms":1786337914000,"timestamp_seconds":1786337914,"priority":1,"record_length":96,"hex_timestamp":"0000019fea096c90"} 
[2026-08-10 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-08-10 10:33: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-08-10 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 10:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302500608001,"66":12613,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302500608001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:33:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:33:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302500608001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":152731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:33:01] local.INFO: GPS data processed {"connection_id":152731,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:33:01] local.INFO: Acknowledgment sent {"connection_id":152731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":151813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619278,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:33:01] local.INFO: GPS data processed {"connection_id":151813,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:33:01] local.INFO: Acknowledgment sent {"connection_id":151813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:33:04] local.INFO: TCP Data received {"connection_id":154192,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:33:04] local.INFO: Processing buffer {"connection_id":154192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:33:04] local.INFO: IMEI packet received {"connection_id":154192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":154192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:33:05] local.INFO: TCP Data received {"connection_id":154192,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:33:05] local.INFO: Processing buffer {"connection_id":154192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:33:05] local.INFO: Packet analysis {"connection_id":154192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:33:05] local.INFO: Extracted packet for processing {"connection_id":154192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:33:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302434560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337936000,"timestamp_ms":1786337936000,"timestamp_seconds":1786337936,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09c280"} 
[2026-08-10 10:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:33: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-08-10 10:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 10:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302434560001,"66":25897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302434560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:33:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:33:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302434560001,"power":25897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":154192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:33:05] local.INFO: GPS data processed {"connection_id":154192,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:33:05] local.INFO: Acknowledgment sent {"connection_id":154192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:33:25] local.INFO: TCP Data received {"connection_id":151814,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151814,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:33:25] local.INFO: Processing buffer {"connection_id":151814,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:33:25] local.INFO: IMEI packet received {"connection_id":151814,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":151814,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:33:29] local.INFO: TCP Data received {"connection_id":151814,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151814,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:33:29] local.INFO: Processing buffer {"connection_id":151814,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:33:29] local.INFO: IMEI packet received {"connection_id":151814,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":151814,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:33:30] local.INFO: TCP Data received {"connection_id":151814,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0b29e0012d0c0cc007032310000d014027..."} 
[2026-08-10 10:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0b29e0012d0c0cc007032310000d014027..."} 
[2026-08-10 10:33:30] local.INFO: Processing buffer {"connection_id":151814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0b29e0012d0c0cc007032310000d014027..."} 
[2026-08-10 10:33:30] local.INFO: Packet analysis {"connection_id":151814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0b"} 
[2026-08-10 10:33:30] local.INFO: Extracted packet for processing {"connection_id":151814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0b"} 
[2026-08-10 10:33:30] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117646096,"longitude_deg":75.5764416,"latitude_deg":11.7646096,"altitude":13,"angle":320,"satellites":39,"speed":0,"hex_longitude":"2d0c0cc0","hex_latitude":"07032310","is_valid_coordinates":true} 
[2026-08-10 10:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302529792001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351288043798528,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786338028000,"timestamp_ms":1786338028000,"timestamp_seconds":1786338028,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0b29e0"} 
[2026-08-10 10:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 10:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302529792001,"66":14537,"37":206,"94":11008,"24":0,"16":27351288043798528,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302529792001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:33:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:33:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351288043798528,"km_value":27351288043798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302529792001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":151814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619280,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:33:30] local.INFO: GPS data processed {"connection_id":151814,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:33:30] local.INFO: Acknowledgment sent {"connection_id":151814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:33:32] local.INFO: TCP Data received {"connection_id":152731,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09be98012d196940071fedd8003901161f..."} 
[2026-08-10 10:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09be98012d196940071fedd8003901161f..."} 
[2026-08-10 10:33:32] local.INFO: Processing buffer {"connection_id":152731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09be98012d196940071fedd8003901161f..."} 
[2026-08-10 10:33:32] local.INFO: Packet analysis {"connection_id":152731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:33:32] local.INFO: Extracted packet for processing {"connection_id":152731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":31,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302505984001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786337935000,"timestamp_ms":1786337935000,"timestamp_seconds":1786337935,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09be98"} 
[2026-08-10 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-08-10 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 10:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302505984001,"66":12558,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302505984001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:33:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302505984001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":152731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:33:32] local.INFO: GPS data processed {"connection_id":152731,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:33:32] local.INFO: Acknowledgment sent {"connection_id":152731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:33:36] local.INFO: TCP Data received {"connection_id":154192,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:33:36] local.INFO: Processing buffer {"connection_id":154192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:33:36] local.INFO: Packet analysis {"connection_id":154192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:33:36] local.INFO: Extracted packet for processing {"connection_id":154192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302434560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786337936000,"timestamp_ms":1786337936000,"timestamp_seconds":1786337936,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09c280"} 
[2026-08-10 10:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:33: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-08-10 10:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 10:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302434560001,"66":25897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302434560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:33:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302434560001,"power":25897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":154192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:33:36] local.INFO: GPS data processed {"connection_id":154192,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:33:36] local.INFO: Acknowledgment sent {"connection_id":154192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:33:54] local.INFO: TCP Data received {"connection_id":151815,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:33:54] local.INFO: Processing buffer {"connection_id":151815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:33:54] local.INFO: IMEI packet received {"connection_id":151815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":151815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:34:00] local.INFO: TCP Data received {"connection_id":151815,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:34:00] local.INFO: Processing buffer {"connection_id":151815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:34:00] local.INFO: IMEI packet received {"connection_id":151815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":151815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:34:01] local.INFO: TCP Data received {"connection_id":151815,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0a10a0012d196940071fedd80039011620..."} 
[2026-08-10 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0a10a0012d196940071fedd80039011620..."} 
[2026-08-10 10:34:01] local.INFO: Processing buffer {"connection_id":151815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0a10a0012d196940071fedd80039011620..."} 
[2026-08-10 10:34:01] local.INFO: Packet analysis {"connection_id":151815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0a"} 
[2026-08-10 10:34:01] local.INFO: Extracted packet for processing {"connection_id":151815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0a"} 
[2026-08-10 10:34:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302511360001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786337956000,"timestamp_ms":1786337956000,"timestamp_seconds":1786337956,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0a10a0"} 
[2026-08-10 10:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:34: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-08-10 10: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3926381160,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356025,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":32769,"corrected_to":0} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744329842879960,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,87,159,108,45,64,237,57,31,10,66,26,200,1,240,101,227,234,4,113,205,36,105,216,32,239,49,2,40,7,120,56,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":200,"original":32769,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-10 10:34:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588657538400256,"timestamp_seconds":4107588657538400.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 10:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302511360001,"66":12558,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302511360001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:34:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:34:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302511360001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":151815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:34:01] local.INFO: GPS data processed {"connection_id":151815,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:34:01] local.INFO: Acknowledgment sent {"connection_id":151815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:34:01] local.INFO: TCP Data received {"connection_id":151814,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0b6c48012d0c0b8007032568000e015927..."} 
[2026-08-10 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0b6c48012d0c0b8007032568000e015927..."} 
[2026-08-10 10:34:01] local.INFO: Processing buffer {"connection_id":151814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0b6c48012d0c0b8007032568000e015927..."} 
[2026-08-10 10:34:01] local.INFO: Packet analysis {"connection_id":151814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0b"} 
[2026-08-10 10:34:01] local.INFO: Extracted packet for processing {"connection_id":151814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0b"} 
[2026-08-10 10:34:01] local.INFO: GPS Element Parsed {"raw_longitude":755764096,"raw_latitude":117646696,"longitude_deg":75.5764096,"latitude_deg":11.7646696,"altitude":14,"angle":345,"satellites":39,"speed":11,"hex_longitude":"2d0c0b80","hex_latitude":"07032568","is_valid_coordinates":true} 
[2026-08-10 10:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302535168001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351322403536896,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964525596672,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786338045000,"timestamp_ms":1786338045000,"timestamp_seconds":1786338045,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0b6c48"} 
[2026-08-10 10:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 10:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302535168001,"66":14428,"37":206,"94":11008,"24":11,"16":27351322403536896,"45":868279964525596672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302535168001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:34:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:34:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351322403536896,"km_value":27351322403536.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964525596672,"description":"Unknown IO ID 45"} 
[2026-08-10 10:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302535168001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":868279964525596672}} 
[2026-08-10 10:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":151814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619284,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:34:01] local.INFO: GPS data processed {"connection_id":151814,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:34:01] local.INFO: Acknowledgment sent {"connection_id":151814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:34:03] local.INFO: TCP Data received {"connection_id":151422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:34:03] local.INFO: Processing buffer {"connection_id":151422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:34:03] local.INFO: IMEI packet received {"connection_id":151422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":151422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:34:04] local.INFO: TCP Data received {"connection_id":151422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:34:04] local.INFO: Processing buffer {"connection_id":151422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:34:04] local.INFO: IMEI packet received {"connection_id":151422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":151422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:34:05] local.INFO: TCP Data received {"connection_id":151422,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:34:05] local.INFO: Processing buffer {"connection_id":151422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:34:05] local.INFO: Packet analysis {"connection_id":151422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:34:05] local.INFO: Extracted packet for processing {"connection_id":151422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302434560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786337936000,"timestamp_ms":1786337936000,"timestamp_seconds":1786337936,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09c280"} 
[2026-08-10 10:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:34: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-08-10 10:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 10:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302434560001,"66":25897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302434560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:34:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:34:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302434560001,"power":25897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":151422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:34:05] local.INFO: GPS data processed {"connection_id":151422,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:34:05] local.INFO: Acknowledgment sent {"connection_id":151422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:34:10] local.INFO: TCP Data received {"connection_id":151422,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:34:10] local.INFO: Processing buffer {"connection_id":151422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea09c280012d342a4006abc2800018010227..."} 
[2026-08-10 10:34:10] local.INFO: Packet analysis {"connection_id":151422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:34:10] local.INFO: Extracted packet for processing {"connection_id":151422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea09"} 
[2026-08-10 10:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302434560001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786337936000,"timestamp_ms":1786337936000,"timestamp_seconds":1786337936,"priority":1,"record_length":96,"hex_timestamp":"0000019fea09c280"} 
[2026-08-10 10:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:34: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-08-10 10: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 10:34: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-08-10 10: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-08-10 10:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302434560001,"66":25897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302434560001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:34:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302434560001,"power":25897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":151422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:34:10] local.INFO: GPS data processed {"connection_id":151422,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:34:10] local.INFO: Acknowledgment sent {"connection_id":151422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:34:24] local.INFO: TCP Data received {"connection_id":152732,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:34:24] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:34:24] local.INFO: IMEI packet received {"connection_id":152732,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":152732,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:34:24] local.INFO: TCP Data received {"connection_id":152732,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:34:24] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:34:24] local.INFO: IMEI packet received {"connection_id":152732,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":152732,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:34:29] local.INFO: TCP Data received {"connection_id":152732,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:34:29] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:34:29] local.INFO: IMEI packet received {"connection_id":152732,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":152732,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:34:30] local.INFO: TCP Data received {"connection_id":152732,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0bba68012d0c05c007033af0000f015525..."} 
[2026-08-10 10:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0bba68012d0c05c007033af0000f015525..."} 
[2026-08-10 10:34:30] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0bba68012d0c05c007033af0000f015525..."} 
[2026-08-10 10:34:30] local.INFO: Packet analysis {"connection_id":152732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0b"} 
[2026-08-10 10:34:30] local.INFO: Extracted packet for processing {"connection_id":152732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0b"} 
[2026-08-10 10:34:30] local.INFO: GPS Element Parsed {"raw_longitude":755762624,"raw_latitude":117652208,"longitude_deg":75.5762624,"latitude_deg":11.7652208,"altitude":15,"angle":341,"satellites":37,"speed":0,"hex_longitude":"2d0c05c0","hex_latitude":"07033af0","is_valid_coordinates":true} 
[2026-08-10 10:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302539520001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27351597281443840,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867928120804861952,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786338065000,"timestamp_ms":1786338065000,"timestamp_seconds":1786338065,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0bba68"} 
[2026-08-10 10:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 10:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302539520001,"66":14254,"37":206,"94":11008,"24":0,"16":27351597281443840,"45":867928120804861952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302539520001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:34:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:34:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27351597281443840,"km_value":27351597281443.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":867928120804861952,"description":"Unknown IO ID 45"} 
[2026-08-10 10:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302539520001,"power":14254,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":867928120804861952}} 
[2026-08-10 10:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":152732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619287,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:34:30] local.INFO: GPS data processed {"connection_id":152732,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:34:30] local.INFO: Acknowledgment sent {"connection_id":152732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:34:32] local.INFO: TCP Data received {"connection_id":151815,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0d96f8012d196940071fedd80039011621..."} 
[2026-08-10 10:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0d96f8012d196940071fedd80039011621..."} 
[2026-08-10 10:34:32] local.INFO: Processing buffer {"connection_id":151815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0d96f8012d196940071fedd80039011621..."} 
[2026-08-10 10:34:32] local.INFO: Packet analysis {"connection_id":151815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0d"} 
[2026-08-10 10:34:32] local.INFO: Extracted packet for processing {"connection_id":151815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0d"} 
[2026-08-10 10:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302570496001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786338187000,"timestamp_ms":1786338187000,"timestamp_seconds":1786338187,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0d96f8"} 
[2026-08-10 10:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 10:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302570496001,"66":12461,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302570496001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:34:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302570496001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":151815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:34:32] local.INFO: GPS data processed {"connection_id":151815,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:34:32] local.INFO: Acknowledgment sent {"connection_id":151815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:34:41] local.INFO: TCP Data received {"connection_id":151422,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:34:41] local.INFO: Processing buffer {"connection_id":151422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:34:41] local.INFO: Packet analysis {"connection_id":151422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:34:41] local.INFO: Extracted packet for processing {"connection_id":151422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302511616001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786338237000,"timestamp_ms":1786338237000,"timestamp_seconds":1786338237,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0e5a48"} 
[2026-08-10 10:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302511616001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302511616001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:34:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302511616001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":151422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:34:41] local.INFO: GPS data processed {"connection_id":151422,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:34:41] local.INFO: Acknowledgment sent {"connection_id":151422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:34:55] local.INFO: TCP Data received {"connection_id":154193,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:34:55] local.INFO: Processing buffer {"connection_id":154193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:34:55] local.INFO: IMEI packet received {"connection_id":154193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":154193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:35:00] local.INFO: TCP Data received {"connection_id":154193,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:35:00] local.INFO: Processing buffer {"connection_id":154193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:35:00] local.INFO: IMEI packet received {"connection_id":154193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":154193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:35:01] local.INFO: TCP Data received {"connection_id":154193,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0de900012d196940071fedd80039011620..."} 
[2026-08-10 10:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0de900012d196940071fedd80039011620..."} 
[2026-08-10 10:35:01] local.INFO: Processing buffer {"connection_id":154193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0de900012d196940071fedd80039011620..."} 
[2026-08-10 10:35:01] local.INFO: Packet analysis {"connection_id":154193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0d"} 
[2026-08-10 10:35:01] local.INFO: Extracted packet for processing {"connection_id":154193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0d"} 
[2026-08-10 10:35:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302575872001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786338208000,"timestamp_ms":1786338208000,"timestamp_seconds":1786338208,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0de900"} 
[2026-08-10 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-08-10 10:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 10:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302575872001,"66":12504,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302575872001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:35:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302575872001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":154193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:35:01] local.INFO: GPS data processed {"connection_id":154193,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:35:01] local.INFO: Acknowledgment sent {"connection_id":154193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:35:01] local.INFO: TCP Data received {"connection_id":152732,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0f3cd8012d0c0cc007039ab8000d015a25..."} 
[2026-08-10 10:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0f3cd8012d0c0cc007039ab8000d015a25..."} 
[2026-08-10 10:35:01] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0f3cd8012d0c0cc007039ab8000d015a25..."} 
[2026-08-10 10:35:01] local.INFO: Packet analysis {"connection_id":152732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0f"} 
[2026-08-10 10:35:01] local.INFO: Extracted packet for processing {"connection_id":152732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0f"} 
[2026-08-10 10:35:01] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117676728,"longitude_deg":75.5764416,"latitude_deg":11.7676728,"altitude":13,"angle":346,"satellites":37,"speed":8,"hex_longitude":"2d0c0cc0","hex_latitude":"07039ab8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302600960001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27352821347123200,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866168902206416896,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786338295000,"timestamp_ms":1786338295000,"timestamp_seconds":1786338295,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0f3cd8"} 
[2026-08-10 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-08-10 10:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 10:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302600960001,"66":14559,"37":206,"94":11008,"24":8,"16":27352821347123200,"45":866168902206416896},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302600960001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:35:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:35:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27352821347123200,"km_value":27352821347123.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":866168902206416896,"description":"Unknown IO ID 45"} 
[2026-08-10 10:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302600960001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":866168902206416896}} 
[2026-08-10 10:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":152732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619291,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:35:01] local.INFO: GPS data processed {"connection_id":152732,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:35:01] local.INFO: Acknowledgment sent {"connection_id":152732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:35:04] local.INFO: TCP Data received {"connection_id":152733,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:35:04] local.INFO: Processing buffer {"connection_id":152733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:35:04] local.INFO: IMEI packet received {"connection_id":152733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":152733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:35:09] local.INFO: TCP Data received {"connection_id":152733,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:35:09] local.INFO: Processing buffer {"connection_id":152733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:35:09] local.INFO: IMEI packet received {"connection_id":152733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":152733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:35:10] local.INFO: TCP Data received {"connection_id":152733,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:35:10] local.INFO: Processing buffer {"connection_id":152733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:35:10] local.INFO: Packet analysis {"connection_id":152733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:35:10] local.INFO: Extracted packet for processing {"connection_id":152733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302511616001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786338237000,"timestamp_ms":1786338237000,"timestamp_seconds":1786338237,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0e5a48"} 
[2026-08-10 10:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:35: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-08-10 10:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302511616001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302511616001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:35:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302511616001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":152733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:35:10] local.INFO: GPS data processed {"connection_id":152733,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:35:10] local.INFO: Acknowledgment sent {"connection_id":152733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:35:14] local.INFO: TCP Data received {"connection_id":152733,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:35:14] local.INFO: Processing buffer {"connection_id":152733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:35:14] local.INFO: Packet analysis {"connection_id":152733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:35:14] local.INFO: Extracted packet for processing {"connection_id":152733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302511616001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786338237000,"timestamp_ms":1786338237000,"timestamp_seconds":1786338237,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0e5a48"} 
[2026-08-10 10:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302511616001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302511616001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:35:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302511616001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":152733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:35:14] local.INFO: GPS data processed {"connection_id":152733,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:35:14] local.INFO: Acknowledgment sent {"connection_id":152733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:35:24] local.INFO: TCP Data received {"connection_id":154194,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154194,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:35:24] local.INFO: Processing buffer {"connection_id":154194,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:35:24] local.INFO: IMEI packet received {"connection_id":154194,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":154194,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:35:27] local.INFO: TCP Data received {"connection_id":154194,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154194,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:35:27] local.INFO: Processing buffer {"connection_id":154194,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:35:27] local.INFO: IMEI packet received {"connection_id":154194,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":154194,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:35:29] local.INFO: TCP Data received {"connection_id":154194,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154194,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:35:29] local.INFO: Processing buffer {"connection_id":154194,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:35:29] local.INFO: IMEI packet received {"connection_id":154194,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":154194,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:35:31] local.INFO: TCP Data received {"connection_id":154194,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0f40c0012d0c0c4007039b60000d014525..."} 
[2026-08-10 10:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0f40c0012d0c0c4007039b60000d014525..."} 
[2026-08-10 10:35:31] local.INFO: Processing buffer {"connection_id":154194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0f40c0012d0c0c4007039b60000d014525..."} 
[2026-08-10 10:35:31] local.INFO: Packet analysis {"connection_id":154194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0f"} 
[2026-08-10 10:35:31] local.INFO: Extracted packet for processing {"connection_id":154194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0f"} 
[2026-08-10 10:35:31] local.INFO: GPS Element Parsed {"raw_longitude":755764288,"raw_latitude":117676896,"longitude_deg":75.5764288,"latitude_deg":11.7676896,"altitude":13,"angle":325,"satellites":37,"speed":7,"hex_longitude":"2d0c0c40","hex_latitude":"07039b60","is_valid_coordinates":true} 
[2026-08-10 10:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302603520001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27352829937057792,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964533438464,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786338296000,"timestamp_ms":1786338296000,"timestamp_seconds":1786338296,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0f40c0"} 
[2026-08-10 10:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:35: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-08-10 10: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 10:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302603520001,"66":14374,"37":206,"94":11008,"24":7,"16":27352829937057792,"45":868279964533438464},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302603520001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:35:31] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:35:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27352829937057792,"km_value":27352829937057.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964533438464,"description":"Unknown IO ID 45"} 
[2026-08-10 10:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302603520001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":868279964533438464}} 
[2026-08-10 10:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":154194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619294,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:35:31] local.INFO: GPS data processed {"connection_id":154194,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:35:31] local.INFO: Acknowledgment sent {"connection_id":154194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:35:31] local.INFO: TCP Data received {"connection_id":154193,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0e3b08012d196940071fedd80039011620..."} 
[2026-08-10 10:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0e3b08012d196940071fedd80039011620..."} 
[2026-08-10 10:35:31] local.INFO: Processing buffer {"connection_id":154193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0e3b08012d196940071fedd80039011620..."} 
[2026-08-10 10:35:31] local.INFO: Packet analysis {"connection_id":154193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:35:31] local.INFO: Extracted packet for processing {"connection_id":154193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:35:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302581248001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786338229000,"timestamp_ms":1786338229000,"timestamp_seconds":1786338229,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0e3b08"} 
[2026-08-10 10:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 10:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302581248001,"66":12504,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302581248001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:35:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:35:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302581248001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":154193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:35:32] local.INFO: GPS data processed {"connection_id":154193,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:35:32] local.INFO: Acknowledgment sent {"connection_id":154193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:35:54] local.INFO: TCP Data received {"connection_id":152734,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:35:54] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:35:54] local.INFO: IMEI packet received {"connection_id":152734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":152734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:35:59] local.INFO: TCP Data received {"connection_id":151816,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:35:59] local.INFO: Processing buffer {"connection_id":151816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:35:59] local.INFO: IMEI packet received {"connection_id":151816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":151816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:36:00] local.INFO: TCP Data received {"connection_id":152734,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:36:00] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:36:00] local.INFO: IMEI packet received {"connection_id":152734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":152734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:36:01] local.INFO: TCP Data received {"connection_id":152734,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0e8d10012d196940071fedd80039011622..."} 
[2026-08-10 10:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0e8d10012d196940071fedd80039011622..."} 
[2026-08-10 10:36:01] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0e8d10012d196940071fedd80039011622..."} 
[2026-08-10 10:36:01] local.INFO: Packet analysis {"connection_id":152734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:36:01] local.INFO: Extracted packet for processing {"connection_id":152734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:36:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302586624001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786338250000,"timestamp_ms":1786338250000,"timestamp_seconds":1786338250,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0e8d10"} 
[2026-08-10 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-08-10 10:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 10:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302586624001,"66":12504,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302586624001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:36:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:36:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302586624001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":152734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:36:01] local.INFO: GPS data processed {"connection_id":152734,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:36:01] local.INFO: Acknowledgment sent {"connection_id":152734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:36:04] local.INFO: TCP Data received {"connection_id":151816,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:36:04] local.INFO: Processing buffer {"connection_id":151816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:36:04] local.INFO: IMEI packet received {"connection_id":151816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":151816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:36:05] local.INFO: TCP Data received {"connection_id":151816,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:36:05] local.INFO: Processing buffer {"connection_id":151816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:36:05] local.INFO: Packet analysis {"connection_id":151816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:36:05] local.INFO: Extracted packet for processing {"connection_id":151816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302511616001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786338237000,"timestamp_ms":1786338237000,"timestamp_seconds":1786338237,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0e5a48"} 
[2026-08-10 10:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:36: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-08-10 10:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302511616001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302511616001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:36:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302511616001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":151816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:36:05] local.INFO: GPS data processed {"connection_id":151816,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:36:05] local.INFO: Acknowledgment sent {"connection_id":151816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:36:32] local.INFO: TCP Data received {"connection_id":152734,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0edf18012d196940071fedd80039011620..."} 
[2026-08-10 10:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0edf18012d196940071fedd80039011620..."} 
[2026-08-10 10:36:32] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0edf18012d196940071fedd80039011620..."} 
[2026-08-10 10:36:32] local.INFO: Packet analysis {"connection_id":152734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:36:32] local.INFO: Extracted packet for processing {"connection_id":152734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302592000001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786338271000,"timestamp_ms":1786338271000,"timestamp_seconds":1786338271,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0edf18"} 
[2026-08-10 10:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 10:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302592000001,"66":12504,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302592000001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:36:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:36:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302592000001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":152734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:36:32] local.INFO: GPS data processed {"connection_id":152734,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:36:32] local.INFO: Acknowledgment sent {"connection_id":152734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:36:36] local.INFO: TCP Data received {"connection_id":151816,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:36:36] local.INFO: Processing buffer {"connection_id":151816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:36:36] local.INFO: Packet analysis {"connection_id":151816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:36:36] local.INFO: Extracted packet for processing {"connection_id":151816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302511616001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786338237000,"timestamp_ms":1786338237000,"timestamp_seconds":1786338237,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0e5a48"} 
[2026-08-10 10:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302511616001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302511616001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:36:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302511616001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":151816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:36:36] local.INFO: GPS data processed {"connection_id":151816,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:36:36] local.INFO: Acknowledgment sent {"connection_id":151816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:36:50] local.INFO: TCP Data received {"connection_id":154194,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1007f8012d0b970007039f280018013926..."} 
[2026-08-10 10:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1007f8012d0b970007039f280018013926..."} 
[2026-08-10 10:36:50] local.INFO: Processing buffer {"connection_id":154194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1007f8012d0b970007039f280018013926..."} 
[2026-08-10 10:36:50] local.INFO: Packet analysis {"connection_id":154194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea10"} 
[2026-08-10 10:36:50] local.INFO: Extracted packet for processing {"connection_id":154194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea10"} 
[2026-08-10 10:36:50] local.INFO: GPS Element Parsed {"raw_longitude":755734272,"raw_latitude":117677864,"longitude_deg":75.5734272,"latitude_deg":11.7677864,"altitude":24,"angle":313,"satellites":38,"speed":9,"hex_longitude":"2d0b9700","hex_latitude":"07039f28","is_valid_coordinates":true} 
[2026-08-10 10:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302616576001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27354363240382464,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835347392258549760,"note":"Value kept but may cause issues"} 
[2026-08-10 10:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786338347000,"timestamp_ms":1786338347000,"timestamp_seconds":1786338347,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1007f8"} 
[2026-08-10 10:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:36: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-08-10 10:36: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":38,"data_length":795,"current_offset":136} 
[2026-08-10 10:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":154194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":154194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":154194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 10:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 10:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 10:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302616576001,"66":14374,"37":206,"94":11008,"24":9,"16":27354363240382464,"45":835347392258549760},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 10:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 10:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 10:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302616576001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:36:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 10:36:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 10:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27354363240382464,"km_value":27354363240382.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":835347392258549760,"description":"Unknown IO ID 45"} 
[2026-08-10 10:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302616576001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":835347392258549760}} 
[2026-08-10 10:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":154194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619300,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:36:50] local.INFO: GPS data processed {"connection_id":154194,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:36:50] local.INFO: Acknowledgment sent {"connection_id":154194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:36:54] local.INFO: TCP Data received {"connection_id":151423,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:36:54] local.INFO: Processing buffer {"connection_id":151423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:36:54] local.INFO: IMEI packet received {"connection_id":151423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":151423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:36:59] local.INFO: TCP Data received {"connection_id":151817,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151817,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:36:59] local.INFO: Processing buffer {"connection_id":151817,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:36:59] local.INFO: IMEI packet received {"connection_id":151817,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 10:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":151817,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:36:59] local.INFO: TCP Data received {"connection_id":151818,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:36:59] local.INFO: Processing buffer {"connection_id":151818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:36:59] local.INFO: IMEI packet received {"connection_id":151818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":151818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:37:00] local.INFO: TCP Data received {"connection_id":151423,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:37:00] local.INFO: Processing buffer {"connection_id":151423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:37:00] local.INFO: IMEI packet received {"connection_id":151423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":151423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:37:00] local.INFO: TCP Data received {"connection_id":151817,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151817,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:37:00] local.INFO: Processing buffer {"connection_id":151817,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:37:00] local.INFO: IMEI packet received {"connection_id":151817,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":151817,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:37:00] local.INFO: TCP Data received {"connection_id":151423,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0f3120012d196940071fedd80039011622..."} 
[2026-08-10 10:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0f3120012d196940071fedd80039011622..."} 
[2026-08-10 10:37:00] local.INFO: Processing buffer {"connection_id":151423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0f3120012d196940071fedd80039011622..."} 
[2026-08-10 10:37:00] local.INFO: Packet analysis {"connection_id":151423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0f"} 
[2026-08-10 10:37:00] local.INFO: Extracted packet for processing {"connection_id":151423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0f"} 
[2026-08-10 10:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302597376001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786338292000,"timestamp_ms":1786338292000,"timestamp_seconds":1786338292,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0f3120"} 
[2026-08-10 10:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 10:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302597376001,"66":12461,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302597376001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:37:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302597376001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":151423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:37:01] local.INFO: GPS data processed {"connection_id":151423,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:37:01] local.INFO: Acknowledgment sent {"connection_id":151423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:37:01] local.INFO: TCP Data received {"connection_id":151817,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151817,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:37:01] local.INFO: Processing buffer {"connection_id":151817,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:37:01] local.INFO: IMEI packet received {"connection_id":151817,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":151817,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:37:02] local.INFO: TCP Data received {"connection_id":151817,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151817,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:37:02] local.INFO: Processing buffer {"connection_id":151817,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 10:37:02] local.INFO: IMEI packet received {"connection_id":151817,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 10:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":151817,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:37:04] local.INFO: TCP Data received {"connection_id":151818,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:37:04] local.INFO: Processing buffer {"connection_id":151818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:37:04] local.INFO: IMEI packet received {"connection_id":151818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":151818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:37:14] local.INFO: TCP Data received {"connection_id":151818,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:37:14] local.INFO: Processing buffer {"connection_id":151818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:37:14] local.INFO: Packet analysis {"connection_id":151818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:37:14] local.INFO: Extracted packet for processing {"connection_id":151818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302511616001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786338237000,"timestamp_ms":1786338237000,"timestamp_seconds":1786338237,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0e5a48"} 
[2026-08-10 10:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302511616001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302511616001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:37:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302511616001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":151818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:37:14] local.INFO: GPS data processed {"connection_id":151818,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:37:14] local.INFO: Acknowledgment sent {"connection_id":151818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:37:32] local.INFO: TCP Data received {"connection_id":151423,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0f8328012d196940071fedd80039011623..."} 
[2026-08-10 10:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0f8328012d196940071fedd80039011623..."} 
[2026-08-10 10:37:32] local.INFO: Processing buffer {"connection_id":151423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0f8328012d196940071fedd80039011623..."} 
[2026-08-10 10:37:32] local.INFO: Packet analysis {"connection_id":151423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0f"} 
[2026-08-10 10:37:32] local.INFO: Extracted packet for processing {"connection_id":151423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0f"} 
[2026-08-10 10:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302602752001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786338313000,"timestamp_ms":1786338313000,"timestamp_seconds":1786338313,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0f8328"} 
[2026-08-10 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-08-10 10:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 10:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302602752001,"66":12461,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302602752001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:37:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302602752001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":151423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:37:32] local.INFO: GPS data processed {"connection_id":151423,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:37:32] local.INFO: Acknowledgment sent {"connection_id":151423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:37:56] local.INFO: TCP Data received {"connection_id":154195,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:37:56] local.INFO: Processing buffer {"connection_id":154195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:37:56] local.INFO: IMEI packet received {"connection_id":154195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":154195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:38:00] local.INFO: TCP Data received {"connection_id":154195,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:38:00] local.INFO: Processing buffer {"connection_id":154195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:38:00] local.INFO: IMEI packet received {"connection_id":154195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":154195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:38:04] local.INFO: TCP Data received {"connection_id":151425,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:38:04] local.INFO: Processing buffer {"connection_id":151425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:38:04] local.INFO: IMEI packet received {"connection_id":151425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":151425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:38:05] local.INFO: TCP Data received {"connection_id":154195,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:38:05] local.INFO: Processing buffer {"connection_id":154195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:38:05] local.INFO: IMEI packet received {"connection_id":154195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":154195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:38:06] local.INFO: TCP Data received {"connection_id":154195,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0fd530012d196940071fedd80039011621..."} 
[2026-08-10 10:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0fd530012d196940071fedd80039011621..."} 
[2026-08-10 10:38:06] local.INFO: Processing buffer {"connection_id":154195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0fd530012d196940071fedd80039011621..."} 
[2026-08-10 10:38:06] local.INFO: Packet analysis {"connection_id":154195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0f"} 
[2026-08-10 10:38:06] local.INFO: Extracted packet for processing {"connection_id":154195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0f"} 
[2026-08-10 10:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302608128001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786338334000,"timestamp_ms":1786338334000,"timestamp_seconds":1786338334,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0fd530"} 
[2026-08-10 10:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 10:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302608128001,"66":12461,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302608128001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:38:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302608128001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":154195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:38:06] local.INFO: GPS data processed {"connection_id":154195,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:38:06] local.INFO: Acknowledgment sent {"connection_id":154195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:38:09] local.INFO: TCP Data received {"connection_id":151425,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:38:09] local.INFO: Processing buffer {"connection_id":151425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:38:09] local.INFO: IMEI packet received {"connection_id":151425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":151425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:38:10] local.INFO: TCP Data received {"connection_id":151425,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:38:10] local.INFO: Processing buffer {"connection_id":151425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:38:10] local.INFO: Packet analysis {"connection_id":151425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:38:10] local.INFO: Extracted packet for processing {"connection_id":151425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302511616001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786338237000,"timestamp_ms":1786338237000,"timestamp_seconds":1786338237,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0e5a48"} 
[2026-08-10 10:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302511616001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302511616001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:38:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302511616001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":151425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:38:10] local.INFO: GPS data processed {"connection_id":151425,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:38:10] local.INFO: Acknowledgment sent {"connection_id":151425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:38:10] local.INFO: TCP Data received {"connection_id":154195,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea102738012d196940071fedd80039011622..."} 
[2026-08-10 10:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea102738012d196940071fedd80039011622..."} 
[2026-08-10 10:38:10] local.INFO: Processing buffer {"connection_id":154195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea102738012d196940071fedd80039011622..."} 
[2026-08-10 10:38:10] local.INFO: Packet analysis {"connection_id":154195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea10"} 
[2026-08-10 10:38:10] local.INFO: Extracted packet for processing {"connection_id":154195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea10"} 
[2026-08-10 10:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302613504001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786338355000,"timestamp_ms":1786338355000,"timestamp_seconds":1786338355,"priority":1,"record_length":96,"hex_timestamp":"0000019fea102738"} 
[2026-08-10 10:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:38: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-08-10 10: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":173,"data_length":795,"current_offset":136} 
[2026-08-10 10:38: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-08-10 10: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-08-10 10:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302613504001,"66":12428,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302613504001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:38:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302613504001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":154195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:38:10] local.INFO: GPS data processed {"connection_id":154195,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:38:10] local.INFO: Acknowledgment sent {"connection_id":154195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:38:14] local.INFO: TCP Data received {"connection_id":151425,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:38:14] local.INFO: Processing buffer {"connection_id":151425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:38:14] local.INFO: Packet analysis {"connection_id":151425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:38:14] local.INFO: Extracted packet for processing {"connection_id":151425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302511616001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786338237000,"timestamp_ms":1786338237000,"timestamp_seconds":1786338237,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0e5a48"} 
[2026-08-10 10:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302511616001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302511616001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:38:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:38:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302511616001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":151425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:38:15] local.INFO: GPS data processed {"connection_id":151425,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:38:15] local.INFO: Acknowledgment sent {"connection_id":151425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:38:55] local.INFO: TCP Data received {"connection_id":152735,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:38:55] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:38:55] local.INFO: IMEI packet received {"connection_id":152735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":152735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:38:59] local.INFO: TCP Data received {"connection_id":151819,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:38:59] local.INFO: Processing buffer {"connection_id":151819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:38:59] local.INFO: IMEI packet received {"connection_id":151819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":151819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:39:00] local.INFO: TCP Data received {"connection_id":152735,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:39:00] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:39:00] local.INFO: IMEI packet received {"connection_id":152735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":152735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:39:00] local.INFO: TCP Data received {"connection_id":152735,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea107940012d196940071fedd80039011620..."} 
[2026-08-10 10:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea107940012d196940071fedd80039011620..."} 
[2026-08-10 10:39:00] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea107940012d196940071fedd80039011620..."} 
[2026-08-10 10:39:00] local.INFO: Packet analysis {"connection_id":152735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea10"} 
[2026-08-10 10:39:00] local.INFO: Extracted packet for processing {"connection_id":152735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea10"} 
[2026-08-10 10:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302618880001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786338376000,"timestamp_ms":1786338376000,"timestamp_seconds":1786338376,"priority":1,"record_length":96,"hex_timestamp":"0000019fea107940"} 
[2026-08-10 10:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 10:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302618880001,"66":12428,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302618880001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:39:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302618880001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":152735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:39:01] local.INFO: GPS data processed {"connection_id":152735,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:39:01] local.INFO: Acknowledgment sent {"connection_id":152735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:39:04] local.INFO: TCP Data received {"connection_id":151819,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:39:04] local.INFO: Processing buffer {"connection_id":151819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:39:04] local.INFO: IMEI packet received {"connection_id":151819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":151819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:39:05] local.INFO: TCP Data received {"connection_id":151819,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:39:05] local.INFO: Processing buffer {"connection_id":151819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:39:05] local.INFO: Packet analysis {"connection_id":151819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:39:05] local.INFO: Extracted packet for processing {"connection_id":151819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:39:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302511616001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786338237000,"timestamp_ms":1786338237000,"timestamp_seconds":1786338237,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0e5a48"} 
[2026-08-10 10:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302511616001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302511616001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:39:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:39:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302511616001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":151819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:39:05] local.INFO: GPS data processed {"connection_id":151819,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:39:05] local.INFO: Acknowledgment sent {"connection_id":151819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:39:32] local.INFO: TCP Data received {"connection_id":152735,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea10cb48012d196940071fedd80039011621..."} 
[2026-08-10 10:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea10cb48012d196940071fedd80039011621..."} 
[2026-08-10 10:39:32] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea10cb48012d196940071fedd80039011621..."} 
[2026-08-10 10:39:32] local.INFO: Packet analysis {"connection_id":152735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea10"} 
[2026-08-10 10:39:32] local.INFO: Extracted packet for processing {"connection_id":152735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea10"} 
[2026-08-10 10:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302624256001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786338397000,"timestamp_ms":1786338397000,"timestamp_seconds":1786338397,"priority":1,"record_length":96,"hex_timestamp":"0000019fea10cb48"} 
[2026-08-10 10:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 10:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302624256001,"66":12461,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302624256001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:39:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302624256001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":152735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:39:32] local.INFO: GPS data processed {"connection_id":152735,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:39:32] local.INFO: Acknowledgment sent {"connection_id":152735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:39:36] local.INFO: TCP Data received {"connection_id":151819,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:39:36] local.INFO: Processing buffer {"connection_id":151819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea0e5a48012d342a4006abc280001801022a..."} 
[2026-08-10 10:39:36] local.INFO: Packet analysis {"connection_id":151819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:39:36] local.INFO: Extracted packet for processing {"connection_id":151819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea0e"} 
[2026-08-10 10:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302511616001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786338237000,"timestamp_ms":1786338237000,"timestamp_seconds":1786338237,"priority":1,"record_length":96,"hex_timestamp":"0000019fea0e5a48"} 
[2026-08-10 10:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 10:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302511616001,"66":25875,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302511616001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:39:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302511616001,"power":25875,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":151819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:39:36] local.INFO: GPS data processed {"connection_id":151819,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:39:36] local.INFO: Acknowledgment sent {"connection_id":151819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:39:57] local.INFO: TCP Data received {"connection_id":151426,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:39:57] local.INFO: Processing buffer {"connection_id":151426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:39:57] local.INFO: IMEI packet received {"connection_id":151426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":151426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:40:00] local.INFO: TCP Data received {"connection_id":151426,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:40:00] local.INFO: Processing buffer {"connection_id":151426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:40:00] local.INFO: IMEI packet received {"connection_id":151426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":151426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:40:00] local.INFO: TCP Data received {"connection_id":154196,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:40:00] local.INFO: Processing buffer {"connection_id":154196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:40:00] local.INFO: IMEI packet received {"connection_id":154196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":154196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:40:00] local.INFO: TCP Data received {"connection_id":151426,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea111d50012d196940071fedd80039011622..."} 
[2026-08-10 10:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea111d50012d196940071fedd80039011622..."} 
[2026-08-10 10:40:00] local.INFO: Processing buffer {"connection_id":151426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea111d50012d196940071fedd80039011622..."} 
[2026-08-10 10:40:00] local.INFO: Packet analysis {"connection_id":151426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea11"} 
[2026-08-10 10:40:00] local.INFO: Extracted packet for processing {"connection_id":151426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea11"} 
[2026-08-10 10:40:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302629632001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786338418000,"timestamp_ms":1786338418000,"timestamp_seconds":1786338418,"priority":1,"record_length":96,"hex_timestamp":"0000019fea111d50"} 
[2026-08-10 10:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 10:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302629632001,"66":12461,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302629632001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:40:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302629632001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":151426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:40:00] local.INFO: GPS data processed {"connection_id":151426,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:40:00] local.INFO: Acknowledgment sent {"connection_id":151426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:40:03] local.INFO: TCP Data received {"connection_id":151426,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea116f58012d196940071fedd80039011624..."} 
[2026-08-10 10:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea116f58012d196940071fedd80039011624..."} 
[2026-08-10 10:40:03] local.INFO: Processing buffer {"connection_id":151426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea116f58012d196940071fedd80039011624..."} 
[2026-08-10 10:40:03] local.INFO: Packet analysis {"connection_id":151426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea11"} 
[2026-08-10 10:40:03] local.INFO: Extracted packet for processing {"connection_id":151426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea11"} 
[2026-08-10 10:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302635008001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786338439000,"timestamp_ms":1786338439000,"timestamp_seconds":1786338439,"priority":1,"record_length":96,"hex_timestamp":"0000019fea116f58"} 
[2026-08-10 10:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 10:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302635008001,"66":12385,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302635008001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:40:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:40:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302635008001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":151426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:40:03] local.INFO: GPS data processed {"connection_id":151426,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:40:03] local.INFO: Acknowledgment sent {"connection_id":151426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:40:04] local.INFO: TCP Data received {"connection_id":154196,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:40:04] local.INFO: Processing buffer {"connection_id":154196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:40:04] local.INFO: IMEI packet received {"connection_id":154196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":154196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:40:05] local.INFO: TCP Data received {"connection_id":154196,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:40:05] local.INFO: Processing buffer {"connection_id":154196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:40:05] local.INFO: Packet analysis {"connection_id":154196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:40:05] local.INFO: Extracted packet for processing {"connection_id":154196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302588672001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786338538000,"timestamp_ms":1786338538000,"timestamp_seconds":1786338538,"priority":1,"record_length":96,"hex_timestamp":"0000019fea12f210"} 
[2026-08-10 10:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:40: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-08-10 10:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302588672001,"66":25843,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302588672001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:40:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:40:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302588672001,"power":25843,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":154196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:40:05] local.INFO: GPS data processed {"connection_id":154196,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:40:05] local.INFO: Acknowledgment sent {"connection_id":154196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:40:34] local.INFO: TCP Data received {"connection_id":151426,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea11c160012d196940071fedd80039011623..."} 
[2026-08-10 10:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea11c160012d196940071fedd80039011623..."} 
[2026-08-10 10:40:34] local.INFO: Processing buffer {"connection_id":151426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea11c160012d196940071fedd80039011623..."} 
[2026-08-10 10:40:34] local.INFO: Packet analysis {"connection_id":151426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea11"} 
[2026-08-10 10:40:34] local.INFO: Extracted packet for processing {"connection_id":151426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea11"} 
[2026-08-10 10:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302640384001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786338460000,"timestamp_ms":1786338460000,"timestamp_seconds":1786338460,"priority":1,"record_length":96,"hex_timestamp":"0000019fea11c160"} 
[2026-08-10 10:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302640384001,"66":12439,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302640384001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:40:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302640384001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":151426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:40:34] local.INFO: GPS data processed {"connection_id":151426,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:40:34] local.INFO: Acknowledgment sent {"connection_id":151426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:40:36] local.INFO: TCP Data received {"connection_id":154196,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:40:36] local.INFO: Processing buffer {"connection_id":154196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:40:36] local.INFO: Packet analysis {"connection_id":154196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:40:36] local.INFO: Extracted packet for processing {"connection_id":154196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302588672001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786338538000,"timestamp_ms":1786338538000,"timestamp_seconds":1786338538,"priority":1,"record_length":96,"hex_timestamp":"0000019fea12f210"} 
[2026-08-10 10:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:40: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-08-10 10:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302588672001,"66":25843,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302588672001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:40:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302588672001,"power":25843,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":154196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:40:36] local.INFO: GPS data processed {"connection_id":154196,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:40:36] local.INFO: Acknowledgment sent {"connection_id":154196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:40:55] local.INFO: TCP Data received {"connection_id":151820,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:40:55] local.INFO: Processing buffer {"connection_id":151820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:40:55] local.INFO: IMEI packet received {"connection_id":151820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":151820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:40:59] local.INFO: TCP Data received {"connection_id":151821,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:40:59] local.INFO: Processing buffer {"connection_id":151821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:40:59] local.INFO: IMEI packet received {"connection_id":151821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":151821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:41:00] local.INFO: TCP Data received {"connection_id":151820,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:41:00] local.INFO: Processing buffer {"connection_id":151820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:41:00] local.INFO: IMEI packet received {"connection_id":151820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":151820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:41:00] local.INFO: TCP Data received {"connection_id":151820,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea121368012d196940071fedd80039011623..."} 
[2026-08-10 10:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea121368012d196940071fedd80039011623..."} 
[2026-08-10 10:41:00] local.INFO: Processing buffer {"connection_id":151820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea121368012d196940071fedd80039011623..."} 
[2026-08-10 10:41:00] local.INFO: Packet analysis {"connection_id":151820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:41:00] local.INFO: Extracted packet for processing {"connection_id":151820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:41:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302645760001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786338481000,"timestamp_ms":1786338481000,"timestamp_seconds":1786338481,"priority":1,"record_length":96,"hex_timestamp":"0000019fea121368"} 
[2026-08-10 10:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 10:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302645760001,"66":12428,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302645760001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:41:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302645760001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":151820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:41:01] local.INFO: GPS data processed {"connection_id":151820,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:41:01] local.INFO: Acknowledgment sent {"connection_id":151820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:41:04] local.INFO: TCP Data received {"connection_id":151821,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:41:04] local.INFO: Processing buffer {"connection_id":151821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:41:04] local.INFO: IMEI packet received {"connection_id":151821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":151821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:41:05] local.INFO: TCP Data received {"connection_id":151821,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:41:05] local.INFO: Processing buffer {"connection_id":151821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:41:05] local.INFO: Packet analysis {"connection_id":151821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:41:05] local.INFO: Extracted packet for processing {"connection_id":151821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302588672001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786338538000,"timestamp_ms":1786338538000,"timestamp_seconds":1786338538,"priority":1,"record_length":96,"hex_timestamp":"0000019fea12f210"} 
[2026-08-10 10:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:41: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-08-10 10:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302588672001,"66":25843,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302588672001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:41:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302588672001,"power":25843,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":151821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:41:05] local.INFO: GPS data processed {"connection_id":151821,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:41:05] local.INFO: Acknowledgment sent {"connection_id":151821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:41:35] local.INFO: TCP Data received {"connection_id":151820,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea126570012d196940071fedd80039011622..."} 
[2026-08-10 10:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea126570012d196940071fedd80039011622..."} 
[2026-08-10 10:41:35] local.INFO: Processing buffer {"connection_id":151820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea126570012d196940071fedd80039011622..."} 
[2026-08-10 10:41:35] local.INFO: Packet analysis {"connection_id":151820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:41:35] local.INFO: Extracted packet for processing {"connection_id":151820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302651136001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786338502000,"timestamp_ms":1786338502000,"timestamp_seconds":1786338502,"priority":1,"record_length":96,"hex_timestamp":"0000019fea126570"} 
[2026-08-10 10:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 10:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302651136001,"66":12428,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302651136001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:41:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302651136001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":151820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:41:35] local.INFO: GPS data processed {"connection_id":151820,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:41:35] local.INFO: Acknowledgment sent {"connection_id":151820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:41:38] local.INFO: TCP Data received {"connection_id":151821,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:41:38] local.INFO: Processing buffer {"connection_id":151821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:41:38] local.INFO: Packet analysis {"connection_id":151821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:41:38] local.INFO: Extracted packet for processing {"connection_id":151821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302588672001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786338538000,"timestamp_ms":1786338538000,"timestamp_seconds":1786338538,"priority":1,"record_length":96,"hex_timestamp":"0000019fea12f210"} 
[2026-08-10 10:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302588672001,"66":25843,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302588672001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:41:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302588672001,"power":25843,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":151821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:41:38] local.INFO: GPS data processed {"connection_id":151821,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:41:38] local.INFO: Acknowledgment sent {"connection_id":151821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:41:54] local.INFO: TCP Data received {"connection_id":154197,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:41:54] local.INFO: Processing buffer {"connection_id":154197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:41:54] local.INFO: IMEI packet received {"connection_id":154197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":154197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:42:00] local.INFO: TCP Data received {"connection_id":154197,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:42:00] local.INFO: Processing buffer {"connection_id":154197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:42:00] local.INFO: IMEI packet received {"connection_id":154197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":154197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:42:00] local.INFO: TCP Data received {"connection_id":154197,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea12b778012d196940071fedd80039011620..."} 
[2026-08-10 10:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea12b778012d196940071fedd80039011620..."} 
[2026-08-10 10:42:00] local.INFO: Processing buffer {"connection_id":154197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea12b778012d196940071fedd80039011620..."} 
[2026-08-10 10:42:00] local.INFO: Packet analysis {"connection_id":154197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:42:00] local.INFO: Extracted packet for processing {"connection_id":154197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:42:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302656512001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786338523000,"timestamp_ms":1786338523000,"timestamp_seconds":1786338523,"priority":1,"record_length":96,"hex_timestamp":"0000019fea12b778"} 
[2026-08-10 10:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 10:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302656512001,"66":12406,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302656512001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:42:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:42:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302656512001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":154197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:42:01] local.INFO: GPS data processed {"connection_id":154197,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:42:01] local.INFO: Acknowledgment sent {"connection_id":154197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:42:04] local.INFO: TCP Data received {"connection_id":154198,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:42:04] local.INFO: Processing buffer {"connection_id":154198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:42:04] local.INFO: IMEI packet received {"connection_id":154198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":154198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:42:09] local.INFO: TCP Data received {"connection_id":154198,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:42:09] local.INFO: Processing buffer {"connection_id":154198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:42:09] local.INFO: IMEI packet received {"connection_id":154198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":154198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:42:10] local.INFO: TCP Data received {"connection_id":154198,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:42:10] local.INFO: Processing buffer {"connection_id":154198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:42:10] local.INFO: Packet analysis {"connection_id":154198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:42:10] local.INFO: Extracted packet for processing {"connection_id":154198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302588672001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786338538000,"timestamp_ms":1786338538000,"timestamp_seconds":1786338538,"priority":1,"record_length":96,"hex_timestamp":"0000019fea12f210"} 
[2026-08-10 10:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:42: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-08-10 10:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:42: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-08-10 10:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302588672001,"66":25843,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302588672001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:42:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302588672001,"power":25843,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":154198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:42:10] local.INFO: GPS data processed {"connection_id":154198,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:42:10] local.INFO: Acknowledgment sent {"connection_id":154198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:42:15] local.INFO: TCP Data received {"connection_id":154198,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:42:15] local.INFO: Processing buffer {"connection_id":154198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:42:15] local.INFO: Packet analysis {"connection_id":154198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:42:15] local.INFO: Extracted packet for processing {"connection_id":154198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302588672001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786338538000,"timestamp_ms":1786338538000,"timestamp_seconds":1786338538,"priority":1,"record_length":96,"hex_timestamp":"0000019fea12f210"} 
[2026-08-10 10:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302588672001,"66":25843,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302588672001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:42:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302588672001,"power":25843,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":154198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:42:15] local.INFO: GPS data processed {"connection_id":154198,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:42:15] local.INFO: Acknowledgment sent {"connection_id":154198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:42:31] local.INFO: TCP Data received {"connection_id":154197,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea130980012d196940071fedd80039011623..."} 
[2026-08-10 10:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea130980012d196940071fedd80039011623..."} 
[2026-08-10 10:42:31] local.INFO: Processing buffer {"connection_id":154197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea130980012d196940071fedd80039011623..."} 
[2026-08-10 10:42:31] local.INFO: Packet analysis {"connection_id":154197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea13"} 
[2026-08-10 10:42:31] local.INFO: Extracted packet for processing {"connection_id":154197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea13"} 
[2026-08-10 10:42:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302661888001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786338544000,"timestamp_ms":1786338544000,"timestamp_seconds":1786338544,"priority":1,"record_length":96,"hex_timestamp":"0000019fea130980"} 
[2026-08-10 10:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 10:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302661888001,"66":12385,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302661888001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:42:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:42:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302661888001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":154197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:42:31] local.INFO: GPS data processed {"connection_id":154197,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:42:31] local.INFO: Acknowledgment sent {"connection_id":154197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:42:54] local.INFO: TCP Data received {"connection_id":152736,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:42:54] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:42:54] local.INFO: IMEI packet received {"connection_id":152736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":152736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:42:59] local.INFO: TCP Data received {"connection_id":151427,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:42:59] local.INFO: Processing buffer {"connection_id":151427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:42:59] local.INFO: IMEI packet received {"connection_id":151427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":151427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:43:00] local.INFO: TCP Data received {"connection_id":152736,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:43:00] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:43:00] local.INFO: IMEI packet received {"connection_id":152736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":152736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:43:01] local.INFO: TCP Data received {"connection_id":152736,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea135b88012d196940071fedd80039011622..."} 
[2026-08-10 10:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea135b88012d196940071fedd80039011622..."} 
[2026-08-10 10:43:01] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea135b88012d196940071fedd80039011622..."} 
[2026-08-10 10:43:01] local.INFO: Packet analysis {"connection_id":152736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea13"} 
[2026-08-10 10:43:01] local.INFO: Extracted packet for processing {"connection_id":152736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea13"} 
[2026-08-10 10:43:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302667264001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786338565000,"timestamp_ms":1786338565000,"timestamp_seconds":1786338565,"priority":1,"record_length":96,"hex_timestamp":"0000019fea135b88"} 
[2026-08-10 10:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302667264001,"66":12374,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302667264001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:43:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:43:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302667264001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":152736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:43:01] local.INFO: GPS data processed {"connection_id":152736,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:43:01] local.INFO: Acknowledgment sent {"connection_id":152736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:43:04] local.INFO: TCP Data received {"connection_id":151427,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:43:04] local.INFO: Processing buffer {"connection_id":151427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:43:04] local.INFO: IMEI packet received {"connection_id":151427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":151427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:43:05] local.INFO: TCP Data received {"connection_id":151427,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:43:05] local.INFO: Processing buffer {"connection_id":151427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:43:05] local.INFO: Packet analysis {"connection_id":151427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:43:05] local.INFO: Extracted packet for processing {"connection_id":151427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302588672001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786338538000,"timestamp_ms":1786338538000,"timestamp_seconds":1786338538,"priority":1,"record_length":96,"hex_timestamp":"0000019fea12f210"} 
[2026-08-10 10:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:43: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-08-10 10:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302588672001,"66":25843,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302588672001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:43:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302588672001,"power":25843,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":151427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:43:05] local.INFO: GPS data processed {"connection_id":151427,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:43:05] local.INFO: Acknowledgment sent {"connection_id":151427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:43:32] local.INFO: TCP Data received {"connection_id":152736,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea13ad90012d196940071fedd80039011621..."} 
[2026-08-10 10:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea13ad90012d196940071fedd80039011621..."} 
[2026-08-10 10:43:32] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea13ad90012d196940071fedd80039011621..."} 
[2026-08-10 10:43:32] local.INFO: Packet analysis {"connection_id":152736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea13"} 
[2026-08-10 10:43:32] local.INFO: Extracted packet for processing {"connection_id":152736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea13"} 
[2026-08-10 10:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302672640001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786338586000,"timestamp_ms":1786338586000,"timestamp_seconds":1786338586,"priority":1,"record_length":96,"hex_timestamp":"0000019fea13ad90"} 
[2026-08-10 10:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 10:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302672640001,"66":12037,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302672640001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:43:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302672640001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":152736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:43:32] local.INFO: GPS data processed {"connection_id":152736,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:43:32] local.INFO: Acknowledgment sent {"connection_id":152736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:43:36] local.INFO: TCP Data received {"connection_id":151427,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:43:36] local.INFO: Processing buffer {"connection_id":151427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:43:36] local.INFO: Packet analysis {"connection_id":151427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:43:36] local.INFO: Extracted packet for processing {"connection_id":151427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302588672001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786338538000,"timestamp_ms":1786338538000,"timestamp_seconds":1786338538,"priority":1,"record_length":96,"hex_timestamp":"0000019fea12f210"} 
[2026-08-10 10:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:43: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-08-10 10:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302588672001,"66":25843,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302588672001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:43:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302588672001,"power":25843,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":151427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:43:36] local.INFO: GPS data processed {"connection_id":151427,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:43:36] local.INFO: Acknowledgment sent {"connection_id":151427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:43:59] local.INFO: TCP Data received {"connection_id":154200,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:43:59] local.INFO: Processing buffer {"connection_id":154200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:43:59] local.INFO: IMEI packet received {"connection_id":154200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":154200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:44:00] local.INFO: TCP Data received {"connection_id":154199,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:44:00] local.INFO: Processing buffer {"connection_id":154199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:44:00] local.INFO: IMEI packet received {"connection_id":154199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":154199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:44:04] local.INFO: TCP Data received {"connection_id":154200,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:44:04] local.INFO: Processing buffer {"connection_id":154200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:44:04] local.INFO: IMEI packet received {"connection_id":154200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":154200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:44:05] local.INFO: TCP Data received {"connection_id":154199,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:44:05] local.INFO: Processing buffer {"connection_id":154199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:44:05] local.INFO: IMEI packet received {"connection_id":154199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":154199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:44:06] local.INFO: TCP Data received {"connection_id":154200,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:44:06] local.INFO: Processing buffer {"connection_id":154200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:44:06] local.INFO: Packet analysis {"connection_id":154200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:44:06] local.INFO: Extracted packet for processing {"connection_id":154200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302588672001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786338538000,"timestamp_ms":1786338538000,"timestamp_seconds":1786338538,"priority":1,"record_length":96,"hex_timestamp":"0000019fea12f210"} 
[2026-08-10 10:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:44: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-08-10 10:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302588672001,"66":25843,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302588672001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:44:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302588672001,"power":25843,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":154200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:44:06] local.INFO: GPS data processed {"connection_id":154200,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:44:06] local.INFO: Acknowledgment sent {"connection_id":154200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:44:06] local.INFO: TCP Data received {"connection_id":154199,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea13ff98012d196940071fedd8003901161f..."} 
[2026-08-10 10:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea13ff98012d196940071fedd8003901161f..."} 
[2026-08-10 10:44:06] local.INFO: Processing buffer {"connection_id":154199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea13ff98012d196940071fedd8003901161f..."} 
[2026-08-10 10:44:06] local.INFO: Packet analysis {"connection_id":154199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea13"} 
[2026-08-10 10:44:06] local.INFO: Extracted packet for processing {"connection_id":154199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea13"} 
[2026-08-10 10:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":31,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302678016001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786338607000,"timestamp_ms":1786338607000,"timestamp_seconds":1786338607,"priority":1,"record_length":96,"hex_timestamp":"0000019fea13ff98"} 
[2026-08-10 10:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3927032160,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356025,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182092270665984,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862840,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300732480124163619,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194919680,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,87,159,91,45,64,237,57,34,10,66,9,35,183,1,240,118,227,234,31,4,113,205,19,105,216,239,48,2,40,7,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-08-10 10:44:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588666128334848,"timestamp_seconds":4107588666128335.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 10:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302678016001,"66":12341,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302678016001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:44:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302678016001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":154199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:44:06] local.INFO: GPS data processed {"connection_id":154199,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:44:06] local.INFO: Acknowledgment sent {"connection_id":154199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:44:37] local.INFO: TCP Data received {"connection_id":154199,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1451a0012d196940071fedd80039011623..."} 
[2026-08-10 10:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1451a0012d196940071fedd80039011623..."} 
[2026-08-10 10:44:37] local.INFO: Processing buffer {"connection_id":154199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1451a0012d196940071fedd80039011623..."} 
[2026-08-10 10:44:37] local.INFO: Packet analysis {"connection_id":154199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea14"} 
[2026-08-10 10:44:37] local.INFO: Extracted packet for processing {"connection_id":154199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea14"} 
[2026-08-10 10:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302683392001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786338628000,"timestamp_ms":1786338628000,"timestamp_seconds":1786338628,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1451a0"} 
[2026-08-10 10:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 10:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302683392001,"66":12385,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302683392001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:44:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302683392001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":154199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:44:37] local.INFO: GPS data processed {"connection_id":154199,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:44:37] local.INFO: Acknowledgment sent {"connection_id":154199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:44:37] local.INFO: TCP Data received {"connection_id":154200,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:44:37] local.INFO: Processing buffer {"connection_id":154200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea12f210012d342a4006abc2800019010224..."} 
[2026-08-10 10:44:37] local.INFO: Packet analysis {"connection_id":154200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:44:37] local.INFO: Extracted packet for processing {"connection_id":154200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea12"} 
[2026-08-10 10:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302588672001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786338538000,"timestamp_ms":1786338538000,"timestamp_seconds":1786338538,"priority":1,"record_length":96,"hex_timestamp":"0000019fea12f210"} 
[2026-08-10 10:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 10:44: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-08-10 10: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-08-10 10:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302588672001,"66":25843,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 10:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302588672001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:44:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 10:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302588672001,"power":25843,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":154200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:44:37] local.INFO: GPS data processed {"connection_id":154200,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:44:37] local.INFO: Acknowledgment sent {"connection_id":154200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:44:55] local.INFO: TCP Data received {"connection_id":152737,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:44:55] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:44:55] local.INFO: IMEI packet received {"connection_id":152737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":152737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:44:56] local.INFO: TCP Data received {"connection_id":152737,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:44:56] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:44:56] local.INFO: IMEI packet received {"connection_id":152737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":152737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:44:59] local.INFO: TCP Data received {"connection_id":151822,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:44:59] local.INFO: Processing buffer {"connection_id":151822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:44:59] local.INFO: IMEI packet received {"connection_id":151822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":151822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:45:00] local.INFO: TCP Data received {"connection_id":152737,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:45:00] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:45:00] local.INFO: IMEI packet received {"connection_id":152737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":152737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:45:00] local.INFO: TCP Data received {"connection_id":152737,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea14a3a8012d196940071fedd80039011621..."} 
[2026-08-10 10:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea14a3a8012d196940071fedd80039011621..."} 
[2026-08-10 10:45:00] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea14a3a8012d196940071fedd80039011621..."} 
[2026-08-10 10:45:00] local.INFO: Packet analysis {"connection_id":152737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea14"} 
[2026-08-10 10:45:00] local.INFO: Extracted packet for processing {"connection_id":152737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea14"} 
[2026-08-10 10:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302688768001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786338649000,"timestamp_ms":1786338649000,"timestamp_seconds":1786338649,"priority":1,"record_length":96,"hex_timestamp":"0000019fea14a3a8"} 
[2026-08-10 10:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302688768001,"66":12385,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302688768001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:45:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302688768001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":152737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:45:01] local.INFO: GPS data processed {"connection_id":152737,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:45:01] local.INFO: Acknowledgment sent {"connection_id":152737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:45:04] local.INFO: TCP Data received {"connection_id":151822,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:45:04] local.INFO: Processing buffer {"connection_id":151822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:45:04] local.INFO: IMEI packet received {"connection_id":151822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":151822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:45:05] local.INFO: TCP Data received {"connection_id":152737,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea14f5b0012d196940071fedd80039011623..."} 
[2026-08-10 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea14f5b0012d196940071fedd80039011623..."} 
[2026-08-10 10:45:05] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea14f5b0012d196940071fedd80039011623..."} 
[2026-08-10 10:45:05] local.INFO: Packet analysis {"connection_id":152737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea14"} 
[2026-08-10 10:45:05] local.INFO: Extracted packet for processing {"connection_id":152737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea14"} 
[2026-08-10 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302694144001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786338670000,"timestamp_ms":1786338670000,"timestamp_seconds":1786338670,"priority":1,"record_length":96,"hex_timestamp":"0000019fea14f5b0"} 
[2026-08-10 10:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:45: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-08-10 10:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302694144001,"66":12385,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302694144001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:45:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302694144001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:45:05] local.INFO: TCP Data received {"connection_id":151822,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:45:05] local.INFO: Processing buffer {"connection_id":151822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:45:05] local.INFO: Packet analysis {"connection_id":151822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:45:05] local.INFO: Extracted packet for processing {"connection_id":151822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302665728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786338839000,"timestamp_ms":1786338839000,"timestamp_seconds":1786338839,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1789d8"} 
[2026-08-10 10:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302665728001,"66":25843,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302665728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:45:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302665728001,"power":25843,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":151822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:45:05] local.INFO: GPS data processed {"connection_id":151822,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:45:05] local.INFO: Acknowledgment sent {"connection_id":151822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":152737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:45:05] local.INFO: GPS data processed {"connection_id":152737,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:45:05] local.INFO: Acknowledgment sent {"connection_id":152737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:45:36] local.INFO: TCP Data received {"connection_id":152737,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1547b8012d196940071fedd80039011623..."} 
[2026-08-10 10:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1547b8012d196940071fedd80039011623..."} 
[2026-08-10 10:45:36] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1547b8012d196940071fedd80039011623..."} 
[2026-08-10 10:45:36] local.INFO: Packet analysis {"connection_id":152737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea15"} 
[2026-08-10 10:45:36] local.INFO: Extracted packet for processing {"connection_id":152737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea15"} 
[2026-08-10 10:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302699520001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786338691000,"timestamp_ms":1786338691000,"timestamp_seconds":1786338691,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1547b8"} 
[2026-08-10 10:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302699520001,"66":12374,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302699520001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:45:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302699520001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":152737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:45:36] local.INFO: GPS data processed {"connection_id":152737,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:45:36] local.INFO: Acknowledgment sent {"connection_id":152737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:45:36] local.INFO: TCP Data received {"connection_id":151822,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:45:36] local.INFO: Processing buffer {"connection_id":151822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:45:36] local.INFO: Packet analysis {"connection_id":151822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:45:36] local.INFO: Extracted packet for processing {"connection_id":151822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302665728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786338839000,"timestamp_ms":1786338839000,"timestamp_seconds":1786338839,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1789d8"} 
[2026-08-10 10:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302665728001,"66":25843,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302665728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:45:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302665728001,"power":25843,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":151822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:45:36] local.INFO: GPS data processed {"connection_id":151822,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:45:36] local.INFO: Acknowledgment sent {"connection_id":151822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:45:55] local.INFO: TCP Data received {"connection_id":151428,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:45:55] local.INFO: Processing buffer {"connection_id":151428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:45:55] local.INFO: IMEI packet received {"connection_id":151428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":151428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:45:59] local.INFO: TCP Data received {"connection_id":152738,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:45:59] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:45:59] local.INFO: IMEI packet received {"connection_id":152738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":152738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:46:00] local.INFO: TCP Data received {"connection_id":151428,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:46:00] local.INFO: Processing buffer {"connection_id":151428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:46:00] local.INFO: IMEI packet received {"connection_id":151428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":151428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:46:01] local.INFO: TCP Data received {"connection_id":151428,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1599c0012d196940071fedd80039011625..."} 
[2026-08-10 10:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1599c0012d196940071fedd80039011625..."} 
[2026-08-10 10:46:01] local.INFO: Processing buffer {"connection_id":151428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1599c0012d196940071fedd80039011625..."} 
[2026-08-10 10:46:01] local.INFO: Packet analysis {"connection_id":151428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea15"} 
[2026-08-10 10:46:01] local.INFO: Extracted packet for processing {"connection_id":151428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea15"} 
[2026-08-10 10:46:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302704896001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786338712000,"timestamp_ms":1786338712000,"timestamp_seconds":1786338712,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1599c0"} 
[2026-08-10 10:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 10:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302704896001,"66":12385,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302704896001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:46:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302704896001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":151428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:46:01] local.INFO: GPS data processed {"connection_id":151428,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:46:01] local.INFO: Acknowledgment sent {"connection_id":151428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:46:04] local.INFO: TCP Data received {"connection_id":152738,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:46:04] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:46:04] local.INFO: IMEI packet received {"connection_id":152738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":152738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:46:06] local.INFO: TCP Data received {"connection_id":152738,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:46:06] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:46:06] local.INFO: Packet analysis {"connection_id":152738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:46:06] local.INFO: Extracted packet for processing {"connection_id":152738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302665728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786338839000,"timestamp_ms":1786338839000,"timestamp_seconds":1786338839,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1789d8"} 
[2026-08-10 10:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302665728001,"66":25843,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302665728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:46:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302665728001,"power":25843,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":152738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:46:06] local.INFO: GPS data processed {"connection_id":152738,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:46:06] local.INFO: Acknowledgment sent {"connection_id":152738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:46:32] local.INFO: TCP Data received {"connection_id":151428,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea15ebc8012d196940071fedd80039011625..."} 
[2026-08-10 10:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea15ebc8012d196940071fedd80039011625..."} 
[2026-08-10 10:46:32] local.INFO: Processing buffer {"connection_id":151428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea15ebc8012d196940071fedd80039011625..."} 
[2026-08-10 10:46:32] local.INFO: Packet analysis {"connection_id":151428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea15"} 
[2026-08-10 10:46:32] local.INFO: Extracted packet for processing {"connection_id":151428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea15"} 
[2026-08-10 10:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302710272001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786338733000,"timestamp_ms":1786338733000,"timestamp_seconds":1786338733,"priority":1,"record_length":96,"hex_timestamp":"0000019fea15ebc8"} 
[2026-08-10 10:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 10:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302710272001,"66":12374,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302710272001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:46:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302710272001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":151428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:46:32] local.INFO: GPS data processed {"connection_id":151428,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:46:32] local.INFO: Acknowledgment sent {"connection_id":151428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:46:37] local.INFO: TCP Data received {"connection_id":152738,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:46:37] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:46:37] local.INFO: Packet analysis {"connection_id":152738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:46:37] local.INFO: Extracted packet for processing {"connection_id":152738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302665728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786338839000,"timestamp_ms":1786338839000,"timestamp_seconds":1786338839,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1789d8"} 
[2026-08-10 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-08-10 10:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302665728001,"66":25843,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302665728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:46:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302665728001,"power":25843,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":152738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:46:37] local.INFO: GPS data processed {"connection_id":152738,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:46:37] local.INFO: Acknowledgment sent {"connection_id":152738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:46:54] local.INFO: TCP Data received {"connection_id":151429,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:46:54] local.INFO: Processing buffer {"connection_id":151429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:46:54] local.INFO: IMEI packet received {"connection_id":151429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":151429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:47:00] local.INFO: TCP Data received {"connection_id":151429,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:47:00] local.INFO: Processing buffer {"connection_id":151429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:47:00] local.INFO: IMEI packet received {"connection_id":151429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":151429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:47:01] local.INFO: TCP Data received {"connection_id":151429,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea163dd0012d196940071fedd80039011625..."} 
[2026-08-10 10:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea163dd0012d196940071fedd80039011625..."} 
[2026-08-10 10:47:01] local.INFO: Processing buffer {"connection_id":151429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea163dd0012d196940071fedd80039011625..."} 
[2026-08-10 10:47:01] local.INFO: Packet analysis {"connection_id":151429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea16"} 
[2026-08-10 10:47:01] local.INFO: Extracted packet for processing {"connection_id":151429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea16"} 
[2026-08-10 10:47:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302715648001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786338754000,"timestamp_ms":1786338754000,"timestamp_seconds":1786338754,"priority":1,"record_length":96,"hex_timestamp":"0000019fea163dd0"} 
[2026-08-10 10:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:47: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-08-10 10:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 10:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302715648001,"66":12406,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302715648001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:47:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302715648001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":151429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:47:01] local.INFO: GPS data processed {"connection_id":151429,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:47:01] local.INFO: Acknowledgment sent {"connection_id":151429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:47:04] local.INFO: TCP Data received {"connection_id":151430,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:47:04] local.INFO: Processing buffer {"connection_id":151430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:47:04] local.INFO: IMEI packet received {"connection_id":151430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":151430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:47:09] local.INFO: TCP Data received {"connection_id":151430,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:47:09] local.INFO: Processing buffer {"connection_id":151430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:47:09] local.INFO: IMEI packet received {"connection_id":151430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":151430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:47:10] local.INFO: TCP Data received {"connection_id":151430,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:47:10] local.INFO: Processing buffer {"connection_id":151430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:47:10] local.INFO: Packet analysis {"connection_id":151430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:47:10] local.INFO: Extracted packet for processing {"connection_id":151430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302665728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786338839000,"timestamp_ms":1786338839000,"timestamp_seconds":1786338839,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1789d8"} 
[2026-08-10 10:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302665728001,"66":25843,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302665728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:47:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302665728001,"power":25843,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":151430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:47:10] local.INFO: GPS data processed {"connection_id":151430,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:47:10] local.INFO: Acknowledgment sent {"connection_id":151430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:47:15] local.INFO: TCP Data received {"connection_id":151430,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:47:15] local.INFO: Processing buffer {"connection_id":151430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:47:15] local.INFO: Packet analysis {"connection_id":151430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:47:15] local.INFO: Extracted packet for processing {"connection_id":151430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302665728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786338839000,"timestamp_ms":1786338839000,"timestamp_seconds":1786338839,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1789d8"} 
[2026-08-10 10:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302665728001,"66":25843,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302665728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:47:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302665728001,"power":25843,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":151430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:47:15] local.INFO: GPS data processed {"connection_id":151430,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:47:15] local.INFO: Acknowledgment sent {"connection_id":151430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:47:32] local.INFO: TCP Data received {"connection_id":151429,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea168fd8012d196940071fedd80039011623..."} 
[2026-08-10 10:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea168fd8012d196940071fedd80039011623..."} 
[2026-08-10 10:47:32] local.INFO: Processing buffer {"connection_id":151429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea168fd8012d196940071fedd80039011623..."} 
[2026-08-10 10:47:32] local.INFO: Packet analysis {"connection_id":151429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea16"} 
[2026-08-10 10:47:32] local.INFO: Extracted packet for processing {"connection_id":151429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea16"} 
[2026-08-10 10:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302721024001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786338775000,"timestamp_ms":1786338775000,"timestamp_seconds":1786338775,"priority":1,"record_length":96,"hex_timestamp":"0000019fea168fd8"} 
[2026-08-10 10:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:47: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-08-10 10: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 10:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302721024001,"66":12374,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302721024001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:47:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302721024001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":151429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:47:32] local.INFO: GPS data processed {"connection_id":151429,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:47:32] local.INFO: Acknowledgment sent {"connection_id":151429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:47:54] local.INFO: TCP Data received {"connection_id":152739,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:47:54] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:47:54] local.INFO: IMEI packet received {"connection_id":152739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":152739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:47:59] local.INFO: TCP Data received {"connection_id":154201,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:47:59] local.INFO: Processing buffer {"connection_id":154201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:47:59] local.INFO: IMEI packet received {"connection_id":154201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":154201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:48:00] local.INFO: TCP Data received {"connection_id":152739,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:48:00] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:48:00] local.INFO: IMEI packet received {"connection_id":152739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":152739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:48:00] local.INFO: TCP Data received {"connection_id":152739,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea16e1e0012d196940071fedd80039011623..."} 
[2026-08-10 10:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea16e1e0012d196940071fedd80039011623..."} 
[2026-08-10 10:48:00] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea16e1e0012d196940071fedd80039011623..."} 
[2026-08-10 10:48:00] local.INFO: Packet analysis {"connection_id":152739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea16"} 
[2026-08-10 10:48:00] local.INFO: Extracted packet for processing {"connection_id":152739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea16"} 
[2026-08-10 10:48:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302726400001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786338796000,"timestamp_ms":1786338796000,"timestamp_seconds":1786338796,"priority":1,"record_length":96,"hex_timestamp":"0000019fea16e1e0"} 
[2026-08-10 10:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 10:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302726400001,"66":12374,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302726400001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:48:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:48:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302726400001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":152739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:48:01] local.INFO: GPS data processed {"connection_id":152739,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:48:01] local.INFO: Acknowledgment sent {"connection_id":152739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:48:04] local.INFO: TCP Data received {"connection_id":154201,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:48:04] local.INFO: Processing buffer {"connection_id":154201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:48:04] local.INFO: IMEI packet received {"connection_id":154201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":154201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:48:05] local.INFO: TCP Data received {"connection_id":154201,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:48:05] local.INFO: Processing buffer {"connection_id":154201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:48:05] local.INFO: Packet analysis {"connection_id":154201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:48:05] local.INFO: Extracted packet for processing {"connection_id":154201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302665728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786338839000,"timestamp_ms":1786338839000,"timestamp_seconds":1786338839,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1789d8"} 
[2026-08-10 10:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302665728001,"66":25843,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302665728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:48:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302665728001,"power":25843,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":154201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:48:05] local.INFO: GPS data processed {"connection_id":154201,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:48:05] local.INFO: Acknowledgment sent {"connection_id":154201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:48:32] local.INFO: TCP Data received {"connection_id":152739,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1a6838012d196940071fedd80039011623..."} 
[2026-08-10 10:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1a6838012d196940071fedd80039011623..."} 
[2026-08-10 10:48:32] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1a6838012d196940071fedd80039011623..."} 
[2026-08-10 10:48:32] local.INFO: Packet analysis {"connection_id":152739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1a"} 
[2026-08-10 10:48:32] local.INFO: Extracted packet for processing {"connection_id":152739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1a"} 
[2026-08-10 10:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302785536001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786339027000,"timestamp_ms":1786339027000,"timestamp_seconds":1786339027,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1a6838"} 
[2026-08-10 10:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:48: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-08-10 10: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-10 10:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302785536001,"66":12287,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302785536001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:48:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:48:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302785536001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":152739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:48:32] local.INFO: GPS data processed {"connection_id":152739,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:48:32] local.INFO: Acknowledgment sent {"connection_id":152739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:48:37] local.INFO: TCP Data received {"connection_id":154201,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:48:37] local.INFO: Processing buffer {"connection_id":154201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:48:37] local.INFO: Packet analysis {"connection_id":154201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:48:37] local.INFO: Extracted packet for processing {"connection_id":154201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302665728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786338839000,"timestamp_ms":1786338839000,"timestamp_seconds":1786338839,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1789d8"} 
[2026-08-10 10:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302665728001,"66":25843,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302665728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:48:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302665728001,"power":25843,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":154201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:48:37] local.INFO: GPS data processed {"connection_id":154201,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:48:37] local.INFO: Acknowledgment sent {"connection_id":154201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:48:59] local.INFO: TCP Data received {"connection_id":151431,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:48:59] local.INFO: Processing buffer {"connection_id":151431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:48:59] local.INFO: IMEI packet received {"connection_id":151431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":151431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:49:00] local.INFO: TCP Data received {"connection_id":152740,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:49:00] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:49:00] local.INFO: IMEI packet received {"connection_id":152740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":152740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:49:04] local.INFO: TCP Data received {"connection_id":151431,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:49:04] local.INFO: Processing buffer {"connection_id":151431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:49:04] local.INFO: IMEI packet received {"connection_id":151431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":151431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:49:05] local.INFO: TCP Data received {"connection_id":152740,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:49:05] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:49:05] local.INFO: IMEI packet received {"connection_id":152740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":152740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:49:06] local.INFO: TCP Data received {"connection_id":151431,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:49:06] local.INFO: Processing buffer {"connection_id":151431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:49:06] local.INFO: Packet analysis {"connection_id":151431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:49:06] local.INFO: Extracted packet for processing {"connection_id":151431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302665728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786338839000,"timestamp_ms":1786338839000,"timestamp_seconds":1786338839,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1789d8"} 
[2026-08-10 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-08-10 10:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302665728001,"66":25843,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302665728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:49:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302665728001,"power":25843,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":151431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:49:06] local.INFO: GPS data processed {"connection_id":151431,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:49:06] local.INFO: Acknowledgment sent {"connection_id":151431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:49:06] local.INFO: TCP Data received {"connection_id":152740,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1aba40012d196940071fedd80039011624..."} 
[2026-08-10 10:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1aba40012d196940071fedd80039011624..."} 
[2026-08-10 10:49:06] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1aba40012d196940071fedd80039011624..."} 
[2026-08-10 10:49:06] local.INFO: Packet analysis {"connection_id":152740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1a"} 
[2026-08-10 10:49:06] local.INFO: Extracted packet for processing {"connection_id":152740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1a"} 
[2026-08-10 10:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302790912001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786339048000,"timestamp_ms":1786339048000,"timestamp_seconds":1786339048,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1aba40"} 
[2026-08-10 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-08-10 10:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 10:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302790912001,"66":12341,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302790912001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:49:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302790912001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":152740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:49:06] local.INFO: GPS data processed {"connection_id":152740,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:49:06] local.INFO: Acknowledgment sent {"connection_id":152740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:49:09] local.INFO: TCP Data received {"connection_id":152740,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1b0c48012d196940071fedd80039011625..."} 
[2026-08-10 10:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1b0c48012d196940071fedd80039011625..."} 
[2026-08-10 10:49:09] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1b0c48012d196940071fedd80039011625..."} 
[2026-08-10 10:49:09] local.INFO: Packet analysis {"connection_id":152740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1b"} 
[2026-08-10 10:49:09] local.INFO: Extracted packet for processing {"connection_id":152740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1b"} 
[2026-08-10 10:49:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302796288001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786339069000,"timestamp_ms":1786339069000,"timestamp_seconds":1786339069,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1b0c48"} 
[2026-08-10 10:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 10:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302796288001,"66":12341,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302796288001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:49:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:49:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302796288001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":152740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:49:09] local.INFO: GPS data processed {"connection_id":152740,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:49:09] local.INFO: Acknowledgment sent {"connection_id":152740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:49:38] local.INFO: TCP Data received {"connection_id":151431,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:49:38] local.INFO: Processing buffer {"connection_id":151431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1789d8012d342a4006abc2800014010228..."} 
[2026-08-10 10:49:38] local.INFO: Packet analysis {"connection_id":151431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:49:38] local.INFO: Extracted packet for processing {"connection_id":151431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea17"} 
[2026-08-10 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302665728001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786338839000,"timestamp_ms":1786338839000,"timestamp_seconds":1786338839,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1789d8"} 
[2026-08-10 10:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302665728001,"66":25843,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302665728001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:49:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302665728001,"power":25843,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":151431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:49:38] local.INFO: GPS data processed {"connection_id":151431,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:49:38] local.INFO: Acknowledgment sent {"connection_id":151431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:49:55] local.INFO: TCP Data received {"connection_id":154202,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:49:55] local.INFO: Processing buffer {"connection_id":154202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:49:55] local.INFO: IMEI packet received {"connection_id":154202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":154202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:49:59] local.INFO: TCP Data received {"connection_id":152741,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:49:59] local.INFO: Processing buffer {"connection_id":152741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:49:59] local.INFO: IMEI packet received {"connection_id":152741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":152741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:50:00] local.INFO: TCP Data received {"connection_id":154202,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:50:00] local.INFO: Processing buffer {"connection_id":154202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:50:00] local.INFO: IMEI packet received {"connection_id":154202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":154202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:50:00] local.INFO: TCP Data received {"connection_id":154202,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1b5e50012d196940071fedd80039011623..."} 
[2026-08-10 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1b5e50012d196940071fedd80039011623..."} 
[2026-08-10 10:50:00] local.INFO: Processing buffer {"connection_id":154202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1b5e50012d196940071fedd80039011623..."} 
[2026-08-10 10:50:00] local.INFO: Packet analysis {"connection_id":154202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1b"} 
[2026-08-10 10:50:00] local.INFO: Extracted packet for processing {"connection_id":154202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1b"} 
[2026-08-10 10:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302801664001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786339090000,"timestamp_ms":1786339090000,"timestamp_seconds":1786339090,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1b5e50"} 
[2026-08-10 10:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:50: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-08-10 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 10:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302801664001,"66":12330,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 10:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302801664001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:50:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 10:50:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302801664001,"power":12330,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":154202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:50:01] local.INFO: GPS data processed {"connection_id":154202,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:50:01] local.INFO: Acknowledgment sent {"connection_id":154202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:50:04] local.INFO: TCP Data received {"connection_id":152741,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:50:04] local.INFO: Processing buffer {"connection_id":152741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:50:04] local.INFO: IMEI packet received {"connection_id":152741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":152741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:50:05] local.INFO: TCP Data received {"connection_id":152741,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:50:05] local.INFO: Processing buffer {"connection_id":152741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:50:05] local.INFO: Packet analysis {"connection_id":152741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:50:05] local.INFO: Extracted packet for processing {"connection_id":152741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302742784001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786339140000,"timestamp_ms":1786339140000,"timestamp_seconds":1786339140,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1c21a0"} 
[2026-08-10 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-08-10 10:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302742784001,"66":25778,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302742784001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:50:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302742784001,"power":25778,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":152741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:50:05] local.INFO: GPS data processed {"connection_id":152741,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:50:05] local.INFO: Acknowledgment sent {"connection_id":152741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:50:32] local.INFO: TCP Data received {"connection_id":154202,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1bb058012d196940071fedd80039011626..."} 
[2026-08-10 10:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1bb058012d196940071fedd80039011626..."} 
[2026-08-10 10:50:32] local.INFO: Processing buffer {"connection_id":154202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1bb058012d196940071fedd80039011626..."} 
[2026-08-10 10:50:32] local.INFO: Packet analysis {"connection_id":154202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1b"} 
[2026-08-10 10:50:32] local.INFO: Extracted packet for processing {"connection_id":154202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1b"} 
[2026-08-10 10:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302807040001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786339111000,"timestamp_ms":1786339111000,"timestamp_seconds":1786339111,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1bb058"} 
[2026-08-10 10:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:50: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-08-10 10: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-10 10:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302807040001,"66":12319,"101":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302807040001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:50:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302807040001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":154202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:50:32] local.INFO: GPS data processed {"connection_id":154202,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:50:32] local.INFO: Acknowledgment sent {"connection_id":154202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:50:37] local.INFO: TCP Data received {"connection_id":152741,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:50:37] local.INFO: Processing buffer {"connection_id":152741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:50:37] local.INFO: Packet analysis {"connection_id":152741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:50:37] local.INFO: Extracted packet for processing {"connection_id":152741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302742784001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786339140000,"timestamp_ms":1786339140000,"timestamp_seconds":1786339140,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1c21a0"} 
[2026-08-10 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-08-10 10:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302742784001,"66":25778,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302742784001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:50:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302742784001,"power":25778,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":152741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:50:37] local.INFO: GPS data processed {"connection_id":152741,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:50:37] local.INFO: Acknowledgment sent {"connection_id":152741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:50:54] local.INFO: TCP Data received {"connection_id":154203,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:50:54] local.INFO: Processing buffer {"connection_id":154203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:50:54] local.INFO: IMEI packet received {"connection_id":154203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":154203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:50:55] local.INFO: TCP Data received {"connection_id":154203,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:50:55] local.INFO: Processing buffer {"connection_id":154203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:50:55] local.INFO: IMEI packet received {"connection_id":154203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":154203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:51:00] local.INFO: TCP Data received {"connection_id":154203,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:51:00] local.INFO: Processing buffer {"connection_id":154203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:51:00] local.INFO: IMEI packet received {"connection_id":154203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":154203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:51:00] local.INFO: TCP Data received {"connection_id":154203,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1c0260012d196940071fedd80039011623..."} 
[2026-08-10 10:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1c0260012d196940071fedd80039011623..."} 
[2026-08-10 10:51:00] local.INFO: Processing buffer {"connection_id":154203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1c0260012d196940071fedd80039011623..."} 
[2026-08-10 10:51:00] local.INFO: Packet analysis {"connection_id":154203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:51:00] local.INFO: Extracted packet for processing {"connection_id":154203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:51:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302812416001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786339132000,"timestamp_ms":1786339132000,"timestamp_seconds":1786339132,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1c0260"} 
[2026-08-10 10:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:51: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-08-10 10:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 10:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302812416001,"66":12363,"101":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302812416001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:51:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302812416001,"power":12363,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":154203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:51:01] local.INFO: GPS data processed {"connection_id":154203,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:51:01] local.INFO: Acknowledgment sent {"connection_id":154203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:51:04] local.INFO: TCP Data received {"connection_id":154204,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:51:04] local.INFO: Processing buffer {"connection_id":154204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:51:04] local.INFO: IMEI packet received {"connection_id":154204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":154204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:51:09] local.INFO: TCP Data received {"connection_id":154204,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:51:09] local.INFO: Processing buffer {"connection_id":154204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:51:09] local.INFO: IMEI packet received {"connection_id":154204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":154204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:51:10] local.INFO: TCP Data received {"connection_id":154204,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:51:10] local.INFO: Processing buffer {"connection_id":154204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:51:10] local.INFO: Packet analysis {"connection_id":154204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:51:10] local.INFO: Extracted packet for processing {"connection_id":154204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302742784001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786339140000,"timestamp_ms":1786339140000,"timestamp_seconds":1786339140,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1c21a0"} 
[2026-08-10 10:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:51: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-08-10 10:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302742784001,"66":25778,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302742784001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:51:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302742784001,"power":25778,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":154204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:51:10] local.INFO: GPS data processed {"connection_id":154204,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:51:10] local.INFO: Acknowledgment sent {"connection_id":154204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:51:15] local.INFO: TCP Data received {"connection_id":154204,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:51:15] local.INFO: Processing buffer {"connection_id":154204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:51:15] local.INFO: Packet analysis {"connection_id":154204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:51:15] local.INFO: Extracted packet for processing {"connection_id":154204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302742784001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786339140000,"timestamp_ms":1786339140000,"timestamp_seconds":1786339140,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1c21a0"} 
[2026-08-10 10:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302742784001,"66":25778,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302742784001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:51:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302742784001,"power":25778,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":154204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:51:15] local.INFO: GPS data processed {"connection_id":154204,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:51:15] local.INFO: Acknowledgment sent {"connection_id":154204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:51:32] local.INFO: TCP Data received {"connection_id":154203,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1c5468012d196940071fedd80039011627..."} 
[2026-08-10 10:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1c5468012d196940071fedd80039011627..."} 
[2026-08-10 10:51:32] local.INFO: Processing buffer {"connection_id":154203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1c5468012d196940071fedd80039011627..."} 
[2026-08-10 10:51:32] local.INFO: Packet analysis {"connection_id":154203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:51:32] local.INFO: Extracted packet for processing {"connection_id":154203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302817792001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786339153000,"timestamp_ms":1786339153000,"timestamp_seconds":1786339153,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1c5468"} 
[2026-08-10 10:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:51: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-08-10 10: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 10:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302817792001,"66":12341,"101":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302817792001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:51:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302817792001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":154203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:51:32] local.INFO: GPS data processed {"connection_id":154203,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:51:32] local.INFO: Acknowledgment sent {"connection_id":154203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:51:59] local.INFO: TCP Data received {"connection_id":151432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:51:59] local.INFO: Processing buffer {"connection_id":151432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:51:59] local.INFO: IMEI packet received {"connection_id":151432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":151432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:52:04] local.INFO: TCP Data received {"connection_id":151432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:52:04] local.INFO: Processing buffer {"connection_id":151432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:52:04] local.INFO: IMEI packet received {"connection_id":151432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":151432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:52:05] local.INFO: TCP Data received {"connection_id":151432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:52:05] local.INFO: Processing buffer {"connection_id":151432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:52:05] local.INFO: Packet analysis {"connection_id":151432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:52:05] local.INFO: Extracted packet for processing {"connection_id":151432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302742784001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786339140000,"timestamp_ms":1786339140000,"timestamp_seconds":1786339140,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1c21a0"} 
[2026-08-10 10:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302742784001,"66":25778,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302742784001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:52:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302742784001,"power":25778,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":151432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:52:05] local.INFO: GPS data processed {"connection_id":151432,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:52:05] local.INFO: Acknowledgment sent {"connection_id":151432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:52:36] local.INFO: TCP Data received {"connection_id":151432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:52:36] local.INFO: Processing buffer {"connection_id":151432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:52:36] local.INFO: Packet analysis {"connection_id":151432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:52:36] local.INFO: Extracted packet for processing {"connection_id":151432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302742784001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786339140000,"timestamp_ms":1786339140000,"timestamp_seconds":1786339140,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1c21a0"} 
[2026-08-10 10:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:52: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-08-10 10:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302742784001,"66":25778,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302742784001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:52:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302742784001,"power":25778,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":151432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:52:36] local.INFO: GPS data processed {"connection_id":151432,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:52:36] local.INFO: Acknowledgment sent {"connection_id":151432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:52:59] local.INFO: TCP Data received {"connection_id":151433,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:52:59] local.INFO: Processing buffer {"connection_id":151433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:52:59] local.INFO: IMEI packet received {"connection_id":151433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":151433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:53:04] local.INFO: TCP Data received {"connection_id":151433,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:53:04] local.INFO: Processing buffer {"connection_id":151433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:53:04] local.INFO: IMEI packet received {"connection_id":151433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":151433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:53:42] local.INFO: TCP Data received {"connection_id":151433,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:53:42] local.INFO: Processing buffer {"connection_id":151433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:53:42] local.INFO: Packet analysis {"connection_id":151433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:53:42] local.INFO: Extracted packet for processing {"connection_id":151433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302742784001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786339140000,"timestamp_ms":1786339140000,"timestamp_seconds":1786339140,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1c21a0"} 
[2026-08-10 10:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302742784001,"66":25778,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302742784001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:53:42] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302742784001,"power":25778,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":151433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:53:42] local.INFO: GPS data processed {"connection_id":151433,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:53:42] local.INFO: Acknowledgment sent {"connection_id":151433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:53:43] local.INFO: TCP Data received {"connection_id":151433,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:53:43] local.INFO: Processing buffer {"connection_id":151433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:53:43] local.INFO: Packet analysis {"connection_id":151433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:53:43] local.INFO: Extracted packet for processing {"connection_id":151433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302742784001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786339140000,"timestamp_ms":1786339140000,"timestamp_seconds":1786339140,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1c21a0"} 
[2026-08-10 10:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302742784001,"66":25778,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302742784001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:53:43] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302742784001,"power":25778,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":151433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:53:43] local.INFO: GPS data processed {"connection_id":151433,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:53:43] local.INFO: Acknowledgment sent {"connection_id":151433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:53:59] local.INFO: TCP Data received {"connection_id":152742,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:53:59] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:53:59] local.INFO: IMEI packet received {"connection_id":152742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":152742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:54:04] local.INFO: TCP Data received {"connection_id":152742,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:54:04] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:54:04] local.INFO: IMEI packet received {"connection_id":152742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":152742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:54:06] local.INFO: TCP Data received {"connection_id":152742,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:54:06] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:54:06] local.INFO: Packet analysis {"connection_id":152742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:54:06] local.INFO: Extracted packet for processing {"connection_id":152742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302742784001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786339140000,"timestamp_ms":1786339140000,"timestamp_seconds":1786339140,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1c21a0"} 
[2026-08-10 10:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302742784001,"66":25778,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302742784001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:54:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302742784001,"power":25778,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":152742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:54:06] local.INFO: GPS data processed {"connection_id":152742,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:54:06] local.INFO: Acknowledgment sent {"connection_id":152742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:54:38] local.INFO: TCP Data received {"connection_id":152742,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:54:38] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1c21a0012d342a4006abc280000f010226..."} 
[2026-08-10 10:54:38] local.INFO: Packet analysis {"connection_id":152742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:54:38] local.INFO: Extracted packet for processing {"connection_id":152742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302742784001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786339140000,"timestamp_ms":1786339140000,"timestamp_seconds":1786339140,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1c21a0"} 
[2026-08-10 10:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-10 10:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302742784001,"66":25778,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302742784001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:54:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302742784001,"power":25778,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":152742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:54:38] local.INFO: GPS data processed {"connection_id":152742,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:54:38] local.INFO: Acknowledgment sent {"connection_id":152742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:54:59] local.INFO: TCP Data received {"connection_id":151823,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:54:59] local.INFO: Processing buffer {"connection_id":151823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:54:59] local.INFO: IMEI packet received {"connection_id":151823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":151823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:55:04] local.INFO: TCP Data received {"connection_id":151823,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:55:04] local.INFO: Processing buffer {"connection_id":151823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:55:04] local.INFO: IMEI packet received {"connection_id":151823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":151823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:55:05] local.INFO: TCP Data received {"connection_id":151823,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:55:05] local.INFO: Processing buffer {"connection_id":151823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:55:05] local.INFO: Packet analysis {"connection_id":151823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:55:05] local.INFO: Extracted packet for processing {"connection_id":151823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302819840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786339441000,"timestamp_ms":1786339441000,"timestamp_seconds":1786339441,"priority":1,"record_length":96,"hex_timestamp":"0000019fea20b968"} 
[2026-08-10 10:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 10:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302819840001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302819840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:55:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302819840001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":151823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:55:05] local.INFO: GPS data processed {"connection_id":151823,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:55:05] local.INFO: Acknowledgment sent {"connection_id":151823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:55:37] local.INFO: TCP Data received {"connection_id":151823,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:55:37] local.INFO: Processing buffer {"connection_id":151823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:55:37] local.INFO: Packet analysis {"connection_id":151823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:55:37] local.INFO: Extracted packet for processing {"connection_id":151823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302819840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786339441000,"timestamp_ms":1786339441000,"timestamp_seconds":1786339441,"priority":1,"record_length":96,"hex_timestamp":"0000019fea20b968"} 
[2026-08-10 10:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 10:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302819840001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302819840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:55:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302819840001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":151823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:55:37] local.INFO: GPS data processed {"connection_id":151823,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:55:37] local.INFO: Acknowledgment sent {"connection_id":151823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:56:04] local.INFO: TCP Data received {"connection_id":152743,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:56:04] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:56:04] local.INFO: IMEI packet received {"connection_id":152743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":152743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:56:09] local.INFO: TCP Data received {"connection_id":152743,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:56:09] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:56:09] local.INFO: IMEI packet received {"connection_id":152743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":152743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:56:10] local.INFO: TCP Data received {"connection_id":152743,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:56:10] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:56:10] local.INFO: Packet analysis {"connection_id":152743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:56:10] local.INFO: Extracted packet for processing {"connection_id":152743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10: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-08-10 10:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302819840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786339441000,"timestamp_ms":1786339441000,"timestamp_seconds":1786339441,"priority":1,"record_length":96,"hex_timestamp":"0000019fea20b968"} 
[2026-08-10 10:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:56: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-08-10 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 10:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10: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-08-10 10:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302819840001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302819840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:56:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302819840001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":152743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:56:10] local.INFO: GPS data processed {"connection_id":152743,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:56:10] local.INFO: Acknowledgment sent {"connection_id":152743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:56:15] local.INFO: TCP Data received {"connection_id":152743,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:56:15] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:56:15] local.INFO: Packet analysis {"connection_id":152743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:56:15] local.INFO: Extracted packet for processing {"connection_id":152743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302819840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786339441000,"timestamp_ms":1786339441000,"timestamp_seconds":1786339441,"priority":1,"record_length":96,"hex_timestamp":"0000019fea20b968"} 
[2026-08-10 10:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 10:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302819840001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302819840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:56:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302819840001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":152743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:56:15] local.INFO: GPS data processed {"connection_id":152743,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:56:15] local.INFO: Acknowledgment sent {"connection_id":152743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:56:59] local.INFO: TCP Data received {"connection_id":152744,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:56:59] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:56:59] local.INFO: IMEI packet received {"connection_id":152744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":152744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:57:00] local.INFO: TCP Data received {"connection_id":154205,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:57:00] local.INFO: Processing buffer {"connection_id":154205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:57:00] local.INFO: IMEI packet received {"connection_id":154205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":154205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:57:04] local.INFO: TCP Data received {"connection_id":152744,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:57:04] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:57:04] local.INFO: IMEI packet received {"connection_id":152744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":152744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:57:05] local.INFO: TCP Data received {"connection_id":154205,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:57:05] local.INFO: Processing buffer {"connection_id":154205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:57:05] local.INFO: IMEI packet received {"connection_id":154205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":154205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:57:05] local.INFO: TCP Data received {"connection_id":152744,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:57:05] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:57:05] local.INFO: Packet analysis {"connection_id":152744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:57:05] local.INFO: Extracted packet for processing {"connection_id":152744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302819840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786339441000,"timestamp_ms":1786339441000,"timestamp_seconds":1786339441,"priority":1,"record_length":96,"hex_timestamp":"0000019fea20b968"} 
[2026-08-10 10:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 10:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302819840001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302819840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:57:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302819840001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":152744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:57:05] local.INFO: GPS data processed {"connection_id":152744,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:57:05] local.INFO: Acknowledgment sent {"connection_id":152744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:57:06] local.INFO: TCP Data received {"connection_id":154205,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1ca670012d196940071fedd80039011626..."} 
[2026-08-10 10:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1ca670012d196940071fedd80039011626..."} 
[2026-08-10 10:57:06] local.INFO: Processing buffer {"connection_id":154205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1ca670012d196940071fedd80039011626..."} 
[2026-08-10 10:57:06] local.INFO: Packet analysis {"connection_id":154205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:57:06] local.INFO: Extracted packet for processing {"connection_id":154205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302823168001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786339174000,"timestamp_ms":1786339174000,"timestamp_seconds":1786339174,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1ca670"} 
[2026-08-10 10:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 10:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302823168001,"66":12319,"101":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302823168001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:57:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302823168001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":154205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:57:06] local.INFO: GPS data processed {"connection_id":154205,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:57:06] local.INFO: Acknowledgment sent {"connection_id":154205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:57:10] local.INFO: TCP Data received {"connection_id":154205,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1cf878012d196940071fedd80039011623..."} 
[2026-08-10 10:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1cf878012d196940071fedd80039011623..."} 
[2026-08-10 10:57:10] local.INFO: Processing buffer {"connection_id":154205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1cf878012d196940071fedd80039011623..."} 
[2026-08-10 10:57:10] local.INFO: Packet analysis {"connection_id":154205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:57:10] local.INFO: Extracted packet for processing {"connection_id":154205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1c"} 
[2026-08-10 10:57:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302828544001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10: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-08-10 10:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786339195000,"timestamp_ms":1786339195000,"timestamp_seconds":1786339195,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1cf878"} 
[2026-08-10 10:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 10:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 10:57: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-08-10 10:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302828544001,"66":12341,"101":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302828544001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:57:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302828544001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":154205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:57:10] local.INFO: GPS data processed {"connection_id":154205,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:57:10] local.INFO: Acknowledgment sent {"connection_id":154205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:57:36] local.INFO: TCP Data received {"connection_id":152744,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:57:36] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:57:36] local.INFO: Packet analysis {"connection_id":152744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:57:36] local.INFO: Extracted packet for processing {"connection_id":152744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302819840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786339441000,"timestamp_ms":1786339441000,"timestamp_seconds":1786339441,"priority":1,"record_length":96,"hex_timestamp":"0000019fea20b968"} 
[2026-08-10 10:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 10:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302819840001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302819840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:57:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302819840001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":152744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:57:36] local.INFO: GPS data processed {"connection_id":152744,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:57:36] local.INFO: Acknowledgment sent {"connection_id":152744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:57:55] local.INFO: TCP Data received {"connection_id":151824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:57:55] local.INFO: Processing buffer {"connection_id":151824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:57:55] local.INFO: IMEI packet received {"connection_id":151824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 10:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":151824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:57:59] local.INFO: TCP Data received {"connection_id":151825,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:57:59] local.INFO: Processing buffer {"connection_id":151825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:57:59] local.INFO: IMEI packet received {"connection_id":151825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":151825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:58:00] local.INFO: TCP Data received {"connection_id":151824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:58:00] local.INFO: Processing buffer {"connection_id":151824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 10:58:00] local.INFO: IMEI packet received {"connection_id":151824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 10:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":151824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:58:00] local.INFO: TCP Data received {"connection_id":151824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1d4a80012d196940071fedd80039011624..."} 
[2026-08-10 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1d4a80012d196940071fedd80039011624..."} 
[2026-08-10 10:58:00] local.INFO: Processing buffer {"connection_id":151824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1d4a80012d196940071fedd80039011624..."} 
[2026-08-10 10:58:00] local.INFO: Packet analysis {"connection_id":151824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1d"} 
[2026-08-10 10:58:00] local.INFO: Extracted packet for processing {"connection_id":151824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1d"} 
[2026-08-10 10:58:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302833920001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786339216000,"timestamp_ms":1786339216000,"timestamp_seconds":1786339216,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1d4a80"} 
[2026-08-10 10:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:58: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-08-10 10:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 10:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302833920001,"66":12363,"101":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302833920001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:58:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:58:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302833920001,"power":12363,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":151824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:58:01] local.INFO: GPS data processed {"connection_id":151824,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:58:01] local.INFO: Acknowledgment sent {"connection_id":151824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:58:04] local.INFO: TCP Data received {"connection_id":151825,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:58:04] local.INFO: Processing buffer {"connection_id":151825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:58:04] local.INFO: IMEI packet received {"connection_id":151825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":151825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:58:06] local.INFO: TCP Data received {"connection_id":151825,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:58:06] local.INFO: Processing buffer {"connection_id":151825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:58:06] local.INFO: Packet analysis {"connection_id":151825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:58:06] local.INFO: Extracted packet for processing {"connection_id":151825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302819840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786339441000,"timestamp_ms":1786339441000,"timestamp_seconds":1786339441,"priority":1,"record_length":96,"hex_timestamp":"0000019fea20b968"} 
[2026-08-10 10:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 10:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302819840001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302819840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:58:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302819840001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":151825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:58:06] local.INFO: GPS data processed {"connection_id":151825,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:58:06] local.INFO: Acknowledgment sent {"connection_id":151825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:58:32] local.INFO: TCP Data received {"connection_id":151824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1d9c88012d196940071fedd80039011625..."} 
[2026-08-10 10:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1d9c88012d196940071fedd80039011625..."} 
[2026-08-10 10:58:32] local.INFO: Processing buffer {"connection_id":151824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1d9c88012d196940071fedd80039011625..."} 
[2026-08-10 10:58:32] local.INFO: Packet analysis {"connection_id":151824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1d"} 
[2026-08-10 10:58:32] local.INFO: Extracted packet for processing {"connection_id":151824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1d"} 
[2026-08-10 10:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 10:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302839296001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 10:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 10:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786339237000,"timestamp_ms":1786339237000,"timestamp_seconds":1786339237,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1d9c88"} 
[2026-08-10 10:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:58: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-08-10 10: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 10:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 10:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 10:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 10:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302839296001,"66":12341,"101":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 10:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 10:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 10:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302839296001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:58:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 10:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 10:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 10:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302839296001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 10:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":151824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:58:32] local.INFO: GPS data processed {"connection_id":151824,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:58:32] local.INFO: Acknowledgment sent {"connection_id":151824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:58:39] local.INFO: TCP Data received {"connection_id":151825,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:58:39] local.INFO: Processing buffer {"connection_id":151825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:58:39] local.INFO: Packet analysis {"connection_id":151825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:58:39] local.INFO: Extracted packet for processing {"connection_id":151825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302819840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786339441000,"timestamp_ms":1786339441000,"timestamp_seconds":1786339441,"priority":1,"record_length":96,"hex_timestamp":"0000019fea20b968"} 
[2026-08-10 10:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 10:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302819840001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302819840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:58:39] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:58:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302819840001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":151825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:58:39] local.INFO: GPS data processed {"connection_id":151825,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:58:39] local.INFO: Acknowledgment sent {"connection_id":151825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:58:59] local.INFO: TCP Data received {"connection_id":154206,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:58:59] local.INFO: Processing buffer {"connection_id":154206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:58:59] local.INFO: IMEI packet received {"connection_id":154206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":154206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 10:59:04] local.INFO: TCP Data received {"connection_id":154206,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:59:04] local.INFO: Processing buffer {"connection_id":154206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:59:04] local.INFO: IMEI packet received {"connection_id":154206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 10:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":154206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 10:59:05] local.INFO: TCP Data received {"connection_id":154206,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:59:05] local.INFO: Processing buffer {"connection_id":154206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:59:05] local.INFO: Packet analysis {"connection_id":154206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:59:05] local.INFO: Extracted packet for processing {"connection_id":154206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 10:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302819840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786339441000,"timestamp_ms":1786339441000,"timestamp_seconds":1786339441,"priority":1,"record_length":96,"hex_timestamp":"0000019fea20b968"} 
[2026-08-10 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-08-10 10:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 10:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 10:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302819840001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302819840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:59:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302819840001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":154206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:59:05] local.INFO: GPS data processed {"connection_id":154206,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:59:05] local.INFO: Acknowledgment sent {"connection_id":154206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:59:36] local.INFO: TCP Data received {"connection_id":154206,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:59:36] local.INFO: Processing buffer {"connection_id":154206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea20b968012d342a4006abc280000f010228..."} 
[2026-08-10 10:59:36] local.INFO: Packet analysis {"connection_id":154206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:59:36] local.INFO: Extracted packet for processing {"connection_id":154206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea20"} 
[2026-08-10 10:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 10:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 10:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302819840001,"note":"Value kept but may cause issues"} 
[2026-08-10 10:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 10:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 10:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 10:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786339441000,"timestamp_ms":1786339441000,"timestamp_seconds":1786339441,"priority":1,"record_length":96,"hex_timestamp":"0000019fea20b968"} 
[2026-08-10 10:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 10:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 10:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 10:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 10:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 10:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 10:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 10:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 10:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 10:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 10:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 10:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 10:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302819840001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 10:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 10:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 10:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302819840001,"description":"Unknown IO ID 0"} 
[2026-08-10 10:59:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 10:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 10:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 10:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 10:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302819840001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 10:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":154206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 10:59:36] local.INFO: GPS data processed {"connection_id":154206,"processed":1,"errors":0,"total":1} 
[2026-08-10 10:59:36] local.INFO: Acknowledgment sent {"connection_id":154206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 10:59:59] local.INFO: TCP Data received {"connection_id":152745,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:59:59] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 10:59:59] local.INFO: IMEI packet received {"connection_id":152745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 10:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":152745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:00:04] local.INFO: TCP Data received {"connection_id":152745,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:00:04] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:00:04] local.INFO: IMEI packet received {"connection_id":152745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":152745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:00:04] local.INFO: TCP Data received {"connection_id":151826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:00:04] local.INFO: Processing buffer {"connection_id":151826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:00:04] local.INFO: IMEI packet received {"connection_id":151826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":151826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:00:05] local.INFO: TCP Data received {"connection_id":152745,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:00:05] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:00:05] local.INFO: Packet analysis {"connection_id":152745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:00:05] local.INFO: Extracted packet for processing {"connection_id":152745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302896896001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786339742000,"timestamp_ms":1786339742000,"timestamp_seconds":1786339742,"priority":1,"record_length":96,"hex_timestamp":"0000019fea255130"} 
[2026-08-10 11:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302896896001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302896896001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:00:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302896896001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":152745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:00:05] local.INFO: GPS data processed {"connection_id":152745,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:00:05] local.INFO: Acknowledgment sent {"connection_id":152745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:00:09] local.INFO: TCP Data received {"connection_id":151826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:00:09] local.INFO: Processing buffer {"connection_id":151826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:00:09] local.INFO: IMEI packet received {"connection_id":151826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":151826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:00:10] local.INFO: TCP Data received {"connection_id":151826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1dee90012d196940071fedd80039011626..."} 
[2026-08-10 11:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1dee90012d196940071fedd80039011626..."} 
[2026-08-10 11:00:10] local.INFO: Processing buffer {"connection_id":151826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1dee90012d196940071fedd80039011626..."} 
[2026-08-10 11:00:10] local.INFO: Packet analysis {"connection_id":151826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1d"} 
[2026-08-10 11:00:10] local.INFO: Extracted packet for processing {"connection_id":151826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1d"} 
[2026-08-10 11:00:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 11:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302844672001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:00: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-08-10 11:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786339258000,"timestamp_ms":1786339258000,"timestamp_seconds":1786339258,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1dee90"} 
[2026-08-10 11:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:00: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-08-10 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 11:00: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-08-10 11:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302844672001,"66":12319,"101":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 11:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302844672001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:00:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 11:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302844672001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":151826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:00:10] local.INFO: GPS data processed {"connection_id":151826,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:00:10] local.INFO: Acknowledgment sent {"connection_id":151826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:00:36] local.INFO: TCP Data received {"connection_id":152745,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:00:36] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:00:36] local.INFO: Packet analysis {"connection_id":152745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:00:36] local.INFO: Extracted packet for processing {"connection_id":152745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302896896001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786339742000,"timestamp_ms":1786339742000,"timestamp_seconds":1786339742,"priority":1,"record_length":96,"hex_timestamp":"0000019fea255130"} 
[2026-08-10 11:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302896896001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302896896001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:00:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302896896001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":152745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:00:36] local.INFO: GPS data processed {"connection_id":152745,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:00:36] local.INFO: Acknowledgment sent {"connection_id":152745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:00:54] local.INFO: TCP Data received {"connection_id":151434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:00:54] local.INFO: Processing buffer {"connection_id":151434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:00:54] local.INFO: IMEI packet received {"connection_id":151434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":151434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:00:59] local.INFO: TCP Data received {"connection_id":154207,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:00:59] local.INFO: Processing buffer {"connection_id":154207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:00:59] local.INFO: IMEI packet received {"connection_id":154207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":154207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:01:00] local.INFO: TCP Data received {"connection_id":151434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:01:00] local.INFO: Processing buffer {"connection_id":151434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:01:00] local.INFO: IMEI packet received {"connection_id":151434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":151434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:01:00] local.INFO: TCP Data received {"connection_id":151434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1df278012d196940071fedd80039011626..."} 
[2026-08-10 11:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1df278012d196940071fedd80039011626..."} 
[2026-08-10 11:01:00] local.INFO: Processing buffer {"connection_id":151434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1df278012d196940071fedd80039011626..."} 
[2026-08-10 11:01:00] local.INFO: Packet analysis {"connection_id":151434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1d"} 
[2026-08-10 11:01:00] local.INFO: Extracted packet for processing {"connection_id":151434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1d"} 
[2026-08-10 11:01:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 11:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302850048001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786339259000,"timestamp_ms":1786339259000,"timestamp_seconds":1786339259,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1df278"} 
[2026-08-10 11:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 11:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302850048001,"66":12319,"101":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 11:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302850048001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:01:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 11:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302850048001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":151434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:01:01] local.INFO: GPS data processed {"connection_id":151434,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:01:01] local.INFO: Acknowledgment sent {"connection_id":151434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:01:04] local.INFO: TCP Data received {"connection_id":154207,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:01:04] local.INFO: Processing buffer {"connection_id":154207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:01:04] local.INFO: IMEI packet received {"connection_id":154207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":154207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:01:05] local.INFO: TCP Data received {"connection_id":154207,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:01:05] local.INFO: Processing buffer {"connection_id":154207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:01:05] local.INFO: Packet analysis {"connection_id":154207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:01:05] local.INFO: Extracted packet for processing {"connection_id":154207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302896896001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786339742000,"timestamp_ms":1786339742000,"timestamp_seconds":1786339742,"priority":1,"record_length":96,"hex_timestamp":"0000019fea255130"} 
[2026-08-10 11:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302896896001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302896896001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:01:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302896896001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":154207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:01:05] local.INFO: GPS data processed {"connection_id":154207,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:01:05] local.INFO: Acknowledgment sent {"connection_id":154207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:01:32] local.INFO: TCP Data received {"connection_id":151434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1df278012d196940071fedd80039011626..."} 
[2026-08-10 11:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1df278012d196940071fedd80039011626..."} 
[2026-08-10 11:01:32] local.INFO: Processing buffer {"connection_id":151434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1df278012d196940071fedd80039011626..."} 
[2026-08-10 11:01:32] local.INFO: Packet analysis {"connection_id":151434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1d"} 
[2026-08-10 11:01:32] local.INFO: Extracted packet for processing {"connection_id":151434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1d"} 
[2026-08-10 11:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 11:01: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-08-10 11:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302850304001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786339259000,"timestamp_ms":1786339259000,"timestamp_seconds":1786339259,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1df278"} 
[2026-08-10 11:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:01:32] 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-08-10 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 11:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302850304001,"66":12319,"101":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 11:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302850304001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:01:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 11:01:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302850304001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":151434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:01:32] local.INFO: GPS data processed {"connection_id":151434,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:01:32] local.INFO: Acknowledgment sent {"connection_id":151434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:01:36] local.INFO: TCP Data received {"connection_id":154207,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:01:36] local.INFO: Processing buffer {"connection_id":154207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:01:36] local.INFO: Packet analysis {"connection_id":154207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:01:36] local.INFO: Extracted packet for processing {"connection_id":154207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302896896001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786339742000,"timestamp_ms":1786339742000,"timestamp_seconds":1786339742,"priority":1,"record_length":96,"hex_timestamp":"0000019fea255130"} 
[2026-08-10 11:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302896896001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302896896001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:01:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302896896001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":154207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:01:36] local.INFO: GPS data processed {"connection_id":154207,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:01:36] local.INFO: Acknowledgment sent {"connection_id":154207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:02:00] local.INFO: TCP Data received {"connection_id":151435,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:02:00] local.INFO: Processing buffer {"connection_id":151435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:02:00] local.INFO: IMEI packet received {"connection_id":151435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":151435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:02:00] local.INFO: TCP Data received {"connection_id":151827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:02:00] local.INFO: Processing buffer {"connection_id":151827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:02:00] local.INFO: IMEI packet received {"connection_id":151827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":151827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:02:04] local.INFO: TCP Data received {"connection_id":151435,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:02:04] local.INFO: Processing buffer {"connection_id":151435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:02:04] local.INFO: IMEI packet received {"connection_id":151435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":151435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:02:04] local.INFO: TCP Data received {"connection_id":151827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:02:04] local.INFO: Processing buffer {"connection_id":151827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:02:04] local.INFO: IMEI packet received {"connection_id":151827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":151827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:02:05] local.INFO: TCP Data received {"connection_id":151827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea1df278012d196940071fedd80039011626..."} 
[2026-08-10 11:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea1df278012d196940071fedd80039011626..."} 
[2026-08-10 11:02:05] local.INFO: Processing buffer {"connection_id":151827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea1df278012d196940071fedd80039011626..."} 
[2026-08-10 11:02:05] local.INFO: Packet analysis {"connection_id":151827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea1d"} 
[2026-08-10 11:02:05] local.INFO: Extracted packet for processing {"connection_id":151827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea1d"} 
[2026-08-10 11:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":57,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-10 11:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302850304001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786339259000,"timestamp_ms":1786339259000,"timestamp_seconds":1786339259,"priority":1,"record_length":96,"hex_timestamp":"0000019fea1df278"} 
[2026-08-10 11:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:02:05] 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-08-10 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 11:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302850304001,"66":12319,"101":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 11:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302850304001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:02:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 11:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302850304001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":151827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:02:05] local.INFO: GPS data processed {"connection_id":151827,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:02:05] local.INFO: Acknowledgment sent {"connection_id":151827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:02:05] local.INFO: TCP Data received {"connection_id":151435,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:02:05] local.INFO: Processing buffer {"connection_id":151435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:02:05] local.INFO: Packet analysis {"connection_id":151435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:02:05] local.INFO: Extracted packet for processing {"connection_id":151435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302896896001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786339742000,"timestamp_ms":1786339742000,"timestamp_seconds":1786339742,"priority":1,"record_length":96,"hex_timestamp":"0000019fea255130"} 
[2026-08-10 11:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302896896001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302896896001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:02:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302896896001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":151435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:02:05] local.INFO: GPS data processed {"connection_id":151435,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:02:05] local.INFO: Acknowledgment sent {"connection_id":151435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:02:10] local.INFO: TCP Data received {"connection_id":151827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:02:10] local.INFO: Processing buffer {"connection_id":151827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:02:10] local.INFO: Packet analysis {"connection_id":151827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:02:10] local.INFO: Extracted packet for processing {"connection_id":151827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302850304001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:02: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-08-10 11:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786339823000,"timestamp_ms":1786339823000,"timestamp_seconds":1786339823,"priority":1,"record_length":96,"hex_timestamp":"0000019fea268d98"} 
[2026-08-10 11:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:02:10] 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-08-10 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 11:02: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-08-10 11:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302850304001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302850304001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:02:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302850304001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":151827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:02:10] local.INFO: GPS data processed {"connection_id":151827,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:02:10] local.INFO: Acknowledgment sent {"connection_id":151827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:02:37] local.INFO: TCP Data received {"connection_id":151435,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:02:37] local.INFO: Processing buffer {"connection_id":151435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:02:37] local.INFO: Packet analysis {"connection_id":151435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:02:37] local.INFO: Extracted packet for processing {"connection_id":151435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302896896001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786339742000,"timestamp_ms":1786339742000,"timestamp_seconds":1786339742,"priority":1,"record_length":96,"hex_timestamp":"0000019fea255130"} 
[2026-08-10 11:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 11:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302896896001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302896896001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:02:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302896896001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":151435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:02:37] local.INFO: GPS data processed {"connection_id":151435,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:02:37] local.INFO: Acknowledgment sent {"connection_id":151435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:02:55] local.INFO: TCP Data received {"connection_id":154208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:02:55] local.INFO: Processing buffer {"connection_id":154208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:02:55] local.INFO: IMEI packet received {"connection_id":154208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":154208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:02:59] local.INFO: TCP Data received {"connection_id":151828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:02:59] local.INFO: Processing buffer {"connection_id":151828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:02:59] local.INFO: IMEI packet received {"connection_id":151828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":151828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:03:00] local.INFO: TCP Data received {"connection_id":154208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:03:00] local.INFO: Processing buffer {"connection_id":154208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:03:00] local.INFO: IMEI packet received {"connection_id":154208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":154208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:03:00] local.INFO: TCP Data received {"connection_id":154208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:03:00] local.INFO: Processing buffer {"connection_id":154208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:03:00] local.INFO: Packet analysis {"connection_id":154208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:03:00] local.INFO: Extracted packet for processing {"connection_id":154208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:03:00] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302850304001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786339823000,"timestamp_ms":1786339823000,"timestamp_seconds":1786339823,"priority":1,"record_length":96,"hex_timestamp":"0000019fea268d98"} 
[2026-08-10 11:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:03:00] 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-08-10 11:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 11:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302850304001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302850304001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:03:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:03:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302850304001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":154208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:03:00] local.INFO: GPS data processed {"connection_id":154208,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:03:00] local.INFO: Acknowledgment sent {"connection_id":154208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:03:04] local.INFO: TCP Data received {"connection_id":151828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:03:04] local.INFO: Processing buffer {"connection_id":151828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:03:04] local.INFO: IMEI packet received {"connection_id":151828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":151828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:03:05] local.INFO: TCP Data received {"connection_id":154208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:03:05] local.INFO: Processing buffer {"connection_id":154208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:03:05] local.INFO: Packet analysis {"connection_id":154208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:03:05] local.INFO: Extracted packet for processing {"connection_id":154208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302850304001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786339823000,"timestamp_ms":1786339823000,"timestamp_seconds":1786339823,"priority":1,"record_length":96,"hex_timestamp":"0000019fea268d98"} 
[2026-08-10 11:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:03:05] 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-08-10 11:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 11:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302850304001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302850304001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:03:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302850304001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":154208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:03:05] local.INFO: GPS data processed {"connection_id":154208,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:03:05] local.INFO: Acknowledgment sent {"connection_id":154208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:03:05] local.INFO: TCP Data received {"connection_id":151828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:03:05] local.INFO: Processing buffer {"connection_id":151828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:03:05] local.INFO: Packet analysis {"connection_id":151828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:03:05] local.INFO: Extracted packet for processing {"connection_id":151828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302896896001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786339742000,"timestamp_ms":1786339742000,"timestamp_seconds":1786339742,"priority":1,"record_length":96,"hex_timestamp":"0000019fea255130"} 
[2026-08-10 11:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302896896001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302896896001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:03:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302896896001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":151828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:03:05] local.INFO: GPS data processed {"connection_id":151828,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:03:05] local.INFO: Acknowledgment sent {"connection_id":151828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:03:35] local.INFO: TCP Data received {"connection_id":154208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:03:35] local.INFO: Processing buffer {"connection_id":154208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:03:35] local.INFO: Packet analysis {"connection_id":154208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:03:35] local.INFO: Extracted packet for processing {"connection_id":154208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302850304001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786339823000,"timestamp_ms":1786339823000,"timestamp_seconds":1786339823,"priority":1,"record_length":96,"hex_timestamp":"0000019fea268d98"} 
[2026-08-10 11:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:03: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-08-10 11:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 11:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302850304001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302850304001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:03:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302850304001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":154208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:03:36] local.INFO: GPS data processed {"connection_id":154208,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:03:36] local.INFO: Acknowledgment sent {"connection_id":154208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:03:37] local.INFO: TCP Data received {"connection_id":151828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:03:37] local.INFO: Processing buffer {"connection_id":151828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:03:37] local.INFO: Packet analysis {"connection_id":151828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:03:37] local.INFO: Extracted packet for processing {"connection_id":151828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302896896001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786339742000,"timestamp_ms":1786339742000,"timestamp_seconds":1786339742,"priority":1,"record_length":96,"hex_timestamp":"0000019fea255130"} 
[2026-08-10 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-08-10 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:03: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-08-10 11:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302896896001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302896896001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:03:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302896896001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":151828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:03:37] local.INFO: GPS data processed {"connection_id":151828,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:03:37] local.INFO: Acknowledgment sent {"connection_id":151828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:03:54] local.INFO: TCP Data received {"connection_id":151829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:03:54] local.INFO: Processing buffer {"connection_id":151829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:03:54] local.INFO: IMEI packet received {"connection_id":151829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":151829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:04:00] local.INFO: TCP Data received {"connection_id":151829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:04:00] local.INFO: Processing buffer {"connection_id":151829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:04:00] local.INFO: IMEI packet received {"connection_id":151829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":151829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:04:00] local.INFO: TCP Data received {"connection_id":151829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:04:00] local.INFO: Processing buffer {"connection_id":151829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:04:00] local.INFO: Packet analysis {"connection_id":151829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:04:00] local.INFO: Extracted packet for processing {"connection_id":151829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:04:00] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302850304001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786339823000,"timestamp_ms":1786339823000,"timestamp_seconds":1786339823,"priority":1,"record_length":96,"hex_timestamp":"0000019fea268d98"} 
[2026-08-10 11:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:04:00] 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-08-10 11:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 11:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302850304001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302850304001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:04:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:04:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302850304001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":151829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:04:00] local.INFO: GPS data processed {"connection_id":151829,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:04:00] local.INFO: Acknowledgment sent {"connection_id":151829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:04:04] local.INFO: TCP Data received {"connection_id":151830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:04:04] local.INFO: Processing buffer {"connection_id":151830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:04:04] local.INFO: IMEI packet received {"connection_id":151830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":151830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:04:09] local.INFO: TCP Data received {"connection_id":151830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:04:09] local.INFO: Processing buffer {"connection_id":151830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:04:09] local.INFO: IMEI packet received {"connection_id":151830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":151830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:04:10] local.INFO: TCP Data received {"connection_id":151830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:04:10] local.INFO: Processing buffer {"connection_id":151830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:04:10] local.INFO: Packet analysis {"connection_id":151830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:04:10] local.INFO: Extracted packet for processing {"connection_id":151830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302896896001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786339742000,"timestamp_ms":1786339742000,"timestamp_seconds":1786339742,"priority":1,"record_length":96,"hex_timestamp":"0000019fea255130"} 
[2026-08-10 11:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:04: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-08-10 11:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302896896001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302896896001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:04:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302896896001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":151830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:04:10] local.INFO: GPS data processed {"connection_id":151830,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:04:10] local.INFO: Acknowledgment sent {"connection_id":151830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:04:15] local.INFO: TCP Data received {"connection_id":151830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:04:15] local.INFO: Processing buffer {"connection_id":151830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea255130012d342a4006abc280000f010227..."} 
[2026-08-10 11:04:15] local.INFO: Packet analysis {"connection_id":151830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:04:15] local.INFO: Extracted packet for processing {"connection_id":151830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea25"} 
[2026-08-10 11:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302896896001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786339742000,"timestamp_ms":1786339742000,"timestamp_seconds":1786339742,"priority":1,"record_length":96,"hex_timestamp":"0000019fea255130"} 
[2026-08-10 11:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302896896001,"66":25756,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302896896001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:04:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302896896001,"power":25756,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":151830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:04:15] local.INFO: GPS data processed {"connection_id":151830,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:04:15] local.INFO: Acknowledgment sent {"connection_id":151830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:04:31] local.INFO: TCP Data received {"connection_id":151829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:04:31] local.INFO: Processing buffer {"connection_id":151829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:04:31] local.INFO: Packet analysis {"connection_id":151829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:04:31] local.INFO: Extracted packet for processing {"connection_id":151829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:04:31] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302850304001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786339823000,"timestamp_ms":1786339823000,"timestamp_seconds":1786339823,"priority":1,"record_length":96,"hex_timestamp":"0000019fea268d98"} 
[2026-08-10 11:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:04:31] 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-08-10 11:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 11:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302850304001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302850304001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:04:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302850304001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":151829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:04:31] local.INFO: GPS data processed {"connection_id":151829,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:04:31] local.INFO: Acknowledgment sent {"connection_id":151829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:04:55] local.INFO: TCP Data received {"connection_id":154209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:04:55] local.INFO: Processing buffer {"connection_id":154209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:04:55] local.INFO: IMEI packet received {"connection_id":154209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":154209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:04:59] local.INFO: TCP Data received {"connection_id":152746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:04:59] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:04:59] local.INFO: IMEI packet received {"connection_id":152746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":152746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:04:59] local.INFO: TCP Data received {"connection_id":154209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:04:59] local.INFO: Processing buffer {"connection_id":154209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:04:59] local.INFO: IMEI packet received {"connection_id":154209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":154209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:05:00] local.INFO: TCP Data received {"connection_id":154209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:05:00] local.INFO: Processing buffer {"connection_id":154209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:05:00] local.INFO: Packet analysis {"connection_id":154209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:05:00] local.INFO: Extracted packet for processing {"connection_id":154209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302850304001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786339823000,"timestamp_ms":1786339823000,"timestamp_seconds":1786339823,"priority":1,"record_length":96,"hex_timestamp":"0000019fea268d98"} 
[2026-08-10 11:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:05:00] 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-08-10 11:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 11:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302850304001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302850304001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:05:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302850304001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":154209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:05:00] local.INFO: GPS data processed {"connection_id":154209,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:05:00] local.INFO: Acknowledgment sent {"connection_id":154209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:05:04] local.INFO: TCP Data received {"connection_id":152746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:05:04] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:05:04] local.INFO: IMEI packet received {"connection_id":152746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":152746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:05:05] local.INFO: TCP Data received {"connection_id":152746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:05:05] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:05:05] local.INFO: Packet analysis {"connection_id":152746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:05:05] local.INFO: Extracted packet for processing {"connection_id":152746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302973952001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786340043000,"timestamp_ms":1786340043000,"timestamp_seconds":1786340043,"priority":1,"record_length":96,"hex_timestamp":"0000019fea29e8f8"} 
[2026-08-10 11:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302973952001,"66":25734,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302973952001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:05:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302973952001,"power":25734,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":152746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:05:05] local.INFO: GPS data processed {"connection_id":152746,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:05:05] local.INFO: Acknowledgment sent {"connection_id":152746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:05:31] local.INFO: TCP Data received {"connection_id":154209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:05:31] local.INFO: Processing buffer {"connection_id":154209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:05:31] local.INFO: Packet analysis {"connection_id":154209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:05:31] local.INFO: Extracted packet for processing {"connection_id":154209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302850304001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786339823000,"timestamp_ms":1786339823000,"timestamp_seconds":1786339823,"priority":1,"record_length":96,"hex_timestamp":"0000019fea268d98"} 
[2026-08-10 11:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:05:31] 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-08-10 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 11:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302850304001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302850304001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:05:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302850304001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":154209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:05:31] local.INFO: GPS data processed {"connection_id":154209,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:05:31] local.INFO: Acknowledgment sent {"connection_id":154209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:05:39] local.INFO: TCP Data received {"connection_id":152746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:05:39] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:05:39] local.INFO: Packet analysis {"connection_id":152746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:05:39] local.INFO: Extracted packet for processing {"connection_id":152746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302973952001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786340043000,"timestamp_ms":1786340043000,"timestamp_seconds":1786340043,"priority":1,"record_length":96,"hex_timestamp":"0000019fea29e8f8"} 
[2026-08-10 11:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:05: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-08-10 11:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302973952001,"66":25734,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302973952001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:05:39] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302973952001,"power":25734,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":152746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:05:40] local.INFO: GPS data processed {"connection_id":152746,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:05:40] local.INFO: Acknowledgment sent {"connection_id":152746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:05:54] local.INFO: TCP Data received {"connection_id":154210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:05:54] local.INFO: Processing buffer {"connection_id":154210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:05:54] local.INFO: IMEI packet received {"connection_id":154210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":154210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:05:59] local.INFO: TCP Data received {"connection_id":151831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:05:59] local.INFO: Processing buffer {"connection_id":151831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:05:59] local.INFO: IMEI packet received {"connection_id":151831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":151831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:05:59] local.INFO: TCP Data received {"connection_id":154210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:05:59] local.INFO: Processing buffer {"connection_id":154210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:05:59] local.INFO: IMEI packet received {"connection_id":154210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":154210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:06:01] local.INFO: TCP Data received {"connection_id":154210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:06:01] local.INFO: Processing buffer {"connection_id":154210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea268d98012d196ac0071fee080039011625..."} 
[2026-08-10 11:06:01] local.INFO: Packet analysis {"connection_id":154210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:06:01] local.INFO: Extracted packet for processing {"connection_id":154210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea26"} 
[2026-08-10 11:06:01] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302850304001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-10 11:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786339823000,"timestamp_ms":1786339823000,"timestamp_seconds":1786339823,"priority":1,"record_length":96,"hex_timestamp":"0000019fea268d98"} 
[2026-08-10 11:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:06:01] 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-08-10 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 11:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302850304001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831065122847447040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302850304001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:06:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:06:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-10 11:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302850304001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-10 11:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":154210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:06:01] local.INFO: GPS data processed {"connection_id":154210,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:06:01] local.INFO: Acknowledgment sent {"connection_id":154210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:06:04] local.INFO: TCP Data received {"connection_id":151831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:06:04] local.INFO: Processing buffer {"connection_id":151831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:06:04] local.INFO: IMEI packet received {"connection_id":151831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":151831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:06:05] local.INFO: TCP Data received {"connection_id":151831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:06:05] local.INFO: Processing buffer {"connection_id":151831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:06:05] local.INFO: Packet analysis {"connection_id":151831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:06:05] local.INFO: Extracted packet for processing {"connection_id":151831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302973952001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786340043000,"timestamp_ms":1786340043000,"timestamp_seconds":1786340043,"priority":1,"record_length":96,"hex_timestamp":"0000019fea29e8f8"} 
[2026-08-10 11:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11: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-08-10 11:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302973952001,"66":25734,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302973952001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:06:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:06:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302973952001,"power":25734,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":151831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:06:05] local.INFO: GPS data processed {"connection_id":151831,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:06:05] local.INFO: Acknowledgment sent {"connection_id":151831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:06:31] local.INFO: TCP Data received {"connection_id":154210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:06:32] local.INFO: Processing buffer {"connection_id":154210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:06:32] local.INFO: Packet analysis {"connection_id":154210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:06:32] local.INFO: Extracted packet for processing {"connection_id":154210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302994688001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786340124000,"timestamp_ms":1786340124000,"timestamp_seconds":1786340124,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2b2560"} 
[2026-08-10 11:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:06:32] 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-08-10 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302994688001,"66":2155,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302994688001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:06:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302994688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":154210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:06:32] local.INFO: GPS data processed {"connection_id":154210,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:06:32] local.INFO: Acknowledgment sent {"connection_id":154210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:06:36] local.INFO: TCP Data received {"connection_id":151831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:06:36] local.INFO: Processing buffer {"connection_id":151831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:06:36] local.INFO: Packet analysis {"connection_id":151831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:06:36] local.INFO: Extracted packet for processing {"connection_id":151831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302973952001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786340043000,"timestamp_ms":1786340043000,"timestamp_seconds":1786340043,"priority":1,"record_length":96,"hex_timestamp":"0000019fea29e8f8"} 
[2026-08-10 11:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302973952001,"66":25734,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302973952001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:06:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302973952001,"power":25734,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":151831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:06:36] local.INFO: GPS data processed {"connection_id":151831,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:06:36] local.INFO: Acknowledgment sent {"connection_id":151831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:06:59] local.INFO: TCP Data received {"connection_id":152747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:06:59] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:06:59] local.INFO: IMEI packet received {"connection_id":152747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":152747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:07:05] local.INFO: TCP Data received {"connection_id":152747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:07:05] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:07:05] local.INFO: IMEI packet received {"connection_id":152747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":152747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:07:06] local.INFO: TCP Data received {"connection_id":152748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:07:06] local.INFO: Processing buffer {"connection_id":152748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:07:06] local.INFO: IMEI packet received {"connection_id":152748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":152748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:07:09] local.INFO: TCP Data received {"connection_id":152748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:07:09] local.INFO: Processing buffer {"connection_id":152748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:07:09] local.INFO: IMEI packet received {"connection_id":152748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":152748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:07:10] local.INFO: TCP Data received {"connection_id":152748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:07:10] local.INFO: Processing buffer {"connection_id":152748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:07:10] local.INFO: Packet analysis {"connection_id":152748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:07:10] local.INFO: Extracted packet for processing {"connection_id":152748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302973952001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786340043000,"timestamp_ms":1786340043000,"timestamp_seconds":1786340043,"priority":1,"record_length":96,"hex_timestamp":"0000019fea29e8f8"} 
[2026-08-10 11:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:07: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-08-10 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:07: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-08-10 11:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302973952001,"66":25734,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302973952001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:07:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302973952001,"power":25734,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":152748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:07:10] local.INFO: GPS data processed {"connection_id":152748,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:07:10] local.INFO: Acknowledgment sent {"connection_id":152748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:07:13] local.INFO: TCP Data received {"connection_id":152747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:07:13] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:07:13] local.INFO: Packet analysis {"connection_id":152747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:07:13] local.INFO: Extracted packet for processing {"connection_id":152747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:07:13] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302994688001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786340124000,"timestamp_ms":1786340124000,"timestamp_seconds":1786340124,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2b2560"} 
[2026-08-10 11:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:07: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-08-10 11:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:07: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-08-10 11:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302994688001,"66":2155,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302994688001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:07:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302994688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":152747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:07:13] local.INFO: GPS data processed {"connection_id":152747,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:07:13] local.INFO: Acknowledgment sent {"connection_id":152747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:07:14] local.INFO: TCP Data received {"connection_id":152748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:07:14] local.INFO: Processing buffer {"connection_id":152748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:07:14] local.INFO: Packet analysis {"connection_id":152748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:07:14] local.INFO: Extracted packet for processing {"connection_id":152748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302973952001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786340043000,"timestamp_ms":1786340043000,"timestamp_seconds":1786340043,"priority":1,"record_length":96,"hex_timestamp":"0000019fea29e8f8"} 
[2026-08-10 11:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302973952001,"66":25734,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302973952001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:07:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:07:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302973952001,"power":25734,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":152748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:07:14] local.INFO: GPS data processed {"connection_id":152748,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:07:14] local.INFO: Acknowledgment sent {"connection_id":152748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:07:35] local.INFO: TCP Data received {"connection_id":152747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:07:35] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:07:35] local.INFO: Packet analysis {"connection_id":152747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:07:35] local.INFO: Extracted packet for processing {"connection_id":152747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302994688001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786340124000,"timestamp_ms":1786340124000,"timestamp_seconds":1786340124,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2b2560"} 
[2026-08-10 11:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:07:35] 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-08-10 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302994688001,"66":2155,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302994688001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:07:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302994688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":152747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:07:35] local.INFO: GPS data processed {"connection_id":152747,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:07:35] local.INFO: Acknowledgment sent {"connection_id":152747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:07:54] local.INFO: TCP Data received {"connection_id":152749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:07:54] local.INFO: Processing buffer {"connection_id":152749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:07:54] local.INFO: IMEI packet received {"connection_id":152749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":152749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:07:59] local.INFO: TCP Data received {"connection_id":151832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:07:59] local.INFO: Processing buffer {"connection_id":151832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:07:59] local.INFO: IMEI packet received {"connection_id":151832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":151832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:07:59] local.INFO: TCP Data received {"connection_id":152749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:07:59] local.INFO: Processing buffer {"connection_id":152749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:07:59] local.INFO: IMEI packet received {"connection_id":152749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":152749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:08:00] local.INFO: TCP Data received {"connection_id":152749,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:08:00] local.INFO: Processing buffer {"connection_id":152749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:08:00] local.INFO: Packet analysis {"connection_id":152749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:08:00] local.INFO: Extracted packet for processing {"connection_id":152749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:08:00] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302994688001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786340124000,"timestamp_ms":1786340124000,"timestamp_seconds":1786340124,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2b2560"} 
[2026-08-10 11:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302994688001,"66":2155,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302994688001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:08:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:08:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302994688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":152749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:08:00] local.INFO: GPS data processed {"connection_id":152749,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:08:00] local.INFO: Acknowledgment sent {"connection_id":152749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:08:04] local.INFO: TCP Data received {"connection_id":151832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:08:04] local.INFO: Processing buffer {"connection_id":151832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:08:04] local.INFO: IMEI packet received {"connection_id":151832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":151832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:08:05] local.INFO: TCP Data received {"connection_id":151832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:08:05] local.INFO: Processing buffer {"connection_id":151832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:08:05] local.INFO: Packet analysis {"connection_id":151832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:08:05] local.INFO: Extracted packet for processing {"connection_id":151832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302973952001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786340043000,"timestamp_ms":1786340043000,"timestamp_seconds":1786340043,"priority":1,"record_length":96,"hex_timestamp":"0000019fea29e8f8"} 
[2026-08-10 11:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302973952001,"66":25734,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302973952001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:08:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302973952001,"power":25734,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":151832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:08:05] local.INFO: GPS data processed {"connection_id":151832,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:08:05] local.INFO: Acknowledgment sent {"connection_id":151832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:08:31] local.INFO: TCP Data received {"connection_id":152749,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:08:31] local.INFO: Processing buffer {"connection_id":152749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:08:31] local.INFO: Packet analysis {"connection_id":152749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:08:31] local.INFO: Extracted packet for processing {"connection_id":152749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302994688001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786340124000,"timestamp_ms":1786340124000,"timestamp_seconds":1786340124,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2b2560"} 
[2026-08-10 11:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:08:31] 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-08-10 11:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302994688001,"66":2155,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302994688001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:08:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302994688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":152749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:08:31] local.INFO: GPS data processed {"connection_id":152749,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:08:31] local.INFO: Acknowledgment sent {"connection_id":152749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:08:36] local.INFO: TCP Data received {"connection_id":151832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:08:36] local.INFO: Processing buffer {"connection_id":151832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:08:36] local.INFO: Packet analysis {"connection_id":151832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:08:36] local.INFO: Extracted packet for processing {"connection_id":151832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302973952001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786340043000,"timestamp_ms":1786340043000,"timestamp_seconds":1786340043,"priority":1,"record_length":96,"hex_timestamp":"0000019fea29e8f8"} 
[2026-08-10 11:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:08: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-08-10 11:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302973952001,"66":25734,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302973952001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:08:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302973952001,"power":25734,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":151832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:08:36] local.INFO: GPS data processed {"connection_id":151832,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:08:36] local.INFO: Acknowledgment sent {"connection_id":151832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:08:55] local.INFO: TCP Data received {"connection_id":152750,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:08:55] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:08:55] local.INFO: IMEI packet received {"connection_id":152750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":152750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:08:59] local.INFO: TCP Data received {"connection_id":154211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:08:59] local.INFO: Processing buffer {"connection_id":154211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:08:59] local.INFO: IMEI packet received {"connection_id":154211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":154211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:09:00] local.INFO: TCP Data received {"connection_id":152750,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:09:00] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:09:00] local.INFO: IMEI packet received {"connection_id":152750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":152750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:09:00] local.INFO: TCP Data received {"connection_id":152750,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:09:00] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:09:00] local.INFO: Packet analysis {"connection_id":152750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:09:00] local.INFO: Extracted packet for processing {"connection_id":152750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:09:00] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302994688001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786340124000,"timestamp_ms":1786340124000,"timestamp_seconds":1786340124,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2b2560"} 
[2026-08-10 11:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302994688001,"66":2155,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302994688001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:09:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:09:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302994688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":152750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:09:01] local.INFO: GPS data processed {"connection_id":152750,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:09:01] local.INFO: Acknowledgment sent {"connection_id":152750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:09:06] local.INFO: TCP Data received {"connection_id":154211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:09:06] local.INFO: Processing buffer {"connection_id":154211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:09:06] local.INFO: IMEI packet received {"connection_id":154211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":154211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:09:07] local.INFO: TCP Data received {"connection_id":154211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:09:07] local.INFO: Processing buffer {"connection_id":154211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:09:07] local.INFO: Packet analysis {"connection_id":154211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:09:07] local.INFO: Extracted packet for processing {"connection_id":154211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302973952001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786340043000,"timestamp_ms":1786340043000,"timestamp_seconds":1786340043,"priority":1,"record_length":96,"hex_timestamp":"0000019fea29e8f8"} 
[2026-08-10 11:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:09: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-08-10 11:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302973952001,"66":25734,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302973952001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:09:07] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:09:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302973952001,"power":25734,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":154211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:09:07] local.INFO: GPS data processed {"connection_id":154211,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:09:07] local.INFO: Acknowledgment sent {"connection_id":154211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:09:31] local.INFO: TCP Data received {"connection_id":152750,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:09:31] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:09:31] local.INFO: Packet analysis {"connection_id":152750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:09:31] local.INFO: Extracted packet for processing {"connection_id":152750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:09:31] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302994688001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786340124000,"timestamp_ms":1786340124000,"timestamp_seconds":1786340124,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2b2560"} 
[2026-08-10 11:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:09:31] 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-08-10 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302994688001,"66":2155,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302994688001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:09:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:09:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302994688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":152750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:09:32] local.INFO: GPS data processed {"connection_id":152750,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:09:32] local.INFO: Acknowledgment sent {"connection_id":152750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:09:39] local.INFO: TCP Data received {"connection_id":154211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:09:39] local.INFO: Processing buffer {"connection_id":154211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea29e8f8012d342a4006abc280000b01022b..."} 
[2026-08-10 11:09:39] local.INFO: Packet analysis {"connection_id":154211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:09:39] local.INFO: Extracted packet for processing {"connection_id":154211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea29"} 
[2026-08-10 11:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302973952001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786340043000,"timestamp_ms":1786340043000,"timestamp_seconds":1786340043,"priority":1,"record_length":96,"hex_timestamp":"0000019fea29e8f8"} 
[2026-08-10 11:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-10 11:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 11:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:09: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-08-10 11:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302973952001,"66":25734,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302973952001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:09:39] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:09:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302973952001,"power":25734,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":154211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:09:39] local.INFO: GPS data processed {"connection_id":154211,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:09:39] local.INFO: Acknowledgment sent {"connection_id":154211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:09:55] local.INFO: TCP Data received {"connection_id":151833,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:09:55] local.INFO: Processing buffer {"connection_id":151833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:09:55] local.INFO: IMEI packet received {"connection_id":151833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":151833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:10:00] local.INFO: TCP Data received {"connection_id":151833,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:10:00] local.INFO: Processing buffer {"connection_id":151833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:10:00] local.INFO: IMEI packet received {"connection_id":151833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":151833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:10:00] local.INFO: TCP Data received {"connection_id":151833,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:10:00] local.INFO: Processing buffer {"connection_id":151833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:10:00] local.INFO: Packet analysis {"connection_id":151833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:10:00] local.INFO: Extracted packet for processing {"connection_id":151833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:10:00] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302994688001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786340124000,"timestamp_ms":1786340124000,"timestamp_seconds":1786340124,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2b2560"} 
[2026-08-10 11:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302994688001,"66":2155,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302994688001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:10:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:10:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302994688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":151833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:10:01] local.INFO: GPS data processed {"connection_id":151833,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:10:01] local.INFO: Acknowledgment sent {"connection_id":151833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:10:04] local.INFO: TCP Data received {"connection_id":151834,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:10:04] local.INFO: Processing buffer {"connection_id":151834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:10:04] local.INFO: IMEI packet received {"connection_id":151834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":151834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:10:09] local.INFO: TCP Data received {"connection_id":151834,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:10:09] local.INFO: Processing buffer {"connection_id":151834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:10:09] local.INFO: IMEI packet received {"connection_id":151834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":151834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:10:11] local.INFO: TCP Data received {"connection_id":151834,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:10:11] local.INFO: Processing buffer {"connection_id":151834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:10:11] local.INFO: Packet analysis {"connection_id":151834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:10:11] local.INFO: Extracted packet for processing {"connection_id":151834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303051008001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786340344000,"timestamp_ms":1786340344000,"timestamp_seconds":1786340344,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2e80c0"} 
[2026-08-10 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-08-10 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 11:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303051008001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303051008001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:10:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:10:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303051008001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":151834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:10:11] local.INFO: GPS data processed {"connection_id":151834,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:10:11] local.INFO: Acknowledgment sent {"connection_id":151834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:10:32] local.INFO: TCP Data received {"connection_id":151833,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:10:32] local.INFO: Processing buffer {"connection_id":151833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:10:32] local.INFO: Packet analysis {"connection_id":151833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:10:32] local.INFO: Extracted packet for processing {"connection_id":151833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:10:32] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302994688001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786340124000,"timestamp_ms":1786340124000,"timestamp_seconds":1786340124,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2b2560"} 
[2026-08-10 11:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:10:32] 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-08-10 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302994688001,"66":2155,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302994688001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:10:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302994688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":151833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:10:32] local.INFO: GPS data processed {"connection_id":151833,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:10:32] local.INFO: Acknowledgment sent {"connection_id":151833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:10:43] local.INFO: TCP Data received {"connection_id":151834,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:10:43] local.INFO: Processing buffer {"connection_id":151834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:10:43] local.INFO: Packet analysis {"connection_id":151834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:10:43] local.INFO: Extracted packet for processing {"connection_id":151834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303051008001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786340344000,"timestamp_ms":1786340344000,"timestamp_seconds":1786340344,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2e80c0"} 
[2026-08-10 11:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 11:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303051008001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303051008001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:10:43] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:10:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303051008001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":151834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:10:43] local.INFO: GPS data processed {"connection_id":151834,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:10:43] local.INFO: Acknowledgment sent {"connection_id":151834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:10:54] local.INFO: TCP Data received {"connection_id":154212,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:10:54] local.INFO: Processing buffer {"connection_id":154212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:10:54] local.INFO: IMEI packet received {"connection_id":154212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":154212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:10:59] local.INFO: TCP Data received {"connection_id":151436,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:10:59] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:10:59] local.INFO: IMEI packet received {"connection_id":151436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":151436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:11:00] local.INFO: TCP Data received {"connection_id":154212,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:11:00] local.INFO: Processing buffer {"connection_id":154212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:11:00] local.INFO: IMEI packet received {"connection_id":154212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":154212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:11:00] local.INFO: TCP Data received {"connection_id":154212,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:11:00] local.INFO: Processing buffer {"connection_id":154212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2b2560012d196ac0071fee080039011625..."} 
[2026-08-10 11:11:00] local.INFO: Packet analysis {"connection_id":154212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:11:00] local.INFO: Extracted packet for processing {"connection_id":154212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2b"} 
[2026-08-10 11:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457302994688001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786340124000,"timestamp_ms":1786340124000,"timestamp_seconds":1786340124,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2b2560"} 
[2026-08-10 11:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457302994688001,"66":2155,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457302994688001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:11:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457302994688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":154212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:11:00] local.INFO: GPS data processed {"connection_id":154212,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:11:00] local.INFO: Acknowledgment sent {"connection_id":154212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:11:04] local.INFO: TCP Data received {"connection_id":151436,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:11:04] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:11:04] local.INFO: IMEI packet received {"connection_id":151436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":151436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:11:05] local.INFO: TCP Data received {"connection_id":151436,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:11:05] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:11:05] local.INFO: Packet analysis {"connection_id":151436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:11:05] local.INFO: Extracted packet for processing {"connection_id":151436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303051008001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786340344000,"timestamp_ms":1786340344000,"timestamp_seconds":1786340344,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2e80c0"} 
[2026-08-10 11:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 11:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:11: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-08-10 11:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303051008001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303051008001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:11:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303051008001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":151436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:11:05] local.INFO: GPS data processed {"connection_id":151436,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:11:05] local.INFO: Acknowledgment sent {"connection_id":151436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:11:31] local.INFO: TCP Data received {"connection_id":154212,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:11:31] local.INFO: Processing buffer {"connection_id":154212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:11:31] local.INFO: Packet analysis {"connection_id":154212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:11:31] local.INFO: Extracted packet for processing {"connection_id":154212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:11:31] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303071744001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786340425000,"timestamp_ms":1786340425000,"timestamp_seconds":1786340425,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2fbd28"} 
[2026-08-10 11:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 11:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303071744001,"66":2166,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303071744001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:11:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:11:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303071744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":154212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:11:32] local.INFO: GPS data processed {"connection_id":154212,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:11:32] local.INFO: Acknowledgment sent {"connection_id":154212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:11:43] local.INFO: TCP Data received {"connection_id":151436,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:11:43] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:11:43] local.INFO: Packet analysis {"connection_id":151436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:11:43] local.INFO: Extracted packet for processing {"connection_id":151436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303051008001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786340344000,"timestamp_ms":1786340344000,"timestamp_seconds":1786340344,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2e80c0"} 
[2026-08-10 11:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 11:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 11:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303051008001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303051008001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:11:43] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303051008001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":151436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:11:43] local.INFO: GPS data processed {"connection_id":151436,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:11:43] local.INFO: Acknowledgment sent {"connection_id":151436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:11:59] local.INFO: TCP Data received {"connection_id":151437,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:11:59] local.INFO: Processing buffer {"connection_id":151437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:11:59] local.INFO: IMEI packet received {"connection_id":151437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":151437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:12:00] local.INFO: TCP Data received {"connection_id":152751,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:12:00] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:12:00] local.INFO: IMEI packet received {"connection_id":152751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":152751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:12:04] local.INFO: TCP Data received {"connection_id":151437,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:12:04] local.INFO: Processing buffer {"connection_id":151437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:12:04] local.INFO: IMEI packet received {"connection_id":151437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":151437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:12:05] local.INFO: TCP Data received {"connection_id":152751,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:12:05] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:12:05] local.INFO: IMEI packet received {"connection_id":152751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":152751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:12:05] local.INFO: TCP Data received {"connection_id":152751,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:12:05] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:12:05] local.INFO: Packet analysis {"connection_id":152751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:12:05] local.INFO: Extracted packet for processing {"connection_id":152751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303071744001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786340425000,"timestamp_ms":1786340425000,"timestamp_seconds":1786340425,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2fbd28"} 
[2026-08-10 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-08-10 11:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 11:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303071744001,"66":2166,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303071744001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:12:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303071744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:12:05] local.INFO: TCP Data received {"connection_id":151437,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:12:05] local.INFO: Processing buffer {"connection_id":151437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:12:05] local.INFO: Packet analysis {"connection_id":151437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:12:05] local.INFO: Extracted packet for processing {"connection_id":151437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303051008001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786340344000,"timestamp_ms":1786340344000,"timestamp_seconds":1786340344,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2e80c0"} 
[2026-08-10 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-08-10 11:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 11:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:12: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-08-10 11:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303051008001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303051008001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:12:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303051008001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":151437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:12:05] local.INFO: GPS data processed {"connection_id":151437,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:12:05] local.INFO: Acknowledgment sent {"connection_id":151437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":152751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:12:05] local.INFO: GPS data processed {"connection_id":152751,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:12:05] local.INFO: Acknowledgment sent {"connection_id":152751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:12:10] local.INFO: TCP Data received {"connection_id":152751,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:12:10] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:12:10] local.INFO: Packet analysis {"connection_id":152751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:12:10] local.INFO: Extracted packet for processing {"connection_id":152751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:12:10] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303071744001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786340425000,"timestamp_ms":1786340425000,"timestamp_seconds":1786340425,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2fbd28"} 
[2026-08-10 11:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 11:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:12: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-08-10 11:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303071744001,"66":2166,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303071744001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:12:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303071744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":152751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:12:10] local.INFO: GPS data processed {"connection_id":152751,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:12:10] local.INFO: Acknowledgment sent {"connection_id":152751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:12:37] local.INFO: TCP Data received {"connection_id":151437,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:12:37] local.INFO: Processing buffer {"connection_id":151437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:12:37] local.INFO: Packet analysis {"connection_id":151437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:12:37] local.INFO: Extracted packet for processing {"connection_id":151437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303051008001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786340344000,"timestamp_ms":1786340344000,"timestamp_seconds":1786340344,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2e80c0"} 
[2026-08-10 11:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 11:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303051008001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303051008001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:12:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303051008001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":151437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:12:37] local.INFO: GPS data processed {"connection_id":151437,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:12:37] local.INFO: Acknowledgment sent {"connection_id":151437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:12:55] local.INFO: TCP Data received {"connection_id":151835,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:12:55] local.INFO: Processing buffer {"connection_id":151835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:12:55] local.INFO: IMEI packet received {"connection_id":151835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":151835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:12:59] local.INFO: TCP Data received {"connection_id":154213,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:12:59] local.INFO: Processing buffer {"connection_id":154213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:12:59] local.INFO: IMEI packet received {"connection_id":154213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":154213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:13:00] local.INFO: TCP Data received {"connection_id":151835,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:13:00] local.INFO: Processing buffer {"connection_id":151835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:13:00] local.INFO: IMEI packet received {"connection_id":151835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":151835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:13:00] local.INFO: TCP Data received {"connection_id":151835,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:13:00] local.INFO: Processing buffer {"connection_id":151835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:13:00] local.INFO: Packet analysis {"connection_id":151835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:13:00] local.INFO: Extracted packet for processing {"connection_id":151835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303071744001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786340425000,"timestamp_ms":1786340425000,"timestamp_seconds":1786340425,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2fbd28"} 
[2026-08-10 11:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 11:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303071744001,"66":2166,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303071744001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:13:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:13:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303071744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":151835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:13:00] local.INFO: GPS data processed {"connection_id":151835,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:13:00] local.INFO: Acknowledgment sent {"connection_id":151835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:13:04] local.INFO: TCP Data received {"connection_id":154213,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:13:04] local.INFO: Processing buffer {"connection_id":154213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:13:04] local.INFO: IMEI packet received {"connection_id":154213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":154213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:13:06] local.INFO: TCP Data received {"connection_id":154213,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:13:06] local.INFO: Processing buffer {"connection_id":154213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:13:06] local.INFO: Packet analysis {"connection_id":154213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:13:06] local.INFO: Extracted packet for processing {"connection_id":154213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303051008001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786340344000,"timestamp_ms":1786340344000,"timestamp_seconds":1786340344,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2e80c0"} 
[2026-08-10 11:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 11:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303051008001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303051008001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:13:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303051008001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":154213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:13:06] local.INFO: GPS data processed {"connection_id":154213,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:13:06] local.INFO: Acknowledgment sent {"connection_id":154213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:13:32] local.INFO: TCP Data received {"connection_id":151835,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:13:32] local.INFO: Processing buffer {"connection_id":151835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:13:32] local.INFO: Packet analysis {"connection_id":151835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:13:32] local.INFO: Extracted packet for processing {"connection_id":151835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303071744001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786340425000,"timestamp_ms":1786340425000,"timestamp_seconds":1786340425,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2fbd28"} 
[2026-08-10 11:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 11:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303071744001,"66":2166,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303071744001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:13:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303071744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":151835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:13:32] local.INFO: GPS data processed {"connection_id":151835,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:13:32] local.INFO: Acknowledgment sent {"connection_id":151835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:13:38] local.INFO: TCP Data received {"connection_id":154213,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:13:38] local.INFO: Processing buffer {"connection_id":154213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:13:38] local.INFO: Packet analysis {"connection_id":154213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:13:38] local.INFO: Extracted packet for processing {"connection_id":154213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303051008001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786340344000,"timestamp_ms":1786340344000,"timestamp_seconds":1786340344,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2e80c0"} 
[2026-08-10 11:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 11:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303051008001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303051008001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:13:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303051008001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":154213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:13:38] local.INFO: GPS data processed {"connection_id":154213,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:13:38] local.INFO: Acknowledgment sent {"connection_id":154213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:13:55] local.INFO: TCP Data received {"connection_id":151836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:13:55] local.INFO: Processing buffer {"connection_id":151836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:13:55] local.INFO: IMEI packet received {"connection_id":151836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":151836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:13:59] local.INFO: TCP Data received {"connection_id":151438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:13:59] local.INFO: Processing buffer {"connection_id":151438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:13:59] local.INFO: IMEI packet received {"connection_id":151438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":151438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:14:00] local.INFO: TCP Data received {"connection_id":151836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:14:00] local.INFO: Processing buffer {"connection_id":151836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:14:00] local.INFO: IMEI packet received {"connection_id":151836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":151836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:14:00] local.INFO: TCP Data received {"connection_id":151836,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:14:00] local.INFO: Processing buffer {"connection_id":151836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:14:00] local.INFO: Packet analysis {"connection_id":151836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:14:00] local.INFO: Extracted packet for processing {"connection_id":151836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303071744001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786340425000,"timestamp_ms":1786340425000,"timestamp_seconds":1786340425,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2fbd28"} 
[2026-08-10 11:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 11:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303071744001,"66":2166,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303071744001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:14:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303071744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":151836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:14:00] local.INFO: GPS data processed {"connection_id":151836,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:14:00] local.INFO: Acknowledgment sent {"connection_id":151836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:14:04] local.INFO: TCP Data received {"connection_id":151438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:14:04] local.INFO: Processing buffer {"connection_id":151438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:14:04] local.INFO: IMEI packet received {"connection_id":151438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":151438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:14:06] local.INFO: TCP Data received {"connection_id":151438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:14:06] local.INFO: Processing buffer {"connection_id":151438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:14:06] local.INFO: Packet analysis {"connection_id":151438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:14:06] local.INFO: Extracted packet for processing {"connection_id":151438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303051008001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786340344000,"timestamp_ms":1786340344000,"timestamp_seconds":1786340344,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2e80c0"} 
[2026-08-10 11:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 11:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303051008001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303051008001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:14:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303051008001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":151438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:14:06] local.INFO: GPS data processed {"connection_id":151438,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:14:06] local.INFO: Acknowledgment sent {"connection_id":151438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:14:31] local.INFO: TCP Data received {"connection_id":151836,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:14:31] local.INFO: Processing buffer {"connection_id":151836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:14:31] local.INFO: Packet analysis {"connection_id":151836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:14:31] local.INFO: Extracted packet for processing {"connection_id":151836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303071744001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786340425000,"timestamp_ms":1786340425000,"timestamp_seconds":1786340425,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2fbd28"} 
[2026-08-10 11:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 11:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303071744001,"66":2166,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303071744001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:14:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:14:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303071744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":151836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:14:32] local.INFO: GPS data processed {"connection_id":151836,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:14:32] local.INFO: Acknowledgment sent {"connection_id":151836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:14:38] local.INFO: TCP Data received {"connection_id":151438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:14:38] local.INFO: Processing buffer {"connection_id":151438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2e80c0012d342a4006abc280000b010227..."} 
[2026-08-10 11:14:38] local.INFO: Packet analysis {"connection_id":151438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:14:38] local.INFO: Extracted packet for processing {"connection_id":151438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2e"} 
[2026-08-10 11:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303051008001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786340344000,"timestamp_ms":1786340344000,"timestamp_seconds":1786340344,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2e80c0"} 
[2026-08-10 11:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 11:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303051008001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303051008001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:14:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303051008001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":151438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:14:38] local.INFO: GPS data processed {"connection_id":151438,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:14:38] local.INFO: Acknowledgment sent {"connection_id":151438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:14:54] local.INFO: TCP Data received {"connection_id":151439,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:14:54] local.INFO: Processing buffer {"connection_id":151439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:14:54] local.INFO: IMEI packet received {"connection_id":151439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":151439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:15:00] local.INFO: TCP Data received {"connection_id":151439,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:15:00] local.INFO: Processing buffer {"connection_id":151439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:15:00] local.INFO: IMEI packet received {"connection_id":151439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":151439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:15:00] local.INFO: TCP Data received {"connection_id":151439,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:15:00] local.INFO: Processing buffer {"connection_id":151439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:15:00] local.INFO: Packet analysis {"connection_id":151439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:15:00] local.INFO: Extracted packet for processing {"connection_id":151439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:15:00] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303071744001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786340425000,"timestamp_ms":1786340425000,"timestamp_seconds":1786340425,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2fbd28"} 
[2026-08-10 11:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 11:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303071744001,"66":2166,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303071744001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:15:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303071744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":151439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:15:00] local.INFO: GPS data processed {"connection_id":151439,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:15:00] local.INFO: Acknowledgment sent {"connection_id":151439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:15:09] local.INFO: TCP Data received {"connection_id":151837,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:15:09] local.INFO: Processing buffer {"connection_id":151837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:15:09] local.INFO: IMEI packet received {"connection_id":151837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":151837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:15:14] local.INFO: TCP Data received {"connection_id":151837,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:15:14] local.INFO: Processing buffer {"connection_id":151837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:15:14] local.INFO: IMEI packet received {"connection_id":151837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":151837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:15:16] local.INFO: TCP Data received {"connection_id":151837,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:15:16] local.INFO: Processing buffer {"connection_id":151837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:15:16] local.INFO: Packet analysis {"connection_id":151837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:15:16] local.INFO: Extracted packet for processing {"connection_id":151837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303128064001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786340645000,"timestamp_ms":1786340645000,"timestamp_seconds":1786340645,"priority":1,"record_length":96,"hex_timestamp":"0000019fea331888"} 
[2026-08-10 11:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303128064001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303128064001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:15:16] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303128064001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":151837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:15:16] local.INFO: GPS data processed {"connection_id":151837,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:15:16] local.INFO: Acknowledgment sent {"connection_id":151837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:15:20] local.INFO: TCP Data received {"connection_id":151837,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:15:20] local.INFO: Processing buffer {"connection_id":151837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:15:20] local.INFO: Packet analysis {"connection_id":151837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:15:20] local.INFO: Extracted packet for processing {"connection_id":151837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303128064001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786340645000,"timestamp_ms":1786340645000,"timestamp_seconds":1786340645,"priority":1,"record_length":96,"hex_timestamp":"0000019fea331888"} 
[2026-08-10 11:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303128064001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303128064001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:15:20] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303128064001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":151837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:15:20] local.INFO: GPS data processed {"connection_id":151837,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:15:20] local.INFO: Acknowledgment sent {"connection_id":151837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:15:32] local.INFO: TCP Data received {"connection_id":151439,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:15:32] local.INFO: Processing buffer {"connection_id":151439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:15:32] local.INFO: Packet analysis {"connection_id":151439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:15:32] local.INFO: Extracted packet for processing {"connection_id":151439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303071744001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786340425000,"timestamp_ms":1786340425000,"timestamp_seconds":1786340425,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2fbd28"} 
[2026-08-10 11:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 11:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303071744001,"66":2166,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303071744001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:15:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303071744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":151439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:15:32] local.INFO: GPS data processed {"connection_id":151439,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:15:32] local.INFO: Acknowledgment sent {"connection_id":151439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:15:54] local.INFO: TCP Data received {"connection_id":151440,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:15:54] local.INFO: Processing buffer {"connection_id":151440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:15:54] local.INFO: IMEI packet received {"connection_id":151440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":151440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:15:59] local.INFO: TCP Data received {"connection_id":151838,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:15:59] local.INFO: Processing buffer {"connection_id":151838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:15:59] local.INFO: IMEI packet received {"connection_id":151838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":151838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:16:00] local.INFO: TCP Data received {"connection_id":151440,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:16:00] local.INFO: Processing buffer {"connection_id":151440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:16:00] local.INFO: IMEI packet received {"connection_id":151440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":151440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:16:01] local.INFO: TCP Data received {"connection_id":151440,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:16:01] local.INFO: Processing buffer {"connection_id":151440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea2fbd28012d196ac0071fee080039011625..."} 
[2026-08-10 11:16:01] local.INFO: Packet analysis {"connection_id":151440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:16:01] local.INFO: Extracted packet for processing {"connection_id":151440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea2f"} 
[2026-08-10 11:16:01] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303071744001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786340425000,"timestamp_ms":1786340425000,"timestamp_seconds":1786340425,"priority":1,"record_length":96,"hex_timestamp":"0000019fea2fbd28"} 
[2026-08-10 11:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 11:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303071744001,"66":2166,"102":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 11:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303071744001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:16:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 11:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303071744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":151440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:16:01] local.INFO: GPS data processed {"connection_id":151440,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:16:01] local.INFO: Acknowledgment sent {"connection_id":151440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:16:04] local.INFO: TCP Data received {"connection_id":151838,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:16:04] local.INFO: Processing buffer {"connection_id":151838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:16:04] local.INFO: IMEI packet received {"connection_id":151838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":151838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:16:06] local.INFO: TCP Data received {"connection_id":151838,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:16:06] local.INFO: Processing buffer {"connection_id":151838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:16:06] local.INFO: Packet analysis {"connection_id":151838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:16:06] local.INFO: Extracted packet for processing {"connection_id":151838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303128064001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786340645000,"timestamp_ms":1786340645000,"timestamp_seconds":1786340645,"priority":1,"record_length":96,"hex_timestamp":"0000019fea331888"} 
[2026-08-10 11:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303128064001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303128064001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:16:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:16:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303128064001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":151838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:16:06] local.INFO: GPS data processed {"connection_id":151838,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:16:06] local.INFO: Acknowledgment sent {"connection_id":151838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:16:31] local.INFO: TCP Data received {"connection_id":151440,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:16:31] local.INFO: Processing buffer {"connection_id":151440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:16:31] local.INFO: Packet analysis {"connection_id":151440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea34"} 
[2026-08-10 11:16:31] local.INFO: Extracted packet for processing {"connection_id":151440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea34"} 
[2026-08-10 11:16:31] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303148800001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786340726000,"timestamp_ms":1786340726000,"timestamp_seconds":1786340726,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3454f0"} 
[2026-08-10 11:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303148800001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303148800001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:16:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:16:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303148800001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":151440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:16:32] local.INFO: GPS data processed {"connection_id":151440,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:16:32] local.INFO: Acknowledgment sent {"connection_id":151440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:16:37] local.INFO: TCP Data received {"connection_id":151838,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:16:37] local.INFO: Processing buffer {"connection_id":151838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:16:37] local.INFO: Packet analysis {"connection_id":151838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:16:37] local.INFO: Extracted packet for processing {"connection_id":151838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303128064001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786340645000,"timestamp_ms":1786340645000,"timestamp_seconds":1786340645,"priority":1,"record_length":96,"hex_timestamp":"0000019fea331888"} 
[2026-08-10 11:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303128064001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303128064001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:16:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303128064001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":151838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:16:37] local.INFO: GPS data processed {"connection_id":151838,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:16:37] local.INFO: Acknowledgment sent {"connection_id":151838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:16:55] local.INFO: TCP Data received {"connection_id":152752,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:16:55] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:16:55] local.INFO: IMEI packet received {"connection_id":152752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":152752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:17:00] local.INFO: TCP Data received {"connection_id":152752,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:17:00] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:17:00] local.INFO: IMEI packet received {"connection_id":152752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":152752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:17:00] local.INFO: TCP Data received {"connection_id":152752,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:17:00] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:17:00] local.INFO: Packet analysis {"connection_id":152752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea34"} 
[2026-08-10 11:17:00] local.INFO: Extracted packet for processing {"connection_id":152752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea34"} 
[2026-08-10 11:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303148800001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786340726000,"timestamp_ms":1786340726000,"timestamp_seconds":1786340726,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3454f0"} 
[2026-08-10 11:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303148800001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303148800001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:17:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303148800001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":152752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:17:00] local.INFO: GPS data processed {"connection_id":152752,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:17:00] local.INFO: Acknowledgment sent {"connection_id":152752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:17:04] local.INFO: TCP Data received {"connection_id":151839,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:17:04] local.INFO: Processing buffer {"connection_id":151839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:17:04] local.INFO: IMEI packet received {"connection_id":151839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":151839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:17:09] local.INFO: TCP Data received {"connection_id":151839,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:17:09] local.INFO: Processing buffer {"connection_id":151839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:17:09] local.INFO: IMEI packet received {"connection_id":151839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":151839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:17:11] local.INFO: TCP Data received {"connection_id":151839,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:17:11] local.INFO: Processing buffer {"connection_id":151839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:17:11] local.INFO: Packet analysis {"connection_id":151839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:17:11] local.INFO: Extracted packet for processing {"connection_id":151839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303128064001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786340645000,"timestamp_ms":1786340645000,"timestamp_seconds":1786340645,"priority":1,"record_length":96,"hex_timestamp":"0000019fea331888"} 
[2026-08-10 11:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303128064001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303128064001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:17:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:17:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303128064001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":151839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:17:11] local.INFO: GPS data processed {"connection_id":151839,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:17:11] local.INFO: Acknowledgment sent {"connection_id":151839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:17:31] local.INFO: TCP Data received {"connection_id":152752,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:17:31] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:17:31] local.INFO: Packet analysis {"connection_id":152752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea34"} 
[2026-08-10 11:17:31] local.INFO: Extracted packet for processing {"connection_id":152752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea34"} 
[2026-08-10 11:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303148800001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786340726000,"timestamp_ms":1786340726000,"timestamp_seconds":1786340726,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3454f0"} 
[2026-08-10 11:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303148800001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303148800001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:17:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:17:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303148800001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":152752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:17:32] local.INFO: GPS data processed {"connection_id":152752,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:17:32] local.INFO: Acknowledgment sent {"connection_id":152752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:17:42] local.INFO: TCP Data received {"connection_id":151839,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:17:42] local.INFO: Processing buffer {"connection_id":151839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:17:42] local.INFO: Packet analysis {"connection_id":151839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:17:42] local.INFO: Extracted packet for processing {"connection_id":151839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303128064001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786340645000,"timestamp_ms":1786340645000,"timestamp_seconds":1786340645,"priority":1,"record_length":96,"hex_timestamp":"0000019fea331888"} 
[2026-08-10 11:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 11:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303128064001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303128064001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:17:42] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303128064001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":151839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:17:42] local.INFO: GPS data processed {"connection_id":151839,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:17:42] local.INFO: Acknowledgment sent {"connection_id":151839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:17:55] local.INFO: TCP Data received {"connection_id":151840,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:17:55] local.INFO: Processing buffer {"connection_id":151840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:17:55] local.INFO: IMEI packet received {"connection_id":151840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 11:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":151840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:18:00] local.INFO: TCP Data received {"connection_id":151840,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:18:00] local.INFO: Processing buffer {"connection_id":151840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 11:18:00] local.INFO: IMEI packet received {"connection_id":151840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 11:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":151840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:18:00] local.INFO: TCP Data received {"connection_id":151840,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:18:00] local.INFO: Processing buffer {"connection_id":151840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:18:00] local.INFO: Packet analysis {"connection_id":151840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea34"} 
[2026-08-10 11:18:00] local.INFO: Extracted packet for processing {"connection_id":151840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea34"} 
[2026-08-10 11:18:00] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303148800001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786340726000,"timestamp_ms":1786340726000,"timestamp_seconds":1786340726,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3454f0"} 
[2026-08-10 11:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303148800001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303148800001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:18:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:18:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303148800001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":151840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:18:00] local.INFO: GPS data processed {"connection_id":151840,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:18:00] local.INFO: Acknowledgment sent {"connection_id":151840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:18:04] local.INFO: TCP Data received {"connection_id":152753,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:18:04] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:18:04] local.INFO: IMEI packet received {"connection_id":152753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":152753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:18:09] local.INFO: TCP Data received {"connection_id":152753,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:18:09] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:18:09] local.INFO: IMEI packet received {"connection_id":152753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":152753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:18:11] local.INFO: TCP Data received {"connection_id":152753,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:18:11] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:18:11] local.INFO: Packet analysis {"connection_id":152753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:18:11] local.INFO: Extracted packet for processing {"connection_id":152753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303128064001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786340645000,"timestamp_ms":1786340645000,"timestamp_seconds":1786340645,"priority":1,"record_length":96,"hex_timestamp":"0000019fea331888"} 
[2026-08-10 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-08-10 11:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303128064001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303128064001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:18:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303128064001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":152753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:18:11] local.INFO: GPS data processed {"connection_id":152753,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:18:11] local.INFO: Acknowledgment sent {"connection_id":152753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:18:14] local.INFO: TCP Data received {"connection_id":152753,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:18:14] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:18:14] local.INFO: Packet analysis {"connection_id":152753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:18:14] local.INFO: Extracted packet for processing {"connection_id":152753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303128064001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786340645000,"timestamp_ms":1786340645000,"timestamp_seconds":1786340645,"priority":1,"record_length":96,"hex_timestamp":"0000019fea331888"} 
[2026-08-10 11:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303128064001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303128064001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:18:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303128064001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":152753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:18:15] local.INFO: GPS data processed {"connection_id":152753,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:18:15] local.INFO: Acknowledgment sent {"connection_id":152753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:18:31] local.INFO: TCP Data received {"connection_id":151840,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:18:31] local.INFO: Processing buffer {"connection_id":151840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3454f0012d196ac0071fee080039011625..."} 
[2026-08-10 11:18:31] local.INFO: Packet analysis {"connection_id":151840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea34"} 
[2026-08-10 11:18:31] local.INFO: Extracted packet for processing {"connection_id":151840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea34"} 
[2026-08-10 11:18:31] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533064,"longitude_deg":75.6640448,"latitude_deg":11.9533064,"altitude":57,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-10 11:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303148800001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11355403904352256,"note":"Value kept but may cause issues"} 
[2026-08-10 11:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312525312,"note":"Value kept but may cause issues"} 
[2026-08-10 11:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786340726000,"timestamp_ms":1786340726000,"timestamp_seconds":1786340726,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3454f0"} 
[2026-08-10 11:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 11:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 11:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 11:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 11:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303148800001,"66":2166,"103":206,"83":41984,"24":0,"16":11355403904352256,"45":1831487335312525312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 11:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 11:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 11:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303148800001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:18:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 11:18:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 11:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11355403904352256,"km_value":11355403904352.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312525312,"description":"Unknown IO ID 45"} 
[2026-08-10 11:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303148800001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312525312}} 
[2026-08-10 11:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":151840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:18:32] local.INFO: GPS data processed {"connection_id":151840,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:18:32] local.INFO: Acknowledgment sent {"connection_id":151840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:18:59] local.INFO: TCP Data received {"connection_id":154214,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:18:59] local.INFO: Processing buffer {"connection_id":154214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:18:59] local.INFO: IMEI packet received {"connection_id":154214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":154214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:19:04] local.INFO: TCP Data received {"connection_id":154214,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:19:04] local.INFO: Processing buffer {"connection_id":154214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:19:04] local.INFO: IMEI packet received {"connection_id":154214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":154214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:19:37] local.INFO: TCP Data received {"connection_id":154214,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:19:37] local.INFO: Processing buffer {"connection_id":154214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:19:37] local.INFO: Packet analysis {"connection_id":154214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:19:37] local.INFO: Extracted packet for processing {"connection_id":154214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303128064001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786340645000,"timestamp_ms":1786340645000,"timestamp_seconds":1786340645,"priority":1,"record_length":96,"hex_timestamp":"0000019fea331888"} 
[2026-08-10 11:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 11:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303128064001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303128064001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:19:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303128064001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":154214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:19:37] local.INFO: GPS data processed {"connection_id":154214,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:19:37] local.INFO: Acknowledgment sent {"connection_id":154214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:19:39] local.INFO: TCP Data received {"connection_id":154214,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:19:39] local.INFO: Processing buffer {"connection_id":154214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea331888012d342a4006abc2800008010226..."} 
[2026-08-10 11:19:39] local.INFO: Packet analysis {"connection_id":154214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:19:39] local.INFO: Extracted packet for processing {"connection_id":154214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea33"} 
[2026-08-10 11:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303128064001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786340645000,"timestamp_ms":1786340645000,"timestamp_seconds":1786340645,"priority":1,"record_length":96,"hex_timestamp":"0000019fea331888"} 
[2026-08-10 11:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303128064001,"66":25702,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303128064001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:19:39] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303128064001,"power":25702,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":154214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:19:39] local.INFO: GPS data processed {"connection_id":154214,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:19:39] local.INFO: Acknowledgment sent {"connection_id":154214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:20:00] local.INFO: TCP Data received {"connection_id":152754,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:20:00] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:20:00] local.INFO: IMEI packet received {"connection_id":152754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":152754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:20:04] local.INFO: TCP Data received {"connection_id":152754,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:20:04] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:20:04] local.INFO: IMEI packet received {"connection_id":152754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":152754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:20:26] local.INFO: TCP Data received {"connection_id":152754,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:20:26] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:20:26] local.INFO: Packet analysis {"connection_id":152754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:20:26] local.INFO: Extracted packet for processing {"connection_id":152754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:20:26] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303205120001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786340946000,"timestamp_ms":1786340946000,"timestamp_seconds":1786340946,"priority":1,"record_length":96,"hex_timestamp":"0000019fea37b050"} 
[2026-08-10 11:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303205120001,"66":25691,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303205120001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:20:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:20:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303205120001,"power":25691,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":152754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:20:26] local.INFO: GPS data processed {"connection_id":152754,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:20:26] local.INFO: Acknowledgment sent {"connection_id":152754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:20:28] local.INFO: TCP Data received {"connection_id":152754,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:20:28] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:20:28] local.INFO: Packet analysis {"connection_id":152754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:20:28] local.INFO: Extracted packet for processing {"connection_id":152754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:20:28] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303205120001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786340946000,"timestamp_ms":1786340946000,"timestamp_seconds":1786340946,"priority":1,"record_length":96,"hex_timestamp":"0000019fea37b050"} 
[2026-08-10 11:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303205120001,"66":25691,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303205120001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:20:28] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:20:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303205120001,"power":25691,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":152754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:20:28] local.INFO: GPS data processed {"connection_id":152754,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:20:28] local.INFO: Acknowledgment sent {"connection_id":152754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:21:04] local.INFO: TCP Data received {"connection_id":151441,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:21:04] local.INFO: Processing buffer {"connection_id":151441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:21:04] local.INFO: IMEI packet received {"connection_id":151441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:21:09] local.INFO: TCP Data received {"connection_id":151441,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:21:09] local.INFO: Processing buffer {"connection_id":151441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:21:09] local.INFO: IMEI packet received {"connection_id":151441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":151441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:21:11] local.INFO: TCP Data received {"connection_id":151441,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:21:11] local.INFO: Processing buffer {"connection_id":151441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:21:11] local.INFO: Packet analysis {"connection_id":151441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:21:11] local.INFO: Extracted packet for processing {"connection_id":151441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303205120001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786340946000,"timestamp_ms":1786340946000,"timestamp_seconds":1786340946,"priority":1,"record_length":96,"hex_timestamp":"0000019fea37b050"} 
[2026-08-10 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-08-10 11:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303205120001,"66":25691,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303205120001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:21:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:21:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303205120001,"power":25691,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":151441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:21:11] local.INFO: GPS data processed {"connection_id":151441,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:21:11] local.INFO: Acknowledgment sent {"connection_id":151441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:21:15] local.INFO: TCP Data received {"connection_id":151441,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:21:15] local.INFO: Processing buffer {"connection_id":151441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:21:15] local.INFO: Packet analysis {"connection_id":151441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:21:15] local.INFO: Extracted packet for processing {"connection_id":151441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303205120001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786340946000,"timestamp_ms":1786340946000,"timestamp_seconds":1786340946,"priority":1,"record_length":96,"hex_timestamp":"0000019fea37b050"} 
[2026-08-10 11:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303205120001,"66":25691,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303205120001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:21:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303205120001,"power":25691,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":151441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:21:15] local.INFO: GPS data processed {"connection_id":151441,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:21:15] local.INFO: Acknowledgment sent {"connection_id":151441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:21:59] local.INFO: TCP Data received {"connection_id":152755,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:21:59] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:21:59] local.INFO: IMEI packet received {"connection_id":152755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":152755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:22:04] local.INFO: TCP Data received {"connection_id":152755,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:22:04] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:22:04] local.INFO: IMEI packet received {"connection_id":152755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":152755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:22:06] local.INFO: TCP Data received {"connection_id":152755,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:22:06] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:22:06] local.INFO: Packet analysis {"connection_id":152755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:22:06] local.INFO: Extracted packet for processing {"connection_id":152755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303205120001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786340946000,"timestamp_ms":1786340946000,"timestamp_seconds":1786340946,"priority":1,"record_length":96,"hex_timestamp":"0000019fea37b050"} 
[2026-08-10 11:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303205120001,"66":25691,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303205120001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:22:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303205120001,"power":25691,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":152755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:22:06] local.INFO: GPS data processed {"connection_id":152755,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:22:06] local.INFO: Acknowledgment sent {"connection_id":152755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:22:37] local.INFO: TCP Data received {"connection_id":152755,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:22:37] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:22:37] local.INFO: Packet analysis {"connection_id":152755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:22:37] local.INFO: Extracted packet for processing {"connection_id":152755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303205120001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786340946000,"timestamp_ms":1786340946000,"timestamp_seconds":1786340946,"priority":1,"record_length":96,"hex_timestamp":"0000019fea37b050"} 
[2026-08-10 11:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303205120001,"66":25691,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303205120001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:22:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303205120001,"power":25691,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":152755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:22:37] local.INFO: GPS data processed {"connection_id":152755,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:22:37] local.INFO: Acknowledgment sent {"connection_id":152755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:22:59] local.INFO: TCP Data received {"connection_id":152756,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:22:59] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:22:59] local.INFO: IMEI packet received {"connection_id":152756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":152756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:23:04] local.INFO: TCP Data received {"connection_id":152756,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:23:04] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:23:04] local.INFO: IMEI packet received {"connection_id":152756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":152756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:23:06] local.INFO: TCP Data received {"connection_id":152756,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:23:06] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:23:06] local.INFO: Packet analysis {"connection_id":152756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:23:06] local.INFO: Extracted packet for processing {"connection_id":152756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303205120001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786340946000,"timestamp_ms":1786340946000,"timestamp_seconds":1786340946,"priority":1,"record_length":96,"hex_timestamp":"0000019fea37b050"} 
[2026-08-10 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-08-10 11:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303205120001,"66":25691,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303205120001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:23:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303205120001,"power":25691,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":152756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:23:06] local.INFO: GPS data processed {"connection_id":152756,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:23:06] local.INFO: Acknowledgment sent {"connection_id":152756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:23:37] local.INFO: TCP Data received {"connection_id":152756,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:23:37] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:23:37] local.INFO: Packet analysis {"connection_id":152756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:23:37] local.INFO: Extracted packet for processing {"connection_id":152756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303205120001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786340946000,"timestamp_ms":1786340946000,"timestamp_seconds":1786340946,"priority":1,"record_length":96,"hex_timestamp":"0000019fea37b050"} 
[2026-08-10 11:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303205120001,"66":25691,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303205120001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:23:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303205120001,"power":25691,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":152756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:23:37] local.INFO: GPS data processed {"connection_id":152756,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:23:37] local.INFO: Acknowledgment sent {"connection_id":152756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:23:59] local.INFO: TCP Data received {"connection_id":151442,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:23:59] local.INFO: Processing buffer {"connection_id":151442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:23:59] local.INFO: IMEI packet received {"connection_id":151442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":151442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:24:04] local.INFO: TCP Data received {"connection_id":151442,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:24:04] local.INFO: Processing buffer {"connection_id":151442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:24:04] local.INFO: IMEI packet received {"connection_id":151442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":151442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:24:06] local.INFO: TCP Data received {"connection_id":151442,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:24:06] local.INFO: Processing buffer {"connection_id":151442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:24:06] local.INFO: Packet analysis {"connection_id":151442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:24:06] local.INFO: Extracted packet for processing {"connection_id":151442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303205120001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786340946000,"timestamp_ms":1786340946000,"timestamp_seconds":1786340946,"priority":1,"record_length":96,"hex_timestamp":"0000019fea37b050"} 
[2026-08-10 11:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303205120001,"66":25691,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303205120001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:24:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303205120001,"power":25691,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":151442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:24:06] local.INFO: GPS data processed {"connection_id":151442,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:24:06] local.INFO: Acknowledgment sent {"connection_id":151442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:24:38] local.INFO: TCP Data received {"connection_id":151442,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:24:38] local.INFO: Processing buffer {"connection_id":151442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea37b050012d342a4006abc2800008010226..."} 
[2026-08-10 11:24:38] local.INFO: Packet analysis {"connection_id":151442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:24:38] local.INFO: Extracted packet for processing {"connection_id":151442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea37"} 
[2026-08-10 11:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303205120001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786340946000,"timestamp_ms":1786340946000,"timestamp_seconds":1786340946,"priority":1,"record_length":96,"hex_timestamp":"0000019fea37b050"} 
[2026-08-10 11:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-10 11:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303205120001,"66":25691,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303205120001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:24:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303205120001,"power":25691,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":151442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:24:38] local.INFO: GPS data processed {"connection_id":151442,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:24:38] local.INFO: Acknowledgment sent {"connection_id":151442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:25:04] local.INFO: TCP Data received {"connection_id":151841,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:25:04] local.INFO: Processing buffer {"connection_id":151841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:25:04] local.INFO: IMEI packet received {"connection_id":151841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":151841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:25:09] local.INFO: TCP Data received {"connection_id":151841,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:25:09] local.INFO: Processing buffer {"connection_id":151841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:25:09] local.INFO: IMEI packet received {"connection_id":151841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":151841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:25:10] local.INFO: TCP Data received {"connection_id":151841,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:25:10] local.INFO: Processing buffer {"connection_id":151841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:25:10] local.INFO: Packet analysis {"connection_id":151841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:25:10] local.INFO: Extracted packet for processing {"connection_id":151841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":7,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303282176001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786341247000,"timestamp_ms":1786341247000,"timestamp_seconds":1786341247,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3c4818"} 
[2026-08-10 11:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:25: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-08-10 11: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":91,"data_length":795,"current_offset":136} 
[2026-08-10 11:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303282176001,"66":25680,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303282176001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:25:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303282176001,"power":25680,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":151841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:25:10] local.INFO: GPS data processed {"connection_id":151841,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:25:10] local.INFO: Acknowledgment sent {"connection_id":151841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:25:15] local.INFO: TCP Data received {"connection_id":151841,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:25:15] local.INFO: Processing buffer {"connection_id":151841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:25:15] local.INFO: Packet analysis {"connection_id":151841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:25:15] local.INFO: Extracted packet for processing {"connection_id":151841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":7,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303282176001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786341247000,"timestamp_ms":1786341247000,"timestamp_seconds":1786341247,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3c4818"} 
[2026-08-10 11:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-10 11:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303282176001,"66":25680,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303282176001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:25:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303282176001,"power":25680,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":151841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:25:15] local.INFO: GPS data processed {"connection_id":151841,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:25:15] local.INFO: Acknowledgment sent {"connection_id":151841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:25:59] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:25:59] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:25:59] local.INFO: IMEI packet received {"connection_id":152757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":152757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:26:04] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:26:04] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:26:04] local.INFO: IMEI packet received {"connection_id":152757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":152757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:26:05] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:26:05] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:26:05] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:26:05] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":7,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303282176001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786341247000,"timestamp_ms":1786341247000,"timestamp_seconds":1786341247,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3c4818"} 
[2026-08-10 11:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-10 11:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:26: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-08-10 11:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303282176001,"66":25680,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303282176001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:26:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303282176001,"power":25680,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:26:05] local.INFO: GPS data processed {"connection_id":152757,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:26:05] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:26:37] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:26:37] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:26:37] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:26:37] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":7,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303282176001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786341247000,"timestamp_ms":1786341247000,"timestamp_seconds":1786341247,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3c4818"} 
[2026-08-10 11:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-10 11:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303282176001,"66":25680,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303282176001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:26:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303282176001,"power":25680,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:26:37] local.INFO: GPS data processed {"connection_id":152757,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:26:37] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:26:59] local.INFO: TCP Data received {"connection_id":151443,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:26:59] local.INFO: Processing buffer {"connection_id":151443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:26:59] local.INFO: IMEI packet received {"connection_id":151443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":151443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:27:04] local.INFO: TCP Data received {"connection_id":151443,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:27:04] local.INFO: Processing buffer {"connection_id":151443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:27:04] local.INFO: IMEI packet received {"connection_id":151443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":151443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:27:05] local.INFO: TCP Data received {"connection_id":151443,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:27:05] local.INFO: Processing buffer {"connection_id":151443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:27:05] local.INFO: Packet analysis {"connection_id":151443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:27:05] local.INFO: Extracted packet for processing {"connection_id":151443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":7,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303282176001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786341247000,"timestamp_ms":1786341247000,"timestamp_seconds":1786341247,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3c4818"} 
[2026-08-10 11:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-10 11:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:27: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-08-10 11:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303282176001,"66":25680,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303282176001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:27:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303282176001,"power":25680,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":151443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:27:05] local.INFO: GPS data processed {"connection_id":151443,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:27:05] local.INFO: Acknowledgment sent {"connection_id":151443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:27:36] local.INFO: TCP Data received {"connection_id":151443,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:27:36] local.INFO: Processing buffer {"connection_id":151443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:27:36] local.INFO: Packet analysis {"connection_id":151443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:27:36] local.INFO: Extracted packet for processing {"connection_id":151443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":7,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303282176001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786341247000,"timestamp_ms":1786341247000,"timestamp_seconds":1786341247,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3c4818"} 
[2026-08-10 11:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-10 11:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303282176001,"66":25680,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303282176001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:27:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303282176001,"power":25680,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":151443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:27:36] local.INFO: GPS data processed {"connection_id":151443,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:27:36] local.INFO: Acknowledgment sent {"connection_id":151443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:28:04] local.INFO: TCP Data received {"connection_id":152758,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:28:04] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:28:04] local.INFO: IMEI packet received {"connection_id":152758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":152758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:28:09] local.INFO: TCP Data received {"connection_id":152758,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:28:09] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:28:09] local.INFO: IMEI packet received {"connection_id":152758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":152758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:28:11] local.INFO: TCP Data received {"connection_id":152758,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:28:11] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:28:11] local.INFO: Packet analysis {"connection_id":152758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:28:11] local.INFO: Extracted packet for processing {"connection_id":152758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":7,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303282176001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786341247000,"timestamp_ms":1786341247000,"timestamp_seconds":1786341247,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3c4818"} 
[2026-08-10 11:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-10 11:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303282176001,"66":25680,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303282176001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:28:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303282176001,"power":25680,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":152758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:28:11] local.INFO: GPS data processed {"connection_id":152758,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:28:11] local.INFO: Acknowledgment sent {"connection_id":152758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:28:15] local.INFO: TCP Data received {"connection_id":152758,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:28:15] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:28:15] local.INFO: Packet analysis {"connection_id":152758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:28:15] local.INFO: Extracted packet for processing {"connection_id":152758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":7,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303282176001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786341247000,"timestamp_ms":1786341247000,"timestamp_seconds":1786341247,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3c4818"} 
[2026-08-10 11:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-10 11:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303282176001,"66":25680,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303282176001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:28:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303282176001,"power":25680,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":152758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:28:15] local.INFO: GPS data processed {"connection_id":152758,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:28:15] local.INFO: Acknowledgment sent {"connection_id":152758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:28:59] local.INFO: TCP Data received {"connection_id":151444,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:28:59] local.INFO: Processing buffer {"connection_id":151444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:28:59] local.INFO: IMEI packet received {"connection_id":151444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":151444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:29:04] local.INFO: TCP Data received {"connection_id":151444,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:29:04] local.INFO: Processing buffer {"connection_id":151444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:29:04] local.INFO: IMEI packet received {"connection_id":151444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":151444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:29:05] local.INFO: TCP Data received {"connection_id":151444,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:29:05] local.INFO: Processing buffer {"connection_id":151444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:29:05] local.INFO: Packet analysis {"connection_id":151444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:29:05] local.INFO: Extracted packet for processing {"connection_id":151444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":7,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303282176001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786341247000,"timestamp_ms":1786341247000,"timestamp_seconds":1786341247,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3c4818"} 
[2026-08-10 11:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-10 11:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:29: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-08-10 11:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303282176001,"66":25680,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303282176001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:29:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303282176001,"power":25680,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":151444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:29:05] local.INFO: GPS data processed {"connection_id":151444,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:29:05] local.INFO: Acknowledgment sent {"connection_id":151444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:29:36] local.INFO: TCP Data received {"connection_id":151444,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:29:36] local.INFO: Processing buffer {"connection_id":151444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea3c4818012d342a4006abc2800007010224..."} 
[2026-08-10 11:29:36] local.INFO: Packet analysis {"connection_id":151444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:29:36] local.INFO: Extracted packet for processing {"connection_id":151444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea3c"} 
[2026-08-10 11:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":7,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303282176001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786341247000,"timestamp_ms":1786341247000,"timestamp_seconds":1786341247,"priority":1,"record_length":96,"hex_timestamp":"0000019fea3c4818"} 
[2026-08-10 11:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-10 11:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303282176001,"66":25680,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303282176001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:29:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303282176001,"power":25680,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":151444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:29:36] local.INFO: GPS data processed {"connection_id":151444,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:29:36] local.INFO: Acknowledgment sent {"connection_id":151444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:29:59] local.INFO: TCP Data received {"connection_id":151445,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:29:59] local.INFO: Processing buffer {"connection_id":151445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:29:59] local.INFO: IMEI packet received {"connection_id":151445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":151445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:30:04] local.INFO: TCP Data received {"connection_id":151445,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:30:04] local.INFO: Processing buffer {"connection_id":151445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:30:04] local.INFO: IMEI packet received {"connection_id":151445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":151445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:30:05] local.INFO: TCP Data received {"connection_id":151445,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:30:05] local.INFO: Processing buffer {"connection_id":151445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:30:05] local.INFO: Packet analysis {"connection_id":151445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:30:05] local.INFO: Extracted packet for processing {"connection_id":151445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303359232001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786341548000,"timestamp_ms":1786341548000,"timestamp_seconds":1786341548,"priority":1,"record_length":96,"hex_timestamp":"0000019fea40dfe0"} 
[2026-08-10 11:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:30: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-08-10 11:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-10 11:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:30: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-08-10 11:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303359232001,"66":25647,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303359232001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:30:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303359232001,"power":25647,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":151445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:30:05] local.INFO: GPS data processed {"connection_id":151445,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:30:05] local.INFO: Acknowledgment sent {"connection_id":151445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:30:36] local.INFO: TCP Data received {"connection_id":151445,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:30:36] local.INFO: Processing buffer {"connection_id":151445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:30:36] local.INFO: Packet analysis {"connection_id":151445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:30:36] local.INFO: Extracted packet for processing {"connection_id":151445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303359232001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786341548000,"timestamp_ms":1786341548000,"timestamp_seconds":1786341548,"priority":1,"record_length":96,"hex_timestamp":"0000019fea40dfe0"} 
[2026-08-10 11:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:30: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-08-10 11:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-10 11:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303359232001,"66":25647,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303359232001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:30:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303359232001,"power":25647,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":151445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:30:36] local.INFO: GPS data processed {"connection_id":151445,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:30:36] local.INFO: Acknowledgment sent {"connection_id":151445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:30:59] local.INFO: TCP Data received {"connection_id":154215,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:30:59] local.INFO: Processing buffer {"connection_id":154215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:30:59] local.INFO: IMEI packet received {"connection_id":154215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":154215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:31:04] local.INFO: TCP Data received {"connection_id":154215,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:31:04] local.INFO: Processing buffer {"connection_id":154215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:31:04] local.INFO: IMEI packet received {"connection_id":154215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":154215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:31:06] local.INFO: TCP Data received {"connection_id":154215,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:31:06] local.INFO: Processing buffer {"connection_id":154215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:31:06] local.INFO: Packet analysis {"connection_id":154215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:31:06] local.INFO: Extracted packet for processing {"connection_id":154215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303359232001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786341548000,"timestamp_ms":1786341548000,"timestamp_seconds":1786341548,"priority":1,"record_length":96,"hex_timestamp":"0000019fea40dfe0"} 
[2026-08-10 11:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-10 11:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303359232001,"66":25647,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303359232001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:31:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303359232001,"power":25647,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":154215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:31:06] local.INFO: GPS data processed {"connection_id":154215,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:31:06] local.INFO: Acknowledgment sent {"connection_id":154215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:31:37] local.INFO: TCP Data received {"connection_id":154215,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:31:37] local.INFO: Processing buffer {"connection_id":154215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:31:37] local.INFO: Packet analysis {"connection_id":154215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:31:37] local.INFO: Extracted packet for processing {"connection_id":154215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303359232001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786341548000,"timestamp_ms":1786341548000,"timestamp_seconds":1786341548,"priority":1,"record_length":96,"hex_timestamp":"0000019fea40dfe0"} 
[2026-08-10 11:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-10 11:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 11:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303359232001,"66":25647,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303359232001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:31:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303359232001,"power":25647,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":154215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:31:37] local.INFO: GPS data processed {"connection_id":154215,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:31:37] local.INFO: Acknowledgment sent {"connection_id":154215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:32:04] local.INFO: TCP Data received {"connection_id":152759,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:32:04] local.INFO: Processing buffer {"connection_id":152759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:32:04] local.INFO: IMEI packet received {"connection_id":152759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":152759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:32:09] local.INFO: TCP Data received {"connection_id":152759,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:32:09] local.INFO: Processing buffer {"connection_id":152759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:32:09] local.INFO: IMEI packet received {"connection_id":152759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":152759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:32:10] local.INFO: TCP Data received {"connection_id":152759,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:32:10] local.INFO: Processing buffer {"connection_id":152759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:32:10] local.INFO: Packet analysis {"connection_id":152759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:32:10] local.INFO: Extracted packet for processing {"connection_id":152759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303359232001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786341548000,"timestamp_ms":1786341548000,"timestamp_seconds":1786341548,"priority":1,"record_length":96,"hex_timestamp":"0000019fea40dfe0"} 
[2026-08-10 11:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:32: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-08-10 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-10 11:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 11:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:32: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-08-10 11:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303359232001,"66":25647,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303359232001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:32:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303359232001,"power":25647,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":152759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:32:10] local.INFO: GPS data processed {"connection_id":152759,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:32:10] local.INFO: Acknowledgment sent {"connection_id":152759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:32:14] local.INFO: TCP Data received {"connection_id":152759,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:32:15] local.INFO: Processing buffer {"connection_id":152759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:32:15] local.INFO: Packet analysis {"connection_id":152759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:32:15] local.INFO: Extracted packet for processing {"connection_id":152759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303359232001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786341548000,"timestamp_ms":1786341548000,"timestamp_seconds":1786341548,"priority":1,"record_length":96,"hex_timestamp":"0000019fea40dfe0"} 
[2026-08-10 11:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-10 11:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303359232001,"66":25647,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303359232001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:32:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303359232001,"power":25647,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":152759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:32:15] local.INFO: GPS data processed {"connection_id":152759,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:32:15] local.INFO: Acknowledgment sent {"connection_id":152759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:32:59] local.INFO: TCP Data received {"connection_id":154216,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:32:59] local.INFO: Processing buffer {"connection_id":154216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:32:59] local.INFO: IMEI packet received {"connection_id":154216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":154216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:33:04] local.INFO: TCP Data received {"connection_id":154216,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:33:04] local.INFO: Processing buffer {"connection_id":154216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:33:04] local.INFO: IMEI packet received {"connection_id":154216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":154216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:33:06] local.INFO: TCP Data received {"connection_id":154216,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:33:06] local.INFO: Processing buffer {"connection_id":154216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:33:06] local.INFO: Packet analysis {"connection_id":154216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:33:06] local.INFO: Extracted packet for processing {"connection_id":154216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303359232001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786341548000,"timestamp_ms":1786341548000,"timestamp_seconds":1786341548,"priority":1,"record_length":96,"hex_timestamp":"0000019fea40dfe0"} 
[2026-08-10 11:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-10 11:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303359232001,"66":25647,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303359232001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:33:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303359232001,"power":25647,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":154216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:33:06] local.INFO: GPS data processed {"connection_id":154216,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:33:06] local.INFO: Acknowledgment sent {"connection_id":154216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:33:37] local.INFO: TCP Data received {"connection_id":154216,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:33:37] local.INFO: Processing buffer {"connection_id":154216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:33:37] local.INFO: Packet analysis {"connection_id":154216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:33:37] local.INFO: Extracted packet for processing {"connection_id":154216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303359232001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786341548000,"timestamp_ms":1786341548000,"timestamp_seconds":1786341548,"priority":1,"record_length":96,"hex_timestamp":"0000019fea40dfe0"} 
[2026-08-10 11:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:33: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-08-10 11:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-10 11:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 11:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303359232001,"66":25647,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303359232001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:33:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303359232001,"power":25647,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":154216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:33:37] local.INFO: GPS data processed {"connection_id":154216,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:33:37] local.INFO: Acknowledgment sent {"connection_id":154216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:33:59] local.INFO: TCP Data received {"connection_id":152760,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:33:59] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:33:59] local.INFO: IMEI packet received {"connection_id":152760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":152760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:34:04] local.INFO: TCP Data received {"connection_id":152760,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:34:04] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:34:04] local.INFO: IMEI packet received {"connection_id":152760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":152760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:34:06] local.INFO: TCP Data received {"connection_id":152760,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:34:06] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:34:06] local.INFO: Packet analysis {"connection_id":152760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:34:06] local.INFO: Extracted packet for processing {"connection_id":152760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303359232001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786341548000,"timestamp_ms":1786341548000,"timestamp_seconds":1786341548,"priority":1,"record_length":96,"hex_timestamp":"0000019fea40dfe0"} 
[2026-08-10 11:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-10 11:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303359232001,"66":25647,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303359232001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:34:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303359232001,"power":25647,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":152760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:34:06] local.INFO: GPS data processed {"connection_id":152760,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:34:06] local.INFO: Acknowledgment sent {"connection_id":152760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:34:37] local.INFO: TCP Data received {"connection_id":152760,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:34:37] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea40dfe0012d342a4006abc280000c010225..."} 
[2026-08-10 11:34:37] local.INFO: Packet analysis {"connection_id":152760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:34:37] local.INFO: Extracted packet for processing {"connection_id":152760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea40"} 
[2026-08-10 11:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303359232001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786341548000,"timestamp_ms":1786341548000,"timestamp_seconds":1786341548,"priority":1,"record_length":96,"hex_timestamp":"0000019fea40dfe0"} 
[2026-08-10 11:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:34: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-08-10 11:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-10 11:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303359232001,"66":25647,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303359232001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:34:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303359232001,"power":25647,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":152760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:34:37] local.INFO: GPS data processed {"connection_id":152760,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:34:37] local.INFO: Acknowledgment sent {"connection_id":152760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:35:00] local.INFO: TCP Data received {"connection_id":154217,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:35:00] local.INFO: Processing buffer {"connection_id":154217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:35:00] local.INFO: IMEI packet received {"connection_id":154217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":154217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:35:04] local.INFO: TCP Data received {"connection_id":154217,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:35:04] local.INFO: Processing buffer {"connection_id":154217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:35:04] local.INFO: IMEI packet received {"connection_id":154217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":154217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:35:05] local.INFO: TCP Data received {"connection_id":154217,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:35:05] local.INFO: Processing buffer {"connection_id":154217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:35:05] local.INFO: Packet analysis {"connection_id":154217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:35:05] local.INFO: Extracted packet for processing {"connection_id":154217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303436288001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786341849000,"timestamp_ms":1786341849000,"timestamp_seconds":1786341849,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4577a8"} 
[2026-08-10 11:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11: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-08-10 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 11:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303436288001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303436288001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:35:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303436288001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":154217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:35:05] local.INFO: GPS data processed {"connection_id":154217,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:35:05] local.INFO: Acknowledgment sent {"connection_id":154217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:35:36] local.INFO: TCP Data received {"connection_id":154217,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:35:36] local.INFO: Processing buffer {"connection_id":154217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:35:36] local.INFO: Packet analysis {"connection_id":154217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:35:36] local.INFO: Extracted packet for processing {"connection_id":154217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303436288001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786341849000,"timestamp_ms":1786341849000,"timestamp_seconds":1786341849,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4577a8"} 
[2026-08-10 11:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 11:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303436288001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303436288001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:35:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303436288001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":154217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:35:36] local.INFO: GPS data processed {"connection_id":154217,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:35:36] local.INFO: Acknowledgment sent {"connection_id":154217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:35:59] local.INFO: TCP Data received {"connection_id":152761,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:35:59] local.INFO: Processing buffer {"connection_id":152761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:35:59] local.INFO: IMEI packet received {"connection_id":152761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":152761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:36:04] local.INFO: TCP Data received {"connection_id":152761,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:36:04] local.INFO: Processing buffer {"connection_id":152761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:36:04] local.INFO: IMEI packet received {"connection_id":152761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":152761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:36:09] local.INFO: TCP Data received {"connection_id":152761,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:36:09] local.INFO: Processing buffer {"connection_id":152761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:36:09] local.INFO: Packet analysis {"connection_id":152761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:36:09] local.INFO: Extracted packet for processing {"connection_id":152761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303436288001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786341849000,"timestamp_ms":1786341849000,"timestamp_seconds":1786341849,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4577a8"} 
[2026-08-10 11:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 11:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303436288001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303436288001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:36:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303436288001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":152761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:36:09] local.INFO: GPS data processed {"connection_id":152761,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:36:09] local.INFO: Acknowledgment sent {"connection_id":152761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:36:45] local.INFO: TCP Data received {"connection_id":152761,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:36:45] local.INFO: Processing buffer {"connection_id":152761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:36:45] local.INFO: Packet analysis {"connection_id":152761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:36:45] local.INFO: Extracted packet for processing {"connection_id":152761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303436288001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786341849000,"timestamp_ms":1786341849000,"timestamp_seconds":1786341849,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4577a8"} 
[2026-08-10 11:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 11:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303436288001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303436288001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:36:45] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303436288001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":152761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:36:45] local.INFO: GPS data processed {"connection_id":152761,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:36:45] local.INFO: Acknowledgment sent {"connection_id":152761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:36:59] local.INFO: TCP Data received {"connection_id":151842,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:36:59] local.INFO: Processing buffer {"connection_id":151842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:36:59] local.INFO: IMEI packet received {"connection_id":151842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":151842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:37:04] local.INFO: TCP Data received {"connection_id":151842,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:37:04] local.INFO: Processing buffer {"connection_id":151842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:37:04] local.INFO: IMEI packet received {"connection_id":151842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":151842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:37:05] local.INFO: TCP Data received {"connection_id":151842,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:37:05] local.INFO: Processing buffer {"connection_id":151842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:37:05] local.INFO: Packet analysis {"connection_id":151842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:37:05] local.INFO: Extracted packet for processing {"connection_id":151842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303436288001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786341849000,"timestamp_ms":1786341849000,"timestamp_seconds":1786341849,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4577a8"} 
[2026-08-10 11:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 11:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303436288001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303436288001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:37:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303436288001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":151842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:37:05] local.INFO: GPS data processed {"connection_id":151842,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:37:05] local.INFO: Acknowledgment sent {"connection_id":151842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:37:37] local.INFO: TCP Data received {"connection_id":151842,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:37:37] local.INFO: Processing buffer {"connection_id":151842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:37:37] local.INFO: Packet analysis {"connection_id":151842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:37:37] local.INFO: Extracted packet for processing {"connection_id":151842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303436288001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786341849000,"timestamp_ms":1786341849000,"timestamp_seconds":1786341849,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4577a8"} 
[2026-08-10 11:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 11:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303436288001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303436288001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:37:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303436288001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":151842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:37:37] local.INFO: GPS data processed {"connection_id":151842,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:37:37] local.INFO: Acknowledgment sent {"connection_id":151842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:38:00] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:38:00] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:38:00] local.INFO: IMEI packet received {"connection_id":152762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":152762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:38:04] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:38:04] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:38:04] local.INFO: IMEI packet received {"connection_id":152762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":152762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:38:05] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:38:05] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:38:05] local.INFO: Packet analysis {"connection_id":152762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:38:05] local.INFO: Extracted packet for processing {"connection_id":152762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303436288001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786341849000,"timestamp_ms":1786341849000,"timestamp_seconds":1786341849,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4577a8"} 
[2026-08-10 11:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 11:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303436288001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303436288001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:38:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303436288001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":152762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:38:05] local.INFO: GPS data processed {"connection_id":152762,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:38:05] local.INFO: Acknowledgment sent {"connection_id":152762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:38:37] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:38:37] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:38:37] local.INFO: Packet analysis {"connection_id":152762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:38:37] local.INFO: Extracted packet for processing {"connection_id":152762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303436288001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786341849000,"timestamp_ms":1786341849000,"timestamp_seconds":1786341849,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4577a8"} 
[2026-08-10 11:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 11:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303436288001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303436288001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:38:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303436288001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":152762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:38:37] local.INFO: GPS data processed {"connection_id":152762,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:38:37] local.INFO: Acknowledgment sent {"connection_id":152762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:38:59] local.INFO: TCP Data received {"connection_id":154218,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:38:59] local.INFO: Processing buffer {"connection_id":154218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:38:59] local.INFO: IMEI packet received {"connection_id":154218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":154218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:39:04] local.INFO: TCP Data received {"connection_id":154218,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:39:04] local.INFO: Processing buffer {"connection_id":154218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:39:04] local.INFO: IMEI packet received {"connection_id":154218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":154218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:39:05] local.INFO: TCP Data received {"connection_id":154218,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:39:05] local.INFO: Processing buffer {"connection_id":154218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:39:05] local.INFO: Packet analysis {"connection_id":154218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:39:05] local.INFO: Extracted packet for processing {"connection_id":154218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:39:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303436288001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786341849000,"timestamp_ms":1786341849000,"timestamp_seconds":1786341849,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4577a8"} 
[2026-08-10 11:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 11:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303436288001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303436288001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:39:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:39:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303436288001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":154218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:39:05] local.INFO: GPS data processed {"connection_id":154218,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:39:05] local.INFO: Acknowledgment sent {"connection_id":154218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:39:37] local.INFO: TCP Data received {"connection_id":154218,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:39:37] local.INFO: Processing buffer {"connection_id":154218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4577a8012d342a4006abc280000c010221..."} 
[2026-08-10 11:39:37] local.INFO: Packet analysis {"connection_id":154218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:39:37] local.INFO: Extracted packet for processing {"connection_id":154218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea45"} 
[2026-08-10 11:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303436288001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786341849000,"timestamp_ms":1786341849000,"timestamp_seconds":1786341849,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4577a8"} 
[2026-08-10 11:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 11:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303436288001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303436288001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:39:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303436288001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":154218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:39:37] local.INFO: GPS data processed {"connection_id":154218,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:39:37] local.INFO: Acknowledgment sent {"connection_id":154218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:40:04] local.INFO: TCP Data received {"connection_id":151843,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:40:04] local.INFO: Processing buffer {"connection_id":151843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:40:04] local.INFO: IMEI packet received {"connection_id":151843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":151843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:40:09] local.INFO: TCP Data received {"connection_id":151843,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:40:09] local.INFO: Processing buffer {"connection_id":151843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:40:09] local.INFO: IMEI packet received {"connection_id":151843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":151843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:40:10] local.INFO: TCP Data received {"connection_id":151843,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:40:10] local.INFO: Processing buffer {"connection_id":151843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:40:10] local.INFO: Packet analysis {"connection_id":151843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:40:10] local.INFO: Extracted packet for processing {"connection_id":151843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303513344001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786342150000,"timestamp_ms":1786342150000,"timestamp_seconds":1786342150,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4a0f70"} 
[2026-08-10 11:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:40: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-08-10 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:40: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-08-10 11:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303513344001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303513344001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:40:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303513344001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":151843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:40:10] local.INFO: GPS data processed {"connection_id":151843,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:40:10] local.INFO: Acknowledgment sent {"connection_id":151843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:40:14] local.INFO: TCP Data received {"connection_id":151843,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:40:14] local.INFO: Processing buffer {"connection_id":151843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:40:14] local.INFO: Packet analysis {"connection_id":151843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:40:14] local.INFO: Extracted packet for processing {"connection_id":151843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303513344001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786342150000,"timestamp_ms":1786342150000,"timestamp_seconds":1786342150,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4a0f70"} 
[2026-08-10 11:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303513344001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303513344001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:40:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:40:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303513344001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":151843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:40:14] local.INFO: GPS data processed {"connection_id":151843,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:40:14] local.INFO: Acknowledgment sent {"connection_id":151843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:41:02] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:41:02] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:41:02] local.INFO: IMEI packet received {"connection_id":152763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":152763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:41:04] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:41:04] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:41:04] local.INFO: IMEI packet received {"connection_id":152763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":152763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:41:05] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:41:05] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:41:05] local.INFO: Packet analysis {"connection_id":152763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:41:05] local.INFO: Extracted packet for processing {"connection_id":152763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303513344001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786342150000,"timestamp_ms":1786342150000,"timestamp_seconds":1786342150,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4a0f70"} 
[2026-08-10 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-08-10 11: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-08-10 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 11:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303513344001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303513344001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:41:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303513344001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":152763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:41:05] local.INFO: GPS data processed {"connection_id":152763,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:41:05] local.INFO: Acknowledgment sent {"connection_id":152763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:41:09] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:41:09] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:41:09] local.INFO: Packet analysis {"connection_id":152763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:41:09] local.INFO: Extracted packet for processing {"connection_id":152763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303513344001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786342150000,"timestamp_ms":1786342150000,"timestamp_seconds":1786342150,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4a0f70"} 
[2026-08-10 11:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303513344001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303513344001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:41:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303513344001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":152763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:41:09] local.INFO: GPS data processed {"connection_id":152763,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:41:09] local.INFO: Acknowledgment sent {"connection_id":152763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:41:55] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:41:55] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:41:55] local.INFO: Packet analysis {"connection_id":152763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:41:55] local.INFO: Extracted packet for processing {"connection_id":152763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303513344001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786342150000,"timestamp_ms":1786342150000,"timestamp_seconds":1786342150,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4a0f70"} 
[2026-08-10 11:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303513344001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303513344001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:41:55] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:41:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303513344001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":152763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:41:55] local.INFO: GPS data processed {"connection_id":152763,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:41:55] local.INFO: Acknowledgment sent {"connection_id":152763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:41:59] local.INFO: TCP Data received {"connection_id":152764,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:41:59] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:41:59] local.INFO: IMEI packet received {"connection_id":152764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":152764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:42:04] local.INFO: TCP Data received {"connection_id":152764,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:42:04] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:42:04] local.INFO: IMEI packet received {"connection_id":152764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":152764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:42:05] local.INFO: TCP Data received {"connection_id":152764,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:42:05] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:42:05] local.INFO: Packet analysis {"connection_id":152764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:42:05] local.INFO: Extracted packet for processing {"connection_id":152764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303513344001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786342150000,"timestamp_ms":1786342150000,"timestamp_seconds":1786342150,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4a0f70"} 
[2026-08-10 11:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 11:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303513344001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303513344001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:42:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303513344001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":152764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:42:05] local.INFO: GPS data processed {"connection_id":152764,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:42:05] local.INFO: Acknowledgment sent {"connection_id":152764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:42:36] local.INFO: TCP Data received {"connection_id":152764,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:42:36] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:42:36] local.INFO: Packet analysis {"connection_id":152764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:42:36] local.INFO: Extracted packet for processing {"connection_id":152764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303513344001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786342150000,"timestamp_ms":1786342150000,"timestamp_seconds":1786342150,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4a0f70"} 
[2026-08-10 11:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 11:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303513344001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303513344001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:42:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303513344001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":152764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:42:36] local.INFO: GPS data processed {"connection_id":152764,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:42:36] local.INFO: Acknowledgment sent {"connection_id":152764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:42:59] local.INFO: TCP Data received {"connection_id":151844,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:42:59] local.INFO: Processing buffer {"connection_id":151844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:42:59] local.INFO: IMEI packet received {"connection_id":151844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":151844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:43:04] local.INFO: TCP Data received {"connection_id":151844,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:43:04] local.INFO: Processing buffer {"connection_id":151844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:43:04] local.INFO: IMEI packet received {"connection_id":151844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":151844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:43:05] local.INFO: TCP Data received {"connection_id":151844,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:43:05] local.INFO: Processing buffer {"connection_id":151844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:43:05] local.INFO: Packet analysis {"connection_id":151844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:43:05] local.INFO: Extracted packet for processing {"connection_id":151844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303513344001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786342150000,"timestamp_ms":1786342150000,"timestamp_seconds":1786342150,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4a0f70"} 
[2026-08-10 11:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303513344001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303513344001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:43:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303513344001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":151844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:43:05] local.INFO: GPS data processed {"connection_id":151844,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:43:05] local.INFO: Acknowledgment sent {"connection_id":151844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:43:37] local.INFO: TCP Data received {"connection_id":151844,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:43:37] local.INFO: Processing buffer {"connection_id":151844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:43:37] local.INFO: Packet analysis {"connection_id":151844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:43:37] local.INFO: Extracted packet for processing {"connection_id":151844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303513344001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786342150000,"timestamp_ms":1786342150000,"timestamp_seconds":1786342150,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4a0f70"} 
[2026-08-10 11:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:43: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-08-10 11: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-08-10 11:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303513344001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303513344001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:43:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303513344001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":151844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:43:37] local.INFO: GPS data processed {"connection_id":151844,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:43:37] local.INFO: Acknowledgment sent {"connection_id":151844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:44:04] local.INFO: TCP Data received {"connection_id":151845,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:44:04] local.INFO: Processing buffer {"connection_id":151845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:44:04] local.INFO: IMEI packet received {"connection_id":151845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":151845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:44:09] local.INFO: TCP Data received {"connection_id":151845,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:44:09] local.INFO: Processing buffer {"connection_id":151845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:44:09] local.INFO: IMEI packet received {"connection_id":151845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":151845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:44:10] local.INFO: TCP Data received {"connection_id":151845,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:44:10] local.INFO: Processing buffer {"connection_id":151845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:44:10] local.INFO: Packet analysis {"connection_id":151845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:44:10] local.INFO: Extracted packet for processing {"connection_id":151845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303513344001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786342150000,"timestamp_ms":1786342150000,"timestamp_seconds":1786342150,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4a0f70"} 
[2026-08-10 11:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:44: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-08-10 11:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:44: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-08-10 11:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303513344001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303513344001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:44:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303513344001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":151845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:44:10] local.INFO: GPS data processed {"connection_id":151845,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:44:10] local.INFO: Acknowledgment sent {"connection_id":151845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:44:41] local.INFO: TCP Data received {"connection_id":151845,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:44:41] local.INFO: Processing buffer {"connection_id":151845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4a0f70012d342a4006abc280000c01021d..."} 
[2026-08-10 11:44:41] local.INFO: Packet analysis {"connection_id":151845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:44:41] local.INFO: Extracted packet for processing {"connection_id":151845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4a"} 
[2026-08-10 11:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303513344001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786342150000,"timestamp_ms":1786342150000,"timestamp_seconds":1786342150,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4a0f70"} 
[2026-08-10 11:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 11:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303513344001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303513344001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:44:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303513344001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":151845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:44:41] local.INFO: GPS data processed {"connection_id":151845,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:44:41] local.INFO: Acknowledgment sent {"connection_id":151845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:44:59] local.INFO: TCP Data received {"connection_id":152765,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:44:59] local.INFO: Processing buffer {"connection_id":152765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:44:59] local.INFO: IMEI packet received {"connection_id":152765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":152765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:45:04] local.INFO: TCP Data received {"connection_id":152765,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:45:04] local.INFO: Processing buffer {"connection_id":152765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:45:04] local.INFO: IMEI packet received {"connection_id":152765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":152765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:45:05] local.INFO: TCP Data received {"connection_id":152765,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:45:05] local.INFO: Processing buffer {"connection_id":152765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:45:05] local.INFO: Packet analysis {"connection_id":152765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:45:05] local.INFO: Extracted packet for processing {"connection_id":152765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303590400001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786342451000,"timestamp_ms":1786342451000,"timestamp_seconds":1786342451,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4ea738"} 
[2026-08-10 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-08-10 11:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 11:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303590400001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303590400001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:45:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303590400001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":152765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:45:05] local.INFO: GPS data processed {"connection_id":152765,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:45:05] local.INFO: Acknowledgment sent {"connection_id":152765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:45:36] local.INFO: TCP Data received {"connection_id":152765,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:45:36] local.INFO: Processing buffer {"connection_id":152765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:45:36] local.INFO: Packet analysis {"connection_id":152765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:45:36] local.INFO: Extracted packet for processing {"connection_id":152765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303590400001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786342451000,"timestamp_ms":1786342451000,"timestamp_seconds":1786342451,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4ea738"} 
[2026-08-10 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-08-10 11:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 11:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303590400001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303590400001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:45:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303590400001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":152765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:45:36] local.INFO: GPS data processed {"connection_id":152765,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:45:36] local.INFO: Acknowledgment sent {"connection_id":152765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:45:59] local.INFO: TCP Data received {"connection_id":151846,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:45:59] local.INFO: Processing buffer {"connection_id":151846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:45:59] local.INFO: IMEI packet received {"connection_id":151846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":151846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:46:04] local.INFO: TCP Data received {"connection_id":151846,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:46:04] local.INFO: Processing buffer {"connection_id":151846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:46:04] local.INFO: IMEI packet received {"connection_id":151846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":151846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:46:05] local.INFO: TCP Data received {"connection_id":151846,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:46:05] local.INFO: Processing buffer {"connection_id":151846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:46:05] local.INFO: Packet analysis {"connection_id":151846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:46:05] local.INFO: Extracted packet for processing {"connection_id":151846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303590400001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786342451000,"timestamp_ms":1786342451000,"timestamp_seconds":1786342451,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4ea738"} 
[2026-08-10 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-08-10 11: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-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 11:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303590400001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303590400001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:46:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:46:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303590400001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":151846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:46:05] local.INFO: GPS data processed {"connection_id":151846,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:46:05] local.INFO: Acknowledgment sent {"connection_id":151846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:46:37] local.INFO: TCP Data received {"connection_id":151846,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:46:37] local.INFO: Processing buffer {"connection_id":151846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:46:37] local.INFO: Packet analysis {"connection_id":151846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:46:37] local.INFO: Extracted packet for processing {"connection_id":151846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303590400001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786342451000,"timestamp_ms":1786342451000,"timestamp_seconds":1786342451,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4ea738"} 
[2026-08-10 11:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 11:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303590400001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303590400001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:46:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303590400001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":151846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:46:37] local.INFO: GPS data processed {"connection_id":151846,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:46:37] local.INFO: Acknowledgment sent {"connection_id":151846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:47:04] local.INFO: TCP Data received {"connection_id":154219,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:47:04] local.INFO: Processing buffer {"connection_id":154219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:47:04] local.INFO: IMEI packet received {"connection_id":154219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":154219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:47:09] local.INFO: TCP Data received {"connection_id":154219,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:47:09] local.INFO: Processing buffer {"connection_id":154219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:47:09] local.INFO: IMEI packet received {"connection_id":154219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":154219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:47:10] local.INFO: TCP Data received {"connection_id":154219,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:47:10] local.INFO: Processing buffer {"connection_id":154219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:47:10] local.INFO: Packet analysis {"connection_id":154219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:47:10] local.INFO: Extracted packet for processing {"connection_id":154219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303590400001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786342451000,"timestamp_ms":1786342451000,"timestamp_seconds":1786342451,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4ea738"} 
[2026-08-10 11:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:47: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-08-10 11:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 11:47: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-08-10 11:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303590400001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303590400001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:47:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303590400001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":154219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:47:10] local.INFO: GPS data processed {"connection_id":154219,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:47:10] local.INFO: Acknowledgment sent {"connection_id":154219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:47:14] local.INFO: TCP Data received {"connection_id":154219,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:47:14] local.INFO: Processing buffer {"connection_id":154219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:47:14] local.INFO: Packet analysis {"connection_id":154219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:47:14] local.INFO: Extracted packet for processing {"connection_id":154219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303590400001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786342451000,"timestamp_ms":1786342451000,"timestamp_seconds":1786342451,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4ea738"} 
[2026-08-10 11:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 11:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303590400001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303590400001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:47:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303590400001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":154219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:47:14] local.INFO: GPS data processed {"connection_id":154219,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:47:14] local.INFO: Acknowledgment sent {"connection_id":154219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:47:59] local.INFO: TCP Data received {"connection_id":151847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:47:59] local.INFO: Processing buffer {"connection_id":151847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:47:59] local.INFO: IMEI packet received {"connection_id":151847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":151847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:48:04] local.INFO: TCP Data received {"connection_id":151847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:48:04] local.INFO: Processing buffer {"connection_id":151847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:48:04] local.INFO: IMEI packet received {"connection_id":151847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":151847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:48:05] local.INFO: TCP Data received {"connection_id":151847,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:48:05] local.INFO: Processing buffer {"connection_id":151847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:48:05] local.INFO: Packet analysis {"connection_id":151847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:48:05] local.INFO: Extracted packet for processing {"connection_id":151847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303590400001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786342451000,"timestamp_ms":1786342451000,"timestamp_seconds":1786342451,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4ea738"} 
[2026-08-10 11:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 11:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303590400001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303590400001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:48:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303590400001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":151847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:48:05] local.INFO: GPS data processed {"connection_id":151847,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:48:05] local.INFO: Acknowledgment sent {"connection_id":151847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:48:37] local.INFO: TCP Data received {"connection_id":151847,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:48:37] local.INFO: Processing buffer {"connection_id":151847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:48:37] local.INFO: Packet analysis {"connection_id":151847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:48:37] local.INFO: Extracted packet for processing {"connection_id":151847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303590400001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786342451000,"timestamp_ms":1786342451000,"timestamp_seconds":1786342451,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4ea738"} 
[2026-08-10 11:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 11:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303590400001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303590400001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:48:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303590400001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":151847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:48:37] local.INFO: GPS data processed {"connection_id":151847,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:48:37] local.INFO: Acknowledgment sent {"connection_id":151847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:48:59] local.INFO: TCP Data received {"connection_id":154220,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:48:59] local.INFO: Processing buffer {"connection_id":154220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:48:59] local.INFO: IMEI packet received {"connection_id":154220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":154220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:49:04] local.INFO: TCP Data received {"connection_id":154220,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:49:04] local.INFO: Processing buffer {"connection_id":154220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:49:04] local.INFO: IMEI packet received {"connection_id":154220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":154220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:49:05] local.INFO: TCP Data received {"connection_id":154220,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:49:05] local.INFO: Processing buffer {"connection_id":154220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:49:05] local.INFO: Packet analysis {"connection_id":154220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:49:05] local.INFO: Extracted packet for processing {"connection_id":154220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303590400001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786342451000,"timestamp_ms":1786342451000,"timestamp_seconds":1786342451,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4ea738"} 
[2026-08-10 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-08-10 11:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 11:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303590400001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303590400001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:49:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303590400001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":154220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:49:05] local.INFO: GPS data processed {"connection_id":154220,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:49:05] local.INFO: Acknowledgment sent {"connection_id":154220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:49:36] local.INFO: TCP Data received {"connection_id":154220,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:49:36] local.INFO: Processing buffer {"connection_id":154220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea4ea738012d342a4006abc280000c01021f..."} 
[2026-08-10 11:49:36] local.INFO: Packet analysis {"connection_id":154220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:49:36] local.INFO: Extracted packet for processing {"connection_id":154220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea4e"} 
[2026-08-10 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303590400001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786342451000,"timestamp_ms":1786342451000,"timestamp_seconds":1786342451,"priority":1,"record_length":96,"hex_timestamp":"0000019fea4ea738"} 
[2026-08-10 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-08-10 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 11:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303590400001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303590400001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:49:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303590400001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":154220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:49:36] local.INFO: GPS data processed {"connection_id":154220,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:49:36] local.INFO: Acknowledgment sent {"connection_id":154220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:49:59] local.INFO: TCP Data received {"connection_id":151848,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:49:59] local.INFO: Processing buffer {"connection_id":151848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:49:59] local.INFO: IMEI packet received {"connection_id":151848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":151848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:50:04] local.INFO: TCP Data received {"connection_id":151848,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:50:04] local.INFO: Processing buffer {"connection_id":151848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:50:04] local.INFO: IMEI packet received {"connection_id":151848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":151848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:50:05] local.INFO: TCP Data received {"connection_id":151848,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:50:05] local.INFO: Processing buffer {"connection_id":151848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:50:05] local.INFO: Packet analysis {"connection_id":151848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:50:05] local.INFO: Extracted packet for processing {"connection_id":151848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303667456001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786342752000,"timestamp_ms":1786342752000,"timestamp_seconds":1786342752,"priority":1,"record_length":96,"hex_timestamp":"0000019fea533f00"} 
[2026-08-10 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-08-10 11:50: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-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 11:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303667456001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303667456001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:50:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303667456001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":151848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:50:05] local.INFO: GPS data processed {"connection_id":151848,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:50:05] local.INFO: Acknowledgment sent {"connection_id":151848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:50:41] local.INFO: TCP Data received {"connection_id":151848,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:50:41] local.INFO: Processing buffer {"connection_id":151848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:50:41] local.INFO: Packet analysis {"connection_id":151848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:50:41] local.INFO: Extracted packet for processing {"connection_id":151848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303667456001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786342752000,"timestamp_ms":1786342752000,"timestamp_seconds":1786342752,"priority":1,"record_length":96,"hex_timestamp":"0000019fea533f00"} 
[2026-08-10 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-08-10 11:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 11:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303667456001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303667456001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:50:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303667456001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":151848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:50:41] local.INFO: GPS data processed {"connection_id":151848,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:50:41] local.INFO: Acknowledgment sent {"connection_id":151848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:50:59] local.INFO: TCP Data received {"connection_id":151446,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:50:59] local.INFO: Processing buffer {"connection_id":151446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:50:59] local.INFO: IMEI packet received {"connection_id":151446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":151446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:51:04] local.INFO: TCP Data received {"connection_id":151446,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:51:04] local.INFO: Processing buffer {"connection_id":151446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:51:04] local.INFO: IMEI packet received {"connection_id":151446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":151446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:51:05] local.INFO: TCP Data received {"connection_id":151446,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:51:05] local.INFO: Processing buffer {"connection_id":151446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:51:05] local.INFO: Packet analysis {"connection_id":151446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:51:05] local.INFO: Extracted packet for processing {"connection_id":151446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303667456001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786342752000,"timestamp_ms":1786342752000,"timestamp_seconds":1786342752,"priority":1,"record_length":96,"hex_timestamp":"0000019fea533f00"} 
[2026-08-10 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-08-10 11:51: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-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 11:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:51: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-08-10 11:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303667456001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303667456001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:51:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303667456001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":151446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:51:05] local.INFO: GPS data processed {"connection_id":151446,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:51:05] local.INFO: Acknowledgment sent {"connection_id":151446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:51:37] local.INFO: TCP Data received {"connection_id":151446,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:51:37] local.INFO: Processing buffer {"connection_id":151446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:51:37] local.INFO: Packet analysis {"connection_id":151446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:51:37] local.INFO: Extracted packet for processing {"connection_id":151446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303667456001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786342752000,"timestamp_ms":1786342752000,"timestamp_seconds":1786342752,"priority":1,"record_length":96,"hex_timestamp":"0000019fea533f00"} 
[2026-08-10 11:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 11:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303667456001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303667456001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:51:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303667456001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":151446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:51:37] local.INFO: GPS data processed {"connection_id":151446,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:51:37] local.INFO: Acknowledgment sent {"connection_id":151446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:51:59] local.INFO: TCP Data received {"connection_id":152766,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:51:59] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:51:59] local.INFO: IMEI packet received {"connection_id":152766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":152766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:52:04] local.INFO: TCP Data received {"connection_id":152766,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:52:04] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:52:04] local.INFO: IMEI packet received {"connection_id":152766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":152766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:52:59] local.INFO: TCP Data received {"connection_id":154221,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:52:59] local.INFO: Processing buffer {"connection_id":154221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:52:59] local.INFO: IMEI packet received {"connection_id":154221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":154221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:53:04] local.INFO: TCP Data received {"connection_id":154221,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:53:04] local.INFO: Processing buffer {"connection_id":154221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:53:04] local.INFO: IMEI packet received {"connection_id":154221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":154221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:53:05] local.INFO: TCP Data received {"connection_id":154221,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:53:05] local.INFO: Processing buffer {"connection_id":154221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:53:05] local.INFO: Packet analysis {"connection_id":154221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:53:05] local.INFO: Extracted packet for processing {"connection_id":154221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303667456001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786342752000,"timestamp_ms":1786342752000,"timestamp_seconds":1786342752,"priority":1,"record_length":96,"hex_timestamp":"0000019fea533f00"} 
[2026-08-10 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-08-10 11:53: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-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 11:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 11:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303667456001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303667456001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:53:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303667456001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":154221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:53:05] local.INFO: GPS data processed {"connection_id":154221,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:53:05] local.INFO: Acknowledgment sent {"connection_id":154221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:53:36] local.INFO: TCP Data received {"connection_id":154221,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:53:36] local.INFO: Processing buffer {"connection_id":154221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:53:36] local.INFO: Packet analysis {"connection_id":154221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:53:36] local.INFO: Extracted packet for processing {"connection_id":154221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303667456001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786342752000,"timestamp_ms":1786342752000,"timestamp_seconds":1786342752,"priority":1,"record_length":96,"hex_timestamp":"0000019fea533f00"} 
[2026-08-10 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-08-10 11:53: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-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 11:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 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-08-10 11:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:53: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-08-10 11:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303667456001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303667456001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:53:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303667456001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":154221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:53:36] local.INFO: GPS data processed {"connection_id":154221,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:53:36] local.INFO: Acknowledgment sent {"connection_id":154221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:53:38] local.INFO: TCP Data received {"connection_id":152766,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:53:38] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:53:38] local.INFO: Packet analysis {"connection_id":152766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:53:38] local.INFO: Extracted packet for processing {"connection_id":152766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303667456001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786342752000,"timestamp_ms":1786342752000,"timestamp_seconds":1786342752,"priority":1,"record_length":96,"hex_timestamp":"0000019fea533f00"} 
[2026-08-10 11:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11: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-08-10 11:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:53: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-08-10 11:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303667456001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303667456001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:53:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303667456001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":152766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:53:38] local.INFO: GPS data processed {"connection_id":152766,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:53:38] local.INFO: Acknowledgment sent {"connection_id":152766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:54:04] local.INFO: TCP Data received {"connection_id":151849,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:54:04] local.INFO: Processing buffer {"connection_id":151849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:54:04] local.INFO: IMEI packet received {"connection_id":151849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":151849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:54:09] local.INFO: TCP Data received {"connection_id":151849,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:54:09] local.INFO: Processing buffer {"connection_id":151849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:54:09] local.INFO: IMEI packet received {"connection_id":151849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":151849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:54:10] local.INFO: TCP Data received {"connection_id":151849,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:54:10] local.INFO: Processing buffer {"connection_id":151849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:54:10] local.INFO: Packet analysis {"connection_id":151849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:54:10] local.INFO: Extracted packet for processing {"connection_id":151849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303667456001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786342752000,"timestamp_ms":1786342752000,"timestamp_seconds":1786342752,"priority":1,"record_length":96,"hex_timestamp":"0000019fea533f00"} 
[2026-08-10 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-08-10 11:54: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-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 11:54: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-08-10 11:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303667456001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303667456001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:54:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303667456001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":151849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:54:10] local.INFO: GPS data processed {"connection_id":151849,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:54:10] local.INFO: Acknowledgment sent {"connection_id":151849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:54:14] local.INFO: TCP Data received {"connection_id":151849,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:54:14] local.INFO: Processing buffer {"connection_id":151849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea533f00012d342a4006abc280000c010221..."} 
[2026-08-10 11:54:14] local.INFO: Packet analysis {"connection_id":151849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:54:14] local.INFO: Extracted packet for processing {"connection_id":151849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea53"} 
[2026-08-10 11:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303667456001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786342752000,"timestamp_ms":1786342752000,"timestamp_seconds":1786342752,"priority":1,"record_length":96,"hex_timestamp":"0000019fea533f00"} 
[2026-08-10 11:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 11:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303667456001,"66":25625,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303667456001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:54:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303667456001,"power":25625,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":151849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:54:14] local.INFO: GPS data processed {"connection_id":151849,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:54:14] local.INFO: Acknowledgment sent {"connection_id":151849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:54:59] local.INFO: TCP Data received {"connection_id":154222,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:54:59] local.INFO: Processing buffer {"connection_id":154222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:54:59] local.INFO: IMEI packet received {"connection_id":154222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":154222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:55:04] local.INFO: TCP Data received {"connection_id":154222,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:55:04] local.INFO: Processing buffer {"connection_id":154222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:55:04] local.INFO: IMEI packet received {"connection_id":154222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":154222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:55:05] local.INFO: TCP Data received {"connection_id":154222,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:55:05] local.INFO: Processing buffer {"connection_id":154222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:55:05] local.INFO: Packet analysis {"connection_id":154222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:55:05] local.INFO: Extracted packet for processing {"connection_id":154222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":16,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303744512001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343053000,"timestamp_ms":1786343053000,"timestamp_seconds":1786343053,"priority":1,"record_length":96,"hex_timestamp":"0000019fea57d6c8"} 
[2026-08-10 11:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303744512001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303744512001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:55:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303744512001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":154222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:55:05] local.INFO: GPS data processed {"connection_id":154222,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:55:05] local.INFO: Acknowledgment sent {"connection_id":154222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:55:36] local.INFO: TCP Data received {"connection_id":154222,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:55:36] local.INFO: Processing buffer {"connection_id":154222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:55:36] local.INFO: Packet analysis {"connection_id":154222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:55:36] local.INFO: Extracted packet for processing {"connection_id":154222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":16,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303744512001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786343053000,"timestamp_ms":1786343053000,"timestamp_seconds":1786343053,"priority":1,"record_length":96,"hex_timestamp":"0000019fea57d6c8"} 
[2026-08-10 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-08-10 11:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 11:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303744512001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303744512001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:55:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303744512001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":154222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:55:36] local.INFO: GPS data processed {"connection_id":154222,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:55:36] local.INFO: Acknowledgment sent {"connection_id":154222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:55:59] local.INFO: TCP Data received {"connection_id":151850,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:55:59] local.INFO: Processing buffer {"connection_id":151850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:55:59] local.INFO: IMEI packet received {"connection_id":151850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":151850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:56:04] local.INFO: TCP Data received {"connection_id":151850,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:56:04] local.INFO: Processing buffer {"connection_id":151850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:56:04] local.INFO: IMEI packet received {"connection_id":151850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":151850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:56:06] local.INFO: TCP Data received {"connection_id":151850,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:56:06] local.INFO: Processing buffer {"connection_id":151850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:56:06] local.INFO: Packet analysis {"connection_id":151850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:56:06] local.INFO: Extracted packet for processing {"connection_id":151850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":16,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303744512001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786343053000,"timestamp_ms":1786343053000,"timestamp_seconds":1786343053,"priority":1,"record_length":96,"hex_timestamp":"0000019fea57d6c8"} 
[2026-08-10 11:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303744512001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303744512001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:56:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303744512001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":151850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:56:06] local.INFO: GPS data processed {"connection_id":151850,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:56:06] local.INFO: Acknowledgment sent {"connection_id":151850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:56:38] local.INFO: TCP Data received {"connection_id":151850,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:56:38] local.INFO: Processing buffer {"connection_id":151850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:56:38] local.INFO: Packet analysis {"connection_id":151850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:56:38] local.INFO: Extracted packet for processing {"connection_id":151850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":16,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303744512001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786343053000,"timestamp_ms":1786343053000,"timestamp_seconds":1786343053,"priority":1,"record_length":96,"hex_timestamp":"0000019fea57d6c8"} 
[2026-08-10 11:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:56: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-08-10 11: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-08-10 11:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303744512001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303744512001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:56:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303744512001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":151850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:56:38] local.INFO: GPS data processed {"connection_id":151850,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:56:38] local.INFO: Acknowledgment sent {"connection_id":151850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:56:59] local.INFO: TCP Data received {"connection_id":151447,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:56:59] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:56:59] local.INFO: IMEI packet received {"connection_id":151447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":151447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:57:04] local.INFO: TCP Data received {"connection_id":151447,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:57:04] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:57:04] local.INFO: IMEI packet received {"connection_id":151447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":151447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:57:05] local.INFO: TCP Data received {"connection_id":151447,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:57:05] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:57:05] local.INFO: Packet analysis {"connection_id":151447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:57:05] local.INFO: Extracted packet for processing {"connection_id":151447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":16,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303744512001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343053000,"timestamp_ms":1786343053000,"timestamp_seconds":1786343053,"priority":1,"record_length":96,"hex_timestamp":"0000019fea57d6c8"} 
[2026-08-10 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-08-10 11:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 11:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:57: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-08-10 11:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303744512001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303744512001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:57:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303744512001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":151447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:57:05] local.INFO: GPS data processed {"connection_id":151447,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:57:05] local.INFO: Acknowledgment sent {"connection_id":151447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:57:36] local.INFO: TCP Data received {"connection_id":151447,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:57:36] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:57:36] local.INFO: Packet analysis {"connection_id":151447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:57:36] local.INFO: Extracted packet for processing {"connection_id":151447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":16,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303744512001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786343053000,"timestamp_ms":1786343053000,"timestamp_seconds":1786343053,"priority":1,"record_length":96,"hex_timestamp":"0000019fea57d6c8"} 
[2026-08-10 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-08-10 11:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 11:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303744512001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303744512001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:57:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303744512001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":151447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:57:36] local.INFO: GPS data processed {"connection_id":151447,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:57:36] local.INFO: Acknowledgment sent {"connection_id":151447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:58:04] local.INFO: TCP Data received {"connection_id":151448,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:58:04] local.INFO: Processing buffer {"connection_id":151448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:58:04] local.INFO: IMEI packet received {"connection_id":151448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":151448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:58:34] local.INFO: TCP Data received {"connection_id":152767,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:58:34] local.INFO: Processing buffer {"connection_id":152767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:58:34] local.INFO: IMEI packet received {"connection_id":152767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":152767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:58:39] local.INFO: TCP Data received {"connection_id":152767,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:58:39] local.INFO: Processing buffer {"connection_id":152767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:58:39] local.INFO: IMEI packet received {"connection_id":152767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":152767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:58:40] local.INFO: TCP Data received {"connection_id":152767,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:58:40] local.INFO: Processing buffer {"connection_id":152767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:58:40] local.INFO: Packet analysis {"connection_id":152767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:58:40] local.INFO: Extracted packet for processing {"connection_id":152767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":16,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11: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-08-10 11:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303744512001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786343053000,"timestamp_ms":1786343053000,"timestamp_seconds":1786343053,"priority":1,"record_length":96,"hex_timestamp":"0000019fea57d6c8"} 
[2026-08-10 11:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11: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-08-10 11:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303744512001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303744512001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:58:40] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303744512001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":152767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:58:40] local.INFO: GPS data processed {"connection_id":152767,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:58:40] local.INFO: Acknowledgment sent {"connection_id":152767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:59:04] local.INFO: TCP Data received {"connection_id":154223,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:59:04] local.INFO: Processing buffer {"connection_id":154223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:59:04] local.INFO: IMEI packet received {"connection_id":154223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":154223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 11:59:09] local.INFO: TCP Data received {"connection_id":154223,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:59:09] local.INFO: Processing buffer {"connection_id":154223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:59:09] local.INFO: IMEI packet received {"connection_id":154223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 11:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":154223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 11:59:11] local.INFO: TCP Data received {"connection_id":154223,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:59:11] local.INFO: Processing buffer {"connection_id":154223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:59:11] local.INFO: Packet analysis {"connection_id":154223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:59:11] local.INFO: Extracted packet for processing {"connection_id":154223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":16,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 11:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303744512001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786343053000,"timestamp_ms":1786343053000,"timestamp_seconds":1786343053,"priority":1,"record_length":96,"hex_timestamp":"0000019fea57d6c8"} 
[2026-08-10 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-08-10 11:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:59: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-08-10 11:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 11:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":154223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":154223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":154223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:59: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-08-10 11:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303744512001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303744512001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:59:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:59:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303744512001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":154223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:59:11] local.INFO: GPS data processed {"connection_id":154223,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:59:11] local.INFO: Acknowledgment sent {"connection_id":154223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:59:43] local.INFO: TCP Data received {"connection_id":154223,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:59:43] local.INFO: Processing buffer {"connection_id":154223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea57d6c8012d342a4006abc2800010010223..."} 
[2026-08-10 11:59:43] local.INFO: Packet analysis {"connection_id":154223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:59:43] local.INFO: Extracted packet for processing {"connection_id":154223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea57"} 
[2026-08-10 11:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":16,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 11:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 11:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303744512001,"note":"Value kept but may cause issues"} 
[2026-08-10 11:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 11:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 11:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 11:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786343053000,"timestamp_ms":1786343053000,"timestamp_seconds":1786343053,"priority":1,"record_length":96,"hex_timestamp":"0000019fea57d6c8"} 
[2026-08-10 11:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 11:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-10 11:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 11:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 11:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 11:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 11:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":154223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 11:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":154223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":154223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 11:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 11:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 11:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 11:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303744512001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 11:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 11:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 11:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303744512001,"description":"Unknown IO ID 0"} 
[2026-08-10 11:59:43] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 11:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 11:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 11:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 11:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303744512001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 11:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":154223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 11:59:43] local.INFO: GPS data processed {"connection_id":154223,"processed":1,"errors":0,"total":1} 
[2026-08-10 11:59:43] local.INFO: Acknowledgment sent {"connection_id":154223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 11:59:59] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:59:59] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 11:59:59] local.INFO: IMEI packet received {"connection_id":152768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 11:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":152768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:00:04] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:00:04] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:00:04] local.INFO: IMEI packet received {"connection_id":152768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":152768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:00:05] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:00:05] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:00:05] local.INFO: Packet analysis {"connection_id":152768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:00:05] local.INFO: Extracted packet for processing {"connection_id":152768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303821568001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343354000,"timestamp_ms":1786343354000,"timestamp_seconds":1786343354,"priority":1,"record_length":96,"hex_timestamp":"0000019fea5c6e90"} 
[2026-08-10 12:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303821568001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303821568001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:00:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303821568001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":152768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:00:05] local.INFO: GPS data processed {"connection_id":152768,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:00:05] local.INFO: Acknowledgment sent {"connection_id":152768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:00:37] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:00:37] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:00:37] local.INFO: Packet analysis {"connection_id":152768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:00:37] local.INFO: Extracted packet for processing {"connection_id":152768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303821568001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786343354000,"timestamp_ms":1786343354000,"timestamp_seconds":1786343354,"priority":1,"record_length":96,"hex_timestamp":"0000019fea5c6e90"} 
[2026-08-10 12:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12: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-08-10 12:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303821568001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303821568001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:00:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303821568001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":152768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:00:37] local.INFO: GPS data processed {"connection_id":152768,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:00:37] local.INFO: Acknowledgment sent {"connection_id":152768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:01:04] local.INFO: TCP Data received {"connection_id":151449,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:01:04] local.INFO: Processing buffer {"connection_id":151449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:01:04] local.INFO: IMEI packet received {"connection_id":151449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":151449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:01:09] local.INFO: TCP Data received {"connection_id":151449,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:01:09] local.INFO: Processing buffer {"connection_id":151449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:01:09] local.INFO: IMEI packet received {"connection_id":151449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":151449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:01:10] local.INFO: TCP Data received {"connection_id":151449,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:01:11] local.INFO: Processing buffer {"connection_id":151449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:01:11] local.INFO: Packet analysis {"connection_id":151449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:01:11] local.INFO: Extracted packet for processing {"connection_id":151449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303821568001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786343354000,"timestamp_ms":1786343354000,"timestamp_seconds":1786343354,"priority":1,"record_length":96,"hex_timestamp":"0000019fea5c6e90"} 
[2026-08-10 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-08-10 12:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:01: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-08-10 12:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 12:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303821568001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303821568001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:01:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:01:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303821568001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":151449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:01:11] local.INFO: GPS data processed {"connection_id":151449,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:01:11] local.INFO: Acknowledgment sent {"connection_id":151449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:01:14] local.INFO: TCP Data received {"connection_id":151449,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:01:14] local.INFO: Processing buffer {"connection_id":151449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:01:14] local.INFO: Packet analysis {"connection_id":151449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:01:14] local.INFO: Extracted packet for processing {"connection_id":151449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:01:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303821568001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786343354000,"timestamp_ms":1786343354000,"timestamp_seconds":1786343354,"priority":1,"record_length":96,"hex_timestamp":"0000019fea5c6e90"} 
[2026-08-10 12:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303821568001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303821568001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:01:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:01:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303821568001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":151449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:01:14] local.INFO: GPS data processed {"connection_id":151449,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:01:14] local.INFO: Acknowledgment sent {"connection_id":151449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:01:59] local.INFO: TCP Data received {"connection_id":151450,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:01:59] local.INFO: Processing buffer {"connection_id":151450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:01:59] local.INFO: IMEI packet received {"connection_id":151450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":151450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:02:04] local.INFO: TCP Data received {"connection_id":151450,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:02:04] local.INFO: Processing buffer {"connection_id":151450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:02:04] local.INFO: IMEI packet received {"connection_id":151450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":151450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:02:05] local.INFO: TCP Data received {"connection_id":151450,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:02:05] local.INFO: Processing buffer {"connection_id":151450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:02:05] local.INFO: Packet analysis {"connection_id":151450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:02:05] local.INFO: Extracted packet for processing {"connection_id":151450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303821568001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343354000,"timestamp_ms":1786343354000,"timestamp_seconds":1786343354,"priority":1,"record_length":96,"hex_timestamp":"0000019fea5c6e90"} 
[2026-08-10 12:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303821568001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303821568001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:02:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303821568001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":151450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:02:05] local.INFO: GPS data processed {"connection_id":151450,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:02:05] local.INFO: Acknowledgment sent {"connection_id":151450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:02:09] local.INFO: TCP Data received {"connection_id":151450,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:02:09] local.INFO: Processing buffer {"connection_id":151450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:02:09] local.INFO: Packet analysis {"connection_id":151450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:02:09] local.INFO: Extracted packet for processing {"connection_id":151450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303821568001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786343354000,"timestamp_ms":1786343354000,"timestamp_seconds":1786343354,"priority":1,"record_length":96,"hex_timestamp":"0000019fea5c6e90"} 
[2026-08-10 12:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12: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-08-10 12:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303821568001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303821568001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:02:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303821568001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":151450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:02:09] local.INFO: GPS data processed {"connection_id":151450,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:02:09] local.INFO: Acknowledgment sent {"connection_id":151450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:02:41] local.INFO: TCP Data received {"connection_id":151450,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:02:41] local.INFO: Processing buffer {"connection_id":151450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:02:41] local.INFO: Packet analysis {"connection_id":151450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:02:41] local.INFO: Extracted packet for processing {"connection_id":151450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303821568001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786343354000,"timestamp_ms":1786343354000,"timestamp_seconds":1786343354,"priority":1,"record_length":96,"hex_timestamp":"0000019fea5c6e90"} 
[2026-08-10 12:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12: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-08-10 12:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303821568001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303821568001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:02:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303821568001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":151450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:02:41] local.INFO: GPS data processed {"connection_id":151450,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:02:41] local.INFO: Acknowledgment sent {"connection_id":151450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:02:59] local.INFO: TCP Data received {"connection_id":154224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:02:59] local.INFO: Processing buffer {"connection_id":154224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:02:59] local.INFO: IMEI packet received {"connection_id":154224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":154224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:03:04] local.INFO: TCP Data received {"connection_id":154224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:03:04] local.INFO: Processing buffer {"connection_id":154224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:03:04] local.INFO: IMEI packet received {"connection_id":154224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":154224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:03:05] local.INFO: TCP Data received {"connection_id":154224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:03:05] local.INFO: Processing buffer {"connection_id":154224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:03:05] local.INFO: Packet analysis {"connection_id":154224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:03:05] local.INFO: Extracted packet for processing {"connection_id":154224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303821568001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343354000,"timestamp_ms":1786343354000,"timestamp_seconds":1786343354,"priority":1,"record_length":96,"hex_timestamp":"0000019fea5c6e90"} 
[2026-08-10 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-08-10 12:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303821568001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303821568001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:03:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303821568001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":154224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:03:05] local.INFO: GPS data processed {"connection_id":154224,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:03:05] local.INFO: Acknowledgment sent {"connection_id":154224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:03:36] local.INFO: TCP Data received {"connection_id":154224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:03:36] local.INFO: Processing buffer {"connection_id":154224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:03:36] local.INFO: Packet analysis {"connection_id":154224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:03:36] local.INFO: Extracted packet for processing {"connection_id":154224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303821568001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786343354000,"timestamp_ms":1786343354000,"timestamp_seconds":1786343354,"priority":1,"record_length":96,"hex_timestamp":"0000019fea5c6e90"} 
[2026-08-10 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-08-10 12:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303821568001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303821568001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:03:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303821568001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":154224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:03:36] local.INFO: GPS data processed {"connection_id":154224,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:03:36] local.INFO: Acknowledgment sent {"connection_id":154224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:04:00] local.INFO: TCP Data received {"connection_id":154225,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:04:00] local.INFO: Processing buffer {"connection_id":154225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:04:00] local.INFO: IMEI packet received {"connection_id":154225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":154225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:04:04] local.INFO: TCP Data received {"connection_id":154225,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:04:04] local.INFO: Processing buffer {"connection_id":154225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:04:04] local.INFO: IMEI packet received {"connection_id":154225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":154225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:04:05] local.INFO: TCP Data received {"connection_id":154225,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:04:05] local.INFO: Processing buffer {"connection_id":154225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:04:05] local.INFO: Packet analysis {"connection_id":154225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:04:05] local.INFO: Extracted packet for processing {"connection_id":154225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303821568001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343354000,"timestamp_ms":1786343354000,"timestamp_seconds":1786343354,"priority":1,"record_length":96,"hex_timestamp":"0000019fea5c6e90"} 
[2026-08-10 12:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303821568001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303821568001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:04:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303821568001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":154225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:04:05] local.INFO: GPS data processed {"connection_id":154225,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:04:05] local.INFO: Acknowledgment sent {"connection_id":154225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:04:36] local.INFO: TCP Data received {"connection_id":154225,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:04:36] local.INFO: Processing buffer {"connection_id":154225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea5c6e90012d342a4006abc2800014010220..."} 
[2026-08-10 12:04:36] local.INFO: Packet analysis {"connection_id":154225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:04:36] local.INFO: Extracted packet for processing {"connection_id":154225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea5c"} 
[2026-08-10 12:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303821568001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786343354000,"timestamp_ms":1786343354000,"timestamp_seconds":1786343354,"priority":1,"record_length":96,"hex_timestamp":"0000019fea5c6e90"} 
[2026-08-10 12:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303821568001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303821568001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:04:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303821568001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":154225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:04:36] local.INFO: GPS data processed {"connection_id":154225,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:04:36] local.INFO: Acknowledgment sent {"connection_id":154225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:04:59] local.INFO: TCP Data received {"connection_id":154226,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:04:59] local.INFO: Processing buffer {"connection_id":154226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:04:59] local.INFO: IMEI packet received {"connection_id":154226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":154226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:05:04] local.INFO: TCP Data received {"connection_id":154226,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:05:04] local.INFO: Processing buffer {"connection_id":154226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:05:04] local.INFO: IMEI packet received {"connection_id":154226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":154226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:05:05] local.INFO: TCP Data received {"connection_id":154226,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:05:05] local.INFO: Processing buffer {"connection_id":154226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:05:05] local.INFO: Packet analysis {"connection_id":154226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:05:05] local.INFO: Extracted packet for processing {"connection_id":154226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303898624001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343655000,"timestamp_ms":1786343655000,"timestamp_seconds":1786343655,"priority":1,"record_length":96,"hex_timestamp":"0000019fea610658"} 
[2026-08-10 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-08-10 12:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:05: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-08-10 12:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303898624001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303898624001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:05:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303898624001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":154226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:05:05] local.INFO: GPS data processed {"connection_id":154226,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:05:05] local.INFO: Acknowledgment sent {"connection_id":154226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:05:36] local.INFO: TCP Data received {"connection_id":154226,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:05:36] local.INFO: Processing buffer {"connection_id":154226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:05:36] local.INFO: Packet analysis {"connection_id":154226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:05:36] local.INFO: Extracted packet for processing {"connection_id":154226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303898624001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786343655000,"timestamp_ms":1786343655000,"timestamp_seconds":1786343655,"priority":1,"record_length":96,"hex_timestamp":"0000019fea610658"} 
[2026-08-10 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-08-10 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303898624001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303898624001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:05:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303898624001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":154226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:05:36] local.INFO: GPS data processed {"connection_id":154226,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:05:36] local.INFO: Acknowledgment sent {"connection_id":154226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:05:59] local.INFO: TCP Data received {"connection_id":152769,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:05:59] local.INFO: Processing buffer {"connection_id":152769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:05:59] local.INFO: IMEI packet received {"connection_id":152769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":152769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:06:04] local.INFO: TCP Data received {"connection_id":152769,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:06:04] local.INFO: Processing buffer {"connection_id":152769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:06:04] local.INFO: IMEI packet received {"connection_id":152769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":152769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:06:05] local.INFO: TCP Data received {"connection_id":152769,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:06:05] local.INFO: Processing buffer {"connection_id":152769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:06:05] local.INFO: Packet analysis {"connection_id":152769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:06:05] local.INFO: Extracted packet for processing {"connection_id":152769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303898624001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343655000,"timestamp_ms":1786343655000,"timestamp_seconds":1786343655,"priority":1,"record_length":96,"hex_timestamp":"0000019fea610658"} 
[2026-08-10 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-08-10 12: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-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303898624001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303898624001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:06:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:06:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303898624001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":152769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:06:05] local.INFO: GPS data processed {"connection_id":152769,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:06:05] local.INFO: Acknowledgment sent {"connection_id":152769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:06:36] local.INFO: TCP Data received {"connection_id":152769,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:06:36] local.INFO: Processing buffer {"connection_id":152769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:06:36] local.INFO: Packet analysis {"connection_id":152769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:06:36] local.INFO: Extracted packet for processing {"connection_id":152769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303898624001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786343655000,"timestamp_ms":1786343655000,"timestamp_seconds":1786343655,"priority":1,"record_length":96,"hex_timestamp":"0000019fea610658"} 
[2026-08-10 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-08-10 12:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303898624001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303898624001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:06:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303898624001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":152769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:06:36] local.INFO: GPS data processed {"connection_id":152769,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:06:36] local.INFO: Acknowledgment sent {"connection_id":152769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:06:59] local.INFO: TCP Data received {"connection_id":151851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:06:59] local.INFO: Processing buffer {"connection_id":151851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:06:59] local.INFO: IMEI packet received {"connection_id":151851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":151851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:07:04] local.INFO: TCP Data received {"connection_id":151851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:07:04] local.INFO: Processing buffer {"connection_id":151851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:07:04] local.INFO: IMEI packet received {"connection_id":151851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":151851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:07:05] local.INFO: TCP Data received {"connection_id":151851,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:07:05] local.INFO: Processing buffer {"connection_id":151851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:07:05] local.INFO: Packet analysis {"connection_id":151851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:07:05] local.INFO: Extracted packet for processing {"connection_id":151851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:07:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303898624001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343655000,"timestamp_ms":1786343655000,"timestamp_seconds":1786343655,"priority":1,"record_length":96,"hex_timestamp":"0000019fea610658"} 
[2026-08-10 12:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303898624001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303898624001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:07:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303898624001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":151851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:07:05] local.INFO: GPS data processed {"connection_id":151851,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:07:05] local.INFO: Acknowledgment sent {"connection_id":151851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:07:37] local.INFO: TCP Data received {"connection_id":151851,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:07:37] local.INFO: Processing buffer {"connection_id":151851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:07:37] local.INFO: Packet analysis {"connection_id":151851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:07:37] local.INFO: Extracted packet for processing {"connection_id":151851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303898624001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786343655000,"timestamp_ms":1786343655000,"timestamp_seconds":1786343655,"priority":1,"record_length":96,"hex_timestamp":"0000019fea610658"} 
[2026-08-10 12:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303898624001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303898624001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:07:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303898624001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":151851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:07:37] local.INFO: GPS data processed {"connection_id":151851,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:07:37] local.INFO: Acknowledgment sent {"connection_id":151851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:07:59] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:07:59] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:07:59] local.INFO: IMEI packet received {"connection_id":152770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":152770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:08:04] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:08:04] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:08:04] local.INFO: IMEI packet received {"connection_id":152770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":152770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:08:05] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:08:05] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:08:05] local.INFO: Packet analysis {"connection_id":152770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:08:05] local.INFO: Extracted packet for processing {"connection_id":152770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303898624001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343655000,"timestamp_ms":1786343655000,"timestamp_seconds":1786343655,"priority":1,"record_length":96,"hex_timestamp":"0000019fea610658"} 
[2026-08-10 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-08-10 12: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-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:08: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-08-10 12:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303898624001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303898624001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:08:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303898624001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":152770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:08:05] local.INFO: GPS data processed {"connection_id":152770,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:08:05] local.INFO: Acknowledgment sent {"connection_id":152770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:08:36] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:08:36] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:08:36] local.INFO: Packet analysis {"connection_id":152770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:08:36] local.INFO: Extracted packet for processing {"connection_id":152770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303898624001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786343655000,"timestamp_ms":1786343655000,"timestamp_seconds":1786343655,"priority":1,"record_length":96,"hex_timestamp":"0000019fea610658"} 
[2026-08-10 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-08-10 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12: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-08-10 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-08-10 12:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303898624001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303898624001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:08:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303898624001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":152770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:08:36] local.INFO: GPS data processed {"connection_id":152770,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:08:36] local.INFO: Acknowledgment sent {"connection_id":152770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:08:59] local.INFO: TCP Data received {"connection_id":152771,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:08:59] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:08:59] local.INFO: IMEI packet received {"connection_id":152771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":152771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:09:04] local.INFO: TCP Data received {"connection_id":152771,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:09:04] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:09:04] local.INFO: IMEI packet received {"connection_id":152771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":152771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:09:05] local.INFO: TCP Data received {"connection_id":152771,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:09:05] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:09:05] local.INFO: Packet analysis {"connection_id":152771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:09:05] local.INFO: Extracted packet for processing {"connection_id":152771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303898624001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343655000,"timestamp_ms":1786343655000,"timestamp_seconds":1786343655,"priority":1,"record_length":96,"hex_timestamp":"0000019fea610658"} 
[2026-08-10 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-08-10 12: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-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 12:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303898624001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303898624001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:09:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303898624001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":152771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:09:05] local.INFO: GPS data processed {"connection_id":152771,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:09:05] local.INFO: Acknowledgment sent {"connection_id":152771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:09:36] local.INFO: TCP Data received {"connection_id":152771,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:09:36] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea610658012d342a4006abc2800014010222..."} 
[2026-08-10 12:09:36] local.INFO: Packet analysis {"connection_id":152771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:09:36] local.INFO: Extracted packet for processing {"connection_id":152771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea61"} 
[2026-08-10 12:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303898624001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786343655000,"timestamp_ms":1786343655000,"timestamp_seconds":1786343655,"priority":1,"record_length":96,"hex_timestamp":"0000019fea610658"} 
[2026-08-10 12:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12: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-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303898624001,"66":25615,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303898624001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:09:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303898624001,"power":25615,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":152771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:09:36] local.INFO: GPS data processed {"connection_id":152771,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:09:36] local.INFO: Acknowledgment sent {"connection_id":152771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:10:04] local.INFO: TCP Data received {"connection_id":154227,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:10:04] local.INFO: Processing buffer {"connection_id":154227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:10:04] local.INFO: IMEI packet received {"connection_id":154227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":154227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:10:09] local.INFO: TCP Data received {"connection_id":154227,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:10:09] local.INFO: Processing buffer {"connection_id":154227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:10:09] local.INFO: IMEI packet received {"connection_id":154227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":154227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:10:10] local.INFO: TCP Data received {"connection_id":154227,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:10:10] local.INFO: Processing buffer {"connection_id":154227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:10:10] local.INFO: Packet analysis {"connection_id":154227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:10:10] local.INFO: Extracted packet for processing {"connection_id":154227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303975680001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786343956000,"timestamp_ms":1786343956000,"timestamp_seconds":1786343956,"priority":1,"record_length":96,"hex_timestamp":"0000019fea659e20"} 
[2026-08-10 12:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:10: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-08-10 12:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303975680001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303975680001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:10:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303975680001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":154227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:10:10] local.INFO: GPS data processed {"connection_id":154227,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:10:10] local.INFO: Acknowledgment sent {"connection_id":154227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:10:14] local.INFO: TCP Data received {"connection_id":154227,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:10:14] local.INFO: Processing buffer {"connection_id":154227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:10:14] local.INFO: Packet analysis {"connection_id":154227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:10:14] local.INFO: Extracted packet for processing {"connection_id":154227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303975680001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786343956000,"timestamp_ms":1786343956000,"timestamp_seconds":1786343956,"priority":1,"record_length":96,"hex_timestamp":"0000019fea659e20"} 
[2026-08-10 12:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303975680001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303975680001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:10:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303975680001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":154227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:10:14] local.INFO: GPS data processed {"connection_id":154227,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:10:14] local.INFO: Acknowledgment sent {"connection_id":154227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:10:59] local.INFO: TCP Data received {"connection_id":151451,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:10:59] local.INFO: Processing buffer {"connection_id":151451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:10:59] local.INFO: IMEI packet received {"connection_id":151451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":151451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:11:04] local.INFO: TCP Data received {"connection_id":151451,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:11:04] local.INFO: Processing buffer {"connection_id":151451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:11:04] local.INFO: IMEI packet received {"connection_id":151451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":151451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:11:05] local.INFO: TCP Data received {"connection_id":151451,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:11:05] local.INFO: Processing buffer {"connection_id":151451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:11:05] local.INFO: Packet analysis {"connection_id":151451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:11:05] local.INFO: Extracted packet for processing {"connection_id":151451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303975680001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343956000,"timestamp_ms":1786343956000,"timestamp_seconds":1786343956,"priority":1,"record_length":96,"hex_timestamp":"0000019fea659e20"} 
[2026-08-10 12:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303975680001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303975680001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:11:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303975680001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":151451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:11:05] local.INFO: GPS data processed {"connection_id":151451,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:11:05] local.INFO: Acknowledgment sent {"connection_id":151451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:11:36] local.INFO: TCP Data received {"connection_id":151451,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:11:36] local.INFO: Processing buffer {"connection_id":151451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:11:36] local.INFO: Packet analysis {"connection_id":151451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:11:36] local.INFO: Extracted packet for processing {"connection_id":151451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303975680001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786343956000,"timestamp_ms":1786343956000,"timestamp_seconds":1786343956,"priority":1,"record_length":96,"hex_timestamp":"0000019fea659e20"} 
[2026-08-10 12:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303975680001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303975680001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:11:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303975680001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":151451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:11:36] local.INFO: GPS data processed {"connection_id":151451,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:11:36] local.INFO: Acknowledgment sent {"connection_id":151451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:11:59] local.INFO: TCP Data received {"connection_id":151852,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:11:59] local.INFO: Processing buffer {"connection_id":151852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:11:59] local.INFO: IMEI packet received {"connection_id":151852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":151852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:12:04] local.INFO: TCP Data received {"connection_id":151852,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:12:04] local.INFO: Processing buffer {"connection_id":151852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:12:04] local.INFO: IMEI packet received {"connection_id":151852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":151852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:12:05] local.INFO: TCP Data received {"connection_id":151852,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:12:05] local.INFO: Processing buffer {"connection_id":151852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:12:05] local.INFO: Packet analysis {"connection_id":151852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:12:05] local.INFO: Extracted packet for processing {"connection_id":151852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303975680001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343956000,"timestamp_ms":1786343956000,"timestamp_seconds":1786343956,"priority":1,"record_length":96,"hex_timestamp":"0000019fea659e20"} 
[2026-08-10 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-08-10 12:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 12:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303975680001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303975680001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:12:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303975680001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":151852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:12:05] local.INFO: GPS data processed {"connection_id":151852,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:12:05] local.INFO: Acknowledgment sent {"connection_id":151852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:12:36] local.INFO: TCP Data received {"connection_id":151852,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:12:36] local.INFO: Processing buffer {"connection_id":151852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:12:36] local.INFO: Packet analysis {"connection_id":151852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:12:36] local.INFO: Extracted packet for processing {"connection_id":151852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303975680001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786343956000,"timestamp_ms":1786343956000,"timestamp_seconds":1786343956,"priority":1,"record_length":96,"hex_timestamp":"0000019fea659e20"} 
[2026-08-10 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-08-10 12:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 12:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303975680001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303975680001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:12:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303975680001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":151852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:12:36] local.INFO: GPS data processed {"connection_id":151852,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:12:36] local.INFO: Acknowledgment sent {"connection_id":151852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:12:59] local.INFO: TCP Data received {"connection_id":151452,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:12:59] local.INFO: Processing buffer {"connection_id":151452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:12:59] local.INFO: IMEI packet received {"connection_id":151452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":151452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:13:04] local.INFO: TCP Data received {"connection_id":151452,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:13:04] local.INFO: Processing buffer {"connection_id":151452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:13:04] local.INFO: IMEI packet received {"connection_id":151452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":151452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:13:05] local.INFO: TCP Data received {"connection_id":151452,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:13:05] local.INFO: Processing buffer {"connection_id":151452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:13:05] local.INFO: Packet analysis {"connection_id":151452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:13:05] local.INFO: Extracted packet for processing {"connection_id":151452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303975680001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786343956000,"timestamp_ms":1786343956000,"timestamp_seconds":1786343956,"priority":1,"record_length":96,"hex_timestamp":"0000019fea659e20"} 
[2026-08-10 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-08-10 12:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 12:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303975680001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303975680001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:13:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303975680001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":151452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:13:05] local.INFO: GPS data processed {"connection_id":151452,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:13:05] local.INFO: Acknowledgment sent {"connection_id":151452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:13:36] local.INFO: TCP Data received {"connection_id":151452,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:13:36] local.INFO: Processing buffer {"connection_id":151452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:13:36] local.INFO: Packet analysis {"connection_id":151452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:13:36] local.INFO: Extracted packet for processing {"connection_id":151452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303975680001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786343956000,"timestamp_ms":1786343956000,"timestamp_seconds":1786343956,"priority":1,"record_length":96,"hex_timestamp":"0000019fea659e20"} 
[2026-08-10 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-08-10 12:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303975680001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303975680001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:13:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303975680001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":151452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:13:36] local.INFO: GPS data processed {"connection_id":151452,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:13:36] local.INFO: Acknowledgment sent {"connection_id":151452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:14:04] local.INFO: TCP Data received {"connection_id":151853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:14:04] local.INFO: Processing buffer {"connection_id":151853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:14:04] local.INFO: IMEI packet received {"connection_id":151853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":151853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:14:09] local.INFO: TCP Data received {"connection_id":151853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:14:09] local.INFO: Processing buffer {"connection_id":151853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:14:09] local.INFO: IMEI packet received {"connection_id":151853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":151853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:14:10] local.INFO: TCP Data received {"connection_id":151853,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:14:10] local.INFO: Processing buffer {"connection_id":151853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:14:10] local.INFO: Packet analysis {"connection_id":151853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:14:10] local.INFO: Extracted packet for processing {"connection_id":151853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303975680001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786343956000,"timestamp_ms":1786343956000,"timestamp_seconds":1786343956,"priority":1,"record_length":96,"hex_timestamp":"0000019fea659e20"} 
[2026-08-10 12:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:14: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-08-10 12: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-08-10 12:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303975680001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303975680001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:14:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303975680001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":151853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:14:10] local.INFO: GPS data processed {"connection_id":151853,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:14:10] local.INFO: Acknowledgment sent {"connection_id":151853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:14:14] local.INFO: TCP Data received {"connection_id":151853,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:14:14] local.INFO: Processing buffer {"connection_id":151853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea659e20012d342a4006abc2800014010225..."} 
[2026-08-10 12:14:14] local.INFO: Packet analysis {"connection_id":151853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:14:14] local.INFO: Extracted packet for processing {"connection_id":151853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea65"} 
[2026-08-10 12:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457303975680001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786343956000,"timestamp_ms":1786343956000,"timestamp_seconds":1786343956,"priority":1,"record_length":96,"hex_timestamp":"0000019fea659e20"} 
[2026-08-10 12:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 12:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457303975680001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457303975680001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:14:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457303975680001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":151853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:14:14] local.INFO: GPS data processed {"connection_id":151853,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:14:14] local.INFO: Acknowledgment sent {"connection_id":151853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:14:59] local.INFO: TCP Data received {"connection_id":152772,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:14:59] local.INFO: Processing buffer {"connection_id":152772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:14:59] local.INFO: IMEI packet received {"connection_id":152772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":152772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:15:04] local.INFO: TCP Data received {"connection_id":152772,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:15:04] local.INFO: Processing buffer {"connection_id":152772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:15:04] local.INFO: IMEI packet received {"connection_id":152772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":152772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:15:05] local.INFO: TCP Data received {"connection_id":152772,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:15:05] local.INFO: Processing buffer {"connection_id":152772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:15:05] local.INFO: Packet analysis {"connection_id":152772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:15:05] local.INFO: Extracted packet for processing {"connection_id":152772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304052736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344257000,"timestamp_ms":1786344257000,"timestamp_seconds":1786344257,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6a35e8"} 
[2026-08-10 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-08-10 12:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304052736001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304052736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:15:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304052736001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":152772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:15:05] local.INFO: GPS data processed {"connection_id":152772,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:15:05] local.INFO: Acknowledgment sent {"connection_id":152772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:15:36] local.INFO: TCP Data received {"connection_id":152772,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:15:36] local.INFO: Processing buffer {"connection_id":152772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:15:36] local.INFO: Packet analysis {"connection_id":152772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:15:36] local.INFO: Extracted packet for processing {"connection_id":152772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304052736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786344257000,"timestamp_ms":1786344257000,"timestamp_seconds":1786344257,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6a35e8"} 
[2026-08-10 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-08-10 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304052736001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304052736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:15:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304052736001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":152772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:15:36] local.INFO: GPS data processed {"connection_id":152772,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:15:36] local.INFO: Acknowledgment sent {"connection_id":152772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:15:59] local.INFO: TCP Data received {"connection_id":151453,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:15:59] local.INFO: Processing buffer {"connection_id":151453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:15:59] local.INFO: IMEI packet received {"connection_id":151453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":151453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:16:04] local.INFO: TCP Data received {"connection_id":151453,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:16:04] local.INFO: Processing buffer {"connection_id":151453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:16:04] local.INFO: IMEI packet received {"connection_id":151453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":151453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:16:05] local.INFO: TCP Data received {"connection_id":151453,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:16:05] local.INFO: Processing buffer {"connection_id":151453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:16:05] local.INFO: Packet analysis {"connection_id":151453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:16:05] local.INFO: Extracted packet for processing {"connection_id":151453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304052736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344257000,"timestamp_ms":1786344257000,"timestamp_seconds":1786344257,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6a35e8"} 
[2026-08-10 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-08-10 12:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304052736001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304052736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:16:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:16:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304052736001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":151453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:16:05] local.INFO: GPS data processed {"connection_id":151453,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:16:05] local.INFO: Acknowledgment sent {"connection_id":151453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:16:36] local.INFO: TCP Data received {"connection_id":151453,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:16:36] local.INFO: Processing buffer {"connection_id":151453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:16:36] local.INFO: Packet analysis {"connection_id":151453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:16:36] local.INFO: Extracted packet for processing {"connection_id":151453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304052736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786344257000,"timestamp_ms":1786344257000,"timestamp_seconds":1786344257,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6a35e8"} 
[2026-08-10 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-08-10 12:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304052736001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304052736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:16:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304052736001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":151453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:16:36] local.INFO: GPS data processed {"connection_id":151453,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:16:36] local.INFO: Acknowledgment sent {"connection_id":151453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:16:59] local.INFO: TCP Data received {"connection_id":154228,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:16:59] local.INFO: Processing buffer {"connection_id":154228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:16:59] local.INFO: IMEI packet received {"connection_id":154228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":154228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:17:04] local.INFO: TCP Data received {"connection_id":154228,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:17:04] local.INFO: Processing buffer {"connection_id":154228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:17:04] local.INFO: IMEI packet received {"connection_id":154228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":154228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:17:05] local.INFO: TCP Data received {"connection_id":154228,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:17:05] local.INFO: Processing buffer {"connection_id":154228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:17:05] local.INFO: Packet analysis {"connection_id":154228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:17:05] local.INFO: Extracted packet for processing {"connection_id":154228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304052736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344257000,"timestamp_ms":1786344257000,"timestamp_seconds":1786344257,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6a35e8"} 
[2026-08-10 12:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12: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-08-10 12:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:17: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-08-10 12:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304052736001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304052736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:17:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304052736001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":154228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:17:05] local.INFO: GPS data processed {"connection_id":154228,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:17:05] local.INFO: Acknowledgment sent {"connection_id":154228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:17:37] local.INFO: TCP Data received {"connection_id":154228,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:17:37] local.INFO: Processing buffer {"connection_id":154228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:17:37] local.INFO: Packet analysis {"connection_id":154228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:17:37] local.INFO: Extracted packet for processing {"connection_id":154228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304052736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786344257000,"timestamp_ms":1786344257000,"timestamp_seconds":1786344257,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6a35e8"} 
[2026-08-10 12:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304052736001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304052736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:17:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304052736001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":154228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:17:37] local.INFO: GPS data processed {"connection_id":154228,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:17:37] local.INFO: Acknowledgment sent {"connection_id":154228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:17:59] local.INFO: TCP Data received {"connection_id":151454,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:17:59] local.INFO: Processing buffer {"connection_id":151454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:17:59] local.INFO: IMEI packet received {"connection_id":151454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":151454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:18:04] local.INFO: TCP Data received {"connection_id":151454,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:18:04] local.INFO: Processing buffer {"connection_id":151454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:18:04] local.INFO: IMEI packet received {"connection_id":151454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":151454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:18:05] local.INFO: TCP Data received {"connection_id":151454,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:18:05] local.INFO: Processing buffer {"connection_id":151454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:18:05] local.INFO: Packet analysis {"connection_id":151454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:18:05] local.INFO: Extracted packet for processing {"connection_id":151454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304052736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344257000,"timestamp_ms":1786344257000,"timestamp_seconds":1786344257,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6a35e8"} 
[2026-08-10 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-08-10 12:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304052736001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304052736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:18:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304052736001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":151454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:18:05] local.INFO: GPS data processed {"connection_id":151454,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:18:05] local.INFO: Acknowledgment sent {"connection_id":151454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:18:10] local.INFO: TCP Data received {"connection_id":151454,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:18:10] local.INFO: Processing buffer {"connection_id":151454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:18:10] local.INFO: Packet analysis {"connection_id":151454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:18:10] local.INFO: Extracted packet for processing {"connection_id":151454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304052736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786344257000,"timestamp_ms":1786344257000,"timestamp_seconds":1786344257,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6a35e8"} 
[2026-08-10 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-08-10 12:18: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-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:18: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-08-10 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-08-10 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-08-10 12:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304052736001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304052736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:18:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304052736001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":151454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:18:10] local.INFO: GPS data processed {"connection_id":151454,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:18:10] local.INFO: Acknowledgment sent {"connection_id":151454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:18:41] local.INFO: TCP Data received {"connection_id":151454,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:18:41] local.INFO: Processing buffer {"connection_id":151454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:18:41] local.INFO: Packet analysis {"connection_id":151454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:18:41] local.INFO: Extracted packet for processing {"connection_id":151454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304052736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786344257000,"timestamp_ms":1786344257000,"timestamp_seconds":1786344257,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6a35e8"} 
[2026-08-10 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-08-10 12:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304052736001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304052736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:18:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304052736001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":151454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:18:41] local.INFO: GPS data processed {"connection_id":151454,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:18:41] local.INFO: Acknowledgment sent {"connection_id":151454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:18:59] local.INFO: TCP Data received {"connection_id":151854,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:18:59] local.INFO: Processing buffer {"connection_id":151854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:18:59] local.INFO: IMEI packet received {"connection_id":151854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":151854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:19:04] local.INFO: TCP Data received {"connection_id":151854,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:19:04] local.INFO: Processing buffer {"connection_id":151854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:19:04] local.INFO: IMEI packet received {"connection_id":151854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":151854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:19:05] local.INFO: TCP Data received {"connection_id":151854,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:19:05] local.INFO: Processing buffer {"connection_id":151854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:19:05] local.INFO: Packet analysis {"connection_id":151854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:19:05] local.INFO: Extracted packet for processing {"connection_id":151854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304052736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344257000,"timestamp_ms":1786344257000,"timestamp_seconds":1786344257,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6a35e8"} 
[2026-08-10 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-08-10 12:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304052736001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304052736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:19:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304052736001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":151854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:19:05] local.INFO: GPS data processed {"connection_id":151854,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:19:05] local.INFO: Acknowledgment sent {"connection_id":151854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:19:36] local.INFO: TCP Data received {"connection_id":151854,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:19:36] local.INFO: Processing buffer {"connection_id":151854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6a35e8012d342a4006abc2800014010226..."} 
[2026-08-10 12:19:36] local.INFO: Packet analysis {"connection_id":151854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:19:36] local.INFO: Extracted packet for processing {"connection_id":151854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6a"} 
[2026-08-10 12:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":20,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304052736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786344257000,"timestamp_ms":1786344257000,"timestamp_seconds":1786344257,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6a35e8"} 
[2026-08-10 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-08-10 12:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304052736001,"66":25604,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304052736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:19:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304052736001,"power":25604,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":151854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:19:36] local.INFO: GPS data processed {"connection_id":151854,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:19:36] local.INFO: Acknowledgment sent {"connection_id":151854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:19:59] local.INFO: TCP Data received {"connection_id":152773,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:19:59] local.INFO: Processing buffer {"connection_id":152773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:19:59] local.INFO: IMEI packet received {"connection_id":152773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":152773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:20:04] local.INFO: TCP Data received {"connection_id":152773,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:20:04] local.INFO: Processing buffer {"connection_id":152773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:20:04] local.INFO: IMEI packet received {"connection_id":152773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":152773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:20:05] local.INFO: TCP Data received {"connection_id":152773,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:20:05] local.INFO: Processing buffer {"connection_id":152773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:20:05] local.INFO: Packet analysis {"connection_id":152773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:20:05] local.INFO: Extracted packet for processing {"connection_id":152773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304129792001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344558000,"timestamp_ms":1786344558000,"timestamp_seconds":1786344558,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6ecdb0"} 
[2026-08-10 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-08-10 12:20: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-08-10 12:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304129792001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304129792001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:20:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304129792001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":152773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:20:05] local.INFO: GPS data processed {"connection_id":152773,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:20:05] local.INFO: Acknowledgment sent {"connection_id":152773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:20:36] local.INFO: TCP Data received {"connection_id":152773,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:20:36] local.INFO: Processing buffer {"connection_id":152773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:20:36] local.INFO: Packet analysis {"connection_id":152773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:20:36] local.INFO: Extracted packet for processing {"connection_id":152773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304129792001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786344558000,"timestamp_ms":1786344558000,"timestamp_seconds":1786344558,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6ecdb0"} 
[2026-08-10 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-08-10 12:20: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-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:20: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-08-10 12:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304129792001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304129792001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:20:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304129792001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":152773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:20:36] local.INFO: GPS data processed {"connection_id":152773,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:20:36] local.INFO: Acknowledgment sent {"connection_id":152773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:21:04] local.INFO: TCP Data received {"connection_id":151455,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:21:04] local.INFO: Processing buffer {"connection_id":151455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:21:04] local.INFO: IMEI packet received {"connection_id":151455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:21:09] local.INFO: TCP Data received {"connection_id":151455,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:21:09] local.INFO: Processing buffer {"connection_id":151455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:21:09] local.INFO: IMEI packet received {"connection_id":151455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":151455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:21:10] local.INFO: TCP Data received {"connection_id":151455,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:21:10] local.INFO: Processing buffer {"connection_id":151455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:21:10] local.INFO: Packet analysis {"connection_id":151455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:21:10] local.INFO: Extracted packet for processing {"connection_id":151455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304129792001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786344558000,"timestamp_ms":1786344558000,"timestamp_seconds":1786344558,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6ecdb0"} 
[2026-08-10 12:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:21: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-08-10 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:21: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-08-10 12:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304129792001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304129792001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:21:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304129792001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":151455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:21:10] local.INFO: GPS data processed {"connection_id":151455,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:21:10] local.INFO: Acknowledgment sent {"connection_id":151455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:21:15] local.INFO: TCP Data received {"connection_id":151455,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:21:15] local.INFO: Processing buffer {"connection_id":151455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:21:15] local.INFO: Packet analysis {"connection_id":151455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:21:15] local.INFO: Extracted packet for processing {"connection_id":151455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304129792001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786344558000,"timestamp_ms":1786344558000,"timestamp_seconds":1786344558,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6ecdb0"} 
[2026-08-10 12:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304129792001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304129792001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:21:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304129792001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":151455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:21:15] local.INFO: GPS data processed {"connection_id":151455,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:21:15] local.INFO: Acknowledgment sent {"connection_id":151455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:21:59] local.INFO: TCP Data received {"connection_id":154229,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:21:59] local.INFO: Processing buffer {"connection_id":154229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:21:59] local.INFO: IMEI packet received {"connection_id":154229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":154229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:22:04] local.INFO: TCP Data received {"connection_id":154229,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:22:04] local.INFO: Processing buffer {"connection_id":154229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:22:04] local.INFO: IMEI packet received {"connection_id":154229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":154229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:22:05] local.INFO: TCP Data received {"connection_id":154229,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:22:05] local.INFO: Processing buffer {"connection_id":154229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:22:05] local.INFO: Packet analysis {"connection_id":154229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:22:05] local.INFO: Extracted packet for processing {"connection_id":154229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304129792001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344558000,"timestamp_ms":1786344558000,"timestamp_seconds":1786344558,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6ecdb0"} 
[2026-08-10 12:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:22: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-08-10 12:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304129792001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304129792001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:22:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304129792001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":154229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:22:05] local.INFO: GPS data processed {"connection_id":154229,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:22:05] local.INFO: Acknowledgment sent {"connection_id":154229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:22:37] local.INFO: TCP Data received {"connection_id":154229,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:22:37] local.INFO: Processing buffer {"connection_id":154229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:22:37] local.INFO: Packet analysis {"connection_id":154229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:22:37] local.INFO: Extracted packet for processing {"connection_id":154229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304129792001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786344558000,"timestamp_ms":1786344558000,"timestamp_seconds":1786344558,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6ecdb0"} 
[2026-08-10 12:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:22: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-08-10 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304129792001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304129792001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:22:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304129792001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":154229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:22:37] local.INFO: GPS data processed {"connection_id":154229,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:22:37] local.INFO: Acknowledgment sent {"connection_id":154229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:23:00] local.INFO: TCP Data received {"connection_id":151855,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:23:00] local.INFO: Processing buffer {"connection_id":151855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:23:00] local.INFO: IMEI packet received {"connection_id":151855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":151855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:23:04] local.INFO: TCP Data received {"connection_id":151855,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:23:04] local.INFO: Processing buffer {"connection_id":151855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:23:04] local.INFO: IMEI packet received {"connection_id":151855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":151855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:23:05] local.INFO: TCP Data received {"connection_id":151855,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:23:05] local.INFO: Processing buffer {"connection_id":151855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:23:05] local.INFO: Packet analysis {"connection_id":151855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:23:05] local.INFO: Extracted packet for processing {"connection_id":151855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304129792001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344558000,"timestamp_ms":1786344558000,"timestamp_seconds":1786344558,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6ecdb0"} 
[2026-08-10 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-08-10 12:23: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-08-10 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:23: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-08-10 12:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304129792001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304129792001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:23:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304129792001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":151855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:23:05] local.INFO: GPS data processed {"connection_id":151855,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:23:05] local.INFO: Acknowledgment sent {"connection_id":151855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:23:36] local.INFO: TCP Data received {"connection_id":151855,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:23:36] local.INFO: Processing buffer {"connection_id":151855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:23:36] local.INFO: Packet analysis {"connection_id":151855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:23:36] local.INFO: Extracted packet for processing {"connection_id":151855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304129792001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786344558000,"timestamp_ms":1786344558000,"timestamp_seconds":1786344558,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6ecdb0"} 
[2026-08-10 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-08-10 12:23: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-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:23: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-08-10 12:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304129792001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304129792001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:23:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304129792001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":151855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:23:36] local.INFO: GPS data processed {"connection_id":151855,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:23:36] local.INFO: Acknowledgment sent {"connection_id":151855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:23:59] local.INFO: TCP Data received {"connection_id":154230,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:23:59] local.INFO: Processing buffer {"connection_id":154230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:23:59] local.INFO: IMEI packet received {"connection_id":154230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":154230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:24:04] local.INFO: TCP Data received {"connection_id":154230,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:24:04] local.INFO: Processing buffer {"connection_id":154230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:24:04] local.INFO: IMEI packet received {"connection_id":154230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":154230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:24:05] local.INFO: TCP Data received {"connection_id":154230,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:24:05] local.INFO: Processing buffer {"connection_id":154230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:24:05] local.INFO: Packet analysis {"connection_id":154230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:24:05] local.INFO: Extracted packet for processing {"connection_id":154230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:24:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304129792001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344558000,"timestamp_ms":1786344558000,"timestamp_seconds":1786344558,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6ecdb0"} 
[2026-08-10 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-08-10 12:24: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-08-10 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304129792001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304129792001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:24:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:24:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304129792001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":154230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:24:05] local.INFO: GPS data processed {"connection_id":154230,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:24:05] local.INFO: Acknowledgment sent {"connection_id":154230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:24:36] local.INFO: TCP Data received {"connection_id":154230,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:24:36] local.INFO: Processing buffer {"connection_id":154230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea6ecdb0012d342a4006abc280001a010224..."} 
[2026-08-10 12:24:36] local.INFO: Packet analysis {"connection_id":154230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:24:36] local.INFO: Extracted packet for processing {"connection_id":154230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea6e"} 
[2026-08-10 12:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304129792001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786344558000,"timestamp_ms":1786344558000,"timestamp_seconds":1786344558,"priority":1,"record_length":96,"hex_timestamp":"0000019fea6ecdb0"} 
[2026-08-10 12:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:24: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-08-10 12:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304129792001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304129792001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:24:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304129792001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":154230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:24:36] local.INFO: GPS data processed {"connection_id":154230,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:24:36] local.INFO: Acknowledgment sent {"connection_id":154230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:24:59] local.INFO: TCP Data received {"connection_id":151856,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:24:59] local.INFO: Processing buffer {"connection_id":151856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:24:59] local.INFO: IMEI packet received {"connection_id":151856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":151856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:25:04] local.INFO: TCP Data received {"connection_id":151856,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:25:04] local.INFO: Processing buffer {"connection_id":151856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:25:04] local.INFO: IMEI packet received {"connection_id":151856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":151856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:25:05] local.INFO: TCP Data received {"connection_id":151856,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:25:05] local.INFO: Processing buffer {"connection_id":151856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:25:05] local.INFO: Packet analysis {"connection_id":151856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:25:05] local.INFO: Extracted packet for processing {"connection_id":151856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304206848001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344859000,"timestamp_ms":1786344859000,"timestamp_seconds":1786344859,"priority":1,"record_length":96,"hex_timestamp":"0000019fea736578"} 
[2026-08-10 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-08-10 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 12:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304206848001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304206848001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:25:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304206848001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":151856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:25:05] local.INFO: GPS data processed {"connection_id":151856,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:25:05] local.INFO: Acknowledgment sent {"connection_id":151856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:25:36] local.INFO: TCP Data received {"connection_id":151856,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:25:36] local.INFO: Processing buffer {"connection_id":151856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:25:36] local.INFO: Packet analysis {"connection_id":151856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:25:36] local.INFO: Extracted packet for processing {"connection_id":151856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304206848001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786344859000,"timestamp_ms":1786344859000,"timestamp_seconds":1786344859,"priority":1,"record_length":96,"hex_timestamp":"0000019fea736578"} 
[2026-08-10 12:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 12:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12: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-08-10 12:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304206848001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304206848001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:25:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304206848001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":151856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:25:36] local.INFO: GPS data processed {"connection_id":151856,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:25:36] local.INFO: Acknowledgment sent {"connection_id":151856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:25:59] local.INFO: TCP Data received {"connection_id":154231,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:25:59] local.INFO: Processing buffer {"connection_id":154231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:25:59] local.INFO: IMEI packet received {"connection_id":154231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":154231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:26:04] local.INFO: TCP Data received {"connection_id":154231,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:26:04] local.INFO: Processing buffer {"connection_id":154231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:26:04] local.INFO: IMEI packet received {"connection_id":154231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":154231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:26:05] local.INFO: TCP Data received {"connection_id":154231,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:26:05] local.INFO: Processing buffer {"connection_id":154231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:26:05] local.INFO: Packet analysis {"connection_id":154231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:26:05] local.INFO: Extracted packet for processing {"connection_id":154231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304206848001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344859000,"timestamp_ms":1786344859000,"timestamp_seconds":1786344859,"priority":1,"record_length":96,"hex_timestamp":"0000019fea736578"} 
[2026-08-10 12:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 12:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304206848001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304206848001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:26:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304206848001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":154231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:26:05] local.INFO: GPS data processed {"connection_id":154231,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:26:05] local.INFO: Acknowledgment sent {"connection_id":154231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:26:36] local.INFO: TCP Data received {"connection_id":154231,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:26:36] local.INFO: Processing buffer {"connection_id":154231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:26:36] local.INFO: Packet analysis {"connection_id":154231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:26:36] local.INFO: Extracted packet for processing {"connection_id":154231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304206848001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786344859000,"timestamp_ms":1786344859000,"timestamp_seconds":1786344859,"priority":1,"record_length":96,"hex_timestamp":"0000019fea736578"} 
[2026-08-10 12:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 12:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304206848001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304206848001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:26:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304206848001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":154231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:26:36] local.INFO: GPS data processed {"connection_id":154231,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:26:36] local.INFO: Acknowledgment sent {"connection_id":154231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:26:59] local.INFO: TCP Data received {"connection_id":152774,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:26:59] local.INFO: Processing buffer {"connection_id":152774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:26:59] local.INFO: IMEI packet received {"connection_id":152774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":152774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:27:04] local.INFO: TCP Data received {"connection_id":152774,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:27:04] local.INFO: Processing buffer {"connection_id":152774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:27:04] local.INFO: IMEI packet received {"connection_id":152774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":152774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:27:05] local.INFO: TCP Data received {"connection_id":152774,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:27:05] local.INFO: Processing buffer {"connection_id":152774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:27:05] local.INFO: Packet analysis {"connection_id":152774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:27:05] local.INFO: Extracted packet for processing {"connection_id":152774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304206848001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344859000,"timestamp_ms":1786344859000,"timestamp_seconds":1786344859,"priority":1,"record_length":96,"hex_timestamp":"0000019fea736578"} 
[2026-08-10 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-08-10 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 12:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:27: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-08-10 12:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304206848001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304206848001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:27:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304206848001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":152774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:27:05] local.INFO: GPS data processed {"connection_id":152774,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:27:05] local.INFO: Acknowledgment sent {"connection_id":152774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:27:37] local.INFO: TCP Data received {"connection_id":152774,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:27:37] local.INFO: Processing buffer {"connection_id":152774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:27:37] local.INFO: Packet analysis {"connection_id":152774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:27:37] local.INFO: Extracted packet for processing {"connection_id":152774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304206848001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786344859000,"timestamp_ms":1786344859000,"timestamp_seconds":1786344859,"priority":1,"record_length":96,"hex_timestamp":"0000019fea736578"} 
[2026-08-10 12:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 12:27: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-08-10 12: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-08-10 12:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304206848001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304206848001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:27:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304206848001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":152774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:27:37] local.INFO: GPS data processed {"connection_id":152774,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:27:37] local.INFO: Acknowledgment sent {"connection_id":152774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:27:59] local.INFO: TCP Data received {"connection_id":151456,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:27:59] local.INFO: Processing buffer {"connection_id":151456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:27:59] local.INFO: IMEI packet received {"connection_id":151456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":151456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:28:04] local.INFO: TCP Data received {"connection_id":151456,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:28:04] local.INFO: Processing buffer {"connection_id":151456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:28:04] local.INFO: IMEI packet received {"connection_id":151456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":151456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:28:05] local.INFO: TCP Data received {"connection_id":151456,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:28:05] local.INFO: Processing buffer {"connection_id":151456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:28:05] local.INFO: Packet analysis {"connection_id":151456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:28:05] local.INFO: Extracted packet for processing {"connection_id":151456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304206848001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344859000,"timestamp_ms":1786344859000,"timestamp_seconds":1786344859,"priority":1,"record_length":96,"hex_timestamp":"0000019fea736578"} 
[2026-08-10 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-08-10 12:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 12:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304206848001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304206848001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:28:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304206848001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":151456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:28:05] local.INFO: GPS data processed {"connection_id":151456,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:28:05] local.INFO: Acknowledgment sent {"connection_id":151456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:28:38] local.INFO: TCP Data received {"connection_id":151456,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:28:38] local.INFO: Processing buffer {"connection_id":151456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:28:38] local.INFO: Packet analysis {"connection_id":151456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:28:38] local.INFO: Extracted packet for processing {"connection_id":151456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304206848001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786344859000,"timestamp_ms":1786344859000,"timestamp_seconds":1786344859,"priority":1,"record_length":96,"hex_timestamp":"0000019fea736578"} 
[2026-08-10 12:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 12:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304206848001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304206848001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:28:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304206848001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":151456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:28:38] local.INFO: GPS data processed {"connection_id":151456,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:28:38] local.INFO: Acknowledgment sent {"connection_id":151456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:28:59] local.INFO: TCP Data received {"connection_id":152775,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:28:59] local.INFO: Processing buffer {"connection_id":152775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:28:59] local.INFO: IMEI packet received {"connection_id":152775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":152775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:29:04] local.INFO: TCP Data received {"connection_id":152775,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:29:04] local.INFO: Processing buffer {"connection_id":152775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:29:04] local.INFO: IMEI packet received {"connection_id":152775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":152775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:29:05] local.INFO: TCP Data received {"connection_id":152775,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:29:05] local.INFO: Processing buffer {"connection_id":152775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:29:05] local.INFO: Packet analysis {"connection_id":152775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:29:05] local.INFO: Extracted packet for processing {"connection_id":152775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304206848001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786344859000,"timestamp_ms":1786344859000,"timestamp_seconds":1786344859,"priority":1,"record_length":96,"hex_timestamp":"0000019fea736578"} 
[2026-08-10 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-08-10 12:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 12:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304206848001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304206848001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:29:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304206848001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":152775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:29:05] local.INFO: GPS data processed {"connection_id":152775,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:29:05] local.INFO: Acknowledgment sent {"connection_id":152775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:29:36] local.INFO: TCP Data received {"connection_id":152775,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:29:36] local.INFO: Processing buffer {"connection_id":152775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea736578012d342a4006abc280001a010221..."} 
[2026-08-10 12:29:36] local.INFO: Packet analysis {"connection_id":152775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:29:36] local.INFO: Extracted packet for processing {"connection_id":152775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea73"} 
[2026-08-10 12:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304206848001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786344859000,"timestamp_ms":1786344859000,"timestamp_seconds":1786344859,"priority":1,"record_length":96,"hex_timestamp":"0000019fea736578"} 
[2026-08-10 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-08-10 12:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 12:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304206848001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304206848001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:29:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304206848001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":152775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:29:36] local.INFO: GPS data processed {"connection_id":152775,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:29:36] local.INFO: Acknowledgment sent {"connection_id":152775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:30:04] local.INFO: TCP Data received {"connection_id":152776,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:30:04] local.INFO: Processing buffer {"connection_id":152776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:30:04] local.INFO: IMEI packet received {"connection_id":152776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":152776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:30:09] local.INFO: TCP Data received {"connection_id":152776,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:30:09] local.INFO: Processing buffer {"connection_id":152776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:30:09] local.INFO: IMEI packet received {"connection_id":152776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":152776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:30:10] local.INFO: TCP Data received {"connection_id":152776,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:30:10] local.INFO: Processing buffer {"connection_id":152776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:30:10] local.INFO: Packet analysis {"connection_id":152776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:30:10] local.INFO: Extracted packet for processing {"connection_id":152776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304283904001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786345160000,"timestamp_ms":1786345160000,"timestamp_seconds":1786345160,"priority":1,"record_length":96,"hex_timestamp":"0000019fea77fd40"} 
[2026-08-10 12:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304283904001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304283904001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:30:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304283904001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":152776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:30:10] local.INFO: GPS data processed {"connection_id":152776,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:30:10] local.INFO: Acknowledgment sent {"connection_id":152776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:30:14] local.INFO: TCP Data received {"connection_id":152776,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:30:14] local.INFO: Processing buffer {"connection_id":152776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:30:14] local.INFO: Packet analysis {"connection_id":152776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:30:14] local.INFO: Extracted packet for processing {"connection_id":152776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304283904001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786345160000,"timestamp_ms":1786345160000,"timestamp_seconds":1786345160,"priority":1,"record_length":96,"hex_timestamp":"0000019fea77fd40"} 
[2026-08-10 12:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304283904001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304283904001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:30:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304283904001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":152776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:30:14] local.INFO: GPS data processed {"connection_id":152776,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:30:14] local.INFO: Acknowledgment sent {"connection_id":152776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:30:59] local.INFO: TCP Data received {"connection_id":154232,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:30:59] local.INFO: Processing buffer {"connection_id":154232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:30:59] local.INFO: IMEI packet received {"connection_id":154232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":154232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:31:02] local.INFO: TCP Data received {"connection_id":154233,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:31:02] local.INFO: Processing buffer {"connection_id":154233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:31:02] local.INFO: IMEI packet received {"connection_id":154233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":154233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:31:03] local.INFO: TCP Data received {"connection_id":154233,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:31:03] local.INFO: Processing buffer {"connection_id":154233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:31:03] local.INFO: IMEI packet received {"connection_id":154233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":154233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:31:04] local.INFO: TCP Data received {"connection_id":154232,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:31:04] local.INFO: Processing buffer {"connection_id":154232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:31:04] local.INFO: IMEI packet received {"connection_id":154232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":154232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:31:05] local.INFO: TCP Data received {"connection_id":154232,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:31:05] local.INFO: Processing buffer {"connection_id":154232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:31:05] local.INFO: Packet analysis {"connection_id":154232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:31:05] local.INFO: Extracted packet for processing {"connection_id":154232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304283904001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786345160000,"timestamp_ms":1786345160000,"timestamp_seconds":1786345160,"priority":1,"record_length":96,"hex_timestamp":"0000019fea77fd40"} 
[2026-08-10 12:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304283904001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304283904001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:31:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304283904001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":154232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:31:05] local.INFO: GPS data processed {"connection_id":154232,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:31:05] local.INFO: Acknowledgment sent {"connection_id":154232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:31:07] local.INFO: TCP Data received {"connection_id":154233,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:31:07] local.INFO: Processing buffer {"connection_id":154233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:31:07] local.INFO: IMEI packet received {"connection_id":154233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":154233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:31:08] local.INFO: TCP Data received {"connection_id":154233,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-10 12:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154233,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-10 12:31:08] local.INFO: Processing buffer {"connection_id":154233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-10 12:31:08] local.INFO: Packet analysis {"connection_id":154233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 12:31:08] local.INFO: Extracted packet for processing {"connection_id":154233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 12:31:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 12:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327499501830144,"note":"Value kept but may cause issues"} 
[2026-08-10 12:31:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 12:31:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 12:31:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 12:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154233,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-10 12:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-10 12:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 12:31:08] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 12:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":154233,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 12:31:08] local.ERROR: GPS data processing failed {"connection_id":154233,"error":"No valid data to process"} 
[2026-08-10 12:31:08] local.INFO: Acknowledgment sent {"connection_id":154233,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 12:31:37] local.INFO: TCP Data received {"connection_id":154232,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:31:37] local.INFO: Processing buffer {"connection_id":154232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:31:37] local.INFO: Packet analysis {"connection_id":154232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:31:37] local.INFO: Extracted packet for processing {"connection_id":154232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304283904001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786345160000,"timestamp_ms":1786345160000,"timestamp_seconds":1786345160,"priority":1,"record_length":96,"hex_timestamp":"0000019fea77fd40"} 
[2026-08-10 12:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:31: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-08-10 12: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-08-10 12:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304283904001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304283904001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:31:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304283904001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":154232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:31:37] local.INFO: GPS data processed {"connection_id":154232,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:31:37] local.INFO: Acknowledgment sent {"connection_id":154232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:31:39] local.INFO: TCP Data received {"connection_id":154233,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-10 12:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-10 12:31:39] local.INFO: Processing buffer {"connection_id":154233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-10 12:31:39] local.INFO: Packet analysis {"connection_id":154233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-10 12:31:39] local.INFO: Extracted packet for processing {"connection_id":154233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-10 12:31:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 12:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327499501830144,"note":"Value kept but may cause issues"} 
[2026-08-10 12:31:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 12:31:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 12:31:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 12:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154233,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-10 12:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-10 12:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 12:31:39] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 12:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":154233,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 12:31:39] local.ERROR: GPS data processing failed {"connection_id":154233,"error":"No valid data to process"} 
[2026-08-10 12:31:39] local.INFO: Acknowledgment sent {"connection_id":154233,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 12:32:04] local.INFO: TCP Data received {"connection_id":151457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:32:04] local.INFO: Processing buffer {"connection_id":151457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:32:04] local.INFO: IMEI packet received {"connection_id":151457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":151457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:32:09] local.INFO: TCP Data received {"connection_id":151457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:32:09] local.INFO: Processing buffer {"connection_id":151457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:32:09] local.INFO: IMEI packet received {"connection_id":151457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":151457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:32:10] local.INFO: TCP Data received {"connection_id":151457,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:32:10] local.INFO: Processing buffer {"connection_id":151457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:32:10] local.INFO: Packet analysis {"connection_id":151457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:32:10] local.INFO: Extracted packet for processing {"connection_id":151457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304283904001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786345160000,"timestamp_ms":1786345160000,"timestamp_seconds":1786345160,"priority":1,"record_length":96,"hex_timestamp":"0000019fea77fd40"} 
[2026-08-10 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-08-10 12:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:32: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-08-10 12:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304283904001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304283904001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:32:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304283904001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":151457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:32:10] local.INFO: GPS data processed {"connection_id":151457,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:32:10] local.INFO: Acknowledgment sent {"connection_id":151457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:32:10] local.INFO: TCP Data received {"connection_id":154233,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7a2fc00100000000000000000000000000..."} 
[2026-08-10 12:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7a2fc00100000000000000000000000000..."} 
[2026-08-10 12:32:10] local.INFO: Processing buffer {"connection_id":154233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7a2fc00100000000000000000000000000..."} 
[2026-08-10 12:32:10] local.INFO: Packet analysis {"connection_id":154233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7a"} 
[2026-08-10 12:32:10] local.INFO: Extracted packet for processing {"connection_id":154233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7a"} 
[2026-08-10 12:32:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327499501830144,"note":"Value kept but may cause issues"} 
[2026-08-10 12:32:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 12:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786345304000,"timestamp_ms":1786345304000,"timestamp_seconds":1786345304,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7a2fc0"} 
[2026-08-10 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-08-10 12:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 12:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":154233,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 12:32:10] local.INFO: GPS data processed {"connection_id":154233,"processed":0,"errors":0,"total":1} 
[2026-08-10 12:32:10] local.INFO: Acknowledgment sent {"connection_id":154233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:32:14] local.INFO: TCP Data received {"connection_id":151457,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:32:14] local.INFO: Processing buffer {"connection_id":151457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:32:14] local.INFO: Packet analysis {"connection_id":151457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:32:14] local.INFO: Extracted packet for processing {"connection_id":151457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304283904001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786345160000,"timestamp_ms":1786345160000,"timestamp_seconds":1786345160,"priority":1,"record_length":96,"hex_timestamp":"0000019fea77fd40"} 
[2026-08-10 12:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304283904001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304283904001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:32:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304283904001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":151457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:32:14] local.INFO: GPS data processed {"connection_id":151457,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:32:14] local.INFO: Acknowledgment sent {"connection_id":151457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:32:42] local.INFO: TCP Data received {"connection_id":154233,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7a81c80100000000000000000000000000..."} 
[2026-08-10 12:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7a81c80100000000000000000000000000..."} 
[2026-08-10 12:32:42] local.INFO: Processing buffer {"connection_id":154233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7a81c80100000000000000000000000000..."} 
[2026-08-10 12:32:42] local.INFO: Packet analysis {"connection_id":154233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7a"} 
[2026-08-10 12:32:42] local.INFO: Extracted packet for processing {"connection_id":154233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7a"} 
[2026-08-10 12:32:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 12:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327499501830144,"note":"Value kept but may cause issues"} 
[2026-08-10 12:32:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 12:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786345325000,"timestamp_ms":1786345325000,"timestamp_seconds":1786345325,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7a81c8"} 
[2026-08-10 12:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 12:32: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-08-10 12:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":154233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":154233,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 12:32:42] local.INFO: GPS data processed {"connection_id":154233,"processed":0,"errors":0,"total":1} 
[2026-08-10 12:32:42] local.INFO: Acknowledgment sent {"connection_id":154233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:32:59] local.INFO: TCP Data received {"connection_id":151857,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:32:59] local.INFO: Processing buffer {"connection_id":151857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:32:59] local.INFO: IMEI packet received {"connection_id":151857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":151857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:33:04] local.INFO: TCP Data received {"connection_id":151857,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:33:04] local.INFO: Processing buffer {"connection_id":151857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:33:04] local.INFO: IMEI packet received {"connection_id":151857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":151857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:33:12] local.INFO: TCP Data received {"connection_id":151857,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:33:12] local.INFO: Processing buffer {"connection_id":151857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:33:12] local.INFO: Packet analysis {"connection_id":151857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:33:12] local.INFO: Extracted packet for processing {"connection_id":151857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:33:12] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304283904001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786345160000,"timestamp_ms":1786345160000,"timestamp_seconds":1786345160,"priority":1,"record_length":96,"hex_timestamp":"0000019fea77fd40"} 
[2026-08-10 12:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:33: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-08-10 12: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-08-10 12:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304283904001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304283904001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:33:12] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:33:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304283904001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":151857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:33:12] local.INFO: GPS data processed {"connection_id":151857,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:33:12] local.INFO: Acknowledgment sent {"connection_id":151857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:33:13] local.INFO: TCP Data received {"connection_id":154233,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7ad3d00100000000000000000000000000..."} 
[2026-08-10 12:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7ad3d00100000000000000000000000000..."} 
[2026-08-10 12:33:13] local.INFO: Processing buffer {"connection_id":154233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7ad3d00100000000000000000000000000..."} 
[2026-08-10 12:33:13] local.INFO: Packet analysis {"connection_id":154233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7a"} 
[2026-08-10 12:33:13] local.INFO: Extracted packet for processing {"connection_id":154233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7a"} 
[2026-08-10 12:33:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 12:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327499501830144,"note":"Value kept but may cause issues"} 
[2026-08-10 12:33:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 12:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786345346000,"timestamp_ms":1786345346000,"timestamp_seconds":1786345346,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7ad3d0"} 
[2026-08-10 12:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-10 12:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":154233,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 12:33:13] local.INFO: GPS data processed {"connection_id":154233,"processed":0,"errors":0,"total":1} 
[2026-08-10 12:33:13] local.INFO: Acknowledgment sent {"connection_id":154233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:33:17] local.INFO: TCP Data received {"connection_id":151857,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:33:17] local.INFO: Processing buffer {"connection_id":151857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:33:17] local.INFO: Packet analysis {"connection_id":151857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:33:17] local.INFO: Extracted packet for processing {"connection_id":151857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304283904001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786345160000,"timestamp_ms":1786345160000,"timestamp_seconds":1786345160,"priority":1,"record_length":96,"hex_timestamp":"0000019fea77fd40"} 
[2026-08-10 12:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304283904001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304283904001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:33:17] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304283904001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":151857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:33:17] local.INFO: GPS data processed {"connection_id":151857,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:33:17] local.INFO: Acknowledgment sent {"connection_id":151857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:33:44] local.INFO: TCP Data received {"connection_id":154233,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7b25d80100000000000000000000000000..."} 
[2026-08-10 12:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7b25d80100000000000000000000000000..."} 
[2026-08-10 12:33:44] local.INFO: Processing buffer {"connection_id":154233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7b25d80100000000000000000000000000..."} 
[2026-08-10 12:33:44] local.INFO: Packet analysis {"connection_id":154233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7b"} 
[2026-08-10 12:33:44] local.INFO: Extracted packet for processing {"connection_id":154233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7b"} 
[2026-08-10 12:33:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 12:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327499501830144,"note":"Value kept but may cause issues"} 
[2026-08-10 12:33:44] 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-08-10 12:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786345367000,"timestamp_ms":1786345367000,"timestamp_seconds":1786345367,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7b25d8"} 
[2026-08-10 12:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-10 12:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":154233,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 12:33:44] local.INFO: GPS data processed {"connection_id":154233,"processed":0,"errors":0,"total":1} 
[2026-08-10 12:33:44] local.INFO: Acknowledgment sent {"connection_id":154233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:33:59] local.INFO: TCP Data received {"connection_id":152777,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:33:59] local.INFO: Processing buffer {"connection_id":152777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:33:59] local.INFO: IMEI packet received {"connection_id":152777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":152777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:34:07] local.INFO: TCP Data received {"connection_id":152777,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:34:07] local.INFO: Processing buffer {"connection_id":152777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:34:07] local.INFO: IMEI packet received {"connection_id":152777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":152777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:34:08] local.INFO: TCP Data received {"connection_id":152777,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:34:08] local.INFO: Processing buffer {"connection_id":152777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:34:08] local.INFO: Packet analysis {"connection_id":152777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:34:08] local.INFO: Extracted packet for processing {"connection_id":152777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304283904001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786345160000,"timestamp_ms":1786345160000,"timestamp_seconds":1786345160,"priority":1,"record_length":96,"hex_timestamp":"0000019fea77fd40"} 
[2026-08-10 12:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304283904001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304283904001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:34:08] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304283904001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":152777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:34:08] local.INFO: GPS data processed {"connection_id":152777,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:34:08] local.INFO: Acknowledgment sent {"connection_id":152777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:34:15] local.INFO: TCP Data received {"connection_id":154233,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7b77e00100000000000000000000000000..."} 
[2026-08-10 12:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7b77e00100000000000000000000000000..."} 
[2026-08-10 12:34:15] local.INFO: Processing buffer {"connection_id":154233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7b77e00100000000000000000000000000..."} 
[2026-08-10 12:34:15] local.INFO: Packet analysis {"connection_id":154233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7b"} 
[2026-08-10 12:34:15] local.INFO: Extracted packet for processing {"connection_id":154233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7b"} 
[2026-08-10 12:34:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 12:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327499501830144,"note":"Value kept but may cause issues"} 
[2026-08-10 12:34:15] 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-08-10 12:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786345388000,"timestamp_ms":1786345388000,"timestamp_seconds":1786345388,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7b77e0"} 
[2026-08-10 12:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-10 12:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":154233,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 12:34:15] local.INFO: GPS data processed {"connection_id":154233,"processed":0,"errors":0,"total":1} 
[2026-08-10 12:34:15] local.INFO: Acknowledgment sent {"connection_id":154233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:34:39] local.INFO: TCP Data received {"connection_id":152777,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:34:39] local.INFO: Processing buffer {"connection_id":152777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea77fd40012d342a4006abc280001a010226..."} 
[2026-08-10 12:34:39] local.INFO: Packet analysis {"connection_id":152777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:34:39] local.INFO: Extracted packet for processing {"connection_id":152777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea77"} 
[2026-08-10 12:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304283904001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786345160000,"timestamp_ms":1786345160000,"timestamp_seconds":1786345160,"priority":1,"record_length":96,"hex_timestamp":"0000019fea77fd40"} 
[2026-08-10 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-08-10 12:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:34: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-08-10 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-08-10 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-08-10 12:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304283904001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304283904001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:34:39] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304283904001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":152777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:34:39] local.INFO: GPS data processed {"connection_id":152777,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:34:39] local.INFO: Acknowledgment sent {"connection_id":152777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:34:46] local.INFO: TCP Data received {"connection_id":154233,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7bc9e80100000000000000000000000000..."} 
[2026-08-10 12:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7bc9e80100000000000000000000000000..."} 
[2026-08-10 12:34:46] local.INFO: Processing buffer {"connection_id":154233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7bc9e80100000000000000000000000000..."} 
[2026-08-10 12:34:46] local.INFO: Packet analysis {"connection_id":154233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7b"} 
[2026-08-10 12:34:46] local.INFO: Extracted packet for processing {"connection_id":154233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7b"} 
[2026-08-10 12:34:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 12:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327499501830144,"note":"Value kept but may cause issues"} 
[2026-08-10 12:34:46] 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-08-10 12:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786345409000,"timestamp_ms":1786345409000,"timestamp_seconds":1786345409,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7bc9e8"} 
[2026-08-10 12:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-10 12:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12: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-08-10 12:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":154233,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 12:34:46] local.INFO: GPS data processed {"connection_id":154233,"processed":0,"errors":0,"total":1} 
[2026-08-10 12:34:46] local.INFO: Acknowledgment sent {"connection_id":154233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:34:59] local.INFO: TCP Data received {"connection_id":154234,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:34:59] local.INFO: Processing buffer {"connection_id":154234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:34:59] local.INFO: IMEI packet received {"connection_id":154234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":154234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:35:00] local.INFO: TCP Data received {"connection_id":154234,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:35:00] local.INFO: Processing buffer {"connection_id":154234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:35:00] local.INFO: IMEI packet received {"connection_id":154234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":154234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:35:04] local.INFO: TCP Data received {"connection_id":154234,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:35:04] local.INFO: Processing buffer {"connection_id":154234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:35:04] local.INFO: IMEI packet received {"connection_id":154234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":154234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:35:05] local.INFO: TCP Data received {"connection_id":154234,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:35:05] local.INFO: Processing buffer {"connection_id":154234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:35:05] local.INFO: Packet analysis {"connection_id":154234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:35:05] local.INFO: Extracted packet for processing {"connection_id":154234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304360960001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786345461000,"timestamp_ms":1786345461000,"timestamp_seconds":1786345461,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7c9508"} 
[2026-08-10 12:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304360960001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304360960001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:35:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304360960001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":154234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:35:05] local.INFO: GPS data processed {"connection_id":154234,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:35:05] local.INFO: Acknowledgment sent {"connection_id":154234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:35:17] local.INFO: TCP Data received {"connection_id":154233,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7d3530012d18c240072154d00049015509..."} 
[2026-08-10 12:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7d3530012d18c240072154d00049015509..."} 
[2026-08-10 12:35:17] local.INFO: Processing buffer {"connection_id":154233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7d3530012d18c240072154d00049015509..."} 
[2026-08-10 12:35:17] local.INFO: Packet analysis {"connection_id":154233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7d"} 
[2026-08-10 12:35:17] local.INFO: Extracted packet for processing {"connection_id":154233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7d"} 
[2026-08-10 12:35:17] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119624912,"longitude_deg":75.6597312,"latitude_deg":11.9624912,"altitude":73,"angle":341,"satellites":9,"speed":32,"hex_longitude":"2d18c240","hex_latitude":"072154d0","is_valid_coordinates":true} 
[2026-08-10 12:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304447488001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11330274050703360,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968709120,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786345502000,"timestamp_ms":1786345502000,"timestamp_seconds":1786345502,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7d3530"} 
[2026-08-10 12:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:35:17] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-10 12:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304447488001,"66":14341,"103":206,"83":41984,"24":32,"16":11330274050703360,"45":1784551382968709120},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304447488001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:35:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:35:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11330274050703360,"km_value":11330274050703.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968709120,"description":"Unknown IO ID 45"} 
[2026-08-10 12:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304447488001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1784551382968709120}} 
[2026-08-10 12:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":154233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:35:17] local.INFO: GPS data processed {"connection_id":154233,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:35:17] local.INFO: Acknowledgment sent {"connection_id":154233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:35:36] local.INFO: TCP Data received {"connection_id":154234,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:35:36] local.INFO: Processing buffer {"connection_id":154234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:35:36] local.INFO: Packet analysis {"connection_id":154234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:35:36] local.INFO: Extracted packet for processing {"connection_id":154234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304360960001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786345461000,"timestamp_ms":1786345461000,"timestamp_seconds":1786345461,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7c9508"} 
[2026-08-10 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-08-10 12:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:35: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-08-10 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-08-10 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-08-10 12:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304360960001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304360960001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:35:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304360960001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":154234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:35:36] local.INFO: GPS data processed {"connection_id":154234,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:35:36] local.INFO: Acknowledgment sent {"connection_id":154234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:35:43] local.INFO: TCP Data received {"connection_id":151458,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:35:43] local.INFO: Processing buffer {"connection_id":151458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:35:43] local.INFO: IMEI packet received {"connection_id":151458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":151458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:35:48] local.INFO: TCP Data received {"connection_id":151458,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:35:48] local.INFO: Processing buffer {"connection_id":151458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:35:48] local.INFO: IMEI packet received {"connection_id":151458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":151458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:35:48] local.INFO: TCP Data received {"connection_id":151458,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7d3d00012d18be4007215a20004b014609..."} 
[2026-08-10 12:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7d3d00012d18be4007215a20004b014609..."} 
[2026-08-10 12:35:48] local.INFO: Processing buffer {"connection_id":151458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7d3d00012d18be4007215a20004b014609..."} 
[2026-08-10 12:35:48] local.INFO: Packet analysis {"connection_id":151458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7d"} 
[2026-08-10 12:35:48] local.INFO: Extracted packet for processing {"connection_id":151458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7d"} 
[2026-08-10 12:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756596288,"raw_latitude":119626272,"longitude_deg":75.6596288,"latitude_deg":11.9626272,"altitude":75,"angle":326,"satellites":9,"speed":34,"hex_longitude":"2d18be40","hex_latitude":"07215a20","is_valid_coordinates":true} 
[2026-08-10 12:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304448512001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11330355655081984,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801760292864,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786345504000,"timestamp_ms":1786345504000,"timestamp_seconds":1786345504,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7d3d00"} 
[2026-08-10 12:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:35:48] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 12:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6977911996,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84751270023733504,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3934050160,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503772499542016,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-10 12:35:48] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2147950873,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:48] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:48] local.WARNING: Large IO value detected {"io_id":160,"raw_value":16889946140838144,"note":"Value kept but may cause issues"} 
[2026-08-10 12:35:48] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,64,159,37,45,72,71,9,10,66,29,192,65,70,6,1,240,185,227,234,33,4,113,205,231,208,32,239,55,2,40,7,62,206,160],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-10 12:35:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260579336890613760,"timestamp_seconds":5260579336890614.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 12:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304448512001,"66":14265,"103":206,"83":41984,"24":34,"16":11330355655081984,"45":1784058801760292864},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304448512001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:35:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:35:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11330355655081984,"km_value":11330355655081.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801760292864,"description":"Unknown IO ID 45"} 
[2026-08-10 12:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304448512001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1784058801760292864}} 
[2026-08-10 12:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":151458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:35:48] local.INFO: GPS data processed {"connection_id":151458,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:35:48] local.INFO: Acknowledgment sent {"connection_id":151458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:36:04] local.INFO: TCP Data received {"connection_id":154235,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:36:04] local.INFO: Processing buffer {"connection_id":154235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:36:04] local.INFO: IMEI packet received {"connection_id":154235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":154235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:36:09] local.INFO: TCP Data received {"connection_id":154235,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:36:09] local.INFO: Processing buffer {"connection_id":154235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:36:09] local.INFO: IMEI packet received {"connection_id":154235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":154235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:36:10] local.INFO: TCP Data received {"connection_id":154235,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:36:10] local.INFO: Processing buffer {"connection_id":154235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:36:10] local.INFO: Packet analysis {"connection_id":154235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:36:10] local.INFO: Extracted packet for processing {"connection_id":154235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304360960001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786345461000,"timestamp_ms":1786345461000,"timestamp_seconds":1786345461,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7c9508"} 
[2026-08-10 12:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12: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-08-10 12:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304360960001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304360960001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:36:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304360960001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":154235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:36:10] local.INFO: GPS data processed {"connection_id":154235,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:36:10] local.INFO: Acknowledgment sent {"connection_id":154235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:36:14] local.INFO: TCP Data received {"connection_id":154235,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:36:14] local.INFO: Processing buffer {"connection_id":154235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:36:14] local.INFO: Packet analysis {"connection_id":154235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:36:14] local.INFO: Extracted packet for processing {"connection_id":154235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304360960001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786345461000,"timestamp_ms":1786345461000,"timestamp_seconds":1786345461,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7c9508"} 
[2026-08-10 12:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304360960001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304360960001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:36:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304360960001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":154235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:36:14] local.INFO: GPS data processed {"connection_id":154235,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:36:14] local.INFO: Acknowledgment sent {"connection_id":154235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:36:19] local.INFO: TCP Data received {"connection_id":151458,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7d6410012d18aa40072172e8004f013a0a..."} 
[2026-08-10 12:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7d6410012d18aa40072172e8004f013a0a..."} 
[2026-08-10 12:36:19] local.INFO: Processing buffer {"connection_id":151458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7d6410012d18aa40072172e8004f013a0a..."} 
[2026-08-10 12:36:19] local.INFO: Packet analysis {"connection_id":151458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7d"} 
[2026-08-10 12:36:19] local.INFO: Extracted packet for processing {"connection_id":151458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7d"} 
[2026-08-10 12:36:19] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632616,"longitude_deg":75.6591168,"latitude_deg":11.9632616,"altitude":79,"angle":314,"satellites":10,"speed":31,"hex_longitude":"2d18aa40","hex_latitude":"072172e8","is_valid_coordinates":true} 
[2026-08-10 12:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304449024001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11330746497105920,"note":"Value kept but may cause issues"} 
[2026-08-10 12:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782932901853798400,"note":"Value kept but may cause issues"} 
[2026-08-10 12:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786345514000,"timestamp_ms":1786345514000,"timestamp_seconds":1786345514,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7d6410"} 
[2026-08-10 12:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:36:19] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 12:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304449024001,"66":14298,"103":206,"83":41984,"24":31,"16":11330746497105920,"45":1782932901853798400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304449024001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:36:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11330746497105920,"km_value":11330746497105.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782932901853798400,"description":"Unknown IO ID 45"} 
[2026-08-10 12:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304449024001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1782932901853798400}} 
[2026-08-10 12:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":151458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:36:19] local.INFO: GPS data processed {"connection_id":151458,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:36:19] local.INFO: Acknowledgment sent {"connection_id":151458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:36:50] local.INFO: TCP Data received {"connection_id":151458,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7e7198012d181b800721a608004900df0f..."} 
[2026-08-10 12:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7e7198012d181b800721a608004900df0f..."} 
[2026-08-10 12:36:50] local.INFO: Processing buffer {"connection_id":151458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7e7198012d181b800721a608004900df0f..."} 
[2026-08-10 12:36:50] local.INFO: Packet analysis {"connection_id":151458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7e"} 
[2026-08-10 12:36:50] local.INFO: Extracted packet for processing {"connection_id":151458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7e"} 
[2026-08-10 12:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756554624,"raw_latitude":119645704,"longitude_deg":75.6554624,"latitude_deg":11.9645704,"altitude":73,"angle":223,"satellites":15,"speed":9,"hex_longitude":"2d181b80","hex_latitude":"0721a608","is_valid_coordinates":true} 
[2026-08-10 12:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304468992001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11332657757552640,"note":"Value kept but may cause issues"} 
[2026-08-10 12:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631679488,"note":"Value kept but may cause issues"} 
[2026-08-10 12:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786345583000,"timestamp_ms":1786345583000,"timestamp_seconds":1786345583,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7e7198"} 
[2026-08-10 12:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:36: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":27,"data_length":795,"current_offset":136} 
[2026-08-10 12:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304468992001,"66":14363,"105":206,"83":41984,"24":9,"16":11332657757552640,"45":1737333955631679488},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304468992001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:36:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11332657757552640,"km_value":11332657757552.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631679488,"description":"Unknown IO ID 45"} 
[2026-08-10 12:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304468992001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737333955631679488}} 
[2026-08-10 12:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":151458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:36:50] local.INFO: GPS data processed {"connection_id":151458,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:36:50] local.INFO: Acknowledgment sent {"connection_id":151458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:36:59] local.INFO: TCP Data received {"connection_id":151858,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:36:59] local.INFO: Processing buffer {"connection_id":151858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:36:59] local.INFO: IMEI packet received {"connection_id":151858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":151858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:37:04] local.INFO: TCP Data received {"connection_id":151858,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:37:04] local.INFO: Processing buffer {"connection_id":151858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:37:04] local.INFO: IMEI packet received {"connection_id":151858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":151858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:37:05] local.INFO: TCP Data received {"connection_id":151858,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:37:05] local.INFO: Processing buffer {"connection_id":151858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:37:05] local.INFO: Packet analysis {"connection_id":151858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:37:05] local.INFO: Extracted packet for processing {"connection_id":151858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304360960001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786345461000,"timestamp_ms":1786345461000,"timestamp_seconds":1786345461,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7c9508"} 
[2026-08-10 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-08-10 12:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304360960001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304360960001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:37:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304360960001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":151858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:37:05] local.INFO: GPS data processed {"connection_id":151858,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:37:05] local.INFO: Acknowledgment sent {"connection_id":151858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:37:25] local.INFO: TCP Data received {"connection_id":151458,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7e8520012d1818000721a0e8004900d30e..."} 
[2026-08-10 12:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7e8520012d1818000721a0e8004900d30e..."} 
[2026-08-10 12:37:25] local.INFO: Processing buffer {"connection_id":151458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7e8520012d1818000721a0e8004900d30e..."} 
[2026-08-10 12:37:25] local.INFO: Packet analysis {"connection_id":151458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7e"} 
[2026-08-10 12:37:25] local.INFO: Extracted packet for processing {"connection_id":151458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7e"} 
[2026-08-10 12:37:25] local.INFO: GPS Element Parsed {"raw_longitude":756553728,"raw_latitude":119644392,"longitude_deg":75.6553728,"latitude_deg":11.9644392,"altitude":73,"angle":211,"satellites":14,"speed":10,"hex_longitude":"2d181800","hex_latitude":"0721a0e8","is_valid_coordinates":true} 
[2026-08-10 12:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304469248001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11332735066963968,"note":"Value kept but may cause issues"} 
[2026-08-10 12:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399113728,"note":"Value kept but may cause issues"} 
[2026-08-10 12:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786345588000,"timestamp_ms":1786345588000,"timestamp_seconds":1786345588,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7e8520"} 
[2026-08-10 12:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 12:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304469248001,"66":14113,"105":206,"83":41984,"24":10,"16":11332735066963968,"45":1737122849399113728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304469248001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:37:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:37:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11332735066963968,"km_value":11332735066963.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399113728,"description":"Unknown IO ID 45"} 
[2026-08-10 12:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304469248001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737122849399113728}} 
[2026-08-10 12:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":151458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:37:25] local.INFO: GPS data processed {"connection_id":151458,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:37:25] local.INFO: Acknowledgment sent {"connection_id":151458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:37:40] local.INFO: TCP Data received {"connection_id":151858,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:37:40] local.INFO: Processing buffer {"connection_id":151858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:37:40] local.INFO: Packet analysis {"connection_id":151858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:37:40] local.INFO: Extracted packet for processing {"connection_id":151858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304360960001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786345461000,"timestamp_ms":1786345461000,"timestamp_seconds":1786345461,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7c9508"} 
[2026-08-10 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-08-10 12:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:37: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-08-10 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-08-10 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-08-10 12:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304360960001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304360960001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:37:40] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:37:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304360960001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":151858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:37:40] local.INFO: GPS data processed {"connection_id":151858,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:37:40] local.INFO: Acknowledgment sent {"connection_id":151858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:37:42] local.INFO: TCP Data received {"connection_id":151859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:37:42] local.INFO: Processing buffer {"connection_id":151859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:37:42] local.INFO: IMEI packet received {"connection_id":151859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":151859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:37:47] local.INFO: TCP Data received {"connection_id":151859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:37:47] local.INFO: Processing buffer {"connection_id":151859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:37:47] local.INFO: IMEI packet received {"connection_id":151859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":151859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:37:48] local.INFO: TCP Data received {"connection_id":151859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7e9c90012d18154007219c10004a00c210..."} 
[2026-08-10 12:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7e9c90012d18154007219c10004a00c210..."} 
[2026-08-10 12:37:48] local.INFO: Processing buffer {"connection_id":151859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7e9c90012d18154007219c10004a00c210..."} 
[2026-08-10 12:37:48] local.INFO: Packet analysis {"connection_id":151859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7e"} 
[2026-08-10 12:37:48] local.INFO: Extracted packet for processing {"connection_id":151859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7e"} 
[2026-08-10 12:37:48] local.INFO: GPS Element Parsed {"raw_longitude":756553024,"raw_latitude":119643152,"longitude_deg":75.6553024,"latitude_deg":11.9643152,"altitude":74,"angle":194,"satellites":16,"speed":7,"hex_longitude":"2d181540","hex_latitude":"07219c10","is_valid_coordinates":true} 
[2026-08-10 12:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304470528001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11332803786440704,"note":"Value kept but may cause issues"} 
[2026-08-10 12:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736137686980290560,"note":"Value kept but may cause issues"} 
[2026-08-10 12:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786345594000,"timestamp_ms":1786345594000,"timestamp_seconds":1786345594,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7e9c90"} 
[2026-08-10 12:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:37:48] 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-08-10 12:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-10 12:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304470528001,"66":13450,"105":206,"83":41984,"24":7,"16":11332803786440704,"45":1736137686980290560},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304470528001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:37:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:37:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11332803786440704,"km_value":11332803786440.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736137686980290560,"description":"Unknown IO ID 45"} 
[2026-08-10 12:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304470528001,"power":13450,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1736137686980290560}} 
[2026-08-10 12:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":151859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:37:48] local.INFO: GPS data processed {"connection_id":151859,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:37:48] local.INFO: Acknowledgment sent {"connection_id":151859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:37:59] local.INFO: TCP Data received {"connection_id":154236,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:37:59] local.INFO: Processing buffer {"connection_id":154236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:37:59] local.INFO: IMEI packet received {"connection_id":154236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":154236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:38:04] local.INFO: TCP Data received {"connection_id":154236,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:38:04] local.INFO: Processing buffer {"connection_id":154236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:38:04] local.INFO: IMEI packet received {"connection_id":154236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":154236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:38:05] local.INFO: TCP Data received {"connection_id":154236,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:38:05] local.INFO: Processing buffer {"connection_id":154236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:38:05] local.INFO: Packet analysis {"connection_id":154236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:38:05] local.INFO: Extracted packet for processing {"connection_id":154236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304360960001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786345461000,"timestamp_ms":1786345461000,"timestamp_seconds":1786345461,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7c9508"} 
[2026-08-10 12:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304360960001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304360960001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:38:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304360960001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":154236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:38:05] local.INFO: GPS data processed {"connection_id":154236,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:38:05] local.INFO: Acknowledgment sent {"connection_id":154236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:38:19] local.INFO: TCP Data received {"connection_id":151859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7eee98012d18150007219ab8004a00ba11..."} 
[2026-08-10 12:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7eee98012d18150007219ab8004a00ba11..."} 
[2026-08-10 12:38:19] local.INFO: Processing buffer {"connection_id":151859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7eee98012d18150007219ab8004a00ba11..."} 
[2026-08-10 12:38:19] local.INFO: Packet analysis {"connection_id":151859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7e"} 
[2026-08-10 12:38:19] local.INFO: Extracted packet for processing {"connection_id":151859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7e"} 
[2026-08-10 12:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119642808,"longitude_deg":75.655296,"latitude_deg":11.9642808,"altitude":74,"angle":186,"satellites":17,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-10 12:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304472064001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11332842441146368,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735363630794018816,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786345615000,"timestamp_ms":1786345615000,"timestamp_seconds":1786345615,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7eee98"} 
[2026-08-10 12:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 12:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304472064001,"66":13993,"105":206,"83":41984,"24":0,"16":11332842441146368,"45":1735363630794018816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304472064001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:38:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:38:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11332842441146368,"km_value":11332842441146.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735363630794018816,"description":"Unknown IO ID 45"} 
[2026-08-10 12:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304472064001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735363630794018816}} 
[2026-08-10 12:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":151859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:38:19] local.INFO: GPS data processed {"connection_id":151859,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:38:19] local.INFO: Acknowledgment sent {"connection_id":151859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:38:36] local.INFO: TCP Data received {"connection_id":154236,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:38:36] local.INFO: Processing buffer {"connection_id":154236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:38:36] local.INFO: Packet analysis {"connection_id":154236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:38:36] local.INFO: Extracted packet for processing {"connection_id":154236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304360960001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786345461000,"timestamp_ms":1786345461000,"timestamp_seconds":1786345461,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7c9508"} 
[2026-08-10 12:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:38: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-08-10 12: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-08-10 12:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304360960001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304360960001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:38:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304360960001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":154236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:38:36] local.INFO: GPS data processed {"connection_id":154236,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:38:36] local.INFO: Acknowledgment sent {"connection_id":154236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:38:45] local.INFO: TCP Data received {"connection_id":152778,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:38:45] local.INFO: Processing buffer {"connection_id":152778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:38:45] local.INFO: IMEI packet received {"connection_id":152778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":152778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:38:47] local.INFO: TCP Data received {"connection_id":152778,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:38:48] local.INFO: Processing buffer {"connection_id":152778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:38:48] local.INFO: IMEI packet received {"connection_id":152778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":152778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:38:52] local.INFO: TCP Data received {"connection_id":152778,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:38:52] local.INFO: Processing buffer {"connection_id":152778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:38:52] local.INFO: IMEI packet received {"connection_id":152778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":152778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:38:53] local.INFO: TCP Data received {"connection_id":152778,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7ef280012d18154007219a40004a00a411..."} 
[2026-08-10 12:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7ef280012d18154007219a40004a00a411..."} 
[2026-08-10 12:38:53] local.INFO: Processing buffer {"connection_id":152778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7ef280012d18154007219a40004a00a411..."} 
[2026-08-10 12:38:53] local.INFO: Packet analysis {"connection_id":152778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7e"} 
[2026-08-10 12:38:53] local.INFO: Extracted packet for processing {"connection_id":152778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7e"} 
[2026-08-10 12:38:53] local.INFO: GPS Element Parsed {"raw_longitude":756553024,"raw_latitude":119642688,"longitude_deg":75.6553024,"latitude_deg":11.9642688,"altitude":74,"angle":164,"satellites":17,"speed":1,"hex_longitude":"2d181540","hex_latitude":"07219a40","is_valid_coordinates":true} 
[2026-08-10 12:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304477440001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11332851031080960,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262049753088,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786345616000,"timestamp_ms":1786345616000,"timestamp_seconds":1786345616,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7ef280"} 
[2026-08-10 12:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-10 12:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304477440001,"66":14037,"105":206,"83":41984,"24":1,"16":11332851031080960,"45":1735293262049753088},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304477440001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:38:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:38:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11332851031080960,"km_value":11332851031080.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262049753088,"description":"Unknown IO ID 45"} 
[2026-08-10 12:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304477440001,"power":14037,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1735293262049753088}} 
[2026-08-10 12:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":152778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:38:53] local.INFO: GPS data processed {"connection_id":152778,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:38:53] local.INFO: Acknowledgment sent {"connection_id":152778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:38:58] local.INFO: TCP Data received {"connection_id":152778,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7f0dd8012d181640072198c0004a008712..."} 
[2026-08-10 12:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7f0dd8012d181640072198c0004a008712..."} 
[2026-08-10 12:38:58] local.INFO: Processing buffer {"connection_id":152778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7f0dd8012d181640072198c0004a008712..."} 
[2026-08-10 12:38:58] local.INFO: Packet analysis {"connection_id":152778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7f"} 
[2026-08-10 12:38:58] local.INFO: Extracted packet for processing {"connection_id":152778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7f"} 
[2026-08-10 12:38:58] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642304,"longitude_deg":75.655328,"latitude_deg":11.9642304,"altitude":74,"angle":135,"satellites":18,"speed":6,"hex_longitude":"2d181640","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-08-10 12:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304477696001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11332876800884736,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735363630793900032,"note":"Value kept but may cause issues"} 
[2026-08-10 12:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786345623000,"timestamp_ms":1786345623000,"timestamp_seconds":1786345623,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7f0dd8"} 
[2026-08-10 12:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-10 12:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2385,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304477696001,"66":13972,"105":206,"83":41984,"24":6,"16":11332876800884736,"45":1735363630793900032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304477696001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:38:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:38:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11332876800884736,"km_value":11332876800884.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735363630793900032,"description":"Unknown IO ID 45"} 
[2026-08-10 12:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304477696001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1735363630793900032}} 
[2026-08-10 12:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":152778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:38:58] local.INFO: GPS data processed {"connection_id":152778,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:38:58] local.INFO: Acknowledgment sent {"connection_id":152778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:38:59] local.INFO: TCP Data received {"connection_id":151459,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:38:59] local.INFO: Processing buffer {"connection_id":151459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:38:59] local.INFO: IMEI packet received {"connection_id":151459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":151459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:39:04] local.INFO: TCP Data received {"connection_id":151459,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:39:04] local.INFO: Processing buffer {"connection_id":151459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:39:04] local.INFO: IMEI packet received {"connection_id":151459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":151459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:39:05] local.INFO: TCP Data received {"connection_id":151459,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:39:05] local.INFO: Processing buffer {"connection_id":151459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:39:05] local.INFO: Packet analysis {"connection_id":151459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:39:05] local.INFO: Extracted packet for processing {"connection_id":151459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304360960001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786345461000,"timestamp_ms":1786345461000,"timestamp_seconds":1786345461,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7c9508"} 
[2026-08-10 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-08-10 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:39: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-08-10 12:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304360960001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304360960001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:39:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:39:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304360960001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":151459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:39:05] local.INFO: GPS data processed {"connection_id":151459,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:39:05] local.INFO: Acknowledgment sent {"connection_id":151459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:39:36] local.INFO: TCP Data received {"connection_id":151459,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:39:36] local.INFO: Processing buffer {"connection_id":151459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea7c9508012d342a4006abc280001a010220..."} 
[2026-08-10 12:39:36] local.INFO: Packet analysis {"connection_id":151459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:39:36] local.INFO: Extracted packet for processing {"connection_id":151459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea7c"} 
[2026-08-10 12:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304360960001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786345461000,"timestamp_ms":1786345461000,"timestamp_seconds":1786345461,"priority":1,"record_length":96,"hex_timestamp":"0000019fea7c9508"} 
[2026-08-10 12:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12: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-08-10 12:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304360960001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304360960001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:39:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304360960001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":151459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:39:36] local.INFO: GPS data processed {"connection_id":151459,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:39:36] local.INFO: Acknowledgment sent {"connection_id":151459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:39:42] local.INFO: TCP Data received {"connection_id":152779,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:39:42] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:39:42] local.INFO: IMEI packet received {"connection_id":152779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":152779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:39:47] local.INFO: TCP Data received {"connection_id":152779,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:39:47] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:39:47] local.INFO: IMEI packet received {"connection_id":152779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":152779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:39:48] local.INFO: TCP Data received {"connection_id":152779,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea80e680012d182100072196a8004b004a14..."} 
[2026-08-10 12:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea80e680012d182100072196a8004b004a14..."} 
[2026-08-10 12:39:48] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea80e680012d182100072196a8004b004a14..."} 
[2026-08-10 12:39:48] local.INFO: Packet analysis {"connection_id":152779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea80"} 
[2026-08-10 12:39:48] local.INFO: Extracted packet for processing {"connection_id":152779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea80"} 
[2026-08-10 12:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119641768,"longitude_deg":75.6556032,"latitude_deg":11.9641768,"altitude":75,"angle":74,"satellites":20,"speed":0,"hex_longitude":"2d182100","hex_latitude":"072196a8","is_valid_coordinates":true} 
[2026-08-10 12:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304505088001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333040009641984,"note":"Value kept but may cause issues"} 
[2026-08-10 12:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961770014720,"note":"Value kept but may cause issues"} 
[2026-08-10 12:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786345744000,"timestamp_ms":1786345744000,"timestamp_seconds":1786345744,"priority":1,"record_length":96,"hex_timestamp":"0000019fea80e680"} 
[2026-08-10 12:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 12:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304505088001,"66":12939,"105":206,"83":41984,"24":0,"16":11333040009641984,"45":1738670961770014720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304505088001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:39:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333040009641984,"km_value":11333040009641.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961770014720,"description":"Unknown IO ID 45"} 
[2026-08-10 12:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304505088001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961770014720}} 
[2026-08-10 12:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":152779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:39:48] local.INFO: GPS data processed {"connection_id":152779,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:39:48] local.INFO: Acknowledgment sent {"connection_id":152779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:39:59] local.INFO: TCP Data received {"connection_id":151860,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:39:59] local.INFO: Processing buffer {"connection_id":151860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:39:59] local.INFO: IMEI packet received {"connection_id":151860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":151860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:40:00] local.INFO: TCP Data received {"connection_id":151860,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:40:00] local.INFO: Processing buffer {"connection_id":151860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:40:00] local.INFO: IMEI packet received {"connection_id":151860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":151860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:40:04] local.INFO: TCP Data received {"connection_id":151860,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:40:04] local.INFO: Processing buffer {"connection_id":151860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:40:04] local.INFO: IMEI packet received {"connection_id":151860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":151860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:40:05] local.INFO: TCP Data received {"connection_id":151860,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:40:05] local.INFO: Processing buffer {"connection_id":151860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:40:05] local.INFO: Packet analysis {"connection_id":151860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:40:05] local.INFO: Extracted packet for processing {"connection_id":151860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304438016001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786345762000,"timestamp_ms":1786345762000,"timestamp_seconds":1786345762,"priority":1,"record_length":96,"hex_timestamp":"0000019fea812cd0"} 
[2026-08-10 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-08-10 12:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304438016001,"66":25560,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304438016001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:40:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:40:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304438016001,"power":25560,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":151860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:40:05] local.INFO: GPS data processed {"connection_id":151860,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:40:05] local.INFO: Acknowledgment sent {"connection_id":151860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:40:19] local.INFO: TCP Data received {"connection_id":152779,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea813888012d182100072196a8004b004a14..."} 
[2026-08-10 12:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea813888012d182100072196a8004b004a14..."} 
[2026-08-10 12:40:19] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea813888012d182100072196a8004b004a14..."} 
[2026-08-10 12:40:19] local.INFO: Packet analysis {"connection_id":152779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:40:19] local.INFO: Extracted packet for processing {"connection_id":152779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:40:19] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119641768,"longitude_deg":75.6556032,"latitude_deg":11.9641768,"altitude":75,"angle":74,"satellites":20,"speed":0,"hex_longitude":"2d182100","hex_latitude":"072196a8","is_valid_coordinates":true} 
[2026-08-10 12:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304510464001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333040009641984,"note":"Value kept but may cause issues"} 
[2026-08-10 12:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961770014720,"note":"Value kept but may cause issues"} 
[2026-08-10 12:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786345765000,"timestamp_ms":1786345765000,"timestamp_seconds":1786345765,"priority":1,"record_length":96,"hex_timestamp":"0000019fea813888"} 
[2026-08-10 12:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":139,"data_length":795,"current_offset":136} 
[2026-08-10 12:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304510464001,"66":12776,"105":206,"83":41984,"24":0,"16":11333040009641984,"45":1738670961770014720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304510464001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:40:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:40:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333040009641984,"km_value":11333040009641.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961770014720,"description":"Unknown IO ID 45"} 
[2026-08-10 12:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304510464001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961770014720}} 
[2026-08-10 12:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":152779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:40:19] local.INFO: GPS data processed {"connection_id":152779,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:40:19] local.INFO: Acknowledgment sent {"connection_id":152779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:40:37] local.INFO: TCP Data received {"connection_id":151860,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:40:37] local.INFO: Processing buffer {"connection_id":151860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:40:37] local.INFO: Packet analysis {"connection_id":151860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:40:37] local.INFO: Extracted packet for processing {"connection_id":151860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304438016001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786345762000,"timestamp_ms":1786345762000,"timestamp_seconds":1786345762,"priority":1,"record_length":96,"hex_timestamp":"0000019fea812cd0"} 
[2026-08-10 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-08-10 12:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:40: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-08-10 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-08-10 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-08-10 12:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304438016001,"66":25560,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304438016001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:40:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304438016001,"power":25560,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":151860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:40:37] local.INFO: GPS data processed {"connection_id":151860,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:40:37] local.INFO: Acknowledgment sent {"connection_id":151860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:40:43] local.INFO: TCP Data received {"connection_id":154237,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:40:43] local.INFO: Processing buffer {"connection_id":154237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:40:43] local.INFO: IMEI packet received {"connection_id":154237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":154237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:40:48] local.INFO: TCP Data received {"connection_id":154237,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:40:48] local.INFO: Processing buffer {"connection_id":154237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:40:48] local.INFO: IMEI packet received {"connection_id":154237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":154237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:40:48] local.INFO: TCP Data received {"connection_id":154237,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea818a90012d182100072196a8004b004a14..."} 
[2026-08-10 12:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea818a90012d182100072196a8004b004a14..."} 
[2026-08-10 12:40:48] local.INFO: Processing buffer {"connection_id":154237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea818a90012d182100072196a8004b004a14..."} 
[2026-08-10 12:40:48] local.INFO: Packet analysis {"connection_id":154237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:40:48] local.INFO: Extracted packet for processing {"connection_id":154237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119641768,"longitude_deg":75.6556032,"latitude_deg":11.9641768,"altitude":75,"angle":74,"satellites":20,"speed":0,"hex_longitude":"2d182100","hex_latitude":"072196a8","is_valid_coordinates":true} 
[2026-08-10 12:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304515840001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333040009641984,"note":"Value kept but may cause issues"} 
[2026-08-10 12:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961770014720,"note":"Value kept but may cause issues"} 
[2026-08-10 12:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786345786000,"timestamp_ms":1786345786000,"timestamp_seconds":1786345786,"priority":1,"record_length":96,"hex_timestamp":"0000019fea818a90"} 
[2026-08-10 12:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-10 12:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304515840001,"66":12841,"105":206,"83":41984,"24":0,"16":11333040009641984,"45":1738670961770014720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304515840001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:40:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:40:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333040009641984,"km_value":11333040009641.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961770014720,"description":"Unknown IO ID 45"} 
[2026-08-10 12:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304515840001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961770014720}} 
[2026-08-10 12:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":154237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:40:48] local.INFO: GPS data processed {"connection_id":154237,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:40:48] local.INFO: Acknowledgment sent {"connection_id":154237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:41:04] local.INFO: TCP Data received {"connection_id":154238,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:41:04] local.INFO: Processing buffer {"connection_id":154238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:41:04] local.INFO: IMEI packet received {"connection_id":154238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":154238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:41:09] local.INFO: TCP Data received {"connection_id":154238,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:41:09] local.INFO: Processing buffer {"connection_id":154238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:41:09] local.INFO: IMEI packet received {"connection_id":154238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":154238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:41:10] local.INFO: TCP Data received {"connection_id":154238,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:41:10] local.INFO: Processing buffer {"connection_id":154238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:41:10] local.INFO: Packet analysis {"connection_id":154238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:41:10] local.INFO: Extracted packet for processing {"connection_id":154238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304438016001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786345762000,"timestamp_ms":1786345762000,"timestamp_seconds":1786345762,"priority":1,"record_length":96,"hex_timestamp":"0000019fea812cd0"} 
[2026-08-10 12:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304438016001,"66":25560,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304438016001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:41:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304438016001,"power":25560,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":154238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:41:10] local.INFO: GPS data processed {"connection_id":154238,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:41:10] local.INFO: Acknowledgment sent {"connection_id":154238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:41:15] local.INFO: TCP Data received {"connection_id":154238,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:41:15] local.INFO: Processing buffer {"connection_id":154238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:41:15] local.INFO: Packet analysis {"connection_id":154238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:41:15] local.INFO: Extracted packet for processing {"connection_id":154238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304438016001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786345762000,"timestamp_ms":1786345762000,"timestamp_seconds":1786345762,"priority":1,"record_length":96,"hex_timestamp":"0000019fea812cd0"} 
[2026-08-10 12:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304438016001,"66":25560,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304438016001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:41:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304438016001,"power":25560,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":154238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:41:15] local.INFO: GPS data processed {"connection_id":154238,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:41:15] local.INFO: Acknowledgment sent {"connection_id":154238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:41:20] local.INFO: TCP Data received {"connection_id":154237,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea81dc98012d182100072196a8004b004a13..."} 
[2026-08-10 12:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea81dc98012d182100072196a8004b004a13..."} 
[2026-08-10 12:41:20] local.INFO: Processing buffer {"connection_id":154237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea81dc98012d182100072196a8004b004a13..."} 
[2026-08-10 12:41:20] local.INFO: Packet analysis {"connection_id":154237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:41:20] local.INFO: Extracted packet for processing {"connection_id":154237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119641768,"longitude_deg":75.6556032,"latitude_deg":11.9641768,"altitude":75,"angle":74,"satellites":19,"speed":0,"hex_longitude":"2d182100","hex_latitude":"072196a8","is_valid_coordinates":true} 
[2026-08-10 12:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304521216001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333040009641984,"note":"Value kept but may cause issues"} 
[2026-08-10 12:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961770014720,"note":"Value kept but may cause issues"} 
[2026-08-10 12:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786345807000,"timestamp_ms":1786345807000,"timestamp_seconds":1786345807,"priority":1,"record_length":96,"hex_timestamp":"0000019fea81dc98"} 
[2026-08-10 12:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 12:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304521216001,"66":12776,"105":206,"83":41984,"24":0,"16":11333040009641984,"45":1738670961770014720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304521216001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:41:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333040009641984,"km_value":11333040009641.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961770014720,"description":"Unknown IO ID 45"} 
[2026-08-10 12:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304521216001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961770014720}} 
[2026-08-10 12:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":154237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:41:20] local.INFO: GPS data processed {"connection_id":154237,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:41:20] local.INFO: Acknowledgment sent {"connection_id":154237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:41:42] local.INFO: TCP Data received {"connection_id":151460,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:41:42] local.INFO: Processing buffer {"connection_id":151460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:41:42] local.INFO: IMEI packet received {"connection_id":151460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":151460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:41:43] local.INFO: TCP Data received {"connection_id":151460,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:41:43] local.INFO: Processing buffer {"connection_id":151460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:41:43] local.INFO: IMEI packet received {"connection_id":151460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":151460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:41:44] local.INFO: TCP Data received {"connection_id":151460,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:41:44] local.INFO: Processing buffer {"connection_id":151460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:41:44] local.INFO: IMEI packet received {"connection_id":151460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":151460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:41:47] local.INFO: TCP Data received {"connection_id":151460,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:41:47] local.INFO: Processing buffer {"connection_id":151460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:41:47] local.INFO: IMEI packet received {"connection_id":151460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":151460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:41:47] local.INFO: TCP Data received {"connection_id":151460,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea822ea0012d182100072196a8004b004a12..."} 
[2026-08-10 12:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea822ea0012d182100072196a8004b004a12..."} 
[2026-08-10 12:41:47] local.INFO: Processing buffer {"connection_id":151460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea822ea0012d182100072196a8004b004a12..."} 
[2026-08-10 12:41:47] local.INFO: Packet analysis {"connection_id":151460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea82"} 
[2026-08-10 12:41:47] local.INFO: Extracted packet for processing {"connection_id":151460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea82"} 
[2026-08-10 12:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119641768,"longitude_deg":75.6556032,"latitude_deg":11.9641768,"altitude":75,"angle":74,"satellites":18,"speed":0,"hex_longitude":"2d182100","hex_latitude":"072196a8","is_valid_coordinates":true} 
[2026-08-10 12:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304526592001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333040009641984,"note":"Value kept but may cause issues"} 
[2026-08-10 12:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961770014720,"note":"Value kept but may cause issues"} 
[2026-08-10 12:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786345828000,"timestamp_ms":1786345828000,"timestamp_seconds":1786345828,"priority":1,"record_length":96,"hex_timestamp":"0000019fea822ea0"} 
[2026-08-10 12:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-10 12:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304526592001,"66":12722,"105":206,"83":41984,"24":0,"16":11333040009641984,"45":1738670961770014720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304526592001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:41:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333040009641984,"km_value":11333040009641.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961770014720,"description":"Unknown IO ID 45"} 
[2026-08-10 12:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304526592001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961770014720}} 
[2026-08-10 12:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":151460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:41:47] local.INFO: GPS data processed {"connection_id":151460,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:41:47] local.INFO: Acknowledgment sent {"connection_id":151460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:41:59] local.INFO: TCP Data received {"connection_id":154239,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:41:59] local.INFO: Processing buffer {"connection_id":154239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:41:59] local.INFO: IMEI packet received {"connection_id":154239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":154239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:42:04] local.INFO: TCP Data received {"connection_id":154239,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:42:04] local.INFO: Processing buffer {"connection_id":154239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:42:04] local.INFO: IMEI packet received {"connection_id":154239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":154239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:42:05] local.INFO: TCP Data received {"connection_id":154239,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:42:05] local.INFO: Processing buffer {"connection_id":154239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:42:05] local.INFO: Packet analysis {"connection_id":154239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:42:05] local.INFO: Extracted packet for processing {"connection_id":154239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304438016001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786345762000,"timestamp_ms":1786345762000,"timestamp_seconds":1786345762,"priority":1,"record_length":96,"hex_timestamp":"0000019fea812cd0"} 
[2026-08-10 12:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304438016001,"66":25560,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304438016001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:42:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304438016001,"power":25560,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":154239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:42:05] local.INFO: GPS data processed {"connection_id":154239,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:42:05] local.INFO: Acknowledgment sent {"connection_id":154239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:42:19] local.INFO: TCP Data received {"connection_id":151460,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea839600012d1816c007219960004a000217..."} 
[2026-08-10 12:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea839600012d1816c007219960004a000217..."} 
[2026-08-10 12:42:19] local.INFO: Processing buffer {"connection_id":151460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea839600012d1816c007219960004a000217..."} 
[2026-08-10 12:42:19] local.INFO: Packet analysis {"connection_id":151460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea83"} 
[2026-08-10 12:42:19] local.INFO: Extracted packet for processing {"connection_id":151460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea83"} 
[2026-08-10 12:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756553408,"raw_latitude":119642464,"longitude_deg":75.6553408,"latitude_deg":11.9642464,"altitude":74,"angle":2,"satellites":23,"speed":8,"hex_longitude":"2d1816c0","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-08-10 12:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304555264001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333228988203008,"note":"Value kept but may cause issues"} 
[2026-08-10 12:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735785843258861568,"note":"Value kept but may cause issues"} 
[2026-08-10 12:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786345920000,"timestamp_ms":1786345920000,"timestamp_seconds":1786345920,"priority":1,"record_length":96,"hex_timestamp":"0000019fea839600"} 
[2026-08-10 12:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 12:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304555264001,"66":13798,"105":206,"83":41984,"24":8,"16":11333228988203008,"45":1735785843258861568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304555264001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:42:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:42:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333228988203008,"km_value":11333228988203.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735785843258861568,"description":"Unknown IO ID 45"} 
[2026-08-10 12:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304555264001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1735785843258861568}} 
[2026-08-10 12:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":151460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:42:19] local.INFO: GPS data processed {"connection_id":151460,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:42:19] local.INFO: Acknowledgment sent {"connection_id":151460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:42:37] local.INFO: TCP Data received {"connection_id":154239,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:42:37] local.INFO: Processing buffer {"connection_id":154239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:42:37] local.INFO: Packet analysis {"connection_id":154239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:42:37] local.INFO: Extracted packet for processing {"connection_id":154239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304438016001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786345762000,"timestamp_ms":1786345762000,"timestamp_seconds":1786345762,"priority":1,"record_length":96,"hex_timestamp":"0000019fea812cd0"} 
[2026-08-10 12:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:42: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-08-10 12:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304438016001,"66":25560,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304438016001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:42:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304438016001,"power":25560,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":154239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:42:37] local.INFO: GPS data processed {"connection_id":154239,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:42:37] local.INFO: Acknowledgment sent {"connection_id":154239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:42:41] local.INFO: TCP Data received {"connection_id":152780,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:42:41] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:42:41] local.INFO: IMEI packet received {"connection_id":152780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":152780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:42:42] local.INFO: TCP Data received {"connection_id":152780,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:42:42] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:42:42] local.INFO: IMEI packet received {"connection_id":152780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":152780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:42:48] local.INFO: TCP Data received {"connection_id":152780,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:42:48] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:42:48] local.INFO: IMEI packet received {"connection_id":152780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":152780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:42:49] local.INFO: TCP Data received {"connection_id":152780,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea839dd0012d18170007219c98004b001417..."} 
[2026-08-10 12:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea839dd0012d18170007219c98004b001417..."} 
[2026-08-10 12:42:49] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea839dd0012d18170007219c98004b001417..."} 
[2026-08-10 12:42:49] local.INFO: Packet analysis {"connection_id":152780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea83"} 
[2026-08-10 12:42:49] local.INFO: Extracted packet for processing {"connection_id":152780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea83"} 
[2026-08-10 12:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756553472,"raw_latitude":119643288,"longitude_deg":75.6553472,"latitude_deg":11.9643288,"altitude":75,"angle":20,"satellites":23,"speed":18,"hex_longitude":"2d181700","hex_latitude":"07219c98","is_valid_coordinates":true} 
[2026-08-10 12:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304555520001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333271937875968,"note":"Value kept but may cause issues"} 
[2026-08-10 12:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735785843258908672,"note":"Value kept but may cause issues"} 
[2026-08-10 12:42: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-08-10 12:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786345922000,"timestamp_ms":1786345922000,"timestamp_seconds":1786345922,"priority":1,"record_length":96,"hex_timestamp":"0000019fea839dd0"} 
[2026-08-10 12:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-10 12:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304555520001,"66":14233,"105":206,"83":41984,"24":18,"16":11333271937875968,"45":1735785843258908672},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304555520001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:42:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333271937875968,"km_value":11333271937875.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735785843258908672,"description":"Unknown IO ID 45"} 
[2026-08-10 12:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304555520001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1735785843258908672}} 
[2026-08-10 12:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":152780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:42:49] local.INFO: GPS data processed {"connection_id":152780,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:42:49] local.INFO: Acknowledgment sent {"connection_id":152780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:42:59] local.INFO: TCP Data received {"connection_id":151861,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:42:59] local.INFO: Processing buffer {"connection_id":151861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:42:59] local.INFO: IMEI packet received {"connection_id":151861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":151861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:43:04] local.INFO: TCP Data received {"connection_id":151861,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:43:04] local.INFO: Processing buffer {"connection_id":151861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:43:04] local.INFO: IMEI packet received {"connection_id":151861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":151861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:43:05] local.INFO: TCP Data received {"connection_id":151861,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:43:05] local.INFO: Processing buffer {"connection_id":151861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:43:05] local.INFO: Packet analysis {"connection_id":151861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:43:05] local.INFO: Extracted packet for processing {"connection_id":151861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304438016001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786345762000,"timestamp_ms":1786345762000,"timestamp_seconds":1786345762,"priority":1,"record_length":96,"hex_timestamp":"0000019fea812cd0"} 
[2026-08-10 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-08-10 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304438016001,"66":25560,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304438016001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:43:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304438016001,"power":25560,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":151861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:43:05] local.INFO: GPS data processed {"connection_id":151861,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:43:05] local.INFO: Acknowledgment sent {"connection_id":151861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:43:19] local.INFO: TCP Data received {"connection_id":152780,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea83a988012d1819c00721a2a8004c001f17..."} 
[2026-08-10 12:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea83a988012d1819c00721a2a8004c001f17..."} 
[2026-08-10 12:43:19] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea83a988012d1819c00721a2a8004c001f17..."} 
[2026-08-10 12:43:19] local.INFO: Packet analysis {"connection_id":152780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea83"} 
[2026-08-10 12:43:19] local.INFO: Extracted packet for processing {"connection_id":152780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea83"} 
[2026-08-10 12:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119644840,"longitude_deg":75.6554176,"latitude_deg":11.964484,"altitude":76,"angle":31,"satellites":23,"speed":23,"hex_longitude":"2d1819c0","hex_latitude":"0721a2a8","is_valid_coordinates":true} 
[2026-08-10 12:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304556032001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333353542254592,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735856212003297280,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786345925000,"timestamp_ms":1786345925000,"timestamp_seconds":1786345925,"priority":1,"record_length":96,"hex_timestamp":"0000019fea83a988"} 
[2026-08-10 12:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 12:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304556032001,"66":14233,"105":206,"83":41984,"24":23,"16":11333353542254592,"45":1735856212003297280},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304556032001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:43:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333353542254592,"km_value":11333353542254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735856212003297280,"description":"Unknown IO ID 45"} 
[2026-08-10 12:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304556032001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1735856212003297280}} 
[2026-08-10 12:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":152780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:43:19] local.INFO: GPS data processed {"connection_id":152780,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:43:19] local.INFO: Acknowledgment sent {"connection_id":152780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:43:37] local.INFO: TCP Data received {"connection_id":151861,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:43:37] local.INFO: Processing buffer {"connection_id":151861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:43:37] local.INFO: Packet analysis {"connection_id":151861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:43:37] local.INFO: Extracted packet for processing {"connection_id":151861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304438016001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786345762000,"timestamp_ms":1786345762000,"timestamp_seconds":1786345762,"priority":1,"record_length":96,"hex_timestamp":"0000019fea812cd0"} 
[2026-08-10 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-08-10 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12: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-08-10 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-08-10 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-08-10 12:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304438016001,"66":25560,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304438016001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:43:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304438016001,"power":25560,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":151861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:43:37] local.INFO: GPS data processed {"connection_id":151861,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:43:37] local.INFO: Acknowledgment sent {"connection_id":151861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:43:47] local.INFO: TCP Data received {"connection_id":151461,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:43:47] local.INFO: Processing buffer {"connection_id":151461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:43:47] local.INFO: IMEI packet received {"connection_id":151461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":151461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:43:50] local.INFO: TCP Data received {"connection_id":151461,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:43:50] local.INFO: Processing buffer {"connection_id":151461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:43:50] local.INFO: IMEI packet received {"connection_id":151461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":151461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:43:51] local.INFO: TCP Data received {"connection_id":151461,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea83fb90012d182a400721bf200051000f18..."} 
[2026-08-10 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea83fb90012d182a400721bf200051000f18..."} 
[2026-08-10 12:43:51] local.INFO: Processing buffer {"connection_id":151461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea83fb90012d182a400721bf200051000f18..."} 
[2026-08-10 12:43:51] local.INFO: Packet analysis {"connection_id":151461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea83"} 
[2026-08-10 12:43:51] local.INFO: Extracted packet for processing {"connection_id":151461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea83"} 
[2026-08-10 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119652128,"longitude_deg":75.65584,"latitude_deg":11.9652128,"altitude":81,"angle":15,"satellites":24,"speed":13,"hex_longitude":"2d182a40","hex_latitude":"0721bf20","is_valid_coordinates":true} 
[2026-08-10 12:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304556800001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333757269180416,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189648896,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786345946000,"timestamp_ms":1786345946000,"timestamp_seconds":1786345946,"priority":1,"record_length":96,"hex_timestamp":"0000019fea83fb90"} 
[2026-08-10 12:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 12:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304556800001,"66":13820,"105":206,"83":41984,"24":13,"16":11333757269180416,"45":1736630268189648896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304556800001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:43:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333757269180416,"km_value":11333757269180.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189648896,"description":"Unknown IO ID 45"} 
[2026-08-10 12:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304556800001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1736630268189648896}} 
[2026-08-10 12:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":151461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:43:51] local.INFO: GPS data processed {"connection_id":151461,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:43:51] local.INFO: Acknowledgment sent {"connection_id":151461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:43:52] local.INFO: TCP Data received {"connection_id":151461,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea83fb90012d182a400721bf200051000f18..."} 
[2026-08-10 12:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea83fb90012d182a400721bf200051000f18..."} 
[2026-08-10 12:43:52] local.INFO: Processing buffer {"connection_id":151461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea83fb90012d182a400721bf200051000f18..."} 
[2026-08-10 12:43:52] local.INFO: Packet analysis {"connection_id":151461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea83"} 
[2026-08-10 12:43:52] local.INFO: Extracted packet for processing {"connection_id":151461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea83"} 
[2026-08-10 12:43:52] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119652128,"longitude_deg":75.65584,"latitude_deg":11.9652128,"altitude":81,"angle":15,"satellites":24,"speed":13,"hex_longitude":"2d182a40","hex_latitude":"0721bf20","is_valid_coordinates":true} 
[2026-08-10 12:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304562176001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333757269180416,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605307240448,"note":"Value kept but may cause issues"} 
[2026-08-10 12:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786345946000,"timestamp_ms":1786345946000,"timestamp_seconds":1786345946,"priority":1,"record_length":96,"hex_timestamp":"0000019fea83fb90"} 
[2026-08-10 12:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-10 12:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304562176001,"66":13820,"105":206,"83":41984,"24":13,"16":11333757269180416,"45":1741274605307240448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304562176001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:43:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:43:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333757269180416,"km_value":11333757269180.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605307240448,"description":"Unknown IO ID 45"} 
[2026-08-10 12:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304562176001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1741274605307240448}} 
[2026-08-10 12:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":151461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:43:52] local.INFO: GPS data processed {"connection_id":151461,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:43:52] local.INFO: Acknowledgment sent {"connection_id":151461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:43:59] local.INFO: TCP Data received {"connection_id":154240,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:43:59] local.INFO: Processing buffer {"connection_id":154240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:43:59] local.INFO: IMEI packet received {"connection_id":154240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":154240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:44:04] local.INFO: TCP Data received {"connection_id":154240,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:44:04] local.INFO: Processing buffer {"connection_id":154240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:44:04] local.INFO: IMEI packet received {"connection_id":154240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":154240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:44:05] local.INFO: TCP Data received {"connection_id":154240,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:44:05] local.INFO: Processing buffer {"connection_id":154240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:44:05] local.INFO: Packet analysis {"connection_id":154240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:44:05] local.INFO: Extracted packet for processing {"connection_id":154240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304438016001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786345762000,"timestamp_ms":1786345762000,"timestamp_seconds":1786345762,"priority":1,"record_length":96,"hex_timestamp":"0000019fea812cd0"} 
[2026-08-10 12:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304438016001,"66":25560,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304438016001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:44:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:44:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304438016001,"power":25560,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":154240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:44:05] local.INFO: GPS data processed {"connection_id":154240,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:44:05] local.INFO: Acknowledgment sent {"connection_id":154240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:44:24] local.INFO: TCP Data received {"connection_id":151461,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea840748012d182b400721c1e80052002b18..."} 
[2026-08-10 12:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea840748012d182b400721c1e80052002b18..."} 
[2026-08-10 12:44:24] local.INFO: Processing buffer {"connection_id":151461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea840748012d182b400721c1e80052002b18..."} 
[2026-08-10 12:44:24] local.INFO: Packet analysis {"connection_id":151461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea84"} 
[2026-08-10 12:44:24] local.INFO: Extracted packet for processing {"connection_id":151461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea84"} 
[2026-08-10 12:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119652840,"longitude_deg":75.6558656,"latitude_deg":11.965284,"altitude":82,"angle":43,"satellites":24,"speed":6,"hex_longitude":"2d182b40","hex_latitude":"0721c1e8","is_valid_coordinates":true} 
[2026-08-10 12:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304562176001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333800218853376,"note":"Value kept but may cause issues"} 
[2026-08-10 12:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605307240448,"note":"Value kept but may cause issues"} 
[2026-08-10 12:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786345949000,"timestamp_ms":1786345949000,"timestamp_seconds":1786345949,"priority":1,"record_length":96,"hex_timestamp":"0000019fea840748"} 
[2026-08-10 12:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-10 12:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304562176001,"66":14048,"105":206,"83":41984,"24":6,"16":11333800218853376,"45":1741274605307240448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304562176001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:44:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333800218853376,"km_value":11333800218853.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605307240448,"description":"Unknown IO ID 45"} 
[2026-08-10 12:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304562176001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1741274605307240448}} 
[2026-08-10 12:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":151461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:44:24] local.INFO: GPS data processed {"connection_id":151461,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:44:24] local.INFO: Acknowledgment sent {"connection_id":151461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:44:36] local.INFO: TCP Data received {"connection_id":154240,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:44:36] local.INFO: Processing buffer {"connection_id":154240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea812cd0012d342a4006abc280000c010222..."} 
[2026-08-10 12:44:36] local.INFO: Packet analysis {"connection_id":154240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:44:36] local.INFO: Extracted packet for processing {"connection_id":154240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea81"} 
[2026-08-10 12:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304438016001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786345762000,"timestamp_ms":1786345762000,"timestamp_seconds":1786345762,"priority":1,"record_length":96,"hex_timestamp":"0000019fea812cd0"} 
[2026-08-10 12:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:44: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-08-10 12:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304438016001,"66":25560,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304438016001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:44:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304438016001,"power":25560,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":154240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:44:36] local.INFO: GPS data processed {"connection_id":154240,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:44:36] local.INFO: Acknowledgment sent {"connection_id":154240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:44:42] local.INFO: TCP Data received {"connection_id":151862,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:44:42] local.INFO: Processing buffer {"connection_id":151862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:44:42] local.INFO: IMEI packet received {"connection_id":151862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":151862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:44:47] local.INFO: TCP Data received {"connection_id":151862,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:44:47] local.INFO: Processing buffer {"connection_id":151862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:44:47] local.INFO: IMEI packet received {"connection_id":151862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":151862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:44:48] local.INFO: TCP Data received {"connection_id":151862,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea841eb8012d182c800721c1a0005400bb18..."} 
[2026-08-10 12:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea841eb8012d182c800721c1a0005400bb18..."} 
[2026-08-10 12:44:48] local.INFO: Processing buffer {"connection_id":151862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea841eb8012d182c800721c1a0005400bb18..."} 
[2026-08-10 12:44:48] local.INFO: Packet analysis {"connection_id":151862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea84"} 
[2026-08-10 12:44:48] local.INFO: Extracted packet for processing {"connection_id":151862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea84"} 
[2026-08-10 12:44:48] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119652768,"longitude_deg":75.6558976,"latitude_deg":11.9652768,"altitude":84,"angle":187,"satellites":24,"speed":8,"hex_longitude":"2d182c80","hex_latitude":"0721c1a0","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304562944001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333821693689856,"note":"Value kept but may cause issues"} 
[2026-08-10 12:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080284133376,"note":"Value kept but may cause issues"} 
[2026-08-10 12:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786345955000,"timestamp_ms":1786345955000,"timestamp_seconds":1786345955,"priority":1,"record_length":96,"hex_timestamp":"0000019fea841eb8"} 
[2026-08-10 12:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 12:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12: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-08-10 12:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304562944001,"66":14233,"105":206,"83":41984,"24":8,"16":11333821693689856,"45":1741556080284133376},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304562944001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:44:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:44:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333821693689856,"km_value":11333821693689.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080284133376,"description":"Unknown IO ID 45"} 
[2026-08-10 12:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304562944001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1741556080284133376}} 
[2026-08-10 12:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":151862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:44:48] local.INFO: GPS data processed {"connection_id":151862,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:44:48] local.INFO: Acknowledgment sent {"connection_id":151862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:44:59] local.INFO: TCP Data received {"connection_id":151462,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:44:59] local.INFO: Processing buffer {"connection_id":151462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:44:59] local.INFO: IMEI packet received {"connection_id":151462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":151462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:45:01] local.INFO: TCP Data received {"connection_id":151462,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:45:01] local.INFO: Processing buffer {"connection_id":151462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:45:01] local.INFO: IMEI packet received {"connection_id":151462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":151462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:45:04] local.INFO: TCP Data received {"connection_id":151462,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:45:04] local.INFO: Processing buffer {"connection_id":151462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:45:04] local.INFO: IMEI packet received {"connection_id":151462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":151462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:45:05] local.INFO: TCP Data received {"connection_id":151462,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:45:05] local.INFO: Processing buffer {"connection_id":151462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:45:05] local.INFO: Packet analysis {"connection_id":151462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:45:05] local.INFO: Extracted packet for processing {"connection_id":151462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304515072001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346063000,"timestamp_ms":1786346063000,"timestamp_seconds":1786346063,"priority":1,"record_length":96,"hex_timestamp":"0000019fea85c498"} 
[2026-08-10 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-08-10 12:45: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 12:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304515072001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304515072001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:45:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304515072001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":151462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:45:05] local.INFO: GPS data processed {"connection_id":151462,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:45:05] local.INFO: Acknowledgment sent {"connection_id":151462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:45:19] local.INFO: TCP Data received {"connection_id":151862,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8422a0012d182c000721c0e8005400db18..."} 
[2026-08-10 12:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8422a0012d182c000721c0e8005400db18..."} 
[2026-08-10 12:45:19] local.INFO: Processing buffer {"connection_id":151862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8422a0012d182c000721c0e8005400db18..."} 
[2026-08-10 12:45:19] local.INFO: Packet analysis {"connection_id":151862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea84"} 
[2026-08-10 12:45:19] local.INFO: Extracted packet for processing {"connection_id":151862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea84"} 
[2026-08-10 12:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119652584,"longitude_deg":75.6558848,"latitude_deg":11.9652584,"altitude":84,"angle":219,"satellites":24,"speed":9,"hex_longitude":"2d182c00","hex_latitude":"0721c0e8","is_valid_coordinates":true} 
[2026-08-10 12:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304564480001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333830283624448,"note":"Value kept but may cause issues"} 
[2026-08-10 12:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924005003264,"note":"Value kept but may cause issues"} 
[2026-08-10 12:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786345956000,"timestamp_ms":1786345956000,"timestamp_seconds":1786345956,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8422a0"} 
[2026-08-10 12:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 12:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304564480001,"66":14211,"105":206,"83":41984,"24":9,"16":11333830283624448,"45":1741907924005003264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304564480001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:45:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:45:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333830283624448,"km_value":11333830283624.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924005003264,"description":"Unknown IO ID 45"} 
[2026-08-10 12:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304564480001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1741907924005003264}} 
[2026-08-10 12:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":151862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:45:20] local.INFO: GPS data processed {"connection_id":151862,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:45:20] local.INFO: Acknowledgment sent {"connection_id":151862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:45:37] local.INFO: TCP Data received {"connection_id":151462,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:45:37] local.INFO: Processing buffer {"connection_id":151462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:45:37] local.INFO: Packet analysis {"connection_id":151462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:45:37] local.INFO: Extracted packet for processing {"connection_id":151462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304515072001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786346063000,"timestamp_ms":1786346063000,"timestamp_seconds":1786346063,"priority":1,"record_length":96,"hex_timestamp":"0000019fea85c498"} 
[2026-08-10 12:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:45: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-08-10 12: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":216,"data_length":795,"current_offset":136} 
[2026-08-10 12:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:45: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-08-10 12:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304515072001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304515072001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:45:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304515072001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":151462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:45:37] local.INFO: GPS data processed {"connection_id":151462,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:45:37] local.INFO: Acknowledgment sent {"connection_id":151462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:45:42] local.INFO: TCP Data received {"connection_id":154241,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:45:42] local.INFO: Processing buffer {"connection_id":154241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:45:42] local.INFO: IMEI packet received {"connection_id":154241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":154241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:45:47] local.INFO: TCP Data received {"connection_id":154241,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:45:47] local.INFO: Processing buffer {"connection_id":154241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:45:47] local.INFO: IMEI packet received {"connection_id":154241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":154241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:45:48] local.INFO: TCP Data received {"connection_id":154241,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea842688012d182b400721c068005400f018..."} 
[2026-08-10 12:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea842688012d182b400721c068005400f018..."} 
[2026-08-10 12:45:48] local.INFO: Processing buffer {"connection_id":154241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea842688012d182b400721c068005400f018..."} 
[2026-08-10 12:45:48] local.INFO: Packet analysis {"connection_id":154241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea84"} 
[2026-08-10 12:45:48] local.INFO: Extracted packet for processing {"connection_id":154241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea84"} 
[2026-08-10 12:45:48] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119652456,"longitude_deg":75.6558656,"latitude_deg":11.9652456,"altitude":84,"angle":240,"satellites":24,"speed":7,"hex_longitude":"2d182b40","hex_latitude":"0721c068","is_valid_coordinates":true} 
[2026-08-10 12:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304564736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333838873559040,"note":"Value kept but may cause issues"} 
[2026-08-10 12:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741767186516600832,"note":"Value kept but may cause issues"} 
[2026-08-10 12:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786345957000,"timestamp_ms":1786345957000,"timestamp_seconds":1786345957,"priority":1,"record_length":96,"hex_timestamp":"0000019fea842688"} 
[2026-08-10 12:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 12:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304564736001,"66":14211,"105":206,"83":41984,"24":7,"16":11333838873559040,"45":1741767186516600832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304564736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:45:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:45:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333838873559040,"km_value":11333838873559.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741767186516600832,"description":"Unknown IO ID 45"} 
[2026-08-10 12:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304564736001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1741767186516600832}} 
[2026-08-10 12:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":154241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:45:48] local.INFO: GPS data processed {"connection_id":154241,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:45:48] local.INFO: Acknowledgment sent {"connection_id":154241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:45:59] local.INFO: TCP Data received {"connection_id":151863,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:45:59] local.INFO: Processing buffer {"connection_id":151863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:45:59] local.INFO: IMEI packet received {"connection_id":151863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":151863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:46:04] local.INFO: TCP Data received {"connection_id":151863,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:46:04] local.INFO: Processing buffer {"connection_id":151863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:46:04] local.INFO: IMEI packet received {"connection_id":151863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":151863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:46:05] local.INFO: TCP Data received {"connection_id":151863,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:46:05] local.INFO: Processing buffer {"connection_id":151863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:46:05] local.INFO: Packet analysis {"connection_id":151863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:46:05] local.INFO: Extracted packet for processing {"connection_id":151863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304515072001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346063000,"timestamp_ms":1786346063000,"timestamp_seconds":1786346063,"priority":1,"record_length":96,"hex_timestamp":"0000019fea85c498"} 
[2026-08-10 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-08-10 12:46: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 12:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304515072001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304515072001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:46:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:46:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304515072001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":151863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:46:05] local.INFO: GPS data processed {"connection_id":151863,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:46:05] local.INFO: Acknowledgment sent {"connection_id":151863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:46:19] local.INFO: TCP Data received {"connection_id":154241,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea86d9f0012d1828000721bc40005400ef1e..."} 
[2026-08-10 12:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea86d9f0012d1828000721bc40005400ef1e..."} 
[2026-08-10 12:46:19] local.INFO: Processing buffer {"connection_id":154241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea86d9f0012d1828000721bc40005400ef1e..."} 
[2026-08-10 12:46:19] local.INFO: Packet analysis {"connection_id":154241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea86"} 
[2026-08-10 12:46:19] local.INFO: Extracted packet for processing {"connection_id":154241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea86"} 
[2026-08-10 12:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119651392,"longitude_deg":75.6557824,"latitude_deg":11.9651392,"altitude":84,"angle":239,"satellites":30,"speed":0,"hex_longitude":"2d182800","hex_latitude":"0721bc40","is_valid_coordinates":true} 
[2026-08-10 12:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304604928001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333907593035776,"note":"Value kept but may cause issues"} 
[2026-08-10 12:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286609453056,"note":"Value kept but may cause issues"} 
[2026-08-10 12:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786346134000,"timestamp_ms":1786346134000,"timestamp_seconds":1786346134,"priority":1,"record_length":96,"hex_timestamp":"0000019fea86d9f0"} 
[2026-08-10 12:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 12:46: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-08-10 12:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304604928001,"66":12776,"105":206,"83":41984,"24":0,"16":11333907593035776,"45":1740641286609453056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304604928001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:46:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333907593035776,"km_value":11333907593035.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286609453056,"description":"Unknown IO ID 45"} 
[2026-08-10 12:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304604928001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740641286609453056}} 
[2026-08-10 12:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":154241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:46:19] local.INFO: GPS data processed {"connection_id":154241,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:46:19] local.INFO: Acknowledgment sent {"connection_id":154241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:46:36] local.INFO: TCP Data received {"connection_id":151863,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:46:36] local.INFO: Processing buffer {"connection_id":151863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:46:36] local.INFO: Packet analysis {"connection_id":151863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:46:36] local.INFO: Extracted packet for processing {"connection_id":151863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304515072001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786346063000,"timestamp_ms":1786346063000,"timestamp_seconds":1786346063,"priority":1,"record_length":96,"hex_timestamp":"0000019fea85c498"} 
[2026-08-10 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-08-10 12:46: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 12:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304515072001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304515072001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:46:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304515072001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":151863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:46:36] local.INFO: GPS data processed {"connection_id":151863,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:46:36] local.INFO: Acknowledgment sent {"connection_id":151863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:46:44] local.INFO: TCP Data received {"connection_id":152781,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:46:44] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:46:44] local.INFO: IMEI packet received {"connection_id":152781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":152781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:46:47] local.INFO: TCP Data received {"connection_id":152781,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:46:47] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:46:47] local.INFO: IMEI packet received {"connection_id":152781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":152781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:46:48] local.INFO: TCP Data received {"connection_id":152781,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea872810012d1828000721bc40005400ef1e..."} 
[2026-08-10 12:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea872810012d1828000721bc40005400ef1e..."} 
[2026-08-10 12:46:48] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea872810012d1828000721bc40005400ef1e..."} 
[2026-08-10 12:46:48] local.INFO: Packet analysis {"connection_id":152781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea87"} 
[2026-08-10 12:46:48] local.INFO: Extracted packet for processing {"connection_id":152781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea87"} 
[2026-08-10 12:46:48] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119651392,"longitude_deg":75.6557824,"latitude_deg":11.9651392,"altitude":84,"angle":239,"satellites":30,"speed":0,"hex_longitude":"2d182800","hex_latitude":"0721bc40","is_valid_coordinates":true} 
[2026-08-10 12:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304610304001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333907593035776,"note":"Value kept but may cause issues"} 
[2026-08-10 12:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286609453056,"note":"Value kept but may cause issues"} 
[2026-08-10 12:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786346154000,"timestamp_ms":1786346154000,"timestamp_seconds":1786346154,"priority":1,"record_length":96,"hex_timestamp":"0000019fea872810"} 
[2026-08-10 12:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-10 12:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304610304001,"66":12798,"105":206,"83":41984,"24":0,"16":11333907593035776,"45":1740641286609453056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304610304001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:46:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:46:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333907593035776,"km_value":11333907593035.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286609453056,"description":"Unknown IO ID 45"} 
[2026-08-10 12:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304610304001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740641286609453056}} 
[2026-08-10 12:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":152781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:46:48] local.INFO: GPS data processed {"connection_id":152781,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:46:48] local.INFO: Acknowledgment sent {"connection_id":152781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:46:59] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:46:59] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:46:59] local.INFO: IMEI packet received {"connection_id":152782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":152782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:47:04] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:47:04] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:47:04] local.INFO: IMEI packet received {"connection_id":152782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":152782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:47:05] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:47:05] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:47:05] local.INFO: Packet analysis {"connection_id":152782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:47:05] local.INFO: Extracted packet for processing {"connection_id":152782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304515072001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346063000,"timestamp_ms":1786346063000,"timestamp_seconds":1786346063,"priority":1,"record_length":96,"hex_timestamp":"0000019fea85c498"} 
[2026-08-10 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-08-10 12:47: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 12:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304515072001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304515072001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:47:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304515072001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":152782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:47:05] local.INFO: GPS data processed {"connection_id":152782,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:47:05] local.INFO: Acknowledgment sent {"connection_id":152782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:47:36] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:47:36] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:47:36] local.INFO: Packet analysis {"connection_id":152782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:47:36] local.INFO: Extracted packet for processing {"connection_id":152782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304515072001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786346063000,"timestamp_ms":1786346063000,"timestamp_seconds":1786346063,"priority":1,"record_length":96,"hex_timestamp":"0000019fea85c498"} 
[2026-08-10 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-08-10 12: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 12:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304515072001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304515072001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:47:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304515072001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":152782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:47:36] local.INFO: GPS data processed {"connection_id":152782,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:47:36] local.INFO: Acknowledgment sent {"connection_id":152782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:47:38] local.INFO: TCP Data received {"connection_id":152781,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea877a18012d1828000721bc40005400ef1e..."} 
[2026-08-10 12:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea877a18012d1828000721bc40005400ef1e..."} 
[2026-08-10 12:47:38] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea877a18012d1828000721bc40005400ef1e..."} 
[2026-08-10 12:47:38] local.INFO: Packet analysis {"connection_id":152781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea87"} 
[2026-08-10 12:47:38] local.INFO: Extracted packet for processing {"connection_id":152781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea87"} 
[2026-08-10 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119651392,"longitude_deg":75.6557824,"latitude_deg":11.9651392,"altitude":84,"angle":239,"satellites":30,"speed":0,"hex_longitude":"2d182800","hex_latitude":"0721bc40","is_valid_coordinates":true} 
[2026-08-10 12:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304615424001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333907593035776,"note":"Value kept but may cause issues"} 
[2026-08-10 12:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286609453056,"note":"Value kept but may cause issues"} 
[2026-08-10 12:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786346175000,"timestamp_ms":1786346175000,"timestamp_seconds":1786346175,"priority":1,"record_length":96,"hex_timestamp":"0000019fea877a18"} 
[2026-08-10 12:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":254,"data_length":795,"current_offset":136} 
[2026-08-10 12:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304615424001,"66":12798,"105":206,"83":41984,"24":0,"16":11333907593035776,"45":1740641286609453056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304615424001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:47:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333907593035776,"km_value":11333907593035.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286609453056,"description":"Unknown IO ID 45"} 
[2026-08-10 12:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304615424001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740641286609453056}} 
[2026-08-10 12:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":152781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:47:38] local.INFO: GPS data processed {"connection_id":152781,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:47:38] local.INFO: Acknowledgment sent {"connection_id":152781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:47:42] local.INFO: TCP Data received {"connection_id":151463,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:47:42] local.INFO: Processing buffer {"connection_id":151463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:47:42] local.INFO: IMEI packet received {"connection_id":151463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":151463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:47:46] local.INFO: TCP Data received {"connection_id":151463,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:47:46] local.INFO: Processing buffer {"connection_id":151463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:47:46] local.INFO: IMEI packet received {"connection_id":151463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":151463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:47:47] local.INFO: TCP Data received {"connection_id":151463,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea87cc20012d1828000721bc40005400ef1e..."} 
[2026-08-10 12:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea87cc20012d1828000721bc40005400ef1e..."} 
[2026-08-10 12:47:47] local.INFO: Processing buffer {"connection_id":151463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea87cc20012d1828000721bc40005400ef1e..."} 
[2026-08-10 12:47:47] local.INFO: Packet analysis {"connection_id":151463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea87"} 
[2026-08-10 12:47:47] local.INFO: Extracted packet for processing {"connection_id":151463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea87"} 
[2026-08-10 12:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119651392,"longitude_deg":75.6557824,"latitude_deg":11.9651392,"altitude":84,"angle":239,"satellites":30,"speed":0,"hex_longitude":"2d182800","hex_latitude":"0721bc40","is_valid_coordinates":true} 
[2026-08-10 12:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304620800001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333907593035776,"note":"Value kept but may cause issues"} 
[2026-08-10 12:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286609453056,"note":"Value kept but may cause issues"} 
[2026-08-10 12:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786346196000,"timestamp_ms":1786346196000,"timestamp_seconds":1786346196,"priority":1,"record_length":96,"hex_timestamp":"0000019fea87cc20"} 
[2026-08-10 12:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 12:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304620800001,"66":12211,"105":206,"83":41984,"24":0,"16":11333907593035776,"45":1740641286609453056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304620800001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:47:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333907593035776,"km_value":11333907593035.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286609453056,"description":"Unknown IO ID 45"} 
[2026-08-10 12:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304620800001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740641286609453056}} 
[2026-08-10 12:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":151463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:47:47] local.INFO: GPS data processed {"connection_id":151463,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:47:47] local.INFO: Acknowledgment sent {"connection_id":151463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:47:59] local.INFO: TCP Data received {"connection_id":151864,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:47:59] local.INFO: Processing buffer {"connection_id":151864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:47:59] local.INFO: IMEI packet received {"connection_id":151864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":151864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:48:04] local.INFO: TCP Data received {"connection_id":151864,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:48:04] local.INFO: Processing buffer {"connection_id":151864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:48:04] local.INFO: IMEI packet received {"connection_id":151864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":151864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:48:05] local.INFO: TCP Data received {"connection_id":151864,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:48:05] local.INFO: Processing buffer {"connection_id":151864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:48:05] local.INFO: Packet analysis {"connection_id":151864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:48:05] local.INFO: Extracted packet for processing {"connection_id":151864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304515072001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346063000,"timestamp_ms":1786346063000,"timestamp_seconds":1786346063,"priority":1,"record_length":96,"hex_timestamp":"0000019fea85c498"} 
[2026-08-10 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-08-10 12: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 12:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:48: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-08-10 12:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304515072001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304515072001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:48:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304515072001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":151864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:48:05] local.INFO: GPS data processed {"connection_id":151864,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:48:05] local.INFO: Acknowledgment sent {"connection_id":151864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:48:21] local.INFO: TCP Data received {"connection_id":151463,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8806b8012d1827800721bb60005100cf1e..."} 
[2026-08-10 12:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8806b8012d1827800721bb60005100cf1e..."} 
[2026-08-10 12:48:21] local.INFO: Processing buffer {"connection_id":151463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8806b8012d1827800721bb60005100cf1e..."} 
[2026-08-10 12:48:21] local.INFO: Packet analysis {"connection_id":151463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea88"} 
[2026-08-10 12:48:21] local.INFO: Extracted packet for processing {"connection_id":151463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea88"} 
[2026-08-10 12:48:21] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119651168,"longitude_deg":75.6557696,"latitude_deg":11.9651168,"altitude":81,"angle":207,"satellites":30,"speed":1,"hex_longitude":"2d182780","hex_latitude":"0721bb60","is_valid_coordinates":true} 
[2026-08-10 12:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304626176001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333920477937664,"note":"Value kept but may cause issues"} 
[2026-08-10 12:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286609453056,"note":"Value kept but may cause issues"} 
[2026-08-10 12:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786346211000,"timestamp_ms":1786346211000,"timestamp_seconds":1786346211,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8806b8"} 
[2026-08-10 12:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 12:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304626176001,"66":14026,"105":206,"83":41984,"24":1,"16":11333920477937664,"45":1740641286609453056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304626176001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:48:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333920477937664,"km_value":11333920477937.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286609453056,"description":"Unknown IO ID 45"} 
[2026-08-10 12:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304626176001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1740641286609453056}} 
[2026-08-10 12:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":151463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:48:21] local.INFO: GPS data processed {"connection_id":151463,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:48:21] local.INFO: Acknowledgment sent {"connection_id":151463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:48:36] local.INFO: TCP Data received {"connection_id":151864,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:48:36] local.INFO: Processing buffer {"connection_id":151864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:48:36] local.INFO: Packet analysis {"connection_id":151864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:48:36] local.INFO: Extracted packet for processing {"connection_id":151864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304515072001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786346063000,"timestamp_ms":1786346063000,"timestamp_seconds":1786346063,"priority":1,"record_length":96,"hex_timestamp":"0000019fea85c498"} 
[2026-08-10 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-08-10 12:48: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 12:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304515072001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304515072001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:48:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:48:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304515072001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":151864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:48:36] local.INFO: GPS data processed {"connection_id":151864,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:48:36] local.INFO: Acknowledgment sent {"connection_id":151864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:48:43] local.INFO: TCP Data received {"connection_id":154242,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:48:43] local.INFO: Processing buffer {"connection_id":154242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:48:43] local.INFO: IMEI packet received {"connection_id":154242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":154242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:48:47] local.INFO: TCP Data received {"connection_id":154242,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:48:47] local.INFO: Processing buffer {"connection_id":154242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:48:47] local.INFO: IMEI packet received {"connection_id":154242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":154242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:48:48] local.INFO: TCP Data received {"connection_id":154242,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea880aa0012d1827800721bb30005100dd1e..."} 
[2026-08-10 12:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea880aa0012d1827800721bb30005100dd1e..."} 
[2026-08-10 12:48:48] local.INFO: Processing buffer {"connection_id":154242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea880aa0012d1827800721bb30005100dd1e..."} 
[2026-08-10 12:48:48] local.INFO: Packet analysis {"connection_id":154242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea88"} 
[2026-08-10 12:48:48] local.INFO: Extracted packet for processing {"connection_id":154242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea88"} 
[2026-08-10 12:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119651120,"longitude_deg":75.6557696,"latitude_deg":11.965112,"altitude":81,"angle":221,"satellites":30,"speed":2,"hex_longitude":"2d182780","hex_latitude":"0721bb30","is_valid_coordinates":true} 
[2026-08-10 12:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304630016001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333920477937664,"note":"Value kept but may cause issues"} 
[2026-08-10 12:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549121040384,"note":"Value kept but may cause issues"} 
[2026-08-10 12:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786346212000,"timestamp_ms":1786346212000,"timestamp_seconds":1786346212,"priority":1,"record_length":96,"hex_timestamp":"0000019fea880aa0"} 
[2026-08-10 12:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-10 12:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304630016001,"66":14026,"105":206,"83":41984,"24":2,"16":11333920477937664,"45":1740500549121040384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304630016001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:48:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333920477937664,"km_value":11333920477937.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549121040384,"description":"Unknown IO ID 45"} 
[2026-08-10 12:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304630016001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1740500549121040384}} 
[2026-08-10 12:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":154242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:48:48] local.INFO: GPS data processed {"connection_id":154242,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:48:48] local.INFO: Acknowledgment sent {"connection_id":154242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:49:04] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:49:04] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:49:04] local.INFO: IMEI packet received {"connection_id":152783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":152783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:49:09] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:49:09] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:49:09] local.INFO: IMEI packet received {"connection_id":152783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":152783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:49:10] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:49:10] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:49:10] local.INFO: Packet analysis {"connection_id":152783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:49:10] local.INFO: Extracted packet for processing {"connection_id":152783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304515072001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786346063000,"timestamp_ms":1786346063000,"timestamp_seconds":1786346063,"priority":1,"record_length":96,"hex_timestamp":"0000019fea85c498"} 
[2026-08-10 12:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12: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-08-10 12: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 12:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304515072001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304515072001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:49:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304515072001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":152783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:49:10] local.INFO: GPS data processed {"connection_id":152783,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:49:10] local.INFO: Acknowledgment sent {"connection_id":152783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:49:15] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:49:15] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea85c498012d342a4006abc280000c010222..."} 
[2026-08-10 12:49:15] local.INFO: Packet analysis {"connection_id":152783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:49:15] local.INFO: Extracted packet for processing {"connection_id":152783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea85"} 
[2026-08-10 12:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304515072001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786346063000,"timestamp_ms":1786346063000,"timestamp_seconds":1786346063,"priority":1,"record_length":96,"hex_timestamp":"0000019fea85c498"} 
[2026-08-10 12:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 12:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304515072001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304515072001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:49:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304515072001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":152783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:49:15] local.INFO: GPS data processed {"connection_id":152783,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:49:15] local.INFO: Acknowledgment sent {"connection_id":152783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:49:19] local.INFO: TCP Data received {"connection_id":154242,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea881270012d1827000721baf8005100fb1e..."} 
[2026-08-10 12:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea881270012d1827000721baf8005100fb1e..."} 
[2026-08-10 12:49:19] local.INFO: Processing buffer {"connection_id":154242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea881270012d1827000721baf8005100fb1e..."} 
[2026-08-10 12:49:19] local.INFO: Packet analysis {"connection_id":154242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea88"} 
[2026-08-10 12:49:19] local.INFO: Extracted packet for processing {"connection_id":154242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea88"} 
[2026-08-10 12:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651064,"longitude_deg":75.6557568,"latitude_deg":11.9651064,"altitude":81,"angle":251,"satellites":30,"speed":2,"hex_longitude":"2d182700","hex_latitude":"0721baf8","is_valid_coordinates":true} 
[2026-08-10 12:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304630272001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333929067872256,"note":"Value kept but may cause issues"} 
[2026-08-10 12:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549121028096,"note":"Value kept but may cause issues"} 
[2026-08-10 12:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786346214000,"timestamp_ms":1786346214000,"timestamp_seconds":1786346214,"priority":1,"record_length":96,"hex_timestamp":"0000019fea881270"} 
[2026-08-10 12:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-10 12:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304630272001,"66":13972,"105":206,"83":41984,"24":2,"16":11333929067872256,"45":1740500549121028096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304630272001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:49:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333929067872256,"km_value":11333929067872.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549121028096,"description":"Unknown IO ID 45"} 
[2026-08-10 12:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304630272001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1740500549121028096}} 
[2026-08-10 12:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":154242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:49:19] local.INFO: GPS data processed {"connection_id":154242,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:49:19] local.INFO: Acknowledgment sent {"connection_id":154242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:49:42] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:49:42] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:49:42] local.INFO: IMEI packet received {"connection_id":152784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":152784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:49:47] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:49:47] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:49:47] local.INFO: IMEI packet received {"connection_id":152784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":152784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:49:55] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea881658012d1826800721baf8005101101e..."} 
[2026-08-10 12:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea881658012d1826800721baf8005101101e..."} 
[2026-08-10 12:49:55] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea881658012d1826800721baf8005101101e..."} 
[2026-08-10 12:49:55] local.INFO: Packet analysis {"connection_id":152784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea88"} 
[2026-08-10 12:49:55] local.INFO: Extracted packet for processing {"connection_id":152784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea88"} 
[2026-08-10 12:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651064,"longitude_deg":75.655744,"latitude_deg":11.9651064,"altitude":81,"angle":272,"satellites":30,"speed":2,"hex_longitude":"2d182680","hex_latitude":"0721baf8","is_valid_coordinates":true} 
[2026-08-10 12:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304630784001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11333933362839552,"note":"Value kept but may cause issues"} 
[2026-08-10 12:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632658432,"note":"Value kept but may cause issues"} 
[2026-08-10 12:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786346215000,"timestamp_ms":1786346215000,"timestamp_seconds":1786346215,"priority":1,"record_length":96,"hex_timestamp":"0000019fea881658"} 
[2026-08-10 12:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-10 12:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304630784001,"66":13961,"105":206,"83":41984,"24":2,"16":11333933362839552,"45":1740359811632658432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304630784001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:49:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:49:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11333933362839552,"km_value":11333933362839.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632658432,"description":"Unknown IO ID 45"} 
[2026-08-10 12:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304630784001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1740359811632658432}} 
[2026-08-10 12:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":152784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:49:55] local.INFO: GPS data processed {"connection_id":152784,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:49:55] local.INFO: Acknowledgment sent {"connection_id":152784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:49:59] local.INFO: TCP Data received {"connection_id":151464,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:49:59] local.INFO: Processing buffer {"connection_id":151464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:49:59] local.INFO: IMEI packet received {"connection_id":151464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":151464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:50:02] local.INFO: TCP Data received {"connection_id":151464,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:50:02] local.INFO: Processing buffer {"connection_id":151464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:50:02] local.INFO: IMEI packet received {"connection_id":151464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":151464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:50:03] local.INFO: TCP Data received {"connection_id":151464,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:50:03] local.INFO: Processing buffer {"connection_id":151464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:50:03] local.INFO: Packet analysis {"connection_id":151464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:50:03] local.INFO: Extracted packet for processing {"connection_id":151464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304592128001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786346364000,"timestamp_ms":1786346364000,"timestamp_seconds":1786346364,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8a5c60"} 
[2026-08-10 12:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:50: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-08-10 12:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304592128001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304592128001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:50:03] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304592128001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":151464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:50:03] local.INFO: GPS data processed {"connection_id":151464,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:50:03] local.INFO: Acknowledgment sent {"connection_id":151464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:50:34] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ae130012d181f400721a878004f009a22..."} 
[2026-08-10 12:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ae130012d181f400721a878004f009a22..."} 
[2026-08-10 12:50:34] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ae130012d181f400721a878004f009a22..."} 
[2026-08-10 12:50:34] local.INFO: Packet analysis {"connection_id":152784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:50:34] local.INFO: Extracted packet for processing {"connection_id":152784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:50:34] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646328,"longitude_deg":75.6555584,"latitude_deg":11.9646328,"altitude":79,"angle":154,"satellites":34,"speed":10,"hex_longitude":"2d181f40","hex_latitude":"0721a878","is_valid_coordinates":true} 
[2026-08-10 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304677632001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11334195355844608,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073654784,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786346398000,"timestamp_ms":1786346398000,"timestamp_seconds":1786346398,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ae130"} 
[2026-08-10 12:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 12:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304677632001,"66":14157,"105":206,"83":41984,"24":10,"16":11334195355844608,"45":1738037643073654784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304677632001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:50:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11334195355844608,"km_value":11334195355844.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073654784,"description":"Unknown IO ID 45"} 
[2026-08-10 12:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304677632001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1738037643073654784}} 
[2026-08-10 12:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":152784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:50:34] local.INFO: GPS data processed {"connection_id":152784,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:50:34] local.INFO: Acknowledgment sent {"connection_id":152784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:50:35] local.INFO: TCP Data received {"connection_id":151464,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:50:35] local.INFO: Processing buffer {"connection_id":151464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:50:35] local.INFO: Packet analysis {"connection_id":151464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:50:35] local.INFO: Extracted packet for processing {"connection_id":151464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304592128001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786346364000,"timestamp_ms":1786346364000,"timestamp_seconds":1786346364,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8a5c60"} 
[2026-08-10 12:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304592128001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304592128001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:50:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304592128001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":151464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:50:35] local.INFO: GPS data processed {"connection_id":151464,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:50:35] local.INFO: Acknowledgment sent {"connection_id":151464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:50:42] local.INFO: TCP Data received {"connection_id":151465,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:50:42] local.INFO: Processing buffer {"connection_id":151465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:50:42] local.INFO: IMEI packet received {"connection_id":151465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":151465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:50:43] local.INFO: TCP Data received {"connection_id":151465,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:50:43] local.INFO: Processing buffer {"connection_id":151465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:50:43] local.INFO: IMEI packet received {"connection_id":151465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":151465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:50:46] local.INFO: TCP Data received {"connection_id":151465,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:50:46] local.INFO: Processing buffer {"connection_id":151465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:50:46] local.INFO: IMEI packet received {"connection_id":151465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":151465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:50:47] local.INFO: TCP Data received {"connection_id":151465,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:50:47] local.INFO: Processing buffer {"connection_id":151465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:50:47] local.INFO: IMEI packet received {"connection_id":151465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":151465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:50:48] local.INFO: TCP Data received {"connection_id":151465,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ae900012d1820400721a6f0004f008322..."} 
[2026-08-10 12:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ae900012d1820400721a6f0004f008322..."} 
[2026-08-10 12:50:48] local.INFO: Processing buffer {"connection_id":151465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ae900012d1820400721a6f0004f008322..."} 
[2026-08-10 12:50:48] local.INFO: Packet analysis {"connection_id":151465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:50:48] local.INFO: Extracted packet for processing {"connection_id":151465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645936,"longitude_deg":75.655584,"latitude_deg":11.9645936,"altitude":79,"angle":131,"satellites":34,"speed":8,"hex_longitude":"2d182040","hex_latitude":"0721a6f0","is_valid_coordinates":true} 
[2026-08-10 12:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304677888001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11334221125648384,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561938432,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786346400000,"timestamp_ms":1786346400000,"timestamp_seconds":1786346400,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ae900"} 
[2026-08-10 12:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 12:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304677888001,"66":14233,"105":206,"83":41984,"24":8,"16":11334221125648384,"45":1738178380561938432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304677888001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:50:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:50:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11334221125648384,"km_value":11334221125648.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561938432,"description":"Unknown IO ID 45"} 
[2026-08-10 12:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304677888001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738178380561938432}} 
[2026-08-10 12:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":151465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:50:48] local.INFO: GPS data processed {"connection_id":151465,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:50:48] local.INFO: Acknowledgment sent {"connection_id":151465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:50:56] local.INFO: TCP Data received {"connection_id":151465,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8b1bc8012d182f80072199700052007822..."} 
[2026-08-10 12:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8b1bc8012d182f80072199700052007822..."} 
[2026-08-10 12:50:56] local.INFO: Processing buffer {"connection_id":151465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8b1bc8012d182f80072199700052007822..."} 
[2026-08-10 12:50:56] local.INFO: Packet analysis {"connection_id":151465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8b"} 
[2026-08-10 12:50:56] local.INFO: Extracted packet for processing {"connection_id":151465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8b"} 
[2026-08-10 12:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756559744,"raw_latitude":119642480,"longitude_deg":75.6559744,"latitude_deg":11.964248,"altitude":82,"angle":120,"satellites":34,"speed":19,"hex_longitude":"2d182f80","hex_latitude":"07219970","is_valid_coordinates":true} 
[2026-08-10 12:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304678400001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11334470233751552,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538548736,"note":"Value kept but may cause issues"} 
[2026-08-10 12:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786346413000,"timestamp_ms":1786346413000,"timestamp_seconds":1786346413,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8b1bc8"} 
[2026-08-10 12:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 12:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304678400001,"66":14211,"105":206,"83":41984,"24":19,"16":11334470233751552,"45":1738459855538548736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 12:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304678400001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:50:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 12:50:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11334470233751552,"km_value":11334470233751.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538548736,"description":"Unknown IO ID 45"} 
[2026-08-10 12:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304678400001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1738459855538548736}} 
[2026-08-10 12:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":151465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:50:56] local.INFO: GPS data processed {"connection_id":151465,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:50:56] local.INFO: Acknowledgment sent {"connection_id":151465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:50:59] local.INFO: TCP Data received {"connection_id":151865,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:50:59] local.INFO: Processing buffer {"connection_id":151865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:50:59] local.INFO: IMEI packet received {"connection_id":151865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":151865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:51:04] local.INFO: TCP Data received {"connection_id":151865,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:51:04] local.INFO: Processing buffer {"connection_id":151865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:51:04] local.INFO: IMEI packet received {"connection_id":151865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":151865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:51:05] local.INFO: TCP Data received {"connection_id":151865,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:51:05] local.INFO: Processing buffer {"connection_id":151865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:51:05] local.INFO: Packet analysis {"connection_id":151865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:51:05] local.INFO: Extracted packet for processing {"connection_id":151865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304592128001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346364000,"timestamp_ms":1786346364000,"timestamp_seconds":1786346364,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8a5c60"} 
[2026-08-10 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-08-10 12:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304592128001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304592128001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:51:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304592128001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":151865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:51:05] local.INFO: GPS data processed {"connection_id":151865,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:51:05] local.INFO: Acknowledgment sent {"connection_id":151865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:51:27] local.INFO: TCP Data received {"connection_id":151465,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8bfa70012d18c5c007214880004900b222..."} 
[2026-08-10 12:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8bfa70012d18c5c007214880004900b222..."} 
[2026-08-10 12:51:27] local.INFO: Processing buffer {"connection_id":151465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8bfa70012d18c5c007214880004900b222..."} 
[2026-08-10 12:51:27] local.INFO: Packet analysis {"connection_id":151465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8b"} 
[2026-08-10 12:51:27] local.INFO: Extracted packet for processing {"connection_id":151465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8b"} 
[2026-08-10 12:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119621760,"longitude_deg":75.6598208,"latitude_deg":11.962176,"altitude":73,"angle":178,"satellites":34,"speed":37,"hex_longitude":"2d18c5c0","hex_latitude":"07214880","is_valid_coordinates":true} 
[2026-08-10 12:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304695808001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11336703616745472,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201743872,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786346470000,"timestamp_ms":1786346470000,"timestamp_seconds":1786346470,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8bfa70"} 
[2026-08-10 12:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-10 12:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":151465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":151465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":151465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304695808001,"66":12341,"106":206,"83":41984,"24":37,"16":11336703616745472,"45":1784762489201743872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 12:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304695808001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:51:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 12:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11336703616745472,"km_value":11336703616745.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201743872,"description":"Unknown IO ID 45"} 
[2026-08-10 12:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304695808001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1784762489201743872}} 
[2026-08-10 12:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":151465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:51:27] local.INFO: GPS data processed {"connection_id":151465,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:51:27] local.INFO: Acknowledgment sent {"connection_id":151465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:51:36] local.INFO: TCP Data received {"connection_id":151865,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:51:36] local.INFO: Processing buffer {"connection_id":151865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:51:36] local.INFO: Packet analysis {"connection_id":151865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:51:36] local.INFO: Extracted packet for processing {"connection_id":151865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304592128001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786346364000,"timestamp_ms":1786346364000,"timestamp_seconds":1786346364,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8a5c60"} 
[2026-08-10 12:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:51: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-08-10 12:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304592128001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304592128001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:51:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304592128001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":151865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:51:36] local.INFO: GPS data processed {"connection_id":151865,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:51:36] local.INFO: Acknowledgment sent {"connection_id":151865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:51:43] local.INFO: TCP Data received {"connection_id":151866,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:51:43] local.INFO: Processing buffer {"connection_id":151866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:51:43] local.INFO: IMEI packet received {"connection_id":151866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":151866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:51:47] local.INFO: TCP Data received {"connection_id":151866,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:51:47] local.INFO: Processing buffer {"connection_id":151866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:51:47] local.INFO: IMEI packet received {"connection_id":151866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":151866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:51:48] local.INFO: TCP Data received {"connection_id":151866,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:51:48] local.INFO: Processing buffer {"connection_id":151866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:51:48] local.INFO: IMEI packet received {"connection_id":151866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":151866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:51:49] local.INFO: TCP Data received {"connection_id":151866,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8c0628012d18c74007213db0004800a221..."} 
[2026-08-10 12:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8c0628012d18c74007213db0004800a221..."} 
[2026-08-10 12:51:49] local.INFO: Processing buffer {"connection_id":151866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8c0628012d18c74007213db0004800a221..."} 
[2026-08-10 12:51:49] local.INFO: Packet analysis {"connection_id":151866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8c"} 
[2026-08-10 12:51:49] local.INFO: Extracted packet for processing {"connection_id":151866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8c"} 
[2026-08-10 12:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756598592,"raw_latitude":119618992,"longitude_deg":75.6598592,"latitude_deg":11.9618992,"altitude":72,"angle":162,"satellites":33,"speed":36,"hex_longitude":"2d18c740","hex_latitude":"07213db0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304696320001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11336841055698944,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177973248,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786346473000,"timestamp_ms":1786346473000,"timestamp_seconds":1786346473,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8c0628"} 
[2026-08-10 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-08-10 12:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 12:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304696320001,"66":12950,"106":206,"83":41984,"24":36,"16":11336841055698944,"45":1785043964177973248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 12:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304696320001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:51:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 12:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11336841055698944,"km_value":11336841055698.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177973248,"description":"Unknown IO ID 45"} 
[2026-08-10 12:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304696320001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1785043964177973248}} 
[2026-08-10 12:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":151866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:51:49] local.INFO: GPS data processed {"connection_id":151866,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:51:49] local.INFO: Acknowledgment sent {"connection_id":151866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:51:53] local.INFO: TCP Data received {"connection_id":151866,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8c11e0012d18cbc0072133f00048009322..."} 
[2026-08-10 12:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8c11e0012d18cbc0072133f00048009322..."} 
[2026-08-10 12:51:53] local.INFO: Processing buffer {"connection_id":151866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8c11e0012d18cbc0072133f00048009322..."} 
[2026-08-10 12:51:53] local.INFO: Packet analysis {"connection_id":151866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8c"} 
[2026-08-10 12:51:53] local.INFO: Extracted packet for processing {"connection_id":151866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8c"} 
[2026-08-10 12:51:53] local.INFO: GPS Element Parsed {"raw_longitude":756599744,"raw_latitude":119616496,"longitude_deg":75.6599744,"latitude_deg":11.9616496,"altitude":72,"angle":147,"satellites":34,"speed":36,"hex_longitude":"2d18cbc0","hex_latitude":"072133f0","is_valid_coordinates":true} 
[2026-08-10 12:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304697088001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11336969904717824,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785466176642330624,"note":"Value kept but may cause issues"} 
[2026-08-10 12:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786346476000,"timestamp_ms":1786346476000,"timestamp_seconds":1786346476,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8c11e0"} 
[2026-08-10 12:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 12:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304697088001,"66":12961,"106":206,"83":41984,"24":36,"16":11336969904717824,"45":1785466176642330624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 12:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304697088001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:51:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 12:51:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11336969904717824,"km_value":11336969904717.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785466176642330624,"description":"Unknown IO ID 45"} 
[2026-08-10 12:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304697088001,"power":12961,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1785466176642330624}} 
[2026-08-10 12:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":151866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:51:53] local.INFO: GPS data processed {"connection_id":151866,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:51:53] local.INFO: Acknowledgment sent {"connection_id":151866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:51:59] local.INFO: TCP Data received {"connection_id":154243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:51:59] local.INFO: Processing buffer {"connection_id":154243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:51:59] local.INFO: IMEI packet received {"connection_id":154243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":154243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:52:04] local.INFO: TCP Data received {"connection_id":154243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:52:04] local.INFO: Processing buffer {"connection_id":154243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:52:04] local.INFO: IMEI packet received {"connection_id":154243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":154243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:52:05] local.INFO: TCP Data received {"connection_id":154243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:52:05] local.INFO: Processing buffer {"connection_id":154243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:52:05] local.INFO: Packet analysis {"connection_id":154243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:52:05] local.INFO: Extracted packet for processing {"connection_id":154243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304592128001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346364000,"timestamp_ms":1786346364000,"timestamp_seconds":1786346364,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8a5c60"} 
[2026-08-10 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-08-10 12:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304592128001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304592128001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:52:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304592128001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":154243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:52:05] local.INFO: GPS data processed {"connection_id":154243,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:52:05] local.INFO: Acknowledgment sent {"connection_id":154243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:52:24] local.INFO: TCP Data received {"connection_id":151866,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8c2180012d18d280072127b0004700a021..."} 
[2026-08-10 12:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8c2180012d18d280072127b0004700a021..."} 
[2026-08-10 12:52:24] local.INFO: Processing buffer {"connection_id":151866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8c2180012d18d280072127b0004700a021..."} 
[2026-08-10 12:52:24] local.INFO: Packet analysis {"connection_id":151866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8c"} 
[2026-08-10 12:52:24] local.INFO: Extracted packet for processing {"connection_id":151866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8c"} 
[2026-08-10 12:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119613360,"longitude_deg":75.6601472,"latitude_deg":11.961336,"altitude":71,"angle":160,"satellites":33,"speed":35,"hex_longitude":"2d18d280","hex_latitude":"072127b0","is_valid_coordinates":true} 
[2026-08-10 12:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304697856001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11337145998376960,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786732814036889600,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786346480000,"timestamp_ms":1786346480000,"timestamp_seconds":1786346480,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8c2180"} 
[2026-08-10 12:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 12:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304697856001,"66":12939,"106":206,"83":41984,"24":35,"16":11337145998376960,"45":1786732814036889600},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 12:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304697856001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:52:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 12:52:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11337145998376960,"km_value":11337145998376.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786732814036889600,"description":"Unknown IO ID 45"} 
[2026-08-10 12:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304697856001,"power":12939,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1786732814036889600}} 
[2026-08-10 12:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":151866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:52:24] local.INFO: GPS data processed {"connection_id":151866,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:52:24] local.INFO: Acknowledgment sent {"connection_id":151866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:52:36] local.INFO: TCP Data received {"connection_id":154243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:52:36] local.INFO: Processing buffer {"connection_id":154243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:52:36] local.INFO: Packet analysis {"connection_id":154243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:52:36] local.INFO: Extracted packet for processing {"connection_id":154243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304592128001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786346364000,"timestamp_ms":1786346364000,"timestamp_seconds":1786346364,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8a5c60"} 
[2026-08-10 12:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:52: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-08-10 12:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:52: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-08-10 12:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304592128001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304592128001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:52:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304592128001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":154243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:52:36] local.INFO: GPS data processed {"connection_id":154243,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:52:36] local.INFO: Acknowledgment sent {"connection_id":154243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:52:42] local.INFO: TCP Data received {"connection_id":152785,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:52:42] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:52:42] local.INFO: IMEI packet received {"connection_id":152785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":152785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:52:47] local.INFO: TCP Data received {"connection_id":152785,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:52:47] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:52:47] local.INFO: IMEI packet received {"connection_id":152785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":152785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:52:48] local.INFO: TCP Data received {"connection_id":152785,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ce0e8012d1957400720aa900036005520..."} 
[2026-08-10 12:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ce0e8012d1957400720aa900036005520..."} 
[2026-08-10 12:52:48] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ce0e8012d1957400720aa900036005520..."} 
[2026-08-10 12:52:48] local.INFO: Packet analysis {"connection_id":152785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8c"} 
[2026-08-10 12:52:48] local.INFO: Extracted packet for processing {"connection_id":152785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8c"} 
[2026-08-10 12:52:48] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119581328,"longitude_deg":75.6635456,"latitude_deg":11.9581328,"altitude":54,"angle":85,"satellites":32,"speed":31,"hex_longitude":"2d195740","hex_latitude":"0720aa90","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304710912001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339594129735680,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354674604032,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786346529000,"timestamp_ms":1786346529000,"timestamp_seconds":1786346529,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ce0e8"} 
[2026-08-10 12:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2810246167646962688,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3935065160,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-8337156863722727552,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3578265664,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2147950826,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350152539731,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2377663109880911650,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755562649944305,"note":"Value kept but may cause issues"} 
[2026-08-10 12:52:48] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,73,159,217,45,170,55,33,10,66,181,64,186,54,34,72,154,1,240,9,227,234,32,4,113,205,38,232,248,239,50,106,2,40,7,68,164,160],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-10 12:52:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963278864496590848,"timestamp_seconds":3963278864496591.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 12:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304710912001,"66":12548,"103":206,"83":41984,"24":31,"16":11339594129735680,"45":1824239354674604032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304710912001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:52:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:52:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339594129735680,"km_value":11339594129735.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354674604032,"description":"Unknown IO ID 45"} 
[2026-08-10 12:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304710912001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1824239354674604032}} 
[2026-08-10 12:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":152785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:52:48] local.INFO: GPS data processed {"connection_id":152785,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:52:48] local.INFO: Acknowledgment sent {"connection_id":152785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:53:04] local.INFO: TCP Data received {"connection_id":151867,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:53:04] local.INFO: Processing buffer {"connection_id":151867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:53:04] local.INFO: IMEI packet received {"connection_id":151867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":151867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:53:09] local.INFO: TCP Data received {"connection_id":151867,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:53:09] local.INFO: Processing buffer {"connection_id":151867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:53:09] local.INFO: IMEI packet received {"connection_id":151867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":151867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:53:10] local.INFO: TCP Data received {"connection_id":151867,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:53:10] local.INFO: Processing buffer {"connection_id":151867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:53:10] local.INFO: Packet analysis {"connection_id":151867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:53:10] local.INFO: Extracted packet for processing {"connection_id":151867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304592128001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786346364000,"timestamp_ms":1786346364000,"timestamp_seconds":1786346364,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8a5c60"} 
[2026-08-10 12:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12: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-08-10 12:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:53: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-08-10 12:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304592128001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304592128001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:53:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304592128001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":151867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:53:10] local.INFO: GPS data processed {"connection_id":151867,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:53:10] local.INFO: Acknowledgment sent {"connection_id":151867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:53:14] local.INFO: TCP Data received {"connection_id":151867,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:53:14] local.INFO: Processing buffer {"connection_id":151867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:53:14] local.INFO: Packet analysis {"connection_id":151867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:53:14] local.INFO: Extracted packet for processing {"connection_id":151867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304592128001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786346364000,"timestamp_ms":1786346364000,"timestamp_seconds":1786346364,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8a5c60"} 
[2026-08-10 12:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304592128001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304592128001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:53:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:53:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304592128001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":151867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:53:14] local.INFO: GPS data processed {"connection_id":151867,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:53:14] local.INFO: Acknowledgment sent {"connection_id":151867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:53:19] local.INFO: TCP Data received {"connection_id":152785,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8d07f8012d1967400720ac800036004821..."} 
[2026-08-10 12:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8d07f8012d1967400720ac800036004821..."} 
[2026-08-10 12:53:19] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8d07f8012d1967400720ac800036004821..."} 
[2026-08-10 12:53:19] local.INFO: Packet analysis {"connection_id":152785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8d"} 
[2026-08-10 12:53:19] local.INFO: Extracted packet for processing {"connection_id":152785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8d"} 
[2026-08-10 12:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119581824,"longitude_deg":75.6639552,"latitude_deg":11.9581824,"altitude":54,"angle":72,"satellites":33,"speed":8,"hex_longitude":"2d196740","hex_latitude":"0720ac80","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304711424001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339791698231296,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573279023104,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786346539000,"timestamp_ms":1786346539000,"timestamp_seconds":1786346539,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8d07f8"} 
[2026-08-10 12:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 12:53:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3935070160,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184222654669,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:19] local.WARNING: Large IO value detected {"io_id":234,"raw_value":2358941697,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:19] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3357016124,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-10 12:53:19] local.WARNING: Large IO value detected {"io_id":248,"raw_value":2147950805,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:19] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:19] local.WARNING: Large IO value detected {"io_id":37,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:19] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,73,159,217,45,170,55,33,10,66,181,64,1,240,145,227,72,234,32,4,113,205,44,131,248,34,239,50,106,2,40,7,68,37],"length":485,"final_offset":615,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-10 12:53:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891203673977454592,"timestamp_seconds":3891203673977454.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 12:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304711424001,"66":11852,"103":206,"83":41984,"24":8,"16":11339791698231296,"45":1825998573279023104},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304711424001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:53:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339791698231296,"km_value":11339791698231.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573279023104,"description":"Unknown IO ID 45"} 
[2026-08-10 12:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304711424001,"power":11852,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1825998573279023104}} 
[2026-08-10 12:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":152785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:53:19] local.INFO: GPS data processed {"connection_id":152785,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:53:19] local.INFO: Acknowledgment sent {"connection_id":152785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:53:42] local.INFO: TCP Data received {"connection_id":154244,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:53:42] local.INFO: Processing buffer {"connection_id":154244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:53:42] local.INFO: IMEI packet received {"connection_id":154244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":154244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:53:47] local.INFO: TCP Data received {"connection_id":154244,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:53:47] local.INFO: Processing buffer {"connection_id":154244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:53:47] local.INFO: IMEI packet received {"connection_id":154244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":154244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:53:48] local.INFO: TCP Data received {"connection_id":154244,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8d0be0012d1967c00720ac900036005621..."} 
[2026-08-10 12:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8d0be0012d1967c00720ac900036005621..."} 
[2026-08-10 12:53:48] local.INFO: Processing buffer {"connection_id":154244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8d0be0012d1967c00720ac900036005621..."} 
[2026-08-10 12:53:48] local.INFO: Packet analysis {"connection_id":154244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8d"} 
[2026-08-10 12:53:48] local.INFO: Extracted packet for processing {"connection_id":154244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8d"} 
[2026-08-10 12:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581840,"longitude_deg":75.663968,"latitude_deg":11.958184,"altitude":54,"angle":86,"satellites":33,"speed":5,"hex_longitude":"2d1967c0","hex_latitude":"0720ac90","is_valid_coordinates":true} 
[2026-08-10 12:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304713984001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339800288165888,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172906520576,"note":"Value kept but may cause issues"} 
[2026-08-10 12:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786346540000,"timestamp_ms":1786346540000,"timestamp_seconds":1786346540,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8d0be0"} 
[2026-08-10 12:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-10 12:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304713984001,"66":12765,"103":206,"83":41984,"24":5,"16":11339800288165888,"45":1830502172906520576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304713984001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:53:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:53:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339800288165888,"km_value":11339800288165.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172906520576,"description":"Unknown IO ID 45"} 
[2026-08-10 12:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304713984001,"power":12765,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1830502172906520576}} 
[2026-08-10 12:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":154244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:53:48] local.INFO: GPS data processed {"connection_id":154244,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:53:48] local.INFO: Acknowledgment sent {"connection_id":154244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:53:59] local.INFO: TCP Data received {"connection_id":151466,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:53:59] local.INFO: Processing buffer {"connection_id":151466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:53:59] local.INFO: IMEI packet received {"connection_id":151466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":151466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:54:04] local.INFO: TCP Data received {"connection_id":151466,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:54:04] local.INFO: Processing buffer {"connection_id":151466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:54:04] local.INFO: IMEI packet received {"connection_id":151466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":151466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:54:05] local.INFO: TCP Data received {"connection_id":151466,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:54:05] local.INFO: Processing buffer {"connection_id":151466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:54:05] local.INFO: Packet analysis {"connection_id":151466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:54:05] local.INFO: Extracted packet for processing {"connection_id":151466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304592128001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346364000,"timestamp_ms":1786346364000,"timestamp_seconds":1786346364,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8a5c60"} 
[2026-08-10 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-08-10 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304592128001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304592128001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:54:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304592128001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":151466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:54:05] local.INFO: GPS data processed {"connection_id":151466,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:54:05] local.INFO: Acknowledgment sent {"connection_id":151466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:54:20] local.INFO: TCP Data received {"connection_id":154244,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8d5a00012d1968400720ac780036005622..."} 
[2026-08-10 12:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8d5a00012d1968400720ac780036005622..."} 
[2026-08-10 12:54:20] local.INFO: Processing buffer {"connection_id":154244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8d5a00012d1968400720ac780036005622..."} 
[2026-08-10 12:54:20] local.INFO: Packet analysis {"connection_id":154244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8d"} 
[2026-08-10 12:54:20] local.INFO: Extracted packet for processing {"connection_id":154244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8d"} 
[2026-08-10 12:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 12:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304714240001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394880000,"note":"Value kept but may cause issues"} 
[2026-08-10 12:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786346560000,"timestamp_ms":1786346560000,"timestamp_seconds":1786346560,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8d5a00"} 
[2026-08-10 12:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:54: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":221,"data_length":795,"current_offset":136} 
[2026-08-10 12:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304714240001,"66":12711,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830642910394880000},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304714240001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:54:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:54:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394880000,"description":"Unknown IO ID 45"} 
[2026-08-10 12:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304714240001,"power":12711,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910394880000}} 
[2026-08-10 12:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":154244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:54:20] local.INFO: GPS data processed {"connection_id":154244,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:54:20] local.INFO: Acknowledgment sent {"connection_id":154244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:54:36] local.INFO: TCP Data received {"connection_id":151466,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:54:36] local.INFO: Processing buffer {"connection_id":151466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8a5c60012d342a4006abc280000c01021e..."} 
[2026-08-10 12:54:36] local.INFO: Packet analysis {"connection_id":151466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:54:36] local.INFO: Extracted packet for processing {"connection_id":151466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8a"} 
[2026-08-10 12:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304592128001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786346364000,"timestamp_ms":1786346364000,"timestamp_seconds":1786346364,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8a5c60"} 
[2026-08-10 12:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 12:54: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-08-10 12:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:54: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-08-10 12:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304592128001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304592128001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:54:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304592128001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":151466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:54:36] local.INFO: GPS data processed {"connection_id":151466,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:54:36] local.INFO: Acknowledgment sent {"connection_id":151466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:54:42] local.INFO: TCP Data received {"connection_id":154245,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:54:42] local.INFO: Processing buffer {"connection_id":154245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:54:42] local.INFO: IMEI packet received {"connection_id":154245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":154245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:54:47] local.INFO: TCP Data received {"connection_id":154245,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:54:47] local.INFO: Processing buffer {"connection_id":154245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:54:47] local.INFO: IMEI packet received {"connection_id":154245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":154245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:54:48] local.INFO: TCP Data received {"connection_id":154245,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8dac08012d1968400720ac78003600561f..."} 
[2026-08-10 12:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8dac08012d1968400720ac78003600561f..."} 
[2026-08-10 12:54:48] local.INFO: Processing buffer {"connection_id":154245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8dac08012d1968400720ac78003600561f..."} 
[2026-08-10 12:54:48] local.INFO: Packet analysis {"connection_id":154245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8d"} 
[2026-08-10 12:54:48] local.INFO: Extracted packet for processing {"connection_id":154245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8d"} 
[2026-08-10 12:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 12:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304719360001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883229184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786346581000,"timestamp_ms":1786346581000,"timestamp_seconds":1786346581,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8dac08"} 
[2026-08-10 12:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 12:54: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-08-10 12:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304719360001,"66":12765,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830783647883229184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304719360001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:54:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883229184,"description":"Unknown IO ID 45"} 
[2026-08-10 12:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304719360001,"power":12765,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647883229184}} 
[2026-08-10 12:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":154245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:54:48] local.INFO: GPS data processed {"connection_id":154245,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:54:48] local.INFO: Acknowledgment sent {"connection_id":154245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:54:59] local.INFO: TCP Data received {"connection_id":151467,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:54:59] local.INFO: Processing buffer {"connection_id":151467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:54:59] local.INFO: IMEI packet received {"connection_id":151467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":151467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:55:03] local.INFO: TCP Data received {"connection_id":151467,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:55:03] local.INFO: Processing buffer {"connection_id":151467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:55:03] local.INFO: IMEI packet received {"connection_id":151467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":151467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:55:04] local.INFO: TCP Data received {"connection_id":151467,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:55:04] local.INFO: Processing buffer {"connection_id":151467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:55:04] local.INFO: Packet analysis {"connection_id":151467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:55:04] local.INFO: Extracted packet for processing {"connection_id":151467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304669184001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786346665000,"timestamp_ms":1786346665000,"timestamp_seconds":1786346665,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ef428"} 
[2026-08-10 12:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304669184001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304669184001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:55:04] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304669184001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":151467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:55:04] local.INFO: GPS data processed {"connection_id":151467,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:55:04] local.INFO: Acknowledgment sent {"connection_id":151467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:55:19] local.INFO: TCP Data received {"connection_id":154245,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8dfa28012d1968400720ac780036005623..."} 
[2026-08-10 12:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8dfa28012d1968400720ac780036005623..."} 
[2026-08-10 12:55:19] local.INFO: Processing buffer {"connection_id":154245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8dfa28012d1968400720ac780036005623..."} 
[2026-08-10 12:55:19] local.INFO: Packet analysis {"connection_id":154245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8d"} 
[2026-08-10 12:55:19] local.INFO: Extracted packet for processing {"connection_id":154245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8d"} 
[2026-08-10 12:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 12:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304724736001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883229184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786346601000,"timestamp_ms":1786346601000,"timestamp_seconds":1786346601,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8dfa28"} 
[2026-08-10 12:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 12:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304724736001,"66":12711,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830783647883229184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304724736001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:55:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883229184,"description":"Unknown IO ID 45"} 
[2026-08-10 12:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304724736001,"power":12711,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647883229184}} 
[2026-08-10 12:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":154245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:55:19] local.INFO: GPS data processed {"connection_id":154245,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:55:19] local.INFO: Acknowledgment sent {"connection_id":154245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:55:35] local.INFO: TCP Data received {"connection_id":151467,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:55:35] local.INFO: Processing buffer {"connection_id":151467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:55:35] local.INFO: Packet analysis {"connection_id":151467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:55:35] local.INFO: Extracted packet for processing {"connection_id":151467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304669184001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786346665000,"timestamp_ms":1786346665000,"timestamp_seconds":1786346665,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ef428"} 
[2026-08-10 12:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:55: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-08-10 12:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304669184001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304669184001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:55:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:55:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304669184001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":151467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:55:35] local.INFO: GPS data processed {"connection_id":151467,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:55:35] local.INFO: Acknowledgment sent {"connection_id":151467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:55:42] local.INFO: TCP Data received {"connection_id":152786,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:55:42] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:55:42] local.INFO: IMEI packet received {"connection_id":152786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":152786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:55:47] local.INFO: TCP Data received {"connection_id":152786,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:55:47] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:55:47] local.INFO: IMEI packet received {"connection_id":152786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":152786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:55:48] local.INFO: TCP Data received {"connection_id":152786,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8e4848012d1968400720ac780036005621..."} 
[2026-08-10 12:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8e4848012d1968400720ac780036005621..."} 
[2026-08-10 12:55:48] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8e4848012d1968400720ac780036005621..."} 
[2026-08-10 12:55:48] local.INFO: Packet analysis {"connection_id":152786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:55:48] local.INFO: Extracted packet for processing {"connection_id":152786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304729856001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883229184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786346621000,"timestamp_ms":1786346621000,"timestamp_seconds":1786346621,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8e4848"} 
[2026-08-10 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-08-10 12:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 12:55: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-08-10 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-08-10 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-08-10 12:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304729856001,"66":12722,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830783647883229184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304729856001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:55:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:55:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883229184,"description":"Unknown IO ID 45"} 
[2026-08-10 12:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304729856001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647883229184}} 
[2026-08-10 12:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":152786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:55:48] local.INFO: GPS data processed {"connection_id":152786,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:55:48] local.INFO: Acknowledgment sent {"connection_id":152786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:55:59] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:55:59] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:55:59] local.INFO: IMEI packet received {"connection_id":152787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":152787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:56:04] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:56:04] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:56:04] local.INFO: IMEI packet received {"connection_id":152787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":152787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:56:05] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:56:05] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:56:05] local.INFO: Packet analysis {"connection_id":152787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:56:05] local.INFO: Extracted packet for processing {"connection_id":152787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304669184001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346665000,"timestamp_ms":1786346665000,"timestamp_seconds":1786346665,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ef428"} 
[2026-08-10 12:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:56: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-08-10 12:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:56: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-08-10 12:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304669184001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304669184001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:56:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304669184001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":152787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:56:05] local.INFO: GPS data processed {"connection_id":152787,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:56:05] local.INFO: Acknowledgment sent {"connection_id":152787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:56:19] local.INFO: TCP Data received {"connection_id":152786,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8e9668012d1968400720ac780036005622..."} 
[2026-08-10 12:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8e9668012d1968400720ac780036005622..."} 
[2026-08-10 12:56:19] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8e9668012d1968400720ac780036005622..."} 
[2026-08-10 12:56:19] local.INFO: Packet analysis {"connection_id":152786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:56:19] local.INFO: Extracted packet for processing {"connection_id":152786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 12:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304734976001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883229184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786346641000,"timestamp_ms":1786346641000,"timestamp_seconds":1786346641,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8e9668"} 
[2026-08-10 12:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 12:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304734976001,"66":12711,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830783647883229184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304734976001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:56:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:56:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883229184,"description":"Unknown IO ID 45"} 
[2026-08-10 12:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304734976001,"power":12711,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647883229184}} 
[2026-08-10 12:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":152786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:56:19] local.INFO: GPS data processed {"connection_id":152786,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:56:19] local.INFO: Acknowledgment sent {"connection_id":152786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:56:37] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:56:37] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:56:37] local.INFO: Packet analysis {"connection_id":152787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:56:37] local.INFO: Extracted packet for processing {"connection_id":152787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304669184001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786346665000,"timestamp_ms":1786346665000,"timestamp_seconds":1786346665,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ef428"} 
[2026-08-10 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-08-10 12:56: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-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12: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-08-10 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-08-10 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-08-10 12:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304669184001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304669184001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:56:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304669184001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":152787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:56:37] local.INFO: GPS data processed {"connection_id":152787,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:56:37] local.INFO: Acknowledgment sent {"connection_id":152787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:56:42] local.INFO: TCP Data received {"connection_id":151468,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:56:42] local.INFO: Processing buffer {"connection_id":151468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:56:42] local.INFO: IMEI packet received {"connection_id":151468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":151468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:56:43] local.INFO: TCP Data received {"connection_id":151468,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:56:43] local.INFO: Processing buffer {"connection_id":151468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:56:43] local.INFO: IMEI packet received {"connection_id":151468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":151468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:56:47] local.INFO: TCP Data received {"connection_id":151468,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:56:47] local.INFO: Processing buffer {"connection_id":151468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:56:47] local.INFO: IMEI packet received {"connection_id":151468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":151468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:56:48] local.INFO: TCP Data received {"connection_id":151468,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ee870012d1968400720ac780036005621..."} 
[2026-08-10 12:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ee870012d1968400720ac780036005621..."} 
[2026-08-10 12:56:48] local.INFO: Processing buffer {"connection_id":151468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ee870012d1968400720ac780036005621..."} 
[2026-08-10 12:56:48] local.INFO: Packet analysis {"connection_id":151468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:56:48] local.INFO: Extracted packet for processing {"connection_id":151468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 12:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304740096001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883229184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786346662000,"timestamp_ms":1786346662000,"timestamp_seconds":1786346662,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ee870"} 
[2026-08-10 12:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 12:56: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-08-10 12:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304740096001,"66":12689,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830783647883229184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304740096001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:56:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883229184,"description":"Unknown IO ID 45"} 
[2026-08-10 12:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304740096001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647883229184}} 
[2026-08-10 12:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":151468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:56:48] local.INFO: GPS data processed {"connection_id":151468,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:56:48] local.INFO: Acknowledgment sent {"connection_id":151468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:57:04] local.INFO: TCP Data received {"connection_id":152788,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:57:04] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:57:04] local.INFO: IMEI packet received {"connection_id":152788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":152788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:57:09] local.INFO: TCP Data received {"connection_id":152788,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:57:09] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:57:09] local.INFO: IMEI packet received {"connection_id":152788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":152788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:57:10] local.INFO: TCP Data received {"connection_id":152788,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:57:10] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:57:10] local.INFO: Packet analysis {"connection_id":152788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:57:10] local.INFO: Extracted packet for processing {"connection_id":152788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304669184001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786346665000,"timestamp_ms":1786346665000,"timestamp_seconds":1786346665,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ef428"} 
[2026-08-10 12:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:57: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-08-10 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304669184001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304669184001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:57:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304669184001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":152788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:57:10] local.INFO: GPS data processed {"connection_id":152788,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:57:10] local.INFO: Acknowledgment sent {"connection_id":152788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:57:15] local.INFO: TCP Data received {"connection_id":152788,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:57:15] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:57:15] local.INFO: Packet analysis {"connection_id":152788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:57:15] local.INFO: Extracted packet for processing {"connection_id":152788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304669184001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786346665000,"timestamp_ms":1786346665000,"timestamp_seconds":1786346665,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ef428"} 
[2026-08-10 12:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304669184001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304669184001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:57:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304669184001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":152788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:57:15] local.INFO: GPS data processed {"connection_id":152788,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:57:15] local.INFO: Acknowledgment sent {"connection_id":152788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:57:19] local.INFO: TCP Data received {"connection_id":151468,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8f3690012d1968400720ac780036005623..."} 
[2026-08-10 12:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8f3690012d1968400720ac780036005623..."} 
[2026-08-10 12:57:19] local.INFO: Processing buffer {"connection_id":151468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8f3690012d1968400720ac780036005623..."} 
[2026-08-10 12:57:19] local.INFO: Packet analysis {"connection_id":151468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8f"} 
[2026-08-10 12:57:19] local.INFO: Extracted packet for processing {"connection_id":151468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8f"} 
[2026-08-10 12:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 12:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304745472001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883229184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786346682000,"timestamp_ms":1786346682000,"timestamp_seconds":1786346682,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8f3690"} 
[2026-08-10 12:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 12:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304745472001,"66":12689,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830783647883229184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304745472001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:57:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883229184,"description":"Unknown IO ID 45"} 
[2026-08-10 12:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304745472001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647883229184}} 
[2026-08-10 12:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":151468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:57:19] local.INFO: GPS data processed {"connection_id":151468,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:57:19] local.INFO: Acknowledgment sent {"connection_id":151468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:57:46] local.INFO: TCP Data received {"connection_id":152789,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:57:46] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:57:46] local.INFO: IMEI packet received {"connection_id":152789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":152789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:57:47] local.INFO: TCP Data received {"connection_id":152789,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:57:47] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:57:47] local.INFO: IMEI packet received {"connection_id":152789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":152789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:57:52] local.INFO: TCP Data received {"connection_id":152789,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:57:52] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:57:52] local.INFO: IMEI packet received {"connection_id":152789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":152789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:57:53] local.INFO: TCP Data received {"connection_id":152789,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8f84b0012d1968400720ac780036005623..."} 
[2026-08-10 12:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8f84b0012d1968400720ac780036005623..."} 
[2026-08-10 12:57:53] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8f84b0012d1968400720ac780036005623..."} 
[2026-08-10 12:57:53] local.INFO: Packet analysis {"connection_id":152789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8f"} 
[2026-08-10 12:57:53] local.INFO: Extracted packet for processing {"connection_id":152789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8f"} 
[2026-08-10 12:57:53] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 12:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304750592001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883229184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786346702000,"timestamp_ms":1786346702000,"timestamp_seconds":1786346702,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8f84b0"} 
[2026-08-10 12:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 12:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304750592001,"66":12602,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830783647883229184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304750592001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:57:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883229184,"description":"Unknown IO ID 45"} 
[2026-08-10 12:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304750592001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647883229184}} 
[2026-08-10 12:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":152789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:57:53] local.INFO: GPS data processed {"connection_id":152789,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:57:53] local.INFO: Acknowledgment sent {"connection_id":152789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:57:59] local.INFO: TCP Data received {"connection_id":152790,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:57:59] local.INFO: Processing buffer {"connection_id":152790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:57:59] local.INFO: IMEI packet received {"connection_id":152790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":152790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:58:04] local.INFO: TCP Data received {"connection_id":152790,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:58:04] local.INFO: Processing buffer {"connection_id":152790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:58:04] local.INFO: IMEI packet received {"connection_id":152790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":152790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:58:05] local.INFO: TCP Data received {"connection_id":152790,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:58:05] local.INFO: Processing buffer {"connection_id":152790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:58:05] local.INFO: Packet analysis {"connection_id":152790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:58:05] local.INFO: Extracted packet for processing {"connection_id":152790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 12:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304669184001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346665000,"timestamp_ms":1786346665000,"timestamp_seconds":1786346665,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ef428"} 
[2026-08-10 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-08-10 12:58: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-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 12:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304669184001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304669184001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:58:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304669184001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":152790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:58:05] local.INFO: GPS data processed {"connection_id":152790,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:58:05] local.INFO: Acknowledgment sent {"connection_id":152790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:58:24] local.INFO: TCP Data received {"connection_id":152789,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8fd2d0012d1968400720ac780036005624..."} 
[2026-08-10 12:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8fd2d0012d1968400720ac780036005624..."} 
[2026-08-10 12:58:24] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8fd2d0012d1968400720ac780036005624..."} 
[2026-08-10 12:58:24] local.INFO: Packet analysis {"connection_id":152789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8f"} 
[2026-08-10 12:58:24] local.INFO: Extracted packet for processing {"connection_id":152789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8f"} 
[2026-08-10 12:58:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 12:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304755712001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883229184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786346722000,"timestamp_ms":1786346722000,"timestamp_seconds":1786346722,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8fd2d0"} 
[2026-08-10 12:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-10 12:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304755712001,"66":12591,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830783647883229184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304755712001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:58:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:58:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883229184,"description":"Unknown IO ID 45"} 
[2026-08-10 12:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304755712001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647883229184}} 
[2026-08-10 12:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":152789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:58:24] local.INFO: GPS data processed {"connection_id":152789,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:58:24] local.INFO: Acknowledgment sent {"connection_id":152789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:58:36] local.INFO: TCP Data received {"connection_id":152790,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:58:36] local.INFO: Processing buffer {"connection_id":152790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:58:36] local.INFO: Packet analysis {"connection_id":152790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:58:36] local.INFO: Extracted packet for processing {"connection_id":152790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304669184001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786346665000,"timestamp_ms":1786346665000,"timestamp_seconds":1786346665,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ef428"} 
[2026-08-10 12:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:58: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-08-10 12:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:58: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-08-10 12:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304669184001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304669184001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:58:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304669184001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":152790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:58:36] local.INFO: GPS data processed {"connection_id":152790,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:58:36] local.INFO: Acknowledgment sent {"connection_id":152790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:58:42] local.INFO: TCP Data received {"connection_id":151469,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:58:42] local.INFO: Processing buffer {"connection_id":151469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:58:42] local.INFO: IMEI packet received {"connection_id":151469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":151469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:58:47] local.INFO: TCP Data received {"connection_id":151469,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:58:47] local.INFO: Processing buffer {"connection_id":151469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:58:47] local.INFO: IMEI packet received {"connection_id":151469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":151469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:58:48] local.INFO: TCP Data received {"connection_id":151469,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9020f0012d1968400720ac780036005623..."} 
[2026-08-10 12:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9020f0012d1968400720ac780036005623..."} 
[2026-08-10 12:58:48] local.INFO: Processing buffer {"connection_id":151469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9020f0012d1968400720ac780036005623..."} 
[2026-08-10 12:58:48] local.INFO: Packet analysis {"connection_id":151469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea90"} 
[2026-08-10 12:58:48] local.INFO: Extracted packet for processing {"connection_id":151469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea90"} 
[2026-08-10 12:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 12:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304760832001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883229184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786346742000,"timestamp_ms":1786346742000,"timestamp_seconds":1786346742,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9020f0"} 
[2026-08-10 12:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 12:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304760832001,"66":12645,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830783647883229184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304760832001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:58:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:58:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883229184,"description":"Unknown IO ID 45"} 
[2026-08-10 12:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304760832001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647883229184}} 
[2026-08-10 12:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":151469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:58:48] local.INFO: GPS data processed {"connection_id":151469,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:58:48] local.INFO: Acknowledgment sent {"connection_id":151469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:59:06] local.INFO: TCP Data received {"connection_id":152791,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:59:06] local.INFO: Processing buffer {"connection_id":152791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:59:06] local.INFO: IMEI packet received {"connection_id":152791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 12:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":152791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:59:07] local.INFO: TCP Data received {"connection_id":152791,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:59:07] local.INFO: Processing buffer {"connection_id":152791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 12:59:07] local.INFO: IMEI packet received {"connection_id":152791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 12:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":152791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:59:12] local.INFO: TCP Data received {"connection_id":152791,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:59:12] local.INFO: Processing buffer {"connection_id":152791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:59:12] local.INFO: Packet analysis {"connection_id":152791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:59:12] local.INFO: Extracted packet for processing {"connection_id":152791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:59:12] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304669184001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786346665000,"timestamp_ms":1786346665000,"timestamp_seconds":1786346665,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ef428"} 
[2026-08-10 12:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:59: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-08-10 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:59: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-08-10 12:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:59: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-08-10 12:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304669184001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304669184001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:59:12] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:59:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304669184001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":152791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:59:12] local.INFO: GPS data processed {"connection_id":152791,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:59:12] local.INFO: Acknowledgment sent {"connection_id":152791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:59:19] local.INFO: TCP Data received {"connection_id":151469,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9072f8012d1968400720ac780036005622..."} 
[2026-08-10 12:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9072f8012d1968400720ac780036005622..."} 
[2026-08-10 12:59:19] local.INFO: Processing buffer {"connection_id":151469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9072f8012d1968400720ac780036005622..."} 
[2026-08-10 12:59:19] local.INFO: Packet analysis {"connection_id":151469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea90"} 
[2026-08-10 12:59:19] local.INFO: Extracted packet for processing {"connection_id":151469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea90"} 
[2026-08-10 12:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 12:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304765952001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883229184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786346763000,"timestamp_ms":1786346763000,"timestamp_seconds":1786346763,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9072f8"} 
[2026-08-10 12:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 12:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304765952001,"66":12558,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830783647883229184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304765952001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:59:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:59:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883229184,"description":"Unknown IO ID 45"} 
[2026-08-10 12:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304765952001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647883229184}} 
[2026-08-10 12:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":151469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:59:19] local.INFO: GPS data processed {"connection_id":151469,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:59:19] local.INFO: Acknowledgment sent {"connection_id":151469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:59:28] local.INFO: TCP Data received {"connection_id":152791,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:59:28] local.INFO: Processing buffer {"connection_id":152791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea8ef428012d342a4006abc280000c010220..."} 
[2026-08-10 12:59:28] local.INFO: Packet analysis {"connection_id":152791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:59:28] local.INFO: Extracted packet for processing {"connection_id":152791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea8e"} 
[2026-08-10 12:59:28] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 12:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 12:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304669184001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786346665000,"timestamp_ms":1786346665000,"timestamp_seconds":1786346665,"priority":1,"record_length":96,"hex_timestamp":"0000019fea8ef428"} 
[2026-08-10 12:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 12:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 12:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 12:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 12:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 12:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 12:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 12:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304669184001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 12:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 12:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 12:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304669184001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:59:28] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 12:59:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 12:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 12:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304669184001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 12:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":152791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:59:28] local.INFO: GPS data processed {"connection_id":152791,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:59:28] local.INFO: Acknowledgment sent {"connection_id":152791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 12:59:42] local.INFO: TCP Data received {"connection_id":151470,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:59:42] local.INFO: Processing buffer {"connection_id":151470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:59:42] local.INFO: IMEI packet received {"connection_id":151470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 12:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":151470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 12:59:47] local.INFO: TCP Data received {"connection_id":151470,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:59:47] local.INFO: Processing buffer {"connection_id":151470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 12:59:47] local.INFO: IMEI packet received {"connection_id":151470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 12:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":151470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 12:59:48] local.INFO: TCP Data received {"connection_id":151470,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea90bd30012d1968400720ac780036005623..."} 
[2026-08-10 12:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea90bd30012d1968400720ac780036005623..."} 
[2026-08-10 12:59:48] local.INFO: Processing buffer {"connection_id":151470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea90bd30012d1968400720ac780036005623..."} 
[2026-08-10 12:59:48] local.INFO: Packet analysis {"connection_id":151470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea90"} 
[2026-08-10 12:59:48] local.INFO: Extracted packet for processing {"connection_id":151470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea90"} 
[2026-08-10 12:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 12: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-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304771328001,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883229184,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 12:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786346782000,"timestamp_ms":1786346782000,"timestamp_seconds":1786346782,"priority":1,"record_length":96,"hex_timestamp":"0000019fea90bd30"} 
[2026-08-10 12:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 12:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3935213160,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2893545526,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331300984,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":234,"raw_value":2402717697,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748920,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-10 12:59:48] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,73,159,32,45,64,172,54,35,10,66,210,36,132,1,240,58,227,234,4,113,205,232,104,120,33,239,49,2,40,7,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-10 12:59:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891204782076985344,"timestamp_seconds":3891204782076985.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 12:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 12:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 12:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 12:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 12:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 12:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 12:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 12:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304771328001,"66":12613,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830783647883229184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 12:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 12:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 12:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304771328001,"description":"Unknown IO ID 0"} 
[2026-08-10 12:59:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 12:59:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 12:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 12:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883229184,"description":"Unknown IO ID 45"} 
[2026-08-10 12:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304771328001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647883229184}} 
[2026-08-10 12:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":151470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 12:59:48] local.INFO: GPS data processed {"connection_id":151470,"processed":1,"errors":0,"total":1} 
[2026-08-10 12:59:48] local.INFO: Acknowledgment sent {"connection_id":151470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:00:01] local.INFO: TCP Data received {"connection_id":151868,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:00:01] local.INFO: Processing buffer {"connection_id":151868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:00:01] local.INFO: IMEI packet received {"connection_id":151868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":151868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:00:04] local.INFO: TCP Data received {"connection_id":151868,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:00:04] local.INFO: Processing buffer {"connection_id":151868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:00:04] local.INFO: IMEI packet received {"connection_id":151868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":151868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:00:05] local.INFO: TCP Data received {"connection_id":151868,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:00:05] local.INFO: Processing buffer {"connection_id":151868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:00:05] local.INFO: Packet analysis {"connection_id":151868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:00:05] local.INFO: Extracted packet for processing {"connection_id":151868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304746240001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346966000,"timestamp_ms":1786346966000,"timestamp_seconds":1786346966,"priority":1,"record_length":96,"hex_timestamp":"0000019fea938bf0"} 
[2026-08-10 13:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304746240001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304746240001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:00:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304746240001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":151868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:00:05] local.INFO: GPS data processed {"connection_id":151868,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:00:05] local.INFO: Acknowledgment sent {"connection_id":151868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:00:06] local.INFO: TCP Data received {"connection_id":151868,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:00:06] local.INFO: Processing buffer {"connection_id":151868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:00:06] local.INFO: Packet analysis {"connection_id":151868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:00:06] local.INFO: Extracted packet for processing {"connection_id":151868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304746240001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786346966000,"timestamp_ms":1786346966000,"timestamp_seconds":1786346966,"priority":1,"record_length":96,"hex_timestamp":"0000019fea938bf0"} 
[2026-08-10 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-08-10 13:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:00: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-08-10 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-08-10 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-08-10 13:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304746240001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304746240001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:00:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304746240001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":151868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:00:06] local.INFO: GPS data processed {"connection_id":151868,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:00:06] local.INFO: Acknowledgment sent {"connection_id":151868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:00:19] local.INFO: TCP Data received {"connection_id":151470,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea910b50012d1968400720ac780036005623..."} 
[2026-08-10 13:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea910b50012d1968400720ac780036005623..."} 
[2026-08-10 13:00:19] local.INFO: Processing buffer {"connection_id":151470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea910b50012d1968400720ac780036005623..."} 
[2026-08-10 13:00:19] local.INFO: Packet analysis {"connection_id":151470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea91"} 
[2026-08-10 13:00:19] local.INFO: Extracted packet for processing {"connection_id":151470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea91"} 
[2026-08-10 13:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581816,"longitude_deg":75.6639808,"latitude_deg":11.9581816,"altitude":54,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-08-10 13:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304776192001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339804583133184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883229184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786346802000,"timestamp_ms":1786346802000,"timestamp_seconds":1786346802,"priority":1,"record_length":96,"hex_timestamp":"0000019fea910b50"} 
[2026-08-10 13:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 13:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304776192001,"66":12591,"103":206,"83":41984,"24":0,"16":11339804583133184,"45":1830783647883229184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304776192001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:00:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339804583133184,"km_value":11339804583133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883229184,"description":"Unknown IO ID 45"} 
[2026-08-10 13:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304776192001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647883229184}} 
[2026-08-10 13:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":151470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:00:19] local.INFO: GPS data processed {"connection_id":151470,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:00:19] local.INFO: Acknowledgment sent {"connection_id":151470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:00:37] local.INFO: TCP Data received {"connection_id":151868,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:00:37] local.INFO: Processing buffer {"connection_id":151868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:00:37] local.INFO: Packet analysis {"connection_id":151868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:00:37] local.INFO: Extracted packet for processing {"connection_id":151868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304746240001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786346966000,"timestamp_ms":1786346966000,"timestamp_seconds":1786346966,"priority":1,"record_length":96,"hex_timestamp":"0000019fea938bf0"} 
[2026-08-10 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-08-10 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13: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-08-10 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-08-10 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-08-10 13:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304746240001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304746240001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:00:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304746240001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":151868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:00:37] local.INFO: GPS data processed {"connection_id":151868,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:00:37] local.INFO: Acknowledgment sent {"connection_id":151868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:00:40] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:00:40] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:00:40] local.INFO: IMEI packet received {"connection_id":152792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":152792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:00:43] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:00:43] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:00:43] local.INFO: IMEI packet received {"connection_id":152792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":152792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:00:45] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:00:45] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:00:45] local.INFO: IMEI packet received {"connection_id":152792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":152792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:00:46] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea93f568012d19bac00720a8c00036008627..."} 
[2026-08-10 13:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea93f568012d19bac00720a8c00036008627..."} 
[2026-08-10 13:00:46] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea93f568012d19bac00720a8c00036008627..."} 
[2026-08-10 13:00:46] local.INFO: Packet analysis {"connection_id":152792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:00:46] local.INFO: Extracted packet for processing {"connection_id":152792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119580864,"longitude_deg":75.6660928,"latitude_deg":11.9580864,"altitude":54,"angle":134,"satellites":39,"speed":24,"hex_longitude":"2d19bac0","hex_latitude":"0720a8c0","is_valid_coordinates":true} 
[2026-08-10 13:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304829952001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11340848260186112,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752252473344,"note":"Value kept but may cause issues"} 
[2026-08-10 13:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786346993000,"timestamp_ms":1786346993000,"timestamp_seconds":1786346993,"priority":1,"record_length":96,"hex_timestamp":"0000019fea93f568"} 
[2026-08-10 13:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 13:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304829952001,"66":14211,"103":206,"83":41984,"24":24,"16":11340848260186112,"45":1853512752252473344},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304829952001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:00:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11340848260186112,"km_value":11340848260186.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752252473344,"description":"Unknown IO ID 45"} 
[2026-08-10 13:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304829952001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1853512752252473344}} 
[2026-08-10 13:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":152792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:00:46] local.INFO: GPS data processed {"connection_id":152792,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:00:46] local.INFO: Acknowledgment sent {"connection_id":152792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:00:59] local.INFO: TCP Data received {"connection_id":151869,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:00:59] local.INFO: Processing buffer {"connection_id":151869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:00:59] local.INFO: IMEI packet received {"connection_id":151869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":151869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:01:04] local.INFO: TCP Data received {"connection_id":151869,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:01:04] local.INFO: Processing buffer {"connection_id":151869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:01:04] local.INFO: IMEI packet received {"connection_id":151869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":151869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:01:05] local.INFO: TCP Data received {"connection_id":151869,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:01:05] local.INFO: Processing buffer {"connection_id":151869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:01:05] local.INFO: Packet analysis {"connection_id":151869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:01:05] local.INFO: Extracted packet for processing {"connection_id":151869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304746240001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346966000,"timestamp_ms":1786346966000,"timestamp_seconds":1786346966,"priority":1,"record_length":96,"hex_timestamp":"0000019fea938bf0"} 
[2026-08-10 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-08-10 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304746240001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304746240001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:01:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304746240001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":151869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:01:05] local.INFO: GPS data processed {"connection_id":151869,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:01:05] local.INFO: Acknowledgment sent {"connection_id":151869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:01:17] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea947650012d19bf4007203770002f00a225..."} 
[2026-08-10 13:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea947650012d19bf4007203770002f00a225..."} 
[2026-08-10 13:01:17] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea947650012d19bf4007203770002f00a225..."} 
[2026-08-10 13:01:17] local.INFO: Packet analysis {"connection_id":152792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea94"} 
[2026-08-10 13:01:17] local.INFO: Extracted packet for processing {"connection_id":152792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea94"} 
[2026-08-10 13:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756662080,"raw_latitude":119551856,"longitude_deg":75.666208,"latitude_deg":11.9551856,"altitude":47,"angle":162,"satellites":37,"speed":34,"hex_longitude":"2d19bf40","hex_latitude":"07203770","is_valid_coordinates":true} 
[2026-08-10 13:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304837888001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11342334318870528,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389640775680,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786347026000,"timestamp_ms":1786347026000,"timestamp_seconds":1786347026,"priority":1,"record_length":96,"hex_timestamp":"0000019fea947650"} 
[2026-08-10 13:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-10 13:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304837888001,"66":14265,"101":206,"83":41984,"24":34,"16":11342334318870528,"45":1854779389640775680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304837888001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:01:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11342334318870528,"km_value":11342334318870.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389640775680,"description":"Unknown IO ID 45"} 
[2026-08-10 13:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304837888001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1854779389640775680}} 
[2026-08-10 13:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":152792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:01:17] local.INFO: GPS data processed {"connection_id":152792,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:01:17] local.INFO: Acknowledgment sent {"connection_id":152792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:01:36] local.INFO: TCP Data received {"connection_id":151869,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:01:36] local.INFO: Processing buffer {"connection_id":151869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:01:36] local.INFO: Packet analysis {"connection_id":151869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:01:36] local.INFO: Extracted packet for processing {"connection_id":151869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304746240001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786346966000,"timestamp_ms":1786346966000,"timestamp_seconds":1786346966,"priority":1,"record_length":96,"hex_timestamp":"0000019fea938bf0"} 
[2026-08-10 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-08-10 13:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:01: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-08-10 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-08-10 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-08-10 13:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304746240001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304746240001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:01:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304746240001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":151869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:01:36] local.INFO: GPS data processed {"connection_id":151869,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:01:36] local.INFO: Acknowledgment sent {"connection_id":151869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:01:41] local.INFO: TCP Data received {"connection_id":154246,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:01:41] local.INFO: Processing buffer {"connection_id":154246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:01:41] local.INFO: IMEI packet received {"connection_id":154246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":154246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:01:42] local.INFO: TCP Data received {"connection_id":154246,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:01:42] local.INFO: Processing buffer {"connection_id":154246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:01:42] local.INFO: IMEI packet received {"connection_id":154246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":154246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:01:42] local.INFO: TCP Data received {"connection_id":154246,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:01:42] local.INFO: Processing buffer {"connection_id":154246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:01:42] local.INFO: IMEI packet received {"connection_id":154246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":154246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:01:47] local.INFO: TCP Data received {"connection_id":154246,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:01:47] local.INFO: Processing buffer {"connection_id":154246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:01:47] local.INFO: IMEI packet received {"connection_id":154246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":154246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:01:48] local.INFO: TCP Data received {"connection_id":154246,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea94f350012d19cd40071ff878002e00d727..."} 
[2026-08-10 13:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea94f350012d19cd40071ff878002e00d727..."} 
[2026-08-10 13:01:48] local.INFO: Processing buffer {"connection_id":154246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea94f350012d19cd40071ff878002e00d727..."} 
[2026-08-10 13:01:48] local.INFO: Packet analysis {"connection_id":154246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea94"} 
[2026-08-10 13:01:48] local.INFO: Extracted packet for processing {"connection_id":154246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea94"} 
[2026-08-10 13:01:48] local.INFO: GPS Element Parsed {"raw_longitude":756665664,"raw_latitude":119535736,"longitude_deg":75.6665664,"latitude_deg":11.9535736,"altitude":46,"angle":215,"satellites":39,"speed":19,"hex_longitude":"2d19cd40","hex_latitude":"071ff878","is_valid_coordinates":true} 
[2026-08-10 13:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304846080001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11343360816054272,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364147171328,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786347058000,"timestamp_ms":1786347058000,"timestamp_seconds":1786347058,"priority":1,"record_length":96,"hex_timestamp":"0000019fea94f350"} 
[2026-08-10 13:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-10 13:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3935616160,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":22529,"corrected_to":0} 
[2026-08-10 13:01:48] local.WARNING: Large IO value detected {"io_id":234,"raw_value":2495901697,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-10 13:01:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:48] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3221692425,"note":"Value kept but may cause issues"} 
[2026-08-10 13:01:48] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,76,159,223,45,128,254,38,10,66,204,6,47,39,200,1,240,174,227,234,32,4,113,205,9,192,222,239,53,2,40,7,15],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":200,"original":22529,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-10 13:01:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242857976730943488,"timestamp_seconds":3242857976730943.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 13:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304846080001,"66":14407,"101":206,"83":41984,"24":19,"16":11343360816054272,"45":1860690364147171328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304846080001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:01:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:01:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11343360816054272,"km_value":11343360816054.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364147171328,"description":"Unknown IO ID 45"} 
[2026-08-10 13:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304846080001,"power":14407,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1860690364147171328}} 
[2026-08-10 13:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":154246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:01:48] local.INFO: GPS data processed {"connection_id":154246,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:01:48] local.INFO: Acknowledgment sent {"connection_id":154246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:02:04] local.INFO: TCP Data received {"connection_id":154247,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:02:04] local.INFO: Processing buffer {"connection_id":154247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:02:04] local.INFO: IMEI packet received {"connection_id":154247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":154247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:02:09] local.INFO: TCP Data received {"connection_id":154247,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:02:09] local.INFO: Processing buffer {"connection_id":154247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:02:09] local.INFO: IMEI packet received {"connection_id":154247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":154247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:02:10] local.INFO: TCP Data received {"connection_id":154247,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:02:10] local.INFO: Processing buffer {"connection_id":154247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:02:10] local.INFO: Packet analysis {"connection_id":154247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:02:10] local.INFO: Extracted packet for processing {"connection_id":154247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304746240001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786346966000,"timestamp_ms":1786346966000,"timestamp_seconds":1786346966,"priority":1,"record_length":96,"hex_timestamp":"0000019fea938bf0"} 
[2026-08-10 13:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13: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-08-10 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304746240001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304746240001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:02:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304746240001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":154247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:02:10] local.INFO: GPS data processed {"connection_id":154247,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:02:10] local.INFO: Acknowledgment sent {"connection_id":154247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:02:15] local.INFO: TCP Data received {"connection_id":154247,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:02:15] local.INFO: Processing buffer {"connection_id":154247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:02:15] local.INFO: Packet analysis {"connection_id":154247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:02:15] local.INFO: Extracted packet for processing {"connection_id":154247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304746240001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786346966000,"timestamp_ms":1786346966000,"timestamp_seconds":1786346966,"priority":1,"record_length":96,"hex_timestamp":"0000019fea938bf0"} 
[2026-08-10 13:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304746240001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304746240001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:02:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304746240001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":154247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:02:15] local.INFO: GPS data processed {"connection_id":154247,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:02:15] local.INFO: Acknowledgment sent {"connection_id":154247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:02:19] local.INFO: TCP Data received {"connection_id":154246,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea957820012d19a100071fdea0003800ad25..."} 
[2026-08-10 13:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea957820012d19a100071fdea0003800ad25..."} 
[2026-08-10 13:02:19] local.INFO: Processing buffer {"connection_id":154246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea957820012d19a100071fdea0003800ad25..."} 
[2026-08-10 13:02:19] local.INFO: Packet analysis {"connection_id":154246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea95"} 
[2026-08-10 13:02:19] local.INFO: Extracted packet for processing {"connection_id":154246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea95"} 
[2026-08-10 13:02:19] local.INFO: GPS Element Parsed {"raw_longitude":756654336,"raw_latitude":119529120,"longitude_deg":75.6654336,"latitude_deg":11.952912,"altitude":56,"angle":173,"satellites":37,"speed":21,"hex_longitude":"2d19a100","hex_latitude":"071fdea0","is_valid_coordinates":true} 
[2026-08-10 13:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304853504001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344159679971328,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827775795200,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02: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-08-10 13:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786347092000,"timestamp_ms":1786347092000,"timestamp_seconds":1786347092,"priority":1,"record_length":96,"hex_timestamp":"0000019fea957820"} 
[2026-08-10 13:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:02: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":131,"data_length":795,"current_offset":136} 
[2026-08-10 13:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304853504001,"66":14374,"101":206,"83":41984,"24":21,"16":11344159679971328,"45":1847038827775795200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304853504001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:02:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:02:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344159679971328,"km_value":11344159679971.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827775795200,"description":"Unknown IO ID 45"} 
[2026-08-10 13:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304853504001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1847038827775795200}} 
[2026-08-10 13:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":154246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:02:19] local.INFO: GPS data processed {"connection_id":154246,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:02:19] local.INFO: Acknowledgment sent {"connection_id":154246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:02:43] local.INFO: TCP Data received {"connection_id":152793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:02:43] local.INFO: Processing buffer {"connection_id":152793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:02:43] local.INFO: IMEI packet received {"connection_id":152793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":152793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:02:47] local.INFO: TCP Data received {"connection_id":152793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:02:47] local.INFO: Processing buffer {"connection_id":152793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:02:47] local.INFO: IMEI packet received {"connection_id":152793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":152793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:02:48] local.INFO: TCP Data received {"connection_id":152793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:02:48] local.INFO: Processing buffer {"connection_id":152793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:02:48] local.INFO: IMEI packet received {"connection_id":152793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":152793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:02:51] local.INFO: TCP Data received {"connection_id":152793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:02:51] local.INFO: Processing buffer {"connection_id":152793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:02:51] local.INFO: IMEI packet received {"connection_id":152793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":152793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:02:52] local.INFO: TCP Data received {"connection_id":152793,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea95ed50012d19ad00071faee8003b009226..."} 
[2026-08-10 13:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea95ed50012d19ad00071faee8003b009226..."} 
[2026-08-10 13:02:52] local.INFO: Processing buffer {"connection_id":152793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea95ed50012d19ad00071faee8003b009226..."} 
[2026-08-10 13:02:52] local.INFO: Packet analysis {"connection_id":152793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea95"} 
[2026-08-10 13:02:52] local.INFO: Extracted packet for processing {"connection_id":152793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea95"} 
[2026-08-10 13:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119516904,"longitude_deg":75.6657408,"latitude_deg":11.9516904,"altitude":59,"angle":146,"satellites":38,"speed":15,"hex_longitude":"2d19ad00","hex_latitude":"071faee8","is_valid_coordinates":true} 
[2026-08-10 13:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304861440001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344795335131136,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849360996330424320,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786347122000,"timestamp_ms":1786347122000,"timestamp_seconds":1786347122,"priority":1,"record_length":96,"hex_timestamp":"0000019fea95ed50"} 
[2026-08-10 13:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:02: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":5,"data_length":795,"current_offset":136} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6977918367,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3935680160,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":10241,"corrected_to":0} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503772730687488,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":234,"raw_value":2512285697,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3245342778,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84752164450672591,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":128,"raw_value":16607801652549120,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,77,159,206,45,192,190,58,39,10,66,202,64,191,194,1,240,55,227,234,31,4,113,205,11,186,165,96,239,2,40,7,59,14,48,128],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":202,"original":10241,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-10 13:02:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179524235851726848,"timestamp_seconds":4179524235851727.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 13:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304861440001,"66":14396,"101":206,"83":41984,"24":15,"16":11344795335131136,"45":1849360996330424320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304861440001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:02:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:02:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344795335131136,"km_value":11344795335131.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849360996330424320,"description":"Unknown IO ID 45"} 
[2026-08-10 13:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304861440001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1849360996330424320}} 
[2026-08-10 13:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":152793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:02:52] local.INFO: GPS data processed {"connection_id":152793,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:02:52] local.INFO: Acknowledgment sent {"connection_id":152793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:02:52] local.INFO: TCP Data received {"connection_id":152793,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea95f138012d19ae00071fae08003c008026..."} 
[2026-08-10 13:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea95f138012d19ae00071fae08003c008026..."} 
[2026-08-10 13:02:52] local.INFO: Processing buffer {"connection_id":152793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea95f138012d19ae00071fae08003c008026..."} 
[2026-08-10 13:02:52] local.INFO: Packet analysis {"connection_id":152793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea95"} 
[2026-08-10 13:02:52] local.INFO: Extracted packet for processing {"connection_id":152793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea95"} 
[2026-08-10 13:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119516680,"longitude_deg":75.6657664,"latitude_deg":11.951668,"altitude":60,"angle":128,"satellites":38,"speed":13,"hex_longitude":"2d19ae00","hex_latitude":"071fae08","is_valid_coordinates":true} 
[2026-08-10 13:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304863232001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344808220033024,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052515469312,"note":"Value kept but may cause issues"} 
[2026-08-10 13:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786347123000,"timestamp_ms":1786347123000,"timestamp_seconds":1786347123,"priority":1,"record_length":96,"hex_timestamp":"0000019fea95f138"} 
[2026-08-10 13:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 13:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304863232001,"66":14135,"101":206,"83":41984,"24":13,"16":11344808220033024,"45":1850135052515469312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304863232001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:02:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:02:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344808220033024,"km_value":11344808220033.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052515469312,"description":"Unknown IO ID 45"} 
[2026-08-10 13:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304863232001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1850135052515469312}} 
[2026-08-10 13:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":152793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:02:52] local.INFO: GPS data processed {"connection_id":152793,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:02:52] local.INFO: Acknowledgment sent {"connection_id":152793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:02:59] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:02:59] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:02:59] local.INFO: IMEI packet received {"connection_id":152794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":152794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:03:04] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:03:04] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:03:04] local.INFO: IMEI packet received {"connection_id":152794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":152794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:03:05] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:03:05] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:03:05] local.INFO: Packet analysis {"connection_id":152794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:03:05] local.INFO: Extracted packet for processing {"connection_id":152794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304746240001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346966000,"timestamp_ms":1786346966000,"timestamp_seconds":1786346966,"priority":1,"record_length":96,"hex_timestamp":"0000019fea938bf0"} 
[2026-08-10 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-08-10 13:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304746240001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304746240001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:03:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304746240001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":152794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:03:05] local.INFO: GPS data processed {"connection_id":152794,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:03:05] local.INFO: Acknowledgment sent {"connection_id":152794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:03:23] local.INFO: TCP Data received {"connection_id":152793,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea95f520012d19af80071fadc0003c006826..."} 
[2026-08-10 13:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea95f520012d19af80071fadc0003c006826..."} 
[2026-08-10 13:03:23] local.INFO: Processing buffer {"connection_id":152793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea95f520012d19af80071fadc0003c006826..."} 
[2026-08-10 13:03:23] local.INFO: Packet analysis {"connection_id":152793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea95"} 
[2026-08-10 13:03:23] local.INFO: Extracted packet for processing {"connection_id":152793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea95"} 
[2026-08-10 13:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756658048,"raw_latitude":119516608,"longitude_deg":75.6658048,"latitude_deg":11.9516608,"altitude":60,"angle":104,"satellites":38,"speed":12,"hex_longitude":"2d19af80","hex_latitude":"071fadc0","is_valid_coordinates":true} 
[2026-08-10 13:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304863488001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-10 13:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527492122624,"note":"Value kept but may cause issues"} 
[2026-08-10 13:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786347124000,"timestamp_ms":1786347124000,"timestamp_seconds":1786347124,"priority":1,"record_length":96,"hex_timestamp":"0000019fea95f520"} 
[2026-08-10 13:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-10 13:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304863488001,"66":14135,"101":206,"83":41984,"24":12,"16":11344829694869504,"45":1850416527492122624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304863488001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:03:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527492122624,"description":"Unknown IO ID 45"} 
[2026-08-10 13:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304863488001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1850416527492122624}} 
[2026-08-10 13:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":152793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:03:23] local.INFO: GPS data processed {"connection_id":152793,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:03:23] local.INFO: Acknowledgment sent {"connection_id":152793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:03:39] local.INFO: TCP Data received {"connection_id":151471,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:03:39] local.INFO: Processing buffer {"connection_id":151471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:03:39] local.INFO: IMEI packet received {"connection_id":151471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":151471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:03:40] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:03:40] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:03:40] local.INFO: Packet analysis {"connection_id":152794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:03:40] local.INFO: Extracted packet for processing {"connection_id":152794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304746240001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786346966000,"timestamp_ms":1786346966000,"timestamp_seconds":1786346966,"priority":1,"record_length":96,"hex_timestamp":"0000019fea938bf0"} 
[2026-08-10 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-08-10 13:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:03: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-08-10 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-08-10 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-08-10 13:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304746240001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304746240001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:03:40] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:03:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304746240001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":152794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:03:40] local.INFO: GPS data processed {"connection_id":152794,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:03:40] local.INFO: Acknowledgment sent {"connection_id":152794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:03:41] local.INFO: TCP Data received {"connection_id":151471,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:03:41] local.INFO: Processing buffer {"connection_id":151471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:03:41] local.INFO: IMEI packet received {"connection_id":151471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":151471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:03:42] local.INFO: TCP Data received {"connection_id":151471,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:03:42] local.INFO: Processing buffer {"connection_id":151471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:03:42] local.INFO: IMEI packet received {"connection_id":151471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":151471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:03:46] local.INFO: TCP Data received {"connection_id":151471,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:03:46] local.INFO: Processing buffer {"connection_id":151471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:03:46] local.INFO: IMEI packet received {"connection_id":151471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":151471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:03:47] local.INFO: TCP Data received {"connection_id":151471,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea96cbf8012d1a0ec0071fbeb8004200a427..."} 
[2026-08-10 13:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea96cbf8012d1a0ec0071fbeb8004200a427..."} 
[2026-08-10 13:03:47] local.INFO: Processing buffer {"connection_id":151471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea96cbf8012d1a0ec0071fbeb8004200a427..."} 
[2026-08-10 13:03:47] local.INFO: Packet analysis {"connection_id":151471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea96"} 
[2026-08-10 13:03:47] local.INFO: Extracted packet for processing {"connection_id":151471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea96"} 
[2026-08-10 13:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756682432,"raw_latitude":119520952,"longitude_deg":75.6682432,"latitude_deg":11.9520952,"altitude":66,"angle":164,"satellites":39,"speed":10,"hex_longitude":"2d1a0ec0","hex_latitude":"071fbeb8","is_valid_coordinates":true} 
[2026-08-10 13:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304877568001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11346036580679680,"note":"Value kept but may cause issues"} 
[2026-08-10 13:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877578862745860096,"note":"Value kept but may cause issues"} 
[2026-08-10 13:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786347179000,"timestamp_ms":1786347179000,"timestamp_seconds":1786347179,"priority":1,"record_length":96,"hex_timestamp":"0000019fea96cbf8"} 
[2026-08-10 13:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 13:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304877568001,"66":14102,"101":206,"83":41984,"24":10,"16":11346036580679680,"45":1877578862745860096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304877568001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:03:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:03:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11346036580679680,"km_value":11346036580679.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877578862745860096,"description":"Unknown IO ID 45"} 
[2026-08-10 13:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304877568001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1877578862745860096}} 
[2026-08-10 13:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":151471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:03:47] local.INFO: GPS data processed {"connection_id":151471,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:03:47] local.INFO: Acknowledgment sent {"connection_id":151471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:03:59] local.INFO: TCP Data received {"connection_id":152795,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:03:59] local.INFO: Processing buffer {"connection_id":152795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:03:59] local.INFO: IMEI packet received {"connection_id":152795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":152795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:04:04] local.INFO: TCP Data received {"connection_id":152795,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:04:04] local.INFO: Processing buffer {"connection_id":152795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:04:04] local.INFO: IMEI packet received {"connection_id":152795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":152795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:04:05] local.INFO: TCP Data received {"connection_id":152795,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:04:05] local.INFO: Processing buffer {"connection_id":152795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:04:05] local.INFO: Packet analysis {"connection_id":152795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:04:05] local.INFO: Extracted packet for processing {"connection_id":152795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304746240001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786346966000,"timestamp_ms":1786346966000,"timestamp_seconds":1786346966,"priority":1,"record_length":96,"hex_timestamp":"0000019fea938bf0"} 
[2026-08-10 13:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13: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-08-10 13:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:04: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-08-10 13:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304746240001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304746240001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:04:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304746240001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":152795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:04:05] local.INFO: GPS data processed {"connection_id":152795,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:04:05] local.INFO: Acknowledgment sent {"connection_id":152795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:04:18] local.INFO: TCP Data received {"connection_id":151471,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea96d3c8012d1a0ec0071fbc60004200bb27..."} 
[2026-08-10 13:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea96d3c8012d1a0ec0071fbc60004200bb27..."} 
[2026-08-10 13:04:18] local.INFO: Processing buffer {"connection_id":151471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea96d3c8012d1a0ec0071fbc60004200bb27..."} 
[2026-08-10 13:04:18] local.INFO: Packet analysis {"connection_id":151471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea96"} 
[2026-08-10 13:04:18] local.INFO: Extracted packet for processing {"connection_id":151471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea96"} 
[2026-08-10 13:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756682432,"raw_latitude":119520352,"longitude_deg":75.6682432,"latitude_deg":11.9520352,"altitude":66,"angle":187,"satellites":39,"speed":12,"hex_longitude":"2d1a0ec0","hex_latitude":"071fbc60","is_valid_coordinates":true} 
[2026-08-10 13:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304877824001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11346066645450752,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877649231489972224,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786347181000,"timestamp_ms":1786347181000,"timestamp_seconds":1786347181,"priority":1,"record_length":96,"hex_timestamp":"0000019fea96d3c8"} 
[2026-08-10 13:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 13:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304877824001,"66":14341,"101":206,"83":41984,"24":12,"16":11346066645450752,"45":1877649231489972224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304877824001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:04:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11346066645450752,"km_value":11346066645450.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877649231489972224,"description":"Unknown IO ID 45"} 
[2026-08-10 13:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304877824001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1877649231489972224}} 
[2026-08-10 13:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":151471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:04:18] local.INFO: GPS data processed {"connection_id":151471,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:04:18] local.INFO: Acknowledgment sent {"connection_id":151471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:04:37] local.INFO: TCP Data received {"connection_id":152795,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:04:37] local.INFO: Processing buffer {"connection_id":152795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea938bf0012d342a4006abc280000c010220..."} 
[2026-08-10 13:04:37] local.INFO: Packet analysis {"connection_id":152795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:04:37] local.INFO: Extracted packet for processing {"connection_id":152795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea93"} 
[2026-08-10 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304746240001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786346966000,"timestamp_ms":1786346966000,"timestamp_seconds":1786346966,"priority":1,"record_length":96,"hex_timestamp":"0000019fea938bf0"} 
[2026-08-10 13:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:04: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-08-10 13: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-08-10 13:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:04: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-08-10 13:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304746240001,"66":25582,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304746240001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:04:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304746240001,"power":25582,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":152795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:04:37] local.INFO: GPS data processed {"connection_id":152795,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:04:37] local.INFO: Acknowledgment sent {"connection_id":152795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:04:43] local.INFO: TCP Data received {"connection_id":151472,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:04:43] local.INFO: Processing buffer {"connection_id":151472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:04:43] local.INFO: IMEI packet received {"connection_id":151472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":151472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:04:43] local.INFO: TCP Data received {"connection_id":151472,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:04:43] local.INFO: Processing buffer {"connection_id":151472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:04:43] local.INFO: IMEI packet received {"connection_id":151472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":151472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:04:45] local.INFO: TCP Data received {"connection_id":151472,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:04:45] local.INFO: Processing buffer {"connection_id":151472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:04:45] local.INFO: IMEI packet received {"connection_id":151472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":151472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:04:50] local.INFO: TCP Data received {"connection_id":151472,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9773f0012d1a1480071f9d480045007b27..."} 
[2026-08-10 13:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9773f0012d1a1480071f9d480045007b27..."} 
[2026-08-10 13:04:50] local.INFO: Processing buffer {"connection_id":151472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9773f0012d1a1480071f9d480045007b27..."} 
[2026-08-10 13:04:50] local.INFO: Packet analysis {"connection_id":151472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea97"} 
[2026-08-10 13:04:50] local.INFO: Extracted packet for processing {"connection_id":151472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea97"} 
[2026-08-10 13:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756683904,"raw_latitude":119512392,"longitude_deg":75.6683904,"latitude_deg":11.9512392,"altitude":69,"angle":123,"satellites":39,"speed":7,"hex_longitude":"2d1a1480","hex_latitude":"071f9d48","is_valid_coordinates":true} 
[2026-08-10 13:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304888576001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11346491847213056,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879056606371379200,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786347222000,"timestamp_ms":1786347222000,"timestamp_seconds":1786347222,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9773f0"} 
[2026-08-10 13:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:04: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":38,"data_length":795,"current_offset":136} 
[2026-08-10 13:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304888576001,"66":14374,"101":206,"83":41984,"24":7,"16":11346491847213056,"45":1879056606371379200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304888576001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:04:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11346491847213056,"km_value":11346491847213.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879056606371379200,"description":"Unknown IO ID 45"} 
[2026-08-10 13:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304888576001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1879056606371379200}} 
[2026-08-10 13:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":151472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:04:50] local.INFO: GPS data processed {"connection_id":151472,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:04:50] local.INFO: Acknowledgment sent {"connection_id":151472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:04:50] local.INFO: TCP Data received {"connection_id":151472,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9777d8012d1a1540071f9cd00046006a27..."} 
[2026-08-10 13:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9777d8012d1a1540071f9cd00046006a27..."} 
[2026-08-10 13:04:50] local.INFO: Processing buffer {"connection_id":151472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9777d8012d1a1540071f9cd00046006a27..."} 
[2026-08-10 13:04:50] local.INFO: Packet analysis {"connection_id":151472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea97"} 
[2026-08-10 13:04:50] local.INFO: Extracted packet for processing {"connection_id":151472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea97"} 
[2026-08-10 13:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756684096,"raw_latitude":119512272,"longitude_deg":75.6684096,"latitude_deg":11.9512272,"altitude":70,"angle":106,"satellites":39,"speed":8,"hex_longitude":"2d1a1540","hex_latitude":"071f9cd0","is_valid_coordinates":true} 
[2026-08-10 13:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304888832001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11346504732114944,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879267712603867136,"note":"Value kept but may cause issues"} 
[2026-08-10 13:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786347223000,"timestamp_ms":1786347223000,"timestamp_seconds":1786347223,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9777d8"} 
[2026-08-10 13:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:04: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":38,"data_length":795,"current_offset":136} 
[2026-08-10 13:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304888832001,"66":13722,"101":206,"83":41984,"24":8,"16":11346504732114944,"45":1879267712603867136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304888832001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:04:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11346504732114944,"km_value":11346504732114.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879267712603867136,"description":"Unknown IO ID 45"} 
[2026-08-10 13:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304888832001,"power":13722,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1879267712603867136}} 
[2026-08-10 13:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":151472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:04:50] local.INFO: GPS data processed {"connection_id":151472,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:04:50] local.INFO: Acknowledgment sent {"connection_id":151472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:04:59] local.INFO: TCP Data received {"connection_id":151473,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:04:59] local.INFO: Processing buffer {"connection_id":151473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:04:59] local.INFO: IMEI packet received {"connection_id":151473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":151473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:05:03] local.INFO: TCP Data received {"connection_id":151472,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea977bc0012d1a1640071f9c900046005f27..."} 
[2026-08-10 13:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea977bc0012d1a1640071f9c900046005f27..."} 
[2026-08-10 13:05:03] local.INFO: Processing buffer {"connection_id":151472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea977bc0012d1a1640071f9c900046005f27..."} 
[2026-08-10 13:05:03] local.INFO: Packet analysis {"connection_id":151472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea97"} 
[2026-08-10 13:05:03] local.INFO: Extracted packet for processing {"connection_id":151472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea97"} 
[2026-08-10 13:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756684352,"raw_latitude":119512208,"longitude_deg":75.6684352,"latitude_deg":11.9512208,"altitude":70,"angle":95,"satellites":39,"speed":8,"hex_longitude":"2d1a1640","hex_latitude":"071f9c90","is_valid_coordinates":true} 
[2026-08-10 13:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304889088001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11346513322049536,"note":"Value kept but may cause issues"} 
[2026-08-10 13:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879478818836369408,"note":"Value kept but may cause issues"} 
[2026-08-10 13:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786347224000,"timestamp_ms":1786347224000,"timestamp_seconds":1786347224,"priority":1,"record_length":96,"hex_timestamp":"0000019fea977bc0"} 
[2026-08-10 13:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-10 13:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304889088001,"66":13722,"101":206,"83":41984,"24":8,"16":11346513322049536,"45":1879478818836369408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304889088001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:05:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11346513322049536,"km_value":11346513322049.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879478818836369408,"description":"Unknown IO ID 45"} 
[2026-08-10 13:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304889088001,"power":13722,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1879478818836369408}} 
[2026-08-10 13:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":151472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:05:03] local.INFO: GPS data processed {"connection_id":151472,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:05:03] local.INFO: Acknowledgment sent {"connection_id":151472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:05:04] local.INFO: TCP Data received {"connection_id":151473,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:05:04] local.INFO: Processing buffer {"connection_id":151473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:05:04] local.INFO: IMEI packet received {"connection_id":151473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":151473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:05:06] local.INFO: TCP Data received {"connection_id":151473,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:05:06] local.INFO: Processing buffer {"connection_id":151473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:05:06] local.INFO: Packet analysis {"connection_id":151473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:05:06] local.INFO: Extracted packet for processing {"connection_id":151473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304823296001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786347267000,"timestamp_ms":1786347267000,"timestamp_seconds":1786347267,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9823b8"} 
[2026-08-10 13:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:05: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-08-10 13:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304823296001,"66":25538,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304823296001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:05:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304823296001,"power":25538,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":151473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:05:06] local.INFO: GPS data processed {"connection_id":151473,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:05:06] local.INFO: Acknowledgment sent {"connection_id":151473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:05:38] local.INFO: TCP Data received {"connection_id":151473,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:05:38] local.INFO: Processing buffer {"connection_id":151473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:05:38] local.INFO: Packet analysis {"connection_id":151473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:05:38] local.INFO: Extracted packet for processing {"connection_id":151473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304823296001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786347267000,"timestamp_ms":1786347267000,"timestamp_seconds":1786347267,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9823b8"} 
[2026-08-10 13:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:05: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-08-10 13:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304823296001,"66":25538,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304823296001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:05:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304823296001,"power":25538,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":151473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:05:38] local.INFO: GPS data processed {"connection_id":151473,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:05:38] local.INFO: Acknowledgment sent {"connection_id":151473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:05:42] local.INFO: TCP Data received {"connection_id":151474,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:05:42] local.INFO: Processing buffer {"connection_id":151474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:05:42] local.INFO: IMEI packet received {"connection_id":151474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":151474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:05:47] local.INFO: TCP Data received {"connection_id":151474,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:05:47] local.INFO: Processing buffer {"connection_id":151474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:05:47] local.INFO: IMEI packet received {"connection_id":151474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":151474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:05:48] local.INFO: TCP Data received {"connection_id":151474,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea979b00012d1a1dc0071f9af00046004f26..."} 
[2026-08-10 13:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea979b00012d1a1dc0071f9af00046004f26..."} 
[2026-08-10 13:05:48] local.INFO: Processing buffer {"connection_id":151474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea979b00012d1a1dc0071f9af00046004f26..."} 
[2026-08-10 13:05:48] local.INFO: Packet analysis {"connection_id":151474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea97"} 
[2026-08-10 13:05:48] local.INFO: Extracted packet for processing {"connection_id":151474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea97"} 
[2026-08-10 13:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756686272,"raw_latitude":119511792,"longitude_deg":75.6686272,"latitude_deg":11.9511792,"altitude":70,"angle":79,"satellites":38,"speed":7,"hex_longitude":"2d1a1dc0","hex_latitude":"071f9af0","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304889344001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11346607811330048,"note":"Value kept but may cause issues"} 
[2026-08-10 13:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879760293813063680,"note":"Value kept but may cause issues"} 
[2026-08-10 13:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786347232000,"timestamp_ms":1786347232000,"timestamp_seconds":1786347232,"priority":1,"record_length":96,"hex_timestamp":"0000019fea979b00"} 
[2026-08-10 13:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-10 13:05: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-08-10 13: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-08-10 13:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304889344001,"66":14080,"101":206,"83":41984,"24":7,"16":11346607811330048,"45":1879760293813063680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304889344001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:05:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:05:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11346607811330048,"km_value":11346607811330.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879760293813063680,"description":"Unknown IO ID 45"} 
[2026-08-10 13:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304889344001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1879760293813063680}} 
[2026-08-10 13:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":151474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:05:48] local.INFO: GPS data processed {"connection_id":151474,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:05:48] local.INFO: Acknowledgment sent {"connection_id":151474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:06:04] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:06:04] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:06:04] local.INFO: IMEI packet received {"connection_id":152796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":152796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:06:09] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:06:09] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:06:09] local.INFO: IMEI packet received {"connection_id":152796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":152796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:06:10] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:06:10] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:06:10] local.INFO: Packet analysis {"connection_id":152796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:06:10] local.INFO: Extracted packet for processing {"connection_id":152796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304823296001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786347267000,"timestamp_ms":1786347267000,"timestamp_seconds":1786347267,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9823b8"} 
[2026-08-10 13:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:06: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-08-10 13:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304823296001,"66":25538,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304823296001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:06:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304823296001,"power":25538,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":152796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:06:10] local.INFO: GPS data processed {"connection_id":152796,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:06:10] local.INFO: Acknowledgment sent {"connection_id":152796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:06:14] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:06:14] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:06:14] local.INFO: Packet analysis {"connection_id":152796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:06:14] local.INFO: Extracted packet for processing {"connection_id":152796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304823296001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786347267000,"timestamp_ms":1786347267000,"timestamp_seconds":1786347267,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9823b8"} 
[2026-08-10 13:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304823296001,"66":25538,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304823296001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:06:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304823296001,"power":25538,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":152796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:06:14] local.INFO: GPS data processed {"connection_id":152796,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:06:14] local.INFO: Acknowledgment sent {"connection_id":152796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:06:19] local.INFO: TCP Data received {"connection_id":151474,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9875c0012d1a3d80071f8460004300b925..."} 
[2026-08-10 13:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9875c0012d1a3d80071f8460004300b925..."} 
[2026-08-10 13:06:19] local.INFO: Processing buffer {"connection_id":151474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9875c0012d1a3d80071f8460004300b925..."} 
[2026-08-10 13:06:19] local.INFO: Packet analysis {"connection_id":151474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:06:19] local.INFO: Extracted packet for processing {"connection_id":151474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756694400,"raw_latitude":119506016,"longitude_deg":75.66944,"latitude_deg":11.9506016,"altitude":67,"angle":185,"satellites":37,"speed":7,"hex_longitude":"2d1a3d80","hex_latitude":"071f8460","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304904448001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11347140387274752,"note":"Value kept but may cause issues"} 
[2026-08-10 13:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891019292880103424,"note":"Value kept but may cause issues"} 
[2026-08-10 13:06: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-08-10 13:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786347288000,"timestamp_ms":1786347288000,"timestamp_seconds":1786347288,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9875c0"} 
[2026-08-10 13:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 13:06: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-08-10 13: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-08-10 13:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304904448001,"66":14004,"101":206,"83":41984,"24":7,"16":11347140387274752,"45":1891019292880103424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304904448001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:06:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11347140387274752,"km_value":11347140387274.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891019292880103424,"description":"Unknown IO ID 45"} 
[2026-08-10 13:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304904448001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1891019292880103424}} 
[2026-08-10 13:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":151474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:06:19] local.INFO: GPS data processed {"connection_id":151474,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:06:19] local.INFO: Acknowledgment sent {"connection_id":151474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:06:42] local.INFO: TCP Data received {"connection_id":154248,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:06:42] local.INFO: Processing buffer {"connection_id":154248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:06:42] local.INFO: IMEI packet received {"connection_id":154248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":154248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:06:45] local.INFO: TCP Data received {"connection_id":154248,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:06:45] local.INFO: Processing buffer {"connection_id":154248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:06:45] local.INFO: IMEI packet received {"connection_id":154248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":154248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:06:46] local.INFO: TCP Data received {"connection_id":154248,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea98c7c8012d1a3d00071f8280004000ba20..."} 
[2026-08-10 13:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea98c7c8012d1a3d00071f8280004000ba20..."} 
[2026-08-10 13:06:46] local.INFO: Processing buffer {"connection_id":154248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea98c7c8012d1a3d00071f8280004000ba20..."} 
[2026-08-10 13:06:46] local.INFO: Packet analysis {"connection_id":154248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:06:46] local.INFO: Extracted packet for processing {"connection_id":154248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756694272,"raw_latitude":119505536,"longitude_deg":75.6694272,"latitude_deg":11.9505536,"altitude":64,"angle":186,"satellites":32,"speed":0,"hex_longitude":"2d1a3d00","hex_latitude":"071f8280","is_valid_coordinates":true} 
[2026-08-10 13:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304905728001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11347174747013120,"note":"Value kept but may cause issues"} 
[2026-08-10 13:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890808186647371776,"note":"Value kept but may cause issues"} 
[2026-08-10 13:06: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-08-10 13:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786347309000,"timestamp_ms":1786347309000,"timestamp_seconds":1786347309,"priority":1,"record_length":96,"hex_timestamp":"0000019fea98c7c8"} 
[2026-08-10 13:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-10 13:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304905728001,"66":14265,"101":206,"83":41984,"24":0,"16":11347174747013120,"45":1890808186647371776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304905728001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:06:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11347174747013120,"km_value":11347174747013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890808186647371776,"description":"Unknown IO ID 45"} 
[2026-08-10 13:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304905728001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890808186647371776}} 
[2026-08-10 13:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":154248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:06:46] local.INFO: GPS data processed {"connection_id":154248,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:06:46] local.INFO: Acknowledgment sent {"connection_id":154248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:06:59] local.INFO: TCP Data received {"connection_id":151475,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:06:59] local.INFO: Processing buffer {"connection_id":151475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:06:59] local.INFO: IMEI packet received {"connection_id":151475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":151475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:07:04] local.INFO: TCP Data received {"connection_id":151475,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:07:04] local.INFO: Processing buffer {"connection_id":151475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:07:04] local.INFO: IMEI packet received {"connection_id":151475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":151475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:07:05] local.INFO: TCP Data received {"connection_id":151475,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:07:05] local.INFO: Processing buffer {"connection_id":151475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:07:05] local.INFO: Packet analysis {"connection_id":151475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:07:05] local.INFO: Extracted packet for processing {"connection_id":151475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:07:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304823296001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786347267000,"timestamp_ms":1786347267000,"timestamp_seconds":1786347267,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9823b8"} 
[2026-08-10 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-08-10 13:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304823296001,"66":25538,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304823296001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:07:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304823296001,"power":25538,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":151475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:07:05] local.INFO: GPS data processed {"connection_id":151475,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:07:05] local.INFO: Acknowledgment sent {"connection_id":151475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:07:17] local.INFO: TCP Data received {"connection_id":154248,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9919d0012d1a3d00071f8280004000ba20..."} 
[2026-08-10 13:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9919d0012d1a3d00071f8280004000ba20..."} 
[2026-08-10 13:07:17] local.INFO: Processing buffer {"connection_id":154248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9919d0012d1a3d00071f8280004000ba20..."} 
[2026-08-10 13:07:17] local.INFO: Packet analysis {"connection_id":154248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea99"} 
[2026-08-10 13:07:17] local.INFO: Extracted packet for processing {"connection_id":154248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea99"} 
[2026-08-10 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756694272,"raw_latitude":119505536,"longitude_deg":75.6694272,"latitude_deg":11.9505536,"altitude":64,"angle":186,"satellites":32,"speed":0,"hex_longitude":"2d1a3d00","hex_latitude":"071f8280","is_valid_coordinates":true} 
[2026-08-10 13:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304911104001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11347174747013120,"note":"Value kept but may cause issues"} 
[2026-08-10 13:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890667449158893568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786347330000,"timestamp_ms":1786347330000,"timestamp_seconds":1786347330,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9919d0"} 
[2026-08-10 13:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 13:07: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-08-10 13:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304911104001,"66":14265,"101":206,"83":41984,"24":0,"16":11347174747013120,"45":1890667449158893568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 13:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304911104001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:07:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 13:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11347174747013120,"km_value":11347174747013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890667449158893568,"description":"Unknown IO ID 45"} 
[2026-08-10 13:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304911104001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890667449158893568}} 
[2026-08-10 13:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":154248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:07:17] local.INFO: GPS data processed {"connection_id":154248,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:07:17] local.INFO: Acknowledgment sent {"connection_id":154248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:07:36] local.INFO: TCP Data received {"connection_id":151475,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:07:36] local.INFO: Processing buffer {"connection_id":151475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:07:36] local.INFO: Packet analysis {"connection_id":151475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:07:36] local.INFO: Extracted packet for processing {"connection_id":151475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304823296001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786347267000,"timestamp_ms":1786347267000,"timestamp_seconds":1786347267,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9823b8"} 
[2026-08-10 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-08-10 13:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:07: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-08-10 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-08-10 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-08-10 13:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304823296001,"66":25538,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304823296001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:07:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304823296001,"power":25538,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":151475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:07:36] local.INFO: GPS data processed {"connection_id":151475,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:07:36] local.INFO: Acknowledgment sent {"connection_id":151475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:07:41] local.INFO: TCP Data received {"connection_id":151870,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:07:41] local.INFO: Processing buffer {"connection_id":151870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:07:41] local.INFO: IMEI packet received {"connection_id":151870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":151870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:07:42] local.INFO: TCP Data received {"connection_id":151870,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:07:42] local.INFO: Processing buffer {"connection_id":151870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:07:42] local.INFO: IMEI packet received {"connection_id":151870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":151870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:07:45] local.INFO: TCP Data received {"connection_id":151870,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:07:45] local.INFO: Processing buffer {"connection_id":151870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:07:45] local.INFO: IMEI packet received {"connection_id":151870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":151870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:07:45] local.INFO: TCP Data received {"connection_id":151870,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:07:45] local.INFO: Processing buffer {"connection_id":151870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:07:45] local.INFO: IMEI packet received {"connection_id":151870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":151870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:07:59] local.INFO: TCP Data received {"connection_id":151476,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:07:59] local.INFO: Processing buffer {"connection_id":151476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:07:59] local.INFO: IMEI packet received {"connection_id":151476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":151476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:08:04] local.INFO: TCP Data received {"connection_id":151476,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:08:04] local.INFO: Processing buffer {"connection_id":151476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:08:04] local.INFO: IMEI packet received {"connection_id":151476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":151476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:08:05] local.INFO: TCP Data received {"connection_id":151476,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:08:05] local.INFO: Processing buffer {"connection_id":151476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:08:05] local.INFO: Packet analysis {"connection_id":151476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:08:05] local.INFO: Extracted packet for processing {"connection_id":151476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304823296001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786347267000,"timestamp_ms":1786347267000,"timestamp_seconds":1786347267,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9823b8"} 
[2026-08-10 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-08-10 13:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304823296001,"66":25538,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304823296001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:08:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304823296001,"power":25538,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":151476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:08:05] local.INFO: GPS data processed {"connection_id":151476,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:08:05] local.INFO: Acknowledgment sent {"connection_id":151476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:08:36] local.INFO: TCP Data received {"connection_id":151476,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:08:36] local.INFO: Processing buffer {"connection_id":151476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:08:36] local.INFO: Packet analysis {"connection_id":151476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:08:36] local.INFO: Extracted packet for processing {"connection_id":151476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304823296001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786347267000,"timestamp_ms":1786347267000,"timestamp_seconds":1786347267,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9823b8"} 
[2026-08-10 13:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:08: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-08-10 13: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-08-10 13:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304823296001,"66":25538,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304823296001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:08:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304823296001,"power":25538,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":151476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:08:36] local.INFO: GPS data processed {"connection_id":151476,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:08:36] local.INFO: Acknowledgment sent {"connection_id":151476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:08:59] local.INFO: TCP Data received {"connection_id":151871,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:08:59] local.INFO: Processing buffer {"connection_id":151871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:08:59] local.INFO: IMEI packet received {"connection_id":151871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":151871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:09:04] local.INFO: TCP Data received {"connection_id":151871,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:09:04] local.INFO: Processing buffer {"connection_id":151871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:09:04] local.INFO: IMEI packet received {"connection_id":151871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":151871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:09:05] local.INFO: TCP Data received {"connection_id":151871,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:09:05] local.INFO: Processing buffer {"connection_id":151871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:09:05] local.INFO: Packet analysis {"connection_id":151871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:09:05] local.INFO: Extracted packet for processing {"connection_id":151871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304823296001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786347267000,"timestamp_ms":1786347267000,"timestamp_seconds":1786347267,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9823b8"} 
[2026-08-10 13:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304823296001,"66":25538,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304823296001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:09:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304823296001,"power":25538,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":151871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:09:05] local.INFO: GPS data processed {"connection_id":151871,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:09:05] local.INFO: Acknowledgment sent {"connection_id":151871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:09:36] local.INFO: TCP Data received {"connection_id":151871,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:09:36] local.INFO: Processing buffer {"connection_id":151871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:09:36] local.INFO: Packet analysis {"connection_id":151871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:09:36] local.INFO: Extracted packet for processing {"connection_id":151871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304823296001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786347267000,"timestamp_ms":1786347267000,"timestamp_seconds":1786347267,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9823b8"} 
[2026-08-10 13:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:09: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-08-10 13:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304823296001,"66":25538,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304823296001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:09:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304823296001,"power":25538,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":151871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:09:36] local.INFO: GPS data processed {"connection_id":151871,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:09:36] local.INFO: Acknowledgment sent {"connection_id":151871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:09:59] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:09:59] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:09:59] local.INFO: IMEI packet received {"connection_id":152798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":152798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:10:04] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:10:04] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:10:04] local.INFO: IMEI packet received {"connection_id":152798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":152798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:10:05] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:10:05] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9823b8012d342a4006abc280000c010221..."} 
[2026-08-10 13:10:05] local.INFO: Packet analysis {"connection_id":152798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:10:05] local.INFO: Extracted packet for processing {"connection_id":152798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea98"} 
[2026-08-10 13:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304823296001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786347267000,"timestamp_ms":1786347267000,"timestamp_seconds":1786347267,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9823b8"} 
[2026-08-10 13:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 13:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:10: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-08-10 13:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304823296001,"66":25538,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304823296001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:10:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304823296001,"power":25538,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":152798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:10:05] local.INFO: GPS data processed {"connection_id":152798,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:10:05] local.INFO: Acknowledgment sent {"connection_id":152798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:10:39] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:10:39] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:10:39] local.INFO: Packet analysis {"connection_id":152798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:10:39] local.INFO: Extracted packet for processing {"connection_id":152798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304900352001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786347568000,"timestamp_ms":1786347568000,"timestamp_seconds":1786347568,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9cbb80"} 
[2026-08-10 13:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 13:10: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-08-10 13:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304900352001,"66":25517,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304900352001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:10:39] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:10:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304900352001,"power":25517,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":152798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:10:39] local.INFO: GPS data processed {"connection_id":152798,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:10:39] local.INFO: Acknowledgment sent {"connection_id":152798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:10:59] local.INFO: TCP Data received {"connection_id":151477,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:10:59] local.INFO: Processing buffer {"connection_id":151477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:10:59] local.INFO: IMEI packet received {"connection_id":151477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":151477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:11:04] local.INFO: TCP Data received {"connection_id":151477,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:11:04] local.INFO: Processing buffer {"connection_id":151477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:11:04] local.INFO: IMEI packet received {"connection_id":151477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":151477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:11:05] local.INFO: TCP Data received {"connection_id":151477,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:11:05] local.INFO: Processing buffer {"connection_id":151477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:11:05] local.INFO: Packet analysis {"connection_id":151477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:11:05] local.INFO: Extracted packet for processing {"connection_id":151477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304900352001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786347568000,"timestamp_ms":1786347568000,"timestamp_seconds":1786347568,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9cbb80"} 
[2026-08-10 13:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 13:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304900352001,"66":25517,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304900352001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:11:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304900352001,"power":25517,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":151477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:11:05] local.INFO: GPS data processed {"connection_id":151477,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:11:05] local.INFO: Acknowledgment sent {"connection_id":151477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:11:36] local.INFO: TCP Data received {"connection_id":151477,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:11:36] local.INFO: Processing buffer {"connection_id":151477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:11:36] local.INFO: Packet analysis {"connection_id":151477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:11:36] local.INFO: Extracted packet for processing {"connection_id":151477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304900352001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786347568000,"timestamp_ms":1786347568000,"timestamp_seconds":1786347568,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9cbb80"} 
[2026-08-10 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-08-10 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 13:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:11: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-08-10 13:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304900352001,"66":25517,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304900352001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:11:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304900352001,"power":25517,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":151477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:11:36] local.INFO: GPS data processed {"connection_id":151477,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:11:36] local.INFO: Acknowledgment sent {"connection_id":151477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:11:59] local.INFO: TCP Data received {"connection_id":151873,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:11:59] local.INFO: Processing buffer {"connection_id":151873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:11:59] local.INFO: IMEI packet received {"connection_id":151873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":151873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:12:04] local.INFO: TCP Data received {"connection_id":151873,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:12:04] local.INFO: Processing buffer {"connection_id":151873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:12:04] local.INFO: IMEI packet received {"connection_id":151873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":151873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:12:05] local.INFO: TCP Data received {"connection_id":151873,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:12:05] local.INFO: Processing buffer {"connection_id":151873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:12:05] local.INFO: Packet analysis {"connection_id":151873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:12:05] local.INFO: Extracted packet for processing {"connection_id":151873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304900352001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786347568000,"timestamp_ms":1786347568000,"timestamp_seconds":1786347568,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9cbb80"} 
[2026-08-10 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-08-10 13: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-08-10 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 13:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304900352001,"66":25517,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304900352001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:12:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304900352001,"power":25517,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":151873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:12:05] local.INFO: GPS data processed {"connection_id":151873,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:12:05] local.INFO: Acknowledgment sent {"connection_id":151873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:12:37] local.INFO: TCP Data received {"connection_id":151873,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:12:37] local.INFO: Processing buffer {"connection_id":151873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:12:37] local.INFO: Packet analysis {"connection_id":151873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:12:37] local.INFO: Extracted packet for processing {"connection_id":151873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304900352001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786347568000,"timestamp_ms":1786347568000,"timestamp_seconds":1786347568,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9cbb80"} 
[2026-08-10 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-08-10 13:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 13:12: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-08-10 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-08-10 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-08-10 13:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304900352001,"66":25517,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304900352001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:12:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304900352001,"power":25517,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":151873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:12:37] local.INFO: GPS data processed {"connection_id":151873,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:12:37] local.INFO: Acknowledgment sent {"connection_id":151873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:12:47] local.INFO: TCP Data received {"connection_id":151478,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:12:47] local.INFO: Processing buffer {"connection_id":151478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:12:47] local.INFO: IMEI packet received {"connection_id":151478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":151478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:12:48] local.INFO: TCP Data received {"connection_id":151478,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9e8488012d1962000720ab20003c010924..."} 
[2026-08-10 13:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9e8488012d1962000720ab20003c010924..."} 
[2026-08-10 13:12:48] local.INFO: Processing buffer {"connection_id":151478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9e8488012d1962000720ab20003c010924..."} 
[2026-08-10 13:12:48] local.INFO: Packet analysis {"connection_id":151478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea9e"} 
[2026-08-10 13:12:48] local.INFO: Extracted packet for processing {"connection_id":151478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea9e"} 
[2026-08-10 13:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756638208,"raw_latitude":119581472,"longitude_deg":75.6638208,"latitude_deg":11.9581472,"altitude":60,"angle":265,"satellites":36,"speed":37,"hex_longitude":"2d196200","hex_latitude":"0720ab20","is_valid_coordinates":true} 
[2026-08-10 13:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305006080001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11354570680696832,"note":"Value kept but may cause issues"} 
[2026-08-10 13:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978859706368,"note":"Value kept but may cause issues"} 
[2026-08-10 13:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786347685000,"timestamp_ms":1786347685000,"timestamp_seconds":1786347685,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9e8488"} 
[2026-08-10 13:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 13:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305006080001,"66":14374,"103":206,"83":41984,"24":37,"16":11354570680696832,"45":1834090978859706368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305006080001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:12:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11354570680696832,"km_value":11354570680696.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978859706368,"description":"Unknown IO ID 45"} 
[2026-08-10 13:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305006080001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1834090978859706368}} 
[2026-08-10 13:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":151478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:12:48] local.INFO: GPS data processed {"connection_id":151478,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:12:48] local.INFO: Acknowledgment sent {"connection_id":151478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:13:01] local.INFO: TCP Data received {"connection_id":154251,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:13:01] local.INFO: Processing buffer {"connection_id":154251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:13:01] local.INFO: IMEI packet received {"connection_id":154251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":154251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:13:04] local.INFO: TCP Data received {"connection_id":154251,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:13:04] local.INFO: Processing buffer {"connection_id":154251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:13:04] local.INFO: IMEI packet received {"connection_id":154251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":154251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:13:05] local.INFO: TCP Data received {"connection_id":154251,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:13:05] local.INFO: Processing buffer {"connection_id":154251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:13:05] local.INFO: Packet analysis {"connection_id":154251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:13:05] local.INFO: Extracted packet for processing {"connection_id":154251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304900352001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786347568000,"timestamp_ms":1786347568000,"timestamp_seconds":1786347568,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9cbb80"} 
[2026-08-10 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-08-10 13:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 13:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304900352001,"66":25517,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304900352001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:13:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304900352001,"power":25517,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":154251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:13:05] local.INFO: GPS data processed {"connection_id":154251,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:13:05] local.INFO: Acknowledgment sent {"connection_id":154251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:13:19] local.INFO: TCP Data received {"connection_id":151478,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9f8e28012d18c340072145b80049016425..."} 
[2026-08-10 13:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9f8e28012d18c340072145b80049016425..."} 
[2026-08-10 13:13:19] local.INFO: Processing buffer {"connection_id":151478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9f8e28012d18c340072145b80049016425..."} 
[2026-08-10 13:13:19] local.INFO: Packet analysis {"connection_id":151478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea9f"} 
[2026-08-10 13:13:19] local.INFO: Extracted packet for processing {"connection_id":151478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea9f"} 
[2026-08-10 13:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756597568,"raw_latitude":119621048,"longitude_deg":75.6597568,"latitude_deg":11.9621048,"altitude":73,"angle":356,"satellites":37,"speed":35,"hex_longitude":"2d18c340","hex_latitude":"072145b8","is_valid_coordinates":true} 
[2026-08-10 13:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305024256001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11357577157804032,"note":"Value kept but may cause issues"} 
[2026-08-10 13:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712282624,"note":"Value kept but may cause issues"} 
[2026-08-10 13:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786347753000,"timestamp_ms":1786347753000,"timestamp_seconds":1786347753,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9f8e28"} 
[2026-08-10 13:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 13:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305024256001,"66":13559,"106":206,"83":41984,"24":35,"16":11357577157804032,"45":1784621751712282624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 13:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305024256001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:13:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 13:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11357577157804032,"km_value":11357577157804.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712282624,"description":"Unknown IO ID 45"} 
[2026-08-10 13:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305024256001,"power":13559,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784621751712282624}} 
[2026-08-10 13:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":151478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:13:20] local.INFO: GPS data processed {"connection_id":151478,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:13:20] local.INFO: Acknowledgment sent {"connection_id":151478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:13:30] local.INFO: TCP Data received {"connection_id":154251,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:13:30] local.INFO: Processing buffer {"connection_id":154251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:13:30] local.INFO: Packet analysis {"connection_id":154251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:13:30] local.INFO: Extracted packet for processing {"connection_id":154251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:13:30] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304900352001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786347568000,"timestamp_ms":1786347568000,"timestamp_seconds":1786347568,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9cbb80"} 
[2026-08-10 13:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 13:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304900352001,"66":25517,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304900352001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:13:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:13:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304900352001,"power":25517,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":154251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:13:30] local.INFO: GPS data processed {"connection_id":154251,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:13:30] local.INFO: Acknowledgment sent {"connection_id":154251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:13:40] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:13:40] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:13:40] local.INFO: IMEI packet received {"connection_id":152799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":152799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:13:40] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:13:40] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:13:40] local.INFO: IMEI packet received {"connection_id":152799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":152799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:13:42] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:13:42] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:13:42] local.INFO: IMEI packet received {"connection_id":152799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":152799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:13:43] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:13:43] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:13:43] local.INFO: IMEI packet received {"connection_id":152799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":152799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:13:59] local.INFO: TCP Data received {"connection_id":151479,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:13:59] local.INFO: Processing buffer {"connection_id":151479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:13:59] local.INFO: IMEI packet received {"connection_id":151479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":151479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:14:04] local.INFO: TCP Data received {"connection_id":151479,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:14:04] local.INFO: Processing buffer {"connection_id":151479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:14:04] local.INFO: IMEI packet received {"connection_id":151479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":151479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:14:05] local.INFO: TCP Data received {"connection_id":151479,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:14:05] local.INFO: Processing buffer {"connection_id":151479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:14:05] local.INFO: Packet analysis {"connection_id":151479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:14:05] local.INFO: Extracted packet for processing {"connection_id":151479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304900352001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786347568000,"timestamp_ms":1786347568000,"timestamp_seconds":1786347568,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9cbb80"} 
[2026-08-10 13:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 13:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:14: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-08-10 13:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304900352001,"66":25517,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304900352001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:14:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304900352001,"power":25517,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":151479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:14:05] local.INFO: GPS data processed {"connection_id":151479,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:14:05] local.INFO: Acknowledgment sent {"connection_id":151479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:14:37] local.INFO: TCP Data received {"connection_id":151479,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:14:37] local.INFO: Processing buffer {"connection_id":151479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:14:37] local.INFO: Packet analysis {"connection_id":151479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:14:37] local.INFO: Extracted packet for processing {"connection_id":151479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304900352001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786347568000,"timestamp_ms":1786347568000,"timestamp_seconds":1786347568,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9cbb80"} 
[2026-08-10 13:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 13:14: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-08-10 13: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-08-10 13:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304900352001,"66":25517,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304900352001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:14:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304900352001,"power":25517,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":151479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:14:37] local.INFO: GPS data processed {"connection_id":151479,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:14:37] local.INFO: Acknowledgment sent {"connection_id":151479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:14:59] local.INFO: TCP Data received {"connection_id":154252,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:14:59] local.INFO: Processing buffer {"connection_id":154252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:14:59] local.INFO: IMEI packet received {"connection_id":154252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":154252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:15:04] local.INFO: TCP Data received {"connection_id":154252,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:15:04] local.INFO: Processing buffer {"connection_id":154252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:15:04] local.INFO: IMEI packet received {"connection_id":154252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":154252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:15:05] local.INFO: TCP Data received {"connection_id":154252,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:15:05] local.INFO: Processing buffer {"connection_id":154252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fea9cbb80012d342a4006abc280001f010223..."} 
[2026-08-10 13:15:05] local.INFO: Packet analysis {"connection_id":154252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:15:05] local.INFO: Extracted packet for processing {"connection_id":154252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fea9c"} 
[2026-08-10 13:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304900352001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786347568000,"timestamp_ms":1786347568000,"timestamp_seconds":1786347568,"priority":1,"record_length":96,"hex_timestamp":"0000019fea9cbb80"} 
[2026-08-10 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-08-10 13:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 13:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304900352001,"66":25517,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304900352001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:15:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304900352001,"power":25517,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":154252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:15:06] local.INFO: GPS data processed {"connection_id":154252,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:15:06] local.INFO: Acknowledgment sent {"connection_id":154252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:15:37] local.INFO: TCP Data received {"connection_id":154252,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:15:37] local.INFO: Processing buffer {"connection_id":154252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:15:37] local.INFO: Packet analysis {"connection_id":154252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:15:37] local.INFO: Extracted packet for processing {"connection_id":154252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304977408001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786347869000,"timestamp_ms":1786347869000,"timestamp_seconds":1786347869,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa15348"} 
[2026-08-10 13:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 13:15:37] 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-08-10 13: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-08-10 13:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304977408001,"66":25397,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304977408001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:15:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304977408001,"power":25397,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":154252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:15:37] local.INFO: GPS data processed {"connection_id":154252,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:15:37] local.INFO: Acknowledgment sent {"connection_id":154252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:15:59] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:15:59] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:15:59] local.INFO: IMEI packet received {"connection_id":152801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":152801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:16:04] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:16:04] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:16:04] local.INFO: IMEI packet received {"connection_id":152801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":152801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:16:05] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:16:05] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:16:05] local.INFO: Packet analysis {"connection_id":152801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:16:05] local.INFO: Extracted packet for processing {"connection_id":152801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304977408001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786347869000,"timestamp_ms":1786347869000,"timestamp_seconds":1786347869,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa15348"} 
[2026-08-10 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-08-10 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 13:16:05] 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-08-10 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-08-10 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-08-10 13:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304977408001,"66":25397,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304977408001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:16:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:16:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304977408001,"power":25397,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":152801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:16:05] local.INFO: GPS data processed {"connection_id":152801,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:16:05] local.INFO: Acknowledgment sent {"connection_id":152801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:16:36] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:16:36] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:16:36] local.INFO: Packet analysis {"connection_id":152801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:16:36] local.INFO: Extracted packet for processing {"connection_id":152801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304977408001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786347869000,"timestamp_ms":1786347869000,"timestamp_seconds":1786347869,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa15348"} 
[2026-08-10 13:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 13:16:36] 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-08-10 13: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-08-10 13:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304977408001,"66":25397,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304977408001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:16:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304977408001,"power":25397,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":152801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:16:36] local.INFO: GPS data processed {"connection_id":152801,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:16:36] local.INFO: Acknowledgment sent {"connection_id":152801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:17:00] local.INFO: TCP Data received {"connection_id":154253,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:17:00] local.INFO: Processing buffer {"connection_id":154253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:17:00] local.INFO: IMEI packet received {"connection_id":154253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":154253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:17:05] local.INFO: TCP Data received {"connection_id":154253,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:17:05] local.INFO: Processing buffer {"connection_id":154253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:17:05] local.INFO: IMEI packet received {"connection_id":154253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":154253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:17:09] local.INFO: TCP Data received {"connection_id":154253,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:17:09] local.INFO: Processing buffer {"connection_id":154253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:17:09] local.INFO: Packet analysis {"connection_id":154253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:17:09] local.INFO: Extracted packet for processing {"connection_id":154253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304977408001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786347869000,"timestamp_ms":1786347869000,"timestamp_seconds":1786347869,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa15348"} 
[2026-08-10 13:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 13:17:09] 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-08-10 13:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304977408001,"66":25397,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304977408001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:17:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304977408001,"power":25397,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":154253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:17:09] local.INFO: GPS data processed {"connection_id":154253,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:17:09] local.INFO: Acknowledgment sent {"connection_id":154253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:17:43] local.INFO: TCP Data received {"connection_id":154253,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:17:43] local.INFO: Processing buffer {"connection_id":154253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:17:43] local.INFO: Packet analysis {"connection_id":154253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:17:43] local.INFO: Extracted packet for processing {"connection_id":154253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304977408001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786347869000,"timestamp_ms":1786347869000,"timestamp_seconds":1786347869,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa15348"} 
[2026-08-10 13:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 13:17:43] 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-08-10 13:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":154253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":154253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":154253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304977408001,"66":25397,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304977408001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:17:43] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304977408001,"power":25397,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":154253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:17:43] local.INFO: GPS data processed {"connection_id":154253,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:17:43] local.INFO: Acknowledgment sent {"connection_id":154253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:17:59] local.INFO: TCP Data received {"connection_id":152802,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:17:59] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:17:59] local.INFO: IMEI packet received {"connection_id":152802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":152802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:18:04] local.INFO: TCP Data received {"connection_id":152802,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:18:04] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:18:04] local.INFO: IMEI packet received {"connection_id":152802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":152802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:18:05] local.INFO: TCP Data received {"connection_id":152802,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:18:05] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:18:05] local.INFO: Packet analysis {"connection_id":152802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:18:05] local.INFO: Extracted packet for processing {"connection_id":152802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304977408001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786347869000,"timestamp_ms":1786347869000,"timestamp_seconds":1786347869,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa15348"} 
[2026-08-10 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-08-10 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 13:18:05] 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-08-10 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-08-10 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-08-10 13:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304977408001,"66":25397,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304977408001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:18:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304977408001,"power":25397,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":152802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:18:05] local.INFO: GPS data processed {"connection_id":152802,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:18:05] local.INFO: Acknowledgment sent {"connection_id":152802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:18:36] local.INFO: TCP Data received {"connection_id":152802,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:18:36] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:18:36] local.INFO: Packet analysis {"connection_id":152802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:18:36] local.INFO: Extracted packet for processing {"connection_id":152802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304977408001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786347869000,"timestamp_ms":1786347869000,"timestamp_seconds":1786347869,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa15348"} 
[2026-08-10 13:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 13:18:36] 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-08-10 13:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304977408001,"66":25397,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304977408001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:18:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304977408001,"power":25397,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":152802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:18:36] local.INFO: GPS data processed {"connection_id":152802,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:18:36] local.INFO: Acknowledgment sent {"connection_id":152802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:18:47] local.INFO: TCP Data received {"connection_id":154254,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:18:47] local.INFO: Processing buffer {"connection_id":154254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:18:47] local.INFO: IMEI packet received {"connection_id":154254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":154254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:18:48] local.INFO: TCP Data received {"connection_id":154254,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa1fb40012d1823800721b798005100cb26..."} 
[2026-08-10 13:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa1fb40012d1823800721b798005100cb26..."} 
[2026-08-10 13:18:48] local.INFO: Processing buffer {"connection_id":154254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa1fb40012d1823800721b798005100cb26..."} 
[2026-08-10 13:18:48] local.INFO: Packet analysis {"connection_id":154254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:18:48] local.INFO: Extracted packet for processing {"connection_id":154254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:18:48] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650200,"longitude_deg":75.6556672,"latitude_deg":11.96502,"altitude":81,"angle":203,"satellites":38,"speed":8,"hex_longitude":"2d182380","hex_latitude":"0721b798","is_valid_coordinates":true} 
[2026-08-10 13:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305065216001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361000246738944,"note":"Value kept but may cause issues"} 
[2026-08-10 13:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446532096,"note":"Value kept but may cause issues"} 
[2026-08-10 13:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786347912000,"timestamp_ms":1786347912000,"timestamp_seconds":1786347912,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa1fb40"} 
[2026-08-10 13:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:18: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-08-10 13:18: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-08-10 13:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305065216001,"66":13276,"105":206,"83":41984,"24":8,"16":11361000246738944,"45":1739585755446532096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305065216001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:18:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:18:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361000246738944,"km_value":11361000246738.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446532096,"description":"Unknown IO ID 45"} 
[2026-08-10 13:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305065216001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739585755446532096}} 
[2026-08-10 13:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":154254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:18:48] local.INFO: GPS data processed {"connection_id":154254,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:18:48] local.INFO: Acknowledgment sent {"connection_id":154254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:18:59] local.INFO: TCP Data received {"connection_id":154255,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:18:59] local.INFO: Processing buffer {"connection_id":154255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:18:59] local.INFO: IMEI packet received {"connection_id":154255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":154255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:19:04] local.INFO: TCP Data received {"connection_id":154255,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:19:04] local.INFO: Processing buffer {"connection_id":154255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:19:04] local.INFO: IMEI packet received {"connection_id":154255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":154255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:19:05] local.INFO: TCP Data received {"connection_id":154255,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:19:05] local.INFO: Processing buffer {"connection_id":154255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:19:05] local.INFO: Packet analysis {"connection_id":154255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:19:05] local.INFO: Extracted packet for processing {"connection_id":154255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304977408001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786347869000,"timestamp_ms":1786347869000,"timestamp_seconds":1786347869,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa15348"} 
[2026-08-10 13:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 13:19:05] 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-08-10 13:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304977408001,"66":25397,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304977408001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:19:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304977408001,"power":25397,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":154255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:19:05] local.INFO: GPS data processed {"connection_id":154255,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:19:05] local.INFO: Acknowledgment sent {"connection_id":154255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:19:19] local.INFO: TCP Data received {"connection_id":154254,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa1ff28012d1823800721b6d0005100bf26..."} 
[2026-08-10 13:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa1ff28012d1823800721b6d0005100bf26..."} 
[2026-08-10 13:19:19] local.INFO: Processing buffer {"connection_id":154254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa1ff28012d1823800721b6d0005100bf26..."} 
[2026-08-10 13:19:19] local.INFO: Packet analysis {"connection_id":154254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:19:19] local.INFO: Extracted packet for processing {"connection_id":154254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650000,"longitude_deg":75.6556672,"latitude_deg":11.965,"altitude":81,"angle":191,"satellites":38,"speed":7,"hex_longitude":"2d182380","hex_latitude":"0721b6d0","is_valid_coordinates":true} 
[2026-08-10 13:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305065472001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361008836673536,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213949952,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786347913000,"timestamp_ms":1786347913000,"timestamp_seconds":1786347913,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa1ff28"} 
[2026-08-10 13:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 13:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305065472001,"66":13276,"105":206,"83":41984,"24":7,"16":11361008836673536,"45":1739374649213949952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305065472001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:19:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361008836673536,"km_value":11361008836673.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213949952,"description":"Unknown IO ID 45"} 
[2026-08-10 13:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305065472001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739374649213949952}} 
[2026-08-10 13:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":154254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:19:19] local.INFO: GPS data processed {"connection_id":154254,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:19:19] local.INFO: Acknowledgment sent {"connection_id":154254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:19:36] local.INFO: TCP Data received {"connection_id":154255,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:19:36] local.INFO: Processing buffer {"connection_id":154255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa15348012d342a4006abc280001f010222..."} 
[2026-08-10 13:19:36] local.INFO: Packet analysis {"connection_id":154255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:19:36] local.INFO: Extracted packet for processing {"connection_id":154255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa1"} 
[2026-08-10 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":31,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457304977408001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786347869000,"timestamp_ms":1786347869000,"timestamp_seconds":1786347869,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa15348"} 
[2026-08-10 13:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 13:19:36] 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-08-10 13:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457304977408001,"66":25397,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457304977408001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:19:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457304977408001,"power":25397,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":154255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:19:36] local.INFO: GPS data processed {"connection_id":154255,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:19:36] local.INFO: Acknowledgment sent {"connection_id":154255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:19:44] local.INFO: TCP Data received {"connection_id":152803,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:19:44] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:19:44] local.INFO: IMEI packet received {"connection_id":152803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":152803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:19:47] local.INFO: TCP Data received {"connection_id":152803,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:19:47] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:19:47] local.INFO: IMEI packet received {"connection_id":152803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":152803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:19:52] local.INFO: TCP Data received {"connection_id":152803,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:19:52] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:19:52] local.INFO: IMEI packet received {"connection_id":152803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":152803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:19:53] local.INFO: TCP Data received {"connection_id":152803,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa206f8012d1823000721b548005100d126..."} 
[2026-08-10 13:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa206f8012d1823000721b548005100d126..."} 
[2026-08-10 13:19:53] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa206f8012d1823000721b548005100d126..."} 
[2026-08-10 13:19:53] local.INFO: Packet analysis {"connection_id":152803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa2"} 
[2026-08-10 13:19:53] local.INFO: Extracted packet for processing {"connection_id":152803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa2"} 
[2026-08-10 13:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":81,"angle":209,"satellites":38,"speed":7,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-10 13:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305065728001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361030311510016,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213898752,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786347915000,"timestamp_ms":1786347915000,"timestamp_seconds":1786347915,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa206f8"} 
[2026-08-10 13:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 13:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305065728001,"66":13287,"105":206,"83":41984,"24":7,"16":11361030311510016,"45":1739374649213898752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305065728001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:19:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:19:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361030311510016,"km_value":11361030311510.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213898752,"description":"Unknown IO ID 45"} 
[2026-08-10 13:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305065728001,"power":13287,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739374649213898752}} 
[2026-08-10 13:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":152803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:19:53] local.INFO: GPS data processed {"connection_id":152803,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:19:53] local.INFO: Acknowledgment sent {"connection_id":152803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:19:58] local.INFO: TCP Data received {"connection_id":152803,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa25900012d1821c00721b3c0005000d626..."} 
[2026-08-10 13:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa25900012d1821c00721b3c0005000d626..."} 
[2026-08-10 13:19:58] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa25900012d1821c00721b3c0005000d626..."} 
[2026-08-10 13:19:58] local.INFO: Packet analysis {"connection_id":152803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa2"} 
[2026-08-10 13:19:58] local.INFO: Extracted packet for processing {"connection_id":152803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa2"} 
[2026-08-10 13:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649216,"longitude_deg":75.6556224,"latitude_deg":11.9649216,"altitude":80,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-08-10 13:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305066240001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361056081313792,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-10 13:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786347936000,"timestamp_ms":1786347936000,"timestamp_seconds":1786347936,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa25900"} 
[2026-08-10 13:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-08-10 13:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305066240001,"66":13254,"105":206,"83":41984,"24":0,"16":11361056081313792,"45":1739233911725443072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305066240001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:19:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361056081313792,"km_value":11361056081313.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-10 13:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305066240001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-10 13:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":152803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:19:58] local.INFO: GPS data processed {"connection_id":152803,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:19:58] local.INFO: Acknowledgment sent {"connection_id":152803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:20:04] local.INFO: TCP Data received {"connection_id":151875,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:20:04] local.INFO: Processing buffer {"connection_id":151875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:20:04] local.INFO: IMEI packet received {"connection_id":151875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":151875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:20:08] local.INFO: TCP Data received {"connection_id":151875,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:20:08] local.INFO: Processing buffer {"connection_id":151875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:20:08] local.INFO: IMEI packet received {"connection_id":151875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":151875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:20:09] local.INFO: TCP Data received {"connection_id":151875,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:20:09] local.INFO: Processing buffer {"connection_id":151875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:20:09] local.INFO: Packet analysis {"connection_id":151875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:20:09] local.INFO: Extracted packet for processing {"connection_id":151875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 13:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:20:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":151875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:20:09] local.INFO: GPS data processed {"connection_id":151875,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:20:09] local.INFO: Acknowledgment sent {"connection_id":151875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:20:10] local.INFO: TCP Data received {"connection_id":151875,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:20:10] local.INFO: Processing buffer {"connection_id":151875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:20:10] local.INFO: Packet analysis {"connection_id":151875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:20:10] local.INFO: Extracted packet for processing {"connection_id":151875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 13:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:20: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-08-10 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:20: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-08-10 13: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-08-10 13:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:20:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":151875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:20:10] local.INFO: GPS data processed {"connection_id":151875,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:20:10] local.INFO: Acknowledgment sent {"connection_id":151875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:20:41] local.INFO: TCP Data received {"connection_id":151875,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:20:41] local.INFO: Processing buffer {"connection_id":151875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:20:41] local.INFO: Packet analysis {"connection_id":151875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:20:41] local.INFO: Extracted packet for processing {"connection_id":151875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:20:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 13:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:20:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:20:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":151875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:20:41] local.INFO: GPS data processed {"connection_id":151875,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:20:41] local.INFO: Acknowledgment sent {"connection_id":151875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:20:42] local.INFO: TCP Data received {"connection_id":154256,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:20:42] local.INFO: Processing buffer {"connection_id":154256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:20:42] local.INFO: IMEI packet received {"connection_id":154256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":154256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:20:47] local.INFO: TCP Data received {"connection_id":154256,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:20:47] local.INFO: Processing buffer {"connection_id":154256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:20:47] local.INFO: IMEI packet received {"connection_id":154256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":154256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:20:48] local.INFO: TCP Data received {"connection_id":154256,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5df58012d1820400721b200004c00d328..."} 
[2026-08-10 13:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5df58012d1820400721b200004c00d328..."} 
[2026-08-10 13:20:48] local.INFO: Processing buffer {"connection_id":154256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5df58012d1820400721b200004c00d328..."} 
[2026-08-10 13:20:48] local.INFO: Packet analysis {"connection_id":154256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:20:48] local.INFO: Extracted packet for processing {"connection_id":154256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:20:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648768,"longitude_deg":75.655584,"latitude_deg":11.9648768,"altitude":76,"angle":211,"satellites":40,"speed":2,"hex_longitude":"2d182040","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305125376001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361081851117568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004454400,"note":"Value kept but may cause issues"} 
[2026-08-10 13:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786348167000,"timestamp_ms":1786348167000,"timestamp_seconds":1786348167,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5df58"} 
[2026-08-10 13:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 13:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305125376001,"66":12950,"105":206,"83":41984,"24":2,"16":11361081851117568,"45":1738882068004454400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305125376001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:20:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:20:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361081851117568,"km_value":11361081851117.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004454400,"description":"Unknown IO ID 45"} 
[2026-08-10 13:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305125376001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738882068004454400}} 
[2026-08-10 13:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":154256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:20:48] local.INFO: GPS data processed {"connection_id":154256,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:20:48] local.INFO: Acknowledgment sent {"connection_id":154256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:21:01] local.INFO: TCP Data received {"connection_id":154257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:21:01] local.INFO: Processing buffer {"connection_id":154257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:21:01] local.INFO: IMEI packet received {"connection_id":154257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":154257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:21:04] local.INFO: TCP Data received {"connection_id":154257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:21:04] local.INFO: Processing buffer {"connection_id":154257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:21:04] local.INFO: IMEI packet received {"connection_id":154257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":154257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:21:05] local.INFO: TCP Data received {"connection_id":154257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:21:05] local.INFO: Processing buffer {"connection_id":154257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:21:05] local.INFO: Packet analysis {"connection_id":154257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:21:05] local.INFO: Extracted packet for processing {"connection_id":154257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 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-08-10 13:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:21: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-08-10 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-08-10 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-08-10 13:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:21:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":154257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:21:05] local.INFO: GPS data processed {"connection_id":154257,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:21:05] local.INFO: Acknowledgment sent {"connection_id":154257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:21:09] local.INFO: TCP Data received {"connection_id":154257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:21:09] local.INFO: Processing buffer {"connection_id":154257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:21:09] local.INFO: Packet analysis {"connection_id":154257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:21:09] local.INFO: Extracted packet for processing {"connection_id":154257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 13:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:21:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":154257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:21:09] local.INFO: GPS data processed {"connection_id":154257,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:21:09] local.INFO: Acknowledgment sent {"connection_id":154257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:21:19] local.INFO: TCP Data received {"connection_id":154256,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa63160012d1820000721b1e8004c00d328..."} 
[2026-08-10 13:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa63160012d1820000721b1e8004c00d328..."} 
[2026-08-10 13:21:19] local.INFO: Processing buffer {"connection_id":154256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa63160012d1820000721b1e8004c00d328..."} 
[2026-08-10 13:21:19] local.INFO: Packet analysis {"connection_id":154256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa6"} 
[2026-08-10 13:21:19] local.INFO: Extracted packet for processing {"connection_id":154256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa6"} 
[2026-08-10 13:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648744,"longitude_deg":75.6555776,"latitude_deg":11.9648744,"altitude":76,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1e8","is_valid_coordinates":true} 
[2026-08-10 13:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305130752001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361086146084864,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539273728,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786348188000,"timestamp_ms":1786348188000,"timestamp_seconds":1786348188,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa63160"} 
[2026-08-10 13:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 13:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305130752001,"66":12939,"105":206,"83":41984,"24":0,"16":11361086146084864,"45":1738459855539273728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305130752001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:21:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:21:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361086146084864,"km_value":11361086146084.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539273728,"description":"Unknown IO ID 45"} 
[2026-08-10 13:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305130752001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539273728}} 
[2026-08-10 13:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":154256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:21:19] local.INFO: GPS data processed {"connection_id":154256,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:21:19] local.INFO: Acknowledgment sent {"connection_id":154256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:21:41] local.INFO: TCP Data received {"connection_id":154257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:21:41] local.INFO: Processing buffer {"connection_id":154257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:21:41] local.INFO: Packet analysis {"connection_id":154257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:21:41] local.INFO: Extracted packet for processing {"connection_id":154257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 13:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:21:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:21:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":154257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:21:41] local.INFO: GPS data processed {"connection_id":154257,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:21:41] local.INFO: Acknowledgment sent {"connection_id":154257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:21:42] local.INFO: TCP Data received {"connection_id":151876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:21:42] local.INFO: Processing buffer {"connection_id":151876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:21:42] local.INFO: IMEI packet received {"connection_id":151876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":151876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:21:47] local.INFO: TCP Data received {"connection_id":151876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:21:47] local.INFO: Processing buffer {"connection_id":151876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:21:47] local.INFO: IMEI packet received {"connection_id":151876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":151876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:21:48] local.INFO: TCP Data received {"connection_id":151876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa68368012d1820000721b1e8004c00d327..."} 
[2026-08-10 13:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa68368012d1820000721b1e8004c00d327..."} 
[2026-08-10 13:21:48] local.INFO: Processing buffer {"connection_id":151876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa68368012d1820000721b1e8004c00d327..."} 
[2026-08-10 13:21:48] local.INFO: Packet analysis {"connection_id":151876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa6"} 
[2026-08-10 13:21:48] local.INFO: Extracted packet for processing {"connection_id":151876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa6"} 
[2026-08-10 13:21:48] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648744,"longitude_deg":75.6555776,"latitude_deg":11.9648744,"altitude":76,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1e8","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305136128001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361086146084864,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795089920,"note":"Value kept but may cause issues"} 
[2026-08-10 13:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786348209000,"timestamp_ms":1786348209000,"timestamp_seconds":1786348209,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa68368"} 
[2026-08-10 13:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 13:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305136128001,"66":12885,"105":206,"83":41984,"24":0,"16":11361086146084864,"45":1738389486795089920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305136128001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:21:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:21:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361086146084864,"km_value":11361086146084.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795089920,"description":"Unknown IO ID 45"} 
[2026-08-10 13:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305136128001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795089920}} 
[2026-08-10 13:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":151876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:21:48] local.INFO: GPS data processed {"connection_id":151876,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:21:48] local.INFO: Acknowledgment sent {"connection_id":151876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:22:01] local.INFO: TCP Data received {"connection_id":154258,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:22:01] local.INFO: Processing buffer {"connection_id":154258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:22:01] local.INFO: IMEI packet received {"connection_id":154258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":154258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:22:04] local.INFO: TCP Data received {"connection_id":154258,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:22:04] local.INFO: Processing buffer {"connection_id":154258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:22:04] local.INFO: IMEI packet received {"connection_id":154258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":154258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:22:05] local.INFO: TCP Data received {"connection_id":154258,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:22:05] local.INFO: Processing buffer {"connection_id":154258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:22:05] local.INFO: Packet analysis {"connection_id":154258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:22:05] local.INFO: Extracted packet for processing {"connection_id":154258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 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-08-10 13:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:22: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-08-10 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-08-10 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-08-10 13:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:22:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":154258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:22:05] local.INFO: GPS data processed {"connection_id":154258,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:22:05] local.INFO: Acknowledgment sent {"connection_id":154258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:22:20] local.INFO: TCP Data received {"connection_id":151876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa6d570012d1820000721b1e8004c00d327..."} 
[2026-08-10 13:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa6d570012d1820000721b1e8004c00d327..."} 
[2026-08-10 13:22:20] local.INFO: Processing buffer {"connection_id":151876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa6d570012d1820000721b1e8004c00d327..."} 
[2026-08-10 13:22:20] local.INFO: Packet analysis {"connection_id":151876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa6"} 
[2026-08-10 13:22:20] local.INFO: Extracted packet for processing {"connection_id":151876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa6"} 
[2026-08-10 13:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648744,"longitude_deg":75.6555776,"latitude_deg":11.9648744,"altitude":76,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1e8","is_valid_coordinates":true} 
[2026-08-10 13:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305141504001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361086146084864,"note":"Value kept but may cause issues"} 
[2026-08-10 13:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795089920,"note":"Value kept but may cause issues"} 
[2026-08-10 13:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786348230000,"timestamp_ms":1786348230000,"timestamp_seconds":1786348230,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa6d570"} 
[2026-08-10 13:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 13:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305141504001,"66":12863,"105":206,"83":41984,"24":0,"16":11361086146084864,"45":1738389486795089920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305141504001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:22:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361086146084864,"km_value":11361086146084.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795089920,"description":"Unknown IO ID 45"} 
[2026-08-10 13:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305141504001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795089920}} 
[2026-08-10 13:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":151876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:22:20] local.INFO: GPS data processed {"connection_id":151876,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:22:20] local.INFO: Acknowledgment sent {"connection_id":151876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:22:36] local.INFO: TCP Data received {"connection_id":154258,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:22:36] local.INFO: Processing buffer {"connection_id":154258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:22:36] local.INFO: Packet analysis {"connection_id":154258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:22:36] local.INFO: Extracted packet for processing {"connection_id":154258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 13:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:22:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":154258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:22:36] local.INFO: GPS data processed {"connection_id":154258,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:22:36] local.INFO: Acknowledgment sent {"connection_id":154258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:22:43] local.INFO: TCP Data received {"connection_id":152804,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:22:43] local.INFO: Processing buffer {"connection_id":152804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:22:43] local.INFO: IMEI packet received {"connection_id":152804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":152804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:22:47] local.INFO: TCP Data received {"connection_id":152804,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:22:47] local.INFO: Processing buffer {"connection_id":152804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:22:47] local.INFO: IMEI packet received {"connection_id":152804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":152804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:22:48] local.INFO: TCP Data received {"connection_id":152804,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa72778012d1820000721b1e8004c00d32a..."} 
[2026-08-10 13:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa72778012d1820000721b1e8004c00d32a..."} 
[2026-08-10 13:22:48] local.INFO: Processing buffer {"connection_id":152804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa72778012d1820000721b1e8004c00d32a..."} 
[2026-08-10 13:22:48] local.INFO: Packet analysis {"connection_id":152804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa7"} 
[2026-08-10 13:22:48] local.INFO: Extracted packet for processing {"connection_id":152804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa7"} 
[2026-08-10 13:22:48] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648744,"longitude_deg":75.6555776,"latitude_deg":11.9648744,"altitude":76,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1e8","is_valid_coordinates":true} 
[2026-08-10 13:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305146880001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361086146084864,"note":"Value kept but may cause issues"} 
[2026-08-10 13:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795089920,"note":"Value kept but may cause issues"} 
[2026-08-10 13:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786348251000,"timestamp_ms":1786348251000,"timestamp_seconds":1786348251,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa72778"} 
[2026-08-10 13:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 13:22: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-08-10 13:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305146880001,"66":12841,"105":206,"83":41984,"24":0,"16":11361086146084864,"45":1738389486795089920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305146880001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:22:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:22:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361086146084864,"km_value":11361086146084.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795089920,"description":"Unknown IO ID 45"} 
[2026-08-10 13:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305146880001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795089920}} 
[2026-08-10 13:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":152804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:22:48] local.INFO: GPS data processed {"connection_id":152804,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:22:48] local.INFO: Acknowledgment sent {"connection_id":152804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:22:59] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:22:59] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:22:59] local.INFO: IMEI packet received {"connection_id":152805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":152805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:23:04] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:23:04] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:23:04] local.INFO: IMEI packet received {"connection_id":152805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":152805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:23:05] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:23:05] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:23:05] local.INFO: Packet analysis {"connection_id":152805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:23:05] local.INFO: Extracted packet for processing {"connection_id":152805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 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-08-10 13: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-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:23: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-08-10 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-08-10 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-08-10 13:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:23:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":152805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:23:05] local.INFO: GPS data processed {"connection_id":152805,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:23:05] local.INFO: Acknowledgment sent {"connection_id":152805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:23:20] local.INFO: TCP Data received {"connection_id":152804,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa77980012d181f800721b010004d00d729..."} 
[2026-08-10 13:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa77980012d181f800721b010004d00d729..."} 
[2026-08-10 13:23:20] local.INFO: Processing buffer {"connection_id":152804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa77980012d181f800721b010004d00d729..."} 
[2026-08-10 13:23:20] local.INFO: Packet analysis {"connection_id":152804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa7"} 
[2026-08-10 13:23:20] local.INFO: Extracted packet for processing {"connection_id":152804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa7"} 
[2026-08-10 13:23:20] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648272,"longitude_deg":75.6555648,"latitude_deg":11.9648272,"altitude":77,"angle":215,"satellites":41,"speed":1,"hex_longitude":"2d181f80","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-08-10 13:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305152256001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361111915888640,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795089920,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786348272000,"timestamp_ms":1786348272000,"timestamp_seconds":1786348272,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa77980"} 
[2026-08-10 13:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 13:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305152256001,"66":12809,"105":206,"83":41984,"24":1,"16":11361111915888640,"45":1738389486795089920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305152256001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:23:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:23:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361111915888640,"km_value":11361111915888.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795089920,"description":"Unknown IO ID 45"} 
[2026-08-10 13:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305152256001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738389486795089920}} 
[2026-08-10 13:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":152804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:23:20] local.INFO: GPS data processed {"connection_id":152804,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:23:20] local.INFO: Acknowledgment sent {"connection_id":152804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:23:37] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:23:37] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:23:37] local.INFO: Packet analysis {"connection_id":152805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:23:37] local.INFO: Extracted packet for processing {"connection_id":152805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 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-08-10 13:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:23:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":152805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:23:37] local.INFO: GPS data processed {"connection_id":152805,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:23:37] local.INFO: Acknowledgment sent {"connection_id":152805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:23:42] local.INFO: TCP Data received {"connection_id":154259,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:23:42] local.INFO: Processing buffer {"connection_id":154259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:23:42] local.INFO: IMEI packet received {"connection_id":154259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":154259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:23:47] local.INFO: TCP Data received {"connection_id":154259,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:23:47] local.INFO: Processing buffer {"connection_id":154259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:23:47] local.INFO: IMEI packet received {"connection_id":154259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":154259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:23:51] local.INFO: TCP Data received {"connection_id":154259,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa7cb88012d181f400721afe0004d00d727..."} 
[2026-08-10 13:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa7cb88012d181f400721afe0004d00d727..."} 
[2026-08-10 13:23:51] local.INFO: Processing buffer {"connection_id":154259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa7cb88012d181f400721afe0004d00d727..."} 
[2026-08-10 13:23:51] local.INFO: Packet analysis {"connection_id":154259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa7"} 
[2026-08-10 13:23:51] local.INFO: Extracted packet for processing {"connection_id":154259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa7"} 
[2026-08-10 13:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-08-10 13:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305157632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361116210855936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306613760,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786348293000,"timestamp_ms":1786348293000,"timestamp_seconds":1786348293,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa7cb88"} 
[2026-08-10 13:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:23: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-08-10 13:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3936718160,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-6540554863936790080,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2984771660,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879111108473261,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428495731657594408,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-10 13:23:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,92,159,39,45,177,76,42,10,66,213,131,1,240,85,227,234,33,4,113,205,223,32,40,239,50,2,7,80,164,210],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 13:23:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548671312014147584,"timestamp_seconds":5548671312014148.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 13:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305157632001,"66":12841,"105":206,"83":41984,"24":0,"16":11361116210855936,"45":1738248749306613760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305157632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:23:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361116210855936,"km_value":11361116210855.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306613760,"description":"Unknown IO ID 45"} 
[2026-08-10 13:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305157632001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306613760}} 
[2026-08-10 13:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":154259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:23:52] local.INFO: GPS data processed {"connection_id":154259,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:23:52] local.INFO: Acknowledgment sent {"connection_id":154259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:24:04] local.INFO: TCP Data received {"connection_id":151877,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:24:04] local.INFO: Processing buffer {"connection_id":151877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:24:04] local.INFO: IMEI packet received {"connection_id":151877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":151877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:24:09] local.INFO: TCP Data received {"connection_id":151877,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:24:09] local.INFO: Processing buffer {"connection_id":151877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:24:09] local.INFO: IMEI packet received {"connection_id":151877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":151877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:24:10] local.INFO: TCP Data received {"connection_id":151877,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:24:10] local.INFO: Processing buffer {"connection_id":151877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:24:10] local.INFO: Packet analysis {"connection_id":151877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:24:10] local.INFO: Extracted packet for processing {"connection_id":151877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 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-08-10 13: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-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:24: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-08-10 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-08-10 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-08-10 13:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:24:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":151877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:24:10] local.INFO: GPS data processed {"connection_id":151877,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:24:10] local.INFO: Acknowledgment sent {"connection_id":151877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:24:14] local.INFO: TCP Data received {"connection_id":151877,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:24:14] local.INFO: Processing buffer {"connection_id":151877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:24:14] local.INFO: Packet analysis {"connection_id":151877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:24:14] local.INFO: Extracted packet for processing {"connection_id":151877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 13:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:24:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":151877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:24:14] local.INFO: GPS data processed {"connection_id":151877,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:24:14] local.INFO: Acknowledgment sent {"connection_id":151877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:24:23] local.INFO: TCP Data received {"connection_id":154259,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa81d90012d181f400721afe0004d00d726..."} 
[2026-08-10 13:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa81d90012d181f400721afe0004d00d726..."} 
[2026-08-10 13:24:23] local.INFO: Processing buffer {"connection_id":154259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa81d90012d181f400721afe0004d00d726..."} 
[2026-08-10 13:24:23] local.INFO: Packet analysis {"connection_id":154259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa8"} 
[2026-08-10 13:24:23] local.INFO: Extracted packet for processing {"connection_id":154259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa8"} 
[2026-08-10 13:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":77,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-08-10 13:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305163008001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361116210855936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786348314000,"timestamp_ms":1786348314000,"timestamp_seconds":1786348314,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa81d90"} 
[2026-08-10 13:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 13:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305163008001,"66":12809,"107":206,"83":41984,"24":0,"16":11361116210855936,"45":1738178380562423808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 13:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305163008001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:24:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 13:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361116210855936,"km_value":11361116210855.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-08-10 13:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305163008001,"power":12809,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-08-10 13:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":154259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:24:23] local.INFO: GPS data processed {"connection_id":154259,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:24:23] local.INFO: Acknowledgment sent {"connection_id":154259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:24:42] local.INFO: TCP Data received {"connection_id":151878,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:24:42] local.INFO: Processing buffer {"connection_id":151878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:24:42] local.INFO: IMEI packet received {"connection_id":151878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":151878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:24:47] local.INFO: TCP Data received {"connection_id":151878,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:24:47] local.INFO: Processing buffer {"connection_id":151878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:24:47] local.INFO: IMEI packet received {"connection_id":151878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":151878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:24:48] local.INFO: TCP Data received {"connection_id":151878,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa86f98012d181f400721afe0004d00d727..."} 
[2026-08-10 13:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa86f98012d181f400721afe0004d00d727..."} 
[2026-08-10 13:24:48] local.INFO: Processing buffer {"connection_id":151878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa86f98012d181f400721afe0004d00d727..."} 
[2026-08-10 13:24:48] local.INFO: Packet analysis {"connection_id":151878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa8"} 
[2026-08-10 13:24:48] local.INFO: Extracted packet for processing {"connection_id":151878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa8"} 
[2026-08-10 13:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-08-10 13:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305168384001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361116210855936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786348335000,"timestamp_ms":1786348335000,"timestamp_seconds":1786348335,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa86f98"} 
[2026-08-10 13:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3936760160,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":34817,"corrected_to":0} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-6494375375570198464,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2984771660,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428003150381241128,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-10 13:24:48] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,107,83,24,241,157,16,92,159,203,45,64,175,77,39,10,66,105,121,128,176,41,1,240,227,234,33,4,113,205,131,32,232,239,50,2,40,7,76,164,217],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":203,"original":34817,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 13:24:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548671299129180160,"timestamp_seconds":5548671299129180.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 13:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305168384001,"66":12809,"107":206,"83":41984,"24":0,"16":11361116210855936,"45":1738178380562423808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 13:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305168384001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:24:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 13:24:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361116210855936,"km_value":11361116210855.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-08-10 13:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305168384001,"power":12809,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-08-10 13:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":151878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:24:48] local.INFO: GPS data processed {"connection_id":151878,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:24:48] local.INFO: Acknowledgment sent {"connection_id":151878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:24:59] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:24:59] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:24:59] local.INFO: IMEI packet received {"connection_id":152806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":152806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:25:04] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:25:04] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:25:04] local.INFO: IMEI packet received {"connection_id":152806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":152806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:25:05] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:25:05] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa5eb10012d342a4006abc280000b01021f..."} 
[2026-08-10 13:25:05] local.INFO: Packet analysis {"connection_id":152806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:25:05] local.INFO: Extracted packet for processing {"connection_id":152806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa5"} 
[2026-08-10 13:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305054464001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786348170000,"timestamp_ms":1786348170000,"timestamp_seconds":1786348170,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa5eb10"} 
[2026-08-10 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-08-10 13:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 13:25: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-08-10 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-08-10 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-08-10 13:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305054464001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305054464001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:25:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305054464001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":152806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:25:05] local.INFO: GPS data processed {"connection_id":152806,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:25:05] local.INFO: Acknowledgment sent {"connection_id":152806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:25:19] local.INFO: TCP Data received {"connection_id":151878,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa8c1a0012d181f400721afe0004d00d725..."} 
[2026-08-10 13:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa8c1a0012d181f400721afe0004d00d725..."} 
[2026-08-10 13:25:19] local.INFO: Processing buffer {"connection_id":151878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa8c1a0012d181f400721afe0004d00d725..."} 
[2026-08-10 13:25:19] local.INFO: Packet analysis {"connection_id":151878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa8"} 
[2026-08-10 13:25:19] local.INFO: Extracted packet for processing {"connection_id":151878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa8"} 
[2026-08-10 13:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":77,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305173760001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361116210855936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786348356000,"timestamp_ms":1786348356000,"timestamp_seconds":1786348356,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa8c1a0"} 
[2026-08-10 13:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:25: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-08-10 13: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3936781160,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":34817,"corrected_to":0} 
[2026-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-6471285631386902528,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2984771660,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427976762102174504,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:19] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,107,83,24,241,157,16,92,159,29,45,64,175,77,38,10,66,203,39,105,121,128,1,240,9,227,234,33,4,113,205,213,32,232,239,50,2,40,7,76,164,217],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":203,"original":34817,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 13:25:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548671303424147456,"timestamp_seconds":5548671303424147.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 13:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305173760001,"66":12798,"107":206,"83":41984,"24":0,"16":11361116210855936,"45":1738178380562423808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 13:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305173760001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:25:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 13:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361116210855936,"km_value":11361116210855.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-08-10 13:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305173760001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-08-10 13:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":151878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:25:19] local.INFO: GPS data processed {"connection_id":151878,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:25:19] local.INFO: Acknowledgment sent {"connection_id":151878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:25:36] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:25:36] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:25:36] local.INFO: Packet analysis {"connection_id":152806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:25:36] local.INFO: Extracted packet for processing {"connection_id":152806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305131520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786348471000,"timestamp_ms":1786348471000,"timestamp_seconds":1786348471,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa82d8"} 
[2026-08-10 13:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305131520001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305131520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:25:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305131520001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":152806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:25:36] local.INFO: GPS data processed {"connection_id":152806,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:25:36] local.INFO: Acknowledgment sent {"connection_id":152806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:25:47] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:25:47] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:25:47] local.INFO: IMEI packet received {"connection_id":152807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":152807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:25:52] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:25:52] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:25:52] local.INFO: IMEI packet received {"connection_id":152807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":152807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:25:53] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa913a8012d181f400721afe0004d00d725..."} 
[2026-08-10 13:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa913a8012d181f400721afe0004d00d725..."} 
[2026-08-10 13:25:53] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa913a8012d181f400721afe0004d00d725..."} 
[2026-08-10 13:25:53] local.INFO: Packet analysis {"connection_id":152807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa9"} 
[2026-08-10 13:25:53] local.INFO: Extracted packet for processing {"connection_id":152807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa9"} 
[2026-08-10 13:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":77,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-08-10 13:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305179136001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361116210855936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786348377000,"timestamp_ms":1786348377000,"timestamp_seconds":1786348377,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa913a8"} 
[2026-08-10 13:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 13:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305179136001,"66":12776,"107":206,"83":41984,"24":0,"16":11361116210855936,"45":1738178380562423808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 13:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305179136001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:25:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 13:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361116210855936,"km_value":11361116210855.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-08-10 13:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305179136001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-08-10 13:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":152807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:25:53] local.INFO: GPS data processed {"connection_id":152807,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:25:53] local.INFO: Acknowledgment sent {"connection_id":152807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:25:58] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa965b0012d181f400721afe0004d00d725..."} 
[2026-08-10 13:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa965b0012d181f400721afe0004d00d725..."} 
[2026-08-10 13:25:58] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa965b0012d181f400721afe0004d00d725..."} 
[2026-08-10 13:25:58] local.INFO: Packet analysis {"connection_id":152807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa9"} 
[2026-08-10 13:25:58] local.INFO: Extracted packet for processing {"connection_id":152807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa9"} 
[2026-08-10 13:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":77,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-08-10 13:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305184512001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361116210855936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-08-10 13:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786348398000,"timestamp_ms":1786348398000,"timestamp_seconds":1786348398,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa965b0"} 
[2026-08-10 13:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-10 13:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305184512001,"66":12722,"105":206,"83":41984,"24":0,"16":11361116210855936,"45":1738178380562423808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305184512001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:25:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361116210855936,"km_value":11361116210855.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-08-10 13:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305184512001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-08-10 13:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":152807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:25:58] local.INFO: GPS data processed {"connection_id":152807,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:25:58] local.INFO: Acknowledgment sent {"connection_id":152807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:25:59] local.INFO: TCP Data received {"connection_id":154260,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:25:59] local.INFO: Processing buffer {"connection_id":154260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:25:59] local.INFO: IMEI packet received {"connection_id":154260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":154260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:26:04] local.INFO: TCP Data received {"connection_id":154260,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:26:04] local.INFO: Processing buffer {"connection_id":154260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:26:04] local.INFO: IMEI packet received {"connection_id":154260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":154260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:26:06] local.INFO: TCP Data received {"connection_id":154260,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:26:06] local.INFO: Processing buffer {"connection_id":154260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:26:06] local.INFO: Packet analysis {"connection_id":154260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:26:06] local.INFO: Extracted packet for processing {"connection_id":154260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305131520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786348471000,"timestamp_ms":1786348471000,"timestamp_seconds":1786348471,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa82d8"} 
[2026-08-10 13:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305131520001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305131520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:26:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305131520001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":154260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:26:06] local.INFO: GPS data processed {"connection_id":154260,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:26:06] local.INFO: Acknowledgment sent {"connection_id":154260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:26:37] local.INFO: TCP Data received {"connection_id":154260,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:26:37] local.INFO: Processing buffer {"connection_id":154260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:26:37] local.INFO: Packet analysis {"connection_id":154260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:26:37] local.INFO: Extracted packet for processing {"connection_id":154260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305131520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786348471000,"timestamp_ms":1786348471000,"timestamp_seconds":1786348471,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa82d8"} 
[2026-08-10 13:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305131520001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305131520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:26:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305131520001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":154260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:26:37] local.INFO: GPS data processed {"connection_id":154260,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:26:37] local.INFO: Acknowledgment sent {"connection_id":154260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:26:42] local.INFO: TCP Data received {"connection_id":152808,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:26:42] local.INFO: Processing buffer {"connection_id":152808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:26:42] local.INFO: IMEI packet received {"connection_id":152808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":152808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:26:45] local.INFO: TCP Data received {"connection_id":152808,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:26:45] local.INFO: Processing buffer {"connection_id":152808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:26:45] local.INFO: IMEI packet received {"connection_id":152808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":152808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:26:46] local.INFO: TCP Data received {"connection_id":152808,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaa9b7b8012d181f400721afe0004d00d728..."} 
[2026-08-10 13:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaa9b7b8012d181f400721afe0004d00d728..."} 
[2026-08-10 13:26:46] local.INFO: Processing buffer {"connection_id":152808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaa9b7b8012d181f400721afe0004d00d728..."} 
[2026-08-10 13:26:46] local.INFO: Packet analysis {"connection_id":152808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaa9"} 
[2026-08-10 13:26:46] local.INFO: Extracted packet for processing {"connection_id":152808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaa9"} 
[2026-08-10 13:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-08-10 13:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305189888001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361116210855936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-08-10 13:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786348419000,"timestamp_ms":1786348419000,"timestamp_seconds":1786348419,"priority":1,"record_length":96,"hex_timestamp":"0000019feaa9b7b8"} 
[2026-08-10 13:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 13:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305189888001,"66":12711,"105":206,"83":41984,"24":0,"16":11361116210855936,"45":1738178380562423808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305189888001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:26:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361116210855936,"km_value":11361116210855.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-08-10 13:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305189888001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-08-10 13:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":152808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:26:46] local.INFO: GPS data processed {"connection_id":152808,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:26:46] local.INFO: Acknowledgment sent {"connection_id":152808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:27:04] local.INFO: TCP Data received {"connection_id":154261,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:27:04] local.INFO: Processing buffer {"connection_id":154261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:27:04] local.INFO: IMEI packet received {"connection_id":154261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":154261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:27:09] local.INFO: TCP Data received {"connection_id":154261,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:27:09] local.INFO: Processing buffer {"connection_id":154261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:27:09] local.INFO: IMEI packet received {"connection_id":154261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":154261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:27:14] local.INFO: TCP Data received {"connection_id":154261,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:27:14] local.INFO: Processing buffer {"connection_id":154261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:27:14] local.INFO: IMEI packet received {"connection_id":154261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":154261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:27:15] local.INFO: TCP Data received {"connection_id":154261,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:27:15] local.INFO: Processing buffer {"connection_id":154261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:27:15] local.INFO: Packet analysis {"connection_id":154261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:27:15] local.INFO: Extracted packet for processing {"connection_id":154261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305131520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786348471000,"timestamp_ms":1786348471000,"timestamp_seconds":1786348471,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa82d8"} 
[2026-08-10 13:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305131520001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305131520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:27:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305131520001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":154261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:27:15] local.INFO: GPS data processed {"connection_id":154261,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:27:15] local.INFO: Acknowledgment sent {"connection_id":154261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:27:17] local.INFO: TCP Data received {"connection_id":152808,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa09c0012d181f400721afe0004d00d726..."} 
[2026-08-10 13:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa09c0012d181f400721afe0004d00d726..."} 
[2026-08-10 13:27:17] local.INFO: Processing buffer {"connection_id":152808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa09c0012d181f400721afe0004d00d726..."} 
[2026-08-10 13:27:17] local.INFO: Packet analysis {"connection_id":152808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:27:17] local.INFO: Extracted packet for processing {"connection_id":152808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":77,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-08-10 13:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305195264001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361116210855936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-08-10 13:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786348440000,"timestamp_ms":1786348440000,"timestamp_seconds":1786348440,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa09c0"} 
[2026-08-10 13:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 13:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305195264001,"66":12722,"107":206,"83":41984,"24":0,"16":11361116210855936,"45":1738178380562423808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 13:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305195264001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:27:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 13:27:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361116210855936,"km_value":11361116210855.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-08-10 13:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305195264001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-08-10 13:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":152808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:27:17] local.INFO: GPS data processed {"connection_id":152808,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:27:17] local.INFO: Acknowledgment sent {"connection_id":152808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:27:36] local.INFO: TCP Data received {"connection_id":154261,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:27:36] local.INFO: Processing buffer {"connection_id":154261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:27:36] local.INFO: Packet analysis {"connection_id":154261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:27:36] local.INFO: Extracted packet for processing {"connection_id":154261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305131520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786348471000,"timestamp_ms":1786348471000,"timestamp_seconds":1786348471,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa82d8"} 
[2026-08-10 13:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:27: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-08-10 13:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305131520001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305131520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:27:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305131520001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":154261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:27:36] local.INFO: GPS data processed {"connection_id":154261,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:27:36] local.INFO: Acknowledgment sent {"connection_id":154261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:27:42] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:27:42] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:27:42] local.INFO: IMEI packet received {"connection_id":152809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":152809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:27:47] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:27:47] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:27:47] local.INFO: IMEI packet received {"connection_id":152809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":152809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:27:48] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa5bc8012d181f400721afe0004d00d724..."} 
[2026-08-10 13:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa5bc8012d181f400721afe0004d00d724..."} 
[2026-08-10 13:27:48] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa5bc8012d181f400721afe0004d00d724..."} 
[2026-08-10 13:27:48] local.INFO: Packet analysis {"connection_id":152809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:27:48] local.INFO: Extracted packet for processing {"connection_id":152809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":77,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-08-10 13:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305200640001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361116210855936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-08-10 13:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786348461000,"timestamp_ms":1786348461000,"timestamp_seconds":1786348461,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa5bc8"} 
[2026-08-10 13:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 13:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305200640001,"66":12711,"107":206,"83":41984,"24":0,"16":11361116210855936,"45":1738178380562423808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 13:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305200640001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:27:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 13:27:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361116210855936,"km_value":11361116210855.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-08-10 13:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305200640001,"power":12711,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-08-10 13:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":152809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:27:48] local.INFO: GPS data processed {"connection_id":152809,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:27:48] local.INFO: Acknowledgment sent {"connection_id":152809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:27:59] local.INFO: TCP Data received {"connection_id":151482,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:27:59] local.INFO: Processing buffer {"connection_id":151482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:27:59] local.INFO: IMEI packet received {"connection_id":151482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":151482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:28:04] local.INFO: TCP Data received {"connection_id":151482,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:28:04] local.INFO: Processing buffer {"connection_id":151482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:28:04] local.INFO: IMEI packet received {"connection_id":151482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":151482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:28:05] local.INFO: TCP Data received {"connection_id":151482,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:28:05] local.INFO: Processing buffer {"connection_id":151482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:28:05] local.INFO: Packet analysis {"connection_id":151482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:28:05] local.INFO: Extracted packet for processing {"connection_id":151482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305131520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786348471000,"timestamp_ms":1786348471000,"timestamp_seconds":1786348471,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa82d8"} 
[2026-08-10 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-08-10 13:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:28: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-08-10 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-08-10 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-08-10 13:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305131520001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305131520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:28:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305131520001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":151482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:28:05] local.INFO: GPS data processed {"connection_id":151482,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:28:05] local.INFO: Acknowledgment sent {"connection_id":151482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:28:09] local.INFO: TCP Data received {"connection_id":151482,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:28:09] local.INFO: Processing buffer {"connection_id":151482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:28:09] local.INFO: Packet analysis {"connection_id":151482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:28:09] local.INFO: Extracted packet for processing {"connection_id":151482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305131520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786348471000,"timestamp_ms":1786348471000,"timestamp_seconds":1786348471,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa82d8"} 
[2026-08-10 13:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:28: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-08-10 13:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305131520001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305131520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:28:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305131520001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":151482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:28:09] local.INFO: GPS data processed {"connection_id":151482,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:28:09] local.INFO: Acknowledgment sent {"connection_id":151482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:28:19] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaaadd0012d181f400721afe0004d00d727..."} 
[2026-08-10 13:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaaadd0012d181f400721afe0004d00d727..."} 
[2026-08-10 13:28:19] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaaadd0012d181f400721afe0004d00d727..."} 
[2026-08-10 13:28:19] local.INFO: Packet analysis {"connection_id":152809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:28:19] local.INFO: Extracted packet for processing {"connection_id":152809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:28:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305206016001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361116210855936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786348482000,"timestamp_ms":1786348482000,"timestamp_seconds":1786348482,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaaadd0"} 
[2026-08-10 13:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:28: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-08-10 13: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 13:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305206016001,"66":12711,"107":206,"83":41984,"24":0,"16":11361116210855936,"45":1738178380562423808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 13:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305206016001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:28:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 13:28:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361116210855936,"km_value":11361116210855.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-08-10 13:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305206016001,"power":12711,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-08-10 13:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":152809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:28:19] local.INFO: GPS data processed {"connection_id":152809,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:28:19] local.INFO: Acknowledgment sent {"connection_id":152809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:28:41] local.INFO: TCP Data received {"connection_id":151482,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:28:41] local.INFO: Processing buffer {"connection_id":151482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:28:41] local.INFO: Packet analysis {"connection_id":151482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:28:41] local.INFO: Extracted packet for processing {"connection_id":151482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305131520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786348471000,"timestamp_ms":1786348471000,"timestamp_seconds":1786348471,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa82d8"} 
[2026-08-10 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-08-10 13:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305131520001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305131520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:28:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305131520001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":151482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:28:41] local.INFO: GPS data processed {"connection_id":151482,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:28:41] local.INFO: Acknowledgment sent {"connection_id":151482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:28:42] local.INFO: TCP Data received {"connection_id":151879,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:28:42] local.INFO: Processing buffer {"connection_id":151879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:28:42] local.INFO: IMEI packet received {"connection_id":151879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":151879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:28:47] local.INFO: TCP Data received {"connection_id":151879,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:28:47] local.INFO: Processing buffer {"connection_id":151879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:28:47] local.INFO: IMEI packet received {"connection_id":151879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":151879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:28:48] local.INFO: TCP Data received {"connection_id":151879,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaaffd8012d181f400721afe0004d00d728..."} 
[2026-08-10 13:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaaffd8012d181f400721afe0004d00d728..."} 
[2026-08-10 13:28:48] local.INFO: Processing buffer {"connection_id":151879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaaffd8012d181f400721afe0004d00d728..."} 
[2026-08-10 13:28:48] local.INFO: Packet analysis {"connection_id":151879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:28:48] local.INFO: Extracted packet for processing {"connection_id":151879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:28:48] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-08-10 13:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305211392001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361116210855936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-08-10 13:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786348503000,"timestamp_ms":1786348503000,"timestamp_seconds":1786348503,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaaffd8"} 
[2026-08-10 13:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 13:28: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-08-10 13:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305211392001,"66":12689,"107":206,"83":41984,"24":0,"16":11361116210855936,"45":1738178380562423808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 13:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305211392001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:28:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 13:28:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361116210855936,"km_value":11361116210855.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-08-10 13:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305211392001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-08-10 13:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":151879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:28:48] local.INFO: GPS data processed {"connection_id":151879,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:28:48] local.INFO: Acknowledgment sent {"connection_id":151879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:28:59] local.INFO: TCP Data received {"connection_id":152810,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:28:59] local.INFO: Processing buffer {"connection_id":152810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:28:59] local.INFO: IMEI packet received {"connection_id":152810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":152810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:29:04] local.INFO: TCP Data received {"connection_id":152810,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:29:04] local.INFO: Processing buffer {"connection_id":152810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:29:04] local.INFO: IMEI packet received {"connection_id":152810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":152810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:29:05] local.INFO: TCP Data received {"connection_id":152810,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:29:05] local.INFO: Processing buffer {"connection_id":152810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:29:05] local.INFO: Packet analysis {"connection_id":152810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:29:05] local.INFO: Extracted packet for processing {"connection_id":152810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305131520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786348471000,"timestamp_ms":1786348471000,"timestamp_seconds":1786348471,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa82d8"} 
[2026-08-10 13:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:29: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-08-10 13:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305131520001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305131520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:29:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305131520001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":152810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:29:05] local.INFO: GPS data processed {"connection_id":152810,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:29:05] local.INFO: Acknowledgment sent {"connection_id":152810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:29:19] local.INFO: TCP Data received {"connection_id":151879,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaae1100012d181d000721aaf8004d00a129..."} 
[2026-08-10 13:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaae1100012d181d000721aaf8004d00a129..."} 
[2026-08-10 13:29:19] local.INFO: Processing buffer {"connection_id":151879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaae1100012d181d000721aaf8004d00a129..."} 
[2026-08-10 13:29:19] local.INFO: Packet analysis {"connection_id":151879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaae"} 
[2026-08-10 13:29:19] local.INFO: Extracted packet for processing {"connection_id":151879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaae"} 
[2026-08-10 13:29:19] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646968,"longitude_deg":75.6555008,"latitude_deg":11.9646968,"altitude":77,"angle":161,"satellites":41,"speed":6,"hex_longitude":"2d181d00","hex_latitude":"0721aaf8","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305267968001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361193520267264,"note":"Value kept but may cause issues"} 
[2026-08-10 13:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120358400,"note":"Value kept but may cause issues"} 
[2026-08-10 13:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786348704000,"timestamp_ms":1786348704000,"timestamp_seconds":1786348704,"priority":1,"record_length":96,"hex_timestamp":"0000019feaae1100"} 
[2026-08-10 13:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 13:29: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-08-10 13: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-08-10 13:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305267968001,"66":14189,"105":206,"83":41984,"24":6,"16":11361193520267264,"45":1737474693120358400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305267968001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:29:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:29:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361193520267264,"km_value":11361193520267.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120358400,"description":"Unknown IO ID 45"} 
[2026-08-10 13:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305267968001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737474693120358400}} 
[2026-08-10 13:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":151879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:29:19] local.INFO: GPS data processed {"connection_id":151879,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:29:19] local.INFO: Acknowledgment sent {"connection_id":151879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:29:36] local.INFO: TCP Data received {"connection_id":152810,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:29:36] local.INFO: Processing buffer {"connection_id":152810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:29:36] local.INFO: Packet analysis {"connection_id":152810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:29:36] local.INFO: Extracted packet for processing {"connection_id":152810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305131520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786348471000,"timestamp_ms":1786348471000,"timestamp_seconds":1786348471,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa82d8"} 
[2026-08-10 13:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305131520001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305131520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:29:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305131520001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":152810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:29:36] local.INFO: GPS data processed {"connection_id":152810,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:29:36] local.INFO: Acknowledgment sent {"connection_id":152810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:29:42] local.INFO: TCP Data received {"connection_id":151880,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:29:42] local.INFO: Processing buffer {"connection_id":151880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:29:42] local.INFO: IMEI packet received {"connection_id":151880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":151880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:29:44] local.INFO: TCP Data received {"connection_id":151880,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:29:44] local.INFO: Processing buffer {"connection_id":151880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:29:44] local.INFO: IMEI packet received {"connection_id":151880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":151880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:29:47] local.INFO: TCP Data received {"connection_id":151880,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:29:47] local.INFO: Processing buffer {"connection_id":151880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:29:47] local.INFO: IMEI packet received {"connection_id":151880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":151880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:29:48] local.INFO: TCP Data received {"connection_id":151880,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaae18d0012d181dc00721a990004d009528..."} 
[2026-08-10 13:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaae18d0012d181dc00721a990004d009528..."} 
[2026-08-10 13:29:48] local.INFO: Processing buffer {"connection_id":151880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaae18d0012d181dc00721a990004d009528..."} 
[2026-08-10 13:29:48] local.INFO: Packet analysis {"connection_id":151880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaae"} 
[2026-08-10 13:29:48] local.INFO: Extracted packet for processing {"connection_id":151880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaae"} 
[2026-08-10 13:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646608,"longitude_deg":75.65552,"latitude_deg":11.9646608,"altitude":77,"angle":149,"satellites":40,"speed":8,"hex_longitude":"2d181dc0","hex_latitude":"0721a990","is_valid_coordinates":true} 
[2026-08-10 13:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305268224001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361214995103744,"note":"Value kept but may cause issues"} 
[2026-08-10 13:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864503296,"note":"Value kept but may cause issues"} 
[2026-08-10 13:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786348706000,"timestamp_ms":1786348706000,"timestamp_seconds":1786348706,"priority":1,"record_length":96,"hex_timestamp":"0000019feaae18d0"} 
[2026-08-10 13:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 13:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305268224001,"66":13928,"105":206,"83":41984,"24":8,"16":11361214995103744,"45":1737545061864503296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305268224001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:29:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:29:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361214995103744,"km_value":11361214995103.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864503296,"description":"Unknown IO ID 45"} 
[2026-08-10 13:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305268224001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737545061864503296}} 
[2026-08-10 13:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":151880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:29:49] local.INFO: GPS data processed {"connection_id":151880,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:29:49] local.INFO: Acknowledgment sent {"connection_id":151880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:29:59] local.INFO: TCP Data received {"connection_id":151483,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:29:59] local.INFO: Processing buffer {"connection_id":151483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:29:59] local.INFO: IMEI packet received {"connection_id":151483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":151483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:30:04] local.INFO: TCP Data received {"connection_id":151483,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:30:04] local.INFO: Processing buffer {"connection_id":151483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:30:04] local.INFO: IMEI packet received {"connection_id":151483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":151483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:30:05] local.INFO: TCP Data received {"connection_id":151483,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:30:05] local.INFO: Processing buffer {"connection_id":151483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaa82d8012d342a4006abc280000d01021e..."} 
[2026-08-10 13:30:05] local.INFO: Packet analysis {"connection_id":151483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:30:05] local.INFO: Extracted packet for processing {"connection_id":151483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaa"} 
[2026-08-10 13:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305131520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786348471000,"timestamp_ms":1786348471000,"timestamp_seconds":1786348471,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaa82d8"} 
[2026-08-10 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-08-10 13:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305131520001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305131520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:30:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305131520001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":151483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:30:05] local.INFO: GPS data processed {"connection_id":151483,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:30:05] local.INFO: Acknowledgment sent {"connection_id":151483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:30:20] local.INFO: TCP Data received {"connection_id":151880,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaae2488012d181f400721a7b0004d008828..."} 
[2026-08-10 13:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaae2488012d181f400721a7b0004d008828..."} 
[2026-08-10 13:30:20] local.INFO: Processing buffer {"connection_id":151880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaae2488012d181f400721a7b0004d008828..."} 
[2026-08-10 13:30:20] local.INFO: Packet analysis {"connection_id":151880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaae"} 
[2026-08-10 13:30:20] local.INFO: Extracted packet for processing {"connection_id":151880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaae"} 
[2026-08-10 13:30:20] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646128,"longitude_deg":75.6555584,"latitude_deg":11.9646128,"altitude":77,"angle":136,"satellites":40,"speed":7,"hex_longitude":"2d181f40","hex_latitude":"0721a7b0","is_valid_coordinates":true} 
[2026-08-10 13:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305268736001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361245059874816,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096944128,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786348709000,"timestamp_ms":1786348709000,"timestamp_seconds":1786348709,"priority":1,"record_length":96,"hex_timestamp":"0000019feaae2488"} 
[2026-08-10 13:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-10 13:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305268736001,"66":14243,"105":206,"83":41984,"24":7,"16":11361245059874816,"45":1737756168096944128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305268736001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:30:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361245059874816,"km_value":11361245059874.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096944128,"description":"Unknown IO ID 45"} 
[2026-08-10 13:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305268736001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737756168096944128}} 
[2026-08-10 13:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":151880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:30:20] local.INFO: GPS data processed {"connection_id":151880,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:30:20] local.INFO: Acknowledgment sent {"connection_id":151880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:30:36] local.INFO: TCP Data received {"connection_id":151483,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:30:36] local.INFO: Processing buffer {"connection_id":151483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:30:36] local.INFO: Packet analysis {"connection_id":151483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:30:36] local.INFO: Extracted packet for processing {"connection_id":151483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305208576001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786348772000,"timestamp_ms":1786348772000,"timestamp_seconds":1786348772,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf1aa0"} 
[2026-08-10 13:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305208576001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305208576001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:30:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305208576001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":151483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:30:36] local.INFO: GPS data processed {"connection_id":151483,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:30:36] local.INFO: Acknowledgment sent {"connection_id":151483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:30:44] local.INFO: TCP Data received {"connection_id":154262,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:30:44] local.INFO: Processing buffer {"connection_id":154262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:30:44] local.INFO: IMEI packet received {"connection_id":154262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":154262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:30:48] local.INFO: TCP Data received {"connection_id":154262,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-10 13:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154262,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-10 13:30:48] local.INFO: Processing buffer {"connection_id":154262,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-10 13:30:48] local.INFO: IMEI packet received {"connection_id":154262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":154262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:30:49] local.INFO: TCP Data received {"connection_id":154262,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf5538012d18c7c007213a380041009829..."} 
[2026-08-10 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf5538012d18c7c007213a380041009829..."} 
[2026-08-10 13:30:49] local.INFO: Processing buffer {"connection_id":154262,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fea..."} 
[2026-08-10 13:30:49] local.INFO: IMEI packet received {"connection_id":154262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":154262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:30:53] local.INFO: TCP Data received {"connection_id":154262,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf7090012d18d280072124a0003e00aa28..."} 
[2026-08-10 13:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf7090012d18d280072124a0003e00aa28..."} 
[2026-08-10 13:30:53] local.INFO: Processing buffer {"connection_id":154262,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019feaaf5538012d18c7c007213a380041009829..."} 
[2026-08-10 13:30:53] local.INFO: Packet analysis {"connection_id":154262,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:30:53] local.INFO: Extracted packet for processing {"connection_id":154262,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:30:53] local.INFO: GPS Element Parsed {"raw_longitude":756598720,"raw_latitude":119618104,"longitude_deg":75.659872,"latitude_deg":11.9618104,"altitude":65,"angle":152,"satellites":41,"speed":35,"hex_longitude":"2d18c7c0","hex_latitude":"07213a38","is_valid_coordinates":true} 
[2026-08-10 13:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305287936001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11363920824500224,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713343488,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786348787000,"timestamp_ms":1786348787000,"timestamp_seconds":1786348787,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf5538"} 
[2026-08-10 13:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 13:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305287936001,"66":14363,"106":206,"83":41984,"24":35,"16":11363920824500224,"45":1784621751713343488},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 13:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305287936001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:30:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 13:30:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11363920824500224,"km_value":11363920824500.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713343488,"description":"Unknown IO ID 45"} 
[2026-08-10 13:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305287936001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784621751713343488}} 
[2026-08-10 13:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":154262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:30:53] local.INFO: GPS data processed {"connection_id":154262,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:30:53] local.INFO: Acknowledgment sent {"connection_id":154262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:30:53] local.INFO: Packet analysis {"connection_id":154262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:30:53] local.INFO: Extracted packet for processing {"connection_id":154262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:30:53] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119612576,"longitude_deg":75.6601472,"latitude_deg":11.9612576,"altitude":62,"angle":170,"satellites":40,"speed":35,"hex_longitude":"2d18d280","hex_latitude":"072124a0","is_valid_coordinates":true} 
[2026-08-10 13:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305289472001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11364221472210944,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785606914130458624,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786348794000,"timestamp_ms":1786348794000,"timestamp_seconds":1786348794,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf7090"} 
[2026-08-10 13:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 13:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305289472001,"66":14363,"103":206,"83":41984,"24":35,"16":11364221472210944,"45":1785606914130458624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305289472001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:30:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:30:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11364221472210944,"km_value":11364221472210.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785606914130458624,"description":"Unknown IO ID 45"} 
[2026-08-10 13:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305289472001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1785606914130458624}} 
[2026-08-10 13:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":154262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:30:53] local.INFO: GPS data processed {"connection_id":154262,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:30:53] local.INFO: Acknowledgment sent {"connection_id":154262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:30:56] local.INFO: TCP Data received {"connection_id":154262,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf7860012d18d2c007211d68003d00b527..."} 
[2026-08-10 13:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf7860012d18d2c007211d68003d00b527..."} 
[2026-08-10 13:30:56] local.INFO: Processing buffer {"connection_id":154262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaf7860012d18d2c007211d68003d00b527..."} 
[2026-08-10 13:30:56] local.INFO: Packet analysis {"connection_id":154262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:30:56] local.INFO: Extracted packet for processing {"connection_id":154262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119610728,"longitude_deg":75.6601536,"latitude_deg":11.9610728,"altitude":61,"angle":181,"satellites":39,"speed":38,"hex_longitude":"2d18d2c0","hex_latitude":"07211d68","is_valid_coordinates":true} 
[2026-08-10 13:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305291264001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11364311666524160,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128683008,"note":"Value kept but may cause issues"} 
[2026-08-10 13:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786348796000,"timestamp_ms":1786348796000,"timestamp_seconds":1786348796,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf7860"} 
[2026-08-10 13:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 13:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305291264001,"66":13493,"103":206,"83":41984,"24":38,"16":11364311666524160,"45":1788632770128683008},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305291264001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:30:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:30:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11364311666524160,"km_value":11364311666524.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128683008,"description":"Unknown IO ID 45"} 
[2026-08-10 13:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305291264001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1788632770128683008}} 
[2026-08-10 13:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":154262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:30:56] local.INFO: GPS data processed {"connection_id":154262,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:30:56] local.INFO: Acknowledgment sent {"connection_id":154262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:30:59] local.INFO: TCP Data received {"connection_id":151484,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:30:59] local.INFO: Processing buffer {"connection_id":151484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:30:59] local.INFO: IMEI packet received {"connection_id":151484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":151484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:31:04] local.INFO: TCP Data received {"connection_id":151484,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:31:04] local.INFO: Processing buffer {"connection_id":151484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:31:04] local.INFO: IMEI packet received {"connection_id":151484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":151484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:31:06] local.INFO: TCP Data received {"connection_id":151484,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:31:06] local.INFO: Processing buffer {"connection_id":151484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:31:06] local.INFO: Packet analysis {"connection_id":151484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:31:06] local.INFO: Extracted packet for processing {"connection_id":151484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305208576001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786348772000,"timestamp_ms":1786348772000,"timestamp_seconds":1786348772,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf1aa0"} 
[2026-08-10 13:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305208576001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305208576001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:31:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305208576001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":151484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:31:06] local.INFO: GPS data processed {"connection_id":151484,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:31:06] local.INFO: Acknowledgment sent {"connection_id":151484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:31:26] local.INFO: TCP Data received {"connection_id":154262,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf8be8012d18d3c007210a68003c00a626..."} 
[2026-08-10 13:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf8be8012d18d3c007210a68003c00a626..."} 
[2026-08-10 13:31:26] local.INFO: Processing buffer {"connection_id":154262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaf8be8012d18d3c007210a68003c00a626..."} 
[2026-08-10 13:31:26] local.INFO: Packet analysis {"connection_id":154262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:31:26] local.INFO: Extracted packet for processing {"connection_id":154262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119605864,"longitude_deg":75.6601792,"latitude_deg":11.9605864,"altitude":60,"angle":166,"satellites":38,"speed":39,"hex_longitude":"2d18d3c0","hex_latitude":"07210a68","is_valid_coordinates":true} 
[2026-08-10 13:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305291776001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11364547889725440,"note":"Value kept but may cause issues"} 
[2026-08-10 13:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138872387584,"note":"Value kept but may cause issues"} 
[2026-08-10 13:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786348801000,"timestamp_ms":1786348801000,"timestamp_seconds":1786348801,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf8be8"} 
[2026-08-10 13:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 13:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305291776001,"66":14396,"103":206,"83":41984,"24":39,"16":11364547889725440,"45":1788703138872387584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305291776001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:31:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:31:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11364547889725440,"km_value":11364547889725.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138872387584,"description":"Unknown IO ID 45"} 
[2026-08-10 13:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305291776001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1788703138872387584}} 
[2026-08-10 13:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":154262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:31:26] local.INFO: GPS data processed {"connection_id":154262,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:31:26] local.INFO: Acknowledgment sent {"connection_id":154262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:31:38] local.INFO: TCP Data received {"connection_id":151484,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:31:38] local.INFO: Processing buffer {"connection_id":151484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:31:38] local.INFO: Packet analysis {"connection_id":151484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:31:38] local.INFO: Extracted packet for processing {"connection_id":151484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305208576001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786348772000,"timestamp_ms":1786348772000,"timestamp_seconds":1786348772,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf1aa0"} 
[2026-08-10 13:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305208576001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305208576001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:31:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305208576001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":151484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:31:38] local.INFO: GPS data processed {"connection_id":151484,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:31:38] local.INFO: Acknowledgment sent {"connection_id":151484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:31:39] local.INFO: TCP Data received {"connection_id":152811,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:31:39] local.INFO: Processing buffer {"connection_id":152811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:31:39] local.INFO: IMEI packet received {"connection_id":152811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":152811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:31:40] local.INFO: TCP Data received {"connection_id":152811,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:31:40] local.INFO: Processing buffer {"connection_id":152811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:31:40] local.INFO: IMEI packet received {"connection_id":152811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":152811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:31:43] local.INFO: TCP Data received {"connection_id":152811,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:31:43] local.INFO: Processing buffer {"connection_id":152811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:31:43] local.INFO: IMEI packet received {"connection_id":152811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":152811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:31:47] local.INFO: TCP Data received {"connection_id":152811,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:31:47] local.INFO: Processing buffer {"connection_id":152811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:31:47] local.INFO: IMEI packet received {"connection_id":152811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":152811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:31:48] local.INFO: TCP Data received {"connection_id":152811,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feab04b50012d1970c00720add8002f004823..."} 
[2026-08-10 13:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab04b50012d1970c00720add8002f004823..."} 
[2026-08-10 13:31:48] local.INFO: Processing buffer {"connection_id":152811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab04b50012d1970c00720add8002f004823..."} 
[2026-08-10 13:31:48] local.INFO: Packet analysis {"connection_id":152811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab0"} 
[2026-08-10 13:31:48] local.INFO: Extracted packet for processing {"connection_id":152811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab0"} 
[2026-08-10 13:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756641984,"raw_latitude":119582168,"longitude_deg":75.6641984,"latitude_deg":11.9582168,"altitude":47,"angle":72,"satellites":35,"speed":36,"hex_longitude":"2d1970c0","hex_latitude":"0720add8","is_valid_coordinates":true} 
[2026-08-10 13:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305304064001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11366948776443904,"note":"Value kept but may cause issues"} 
[2026-08-10 13:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827335579418400768,"note":"Value kept but may cause issues"} 
[2026-08-10 13:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786348850000,"timestamp_ms":1786348850000,"timestamp_seconds":1786348850,"priority":1,"record_length":96,"hex_timestamp":"0000019feab04b50"} 
[2026-08-10 13:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 13:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305304064001,"66":14265,"103":206,"83":41984,"24":36,"16":11366948776443904,"45":1827335579418400768},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305304064001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:31:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:31:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11366948776443904,"km_value":11366948776443.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827335579418400768,"description":"Unknown IO ID 45"} 
[2026-08-10 13:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305304064001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1827335579418400768}} 
[2026-08-10 13:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":152811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:31:48] local.INFO: GPS data processed {"connection_id":152811,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:31:48] local.INFO: Acknowledgment sent {"connection_id":152811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:32:04] local.INFO: TCP Data received {"connection_id":152812,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:32:04] local.INFO: Processing buffer {"connection_id":152812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:32:04] local.INFO: IMEI packet received {"connection_id":152812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":152812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:32:09] local.INFO: TCP Data received {"connection_id":152812,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:32:09] local.INFO: Processing buffer {"connection_id":152812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:32:09] local.INFO: IMEI packet received {"connection_id":152812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":152812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:32:10] local.INFO: TCP Data received {"connection_id":152812,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:32:10] local.INFO: Processing buffer {"connection_id":152812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:32:10] local.INFO: Packet analysis {"connection_id":152812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:32:10] local.INFO: Extracted packet for processing {"connection_id":152812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305208576001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786348772000,"timestamp_ms":1786348772000,"timestamp_seconds":1786348772,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf1aa0"} 
[2026-08-10 13:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305208576001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305208576001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:32:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305208576001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":152812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:32:10] local.INFO: GPS data processed {"connection_id":152812,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:32:10] local.INFO: Acknowledgment sent {"connection_id":152812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:32:14] local.INFO: TCP Data received {"connection_id":152812,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:32:14] local.INFO: Processing buffer {"connection_id":152812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:32:14] local.INFO: Packet analysis {"connection_id":152812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:32:14] local.INFO: Extracted packet for processing {"connection_id":152812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305208576001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786348772000,"timestamp_ms":1786348772000,"timestamp_seconds":1786348772,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf1aa0"} 
[2026-08-10 13:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305208576001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305208576001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:32:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305208576001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":152812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:32:14] local.INFO: GPS data processed {"connection_id":152812,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:32:14] local.INFO: Acknowledgment sent {"connection_id":152812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:32:20] local.INFO: TCP Data received {"connection_id":152811,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feab0fb18012d198bc00720e6d8003d002627..."} 
[2026-08-10 13:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab0fb18012d198bc00720e6d8003d002627..."} 
[2026-08-10 13:32:20] local.INFO: Processing buffer {"connection_id":152811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab0fb18012d198bc00720e6d8003d002627..."} 
[2026-08-10 13:32:20] local.INFO: Packet analysis {"connection_id":152811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab0"} 
[2026-08-10 13:32:20] local.INFO: Extracted packet for processing {"connection_id":152811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab0"} 
[2026-08-10 13:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119596760,"longitude_deg":75.6648896,"latitude_deg":11.959676,"altitude":61,"angle":38,"satellites":39,"speed":10,"hex_longitude":"2d198bc0","hex_latitude":"0720e6d8","is_valid_coordinates":true} 
[2026-08-10 13:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305316608001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11367945208856576,"note":"Value kept but may cause issues"} 
[2026-08-10 13:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840424165839282176,"note":"Value kept but may cause issues"} 
[2026-08-10 13:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786348895000,"timestamp_ms":1786348895000,"timestamp_seconds":1786348895,"priority":1,"record_length":96,"hex_timestamp":"0000019feab0fb18"} 
[2026-08-10 13:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 13:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305316608001,"66":14298,"103":206,"83":41984,"24":10,"16":11367945208856576,"45":1840424165839282176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305316608001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:32:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11367945208856576,"km_value":11367945208856.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840424165839282176,"description":"Unknown IO ID 45"} 
[2026-08-10 13:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305316608001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1840424165839282176}} 
[2026-08-10 13:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":152811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:32:20] local.INFO: GPS data processed {"connection_id":152811,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:32:20] local.INFO: Acknowledgment sent {"connection_id":152811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:32:42] local.INFO: TCP Data received {"connection_id":151485,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:32:42] local.INFO: Processing buffer {"connection_id":151485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:32:42] local.INFO: IMEI packet received {"connection_id":151485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":151485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:32:47] local.INFO: TCP Data received {"connection_id":151485,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:32:47] local.INFO: Processing buffer {"connection_id":151485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:32:47] local.INFO: IMEI packet received {"connection_id":151485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":151485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:32:48] local.INFO: TCP Data received {"connection_id":151485,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feab102e8012d198cc00720e818003d003a27..."} 
[2026-08-10 13:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab102e8012d198cc00720e818003d003a27..."} 
[2026-08-10 13:32:48] local.INFO: Processing buffer {"connection_id":151485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab102e8012d198cc00720e818003d003a27..."} 
[2026-08-10 13:32:48] local.INFO: Packet analysis {"connection_id":151485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab1"} 
[2026-08-10 13:32:48] local.INFO: Extracted packet for processing {"connection_id":151485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab1"} 
[2026-08-10 13:32:48] local.INFO: GPS Element Parsed {"raw_longitude":756649152,"raw_latitude":119597080,"longitude_deg":75.6649152,"latitude_deg":11.959708,"altitude":61,"angle":58,"satellites":39,"speed":8,"hex_longitude":"2d198cc0","hex_latitude":"0720e818","is_valid_coordinates":true} 
[2026-08-10 13:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305317120001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11367966683693056,"note":"Value kept but may cause issues"} 
[2026-08-10 13:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009560283136,"note":"Value kept but may cause issues"} 
[2026-08-10 13:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786348897000,"timestamp_ms":1786348897000,"timestamp_seconds":1786348897,"priority":1,"record_length":96,"hex_timestamp":"0000019feab102e8"} 
[2026-08-10 13:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 13:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305317120001,"66":14407,"103":206,"83":41984,"24":8,"16":11367966683693056,"45":1840776009560283136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305317120001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:32:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:32:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11367966683693056,"km_value":11367966683693.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009560283136,"description":"Unknown IO ID 45"} 
[2026-08-10 13:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305317120001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1840776009560283136}} 
[2026-08-10 13:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":151485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:32:48] local.INFO: GPS data processed {"connection_id":151485,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:32:48] local.INFO: Acknowledgment sent {"connection_id":151485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:33:04] local.INFO: TCP Data received {"connection_id":154263,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:33:04] local.INFO: Processing buffer {"connection_id":154263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:33:04] local.INFO: IMEI packet received {"connection_id":154263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":154263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:33:09] local.INFO: TCP Data received {"connection_id":154263,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:33:09] local.INFO: Processing buffer {"connection_id":154263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:33:09] local.INFO: IMEI packet received {"connection_id":154263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":154263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:33:10] local.INFO: TCP Data received {"connection_id":154263,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:33:10] local.INFO: Processing buffer {"connection_id":154263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:33:10] local.INFO: Packet analysis {"connection_id":154263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:33:10] local.INFO: Extracted packet for processing {"connection_id":154263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305208576001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786348772000,"timestamp_ms":1786348772000,"timestamp_seconds":1786348772,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf1aa0"} 
[2026-08-10 13:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305208576001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305208576001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:33:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305208576001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":154263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:33:10] local.INFO: GPS data processed {"connection_id":154263,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:33:10] local.INFO: Acknowledgment sent {"connection_id":154263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:33:19] local.INFO: TCP Data received {"connection_id":151485,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feab106d0012d198dc00720e880003e004b27..."} 
[2026-08-10 13:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab106d0012d198dc00720e880003e004b27..."} 
[2026-08-10 13:33:19] local.INFO: Processing buffer {"connection_id":151485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab106d0012d198dc00720e880003e004b27..."} 
[2026-08-10 13:33:19] local.INFO: Packet analysis {"connection_id":151485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab1"} 
[2026-08-10 13:33:19] local.INFO: Extracted packet for processing {"connection_id":151485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab1"} 
[2026-08-10 13:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756649408,"raw_latitude":119597184,"longitude_deg":75.6649408,"latitude_deg":11.9597184,"altitude":62,"angle":75,"satellites":39,"speed":8,"hex_longitude":"2d198dc0","hex_latitude":"0720e880","is_valid_coordinates":true} 
[2026-08-10 13:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305317632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11367975273627648,"note":"Value kept but may cause issues"} 
[2026-08-10 13:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841057484537075712,"note":"Value kept but may cause issues"} 
[2026-08-10 13:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786348898000,"timestamp_ms":1786348898000,"timestamp_seconds":1786348898,"priority":1,"record_length":96,"hex_timestamp":"0000019feab106d0"} 
[2026-08-10 13:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 13:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305317632001,"66":14407,"103":206,"83":41984,"24":8,"16":11367975273627648,"45":1841057484537075712},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305317632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:33:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11367975273627648,"km_value":11367975273627.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841057484537075712,"description":"Unknown IO ID 45"} 
[2026-08-10 13:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305317632001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1841057484537075712}} 
[2026-08-10 13:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":151485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:33:19] local.INFO: GPS data processed {"connection_id":151485,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:33:19] local.INFO: Acknowledgment sent {"connection_id":151485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:33:41] local.INFO: TCP Data received {"connection_id":154263,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:33:41] local.INFO: Processing buffer {"connection_id":154263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:33:41] local.INFO: Packet analysis {"connection_id":154263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:33:41] local.INFO: Extracted packet for processing {"connection_id":154263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305208576001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786348772000,"timestamp_ms":1786348772000,"timestamp_seconds":1786348772,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf1aa0"} 
[2026-08-10 13:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305208576001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305208576001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:33:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305208576001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":154263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:33:41] local.INFO: GPS data processed {"connection_id":154263,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:33:41] local.INFO: Acknowledgment sent {"connection_id":154263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:33:42] local.INFO: TCP Data received {"connection_id":154264,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:33:42] local.INFO: Processing buffer {"connection_id":154264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:33:42] local.INFO: IMEI packet received {"connection_id":154264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":154264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:33:43] local.INFO: TCP Data received {"connection_id":154264,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:33:43] local.INFO: Processing buffer {"connection_id":154264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:33:43] local.INFO: IMEI packet received {"connection_id":154264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":154264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:33:43] local.INFO: TCP Data received {"connection_id":154264,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:33:43] local.INFO: Processing buffer {"connection_id":154264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:33:43] local.INFO: IMEI packet received {"connection_id":154264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":154264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:33:44] local.INFO: TCP Data received {"connection_id":154264,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:33:44] local.INFO: Processing buffer {"connection_id":154264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:33:44] local.INFO: IMEI packet received {"connection_id":154264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":154264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:33:59] local.INFO: TCP Data received {"connection_id":154265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:33:59] local.INFO: Processing buffer {"connection_id":154265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:33:59] local.INFO: IMEI packet received {"connection_id":154265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":154265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:34:04] local.INFO: TCP Data received {"connection_id":154265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:34:04] local.INFO: Processing buffer {"connection_id":154265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:34:04] local.INFO: IMEI packet received {"connection_id":154265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":154265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:34:05] local.INFO: TCP Data received {"connection_id":154265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:34:05] local.INFO: Processing buffer {"connection_id":154265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:34:05] local.INFO: Packet analysis {"connection_id":154265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:34:05] local.INFO: Extracted packet for processing {"connection_id":154265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305208576001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786348772000,"timestamp_ms":1786348772000,"timestamp_seconds":1786348772,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf1aa0"} 
[2026-08-10 13:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:34: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-08-10 13:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305208576001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305208576001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:34:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:34:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305208576001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":154265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:34:05] local.INFO: GPS data processed {"connection_id":154265,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:34:05] local.INFO: Acknowledgment sent {"connection_id":154265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:34:36] local.INFO: TCP Data received {"connection_id":154265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:34:36] local.INFO: Processing buffer {"connection_id":154265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:34:36] local.INFO: Packet analysis {"connection_id":154265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:34:36] local.INFO: Extracted packet for processing {"connection_id":154265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305208576001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786348772000,"timestamp_ms":1786348772000,"timestamp_seconds":1786348772,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf1aa0"} 
[2026-08-10 13:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:34: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-08-10 13:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305208576001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305208576001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:34:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305208576001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":154265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:34:36] local.INFO: GPS data processed {"connection_id":154265,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:34:36] local.INFO: Acknowledgment sent {"connection_id":154265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:34:59] local.INFO: TCP Data received {"connection_id":151487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:34:59] local.INFO: Processing buffer {"connection_id":151487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:34:59] local.INFO: IMEI packet received {"connection_id":151487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":151487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:35:04] local.INFO: TCP Data received {"connection_id":151487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:35:04] local.INFO: Processing buffer {"connection_id":151487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:35:04] local.INFO: IMEI packet received {"connection_id":151487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":151487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:35:05] local.INFO: TCP Data received {"connection_id":151487,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:35:05] local.INFO: Processing buffer {"connection_id":151487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaaf1aa0012d342a4006abc280000d010221..."} 
[2026-08-10 13:35:05] local.INFO: Packet analysis {"connection_id":151487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:35:05] local.INFO: Extracted packet for processing {"connection_id":151487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaaf"} 
[2026-08-10 13:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305208576001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786348772000,"timestamp_ms":1786348772000,"timestamp_seconds":1786348772,"priority":1,"record_length":96,"hex_timestamp":"0000019feaaf1aa0"} 
[2026-08-10 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-08-10 13:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:35: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-08-10 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-08-10 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-08-10 13:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13: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-08-10 13:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305208576001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305208576001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:35:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305208576001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":151487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:35:05] local.INFO: GPS data processed {"connection_id":151487,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:35:05] local.INFO: Acknowledgment sent {"connection_id":151487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:35:36] local.INFO: TCP Data received {"connection_id":151487,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:35:36] local.INFO: Processing buffer {"connection_id":151487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:35:36] local.INFO: Packet analysis {"connection_id":151487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:35:36] local.INFO: Extracted packet for processing {"connection_id":151487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305285632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786349073000,"timestamp_ms":1786349073000,"timestamp_seconds":1786349073,"priority":1,"record_length":96,"hex_timestamp":"0000019feab3b268"} 
[2026-08-10 13:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305285632001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305285632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:35:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305285632001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":151487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:35:36] local.INFO: GPS data processed {"connection_id":151487,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:35:36] local.INFO: Acknowledgment sent {"connection_id":151487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:36:02] local.INFO: TCP Data received {"connection_id":151488,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:36:02] local.INFO: Processing buffer {"connection_id":151488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:36:02] local.INFO: IMEI packet received {"connection_id":151488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":151488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:36:04] local.INFO: TCP Data received {"connection_id":151488,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:36:04] local.INFO: Processing buffer {"connection_id":151488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:36:04] local.INFO: IMEI packet received {"connection_id":151488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":151488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:36:04] local.INFO: TCP Data received {"connection_id":151488,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:36:04] local.INFO: Processing buffer {"connection_id":151488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:36:04] local.INFO: Packet analysis {"connection_id":151488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:36:04] local.INFO: Extracted packet for processing {"connection_id":151488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:36:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305285632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786349073000,"timestamp_ms":1786349073000,"timestamp_seconds":1786349073,"priority":1,"record_length":96,"hex_timestamp":"0000019feab3b268"} 
[2026-08-10 13:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:36: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-08-10 13:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:36: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-08-10 13:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305285632001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305285632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:36:04] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305285632001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":151488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:36:05] local.INFO: GPS data processed {"connection_id":151488,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:36:05] local.INFO: Acknowledgment sent {"connection_id":151488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:36:09] local.INFO: TCP Data received {"connection_id":151488,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:36:09] local.INFO: Processing buffer {"connection_id":151488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:36:09] local.INFO: Packet analysis {"connection_id":151488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:36:09] local.INFO: Extracted packet for processing {"connection_id":151488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305285632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786349073000,"timestamp_ms":1786349073000,"timestamp_seconds":1786349073,"priority":1,"record_length":96,"hex_timestamp":"0000019feab3b268"} 
[2026-08-10 13:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:36: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-08-10 13:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305285632001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305285632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:36:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305285632001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":151488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:36:09] local.INFO: GPS data processed {"connection_id":151488,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:36:09] local.INFO: Acknowledgment sent {"connection_id":151488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:36:41] local.INFO: TCP Data received {"connection_id":151488,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:36:41] local.INFO: Processing buffer {"connection_id":151488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:36:41] local.INFO: Packet analysis {"connection_id":151488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:36:41] local.INFO: Extracted packet for processing {"connection_id":151488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:36:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305285632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786349073000,"timestamp_ms":1786349073000,"timestamp_seconds":1786349073,"priority":1,"record_length":96,"hex_timestamp":"0000019feab3b268"} 
[2026-08-10 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-08-10 13:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:36: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-08-10 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-08-10 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-08-10 13:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305285632001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305285632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:36:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:36:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305285632001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":151488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:36:41] local.INFO: GPS data processed {"connection_id":151488,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:36:41] local.INFO: Acknowledgment sent {"connection_id":151488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:36:59] local.INFO: TCP Data received {"connection_id":152813,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:36:59] local.INFO: Processing buffer {"connection_id":152813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:36:59] local.INFO: IMEI packet received {"connection_id":152813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":152813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:37:04] local.INFO: TCP Data received {"connection_id":152813,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:37:04] local.INFO: Processing buffer {"connection_id":152813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:37:04] local.INFO: IMEI packet received {"connection_id":152813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":152813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:37:05] local.INFO: TCP Data received {"connection_id":152813,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:37:05] local.INFO: Processing buffer {"connection_id":152813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:37:05] local.INFO: Packet analysis {"connection_id":152813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:37:05] local.INFO: Extracted packet for processing {"connection_id":152813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305285632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349073000,"timestamp_ms":1786349073000,"timestamp_seconds":1786349073,"priority":1,"record_length":96,"hex_timestamp":"0000019feab3b268"} 
[2026-08-10 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-08-10 13:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:37: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-08-10 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-08-10 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-08-10 13:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305285632001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305285632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:37:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305285632001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":152813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:37:05] local.INFO: GPS data processed {"connection_id":152813,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:37:05] local.INFO: Acknowledgment sent {"connection_id":152813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:37:36] local.INFO: TCP Data received {"connection_id":152813,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:37:36] local.INFO: Processing buffer {"connection_id":152813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:37:36] local.INFO: Packet analysis {"connection_id":152813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:37:36] local.INFO: Extracted packet for processing {"connection_id":152813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305285632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786349073000,"timestamp_ms":1786349073000,"timestamp_seconds":1786349073,"priority":1,"record_length":96,"hex_timestamp":"0000019feab3b268"} 
[2026-08-10 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-08-10 13:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305285632001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305285632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:37:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305285632001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":152813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:37:36] local.INFO: GPS data processed {"connection_id":152813,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:37:36] local.INFO: Acknowledgment sent {"connection_id":152813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:37:58] local.INFO: TCP Data received {"connection_id":154266,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:37:58] local.INFO: Processing buffer {"connection_id":154266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:37:58] local.INFO: IMEI packet received {"connection_id":154266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":154266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:38:04] local.INFO: TCP Data received {"connection_id":154266,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:38:04] local.INFO: Processing buffer {"connection_id":154266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:38:04] local.INFO: IMEI packet received {"connection_id":154266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":154266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:38:05] local.INFO: TCP Data received {"connection_id":154266,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:38:05] local.INFO: Processing buffer {"connection_id":154266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:38:05] local.INFO: Packet analysis {"connection_id":154266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:38:05] local.INFO: Extracted packet for processing {"connection_id":154266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305285632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349073000,"timestamp_ms":1786349073000,"timestamp_seconds":1786349073,"priority":1,"record_length":96,"hex_timestamp":"0000019feab3b268"} 
[2026-08-10 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-08-10 13:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:38: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-08-10 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-08-10 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-08-10 13:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305285632001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305285632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:38:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305285632001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":154266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:38:05] local.INFO: GPS data processed {"connection_id":154266,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:38:05] local.INFO: Acknowledgment sent {"connection_id":154266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:38:36] local.INFO: TCP Data received {"connection_id":154266,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:38:36] local.INFO: Processing buffer {"connection_id":154266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:38:36] local.INFO: Packet analysis {"connection_id":154266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:38:36] local.INFO: Extracted packet for processing {"connection_id":154266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305285632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786349073000,"timestamp_ms":1786349073000,"timestamp_seconds":1786349073,"priority":1,"record_length":96,"hex_timestamp":"0000019feab3b268"} 
[2026-08-10 13:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305285632001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305285632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:38:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305285632001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":154266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:38:36] local.INFO: GPS data processed {"connection_id":154266,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:38:36] local.INFO: Acknowledgment sent {"connection_id":154266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:38:45] local.INFO: TCP Data received {"connection_id":154267,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:38:45] local.INFO: Processing buffer {"connection_id":154267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:38:45] local.INFO: IMEI packet received {"connection_id":154267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":154267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:38:46] local.INFO: TCP Data received {"connection_id":154267,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feab66da0012d18f4000720d9a80039014026..."} 
[2026-08-10 13:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab66da0012d18f4000720d9a80039014026..."} 
[2026-08-10 13:38:46] local.INFO: Processing buffer {"connection_id":154267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab66da0012d18f4000720d9a80039014026..."} 
[2026-08-10 13:38:46] local.INFO: Packet analysis {"connection_id":154267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab6"} 
[2026-08-10 13:38:46] local.INFO: Extracted packet for processing {"connection_id":154267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab6"} 
[2026-08-10 13:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119593384,"longitude_deg":75.6610048,"latitude_deg":11.9593384,"altitude":57,"angle":320,"satellites":38,"speed":22,"hex_longitude":"2d18f400","hex_latitude":"0720d9a8","is_valid_coordinates":true} 
[2026-08-10 13:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305407232001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11376286035345408,"note":"Value kept but may cause issues"} 
[2026-08-10 13:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800243612912652288,"note":"Value kept but may cause issues"} 
[2026-08-10 13:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786349252000,"timestamp_ms":1786349252000,"timestamp_seconds":1786349252,"priority":1,"record_length":96,"hex_timestamp":"0000019feab66da0"} 
[2026-08-10 13:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 13:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305407232001,"66":14396,"103":206,"83":41984,"24":22,"16":11376286035345408,"45":1800243612912652288},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305407232001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:38:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11376286035345408,"km_value":11376286035345.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800243612912652288,"description":"Unknown IO ID 45"} 
[2026-08-10 13:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305407232001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1800243612912652288}} 
[2026-08-10 13:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":154267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:38:46] local.INFO: GPS data processed {"connection_id":154267,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:38:46] local.INFO: Acknowledgment sent {"connection_id":154267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:39:04] local.INFO: TCP Data received {"connection_id":151489,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:39:04] local.INFO: Processing buffer {"connection_id":151489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:39:04] local.INFO: IMEI packet received {"connection_id":151489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":151489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:39:09] local.INFO: TCP Data received {"connection_id":151489,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:39:09] local.INFO: Processing buffer {"connection_id":151489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:39:09] local.INFO: IMEI packet received {"connection_id":151489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":151489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:39:10] local.INFO: TCP Data received {"connection_id":151489,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:39:10] local.INFO: Processing buffer {"connection_id":151489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:39:10] local.INFO: Packet analysis {"connection_id":151489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:39:10] local.INFO: Extracted packet for processing {"connection_id":151489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305285632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786349073000,"timestamp_ms":1786349073000,"timestamp_seconds":1786349073,"priority":1,"record_length":96,"hex_timestamp":"0000019feab3b268"} 
[2026-08-10 13:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:39: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-08-10 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:39: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-08-10 13:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305285632001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305285632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:39:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305285632001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":151489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:39:10] local.INFO: GPS data processed {"connection_id":151489,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:39:10] local.INFO: Acknowledgment sent {"connection_id":151489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:39:15] local.INFO: TCP Data received {"connection_id":151489,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:39:15] local.INFO: Processing buffer {"connection_id":151489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:39:15] local.INFO: Packet analysis {"connection_id":151489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:39:15] local.INFO: Extracted packet for processing {"connection_id":151489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305285632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786349073000,"timestamp_ms":1786349073000,"timestamp_seconds":1786349073,"priority":1,"record_length":96,"hex_timestamp":"0000019feab3b268"} 
[2026-08-10 13:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305285632001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305285632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:39:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305285632001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":151489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:39:15] local.INFO: GPS data processed {"connection_id":151489,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:39:15] local.INFO: Acknowledgment sent {"connection_id":151489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:39:17] local.INFO: TCP Data received {"connection_id":154267,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feab767a0012d18820007218150004d011726..."} 
[2026-08-10 13:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab767a0012d18820007218150004d011726..."} 
[2026-08-10 13:39:17] local.INFO: Processing buffer {"connection_id":154267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab767a0012d18820007218150004d011726..."} 
[2026-08-10 13:39:17] local.INFO: Packet analysis {"connection_id":154267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab7"} 
[2026-08-10 13:39:17] local.INFO: Extracted packet for processing {"connection_id":154267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab7"} 
[2026-08-10 13:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756580864,"raw_latitude":119636304,"longitude_deg":75.6580864,"latitude_deg":11.9636304,"altitude":77,"angle":279,"satellites":38,"speed":38,"hex_longitude":"2d188200","hex_latitude":"07218150","is_valid_coordinates":true} 
[2026-08-10 13:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305422336001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11378978979840000,"note":"Value kept but may cause issues"} 
[2026-08-10 13:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776247871158697984,"note":"Value kept but may cause issues"} 
[2026-08-10 13:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786349316000,"timestamp_ms":1786349316000,"timestamp_seconds":1786349316,"priority":1,"record_length":96,"hex_timestamp":"0000019feab767a0"} 
[2026-08-10 13:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-10 13:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305422336001,"66":13939,"106":206,"83":41984,"24":38,"16":11378978979840000,"45":1776247871158697984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 13:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305422336001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:39:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 13:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11378978979840000,"km_value":11378978979840,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776247871158697984,"description":"Unknown IO ID 45"} 
[2026-08-10 13:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305422336001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1776247871158697984}} 
[2026-08-10 13:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":154267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:39:17] local.INFO: GPS data processed {"connection_id":154267,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:39:17] local.INFO: Acknowledgment sent {"connection_id":154267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:39:40] local.INFO: TCP Data received {"connection_id":151884,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:39:40] local.INFO: Processing buffer {"connection_id":151884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:39:40] local.INFO: IMEI packet received {"connection_id":151884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":151884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:39:40] local.INFO: TCP Data received {"connection_id":151884,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:39:40] local.INFO: Processing buffer {"connection_id":151884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:39:40] local.INFO: IMEI packet received {"connection_id":151884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":151884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:39:42] local.INFO: TCP Data received {"connection_id":151884,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:39:42] local.INFO: Processing buffer {"connection_id":151884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:39:42] local.INFO: IMEI packet received {"connection_id":151884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":151884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:39:47] local.INFO: TCP Data received {"connection_id":151884,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:39:47] local.INFO: Processing buffer {"connection_id":151884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:39:47] local.INFO: IMEI packet received {"connection_id":151884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":151884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:39:48] local.INFO: TCP Data received {"connection_id":151884,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feab767a0012d18820007218150004d011726..."} 
[2026-08-10 13:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab767a0012d18820007218150004d011726..."} 
[2026-08-10 13:39:48] local.INFO: Processing buffer {"connection_id":151884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab767a0012d18820007218150004d011726..."} 
[2026-08-10 13:39:48] local.INFO: Packet analysis {"connection_id":151884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab7"} 
[2026-08-10 13:39:48] local.INFO: Extracted packet for processing {"connection_id":151884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab7"} 
[2026-08-10 13:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756580864,"raw_latitude":119636304,"longitude_deg":75.6580864,"latitude_deg":11.9636304,"altitude":77,"angle":279,"satellites":38,"speed":38,"hex_longitude":"2d188200","hex_latitude":"07218150","is_valid_coordinates":true} 
[2026-08-10 13:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305424896001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11378978979840000,"note":"Value kept but may cause issues"} 
[2026-08-10 13:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765974034509549568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786349316000,"timestamp_ms":1786349316000,"timestamp_seconds":1786349316,"priority":1,"record_length":96,"hex_timestamp":"0000019feab767a0"} 
[2026-08-10 13:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-10 13:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305424896001,"66":13939,"106":206,"83":41984,"24":38,"16":11378978979840000,"45":1765974034509549568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 13:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305424896001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:39:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 13:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11378978979840000,"km_value":11378978979840,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765974034509549568,"description":"Unknown IO ID 45"} 
[2026-08-10 13:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305424896001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1765974034509549568}} 
[2026-08-10 13:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":151884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:39:48] local.INFO: GPS data processed {"connection_id":151884,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:39:48] local.INFO: Acknowledgment sent {"connection_id":151884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:39:59] local.INFO: TCP Data received {"connection_id":154268,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:39:59] local.INFO: Processing buffer {"connection_id":154268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:39:59] local.INFO: IMEI packet received {"connection_id":154268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":154268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:40:04] local.INFO: TCP Data received {"connection_id":154268,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:40:04] local.INFO: Processing buffer {"connection_id":154268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:40:04] local.INFO: IMEI packet received {"connection_id":154268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":154268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:40:05] local.INFO: TCP Data received {"connection_id":154268,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:40:05] local.INFO: Processing buffer {"connection_id":154268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab3b268012d342a4006abc280000d01021f..."} 
[2026-08-10 13:40:05] local.INFO: Packet analysis {"connection_id":154268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:40:05] local.INFO: Extracted packet for processing {"connection_id":154268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab3"} 
[2026-08-10 13:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":13,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305285632001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349073000,"timestamp_ms":1786349073000,"timestamp_seconds":1786349073,"priority":1,"record_length":96,"hex_timestamp":"0000019feab3b268"} 
[2026-08-10 13:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:40: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-08-10 13:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305285632001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305285632001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:40:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:40:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305285632001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":154268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:40:05] local.INFO: GPS data processed {"connection_id":154268,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:40:05] local.INFO: Acknowledgment sent {"connection_id":154268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:40:19] local.INFO: TCP Data received {"connection_id":151884,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feab76f70012d187a40072181b0004d010c26..."} 
[2026-08-10 13:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab76f70012d187a40072181b0004d010c26..."} 
[2026-08-10 13:40:19] local.INFO: Processing buffer {"connection_id":151884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab76f70012d187a40072181b0004d010c26..."} 
[2026-08-10 13:40:19] local.INFO: Packet analysis {"connection_id":151884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab7"} 
[2026-08-10 13:40:19] local.INFO: Extracted packet for processing {"connection_id":151884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab7"} 
[2026-08-10 13:40:19] local.INFO: GPS Element Parsed {"raw_longitude":756578880,"raw_latitude":119636400,"longitude_deg":75.657888,"latitude_deg":11.96364,"altitude":77,"angle":268,"satellites":38,"speed":39,"hex_longitude":"2d187a40","hex_latitude":"072181b0","is_valid_coordinates":true} 
[2026-08-10 13:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305424896001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11379073469120512,"note":"Value kept but may cause issues"} 
[2026-08-10 13:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765974034509549568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786349318000,"timestamp_ms":1786349318000,"timestamp_seconds":1786349318,"priority":1,"record_length":96,"hex_timestamp":"0000019feab76f70"} 
[2026-08-10 13:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-10 13:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305424896001,"66":13798,"106":206,"83":41984,"24":39,"16":11379073469120512,"45":1765974034509549568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 13:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305424896001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:40:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 13:40:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11379073469120512,"km_value":11379073469120.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765974034509549568,"description":"Unknown IO ID 45"} 
[2026-08-10 13:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305424896001,"power":13798,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1765974034509549568}} 
[2026-08-10 13:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":151884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:40:19] local.INFO: GPS data processed {"connection_id":151884,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:40:19] local.INFO: Acknowledgment sent {"connection_id":151884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:40:36] local.INFO: TCP Data received {"connection_id":154268,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:40:36] local.INFO: Processing buffer {"connection_id":154268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:40:36] local.INFO: Packet analysis {"connection_id":154268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:40:36] local.INFO: Extracted packet for processing {"connection_id":154268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":18,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305362688001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786349374000,"timestamp_ms":1786349374000,"timestamp_seconds":1786349374,"priority":1,"record_length":96,"hex_timestamp":"0000019feab84a30"} 
[2026-08-10 13:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:40: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-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305362688001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305362688001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:40:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305362688001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":154268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:40:36] local.INFO: GPS data processed {"connection_id":154268,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:40:36] local.INFO: Acknowledgment sent {"connection_id":154268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:40:41] local.INFO: TCP Data received {"connection_id":151490,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:40:41] local.INFO: Processing buffer {"connection_id":151490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:40:41] local.INFO: IMEI packet received {"connection_id":151490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":151490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:40:42] local.INFO: TCP Data received {"connection_id":151490,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:40:42] local.INFO: Processing buffer {"connection_id":151490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:40:42] local.INFO: IMEI packet received {"connection_id":151490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":151490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:40:42] local.INFO: TCP Data received {"connection_id":151490,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:40:42] local.INFO: Processing buffer {"connection_id":151490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:40:42] local.INFO: IMEI packet received {"connection_id":151490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":151490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:40:44] local.INFO: TCP Data received {"connection_id":151490,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:40:44] local.INFO: Processing buffer {"connection_id":151490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:40:44] local.INFO: IMEI packet received {"connection_id":151490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":151490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:40:59] local.INFO: TCP Data received {"connection_id":152814,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:40:59] local.INFO: Processing buffer {"connection_id":152814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:40:59] local.INFO: IMEI packet received {"connection_id":152814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":152814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:41:04] local.INFO: TCP Data received {"connection_id":152814,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:41:04] local.INFO: Processing buffer {"connection_id":152814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:41:04] local.INFO: IMEI packet received {"connection_id":152814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":152814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:41:05] local.INFO: TCP Data received {"connection_id":152814,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:41:05] local.INFO: Processing buffer {"connection_id":152814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:41:05] local.INFO: Packet analysis {"connection_id":152814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:41:05] local.INFO: Extracted packet for processing {"connection_id":152814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":18,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305362688001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349374000,"timestamp_ms":1786349374000,"timestamp_seconds":1786349374,"priority":1,"record_length":96,"hex_timestamp":"0000019feab84a30"} 
[2026-08-10 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-08-10 13:41: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-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305362688001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305362688001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:41:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305362688001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":152814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:41:05] local.INFO: GPS data processed {"connection_id":152814,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:41:05] local.INFO: Acknowledgment sent {"connection_id":152814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:41:36] local.INFO: TCP Data received {"connection_id":152814,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:41:36] local.INFO: Processing buffer {"connection_id":152814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:41:36] local.INFO: Packet analysis {"connection_id":152814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:41:36] local.INFO: Extracted packet for processing {"connection_id":152814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":18,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305362688001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786349374000,"timestamp_ms":1786349374000,"timestamp_seconds":1786349374,"priority":1,"record_length":96,"hex_timestamp":"0000019feab84a30"} 
[2026-08-10 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-08-10 13:41: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-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305362688001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305362688001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:41:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305362688001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":152814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:41:36] local.INFO: GPS data processed {"connection_id":152814,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:41:36] local.INFO: Acknowledgment sent {"connection_id":152814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:41:59] local.INFO: TCP Data received {"connection_id":154269,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:41:59] local.INFO: Processing buffer {"connection_id":154269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:41:59] local.INFO: IMEI packet received {"connection_id":154269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":154269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:42:04] local.INFO: TCP Data received {"connection_id":154269,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:42:04] local.INFO: Processing buffer {"connection_id":154269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:42:04] local.INFO: IMEI packet received {"connection_id":154269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":154269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:42:05] local.INFO: TCP Data received {"connection_id":154269,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:42:05] local.INFO: Processing buffer {"connection_id":154269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:42:05] local.INFO: Packet analysis {"connection_id":154269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:42:05] local.INFO: Extracted packet for processing {"connection_id":154269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":18,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305362688001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349374000,"timestamp_ms":1786349374000,"timestamp_seconds":1786349374,"priority":1,"record_length":96,"hex_timestamp":"0000019feab84a30"} 
[2026-08-10 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-08-10 13: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-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:42: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-08-10 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-08-10 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-08-10 13:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305362688001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305362688001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:42:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305362688001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":154269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:42:05] local.INFO: GPS data processed {"connection_id":154269,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:42:05] local.INFO: Acknowledgment sent {"connection_id":154269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:42:36] local.INFO: TCP Data received {"connection_id":154269,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:42:36] local.INFO: Processing buffer {"connection_id":154269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:42:36] local.INFO: Packet analysis {"connection_id":154269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:42:36] local.INFO: Extracted packet for processing {"connection_id":154269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":18,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305362688001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786349374000,"timestamp_ms":1786349374000,"timestamp_seconds":1786349374,"priority":1,"record_length":96,"hex_timestamp":"0000019feab84a30"} 
[2026-08-10 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-08-10 13:42: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-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305362688001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305362688001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:42:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305362688001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":154269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:42:36] local.INFO: GPS data processed {"connection_id":154269,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:42:36] local.INFO: Acknowledgment sent {"connection_id":154269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:43:04] local.INFO: TCP Data received {"connection_id":152816,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:43:04] local.INFO: Processing buffer {"connection_id":152816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:43:04] local.INFO: IMEI packet received {"connection_id":152816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":152816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:43:09] local.INFO: TCP Data received {"connection_id":152816,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:43:09] local.INFO: Processing buffer {"connection_id":152816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:43:09] local.INFO: IMEI packet received {"connection_id":152816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":152816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:43:10] local.INFO: TCP Data received {"connection_id":152816,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:43:10] local.INFO: Processing buffer {"connection_id":152816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:43:10] local.INFO: Packet analysis {"connection_id":152816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:43:10] local.INFO: Extracted packet for processing {"connection_id":152816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":18,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305362688001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786349374000,"timestamp_ms":1786349374000,"timestamp_seconds":1786349374,"priority":1,"record_length":96,"hex_timestamp":"0000019feab84a30"} 
[2026-08-10 13:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:43: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-08-10 13:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305362688001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305362688001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:43:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305362688001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":152816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:43:10] local.INFO: GPS data processed {"connection_id":152816,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:43:10] local.INFO: Acknowledgment sent {"connection_id":152816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:43:16] local.INFO: TCP Data received {"connection_id":152816,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:43:16] local.INFO: Processing buffer {"connection_id":152816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:43:16] local.INFO: Packet analysis {"connection_id":152816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:43:16] local.INFO: Extracted packet for processing {"connection_id":152816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":18,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305362688001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786349374000,"timestamp_ms":1786349374000,"timestamp_seconds":1786349374,"priority":1,"record_length":96,"hex_timestamp":"0000019feab84a30"} 
[2026-08-10 13:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:43: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-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305362688001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305362688001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:43:16] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305362688001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":152816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:43:16] local.INFO: GPS data processed {"connection_id":152816,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:43:16] local.INFO: Acknowledgment sent {"connection_id":152816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:43:59] local.INFO: TCP Data received {"connection_id":151491,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:43:59] local.INFO: Processing buffer {"connection_id":151491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:43:59] local.INFO: IMEI packet received {"connection_id":151491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":151491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:44:04] local.INFO: TCP Data received {"connection_id":151491,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:44:04] local.INFO: Processing buffer {"connection_id":151491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:44:04] local.INFO: IMEI packet received {"connection_id":151491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":151491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:44:05] local.INFO: TCP Data received {"connection_id":151491,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:44:05] local.INFO: Processing buffer {"connection_id":151491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:44:05] local.INFO: Packet analysis {"connection_id":151491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:44:05] local.INFO: Extracted packet for processing {"connection_id":151491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":18,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305362688001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349374000,"timestamp_ms":1786349374000,"timestamp_seconds":1786349374,"priority":1,"record_length":96,"hex_timestamp":"0000019feab84a30"} 
[2026-08-10 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-08-10 13: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-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:44: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-08-10 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-08-10 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-08-10 13:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305362688001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305362688001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:44:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:44:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305362688001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":151491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:44:05] local.INFO: GPS data processed {"connection_id":151491,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:44:05] local.INFO: Acknowledgment sent {"connection_id":151491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:44:09] local.INFO: TCP Data received {"connection_id":151491,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:44:09] local.INFO: Processing buffer {"connection_id":151491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:44:09] local.INFO: Packet analysis {"connection_id":151491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:44:09] local.INFO: Extracted packet for processing {"connection_id":151491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":18,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305362688001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786349374000,"timestamp_ms":1786349374000,"timestamp_seconds":1786349374,"priority":1,"record_length":96,"hex_timestamp":"0000019feab84a30"} 
[2026-08-10 13:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13: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-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:44: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-08-10 13:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305362688001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305362688001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:44:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305362688001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":151491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:44:09] local.INFO: GPS data processed {"connection_id":151491,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:44:09] local.INFO: Acknowledgment sent {"connection_id":151491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:44:41] local.INFO: TCP Data received {"connection_id":151491,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:44:41] local.INFO: Processing buffer {"connection_id":151491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:44:41] local.INFO: Packet analysis {"connection_id":151491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:44:41] local.INFO: Extracted packet for processing {"connection_id":151491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":18,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305362688001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786349374000,"timestamp_ms":1786349374000,"timestamp_seconds":1786349374,"priority":1,"record_length":96,"hex_timestamp":"0000019feab84a30"} 
[2026-08-10 13:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:44: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-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305362688001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305362688001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:44:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305362688001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":151491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:44:41] local.INFO: GPS data processed {"connection_id":151491,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:44:41] local.INFO: Acknowledgment sent {"connection_id":151491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:44:59] local.INFO: TCP Data received {"connection_id":151886,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:44:59] local.INFO: Processing buffer {"connection_id":151886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:44:59] local.INFO: IMEI packet received {"connection_id":151886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":151886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:45:04] local.INFO: TCP Data received {"connection_id":151886,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:45:04] local.INFO: Processing buffer {"connection_id":151886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:45:04] local.INFO: IMEI packet received {"connection_id":151886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":151886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:45:05] local.INFO: TCP Data received {"connection_id":151886,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:45:05] local.INFO: Processing buffer {"connection_id":151886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feab84a30012d342a4006abc2800012010223..."} 
[2026-08-10 13:45:05] local.INFO: Packet analysis {"connection_id":151886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:45:05] local.INFO: Extracted packet for processing {"connection_id":151886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feab8"} 
[2026-08-10 13:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":18,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305362688001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349374000,"timestamp_ms":1786349374000,"timestamp_seconds":1786349374,"priority":1,"record_length":96,"hex_timestamp":"0000019feab84a30"} 
[2026-08-10 13:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:45: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-08-10 13:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:45: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-08-10 13:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305362688001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305362688001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:45:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305362688001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":151886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:45:05] local.INFO: GPS data processed {"connection_id":151886,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:45:05] local.INFO: Acknowledgment sent {"connection_id":151886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:45:36] local.INFO: TCP Data received {"connection_id":151886,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:45:36] local.INFO: Processing buffer {"connection_id":151886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:45:36] local.INFO: Packet analysis {"connection_id":151886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:45:36] local.INFO: Extracted packet for processing {"connection_id":151886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305439744001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786349675000,"timestamp_ms":1786349675000,"timestamp_seconds":1786349675,"priority":1,"record_length":96,"hex_timestamp":"0000019feabce1f8"} 
[2026-08-10 13:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13: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-08-10 13:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305439744001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305439744001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:45:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305439744001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":151886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:45:36] local.INFO: GPS data processed {"connection_id":151886,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:45:36] local.INFO: Acknowledgment sent {"connection_id":151886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:45:45] local.INFO: TCP Data received {"connection_id":151492,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:45:45] local.INFO: Processing buffer {"connection_id":151492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:45:45] local.INFO: IMEI packet received {"connection_id":151492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":151492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:45:46] local.INFO: TCP Data received {"connection_id":151492,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabbe410012d18168007219988004d009d29..."} 
[2026-08-10 13:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabbe410012d18168007219988004d009d29..."} 
[2026-08-10 13:45:46] local.INFO: Processing buffer {"connection_id":151492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabbe410012d18168007219988004d009d29..."} 
[2026-08-10 13:45:46] local.INFO: Packet analysis {"connection_id":151492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabb"} 
[2026-08-10 13:45:46] local.INFO: Extracted packet for processing {"connection_id":151492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabb"} 
[2026-08-10 13:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756553344,"raw_latitude":119642504,"longitude_deg":75.6553344,"latitude_deg":11.9642504,"altitude":77,"angle":157,"satellites":41,"speed":0,"hex_longitude":"2d181680","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-10 13:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305494784001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11381083513815040,"note":"Value kept but may cause issues"} 
[2026-08-10 13:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735715474514741248,"note":"Value kept but may cause issues"} 
[2026-08-10 13:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786349610000,"timestamp_ms":1786349610000,"timestamp_seconds":1786349610,"priority":1,"record_length":96,"hex_timestamp":"0000019feabbe410"} 
[2026-08-10 13:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-10 13:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305494784001,"66":13048,"107":206,"83":41984,"24":0,"16":11381083513815040,"45":1735715474514741248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 13:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305494784001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:45:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 13:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11381083513815040,"km_value":11381083513815.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735715474514741248,"description":"Unknown IO ID 45"} 
[2026-08-10 13:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305494784001,"power":13048,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735715474514741248}} 
[2026-08-10 13:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":151492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:45:46] local.INFO: GPS data processed {"connection_id":151492,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:45:46] local.INFO: Acknowledgment sent {"connection_id":151492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:45:59] local.INFO: TCP Data received {"connection_id":152818,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:45:59] local.INFO: Processing buffer {"connection_id":152818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:45:59] local.INFO: IMEI packet received {"connection_id":152818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":152818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:46:04] local.INFO: TCP Data received {"connection_id":152818,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:46:04] local.INFO: Processing buffer {"connection_id":152818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:46:04] local.INFO: IMEI packet received {"connection_id":152818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":152818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:46:05] local.INFO: TCP Data received {"connection_id":152818,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:46:05] local.INFO: Processing buffer {"connection_id":152818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:46:05] local.INFO: Packet analysis {"connection_id":152818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:46:05] local.INFO: Extracted packet for processing {"connection_id":152818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305439744001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349675000,"timestamp_ms":1786349675000,"timestamp_seconds":1786349675,"priority":1,"record_length":96,"hex_timestamp":"0000019feabce1f8"} 
[2026-08-10 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-08-10 13: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-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:46: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-08-10 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-08-10 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-08-10 13:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305439744001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305439744001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:46:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:46:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305439744001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":152818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:46:05] local.INFO: GPS data processed {"connection_id":152818,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:46:05] local.INFO: Acknowledgment sent {"connection_id":152818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:46:17] local.INFO: TCP Data received {"connection_id":151492,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabc3618012d18168007219988004d009d26..."} 
[2026-08-10 13:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabc3618012d18168007219988004d009d26..."} 
[2026-08-10 13:46:17] local.INFO: Processing buffer {"connection_id":151492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabc3618012d18168007219988004d009d26..."} 
[2026-08-10 13:46:17] local.INFO: Packet analysis {"connection_id":151492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:46:17] local.INFO: Extracted packet for processing {"connection_id":151492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756553344,"raw_latitude":119642504,"longitude_deg":75.6553344,"latitude_deg":11.9642504,"altitude":77,"angle":157,"satellites":38,"speed":0,"hex_longitude":"2d181680","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-10 13:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305500160001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11381083513815040,"note":"Value kept but may cause issues"} 
[2026-08-10 13:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735715474514741248,"note":"Value kept but may cause issues"} 
[2026-08-10 13:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786349631000,"timestamp_ms":1786349631000,"timestamp_seconds":1786349631,"priority":1,"record_length":96,"hex_timestamp":"0000019feabc3618"} 
[2026-08-10 13:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-10 13:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305500160001,"66":12385,"107":206,"83":41984,"24":0,"16":11381083513815040,"45":1735715474514741248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 13:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305500160001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:46:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 13:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11381083513815040,"km_value":11381083513815.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735715474514741248,"description":"Unknown IO ID 45"} 
[2026-08-10 13:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305500160001,"power":12385,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735715474514741248}} 
[2026-08-10 13:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":151492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:46:17] local.INFO: GPS data processed {"connection_id":151492,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:46:17] local.INFO: Acknowledgment sent {"connection_id":151492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:46:36] local.INFO: TCP Data received {"connection_id":152818,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:46:36] local.INFO: Processing buffer {"connection_id":152818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:46:36] local.INFO: Packet analysis {"connection_id":152818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:46:36] local.INFO: Extracted packet for processing {"connection_id":152818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305439744001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786349675000,"timestamp_ms":1786349675000,"timestamp_seconds":1786349675,"priority":1,"record_length":96,"hex_timestamp":"0000019feabce1f8"} 
[2026-08-10 13:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:46: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-08-10 13: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":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305439744001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305439744001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:46:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305439744001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":152818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:46:36] local.INFO: GPS data processed {"connection_id":152818,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:46:36] local.INFO: Acknowledgment sent {"connection_id":152818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:46:42] local.INFO: TCP Data received {"connection_id":151493,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:46:42] local.INFO: Processing buffer {"connection_id":151493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:46:42] local.INFO: IMEI packet received {"connection_id":151493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":151493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:46:47] local.INFO: TCP Data received {"connection_id":151493,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:46:47] local.INFO: Processing buffer {"connection_id":151493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:46:47] local.INFO: IMEI packet received {"connection_id":151493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":151493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:46:48] local.INFO: TCP Data received {"connection_id":151493,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabc8820012d18168007219988004d009d27..."} 
[2026-08-10 13:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabc8820012d18168007219988004d009d27..."} 
[2026-08-10 13:46:48] local.INFO: Processing buffer {"connection_id":151493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabc8820012d18168007219988004d009d27..."} 
[2026-08-10 13:46:48] local.INFO: Packet analysis {"connection_id":151493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:46:48] local.INFO: Extracted packet for processing {"connection_id":151493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:46:48] local.INFO: GPS Element Parsed {"raw_longitude":756553344,"raw_latitude":119642504,"longitude_deg":75.6553344,"latitude_deg":11.9642504,"altitude":77,"angle":157,"satellites":39,"speed":0,"hex_longitude":"2d181680","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-10 13:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305505536001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11381083513815040,"note":"Value kept but may cause issues"} 
[2026-08-10 13:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735715474514741248,"note":"Value kept but may cause issues"} 
[2026-08-10 13:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786349652000,"timestamp_ms":1786349652000,"timestamp_seconds":1786349652,"priority":1,"record_length":96,"hex_timestamp":"0000019feabc8820"} 
[2026-08-10 13:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 13:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305505536001,"66":14189,"107":206,"83":41984,"24":0,"16":11381083513815040,"45":1735715474514741248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 13:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305505536001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:46:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 13:46:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11381083513815040,"km_value":11381083513815.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735715474514741248,"description":"Unknown IO ID 45"} 
[2026-08-10 13:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305505536001,"power":14189,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735715474514741248}} 
[2026-08-10 13:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":151493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:46:48] local.INFO: GPS data processed {"connection_id":151493,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:46:48] local.INFO: Acknowledgment sent {"connection_id":151493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:47:04] local.INFO: TCP Data received {"connection_id":152819,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:47:04] local.INFO: Processing buffer {"connection_id":152819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:47:04] local.INFO: IMEI packet received {"connection_id":152819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":152819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:47:09] local.INFO: TCP Data received {"connection_id":152819,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:47:09] local.INFO: Processing buffer {"connection_id":152819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:47:09] local.INFO: IMEI packet received {"connection_id":152819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":152819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:47:10] local.INFO: TCP Data received {"connection_id":152819,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:47:10] local.INFO: Processing buffer {"connection_id":152819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:47:10] local.INFO: Packet analysis {"connection_id":152819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:47:10] local.INFO: Extracted packet for processing {"connection_id":152819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305439744001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786349675000,"timestamp_ms":1786349675000,"timestamp_seconds":1786349675,"priority":1,"record_length":96,"hex_timestamp":"0000019feabce1f8"} 
[2026-08-10 13:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:47: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-08-10 13:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:47: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-08-10 13:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:47: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-08-10 13:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305439744001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305439744001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:47:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305439744001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":152819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:47:10] local.INFO: GPS data processed {"connection_id":152819,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:47:10] local.INFO: Acknowledgment sent {"connection_id":152819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:47:14] local.INFO: TCP Data received {"connection_id":152819,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:47:14] local.INFO: Processing buffer {"connection_id":152819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:47:14] local.INFO: Packet analysis {"connection_id":152819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:47:14] local.INFO: Extracted packet for processing {"connection_id":152819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305439744001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786349675000,"timestamp_ms":1786349675000,"timestamp_seconds":1786349675,"priority":1,"record_length":96,"hex_timestamp":"0000019feabce1f8"} 
[2026-08-10 13:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305439744001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305439744001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:47:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305439744001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":152819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:47:14] local.INFO: GPS data processed {"connection_id":152819,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:47:14] local.INFO: Acknowledgment sent {"connection_id":152819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:47:19] local.INFO: TCP Data received {"connection_id":151493,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabe8bc0012d182d4007219a58004d008026..."} 
[2026-08-10 13:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabe8bc0012d182d4007219a58004d008026..."} 
[2026-08-10 13:47:19] local.INFO: Processing buffer {"connection_id":151493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabe8bc0012d182d4007219a58004d008026..."} 
[2026-08-10 13:47:19] local.INFO: Packet analysis {"connection_id":151493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabe"} 
[2026-08-10 13:47:19] local.INFO: Extracted packet for processing {"connection_id":151493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabe"} 
[2026-08-10 13:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119642712,"longitude_deg":75.6559168,"latitude_deg":11.9642712,"altitude":77,"angle":128,"satellites":38,"speed":11,"hex_longitude":"2d182d40","hex_latitude":"07219a58","is_valid_coordinates":true} 
[2026-08-10 13:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305544448001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11381551665250304,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555258292224,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786349784000,"timestamp_ms":1786349784000,"timestamp_seconds":1786349784,"priority":1,"record_length":96,"hex_timestamp":"0000019feabe8bc0"} 
[2026-08-10 13:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733138432,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1729390097876385866,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3938281160,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13462121,"corrected_to":0} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503773292527616,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3179421697,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2731016269,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637684176939625,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4323719529365831936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":21110825804631040,"corrected_to":0} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148970,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84750478676009380,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:19] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,111,159,120,45,64,155,78,38,10,66,212,1,240,246,227,234,33,4,113,205,15,110,32,200,40,239,54,2,7,75,9,206,248],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":246,"original":13462121,"validated":0},{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":21110825804631040,"validated":0}]} 
[2026-08-10 13:47:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548588835757424640,"timestamp_seconds":5548588835757425.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 13:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305544448001,"66":14352,"105":206,"83":41984,"24":11,"16":11381551665250304,"45":1741837555258292224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305544448001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:47:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11381551665250304,"km_value":11381551665250.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555258292224,"description":"Unknown IO ID 45"} 
[2026-08-10 13:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305544448001,"power":14352,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1741837555258292224}} 
[2026-08-10 13:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":151493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:47:19] local.INFO: GPS data processed {"connection_id":151493,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:47:19] local.INFO: Acknowledgment sent {"connection_id":151493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:47:43] local.INFO: TCP Data received {"connection_id":154271,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:47:43] local.INFO: Processing buffer {"connection_id":154271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:47:43] local.INFO: IMEI packet received {"connection_id":154271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":154271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:47:44] local.INFO: TCP Data received {"connection_id":154271,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:47:44] local.INFO: Processing buffer {"connection_id":154271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:47:44] local.INFO: IMEI packet received {"connection_id":154271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":154271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:47:47] local.INFO: TCP Data received {"connection_id":154271,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:47:47] local.INFO: Processing buffer {"connection_id":154271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:47:47] local.INFO: IMEI packet received {"connection_id":154271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":154271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:47:48] local.INFO: TCP Data received {"connection_id":154271,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabe9778012d183180072197b0004d007527..."} 
[2026-08-10 13:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabe9778012d183180072197b0004d007527..."} 
[2026-08-10 13:47:48] local.INFO: Processing buffer {"connection_id":154271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabe9778012d183180072197b0004d007527..."} 
[2026-08-10 13:47:48] local.INFO: Packet analysis {"connection_id":154271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabe"} 
[2026-08-10 13:47:48] local.INFO: Extracted packet for processing {"connection_id":154271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabe"} 
[2026-08-10 13:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756560256,"raw_latitude":119642032,"longitude_deg":75.6560256,"latitude_deg":11.9642032,"altitude":77,"angle":117,"satellites":39,"speed":19,"hex_longitude":"2d183180","hex_latitude":"072197b0","is_valid_coordinates":true} 
[2026-08-10 13:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305544704001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11381616089759744,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030234961920,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786349787000,"timestamp_ms":1786349787000,"timestamp_seconds":1786349787,"priority":1,"record_length":96,"hex_timestamp":"0000019feabe9778"} 
[2026-08-10 13:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":16,"data_length":795,"current_offset":136} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733138432,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2053649271160832075,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3938283160,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503773292789760,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3184797697,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2616721486,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637447953738345,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4323719529365831936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147951010,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84750487265943973,"corrected_to":0} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247722,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.WARNING: Large IO value detected {"io_id":224,"raw_value":21110967521773824,"note":"Value kept but may cause issues"} 
[2026-08-10 13:47:48] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,111,159,135,45,64,154,77,38,10,66,120,155,78,1,240,5,227,234,33,4,113,205,130,36,200,41,239,54,2,40,7,75,6,206,224],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":84750487265943973,"validated":0}]} 
[2026-08-10 13:47:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548575641618284544,"timestamp_seconds":5548575641618285.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 13:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305544704001,"66":14396,"105":206,"83":41984,"24":19,"16":11381616089759744,"45":1742119030234961920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 13:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305544704001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:47:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 13:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11381616089759744,"km_value":11381616089759.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030234961920,"description":"Unknown IO ID 45"} 
[2026-08-10 13:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305544704001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1742119030234961920}} 
[2026-08-10 13:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":154271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:47:48] local.INFO: GPS data processed {"connection_id":154271,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:47:48] local.INFO: Acknowledgment sent {"connection_id":154271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:47:59] local.INFO: TCP Data received {"connection_id":151887,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:47:59] local.INFO: Processing buffer {"connection_id":151887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:47:59] local.INFO: IMEI packet received {"connection_id":151887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":151887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:48:04] local.INFO: TCP Data received {"connection_id":151887,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:48:04] local.INFO: Processing buffer {"connection_id":151887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:48:04] local.INFO: IMEI packet received {"connection_id":151887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":151887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:48:05] local.INFO: TCP Data received {"connection_id":151887,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:48:05] local.INFO: Processing buffer {"connection_id":151887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:48:05] local.INFO: Packet analysis {"connection_id":151887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:48:05] local.INFO: Extracted packet for processing {"connection_id":151887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305439744001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349675000,"timestamp_ms":1786349675000,"timestamp_seconds":1786349675,"priority":1,"record_length":96,"hex_timestamp":"0000019feabce1f8"} 
[2026-08-10 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-08-10 13:48: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-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:48: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-08-10 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-08-10 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-08-10 13:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:48: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-08-10 13:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305439744001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305439744001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:48:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305439744001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":151887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:48:05] local.INFO: GPS data processed {"connection_id":151887,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:48:05] local.INFO: Acknowledgment sent {"connection_id":151887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:48:20] local.INFO: TCP Data received {"connection_id":154271,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabf9d30012d18d40007210a90003d00a626..."} 
[2026-08-10 13:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabf9d30012d18d40007210a90003d00a626..."} 
[2026-08-10 13:48:20] local.INFO: Processing buffer {"connection_id":154271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabf9d30012d18d40007210a90003d00a626..."} 
[2026-08-10 13:48:20] local.INFO: Packet analysis {"connection_id":154271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabf"} 
[2026-08-10 13:48:20] local.INFO: Extracted packet for processing {"connection_id":154271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabf"} 
[2026-08-10 13:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119605904,"longitude_deg":75.6601856,"latitude_deg":11.9605904,"altitude":61,"angle":166,"satellites":38,"speed":41,"hex_longitude":"2d18d400","hex_latitude":"07210a90","is_valid_coordinates":true} 
[2026-08-10 13:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305561344001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11384618271899648,"note":"Value kept but may cause issues"} 
[2026-08-10 13:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138872475648,"note":"Value kept but may cause issues"} 
[2026-08-10 13:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786349854000,"timestamp_ms":1786349854000,"timestamp_seconds":1786349854,"priority":1,"record_length":96,"hex_timestamp":"0000019feabf9d30"} 
[2026-08-10 13:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 13:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305561344001,"66":12841,"103":206,"83":41984,"24":41,"16":11384618271899648,"45":1788703138872475648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305561344001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:48:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:48:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11384618271899648,"km_value":11384618271899.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138872475648,"description":"Unknown IO ID 45"} 
[2026-08-10 13:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305561344001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1788703138872475648}} 
[2026-08-10 13:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":154271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:48:20] local.INFO: GPS data processed {"connection_id":154271,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:48:20] local.INFO: Acknowledgment sent {"connection_id":154271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:48:37] local.INFO: TCP Data received {"connection_id":151887,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:48:37] local.INFO: Processing buffer {"connection_id":151887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:48:37] local.INFO: Packet analysis {"connection_id":151887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:48:37] local.INFO: Extracted packet for processing {"connection_id":151887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305439744001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786349675000,"timestamp_ms":1786349675000,"timestamp_seconds":1786349675,"priority":1,"record_length":96,"hex_timestamp":"0000019feabce1f8"} 
[2026-08-10 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-08-10 13: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-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:48: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-08-10 13:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305439744001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305439744001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:48:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305439744001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":151887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:48:37] local.INFO: GPS data processed {"connection_id":151887,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:48:37] local.INFO: Acknowledgment sent {"connection_id":151887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:48:42] local.INFO: TCP Data received {"connection_id":152820,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:48:42] local.INFO: Processing buffer {"connection_id":152820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:48:42] local.INFO: IMEI packet received {"connection_id":152820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":152820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:48:43] local.INFO: TCP Data received {"connection_id":152820,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:48:43] local.INFO: Processing buffer {"connection_id":152820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:48:43] local.INFO: IMEI packet received {"connection_id":152820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":152820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:48:47] local.INFO: TCP Data received {"connection_id":152820,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:48:47] local.INFO: Processing buffer {"connection_id":152820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:48:47] local.INFO: IMEI packet received {"connection_id":152820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":152820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:48:48] local.INFO: TCP Data received {"connection_id":152820,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabfa8e8012d18d8000720fef8003b009825..."} 
[2026-08-10 13:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabfa8e8012d18d8000720fef8003b009825..."} 
[2026-08-10 13:48:48] local.INFO: Processing buffer {"connection_id":152820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabfa8e8012d18d8000720fef8003b009825..."} 
[2026-08-10 13:48:48] local.INFO: Packet analysis {"connection_id":152820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabf"} 
[2026-08-10 13:48:48] local.INFO: Extracted packet for processing {"connection_id":152820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabf"} 
[2026-08-10 13:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756602880,"raw_latitude":119602936,"longitude_deg":75.660288,"latitude_deg":11.9602936,"altitude":59,"angle":152,"satellites":37,"speed":41,"hex_longitude":"2d18d800","hex_latitude":"0720fef8","is_valid_coordinates":true} 
[2026-08-10 13:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305562624001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11384772890722304,"note":"Value kept but may cause issues"} 
[2026-08-10 13:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982592040960,"note":"Value kept but may cause issues"} 
[2026-08-10 13:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786349857000,"timestamp_ms":1786349857000,"timestamp_seconds":1786349857,"priority":1,"record_length":96,"hex_timestamp":"0000019feabfa8e8"} 
[2026-08-10 13:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 13:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305562624001,"66":12776,"103":206,"83":41984,"24":41,"16":11384772890722304,"45":1789054982592040960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305562624001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:48:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11384772890722304,"km_value":11384772890722.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982592040960,"description":"Unknown IO ID 45"} 
[2026-08-10 13:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305562624001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1789054982592040960}} 
[2026-08-10 13:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":152820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:48:48] local.INFO: GPS data processed {"connection_id":152820,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:48:48] local.INFO: Acknowledgment sent {"connection_id":152820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:48:59] local.INFO: TCP Data received {"connection_id":154272,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:48:59] local.INFO: Processing buffer {"connection_id":154272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:48:59] local.INFO: IMEI packet received {"connection_id":154272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":154272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:49:04] local.INFO: TCP Data received {"connection_id":154272,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:49:04] local.INFO: Processing buffer {"connection_id":154272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:49:04] local.INFO: IMEI packet received {"connection_id":154272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":154272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:49:05] local.INFO: TCP Data received {"connection_id":154272,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:49:05] local.INFO: Processing buffer {"connection_id":154272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:49:05] local.INFO: Packet analysis {"connection_id":154272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:49:05] local.INFO: Extracted packet for processing {"connection_id":154272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305439744001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349675000,"timestamp_ms":1786349675000,"timestamp_seconds":1786349675,"priority":1,"record_length":96,"hex_timestamp":"0000019feabce1f8"} 
[2026-08-10 13:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:49: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-08-10 13:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:49: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-08-10 13:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:49: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-08-10 13:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305439744001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305439744001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:49:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305439744001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":154272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:49:05] local.INFO: GPS data processed {"connection_id":154272,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:49:05] local.INFO: Acknowledgment sent {"connection_id":154272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:49:19] local.INFO: TCP Data received {"connection_id":152820,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabfacd0012d18da400720fbb0003b008d25..."} 
[2026-08-10 13:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabfacd0012d18da400720fbb0003b008d25..."} 
[2026-08-10 13:49:19] local.INFO: Processing buffer {"connection_id":152820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabfacd0012d18da400720fbb0003b008d25..."} 
[2026-08-10 13:49:19] local.INFO: Packet analysis {"connection_id":152820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabf"} 
[2026-08-10 13:49:19] local.INFO: Extracted packet for processing {"connection_id":152820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabf"} 
[2026-08-10 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756603456,"raw_latitude":119602096,"longitude_deg":75.6603456,"latitude_deg":11.9602096,"altitude":59,"angle":141,"satellites":37,"speed":40,"hex_longitude":"2d18da40","hex_latitude":"0720fbb0","is_valid_coordinates":true} 
[2026-08-10 13:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305563392001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11384820135362560,"note":"Value kept but may cause issues"} 
[2026-08-10 13:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790180882498123776,"note":"Value kept but may cause issues"} 
[2026-08-10 13:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786349858000,"timestamp_ms":1786349858000,"timestamp_seconds":1786349858,"priority":1,"record_length":96,"hex_timestamp":"0000019feabfacd0"} 
[2026-08-10 13:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-10 13:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305563392001,"66":12776,"103":206,"83":41984,"24":40,"16":11384820135362560,"45":1790180882498123776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305563392001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:49:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11384820135362560,"km_value":11384820135362.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790180882498123776,"description":"Unknown IO ID 45"} 
[2026-08-10 13:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305563392001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1790180882498123776}} 
[2026-08-10 13:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":152820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:49:20] local.INFO: GPS data processed {"connection_id":152820,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:49:20] local.INFO: Acknowledgment sent {"connection_id":152820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:49:36] local.INFO: TCP Data received {"connection_id":154272,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:49:36] local.INFO: Processing buffer {"connection_id":154272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:49:36] local.INFO: Packet analysis {"connection_id":154272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:49:36] local.INFO: Extracted packet for processing {"connection_id":154272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305439744001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786349675000,"timestamp_ms":1786349675000,"timestamp_seconds":1786349675,"priority":1,"record_length":96,"hex_timestamp":"0000019feabce1f8"} 
[2026-08-10 13:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:49: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-08-10 13:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:49: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-08-10 13:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305439744001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305439744001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:49:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305439744001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":154272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:49:36] local.INFO: GPS data processed {"connection_id":154272,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:49:36] local.INFO: Acknowledgment sent {"connection_id":154272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:49:42] local.INFO: TCP Data received {"connection_id":152821,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:49:42] local.INFO: Processing buffer {"connection_id":152821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:49:42] local.INFO: IMEI packet received {"connection_id":152821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":152821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:49:47] local.INFO: TCP Data received {"connection_id":152821,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:49:47] local.INFO: Processing buffer {"connection_id":152821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:49:47] local.INFO: IMEI packet received {"connection_id":152821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":152821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:49:48] local.INFO: TCP Data received {"connection_id":152821,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabfcff8012d18efc00720def80039009225..."} 
[2026-08-10 13:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabfcff8012d18efc00720def80039009225..."} 
[2026-08-10 13:49:48] local.INFO: Processing buffer {"connection_id":152821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabfcff8012d18efc00720def80039009225..."} 
[2026-08-10 13:49:48] local.INFO: Packet analysis {"connection_id":152821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabf"} 
[2026-08-10 13:49:48] local.INFO: Extracted packet for processing {"connection_id":152821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabf"} 
[2026-08-10 13:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756608960,"raw_latitude":119594744,"longitude_deg":75.660896,"latitude_deg":11.9594744,"altitude":57,"angle":146,"satellites":37,"speed":41,"hex_longitude":"2d18efc0","hex_latitude":"0720def8","is_valid_coordinates":true} 
[2026-08-10 13:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305563648001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11385262516994048,"note":"Value kept but may cause issues"} 
[2026-08-10 13:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790814201195507712,"note":"Value kept but may cause issues"} 
[2026-08-10 13:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786349867000,"timestamp_ms":1786349867000,"timestamp_seconds":1786349867,"priority":1,"record_length":96,"hex_timestamp":"0000019feabfcff8"} 
[2026-08-10 13:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-10 13:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305563648001,"66":12885,"103":206,"83":41984,"24":41,"16":11385262516994048,"45":1790814201195507712},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305563648001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:49:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:49:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11385262516994048,"km_value":11385262516994.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790814201195507712,"description":"Unknown IO ID 45"} 
[2026-08-10 13:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305563648001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1790814201195507712}} 
[2026-08-10 13:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":152821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:49:48] local.INFO: GPS data processed {"connection_id":152821,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:49:48] local.INFO: Acknowledgment sent {"connection_id":152821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:49:59] local.INFO: TCP Data received {"connection_id":151494,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:49:59] local.INFO: Processing buffer {"connection_id":151494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:49:59] local.INFO: IMEI packet received {"connection_id":151494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":151494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:50:04] local.INFO: TCP Data received {"connection_id":151494,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:50:04] local.INFO: Processing buffer {"connection_id":151494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:50:04] local.INFO: IMEI packet received {"connection_id":151494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":151494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:50:05] local.INFO: TCP Data received {"connection_id":151494,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:50:05] local.INFO: Processing buffer {"connection_id":151494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabce1f8012d342a4006abc280000c010221..."} 
[2026-08-10 13:50:05] local.INFO: Packet analysis {"connection_id":151494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:50:05] local.INFO: Extracted packet for processing {"connection_id":151494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabc"} 
[2026-08-10 13:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305439744001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349675000,"timestamp_ms":1786349675000,"timestamp_seconds":1786349675,"priority":1,"record_length":96,"hex_timestamp":"0000019feabce1f8"} 
[2026-08-10 13:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13: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-08-10 13:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 13:50: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-08-10 13:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305439744001,"66":25375,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305439744001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:50:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305439744001,"power":25375,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":151494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:50:05] local.INFO: GPS data processed {"connection_id":151494,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:50:05] local.INFO: Acknowledgment sent {"connection_id":151494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:50:19] local.INFO: TCP Data received {"connection_id":152821,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabfdbb0012d18f7c00720d5c00039008425..."} 
[2026-08-10 13:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabfdbb0012d18f7c00720d5c00039008425..."} 
[2026-08-10 13:50:19] local.INFO: Processing buffer {"connection_id":152821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabfdbb0012d18f7c00720d5c00039008425..."} 
[2026-08-10 13:50:19] local.INFO: Packet analysis {"connection_id":152821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabf"} 
[2026-08-10 13:50:19] local.INFO: Extracted packet for processing {"connection_id":152821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabf"} 
[2026-08-10 13:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756611008,"raw_latitude":119592384,"longitude_deg":75.6611008,"latitude_deg":11.9592384,"altitude":57,"angle":132,"satellites":37,"speed":41,"hex_longitude":"2d18f7c0","hex_latitude":"0720d5c0","is_valid_coordinates":true} 
[2026-08-10 13:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305565952001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11385417135816704,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796865913192904704,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786349870000,"timestamp_ms":1786349870000,"timestamp_seconds":1786349870,"priority":1,"record_length":96,"hex_timestamp":"0000019feabfdbb0"} 
[2026-08-10 13:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 13:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305565952001,"66":12841,"103":206,"83":41984,"24":41,"16":11385417135816704,"45":1796865913192904704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305565952001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:50:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:50:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11385417135816704,"km_value":11385417135816.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796865913192904704,"description":"Unknown IO ID 45"} 
[2026-08-10 13:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305565952001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1796865913192904704}} 
[2026-08-10 13:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":152821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:50:20] local.INFO: GPS data processed {"connection_id":152821,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:50:20] local.INFO: Acknowledgment sent {"connection_id":152821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:50:36] local.INFO: TCP Data received {"connection_id":151494,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:50:36] local.INFO: Processing buffer {"connection_id":151494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:50:36] local.INFO: Packet analysis {"connection_id":151494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:50:36] local.INFO: Extracted packet for processing {"connection_id":151494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305516800001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786349976000,"timestamp_ms":1786349976000,"timestamp_seconds":1786349976,"priority":1,"record_length":96,"hex_timestamp":"0000019feac179c0"} 
[2026-08-10 13:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305516800001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305516800001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:50:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:50:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305516800001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":151494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:50:36] local.INFO: GPS data processed {"connection_id":151494,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:50:36] local.INFO: Acknowledgment sent {"connection_id":151494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:50:47] local.INFO: TCP Data received {"connection_id":151495,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:50:47] local.INFO: Processing buffer {"connection_id":151495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:50:47] local.INFO: IMEI packet received {"connection_id":151495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":151495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:50:52] local.INFO: TCP Data received {"connection_id":151495,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:50:52] local.INFO: Processing buffer {"connection_id":151495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:50:52] local.INFO: IMEI packet received {"connection_id":151495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":151495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:50:53] local.INFO: TCP Data received {"connection_id":151495,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feabfef38012d1908c00720ca200036007824..."} 
[2026-08-10 13:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feabfef38012d1908c00720ca200036007824..."} 
[2026-08-10 13:50:53] local.INFO: Processing buffer {"connection_id":151495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feabfef38012d1908c00720ca200036007824..."} 
[2026-08-10 13:50:53] local.INFO: Packet analysis {"connection_id":151495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feabf"} 
[2026-08-10 13:50:53] local.INFO: Extracted packet for processing {"connection_id":151495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feabf"} 
[2026-08-10 13:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756615360,"raw_latitude":119589408,"longitude_deg":75.661536,"latitude_deg":11.9589408,"altitude":54,"angle":120,"satellites":36,"speed":44,"hex_longitude":"2d1908c0","hex_latitude":"0720ca20","is_valid_coordinates":true} 
[2026-08-10 13:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305566720001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11385666243919872,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799117713005985792,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786349875000,"timestamp_ms":1786349875000,"timestamp_seconds":1786349875,"priority":1,"record_length":96,"hex_timestamp":"0000019feabfef38"} 
[2026-08-10 13:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 13:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305566720001,"66":12863,"103":206,"83":41984,"24":44,"16":11385666243919872,"45":1799117713005985792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305566720001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:50:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11385666243919872,"km_value":11385666243919.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799117713005985792,"description":"Unknown IO ID 45"} 
[2026-08-10 13:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305566720001,"power":12863,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1799117713005985792}} 
[2026-08-10 13:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":151495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:50:53] local.INFO: GPS data processed {"connection_id":151495,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:50:53] local.INFO: Acknowledgment sent {"connection_id":151495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:50:58] local.INFO: TCP Data received {"connection_id":151495,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac006a8012d1923400720be80002f006d24..."} 
[2026-08-10 13:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac006a8012d1923400720be80002f006d24..."} 
[2026-08-10 13:50:58] local.INFO: Processing buffer {"connection_id":151495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac006a8012d1923400720be80002f006d24..."} 
[2026-08-10 13:50:58] local.INFO: Packet analysis {"connection_id":151495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac0"} 
[2026-08-10 13:50:58] local.INFO: Extracted packet for processing {"connection_id":151495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac0"} 
[2026-08-10 13:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756622144,"raw_latitude":119586432,"longitude_deg":75.6622144,"latitude_deg":11.9586432,"altitude":47,"angle":109,"satellites":36,"speed":49,"hex_longitude":"2d192340","hex_latitude":"0720be80","is_valid_coordinates":true} 
[2026-08-10 13:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305568000001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11386022726205440,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803902787609305088,"note":"Value kept but may cause issues"} 
[2026-08-10 13:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786349881000,"timestamp_ms":1786349881000,"timestamp_seconds":1786349881,"priority":1,"record_length":96,"hex_timestamp":"0000019feac006a8"} 
[2026-08-10 13:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 13:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305568000001,"66":12841,"103":206,"83":41984,"24":49,"16":11386022726205440,"45":1803902787609305088},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305568000001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:50:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11386022726205440,"km_value":11386022726205.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803902787609305088,"description":"Unknown IO ID 45"} 
[2026-08-10 13:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305568000001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1803902787609305088}} 
[2026-08-10 13:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":151495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:50:58] local.INFO: GPS data processed {"connection_id":151495,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:50:58] local.INFO: Acknowledgment sent {"connection_id":151495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:51:04] local.INFO: TCP Data received {"connection_id":151496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:51:04] local.INFO: Processing buffer {"connection_id":151496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:51:04] local.INFO: IMEI packet received {"connection_id":151496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":151496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:51:09] local.INFO: TCP Data received {"connection_id":151496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:51:09] local.INFO: Processing buffer {"connection_id":151496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:51:09] local.INFO: IMEI packet received {"connection_id":151496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":151496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:51:11] local.INFO: TCP Data received {"connection_id":151496,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:51:11] local.INFO: Processing buffer {"connection_id":151496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:51:11] local.INFO: Packet analysis {"connection_id":151496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:51:11] local.INFO: Extracted packet for processing {"connection_id":151496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305516800001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786349976000,"timestamp_ms":1786349976000,"timestamp_seconds":1786349976,"priority":1,"record_length":96,"hex_timestamp":"0000019feac179c0"} 
[2026-08-10 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-08-10 13:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305516800001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305516800001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:51:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:51:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305516800001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":151496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:51:11] local.INFO: GPS data processed {"connection_id":151496,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:51:11] local.INFO: Acknowledgment sent {"connection_id":151496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:51:14] local.INFO: TCP Data received {"connection_id":151496,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:51:14] local.INFO: Processing buffer {"connection_id":151496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:51:14] local.INFO: Packet analysis {"connection_id":151496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:51:14] local.INFO: Extracted packet for processing {"connection_id":151496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305516800001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786349976000,"timestamp_ms":1786349976000,"timestamp_seconds":1786349976,"priority":1,"record_length":96,"hex_timestamp":"0000019feac179c0"} 
[2026-08-10 13:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305516800001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305516800001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:51:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305516800001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":151496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:51:14] local.INFO: GPS data processed {"connection_id":151496,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:51:14] local.INFO: Acknowledgment sent {"connection_id":151496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:51:42] local.INFO: TCP Data received {"connection_id":151888,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:51:42] local.INFO: Processing buffer {"connection_id":151888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:51:42] local.INFO: IMEI packet received {"connection_id":151888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":151888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:51:45] local.INFO: TCP Data received {"connection_id":151888,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:51:45] local.INFO: Processing buffer {"connection_id":151888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:51:45] local.INFO: IMEI packet received {"connection_id":151888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":151888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:51:46] local.INFO: TCP Data received {"connection_id":151888,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac28748012d196c000720acc80031004c29..."} 
[2026-08-10 13:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac28748012d196c000720acc80031004c29..."} 
[2026-08-10 13:51:46] local.INFO: Processing buffer {"connection_id":151888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac28748012d196c000720acc80031004c29..."} 
[2026-08-10 13:51:46] local.INFO: Packet analysis {"connection_id":151888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac2"} 
[2026-08-10 13:51:46] local.INFO: Extracted packet for processing {"connection_id":151888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac2"} 
[2026-08-10 13:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756640768,"raw_latitude":119581896,"longitude_deg":75.6640768,"latitude_deg":11.9581896,"altitude":49,"angle":76,"satellites":41,"speed":26,"hex_longitude":"2d196c00","hex_latitude":"0720acc8","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305610496001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11386967619010560,"note":"Value kept but may cause issues"} 
[2026-08-10 13:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829024429278711808,"note":"Value kept but may cause issues"} 
[2026-08-10 13:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786350045000,"timestamp_ms":1786350045000,"timestamp_seconds":1786350045,"priority":1,"record_length":96,"hex_timestamp":"0000019feac28748"} 
[2026-08-10 13:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-10 13:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305610496001,"66":14048,"103":206,"83":41984,"24":26,"16":11386967619010560,"45":1829024429278711808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305610496001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:51:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11386967619010560,"km_value":11386967619010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829024429278711808,"description":"Unknown IO ID 45"} 
[2026-08-10 13:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305610496001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1829024429278711808}} 
[2026-08-10 13:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":151888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:51:46] local.INFO: GPS data processed {"connection_id":151888,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:51:46] local.INFO: Acknowledgment sent {"connection_id":151888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:51:59] local.INFO: TCP Data received {"connection_id":151889,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:51:59] local.INFO: Processing buffer {"connection_id":151889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:51:59] local.INFO: IMEI packet received {"connection_id":151889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":151889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:52:04] local.INFO: TCP Data received {"connection_id":151889,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:52:04] local.INFO: Processing buffer {"connection_id":151889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:52:04] local.INFO: IMEI packet received {"connection_id":151889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":151889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:52:05] local.INFO: TCP Data received {"connection_id":151889,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:52:05] local.INFO: Processing buffer {"connection_id":151889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:52:05] local.INFO: Packet analysis {"connection_id":151889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:52:05] local.INFO: Extracted packet for processing {"connection_id":151889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305516800001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349976000,"timestamp_ms":1786349976000,"timestamp_seconds":1786349976,"priority":1,"record_length":96,"hex_timestamp":"0000019feac179c0"} 
[2026-08-10 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-08-10 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:52: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-08-10 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-08-10 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-08-10 13:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:52: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-08-10 13:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305516800001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305516800001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:52:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305516800001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":151889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:52:06] local.INFO: GPS data processed {"connection_id":151889,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:52:06] local.INFO: Acknowledgment sent {"connection_id":151889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:52:17] local.INFO: TCP Data received {"connection_id":151888,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac2b240012d198c400720b3e80034005a28..."} 
[2026-08-10 13:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac2b240012d198c400720b3e80034005a28..."} 
[2026-08-10 13:52:17] local.INFO: Processing buffer {"connection_id":151888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac2b240012d198c400720b3e80034005a28..."} 
[2026-08-10 13:52:17] local.INFO: Packet analysis {"connection_id":151888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac2"} 
[2026-08-10 13:52:17] local.INFO: Extracted packet for processing {"connection_id":151888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac2"} 
[2026-08-10 13:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583720,"longitude_deg":75.6649024,"latitude_deg":11.958372,"altitude":52,"angle":90,"satellites":40,"speed":30,"hex_longitude":"2d198c40","hex_latitude":"0720b3e8","is_valid_coordinates":true} 
[2026-08-10 13:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305611520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11387371345936384,"note":"Value kept but may cause issues"} 
[2026-08-10 13:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831839179045914624,"note":"Value kept but may cause issues"} 
[2026-08-10 13:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786350056000,"timestamp_ms":1786350056000,"timestamp_seconds":1786350056,"priority":1,"record_length":96,"hex_timestamp":"0000019feac2b240"} 
[2026-08-10 13:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 13:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305611520001,"66":14374,"103":206,"83":41984,"24":30,"16":11387371345936384,"45":1831839179045914624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305611520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:52:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:52:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11387371345936384,"km_value":11387371345936.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831839179045914624,"description":"Unknown IO ID 45"} 
[2026-08-10 13:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305611520001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1831839179045914624}} 
[2026-08-10 13:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":151888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:52:18] local.INFO: GPS data processed {"connection_id":151888,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:52:18] local.INFO: Acknowledgment sent {"connection_id":151888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:52:38] local.INFO: TCP Data received {"connection_id":151889,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:52:38] local.INFO: Processing buffer {"connection_id":151889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:52:38] local.INFO: Packet analysis {"connection_id":151889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:52:38] local.INFO: Extracted packet for processing {"connection_id":151889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305516800001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786349976000,"timestamp_ms":1786349976000,"timestamp_seconds":1786349976,"priority":1,"record_length":96,"hex_timestamp":"0000019feac179c0"} 
[2026-08-10 13:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:52: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-08-10 13:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305516800001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305516800001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:52:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305516800001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":151889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:52:38] local.INFO: GPS data processed {"connection_id":151889,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:52:38] local.INFO: Acknowledgment sent {"connection_id":151889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:52:42] local.INFO: TCP Data received {"connection_id":154273,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:52:42] local.INFO: Processing buffer {"connection_id":154273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:52:42] local.INFO: IMEI packet received {"connection_id":154273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":154273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:52:47] local.INFO: TCP Data received {"connection_id":154273,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:52:47] local.INFO: Processing buffer {"connection_id":154273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:52:47] local.INFO: IMEI packet received {"connection_id":154273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":154273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:52:48] local.INFO: TCP Data received {"connection_id":154273,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac38148012d19db000720b3280033005429..."} 
[2026-08-10 13:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac38148012d19db000720b3280033005429..."} 
[2026-08-10 13:52:48] local.INFO: Processing buffer {"connection_id":154273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac38148012d19db000720b3280033005429..."} 
[2026-08-10 13:52:48] local.INFO: Packet analysis {"connection_id":154273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac3"} 
[2026-08-10 13:52:48] local.INFO: Extracted packet for processing {"connection_id":154273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac3"} 
[2026-08-10 13:52:48] local.INFO: GPS Element Parsed {"raw_longitude":756669184,"raw_latitude":119583528,"longitude_deg":75.6669184,"latitude_deg":11.9583528,"altitude":51,"angle":84,"satellites":41,"speed":20,"hex_longitude":"2d19db00","hex_latitude":"0720b328","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305627392001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11388440792793088,"note":"Value kept but may cause issues"} 
[2026-08-10 13:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862027370298478592,"note":"Value kept but may cause issues"} 
[2026-08-10 13:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786350109000,"timestamp_ms":1786350109000,"timestamp_seconds":1786350109,"priority":1,"record_length":96,"hex_timestamp":"0000019feac38148"} 
[2026-08-10 13:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":92,"data_length":795,"current_offset":136} 
[2026-08-10 13:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305627392001,"66":14396,"103":206,"83":41984,"24":20,"16":11388440792793088,"45":1862027370298478592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305627392001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:52:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:52:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11388440792793088,"km_value":11388440792793.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862027370298478592,"description":"Unknown IO ID 45"} 
[2026-08-10 13:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305627392001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1862027370298478592}} 
[2026-08-10 13:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":154273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:52:48] local.INFO: GPS data processed {"connection_id":154273,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:52:48] local.INFO: Acknowledgment sent {"connection_id":154273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:52:59] local.INFO: TCP Data received {"connection_id":152822,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:52:59] local.INFO: Processing buffer {"connection_id":152822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:52:59] local.INFO: IMEI packet received {"connection_id":152822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":152822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:53:04] local.INFO: TCP Data received {"connection_id":152822,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:53:04] local.INFO: Processing buffer {"connection_id":152822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:53:04] local.INFO: IMEI packet received {"connection_id":152822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":152822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:53:05] local.INFO: TCP Data received {"connection_id":152822,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:53:05] local.INFO: Processing buffer {"connection_id":152822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:53:05] local.INFO: Packet analysis {"connection_id":152822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:53:05] local.INFO: Extracted packet for processing {"connection_id":152822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305516800001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349976000,"timestamp_ms":1786349976000,"timestamp_seconds":1786349976,"priority":1,"record_length":96,"hex_timestamp":"0000019feac179c0"} 
[2026-08-10 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-08-10 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:53: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-08-10 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-08-10 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-08-10 13:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305516800001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305516800001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:53:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305516800001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":152822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:53:05] local.INFO: GPS data processed {"connection_id":152822,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:53:05] local.INFO: Acknowledgment sent {"connection_id":152822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:53:19] local.INFO: TCP Data received {"connection_id":154273,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac38530012d19dd400720b3180034005f2a..."} 
[2026-08-10 13:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac38530012d19dd400720b3180034005f2a..."} 
[2026-08-10 13:53:19] local.INFO: Processing buffer {"connection_id":154273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac38530012d19dd400720b3180034005f2a..."} 
[2026-08-10 13:53:19] local.INFO: Packet analysis {"connection_id":154273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac3"} 
[2026-08-10 13:53:19] local.INFO: Extracted packet for processing {"connection_id":154273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac3"} 
[2026-08-10 13:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756669760,"raw_latitude":119583512,"longitude_deg":75.666976,"latitude_deg":11.9583512,"altitude":52,"angle":95,"satellites":42,"speed":22,"hex_longitude":"2d19dd40","hex_latitude":"0720b318","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305627904001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11388470857564160,"note":"Value kept but may cause issues"} 
[2026-08-10 13:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863082901461215232,"note":"Value kept but may cause issues"} 
[2026-08-10 13:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786350110000,"timestamp_ms":1786350110000,"timestamp_seconds":1786350110,"priority":1,"record_length":96,"hex_timestamp":"0000019feac38530"} 
[2026-08-10 13:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":60,"data_length":795,"current_offset":136} 
[2026-08-10 13:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305627904001,"66":14396,"103":206,"83":41984,"24":22,"16":11388470857564160,"45":1863082901461215232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305627904001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:53:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11388470857564160,"km_value":11388470857564.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863082901461215232,"description":"Unknown IO ID 45"} 
[2026-08-10 13:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305627904001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1863082901461215232}} 
[2026-08-10 13:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":154273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:53:19] local.INFO: GPS data processed {"connection_id":154273,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:53:19] local.INFO: Acknowledgment sent {"connection_id":154273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:53:36] local.INFO: TCP Data received {"connection_id":152822,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:53:36] local.INFO: Processing buffer {"connection_id":152822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:53:36] local.INFO: Packet analysis {"connection_id":152822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:53:36] local.INFO: Extracted packet for processing {"connection_id":152822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305516800001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786349976000,"timestamp_ms":1786349976000,"timestamp_seconds":1786349976,"priority":1,"record_length":96,"hex_timestamp":"0000019feac179c0"} 
[2026-08-10 13:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305516800001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305516800001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:53:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305516800001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":152822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:53:36] local.INFO: GPS data processed {"connection_id":152822,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:53:36] local.INFO: Acknowledgment sent {"connection_id":152822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:53:44] local.INFO: TCP Data received {"connection_id":151890,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:53:44] local.INFO: Processing buffer {"connection_id":151890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:53:44] local.INFO: IMEI packet received {"connection_id":151890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":151890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:53:45] local.INFO: TCP Data received {"connection_id":151890,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:53:45] local.INFO: Processing buffer {"connection_id":151890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:53:45] local.INFO: IMEI packet received {"connection_id":151890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":151890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:53:46] local.INFO: TCP Data received {"connection_id":151890,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac45ff0012d1a3d400720f818003c002629..."} 
[2026-08-10 13:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac45ff0012d1a3d400720f818003c002629..."} 
[2026-08-10 13:53:46] local.INFO: Processing buffer {"connection_id":151890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac45ff0012d1a3d400720f818003c002629..."} 
[2026-08-10 13:53:46] local.INFO: Packet analysis {"connection_id":151890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac4"} 
[2026-08-10 13:53:46] local.INFO: Extracted packet for processing {"connection_id":151890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac4"} 
[2026-08-10 13:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756694336,"raw_latitude":119601176,"longitude_deg":75.6694336,"latitude_deg":11.9601176,"altitude":60,"angle":38,"satellites":41,"speed":17,"hex_longitude":"2d1a3d40","hex_latitude":"0720f818","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305639424001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11390017045790720,"note":"Value kept but may cause issues"} 
[2026-08-10 13:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886656430763413504,"note":"Value kept but may cause issues"} 
[2026-08-10 13:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786350166000,"timestamp_ms":1786350166000,"timestamp_seconds":1786350166,"priority":1,"record_length":96,"hex_timestamp":"0000019feac45ff0"} 
[2026-08-10 13:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 13:53: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-08-10 13: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-08-10 13:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305639424001,"66":14396,"103":206,"83":41984,"24":17,"16":11390017045790720,"45":1886656430763413504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305639424001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:53:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11390017045790720,"km_value":11390017045790.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886656430763413504,"description":"Unknown IO ID 45"} 
[2026-08-10 13:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305639424001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1886656430763413504}} 
[2026-08-10 13:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":151890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:53:46] local.INFO: GPS data processed {"connection_id":151890,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:53:46] local.INFO: Acknowledgment sent {"connection_id":151890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:53:59] local.INFO: TCP Data received {"connection_id":154274,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:53:59] local.INFO: Processing buffer {"connection_id":154274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:53:59] local.INFO: IMEI packet received {"connection_id":154274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":154274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:54:04] local.INFO: TCP Data received {"connection_id":154274,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:54:04] local.INFO: Processing buffer {"connection_id":154274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:54:04] local.INFO: IMEI packet received {"connection_id":154274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":154274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:54:05] local.INFO: TCP Data received {"connection_id":154274,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:54:05] local.INFO: Processing buffer {"connection_id":154274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:54:05] local.INFO: Packet analysis {"connection_id":154274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:54:05] local.INFO: Extracted packet for processing {"connection_id":154274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305516800001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349976000,"timestamp_ms":1786349976000,"timestamp_seconds":1786349976,"priority":1,"record_length":96,"hex_timestamp":"0000019feac179c0"} 
[2026-08-10 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-08-10 13:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:54: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-08-10 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-08-10 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-08-10 13:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305516800001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305516800001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:54:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305516800001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":154274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:54:05] local.INFO: GPS data processed {"connection_id":154274,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:54:05] local.INFO: Acknowledgment sent {"connection_id":154274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:54:17] local.INFO: TCP Data received {"connection_id":151890,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac46ba8012d1a40400720fb20003c003229..."} 
[2026-08-10 13:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac46ba8012d1a40400720fb20003c003229..."} 
[2026-08-10 13:54:17] local.INFO: Processing buffer {"connection_id":151890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac46ba8012d1a40400720fb20003c003229..."} 
[2026-08-10 13:54:17] local.INFO: Packet analysis {"connection_id":151890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac4"} 
[2026-08-10 13:54:17] local.INFO: Extracted packet for processing {"connection_id":151890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac4"} 
[2026-08-10 13:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119601952,"longitude_deg":75.6695104,"latitude_deg":11.9601952,"altitude":60,"angle":50,"satellites":41,"speed":16,"hex_longitude":"2d1a4040","hex_latitude":"0720fb20","is_valid_coordinates":true} 
[2026-08-10 13:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305642496001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11390068585398272,"note":"Value kept but may cause issues"} 
[2026-08-10 13:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890737817927555072,"note":"Value kept but may cause issues"} 
[2026-08-10 13:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786350169000,"timestamp_ms":1786350169000,"timestamp_seconds":1786350169,"priority":1,"record_length":96,"hex_timestamp":"0000019feac46ba8"} 
[2026-08-10 13:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 13:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305642496001,"66":14070,"103":206,"83":41984,"24":16,"16":11390068585398272,"45":1890737817927555072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305642496001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:54:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11390068585398272,"km_value":11390068585398.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890737817927555072,"description":"Unknown IO ID 45"} 
[2026-08-10 13:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305642496001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1890737817927555072}} 
[2026-08-10 13:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":151890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:54:17] local.INFO: GPS data processed {"connection_id":151890,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:54:17] local.INFO: Acknowledgment sent {"connection_id":151890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:54:36] local.INFO: TCP Data received {"connection_id":154274,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:54:36] local.INFO: Processing buffer {"connection_id":154274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:54:36] local.INFO: Packet analysis {"connection_id":154274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:54:36] local.INFO: Extracted packet for processing {"connection_id":154274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305516800001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786349976000,"timestamp_ms":1786349976000,"timestamp_seconds":1786349976,"priority":1,"record_length":96,"hex_timestamp":"0000019feac179c0"} 
[2026-08-10 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-08-10 13:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305516800001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305516800001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:54:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305516800001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":154274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:54:36] local.INFO: GPS data processed {"connection_id":154274,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:54:36] local.INFO: Acknowledgment sent {"connection_id":154274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:54:50] local.INFO: TCP Data received {"connection_id":151497,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:54:50] local.INFO: Processing buffer {"connection_id":151497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:54:50] local.INFO: IMEI packet received {"connection_id":151497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":151497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:54:52] local.INFO: TCP Data received {"connection_id":151497,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:54:52] local.INFO: Processing buffer {"connection_id":151497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:54:52] local.INFO: IMEI packet received {"connection_id":151497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":151497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:54:52] local.INFO: TCP Data received {"connection_id":151497,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:54:52] local.INFO: Processing buffer {"connection_id":151497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:54:52] local.INFO: IMEI packet received {"connection_id":151497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":151497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:54:58] local.INFO: TCP Data received {"connection_id":151891,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:54:58] local.INFO: Processing buffer {"connection_id":151891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:54:58] local.INFO: IMEI packet received {"connection_id":151891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":151891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:55:02] local.INFO: TCP Data received {"connection_id":151497,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:55:02] local.INFO: Processing buffer {"connection_id":151497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:55:02] local.INFO: IMEI packet received {"connection_id":151497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":151497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:55:03] local.INFO: TCP Data received {"connection_id":151497,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac47378012d1a43800720fcc8003b004529..."} 
[2026-08-10 13:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac47378012d1a43800720fcc8003b004529..."} 
[2026-08-10 13:55:03] local.INFO: Processing buffer {"connection_id":151497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac47378012d1a43800720fcc8003b004529..."} 
[2026-08-10 13:55:03] local.INFO: Packet analysis {"connection_id":151497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac4"} 
[2026-08-10 13:55:03] local.INFO: Extracted packet for processing {"connection_id":151497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac4"} 
[2026-08-10 13:55:03] local.INFO: GPS Element Parsed {"raw_longitude":756695936,"raw_latitude":119602376,"longitude_deg":75.6695936,"latitude_deg":11.9602376,"altitude":59,"angle":69,"satellites":41,"speed":19,"hex_longitude":"2d1a4380","hex_latitude":"0720fcc8","is_valid_coordinates":true} 
[2026-08-10 13:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305643264001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11390111535071232,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242857885696,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786350171000,"timestamp_ms":1786350171000,"timestamp_seconds":1786350171,"priority":1,"record_length":96,"hex_timestamp":"0000019feac47378"} 
[2026-08-10 13:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 13:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305643264001,"66":14189,"103":206,"83":41984,"24":19,"16":11390111535071232,"45":1891582242857885696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305643264001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:55:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11390111535071232,"km_value":11390111535071.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242857885696,"description":"Unknown IO ID 45"} 
[2026-08-10 13:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305643264001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1891582242857885696}} 
[2026-08-10 13:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":151497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:55:04] local.INFO: GPS data processed {"connection_id":151497,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:55:04] local.INFO: Acknowledgment sent {"connection_id":151497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:55:04] local.INFO: TCP Data received {"connection_id":151891,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:55:04] local.INFO: Processing buffer {"connection_id":151891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:55:04] local.INFO: IMEI packet received {"connection_id":151891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":151891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:55:05] local.INFO: TCP Data received {"connection_id":151891,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:55:05] local.INFO: Processing buffer {"connection_id":151891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac179c0012d342a4006abc280000b010222..."} 
[2026-08-10 13:55:05] local.INFO: Packet analysis {"connection_id":151891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:55:05] local.INFO: Extracted packet for processing {"connection_id":151891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac1"} 
[2026-08-10 13:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305516800001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786349976000,"timestamp_ms":1786349976000,"timestamp_seconds":1786349976,"priority":1,"record_length":96,"hex_timestamp":"0000019feac179c0"} 
[2026-08-10 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-08-10 13:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 13:55: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-08-10 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-08-10 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-08-10 13:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305516800001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305516800001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:55:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305516800001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":151891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:55:05] local.INFO: GPS data processed {"connection_id":151891,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:55:05] local.INFO: Acknowledgment sent {"connection_id":151891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:55:39] local.INFO: TCP Data received {"connection_id":151891,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:55:39] local.INFO: Processing buffer {"connection_id":151891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:55:39] local.INFO: Packet analysis {"connection_id":151891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:55:39] local.INFO: Extracted packet for processing {"connection_id":151891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305593856001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786350277000,"timestamp_ms":1786350277000,"timestamp_seconds":1786350277,"priority":1,"record_length":96,"hex_timestamp":"0000019feac61188"} 
[2026-08-10 13:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 13:55: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-08-10 13:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305593856001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305593856001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:55:39] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:55:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305593856001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":151891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:55:39] local.INFO: GPS data processed {"connection_id":151891,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:55:39] local.INFO: Acknowledgment sent {"connection_id":151891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:55:42] local.INFO: TCP Data received {"connection_id":151892,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:55:42] local.INFO: Processing buffer {"connection_id":151892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:55:42] local.INFO: IMEI packet received {"connection_id":151892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":151892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:55:44] local.INFO: TCP Data received {"connection_id":151892,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:55:44] local.INFO: Processing buffer {"connection_id":151892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:55:44] local.INFO: IMEI packet received {"connection_id":151892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":151892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:55:47] local.INFO: TCP Data received {"connection_id":151892,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:55:47] local.INFO: Processing buffer {"connection_id":151892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:55:47] local.INFO: IMEI packet received {"connection_id":151892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":151892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:55:48] local.INFO: TCP Data received {"connection_id":151892,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac609b8012d1aad0007213ac8003f00cf23..."} 
[2026-08-10 13:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac609b8012d1aad0007213ac8003f00cf23..."} 
[2026-08-10 13:55:48] local.INFO: Processing buffer {"connection_id":151892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac609b8012d1aad0007213ac8003f00cf23..."} 
[2026-08-10 13:55:48] local.INFO: Packet analysis {"connection_id":151892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:55:48] local.INFO: Extracted packet for processing {"connection_id":151892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756722944,"raw_latitude":119618248,"longitude_deg":75.6722944,"latitude_deg":11.9618248,"altitude":63,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2d1aad00","hex_latitude":"07213ac8","is_valid_coordinates":true} 
[2026-08-10 13:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305665024001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391739327676416,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922122277835165696,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786350275000,"timestamp_ms":1786350275000,"timestamp_seconds":1786350275,"priority":1,"record_length":96,"hex_timestamp":"0000019feac609b8"} 
[2026-08-10 13:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 13:55: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-08-10 13:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305665024001,"66":14428,"103":206,"83":41984,"24":0,"16":11391739327676416,"45":1922122277835165696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305665024001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:55:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:55:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391739327676416,"km_value":11391739327676.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922122277835165696,"description":"Unknown IO ID 45"} 
[2026-08-10 13:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305665024001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1922122277835165696}} 
[2026-08-10 13:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":151892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:55:49] local.INFO: GPS data processed {"connection_id":151892,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:55:49] local.INFO: Acknowledgment sent {"connection_id":151892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:55:50] local.INFO: TCP Data received {"connection_id":151892,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac65bc0012d1aad0007213ac8003f00cf26..."} 
[2026-08-10 13:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac65bc0012d1aad0007213ac8003f00cf26..."} 
[2026-08-10 13:55:50] local.INFO: Processing buffer {"connection_id":151892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac65bc0012d1aad0007213ac8003f00cf26..."} 
[2026-08-10 13:55:50] local.INFO: Packet analysis {"connection_id":151892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:55:50] local.INFO: Extracted packet for processing {"connection_id":151892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756722944,"raw_latitude":119618248,"longitude_deg":75.6722944,"latitude_deg":11.9618248,"altitude":63,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d1aad00","hex_latitude":"07213ac8","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305670400001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391739327676416,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922192646579341312,"note":"Value kept but may cause issues"} 
[2026-08-10 13:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786350296000,"timestamp_ms":1786350296000,"timestamp_seconds":1786350296,"priority":1,"record_length":96,"hex_timestamp":"0000019feac65bc0"} 
[2026-08-10 13:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 13:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305670400001,"66":13624,"103":206,"83":41984,"24":0,"16":11391739327676416,"45":1922192646579341312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305670400001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:55:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391739327676416,"km_value":11391739327676.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922192646579341312,"description":"Unknown IO ID 45"} 
[2026-08-10 13:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305670400001,"power":13624,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1922192646579341312}} 
[2026-08-10 13:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":151892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:55:50] local.INFO: GPS data processed {"connection_id":151892,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:55:50] local.INFO: Acknowledgment sent {"connection_id":151892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:55:59] local.INFO: TCP Data received {"connection_id":151498,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:55:59] local.INFO: Processing buffer {"connection_id":151498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:55:59] local.INFO: IMEI packet received {"connection_id":151498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":151498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:56:04] local.INFO: TCP Data received {"connection_id":151498,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:56:04] local.INFO: Processing buffer {"connection_id":151498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:56:04] local.INFO: IMEI packet received {"connection_id":151498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":151498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:56:05] local.INFO: TCP Data received {"connection_id":151498,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:56:05] local.INFO: Processing buffer {"connection_id":151498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:56:05] local.INFO: Packet analysis {"connection_id":151498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:56:05] local.INFO: Extracted packet for processing {"connection_id":151498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305593856001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786350277000,"timestamp_ms":1786350277000,"timestamp_seconds":1786350277,"priority":1,"record_length":96,"hex_timestamp":"0000019feac61188"} 
[2026-08-10 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-08-10 13: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-08-10 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 13:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305593856001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305593856001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:56:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305593856001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":151498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:56:05] local.INFO: GPS data processed {"connection_id":151498,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:56:05] local.INFO: Acknowledgment sent {"connection_id":151498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:56:21] local.INFO: TCP Data received {"connection_id":151892,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac682d0012d1aa7c007213068003f00da25..."} 
[2026-08-10 13:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac682d0012d1aa7c007213068003f00da25..."} 
[2026-08-10 13:56:21] local.INFO: Processing buffer {"connection_id":151892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac682d0012d1aa7c007213068003f00da25..."} 
[2026-08-10 13:56:21] local.INFO: Packet analysis {"connection_id":151892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:56:21] local.INFO: Extracted packet for processing {"connection_id":151892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:56:21] local.INFO: GPS Element Parsed {"raw_longitude":756721600,"raw_latitude":119615592,"longitude_deg":75.67216,"latitude_deg":11.9615592,"altitude":63,"angle":218,"satellites":37,"speed":13,"hex_longitude":"2d1aa7c0","hex_latitude":"07213068","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305675776001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391885356564480,"note":"Value kept but may cause issues"} 
[2026-08-10 13:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922192646579341312,"note":"Value kept but may cause issues"} 
[2026-08-10 13:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786350306000,"timestamp_ms":1786350306000,"timestamp_seconds":1786350306,"priority":1,"record_length":96,"hex_timestamp":"0000019feac682d0"} 
[2026-08-10 13:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-10 13:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305675776001,"66":14374,"103":206,"83":41984,"24":13,"16":11391885356564480,"45":1922192646579341312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305675776001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:56:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:56:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391885356564480,"km_value":11391885356564.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922192646579341312,"description":"Unknown IO ID 45"} 
[2026-08-10 13:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305675776001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1922192646579341312}} 
[2026-08-10 13:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":151892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:56:21] local.INFO: GPS data processed {"connection_id":151892,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:56:21] local.INFO: Acknowledgment sent {"connection_id":151892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:56:36] local.INFO: TCP Data received {"connection_id":151498,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:56:36] local.INFO: Processing buffer {"connection_id":151498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:56:36] local.INFO: Packet analysis {"connection_id":151498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:56:36] local.INFO: Extracted packet for processing {"connection_id":151498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305593856001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786350277000,"timestamp_ms":1786350277000,"timestamp_seconds":1786350277,"priority":1,"record_length":96,"hex_timestamp":"0000019feac61188"} 
[2026-08-10 13:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13: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-08-10 13:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 13:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305593856001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305593856001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:56:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305593856001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":151498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:56:36] local.INFO: GPS data processed {"connection_id":151498,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:56:36] local.INFO: Acknowledgment sent {"connection_id":151498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:56:43] local.INFO: TCP Data received {"connection_id":151499,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:56:43] local.INFO: Processing buffer {"connection_id":151499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:56:43] local.INFO: IMEI packet received {"connection_id":151499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":151499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:56:47] local.INFO: TCP Data received {"connection_id":151499,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:56:47] local.INFO: Processing buffer {"connection_id":151499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:56:47] local.INFO: IMEI packet received {"connection_id":151499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":151499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:56:48] local.INFO: TCP Data received {"connection_id":151499,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac69658012d1aa4c007212ce0004000ec25..."} 
[2026-08-10 13:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac69658012d1aa4c007212ce0004000ec25..."} 
[2026-08-10 13:56:48] local.INFO: Processing buffer {"connection_id":151499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac69658012d1aa4c007212ce0004000ec25..."} 
[2026-08-10 13:56:48] local.INFO: Packet analysis {"connection_id":151499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:56:48] local.INFO: Extracted packet for processing {"connection_id":151499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756720832,"raw_latitude":119614688,"longitude_deg":75.6720832,"latitude_deg":11.9614688,"altitude":64,"angle":236,"satellites":37,"speed":8,"hex_longitude":"2d1aa4c0","hex_latitude":"07212ce0","is_valid_coordinates":true} 
[2026-08-10 13:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305678336001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391945486106624,"note":"Value kept but may cause issues"} 
[2026-08-10 13:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920714902950930432,"note":"Value kept but may cause issues"} 
[2026-08-10 13:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786350311000,"timestamp_ms":1786350311000,"timestamp_seconds":1786350311,"priority":1,"record_length":96,"hex_timestamp":"0000019feac69658"} 
[2026-08-10 13:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 13:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305678336001,"66":14363,"103":206,"83":41984,"24":8,"16":11391945486106624,"45":1920714902950930432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305678336001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:56:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391945486106624,"km_value":11391945486106.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920714902950930432,"description":"Unknown IO ID 45"} 
[2026-08-10 13:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305678336001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1920714902950930432}} 
[2026-08-10 13:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":151499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:56:48] local.INFO: GPS data processed {"connection_id":151499,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:56:48] local.INFO: Acknowledgment sent {"connection_id":151499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:56:59] local.INFO: TCP Data received {"connection_id":151893,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:56:59] local.INFO: Processing buffer {"connection_id":151893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:56:59] local.INFO: IMEI packet received {"connection_id":151893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":151893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:57:04] local.INFO: TCP Data received {"connection_id":151893,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:57:04] local.INFO: Processing buffer {"connection_id":151893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:57:04] local.INFO: IMEI packet received {"connection_id":151893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":151893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:57:07] local.INFO: TCP Data received {"connection_id":151893,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:57:07] local.INFO: Processing buffer {"connection_id":151893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:57:07] local.INFO: Packet analysis {"connection_id":151893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:57:07] local.INFO: Extracted packet for processing {"connection_id":151893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305593856001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786350277000,"timestamp_ms":1786350277000,"timestamp_seconds":1786350277,"priority":1,"record_length":96,"hex_timestamp":"0000019feac61188"} 
[2026-08-10 13:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:57: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-08-10 13:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 13:57: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-08-10 13:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305593856001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305593856001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:57:07] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305593856001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":151893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:57:07] local.INFO: GPS data processed {"connection_id":151893,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:57:07] local.INFO: Acknowledgment sent {"connection_id":151893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:57:19] local.INFO: TCP Data received {"connection_id":151499,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac7caf0012d1a2b400720d6a8003e00e928..."} 
[2026-08-10 13:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac7caf0012d1a2b400720d6a8003e00e928..."} 
[2026-08-10 13:57:19] local.INFO: Processing buffer {"connection_id":151499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac7caf0012d1a2b400720d6a8003e00e928..."} 
[2026-08-10 13:57:19] local.INFO: Packet analysis {"connection_id":151499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac7"} 
[2026-08-10 13:57:19] local.INFO: Extracted packet for processing {"connection_id":151499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac7"} 
[2026-08-10 13:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756689728,"raw_latitude":119592616,"longitude_deg":75.6689728,"latitude_deg":11.9592616,"altitude":62,"angle":233,"satellites":40,"speed":21,"hex_longitude":"2d1a2b40","hex_latitude":"0720d6a8","is_valid_coordinates":true} 
[2026-08-10 13:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305699328001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11393848156618752,"note":"Value kept but may cause issues"} 
[2026-08-10 13:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886656430763255808,"note":"Value kept but may cause issues"} 
[2026-08-10 13:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786350390000,"timestamp_ms":1786350390000,"timestamp_seconds":1786350390,"priority":1,"record_length":96,"hex_timestamp":"0000019feac7caf0"} 
[2026-08-10 13:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:57: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-08-10 13:57: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-08-10 13:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305699328001,"66":14461,"103":206,"83":41984,"24":21,"16":11393848156618752,"45":1886656430763255808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305699328001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:57:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11393848156618752,"km_value":11393848156618.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886656430763255808,"description":"Unknown IO ID 45"} 
[2026-08-10 13:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305699328001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1886656430763255808}} 
[2026-08-10 13:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":151499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:57:19] local.INFO: GPS data processed {"connection_id":151499,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:57:19] local.INFO: Acknowledgment sent {"connection_id":151499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:57:39] local.INFO: TCP Data received {"connection_id":151893,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:57:39] local.INFO: Processing buffer {"connection_id":151893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:57:39] local.INFO: Packet analysis {"connection_id":151893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:57:39] local.INFO: Extracted packet for processing {"connection_id":151893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305593856001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786350277000,"timestamp_ms":1786350277000,"timestamp_seconds":1786350277,"priority":1,"record_length":96,"hex_timestamp":"0000019feac61188"} 
[2026-08-10 13:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 13:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 13:57: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-08-10 13:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305593856001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305593856001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:57:39] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:57:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305593856001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":151893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:57:39] local.INFO: GPS data processed {"connection_id":151893,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:57:39] local.INFO: Acknowledgment sent {"connection_id":151893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:57:42] local.INFO: TCP Data received {"connection_id":151894,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:57:42] local.INFO: Processing buffer {"connection_id":151894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:57:42] local.INFO: IMEI packet received {"connection_id":151894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":151894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:57:42] local.INFO: TCP Data received {"connection_id":151894,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:57:42] local.INFO: Processing buffer {"connection_id":151894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:57:42] local.INFO: IMEI packet received {"connection_id":151894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":151894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:57:47] local.INFO: TCP Data received {"connection_id":151894,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:57:47] local.INFO: Processing buffer {"connection_id":151894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:57:47] local.INFO: IMEI packet received {"connection_id":151894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":151894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:57:48] local.INFO: TCP Data received {"connection_id":151894,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac7de78012d1a22800720d1a0003d00f528..."} 
[2026-08-10 13:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac7de78012d1a22800720d1a0003d00f528..."} 
[2026-08-10 13:57:48] local.INFO: Processing buffer {"connection_id":151894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac7de78012d1a22800720d1a0003d00f528..."} 
[2026-08-10 13:57:48] local.INFO: Packet analysis {"connection_id":151894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac7"} 
[2026-08-10 13:57:48] local.INFO: Extracted packet for processing {"connection_id":151894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac7"} 
[2026-08-10 13:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756687488,"raw_latitude":119591328,"longitude_deg":75.6687488,"latitude_deg":11.9591328,"altitude":61,"angle":245,"satellites":40,"speed":17,"hex_longitude":"2d1a2280","hex_latitude":"0720d1a0","is_valid_coordinates":true} 
[2026-08-10 13:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305699840001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11393972710670336,"note":"Value kept but may cause issues"} 
[2026-08-10 13:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885671268344571904,"note":"Value kept but may cause issues"} 
[2026-08-10 13:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786350395000,"timestamp_ms":1786350395000,"timestamp_seconds":1786350395,"priority":1,"record_length":96,"hex_timestamp":"0000019feac7de78"} 
[2026-08-10 13:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:57: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-08-10 13: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 13:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305699840001,"66":14461,"103":206,"83":41984,"24":17,"16":11393972710670336,"45":1885671268344571904},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305699840001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:57:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:57:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11393972710670336,"km_value":11393972710670.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885671268344571904,"description":"Unknown IO ID 45"} 
[2026-08-10 13:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305699840001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1885671268344571904}} 
[2026-08-10 13:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":151894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:57:48] local.INFO: GPS data processed {"connection_id":151894,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:57:48] local.INFO: Acknowledgment sent {"connection_id":151894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:57:59] local.INFO: TCP Data received {"connection_id":151895,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:57:59] local.INFO: Processing buffer {"connection_id":151895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:57:59] local.INFO: IMEI packet received {"connection_id":151895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":151895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:58:04] local.INFO: TCP Data received {"connection_id":151895,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:58:04] local.INFO: Processing buffer {"connection_id":151895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:58:04] local.INFO: IMEI packet received {"connection_id":151895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":151895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:58:05] local.INFO: TCP Data received {"connection_id":151895,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:58:05] local.INFO: Processing buffer {"connection_id":151895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:58:05] local.INFO: Packet analysis {"connection_id":151895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:58:05] local.INFO: Extracted packet for processing {"connection_id":151895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305593856001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786350277000,"timestamp_ms":1786350277000,"timestamp_seconds":1786350277,"priority":1,"record_length":96,"hex_timestamp":"0000019feac61188"} 
[2026-08-10 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-08-10 13:58: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-08-10 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 13:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305593856001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305593856001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:58:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305593856001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":151895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:58:05] local.INFO: GPS data processed {"connection_id":151895,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:58:05] local.INFO: Acknowledgment sent {"connection_id":151895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:58:19] local.INFO: TCP Data received {"connection_id":151894,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac7f200012d1a19400720cd08003a00e427..."} 
[2026-08-10 13:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac7f200012d1a19400720cd08003a00e427..."} 
[2026-08-10 13:58:19] local.INFO: Processing buffer {"connection_id":151894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac7f200012d1a19400720cd08003a00e427..."} 
[2026-08-10 13:58:19] local.INFO: Packet analysis {"connection_id":151894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac7"} 
[2026-08-10 13:58:19] local.INFO: Extracted packet for processing {"connection_id":151894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac7"} 
[2026-08-10 13:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756685120,"raw_latitude":119590152,"longitude_deg":75.668512,"latitude_deg":11.9590152,"altitude":58,"angle":228,"satellites":39,"speed":19,"hex_longitude":"2d1a1940","hex_latitude":"0720cd08","is_valid_coordinates":true} 
[2026-08-10 13:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305701120001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11394101559689216,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883208362298023936,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786350400000,"timestamp_ms":1786350400000,"timestamp_seconds":1786350400,"priority":1,"record_length":96,"hex_timestamp":"0000019feac7f200"} 
[2026-08-10 13:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 13:58: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-08-10 13:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305701120001,"66":14450,"103":206,"83":41984,"24":19,"16":11394101559689216,"45":1883208362298023936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305701120001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:58:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11394101559689216,"km_value":11394101559689.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883208362298023936,"description":"Unknown IO ID 45"} 
[2026-08-10 13:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305701120001,"power":14450,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1883208362298023936}} 
[2026-08-10 13:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":151894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:58:19] local.INFO: GPS data processed {"connection_id":151894,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:58:19] local.INFO: Acknowledgment sent {"connection_id":151894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:58:36] local.INFO: TCP Data received {"connection_id":151895,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:58:36] local.INFO: Processing buffer {"connection_id":151895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:58:36] local.INFO: Packet analysis {"connection_id":151895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:58:36] local.INFO: Extracted packet for processing {"connection_id":151895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305593856001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786350277000,"timestamp_ms":1786350277000,"timestamp_seconds":1786350277,"priority":1,"record_length":96,"hex_timestamp":"0000019feac61188"} 
[2026-08-10 13:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:58: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-08-10 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 13:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305593856001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305593856001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:58:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305593856001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":151895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:58:36] local.INFO: GPS data processed {"connection_id":151895,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:58:36] local.INFO: Acknowledgment sent {"connection_id":151895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:58:42] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:58:42] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:58:42] local.INFO: IMEI packet received {"connection_id":152823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":152823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:58:45] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:58:45] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:58:45] local.INFO: IMEI packet received {"connection_id":152823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":152823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:58:47] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:58:47] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:58:47] local.INFO: IMEI packet received {"connection_id":152823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":152823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:58:48] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac8b168012d19c0000720a6280032012228..."} 
[2026-08-10 13:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac8b168012d19c0000720a6280032012228..."} 
[2026-08-10 13:58:48] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac8b168012d19c0000720a6280032012228..."} 
[2026-08-10 13:58:48] local.INFO: Packet analysis {"connection_id":152823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac8"} 
[2026-08-10 13:58:48] local.INFO: Extracted packet for processing {"connection_id":152823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac8"} 
[2026-08-10 13:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756662272,"raw_latitude":119580200,"longitude_deg":75.6662272,"latitude_deg":11.95802,"altitude":50,"angle":290,"satellites":40,"speed":19,"hex_longitude":"2d19c000","hex_latitude":"0720a628","is_valid_coordinates":true} 
[2026-08-10 13:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305714176001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11395355690139648,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558205157376,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786350449000,"timestamp_ms":1786350449000,"timestamp_seconds":1786350449,"priority":1,"record_length":96,"hex_timestamp":"0000019feac8b168"} 
[2026-08-10 13:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:58: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-08-10 13:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6977931343,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3939002160,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84752445771030706,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503773500866560,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3362973697,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2933915696,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2147950769,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":13793429876118784,"note":"Value kept but may cause issues"} 
[2026-08-10 13:58:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,123,159,45,192,164,49,40,10,66,153,38,150,1,240,60,227,234,32,4,113,205,19,107,215,176,239,55,2,7,48,20,206,104],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-10 13:58:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531127939595763712,"timestamp_seconds":3531127939595763.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 13:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305714176001,"66":14026,"103":206,"83":41984,"24":19,"16":11395355690139648,"45":1857101558205157376},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305714176001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:58:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:58:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11395355690139648,"km_value":11395355690139.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558205157376,"description":"Unknown IO ID 45"} 
[2026-08-10 13:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305714176001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1857101558205157376}} 
[2026-08-10 13:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":152823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:58:48] local.INFO: GPS data processed {"connection_id":152823,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:58:48] local.INFO: Acknowledgment sent {"connection_id":152823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:58:58] local.INFO: TCP Data received {"connection_id":151896,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:58:58] local.INFO: Processing buffer {"connection_id":151896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:58:58] local.INFO: IMEI packet received {"connection_id":151896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 13:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":151896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:59:04] local.INFO: TCP Data received {"connection_id":151896,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:59:04] local.INFO: Processing buffer {"connection_id":151896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 13:59:04] local.INFO: IMEI packet received {"connection_id":151896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 13:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":151896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:59:05] local.INFO: TCP Data received {"connection_id":151896,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:59:05] local.INFO: Processing buffer {"connection_id":151896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:59:05] local.INFO: Packet analysis {"connection_id":151896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:59:05] local.INFO: Extracted packet for processing {"connection_id":151896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 13:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305593856001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786350277000,"timestamp_ms":1786350277000,"timestamp_seconds":1786350277,"priority":1,"record_length":96,"hex_timestamp":"0000019feac61188"} 
[2026-08-10 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-08-10 13: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-08-10 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 13:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 13:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305593856001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305593856001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:59:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305593856001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":151896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:59:05] local.INFO: GPS data processed {"connection_id":151896,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:59:05] local.INFO: Acknowledgment sent {"connection_id":151896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:59:19] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feac9b338012d1986c00720e1d00040002b27..."} 
[2026-08-10 13:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac9b338012d1986c00720e1d00040002b27..."} 
[2026-08-10 13:59:19] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac9b338012d1986c00720e1d00040002b27..."} 
[2026-08-10 13:59:19] local.INFO: Packet analysis {"connection_id":152823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac9"} 
[2026-08-10 13:59:19] local.INFO: Extracted packet for processing {"connection_id":152823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac9"} 
[2026-08-10 13:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756647616,"raw_latitude":119595472,"longitude_deg":75.6647616,"latitude_deg":11.9595472,"altitude":64,"angle":43,"satellites":39,"speed":11,"hex_longitude":"2d1986c0","hex_latitude":"0720e1d0","is_valid_coordinates":true} 
[2026-08-10 13:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305731584001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11396627000459264,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839157528443797504,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786350515000,"timestamp_ms":1786350515000,"timestamp_seconds":1786350515,"priority":1,"record_length":96,"hex_timestamp":"0000019feac9b338"} 
[2026-08-10 13:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:59: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-08-10 13:59: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-08-10 13:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305731584001,"66":14461,"103":206,"83":41984,"24":11,"16":11396627000459264,"45":1839157528443797504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305731584001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:59:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:59:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11396627000459264,"km_value":11396627000459.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839157528443797504,"description":"Unknown IO ID 45"} 
[2026-08-10 13:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305731584001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1839157528443797504}} 
[2026-08-10 13:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":152823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:59:19] local.INFO: GPS data processed {"connection_id":152823,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:59:19] local.INFO: Acknowledgment sent {"connection_id":152823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:59:36] local.INFO: TCP Data received {"connection_id":151896,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:59:36] local.INFO: Processing buffer {"connection_id":151896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 13:59:36] local.INFO: Packet analysis {"connection_id":151896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:59:36] local.INFO: Extracted packet for processing {"connection_id":151896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 13:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 13: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-08-10 13:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305593856001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786350277000,"timestamp_ms":1786350277000,"timestamp_seconds":1786350277,"priority":1,"record_length":96,"hex_timestamp":"0000019feac61188"} 
[2026-08-10 13:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:59: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-08-10 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 13:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13: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-08-10 13:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 13:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 13:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 13:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305593856001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 13:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 13:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 13:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305593856001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:59:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 13:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 13:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 13:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305593856001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 13:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":151896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:59:36] local.INFO: GPS data processed {"connection_id":151896,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:59:36] local.INFO: Acknowledgment sent {"connection_id":151896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:59:43] local.INFO: TCP Data received {"connection_id":152824,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:59:43] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:59:43] local.INFO: IMEI packet received {"connection_id":152824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 13:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":152824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 13:59:46] local.INFO: TCP Data received {"connection_id":152824,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:59:46] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:59:46] local.INFO: IMEI packet received {"connection_id":152824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":152824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:59:47] local.INFO: TCP Data received {"connection_id":152824,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:59:47] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:59:47] local.INFO: IMEI packet received {"connection_id":152824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":152824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:59:48] local.INFO: TCP Data received {"connection_id":152824,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:59:48] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 13:59:48] local.INFO: IMEI packet received {"connection_id":152824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 13:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":152824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 13:59:49] local.INFO: TCP Data received {"connection_id":152824,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaca2868012d198ac00720e520004000e329..."} 
[2026-08-10 13:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaca2868012d198ac00720e520004000e329..."} 
[2026-08-10 13:59:49] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaca2868012d198ac00720e520004000e329..."} 
[2026-08-10 13:59:49] local.INFO: Packet analysis {"connection_id":152824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 13:59:49] local.INFO: Extracted packet for processing {"connection_id":152824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 13:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756648640,"raw_latitude":119596320,"longitude_deg":75.664864,"latitude_deg":11.959632,"altitude":64,"angle":227,"satellites":41,"speed":12,"hex_longitude":"2d198ac0","hex_latitude":"0720e520","is_valid_coordinates":true} 
[2026-08-10 13:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305739008001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11396871813595136,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841057484536942592,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786350545000,"timestamp_ms":1786350545000,"timestamp_seconds":1786350545,"priority":1,"record_length":96,"hex_timestamp":"0000019feaca2868"} 
[2026-08-10 13:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-10 13:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3939097160,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:49] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3389853697,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:49] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3897032767,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-10 13:59:49] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,103,83,24,241,157,16,125,159,45,230,63,40,10,66,20,128,1,240,227,234,32,4,113,205,7,222,143,8,239,53,2],"length":479,"final_offset":609,"validated_count":32,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-10 13:59:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611973167056683008,"timestamp_seconds":4611973167056683.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 13:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305739008001,"66":14048,"103":206,"83":41984,"24":12,"16":11396871813595136,"45":1841057484536942592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305739008001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:59:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11396871813595136,"km_value":11396871813595.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841057484536942592,"description":"Unknown IO ID 45"} 
[2026-08-10 13:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305739008001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1841057484536942592}} 
[2026-08-10 13:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":152824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:59:49] local.INFO: GPS data processed {"connection_id":152824,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:59:49] local.INFO: Acknowledgment sent {"connection_id":152824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 13:59:49] local.INFO: TCP Data received {"connection_id":152824,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaca3420012d1988000720e2a0004000ef29..."} 
[2026-08-10 13:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaca3420012d1988000720e2a0004000ef29..."} 
[2026-08-10 13:59:49] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaca3420012d1988000720e2a0004000ef29..."} 
[2026-08-10 13:59:49] local.INFO: Packet analysis {"connection_id":152824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 13:59:49] local.INFO: Extracted packet for processing {"connection_id":152824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 13:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756647936,"raw_latitude":119595680,"longitude_deg":75.6647936,"latitude_deg":11.959568,"altitude":64,"angle":239,"satellites":41,"speed":11,"hex_longitude":"2d198800","hex_latitude":"0720e2a0","is_valid_coordinates":true} 
[2026-08-10 13:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 13:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305739520001,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11396919058235392,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840494534583459840,"note":"Value kept but may cause issues"} 
[2026-08-10 13:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 13:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786350548000,"timestamp_ms":1786350548000,"timestamp_seconds":1786350548,"priority":1,"record_length":96,"hex_timestamp":"0000019feaca3420"} 
[2026-08-10 13:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 13:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 13:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 13:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 13:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 13:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 13:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 13:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 13:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 13:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 13:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 13:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 13:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305739520001,"66":14070,"103":206,"83":41984,"24":11,"16":11396919058235392,"45":1840494534583459840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 13:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 13:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 13:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305739520001,"description":"Unknown IO ID 0"} 
[2026-08-10 13:59:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 13:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 13:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11396919058235392,"km_value":11396919058235.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 13:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840494534583459840,"description":"Unknown IO ID 45"} 
[2026-08-10 13:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305739520001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1840494534583459840}} 
[2026-08-10 13:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":152824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 13:59:49] local.INFO: GPS data processed {"connection_id":152824,"processed":1,"errors":0,"total":1} 
[2026-08-10 13:59:49] local.INFO: Acknowledgment sent {"connection_id":152824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:00:04] local.INFO: TCP Data received {"connection_id":151897,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:00:04] local.INFO: Processing buffer {"connection_id":151897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:00:04] local.INFO: IMEI packet received {"connection_id":151897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":151897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:00:09] local.INFO: TCP Data received {"connection_id":151897,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:00:09] local.INFO: Processing buffer {"connection_id":151897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:00:09] local.INFO: IMEI packet received {"connection_id":151897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":151897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:00:09] local.INFO: TCP Data received {"connection_id":151897,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 14:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 14:00:09] local.INFO: Processing buffer {"connection_id":151897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 14:00:09] local.INFO: Packet analysis {"connection_id":151897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 14:00:09] local.INFO: Extracted packet for processing {"connection_id":151897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 14:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305593856001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786350277000,"timestamp_ms":1786350277000,"timestamp_seconds":1786350277,"priority":1,"record_length":96,"hex_timestamp":"0000019feac61188"} 
[2026-08-10 14:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:00: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-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305593856001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305593856001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:00:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305593856001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":151897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:00:09] local.INFO: GPS data processed {"connection_id":151897,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:00:09] local.INFO: Acknowledgment sent {"connection_id":151897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:00:14] local.INFO: TCP Data received {"connection_id":151897,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 14:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 14:00:14] local.INFO: Processing buffer {"connection_id":151897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feac61188012d342a4006abc280000b010222..."} 
[2026-08-10 14:00:14] local.INFO: Packet analysis {"connection_id":151897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 14:00:14] local.INFO: Extracted packet for processing {"connection_id":151897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feac6"} 
[2026-08-10 14:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305593856001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786350277000,"timestamp_ms":1786350277000,"timestamp_seconds":1786350277,"priority":1,"record_length":96,"hex_timestamp":"0000019feac61188"} 
[2026-08-10 14:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305593856001,"66":25549,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305593856001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:00:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305593856001,"power":25549,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":151897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:00:14] local.INFO: GPS data processed {"connection_id":151897,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:00:14] local.INFO: Acknowledgment sent {"connection_id":151897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:00:20] local.INFO: TCP Data received {"connection_id":152824,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaca3bf0012d1986400720e150004000d929..."} 
[2026-08-10 14:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaca3bf0012d1986400720e150004000d929..."} 
[2026-08-10 14:00:20] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaca3bf0012d1986400720e150004000d929..."} 
[2026-08-10 14:00:20] local.INFO: Packet analysis {"connection_id":152824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:00:20] local.INFO: Extracted packet for processing {"connection_id":152824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756647488,"raw_latitude":119595344,"longitude_deg":75.6647488,"latitude_deg":11.9595344,"altitude":64,"angle":217,"satellites":41,"speed":11,"hex_longitude":"2d198640","hex_latitude":"0720e150","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305740288001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11396944828039168,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839720478397341696,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786350550000,"timestamp_ms":1786350550000,"timestamp_seconds":1786350550,"priority":1,"record_length":96,"hex_timestamp":"0000019feaca3bf0"} 
[2026-08-10 14:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 14:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305740288001,"66":14070,"103":206,"83":41984,"24":11,"16":11396944828039168,"45":1839720478397341696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 14:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305740288001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:00:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 14:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11396944828039168,"km_value":11396944828039.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839720478397341696,"description":"Unknown IO ID 45"} 
[2026-08-10 14:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305740288001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1839720478397341696}} 
[2026-08-10 14:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":152824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:00:20] local.INFO: GPS data processed {"connection_id":152824,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:00:20] local.INFO: Acknowledgment sent {"connection_id":152824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:00:42] local.INFO: TCP Data received {"connection_id":151500,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:00:42] local.INFO: Processing buffer {"connection_id":151500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:00:42] local.INFO: IMEI packet received {"connection_id":151500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":151500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:00:43] local.INFO: TCP Data received {"connection_id":151500,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:00:43] local.INFO: Processing buffer {"connection_id":151500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:00:43] local.INFO: IMEI packet received {"connection_id":151500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":151500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:00:47] local.INFO: TCP Data received {"connection_id":151500,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:00:47] local.INFO: Processing buffer {"connection_id":151500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:00:47] local.INFO: IMEI packet received {"connection_id":151500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":151500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:00:48] local.INFO: TCP Data received {"connection_id":151500,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaca3fd8012d1986000720e040004000cc29..."} 
[2026-08-10 14:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaca3fd8012d1986000720e040004000cc29..."} 
[2026-08-10 14:00:48] local.INFO: Processing buffer {"connection_id":151500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaca3fd8012d1986000720e040004000cc29..."} 
[2026-08-10 14:00:48] local.INFO: Packet analysis {"connection_id":151500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:00:48] local.INFO: Extracted packet for processing {"connection_id":151500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:00:48] local.INFO: GPS Element Parsed {"raw_longitude":756647424,"raw_latitude":119595072,"longitude_deg":75.6647424,"latitude_deg":11.9595072,"altitude":64,"angle":204,"satellites":41,"speed":13,"hex_longitude":"2d198600","hex_latitude":"0720e040","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305740800001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11396957712941056,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839227897188012032,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786350551000,"timestamp_ms":1786350551000,"timestamp_seconds":1786350551,"priority":1,"record_length":96,"hex_timestamp":"0000019feaca3fd8"} 
[2026-08-10 14:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:00: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-08-10 14: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 14:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305740800001,"66":14428,"103":206,"83":41984,"24":13,"16":11396957712941056,"45":1839227897188012032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 14:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305740800001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:00:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 14:00:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11396957712941056,"km_value":11396957712941.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839227897188012032,"description":"Unknown IO ID 45"} 
[2026-08-10 14:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305740800001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1839227897188012032}} 
[2026-08-10 14:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":151500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:00:48] local.INFO: GPS data processed {"connection_id":151500,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:00:48] local.INFO: Acknowledgment sent {"connection_id":151500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:00:49] local.INFO: TCP Data received {"connection_id":151500,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaca43c0012d1985400720dec0004000c029..."} 
[2026-08-10 14:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaca43c0012d1985400720dec0004000c029..."} 
[2026-08-10 14:00:49] local.INFO: Processing buffer {"connection_id":151500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaca43c0012d1985400720dec0004000c029..."} 
[2026-08-10 14:00:49] local.INFO: Packet analysis {"connection_id":151500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:00:49] local.INFO: Extracted packet for processing {"connection_id":151500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756647232,"raw_latitude":119594688,"longitude_deg":75.6647232,"latitude_deg":11.9594688,"altitude":64,"angle":192,"satellites":41,"speed":17,"hex_longitude":"2d198540","hex_latitude":"0720dec0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305741056001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11396979187777536,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839157528443764736,"note":"Value kept but may cause issues"} 
[2026-08-10 14:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786350552000,"timestamp_ms":1786350552000,"timestamp_seconds":1786350552,"priority":1,"record_length":96,"hex_timestamp":"0000019feaca43c0"} 
[2026-08-10 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-08-10 14:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 14:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305741056001,"66":14428,"103":206,"83":41984,"24":17,"16":11396979187777536,"45":1839157528443764736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 14:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305741056001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:00:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 14:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11396979187777536,"km_value":11396979187777.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839157528443764736,"description":"Unknown IO ID 45"} 
[2026-08-10 14:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305741056001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1839157528443764736}} 
[2026-08-10 14:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":151500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:00:49] local.INFO: GPS data processed {"connection_id":151500,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:00:49] local.INFO: Acknowledgment sent {"connection_id":151500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:00:59] local.INFO: TCP Data received {"connection_id":151501,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:00:59] local.INFO: Processing buffer {"connection_id":151501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:00:59] local.INFO: IMEI packet received {"connection_id":151501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":151501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:01:04] local.INFO: TCP Data received {"connection_id":151501,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:01:04] local.INFO: Processing buffer {"connection_id":151501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:01:04] local.INFO: IMEI packet received {"connection_id":151501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":151501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:01:05] local.INFO: TCP Data received {"connection_id":151501,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:01:05] local.INFO: Processing buffer {"connection_id":151501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:01:05] local.INFO: Packet analysis {"connection_id":151501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:01:05] local.INFO: Extracted packet for processing {"connection_id":151501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305670912001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786350578000,"timestamp_ms":1786350578000,"timestamp_seconds":1786350578,"priority":1,"record_length":96,"hex_timestamp":"0000019feacaa950"} 
[2026-08-10 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-08-10 14:01: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-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305670912001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305670912001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:01:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305670912001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":151501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:01:05] local.INFO: GPS data processed {"connection_id":151501,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:01:05] local.INFO: Acknowledgment sent {"connection_id":151501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:01:20] local.INFO: TCP Data received {"connection_id":151500,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feacb6ca0012d190cc00720c8900031012a26..."} 
[2026-08-10 14:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacb6ca0012d190cc00720c8900031012a26..."} 
[2026-08-10 14:01:20] local.INFO: Processing buffer {"connection_id":151500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacb6ca0012d190cc00720c8900031012a26..."} 
[2026-08-10 14:01:20] local.INFO: Packet analysis {"connection_id":151500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacb"} 
[2026-08-10 14:01:20] local.INFO: Extracted packet for processing {"connection_id":151500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacb"} 
[2026-08-10 14:01:20] local.INFO: GPS Element Parsed {"raw_longitude":756616384,"raw_latitude":119589008,"longitude_deg":75.6616384,"latitude_deg":11.9589008,"altitude":49,"angle":298,"satellites":38,"speed":37,"hex_longitude":"2d190cc0","hex_latitude":"0720c890","is_valid_coordinates":true} 
[2026-08-10 14:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305758464001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11399143851294720,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814880311699974144,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786350628000,"timestamp_ms":1786350628000,"timestamp_seconds":1786350628,"priority":1,"record_length":96,"hex_timestamp":"0000019feacb6ca0"} 
[2026-08-10 14:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-10 14:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305758464001,"66":14494,"103":206,"83":41984,"24":37,"16":11399143851294720,"45":1814880311699974144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 14:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305758464001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:01:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 14:01:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11399143851294720,"km_value":11399143851294.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814880311699974144,"description":"Unknown IO ID 45"} 
[2026-08-10 14:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305758464001,"power":14494,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1814880311699974144}} 
[2026-08-10 14:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":151500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:01:20] local.INFO: GPS data processed {"connection_id":151500,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:01:20] local.INFO: Acknowledgment sent {"connection_id":151500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:01:36] local.INFO: TCP Data received {"connection_id":151501,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:01:36] local.INFO: Processing buffer {"connection_id":151501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:01:36] local.INFO: Packet analysis {"connection_id":151501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:01:36] local.INFO: Extracted packet for processing {"connection_id":151501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305670912001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786350578000,"timestamp_ms":1786350578000,"timestamp_seconds":1786350578,"priority":1,"record_length":96,"hex_timestamp":"0000019feacaa950"} 
[2026-08-10 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-08-10 14:01: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-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:01: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-08-10 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-08-10 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-08-10 14:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305670912001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305670912001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:01:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305670912001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":151501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:01:36] local.INFO: GPS data processed {"connection_id":151501,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:01:36] local.INFO: Acknowledgment sent {"connection_id":151501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:01:39] local.INFO: TCP Data received {"connection_id":151502,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:01:39] local.INFO: Processing buffer {"connection_id":151502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:01:39] local.INFO: IMEI packet received {"connection_id":151502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":151502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:01:44] local.INFO: TCP Data received {"connection_id":151502,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:01:44] local.INFO: Processing buffer {"connection_id":151502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:01:44] local.INFO: IMEI packet received {"connection_id":151502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":151502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:01:45] local.INFO: TCP Data received {"connection_id":151502,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:01:45] local.INFO: Processing buffer {"connection_id":151502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:01:45] local.INFO: IMEI packet received {"connection_id":151502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":151502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:01:46] local.INFO: TCP Data received {"connection_id":151502,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feacb87f8012d18f8800720d5900035013628..."} 
[2026-08-10 14:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacb87f8012d18f8800720d5900035013628..."} 
[2026-08-10 14:01:46] local.INFO: Processing buffer {"connection_id":151502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacb87f8012d18f8800720d5900035013628..."} 
[2026-08-10 14:01:46] local.INFO: Packet analysis {"connection_id":151502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacb"} 
[2026-08-10 14:01:46] local.INFO: Extracted packet for processing {"connection_id":151502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacb"} 
[2026-08-10 14:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756611200,"raw_latitude":119592336,"longitude_deg":75.66112,"latitude_deg":11.9592336,"altitude":53,"angle":310,"satellites":40,"speed":35,"hex_longitude":"2d18f880","hex_latitude":"0720d590","is_valid_coordinates":true} 
[2026-08-10 14:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305760768001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11399440204038144,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805028687516045312,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786350635000,"timestamp_ms":1786350635000,"timestamp_seconds":1786350635,"priority":1,"record_length":96,"hex_timestamp":"0000019feacb87f8"} 
[2026-08-10 14:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-10 14:01: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-08-10 14:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305760768001,"66":14428,"103":206,"83":41984,"24":35,"16":11399440204038144,"45":1805028687516045312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 14:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305760768001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:01:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 14:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11399440204038144,"km_value":11399440204038.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805028687516045312,"description":"Unknown IO ID 45"} 
[2026-08-10 14:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305760768001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1805028687516045312}} 
[2026-08-10 14:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":151502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:01:46] local.INFO: GPS data processed {"connection_id":151502,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:01:46] local.INFO: Acknowledgment sent {"connection_id":151502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:01:47] local.INFO: TCP Data received {"connection_id":151502,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feacb93b0012d18f0c00720dd880036014228..."} 
[2026-08-10 14:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacb93b0012d18f0c00720dd880036014228..."} 
[2026-08-10 14:01:47] local.INFO: Processing buffer {"connection_id":151502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacb93b0012d18f0c00720dd880036014228..."} 
[2026-08-10 14:01:47] local.INFO: Packet analysis {"connection_id":151502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacb"} 
[2026-08-10 14:01:47] local.INFO: Extracted packet for processing {"connection_id":151502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacb"} 
[2026-08-10 14:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756609216,"raw_latitude":119594376,"longitude_deg":75.6609216,"latitude_deg":11.9594376,"altitude":54,"angle":322,"satellites":40,"speed":38,"hex_longitude":"2d18f0c0","hex_latitude":"0720dd88","is_valid_coordinates":true} 
[2026-08-10 14:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305762560001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11399577642991616,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799328819238506496,"note":"Value kept but may cause issues"} 
[2026-08-10 14:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786350638000,"timestamp_ms":1786350638000,"timestamp_seconds":1786350638,"priority":1,"record_length":96,"hex_timestamp":"0000019feacb93b0"} 
[2026-08-10 14:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 14:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305762560001,"66":14233,"103":206,"83":41984,"24":38,"16":11399577642991616,"45":1799328819238506496},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 14:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305762560001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:01:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 14:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11399577642991616,"km_value":11399577642991.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799328819238506496,"description":"Unknown IO ID 45"} 
[2026-08-10 14:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305762560001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1799328819238506496}} 
[2026-08-10 14:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":151502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:01:47] local.INFO: GPS data processed {"connection_id":151502,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:01:47] local.INFO: Acknowledgment sent {"connection_id":151502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:02:00] local.INFO: TCP Data received {"connection_id":151898,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:02:00] local.INFO: Processing buffer {"connection_id":151898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:02:00] local.INFO: IMEI packet received {"connection_id":151898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":151898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:02:05] local.INFO: TCP Data received {"connection_id":151898,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:02:05] local.INFO: Processing buffer {"connection_id":151898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:02:05] local.INFO: IMEI packet received {"connection_id":151898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":151898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:02:06] local.INFO: TCP Data received {"connection_id":151898,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:02:06] local.INFO: Processing buffer {"connection_id":151898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:02:06] local.INFO: Packet analysis {"connection_id":151898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:02:06] local.INFO: Extracted packet for processing {"connection_id":151898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:02:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305670912001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786350578000,"timestamp_ms":1786350578000,"timestamp_seconds":1786350578,"priority":1,"record_length":96,"hex_timestamp":"0000019feacaa950"} 
[2026-08-10 14:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:02: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-08-10 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:02: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-08-10 14:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305670912001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305670912001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:02:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305670912001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":151898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:02:06] local.INFO: GPS data processed {"connection_id":151898,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:02:06] local.INFO: Acknowledgment sent {"connection_id":151898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:02:18] local.INFO: TCP Data received {"connection_id":151502,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feacc4b48012d18be00072159780042014326..."} 
[2026-08-10 14:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacc4b48012d18be00072159780042014326..."} 
[2026-08-10 14:02:18] local.INFO: Processing buffer {"connection_id":151502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacc4b48012d18be00072159780042014326..."} 
[2026-08-10 14:02:18] local.INFO: Packet analysis {"connection_id":151502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacc"} 
[2026-08-10 14:02:18] local.INFO: Extracted packet for processing {"connection_id":151502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacc"} 
[2026-08-10 14:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756596224,"raw_latitude":119626104,"longitude_deg":75.6596224,"latitude_deg":11.9626104,"altitude":66,"angle":323,"satellites":38,"speed":35,"hex_longitude":"2d18be00","hex_latitude":"07215978","is_valid_coordinates":true} 
[2026-08-10 14:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305774848001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11401291334942720,"note":"Value kept but may cause issues"} 
[2026-08-10 14:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918064271853568,"note":"Value kept but may cause issues"} 
[2026-08-10 14:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786350685000,"timestamp_ms":1786350685000,"timestamp_seconds":1786350685,"priority":1,"record_length":96,"hex_timestamp":"0000019feacc4b48"} 
[2026-08-10 14:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-10 14:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305774848001,"66":14135,"106":206,"83":41984,"24":35,"16":11401291334942720,"45":1783918064271853568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 14:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305774848001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:02:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 14:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11401291334942720,"km_value":11401291334942.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918064271853568,"description":"Unknown IO ID 45"} 
[2026-08-10 14:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305774848001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1783918064271853568}} 
[2026-08-10 14:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":151502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:02:19] local.INFO: GPS data processed {"connection_id":151502,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:02:19] local.INFO: Acknowledgment sent {"connection_id":151502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:02:39] local.INFO: TCP Data received {"connection_id":151898,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:02:39] local.INFO: Processing buffer {"connection_id":151898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:02:39] local.INFO: Packet analysis {"connection_id":151898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:02:39] local.INFO: Extracted packet for processing {"connection_id":151898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305670912001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786350578000,"timestamp_ms":1786350578000,"timestamp_seconds":1786350578,"priority":1,"record_length":96,"hex_timestamp":"0000019feacaa950"} 
[2026-08-10 14:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:02: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-08-10 14:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305670912001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305670912001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:02:39] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:02:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305670912001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":151898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:02:39] local.INFO: GPS data processed {"connection_id":151898,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:02:39] local.INFO: Acknowledgment sent {"connection_id":151898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:02:42] local.INFO: TCP Data received {"connection_id":154275,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:02:42] local.INFO: Processing buffer {"connection_id":154275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:02:42] local.INFO: IMEI packet received {"connection_id":154275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":154275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:02:43] local.INFO: TCP Data received {"connection_id":154275,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:02:43] local.INFO: Processing buffer {"connection_id":154275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:02:43] local.INFO: IMEI packet received {"connection_id":154275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":154275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:02:47] local.INFO: TCP Data received {"connection_id":154275,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:02:47] local.INFO: Processing buffer {"connection_id":154275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:02:47] local.INFO: IMEI packet received {"connection_id":154275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":154275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:02:48] local.INFO: TCP Data received {"connection_id":154275,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feacc6e70012d18a9c0072172f80046013027..."} 
[2026-08-10 14:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacc6e70012d18a9c0072172f80046013027..."} 
[2026-08-10 14:02:48] local.INFO: Processing buffer {"connection_id":154275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacc6e70012d18a9c0072172f80046013027..."} 
[2026-08-10 14:02:48] local.INFO: Packet analysis {"connection_id":154275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacc"} 
[2026-08-10 14:02:48] local.INFO: Extracted packet for processing {"connection_id":154275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacc"} 
[2026-08-10 14:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756591040,"raw_latitude":119632632,"longitude_deg":75.659104,"latitude_deg":11.9632632,"altitude":70,"angle":304,"satellites":39,"speed":36,"hex_longitude":"2d18a9c0","hex_latitude":"072172f8","is_valid_coordinates":true} 
[2026-08-10 14:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305775360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11401695061868544,"note":"Value kept but may cause issues"} 
[2026-08-10 14:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782862533109577728,"note":"Value kept but may cause issues"} 
[2026-08-10 14:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786350694000,"timestamp_ms":1786350694000,"timestamp_seconds":1786350694,"priority":1,"record_length":96,"hex_timestamp":"0000019feacc6e70"} 
[2026-08-10 14:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:02: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-08-10 14:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-10 14:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305775360001,"66":14428,"106":206,"83":41984,"24":36,"16":11401695061868544,"45":1782862533109577728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 14:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305775360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:02:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 14:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11401695061868544,"km_value":11401695061868.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782862533109577728,"description":"Unknown IO ID 45"} 
[2026-08-10 14:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305775360001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1782862533109577728}} 
[2026-08-10 14:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":154275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:02:48] local.INFO: GPS data processed {"connection_id":154275,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:02:48] local.INFO: Acknowledgment sent {"connection_id":154275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:02:58] local.INFO: TCP Data received {"connection_id":154276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:02:58] local.INFO: Processing buffer {"connection_id":154276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:02:58] local.INFO: IMEI packet received {"connection_id":154276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":154276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:03:06] local.INFO: TCP Data received {"connection_id":154276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:03:06] local.INFO: Processing buffer {"connection_id":154276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:03:06] local.INFO: IMEI packet received {"connection_id":154276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":154276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:03:06] local.INFO: TCP Data received {"connection_id":154276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:03:06] local.INFO: Processing buffer {"connection_id":154276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:03:06] local.INFO: Packet analysis {"connection_id":154276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:03:06] local.INFO: Extracted packet for processing {"connection_id":154276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305670912001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786350578000,"timestamp_ms":1786350578000,"timestamp_seconds":1786350578,"priority":1,"record_length":96,"hex_timestamp":"0000019feacaa950"} 
[2026-08-10 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-08-10 14:03: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-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:03: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-08-10 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-08-10 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-08-10 14:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:03: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-08-10 14:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305670912001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305670912001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:03:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305670912001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":154276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:03:06] local.INFO: GPS data processed {"connection_id":154276,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:03:06] local.INFO: Acknowledgment sent {"connection_id":154276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:03:19] local.INFO: TCP Data received {"connection_id":154275,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feacc7640012d18a2c0072175e00047012027..."} 
[2026-08-10 14:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacc7640012d18a2c0072175e00047012027..."} 
[2026-08-10 14:03:19] local.INFO: Processing buffer {"connection_id":154275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacc7640012d18a2c0072175e00047012027..."} 
[2026-08-10 14:03:19] local.INFO: Packet analysis {"connection_id":154275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacc"} 
[2026-08-10 14:03:19] local.INFO: Extracted packet for processing {"connection_id":154275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacc"} 
[2026-08-10 14:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756589248,"raw_latitude":119633376,"longitude_deg":75.6589248,"latitude_deg":11.9633376,"altitude":71,"angle":288,"satellites":39,"speed":37,"hex_longitude":"2d18a2c0","hex_latitude":"072175e0","is_valid_coordinates":true} 
[2026-08-10 14:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305777664001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11401785256181760,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777162664832858112,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786350696000,"timestamp_ms":1786350696000,"timestamp_seconds":1786350696,"priority":1,"record_length":96,"hex_timestamp":"0000019feacc7640"} 
[2026-08-10 14:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 14:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305777664001,"66":14396,"106":206,"83":41984,"24":37,"16":11401785256181760,"45":1777162664832858112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 14:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305777664001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:03:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 14:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11401785256181760,"km_value":11401785256181.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777162664832858112,"description":"Unknown IO ID 45"} 
[2026-08-10 14:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305777664001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1777162664832858112}} 
[2026-08-10 14:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":154275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:03:19] local.INFO: GPS data processed {"connection_id":154275,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:03:19] local.INFO: Acknowledgment sent {"connection_id":154275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:03:37] local.INFO: TCP Data received {"connection_id":154276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:03:37] local.INFO: Processing buffer {"connection_id":154276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:03:37] local.INFO: Packet analysis {"connection_id":154276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:03:37] local.INFO: Extracted packet for processing {"connection_id":154276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305670912001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786350578000,"timestamp_ms":1786350578000,"timestamp_seconds":1786350578,"priority":1,"record_length":96,"hex_timestamp":"0000019feacaa950"} 
[2026-08-10 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-08-10 14:03: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-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:03: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-08-10 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-08-10 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-08-10 14:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:03: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-08-10 14:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305670912001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305670912001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:03:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305670912001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":154276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:03:37] local.INFO: GPS data processed {"connection_id":154276,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:03:37] local.INFO: Acknowledgment sent {"connection_id":154276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:03:42] local.INFO: TCP Data received {"connection_id":152825,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:03:42] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:03:42] local.INFO: IMEI packet received {"connection_id":152825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":152825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:03:45] local.INFO: TCP Data received {"connection_id":152825,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:03:45] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:03:45] local.INFO: IMEI packet received {"connection_id":152825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":152825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:03:47] local.INFO: TCP Data received {"connection_id":152825,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:03:47] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:03:47] local.INFO: IMEI packet received {"connection_id":152825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":152825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:03:48] local.INFO: TCP Data received {"connection_id":152825,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feacc9968012d188000072181500048011327..."} 
[2026-08-10 14:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacc9968012d188000072181500048011327..."} 
[2026-08-10 14:03:48] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacc9968012d188000072181500048011327..."} 
[2026-08-10 14:03:48] local.INFO: Packet analysis {"connection_id":152825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacc"} 
[2026-08-10 14:03:48] local.INFO: Extracted packet for processing {"connection_id":152825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacc"} 
[2026-08-10 14:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756580352,"raw_latitude":119636304,"longitude_deg":75.6580352,"latitude_deg":11.9636304,"altitude":72,"angle":275,"satellites":39,"speed":40,"hex_longitude":"2d188000","hex_latitude":"07218150","is_valid_coordinates":true} 
[2026-08-10 14:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305778176001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11402231932780544,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775192339996073984,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786350705000,"timestamp_ms":1786350705000,"timestamp_seconds":1786350705,"priority":1,"record_length":96,"hex_timestamp":"0000019feacc9968"} 
[2026-08-10 14:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 14:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305778176001,"66":14135,"106":206,"83":41984,"24":40,"16":11402231932780544,"45":1775192339996073984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 14:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305778176001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:03:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 14:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11402231932780544,"km_value":11402231932780.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775192339996073984,"description":"Unknown IO ID 45"} 
[2026-08-10 14:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305778176001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1775192339996073984}} 
[2026-08-10 14:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":152825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:03:48] local.INFO: GPS data processed {"connection_id":152825,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:03:48] local.INFO: Acknowledgment sent {"connection_id":152825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:03:48] local.INFO: TCP Data received {"connection_id":152825,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feacc9968012d188000072181500048011327..."} 
[2026-08-10 14:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacc9968012d188000072181500048011327..."} 
[2026-08-10 14:03:48] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacc9968012d188000072181500048011327..."} 
[2026-08-10 14:03:48] local.INFO: Packet analysis {"connection_id":152825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacc"} 
[2026-08-10 14:03:48] local.INFO: Extracted packet for processing {"connection_id":152825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacc"} 
[2026-08-10 14:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756580352,"raw_latitude":119636304,"longitude_deg":75.6580352,"latitude_deg":11.9636304,"altitude":72,"angle":275,"satellites":39,"speed":40,"hex_longitude":"2d188000","hex_latitude":"07218150","is_valid_coordinates":true} 
[2026-08-10 14:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305780480001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11402231932780544,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765411084556128256,"note":"Value kept but may cause issues"} 
[2026-08-10 14:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786350705000,"timestamp_ms":1786350705000,"timestamp_seconds":1786350705,"priority":1,"record_length":96,"hex_timestamp":"0000019feacc9968"} 
[2026-08-10 14:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:03: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-08-10 14:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-10 14:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305780480001,"66":14135,"106":206,"83":41984,"24":40,"16":11402231932780544,"45":1765411084556128256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 14:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305780480001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:03:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 14:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11402231932780544,"km_value":11402231932780.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765411084556128256,"description":"Unknown IO ID 45"} 
[2026-08-10 14:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305780480001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1765411084556128256}} 
[2026-08-10 14:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":152825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:03:48] local.INFO: GPS data processed {"connection_id":152825,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:03:48] local.INFO: Acknowledgment sent {"connection_id":152825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:03:58] local.INFO: TCP Data received {"connection_id":151899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:03:58] local.INFO: Processing buffer {"connection_id":151899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:03:58] local.INFO: IMEI packet received {"connection_id":151899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":151899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:04:04] local.INFO: TCP Data received {"connection_id":151899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:04:04] local.INFO: Processing buffer {"connection_id":151899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:04:04] local.INFO: IMEI packet received {"connection_id":151899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":151899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:04:05] local.INFO: TCP Data received {"connection_id":151899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:04:05] local.INFO: Processing buffer {"connection_id":151899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:04:05] local.INFO: Packet analysis {"connection_id":151899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:04:05] local.INFO: Extracted packet for processing {"connection_id":151899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305670912001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786350578000,"timestamp_ms":1786350578000,"timestamp_seconds":1786350578,"priority":1,"record_length":96,"hex_timestamp":"0000019feacaa950"} 
[2026-08-10 14:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:04: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-08-10 14:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305670912001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305670912001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:04:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305670912001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":151899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:04:05] local.INFO: GPS data processed {"connection_id":151899,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:04:05] local.INFO: Acknowledgment sent {"connection_id":151899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:04:19] local.INFO: TCP Data received {"connection_id":152825,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feace4718012d187080072205a80059001324..."} 
[2026-08-10 14:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feace4718012d187080072205a80059001324..."} 
[2026-08-10 14:04:19] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feace4718012d187080072205a80059001324..."} 
[2026-08-10 14:04:19] local.INFO: Packet analysis {"connection_id":152825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feace"} 
[2026-08-10 14:04:19] local.INFO: Extracted packet for processing {"connection_id":152825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feace"} 
[2026-08-10 14:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756576384,"raw_latitude":119670184,"longitude_deg":75.6576384,"latitude_deg":11.9670184,"altitude":89,"angle":19,"satellites":36,"speed":11,"hex_longitude":"2d187080","hex_latitude":"072205a8","is_valid_coordinates":true} 
[2026-08-10 14:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305807616001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405182575312896,"note":"Value kept but may cause issues"} 
[2026-08-10 14:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760977853681385472,"note":"Value kept but may cause issues"} 
[2026-08-10 14:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786350815000,"timestamp_ms":1786350815000,"timestamp_seconds":1786350815,"priority":1,"record_length":96,"hex_timestamp":"0000019feace4718"} 
[2026-08-10 14:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 14:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305807616001,"66":14135,"105":206,"83":41984,"24":11,"16":11405182575312896,"45":1760977853681385472},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305807616001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:04:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405182575312896,"km_value":11405182575312.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760977853681385472,"description":"Unknown IO ID 45"} 
[2026-08-10 14:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305807616001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1760977853681385472}} 
[2026-08-10 14:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":152825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:04:19] local.INFO: GPS data processed {"connection_id":152825,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:04:19] local.INFO: Acknowledgment sent {"connection_id":152825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:04:37] local.INFO: TCP Data received {"connection_id":151899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:04:37] local.INFO: Processing buffer {"connection_id":151899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:04:37] local.INFO: Packet analysis {"connection_id":151899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:04:37] local.INFO: Extracted packet for processing {"connection_id":151899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305670912001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786350578000,"timestamp_ms":1786350578000,"timestamp_seconds":1786350578,"priority":1,"record_length":96,"hex_timestamp":"0000019feacaa950"} 
[2026-08-10 14:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:04: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-08-10 14: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-08-10 14:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:04: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-08-10 14:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305670912001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305670912001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:04:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305670912001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":151899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:04:37] local.INFO: GPS data processed {"connection_id":151899,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:04:37] local.INFO: Acknowledgment sent {"connection_id":151899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:04:42] local.INFO: TCP Data received {"connection_id":152826,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:04:42] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:04:42] local.INFO: IMEI packet received {"connection_id":152826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":152826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:04:43] local.INFO: TCP Data received {"connection_id":152826,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:04:43] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:04:43] local.INFO: IMEI packet received {"connection_id":152826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":152826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:04:44] local.INFO: TCP Data received {"connection_id":152826,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:04:44] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:04:44] local.INFO: IMEI packet received {"connection_id":152826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":152826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:04:45] local.INFO: TCP Data received {"connection_id":152826,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:04:45] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:04:45] local.INFO: IMEI packet received {"connection_id":152826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":152826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:05:04] local.INFO: TCP Data received {"connection_id":151503,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:05:04] local.INFO: Processing buffer {"connection_id":151503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:05:04] local.INFO: IMEI packet received {"connection_id":151503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":151503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:05:09] local.INFO: TCP Data received {"connection_id":151503,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:05:09] local.INFO: Processing buffer {"connection_id":151503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:05:09] local.INFO: IMEI packet received {"connection_id":151503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":151503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:05:09] local.INFO: TCP Data received {"connection_id":151503,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:05:09] local.INFO: Processing buffer {"connection_id":151503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:05:09] local.INFO: Packet analysis {"connection_id":151503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:05:09] local.INFO: Extracted packet for processing {"connection_id":151503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305670912001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786350578000,"timestamp_ms":1786350578000,"timestamp_seconds":1786350578,"priority":1,"record_length":96,"hex_timestamp":"0000019feacaa950"} 
[2026-08-10 14:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:05: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-08-10 14:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:05: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-08-10 14:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305670912001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305670912001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:05:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305670912001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":151503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:05:09] local.INFO: GPS data processed {"connection_id":151503,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:05:09] local.INFO: Acknowledgment sent {"connection_id":151503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:05:14] local.INFO: TCP Data received {"connection_id":151503,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:05:14] local.INFO: Processing buffer {"connection_id":151503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacaa950012d342a4006abc280000b010224..."} 
[2026-08-10 14:05:14] local.INFO: Packet analysis {"connection_id":151503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:05:14] local.INFO: Extracted packet for processing {"connection_id":151503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaca"} 
[2026-08-10 14:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305670912001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786350578000,"timestamp_ms":1786350578000,"timestamp_seconds":1786350578,"priority":1,"record_length":96,"hex_timestamp":"0000019feacaa950"} 
[2026-08-10 14:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305670912001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305670912001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:05:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305670912001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":151503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:05:14] local.INFO: GPS data processed {"connection_id":151503,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:05:14] local.INFO: Acknowledgment sent {"connection_id":151503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:05:59] local.INFO: TCP Data received {"connection_id":151901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:05:59] local.INFO: Processing buffer {"connection_id":151901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:05:59] local.INFO: IMEI packet received {"connection_id":151901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":151901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:06:04] local.INFO: TCP Data received {"connection_id":151901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:06:04] local.INFO: Processing buffer {"connection_id":151901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:06:04] local.INFO: IMEI packet received {"connection_id":151901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":151901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:06:04] local.INFO: TCP Data received {"connection_id":151901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:06:04] local.INFO: Processing buffer {"connection_id":151901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:06:04] local.INFO: Packet analysis {"connection_id":151901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:06:04] local.INFO: Extracted packet for processing {"connection_id":151901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305747968001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786350879000,"timestamp_ms":1786350879000,"timestamp_seconds":1786350879,"priority":1,"record_length":96,"hex_timestamp":"0000019feacf4118"} 
[2026-08-10 14:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305747968001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305747968001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:06:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305747968001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":151901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:06:05] local.INFO: GPS data processed {"connection_id":151901,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:06:05] local.INFO: Acknowledgment sent {"connection_id":151901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:06:36] local.INFO: TCP Data received {"connection_id":151901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:06:36] local.INFO: Processing buffer {"connection_id":151901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:06:36] local.INFO: Packet analysis {"connection_id":151901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:06:36] local.INFO: Extracted packet for processing {"connection_id":151901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305747968001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786350879000,"timestamp_ms":1786350879000,"timestamp_seconds":1786350879,"priority":1,"record_length":96,"hex_timestamp":"0000019feacf4118"} 
[2026-08-10 14:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:06: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-08-10 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:06: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-08-10 14:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305747968001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305747968001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:06:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305747968001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":151901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:06:36] local.INFO: GPS data processed {"connection_id":151901,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:06:36] local.INFO: Acknowledgment sent {"connection_id":151901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:06:59] local.INFO: TCP Data received {"connection_id":152828,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:06:59] local.INFO: Processing buffer {"connection_id":152828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:06:59] local.INFO: IMEI packet received {"connection_id":152828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":152828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:07:04] local.INFO: TCP Data received {"connection_id":152828,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:07:04] local.INFO: Processing buffer {"connection_id":152828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:07:04] local.INFO: IMEI packet received {"connection_id":152828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":152828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:07:04] local.INFO: TCP Data received {"connection_id":152828,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:07:04] local.INFO: Processing buffer {"connection_id":152828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:07:04] local.INFO: Packet analysis {"connection_id":152828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:07:04] local.INFO: Extracted packet for processing {"connection_id":152828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305747968001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786350879000,"timestamp_ms":1786350879000,"timestamp_seconds":1786350879,"priority":1,"record_length":96,"hex_timestamp":"0000019feacf4118"} 
[2026-08-10 14:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305747968001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305747968001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:07:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:07:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305747968001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":152828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:07:04] local.INFO: GPS data processed {"connection_id":152828,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:07:04] local.INFO: Acknowledgment sent {"connection_id":152828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:07:35] local.INFO: TCP Data received {"connection_id":152828,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:07:35] local.INFO: Processing buffer {"connection_id":152828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:07:35] local.INFO: Packet analysis {"connection_id":152828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:07:35] local.INFO: Extracted packet for processing {"connection_id":152828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305747968001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786350879000,"timestamp_ms":1786350879000,"timestamp_seconds":1786350879,"priority":1,"record_length":96,"hex_timestamp":"0000019feacf4118"} 
[2026-08-10 14:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:07: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-08-10 14:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305747968001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305747968001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:07:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305747968001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":152828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:07:36] local.INFO: GPS data processed {"connection_id":152828,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:07:36] local.INFO: Acknowledgment sent {"connection_id":152828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:07:58] local.INFO: TCP Data received {"connection_id":151903,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:07:58] local.INFO: Processing buffer {"connection_id":151903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:07:58] local.INFO: IMEI packet received {"connection_id":151903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":151903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:08:04] local.INFO: TCP Data received {"connection_id":151903,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:08:04] local.INFO: Processing buffer {"connection_id":151903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:08:04] local.INFO: IMEI packet received {"connection_id":151903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":151903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:08:04] local.INFO: TCP Data received {"connection_id":151903,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:08:04] local.INFO: Processing buffer {"connection_id":151903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:08:04] local.INFO: Packet analysis {"connection_id":151903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:08:04] local.INFO: Extracted packet for processing {"connection_id":151903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305747968001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786350879000,"timestamp_ms":1786350879000,"timestamp_seconds":1786350879,"priority":1,"record_length":96,"hex_timestamp":"0000019feacf4118"} 
[2026-08-10 14:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305747968001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305747968001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:08:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305747968001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":151903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:08:05] local.INFO: GPS data processed {"connection_id":151903,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:08:05] local.INFO: Acknowledgment sent {"connection_id":151903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:08:36] local.INFO: TCP Data received {"connection_id":151903,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:08:36] local.INFO: Processing buffer {"connection_id":151903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:08:36] local.INFO: Packet analysis {"connection_id":151903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:08:36] local.INFO: Extracted packet for processing {"connection_id":151903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305747968001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786350879000,"timestamp_ms":1786350879000,"timestamp_seconds":1786350879,"priority":1,"record_length":96,"hex_timestamp":"0000019feacf4118"} 
[2026-08-10 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-08-10 14:08: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-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:08: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-08-10 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-08-10 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-08-10 14:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305747968001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305747968001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:08:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305747968001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":151903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:08:36] local.INFO: GPS data processed {"connection_id":151903,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:08:36] local.INFO: Acknowledgment sent {"connection_id":151903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:08:58] local.INFO: TCP Data received {"connection_id":154278,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:08:58] local.INFO: Processing buffer {"connection_id":154278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:08:58] local.INFO: IMEI packet received {"connection_id":154278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":154278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:09:04] local.INFO: TCP Data received {"connection_id":154278,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:09:04] local.INFO: Processing buffer {"connection_id":154278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:09:04] local.INFO: IMEI packet received {"connection_id":154278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":154278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:09:05] local.INFO: TCP Data received {"connection_id":154278,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:09:05] local.INFO: Processing buffer {"connection_id":154278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:09:05] local.INFO: Packet analysis {"connection_id":154278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:09:05] local.INFO: Extracted packet for processing {"connection_id":154278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305747968001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786350879000,"timestamp_ms":1786350879000,"timestamp_seconds":1786350879,"priority":1,"record_length":96,"hex_timestamp":"0000019feacf4118"} 
[2026-08-10 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-08-10 14:09: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-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305747968001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305747968001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:09:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305747968001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":154278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:09:05] local.INFO: GPS data processed {"connection_id":154278,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:09:05] local.INFO: Acknowledgment sent {"connection_id":154278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:09:37] local.INFO: TCP Data received {"connection_id":154278,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:09:37] local.INFO: Processing buffer {"connection_id":154278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:09:37] local.INFO: Packet analysis {"connection_id":154278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:09:37] local.INFO: Extracted packet for processing {"connection_id":154278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305747968001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786350879000,"timestamp_ms":1786350879000,"timestamp_seconds":1786350879,"priority":1,"record_length":96,"hex_timestamp":"0000019feacf4118"} 
[2026-08-10 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-08-10 14: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-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:09: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-08-10 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-08-10 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-08-10 14:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305747968001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305747968001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:09:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305747968001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":154278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:09:37] local.INFO: GPS data processed {"connection_id":154278,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:09:37] local.INFO: Acknowledgment sent {"connection_id":154278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:09:47] local.INFO: TCP Data received {"connection_id":154279,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:09:47] local.INFO: Processing buffer {"connection_id":154279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:09:47] local.INFO: IMEI packet received {"connection_id":154279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":154279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:09:48] local.INFO: TCP Data received {"connection_id":154279,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead2a448012d18724007220860005700ed24..."} 
[2026-08-10 14:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead2a448012d18724007220860005700ed24..."} 
[2026-08-10 14:09:48] local.INFO: Processing buffer {"connection_id":154279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead2a448012d18724007220860005700ed24..."} 
[2026-08-10 14:09:48] local.INFO: Packet analysis {"connection_id":154279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead2"} 
[2026-08-10 14:09:48] local.INFO: Extracted packet for processing {"connection_id":154279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead2"} 
[2026-08-10 14:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":36,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305876480001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786351101000,"timestamp_ms":1786351101000,"timestamp_seconds":1786351101,"priority":1,"record_length":96,"hex_timestamp":"0000019fead2a448"} 
[2026-08-10 14:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-10 14:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305876480001,"66":12972,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305876480001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:09:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305876480001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":154279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:09:48] local.INFO: GPS data processed {"connection_id":154279,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:09:48] local.INFO: Acknowledgment sent {"connection_id":154279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:10:04] local.INFO: TCP Data received {"connection_id":154280,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:10:04] local.INFO: Processing buffer {"connection_id":154280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:10:04] local.INFO: IMEI packet received {"connection_id":154280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":154280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:10:09] local.INFO: TCP Data received {"connection_id":154280,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:10:09] local.INFO: Processing buffer {"connection_id":154280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:10:09] local.INFO: IMEI packet received {"connection_id":154280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":154280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:10:09] local.INFO: TCP Data received {"connection_id":154280,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:10:09] local.INFO: Processing buffer {"connection_id":154280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:10:09] local.INFO: Packet analysis {"connection_id":154280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:10:09] local.INFO: Extracted packet for processing {"connection_id":154280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305747968001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786350879000,"timestamp_ms":1786350879000,"timestamp_seconds":1786350879,"priority":1,"record_length":96,"hex_timestamp":"0000019feacf4118"} 
[2026-08-10 14:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:10: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-08-10 14:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305747968001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305747968001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:10:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305747968001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":154280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:10:10] local.INFO: GPS data processed {"connection_id":154280,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:10:10] local.INFO: Acknowledgment sent {"connection_id":154280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:10:14] local.INFO: TCP Data received {"connection_id":154280,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:10:14] local.INFO: Processing buffer {"connection_id":154280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feacf4118012d342a4006abc2800015010224..."} 
[2026-08-10 14:10:14] local.INFO: Packet analysis {"connection_id":154280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:10:14] local.INFO: Extracted packet for processing {"connection_id":154280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feacf"} 
[2026-08-10 14:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305747968001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786350879000,"timestamp_ms":1786350879000,"timestamp_seconds":1786350879,"priority":1,"record_length":96,"hex_timestamp":"0000019feacf4118"} 
[2026-08-10 14:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305747968001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305747968001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:10:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305747968001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":154280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:10:14] local.INFO: GPS data processed {"connection_id":154280,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:10:14] local.INFO: Acknowledgment sent {"connection_id":154280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:10:19] local.INFO: TCP Data received {"connection_id":154279,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead2f650012d18724007220860005700ed25..."} 
[2026-08-10 14:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead2f650012d18724007220860005700ed25..."} 
[2026-08-10 14:10:19] local.INFO: Processing buffer {"connection_id":154279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead2f650012d18724007220860005700ed25..."} 
[2026-08-10 14:10:19] local.INFO: Packet analysis {"connection_id":154279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead2"} 
[2026-08-10 14:10:19] local.INFO: Extracted packet for processing {"connection_id":154279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead2"} 
[2026-08-10 14:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":37,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305881856001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786351122000,"timestamp_ms":1786351122000,"timestamp_seconds":1786351122,"priority":1,"record_length":96,"hex_timestamp":"0000019fead2f650"} 
[2026-08-10 14:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-10 14:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305881856001,"66":12961,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305881856001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:10:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305881856001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":154279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:10:19] local.INFO: GPS data processed {"connection_id":154279,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:10:19] local.INFO: Acknowledgment sent {"connection_id":154279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:10:42] local.INFO: TCP Data received {"connection_id":151504,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:10:42] local.INFO: Processing buffer {"connection_id":151504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:10:42] local.INFO: IMEI packet received {"connection_id":151504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":151504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:10:44] local.INFO: TCP Data received {"connection_id":151504,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:10:44] local.INFO: Processing buffer {"connection_id":151504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:10:44] local.INFO: IMEI packet received {"connection_id":151504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":151504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:10:47] local.INFO: TCP Data received {"connection_id":151504,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:10:47] local.INFO: Processing buffer {"connection_id":151504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:10:47] local.INFO: IMEI packet received {"connection_id":151504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":151504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:10:48] local.INFO: TCP Data received {"connection_id":151504,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead34858012d18724007220860005700ed27..."} 
[2026-08-10 14:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead34858012d18724007220860005700ed27..."} 
[2026-08-10 14:10:48] local.INFO: Processing buffer {"connection_id":151504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead34858012d18724007220860005700ed27..."} 
[2026-08-10 14:10:48] local.INFO: Packet analysis {"connection_id":151504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:10:48] local.INFO: Extracted packet for processing {"connection_id":151504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":39,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305887232001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786351143000,"timestamp_ms":1786351143000,"timestamp_seconds":1786351143,"priority":1,"record_length":96,"hex_timestamp":"0000019fead34858"} 
[2026-08-10 14:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:10: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-08-10 14:10: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-08-10 14:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305887232001,"66":12885,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305887232001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:10:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:10:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305887232001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":151504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:10:48] local.INFO: GPS data processed {"connection_id":151504,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:10:48] local.INFO: Acknowledgment sent {"connection_id":151504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:10:59] local.INFO: TCP Data received {"connection_id":151505,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:10:59] local.INFO: Processing buffer {"connection_id":151505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:10:59] local.INFO: IMEI packet received {"connection_id":151505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":151505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:11:04] local.INFO: TCP Data received {"connection_id":151505,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:11:04] local.INFO: Processing buffer {"connection_id":151505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:11:04] local.INFO: IMEI packet received {"connection_id":151505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":151505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:11:05] local.INFO: TCP Data received {"connection_id":151505,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:11:05] local.INFO: Processing buffer {"connection_id":151505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:11:05] local.INFO: Packet analysis {"connection_id":151505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:11:05] local.INFO: Extracted packet for processing {"connection_id":151505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305825024001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786351180000,"timestamp_ms":1786351180000,"timestamp_seconds":1786351180,"priority":1,"record_length":96,"hex_timestamp":"0000019fead3d8e0"} 
[2026-08-10 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-08-10 14:11: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305825024001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305825024001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:11:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305825024001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":151505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:11:05] local.INFO: GPS data processed {"connection_id":151505,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:11:05] local.INFO: Acknowledgment sent {"connection_id":151505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:11:19] local.INFO: TCP Data received {"connection_id":151504,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead39a60012d18724007220860005700ed24..."} 
[2026-08-10 14:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead39a60012d18724007220860005700ed24..."} 
[2026-08-10 14:11:19] local.INFO: Processing buffer {"connection_id":151504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead39a60012d18724007220860005700ed24..."} 
[2026-08-10 14:11:19] local.INFO: Packet analysis {"connection_id":151504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:11:19] local.INFO: Extracted packet for processing {"connection_id":151504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":36,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305892608001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786351164000,"timestamp_ms":1786351164000,"timestamp_seconds":1786351164,"priority":1,"record_length":96,"hex_timestamp":"0000019fead39a60"} 
[2026-08-10 14:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 14:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305892608001,"66":12928,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305892608001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:11:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305892608001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":151504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:11:19] local.INFO: GPS data processed {"connection_id":151504,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:11:19] local.INFO: Acknowledgment sent {"connection_id":151504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:11:36] local.INFO: TCP Data received {"connection_id":151505,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:11:36] local.INFO: Processing buffer {"connection_id":151505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:11:36] local.INFO: Packet analysis {"connection_id":151505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:11:36] local.INFO: Extracted packet for processing {"connection_id":151505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305825024001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786351180000,"timestamp_ms":1786351180000,"timestamp_seconds":1786351180,"priority":1,"record_length":96,"hex_timestamp":"0000019fead3d8e0"} 
[2026-08-10 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-08-10 14: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305825024001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305825024001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:11:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305825024001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":151505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:11:36] local.INFO: GPS data processed {"connection_id":151505,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:11:36] local.INFO: Acknowledgment sent {"connection_id":151505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:11:42] local.INFO: TCP Data received {"connection_id":151506,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:11:42] local.INFO: Processing buffer {"connection_id":151506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:11:42] local.INFO: IMEI packet received {"connection_id":151506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":151506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:11:47] local.INFO: TCP Data received {"connection_id":151506,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:11:47] local.INFO: Processing buffer {"connection_id":151506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:11:47] local.INFO: IMEI packet received {"connection_id":151506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":151506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:11:48] local.INFO: TCP Data received {"connection_id":151506,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead3ec68012d18724007220860005700ed22..."} 
[2026-08-10 14:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead3ec68012d18724007220860005700ed22..."} 
[2026-08-10 14:11:48] local.INFO: Processing buffer {"connection_id":151506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead3ec68012d18724007220860005700ed22..."} 
[2026-08-10 14:11:48] local.INFO: Packet analysis {"connection_id":151506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:11:48] local.INFO: Extracted packet for processing {"connection_id":151506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":34,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305897984001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786351185000,"timestamp_ms":1786351185000,"timestamp_seconds":1786351185,"priority":1,"record_length":96,"hex_timestamp":"0000019fead3ec68"} 
[2026-08-10 14:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":128,"data_length":795,"current_offset":136} 
[2026-08-10 14:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305897984001,"66":12885,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305897984001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:11:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:11:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305897984001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":151506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:11:48] local.INFO: GPS data processed {"connection_id":151506,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:11:48] local.INFO: Acknowledgment sent {"connection_id":151506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:12:00] local.INFO: TCP Data received {"connection_id":152829,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:12:00] local.INFO: Processing buffer {"connection_id":152829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:12:00] local.INFO: IMEI packet received {"connection_id":152829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":152829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:12:04] local.INFO: TCP Data received {"connection_id":152829,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:12:04] local.INFO: Processing buffer {"connection_id":152829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:12:04] local.INFO: IMEI packet received {"connection_id":152829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":152829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:12:05] local.INFO: TCP Data received {"connection_id":152829,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:12:05] local.INFO: Processing buffer {"connection_id":152829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:12:05] local.INFO: Packet analysis {"connection_id":152829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:12:05] local.INFO: Extracted packet for processing {"connection_id":152829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305825024001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786351180000,"timestamp_ms":1786351180000,"timestamp_seconds":1786351180,"priority":1,"record_length":96,"hex_timestamp":"0000019fead3d8e0"} 
[2026-08-10 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-08-10 14:12: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305825024001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305825024001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:12:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305825024001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":152829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:12:05] local.INFO: GPS data processed {"connection_id":152829,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:12:05] local.INFO: Acknowledgment sent {"connection_id":152829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:12:19] local.INFO: TCP Data received {"connection_id":151506,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead43e70012d18724007220860005700ed27..."} 
[2026-08-10 14:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead43e70012d18724007220860005700ed27..."} 
[2026-08-10 14:12:19] local.INFO: Processing buffer {"connection_id":151506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead43e70012d18724007220860005700ed27..."} 
[2026-08-10 14:12:19] local.INFO: Packet analysis {"connection_id":151506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead4"} 
[2026-08-10 14:12:19] local.INFO: Extracted packet for processing {"connection_id":151506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead4"} 
[2026-08-10 14:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":39,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305903360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786351206000,"timestamp_ms":1786351206000,"timestamp_seconds":1786351206,"priority":1,"record_length":96,"hex_timestamp":"0000019fead43e70"} 
[2026-08-10 14:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 14:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305903360001,"66":12841,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305903360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:12:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:12:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305903360001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":151506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:12:19] local.INFO: GPS data processed {"connection_id":151506,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:12:19] local.INFO: Acknowledgment sent {"connection_id":151506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:12:36] local.INFO: TCP Data received {"connection_id":152829,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:12:36] local.INFO: Processing buffer {"connection_id":152829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:12:36] local.INFO: Packet analysis {"connection_id":152829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:12:36] local.INFO: Extracted packet for processing {"connection_id":152829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305825024001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786351180000,"timestamp_ms":1786351180000,"timestamp_seconds":1786351180,"priority":1,"record_length":96,"hex_timestamp":"0000019fead3d8e0"} 
[2026-08-10 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-08-10 14:12: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305825024001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305825024001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:12:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305825024001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":152829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:12:36] local.INFO: GPS data processed {"connection_id":152829,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:12:36] local.INFO: Acknowledgment sent {"connection_id":152829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:12:42] local.INFO: TCP Data received {"connection_id":151507,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:12:42] local.INFO: Processing buffer {"connection_id":151507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:12:42] local.INFO: IMEI packet received {"connection_id":151507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":151507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:12:47] local.INFO: TCP Data received {"connection_id":151507,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:12:47] local.INFO: Processing buffer {"connection_id":151507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:12:47] local.INFO: IMEI packet received {"connection_id":151507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":151507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:12:48] local.INFO: TCP Data received {"connection_id":151507,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead49078012d18724007220860005700ed26..."} 
[2026-08-10 14:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead49078012d18724007220860005700ed26..."} 
[2026-08-10 14:12:48] local.INFO: Processing buffer {"connection_id":151507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead49078012d18724007220860005700ed26..."} 
[2026-08-10 14:12:48] local.INFO: Packet analysis {"connection_id":151507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead4"} 
[2026-08-10 14:12:48] local.INFO: Extracted packet for processing {"connection_id":151507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead4"} 
[2026-08-10 14:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":38,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305908736001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786351227000,"timestamp_ms":1786351227000,"timestamp_seconds":1786351227,"priority":1,"record_length":96,"hex_timestamp":"0000019fead49078"} 
[2026-08-10 14:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 14:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305908736001,"66":12841,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305908736001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:12:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305908736001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":151507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:12:48] local.INFO: GPS data processed {"connection_id":151507,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:12:48] local.INFO: Acknowledgment sent {"connection_id":151507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:12:58] local.INFO: TCP Data received {"connection_id":152830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:12:58] local.INFO: Processing buffer {"connection_id":152830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:12:58] local.INFO: IMEI packet received {"connection_id":152830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":152830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:13:06] local.INFO: TCP Data received {"connection_id":152830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:13:06] local.INFO: Processing buffer {"connection_id":152830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:13:06] local.INFO: IMEI packet received {"connection_id":152830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":152830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:13:06] local.INFO: TCP Data received {"connection_id":152830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:13:06] local.INFO: Processing buffer {"connection_id":152830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:13:06] local.INFO: Packet analysis {"connection_id":152830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:13:06] local.INFO: Extracted packet for processing {"connection_id":152830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305825024001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786351180000,"timestamp_ms":1786351180000,"timestamp_seconds":1786351180,"priority":1,"record_length":96,"hex_timestamp":"0000019fead3d8e0"} 
[2026-08-10 14:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:13: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-08-10 14:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:13: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-08-10 14:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305825024001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305825024001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:13:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305825024001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":152830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:13:06] local.INFO: GPS data processed {"connection_id":152830,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:13:06] local.INFO: Acknowledgment sent {"connection_id":152830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:13:19] local.INFO: TCP Data received {"connection_id":151507,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead4e280012d18724007220860005700ed24..."} 
[2026-08-10 14:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead4e280012d18724007220860005700ed24..."} 
[2026-08-10 14:13:19] local.INFO: Processing buffer {"connection_id":151507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead4e280012d18724007220860005700ed24..."} 
[2026-08-10 14:13:19] local.INFO: Packet analysis {"connection_id":151507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead4"} 
[2026-08-10 14:13:19] local.INFO: Extracted packet for processing {"connection_id":151507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead4"} 
[2026-08-10 14:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":36,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305914112001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786351248000,"timestamp_ms":1786351248000,"timestamp_seconds":1786351248,"priority":1,"record_length":96,"hex_timestamp":"0000019fead4e280"} 
[2026-08-10 14:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 14:13: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-08-10 14:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305914112001,"66":12841,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305914112001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:13:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305914112001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":151507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:13:19] local.INFO: GPS data processed {"connection_id":151507,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:13:19] local.INFO: Acknowledgment sent {"connection_id":151507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:13:37] local.INFO: TCP Data received {"connection_id":152830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:13:37] local.INFO: Processing buffer {"connection_id":152830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:13:37] local.INFO: Packet analysis {"connection_id":152830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:13:37] local.INFO: Extracted packet for processing {"connection_id":152830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305825024001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786351180000,"timestamp_ms":1786351180000,"timestamp_seconds":1786351180,"priority":1,"record_length":96,"hex_timestamp":"0000019fead3d8e0"} 
[2026-08-10 14:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:13: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-08-10 14:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305825024001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305825024001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:13:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305825024001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":152830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:13:37] local.INFO: GPS data processed {"connection_id":152830,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:13:37] local.INFO: Acknowledgment sent {"connection_id":152830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:13:47] local.INFO: TCP Data received {"connection_id":154281,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:13:47] local.INFO: Processing buffer {"connection_id":154281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:13:47] local.INFO: IMEI packet received {"connection_id":154281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":154281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:13:52] local.INFO: TCP Data received {"connection_id":154281,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:13:52] local.INFO: Processing buffer {"connection_id":154281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:13:52] local.INFO: IMEI packet received {"connection_id":154281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":154281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:13:53] local.INFO: TCP Data received {"connection_id":154281,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead53488012d18724007220860005700ed24..."} 
[2026-08-10 14:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead53488012d18724007220860005700ed24..."} 
[2026-08-10 14:13:53] local.INFO: Processing buffer {"connection_id":154281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead53488012d18724007220860005700ed24..."} 
[2026-08-10 14:13:53] local.INFO: Packet analysis {"connection_id":154281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead5"} 
[2026-08-10 14:13:53] local.INFO: Extracted packet for processing {"connection_id":154281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead5"} 
[2026-08-10 14:13:53] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":36,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305919488001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786351269000,"timestamp_ms":1786351269000,"timestamp_seconds":1786351269,"priority":1,"record_length":96,"hex_timestamp":"0000019fead53488"} 
[2026-08-10 14:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 14:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305919488001,"66":12809,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305919488001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:13:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:13:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305919488001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":154281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:13:53] local.INFO: GPS data processed {"connection_id":154281,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:13:53] local.INFO: Acknowledgment sent {"connection_id":154281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:13:54] local.INFO: TCP Data received {"connection_id":154281,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead58690012d18724007220860005700ed25..."} 
[2026-08-10 14:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead58690012d18724007220860005700ed25..."} 
[2026-08-10 14:13:54] local.INFO: Processing buffer {"connection_id":154281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead58690012d18724007220860005700ed25..."} 
[2026-08-10 14:13:54] local.INFO: Packet analysis {"connection_id":154281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead5"} 
[2026-08-10 14:13:54] local.INFO: Extracted packet for processing {"connection_id":154281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead5"} 
[2026-08-10 14:13:54] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":37,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305924864001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786351290000,"timestamp_ms":1786351290000,"timestamp_seconds":1786351290,"priority":1,"record_length":96,"hex_timestamp":"0000019fead58690"} 
[2026-08-10 14:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 14:13:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3939715160,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:54] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-3245318515492097472,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 14:13:54] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:54] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2232680448,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:54] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2452315551679180069,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:54] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-10 14:13:54] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,133,159,226,45,64,8,87,36,10,66,144,38,62,1,240,41,227,234,34,4,113,205,154,114,96,239,50,2,40,7,164,20],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 14:13:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6269271420174336000,"timestamp_seconds":6269271420174336,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 14:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":154281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":154281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":154281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305924864001,"66":12809,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305924864001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:13:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:13:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305924864001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":154281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:13:54] local.INFO: GPS data processed {"connection_id":154281,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:13:54] local.INFO: Acknowledgment sent {"connection_id":154281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:13:58] local.INFO: TCP Data received {"connection_id":151508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:13:58] local.INFO: Processing buffer {"connection_id":151508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:13:58] local.INFO: IMEI packet received {"connection_id":151508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":151508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:14:05] local.INFO: TCP Data received {"connection_id":151508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:14:05] local.INFO: Processing buffer {"connection_id":151508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:14:05] local.INFO: IMEI packet received {"connection_id":151508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":151508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:14:07] local.INFO: TCP Data received {"connection_id":151508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:14:07] local.INFO: Processing buffer {"connection_id":151508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:14:07] local.INFO: Packet analysis {"connection_id":151508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:14:07] local.INFO: Extracted packet for processing {"connection_id":151508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305825024001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786351180000,"timestamp_ms":1786351180000,"timestamp_seconds":1786351180,"priority":1,"record_length":96,"hex_timestamp":"0000019fead3d8e0"} 
[2026-08-10 14:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:14: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-08-10 14:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:14: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-08-10 14:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:14: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-08-10 14:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305825024001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305825024001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:14:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305825024001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":151508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:14:07] local.INFO: GPS data processed {"connection_id":151508,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:14:07] local.INFO: Acknowledgment sent {"connection_id":151508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:14:25] local.INFO: TCP Data received {"connection_id":154281,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead5d898012d18724007220860005700ed26..."} 
[2026-08-10 14:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead5d898012d18724007220860005700ed26..."} 
[2026-08-10 14:14:25] local.INFO: Processing buffer {"connection_id":154281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead5d898012d18724007220860005700ed26..."} 
[2026-08-10 14:14:25] local.INFO: Packet analysis {"connection_id":154281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead5"} 
[2026-08-10 14:14:25] local.INFO: Extracted packet for processing {"connection_id":154281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead5"} 
[2026-08-10 14:14:25] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":38,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305930240001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786351311000,"timestamp_ms":1786351311000,"timestamp_seconds":1786351311,"priority":1,"record_length":96,"hex_timestamp":"0000019fead5d898"} 
[2026-08-10 14:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 14:14:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:25] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3939736160,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:25] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-3222228771308801472,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 14:14:25] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146179942887853,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:25] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2232680448,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:25] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2452315551679180071,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:25] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:25] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,133,159,52,45,64,8,87,36,10,66,226,144,1,240,41,227,234,34,4,113,205,236,114,96,239,50,2,40,7,164,20],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 14:14:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6269271424469303296,"timestamp_seconds":6269271424469303.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 14:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305930240001,"66":12776,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305930240001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:14:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:14:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305930240001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":154281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:14:25] local.INFO: GPS data processed {"connection_id":154281,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:14:25] local.INFO: Acknowledgment sent {"connection_id":154281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:14:38] local.INFO: TCP Data received {"connection_id":151508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:14:38] local.INFO: Processing buffer {"connection_id":151508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:14:38] local.INFO: Packet analysis {"connection_id":151508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:14:38] local.INFO: Extracted packet for processing {"connection_id":151508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305825024001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786351180000,"timestamp_ms":1786351180000,"timestamp_seconds":1786351180,"priority":1,"record_length":96,"hex_timestamp":"0000019fead3d8e0"} 
[2026-08-10 14:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:14: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-08-10 14:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305825024001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305825024001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:14:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305825024001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":151508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:14:38] local.INFO: GPS data processed {"connection_id":151508,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:14:38] local.INFO: Acknowledgment sent {"connection_id":151508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:14:42] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:14:42] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:14:42] local.INFO: IMEI packet received {"connection_id":152831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":152831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:14:47] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:14:47] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:14:47] local.INFO: IMEI packet received {"connection_id":152831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":152831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:14:50] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead62aa0012d18724007220860005700ed26..."} 
[2026-08-10 14:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead62aa0012d18724007220860005700ed26..."} 
[2026-08-10 14:14:50] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead62aa0012d18724007220860005700ed26..."} 
[2026-08-10 14:14:50] local.INFO: Packet analysis {"connection_id":152831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead6"} 
[2026-08-10 14:14:50] local.INFO: Extracted packet for processing {"connection_id":152831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead6"} 
[2026-08-10 14:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":38,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305935616001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786351332000,"timestamp_ms":1786351332000,"timestamp_seconds":1786351332,"priority":1,"record_length":96,"hex_timestamp":"0000019fead62aa0"} 
[2026-08-10 14:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-10 14:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305935616001,"66":12722,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305935616001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:14:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305935616001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":152831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:14:50] local.INFO: GPS data processed {"connection_id":152831,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:14:50] local.INFO: Acknowledgment sent {"connection_id":152831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:14:55] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead67ca8012d18724007220860005700ed26..."} 
[2026-08-10 14:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead67ca8012d18724007220860005700ed26..."} 
[2026-08-10 14:14:55] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead67ca8012d18724007220860005700ed26..."} 
[2026-08-10 14:14:55] local.INFO: Packet analysis {"connection_id":152831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead6"} 
[2026-08-10 14:14:55] local.INFO: Extracted packet for processing {"connection_id":152831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead6"} 
[2026-08-10 14:14:55] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":38,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305940992001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786351353000,"timestamp_ms":1786351353000,"timestamp_seconds":1786351353,"priority":1,"record_length":96,"hex_timestamp":"0000019fead67ca8"} 
[2026-08-10 14:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 14:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305940992001,"66":12743,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305940992001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:14:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:14:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305940992001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":152831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:14:55] local.INFO: GPS data processed {"connection_id":152831,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:14:55] local.INFO: Acknowledgment sent {"connection_id":152831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:14:58] local.INFO: TCP Data received {"connection_id":151904,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:14:58] local.INFO: Processing buffer {"connection_id":151904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:14:58] local.INFO: IMEI packet received {"connection_id":151904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":151904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:15:06] local.INFO: TCP Data received {"connection_id":151904,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:15:06] local.INFO: Processing buffer {"connection_id":151904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:15:06] local.INFO: IMEI packet received {"connection_id":151904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":151904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:15:07] local.INFO: TCP Data received {"connection_id":151904,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:15:07] local.INFO: Processing buffer {"connection_id":151904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead3d8e0012d342a4006abc2800015010221..."} 
[2026-08-10 14:15:07] local.INFO: Packet analysis {"connection_id":151904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:15:07] local.INFO: Extracted packet for processing {"connection_id":151904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead3"} 
[2026-08-10 14:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305825024001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786351180000,"timestamp_ms":1786351180000,"timestamp_seconds":1786351180,"priority":1,"record_length":96,"hex_timestamp":"0000019fead3d8e0"} 
[2026-08-10 14:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:15: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-08-10 14: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":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:15: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-08-10 14:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305825024001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305825024001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:15:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:15:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305825024001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":151904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:15:07] local.INFO: GPS data processed {"connection_id":151904,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:15:07] local.INFO: Acknowledgment sent {"connection_id":151904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:15:40] local.INFO: TCP Data received {"connection_id":151904,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:15:40] local.INFO: Processing buffer {"connection_id":151904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:15:40] local.INFO: Packet analysis {"connection_id":151904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:15:40] local.INFO: Extracted packet for processing {"connection_id":151904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305902080001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786351481000,"timestamp_ms":1786351481000,"timestamp_seconds":1786351481,"priority":1,"record_length":96,"hex_timestamp":"0000019fead870a8"} 
[2026-08-10 14:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:15: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-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305902080001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305902080001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:15:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305902080001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":151904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:15:40] local.INFO: GPS data processed {"connection_id":151904,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:15:40] local.INFO: Acknowledgment sent {"connection_id":151904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:15:42] local.INFO: TCP Data received {"connection_id":151509,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:15:42] local.INFO: Processing buffer {"connection_id":151509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:15:42] local.INFO: IMEI packet received {"connection_id":151509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":151509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:15:49] local.INFO: TCP Data received {"connection_id":151509,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:15:49] local.INFO: Processing buffer {"connection_id":151509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:15:49] local.INFO: IMEI packet received {"connection_id":151509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":151509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:15:49] local.INFO: TCP Data received {"connection_id":151509,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead720b8012d18724007220860005700ed24..."} 
[2026-08-10 14:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead720b8012d18724007220860005700ed24..."} 
[2026-08-10 14:15:49] local.INFO: Processing buffer {"connection_id":151509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead720b8012d18724007220860005700ed24..."} 
[2026-08-10 14:15:49] local.INFO: Packet analysis {"connection_id":151509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead7"} 
[2026-08-10 14:15:49] local.INFO: Extracted packet for processing {"connection_id":151509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead7"} 
[2026-08-10 14:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":36,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305951744001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:15: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-08-10 14:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786351395000,"timestamp_ms":1786351395000,"timestamp_seconds":1786351395,"priority":1,"record_length":96,"hex_timestamp":"0000019fead720b8"} 
[2026-08-10 14:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 14:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305951744001,"66":12711,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305951744001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:15:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305951744001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":151509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:15:49] local.INFO: GPS data processed {"connection_id":151509,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:15:49] local.INFO: Acknowledgment sent {"connection_id":151509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:15:59] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:15:59] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:15:59] local.INFO: IMEI packet received {"connection_id":152832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":152832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:16:04] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:16:04] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:16:04] local.INFO: IMEI packet received {"connection_id":152832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":152832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:16:05] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:16:05] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:16:05] local.INFO: Packet analysis {"connection_id":152832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:16:05] local.INFO: Extracted packet for processing {"connection_id":152832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305902080001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786351481000,"timestamp_ms":1786351481000,"timestamp_seconds":1786351481,"priority":1,"record_length":96,"hex_timestamp":"0000019fead870a8"} 
[2026-08-10 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-08-10 14:16: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-08-10 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305902080001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305902080001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:16:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:16:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305902080001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":152832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:16:05] local.INFO: GPS data processed {"connection_id":152832,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:16:05] local.INFO: Acknowledgment sent {"connection_id":152832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:16:20] local.INFO: TCP Data received {"connection_id":151509,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead772c0012d18724007220860005700ed24..."} 
[2026-08-10 14:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead772c0012d18724007220860005700ed24..."} 
[2026-08-10 14:16:20] local.INFO: Processing buffer {"connection_id":151509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead772c0012d18724007220860005700ed24..."} 
[2026-08-10 14:16:20] local.INFO: Packet analysis {"connection_id":151509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead7"} 
[2026-08-10 14:16:20] local.INFO: Extracted packet for processing {"connection_id":151509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead7"} 
[2026-08-10 14:16:20] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":36,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305957120001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786351416000,"timestamp_ms":1786351416000,"timestamp_seconds":1786351416,"priority":1,"record_length":96,"hex_timestamp":"0000019fead772c0"} 
[2026-08-10 14:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:16: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":167,"data_length":795,"current_offset":136} 
[2026-08-10 14:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305957120001,"66":12722,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305957120001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:16:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:16:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305957120001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":151509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:16:20] local.INFO: GPS data processed {"connection_id":151509,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:16:20] local.INFO: Acknowledgment sent {"connection_id":151509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:16:36] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:16:36] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:16:36] local.INFO: Packet analysis {"connection_id":152832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:16:36] local.INFO: Extracted packet for processing {"connection_id":152832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305902080001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786351481000,"timestamp_ms":1786351481000,"timestamp_seconds":1786351481,"priority":1,"record_length":96,"hex_timestamp":"0000019fead870a8"} 
[2026-08-10 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-08-10 14:16: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-08-10 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305902080001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305902080001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:16:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305902080001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":152832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:16:36] local.INFO: GPS data processed {"connection_id":152832,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:16:36] local.INFO: Acknowledgment sent {"connection_id":152832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:16:41] local.INFO: TCP Data received {"connection_id":151905,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:16:41] local.INFO: Processing buffer {"connection_id":151905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:16:41] local.INFO: IMEI packet received {"connection_id":151905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":151905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:16:42] local.INFO: TCP Data received {"connection_id":151905,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:16:42] local.INFO: Processing buffer {"connection_id":151905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:16:42] local.INFO: IMEI packet received {"connection_id":151905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":151905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:16:47] local.INFO: TCP Data received {"connection_id":151905,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:16:47] local.INFO: Processing buffer {"connection_id":151905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:16:47] local.INFO: IMEI packet received {"connection_id":151905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":151905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:16:48] local.INFO: TCP Data received {"connection_id":151905,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead7c4c8012d18724007220860005700ed24..."} 
[2026-08-10 14:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead7c4c8012d18724007220860005700ed24..."} 
[2026-08-10 14:16:48] local.INFO: Processing buffer {"connection_id":151905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead7c4c8012d18724007220860005700ed24..."} 
[2026-08-10 14:16:48] local.INFO: Packet analysis {"connection_id":151905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead7"} 
[2026-08-10 14:16:48] local.INFO: Extracted packet for processing {"connection_id":151905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead7"} 
[2026-08-10 14:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":36,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305962496001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786351437000,"timestamp_ms":1786351437000,"timestamp_seconds":1786351437,"priority":1,"record_length":96,"hex_timestamp":"0000019fead7c4c8"} 
[2026-08-10 14:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:16: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-08-10 14:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 14:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305962496001,"66":12711,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305962496001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:16:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:16:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305962496001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":151905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:16:48] local.INFO: GPS data processed {"connection_id":151905,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:16:48] local.INFO: Acknowledgment sent {"connection_id":151905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:17:02] local.INFO: TCP Data received {"connection_id":151510,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:17:02] local.INFO: Processing buffer {"connection_id":151510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:17:02] local.INFO: IMEI packet received {"connection_id":151510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":151510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:17:07] local.INFO: TCP Data received {"connection_id":151510,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:17:07] local.INFO: Processing buffer {"connection_id":151510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:17:07] local.INFO: IMEI packet received {"connection_id":151510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":151510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:17:09] local.INFO: TCP Data received {"connection_id":151510,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:17:09] local.INFO: Processing buffer {"connection_id":151510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:17:09] local.INFO: Packet analysis {"connection_id":151510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:17:09] local.INFO: Extracted packet for processing {"connection_id":151510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305902080001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786351481000,"timestamp_ms":1786351481000,"timestamp_seconds":1786351481,"priority":1,"record_length":96,"hex_timestamp":"0000019fead870a8"} 
[2026-08-10 14:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:17: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-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:17: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-08-10 14:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305902080001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305902080001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:17:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305902080001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":151510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:17:09] local.INFO: GPS data processed {"connection_id":151510,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:17:09] local.INFO: Acknowledgment sent {"connection_id":151510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:17:09] local.INFO: TCP Data received {"connection_id":151510,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:17:09] local.INFO: Processing buffer {"connection_id":151510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:17:09] local.INFO: Packet analysis {"connection_id":151510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:17:09] local.INFO: Extracted packet for processing {"connection_id":151510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305902080001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786351481000,"timestamp_ms":1786351481000,"timestamp_seconds":1786351481,"priority":1,"record_length":96,"hex_timestamp":"0000019fead870a8"} 
[2026-08-10 14:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:17: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-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:17: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-08-10 14:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305902080001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305902080001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:17:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305902080001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":151510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:17:09] local.INFO: GPS data processed {"connection_id":151510,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:17:09] local.INFO: Acknowledgment sent {"connection_id":151510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:17:19] local.INFO: TCP Data received {"connection_id":151905,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead816d0012d18724007220860005700ed28..."} 
[2026-08-10 14:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead816d0012d18724007220860005700ed28..."} 
[2026-08-10 14:17:19] local.INFO: Processing buffer {"connection_id":151905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead816d0012d18724007220860005700ed28..."} 
[2026-08-10 14:17:19] local.INFO: Packet analysis {"connection_id":151905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:17:19] local.INFO: Extracted packet for processing {"connection_id":151905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":40,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305967872001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786351458000,"timestamp_ms":1786351458000,"timestamp_seconds":1786351458,"priority":1,"record_length":96,"hex_timestamp":"0000019fead816d0"} 
[2026-08-10 14:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 14:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305967872001,"66":12667,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305967872001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:17:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:17:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305967872001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":151905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:17:19] local.INFO: GPS data processed {"connection_id":151905,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:17:19] local.INFO: Acknowledgment sent {"connection_id":151905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:17:42] local.INFO: TCP Data received {"connection_id":151510,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:17:42] local.INFO: Processing buffer {"connection_id":151510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:17:42] local.INFO: Packet analysis {"connection_id":151510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:17:42] local.INFO: Extracted packet for processing {"connection_id":151510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305902080001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786351481000,"timestamp_ms":1786351481000,"timestamp_seconds":1786351481,"priority":1,"record_length":96,"hex_timestamp":"0000019fead870a8"} 
[2026-08-10 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-08-10 14:17: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-08-10 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:17: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-08-10 14:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305902080001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305902080001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:17:42] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305902080001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":151510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:17:42] local.INFO: GPS data processed {"connection_id":151510,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:17:42] local.INFO: Acknowledgment sent {"connection_id":151510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:17:42] local.INFO: TCP Data received {"connection_id":154282,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:17:42] local.INFO: Processing buffer {"connection_id":154282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:17:42] local.INFO: IMEI packet received {"connection_id":154282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":154282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:17:44] local.INFO: TCP Data received {"connection_id":154282,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:17:44] local.INFO: Processing buffer {"connection_id":154282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:17:44] local.INFO: IMEI packet received {"connection_id":154282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":154282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:17:47] local.INFO: TCP Data received {"connection_id":154282,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:17:47] local.INFO: Processing buffer {"connection_id":154282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:17:47] local.INFO: IMEI packet received {"connection_id":154282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":154282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:17:48] local.INFO: TCP Data received {"connection_id":154282,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead868d8012d18724007220860005700ed24..."} 
[2026-08-10 14:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead868d8012d18724007220860005700ed24..."} 
[2026-08-10 14:17:48] local.INFO: Processing buffer {"connection_id":154282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead868d8012d18724007220860005700ed24..."} 
[2026-08-10 14:17:48] local.INFO: Packet analysis {"connection_id":154282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:17:48] local.INFO: Extracted packet for processing {"connection_id":154282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":36,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305973248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786351479000,"timestamp_ms":1786351479000,"timestamp_seconds":1786351479,"priority":1,"record_length":96,"hex_timestamp":"0000019fead868d8"} 
[2026-08-10 14:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:17: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-08-10 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 14:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305973248001,"66":12711,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305973248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:17:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305973248001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":154282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:17:48] local.INFO: GPS data processed {"connection_id":154282,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:17:48] local.INFO: Acknowledgment sent {"connection_id":154282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:17:58] local.INFO: TCP Data received {"connection_id":151906,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:17:58] local.INFO: Processing buffer {"connection_id":151906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:17:58] local.INFO: IMEI packet received {"connection_id":151906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":151906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:18:04] local.INFO: TCP Data received {"connection_id":151906,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:18:04] local.INFO: Processing buffer {"connection_id":151906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:18:04] local.INFO: IMEI packet received {"connection_id":151906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":151906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:18:05] local.INFO: TCP Data received {"connection_id":151906,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:18:05] local.INFO: Processing buffer {"connection_id":151906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:18:05] local.INFO: Packet analysis {"connection_id":151906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:18:05] local.INFO: Extracted packet for processing {"connection_id":151906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305902080001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786351481000,"timestamp_ms":1786351481000,"timestamp_seconds":1786351481,"priority":1,"record_length":96,"hex_timestamp":"0000019fead870a8"} 
[2026-08-10 14:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:18: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-08-10 14:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:18: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-08-10 14:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305902080001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305902080001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:18:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305902080001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":151906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:18:05] local.INFO: GPS data processed {"connection_id":151906,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:18:05] local.INFO: Acknowledgment sent {"connection_id":151906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:18:19] local.INFO: TCP Data received {"connection_id":154282,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead8bae0012d18724007220860005700ed25..."} 
[2026-08-10 14:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead8bae0012d18724007220860005700ed25..."} 
[2026-08-10 14:18:19] local.INFO: Processing buffer {"connection_id":154282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead8bae0012d18724007220860005700ed25..."} 
[2026-08-10 14:18:19] local.INFO: Packet analysis {"connection_id":154282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:18:19] local.INFO: Extracted packet for processing {"connection_id":154282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":37,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305978624001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786351500000,"timestamp_ms":1786351500000,"timestamp_seconds":1786351500,"priority":1,"record_length":96,"hex_timestamp":"0000019fead8bae0"} 
[2026-08-10 14:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 14:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305978624001,"66":12689,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305978624001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:18:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305978624001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":154282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:18:19] local.INFO: GPS data processed {"connection_id":154282,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:18:19] local.INFO: Acknowledgment sent {"connection_id":154282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:18:36] local.INFO: TCP Data received {"connection_id":151906,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:18:36] local.INFO: Processing buffer {"connection_id":151906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:18:36] local.INFO: Packet analysis {"connection_id":151906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:18:36] local.INFO: Extracted packet for processing {"connection_id":151906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305902080001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786351481000,"timestamp_ms":1786351481000,"timestamp_seconds":1786351481,"priority":1,"record_length":96,"hex_timestamp":"0000019fead870a8"} 
[2026-08-10 14:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:18: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-08-10 14:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305902080001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305902080001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:18:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305902080001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":151906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:18:36] local.INFO: GPS data processed {"connection_id":151906,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:18:36] local.INFO: Acknowledgment sent {"connection_id":151906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:18:42] local.INFO: TCP Data received {"connection_id":152833,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:18:42] local.INFO: Processing buffer {"connection_id":152833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:18:42] local.INFO: IMEI packet received {"connection_id":152833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":152833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:18:47] local.INFO: TCP Data received {"connection_id":152833,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:18:47] local.INFO: Processing buffer {"connection_id":152833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:18:47] local.INFO: IMEI packet received {"connection_id":152833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":152833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:18:48] local.INFO: TCP Data received {"connection_id":152833,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead90ce8012d18724007220860005700ed23..."} 
[2026-08-10 14:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead90ce8012d18724007220860005700ed23..."} 
[2026-08-10 14:18:48] local.INFO: Processing buffer {"connection_id":152833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead90ce8012d18724007220860005700ed23..."} 
[2026-08-10 14:18:48] local.INFO: Packet analysis {"connection_id":152833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead9"} 
[2026-08-10 14:18:48] local.INFO: Extracted packet for processing {"connection_id":152833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead9"} 
[2026-08-10 14:18:48] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":35,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305984000001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786351521000,"timestamp_ms":1786351521000,"timestamp_seconds":1786351521,"priority":1,"record_length":96,"hex_timestamp":"0000019fead90ce8"} 
[2026-08-10 14:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:18: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-08-10 14:18: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":145,"data_length":795,"current_offset":136} 
[2026-08-10 14:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305984000001,"66":12689,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305984000001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:18:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:18:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305984000001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":152833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:18:48] local.INFO: GPS data processed {"connection_id":152833,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:18:48] local.INFO: Acknowledgment sent {"connection_id":152833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:18:58] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:18:58] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:18:58] local.INFO: IMEI packet received {"connection_id":152834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":152834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:19:04] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:19:04] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:19:04] local.INFO: IMEI packet received {"connection_id":152834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":152834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:19:05] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:19:05] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:19:05] local.INFO: Packet analysis {"connection_id":152834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:19:05] local.INFO: Extracted packet for processing {"connection_id":152834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305902080001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786351481000,"timestamp_ms":1786351481000,"timestamp_seconds":1786351481,"priority":1,"record_length":96,"hex_timestamp":"0000019fead870a8"} 
[2026-08-10 14:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:19: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-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305902080001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305902080001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:19:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305902080001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":152834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:19:05] local.INFO: GPS data processed {"connection_id":152834,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:19:05] local.INFO: Acknowledgment sent {"connection_id":152834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:19:19] local.INFO: TCP Data received {"connection_id":152833,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead95ef0012d18724007220860005700ed27..."} 
[2026-08-10 14:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead95ef0012d18724007220860005700ed27..."} 
[2026-08-10 14:19:19] local.INFO: Processing buffer {"connection_id":152833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead95ef0012d18724007220860005700ed27..."} 
[2026-08-10 14:19:19] local.INFO: Packet analysis {"connection_id":152833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead9"} 
[2026-08-10 14:19:19] local.INFO: Extracted packet for processing {"connection_id":152833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead9"} 
[2026-08-10 14:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":39,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305989376001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786351542000,"timestamp_ms":1786351542000,"timestamp_seconds":1786351542,"priority":1,"record_length":96,"hex_timestamp":"0000019fead95ef0"} 
[2026-08-10 14:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 14:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305989376001,"66":12667,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305989376001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:19:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305989376001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":152833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:19:19] local.INFO: GPS data processed {"connection_id":152833,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:19:19] local.INFO: Acknowledgment sent {"connection_id":152833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:19:36] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:19:36] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:19:36] local.INFO: Packet analysis {"connection_id":152834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:19:36] local.INFO: Extracted packet for processing {"connection_id":152834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305902080001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786351481000,"timestamp_ms":1786351481000,"timestamp_seconds":1786351481,"priority":1,"record_length":96,"hex_timestamp":"0000019fead870a8"} 
[2026-08-10 14:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:19: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-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305902080001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305902080001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:19:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305902080001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":152834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:19:36] local.INFO: GPS data processed {"connection_id":152834,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:19:36] local.INFO: Acknowledgment sent {"connection_id":152834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:19:47] local.INFO: TCP Data received {"connection_id":151907,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:19:47] local.INFO: Processing buffer {"connection_id":151907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:19:47] local.INFO: IMEI packet received {"connection_id":151907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":151907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:19:51] local.INFO: TCP Data received {"connection_id":151907,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:19:51] local.INFO: Processing buffer {"connection_id":151907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:19:51] local.INFO: IMEI packet received {"connection_id":151907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":151907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:19:51] local.INFO: TCP Data received {"connection_id":151907,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead9b0f8012d18724007220860005700ed21..."} 
[2026-08-10 14:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead9b0f8012d18724007220860005700ed21..."} 
[2026-08-10 14:19:51] local.INFO: Processing buffer {"connection_id":151907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead9b0f8012d18724007220860005700ed21..."} 
[2026-08-10 14:19:51] local.INFO: Packet analysis {"connection_id":151907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead9"} 
[2026-08-10 14:19:51] local.INFO: Extracted packet for processing {"connection_id":151907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead9"} 
[2026-08-10 14:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":33,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305994752001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786351563000,"timestamp_ms":1786351563000,"timestamp_seconds":1786351563,"priority":1,"record_length":96,"hex_timestamp":"0000019fead9b0f8"} 
[2026-08-10 14:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 14:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305994752001,"66":12602,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305994752001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:19:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305994752001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":151907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:19:52] local.INFO: GPS data processed {"connection_id":151907,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:19:52] local.INFO: Acknowledgment sent {"connection_id":151907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:19:52] local.INFO: TCP Data received {"connection_id":151907,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feada0300012d18724007220860005700ed25..."} 
[2026-08-10 14:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feada0300012d18724007220860005700ed25..."} 
[2026-08-10 14:19:52] local.INFO: Processing buffer {"connection_id":151907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feada0300012d18724007220860005700ed25..."} 
[2026-08-10 14:19:52] local.INFO: Packet analysis {"connection_id":151907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feada"} 
[2026-08-10 14:19:52] local.INFO: Extracted packet for processing {"connection_id":151907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feada"} 
[2026-08-10 14:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":37,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306000128001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786351584000,"timestamp_ms":1786351584000,"timestamp_seconds":1786351584,"priority":1,"record_length":96,"hex_timestamp":"0000019feada0300"} 
[2026-08-10 14:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-10 14:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306000128001,"66":12645,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306000128001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:19:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306000128001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":151907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:19:52] local.INFO: GPS data processed {"connection_id":151907,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:19:52] local.INFO: Acknowledgment sent {"connection_id":151907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:20:04] local.INFO: TCP Data received {"connection_id":154283,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:20:04] local.INFO: Processing buffer {"connection_id":154283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:20:04] local.INFO: IMEI packet received {"connection_id":154283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":154283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:20:09] local.INFO: TCP Data received {"connection_id":154283,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:20:09] local.INFO: Processing buffer {"connection_id":154283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:20:09] local.INFO: IMEI packet received {"connection_id":154283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":154283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:20:14] local.INFO: TCP Data received {"connection_id":154283,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:20:14] local.INFO: Processing buffer {"connection_id":154283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:20:14] local.INFO: Packet analysis {"connection_id":154283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:20:14] local.INFO: Extracted packet for processing {"connection_id":154283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305902080001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786351481000,"timestamp_ms":1786351481000,"timestamp_seconds":1786351481,"priority":1,"record_length":96,"hex_timestamp":"0000019fead870a8"} 
[2026-08-10 14:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305902080001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305902080001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:20:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305902080001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":154283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:20:14] local.INFO: GPS data processed {"connection_id":154283,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:20:14] local.INFO: Acknowledgment sent {"connection_id":154283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:20:19] local.INFO: TCP Data received {"connection_id":154283,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:20:19] local.INFO: Processing buffer {"connection_id":154283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead870a8012d342a4006abc2800015010223..."} 
[2026-08-10 14:20:19] local.INFO: Packet analysis {"connection_id":154283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:20:19] local.INFO: Extracted packet for processing {"connection_id":154283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead8"} 
[2026-08-10 14:20:19] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":21,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305902080001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786351481000,"timestamp_ms":1786351481000,"timestamp_seconds":1786351481,"priority":1,"record_length":96,"hex_timestamp":"0000019fead870a8"} 
[2026-08-10 14:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:20: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-08-10 14:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305902080001,"66":25549,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305902080001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:20:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:20:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305902080001,"power":25549,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":154283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:20:19] local.INFO: GPS data processed {"connection_id":154283,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:20:19] local.INFO: Acknowledgment sent {"connection_id":154283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:20:23] local.INFO: TCP Data received {"connection_id":151907,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feada5508012d18724007220860005700ed24..."} 
[2026-08-10 14:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feada5508012d18724007220860005700ed24..."} 
[2026-08-10 14:20:23] local.INFO: Processing buffer {"connection_id":151907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feada5508012d18724007220860005700ed24..."} 
[2026-08-10 14:20:23] local.INFO: Packet analysis {"connection_id":151907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feada"} 
[2026-08-10 14:20:23] local.INFO: Extracted packet for processing {"connection_id":151907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feada"} 
[2026-08-10 14:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":36,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306005504001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786351605000,"timestamp_ms":1786351605000,"timestamp_seconds":1786351605,"priority":1,"record_length":96,"hex_timestamp":"0000019feada5508"} 
[2026-08-10 14:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 14:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306005504001,"66":12613,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306005504001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:20:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306005504001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":151907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:20:23] local.INFO: GPS data processed {"connection_id":151907,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:20:23] local.INFO: Acknowledgment sent {"connection_id":151907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:20:42] local.INFO: TCP Data received {"connection_id":152835,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:20:42] local.INFO: Processing buffer {"connection_id":152835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:20:42] local.INFO: IMEI packet received {"connection_id":152835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":152835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:20:47] local.INFO: TCP Data received {"connection_id":152835,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:20:47] local.INFO: Processing buffer {"connection_id":152835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:20:47] local.INFO: IMEI packet received {"connection_id":152835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":152835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:20:48] local.INFO: TCP Data received {"connection_id":152835,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feadaa710012d18724007220860005700ed25..."} 
[2026-08-10 14:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadaa710012d18724007220860005700ed25..."} 
[2026-08-10 14:20:48] local.INFO: Processing buffer {"connection_id":152835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadaa710012d18724007220860005700ed25..."} 
[2026-08-10 14:20:48] local.INFO: Packet analysis {"connection_id":152835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feada"} 
[2026-08-10 14:20:48] local.INFO: Extracted packet for processing {"connection_id":152835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feada"} 
[2026-08-10 14:20:48] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":37,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306010880001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786351626000,"timestamp_ms":1786351626000,"timestamp_seconds":1786351626,"priority":1,"record_length":96,"hex_timestamp":"0000019feadaa710"} 
[2026-08-10 14:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:20: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-08-10 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 14:20: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-08-10 14:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306010880001,"66":12613,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306010880001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:20:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:20:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306010880001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":152835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:20:48] local.INFO: GPS data processed {"connection_id":152835,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:20:48] local.INFO: Acknowledgment sent {"connection_id":152835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:20:59] local.INFO: TCP Data received {"connection_id":151511,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:20:59] local.INFO: Processing buffer {"connection_id":151511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:20:59] local.INFO: IMEI packet received {"connection_id":151511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":151511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:21:04] local.INFO: TCP Data received {"connection_id":151511,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:21:04] local.INFO: Processing buffer {"connection_id":151511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:21:04] local.INFO: IMEI packet received {"connection_id":151511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:21:05] local.INFO: TCP Data received {"connection_id":151511,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:21:05] local.INFO: Processing buffer {"connection_id":151511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:21:05] local.INFO: Packet analysis {"connection_id":151511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:21:05] local.INFO: Extracted packet for processing {"connection_id":151511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305979136001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786351782000,"timestamp_ms":1786351782000,"timestamp_seconds":1786351782,"priority":1,"record_length":96,"hex_timestamp":"0000019feadd0870"} 
[2026-08-10 14:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:21: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-08-10 14:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305979136001,"66":25517,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305979136001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:21:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305979136001,"power":25517,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":151511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:21:05] local.INFO: GPS data processed {"connection_id":151511,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:21:05] local.INFO: Acknowledgment sent {"connection_id":151511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:21:19] local.INFO: TCP Data received {"connection_id":152835,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feadaf918012d18724007220860005700ed26..."} 
[2026-08-10 14:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadaf918012d18724007220860005700ed26..."} 
[2026-08-10 14:21:19] local.INFO: Processing buffer {"connection_id":152835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadaf918012d18724007220860005700ed26..."} 
[2026-08-10 14:21:19] local.INFO: Packet analysis {"connection_id":152835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feada"} 
[2026-08-10 14:21:19] local.INFO: Extracted packet for processing {"connection_id":152835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feada"} 
[2026-08-10 14:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":38,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306016256001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786351647000,"timestamp_ms":1786351647000,"timestamp_seconds":1786351647,"priority":1,"record_length":96,"hex_timestamp":"0000019feadaf918"} 
[2026-08-10 14:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 14:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306016256001,"66":12591,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306016256001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:21:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:21:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306016256001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":152835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:21:19] local.INFO: GPS data processed {"connection_id":152835,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:21:19] local.INFO: Acknowledgment sent {"connection_id":152835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:21:36] local.INFO: TCP Data received {"connection_id":151511,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:21:36] local.INFO: Processing buffer {"connection_id":151511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:21:36] local.INFO: Packet analysis {"connection_id":151511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:21:36] local.INFO: Extracted packet for processing {"connection_id":151511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305979136001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786351782000,"timestamp_ms":1786351782000,"timestamp_seconds":1786351782,"priority":1,"record_length":96,"hex_timestamp":"0000019feadd0870"} 
[2026-08-10 14:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:21: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-08-10 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:21: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-08-10 14:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:21: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-08-10 14:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305979136001,"66":25517,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305979136001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:21:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305979136001,"power":25517,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":151511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:21:36] local.INFO: GPS data processed {"connection_id":151511,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:21:36] local.INFO: Acknowledgment sent {"connection_id":151511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:21:42] local.INFO: TCP Data received {"connection_id":154284,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:21:42] local.INFO: Processing buffer {"connection_id":154284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:21:42] local.INFO: IMEI packet received {"connection_id":154284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":154284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:21:44] local.INFO: TCP Data received {"connection_id":154284,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:21:44] local.INFO: Processing buffer {"connection_id":154284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:21:44] local.INFO: IMEI packet received {"connection_id":154284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":154284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:21:47] local.INFO: TCP Data received {"connection_id":154284,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:21:47] local.INFO: Processing buffer {"connection_id":154284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:21:47] local.INFO: IMEI packet received {"connection_id":154284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":154284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:21:48] local.INFO: TCP Data received {"connection_id":154284,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feadb4b20012d18724007220860005700ed22..."} 
[2026-08-10 14:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadb4b20012d18724007220860005700ed22..."} 
[2026-08-10 14:21:48] local.INFO: Processing buffer {"connection_id":154284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadb4b20012d18724007220860005700ed22..."} 
[2026-08-10 14:21:48] local.INFO: Packet analysis {"connection_id":154284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feadb"} 
[2026-08-10 14:21:48] local.INFO: Extracted packet for processing {"connection_id":154284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feadb"} 
[2026-08-10 14:21:48] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":34,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306021632001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786351668000,"timestamp_ms":1786351668000,"timestamp_seconds":1786351668,"priority":1,"record_length":96,"hex_timestamp":"0000019feadb4b20"} 
[2026-08-10 14:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:21: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-08-10 14: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 14:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306021632001,"66":12591,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306021632001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:21:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:21:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306021632001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":154284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:21:48] local.INFO: GPS data processed {"connection_id":154284,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:21:48] local.INFO: Acknowledgment sent {"connection_id":154284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:21:49] local.INFO: TCP Data received {"connection_id":154284,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feadb9d28012d18724007220860005700ed27..."} 
[2026-08-10 14:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadb9d28012d18724007220860005700ed27..."} 
[2026-08-10 14:21:49] local.INFO: Processing buffer {"connection_id":154284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadb9d28012d18724007220860005700ed27..."} 
[2026-08-10 14:21:49] local.INFO: Packet analysis {"connection_id":154284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feadb"} 
[2026-08-10 14:21:49] local.INFO: Extracted packet for processing {"connection_id":154284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feadb"} 
[2026-08-10 14:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":39,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306027008001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:21: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-08-10 14:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786351689000,"timestamp_ms":1786351689000,"timestamp_seconds":1786351689,"priority":1,"record_length":96,"hex_timestamp":"0000019feadb9d28"} 
[2026-08-10 14:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 14:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306027008001,"66":12580,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306027008001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:21:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306027008001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":154284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:21:49] local.INFO: GPS data processed {"connection_id":154284,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:21:49] local.INFO: Acknowledgment sent {"connection_id":154284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:22:01] local.INFO: TCP Data received {"connection_id":151908,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:22:01] local.INFO: Processing buffer {"connection_id":151908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:22:01] local.INFO: IMEI packet received {"connection_id":151908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":151908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:22:04] local.INFO: TCP Data received {"connection_id":151908,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:22:04] local.INFO: Processing buffer {"connection_id":151908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:22:04] local.INFO: IMEI packet received {"connection_id":151908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":151908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:22:05] local.INFO: TCP Data received {"connection_id":151908,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:22:05] local.INFO: Processing buffer {"connection_id":151908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:22:05] local.INFO: Packet analysis {"connection_id":151908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:22:05] local.INFO: Extracted packet for processing {"connection_id":151908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305979136001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786351782000,"timestamp_ms":1786351782000,"timestamp_seconds":1786351782,"priority":1,"record_length":96,"hex_timestamp":"0000019feadd0870"} 
[2026-08-10 14:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:22: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-08-10 14:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305979136001,"66":25517,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305979136001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:22:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305979136001,"power":25517,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":151908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:22:05] local.INFO: GPS data processed {"connection_id":151908,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:22:05] local.INFO: Acknowledgment sent {"connection_id":151908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:22:12] local.INFO: TCP Data received {"connection_id":152836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:22:12] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:22:12] local.INFO: IMEI packet received {"connection_id":152836,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":152836,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:22:13] local.INFO: TCP Data received {"connection_id":152836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:22:13] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:22:13] local.INFO: IMEI packet received {"connection_id":152836,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":152836,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:22:17] local.INFO: TCP Data received {"connection_id":152836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:22:17] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:22:17] local.INFO: IMEI packet received {"connection_id":152836,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":152836,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:22:17] local.INFO: TCP Data received {"connection_id":152836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-10 14:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-10 14:22:17] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-10 14:22:17] local.INFO: Packet analysis {"connection_id":152836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 14:22:17] local.INFO: Extracted packet for processing {"connection_id":152836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 14:22:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 14:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27356476364292096,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 14:22:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 14:22:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 14:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152836,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152836,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 14:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152836,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 14:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 14:22:17] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 14:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":152836,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 14:22:17] local.ERROR: GPS data processing failed {"connection_id":152836,"error":"No valid data to process"} 
[2026-08-10 14:22:17] local.INFO: Acknowledgment sent {"connection_id":152836,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 14:22:20] local.INFO: TCP Data received {"connection_id":154284,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feade92f8012d187000072200b8005700df27..."} 
[2026-08-10 14:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feade92f8012d187000072200b8005700df27..."} 
[2026-08-10 14:22:20] local.INFO: Processing buffer {"connection_id":154284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feade92f8012d187000072200b8005700df27..."} 
[2026-08-10 14:22:20] local.INFO: Packet analysis {"connection_id":154284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feade"} 
[2026-08-10 14:22:20] local.INFO: Extracted packet for processing {"connection_id":154284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feade"} 
[2026-08-10 14:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756576256,"raw_latitude":119668920,"longitude_deg":75.6576256,"latitude_deg":11.966892,"altitude":87,"angle":223,"satellites":39,"speed":7,"hex_longitude":"2d187000","hex_latitude":"072200b8","is_valid_coordinates":true} 
[2026-08-10 14:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306081536001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405427388448768,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761048222425532416,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786351883000,"timestamp_ms":1786351883000,"timestamp_seconds":1786351883,"priority":1,"record_length":96,"hex_timestamp":"0000019feade92f8"} 
[2026-08-10 14:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-10 14:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306081536001,"66":14233,"105":206,"83":41984,"24":7,"16":11405427388448768,"45":1761048222425532416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306081536001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:22:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405427388448768,"km_value":11405427388448.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761048222425532416,"description":"Unknown IO ID 45"} 
[2026-08-10 14:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306081536001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1761048222425532416}} 
[2026-08-10 14:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":154284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:22:20] local.INFO: GPS data processed {"connection_id":154284,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:22:20] local.INFO: Acknowledgment sent {"connection_id":154284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:22:36] local.INFO: TCP Data received {"connection_id":151908,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:22:36] local.INFO: Processing buffer {"connection_id":151908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:22:36] local.INFO: Packet analysis {"connection_id":151908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:22:36] local.INFO: Extracted packet for processing {"connection_id":151908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305979136001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786351782000,"timestamp_ms":1786351782000,"timestamp_seconds":1786351782,"priority":1,"record_length":96,"hex_timestamp":"0000019feadd0870"} 
[2026-08-10 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-08-10 14:22: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-08-10 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:22: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-08-10 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-08-10 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-08-10 14:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305979136001,"66":25517,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305979136001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:22:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305979136001,"power":25517,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":151908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:22:36] local.INFO: GPS data processed {"connection_id":151908,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:22:36] local.INFO: Acknowledgment sent {"connection_id":151908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:22:41] local.INFO: TCP Data received {"connection_id":152837,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:22:41] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:22:41] local.INFO: IMEI packet received {"connection_id":152837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":152837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:22:42] local.INFO: TCP Data received {"connection_id":152837,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:22:42] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:22:42] local.INFO: IMEI packet received {"connection_id":152837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":152837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:22:47] local.INFO: TCP Data received {"connection_id":152837,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:22:47] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:22:47] local.INFO: IMEI packet received {"connection_id":152837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":152837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:22:48] local.INFO: TCP Data received {"connection_id":152836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-10 14:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-10 14:22:48] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-10 14:22:48] local.INFO: Packet analysis {"connection_id":152836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-10 14:22:48] local.INFO: Extracted packet for processing {"connection_id":152836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-10 14:22:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 14:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27356476364292096,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 14:22:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 14:22:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 14:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152836,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152836,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 14:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152836,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 14:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 14:22:48] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 14:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":152836,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 14:22:48] local.ERROR: GPS data processing failed {"connection_id":152836,"error":"No valid data to process"} 
[2026-08-10 14:22:48] local.INFO: Acknowledgment sent {"connection_id":152836,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 14:22:48] local.INFO: TCP Data received {"connection_id":152837,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feade9ac8012d186e000721ffa0005600f427..."} 
[2026-08-10 14:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feade9ac8012d186e000721ffa0005600f427..."} 
[2026-08-10 14:22:48] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feade9ac8012d186e000721ffa0005600f427..."} 
[2026-08-10 14:22:48] local.INFO: Packet analysis {"connection_id":152837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feade"} 
[2026-08-10 14:22:48] local.INFO: Extracted packet for processing {"connection_id":152837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feade"} 
[2026-08-10 14:22:48] local.INFO: GPS Element Parsed {"raw_longitude":756575744,"raw_latitude":119668640,"longitude_deg":75.6575744,"latitude_deg":11.966864,"altitude":86,"angle":244,"satellites":39,"speed":12,"hex_longitude":"2d186e00","hex_latitude":"0721ffa0","is_valid_coordinates":true} 
[2026-08-10 14:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306082048001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405453158252544,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760907484937107456,"note":"Value kept but may cause issues"} 
[2026-08-10 14:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786351885000,"timestamp_ms":1786351885000,"timestamp_seconds":1786351885,"priority":1,"record_length":96,"hex_timestamp":"0000019feade9ac8"} 
[2026-08-10 14:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:22: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-08-10 14: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 14:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306082048001,"66":14233,"105":206,"83":41984,"24":12,"16":11405453158252544,"45":1760907484937107456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306082048001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:22:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:22:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405453158252544,"km_value":11405453158252.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760907484937107456,"description":"Unknown IO ID 45"} 
[2026-08-10 14:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306082048001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1760907484937107456}} 
[2026-08-10 14:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":152837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:22:48] local.INFO: GPS data processed {"connection_id":152837,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:22:48] local.INFO: Acknowledgment sent {"connection_id":152837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:22:58] local.INFO: TCP Data received {"connection_id":151512,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:22:58] local.INFO: Processing buffer {"connection_id":151512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:22:58] local.INFO: IMEI packet received {"connection_id":151512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":151512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:23:04] local.INFO: TCP Data received {"connection_id":151512,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:23:04] local.INFO: Processing buffer {"connection_id":151512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:23:04] local.INFO: IMEI packet received {"connection_id":151512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":151512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:23:05] local.INFO: TCP Data received {"connection_id":151512,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:23:05] local.INFO: Processing buffer {"connection_id":151512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:23:05] local.INFO: Packet analysis {"connection_id":151512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:23:05] local.INFO: Extracted packet for processing {"connection_id":151512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305979136001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786351782000,"timestamp_ms":1786351782000,"timestamp_seconds":1786351782,"priority":1,"record_length":96,"hex_timestamp":"0000019feadd0870"} 
[2026-08-10 14:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:23: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-08-10 14:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:23: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-08-10 14:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305979136001,"66":25517,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305979136001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:23:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305979136001,"power":25517,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":151512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:23:05] local.INFO: GPS data processed {"connection_id":151512,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:23:05] local.INFO: Acknowledgment sent {"connection_id":151512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:23:19] local.INFO: TCP Data received {"connection_id":152837,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feadea680012d186a000721fe280056010027..."} 
[2026-08-10 14:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadea680012d186a000721fe280056010027..."} 
[2026-08-10 14:23:19] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadea680012d186a000721fe280056010027..."} 
[2026-08-10 14:23:19] local.INFO: Packet analysis {"connection_id":152837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feade"} 
[2026-08-10 14:23:19] local.INFO: Extracted packet for processing {"connection_id":152837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feade"} 
[2026-08-10 14:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756574720,"raw_latitude":119668264,"longitude_deg":75.657472,"latitude_deg":11.9668264,"altitude":86,"angle":256,"satellites":39,"speed":16,"hex_longitude":"2d186a00","hex_latitude":"0721fe28","is_valid_coordinates":true} 
[2026-08-10 14:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306082560001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405508992827392,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760344534983614464,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786351888000,"timestamp_ms":1786351888000,"timestamp_seconds":1786351888,"priority":1,"record_length":96,"hex_timestamp":"0000019feadea680"} 
[2026-08-10 14:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 14:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306082560001,"66":14189,"105":206,"83":41984,"24":16,"16":11405508992827392,"45":1760344534983614464},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306082560001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:23:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:23:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405508992827392,"km_value":11405508992827.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760344534983614464,"description":"Unknown IO ID 45"} 
[2026-08-10 14:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306082560001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1760344534983614464}} 
[2026-08-10 14:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":152837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:23:19] local.INFO: GPS data processed {"connection_id":152837,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:23:19] local.INFO: Acknowledgment sent {"connection_id":152837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:23:20] local.INFO: TCP Data received {"connection_id":152836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feadfc3a8012d0b7d0007042dc0001000b505..."} 
[2026-08-10 14:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadfc3a8012d0b7d0007042dc0001000b505..."} 
[2026-08-10 14:23:20] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadfc3a8012d0b7d0007042dc0001000b505..."} 
[2026-08-10 14:23:20] local.INFO: Packet analysis {"connection_id":152836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feadf"} 
[2026-08-10 14:23:20] local.INFO: Extracted packet for processing {"connection_id":152836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feadf"} 
[2026-08-10 14:23:20] local.INFO: GPS Element Parsed {"raw_longitude":755727616,"raw_latitude":117714368,"longitude_deg":75.5727616,"latitude_deg":11.7714368,"altitude":16,"angle":181,"satellites":5,"speed":12,"hex_longitude":"2d0b7d00","hex_latitude":"07042dc0","is_valid_coordinates":true} 
[2026-08-10 14:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27356476364292096,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 14:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786351961000,"timestamp_ms":1786351961000,"timestamp_seconds":1786351961,"priority":1,"record_length":96,"hex_timestamp":"0000019feadfc3a8"} 
[2026-08-10 14:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 14:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152836,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152836,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14211,"96":206,"94":10240,"24":12,"16":27356476364292096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16]} 
[2026-08-10 14:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-10 14:23:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 14:23:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 14:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27356476364292096,"km_value":27356476364292.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:23:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14211,"unknown_96":206,"unknown_94":10240,"ignition":12,"odometer":null}} 
[2026-08-10 14:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":152836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620016,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:23:20] local.INFO: GPS data processed {"connection_id":152836,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:23:20] local.INFO: Acknowledgment sent {"connection_id":152836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:23:36] local.INFO: TCP Data received {"connection_id":151512,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:23:36] local.INFO: Processing buffer {"connection_id":151512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:23:36] local.INFO: Packet analysis {"connection_id":151512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:23:36] local.INFO: Extracted packet for processing {"connection_id":151512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305979136001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786351782000,"timestamp_ms":1786351782000,"timestamp_seconds":1786351782,"priority":1,"record_length":96,"hex_timestamp":"0000019feadd0870"} 
[2026-08-10 14:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:23: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-08-10 14:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:23: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-08-10 14:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:23: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-08-10 14:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305979136001,"66":25517,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305979136001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:23:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305979136001,"power":25517,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":151512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:23:36] local.INFO: GPS data processed {"connection_id":151512,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:23:36] local.INFO: Acknowledgment sent {"connection_id":151512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:23:42] local.INFO: TCP Data received {"connection_id":154285,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:23:42] local.INFO: Processing buffer {"connection_id":154285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:23:42] local.INFO: IMEI packet received {"connection_id":154285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":154285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:23:47] local.INFO: TCP Data received {"connection_id":154285,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:23:47] local.INFO: Processing buffer {"connection_id":154285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:23:47] local.INFO: IMEI packet received {"connection_id":154285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":154285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:23:48] local.INFO: TCP Data received {"connection_id":154285,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feadee118012d1858000721f948005600f528..."} 
[2026-08-10 14:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadee118012d1858000721f948005600f528..."} 
[2026-08-10 14:23:48] local.INFO: Processing buffer {"connection_id":154285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadee118012d1858000721f948005600f528..."} 
[2026-08-10 14:23:48] local.INFO: Packet analysis {"connection_id":154285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feade"} 
[2026-08-10 14:23:48] local.INFO: Extracted packet for processing {"connection_id":154285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feade"} 
[2026-08-10 14:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119667016,"longitude_deg":75.6570112,"latitude_deg":11.9667016,"altitude":86,"angle":245,"satellites":40,"speed":8,"hex_longitude":"2d185800","hex_latitude":"0721f948","is_valid_coordinates":true} 
[2026-08-10 14:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306083328001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405732331126784,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759218635076675584,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786351903000,"timestamp_ms":1786351903000,"timestamp_seconds":1786351903,"priority":1,"record_length":96,"hex_timestamp":"0000019feadee118"} 
[2026-08-10 14:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:23: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-08-10 14: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 14:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306083328001,"66":14265,"105":206,"83":41984,"24":8,"16":11405732331126784,"45":1759218635076675584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306083328001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:23:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:23:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405732331126784,"km_value":11405732331126.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759218635076675584,"description":"Unknown IO ID 45"} 
[2026-08-10 14:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306083328001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1759218635076675584}} 
[2026-08-10 14:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":154285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:23:48] local.INFO: GPS data processed {"connection_id":154285,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:23:48] local.INFO: Acknowledgment sent {"connection_id":154285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:23:51] local.INFO: TCP Data received {"connection_id":152836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feae0bda8012d0b8d000703bcb00010008e05..."} 
[2026-08-10 14:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae0bda8012d0b8d000703bcb00010008e05..."} 
[2026-08-10 14:23:52] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae0bda8012d0b8d000703bcb00010008e05..."} 
[2026-08-10 14:23:52] local.INFO: Packet analysis {"connection_id":152836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae0"} 
[2026-08-10 14:23:52] local.INFO: Extracted packet for processing {"connection_id":152836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae0"} 
[2026-08-10 14:23:52] local.INFO: GPS Element Parsed {"raw_longitude":755731712,"raw_latitude":117685424,"longitude_deg":75.5731712,"latitude_deg":11.7685424,"altitude":16,"angle":142,"satellites":5,"speed":8,"hex_longitude":"2d0b8d00","hex_latitude":"0703bcb0","is_valid_coordinates":true} 
[2026-08-10 14:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306118144001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27358044027355136,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":832180798772561920,"note":"Value kept but may cause issues"} 
[2026-08-10 14:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786352025000,"timestamp_ms":1786352025000,"timestamp_seconds":1786352025,"priority":1,"record_length":96,"hex_timestamp":"0000019feae0bda8"} 
[2026-08-10 14:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 14:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152836,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152836,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306118144001,"66":14515,"96":206,"94":10240,"24":8,"16":27358044027355136,"45":832180798772561920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 14:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306118144001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:23:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 14:23:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 14:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27358044027355136,"km_value":27358044027355.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":832180798772561920,"description":"Unknown IO ID 45"} 
[2026-08-10 14:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306118144001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":832180798772561920}} 
[2026-08-10 14:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":152836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620019,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:23:52] local.INFO: GPS data processed {"connection_id":152836,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:23:52] local.INFO: Acknowledgment sent {"connection_id":152836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:24:04] local.INFO: TCP Data received {"connection_id":151909,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:24:04] local.INFO: Processing buffer {"connection_id":151909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:24:04] local.INFO: IMEI packet received {"connection_id":151909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":151909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:24:09] local.INFO: TCP Data received {"connection_id":151909,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:24:09] local.INFO: Processing buffer {"connection_id":151909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:24:09] local.INFO: IMEI packet received {"connection_id":151909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":151909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:24:09] local.INFO: TCP Data received {"connection_id":151909,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:24:09] local.INFO: Processing buffer {"connection_id":151909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:24:09] local.INFO: Packet analysis {"connection_id":151909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:24:09] local.INFO: Extracted packet for processing {"connection_id":151909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305979136001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786351782000,"timestamp_ms":1786351782000,"timestamp_seconds":1786351782,"priority":1,"record_length":96,"hex_timestamp":"0000019feadd0870"} 
[2026-08-10 14:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:24: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-08-10 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:24: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-08-10 14:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305979136001,"66":25517,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305979136001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:24:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305979136001,"power":25517,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":151909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:24:09] local.INFO: GPS data processed {"connection_id":151909,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:24:09] local.INFO: Acknowledgment sent {"connection_id":151909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:24:14] local.INFO: TCP Data received {"connection_id":151909,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:24:14] local.INFO: Processing buffer {"connection_id":151909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadd0870012d342a4006abc2800018010224..."} 
[2026-08-10 14:24:14] local.INFO: Packet analysis {"connection_id":151909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:24:14] local.INFO: Extracted packet for processing {"connection_id":151909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feadd"} 
[2026-08-10 14:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305979136001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786351782000,"timestamp_ms":1786351782000,"timestamp_seconds":1786351782,"priority":1,"record_length":96,"hex_timestamp":"0000019feadd0870"} 
[2026-08-10 14:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 14:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305979136001,"66":25517,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305979136001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:24:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305979136001,"power":25517,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":151909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:24:14] local.INFO: GPS data processed {"connection_id":151909,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:24:14] local.INFO: Acknowledgment sent {"connection_id":151909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:24:19] local.INFO: TCP Data received {"connection_id":154285,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feadef0b8012d1854000721f6d8005600e529..."} 
[2026-08-10 14:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadef0b8012d1854000721f6d8005600e529..."} 
[2026-08-10 14:24:19] local.INFO: Processing buffer {"connection_id":154285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadef0b8012d1854000721f6d8005600e529..."} 
[2026-08-10 14:24:19] local.INFO: Packet analysis {"connection_id":154285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feade"} 
[2026-08-10 14:24:19] local.INFO: Extracted packet for processing {"connection_id":154285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feade"} 
[2026-08-10 14:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756569088,"raw_latitude":119666392,"longitude_deg":75.6569088,"latitude_deg":11.9666392,"altitude":86,"angle":229,"satellites":41,"speed":14,"hex_longitude":"2d185400","hex_latitude":"0721f6d8","is_valid_coordinates":true} 
[2026-08-10 14:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306087168001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405792460668928,"note":"Value kept but may cause issues"} 
[2026-08-10 14:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495564288,"note":"Value kept but may cause issues"} 
[2026-08-10 14:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786351907000,"timestamp_ms":1786351907000,"timestamp_seconds":1786351907,"priority":1,"record_length":96,"hex_timestamp":"0000019feadef0b8"} 
[2026-08-10 14:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 14:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306087168001,"66":13993,"105":206,"83":41984,"24":14,"16":11405792460668928,"45":1754152085495564288},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306087168001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:24:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405792460668928,"km_value":11405792460668.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495564288,"description":"Unknown IO ID 45"} 
[2026-08-10 14:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306087168001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1754152085495564288}} 
[2026-08-10 14:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":154285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:24:19] local.INFO: GPS data processed {"connection_id":154285,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:24:19] local.INFO: Acknowledgment sent {"connection_id":154285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:24:42] local.INFO: TCP Data received {"connection_id":151910,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:24:42] local.INFO: Processing buffer {"connection_id":151910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:24:42] local.INFO: IMEI packet received {"connection_id":151910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":151910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:24:47] local.INFO: TCP Data received {"connection_id":151910,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:24:47] local.INFO: Processing buffer {"connection_id":151910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:24:47] local.INFO: IMEI packet received {"connection_id":151910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":151910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:24:48] local.INFO: TCP Data received {"connection_id":151910,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feadefc70012d1850000721f2e0005600d728..."} 
[2026-08-10 14:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feadefc70012d1850000721f2e0005600d728..."} 
[2026-08-10 14:24:48] local.INFO: Processing buffer {"connection_id":151910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feadefc70012d1850000721f2e0005600d728..."} 
[2026-08-10 14:24:48] local.INFO: Packet analysis {"connection_id":151910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feade"} 
[2026-08-10 14:24:48] local.INFO: Extracted packet for processing {"connection_id":151910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feade"} 
[2026-08-10 14:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756568064,"raw_latitude":119665376,"longitude_deg":75.6568064,"latitude_deg":11.9665376,"altitude":86,"angle":215,"satellites":40,"speed":22,"hex_longitude":"2d185000","hex_latitude":"0721f2e0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306088192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405861180145664,"note":"Value kept but may cause issues"} 
[2026-08-10 14:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753026185588561920,"note":"Value kept but may cause issues"} 
[2026-08-10 14:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786351910000,"timestamp_ms":1786351910000,"timestamp_seconds":1786351910,"priority":1,"record_length":96,"hex_timestamp":"0000019feadefc70"} 
[2026-08-10 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-08-10 14:24: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-08-10 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-10 14:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306088192001,"66":14102,"105":206,"83":41984,"24":22,"16":11405861180145664,"45":1753026185588561920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306088192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:24:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:24:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405861180145664,"km_value":11405861180145.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753026185588561920,"description":"Unknown IO ID 45"} 
[2026-08-10 14:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306088192001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1753026185588561920}} 
[2026-08-10 14:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":151910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:24:48] local.INFO: GPS data processed {"connection_id":151910,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:24:48] local.INFO: Acknowledgment sent {"connection_id":151910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:25:19] local.INFO: TCP Data received {"connection_id":151910,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae17158012d1851000721f628004f002e27..."} 
[2026-08-10 14:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae17158012d1851000721f628004f002e27..."} 
[2026-08-10 14:25:19] local.INFO: Processing buffer {"connection_id":151910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae17158012d1851000721f628004f002e27..."} 
[2026-08-10 14:25:19] local.INFO: Packet analysis {"connection_id":151910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:25:19] local.INFO: Extracted packet for processing {"connection_id":151910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756568320,"raw_latitude":119666216,"longitude_deg":75.656832,"latitude_deg":11.9666216,"altitude":79,"angle":46,"satellites":39,"speed":23,"hex_longitude":"2d185100","hex_latitude":"0721f628","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306128384001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408257771896832,"note":"Value kept but may cause issues"} 
[2026-08-10 14:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748944798425309184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786352071000,"timestamp_ms":1786352071000,"timestamp_seconds":1786352071,"priority":1,"record_length":96,"hex_timestamp":"0000019feae17158"} 
[2026-08-10 14:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 14:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306128384001,"66":14113,"105":206,"83":41984,"24":23,"16":11408257771896832,"45":1748944798425309184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306128384001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:25:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408257771896832,"km_value":11408257771896.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748944798425309184,"description":"Unknown IO ID 45"} 
[2026-08-10 14:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306128384001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1748944798425309184}} 
[2026-08-10 14:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":151910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:25:19] local.INFO: GPS data processed {"connection_id":151910,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:25:19] local.INFO: Acknowledgment sent {"connection_id":151910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:25:28] local.INFO: TCP Data received {"connection_id":152838,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:25:28] local.INFO: Processing buffer {"connection_id":152838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:25:28] local.INFO: IMEI packet received {"connection_id":152838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":152838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:25:34] local.INFO: TCP Data received {"connection_id":152838,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:25:34] local.INFO: Processing buffer {"connection_id":152838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:25:34] local.INFO: IMEI packet received {"connection_id":152838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":152838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:25:37] local.INFO: TCP Data received {"connection_id":152838,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:25:37] local.INFO: Processing buffer {"connection_id":152838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:25:37] local.INFO: Packet analysis {"connection_id":152838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:25:37] local.INFO: Extracted packet for processing {"connection_id":152838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306056192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786352083000,"timestamp_ms":1786352083000,"timestamp_seconds":1786352083,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1a038"} 
[2026-08-10 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-08-10 14: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-08-10 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 14:25:37] 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-08-10 14:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 14:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306056192001,"66":25582,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306056192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:25:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306056192001,"power":25582,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":152838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:25:37] local.INFO: GPS data processed {"connection_id":152838,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:25:37] local.INFO: Acknowledgment sent {"connection_id":152838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:25:47] local.INFO: TCP Data received {"connection_id":152839,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:25:47] local.INFO: Processing buffer {"connection_id":152839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:25:47] local.INFO: IMEI packet received {"connection_id":152839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":152839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:25:52] local.INFO: TCP Data received {"connection_id":152839,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:25:52] local.INFO: Processing buffer {"connection_id":152839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:25:52] local.INFO: IMEI packet received {"connection_id":152839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":152839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:25:53] local.INFO: TCP Data received {"connection_id":152839,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae17928012d1854400721f8980050003c28..."} 
[2026-08-10 14:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae17928012d1854400721f8980050003c28..."} 
[2026-08-10 14:25:53] local.INFO: Processing buffer {"connection_id":152839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae17928012d1854400721f8980050003c28..."} 
[2026-08-10 14:25:53] local.INFO: Packet analysis {"connection_id":152839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:25:53] local.INFO: Extracted packet for processing {"connection_id":152839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756569152,"raw_latitude":119666840,"longitude_deg":75.6569152,"latitude_deg":11.966684,"altitude":80,"angle":60,"satellites":40,"speed":18,"hex_longitude":"2d185440","hex_latitude":"0721f898","is_valid_coordinates":true} 
[2026-08-10 14:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306130176001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408309311504384,"note":"Value kept but may cause issues"} 
[2026-08-10 14:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752181760658384896,"note":"Value kept but may cause issues"} 
[2026-08-10 14:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786352073000,"timestamp_ms":1786352073000,"timestamp_seconds":1786352073,"priority":1,"record_length":96,"hex_timestamp":"0000019feae17928"} 
[2026-08-10 14:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-10 14:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306130176001,"66":14113,"105":206,"83":41984,"24":18,"16":11408309311504384,"45":1752181760658384896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306130176001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:25:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408309311504384,"km_value":11408309311504.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752181760658384896,"description":"Unknown IO ID 45"} 
[2026-08-10 14:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306130176001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1752181760658384896}} 
[2026-08-10 14:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":152839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:25:53] local.INFO: GPS data processed {"connection_id":152839,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:25:53] local.INFO: Acknowledgment sent {"connection_id":152839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:25:57] local.INFO: TCP Data received {"connection_id":152839,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae184e0012d1858400721fa100050004f28..."} 
[2026-08-10 14:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae184e0012d1858400721fa100050004f28..."} 
[2026-08-10 14:25:57] local.INFO: Processing buffer {"connection_id":152839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae184e0012d1858400721fa100050004f28..."} 
[2026-08-10 14:25:57] local.INFO: Packet analysis {"connection_id":152839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:25:57] local.INFO: Extracted packet for processing {"connection_id":152839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756570176,"raw_latitude":119667216,"longitude_deg":75.6570176,"latitude_deg":11.9667216,"altitude":80,"angle":79,"satellites":40,"speed":9,"hex_longitude":"2d185840","hex_latitude":"0721fa10","is_valid_coordinates":true} 
[2026-08-10 14:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306130688001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408360851111936,"note":"Value kept but may cause issues"} 
[2026-08-10 14:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753096554332854272,"note":"Value kept but may cause issues"} 
[2026-08-10 14:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786352076000,"timestamp_ms":1786352076000,"timestamp_seconds":1786352076,"priority":1,"record_length":96,"hex_timestamp":"0000019feae184e0"} 
[2026-08-10 14:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-10 14:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306130688001,"66":14070,"105":206,"83":41984,"24":9,"16":11408360851111936,"45":1753096554332854272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306130688001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:25:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408360851111936,"km_value":11408360851111.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753096554332854272,"description":"Unknown IO ID 45"} 
[2026-08-10 14:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306130688001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1753096554332854272}} 
[2026-08-10 14:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":152839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:25:57] local.INFO: GPS data processed {"connection_id":152839,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:25:57] local.INFO: Acknowledgment sent {"connection_id":152839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:26:03] local.INFO: TCP Data received {"connection_id":151911,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:26:03] local.INFO: Processing buffer {"connection_id":151911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:26:03] local.INFO: IMEI packet received {"connection_id":151911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":151911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:26:09] local.INFO: TCP Data received {"connection_id":151911,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:26:09] local.INFO: Processing buffer {"connection_id":151911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:26:09] local.INFO: IMEI packet received {"connection_id":151911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":151911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:26:10] local.INFO: TCP Data received {"connection_id":151911,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:26:10] local.INFO: Processing buffer {"connection_id":151911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:26:10] local.INFO: Packet analysis {"connection_id":151911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:26:10] local.INFO: Extracted packet for processing {"connection_id":151911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306056192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786352083000,"timestamp_ms":1786352083000,"timestamp_seconds":1786352083,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1a038"} 
[2026-08-10 14:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:26: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-08-10 14:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 14:26:10] 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-08-10 14:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306056192001,"66":25582,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306056192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:26:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306056192001,"power":25582,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":151911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:26:10] local.INFO: GPS data processed {"connection_id":151911,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:26:10] local.INFO: Acknowledgment sent {"connection_id":151911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:26:16] local.INFO: TCP Data received {"connection_id":151513,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151513,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:26:16] local.INFO: Processing buffer {"connection_id":151513,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:26:16] local.INFO: IMEI packet received {"connection_id":151513,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":151513,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:26:18] local.INFO: TCP Data received {"connection_id":151513,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-10 14:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151513,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-10 14:26:18] local.INFO: Processing buffer {"connection_id":151513,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-10 14:26:18] local.INFO: IMEI packet received {"connection_id":151513,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":151513,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:26:19] local.INFO: TCP Data received {"connection_id":151513,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151513,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:26:19] local.INFO: Processing buffer {"connection_id":151513,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-10 14:26:19] local.INFO: IMEI packet received {"connection_id":151513,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":151513,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:26:41] local.INFO: TCP Data received {"connection_id":151911,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:26:41] local.INFO: Processing buffer {"connection_id":151911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:26:41] local.INFO: Packet analysis {"connection_id":151911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:26:41] local.INFO: Extracted packet for processing {"connection_id":151911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306056192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786352083000,"timestamp_ms":1786352083000,"timestamp_seconds":1786352083,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1a038"} 
[2026-08-10 14:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 14:26:41] 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-08-10 14:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306056192001,"66":25582,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306056192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:26:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306056192001,"power":25582,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":151911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:26:41] local.INFO: GPS data processed {"connection_id":151911,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:26:41] local.INFO: Acknowledgment sent {"connection_id":151911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:26:42] local.INFO: TCP Data received {"connection_id":154286,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:26:42] local.INFO: Processing buffer {"connection_id":154286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:26:42] local.INFO: IMEI packet received {"connection_id":154286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":154286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:26:44] local.INFO: TCP Data received {"connection_id":154286,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:26:44] local.INFO: Processing buffer {"connection_id":154286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:26:44] local.INFO: IMEI packet received {"connection_id":154286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":154286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:26:44] local.INFO: TCP Data received {"connection_id":154286,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1d300012d186f40072200980054003229..."} 
[2026-08-10 14:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1d300012d186f40072200980054003229..."} 
[2026-08-10 14:26:44] local.INFO: Processing buffer {"connection_id":154286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1d300012d186f40072200980054003229..."} 
[2026-08-10 14:26:44] local.INFO: Packet analysis {"connection_id":154286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:26:44] local.INFO: Extracted packet for processing {"connection_id":154286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756576064,"raw_latitude":119668888,"longitude_deg":75.6576064,"latitude_deg":11.9668888,"altitude":84,"angle":50,"satellites":41,"speed":7,"hex_longitude":"2d186f40","hex_latitude":"07220098","is_valid_coordinates":true} 
[2026-08-10 14:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306131456001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408652908888064,"note":"Value kept but may cause issues"} 
[2026-08-10 14:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754222454239793152,"note":"Value kept but may cause issues"} 
[2026-08-10 14:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786352096000,"timestamp_ms":1786352096000,"timestamp_seconds":1786352096,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1d300"} 
[2026-08-10 14:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 14:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306131456001,"66":13102,"105":206,"83":41984,"24":7,"16":11408652908888064,"45":1754222454239793152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306131456001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:26:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408652908888064,"km_value":11408652908888.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754222454239793152,"description":"Unknown IO ID 45"} 
[2026-08-10 14:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306131456001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1754222454239793152}} 
[2026-08-10 14:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":154286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:26:45] local.INFO: GPS data processed {"connection_id":154286,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:26:45] local.INFO: Acknowledgment sent {"connection_id":154286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:27:04] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:27:04] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:27:04] local.INFO: IMEI packet received {"connection_id":152841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":152841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:27:09] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:27:09] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:27:09] local.INFO: IMEI packet received {"connection_id":152841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":152841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:27:09] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:27:09] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:27:09] local.INFO: Packet analysis {"connection_id":152841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:27:09] local.INFO: Extracted packet for processing {"connection_id":152841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306056192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786352083000,"timestamp_ms":1786352083000,"timestamp_seconds":1786352083,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1a038"} 
[2026-08-10 14:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:27: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-08-10 14: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 14:27:09] 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-08-10 14: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-08-10 14:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306056192001,"66":25582,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306056192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:27:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306056192001,"power":25582,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":152841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:27:10] local.INFO: GPS data processed {"connection_id":152841,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:27:10] local.INFO: Acknowledgment sent {"connection_id":152841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:27:14] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:27:14] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:27:14] local.INFO: Packet analysis {"connection_id":152841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:27:14] local.INFO: Extracted packet for processing {"connection_id":152841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306056192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786352083000,"timestamp_ms":1786352083000,"timestamp_seconds":1786352083,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1a038"} 
[2026-08-10 14:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 14:27:14] 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-08-10 14: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-08-10 14:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306056192001,"66":25582,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306056192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:27:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:27:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306056192001,"power":25582,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":152841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:27:14] local.INFO: GPS data processed {"connection_id":152841,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:27:14] local.INFO: Acknowledgment sent {"connection_id":152841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:27:15] local.INFO: TCP Data received {"connection_id":154286,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1d6e8012d187000072201180054002229..."} 
[2026-08-10 14:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1d6e8012d187000072201180054002229..."} 
[2026-08-10 14:27:15] local.INFO: Processing buffer {"connection_id":154286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1d6e8012d187000072201180054002229..."} 
[2026-08-10 14:27:15] local.INFO: Packet analysis {"connection_id":154286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:27:15] local.INFO: Extracted packet for processing {"connection_id":154286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756576256,"raw_latitude":119669016,"longitude_deg":75.6576256,"latitude_deg":11.9669016,"altitude":84,"angle":34,"satellites":41,"speed":6,"hex_longitude":"2d187000","hex_latitude":"07220118","is_valid_coordinates":true} 
[2026-08-10 14:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306136576001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408661498822656,"note":"Value kept but may cause issues"} 
[2026-08-10 14:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760696378704566272,"note":"Value kept but may cause issues"} 
[2026-08-10 14:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786352097000,"timestamp_ms":1786352097000,"timestamp_seconds":1786352097,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1d6e8"} 
[2026-08-10 14:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-10 14:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306136576001,"66":12961,"105":206,"83":41984,"24":6,"16":11408661498822656,"45":1760696378704566272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306136576001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:27:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408661498822656,"km_value":11408661498822.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760696378704566272,"description":"Unknown IO ID 45"} 
[2026-08-10 14:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306136576001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1760696378704566272}} 
[2026-08-10 14:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":154286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:27:16] local.INFO: GPS data processed {"connection_id":154286,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:27:16] local.INFO: Acknowledgment sent {"connection_id":154286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:27:42] local.INFO: TCP Data received {"connection_id":151514,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:27:42] local.INFO: Processing buffer {"connection_id":151514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:27:42] local.INFO: IMEI packet received {"connection_id":151514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":151514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:27:47] local.INFO: TCP Data received {"connection_id":151514,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:27:47] local.INFO: Processing buffer {"connection_id":151514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:27:47] local.INFO: IMEI packet received {"connection_id":151514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":151514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:27:48] local.INFO: TCP Data received {"connection_id":151514,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1dad0012d187040072201b00054001029..."} 
[2026-08-10 14:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1dad0012d187040072201b00054001029..."} 
[2026-08-10 14:27:48] local.INFO: Processing buffer {"connection_id":151514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1dad0012d187040072201b00054001029..."} 
[2026-08-10 14:27:48] local.INFO: Packet analysis {"connection_id":151514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:27:48] local.INFO: Extracted packet for processing {"connection_id":151514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756576320,"raw_latitude":119669168,"longitude_deg":75.657632,"latitude_deg":11.9669168,"altitude":84,"angle":16,"satellites":41,"speed":5,"hex_longitude":"2d187040","hex_latitude":"072201b0","is_valid_coordinates":true} 
[2026-08-10 14:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306136832001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408670088757248,"note":"Value kept but may cause issues"} 
[2026-08-10 14:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760907484937132032,"note":"Value kept but may cause issues"} 
[2026-08-10 14:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786352098000,"timestamp_ms":1786352098000,"timestamp_seconds":1786352098,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1dad0"} 
[2026-08-10 14:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:27: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-08-10 14:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 14:27: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-08-10 14:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306136832001,"66":12961,"105":206,"83":41984,"24":5,"16":11408670088757248,"45":1760907484937132032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306136832001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:27:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:27:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408670088757248,"km_value":11408670088757.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760907484937132032,"description":"Unknown IO ID 45"} 
[2026-08-10 14:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306136832001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1760907484937132032}} 
[2026-08-10 14:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":151514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:27:48] local.INFO: GPS data processed {"connection_id":151514,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:27:48] local.INFO: Acknowledgment sent {"connection_id":151514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:27:59] local.INFO: TCP Data received {"connection_id":154287,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:27:59] local.INFO: Processing buffer {"connection_id":154287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:27:59] local.INFO: IMEI packet received {"connection_id":154287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":154287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:28:04] local.INFO: TCP Data received {"connection_id":154287,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:28:04] local.INFO: Processing buffer {"connection_id":154287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:28:04] local.INFO: IMEI packet received {"connection_id":154287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":154287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:28:05] local.INFO: TCP Data received {"connection_id":154287,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:28:05] local.INFO: Processing buffer {"connection_id":154287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:28:05] local.INFO: Packet analysis {"connection_id":154287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:28:05] local.INFO: Extracted packet for processing {"connection_id":154287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306056192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786352083000,"timestamp_ms":1786352083000,"timestamp_seconds":1786352083,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1a038"} 
[2026-08-10 14:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:28: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-08-10 14:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 14:28:05] 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-08-10 14:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306056192001,"66":25582,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306056192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:28:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306056192001,"power":25582,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":154287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:28:05] local.INFO: GPS data processed {"connection_id":154287,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:28:05] local.INFO: Acknowledgment sent {"connection_id":154287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:28:09] local.INFO: TCP Data received {"connection_id":154287,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:28:09] local.INFO: Processing buffer {"connection_id":154287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:28:09] local.INFO: Packet analysis {"connection_id":154287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:28:09] local.INFO: Extracted packet for processing {"connection_id":154287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306056192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786352083000,"timestamp_ms":1786352083000,"timestamp_seconds":1786352083,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1a038"} 
[2026-08-10 14:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:28: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-08-10 14: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 14:28:09] 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-08-10 14:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306056192001,"66":25582,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306056192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:28:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306056192001,"power":25582,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":154287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:28:09] local.INFO: GPS data processed {"connection_id":154287,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:28:09] local.INFO: Acknowledgment sent {"connection_id":154287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:28:19] local.INFO: TCP Data received {"connection_id":151514,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1deb8012d187040072202480054000429..."} 
[2026-08-10 14:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1deb8012d187040072202480054000429..."} 
[2026-08-10 14:28:19] local.INFO: Processing buffer {"connection_id":151514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1deb8012d187040072202480054000429..."} 
[2026-08-10 14:28:19] local.INFO: Packet analysis {"connection_id":151514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:28:19] local.INFO: Extracted packet for processing {"connection_id":151514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:28:19] local.INFO: GPS Element Parsed {"raw_longitude":756576320,"raw_latitude":119669320,"longitude_deg":75.657632,"latitude_deg":11.966932,"altitude":84,"angle":4,"satellites":41,"speed":6,"hex_longitude":"2d187040","hex_latitude":"07220248","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306137088001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408678678691840,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760977853681348608,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786352099000,"timestamp_ms":1786352099000,"timestamp_seconds":1786352099,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1deb8"} 
[2026-08-10 14:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 14:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306137088001,"66":13167,"105":206,"83":41984,"24":6,"16":11408678678691840,"45":1760977853681348608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306137088001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:28:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:28:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408678678691840,"km_value":11408678678691.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760977853681348608,"description":"Unknown IO ID 45"} 
[2026-08-10 14:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306137088001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1760977853681348608}} 
[2026-08-10 14:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":151514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:28:19] local.INFO: GPS data processed {"connection_id":151514,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:28:19] local.INFO: Acknowledgment sent {"connection_id":151514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:28:40] local.INFO: TCP Data received {"connection_id":154287,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:28:40] local.INFO: Processing buffer {"connection_id":154287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:28:40] local.INFO: Packet analysis {"connection_id":154287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:28:40] local.INFO: Extracted packet for processing {"connection_id":154287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306056192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786352083000,"timestamp_ms":1786352083000,"timestamp_seconds":1786352083,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1a038"} 
[2026-08-10 14:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:28: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-08-10 14:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 14:28:40] 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-08-10 14:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306056192001,"66":25582,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306056192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:28:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306056192001,"power":25582,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":154287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:28:40] local.INFO: GPS data processed {"connection_id":154287,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:28:40] local.INFO: Acknowledgment sent {"connection_id":154287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:28:42] local.INFO: TCP Data received {"connection_id":151912,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:28:42] local.INFO: Processing buffer {"connection_id":151912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:28:42] local.INFO: IMEI packet received {"connection_id":151912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":151912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:28:47] local.INFO: TCP Data received {"connection_id":151912,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:28:47] local.INFO: Processing buffer {"connection_id":151912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:28:47] local.INFO: IMEI packet received {"connection_id":151912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":151912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:28:48] local.INFO: TCP Data received {"connection_id":151912,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1f240012d1870c0072207500055001329..."} 
[2026-08-10 14:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1f240012d1870c0072207500055001329..."} 
[2026-08-10 14:28:48] local.INFO: Processing buffer {"connection_id":151912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1f240012d1870c0072207500055001329..."} 
[2026-08-10 14:28:48] local.INFO: Packet analysis {"connection_id":151912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:28:48] local.INFO: Extracted packet for processing {"connection_id":151912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:28:48] local.INFO: GPS Element Parsed {"raw_longitude":756576448,"raw_latitude":119670608,"longitude_deg":75.6576448,"latitude_deg":11.9670608,"altitude":85,"angle":19,"satellites":41,"speed":9,"hex_longitude":"2d1870c0","hex_latitude":"07220750","is_valid_coordinates":true} 
[2026-08-10 14:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306137344001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408743103201280,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760977853681387520,"note":"Value kept but may cause issues"} 
[2026-08-10 14:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786352104000,"timestamp_ms":1786352104000,"timestamp_seconds":1786352104,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1f240"} 
[2026-08-10 14:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:28: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-08-10 14: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-10 14:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306137344001,"66":13222,"105":206,"83":41984,"24":9,"16":11408743103201280,"45":1760977853681387520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306137344001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:28:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:28:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408743103201280,"km_value":11408743103201.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760977853681387520,"description":"Unknown IO ID 45"} 
[2026-08-10 14:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306137344001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1760977853681387520}} 
[2026-08-10 14:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":151912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:28:48] local.INFO: GPS data processed {"connection_id":151912,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:28:48] local.INFO: Acknowledgment sent {"connection_id":151912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:28:59] local.INFO: TCP Data received {"connection_id":151913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:28:59] local.INFO: Processing buffer {"connection_id":151913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:28:59] local.INFO: IMEI packet received {"connection_id":151913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":151913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:29:03] local.INFO: TCP Data received {"connection_id":151913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:29:03] local.INFO: Processing buffer {"connection_id":151913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:29:03] local.INFO: IMEI packet received {"connection_id":151913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":151913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:29:04] local.INFO: TCP Data received {"connection_id":151913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:29:04] local.INFO: Processing buffer {"connection_id":151913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:29:04] local.INFO: Packet analysis {"connection_id":151913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:29:04] local.INFO: Extracted packet for processing {"connection_id":151913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306056192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786352083000,"timestamp_ms":1786352083000,"timestamp_seconds":1786352083,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1a038"} 
[2026-08-10 14:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 14:29:04] 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-08-10 14:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306056192001,"66":25582,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306056192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:29:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306056192001,"power":25582,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":151913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:29:04] local.INFO: GPS data processed {"connection_id":151913,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:29:04] local.INFO: Acknowledgment sent {"connection_id":151913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:29:19] local.INFO: TCP Data received {"connection_id":151912,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae24060012d18720007220998005500c127..."} 
[2026-08-10 14:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae24060012d18720007220998005500c127..."} 
[2026-08-10 14:29:19] local.INFO: Processing buffer {"connection_id":151912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae24060012d18720007220998005500c127..."} 
[2026-08-10 14:29:19] local.INFO: Packet analysis {"connection_id":151912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae2"} 
[2026-08-10 14:29:19] local.INFO: Extracted packet for processing {"connection_id":151912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae2"} 
[2026-08-10 14:29:19] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119671192,"longitude_deg":75.6576768,"latitude_deg":11.9671192,"altitude":85,"angle":193,"satellites":39,"speed":2,"hex_longitude":"2d187200","hex_latitude":"07220998","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306138624001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408786052874240,"note":"Value kept but may cause issues"} 
[2026-08-10 14:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761118591170072576,"note":"Value kept but may cause issues"} 
[2026-08-10 14:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786352124000,"timestamp_ms":1786352124000,"timestamp_seconds":1786352124,"priority":1,"record_length":96,"hex_timestamp":"0000019feae24060"} 
[2026-08-10 14:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-10 14:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306138624001,"66":13135,"105":206,"83":41984,"24":2,"16":11408786052874240,"45":1761118591170072576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306138624001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:29:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:29:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408786052874240,"km_value":11408786052874.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761118591170072576,"description":"Unknown IO ID 45"} 
[2026-08-10 14:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306138624001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1761118591170072576}} 
[2026-08-10 14:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":151912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:29:19] local.INFO: GPS data processed {"connection_id":151912,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:29:19] local.INFO: Acknowledgment sent {"connection_id":151912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:29:35] local.INFO: TCP Data received {"connection_id":151913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:29:35] local.INFO: Processing buffer {"connection_id":151913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:29:35] local.INFO: Packet analysis {"connection_id":151913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:29:35] local.INFO: Extracted packet for processing {"connection_id":151913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306056192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786352083000,"timestamp_ms":1786352083000,"timestamp_seconds":1786352083,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1a038"} 
[2026-08-10 14:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:29: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-08-10 14:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 14:29:35] 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-08-10 14:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306056192001,"66":25582,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306056192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:29:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306056192001,"power":25582,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":151913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:29:35] local.INFO: GPS data processed {"connection_id":151913,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:29:35] local.INFO: Acknowledgment sent {"connection_id":151913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:29:42] local.INFO: TCP Data received {"connection_id":151914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:29:42] local.INFO: Processing buffer {"connection_id":151914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:29:42] local.INFO: IMEI packet received {"connection_id":151914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":151914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:29:47] local.INFO: TCP Data received {"connection_id":151914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:29:47] local.INFO: Processing buffer {"connection_id":151914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:29:47] local.INFO: IMEI packet received {"connection_id":151914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":151914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:29:48] local.INFO: TCP Data received {"connection_id":151914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae29268012d18718007220830005500c726..."} 
[2026-08-10 14:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae29268012d18718007220830005500c726..."} 
[2026-08-10 14:29:48] local.INFO: Processing buffer {"connection_id":151914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae29268012d18718007220830005500c726..."} 
[2026-08-10 14:29:48] local.INFO: Packet analysis {"connection_id":151914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae2"} 
[2026-08-10 14:29:48] local.INFO: Extracted packet for processing {"connection_id":151914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae2"} 
[2026-08-10 14:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":38,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306143744001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891110400,"note":"Value kept but may cause issues"} 
[2026-08-10 14:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786352145000,"timestamp_ms":1786352145000,"timestamp_seconds":1786352145,"priority":1,"record_length":96,"hex_timestamp":"0000019feae29268"} 
[2026-08-10 14:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:29: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-08-10 14:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-10 14:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306143744001,"66":13004,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761470434891110400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306143744001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:29:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:29:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891110400,"description":"Unknown IO ID 45"} 
[2026-08-10 14:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306143744001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891110400}} 
[2026-08-10 14:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":151914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:29:48] local.INFO: GPS data processed {"connection_id":151914,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:29:48] local.INFO: Acknowledgment sent {"connection_id":151914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:29:59] local.INFO: TCP Data received {"connection_id":152842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:29:59] local.INFO: Processing buffer {"connection_id":152842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:29:59] local.INFO: IMEI packet received {"connection_id":152842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":152842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:30:06] local.INFO: TCP Data received {"connection_id":152842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:30:06] local.INFO: Processing buffer {"connection_id":152842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:30:06] local.INFO: IMEI packet received {"connection_id":152842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":152842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:30:07] local.INFO: TCP Data received {"connection_id":152842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:30:07] local.INFO: Processing buffer {"connection_id":152842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae1a038012d342a4006abc2800018010224..."} 
[2026-08-10 14:30:07] local.INFO: Packet analysis {"connection_id":152842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:30:07] local.INFO: Extracted packet for processing {"connection_id":152842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae1"} 
[2026-08-10 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306056192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786352083000,"timestamp_ms":1786352083000,"timestamp_seconds":1786352083,"priority":1,"record_length":96,"hex_timestamp":"0000019feae1a038"} 
[2026-08-10 14:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 14:30: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-08-10 14:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:30: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-08-10 14:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306056192001,"66":25582,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306056192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:30:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306056192001,"power":25582,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":152842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:30:07] local.INFO: GPS data processed {"connection_id":152842,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:30:07] local.INFO: Acknowledgment sent {"connection_id":152842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:30:21] local.INFO: TCP Data received {"connection_id":151914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae2e470012d18718007220830005500c725..."} 
[2026-08-10 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae2e470012d18718007220830005500c725..."} 
[2026-08-10 14:30:21] local.INFO: Processing buffer {"connection_id":151914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae2e470012d18718007220830005500c725..."} 
[2026-08-10 14:30:21] local.INFO: Packet analysis {"connection_id":151914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae2"} 
[2026-08-10 14:30:21] local.INFO: Extracted packet for processing {"connection_id":151914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae2"} 
[2026-08-10 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":37,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306149120001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786352166000,"timestamp_ms":1786352166000,"timestamp_seconds":1786352166,"priority":1,"record_length":96,"hex_timestamp":"0000019feae2e470"} 
[2026-08-10 14:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-10 14:30: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-08-10 14:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306149120001,"66":12961,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306149120001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:30:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306149120001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":151914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:30:21] local.INFO: GPS data processed {"connection_id":151914,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:30:21] local.INFO: Acknowledgment sent {"connection_id":151914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:30:38] local.INFO: TCP Data received {"connection_id":152842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:30:38] local.INFO: Processing buffer {"connection_id":152842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:30:38] local.INFO: Packet analysis {"connection_id":152842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:30:38] local.INFO: Extracted packet for processing {"connection_id":152842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306133248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786352384000,"timestamp_ms":1786352384000,"timestamp_seconds":1786352384,"priority":1,"record_length":96,"hex_timestamp":"0000019feae63800"} 
[2026-08-10 14:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:30: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-08-10 14:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 14:30: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-08-10 14:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:30: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-08-10 14:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306133248001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306133248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:30:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306133248001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":152842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:30:38] local.INFO: GPS data processed {"connection_id":152842,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:30:38] local.INFO: Acknowledgment sent {"connection_id":152842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:30:42] local.INFO: TCP Data received {"connection_id":151915,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:30:42] local.INFO: Processing buffer {"connection_id":151915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:30:42] local.INFO: IMEI packet received {"connection_id":151915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":151915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:30:51] local.INFO: TCP Data received {"connection_id":151915,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:30:51] local.INFO: Processing buffer {"connection_id":151915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:30:51] local.INFO: IMEI packet received {"connection_id":151915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":151915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:30:51] local.INFO: TCP Data received {"connection_id":151915,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae33678012d18718007220830005500c725..."} 
[2026-08-10 14:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae33678012d18718007220830005500c725..."} 
[2026-08-10 14:30:51] local.INFO: Processing buffer {"connection_id":151915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae33678012d18718007220830005500c725..."} 
[2026-08-10 14:30:51] local.INFO: Packet analysis {"connection_id":151915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae3"} 
[2026-08-10 14:30:51] local.INFO: Extracted packet for processing {"connection_id":151915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae3"} 
[2026-08-10 14:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":37,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306154496001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786352187000,"timestamp_ms":1786352187000,"timestamp_seconds":1786352187,"priority":1,"record_length":96,"hex_timestamp":"0000019feae33678"} 
[2026-08-10 14:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 14:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306154496001,"66":12961,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306154496001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:30:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306154496001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":151915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:30:51] local.INFO: GPS data processed {"connection_id":151915,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:30:51] local.INFO: Acknowledgment sent {"connection_id":151915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:30:52] local.INFO: TCP Data received {"connection_id":151915,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae38880012d18718007220830005500c725..."} 
[2026-08-10 14:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae38880012d18718007220830005500c725..."} 
[2026-08-10 14:30:52] local.INFO: Processing buffer {"connection_id":151915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae38880012d18718007220830005500c725..."} 
[2026-08-10 14:30:52] local.INFO: Packet analysis {"connection_id":151915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae3"} 
[2026-08-10 14:30:52] local.INFO: Extracted packet for processing {"connection_id":151915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae3"} 
[2026-08-10 14:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":37,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306159872001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786352208000,"timestamp_ms":1786352208000,"timestamp_seconds":1786352208,"priority":1,"record_length":96,"hex_timestamp":"0000019feae38880"} 
[2026-08-10 14:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 14:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306159872001,"66":12917,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306159872001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:30:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:30:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306159872001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":151915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:30:52] local.INFO: GPS data processed {"connection_id":151915,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:30:52] local.INFO: Acknowledgment sent {"connection_id":151915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:30:58] local.INFO: TCP Data received {"connection_id":154288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:30:58] local.INFO: Processing buffer {"connection_id":154288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:30:58] local.INFO: IMEI packet received {"connection_id":154288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":154288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:31:03] local.INFO: TCP Data received {"connection_id":154288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:31:03] local.INFO: Processing buffer {"connection_id":154288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:31:03] local.INFO: IMEI packet received {"connection_id":154288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":154288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:31:04] local.INFO: TCP Data received {"connection_id":154288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:31:04] local.INFO: Processing buffer {"connection_id":154288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:31:04] local.INFO: Packet analysis {"connection_id":154288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:31:04] local.INFO: Extracted packet for processing {"connection_id":154288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306133248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786352384000,"timestamp_ms":1786352384000,"timestamp_seconds":1786352384,"priority":1,"record_length":96,"hex_timestamp":"0000019feae63800"} 
[2026-08-10 14:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 14:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306133248001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306133248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:31:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306133248001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":154288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:31:04] local.INFO: GPS data processed {"connection_id":154288,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:31:04] local.INFO: Acknowledgment sent {"connection_id":154288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:31:04] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fead6ceb0012d18724007220860005700ed23..."} 
[2026-08-10 14:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fead6ceb0012d18724007220860005700ed23..."} 
[2026-08-10 14:31:04] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fead6ceb0012d18724007220860005700ed23..."} 
[2026-08-10 14:31:04] local.INFO: Packet analysis {"connection_id":152831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fead6"} 
[2026-08-10 14:31:04] local.INFO: Extracted packet for processing {"connection_id":152831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fead6"} 
[2026-08-10 14:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119670880,"longitude_deg":75.6576832,"latitude_deg":11.967088,"altitude":87,"angle":237,"satellites":35,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220860","is_valid_coordinates":true} 
[2026-08-10 14:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457305946368001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11405320014266368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635208192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786351374000,"timestamp_ms":1786351374000,"timestamp_seconds":1786351374,"priority":1,"record_length":96,"hex_timestamp":"0000019fead6ceb0"} 
[2026-08-10 14:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-10 14:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457305946368001,"66":12722,"105":206,"83":41984,"24":0,"16":11405320014266368,"45":1761540803635208192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457305946368001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:31:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11405320014266368,"km_value":11405320014266.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635208192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457305946368001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635208192}} 
[2026-08-10 14:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":152831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:31:04] local.INFO: GPS data processed {"connection_id":152831,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:31:04] local.INFO: Acknowledgment sent {"connection_id":152831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:31:22] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:31:22] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:31:22] local.INFO: IMEI packet received {"connection_id":152840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":152840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:31:23] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feae77080012d0abf40070219080000010313..."} 
[2026-08-10 14:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae77080012d0abf40070219080000010313..."} 
[2026-08-10 14:31:23] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae77080012d0abf40070219080000010313..."} 
[2026-08-10 14:31:23] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae7"} 
[2026-08-10 14:31:23] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae7"} 
[2026-08-10 14:31:23] local.INFO: GPS Element Parsed {"raw_longitude":755679040,"raw_latitude":117577992,"longitude_deg":75.567904,"latitude_deg":11.7577992,"altitude":0,"angle":259,"satellites":19,"speed":21,"hex_longitude":"2d0abf40","hex_latitude":"07021908","is_valid_coordinates":true} 
[2026-08-10 14:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306227712001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27366307544432640,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":782781940333230080,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786352464000,"timestamp_ms":1786352464000,"timestamp_seconds":1786352464,"priority":1,"record_length":96,"hex_timestamp":"0000019feae77080"} 
[2026-08-10 14:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:31: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":201,"data_length":795,"current_offset":136} 
[2026-08-10 14:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306227712001,"66":14613,"17":206,"94":11008,"24":21,"16":27366307544432640,"45":782781940333230080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 14:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306227712001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:31:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27366307544432640,"km_value":27366307544432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":782781940333230080,"description":"Unknown IO ID 45"} 
[2026-08-10 14:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306227712001,"power":14613,"axis_x":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":782781940333230080}} 
[2026-08-10 14:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620051,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:31:23] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:31:23] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:31:23] local.INFO: TCP Data received {"connection_id":151915,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae3da88012d18718007220830005500c726..."} 
[2026-08-10 14:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae3da88012d18718007220830005500c726..."} 
[2026-08-10 14:31:23] local.INFO: Processing buffer {"connection_id":151915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae3da88012d18718007220830005500c726..."} 
[2026-08-10 14:31:23] local.INFO: Packet analysis {"connection_id":151915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae3"} 
[2026-08-10 14:31:23] local.INFO: Extracted packet for processing {"connection_id":151915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae3"} 
[2026-08-10 14:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":38,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306165248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786352229000,"timestamp_ms":1786352229000,"timestamp_seconds":1786352229,"priority":1,"record_length":96,"hex_timestamp":"0000019feae3da88"} 
[2026-08-10 14:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 14:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306165248001,"66":12841,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306165248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:31:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306165248001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":151915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:31:23] local.INFO: GPS data processed {"connection_id":151915,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:31:23] local.INFO: Acknowledgment sent {"connection_id":151915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:31:35] local.INFO: TCP Data received {"connection_id":154288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:31:35] local.INFO: Processing buffer {"connection_id":154288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:31:35] local.INFO: Packet analysis {"connection_id":154288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:31:35] local.INFO: Extracted packet for processing {"connection_id":154288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306133248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786352384000,"timestamp_ms":1786352384000,"timestamp_seconds":1786352384,"priority":1,"record_length":96,"hex_timestamp":"0000019feae63800"} 
[2026-08-10 14:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:31: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-08-10 14:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 14:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306133248001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306133248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:31:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306133248001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":154288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:31:35] local.INFO: GPS data processed {"connection_id":154288,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:31:35] local.INFO: Acknowledgment sent {"connection_id":154288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:31:42] local.INFO: TCP Data received {"connection_id":154289,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:31:42] local.INFO: Processing buffer {"connection_id":154289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:31:42] local.INFO: IMEI packet received {"connection_id":154289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":154289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:31:47] local.INFO: TCP Data received {"connection_id":154289,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:31:47] local.INFO: Processing buffer {"connection_id":154289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:31:47] local.INFO: IMEI packet received {"connection_id":154289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":154289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:31:48] local.INFO: TCP Data received {"connection_id":154289,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae42c90012d18718007220830005500c727..."} 
[2026-08-10 14:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae42c90012d18718007220830005500c727..."} 
[2026-08-10 14:31:48] local.INFO: Processing buffer {"connection_id":154289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae42c90012d18718007220830005500c727..."} 
[2026-08-10 14:31:48] local.INFO: Packet analysis {"connection_id":154289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae4"} 
[2026-08-10 14:31:48] local.INFO: Extracted packet for processing {"connection_id":154289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae4"} 
[2026-08-10 14:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":39,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306170624001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786352250000,"timestamp_ms":1786352250000,"timestamp_seconds":1786352250,"priority":1,"record_length":96,"hex_timestamp":"0000019feae42c90"} 
[2026-08-10 14:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:31: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-08-10 14:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 14:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306170624001,"66":12809,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306170624001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:31:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:31:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306170624001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":154289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:31:48] local.INFO: GPS data processed {"connection_id":154289,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:31:48] local.INFO: Acknowledgment sent {"connection_id":154289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:31:54] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feae78408012d0ab1c0070218400000011113..."} 
[2026-08-10 14:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae78408012d0ab1c0070218400000011113..."} 
[2026-08-10 14:31:54] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae78408012d0ab1c0070218400000011113..."} 
[2026-08-10 14:31:54] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae7"} 
[2026-08-10 14:31:54] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae7"} 
[2026-08-10 14:31:54] local.INFO: GPS Element Parsed {"raw_longitude":755675584,"raw_latitude":117577792,"longitude_deg":75.5675584,"latitude_deg":11.7577792,"altitude":0,"angle":273,"satellites":19,"speed":34,"hex_longitude":"2d0ab1c0","hex_latitude":"07021840","is_valid_coordinates":true} 
[2026-08-10 14:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306230784001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27366475048157184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":774408059775158272,"note":"Value kept but may cause issues"} 
[2026-08-10 14:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786352469000,"timestamp_ms":1786352469000,"timestamp_seconds":1786352469,"priority":1,"record_length":96,"hex_timestamp":"0000019feae78408"} 
[2026-08-10 14:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-10 14:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306230784001,"66":14439,"17":206,"94":11008,"24":34,"16":27366475048157184,"45":774408059775158272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 14:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306230784001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:31:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27366475048157184,"km_value":27366475048157.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":774408059775158272,"description":"Unknown IO ID 45"} 
[2026-08-10 14:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306230784001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":774408059775158272}} 
[2026-08-10 14:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620055,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:31:54] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:31:54] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:32:03] local.INFO: TCP Data received {"connection_id":151916,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:32:03] local.INFO: Processing buffer {"connection_id":151916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:32:03] local.INFO: IMEI packet received {"connection_id":151916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":151916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:32:08] local.INFO: TCP Data received {"connection_id":151916,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:32:08] local.INFO: Processing buffer {"connection_id":151916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:32:08] local.INFO: IMEI packet received {"connection_id":151916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":151916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:32:09] local.INFO: TCP Data received {"connection_id":151916,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:32:09] local.INFO: Processing buffer {"connection_id":151916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:32:09] local.INFO: Packet analysis {"connection_id":151916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:32:09] local.INFO: Extracted packet for processing {"connection_id":151916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306133248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786352384000,"timestamp_ms":1786352384000,"timestamp_seconds":1786352384,"priority":1,"record_length":96,"hex_timestamp":"0000019feae63800"} 
[2026-08-10 14:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:32: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-08-10 14:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 14:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306133248001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306133248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:32:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306133248001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":151916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:32:09] local.INFO: GPS data processed {"connection_id":151916,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:32:09] local.INFO: Acknowledgment sent {"connection_id":151916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:32:19] local.INFO: TCP Data received {"connection_id":154289,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae47e98012d18718007220830005500c724..."} 
[2026-08-10 14:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae47e98012d18718007220830005500c724..."} 
[2026-08-10 14:32:19] local.INFO: Processing buffer {"connection_id":154289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae47e98012d18718007220830005500c724..."} 
[2026-08-10 14:32:19] local.INFO: Packet analysis {"connection_id":154289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae4"} 
[2026-08-10 14:32:19] local.INFO: Extracted packet for processing {"connection_id":154289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae4"} 
[2026-08-10 14:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306176000001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786352271000,"timestamp_ms":1786352271000,"timestamp_seconds":1786352271,"priority":1,"record_length":96,"hex_timestamp":"0000019feae47e98"} 
[2026-08-10 14:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3940696160,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-2165598097016065856,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2147951112,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604650,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2285961216,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2452016484482814761,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775785908194899,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,136,159,218,45,128,8,85,38,10,66,37,54,1,240,161,227,234,34,4,113,205,146,48,239,50,2,40,7,51,164,59],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 14:32:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6125114463541526528,"timestamp_seconds":6125114463541527.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 14:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306176000001,"66":12743,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306176000001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:32:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:32:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306176000001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":154289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:32:19] local.INFO: GPS data processed {"connection_id":154289,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:32:19] local.INFO: Acknowledgment sent {"connection_id":154289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:32:25] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feae7ab18012d0a8ac007021c300000010f13..."} 
[2026-08-10 14:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae7ab18012d0a8ac007021c300000010f13..."} 
[2026-08-10 14:32:25] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae7ab18012d0a8ac007021c300000010f13..."} 
[2026-08-10 14:32:25] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae7"} 
[2026-08-10 14:32:25] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae7"} 
[2026-08-10 14:32:25] local.INFO: GPS Element Parsed {"raw_longitude":755665600,"raw_latitude":117578800,"longitude_deg":75.56656,"latitude_deg":11.75788,"altitude":0,"angle":271,"satellites":19,"speed":40,"hex_longitude":"2d0a8ac0","hex_latitude":"07021c30","is_valid_coordinates":true} 
[2026-08-10 14:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306232064001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27366951789527040,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":770608147589513216,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786352479000,"timestamp_ms":1786352479000,"timestamp_seconds":1786352479,"priority":1,"record_length":96,"hex_timestamp":"0000019feae7ab18"} 
[2026-08-10 14:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 14:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306232064001,"66":14537,"17":206,"94":11008,"24":40,"16":27366951789527040,"45":770608147589513216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 14:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306232064001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:32:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27366951789527040,"km_value":27366951789527.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":770608147589513216,"description":"Unknown IO ID 45"} 
[2026-08-10 14:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306232064001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":40,"odometer":null,"unknown_45":770608147589513216}} 
[2026-08-10 14:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620058,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:32:25] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:32:25] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:32:42] local.INFO: TCP Data received {"connection_id":151515,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:32:42] local.INFO: Processing buffer {"connection_id":151515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:32:42] local.INFO: IMEI packet received {"connection_id":151515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":151515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:32:45] local.INFO: TCP Data received {"connection_id":151916,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:32:45] local.INFO: Processing buffer {"connection_id":151916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:32:45] local.INFO: Packet analysis {"connection_id":151916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:32:45] local.INFO: Extracted packet for processing {"connection_id":151916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306133248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786352384000,"timestamp_ms":1786352384000,"timestamp_seconds":1786352384,"priority":1,"record_length":96,"hex_timestamp":"0000019feae63800"} 
[2026-08-10 14:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 14:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306133248001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306133248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:32:45] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306133248001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":151916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:32:45] local.INFO: GPS data processed {"connection_id":151916,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:32:45] local.INFO: Acknowledgment sent {"connection_id":151916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:32:47] local.INFO: TCP Data received {"connection_id":151515,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:32:47] local.INFO: Processing buffer {"connection_id":151515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:32:47] local.INFO: IMEI packet received {"connection_id":151515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":151515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:32:48] local.INFO: TCP Data received {"connection_id":151515,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae4d0a0012d18718007220830005500c724..."} 
[2026-08-10 14:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae4d0a0012d18718007220830005500c724..."} 
[2026-08-10 14:32:48] local.INFO: Processing buffer {"connection_id":151515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae4d0a0012d18718007220830005500c724..."} 
[2026-08-10 14:32:48] local.INFO: Packet analysis {"connection_id":151515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae4"} 
[2026-08-10 14:32:48] local.INFO: Extracted packet for processing {"connection_id":151515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae4"} 
[2026-08-10 14:32:48] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306181376001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786352292000,"timestamp_ms":1786352292000,"timestamp_seconds":1786352292,"priority":1,"record_length":96,"hex_timestamp":"0000019feae4d0a0"} 
[2026-08-10 14:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:32: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-08-10 14:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-10 14:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306181376001,"66":12689,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306181376001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:32:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:32:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306181376001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":151515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:32:48] local.INFO: GPS data processed {"connection_id":151515,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:32:48] local.INFO: Acknowledgment sent {"connection_id":151515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:32:56] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feae90aa8012d09a4c007025648001500f414..."} 
[2026-08-10 14:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae90aa8012d09a4c007025648001500f414..."} 
[2026-08-10 14:32:56] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae90aa8012d09a4c007025648001500f414..."} 
[2026-08-10 14:32:56] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:32:56] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:32:56] local.INFO: GPS Element Parsed {"raw_longitude":755606720,"raw_latitude":117593672,"longitude_deg":75.560672,"latitude_deg":11.7593672,"altitude":21,"angle":244,"satellites":20,"speed":11,"hex_longitude":"2d09a4c0","hex_latitude":"07025648","is_valid_coordinates":true} 
[2026-08-10 14:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306257152001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27370104295522304,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":695524697556051968,"note":"Value kept but may cause issues"} 
[2026-08-10 14:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786352569000,"timestamp_ms":1786352569000,"timestamp_seconds":1786352569,"priority":1,"record_length":96,"hex_timestamp":"0000019feae90aa8"} 
[2026-08-10 14:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 14:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306257152001,"66":14461,"19":206,"94":11008,"24":11,"16":27370104295522304,"45":695524697556051968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-10 14:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306257152001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:32:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 14:32:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27370104295522304,"km_value":27370104295522.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":695524697556051968,"description":"Unknown IO ID 45"} 
[2026-08-10 14:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306257152001,"power":14461,"unknown_19":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":695524697556051968}} 
[2026-08-10 14:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620061,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:32:57] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:32:57] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:32:59] local.INFO: TCP Data received {"connection_id":151917,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:32:59] local.INFO: Processing buffer {"connection_id":151917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:32:59] local.INFO: IMEI packet received {"connection_id":151917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":151917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:33:04] local.INFO: TCP Data received {"connection_id":151917,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:33:04] local.INFO: Processing buffer {"connection_id":151917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:33:04] local.INFO: IMEI packet received {"connection_id":151917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":151917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:33:05] local.INFO: TCP Data received {"connection_id":151917,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:33:05] local.INFO: Processing buffer {"connection_id":151917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:33:05] local.INFO: Packet analysis {"connection_id":151917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:33:05] local.INFO: Extracted packet for processing {"connection_id":151917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:33:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306133248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786352384000,"timestamp_ms":1786352384000,"timestamp_seconds":1786352384,"priority":1,"record_length":96,"hex_timestamp":"0000019feae63800"} 
[2026-08-10 14:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:33: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-08-10 14:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 14:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306133248001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306133248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:33:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:33:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306133248001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":151917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:33:05] local.INFO: GPS data processed {"connection_id":151917,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:33:05] local.INFO: Acknowledgment sent {"connection_id":151917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:33:19] local.INFO: TCP Data received {"connection_id":151515,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae522a8012d18718007220830005500c726..."} 
[2026-08-10 14:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae522a8012d18718007220830005500c726..."} 
[2026-08-10 14:33:19] local.INFO: Processing buffer {"connection_id":151515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae522a8012d18718007220830005500c726..."} 
[2026-08-10 14:33:19] local.INFO: Packet analysis {"connection_id":151515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae5"} 
[2026-08-10 14:33:19] local.INFO: Extracted packet for processing {"connection_id":151515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae5"} 
[2026-08-10 14:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":38,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306186752001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786352313000,"timestamp_ms":1786352313000,"timestamp_seconds":1786352313,"priority":1,"record_length":96,"hex_timestamp":"0000019feae522a8"} 
[2026-08-10 14:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 14:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306186752001,"66":12722,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306186752001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:33:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306186752001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":151515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:33:19] local.INFO: GPS data processed {"connection_id":151515,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:33:19] local.INFO: Acknowledgment sent {"connection_id":151515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:33:28] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feae90e90012d09a3c007025598001400e814..."} 
[2026-08-10 14:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae90e90012d09a3c007025598001400e814..."} 
[2026-08-10 14:33:28] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae90e90012d09a3c007025598001400e814..."} 
[2026-08-10 14:33:28] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:33:28] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:33:28] local.INFO: GPS Element Parsed {"raw_longitude":755606464,"raw_latitude":117593496,"longitude_deg":75.5606464,"latitude_deg":11.7593496,"altitude":20,"angle":232,"satellites":20,"speed":11,"hex_longitude":"2d09a3c0","hex_latitude":"07025598","is_valid_coordinates":true} 
[2026-08-10 14:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306257664001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27370117180424192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":694891378858412032,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786352570000,"timestamp_ms":1786352570000,"timestamp_seconds":1786352570,"priority":1,"record_length":96,"hex_timestamp":"0000019feae90e90"} 
[2026-08-10 14:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 14:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306257664001,"66":14407,"19":206,"94":11008,"24":11,"16":27370117180424192,"45":694891378858412032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-10 14:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306257664001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:33:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 14:33:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27370117180424192,"km_value":27370117180424.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":694891378858412032,"description":"Unknown IO ID 45"} 
[2026-08-10 14:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306257664001,"power":14407,"unknown_19":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":694891378858412032}} 
[2026-08-10 14:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620064,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:33:28] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:33:28] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:33:36] local.INFO: TCP Data received {"connection_id":151917,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:33:36] local.INFO: Processing buffer {"connection_id":151917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:33:36] local.INFO: Packet analysis {"connection_id":151917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:33:36] local.INFO: Extracted packet for processing {"connection_id":151917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306133248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786352384000,"timestamp_ms":1786352384000,"timestamp_seconds":1786352384,"priority":1,"record_length":96,"hex_timestamp":"0000019feae63800"} 
[2026-08-10 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-08-10 14:33: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-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 14:33: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-08-10 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-08-10 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-08-10 14:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306133248001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306133248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:33:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306133248001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":151917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:33:36] local.INFO: GPS data processed {"connection_id":151917,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:33:36] local.INFO: Acknowledgment sent {"connection_id":151917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:33:44] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:33:44] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:33:44] local.INFO: IMEI packet received {"connection_id":152843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":152843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:33:47] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:33:47] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:33:47] local.INFO: IMEI packet received {"connection_id":152843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":152843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:33:52] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:33:52] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:33:52] local.INFO: IMEI packet received {"connection_id":152843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":152843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:33:53] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae8a900012d18718007220830005500c72a..."} 
[2026-08-10 14:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae8a900012d18718007220830005500c72a..."} 
[2026-08-10 14:33:53] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae8a900012d18718007220830005500c72a..."} 
[2026-08-10 14:33:53] local.INFO: Packet analysis {"connection_id":152843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae8"} 
[2026-08-10 14:33:53] local.INFO: Extracted packet for processing {"connection_id":152843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae8"} 
[2026-08-10 14:33:53] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":42,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306245888001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786352544000,"timestamp_ms":1786352544000,"timestamp_seconds":1786352544,"priority":1,"record_length":96,"hex_timestamp":"0000019feae8a900"} 
[2026-08-10 14:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 14:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306245888001,"66":12428,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306245888001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:33:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:33:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306245888001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":152843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:33:53] local.INFO: GPS data processed {"connection_id":152843,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:33:53] local.INFO: Acknowledgment sent {"connection_id":152843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:33:57] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae8fb08012d18718007220830005500c729..."} 
[2026-08-10 14:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae8fb08012d18718007220830005500c729..."} 
[2026-08-10 14:33:57] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae8fb08012d18718007220830005500c729..."} 
[2026-08-10 14:33:57] local.INFO: Packet analysis {"connection_id":152843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae8"} 
[2026-08-10 14:33:57] local.INFO: Extracted packet for processing {"connection_id":152843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae8"} 
[2026-08-10 14:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":41,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306251264001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786352565000,"timestamp_ms":1786352565000,"timestamp_seconds":1786352565,"priority":1,"record_length":96,"hex_timestamp":"0000019feae8fb08"} 
[2026-08-10 14:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 14:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306251264001,"66":12385,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306251264001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:33:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306251264001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":152843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:33:58] local.INFO: GPS data processed {"connection_id":152843,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:33:58] local.INFO: Acknowledgment sent {"connection_id":152843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:33:59] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feae9d9b0012d091740070266b0001c001114..."} 
[2026-08-10 14:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae9d9b0012d091740070266b0001c001114..."} 
[2026-08-10 14:33:59] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae9d9b0012d091740070266b0001c001114..."} 
[2026-08-10 14:33:59] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:33:59] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:33:59] local.INFO: GPS Element Parsed {"raw_longitude":755570496,"raw_latitude":117597872,"longitude_deg":75.5570496,"latitude_deg":11.7597872,"altitude":28,"angle":17,"satellites":20,"speed":31,"hex_longitude":"2d091740","hex_latitude":"070266b0","is_valid_coordinates":true} 
[2026-08-10 14:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306270720001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27372097160347648,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":654358982212769792,"note":"Value kept but may cause issues"} 
[2026-08-10 14:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786352622000,"timestamp_ms":1786352622000,"timestamp_seconds":1786352622,"priority":1,"record_length":96,"hex_timestamp":"0000019feae9d9b0"} 
[2026-08-10 14:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-10 14:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306270720001,"66":14396,"230":206,"94":11008,"24":31,"16":27372097160347648,"45":654358982212769792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-08-10 14:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306270720001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:33:59] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-10 14:33:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27372097160347648,"km_value":27372097160347.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":654358982212769792,"description":"Unknown IO ID 45"} 
[2026-08-10 14:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306270720001,"power":14396,"unknown_230":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":654358982212769792}} 
[2026-08-10 14:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620068,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:33:59] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:33:59] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:34:01] local.INFO: TCP Data received {"connection_id":151516,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:34:01] local.INFO: Processing buffer {"connection_id":151516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:34:01] local.INFO: IMEI packet received {"connection_id":151516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":151516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:34:06] local.INFO: TCP Data received {"connection_id":151516,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:34:06] local.INFO: Processing buffer {"connection_id":151516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:34:06] local.INFO: IMEI packet received {"connection_id":151516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":151516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:34:07] local.INFO: TCP Data received {"connection_id":151516,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:34:07] local.INFO: Processing buffer {"connection_id":151516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:34:07] local.INFO: Packet analysis {"connection_id":151516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:34:07] local.INFO: Extracted packet for processing {"connection_id":151516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306133248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786352384000,"timestamp_ms":1786352384000,"timestamp_seconds":1786352384,"priority":1,"record_length":96,"hex_timestamp":"0000019feae63800"} 
[2026-08-10 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-08-10 14:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 14:34: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-08-10 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-08-10 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-08-10 14:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306133248001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306133248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:34:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306133248001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":151516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:34:07] local.INFO: GPS data processed {"connection_id":151516,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:34:07] local.INFO: Acknowledgment sent {"connection_id":151516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:34:09] local.INFO: TCP Data received {"connection_id":151516,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:34:09] local.INFO: Processing buffer {"connection_id":151516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:34:09] local.INFO: Packet analysis {"connection_id":151516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:34:09] local.INFO: Extracted packet for processing {"connection_id":151516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306133248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786352384000,"timestamp_ms":1786352384000,"timestamp_seconds":1786352384,"priority":1,"record_length":96,"hex_timestamp":"0000019feae63800"} 
[2026-08-10 14:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:34: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-08-10 14: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 14:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306133248001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306133248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:34:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306133248001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":151516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:34:09] local.INFO: GPS data processed {"connection_id":151516,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:34:09] local.INFO: Acknowledgment sent {"connection_id":151516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:34:30] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feae9ed38012d091e0007027838001c000314..."} 
[2026-08-10 14:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae9ed38012d091e0007027838001c000314..."} 
[2026-08-10 14:34:30] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae9ed38012d091e0007027838001c000314..."} 
[2026-08-10 14:34:30] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:34:30] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:34:30] local.INFO: GPS Element Parsed {"raw_longitude":755572224,"raw_latitude":117602360,"longitude_deg":75.5572224,"latitude_deg":11.760236,"altitude":28,"angle":3,"satellites":20,"speed":35,"hex_longitude":"2d091e00","hex_latitude":"07027838","is_valid_coordinates":true} 
[2026-08-10 14:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306271232001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27372329088581632,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":655062669654929408,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786352627000,"timestamp_ms":1786352627000,"timestamp_seconds":1786352627,"priority":1,"record_length":96,"hex_timestamp":"0000019feae9ed38"} 
[2026-08-10 14:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 14:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306271232001,"66":14450,"230":206,"94":11008,"24":35,"16":27372329088581632,"45":655062669654929408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-08-10 14:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306271232001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:34:30] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-10 14:34:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27372329088581632,"km_value":27372329088581.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":655062669654929408,"description":"Unknown IO ID 45"} 
[2026-08-10 14:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306271232001,"power":14450,"unknown_230":206,"unknown_94":11008,"ignition":35,"odometer":null,"unknown_45":655062669654929408}} 
[2026-08-10 14:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620071,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:34:31] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:34:31] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:34:40] local.INFO: TCP Data received {"connection_id":151516,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:34:40] local.INFO: Processing buffer {"connection_id":151516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:34:40] local.INFO: Packet analysis {"connection_id":151516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:34:40] local.INFO: Extracted packet for processing {"connection_id":151516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:34:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306133248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786352384000,"timestamp_ms":1786352384000,"timestamp_seconds":1786352384,"priority":1,"record_length":96,"hex_timestamp":"0000019feae63800"} 
[2026-08-10 14:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:34: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-08-10 14: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 14:34: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-08-10 14: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-08-10 14:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306133248001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306133248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:34:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:34:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306133248001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":151516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:34:40] local.INFO: GPS data processed {"connection_id":151516,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:34:40] local.INFO: Acknowledgment sent {"connection_id":151516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:34:42] local.INFO: TCP Data received {"connection_id":151517,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:34:42] local.INFO: Processing buffer {"connection_id":151517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:34:42] local.INFO: IMEI packet received {"connection_id":151517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":151517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:34:47] local.INFO: TCP Data received {"connection_id":151517,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:34:47] local.INFO: Processing buffer {"connection_id":151517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:34:47] local.INFO: IMEI packet received {"connection_id":151517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":151517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:34:48] local.INFO: TCP Data received {"connection_id":151517,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae94d10012d18718007220830005500c723..."} 
[2026-08-10 14:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae94d10012d18718007220830005500c723..."} 
[2026-08-10 14:34:48] local.INFO: Processing buffer {"connection_id":151517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae94d10012d18718007220830005500c723..."} 
[2026-08-10 14:34:48] local.INFO: Packet analysis {"connection_id":151517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:34:48] local.INFO: Extracted packet for processing {"connection_id":151517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":35,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306256640001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786352586000,"timestamp_ms":1786352586000,"timestamp_seconds":1786352586,"priority":1,"record_length":96,"hex_timestamp":"0000019feae94d10"} 
[2026-08-10 14:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:34: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-08-10 14:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 14:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306256640001,"66":12374,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306256640001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:34:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306256640001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":151517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:34:48] local.INFO: GPS data processed {"connection_id":151517,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:34:48] local.INFO: Acknowledgment sent {"connection_id":151517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:35:00] local.INFO: TCP Data received {"connection_id":152844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:35:00] local.INFO: Processing buffer {"connection_id":152844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:35:00] local.INFO: IMEI packet received {"connection_id":152844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":152844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:35:02] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaea1060012d091e40070296280018015913..."} 
[2026-08-10 14:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaea1060012d091e40070296280018015913..."} 
[2026-08-10 14:35:02] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaea1060012d091e40070296280018015913..."} 
[2026-08-10 14:35:02] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:35:02] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:35:02] local.INFO: GPS Element Parsed {"raw_longitude":755572288,"raw_latitude":117610024,"longitude_deg":75.5572288,"latitude_deg":11.7610024,"altitude":24,"angle":345,"satellites":19,"speed":19,"hex_longitude":"2d091e40","hex_latitude":"07029628","is_valid_coordinates":true} 
[2026-08-10 14:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306272512001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27372702750736384,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":656962625748875264,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786352636000,"timestamp_ms":1786352636000,"timestamp_seconds":1786352636,"priority":1,"record_length":96,"hex_timestamp":"0000019feaea1060"} 
[2026-08-10 14:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 14:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306272512001,"66":14450,"230":206,"94":11008,"24":19,"16":27372702750736384,"45":656962625748875264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-08-10 14:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306272512001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:35:02] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-10 14:35:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27372702750736384,"km_value":27372702750736.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":656962625748875264,"description":"Unknown IO ID 45"} 
[2026-08-10 14:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306272512001,"power":14450,"unknown_230":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":656962625748875264}} 
[2026-08-10 14:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620074,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:35:02] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:35:02] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:35:03] local.INFO: TCP Data received {"connection_id":152844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:35:03] local.INFO: Processing buffer {"connection_id":152844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:35:03] local.INFO: IMEI packet received {"connection_id":152844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":152844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:35:04] local.INFO: TCP Data received {"connection_id":152844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:35:04] local.INFO: Processing buffer {"connection_id":152844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae63800012d342a4006abc2800018010225..."} 
[2026-08-10 14:35:04] local.INFO: Packet analysis {"connection_id":152844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:35:04] local.INFO: Extracted packet for processing {"connection_id":152844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae6"} 
[2026-08-10 14:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306133248001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786352384000,"timestamp_ms":1786352384000,"timestamp_seconds":1786352384,"priority":1,"record_length":96,"hex_timestamp":"0000019feae63800"} 
[2026-08-10 14:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 14:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306133248001,"66":25560,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306133248001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:35:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306133248001,"power":25560,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":152844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:35:04] local.INFO: GPS data processed {"connection_id":152844,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:35:04] local.INFO: Acknowledgment sent {"connection_id":152844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:35:19] local.INFO: TCP Data received {"connection_id":151517,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae99f18012d18718007220830005500c727..."} 
[2026-08-10 14:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae99f18012d18718007220830005500c727..."} 
[2026-08-10 14:35:19] local.INFO: Processing buffer {"connection_id":151517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae99f18012d18718007220830005500c727..."} 
[2026-08-10 14:35:19] local.INFO: Packet analysis {"connection_id":151517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:35:19] local.INFO: Extracted packet for processing {"connection_id":151517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":39,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306262016001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786352607000,"timestamp_ms":1786352607000,"timestamp_seconds":1786352607,"priority":1,"record_length":96,"hex_timestamp":"0000019feae99f18"} 
[2026-08-10 14:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 14:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306262016001,"66":12341,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306262016001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:35:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306262016001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":151517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:35:19] local.INFO: GPS data processed {"connection_id":151517,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:35:19] local.INFO: Acknowledgment sent {"connection_id":151517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:35:33] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeb44f8012d084cc00702aa38001f011b13..."} 
[2026-08-10 14:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeb44f8012d084cc00702aa38001f011b13..."} 
[2026-08-10 14:35:33] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeb44f8012d084cc00702aa38001f011b13..."} 
[2026-08-10 14:35:33] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaeb"} 
[2026-08-10 14:35:33] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaeb"} 
[2026-08-10 14:35:33] local.INFO: GPS Element Parsed {"raw_longitude":755518656,"raw_latitude":117615160,"longitude_deg":75.5518656,"latitude_deg":11.761516,"altitude":31,"angle":283,"satellites":19,"speed":42,"hex_longitude":"2d084cc0","hex_latitude":"0702aa38","is_valid_coordinates":true} 
[2026-08-10 14:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306292736001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27375318385819648,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":608548929757671424,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786352715000,"timestamp_ms":1786352715000,"timestamp_seconds":1786352715,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeb44f8"} 
[2026-08-10 14:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 14:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306292736001,"66":14515,"13":206,"94":11008,"24":42,"16":27375318385819648,"45":608548929757671424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,94,24,16,45]} 
[2026-08-10 14:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306292736001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:35:33] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-10 14:35:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27375318385819648,"km_value":27375318385819.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":608548929757671424,"description":"Unknown IO ID 45"} 
[2026-08-10 14:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306292736001,"power":14515,"unknown_13":206,"unknown_94":11008,"ignition":42,"odometer":null,"unknown_45":608548929757671424}} 
[2026-08-10 14:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620077,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:35:33] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:35:33] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:35:35] local.INFO: TCP Data received {"connection_id":152844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:35:35] local.INFO: Processing buffer {"connection_id":152844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:35:35] local.INFO: Packet analysis {"connection_id":152844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:35:35] local.INFO: Extracted packet for processing {"connection_id":152844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306210304001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786352685000,"timestamp_ms":1786352685000,"timestamp_seconds":1786352685,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeacfc8"} 
[2026-08-10 14:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306210304001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306210304001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:35:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306210304001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":152844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:35:35] local.INFO: GPS data processed {"connection_id":152844,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:35:35] local.INFO: Acknowledgment sent {"connection_id":152844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:35:42] local.INFO: TCP Data received {"connection_id":151518,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:35:42] local.INFO: Processing buffer {"connection_id":151518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:35:42] local.INFO: IMEI packet received {"connection_id":151518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":151518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:35:47] local.INFO: TCP Data received {"connection_id":151518,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:35:47] local.INFO: Processing buffer {"connection_id":151518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:35:47] local.INFO: IMEI packet received {"connection_id":151518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":151518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:35:48] local.INFO: TCP Data received {"connection_id":151518,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feae9f120012d18718007220830005500c728..."} 
[2026-08-10 14:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feae9f120012d18718007220830005500c728..."} 
[2026-08-10 14:35:48] local.INFO: Processing buffer {"connection_id":151518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feae9f120012d18718007220830005500c728..."} 
[2026-08-10 14:35:48] local.INFO: Packet analysis {"connection_id":151518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:35:48] local.INFO: Extracted packet for processing {"connection_id":151518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feae9"} 
[2026-08-10 14:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":40,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306267392001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786352628000,"timestamp_ms":1786352628000,"timestamp_seconds":1786352628,"priority":1,"record_length":96,"hex_timestamp":"0000019feae9f120"} 
[2026-08-10 14:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:35: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-08-10 14:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 14:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306267392001,"66":12363,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306267392001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:35:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:35:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306267392001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":151518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:35:48] local.INFO: GPS data processed {"connection_id":151518,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:35:48] local.INFO: Acknowledgment sent {"connection_id":151518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:35:57] local.INFO: TCP Data received {"connection_id":154290,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154290,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:35:57] local.INFO: Processing buffer {"connection_id":154290,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:35:57] local.INFO: IMEI packet received {"connection_id":154290,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":154290,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:35:59] local.INFO: TCP Data received {"connection_id":151918,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:35:59] local.INFO: Processing buffer {"connection_id":151918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:35:59] local.INFO: IMEI packet received {"connection_id":151918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":151918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:36:00] local.INFO: TCP Data received {"connection_id":154290,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154290,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:00] local.INFO: Processing buffer {"connection_id":154290,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:00] local.INFO: IMEI packet received {"connection_id":154290,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":154290,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:36:00] local.INFO: TCP Data received {"connection_id":154290,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeb5498012d083dc00702af60001d012714..."} 
[2026-08-10 14:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeb5498012d083dc00702af60001d012714..."} 
[2026-08-10 14:36:00] local.INFO: Processing buffer {"connection_id":154290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeb5498012d083dc00702af60001d012714..."} 
[2026-08-10 14:36:00] local.INFO: Packet analysis {"connection_id":154290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaeb"} 
[2026-08-10 14:36:00] local.INFO: Extracted packet for processing {"connection_id":154290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaeb"} 
[2026-08-10 14:36:00] local.INFO: GPS Element Parsed {"raw_longitude":755514816,"raw_latitude":117616480,"longitude_deg":75.5514816,"latitude_deg":11.761648,"altitude":29,"angle":295,"satellites":20,"speed":32,"hex_longitude":"2d083dc0","hex_latitude":"0702af60","is_valid_coordinates":true} 
[2026-08-10 14:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306295040001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27375511659347968,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":598063986875447296,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786352719000,"timestamp_ms":1786352719000,"timestamp_seconds":1786352719,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeb5498"} 
[2026-08-10 14:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14: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-08-10 14:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154290,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154290,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306295040001,"66":14548,"13":206,"94":11008,"24":32,"16":27375511659347968,"45":598063986875447296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,94,24,16,45]} 
[2026-08-10 14:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306295040001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:36:00] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-10 14:36:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27375511659347968,"km_value":27375511659347.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":598063986875447296,"description":"Unknown IO ID 45"} 
[2026-08-10 14:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306295040001,"power":14548,"unknown_13":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":598063986875447296}} 
[2026-08-10 14:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":154290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620080,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:36:01] local.INFO: GPS data processed {"connection_id":154290,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:36:01] local.INFO: Acknowledgment sent {"connection_id":154290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:36:04] local.INFO: TCP Data received {"connection_id":151918,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:36:04] local.INFO: Processing buffer {"connection_id":151918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:36:04] local.INFO: IMEI packet received {"connection_id":151918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":151918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:36:05] local.INFO: TCP Data received {"connection_id":151918,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:36:05] local.INFO: Processing buffer {"connection_id":151918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:36:05] local.INFO: Packet analysis {"connection_id":151918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:36:05] local.INFO: Extracted packet for processing {"connection_id":151918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306210304001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786352685000,"timestamp_ms":1786352685000,"timestamp_seconds":1786352685,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeacfc8"} 
[2026-08-10 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-08-10 14:36: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306210304001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306210304001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:36:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306210304001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":151918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:36:05] local.INFO: GPS data processed {"connection_id":151918,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:36:05] local.INFO: Acknowledgment sent {"connection_id":151918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:36:19] local.INFO: TCP Data received {"connection_id":151518,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaea4328012d18718007220830005500c723..."} 
[2026-08-10 14:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaea4328012d18718007220830005500c723..."} 
[2026-08-10 14:36:19] local.INFO: Processing buffer {"connection_id":151518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaea4328012d18718007220830005500c723..."} 
[2026-08-10 14:36:19] local.INFO: Packet analysis {"connection_id":151518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:36:19] local.INFO: Extracted packet for processing {"connection_id":151518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:36:19] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":35,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306272768001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786352649000,"timestamp_ms":1786352649000,"timestamp_seconds":1786352649,"priority":1,"record_length":96,"hex_timestamp":"0000019feaea4328"} 
[2026-08-10 14:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 14:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306272768001,"66":12385,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306272768001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:36:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306272768001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":151518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:36:19] local.INFO: GPS data processed {"connection_id":151518,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:36:19] local.INFO: Acknowledgment sent {"connection_id":151518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:36:31] local.INFO: TCP Data received {"connection_id":154290,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeb6820012d082f800702b5b0001c011a13..."} 
[2026-08-10 14:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeb6820012d082f800702b5b0001c011a13..."} 
[2026-08-10 14:36:31] local.INFO: Processing buffer {"connection_id":154290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeb6820012d082f800702b5b0001c011a13..."} 
[2026-08-10 14:36:31] local.INFO: Packet analysis {"connection_id":154290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaeb"} 
[2026-08-10 14:36:31] local.INFO: Extracted packet for processing {"connection_id":154290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaeb"} 
[2026-08-10 14:36:31] local.INFO: GPS Element Parsed {"raw_longitude":755511168,"raw_latitude":117618096,"longitude_deg":75.5511168,"latitude_deg":11.7618096,"altitude":28,"angle":282,"satellites":19,"speed":33,"hex_longitude":"2d082f80","hex_latitude":"0702b5b0","is_valid_coordinates":true} 
[2026-08-10 14:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306296064001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27375700637908992,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":593841862225125376,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786352724000,"timestamp_ms":1786352724000,"timestamp_seconds":1786352724,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeb6820"} 
[2026-08-10 14:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":212,"data_length":795,"current_offset":136} 
[2026-08-10 14:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154290,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154290,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306296064001,"66":14559,"13":206,"94":11008,"24":33,"16":27375700637908992,"45":593841862225125376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,94,24,16,45]} 
[2026-08-10 14:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306296064001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:36:31] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-10 14:36:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27375700637908992,"km_value":27375700637908.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":593841862225125376,"description":"Unknown IO ID 45"} 
[2026-08-10 14:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306296064001,"power":14559,"unknown_13":206,"unknown_94":11008,"ignition":33,"odometer":null,"unknown_45":593841862225125376}} 
[2026-08-10 14:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":154290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620083,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:36:31] local.INFO: GPS data processed {"connection_id":154290,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:36:31] local.INFO: Acknowledgment sent {"connection_id":154290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:36:36] local.INFO: TCP Data received {"connection_id":151918,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:36:36] local.INFO: Processing buffer {"connection_id":151918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:36:36] local.INFO: Packet analysis {"connection_id":151918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:36:36] local.INFO: Extracted packet for processing {"connection_id":151918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306210304001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786352685000,"timestamp_ms":1786352685000,"timestamp_seconds":1786352685,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeacfc8"} 
[2026-08-10 14:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:36: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-08-10 14:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:36: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-08-10 14:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306210304001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306210304001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:36:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306210304001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":151918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:36:36] local.INFO: GPS data processed {"connection_id":151918,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:36:36] local.INFO: Acknowledgment sent {"connection_id":151918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:36:42] local.INFO: TCP Data received {"connection_id":154291,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:36:42] local.INFO: Processing buffer {"connection_id":154291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:36:42] local.INFO: IMEI packet received {"connection_id":154291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":154291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:36:47] local.INFO: TCP Data received {"connection_id":154291,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:36:47] local.INFO: Processing buffer {"connection_id":154291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:36:47] local.INFO: IMEI packet received {"connection_id":154291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":154291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:36:48] local.INFO: TCP Data received {"connection_id":154291,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaea9530012d18718007220830005500c726..."} 
[2026-08-10 14:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaea9530012d18718007220830005500c726..."} 
[2026-08-10 14:36:48] local.INFO: Processing buffer {"connection_id":154291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaea9530012d18718007220830005500c726..."} 
[2026-08-10 14:36:48] local.INFO: Packet analysis {"connection_id":154291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:36:48] local.INFO: Extracted packet for processing {"connection_id":154291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":38,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306278144001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786352670000,"timestamp_ms":1786352670000,"timestamp_seconds":1786352670,"priority":1,"record_length":96,"hex_timestamp":"0000019feaea9530"} 
[2026-08-10 14:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:36: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-08-10 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 14:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306278144001,"66":12385,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306278144001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:36:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:36:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306278144001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":154291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:36:48] local.INFO: GPS data processed {"connection_id":154291,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:36:48] local.INFO: Acknowledgment sent {"connection_id":154291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:36:50] local.INFO: TCP Data received {"connection_id":154292,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:50] local.INFO: Processing buffer {"connection_id":154292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:50] local.INFO: IMEI packet received {"connection_id":154292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":154292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:36:52] local.INFO: TCP Data received {"connection_id":154292,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:52] local.INFO: Processing buffer {"connection_id":154292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:52] local.INFO: IMEI packet received {"connection_id":154292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":154292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:36:53] local.INFO: TCP Data received {"connection_id":154292,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:53] local.INFO: Processing buffer {"connection_id":154292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:53] local.INFO: IMEI packet received {"connection_id":154292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":154292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:36:54] local.INFO: TCP Data received {"connection_id":154292,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:54] local.INFO: Processing buffer {"connection_id":154292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:36:54] local.INFO: IMEI packet received {"connection_id":154292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":154292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:36:59] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:36:59] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:36:59] local.INFO: IMEI packet received {"connection_id":152845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":152845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:37:04] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:37:04] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:37:04] local.INFO: IMEI packet received {"connection_id":152845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":152845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:37:04] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:37:05] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:37:05] local.INFO: Packet analysis {"connection_id":152845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:37:05] local.INFO: Extracted packet for processing {"connection_id":152845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306210304001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786352685000,"timestamp_ms":1786352685000,"timestamp_seconds":1786352685,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeacfc8"} 
[2026-08-10 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-08-10 14:37: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-08-10 14:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306210304001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306210304001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:37:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306210304001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":152845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:37:05] local.INFO: GPS data processed {"connection_id":152845,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:37:05] local.INFO: Acknowledgment sent {"connection_id":152845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:37:19] local.INFO: TCP Data received {"connection_id":154291,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeae738012d18718007220830005500c725..."} 
[2026-08-10 14:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeae738012d18718007220830005500c725..."} 
[2026-08-10 14:37:19] local.INFO: Processing buffer {"connection_id":154291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeae738012d18718007220830005500c725..."} 
[2026-08-10 14:37:19] local.INFO: Packet analysis {"connection_id":154291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:37:19] local.INFO: Extracted packet for processing {"connection_id":154291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":37,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306283520001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786352691000,"timestamp_ms":1786352691000,"timestamp_seconds":1786352691,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeae738"} 
[2026-08-10 14:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 14:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306283520001,"66":12363,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306283520001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:37:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:37:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306283520001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":154291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:37:19] local.INFO: GPS data processed {"connection_id":154291,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:37:19] local.INFO: Acknowledgment sent {"connection_id":154291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:37:36] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:37:36] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:37:36] local.INFO: Packet analysis {"connection_id":152845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:37:36] local.INFO: Extracted packet for processing {"connection_id":152845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306210304001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786352685000,"timestamp_ms":1786352685000,"timestamp_seconds":1786352685,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeacfc8"} 
[2026-08-10 14:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:37: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-08-10 14:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306210304001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306210304001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:37:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306210304001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":152845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:37:36] local.INFO: GPS data processed {"connection_id":152845,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:37:36] local.INFO: Acknowledgment sent {"connection_id":152845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:37:42] local.INFO: TCP Data received {"connection_id":151919,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:37:42] local.INFO: Processing buffer {"connection_id":151919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:37:42] local.INFO: IMEI packet received {"connection_id":151919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":151919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:37:47] local.INFO: TCP Data received {"connection_id":151919,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:37:47] local.INFO: Processing buffer {"connection_id":151919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:37:47] local.INFO: IMEI packet received {"connection_id":151919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":151919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:37:48] local.INFO: TCP Data received {"connection_id":151919,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeb3940012d18718007220830005500c727..."} 
[2026-08-10 14:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeb3940012d18718007220830005500c727..."} 
[2026-08-10 14:37:48] local.INFO: Processing buffer {"connection_id":151919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeb3940012d18718007220830005500c727..."} 
[2026-08-10 14:37:48] local.INFO: Packet analysis {"connection_id":151919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaeb"} 
[2026-08-10 14:37:48] local.INFO: Extracted packet for processing {"connection_id":151919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaeb"} 
[2026-08-10 14:37:48] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119670832,"longitude_deg":75.657664,"latitude_deg":11.9670832,"altitude":85,"angle":199,"satellites":39,"speed":0,"hex_longitude":"2d187180","hex_latitude":"07220830","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306288896001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11408811822678016,"note":"Value kept but may cause issues"} 
[2026-08-10 14:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697402662912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786352712000,"timestamp_ms":1786352712000,"timestamp_seconds":1786352712,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeb3940"} 
[2026-08-10 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-08-10 14:37: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-08-10 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 14:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306288896001,"66":12341,"105":206,"83":41984,"24":0,"16":11408811822678016,"45":1761329697402662912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306288896001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:37:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:37:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11408811822678016,"km_value":11408811822678.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697402662912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306288896001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697402662912}} 
[2026-08-10 14:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":151919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:37:48] local.INFO: GPS data processed {"connection_id":151919,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:37:48] local.INFO: Acknowledgment sent {"connection_id":151919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:38:03] local.INFO: TCP Data received {"connection_id":151519,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:38:03] local.INFO: Processing buffer {"connection_id":151519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:38:03] local.INFO: IMEI packet received {"connection_id":151519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":151519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:38:09] local.INFO: TCP Data received {"connection_id":151519,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:38:09] local.INFO: Processing buffer {"connection_id":151519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:38:09] local.INFO: IMEI packet received {"connection_id":151519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":151519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:38:11] local.INFO: TCP Data received {"connection_id":151519,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:38:11] local.INFO: Processing buffer {"connection_id":151519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:38:11] local.INFO: Packet analysis {"connection_id":151519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:38:11] local.INFO: Extracted packet for processing {"connection_id":151519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306210304001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786352685000,"timestamp_ms":1786352685000,"timestamp_seconds":1786352685,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeacfc8"} 
[2026-08-10 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-08-10 14: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-08-10 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:38: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-08-10 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-08-10 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-08-10 14:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306210304001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306210304001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:38:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306210304001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":151519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:38:11] local.INFO: GPS data processed {"connection_id":151519,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:38:11] local.INFO: Acknowledgment sent {"connection_id":151519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:38:19] local.INFO: TCP Data received {"connection_id":151919,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaed0e00012d1852000721f518005500de27..."} 
[2026-08-10 14:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaed0e00012d1852000721f518005500de27..."} 
[2026-08-10 14:38:19] local.INFO: Processing buffer {"connection_id":151919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaed0e00012d1852000721f518005500de27..."} 
[2026-08-10 14:38:19] local.INFO: Packet analysis {"connection_id":151919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaed"} 
[2026-08-10 14:38:19] local.INFO: Extracted packet for processing {"connection_id":151919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaed"} 
[2026-08-10 14:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756568576,"raw_latitude":119665944,"longitude_deg":75.6568576,"latitude_deg":11.9665944,"altitude":85,"angle":222,"satellites":39,"speed":16,"hex_longitude":"2d185200","hex_latitude":"0721f518","is_valid_coordinates":true} 
[2026-08-10 14:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306324480001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11409314333851648,"note":"Value kept but may cause issues"} 
[2026-08-10 14:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753096554332755968,"note":"Value kept but may cause issues"} 
[2026-08-10 14:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786352832000,"timestamp_ms":1786352832000,"timestamp_seconds":1786352832,"priority":1,"record_length":96,"hex_timestamp":"0000019feaed0e00"} 
[2026-08-10 14:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-10 14:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306324480001,"66":14233,"105":206,"83":41984,"24":16,"16":11409314333851648,"45":1753096554332755968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306324480001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:38:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:38:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11409314333851648,"km_value":11409314333851.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753096554332755968,"description":"Unknown IO ID 45"} 
[2026-08-10 14:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306324480001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1753096554332755968}} 
[2026-08-10 14:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":151919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:38:19] local.INFO: GPS data processed {"connection_id":151919,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:38:19] local.INFO: Acknowledgment sent {"connection_id":151919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:38:42] local.INFO: TCP Data received {"connection_id":151520,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:38:42] local.INFO: Processing buffer {"connection_id":151520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:38:42] local.INFO: IMEI packet received {"connection_id":151520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":151520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:38:43] local.INFO: TCP Data received {"connection_id":151519,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:38:43] local.INFO: Processing buffer {"connection_id":151519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:38:43] local.INFO: Packet analysis {"connection_id":151519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:38:43] local.INFO: Extracted packet for processing {"connection_id":151519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306210304001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786352685000,"timestamp_ms":1786352685000,"timestamp_seconds":1786352685,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeacfc8"} 
[2026-08-10 14:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:38: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-08-10 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306210304001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306210304001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:38:43] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306210304001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":151519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:38:43] local.INFO: GPS data processed {"connection_id":151519,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:38:43] local.INFO: Acknowledgment sent {"connection_id":151519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:38:44] local.INFO: TCP Data received {"connection_id":151520,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:38:44] local.INFO: Processing buffer {"connection_id":151520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:38:44] local.INFO: IMEI packet received {"connection_id":151520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":151520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:38:47] local.INFO: TCP Data received {"connection_id":151520,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:38:47] local.INFO: Processing buffer {"connection_id":151520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:38:47] local.INFO: IMEI packet received {"connection_id":151520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":151520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:38:48] local.INFO: TCP Data received {"connection_id":151520,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaed44b0012d183d800721d7f0005100d727..."} 
[2026-08-10 14:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaed44b0012d183d800721d7f0005100d727..."} 
[2026-08-10 14:38:48] local.INFO: Processing buffer {"connection_id":151520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaed44b0012d183d800721d7f0005100d727..."} 
[2026-08-10 14:38:48] local.INFO: Packet analysis {"connection_id":151520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaed"} 
[2026-08-10 14:38:48] local.INFO: Extracted packet for processing {"connection_id":151520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaed"} 
[2026-08-10 14:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756563328,"raw_latitude":119658480,"longitude_deg":75.6563328,"latitude_deg":11.965848,"altitude":81,"angle":215,"satellites":39,"speed":29,"hex_longitude":"2d183d80","hex_latitude":"0721d7f0","is_valid_coordinates":true} 
[2026-08-10 14:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306324992001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11409752420515840,"note":"Value kept but may cause issues"} 
[2026-08-10 14:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752463235635025920,"note":"Value kept but may cause issues"} 
[2026-08-10 14:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786352846000,"timestamp_ms":1786352846000,"timestamp_seconds":1786352846,"priority":1,"record_length":96,"hex_timestamp":"0000019feaed44b0"} 
[2026-08-10 14:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 14:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306324992001,"66":14233,"105":206,"83":41984,"24":29,"16":11409752420515840,"45":1752463235635025920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306324992001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:38:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:38:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11409752420515840,"km_value":11409752420515.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752463235635025920,"description":"Unknown IO ID 45"} 
[2026-08-10 14:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306324992001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1752463235635025920}} 
[2026-08-10 14:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":151520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:38:48] local.INFO: GPS data processed {"connection_id":151520,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:38:48] local.INFO: Acknowledgment sent {"connection_id":151520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:39:04] local.INFO: TCP Data received {"connection_id":151521,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:39:04] local.INFO: Processing buffer {"connection_id":151521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:39:04] local.INFO: IMEI packet received {"connection_id":151521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":151521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:39:09] local.INFO: TCP Data received {"connection_id":151521,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:39:09] local.INFO: Processing buffer {"connection_id":151521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:39:09] local.INFO: IMEI packet received {"connection_id":151521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":151521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:39:10] local.INFO: TCP Data received {"connection_id":151521,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:39:10] local.INFO: Processing buffer {"connection_id":151521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:39:10] local.INFO: Packet analysis {"connection_id":151521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:39:10] local.INFO: Extracted packet for processing {"connection_id":151521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306210304001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786352685000,"timestamp_ms":1786352685000,"timestamp_seconds":1786352685,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeacfc8"} 
[2026-08-10 14:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:39: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-08-10 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306210304001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306210304001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:39:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306210304001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":151521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:39:10] local.INFO: GPS data processed {"connection_id":151521,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:39:10] local.INFO: Acknowledgment sent {"connection_id":151521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:39:14] local.INFO: TCP Data received {"connection_id":151521,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:39:14] local.INFO: Processing buffer {"connection_id":151521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:39:14] local.INFO: Packet analysis {"connection_id":151521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:39:14] local.INFO: Extracted packet for processing {"connection_id":151521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306210304001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786352685000,"timestamp_ms":1786352685000,"timestamp_seconds":1786352685,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeacfc8"} 
[2026-08-10 14:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306210304001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306210304001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:39:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306210304001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":151521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:39:14] local.INFO: GPS data processed {"connection_id":151521,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:39:14] local.INFO: Acknowledgment sent {"connection_id":151521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:39:21] local.INFO: TCP Data received {"connection_id":151520,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaed7390012d1829c00721bad8004e00d526..."} 
[2026-08-10 14:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaed7390012d1829c00721bad8004e00d526..."} 
[2026-08-10 14:39:21] local.INFO: Processing buffer {"connection_id":151520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaed7390012d1829c00721bad8004e00d526..."} 
[2026-08-10 14:39:21] local.INFO: Packet analysis {"connection_id":151520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaed"} 
[2026-08-10 14:39:21] local.INFO: Extracted packet for processing {"connection_id":151520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaed"} 
[2026-08-10 14:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119651032,"longitude_deg":75.6558272,"latitude_deg":11.9651032,"altitude":78,"angle":213,"satellites":38,"speed":29,"hex_longitude":"2d1829c0","hex_latitude":"0721bad8","is_valid_coordinates":true} 
[2026-08-10 14:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306328576001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11410186212212736,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746692998610546688,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786352858000,"timestamp_ms":1786352858000,"timestamp_seconds":1786352858,"priority":1,"record_length":96,"hex_timestamp":"0000019feaed7390"} 
[2026-08-10 14:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 14:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306328576001,"66":14048,"107":206,"83":41984,"24":29,"16":11410186212212736,"45":1746692998610546688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 14:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306328576001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:39:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 14:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11410186212212736,"km_value":11410186212212.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746692998610546688,"description":"Unknown IO ID 45"} 
[2026-08-10 14:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306328576001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1746692998610546688}} 
[2026-08-10 14:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":151520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:39:21] local.INFO: GPS data processed {"connection_id":151520,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:39:21] local.INFO: Acknowledgment sent {"connection_id":151520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:39:46] local.INFO: TCP Data received {"connection_id":154294,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:39:46] local.INFO: Processing buffer {"connection_id":154294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:39:46] local.INFO: IMEI packet received {"connection_id":154294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":154294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:39:47] local.INFO: TCP Data received {"connection_id":154294,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:39:47] local.INFO: Processing buffer {"connection_id":154294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:39:47] local.INFO: IMEI packet received {"connection_id":154294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":154294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:39:49] local.INFO: TCP Data received {"connection_id":154294,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:39:49] local.INFO: Processing buffer {"connection_id":154294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:39:49] local.INFO: IMEI packet received {"connection_id":154294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":154294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:39:50] local.INFO: TCP Data received {"connection_id":154294,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeea058012d17be40072106f0003600a528..."} 
[2026-08-10 14:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeea058012d17be40072106f0003600a528..."} 
[2026-08-10 14:39:50] local.INFO: Processing buffer {"connection_id":154294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeea058012d17be40072106f0003600a528..."} 
[2026-08-10 14:39:50] local.INFO: Packet analysis {"connection_id":154294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaee"} 
[2026-08-10 14:39:50] local.INFO: Extracted packet for processing {"connection_id":154294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaee"} 
[2026-08-10 14:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756530752,"raw_latitude":119604976,"longitude_deg":75.6530752,"latitude_deg":11.9604976,"altitude":54,"angle":165,"satellites":40,"speed":12,"hex_longitude":"2d17be40","hex_latitude":"072106f0","is_valid_coordinates":true} 
[2026-08-10 14:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306347008001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11412926401347584,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708342033021192192,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786352935000,"timestamp_ms":1786352935000,"timestamp_seconds":1786352935,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeea058"} 
[2026-08-10 14:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":5,"data_length":795,"current_offset":136} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6977940960,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3120562176,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3941467160,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84750290771190133,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503773756915712,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3997341697,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-10 14:39:50] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3221692727,"corrected_to":0} 
[2026-08-10 14:39:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4128980,"corrected_to":0} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2337603584,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.WARNING: Large IO value detected {"io_id":176,"raw_value":19985660337202688,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:50] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,107,83,24,241,157,16,139,159,86,45,192,26,57,39,10,66,82,128,27,58,78,1,240,38,227,234,33,4,113,205,35,202,200,42,239,56,2,40,7,69,44,206,176],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":202,"original":3221692727,"validated":0},{"io_id":200,"original":4128980,"validated":0}]} 
[2026-08-10 14:39:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107449058217099264,"timestamp_seconds":4107449058217099.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 14:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":154294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":154294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":154294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306347008001,"66":14102,"107":206,"83":41984,"24":12,"16":11412926401347584,"45":1708342033021192192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 14:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306347008001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:39:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 14:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11412926401347584,"km_value":11412926401347.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708342033021192192,"description":"Unknown IO ID 45"} 
[2026-08-10 14:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306347008001,"power":14102,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1708342033021192192}} 
[2026-08-10 14:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":154294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:39:50] local.INFO: GPS data processed {"connection_id":154294,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:39:50] local.INFO: Acknowledgment sent {"connection_id":154294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:39:52] local.INFO: TCP Data received {"connection_id":154294,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeeb7c8012d17c000072102780037009828..."} 
[2026-08-10 14:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeeb7c8012d17c000072102780037009828..."} 
[2026-08-10 14:39:52] local.INFO: Processing buffer {"connection_id":154294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeeb7c8012d17c000072102780037009828..."} 
[2026-08-10 14:39:52] local.INFO: Packet analysis {"connection_id":154294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaee"} 
[2026-08-10 14:39:52] local.INFO: Extracted packet for processing {"connection_id":154294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaee"} 
[2026-08-10 14:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756531200,"raw_latitude":119603832,"longitude_deg":75.65312,"latitude_deg":11.9603832,"altitude":55,"angle":152,"satellites":40,"speed":8,"hex_longitude":"2d17c000","hex_latitude":"07210278","is_valid_coordinates":true} 
[2026-08-10 14:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306351360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11412986530889728,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710875307810418688,"note":"Value kept but may cause issues"} 
[2026-08-10 14:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786352941000,"timestamp_ms":1786352941000,"timestamp_seconds":1786352941,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeeb7c8"} 
[2026-08-10 14:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 14:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306351360001,"66":14070,"107":206,"83":41984,"24":8,"16":11412986530889728,"45":1710875307810418688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 14:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306351360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:39:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 14:39:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11412986530889728,"km_value":11412986530889.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710875307810418688,"description":"Unknown IO ID 45"} 
[2026-08-10 14:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306351360001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1710875307810418688}} 
[2026-08-10 14:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":154294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:39:52] local.INFO: GPS data processed {"connection_id":154294,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:39:52] local.INFO: Acknowledgment sent {"connection_id":154294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:39:59] local.INFO: TCP Data received {"connection_id":154295,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:39:59] local.INFO: Processing buffer {"connection_id":154295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:39:59] local.INFO: IMEI packet received {"connection_id":154295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":154295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:40:04] local.INFO: TCP Data received {"connection_id":154295,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:40:04] local.INFO: Processing buffer {"connection_id":154295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:40:04] local.INFO: IMEI packet received {"connection_id":154295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":154295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:40:05] local.INFO: TCP Data received {"connection_id":154295,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:40:05] local.INFO: Processing buffer {"connection_id":154295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeacfc8012d342a4006abc2800018010225..."} 
[2026-08-10 14:40:05] local.INFO: Packet analysis {"connection_id":154295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:40:05] local.INFO: Extracted packet for processing {"connection_id":154295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaea"} 
[2026-08-10 14:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306210304001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786352685000,"timestamp_ms":1786352685000,"timestamp_seconds":1786352685,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeacfc8"} 
[2026-08-10 14:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:40: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-08-10 14:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 14:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306210304001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 14:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306210304001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:40:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 14:40:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306210304001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":154295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:40:05] local.INFO: GPS data processed {"connection_id":154295,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:40:05] local.INFO: Acknowledgment sent {"connection_id":154295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:40:23] local.INFO: TCP Data received {"connection_id":154294,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaeec380012d17c2400720ff780037008d27..."} 
[2026-08-10 14:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaeec380012d17c2400720ff780037008d27..."} 
[2026-08-10 14:40:23] local.INFO: Processing buffer {"connection_id":154294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaeec380012d17c2400720ff780037008d27..."} 
[2026-08-10 14:40:23] local.INFO: Packet analysis {"connection_id":154294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaee"} 
[2026-08-10 14:40:23] local.INFO: Extracted packet for processing {"connection_id":154294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaee"} 
[2026-08-10 14:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756531776,"raw_latitude":119603064,"longitude_deg":75.6531776,"latitude_deg":11.9603064,"altitude":55,"angle":141,"satellites":39,"speed":13,"hex_longitude":"2d17c240","hex_latitude":"0720ff78","is_valid_coordinates":true} 
[2026-08-10 14:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306352896001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11413029480562688,"note":"Value kept but may cause issues"} 
[2026-08-10 14:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711367889019369472,"note":"Value kept but may cause issues"} 
[2026-08-10 14:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786352944000,"timestamp_ms":1786352944000,"timestamp_seconds":1786352944,"priority":1,"record_length":96,"hex_timestamp":"0000019feaeec380"} 
[2026-08-10 14:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 14:40: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-08-10 14:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306352896001,"66":14102,"107":206,"83":41984,"24":13,"16":11413029480562688,"45":1711367889019369472},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 14:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306352896001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:40:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 14:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11413029480562688,"km_value":11413029480562.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711367889019369472,"description":"Unknown IO ID 45"} 
[2026-08-10 14:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306352896001,"power":14102,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1711367889019369472}} 
[2026-08-10 14:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":154294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:40:23] local.INFO: GPS data processed {"connection_id":154294,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:40:23] local.INFO: Acknowledgment sent {"connection_id":154294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:40:37] local.INFO: TCP Data received {"connection_id":154295,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:40:37] local.INFO: Processing buffer {"connection_id":154295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:40:37] local.INFO: Packet analysis {"connection_id":154295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:40:37] local.INFO: Extracted packet for processing {"connection_id":154295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306287360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786352986000,"timestamp_ms":1786352986000,"timestamp_seconds":1786352986,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef6790"} 
[2026-08-10 14:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:40: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-08-10 14: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-08-10 14:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306287360001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306287360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:40:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306287360001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":154295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:40:37] local.INFO: GPS data processed {"connection_id":154295,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:40:37] local.INFO: Acknowledgment sent {"connection_id":154295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:40:38] local.INFO: TCP Data received {"connection_id":151921,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:40:38] local.INFO: Processing buffer {"connection_id":151921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:40:38] local.INFO: IMEI packet received {"connection_id":151921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":151921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:40:39] local.INFO: TCP Data received {"connection_id":151921,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:40:39] local.INFO: Processing buffer {"connection_id":151921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:40:39] local.INFO: IMEI packet received {"connection_id":151921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":151921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:40:40] local.INFO: TCP Data received {"connection_id":151921,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:40:40] local.INFO: Processing buffer {"connection_id":151921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:40:40] local.INFO: IMEI packet received {"connection_id":151921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":151921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:40:42] local.INFO: TCP Data received {"connection_id":151921,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:40:42] local.INFO: Processing buffer {"connection_id":151921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:40:42] local.INFO: IMEI packet received {"connection_id":151921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":151921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:41:04] local.INFO: TCP Data received {"connection_id":151522,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:41:04] local.INFO: Processing buffer {"connection_id":151522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:41:04] local.INFO: IMEI packet received {"connection_id":151522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":151522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:41:09] local.INFO: TCP Data received {"connection_id":151522,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:41:09] local.INFO: Processing buffer {"connection_id":151522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:41:09] local.INFO: IMEI packet received {"connection_id":151522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":151522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:41:17] local.INFO: TCP Data received {"connection_id":151522,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:41:17] local.INFO: Processing buffer {"connection_id":151522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:41:17] local.INFO: Packet analysis {"connection_id":151522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:41:17] local.INFO: Extracted packet for processing {"connection_id":151522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306287360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786352986000,"timestamp_ms":1786352986000,"timestamp_seconds":1786352986,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef6790"} 
[2026-08-10 14:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306287360001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306287360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:41:17] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306287360001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":151522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:41:17] local.INFO: GPS data processed {"connection_id":151522,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:41:17] local.INFO: Acknowledgment sent {"connection_id":151522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:41:18] local.INFO: TCP Data received {"connection_id":151522,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:41:18] local.INFO: Processing buffer {"connection_id":151522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:41:18] local.INFO: Packet analysis {"connection_id":151522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:41:18] local.INFO: Extracted packet for processing {"connection_id":151522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:41:18] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306287360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786352986000,"timestamp_ms":1786352986000,"timestamp_seconds":1786352986,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef6790"} 
[2026-08-10 14:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306287360001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306287360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:41:18] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:41:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306287360001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":151522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:41:18] local.INFO: GPS data processed {"connection_id":151522,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:41:18] local.INFO: Acknowledgment sent {"connection_id":151522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:41:57] local.INFO: TCP Data received {"connection_id":151922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151922,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:41:57] local.INFO: Processing buffer {"connection_id":151922,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:41:57] local.INFO: IMEI packet received {"connection_id":151922,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":151922,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:41:59] local.INFO: TCP Data received {"connection_id":151523,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:41:59] local.INFO: Processing buffer {"connection_id":151523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:41:59] local.INFO: IMEI packet received {"connection_id":151523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":151523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:42:02] local.INFO: TCP Data received {"connection_id":151922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151922,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:42:02] local.INFO: Processing buffer {"connection_id":151922,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:42:02] local.INFO: IMEI packet received {"connection_id":151922,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":151922,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:42:03] local.INFO: TCP Data received {"connection_id":151922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef4080012d05bf4007025720001000e316..."} 
[2026-08-10 14:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef4080012d05bf4007025720001000e316..."} 
[2026-08-10 14:42:03] local.INFO: Processing buffer {"connection_id":151922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef4080012d05bf4007025720001000e316..."} 
[2026-08-10 14:42:03] local.INFO: Packet analysis {"connection_id":151922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:42:03] local.INFO: Extracted packet for processing {"connection_id":151922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:42:03] local.INFO: GPS Element Parsed {"raw_longitude":755351360,"raw_latitude":117593888,"longitude_deg":75.535136,"latitude_deg":11.7593888,"altitude":16,"angle":227,"satellites":22,"speed":10,"hex_longitude":"2d05bf40","hex_latitude":"07025720","is_valid_coordinates":true} 
[2026-08-10 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306360832001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27384080119103488,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414542302054866944,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786352976000,"timestamp_ms":1786352976000,"timestamp_seconds":1786352976,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef4080"} 
[2026-08-10 14:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 14:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306360832001,"66":14439,"60":206,"94":11008,"24":10,"16":27384080119103488,"45":414542302054866944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-10 14:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306360832001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:42:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-10 14:42:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27384080119103488,"km_value":27384080119103.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":414542302054866944,"description":"Unknown IO ID 45"} 
[2026-08-10 14:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306360832001,"power":14439,"unknown_60":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":414542302054866944}} 
[2026-08-10 14:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":151922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620104,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:42:03] local.INFO: GPS data processed {"connection_id":151922,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:42:03] local.INFO: Acknowledgment sent {"connection_id":151922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:42:04] local.INFO: TCP Data received {"connection_id":151523,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:42:04] local.INFO: Processing buffer {"connection_id":151523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:42:04] local.INFO: IMEI packet received {"connection_id":151523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":151523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:42:05] local.INFO: TCP Data received {"connection_id":151523,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:42:05] local.INFO: Processing buffer {"connection_id":151523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:42:05] local.INFO: Packet analysis {"connection_id":151523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:42:05] local.INFO: Extracted packet for processing {"connection_id":151523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306287360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786352986000,"timestamp_ms":1786352986000,"timestamp_seconds":1786352986,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef6790"} 
[2026-08-10 14:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306287360001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306287360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:42:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306287360001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":151523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:42:05] local.INFO: GPS data processed {"connection_id":151523,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:42:05] local.INFO: Acknowledgment sent {"connection_id":151523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:42:34] local.INFO: TCP Data received {"connection_id":151922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef5020012d05bcc0070254a0001200ba16..."} 
[2026-08-10 14:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef5020012d05bcc0070254a0001200ba16..."} 
[2026-08-10 14:42:34] local.INFO: Processing buffer {"connection_id":151922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef5020012d05bcc0070254a0001200ba16..."} 
[2026-08-10 14:42:34] local.INFO: Packet analysis {"connection_id":151922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:42:34] local.INFO: Extracted packet for processing {"connection_id":151922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:42:34] local.INFO: GPS Element Parsed {"raw_longitude":755350720,"raw_latitude":117593248,"longitude_deg":75.535072,"latitude_deg":11.7593248,"altitude":18,"angle":186,"satellites":22,"speed":9,"hex_longitude":"2d05bcc0","hex_latitude":"070254a0","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306361856001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27384123068776448,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414120089589587968,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786352980000,"timestamp_ms":1786352980000,"timestamp_seconds":1786352980,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef5020"} 
[2026-08-10 14:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:42: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-08-10 14: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 14:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306361856001,"66":14515,"60":206,"94":11008,"24":9,"16":27384123068776448,"45":414120089589587968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-10 14:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306361856001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:42:34] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-10 14:42:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27384123068776448,"km_value":27384123068776.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":414120089589587968,"description":"Unknown IO ID 45"} 
[2026-08-10 14:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306361856001,"power":14515,"unknown_60":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":414120089589587968}} 
[2026-08-10 14:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":151922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620106,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:42:34] local.INFO: GPS data processed {"connection_id":151922,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:42:34] local.INFO: Acknowledgment sent {"connection_id":151922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:42:37] local.INFO: TCP Data received {"connection_id":151523,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:42:37] local.INFO: Processing buffer {"connection_id":151523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:42:37] local.INFO: Packet analysis {"connection_id":151523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:42:37] local.INFO: Extracted packet for processing {"connection_id":151523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306287360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786352986000,"timestamp_ms":1786352986000,"timestamp_seconds":1786352986,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef6790"} 
[2026-08-10 14:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:42: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-08-10 14:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306287360001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306287360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:42:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306287360001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":151523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:42:37] local.INFO: GPS data processed {"connection_id":151523,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:42:37] local.INFO: Acknowledgment sent {"connection_id":151523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:42:52] local.INFO: TCP Data received {"connection_id":151923,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151923,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:42:52] local.INFO: Processing buffer {"connection_id":151923,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:42:52] local.INFO: IMEI packet received {"connection_id":151923,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":151923,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:42:57] local.INFO: TCP Data received {"connection_id":151923,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151923,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:42:57] local.INFO: Processing buffer {"connection_id":151923,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:42:57] local.INFO: IMEI packet received {"connection_id":151923,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":151923,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:42:58] local.INFO: TCP Data received {"connection_id":151923,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef5408012d05bd0007025390001200a916..."} 
[2026-08-10 14:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef5408012d05bd0007025390001200a916..."} 
[2026-08-10 14:42:58] local.INFO: Processing buffer {"connection_id":151923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef5408012d05bd0007025390001200a916..."} 
[2026-08-10 14:42:58] local.INFO: Packet analysis {"connection_id":151923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:42:58] local.INFO: Extracted packet for processing {"connection_id":151923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:42:58] local.INFO: GPS Element Parsed {"raw_longitude":755350784,"raw_latitude":117592976,"longitude_deg":75.5350784,"latitude_deg":11.7592976,"altitude":18,"angle":169,"satellites":22,"speed":11,"hex_longitude":"2d05bd00","hex_latitude":"07025390","is_valid_coordinates":true} 
[2026-08-10 14:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306362880001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27384140248645632,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413416402147647488,"note":"Value kept but may cause issues"} 
[2026-08-10 14:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786352981000,"timestamp_ms":1786352981000,"timestamp_seconds":1786352981,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef5408"} 
[2026-08-10 14:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 14:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306362880001,"66":14515,"60":206,"94":11008,"24":11,"16":27384140248645632,"45":413416402147647488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-10 14:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306362880001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:42:58] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-10 14:42:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27384140248645632,"km_value":27384140248645.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":413416402147647488,"description":"Unknown IO ID 45"} 
[2026-08-10 14:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306362880001,"power":14515,"unknown_60":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":413416402147647488}} 
[2026-08-10 14:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":151923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620108,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:42:58] local.INFO: GPS data processed {"connection_id":151923,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:42:58] local.INFO: Acknowledgment sent {"connection_id":151923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:42:58] local.INFO: TCP Data received {"connection_id":151525,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:42:58] local.INFO: Processing buffer {"connection_id":151525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:42:58] local.INFO: IMEI packet received {"connection_id":151525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":151525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:43:07] local.INFO: TCP Data received {"connection_id":151525,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:43:07] local.INFO: Processing buffer {"connection_id":151525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:43:07] local.INFO: IMEI packet received {"connection_id":151525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":151525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:43:09] local.INFO: TCP Data received {"connection_id":151525,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:43:09] local.INFO: Processing buffer {"connection_id":151525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:43:09] local.INFO: Packet analysis {"connection_id":151525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:43:09] local.INFO: Extracted packet for processing {"connection_id":151525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306287360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786352986000,"timestamp_ms":1786352986000,"timestamp_seconds":1786352986,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef6790"} 
[2026-08-10 14:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:43: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-08-10 14:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306287360001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306287360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:43:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306287360001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":151525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:43:09] local.INFO: GPS data processed {"connection_id":151525,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:43:09] local.INFO: Acknowledgment sent {"connection_id":151525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:43:29] local.INFO: TCP Data received {"connection_id":151923,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef57f0012d05bd40070252700012009c15..."} 
[2026-08-10 14:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef57f0012d05bd40070252700012009c15..."} 
[2026-08-10 14:43:29] local.INFO: Processing buffer {"connection_id":151923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef57f0012d05bd40070252700012009c15..."} 
[2026-08-10 14:43:29] local.INFO: Packet analysis {"connection_id":151923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:43:29] local.INFO: Extracted packet for processing {"connection_id":151923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:43:29] local.INFO: GPS Element Parsed {"raw_longitude":755350848,"raw_latitude":117592688,"longitude_deg":75.5350848,"latitude_deg":11.7592688,"altitude":18,"angle":156,"satellites":21,"speed":10,"hex_longitude":"2d05bd40","hex_latitude":"07025270","is_valid_coordinates":true} 
[2026-08-10 14:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306363136001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27384153133547520,"note":"Value kept but may cause issues"} 
[2026-08-10 14:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413486770891755520,"note":"Value kept but may cause issues"} 
[2026-08-10 14:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786352982000,"timestamp_ms":1786352982000,"timestamp_seconds":1786352982,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef57f0"} 
[2026-08-10 14:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 14:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306363136001,"66":14298,"60":206,"94":11008,"24":10,"16":27384153133547520,"45":413486770891755520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-10 14:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306363136001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:43:29] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-10 14:43:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27384153133547520,"km_value":27384153133547.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":413486770891755520,"description":"Unknown IO ID 45"} 
[2026-08-10 14:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306363136001,"power":14298,"unknown_60":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":413486770891755520}} 
[2026-08-10 14:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":151923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620110,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:43:29] local.INFO: GPS data processed {"connection_id":151923,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:43:29] local.INFO: Acknowledgment sent {"connection_id":151923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:43:40] local.INFO: TCP Data received {"connection_id":151525,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:43:40] local.INFO: Processing buffer {"connection_id":151525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:43:40] local.INFO: Packet analysis {"connection_id":151525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:43:40] local.INFO: Extracted packet for processing {"connection_id":151525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306287360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786352986000,"timestamp_ms":1786352986000,"timestamp_seconds":1786352986,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef6790"} 
[2026-08-10 14:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:43: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-08-10 14:43: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":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306287360001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306287360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:43:40] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306287360001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":151525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:43:40] local.INFO: GPS data processed {"connection_id":151525,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:43:40] local.INFO: Acknowledgment sent {"connection_id":151525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:43:52] local.INFO: TCP Data received {"connection_id":154299,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:43:52] local.INFO: Processing buffer {"connection_id":154299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:43:52] local.INFO: IMEI packet received {"connection_id":154299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":154299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:43:57] local.INFO: TCP Data received {"connection_id":154299,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:43:57] local.INFO: Processing buffer {"connection_id":154299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:43:57] local.INFO: IMEI packet received {"connection_id":154299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":154299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:43:58] local.INFO: TCP Data received {"connection_id":154299,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef5bd8012d05bdc0070251980012008e16..."} 
[2026-08-10 14:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef5bd8012d05bdc0070251980012008e16..."} 
[2026-08-10 14:43:58] local.INFO: Processing buffer {"connection_id":154299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef5bd8012d05bdc0070251980012008e16..."} 
[2026-08-10 14:43:58] local.INFO: Packet analysis {"connection_id":154299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:43:58] local.INFO: Extracted packet for processing {"connection_id":154299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:43:58] local.INFO: GPS Element Parsed {"raw_longitude":755350976,"raw_latitude":117592472,"longitude_deg":75.5350976,"latitude_deg":11.7592472,"altitude":18,"angle":142,"satellites":22,"speed":7,"hex_longitude":"2d05bdc0","hex_latitude":"07025198","is_valid_coordinates":true} 
[2026-08-10 14:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306363392001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27384166018449408,"note":"Value kept but may cause issues"} 
[2026-08-10 14:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413557139635859456,"note":"Value kept but may cause issues"} 
[2026-08-10 14:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786352983000,"timestamp_ms":1786352983000,"timestamp_seconds":1786352983,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef5bd8"} 
[2026-08-10 14:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 14:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306363392001,"66":14298,"60":206,"94":11008,"24":7,"16":27384166018449408,"45":413557139635859456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-10 14:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306363392001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:43:58] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-10 14:43:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27384166018449408,"km_value":27384166018449.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":413557139635859456,"description":"Unknown IO ID 45"} 
[2026-08-10 14:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306363392001,"power":14298,"unknown_60":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":413557139635859456}} 
[2026-08-10 14:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":154299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620112,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:43:58] local.INFO: GPS data processed {"connection_id":154299,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:43:58] local.INFO: Acknowledgment sent {"connection_id":154299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:43:58] local.INFO: TCP Data received {"connection_id":154300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:43:58] local.INFO: Processing buffer {"connection_id":154300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:43:58] local.INFO: IMEI packet received {"connection_id":154300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":154300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:44:04] local.INFO: TCP Data received {"connection_id":154300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:44:04] local.INFO: Processing buffer {"connection_id":154300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:44:04] local.INFO: IMEI packet received {"connection_id":154300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":154300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:44:05] local.INFO: TCP Data received {"connection_id":154300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:44:05] local.INFO: Processing buffer {"connection_id":154300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:44:05] local.INFO: Packet analysis {"connection_id":154300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:44:05] local.INFO: Extracted packet for processing {"connection_id":154300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306287360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786352986000,"timestamp_ms":1786352986000,"timestamp_seconds":1786352986,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef6790"} 
[2026-08-10 14:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:44: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-08-10 14:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306287360001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306287360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:44:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:44:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306287360001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":154300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:44:05] local.INFO: GPS data processed {"connection_id":154300,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:44:05] local.INFO: Acknowledgment sent {"connection_id":154300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:44:29] local.INFO: TCP Data received {"connection_id":154299,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef5fc0012d05be00070251100012007216..."} 
[2026-08-10 14:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef5fc0012d05be00070251100012007216..."} 
[2026-08-10 14:44:29] local.INFO: Processing buffer {"connection_id":154299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef5fc0012d05be00070251100012007216..."} 
[2026-08-10 14:44:29] local.INFO: Packet analysis {"connection_id":154299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:44:29] local.INFO: Extracted packet for processing {"connection_id":154299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:44:29] local.INFO: GPS Element Parsed {"raw_longitude":755351040,"raw_latitude":117592336,"longitude_deg":75.535104,"latitude_deg":11.7592336,"altitude":18,"angle":114,"satellites":22,"speed":6,"hex_longitude":"2d05be00","hex_latitude":"07025110","is_valid_coordinates":true} 
[2026-08-10 14:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306363648001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27384170313416704,"note":"Value kept but may cause issues"} 
[2026-08-10 14:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413697877124159488,"note":"Value kept but may cause issues"} 
[2026-08-10 14:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786352984000,"timestamp_ms":1786352984000,"timestamp_seconds":1786352984,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef5fc0"} 
[2026-08-10 14:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 14:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":154299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":154299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":154299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306363648001,"66":14439,"60":206,"94":11008,"24":6,"16":27384170313416704,"45":413697877124159488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-10 14:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306363648001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:44:29] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-10 14:44:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27384170313416704,"km_value":27384170313416.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":413697877124159488,"description":"Unknown IO ID 45"} 
[2026-08-10 14:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306363648001,"power":14439,"unknown_60":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":413697877124159488}} 
[2026-08-10 14:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":154299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620114,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:44:29] local.INFO: GPS data processed {"connection_id":154299,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:44:29] local.INFO: Acknowledgment sent {"connection_id":154299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:44:37] local.INFO: TCP Data received {"connection_id":154300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:44:37] local.INFO: Processing buffer {"connection_id":154300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:44:37] local.INFO: Packet analysis {"connection_id":154300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:44:37] local.INFO: Extracted packet for processing {"connection_id":154300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306287360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786352986000,"timestamp_ms":1786352986000,"timestamp_seconds":1786352986,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef6790"} 
[2026-08-10 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-08-10 14:44: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-08-10 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:44: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-08-10 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-08-10 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-08-10 14:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306287360001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306287360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:44:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306287360001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":154300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:44:37] local.INFO: GPS data processed {"connection_id":154300,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:44:37] local.INFO: Acknowledgment sent {"connection_id":154300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:44:52] local.INFO: TCP Data received {"connection_id":151924,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151924,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:44:52] local.INFO: Processing buffer {"connection_id":151924,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:44:52] local.INFO: IMEI packet received {"connection_id":151924,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":151924,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:44:57] local.INFO: TCP Data received {"connection_id":151924,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151924,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:44:57] local.INFO: Processing buffer {"connection_id":151924,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:44:57] local.INFO: IMEI packet received {"connection_id":151924,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":151924,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:44:57] local.INFO: TCP Data received {"connection_id":151924,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef63a8012d05be80070250d80011006316..."} 
[2026-08-10 14:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef63a8012d05be80070250d80011006316..."} 
[2026-08-10 14:44:57] local.INFO: Processing buffer {"connection_id":151924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef63a8012d05be80070250d80011006316..."} 
[2026-08-10 14:44:57] local.INFO: Packet analysis {"connection_id":151924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:44:57] local.INFO: Extracted packet for processing {"connection_id":151924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:44:57] local.INFO: GPS Element Parsed {"raw_longitude":755351168,"raw_latitude":117592280,"longitude_deg":75.5351168,"latitude_deg":11.759228,"altitude":17,"angle":99,"satellites":22,"speed":5,"hex_longitude":"2d05be80","hex_latitude":"070250d8","is_valid_coordinates":true} 
[2026-08-10 14:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306363904001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27384178903351296,"note":"Value kept but may cause issues"} 
[2026-08-10 14:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413768245868302336,"note":"Value kept but may cause issues"} 
[2026-08-10 14:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786352985000,"timestamp_ms":1786352985000,"timestamp_seconds":1786352985,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef63a8"} 
[2026-08-10 14:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 14:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306363904001,"66":14439,"60":206,"94":11008,"24":5,"16":27384178903351296,"45":413768245868302336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-10 14:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306363904001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:44:57] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-10 14:44:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27384178903351296,"km_value":27384178903351.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":413768245868302336,"description":"Unknown IO ID 45"} 
[2026-08-10 14:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306363904001,"power":14439,"unknown_60":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":413768245868302336}} 
[2026-08-10 14:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":151924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620116,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:44:58] local.INFO: GPS data processed {"connection_id":151924,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:44:58] local.INFO: Acknowledgment sent {"connection_id":151924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:45:03] local.INFO: TCP Data received {"connection_id":152848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:45:03] local.INFO: Processing buffer {"connection_id":152848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:45:03] local.INFO: IMEI packet received {"connection_id":152848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":152848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:45:08] local.INFO: TCP Data received {"connection_id":152848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:45:08] local.INFO: Processing buffer {"connection_id":152848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:45:08] local.INFO: IMEI packet received {"connection_id":152848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":152848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:45:09] local.INFO: TCP Data received {"connection_id":152848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:45:09] local.INFO: Processing buffer {"connection_id":152848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:45:09] local.INFO: Packet analysis {"connection_id":152848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:45:09] local.INFO: Extracted packet for processing {"connection_id":152848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306287360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786352986000,"timestamp_ms":1786352986000,"timestamp_seconds":1786352986,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef6790"} 
[2026-08-10 14:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:45: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-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306287360001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306287360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:45:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306287360001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":152848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:45:09] local.INFO: GPS data processed {"connection_id":152848,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:45:09] local.INFO: Acknowledgment sent {"connection_id":152848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:45:14] local.INFO: TCP Data received {"connection_id":152848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:45:14] local.INFO: Processing buffer {"connection_id":152848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaef6790012d342a4006abc2800018010226..."} 
[2026-08-10 14:45:14] local.INFO: Packet analysis {"connection_id":152848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:45:14] local.INFO: Extracted packet for processing {"connection_id":152848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaef"} 
[2026-08-10 14:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":24,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306287360001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786352986000,"timestamp_ms":1786352986000,"timestamp_seconds":1786352986,"priority":1,"record_length":96,"hex_timestamp":"0000019feaef6790"} 
[2026-08-10 14:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306287360001,"66":25495,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306287360001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:45:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306287360001,"power":25495,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":152848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:45:14] local.INFO: GPS data processed {"connection_id":152848,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:45:14] local.INFO: Acknowledgment sent {"connection_id":152848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:45:35] local.INFO: TCP Data received {"connection_id":151924,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf468d0012d05c340070254900013014a24..."} 
[2026-08-10 14:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf468d0012d05c340070254900013014a24..."} 
[2026-08-10 14:45:35] local.INFO: Processing buffer {"connection_id":151924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf468d0012d05c340070254900013014a24..."} 
[2026-08-10 14:45:35] local.INFO: Packet analysis {"connection_id":151924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf4"} 
[2026-08-10 14:45:35] local.INFO: Extracted packet for processing {"connection_id":151924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf4"} 
[2026-08-10 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":755352384,"raw_latitude":117593232,"longitude_deg":75.5352384,"latitude_deg":11.7593232,"altitude":19,"angle":330,"satellites":36,"speed":3,"hex_longitude":"2d05c340","hex_latitude":"07025490","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306447616001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27384281982566400,"note":"Value kept but may cause issues"} 
[2026-08-10 14:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415457095728734208,"note":"Value kept but may cause issues"} 
[2026-08-10 14:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786353314000,"timestamp_ms":1786353314000,"timestamp_seconds":1786353314,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf468d0"} 
[2026-08-10 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-08-10 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-08-10 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 14:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306447616001,"66":14396,"206":206,"94":10240,"24":3,"16":27384281982566400,"45":415457095728734208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-08-10 14:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306447616001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:45:35] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 14:45:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 14:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27384281982566400,"km_value":27384281982566.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":415457095728734208,"description":"Unknown IO ID 45"} 
[2026-08-10 14:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306447616001,"power":14396,"unknown_206":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":415457095728734208}} 
[2026-08-10 14:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":151924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620119,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:45:35] local.INFO: GPS data processed {"connection_id":151924,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:45:35] local.INFO: Acknowledgment sent {"connection_id":151924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:45:47] local.INFO: TCP Data received {"connection_id":154301,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:45:47] local.INFO: Processing buffer {"connection_id":154301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:45:47] local.INFO: IMEI packet received {"connection_id":154301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":154301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:45:48] local.INFO: TCP Data received {"connection_id":154301,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf1a9b0012d1823800721b798004a00af2a..."} 
[2026-08-10 14:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf1a9b0012d1823800721b798004a00af2a..."} 
[2026-08-10 14:45:48] local.INFO: Processing buffer {"connection_id":154301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf1a9b0012d1823800721b798004a00af2a..."} 
[2026-08-10 14:45:48] local.INFO: Packet analysis {"connection_id":154301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf1"} 
[2026-08-10 14:45:48] local.INFO: Extracted packet for processing {"connection_id":154301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf1"} 
[2026-08-10 14:45:48] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650200,"longitude_deg":75.6556672,"latitude_deg":11.96502,"altitude":74,"angle":175,"satellites":42,"speed":6,"hex_longitude":"2d182380","hex_latitude":"0721b798","is_valid_coordinates":true} 
[2026-08-10 14:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306402048001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11416727447404544,"note":"Value kept but may cause issues"} 
[2026-08-10 14:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-10 14:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786353134000,"timestamp_ms":1786353134000,"timestamp_seconds":1786353134,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf1a9b0"} 
[2026-08-10 14:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 14:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306402048001,"66":13243,"105":206,"83":41984,"24":6,"16":11416727447404544,"45":1739374649213988864},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306402048001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:45:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:45:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11416727447404544,"km_value":11416727447404.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-10 14:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306402048001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-10 14:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":154301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:45:48] local.INFO: GPS data processed {"connection_id":154301,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:45:48] local.INFO: Acknowledgment sent {"connection_id":154301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:45:52] local.INFO: TCP Data received {"connection_id":152849,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:45:52] local.INFO: Processing buffer {"connection_id":152849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:45:52] local.INFO: IMEI packet received {"connection_id":152849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":152849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:45:52] local.INFO: TCP Data received {"connection_id":152849,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:45:52] local.INFO: Processing buffer {"connection_id":152849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:45:52] local.INFO: IMEI packet received {"connection_id":152849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":152849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:45:54] local.INFO: TCP Data received {"connection_id":152849,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:45:54] local.INFO: Processing buffer {"connection_id":152849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:45:54] local.INFO: IMEI packet received {"connection_id":152849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":152849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:45:55] local.INFO: TCP Data received {"connection_id":152849,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:45:55] local.INFO: Processing buffer {"connection_id":152849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:45:55] local.INFO: IMEI packet received {"connection_id":152849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":152849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:45:59] local.INFO: TCP Data received {"connection_id":151526,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:45:59] local.INFO: Processing buffer {"connection_id":151526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:45:59] local.INFO: IMEI packet received {"connection_id":151526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":151526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:46:04] local.INFO: TCP Data received {"connection_id":151526,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:46:04] local.INFO: Processing buffer {"connection_id":151526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:46:04] local.INFO: IMEI packet received {"connection_id":151526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":151526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:46:05] local.INFO: TCP Data received {"connection_id":151526,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:46:05] local.INFO: Processing buffer {"connection_id":151526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:46:05] local.INFO: Packet analysis {"connection_id":151526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:46:05] local.INFO: Extracted packet for processing {"connection_id":151526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306364416001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353287000,"timestamp_ms":1786353287000,"timestamp_seconds":1786353287,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf3ff58"} 
[2026-08-10 14:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:46: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-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:46: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-08-10 14:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306364416001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306364416001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:46:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:46:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306364416001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":151526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:46:05] local.INFO: GPS data processed {"connection_id":151526,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:46:05] local.INFO: Acknowledgment sent {"connection_id":151526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:46:19] local.INFO: TCP Data received {"connection_id":154301,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf1ad98012d1823800721b708004b00a029..."} 
[2026-08-10 14:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf1ad98012d1823800721b708004b00a029..."} 
[2026-08-10 14:46:19] local.INFO: Processing buffer {"connection_id":154301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf1ad98012d1823800721b708004b00a029..."} 
[2026-08-10 14:46:19] local.INFO: Packet analysis {"connection_id":154301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf1"} 
[2026-08-10 14:46:19] local.INFO: Extracted packet for processing {"connection_id":154301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf1"} 
[2026-08-10 14:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650056,"longitude_deg":75.6556672,"latitude_deg":11.9650056,"altitude":75,"angle":160,"satellites":41,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b708","is_valid_coordinates":true} 
[2026-08-10 14:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306402304001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11416736037339136,"note":"Value kept but may cause issues"} 
[2026-08-10 14:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213949952,"note":"Value kept but may cause issues"} 
[2026-08-10 14:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786353135000,"timestamp_ms":1786353135000,"timestamp_seconds":1786353135,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf1ad98"} 
[2026-08-10 14:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 14:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306402304001,"66":13243,"105":206,"83":41984,"24":5,"16":11416736037339136,"45":1739374649213949952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306402304001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:46:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11416736037339136,"km_value":11416736037339.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213949952,"description":"Unknown IO ID 45"} 
[2026-08-10 14:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306402304001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739374649213949952}} 
[2026-08-10 14:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":154301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:46:19] local.INFO: GPS data processed {"connection_id":154301,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:46:19] local.INFO: Acknowledgment sent {"connection_id":154301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:46:37] local.INFO: TCP Data received {"connection_id":151526,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:46:37] local.INFO: Processing buffer {"connection_id":151526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:46:37] local.INFO: Packet analysis {"connection_id":151526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:46:37] local.INFO: Extracted packet for processing {"connection_id":151526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306364416001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786353287000,"timestamp_ms":1786353287000,"timestamp_seconds":1786353287,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf3ff58"} 
[2026-08-10 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-08-10 14:46: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-08-10 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:46: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-08-10 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-08-10 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-08-10 14:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306364416001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306364416001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:46:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306364416001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":151526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:46:37] local.INFO: GPS data processed {"connection_id":151526,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:46:37] local.INFO: Acknowledgment sent {"connection_id":151526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:46:42] local.INFO: TCP Data received {"connection_id":151925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:46:42] local.INFO: Processing buffer {"connection_id":151925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:46:42] local.INFO: IMEI packet received {"connection_id":151925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":151925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:46:42] local.INFO: TCP Data received {"connection_id":151925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:46:42] local.INFO: Processing buffer {"connection_id":151925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:46:42] local.INFO: IMEI packet received {"connection_id":151925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":151925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:46:47] local.INFO: TCP Data received {"connection_id":151925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:46:47] local.INFO: Processing buffer {"connection_id":151925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:46:47] local.INFO: IMEI packet received {"connection_id":151925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":151925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:46:48] local.INFO: TCP Data received {"connection_id":151925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf48810012d181e000721ad48004900db2a..."} 
[2026-08-10 14:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf48810012d181e000721ad48004900db2a..."} 
[2026-08-10 14:46:48] local.INFO: Processing buffer {"connection_id":151925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf48810012d181e000721ad48004900db2a..."} 
[2026-08-10 14:46:48] local.INFO: Packet analysis {"connection_id":151925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf4"} 
[2026-08-10 14:46:48] local.INFO: Extracted packet for processing {"connection_id":151925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf4"} 
[2026-08-10 14:46:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647560,"longitude_deg":75.6555264,"latitude_deg":11.964756,"altitude":73,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-10 14:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306445056001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11416890656161792,"note":"Value kept but may cause issues"} 
[2026-08-10 14:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585635328,"note":"Value kept but may cause issues"} 
[2026-08-10 14:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786353322000,"timestamp_ms":1786353322000,"timestamp_seconds":1786353322,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf48810"} 
[2026-08-10 14:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-10 14:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306445056001,"66":12950,"105":206,"83":41984,"24":0,"16":11416890656161792,"45":1737896905585635328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306445056001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:46:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:46:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11416890656161792,"km_value":11416890656161.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585635328,"description":"Unknown IO ID 45"} 
[2026-08-10 14:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306445056001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585635328}} 
[2026-08-10 14:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":151925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:46:48] local.INFO: GPS data processed {"connection_id":151925,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:46:48] local.INFO: Acknowledgment sent {"connection_id":151925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:47:04] local.INFO: TCP Data received {"connection_id":151926,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:47:04] local.INFO: Processing buffer {"connection_id":151926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:47:04] local.INFO: IMEI packet received {"connection_id":151926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":151926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:47:09] local.INFO: TCP Data received {"connection_id":151926,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:47:09] local.INFO: Processing buffer {"connection_id":151926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:47:09] local.INFO: IMEI packet received {"connection_id":151926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":151926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:47:10] local.INFO: TCP Data received {"connection_id":151926,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:47:10] local.INFO: Processing buffer {"connection_id":151926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:47:10] local.INFO: Packet analysis {"connection_id":151926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:47:10] local.INFO: Extracted packet for processing {"connection_id":151926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306364416001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786353287000,"timestamp_ms":1786353287000,"timestamp_seconds":1786353287,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf3ff58"} 
[2026-08-10 14:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:47: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-08-10 14:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306364416001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306364416001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:47:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306364416001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":151926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:47:10] local.INFO: GPS data processed {"connection_id":151926,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:47:10] local.INFO: Acknowledgment sent {"connection_id":151926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:47:14] local.INFO: TCP Data received {"connection_id":151926,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:47:14] local.INFO: Processing buffer {"connection_id":151926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:47:14] local.INFO: Packet analysis {"connection_id":151926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:47:14] local.INFO: Extracted packet for processing {"connection_id":151926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306364416001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786353287000,"timestamp_ms":1786353287000,"timestamp_seconds":1786353287,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf3ff58"} 
[2026-08-10 14:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306364416001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306364416001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:47:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306364416001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":151926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:47:14] local.INFO: GPS data processed {"connection_id":151926,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:47:14] local.INFO: Acknowledgment sent {"connection_id":151926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:47:19] local.INFO: TCP Data received {"connection_id":151925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf4da18012d181e000721ad48004900db25..."} 
[2026-08-10 14:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf4da18012d181e000721ad48004900db25..."} 
[2026-08-10 14:47:19] local.INFO: Processing buffer {"connection_id":151925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf4da18012d181e000721ad48004900db25..."} 
[2026-08-10 14:47:19] local.INFO: Packet analysis {"connection_id":151925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf4"} 
[2026-08-10 14:47:19] local.INFO: Extracted packet for processing {"connection_id":151925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf4"} 
[2026-08-10 14:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647560,"longitude_deg":75.6555264,"latitude_deg":11.964756,"altitude":73,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-10 14:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306450432001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11416890656161792,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841365504,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786353343000,"timestamp_ms":1786353343000,"timestamp_seconds":1786353343,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf4da18"} 
[2026-08-10 14:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 14:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306450432001,"66":12885,"105":206,"83":41984,"24":0,"16":11416890656161792,"45":1737826536841365504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306450432001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:47:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11416890656161792,"km_value":11416890656161.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841365504,"description":"Unknown IO ID 45"} 
[2026-08-10 14:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306450432001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841365504}} 
[2026-08-10 14:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":151925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:47:19] local.INFO: GPS data processed {"connection_id":151925,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:47:19] local.INFO: Acknowledgment sent {"connection_id":151925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:47:43] local.INFO: TCP Data received {"connection_id":151527,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:47:43] local.INFO: Processing buffer {"connection_id":151527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:47:43] local.INFO: IMEI packet received {"connection_id":151527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":151527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:47:47] local.INFO: TCP Data received {"connection_id":151527,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:47:47] local.INFO: Processing buffer {"connection_id":151527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:47:47] local.INFO: IMEI packet received {"connection_id":151527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":151527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:47:52] local.INFO: TCP Data received {"connection_id":151527,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:47:52] local.INFO: Processing buffer {"connection_id":151527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:47:52] local.INFO: IMEI packet received {"connection_id":151527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":151527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:47:53] local.INFO: TCP Data received {"connection_id":151527,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf52c20012d181e000721ad48004900db26..."} 
[2026-08-10 14:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf52c20012d181e000721ad48004900db26..."} 
[2026-08-10 14:47:53] local.INFO: Processing buffer {"connection_id":151527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf52c20012d181e000721ad48004900db26..."} 
[2026-08-10 14:47:53] local.INFO: Packet analysis {"connection_id":151527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf5"} 
[2026-08-10 14:47:53] local.INFO: Extracted packet for processing {"connection_id":151527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf5"} 
[2026-08-10 14:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647560,"longitude_deg":75.6555264,"latitude_deg":11.964756,"altitude":73,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-10 14:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306455808001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11416890656161792,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841365504,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786353364000,"timestamp_ms":1786353364000,"timestamp_seconds":1786353364,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf52c20"} 
[2026-08-10 14:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 14:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306455808001,"66":12841,"105":206,"83":41984,"24":0,"16":11416890656161792,"45":1737826536841365504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306455808001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:47:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11416890656161792,"km_value":11416890656161.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841365504,"description":"Unknown IO ID 45"} 
[2026-08-10 14:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306455808001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841365504}} 
[2026-08-10 14:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":151527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:47:53] local.INFO: GPS data processed {"connection_id":151527,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:47:53] local.INFO: Acknowledgment sent {"connection_id":151527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:47:57] local.INFO: TCP Data received {"connection_id":151527,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf57e28012d181e000721ad48004900db29..."} 
[2026-08-10 14:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf57e28012d181e000721ad48004900db29..."} 
[2026-08-10 14:47:57] local.INFO: Processing buffer {"connection_id":151527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf57e28012d181e000721ad48004900db29..."} 
[2026-08-10 14:47:57] local.INFO: Packet analysis {"connection_id":151527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf5"} 
[2026-08-10 14:47:57] local.INFO: Extracted packet for processing {"connection_id":151527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf5"} 
[2026-08-10 14:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647560,"longitude_deg":75.6555264,"latitude_deg":11.964756,"altitude":73,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-10 14:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306461184001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11416890656161792,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841365504,"note":"Value kept but may cause issues"} 
[2026-08-10 14:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786353385000,"timestamp_ms":1786353385000,"timestamp_seconds":1786353385,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf57e28"} 
[2026-08-10 14:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 14:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306461184001,"66":13961,"105":206,"83":41984,"24":0,"16":11416890656161792,"45":1737826536841365504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306461184001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:47:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11416890656161792,"km_value":11416890656161.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841365504,"description":"Unknown IO ID 45"} 
[2026-08-10 14:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306461184001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841365504}} 
[2026-08-10 14:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":151527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:47:58] local.INFO: GPS data processed {"connection_id":151527,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:47:58] local.INFO: Acknowledgment sent {"connection_id":151527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:47:59] local.INFO: TCP Data received {"connection_id":151528,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:47:59] local.INFO: Processing buffer {"connection_id":151528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:47:59] local.INFO: IMEI packet received {"connection_id":151528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":151528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:48:04] local.INFO: TCP Data received {"connection_id":151528,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:48:04] local.INFO: Processing buffer {"connection_id":151528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:48:04] local.INFO: IMEI packet received {"connection_id":151528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":151528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:48:05] local.INFO: TCP Data received {"connection_id":151528,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:48:05] local.INFO: Processing buffer {"connection_id":151528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:48:05] local.INFO: Packet analysis {"connection_id":151528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:48:05] local.INFO: Extracted packet for processing {"connection_id":151528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306364416001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353287000,"timestamp_ms":1786353287000,"timestamp_seconds":1786353287,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf3ff58"} 
[2026-08-10 14:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306364416001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306364416001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:48:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306364416001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":151528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:48:05] local.INFO: GPS data processed {"connection_id":151528,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:48:05] local.INFO: Acknowledgment sent {"connection_id":151528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:48:37] local.INFO: TCP Data received {"connection_id":151528,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:48:37] local.INFO: Processing buffer {"connection_id":151528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:48:37] local.INFO: Packet analysis {"connection_id":151528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:48:37] local.INFO: Extracted packet for processing {"connection_id":151528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306364416001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786353287000,"timestamp_ms":1786353287000,"timestamp_seconds":1786353287,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf3ff58"} 
[2026-08-10 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-08-10 14:48: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-08-10 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:48: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-08-10 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-08-10 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-08-10 14:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306364416001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306364416001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:48:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306364416001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":151528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:48:37] local.INFO: GPS data processed {"connection_id":151528,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:48:37] local.INFO: Acknowledgment sent {"connection_id":151528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:48:39] local.INFO: TCP Data received {"connection_id":154303,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:48:39] local.INFO: Processing buffer {"connection_id":154303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:48:39] local.INFO: IMEI packet received {"connection_id":154303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":154303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:48:42] local.INFO: TCP Data received {"connection_id":154303,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:48:42] local.INFO: Processing buffer {"connection_id":154303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:48:42] local.INFO: IMEI packet received {"connection_id":154303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":154303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:48:43] local.INFO: TCP Data received {"connection_id":154303,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:48:43] local.INFO: Processing buffer {"connection_id":154303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:48:43] local.INFO: IMEI packet received {"connection_id":154303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":154303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:48:45] local.INFO: TCP Data received {"connection_id":154303,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:48:45] local.INFO: Processing buffer {"connection_id":154303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:48:45] local.INFO: IMEI packet received {"connection_id":154303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":154303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:48:46] local.INFO: TCP Data received {"connection_id":154303,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf5d030012d181e000721ad48004900db28..."} 
[2026-08-10 14:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf5d030012d181e000721ad48004900db28..."} 
[2026-08-10 14:48:46] local.INFO: Processing buffer {"connection_id":154303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf5d030012d181e000721ad48004900db28..."} 
[2026-08-10 14:48:46] local.INFO: Packet analysis {"connection_id":154303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf5"} 
[2026-08-10 14:48:46] local.INFO: Extracted packet for processing {"connection_id":154303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf5"} 
[2026-08-10 14:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647560,"longitude_deg":75.6555264,"latitude_deg":11.964756,"altitude":73,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-10 14:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306466560001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11416890656161792,"note":"Value kept but may cause issues"} 
[2026-08-10 14:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841365504,"note":"Value kept but may cause issues"} 
[2026-08-10 14:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786353406000,"timestamp_ms":1786353406000,"timestamp_seconds":1786353406,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf5d030"} 
[2026-08-10 14:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-10 14:48: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-08-10 14:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306466560001,"66":13928,"105":206,"83":41984,"24":0,"16":11416890656161792,"45":1737826536841365504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306466560001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:48:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11416890656161792,"km_value":11416890656161.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841365504,"description":"Unknown IO ID 45"} 
[2026-08-10 14:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306466560001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841365504}} 
[2026-08-10 14:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":154303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:48:46] local.INFO: GPS data processed {"connection_id":154303,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:48:46] local.INFO: Acknowledgment sent {"connection_id":154303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:48:47] local.INFO: TCP Data received {"connection_id":154303,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf61298012d181cc00721ac40004600c129..."} 
[2026-08-10 14:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf61298012d181cc00721ac40004600c129..."} 
[2026-08-10 14:48:47] local.INFO: Processing buffer {"connection_id":154303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf61298012d181cc00721ac40004600c129..."} 
[2026-08-10 14:48:47] local.INFO: Packet analysis {"connection_id":154303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf6"} 
[2026-08-10 14:48:47] local.INFO: Extracted packet for processing {"connection_id":154303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf6"} 
[2026-08-10 14:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647296,"longitude_deg":75.6554944,"latitude_deg":11.9647296,"altitude":70,"angle":193,"satellites":41,"speed":4,"hex_longitude":"2d181cc0","hex_latitude":"0721ac40","is_valid_coordinates":true} 
[2026-08-10 14:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306471936001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11416907836030976,"note":"Value kept but may cause issues"} 
[2026-08-10 14:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841365504,"note":"Value kept but may cause issues"} 
[2026-08-10 14:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786353423000,"timestamp_ms":1786353423000,"timestamp_seconds":1786353423,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf61298"} 
[2026-08-10 14:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-10 14:48: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-08-10 14:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306471936001,"66":14243,"105":206,"83":41984,"24":4,"16":11416907836030976,"45":1737826536841365504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 14:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306471936001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:48:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 14:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11416907836030976,"km_value":11416907836030.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841365504,"description":"Unknown IO ID 45"} 
[2026-08-10 14:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306471936001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737826536841365504}} 
[2026-08-10 14:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":154303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:48:47] local.INFO: GPS data processed {"connection_id":154303,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:48:47] local.INFO: Acknowledgment sent {"connection_id":154303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:48:58] local.INFO: TCP Data received {"connection_id":154304,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:48:58] local.INFO: Processing buffer {"connection_id":154304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:48:58] local.INFO: IMEI packet received {"connection_id":154304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":154304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:49:04] local.INFO: TCP Data received {"connection_id":154304,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:49:04] local.INFO: Processing buffer {"connection_id":154304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:49:04] local.INFO: IMEI packet received {"connection_id":154304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":154304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:49:05] local.INFO: TCP Data received {"connection_id":154304,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:49:05] local.INFO: Processing buffer {"connection_id":154304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:49:05] local.INFO: Packet analysis {"connection_id":154304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:49:05] local.INFO: Extracted packet for processing {"connection_id":154304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306364416001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353287000,"timestamp_ms":1786353287000,"timestamp_seconds":1786353287,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf3ff58"} 
[2026-08-10 14:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:49: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-08-10 14:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306364416001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306364416001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:49:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306364416001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":154304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:49:05] local.INFO: GPS data processed {"connection_id":154304,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:49:05] local.INFO: Acknowledgment sent {"connection_id":154304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:49:18] local.INFO: TCP Data received {"connection_id":154303,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf756d0012d18b24007216c20004c008e26..."} 
[2026-08-10 14:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf756d0012d18b24007216c20004c008e26..."} 
[2026-08-10 14:49:18] local.INFO: Processing buffer {"connection_id":154303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf756d0012d18b24007216c20004c008e26..."} 
[2026-08-10 14:49:18] local.INFO: Packet analysis {"connection_id":154303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf7"} 
[2026-08-10 14:49:18] local.INFO: Extracted packet for processing {"connection_id":154303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf7"} 
[2026-08-10 14:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756593216,"raw_latitude":119630880,"longitude_deg":75.6593216,"latitude_deg":11.963088,"altitude":76,"angle":142,"satellites":38,"speed":38,"hex_longitude":"2d18b240","hex_latitude":"07216c20","is_valid_coordinates":true} 
[2026-08-10 14:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306497024001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11418960830398464,"note":"Value kept but may cause issues"} 
[2026-08-10 14:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778147827251251200,"note":"Value kept but may cause issues"} 
[2026-08-10 14:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786353506000,"timestamp_ms":1786353506000,"timestamp_seconds":1786353506,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf756d0"} 
[2026-08-10 14:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-10 14:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306497024001,"66":13559,"106":206,"83":41984,"24":38,"16":11418960830398464,"45":1778147827251251200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 14:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306497024001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:49:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 14:49:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11418960830398464,"km_value":11418960830398.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778147827251251200,"description":"Unknown IO ID 45"} 
[2026-08-10 14:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306497024001,"power":13559,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1778147827251251200}} 
[2026-08-10 14:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":154303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:49:18] local.INFO: GPS data processed {"connection_id":154303,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:49:18] local.INFO: Acknowledgment sent {"connection_id":154303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:49:38] local.INFO: TCP Data received {"connection_id":154304,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:49:38] local.INFO: Processing buffer {"connection_id":154304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:49:38] local.INFO: Packet analysis {"connection_id":154304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:49:38] local.INFO: Extracted packet for processing {"connection_id":154304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306364416001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786353287000,"timestamp_ms":1786353287000,"timestamp_seconds":1786353287,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf3ff58"} 
[2026-08-10 14:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:49: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-08-10 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:49: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-08-10 14:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306364416001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306364416001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:49:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306364416001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":154304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:49:38] local.INFO: GPS data processed {"connection_id":154304,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:49:38] local.INFO: Acknowledgment sent {"connection_id":154304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:49:42] local.INFO: TCP Data received {"connection_id":154305,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:49:42] local.INFO: Processing buffer {"connection_id":154305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:49:42] local.INFO: IMEI packet received {"connection_id":154305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":154305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:49:43] local.INFO: TCP Data received {"connection_id":154305,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:49:43] local.INFO: Processing buffer {"connection_id":154305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:49:43] local.INFO: IMEI packet received {"connection_id":154305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":154305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:49:45] local.INFO: TCP Data received {"connection_id":154305,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:49:45] local.INFO: Processing buffer {"connection_id":154305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:49:45] local.INFO: IMEI packet received {"connection_id":154305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":154305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:49:46] local.INFO: TCP Data received {"connection_id":154305,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf77de0012d18c400072152a80047009e28..."} 
[2026-08-10 14:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf77de0012d18c400072152a80047009e28..."} 
[2026-08-10 14:49:46] local.INFO: Processing buffer {"connection_id":154305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf77de0012d18c400072152a80047009e28..."} 
[2026-08-10 14:49:46] local.INFO: Packet analysis {"connection_id":154305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf7"} 
[2026-08-10 14:49:46] local.INFO: Extracted packet for processing {"connection_id":154305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf7"} 
[2026-08-10 14:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119624360,"longitude_deg":75.659776,"latitude_deg":11.962436,"altitude":71,"angle":158,"satellites":40,"speed":18,"hex_longitude":"2d18c400","hex_latitude":"072152a8","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306497536001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11419343082487808,"note":"Value kept but may cause issues"} 
[2026-08-10 14:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779555202134450176,"note":"Value kept but may cause issues"} 
[2026-08-10 14:49: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-08-10 14:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786353516000,"timestamp_ms":1786353516000,"timestamp_seconds":1786353516,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf77de0"} 
[2026-08-10 14:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":247,"data_length":795,"current_offset":136} 
[2026-08-10 14:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306497536001,"66":14407,"106":206,"83":41984,"24":18,"16":11419343082487808,"45":1779555202134450176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 14:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306497536001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:49:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 14:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11419343082487808,"km_value":11419343082487.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779555202134450176,"description":"Unknown IO ID 45"} 
[2026-08-10 14:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306497536001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1779555202134450176}} 
[2026-08-10 14:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":154305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:49:46] local.INFO: GPS data processed {"connection_id":154305,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:49:46] local.INFO: Acknowledgment sent {"connection_id":154305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:49:58] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:49:58] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:49:58] local.INFO: IMEI packet received {"connection_id":152852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":152852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:50:04] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:50:04] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:50:04] local.INFO: IMEI packet received {"connection_id":152852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":152852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:50:05] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:50:05] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf3ff58012d342a4006abc2800013010227..."} 
[2026-08-10 14:50:05] local.INFO: Packet analysis {"connection_id":152852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:50:05] local.INFO: Extracted packet for processing {"connection_id":152852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf3"} 
[2026-08-10 14:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306364416001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353287000,"timestamp_ms":1786353287000,"timestamp_seconds":1786353287,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf3ff58"} 
[2026-08-10 14:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:50: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-08-10 14:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 14:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306364416001,"66":25343,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306364416001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:50:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306364416001,"power":25343,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":152852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:50:05] local.INFO: GPS data processed {"connection_id":152852,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:50:05] local.INFO: Acknowledgment sent {"connection_id":152852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:50:16] local.INFO: TCP Data received {"connection_id":154305,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf78998012d18c54007214f90004600ad2a..."} 
[2026-08-10 14:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf78998012d18c54007214f90004600ad2a..."} 
[2026-08-10 14:50:16] local.INFO: Processing buffer {"connection_id":154305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf78998012d18c54007214f90004600ad2a..."} 
[2026-08-10 14:50:16] local.INFO: Packet analysis {"connection_id":154305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf7"} 
[2026-08-10 14:50:16] local.INFO: Extracted packet for processing {"connection_id":154305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf7"} 
[2026-08-10 14:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119623568,"longitude_deg":75.659808,"latitude_deg":11.9623568,"altitude":70,"angle":173,"satellites":42,"speed":6,"hex_longitude":"2d18c540","hex_latitude":"07214f90","is_valid_coordinates":true} 
[2026-08-10 14:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306500096001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11419386032160768,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382969395200,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786353519000,"timestamp_ms":1786353519000,"timestamp_seconds":1786353519,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf78998"} 
[2026-08-10 14:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 14:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306500096001,"66":14396,"106":206,"83":41984,"24":6,"16":11419386032160768,"45":1784551382969395200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 14:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306500096001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:50:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 14:50:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11419386032160768,"km_value":11419386032160.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382969395200,"description":"Unknown IO ID 45"} 
[2026-08-10 14:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306500096001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1784551382969395200}} 
[2026-08-10 14:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":154305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:50:17] local.INFO: GPS data processed {"connection_id":154305,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:50:17] local.INFO: Acknowledgment sent {"connection_id":154305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:50:37] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:50:37] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:50:37] local.INFO: Packet analysis {"connection_id":152852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:50:37] local.INFO: Extracted packet for processing {"connection_id":152852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306441472001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786353588000,"timestamp_ms":1786353588000,"timestamp_seconds":1786353588,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf89720"} 
[2026-08-10 14:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 14:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306441472001,"66":25288,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306441472001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:50:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306441472001,"power":25288,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":152852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:50:37] local.INFO: GPS data processed {"connection_id":152852,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:50:37] local.INFO: Acknowledgment sent {"connection_id":152852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:50:41] local.INFO: TCP Data received {"connection_id":151530,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:50:41] local.INFO: Processing buffer {"connection_id":151530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:50:41] local.INFO: IMEI packet received {"connection_id":151530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":151530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:50:42] local.INFO: TCP Data received {"connection_id":151530,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:50:42] local.INFO: Processing buffer {"connection_id":151530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:50:42] local.INFO: IMEI packet received {"connection_id":151530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":151530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:50:46] local.INFO: TCP Data received {"connection_id":151530,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:50:46] local.INFO: Processing buffer {"connection_id":151530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:50:46] local.INFO: IMEI packet received {"connection_id":151530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":151530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:50:47] local.INFO: TCP Data received {"connection_id":151530,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf86c28012d1914c00720c4e00030007329..."} 
[2026-08-10 14:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf86c28012d1914c00720c4e00030007329..."} 
[2026-08-10 14:50:47] local.INFO: Processing buffer {"connection_id":151530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf86c28012d1914c00720c4e00030007329..."} 
[2026-08-10 14:50:47] local.INFO: Packet analysis {"connection_id":151530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:50:47] local.INFO: Extracted packet for processing {"connection_id":151530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756618432,"raw_latitude":119588064,"longitude_deg":75.6618432,"latitude_deg":11.9588064,"altitude":48,"angle":115,"satellites":41,"speed":50,"hex_longitude":"2d1914c0","hex_latitude":"0720c4e0","is_valid_coordinates":true} 
[2026-08-10 14:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306513920001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11421486271168512,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799962137936033792,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786353577000,"timestamp_ms":1786353577000,"timestamp_seconds":1786353577,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf86c28"} 
[2026-08-10 14:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 14:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306513920001,"66":14070,"103":206,"83":41984,"24":50,"16":11421486271168512,"45":1799962137936033792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 14:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306513920001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:50:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 14:50:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11421486271168512,"km_value":11421486271168.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799962137936033792,"description":"Unknown IO ID 45"} 
[2026-08-10 14:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306513920001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1799962137936033792}} 
[2026-08-10 14:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":151530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:50:47] local.INFO: GPS data processed {"connection_id":151530,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:50:47] local.INFO: Acknowledgment sent {"connection_id":151530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:50:56] local.INFO: TCP Data received {"connection_id":151531,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151531,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:50:56] local.INFO: Processing buffer {"connection_id":151531,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:50:56] local.INFO: IMEI packet received {"connection_id":151531,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":151531,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:50:57] local.INFO: TCP Data received {"connection_id":151531,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf952a0012d09184007029bb00016005c23..."} 
[2026-08-10 14:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf952a0012d09184007029bb00016005c23..."} 
[2026-08-10 14:50:57] local.INFO: Processing buffer {"connection_id":151531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf952a0012d09184007029bb00016005c23..."} 
[2026-08-10 14:50:57] local.INFO: Packet analysis {"connection_id":151531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf9"} 
[2026-08-10 14:50:57] local.INFO: Extracted packet for processing {"connection_id":151531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf9"} 
[2026-08-10 14:50:57] local.INFO: GPS Element Parsed {"raw_longitude":755570752,"raw_latitude":117611440,"longitude_deg":75.5570752,"latitude_deg":11.761144,"altitude":22,"angle":92,"satellites":35,"speed":26,"hex_longitude":"2d091840","hex_latitude":"07029bb0","is_valid_coordinates":true} 
[2026-08-10 14:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306529792001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27395612106293248,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":652107182403127296,"note":"Value kept but may cause issues"} 
[2026-08-10 14:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786353636000,"timestamp_ms":1786353636000,"timestamp_seconds":1786353636,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf952a0"} 
[2026-08-10 14:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 14:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306529792001,"66":14309,"13":206,"94":11008,"24":26,"16":27395612106293248,"45":652107182403127296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,94,24,16,45]} 
[2026-08-10 14:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306529792001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:50:57] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-10 14:50:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27395612106293248,"km_value":27395612106293.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":652107182403127296,"description":"Unknown IO ID 45"} 
[2026-08-10 14:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306529792001,"power":14309,"unknown_13":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":652107182403127296}} 
[2026-08-10 14:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":151531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620142,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:50:57] local.INFO: GPS data processed {"connection_id":151531,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:50:57] local.INFO: Acknowledgment sent {"connection_id":151531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:50:58] local.INFO: TCP Data received {"connection_id":151532,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:50:58] local.INFO: Processing buffer {"connection_id":151532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:50:58] local.INFO: IMEI packet received {"connection_id":151532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":151532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:51:04] local.INFO: TCP Data received {"connection_id":151532,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:51:04] local.INFO: Processing buffer {"connection_id":151532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:51:04] local.INFO: IMEI packet received {"connection_id":151532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":151532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:51:05] local.INFO: TCP Data received {"connection_id":151532,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:51:05] local.INFO: Processing buffer {"connection_id":151532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:51:05] local.INFO: Packet analysis {"connection_id":151532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:51:05] local.INFO: Extracted packet for processing {"connection_id":151532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306441472001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353588000,"timestamp_ms":1786353588000,"timestamp_seconds":1786353588,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf89720"} 
[2026-08-10 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-08-10 14:51: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-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 14:51: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-08-10 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-08-10 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-08-10 14:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306441472001,"66":25288,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306441472001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:51:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306441472001,"power":25288,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":151532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:51:05] local.INFO: GPS data processed {"connection_id":151532,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:51:05] local.INFO: Acknowledgment sent {"connection_id":151532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:51:18] local.INFO: TCP Data received {"connection_id":151530,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf93748012d19ad4007209020002d00bf27..."} 
[2026-08-10 14:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf93748012d19ad4007209020002d00bf27..."} 
[2026-08-10 14:51:18] local.INFO: Processing buffer {"connection_id":151530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf93748012d19ad4007209020002d00bf27..."} 
[2026-08-10 14:51:18] local.INFO: Packet analysis {"connection_id":151530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf9"} 
[2026-08-10 14:51:18] local.INFO: Extracted packet for processing {"connection_id":151530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf9"} 
[2026-08-10 14:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119574560,"longitude_deg":75.6657472,"latitude_deg":11.957456,"altitude":45,"angle":191,"satellites":39,"speed":33,"hex_longitude":"2d19ad40","hex_latitude":"07209020","is_valid_coordinates":true} 
[2026-08-10 14:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306528768001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11423981647167488,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251322368,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786353629000,"timestamp_ms":1786353629000,"timestamp_seconds":1786353629,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf93748"} 
[2026-08-10 14:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 14:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306528768001,"66":13722,"103":206,"83":41984,"24":33,"16":11423981647167488,"45":1850486896251322368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 14:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306528768001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:51:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 14:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11423981647167488,"km_value":11423981647167.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251322368,"description":"Unknown IO ID 45"} 
[2026-08-10 14:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306528768001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1850486896251322368}} 
[2026-08-10 14:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":151530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:51:19] local.INFO: GPS data processed {"connection_id":151530,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:51:19] local.INFO: Acknowledgment sent {"connection_id":151530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:51:28] local.INFO: TCP Data received {"connection_id":151531,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf9cfa0012d091c80070256f00014006a21..."} 
[2026-08-10 14:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf9cfa0012d091c80070256f00014006a21..."} 
[2026-08-10 14:51:28] local.INFO: Processing buffer {"connection_id":151531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf9cfa0012d091c80070256f00014006a21..."} 
[2026-08-10 14:51:28] local.INFO: Packet analysis {"connection_id":151531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf9"} 
[2026-08-10 14:51:28] local.INFO: Extracted packet for processing {"connection_id":151531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf9"} 
[2026-08-10 14:51:28] local.INFO: GPS Element Parsed {"raw_longitude":755571840,"raw_latitude":117593840,"longitude_deg":75.557184,"latitude_deg":11.759384,"altitude":20,"angle":106,"satellites":33,"speed":18,"hex_longitude":"2d091c80","hex_latitude":"070256f0","is_valid_coordinates":true} 
[2026-08-10 14:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306538752001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27396608538705920,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":656118200816601088,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786353668000,"timestamp_ms":1786353668000,"timestamp_seconds":1786353668,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf9cfa0"} 
[2026-08-10 14:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 14:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":151531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":151531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":151531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306538752001,"66":14515,"230":206,"94":11008,"24":18,"16":27396608538705920,"45":656118200816601088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-08-10 14:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306538752001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:51:28] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-10 14:51:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27396608538705920,"km_value":27396608538705.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":656118200816601088,"description":"Unknown IO ID 45"} 
[2026-08-10 14:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306538752001,"power":14515,"unknown_230":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":656118200816601088}} 
[2026-08-10 14:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":151531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620145,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:51:28] local.INFO: GPS data processed {"connection_id":151531,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:51:28] local.INFO: Acknowledgment sent {"connection_id":151531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:51:37] local.INFO: TCP Data received {"connection_id":151532,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:51:37] local.INFO: Processing buffer {"connection_id":151532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:51:37] local.INFO: Packet analysis {"connection_id":151532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:51:37] local.INFO: Extracted packet for processing {"connection_id":151532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306441472001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786353588000,"timestamp_ms":1786353588000,"timestamp_seconds":1786353588,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf89720"} 
[2026-08-10 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-08-10 14: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-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 14:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306441472001,"66":25288,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306441472001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:51:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306441472001,"power":25288,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":151532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:51:37] local.INFO: GPS data processed {"connection_id":151532,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:51:37] local.INFO: Acknowledgment sent {"connection_id":151532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:51:42] local.INFO: TCP Data received {"connection_id":151927,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:51:42] local.INFO: Processing buffer {"connection_id":151927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:51:42] local.INFO: IMEI packet received {"connection_id":151927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":151927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:51:44] local.INFO: TCP Data received {"connection_id":151927,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:51:44] local.INFO: Processing buffer {"connection_id":151927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:51:44] local.INFO: IMEI packet received {"connection_id":151927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":151927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:51:47] local.INFO: TCP Data received {"connection_id":151927,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:51:47] local.INFO: Processing buffer {"connection_id":151927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:51:47] local.INFO: IMEI packet received {"connection_id":151927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":151927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:51:48] local.INFO: TCP Data received {"connection_id":151927,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf93b30012d19ad4007208cb8002c00b429..."} 
[2026-08-10 14:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf93b30012d19ad4007208cb8002c00b429..."} 
[2026-08-10 14:51:48] local.INFO: Processing buffer {"connection_id":151927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf93b30012d19ad4007208cb8002c00b429..."} 
[2026-08-10 14:51:48] local.INFO: Packet analysis {"connection_id":151927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf9"} 
[2026-08-10 14:51:48] local.INFO: Extracted packet for processing {"connection_id":151927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf9"} 
[2026-08-10 14:51:48] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119573688,"longitude_deg":75.6657472,"latitude_deg":11.9573688,"altitude":44,"angle":180,"satellites":41,"speed":33,"hex_longitude":"2d19ad40","hex_latitude":"07208cb8","is_valid_coordinates":true} 
[2026-08-10 14:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306529024001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11424024596840448,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274406912,"note":"Value kept but may cause issues"} 
[2026-08-10 14:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786353630000,"timestamp_ms":1786353630000,"timestamp_seconds":1786353630,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf93b30"} 
[2026-08-10 14:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-10 14:51: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-08-10 14:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306529024001,"66":13722,"103":206,"83":41984,"24":33,"16":11424024596840448,"45":1850205421274406912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 14:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306529024001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:51:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 14:51:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11424024596840448,"km_value":11424024596840.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274406912,"description":"Unknown IO ID 45"} 
[2026-08-10 14:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306529024001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1850205421274406912}} 
[2026-08-10 14:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":151927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:51:48] local.INFO: GPS data processed {"connection_id":151927,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:51:48] local.INFO: Acknowledgment sent {"connection_id":151927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:52:02] local.INFO: TCP Data received {"connection_id":154306,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154306,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:02] local.INFO: Processing buffer {"connection_id":154306,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:02] local.INFO: IMEI packet received {"connection_id":154306,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":154306,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:52:04] local.INFO: TCP Data received {"connection_id":151533,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:52:04] local.INFO: Processing buffer {"connection_id":151533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:52:04] local.INFO: IMEI packet received {"connection_id":151533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":151533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:52:09] local.INFO: TCP Data received {"connection_id":151533,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:52:09] local.INFO: Processing buffer {"connection_id":151533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:52:09] local.INFO: IMEI packet received {"connection_id":151533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":151533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:52:10] local.INFO: TCP Data received {"connection_id":151533,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:52:10] local.INFO: Processing buffer {"connection_id":151533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:52:10] local.INFO: Packet analysis {"connection_id":151533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:52:10] local.INFO: Extracted packet for processing {"connection_id":151533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306441472001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786353588000,"timestamp_ms":1786353588000,"timestamp_seconds":1786353588,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf89720"} 
[2026-08-10 14:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 14:52: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-08-10 14:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306441472001,"66":25288,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306441472001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:52:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306441472001,"power":25288,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":151533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:52:10] local.INFO: GPS data processed {"connection_id":151533,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:52:10] local.INFO: Acknowledgment sent {"connection_id":151533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:52:14] local.INFO: TCP Data received {"connection_id":151533,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:52:14] local.INFO: Processing buffer {"connection_id":151533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:52:14] local.INFO: Packet analysis {"connection_id":151533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:52:14] local.INFO: Extracted packet for processing {"connection_id":151533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306441472001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786353588000,"timestamp_ms":1786353588000,"timestamp_seconds":1786353588,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf89720"} 
[2026-08-10 14:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 14:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 14:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306441472001,"66":25288,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306441472001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:52:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306441472001,"power":25288,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":151533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:52:14] local.INFO: GPS data processed {"connection_id":151533,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:52:14] local.INFO: Acknowledgment sent {"connection_id":151533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:52:15] local.INFO: TCP Data received {"connection_id":154306,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154306,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:15] local.INFO: Processing buffer {"connection_id":154306,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:15] local.INFO: IMEI packet received {"connection_id":154306,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":154306,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:52:17] local.INFO: TCP Data received {"connection_id":154306,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf9d770012d092100070256580015005e22..."} 
[2026-08-10 14:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf9d770012d092100070256580015005e22..."} 
[2026-08-10 14:52:17] local.INFO: Processing buffer {"connection_id":154306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf9d770012d092100070256580015005e22..."} 
[2026-08-10 14:52:17] local.INFO: Packet analysis {"connection_id":154306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf9"} 
[2026-08-10 14:52:17] local.INFO: Extracted packet for processing {"connection_id":154306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf9"} 
[2026-08-10 14:52:17] local.INFO: GPS Element Parsed {"raw_longitude":755572992,"raw_latitude":117593688,"longitude_deg":75.5572992,"latitude_deg":11.7593688,"altitude":21,"angle":94,"satellites":34,"speed":23,"hex_longitude":"2d092100","hex_latitude":"07025658","is_valid_coordinates":true} 
[2026-08-10 14:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306539008001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27396664373280768,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":656540413281628160,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786353670000,"timestamp_ms":1786353670000,"timestamp_seconds":1786353670,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf9d770"} 
[2026-08-10 14:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 14:52: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-08-10 14:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306539008001,"66":14450,"230":206,"94":11008,"24":23,"16":27396664373280768,"45":656540413281628160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-08-10 14:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306539008001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:52:17] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-10 14:52:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27396664373280768,"km_value":27396664373280.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":656540413281628160,"description":"Unknown IO ID 45"} 
[2026-08-10 14:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306539008001,"power":14450,"unknown_230":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":656540413281628160}} 
[2026-08-10 14:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":154306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620150,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:52:17] local.INFO: GPS data processed {"connection_id":154306,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:52:17] local.INFO: Acknowledgment sent {"connection_id":154306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:52:19] local.INFO: TCP Data received {"connection_id":151927,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feafa21a8012d19c780071ff128002400ff26..."} 
[2026-08-10 14:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafa21a8012d19c780071ff128002400ff26..."} 
[2026-08-10 14:52:19] local.INFO: Processing buffer {"connection_id":151927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafa21a8012d19c780071ff128002400ff26..."} 
[2026-08-10 14:52:19] local.INFO: Packet analysis {"connection_id":151927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafa"} 
[2026-08-10 14:52:19] local.INFO: Extracted packet for processing {"connection_id":151927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafa"} 
[2026-08-10 14:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756664192,"raw_latitude":119533864,"longitude_deg":75.6664192,"latitude_deg":11.9533864,"altitude":36,"angle":255,"satellites":38,"speed":15,"hex_longitude":"2d19c780","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306544128001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11426253684867072,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857945983123562496,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52: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-08-10 14:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786353689000,"timestamp_ms":1786353689000,"timestamp_seconds":1786353689,"priority":1,"record_length":96,"hex_timestamp":"0000019feafa21a8"} 
[2026-08-10 14:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":218,"data_length":795,"current_offset":136} 
[2026-08-10 14:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306544128001,"66":14265,"101":206,"83":41984,"24":15,"16":11426253684867072,"45":1857945983123562496},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 14:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306544128001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:52:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 14:52:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11426253684867072,"km_value":11426253684867.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857945983123562496,"description":"Unknown IO ID 45"} 
[2026-08-10 14:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306544128001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1857945983123562496}} 
[2026-08-10 14:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":151927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:52:19] local.INFO: GPS data processed {"connection_id":151927,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:52:19] local.INFO: Acknowledgment sent {"connection_id":151927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:52:36] local.INFO: TCP Data received {"connection_id":151534,"ip":"172.234.162.56","data_length":4,"data_hex":"0d0a0d0a..."} 
[2026-08-10 14:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151534,"packet_length":4,"packet_hex":"0d0a0d0a..."} 
[2026-08-10 14:52:36] local.INFO: Processing buffer {"connection_id":151534,"buffer_length":4,"buffer_hex":"0d0a0d0a..."} 
[2026-08-10 14:52:41] local.INFO: TCP Data received {"connection_id":152854,"ip":"172.234.162.56","data_length":18,"data_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-08-10 14:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152854,"packet_length":18,"packet_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-08-10 14:52:41] local.INFO: Processing buffer {"connection_id":152854,"buffer_length":18,"buffer_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-08-10 14:52:41] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":152854,"buffer_length":18,"first_bytes_hex":"474554202f20485454502f312e300d0a"} 
[2026-08-10 14:52:42] local.INFO: TCP Data received {"connection_id":151535,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:52:42] local.INFO: Processing buffer {"connection_id":151535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:52:42] local.INFO: IMEI packet received {"connection_id":151535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":151535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:52:45] local.INFO: TCP Data received {"connection_id":151535,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:52:45] local.INFO: Processing buffer {"connection_id":151535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:52:45] local.INFO: IMEI packet received {"connection_id":151535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":151535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:52:46] local.INFO: TCP Data received {"connection_id":152855,"ip":"172.234.162.56","data_length":22,"data_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-08-10 14:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152855,"packet_length":22,"packet_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-08-10 14:52:46] local.INFO: Processing buffer {"connection_id":152855,"buffer_length":22,"buffer_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-08-10 14:52:46] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":152855,"buffer_length":22,"first_bytes_hex":"4f5054494f4e53202f20485454502f31"} 
[2026-08-10 14:52:47] local.INFO: TCP Data received {"connection_id":151535,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:52:47] local.INFO: Processing buffer {"connection_id":151535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:52:47] local.INFO: IMEI packet received {"connection_id":151535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":151535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:52:47] local.INFO: TCP Data received {"connection_id":151535,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feafa44d0012d19b340071fef600024010b25..."} 
[2026-08-10 14:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafa44d0012d19b340071fef600024010b25..."} 
[2026-08-10 14:52:48] local.INFO: Processing buffer {"connection_id":151535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafa44d0012d19b340071fef600024010b25..."} 
[2026-08-10 14:52:48] local.INFO: Packet analysis {"connection_id":151535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafa"} 
[2026-08-10 14:52:48] local.INFO: Extracted packet for processing {"connection_id":151535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafa"} 
[2026-08-10 14:52:48] local.INFO: GPS Element Parsed {"raw_longitude":756659008,"raw_latitude":119533408,"longitude_deg":75.6659008,"latitude_deg":11.9533408,"altitude":36,"angle":267,"satellites":37,"speed":25,"hex_longitude":"2d19b340","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306544384001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11426498498002944,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857594139402643456,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786353698000,"timestamp_ms":1786353698000,"timestamp_seconds":1786353698,"priority":1,"record_length":96,"hex_timestamp":"0000019feafa44d0"} 
[2026-08-10 14:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 14:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306544384001,"66":14102,"101":206,"83":41984,"24":25,"16":11426498498002944,"45":1857594139402643456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 14:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306544384001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:52:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 14:52:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11426498498002944,"km_value":11426498498002.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857594139402643456,"description":"Unknown IO ID 45"} 
[2026-08-10 14:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306544384001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1857594139402643456}} 
[2026-08-10 14:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":151535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:52:48] local.INFO: GPS data processed {"connection_id":151535,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:52:48] local.INFO: Acknowledgment sent {"connection_id":151535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:52:51] local.INFO: TCP Data received {"connection_id":154307,"ip":"172.234.162.56","data_length":22,"data_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-08-10 14:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154307,"packet_length":22,"packet_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-08-10 14:52:51] local.INFO: Processing buffer {"connection_id":154307,"buffer_length":22,"buffer_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-08-10 14:52:51] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":154307,"buffer_length":22,"first_bytes_hex":"4f5054494f4e53202f20525453502f31"} 
[2026-08-10 14:52:52] local.INFO: TCP Data received {"connection_id":151928,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151928,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:52] local.INFO: Processing buffer {"connection_id":151928,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:52] local.INFO: IMEI packet received {"connection_id":151928,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":151928,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:52:54] local.INFO: TCP Data received {"connection_id":151928,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151928,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:54] local.INFO: Processing buffer {"connection_id":151928,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:54] local.INFO: IMEI packet received {"connection_id":151928,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":151928,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:52:56] local.INFO: TCP Data received {"connection_id":154308,"ip":"172.234.162.56","data_length":44,"data_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-08-10 14:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154308,"packet_length":44,"packet_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-08-10 14:52:56] local.INFO: Processing buffer {"connection_id":154308,"buffer_length":44,"buffer_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-08-10 14:52:56] local.INFO: Found valid packet candidate {"position":8,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000186a00001977c"} 
[2026-08-10 14:52:56] local.INFO: Found valid Teltonika packet at position {"connection_id":154308,"packet_position":8,"bytes_removed":8} 
[2026-08-10 14:52:56] local.INFO: Packet analysis {"connection_id":154308,"data_field_length":2,"total_packet_length":14,"buffer_length":36,"packet_hex_start":"0000000000000002000186a00001977c"} 
[2026-08-10 14:52:56] local.INFO: Extracted packet for processing {"connection_id":154308,"packet_length":14,"remaining_buffer_length":22,"packet_hex_start":"0000000000000002000186a00001"} 
[2026-08-10 14:52:56] local.WARNING: Failed to parse Teltonika packet {"connection_id":154308,"packet_length":14} 
[2026-08-10 14:52:56] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":154308,"buffer_length":22,"first_bytes_hex":"977c0000000000000000000000000000"} 
[2026-08-10 14:52:57] local.INFO: TCP Data received {"connection_id":151928,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151928,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:57] local.INFO: Processing buffer {"connection_id":151928,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:52:57] local.INFO: IMEI packet received {"connection_id":151928,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":151928,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:52:57] local.INFO: TCP Data received {"connection_id":151928,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feafb0438012d09e140070240a80013007921..."} 
[2026-08-10 14:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafb0438012d09e140070240a80013007921..."} 
[2026-08-10 14:52:57] local.INFO: Processing buffer {"connection_id":151928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafb0438012d09e140070240a80013007921..."} 
[2026-08-10 14:52:57] local.INFO: Packet analysis {"connection_id":151928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafb"} 
[2026-08-10 14:52:57] local.INFO: Extracted packet for processing {"connection_id":151928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafb"} 
[2026-08-10 14:52:57] local.INFO: GPS Element Parsed {"raw_longitude":755622208,"raw_latitude":117588136,"longitude_deg":75.5622208,"latitude_deg":11.7588136,"altitude":19,"angle":121,"satellites":33,"speed":24,"hex_longitude":"2d09e140","hex_latitude":"070240a8","is_valid_coordinates":true} 
[2026-08-10 14:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306558976001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27399318663069696,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":711357664994662400,"note":"Value kept but may cause issues"} 
[2026-08-10 14:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786353747000,"timestamp_ms":1786353747000,"timestamp_seconds":1786353747,"priority":1,"record_length":96,"hex_timestamp":"0000019feafb0438"} 
[2026-08-10 14:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 14:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151928,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151928,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306558976001,"66":14461,"19":206,"94":11008,"24":24,"16":27399318663069696,"45":711357664994662400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-10 14:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306558976001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:52:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 14:52:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27399318663069696,"km_value":27399318663069.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":711357664994662400,"description":"Unknown IO ID 45"} 
[2026-08-10 14:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306558976001,"power":14461,"unknown_19":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":711357664994662400}} 
[2026-08-10 14:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":151928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620153,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:52:57] local.INFO: GPS data processed {"connection_id":151928,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:52:57] local.INFO: Acknowledgment sent {"connection_id":151928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:52:59] local.INFO: TCP Data received {"connection_id":151536,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:52:59] local.INFO: Processing buffer {"connection_id":151536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:52:59] local.INFO: IMEI packet received {"connection_id":151536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":151536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:53:01] local.INFO: TCP Data received {"connection_id":152856,"ip":"172.234.162.56","data_length":32,"data_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-08-10 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152856,"packet_length":32,"packet_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-08-10 14:53:01] local.INFO: Processing buffer {"connection_id":152856,"buffer_length":32,"buffer_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-08-10 14:53:01] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":152856,"buffer_length":32,"first_bytes_hex":"001e0006010000010000000000000776"} 
[2026-08-10 14:53:02] local.INFO: TCP Data received {"connection_id":151928,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feafb0c08012d09e58007023e780013006c21..."} 
[2026-08-10 14:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafb0c08012d09e58007023e780013006c21..."} 
[2026-08-10 14:53:02] local.INFO: Processing buffer {"connection_id":151928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafb0c08012d09e58007023e780013006c21..."} 
[2026-08-10 14:53:02] local.INFO: Packet analysis {"connection_id":151928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafb"} 
[2026-08-10 14:53:02] local.INFO: Extracted packet for processing {"connection_id":151928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafb"} 
[2026-08-10 14:53:02] local.INFO: GPS Element Parsed {"raw_longitude":755623296,"raw_latitude":117587576,"longitude_deg":75.5623296,"latitude_deg":11.7587576,"altitude":19,"angle":108,"satellites":33,"speed":28,"hex_longitude":"2d09e580","hex_latitude":"07023e78","is_valid_coordinates":true} 
[2026-08-10 14:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306559232001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27399378792611840,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":711920614947989504,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786353749000,"timestamp_ms":1786353749000,"timestamp_seconds":1786353749,"priority":1,"record_length":96,"hex_timestamp":"0000019feafb0c08"} 
[2026-08-10 14:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 14:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":151928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":151928,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":151928,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306559232001,"66":14559,"19":206,"94":11008,"24":28,"16":27399378792611840,"45":711920614947989504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-10 14:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306559232001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:53:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 14:53:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27399378792611840,"km_value":27399378792611.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":711920614947989504,"description":"Unknown IO ID 45"} 
[2026-08-10 14:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306559232001,"power":14559,"unknown_19":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":711920614947989504}} 
[2026-08-10 14:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":151928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620154,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:53:02] local.INFO: GPS data processed {"connection_id":151928,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:53:02] local.INFO: Acknowledgment sent {"connection_id":151928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:53:04] local.INFO: TCP Data received {"connection_id":151536,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:53:04] local.INFO: Processing buffer {"connection_id":151536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:53:04] local.INFO: IMEI packet received {"connection_id":151536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":151536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:53:05] local.INFO: TCP Data received {"connection_id":151536,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:53:05] local.INFO: Processing buffer {"connection_id":151536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:53:05] local.INFO: Packet analysis {"connection_id":151536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:53:05] local.INFO: Extracted packet for processing {"connection_id":151536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306441472001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353588000,"timestamp_ms":1786353588000,"timestamp_seconds":1786353588,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf89720"} 
[2026-08-10 14:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:53: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-08-10 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 14:53: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-08-10 14:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306441472001,"66":25288,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306441472001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:53:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306441472001,"power":25288,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":151536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:53:05] local.INFO: GPS data processed {"connection_id":151536,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:53:05] local.INFO: Acknowledgment sent {"connection_id":151536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:53:07] local.INFO: TCP Data received {"connection_id":154309,"ip":"172.234.162.56","data_length":14,"data_hex":"000c000010000000000000000000..."} 
[2026-08-10 14:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154309,"packet_length":14,"packet_hex":"000c000010000000000000000000..."} 
[2026-08-10 14:53:07] local.INFO: Processing buffer {"connection_id":154309,"buffer_length":14,"buffer_hex":"000c000010000000000000000000..."} 
[2026-08-10 14:53:09] local.INFO: TCP Data received {"connection_id":151536,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:53:09] local.INFO: Processing buffer {"connection_id":151536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:53:09] local.INFO: Packet analysis {"connection_id":151536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:53:09] local.INFO: Extracted packet for processing {"connection_id":151536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306441472001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786353588000,"timestamp_ms":1786353588000,"timestamp_seconds":1786353588,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf89720"} 
[2026-08-10 14:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:53: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-08-10 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 14:53: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-08-10 14: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-08-10 14:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:53: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-08-10 14:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306441472001,"66":25288,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306441472001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:53:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306441472001,"power":25288,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":151536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:53:09] local.INFO: GPS data processed {"connection_id":151536,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:53:09] local.INFO: Acknowledgment sent {"connection_id":151536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:53:12] local.INFO: TCP Data received {"connection_id":152857,"ip":"172.234.162.56","data_length":6,"data_hex":"48454c500d0a..."} 
[2026-08-10 14:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152857,"packet_length":6,"packet_hex":"48454c500d0a..."} 
[2026-08-10 14:53:12] local.INFO: Processing buffer {"connection_id":152857,"buffer_length":6,"buffer_hex":"48454c500d0a..."} 
[2026-08-10 14:53:19] local.INFO: TCP Data received {"connection_id":151535,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feafaf880012d199a40071fbeb8002e00cd26..."} 
[2026-08-10 14:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafaf880012d199a40071fbeb8002e00cd26..."} 
[2026-08-10 14:53:19] local.INFO: Processing buffer {"connection_id":151535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafaf880012d199a40071fbeb8002e00cd26..."} 
[2026-08-10 14:53:19] local.INFO: Packet analysis {"connection_id":151535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafa"} 
[2026-08-10 14:53:19] local.INFO: Extracted packet for processing {"connection_id":151535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafa"} 
[2026-08-10 14:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756652608,"raw_latitude":119520952,"longitude_deg":75.6652608,"latitude_deg":11.9520952,"altitude":46,"angle":205,"satellites":38,"speed":7,"hex_longitude":"2d199a40","hex_latitude":"071fbeb8","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306558208001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11427439095840768,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844998134191577088,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53: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-08-10 14:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786353744000,"timestamp_ms":1786353744000,"timestamp_seconds":1786353744,"priority":1,"record_length":96,"hex_timestamp":"0000019feafaf880"} 
[2026-08-10 14:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":38,"data_length":795,"current_offset":136} 
[2026-08-10 14:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306558208001,"66":14374,"101":206,"83":41984,"24":7,"16":11427439095840768,"45":1844998134191577088},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 14:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306558208001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:53:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 14:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11427439095840768,"km_value":11427439095840.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844998134191577088,"description":"Unknown IO ID 45"} 
[2026-08-10 14:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306558208001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1844998134191577088}} 
[2026-08-10 14:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":151535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:53:19] local.INFO: GPS data processed {"connection_id":151535,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:53:19] local.INFO: Acknowledgment sent {"connection_id":151535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:53:19] local.INFO: TCP Data received {"connection_id":152858,"ip":"172.234.162.56","data_length":88,"data_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-08-10 14:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152858,"packet_length":88,"packet_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-08-10 14:53:19] local.INFO: Processing buffer {"connection_id":152858,"buffer_length":88,"buffer_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-08-10 14:53:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":152858,"buffer_length":88,"first_bytes_hex":"16030000530100004f03003f47d7f7ba"} 
[2026-08-10 14:53:24] local.INFO: TCP Data received {"connection_id":151929,"ip":"172.234.162.56","data_length":42,"data_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-08-10 14:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151929,"packet_length":42,"packet_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-08-10 14:53:24] local.INFO: Processing buffer {"connection_id":151929,"buffer_length":42,"buffer_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-08-10 14:53:24] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":151929,"buffer_length":42,"first_bytes_hex":"0300002a25e00000000000436f6f6b69"} 
[2026-08-10 14:53:29] local.INFO: TCP Data received {"connection_id":151930,"ip":"172.234.162.56","data_length":110,"data_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-08-10 14:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151930,"packet_length":110,"packet_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-08-10 14:53:29] local.INFO: Processing buffer {"connection_id":151930,"buffer_length":110,"buffer_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-08-10 14:53:29] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":151930,"buffer_length":110,"first_bytes_hex":"1603000069010000650303551ca7e472"} 
[2026-08-10 14:53:33] local.INFO: TCP Data received {"connection_id":151928,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feafb17c0012d09ee8007023ce00012006123..."} 
[2026-08-10 14:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafb17c0012d09ee8007023ce00012006123..."} 
[2026-08-10 14:53:33] local.INFO: Processing buffer {"connection_id":151928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafb17c0012d09ee8007023ce00012006123..."} 
[2026-08-10 14:53:33] local.INFO: Packet analysis {"connection_id":151928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafb"} 
[2026-08-10 14:53:33] local.INFO: Extracted packet for processing {"connection_id":151928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafb"} 
[2026-08-10 14:53:33] local.INFO: GPS Element Parsed {"raw_longitude":755625600,"raw_latitude":117587168,"longitude_deg":75.56256,"latitude_deg":11.7587168,"altitude":18,"angle":97,"satellites":35,"speed":31,"hex_longitude":"2d09ee80","hex_latitude":"07023ce0","is_valid_coordinates":true} 
[2026-08-10 14:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306559744001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27399490461761536,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":713116883598866432,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786353752000,"timestamp_ms":1786353752000,"timestamp_seconds":1786353752,"priority":1,"record_length":96,"hex_timestamp":"0000019feafb17c0"} 
[2026-08-10 14:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 14:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151928,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151928,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306559744001,"66":14515,"19":206,"94":11008,"24":31,"16":27399490461761536,"45":713116883598866432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-10 14:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306559744001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:53:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 14:53:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27399490461761536,"km_value":27399490461761.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":713116883598866432,"description":"Unknown IO ID 45"} 
[2026-08-10 14:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306559744001,"power":14515,"unknown_19":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":713116883598866432}} 
[2026-08-10 14:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":151928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620158,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:53:33] local.INFO: GPS data processed {"connection_id":151928,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:53:33] local.INFO: Acknowledgment sent {"connection_id":151928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:53:34] local.INFO: TCP Data received {"connection_id":154310,"ip":"172.234.162.56","data_length":117,"data_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-08-10 14:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154310,"packet_length":117,"packet_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-08-10 14:53:34] local.INFO: Processing buffer {"connection_id":154310,"buffer_length":117,"buffer_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-08-10 14:53:34] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":154310,"buffer_length":117,"first_bytes_hex":"000000716a816e30816ba103020105a2"} 
[2026-08-10 14:53:39] local.INFO: TCP Data received {"connection_id":152859,"ip":"172.234.162.56","data_length":168,"data_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-08-10 14:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152859,"packet_length":168,"packet_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-08-10 14:53:39] local.INFO: Processing buffer {"connection_id":152859,"buffer_length":168,"buffer_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-08-10 14:53:39] local.INFO: Found valid packet candidate {"position":23,"data_field_length":64,"total_length":76,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-08-10 14:53:39] local.INFO: Found valid Teltonika packet at position {"connection_id":152859,"packet_position":23,"bytes_removed":23} 
[2026-08-10 14:53:39] local.INFO: Packet analysis {"connection_id":152859,"data_field_length":64,"total_packet_length":76,"buffer_length":145,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-08-10 14:53:39] local.INFO: Extracted packet for processing {"connection_id":152859,"packet_length":76,"remaining_buffer_length":69,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-08-10 14:53:39] local.WARNING: Failed to parse Teltonika packet {"connection_id":152859,"packet_length":76} 
[2026-08-10 14:53:39] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":152859,"buffer_length":69,"first_bytes_hex":"4e4554574f524b5320332e3000024c41"} 
[2026-08-10 14:53:41] local.INFO: TCP Data received {"connection_id":151536,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:53:41] local.INFO: Processing buffer {"connection_id":151536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:53:41] local.INFO: Packet analysis {"connection_id":151536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:53:41] local.INFO: Extracted packet for processing {"connection_id":151536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306441472001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786353588000,"timestamp_ms":1786353588000,"timestamp_seconds":1786353588,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf89720"} 
[2026-08-10 14:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:53: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-08-10 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 14:53: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-08-10 14: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-08-10 14:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306441472001,"66":25288,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306441472001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:53:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:53:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306441472001,"power":25288,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":151536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:53:41] local.INFO: GPS data processed {"connection_id":151536,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:53:41] local.INFO: Acknowledgment sent {"connection_id":151536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:53:44] local.INFO: TCP Data received {"connection_id":151931,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:53:44] local.INFO: Processing buffer {"connection_id":151931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:53:44] local.INFO: IMEI packet received {"connection_id":151931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":151931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:53:44] local.INFO: TCP Data received {"connection_id":152860,"ip":"172.234.162.56","data_length":12,"data_hex":"6c000b000000000000000000..."} 
[2026-08-10 14:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152860,"packet_length":12,"packet_hex":"6c000b000000000000000000..."} 
[2026-08-10 14:53:44] local.INFO: Processing buffer {"connection_id":152860,"buffer_length":12,"buffer_hex":"6c000b000000000000000000..."} 
[2026-08-10 14:53:45] local.INFO: TCP Data received {"connection_id":151931,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:53:45] local.INFO: Processing buffer {"connection_id":151931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:53:45] local.INFO: IMEI packet received {"connection_id":151931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":151931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:53:46] local.INFO: TCP Data received {"connection_id":151931,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:53:46] local.INFO: Processing buffer {"connection_id":151931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:53:46] local.INFO: IMEI packet received {"connection_id":151931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":151931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:53:47] local.INFO: TCP Data received {"connection_id":151931,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:53:47] local.INFO: Processing buffer {"connection_id":151931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:53:47] local.INFO: IMEI packet received {"connection_id":151931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":151931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:53:49] local.INFO: TCP Data received {"connection_id":152861,"ip":"172.234.162.56","data_length":53,"data_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-08-10 14:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152861,"packet_length":53,"packet_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-08-10 14:53:49] local.INFO: Processing buffer {"connection_id":152861,"buffer_length":53,"buffer_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-08-10 14:53:49] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":152861,"buffer_length":53,"first_bytes_hex":"474554202f6e696365253230706f7274"} 
[2026-08-10 14:53:52] local.INFO: TCP Data received {"connection_id":154311,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154311,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:53:52] local.INFO: Processing buffer {"connection_id":154311,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:53:52] local.INFO: IMEI packet received {"connection_id":154311,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":154311,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:53:55] local.INFO: TCP Data received {"connection_id":152862,"ip":"172.234.162.56","data_length":9,"data_hex":"0164656661756c740a..."} 
[2026-08-10 14:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152862,"packet_length":9,"packet_hex":"0164656661756c740a..."} 
[2026-08-10 14:53:55] local.INFO: Processing buffer {"connection_id":152862,"buffer_length":9,"buffer_hex":"0164656661756c740a..."} 
[2026-08-10 14:53:55] local.INFO: TCP Data received {"connection_id":154311,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154311,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:53:55] local.INFO: Processing buffer {"connection_id":154311,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:53:55] local.INFO: IMEI packet received {"connection_id":154311,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":154311,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:53:55] local.INFO: TCP Data received {"connection_id":154311,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feafb65e0012d0a078007023a580012005f22..."} 
[2026-08-10 14:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafb65e0012d0a078007023a580012005f22..."} 
[2026-08-10 14:53:55] local.INFO: Processing buffer {"connection_id":154311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafb65e0012d0a078007023a580012005f22..."} 
[2026-08-10 14:53:55] local.INFO: Packet analysis {"connection_id":154311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafb"} 
[2026-08-10 14:53:55] local.INFO: Extracted packet for processing {"connection_id":154311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafb"} 
[2026-08-10 14:53:55] local.INFO: GPS Element Parsed {"raw_longitude":755632000,"raw_latitude":117586520,"longitude_deg":75.5632,"latitude_deg":11.758652,"altitude":18,"angle":95,"satellites":34,"speed":0,"hex_longitude":"2d0a0780","hex_latitude":"07023a58","is_valid_coordinates":true} 
[2026-08-10 14:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306560512001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27399799699406848,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":715650158389157888,"note":"Value kept but may cause issues"} 
[2026-08-10 14:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786353772000,"timestamp_ms":1786353772000,"timestamp_seconds":1786353772,"priority":1,"record_length":96,"hex_timestamp":"0000019feafb65e0"} 
[2026-08-10 14:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 14:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":154311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":154311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":154311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306560512001,"66":14407,"19":206,"94":11008,"24":0,"16":27399799699406848,"45":715650158389157888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-10 14:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306560512001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:53:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 14:53:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27399799699406848,"km_value":27399799699406.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":715650158389157888,"description":"Unknown IO ID 45"} 
[2026-08-10 14:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306560512001,"power":14407,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":715650158389157888}} 
[2026-08-10 14:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":154311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620160,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:53:56] local.INFO: GPS data processed {"connection_id":154311,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:53:56] local.INFO: Acknowledgment sent {"connection_id":154311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:53:59] local.INFO: TCP Data received {"connection_id":151932,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:53:59] local.INFO: Processing buffer {"connection_id":151932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:53:59] local.INFO: IMEI packet received {"connection_id":151932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":151932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:54:00] local.INFO: TCP Data received {"connection_id":151537,"ip":"172.234.162.56","data_length":51,"data_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-08-10 14:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151537,"packet_length":51,"packet_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-08-10 14:54:00] local.INFO: Processing buffer {"connection_id":151537,"buffer_length":51,"buffer_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-08-10 14:54:00] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":151537,"buffer_length":51,"first_bytes_hex":"30840000002d02010763840000002404"} 
[2026-08-10 14:54:04] local.INFO: TCP Data received {"connection_id":151932,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:54:04] local.INFO: Processing buffer {"connection_id":151932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:54:04] local.INFO: IMEI packet received {"connection_id":151932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":151932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:54:05] local.INFO: TCP Data received {"connection_id":151933,"ip":"172.234.162.56","data_length":14,"data_hex":"300c020101600702010204008000..."} 
[2026-08-10 14:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151933,"packet_length":14,"packet_hex":"300c020101600702010204008000..."} 
[2026-08-10 14:54:05] local.INFO: Processing buffer {"connection_id":151933,"buffer_length":14,"buffer_hex":"300c020101600702010204008000..."} 
[2026-08-10 14:54:05] local.INFO: TCP Data received {"connection_id":151932,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:54:05] local.INFO: Processing buffer {"connection_id":151932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:54:05] local.INFO: Packet analysis {"connection_id":151932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:54:05] local.INFO: Extracted packet for processing {"connection_id":151932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306441472001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353588000,"timestamp_ms":1786353588000,"timestamp_seconds":1786353588,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf89720"} 
[2026-08-10 14:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:54: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-08-10 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 14:54: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-08-10 14: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-08-10 14:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306441472001,"66":25288,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306441472001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:54:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306441472001,"power":25288,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":151932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:54:05] local.INFO: GPS data processed {"connection_id":151932,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:54:05] local.INFO: Acknowledgment sent {"connection_id":151932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:54:10] local.INFO: TCP Data received {"connection_id":154312,"ip":"172.234.162.56","data_length":223,"data_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-08-10 14:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154312,"packet_length":223,"packet_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-08-10 14:54:10] local.INFO: Processing buffer {"connection_id":154312,"buffer_length":223,"buffer_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-08-10 14:54:10] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":154312,"buffer_length":223,"first_bytes_hex":"4f5054494f4e53207369703a6e6d2053"} 
[2026-08-10 14:54:17] local.INFO: TCP Data received {"connection_id":154313,"ip":"172.234.162.56","data_length":16,"data_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-08-10 14:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154313,"packet_length":16,"packet_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-08-10 14:54:17] local.INFO: Processing buffer {"connection_id":154313,"buffer_length":16,"buffer_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-08-10 14:54:17] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":154313,"buffer_length":16,"first_bytes_hex":"544e4d5004000000544e4d4500000400"} 
[2026-08-10 14:54:22] local.INFO: TCP Data received {"connection_id":152863,"ip":"172.234.162.56","data_length":11,"data_hex":"0300000b06e00000000000..."} 
[2026-08-10 14:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152863,"packet_length":11,"packet_hex":"0300000b06e00000000000..."} 
[2026-08-10 14:54:22] local.INFO: Processing buffer {"connection_id":152863,"buffer_length":11,"buffer_hex":"0300000b06e00000000000..."} 
[2026-08-10 14:54:27] local.INFO: TCP Data received {"connection_id":154311,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feafbb7e8012d0a1000070238780012006420..."} 
[2026-08-10 14:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafbb7e8012d0a1000070238780012006420..."} 
[2026-08-10 14:54:27] local.INFO: Processing buffer {"connection_id":154311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafbb7e8012d0a1000070238780012006420..."} 
[2026-08-10 14:54:27] local.INFO: Packet analysis {"connection_id":154311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafb"} 
[2026-08-10 14:54:27] local.INFO: Extracted packet for processing {"connection_id":154311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafb"} 
[2026-08-10 14:54:27] local.INFO: GPS Element Parsed {"raw_longitude":755634176,"raw_latitude":117586040,"longitude_deg":75.5634176,"latitude_deg":11.758604,"altitude":18,"angle":100,"satellites":32,"speed":23,"hex_longitude":"2d0a1000","hex_latitude":"07023878","is_valid_coordinates":true} 
[2026-08-10 14:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306565632001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27399902778621952,"note":"Value kept but may cause issues"} 
[2026-08-10 14:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":722687032806758400,"note":"Value kept but may cause issues"} 
[2026-08-10 14:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786353793000,"timestamp_ms":1786353793000,"timestamp_seconds":1786353793,"priority":1,"record_length":96,"hex_timestamp":"0000019feafbb7e8"} 
[2026-08-10 14:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 14:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":154311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":154311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":154311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306565632001,"66":14439,"19":206,"94":11008,"24":23,"16":27399902778621952,"45":722687032806758400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-10 14:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306565632001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:54:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 14:54:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27399902778621952,"km_value":27399902778621.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":722687032806758400,"description":"Unknown IO ID 45"} 
[2026-08-10 14:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306565632001,"power":14439,"unknown_19":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":722687032806758400}} 
[2026-08-10 14:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":154311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620162,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:54:27] local.INFO: GPS data processed {"connection_id":154311,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:54:27] local.INFO: Acknowledgment sent {"connection_id":154311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:54:27] local.INFO: TCP Data received {"connection_id":151934,"ip":"172.234.162.56","data_length":23,"data_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-08-10 14:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151934,"packet_length":23,"packet_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-08-10 14:54:27] local.INFO: Processing buffer {"connection_id":151934,"buffer_length":23,"buffer_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-08-10 14:54:27] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":151934,"buffer_length":23,"first_bytes_hex":"446d6454000000170000000100000000"} 
[2026-08-10 14:54:32] local.INFO: TCP Data received {"connection_id":151935,"ip":"172.234.162.56","data_length":60,"data_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-08-10 14:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151935,"packet_length":60,"packet_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-08-10 14:54:32] local.INFO: Processing buffer {"connection_id":151935,"buffer_length":60,"buffer_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-08-10 14:54:32] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":151935,"buffer_length":60,"first_bytes_hex":"3a0000002f00000002000040020f0001"} 
[2026-08-10 14:54:37] local.INFO: TCP Data received {"connection_id":151932,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:54:37] local.INFO: Processing buffer {"connection_id":151932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:54:37] local.INFO: Packet analysis {"connection_id":151932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:54:37] local.INFO: Extracted packet for processing {"connection_id":151932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306441472001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786353588000,"timestamp_ms":1786353588000,"timestamp_seconds":1786353588,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf89720"} 
[2026-08-10 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-08-10 14: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-08-10 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 14:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306441472001,"66":25288,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306441472001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:54:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306441472001,"power":25288,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":151932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:54:37] local.INFO: GPS data processed {"connection_id":151932,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:54:37] local.INFO: Acknowledgment sent {"connection_id":151932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:54:37] local.INFO: TCP Data received {"connection_id":151538,"ip":"172.234.162.56","data_length":7,"data_hex":"4a524d4900024b..."} 
[2026-08-10 14:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151538,"packet_length":7,"packet_hex":"4a524d4900024b..."} 
[2026-08-10 14:54:37] local.INFO: Processing buffer {"connection_id":151538,"buffer_length":7,"buffer_hex":"4a524d4900024b..."} 
[2026-08-10 14:54:42] local.INFO: TCP Data received {"connection_id":152865,"ip":"172.234.162.56","data_length":175,"data_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-08-10 14:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152865,"packet_length":175,"packet_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-08-10 14:54:42] local.INFO: Processing buffer {"connection_id":152865,"buffer_length":175,"buffer_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-08-10 14:54:42] local.INFO: Found valid packet candidate {"position":24,"data_field_length":18,"total_length":30,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-08-10 14:54:42] local.INFO: Found valid Teltonika packet at position {"connection_id":152865,"packet_position":24,"bytes_removed":24} 
[2026-08-10 14:54:42] local.INFO: Packet analysis {"connection_id":152865,"data_field_length":18,"total_packet_length":30,"buffer_length":151,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-08-10 14:54:42] local.INFO: Extracted packet for processing {"connection_id":152865,"packet_length":30,"remaining_buffer_length":121,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-08-10 14:54:42] local.WARNING: Failed to parse Teltonika packet {"connection_id":152865,"packet_length":30} 
[2026-08-10 14:54:42] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":152865,"buffer_length":121,"first_bytes_hex":"0050006c0061007900650072002f0039"} 
[2026-08-10 14:54:48] local.INFO: TCP Data received {"connection_id":154314,"ip":"172.234.162.56","data_length":90,"data_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-08-10 14:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154314,"packet_length":90,"packet_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-08-10 14:54:48] local.INFO: Processing buffer {"connection_id":154314,"buffer_length":90,"buffer_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-08-10 14:54:48] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":154314,"buffer_length":90,"first_bytes_hex":"005a0000010000000136012c00000800"} 
[2026-08-10 14:54:52] local.INFO: TCP Data received {"connection_id":152866,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:54:52] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:54:52] local.INFO: IMEI packet received {"connection_id":152866,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":152866,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:54:53] local.INFO: TCP Data received {"connection_id":152867,"ip":"172.234.162.56","data_length":52,"data_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-08-10 14:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152867,"packet_length":52,"packet_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-08-10 14:54:53] local.INFO: Processing buffer {"connection_id":152867,"buffer_length":52,"buffer_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-08-10 14:54:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":152867,"buffer_length":52,"first_bytes_hex":"1201003400000000000015000601001b"} 
[2026-08-10 14:54:53] local.INFO: TCP Data received {"connection_id":152866,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:54:53] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:54:53] local.INFO: IMEI packet received {"connection_id":152866,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":152866,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:54:57] local.INFO: TCP Data received {"connection_id":152866,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:54:57] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:54:57] local.INFO: IMEI packet received {"connection_id":152866,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":152866,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:54:58] local.INFO: TCP Data received {"connection_id":151936,"ip":"172.234.162.56","data_length":18,"data_hex":"000300010000000000000002000000000f00..."} 
[2026-08-10 14:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151936,"packet_length":18,"packet_hex":"000300010000000000000002000000000f00..."} 
[2026-08-10 14:54:58] local.INFO: Processing buffer {"connection_id":151936,"buffer_length":18,"buffer_hex":"000300010000000000000002000000000f00..."} 
[2026-08-10 14:54:58] local.INFO: Found valid packet candidate {"position":4,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000000000f00"} 
[2026-08-10 14:54:58] local.INFO: Found valid Teltonika packet at position {"connection_id":151936,"packet_position":4,"bytes_removed":4} 
[2026-08-10 14:54:58] local.INFO: TCP Data received {"connection_id":152866,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feafbe2e0012d0a324007022ff00011007020..."} 
[2026-08-10 14:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafbe2e0012d0a324007022ff00011007020..."} 
[2026-08-10 14:54:58] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafbe2e0012d0a324007022ff00011007020..."} 
[2026-08-10 14:54:58] local.INFO: Packet analysis {"connection_id":152866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafb"} 
[2026-08-10 14:54:58] local.INFO: Extracted packet for processing {"connection_id":152866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafb"} 
[2026-08-10 14:54:58] local.INFO: GPS Element Parsed {"raw_longitude":755642944,"raw_latitude":117583856,"longitude_deg":75.5642944,"latitude_deg":11.7583856,"altitude":17,"angle":112,"satellites":32,"speed":36,"hex_longitude":"2d0a3240","hex_latitude":"07022ff0","is_valid_coordinates":true} 
[2026-08-10 14:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306571008001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27400336570318848,"note":"Value kept but may cause issues"} 
[2026-08-10 14:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":725079570108676096,"note":"Value kept but may cause issues"} 
[2026-08-10 14:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786353804000,"timestamp_ms":1786353804000,"timestamp_seconds":1786353804,"priority":1,"record_length":96,"hex_timestamp":"0000019feafbe2e0"} 
[2026-08-10 14:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 14:54: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-08-10 14:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152866,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152866,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306571008001,"66":14450,"19":206,"94":11008,"24":36,"16":27400336570318848,"45":725079570108676096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-10 14:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306571008001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:54:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 14:54:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27400336570318848,"km_value":27400336570318.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":725079570108676096,"description":"Unknown IO ID 45"} 
[2026-08-10 14:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306571008001,"power":14450,"unknown_19":206,"unknown_94":11008,"ignition":36,"odometer":null,"unknown_45":725079570108676096}} 
[2026-08-10 14:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":152866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620164,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:54:58] local.INFO: GPS data processed {"connection_id":152866,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:54:58] local.INFO: Acknowledgment sent {"connection_id":152866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:54:58] local.INFO: TCP Data received {"connection_id":154315,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:54:58] local.INFO: Processing buffer {"connection_id":154315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:54:58] local.INFO: IMEI packet received {"connection_id":154315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":154315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:55:03] local.INFO: TCP Data received {"connection_id":151539,"ip":"172.234.162.56","data_length":48,"data_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-08-10 14:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151539,"packet_length":48,"packet_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-08-10 14:55:03] local.INFO: Processing buffer {"connection_id":151539,"buffer_length":48,"buffer_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-08-10 14:55:03] local.INFO: Found valid packet candidate {"position":9,"data_field_length":1,"total_length":13,"packet_hex_start":"00000000000000010000000100000006"} 
[2026-08-10 14:55:03] local.INFO: Found valid Teltonika packet at position {"connection_id":151539,"packet_position":9,"bytes_removed":9} 
[2026-08-10 14:55:03] local.INFO: Packet analysis {"connection_id":151539,"data_field_length":1,"total_packet_length":13,"buffer_length":39,"packet_hex_start":"00000000000000010000000100000006"} 
[2026-08-10 14:55:03] local.INFO: Extracted packet for processing {"connection_id":151539,"packet_length":13,"remaining_buffer_length":26,"packet_hex_start":"00000000000000010000000100"} 
[2026-08-10 14:55:03] local.WARNING: Failed to parse Teltonika packet {"connection_id":151539,"packet_length":13} 
[2026-08-10 14:55:03] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":151539,"buffer_length":26,"first_bytes_hex":"00000600000061626364656600000400"} 
[2026-08-10 14:55:04] local.INFO: TCP Data received {"connection_id":154315,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:55:04] local.INFO: Processing buffer {"connection_id":154315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:55:04] local.INFO: IMEI packet received {"connection_id":154315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":154315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:55:05] local.INFO: TCP Data received {"connection_id":154315,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:55:05] local.INFO: Processing buffer {"connection_id":154315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaf89720012d342a4006abc2800013010222..."} 
[2026-08-10 14:55:05] local.INFO: Packet analysis {"connection_id":154315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:55:05] local.INFO: Extracted packet for processing {"connection_id":154315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaf8"} 
[2026-08-10 14:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306441472001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353588000,"timestamp_ms":1786353588000,"timestamp_seconds":1786353588,"priority":1,"record_length":96,"hex_timestamp":"0000019feaf89720"} 
[2026-08-10 14:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:55: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-08-10 14:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 14:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306441472001,"66":25288,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306441472001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:55:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306441472001,"power":25288,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":154315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:55:05] local.INFO: GPS data processed {"connection_id":154315,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:55:05] local.INFO: Acknowledgment sent {"connection_id":154315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:55:08] local.INFO: TCP Data received {"connection_id":151540,"ip":"172.234.162.56","data_length":8,"data_hex":"414d515000000901..."} 
[2026-08-10 14:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151540,"packet_length":8,"packet_hex":"414d515000000901..."} 
[2026-08-10 14:55:08] local.INFO: Processing buffer {"connection_id":151540,"buffer_length":8,"buffer_hex":"414d515000000901..."} 
[2026-08-10 14:55:13] local.INFO: TCP Data received {"connection_id":154316,"ip":"172.234.162.56","data_length":32,"data_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-08-10 14:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154316,"packet_length":32,"packet_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-08-10 14:55:13] local.INFO: Processing buffer {"connection_id":154316,"buffer_length":32,"buffer_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-08-10 14:55:13] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":154316,"buffer_length":32,"first_bytes_hex":"474554202f646576696365646573632e"} 
[2026-08-10 14:55:18] local.INFO: TCP Data received {"connection_id":151541,"ip":"172.234.162.56","data_length":29,"data_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-08-10 14:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151541,"packet_length":29,"packet_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-08-10 14:55:18] local.INFO: Processing buffer {"connection_id":151541,"buffer_length":29,"buffer_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-08-10 14:55:18] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":151541,"buffer_length":29,"first_bytes_hex":"434f4e4e4543540a6163636570742d76"} 
[2026-08-10 14:55:23] local.INFO: TCP Data received {"connection_id":151542,"ip":"172.234.162.56","data_length":64,"data_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-08-10 14:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151542,"packet_length":64,"packet_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-08-10 14:55:23] local.INFO: Processing buffer {"connection_id":151542,"buffer_length":64,"buffer_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-08-10 14:55:23] local.INFO: Found valid packet candidate {"position":1,"data_field_length":11,"total_length":23,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-08-10 14:55:23] local.INFO: Found valid Teltonika packet at position {"connection_id":151542,"packet_position":1,"bytes_removed":1} 
[2026-08-10 14:55:23] local.INFO: Packet analysis {"connection_id":151542,"data_field_length":11,"total_packet_length":23,"buffer_length":63,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-08-10 14:55:23] local.INFO: Extracted packet for processing {"connection_id":151542,"packet_length":23,"remaining_buffer_length":40,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-08-10 14:55:23] local.WARNING: Failed to parse Teltonika packet {"connection_id":151542,"packet_length":23} 
[2026-08-10 14:55:23] local.WARNING: Invalid data field length, searching for next valid packet {"connection_id":151542,"data_field_length":0,"buffer_length":40} 
[2026-08-10 14:55:23] local.INFO: Found valid packet candidate {"position":5,"data_field_length":8,"total_length":20,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-08-10 14:55:23] local.INFO: Packet analysis {"connection_id":151542,"data_field_length":8,"total_packet_length":20,"buffer_length":31,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-08-10 14:55:23] local.INFO: Extracted packet for processing {"connection_id":151542,"packet_length":20,"remaining_buffer_length":11,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-08-10 14:55:23] local.WARNING: Failed to parse Teltonika packet {"connection_id":151542,"packet_length":20} 
[2026-08-10 14:55:28] local.INFO: TCP Data received {"connection_id":152868,"ip":"172.234.162.56","data_length":4,"data_hex":"01000000..."} 
[2026-08-10 14:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152868,"packet_length":4,"packet_hex":"01000000..."} 
[2026-08-10 14:55:28] local.INFO: Processing buffer {"connection_id":152868,"buffer_length":4,"buffer_hex":"01000000..."} 
[2026-08-10 14:55:29] local.INFO: TCP Data received {"connection_id":152866,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feafd7d08012d0b2440070231080018002221..."} 
[2026-08-10 14:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafd7d08012d0b2440070231080018002221..."} 
[2026-08-10 14:55:29] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafd7d08012d0b2440070231080018002221..."} 
[2026-08-10 14:55:29] local.INFO: Packet analysis {"connection_id":152866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:55:29] local.INFO: Extracted packet for processing {"connection_id":152866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:55:29] local.INFO: GPS Element Parsed {"raw_longitude":755704896,"raw_latitude":117584136,"longitude_deg":75.5704896,"latitude_deg":11.7584136,"altitude":24,"angle":34,"satellites":33,"speed":5,"hex_longitude":"2d0b2440","hex_latitude":"07023108","is_valid_coordinates":true} 
[2026-08-10 14:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306599424001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27403360227295232,"note":"Value kept but may cause issues"} 
[2026-08-10 14:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801711132517652480,"note":"Value kept but may cause issues"} 
[2026-08-10 14:55: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-08-10 14:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786353909000,"timestamp_ms":1786353909000,"timestamp_seconds":1786353909,"priority":1,"record_length":96,"hex_timestamp":"0000019feafd7d08"} 
[2026-08-10 14:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 14:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:55:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152866,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152866,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 14:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 14:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 14:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306599424001,"66":14548,"17":206,"94":11008,"24":5,"16":27403360227295232,"45":801711132517652480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 14:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 14:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 14:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306599424001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:55:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 14:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27403360227295232,"km_value":27403360227295.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":801711132517652480,"description":"Unknown IO ID 45"} 
[2026-08-10 14:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306599424001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":801711132517652480}} 
[2026-08-10 14:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":152866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620166,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:55:29] local.INFO: GPS data processed {"connection_id":152866,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:55:29] local.INFO: Acknowledgment sent {"connection_id":152866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:55:33] local.INFO: TCP Data received {"connection_id":151543,"ip":"172.234.162.56","data_length":24,"data_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-08-10 14:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151543,"packet_length":24,"packet_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-08-10 14:55:33] local.INFO: Processing buffer {"connection_id":151543,"buffer_length":24,"buffer_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-08-10 14:55:33] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":151543,"buffer_length":24,"first_bytes_hex":"63000000000000000000000000000000"} 
[2026-08-10 14:55:37] local.INFO: TCP Data received {"connection_id":154315,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:55:37] local.INFO: Processing buffer {"connection_id":154315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:55:37] local.INFO: Packet analysis {"connection_id":154315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:55:37] local.INFO: Extracted packet for processing {"connection_id":154315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306518528001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786353889000,"timestamp_ms":1786353889000,"timestamp_seconds":1786353889,"priority":1,"record_length":96,"hex_timestamp":"0000019feafd2ee8"} 
[2026-08-10 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-08-10 14:55: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-08-10 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 14:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306518528001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306518528001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:55:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306518528001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":154315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:55:37] local.INFO: GPS data processed {"connection_id":154315,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:55:37] local.INFO: Acknowledgment sent {"connection_id":154315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:55:43] local.INFO: TCP Data received {"connection_id":152869,"ip":"172.234.162.56","data_length":110,"data_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-08-10 14:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152869,"packet_length":110,"packet_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-08-10 14:55:43] local.INFO: Processing buffer {"connection_id":152869,"buffer_length":110,"buffer_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-08-10 14:55:43] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":152869,"buffer_length":110,"first_bytes_hex":"1603000069010000650303551ca7e472"} 
[2026-08-10 14:55:52] local.INFO: TCP Data received {"connection_id":151544,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151544,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:55:52] local.INFO: Processing buffer {"connection_id":151544,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:55:52] local.INFO: IMEI packet received {"connection_id":151544,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 14:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":151544,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:55:53] local.INFO: TCP Data received {"connection_id":151544,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151544,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:55:53] local.INFO: Processing buffer {"connection_id":151544,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:55:53] local.INFO: IMEI packet received {"connection_id":151544,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":151544,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:55:54] local.INFO: TCP Data received {"connection_id":151544,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151544,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:55:54] local.INFO: Processing buffer {"connection_id":151544,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:55:54] local.INFO: IMEI packet received {"connection_id":151544,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":151544,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:55:55] local.INFO: TCP Data received {"connection_id":151544,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151544,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:55:55] local.INFO: Processing buffer {"connection_id":151544,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 14:55:55] local.INFO: IMEI packet received {"connection_id":151544,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 14:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":151544,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:55:59] local.INFO: TCP Data received {"connection_id":151937,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:55:59] local.INFO: Processing buffer {"connection_id":151937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:55:59] local.INFO: IMEI packet received {"connection_id":151937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":151937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:56:04] local.INFO: TCP Data received {"connection_id":151937,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:56:04] local.INFO: Processing buffer {"connection_id":151937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:56:04] local.INFO: IMEI packet received {"connection_id":151937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":151937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:56:05] local.INFO: TCP Data received {"connection_id":151937,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:56:05] local.INFO: Processing buffer {"connection_id":151937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:56:05] local.INFO: Packet analysis {"connection_id":151937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:56:05] local.INFO: Extracted packet for processing {"connection_id":151937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306518528001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353889000,"timestamp_ms":1786353889000,"timestamp_seconds":1786353889,"priority":1,"record_length":96,"hex_timestamp":"0000019feafd2ee8"} 
[2026-08-10 14:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 14:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306518528001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306518528001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:56:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306518528001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":151937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:56:05] local.INFO: GPS data processed {"connection_id":151937,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:56:05] local.INFO: Acknowledgment sent {"connection_id":151937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:56:14] local.INFO: TCP Data received {"connection_id":151938,"ip":"172.234.162.56","data_length":44,"data_hex":"8000002807fbd2db0000000000000002000186a0000000020000000000000000..."} 
[2026-08-10 14:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151938,"packet_length":44,"packet_hex":"8000002807fbd2db0000000000000002000186a0000000020000000000000000..."} 
[2026-08-10 14:56:14] local.INFO: Processing buffer {"connection_id":151938,"buffer_length":44,"buffer_hex":"8000002807fbd2db0000000000000002000186a0000000020000000000000000..."} 
[2026-08-10 14:56:14] local.INFO: Found valid packet candidate {"position":8,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000186a000000002"} 
[2026-08-10 14:56:14] local.INFO: Found valid Teltonika packet at position {"connection_id":151938,"packet_position":8,"bytes_removed":8} 
[2026-08-10 14:56:14] local.INFO: Packet analysis {"connection_id":151938,"data_field_length":2,"total_packet_length":14,"buffer_length":36,"packet_hex_start":"0000000000000002000186a000000002"} 
[2026-08-10 14:56:14] local.INFO: Extracted packet for processing {"connection_id":151938,"packet_length":14,"remaining_buffer_length":22,"packet_hex_start":"0000000000000002000186a00000"} 
[2026-08-10 14:56:14] local.WARNING: Failed to parse Teltonika packet {"connection_id":151938,"packet_length":14} 
[2026-08-10 14:56:14] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":151938,"buffer_length":22,"first_bytes_hex":"00020000000000000000000000000000"} 
[2026-08-10 14:56:36] local.INFO: TCP Data received {"connection_id":151937,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:56:36] local.INFO: Processing buffer {"connection_id":151937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:56:36] local.INFO: Packet analysis {"connection_id":151937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:56:36] local.INFO: Extracted packet for processing {"connection_id":151937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306518528001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786353889000,"timestamp_ms":1786353889000,"timestamp_seconds":1786353889,"priority":1,"record_length":96,"hex_timestamp":"0000019feafd2ee8"} 
[2026-08-10 14:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 14:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306518528001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306518528001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:56:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306518528001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":151937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:56:36] local.INFO: GPS data processed {"connection_id":151937,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:56:36] local.INFO: Acknowledgment sent {"connection_id":151937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:56:59] local.INFO: TCP Data received {"connection_id":152871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:56:59] local.INFO: Processing buffer {"connection_id":152871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:56:59] local.INFO: IMEI packet received {"connection_id":152871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":152871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:57:04] local.INFO: TCP Data received {"connection_id":152871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:57:04] local.INFO: Processing buffer {"connection_id":152871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:57:04] local.INFO: IMEI packet received {"connection_id":152871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":152871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:57:05] local.INFO: TCP Data received {"connection_id":152871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:57:05] local.INFO: Processing buffer {"connection_id":152871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:57:05] local.INFO: Packet analysis {"connection_id":152871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:57:05] local.INFO: Extracted packet for processing {"connection_id":152871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306518528001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353889000,"timestamp_ms":1786353889000,"timestamp_seconds":1786353889,"priority":1,"record_length":96,"hex_timestamp":"0000019feafd2ee8"} 
[2026-08-10 14:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 14:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306518528001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306518528001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:57:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306518528001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":152871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:57:05] local.INFO: GPS data processed {"connection_id":152871,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:57:05] local.INFO: Acknowledgment sent {"connection_id":152871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:57:36] local.INFO: TCP Data received {"connection_id":152871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:57:36] local.INFO: Processing buffer {"connection_id":152871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:57:36] local.INFO: Packet analysis {"connection_id":152871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:57:36] local.INFO: Extracted packet for processing {"connection_id":152871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306518528001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786353889000,"timestamp_ms":1786353889000,"timestamp_seconds":1786353889,"priority":1,"record_length":96,"hex_timestamp":"0000019feafd2ee8"} 
[2026-08-10 14:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 14:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306518528001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306518528001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:57:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306518528001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":152871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:57:36] local.INFO: GPS data processed {"connection_id":152871,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:57:36] local.INFO: Acknowledgment sent {"connection_id":152871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:57:59] local.INFO: TCP Data received {"connection_id":154318,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:57:59] local.INFO: Processing buffer {"connection_id":154318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:57:59] local.INFO: IMEI packet received {"connection_id":154318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":154318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:58:04] local.INFO: TCP Data received {"connection_id":154318,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:58:04] local.INFO: Processing buffer {"connection_id":154318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:58:04] local.INFO: IMEI packet received {"connection_id":154318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":154318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:58:05] local.INFO: TCP Data received {"connection_id":154318,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:58:05] local.INFO: Processing buffer {"connection_id":154318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:58:05] local.INFO: Packet analysis {"connection_id":154318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:58:05] local.INFO: Extracted packet for processing {"connection_id":154318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306518528001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353889000,"timestamp_ms":1786353889000,"timestamp_seconds":1786353889,"priority":1,"record_length":96,"hex_timestamp":"0000019feafd2ee8"} 
[2026-08-10 14:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:58: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-08-10 14: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 14:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306518528001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306518528001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:58:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306518528001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":154318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:58:05] local.INFO: GPS data processed {"connection_id":154318,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:58:05] local.INFO: Acknowledgment sent {"connection_id":154318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:58:36] local.INFO: TCP Data received {"connection_id":154318,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:58:36] local.INFO: Processing buffer {"connection_id":154318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:58:36] local.INFO: Packet analysis {"connection_id":154318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:58:36] local.INFO: Extracted packet for processing {"connection_id":154318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 14:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306518528001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786353889000,"timestamp_ms":1786353889000,"timestamp_seconds":1786353889,"priority":1,"record_length":96,"hex_timestamp":"0000019feafd2ee8"} 
[2026-08-10 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-08-10 14:58: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-08-10 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 14:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 14:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306518528001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306518528001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:58:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306518528001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":154318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:58:36] local.INFO: GPS data processed {"connection_id":154318,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:58:36] local.INFO: Acknowledgment sent {"connection_id":154318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:58:48] local.INFO: TCP Data received {"connection_id":151547,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:58:48] local.INFO: Processing buffer {"connection_id":151547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:58:48] local.INFO: IMEI packet received {"connection_id":151547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":151547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:58:49] local.INFO: TCP Data received {"connection_id":151547,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feaff8490012d19c34007202c50002e015326..."} 
[2026-08-10 14:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feaff8490012d19c34007202c50002e015326..."} 
[2026-08-10 14:58:49] local.INFO: Processing buffer {"connection_id":151547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feaff8490012d19c34007202c50002e015326..."} 
[2026-08-10 14:58:49] local.INFO: Packet analysis {"connection_id":151547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feaff"} 
[2026-08-10 14:58:49] local.INFO: Extracted packet for processing {"connection_id":151547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feaff"} 
[2026-08-10 14:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119549008,"longitude_deg":75.6663104,"latitude_deg":11.9549008,"altitude":46,"angle":339,"satellites":38,"speed":26,"hex_longitude":"2d19c340","hex_latitude":"07202c50","is_valid_coordinates":true} 
[2026-08-10 14:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306632192001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11431613804052480,"note":"Value kept but may cause issues"} 
[2026-08-10 14:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242032640,"note":"Value kept but may cause issues"} 
[2026-08-10 14:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786354042000,"timestamp_ms":1786354042000,"timestamp_seconds":1786354042,"priority":1,"record_length":96,"hex_timestamp":"0000019feaff8490"} 
[2026-08-10 14:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 14:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306632192001,"66":14461,"103":206,"83":41984,"24":26,"16":11431613804052480,"45":1859564464242032640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 14:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306632192001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:58:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 14:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11431613804052480,"km_value":11431613804052.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242032640,"description":"Unknown IO ID 45"} 
[2026-08-10 14:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306632192001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1859564464242032640}} 
[2026-08-10 14:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":151547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:58:49] local.INFO: GPS data processed {"connection_id":151547,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:58:49] local.INFO: Acknowledgment sent {"connection_id":151547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:58:58] local.INFO: TCP Data received {"connection_id":152872,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:58:58] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:58:58] local.INFO: IMEI packet received {"connection_id":152872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":152872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:59:04] local.INFO: TCP Data received {"connection_id":152872,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:59:04] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:59:04] local.INFO: IMEI packet received {"connection_id":152872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 14:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":152872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:59:05] local.INFO: TCP Data received {"connection_id":152872,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:59:05] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:59:05] local.INFO: Packet analysis {"connection_id":152872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:59:05] local.INFO: Extracted packet for processing {"connection_id":152872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306518528001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353889000,"timestamp_ms":1786353889000,"timestamp_seconds":1786353889,"priority":1,"record_length":96,"hex_timestamp":"0000019feafd2ee8"} 
[2026-08-10 14:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14: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-08-10 14:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 14:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:59: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-08-10 14:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306518528001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306518528001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:59:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306518528001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":152872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:59:05] local.INFO: GPS data processed {"connection_id":152872,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:59:05] local.INFO: Acknowledgment sent {"connection_id":152872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:59:20] local.INFO: TCP Data received {"connection_id":151547,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb008a48012d1985000720b2e80037010526..."} 
[2026-08-10 14:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb008a48012d1985000720b2e80037010526..."} 
[2026-08-10 14:59:20] local.INFO: Processing buffer {"connection_id":151547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb008a48012d1985000720b2e80037010526..."} 
[2026-08-10 14:59:20] local.INFO: Packet analysis {"connection_id":151547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb00"} 
[2026-08-10 14:59:20] local.INFO: Extracted packet for processing {"connection_id":151547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb00"} 
[2026-08-10 14:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119583464,"longitude_deg":75.6647168,"latitude_deg":11.9583464,"altitude":55,"angle":261,"satellites":38,"speed":31,"hex_longitude":"2d198500","hex_latitude":"0720b2e8","is_valid_coordinates":true} 
[2026-08-10 14:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306648832001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11433920201490432,"note":"Value kept but may cause issues"} 
[2026-08-10 14:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848235096439584768,"note":"Value kept but may cause issues"} 
[2026-08-10 14:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786354109000,"timestamp_ms":1786354109000,"timestamp_seconds":1786354109,"priority":1,"record_length":96,"hex_timestamp":"0000019feb008a48"} 
[2026-08-10 14:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 14:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306648832001,"66":14396,"103":206,"83":41984,"24":31,"16":11433920201490432,"45":1848235096439584768},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 14:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306648832001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:59:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 14:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11433920201490432,"km_value":11433920201490.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848235096439584768,"description":"Unknown IO ID 45"} 
[2026-08-10 14:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306648832001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1848235096439584768}} 
[2026-08-10 14:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":151547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:59:20] local.INFO: GPS data processed {"connection_id":151547,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:59:20] local.INFO: Acknowledgment sent {"connection_id":151547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:59:36] local.INFO: TCP Data received {"connection_id":152872,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:59:36] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 14:59:36] local.INFO: Packet analysis {"connection_id":152872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:59:36] local.INFO: Extracted packet for processing {"connection_id":152872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 14:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 14: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-08-10 14:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306518528001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 14:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 14:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786353889000,"timestamp_ms":1786353889000,"timestamp_seconds":1786353889,"priority":1,"record_length":96,"hex_timestamp":"0000019feafd2ee8"} 
[2026-08-10 14:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:59: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-08-10 14: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 14:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14: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-08-10 14:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 14:59: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-08-10 14:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 14:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 14:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306518528001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 14:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 14:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 14:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306518528001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:59:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 14:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 14:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 14:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306518528001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 14:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":152872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:59:36] local.INFO: GPS data processed {"connection_id":152872,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:59:36] local.INFO: Acknowledgment sent {"connection_id":152872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:59:42] local.INFO: TCP Data received {"connection_id":151939,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:59:42] local.INFO: Processing buffer {"connection_id":151939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:59:42] local.INFO: IMEI packet received {"connection_id":151939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 14:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":151939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 14:59:46] local.INFO: TCP Data received {"connection_id":151939,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:59:46] local.INFO: Processing buffer {"connection_id":151939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:59:46] local.INFO: IMEI packet received {"connection_id":151939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":151939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:59:47] local.INFO: TCP Data received {"connection_id":151939,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:59:47] local.INFO: Processing buffer {"connection_id":151939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 14:59:47] local.INFO: IMEI packet received {"connection_id":151939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 14:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":151939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 14:59:47] local.INFO: TCP Data received {"connection_id":151939,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb00a1b8012d1972000720ae50003500fa26..."} 
[2026-08-10 14:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb00a1b8012d1972000720ae50003500fa26..."} 
[2026-08-10 14:59:47] local.INFO: Processing buffer {"connection_id":151939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb00a1b8012d1972000720ae50003500fa26..."} 
[2026-08-10 14:59:47] local.INFO: Packet analysis {"connection_id":151939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb00"} 
[2026-08-10 14:59:47] local.INFO: Extracted packet for processing {"connection_id":151939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb00"} 
[2026-08-10 14:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756642304,"raw_latitude":119582288,"longitude_deg":75.6642304,"latitude_deg":11.9582288,"altitude":53,"angle":250,"satellites":38,"speed":32,"hex_longitude":"2d197200","hex_latitude":"0720ae50","is_valid_coordinates":true} 
[2026-08-10 14:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 14:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306651904001,"note":"Value kept but may cause issues"} 
[2026-08-10 14:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11434156424691712,"note":"Value kept but may cause issues"} 
[2026-08-10 14:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053464082432,"note":"Value kept but may cause issues"} 
[2026-08-10 14:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 14:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786354115000,"timestamp_ms":1786354115000,"timestamp_seconds":1786354115,"priority":1,"record_length":96,"hex_timestamp":"0000019feb00a1b8"} 
[2026-08-10 14:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 14:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 14: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":60,"data_length":795,"current_offset":136} 
[2026-08-10 14:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 14:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 14:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 14:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 14:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 14:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 14:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 14:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 14:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 14:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306651904001,"66":14026,"103":206,"83":41984,"24":32,"16":11434156424691712,"45":1838876053464082432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 14:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 14:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 14:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306651904001,"description":"Unknown IO ID 0"} 
[2026-08-10 14:59:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 14:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 14:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11434156424691712,"km_value":11434156424691.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 14:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053464082432,"description":"Unknown IO ID 45"} 
[2026-08-10 14:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306651904001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1838876053464082432}} 
[2026-08-10 14:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":151939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 14:59:47] local.INFO: GPS data processed {"connection_id":151939,"processed":1,"errors":0,"total":1} 
[2026-08-10 14:59:47] local.INFO: Acknowledgment sent {"connection_id":151939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 14:59:58] local.INFO: TCP Data received {"connection_id":154319,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:59:58] local.INFO: Processing buffer {"connection_id":154319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 14:59:58] local.INFO: IMEI packet received {"connection_id":154319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 14:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":154319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:00:04] local.INFO: TCP Data received {"connection_id":154319,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:00:04] local.INFO: Processing buffer {"connection_id":154319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:00:04] local.INFO: IMEI packet received {"connection_id":154319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":154319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:00:05] local.INFO: TCP Data received {"connection_id":154319,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 15:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 15:00:05] local.INFO: Processing buffer {"connection_id":154319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feafd2ee8012d342a4006abc2800013010222..."} 
[2026-08-10 15:00:05] local.INFO: Packet analysis {"connection_id":154319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 15:00:05] local.INFO: Extracted packet for processing {"connection_id":154319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feafd"} 
[2026-08-10 15:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306518528001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786353889000,"timestamp_ms":1786353889000,"timestamp_seconds":1786353889,"priority":1,"record_length":96,"hex_timestamp":"0000019feafd2ee8"} 
[2026-08-10 15:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:00: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-08-10 15:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306518528001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306518528001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:00:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306518528001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":154319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:00:05] local.INFO: GPS data processed {"connection_id":154319,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:00:05] local.INFO: Acknowledgment sent {"connection_id":154319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:00:18] local.INFO: TCP Data received {"connection_id":151939,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb00ad70012d1968c00720ac180035010627..."} 
[2026-08-10 15:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb00ad70012d1968c00720ac180035010627..."} 
[2026-08-10 15:00:18] local.INFO: Processing buffer {"connection_id":151939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb00ad70012d1968c00720ac180035010627..."} 
[2026-08-10 15:00:18] local.INFO: Packet analysis {"connection_id":151939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb00"} 
[2026-08-10 15:00:18] local.INFO: Extracted packet for processing {"connection_id":151939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb00"} 
[2026-08-10 15:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581720,"longitude_deg":75.6639936,"latitude_deg":11.958172,"altitude":53,"angle":262,"satellites":39,"speed":30,"hex_longitude":"2d1968c0","hex_latitude":"0720ac18","is_valid_coordinates":true} 
[2026-08-10 15:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306653440001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11434272388808704,"note":"Value kept but may cause issues"} 
[2026-08-10 15:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833528028906278912,"note":"Value kept but may cause issues"} 
[2026-08-10 15:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786354118000,"timestamp_ms":1786354118000,"timestamp_seconds":1786354118,"priority":1,"record_length":96,"hex_timestamp":"0000019feb00ad70"} 
[2026-08-10 15:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:00: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-08-10 15:00: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-08-10 15:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306653440001,"66":13993,"103":206,"83":41984,"24":30,"16":11434272388808704,"45":1833528028906278912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 15:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306653440001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:00:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 15:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11434272388808704,"km_value":11434272388808.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833528028906278912,"description":"Unknown IO ID 45"} 
[2026-08-10 15:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306653440001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1833528028906278912}} 
[2026-08-10 15:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":151939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:00:18] local.INFO: GPS data processed {"connection_id":151939,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:00:18] local.INFO: Acknowledgment sent {"connection_id":151939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:00:36] local.INFO: TCP Data received {"connection_id":154319,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:00:36] local.INFO: Processing buffer {"connection_id":154319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:00:36] local.INFO: Packet analysis {"connection_id":154319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:00:36] local.INFO: Extracted packet for processing {"connection_id":154319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306595584001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786354190000,"timestamp_ms":1786354190000,"timestamp_seconds":1786354190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb01c6b0"} 
[2026-08-10 15:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306595584001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306595584001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:00:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306595584001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":154319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:00:36] local.INFO: GPS data processed {"connection_id":154319,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:00:36] local.INFO: Acknowledgment sent {"connection_id":154319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:00:43] local.INFO: TCP Data received {"connection_id":154320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:00:43] local.INFO: Processing buffer {"connection_id":154320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:00:43] local.INFO: IMEI packet received {"connection_id":154320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":154320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:00:43] local.INFO: TCP Data received {"connection_id":154320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:00:43] local.INFO: Processing buffer {"connection_id":154320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:00:43] local.INFO: IMEI packet received {"connection_id":154320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":154320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:00:47] local.INFO: TCP Data received {"connection_id":154320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:00:47] local.INFO: Processing buffer {"connection_id":154320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:00:47] local.INFO: IMEI packet received {"connection_id":154320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":154320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:00:52] local.INFO: TCP Data received {"connection_id":154320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:00:52] local.INFO: Processing buffer {"connection_id":154320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:00:52] local.INFO: IMEI packet received {"connection_id":154320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":154320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:00:53] local.INFO: TCP Data received {"connection_id":154320,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb019000012d18d0c0072115600040016627..."} 
[2026-08-10 15:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb019000012d18d0c0072115600040016627..."} 
[2026-08-10 15:00:53] local.INFO: Processing buffer {"connection_id":154320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb019000012d18d0c0072115600040016627..."} 
[2026-08-10 15:00:53] local.INFO: Packet analysis {"connection_id":154320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:00:53] local.INFO: Extracted packet for processing {"connection_id":154320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119608672,"longitude_deg":75.6601024,"latitude_deg":11.9608672,"altitude":64,"angle":358,"satellites":39,"speed":34,"hex_longitude":"2d18d0c0","hex_latitude":"07211560","is_valid_coordinates":true} 
[2026-08-10 15:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306667776001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11436716225200128,"note":"Value kept but may cause issues"} 
[2026-08-10 15:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982591725568,"note":"Value kept but may cause issues"} 
[2026-08-10 15:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786354176000,"timestamp_ms":1786354176000,"timestamp_seconds":1786354176,"priority":1,"record_length":96,"hex_timestamp":"0000019feb019000"} 
[2026-08-10 15:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 15:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306667776001,"66":14363,"103":206,"83":41984,"24":34,"16":11436716225200128,"45":1789054982591725568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 15:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306667776001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:00:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 15:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11436716225200128,"km_value":11436716225200.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982591725568,"description":"Unknown IO ID 45"} 
[2026-08-10 15:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306667776001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1789054982591725568}} 
[2026-08-10 15:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":154320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:00:53] local.INFO: GPS data processed {"connection_id":154320,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:00:53] local.INFO: Acknowledgment sent {"connection_id":154320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:00:59] local.INFO: TCP Data received {"connection_id":154321,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:00:59] local.INFO: Processing buffer {"connection_id":154321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:00:59] local.INFO: IMEI packet received {"connection_id":154321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":154321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:01:04] local.INFO: TCP Data received {"connection_id":154321,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:01:04] local.INFO: Processing buffer {"connection_id":154321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:01:04] local.INFO: IMEI packet received {"connection_id":154321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":154321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:01:05] local.INFO: TCP Data received {"connection_id":154321,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:01:05] local.INFO: Processing buffer {"connection_id":154321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:01:05] local.INFO: Packet analysis {"connection_id":154321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:01:05] local.INFO: Extracted packet for processing {"connection_id":154321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306595584001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786354190000,"timestamp_ms":1786354190000,"timestamp_seconds":1786354190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb01c6b0"} 
[2026-08-10 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-08-10 15:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306595584001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306595584001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:01:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306595584001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":154321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:01:05] local.INFO: GPS data processed {"connection_id":154321,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:01:05] local.INFO: Acknowledgment sent {"connection_id":154321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:01:24] local.INFO: TCP Data received {"connection_id":154320,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb01a770012d18d080072129680040015927..."} 
[2026-08-10 15:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb01a770012d18d080072129680040015927..."} 
[2026-08-10 15:01:24] local.INFO: Processing buffer {"connection_id":154320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb01a770012d18d080072129680040015927..."} 
[2026-08-10 15:01:24] local.INFO: Packet analysis {"connection_id":154320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:01:24] local.INFO: Extracted packet for processing {"connection_id":154320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756600960,"raw_latitude":119613800,"longitude_deg":75.660096,"latitude_deg":11.96138,"altitude":64,"angle":345,"satellites":39,"speed":33,"hex_longitude":"2d18d080","hex_latitude":"07212968","is_valid_coordinates":true} 
[2026-08-10 15:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306669056001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11436969628270592,"note":"Value kept but may cause issues"} 
[2026-08-10 15:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188918439936,"note":"Value kept but may cause issues"} 
[2026-08-10 15:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786354182000,"timestamp_ms":1786354182000,"timestamp_seconds":1786354182,"priority":1,"record_length":96,"hex_timestamp":"0000019feb01a770"} 
[2026-08-10 15:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 15:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":154320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":154320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":154320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306669056001,"66":14374,"103":206,"83":41984,"24":33,"16":11436969628270592,"45":1788140188918439936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 15:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306669056001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:01:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 15:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11436969628270592,"km_value":11436969628270.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188918439936,"description":"Unknown IO ID 45"} 
[2026-08-10 15:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306669056001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1788140188918439936}} 
[2026-08-10 15:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":154320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:01:24] local.INFO: GPS data processed {"connection_id":154320,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:01:24] local.INFO: Acknowledgment sent {"connection_id":154320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:01:36] local.INFO: TCP Data received {"connection_id":154321,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:01:36] local.INFO: Processing buffer {"connection_id":154321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:01:36] local.INFO: Packet analysis {"connection_id":154321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:01:36] local.INFO: Extracted packet for processing {"connection_id":154321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306595584001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786354190000,"timestamp_ms":1786354190000,"timestamp_seconds":1786354190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb01c6b0"} 
[2026-08-10 15:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306595584001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306595584001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:01:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306595584001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":154321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:01:36] local.INFO: GPS data processed {"connection_id":154321,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:01:36] local.INFO: Acknowledgment sent {"connection_id":154321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:01:41] local.INFO: TCP Data received {"connection_id":151940,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:01:41] local.INFO: Processing buffer {"connection_id":151940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:01:41] local.INFO: IMEI packet received {"connection_id":151940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":151940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:01:42] local.INFO: TCP Data received {"connection_id":151940,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:01:42] local.INFO: Processing buffer {"connection_id":151940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:01:42] local.INFO: IMEI packet received {"connection_id":151940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":151940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:01:45] local.INFO: TCP Data received {"connection_id":151940,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:01:45] local.INFO: Processing buffer {"connection_id":151940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:01:45] local.INFO: IMEI packet received {"connection_id":151940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":151940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:01:46] local.INFO: TCP Data received {"connection_id":151940,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb02b4f8012d186180072182680048011d26..."} 
[2026-08-10 15:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb02b4f8012d186180072182680048011d26..."} 
[2026-08-10 15:01:46] local.INFO: Processing buffer {"connection_id":151940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb02b4f8012d186180072182680048011d26..."} 
[2026-08-10 15:01:46] local.INFO: Packet analysis {"connection_id":151940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb02"} 
[2026-08-10 15:01:46] local.INFO: Extracted packet for processing {"connection_id":151940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb02"} 
[2026-08-10 15:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756572544,"raw_latitude":119636584,"longitude_deg":75.6572544,"latitude_deg":11.9636584,"altitude":72,"angle":285,"satellites":38,"speed":38,"hex_longitude":"2d186180","hex_latitude":"07218268","is_valid_coordinates":true} 
[2026-08-10 15:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306686464001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11438941018259456,"note":"Value kept but may cause issues"} 
[2026-08-10 15:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764496290881857536,"note":"Value kept but may cause issues"} 
[2026-08-10 15:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786354251000,"timestamp_ms":1786354251000,"timestamp_seconds":1786354251,"priority":1,"record_length":96,"hex_timestamp":"0000019feb02b4f8"} 
[2026-08-10 15:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-10 15:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306686464001,"66":13820,"105":206,"83":41984,"24":38,"16":11438941018259456,"45":1764496290881857536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306686464001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:01:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11438941018259456,"km_value":11438941018259.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764496290881857536,"description":"Unknown IO ID 45"} 
[2026-08-10 15:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306686464001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1764496290881857536}} 
[2026-08-10 15:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":151940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:01:46] local.INFO: GPS data processed {"connection_id":151940,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:01:46] local.INFO: Acknowledgment sent {"connection_id":151940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:01:59] local.INFO: TCP Data received {"connection_id":151548,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:01:59] local.INFO: Processing buffer {"connection_id":151548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:01:59] local.INFO: IMEI packet received {"connection_id":151548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":151548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:02:04] local.INFO: TCP Data received {"connection_id":151548,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:02:04] local.INFO: Processing buffer {"connection_id":151548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:02:04] local.INFO: IMEI packet received {"connection_id":151548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":151548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:02:05] local.INFO: TCP Data received {"connection_id":151548,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:02:05] local.INFO: Processing buffer {"connection_id":151548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:02:05] local.INFO: Packet analysis {"connection_id":151548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:02:05] local.INFO: Extracted packet for processing {"connection_id":151548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306595584001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786354190000,"timestamp_ms":1786354190000,"timestamp_seconds":1786354190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb01c6b0"} 
[2026-08-10 15:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15: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-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306595584001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306595584001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:02:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306595584001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":151548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:02:05] local.INFO: GPS data processed {"connection_id":151548,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:02:05] local.INFO: Acknowledgment sent {"connection_id":151548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:02:17] local.INFO: TCP Data received {"connection_id":151940,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb02bcc8012d185ac0072185280049012825..."} 
[2026-08-10 15:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb02bcc8012d185ac0072185280049012825..."} 
[2026-08-10 15:02:17] local.INFO: Processing buffer {"connection_id":151940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb02bcc8012d185ac0072185280049012825..."} 
[2026-08-10 15:02:17] local.INFO: Packet analysis {"connection_id":151940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb02"} 
[2026-08-10 15:02:17] local.INFO: Extracted packet for processing {"connection_id":151940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb02"} 
[2026-08-10 15:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756570816,"raw_latitude":119637288,"longitude_deg":75.6570816,"latitude_deg":11.9637288,"altitude":73,"angle":296,"satellites":37,"speed":37,"hex_longitude":"2d185ac0","hex_latitude":"07218528","is_valid_coordinates":true} 
[2026-08-10 15:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306688256001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11439031212572672,"note":"Value kept but may cause issues"} 
[2026-08-10 15:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756826097766524928,"note":"Value kept but may cause issues"} 
[2026-08-10 15:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786354253000,"timestamp_ms":1786354253000,"timestamp_seconds":1786354253,"priority":1,"record_length":96,"hex_timestamp":"0000019feb02bcc8"} 
[2026-08-10 15:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-10 15:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306688256001,"66":13852,"105":206,"83":41984,"24":37,"16":11439031212572672,"45":1756826097766524928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306688256001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:02:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11439031212572672,"km_value":11439031212572.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756826097766524928,"description":"Unknown IO ID 45"} 
[2026-08-10 15:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306688256001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1756826097766524928}} 
[2026-08-10 15:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":151940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:02:17] local.INFO: GPS data processed {"connection_id":151940,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:02:17] local.INFO: Acknowledgment sent {"connection_id":151940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:02:36] local.INFO: TCP Data received {"connection_id":151548,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:02:36] local.INFO: Processing buffer {"connection_id":151548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:02:36] local.INFO: Packet analysis {"connection_id":151548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:02:36] local.INFO: Extracted packet for processing {"connection_id":151548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306595584001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786354190000,"timestamp_ms":1786354190000,"timestamp_seconds":1786354190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb01c6b0"} 
[2026-08-10 15:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306595584001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306595584001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:02:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306595584001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":151548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:02:36] local.INFO: GPS data processed {"connection_id":151548,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:02:36] local.INFO: Acknowledgment sent {"connection_id":151548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:02:42] local.INFO: TCP Data received {"connection_id":154322,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:02:42] local.INFO: Processing buffer {"connection_id":154322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:02:42] local.INFO: IMEI packet received {"connection_id":154322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":154322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:02:47] local.INFO: TCP Data received {"connection_id":154322,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:02:47] local.INFO: Processing buffer {"connection_id":154322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:02:47] local.INFO: IMEI packet received {"connection_id":154322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":154322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:02:48] local.INFO: TCP Data received {"connection_id":154322,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb039f58012d1825800721b6c0004c000928..."} 
[2026-08-10 15:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb039f58012d1825800721b6c0004c000928..."} 
[2026-08-10 15:02:48] local.INFO: Processing buffer {"connection_id":154322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb039f58012d1825800721b6c0004c000928..."} 
[2026-08-10 15:02:48] local.INFO: Packet analysis {"connection_id":154322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb03"} 
[2026-08-10 15:02:48] local.INFO: Extracted packet for processing {"connection_id":154322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb03"} 
[2026-08-10 15:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119649984,"longitude_deg":75.6557184,"latitude_deg":11.9649984,"altitude":76,"angle":9,"satellites":40,"speed":9,"hex_longitude":"2d182580","hex_latitude":"0721b6c0","is_valid_coordinates":true} 
[2026-08-10 15:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306701568001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440122134265856,"note":"Value kept but may cause issues"} 
[2026-08-10 15:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306408960,"note":"Value kept but may cause issues"} 
[2026-08-10 15:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786354311000,"timestamp_ms":1786354311000,"timestamp_seconds":1786354311,"priority":1,"record_length":96,"hex_timestamp":"0000019feb039f58"} 
[2026-08-10 15:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:02: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":111,"data_length":795,"current_offset":136} 
[2026-08-10 15:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306701568001,"66":13243,"105":206,"83":41984,"24":9,"16":11440122134265856,"45":1738248749306408960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306701568001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:02:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440122134265856,"km_value":11440122134265.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306408960,"description":"Unknown IO ID 45"} 
[2026-08-10 15:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306701568001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738248749306408960}} 
[2026-08-10 15:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":154322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:02:48] local.INFO: GPS data processed {"connection_id":154322,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:02:48] local.INFO: Acknowledgment sent {"connection_id":154322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:03:00] local.INFO: TCP Data received {"connection_id":151941,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:03:00] local.INFO: Processing buffer {"connection_id":151941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:03:00] local.INFO: IMEI packet received {"connection_id":151941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":151941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:03:04] local.INFO: TCP Data received {"connection_id":151941,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:03:04] local.INFO: Processing buffer {"connection_id":151941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:03:04] local.INFO: IMEI packet received {"connection_id":151941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":151941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:03:05] local.INFO: TCP Data received {"connection_id":151941,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:03:05] local.INFO: Processing buffer {"connection_id":151941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:03:05] local.INFO: Packet analysis {"connection_id":151941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:03:05] local.INFO: Extracted packet for processing {"connection_id":151941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306595584001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786354190000,"timestamp_ms":1786354190000,"timestamp_seconds":1786354190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb01c6b0"} 
[2026-08-10 15:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306595584001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306595584001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:03:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306595584001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":151941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:03:05] local.INFO: GPS data processed {"connection_id":151941,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:03:05] local.INFO: Acknowledgment sent {"connection_id":151941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:03:19] local.INFO: TCP Data received {"connection_id":154322,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb03a340012d1825800721b788004c014f28..."} 
[2026-08-10 15:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb03a340012d1825800721b788004c014f28..."} 
[2026-08-10 15:03:19] local.INFO: Processing buffer {"connection_id":154322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb03a340012d1825800721b788004c014f28..."} 
[2026-08-10 15:03:19] local.INFO: Packet analysis {"connection_id":154322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb03"} 
[2026-08-10 15:03:19] local.INFO: Extracted packet for processing {"connection_id":154322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb03"} 
[2026-08-10 15:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650184,"longitude_deg":75.6557184,"latitude_deg":11.9650184,"altitude":76,"angle":335,"satellites":40,"speed":6,"hex_longitude":"2d182580","hex_latitude":"0721b788","is_valid_coordinates":true} 
[2026-08-10 15:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306703616001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440130724200448,"note":"Value kept but may cause issues"} 
[2026-08-10 15:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167315968,"note":"Value kept but may cause issues"} 
[2026-08-10 15:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786354312000,"timestamp_ms":1786354312000,"timestamp_seconds":1786354312,"priority":1,"record_length":96,"hex_timestamp":"0000019feb03a340"} 
[2026-08-10 15:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 15:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306703616001,"66":13243,"105":206,"83":41984,"24":6,"16":11440130724200448,"45":1739937599167315968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306703616001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:03:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440130724200448,"km_value":11440130724200.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167315968,"description":"Unknown IO ID 45"} 
[2026-08-10 15:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306703616001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739937599167315968}} 
[2026-08-10 15:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":154322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:03:19] local.INFO: GPS data processed {"connection_id":154322,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:03:19] local.INFO: Acknowledgment sent {"connection_id":154322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:03:36] local.INFO: TCP Data received {"connection_id":151941,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:03:36] local.INFO: Processing buffer {"connection_id":151941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:03:36] local.INFO: Packet analysis {"connection_id":151941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:03:36] local.INFO: Extracted packet for processing {"connection_id":151941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306595584001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786354190000,"timestamp_ms":1786354190000,"timestamp_seconds":1786354190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb01c6b0"} 
[2026-08-10 15:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306595584001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306595584001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:03:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306595584001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":151941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:03:36] local.INFO: GPS data processed {"connection_id":151941,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:03:36] local.INFO: Acknowledgment sent {"connection_id":151941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:03:42] local.INFO: TCP Data received {"connection_id":151942,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:03:42] local.INFO: Processing buffer {"connection_id":151942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:03:42] local.INFO: IMEI packet received {"connection_id":151942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":151942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:03:48] local.INFO: TCP Data received {"connection_id":151942,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:03:48] local.INFO: Processing buffer {"connection_id":151942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:03:48] local.INFO: IMEI packet received {"connection_id":151942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":151942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:03:48] local.INFO: TCP Data received {"connection_id":151942,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb03aef8012d1824400721b7a0004c00dc28..."} 
[2026-08-10 15:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb03aef8012d1824400721b7a0004c00dc28..."} 
[2026-08-10 15:03:48] local.INFO: Processing buffer {"connection_id":151942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb03aef8012d1824400721b7a0004c00dc28..."} 
[2026-08-10 15:03:48] local.INFO: Packet analysis {"connection_id":151942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb03"} 
[2026-08-10 15:03:48] local.INFO: Extracted packet for processing {"connection_id":151942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb03"} 
[2026-08-10 15:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650208,"longitude_deg":75.6556864,"latitude_deg":11.9650208,"altitude":76,"angle":220,"satellites":40,"speed":5,"hex_longitude":"2d182440","hex_latitude":"0721b7a0","is_valid_coordinates":true} 
[2026-08-10 15:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306703872001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440147904069632,"note":"Value kept but may cause issues"} 
[2026-08-10 15:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167367168,"note":"Value kept but may cause issues"} 
[2026-08-10 15:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786354315000,"timestamp_ms":1786354315000,"timestamp_seconds":1786354315,"priority":1,"record_length":96,"hex_timestamp":"0000019feb03aef8"} 
[2026-08-10 15:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 15:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306703872001,"66":13254,"105":206,"83":41984,"24":5,"16":11440147904069632,"45":1739937599167367168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306703872001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:03:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440147904069632,"km_value":11440147904069.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167367168,"description":"Unknown IO ID 45"} 
[2026-08-10 15:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306703872001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739937599167367168}} 
[2026-08-10 15:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":151942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:03:48] local.INFO: GPS data processed {"connection_id":151942,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:03:48] local.INFO: Acknowledgment sent {"connection_id":151942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:03:58] local.INFO: TCP Data received {"connection_id":154323,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:03:58] local.INFO: Processing buffer {"connection_id":154323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:03:58] local.INFO: IMEI packet received {"connection_id":154323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":154323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:04:04] local.INFO: TCP Data received {"connection_id":154323,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:04:04] local.INFO: Processing buffer {"connection_id":154323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:04:04] local.INFO: IMEI packet received {"connection_id":154323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":154323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:04:05] local.INFO: TCP Data received {"connection_id":154323,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:04:05] local.INFO: Processing buffer {"connection_id":154323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:04:05] local.INFO: Packet analysis {"connection_id":154323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:04:05] local.INFO: Extracted packet for processing {"connection_id":154323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306595584001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786354190000,"timestamp_ms":1786354190000,"timestamp_seconds":1786354190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb01c6b0"} 
[2026-08-10 15:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15: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-08-10 15:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306595584001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306595584001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:04:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306595584001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":154323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:04:05] local.INFO: GPS data processed {"connection_id":154323,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:04:05] local.INFO: Acknowledgment sent {"connection_id":154323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:04:19] local.INFO: TCP Data received {"connection_id":151942,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb040100012d1823800721b5a0004b00dc29..."} 
[2026-08-10 15:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb040100012d1823800721b5a0004b00dc29..."} 
[2026-08-10 15:04:19] local.INFO: Processing buffer {"connection_id":151942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb040100012d1823800721b5a0004b00dc29..."} 
[2026-08-10 15:04:19] local.INFO: Packet analysis {"connection_id":151942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb04"} 
[2026-08-10 15:04:19] local.INFO: Extracted packet for processing {"connection_id":151942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb04"} 
[2026-08-10 15:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649696,"longitude_deg":75.6556672,"latitude_deg":11.9649696,"altitude":75,"angle":220,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-08-10 15:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306704640001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440177968840704,"note":"Value kept but may cause issues"} 
[2026-08-10 15:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446484992,"note":"Value kept but may cause issues"} 
[2026-08-10 15:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786354336000,"timestamp_ms":1786354336000,"timestamp_seconds":1786354336,"priority":1,"record_length":96,"hex_timestamp":"0000019feb040100"} 
[2026-08-10 15:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 15:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306704640001,"66":13243,"105":206,"83":41984,"24":0,"16":11440177968840704,"45":1739585755446484992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306704640001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:04:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440177968840704,"km_value":11440177968840.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446484992,"description":"Unknown IO ID 45"} 
[2026-08-10 15:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306704640001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446484992}} 
[2026-08-10 15:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":151942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:04:19] local.INFO: GPS data processed {"connection_id":151942,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:04:19] local.INFO: Acknowledgment sent {"connection_id":151942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:04:36] local.INFO: TCP Data received {"connection_id":154323,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:04:36] local.INFO: Processing buffer {"connection_id":154323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:04:36] local.INFO: Packet analysis {"connection_id":154323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:04:36] local.INFO: Extracted packet for processing {"connection_id":154323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306595584001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786354190000,"timestamp_ms":1786354190000,"timestamp_seconds":1786354190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb01c6b0"} 
[2026-08-10 15:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15: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-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306595584001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306595584001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:04:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306595584001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":154323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:04:36] local.INFO: GPS data processed {"connection_id":154323,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:04:36] local.INFO: Acknowledgment sent {"connection_id":154323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:04:43] local.INFO: TCP Data received {"connection_id":151549,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:04:43] local.INFO: Processing buffer {"connection_id":151549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:04:43] local.INFO: IMEI packet received {"connection_id":151549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":151549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:04:47] local.INFO: TCP Data received {"connection_id":151549,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:04:47] local.INFO: Processing buffer {"connection_id":151549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:04:47] local.INFO: IMEI packet received {"connection_id":151549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":151549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:04:48] local.INFO: TCP Data received {"connection_id":151549,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb045308012d1823800721b5a0004b00dc27..."} 
[2026-08-10 15:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb045308012d1823800721b5a0004b00dc27..."} 
[2026-08-10 15:04:48] local.INFO: Processing buffer {"connection_id":151549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb045308012d1823800721b5a0004b00dc27..."} 
[2026-08-10 15:04:48] local.INFO: Packet analysis {"connection_id":151549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb04"} 
[2026-08-10 15:04:48] local.INFO: Extracted packet for processing {"connection_id":151549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb04"} 
[2026-08-10 15:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649696,"longitude_deg":75.6556672,"latitude_deg":11.9649696,"altitude":75,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-08-10 15:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306710016001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440177968840704,"note":"Value kept but may cause issues"} 
[2026-08-10 15:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213820928,"note":"Value kept but may cause issues"} 
[2026-08-10 15:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786354357000,"timestamp_ms":1786354357000,"timestamp_seconds":1786354357,"priority":1,"record_length":96,"hex_timestamp":"0000019feb045308"} 
[2026-08-10 15:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 15:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306710016001,"66":13167,"105":206,"83":41984,"24":0,"16":11440177968840704,"45":1739374649213820928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306710016001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:04:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:04:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440177968840704,"km_value":11440177968840.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213820928,"description":"Unknown IO ID 45"} 
[2026-08-10 15:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306710016001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213820928}} 
[2026-08-10 15:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":151549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:04:48] local.INFO: GPS data processed {"connection_id":151549,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:04:48] local.INFO: Acknowledgment sent {"connection_id":151549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:04:58] local.INFO: TCP Data received {"connection_id":151943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:04:58] local.INFO: Processing buffer {"connection_id":151943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:04:58] local.INFO: IMEI packet received {"connection_id":151943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":151943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:05:03] local.INFO: TCP Data received {"connection_id":151943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:05:03] local.INFO: Processing buffer {"connection_id":151943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:05:03] local.INFO: IMEI packet received {"connection_id":151943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":151943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:05:05] local.INFO: TCP Data received {"connection_id":151943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:05:05] local.INFO: Processing buffer {"connection_id":151943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb01c6b0012d342a4006abc2800013010221..."} 
[2026-08-10 15:05:05] local.INFO: Packet analysis {"connection_id":151943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:05:05] local.INFO: Extracted packet for processing {"connection_id":151943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb01"} 
[2026-08-10 15:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306595584001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786354190000,"timestamp_ms":1786354190000,"timestamp_seconds":1786354190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb01c6b0"} 
[2026-08-10 15:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306595584001,"66":25299,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306595584001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:05:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306595584001,"power":25299,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":151943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:05:05] local.INFO: GPS data processed {"connection_id":151943,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:05:05] local.INFO: Acknowledgment sent {"connection_id":151943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:05:19] local.INFO: TCP Data received {"connection_id":151549,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb04a510012d1823800721b5a0004b00dc29..."} 
[2026-08-10 15:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb04a510012d1823800721b5a0004b00dc29..."} 
[2026-08-10 15:05:19] local.INFO: Processing buffer {"connection_id":151549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb04a510012d1823800721b5a0004b00dc29..."} 
[2026-08-10 15:05:19] local.INFO: Packet analysis {"connection_id":151549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb04"} 
[2026-08-10 15:05:19] local.INFO: Extracted packet for processing {"connection_id":151549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb04"} 
[2026-08-10 15:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649696,"longitude_deg":75.6556672,"latitude_deg":11.9649696,"altitude":75,"angle":220,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-08-10 15:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306715392001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440177968840704,"note":"Value kept but may cause issues"} 
[2026-08-10 15:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213820928,"note":"Value kept but may cause issues"} 
[2026-08-10 15:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786354378000,"timestamp_ms":1786354378000,"timestamp_seconds":1786354378,"priority":1,"record_length":96,"hex_timestamp":"0000019feb04a510"} 
[2026-08-10 15:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-10 15:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306715392001,"66":13135,"105":206,"83":41984,"24":0,"16":11440177968840704,"45":1739374649213820928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306715392001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:05:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:05:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440177968840704,"km_value":11440177968840.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213820928,"description":"Unknown IO ID 45"} 
[2026-08-10 15:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306715392001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213820928}} 
[2026-08-10 15:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":151549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:05:19] local.INFO: GPS data processed {"connection_id":151549,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:05:19] local.INFO: Acknowledgment sent {"connection_id":151549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:05:36] local.INFO: TCP Data received {"connection_id":151943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:05:36] local.INFO: Processing buffer {"connection_id":151943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:05:36] local.INFO: Packet analysis {"connection_id":151943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:05:36] local.INFO: Extracted packet for processing {"connection_id":151943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306672640001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786354491000,"timestamp_ms":1786354491000,"timestamp_seconds":1786354491,"priority":1,"record_length":96,"hex_timestamp":"0000019feb065e78"} 
[2026-08-10 15:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306672640001,"66":25212,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306672640001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:05:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306672640001,"power":25212,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":151943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:05:36] local.INFO: GPS data processed {"connection_id":151943,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:05:36] local.INFO: Acknowledgment sent {"connection_id":151943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:05:42] local.INFO: TCP Data received {"connection_id":151550,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:05:42] local.INFO: Processing buffer {"connection_id":151550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:05:42] local.INFO: IMEI packet received {"connection_id":151550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":151550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:05:42] local.INFO: TCP Data received {"connection_id":151550,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:05:42] local.INFO: Processing buffer {"connection_id":151550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:05:42] local.INFO: IMEI packet received {"connection_id":151550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":151550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:05:47] local.INFO: TCP Data received {"connection_id":151550,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:05:47] local.INFO: Processing buffer {"connection_id":151550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:05:47] local.INFO: IMEI packet received {"connection_id":151550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":151550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:05:48] local.INFO: TCP Data received {"connection_id":151550,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb04f718012d1823800721b5a0004b00dc28..."} 
[2026-08-10 15:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb04f718012d1823800721b5a0004b00dc28..."} 
[2026-08-10 15:05:48] local.INFO: Processing buffer {"connection_id":151550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb04f718012d1823800721b5a0004b00dc28..."} 
[2026-08-10 15:05:48] local.INFO: Packet analysis {"connection_id":151550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb04"} 
[2026-08-10 15:05:48] local.INFO: Extracted packet for processing {"connection_id":151550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb04"} 
[2026-08-10 15:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649696,"longitude_deg":75.6556672,"latitude_deg":11.9649696,"altitude":75,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306720768001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440177968840704,"note":"Value kept but may cause issues"} 
[2026-08-10 15:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213820928,"note":"Value kept but may cause issues"} 
[2026-08-10 15:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786354399000,"timestamp_ms":1786354399000,"timestamp_seconds":1786354399,"priority":1,"record_length":96,"hex_timestamp":"0000019feb04f718"} 
[2026-08-10 15:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-10 15:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306720768001,"66":13135,"105":206,"83":41984,"24":0,"16":11440177968840704,"45":1739374649213820928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306720768001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:05:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:05:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440177968840704,"km_value":11440177968840.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213820928,"description":"Unknown IO ID 45"} 
[2026-08-10 15:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306720768001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213820928}} 
[2026-08-10 15:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":151550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:05:48] local.INFO: GPS data processed {"connection_id":151550,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:05:48] local.INFO: Acknowledgment sent {"connection_id":151550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:06:03] local.INFO: TCP Data received {"connection_id":151944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:06:03] local.INFO: Processing buffer {"connection_id":151944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:06:03] local.INFO: IMEI packet received {"connection_id":151944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":151944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:06:08] local.INFO: TCP Data received {"connection_id":151944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:06:08] local.INFO: Processing buffer {"connection_id":151944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:06:08] local.INFO: IMEI packet received {"connection_id":151944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":151944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:06:09] local.INFO: TCP Data received {"connection_id":151944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:06:09] local.INFO: Processing buffer {"connection_id":151944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:06:09] local.INFO: Packet analysis {"connection_id":151944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:06:09] local.INFO: Extracted packet for processing {"connection_id":151944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306672640001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786354491000,"timestamp_ms":1786354491000,"timestamp_seconds":1786354491,"priority":1,"record_length":96,"hex_timestamp":"0000019feb065e78"} 
[2026-08-10 15:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306672640001,"66":25212,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306672640001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:06:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306672640001,"power":25212,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":151944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:06:09] local.INFO: GPS data processed {"connection_id":151944,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:06:09] local.INFO: Acknowledgment sent {"connection_id":151944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:06:19] local.INFO: TCP Data received {"connection_id":151550,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb054920012d1823800721b5a0004b00dc28..."} 
[2026-08-10 15:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb054920012d1823800721b5a0004b00dc28..."} 
[2026-08-10 15:06:19] local.INFO: Processing buffer {"connection_id":151550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb054920012d1823800721b5a0004b00dc28..."} 
[2026-08-10 15:06:19] local.INFO: Packet analysis {"connection_id":151550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb05"} 
[2026-08-10 15:06:19] local.INFO: Extracted packet for processing {"connection_id":151550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb05"} 
[2026-08-10 15:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649696,"longitude_deg":75.6556672,"latitude_deg":11.9649696,"altitude":75,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306726144001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440177968840704,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213820928,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786354420000,"timestamp_ms":1786354420000,"timestamp_seconds":1786354420,"priority":1,"record_length":96,"hex_timestamp":"0000019feb054920"} 
[2026-08-10 15:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-10 15:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306726144001,"66":13091,"105":206,"83":41984,"24":0,"16":11440177968840704,"45":1739374649213820928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306726144001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:06:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440177968840704,"km_value":11440177968840.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213820928,"description":"Unknown IO ID 45"} 
[2026-08-10 15:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306726144001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213820928}} 
[2026-08-10 15:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":151550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:06:19] local.INFO: GPS data processed {"connection_id":151550,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:06:19] local.INFO: Acknowledgment sent {"connection_id":151550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:06:41] local.INFO: TCP Data received {"connection_id":151944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:06:41] local.INFO: Processing buffer {"connection_id":151944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:06:41] local.INFO: Packet analysis {"connection_id":151944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:06:41] local.INFO: Extracted packet for processing {"connection_id":151944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306672640001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786354491000,"timestamp_ms":1786354491000,"timestamp_seconds":1786354491,"priority":1,"record_length":96,"hex_timestamp":"0000019feb065e78"} 
[2026-08-10 15:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:06: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-08-10 15:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306672640001,"66":25212,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306672640001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:06:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306672640001,"power":25212,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":151944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:06:41] local.INFO: GPS data processed {"connection_id":151944,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:06:41] local.INFO: Acknowledgment sent {"connection_id":151944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:06:45] local.INFO: TCP Data received {"connection_id":151945,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:06:45] local.INFO: Processing buffer {"connection_id":151945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:06:45] local.INFO: IMEI packet received {"connection_id":151945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":151945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:06:47] local.INFO: TCP Data received {"connection_id":151945,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:06:47] local.INFO: Processing buffer {"connection_id":151945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:06:47] local.INFO: IMEI packet received {"connection_id":151945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":151945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:06:52] local.INFO: TCP Data received {"connection_id":151945,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:06:52] local.INFO: Processing buffer {"connection_id":151945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:06:52] local.INFO: IMEI packet received {"connection_id":151945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":151945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:06:56] local.INFO: TCP Data received {"connection_id":151945,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb059b28012d1823800721b5a0004b00dc28..."} 
[2026-08-10 15:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb059b28012d1823800721b5a0004b00dc28..."} 
[2026-08-10 15:06:56] local.INFO: Processing buffer {"connection_id":151945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb059b28012d1823800721b5a0004b00dc28..."} 
[2026-08-10 15:06:56] local.INFO: Packet analysis {"connection_id":151945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb05"} 
[2026-08-10 15:06:56] local.INFO: Extracted packet for processing {"connection_id":151945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb05"} 
[2026-08-10 15:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649696,"longitude_deg":75.6556672,"latitude_deg":11.9649696,"altitude":75,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-08-10 15:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306731520001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440177968840704,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213820928,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786354441000,"timestamp_ms":1786354441000,"timestamp_seconds":1786354441,"priority":1,"record_length":96,"hex_timestamp":"0000019feb059b28"} 
[2026-08-10 15:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:06: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-08-10 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 15:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306731520001,"66":13059,"105":206,"83":41984,"24":0,"16":11440177968840704,"45":1739374649213820928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306731520001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:06:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:06:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440177968840704,"km_value":11440177968840.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213820928,"description":"Unknown IO ID 45"} 
[2026-08-10 15:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306731520001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213820928}} 
[2026-08-10 15:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":151945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:06:56] local.INFO: GPS data processed {"connection_id":151945,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:06:56] local.INFO: Acknowledgment sent {"connection_id":151945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:06:57] local.INFO: TCP Data received {"connection_id":151945,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb05ed30012d1820c00721b310004400dc26..."} 
[2026-08-10 15:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb05ed30012d1820c00721b310004400dc26..."} 
[2026-08-10 15:06:57] local.INFO: Processing buffer {"connection_id":151945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb05ed30012d1820c00721b310004400dc26..."} 
[2026-08-10 15:06:57] local.INFO: Packet analysis {"connection_id":151945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb05"} 
[2026-08-10 15:06:57] local.INFO: Extracted packet for processing {"connection_id":151945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb05"} 
[2026-08-10 15:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":38,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306736896001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213820928,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786354462000,"timestamp_ms":1786354462000,"timestamp_seconds":1786354462,"priority":1,"record_length":96,"hex_timestamp":"0000019feb05ed30"} 
[2026-08-10 15:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418410,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709957,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3942887160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2764570624,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":6145,"corrected_to":0} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3047161931,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951029,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391978,"note":"Value kept but may cause issues"} 
[2026-08-10 15:06:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,164,159,73,45,128,181,75,40,10,66,247,165,1,240,79,227,235,33,4,113,205,35,160,41,239,51,2,7,76,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":247,"original":6145,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 15:06:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404561617201397760,"timestamp_seconds":5404561617201398.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306736896001,"66":13037,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1739374649213820928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306736896001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:06:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213820928,"description":"Unknown IO ID 45"} 
[2026-08-10 15:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306736896001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213820928}} 
[2026-08-10 15:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":151945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:06:57] local.INFO: GPS data processed {"connection_id":151945,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:06:57] local.INFO: Acknowledgment sent {"connection_id":151945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:06:59] local.INFO: TCP Data received {"connection_id":152873,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:06:59] local.INFO: Processing buffer {"connection_id":152873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:06:59] local.INFO: IMEI packet received {"connection_id":152873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":152873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:07:04] local.INFO: TCP Data received {"connection_id":152873,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:07:04] local.INFO: Processing buffer {"connection_id":152873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:07:04] local.INFO: IMEI packet received {"connection_id":152873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":152873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:07:08] local.INFO: TCP Data received {"connection_id":152873,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:07:08] local.INFO: Processing buffer {"connection_id":152873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:07:08] local.INFO: Packet analysis {"connection_id":152873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:07:08] local.INFO: Extracted packet for processing {"connection_id":152873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306672640001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786354491000,"timestamp_ms":1786354491000,"timestamp_seconds":1786354491,"priority":1,"record_length":96,"hex_timestamp":"0000019feb065e78"} 
[2026-08-10 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-08-10 15:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306672640001,"66":25212,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306672640001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:07:08] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306672640001,"power":25212,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":152873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:07:08] local.INFO: GPS data processed {"connection_id":152873,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:07:08] local.INFO: Acknowledgment sent {"connection_id":152873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:07:40] local.INFO: TCP Data received {"connection_id":152873,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:07:40] local.INFO: Processing buffer {"connection_id":152873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:07:40] local.INFO: Packet analysis {"connection_id":152873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:07:40] local.INFO: Extracted packet for processing {"connection_id":152873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:07:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306672640001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786354491000,"timestamp_ms":1786354491000,"timestamp_seconds":1786354491,"priority":1,"record_length":96,"hex_timestamp":"0000019feb065e78"} 
[2026-08-10 15:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306672640001,"66":25212,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306672640001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:07:40] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:07:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306672640001,"power":25212,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":152873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:07:40] local.INFO: GPS data processed {"connection_id":152873,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:07:40] local.INFO: Acknowledgment sent {"connection_id":152873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:07:42] local.INFO: TCP Data received {"connection_id":151551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:07:42] local.INFO: Processing buffer {"connection_id":151551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:07:42] local.INFO: IMEI packet received {"connection_id":151551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":151551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:07:47] local.INFO: TCP Data received {"connection_id":151551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:07:47] local.INFO: Processing buffer {"connection_id":151551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:07:47] local.INFO: IMEI packet received {"connection_id":151551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":151551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:07:48] local.INFO: TCP Data received {"connection_id":151551,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb063f38012d1820c00721b310004400dc26..."} 
[2026-08-10 15:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb063f38012d1820c00721b310004400dc26..."} 
[2026-08-10 15:07:48] local.INFO: Processing buffer {"connection_id":151551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb063f38012d1820c00721b310004400dc26..."} 
[2026-08-10 15:07:48] local.INFO: Packet analysis {"connection_id":151551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:07:48] local.INFO: Extracted packet for processing {"connection_id":151551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:07:48] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":38,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306742272001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027698688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786354483000,"timestamp_ms":1786354483000,"timestamp_seconds":1786354483,"priority":1,"record_length":96,"hex_timestamp":"0000019feb063f38"} 
[2026-08-10 15:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-10 15:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306742272001,"66":13004,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1738600593027698688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306742272001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:07:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:07:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027698688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306742272001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027698688}} 
[2026-08-10 15:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":151551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:07:48] local.INFO: GPS data processed {"connection_id":151551,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:07:48] local.INFO: Acknowledgment sent {"connection_id":151551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:08:09] local.INFO: TCP Data received {"connection_id":151946,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:08:09] local.INFO: Processing buffer {"connection_id":151946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:08:09] local.INFO: IMEI packet received {"connection_id":151946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":151946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:08:14] local.INFO: TCP Data received {"connection_id":151946,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:08:14] local.INFO: Processing buffer {"connection_id":151946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:08:14] local.INFO: IMEI packet received {"connection_id":151946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":151946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:08:15] local.INFO: TCP Data received {"connection_id":151946,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:08:15] local.INFO: Processing buffer {"connection_id":151946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:08:15] local.INFO: Packet analysis {"connection_id":151946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:08:15] local.INFO: Extracted packet for processing {"connection_id":151946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306672640001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786354491000,"timestamp_ms":1786354491000,"timestamp_seconds":1786354491,"priority":1,"record_length":96,"hex_timestamp":"0000019feb065e78"} 
[2026-08-10 15:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306672640001,"66":25212,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306672640001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:08:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306672640001,"power":25212,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":151946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:08:15] local.INFO: GPS data processed {"connection_id":151946,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:08:15] local.INFO: Acknowledgment sent {"connection_id":151946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:08:19] local.INFO: TCP Data received {"connection_id":151551,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb069140012d1820c00721b310004400dc27..."} 
[2026-08-10 15:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb069140012d1820c00721b310004400dc27..."} 
[2026-08-10 15:08:19] local.INFO: Processing buffer {"connection_id":151551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb069140012d1820c00721b310004400dc27..."} 
[2026-08-10 15:08:19] local.INFO: Packet analysis {"connection_id":151551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:08:19] local.INFO: Extracted packet for processing {"connection_id":151551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306747648001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027698688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786354504000,"timestamp_ms":1786354504000,"timestamp_seconds":1786354504,"priority":1,"record_length":96,"hex_timestamp":"0000019feb069140"} 
[2026-08-10 15:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-10 15:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306747648001,"66":12798,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1738600593027698688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306747648001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:08:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:08:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027698688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306747648001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027698688}} 
[2026-08-10 15:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":151551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:08:19] local.INFO: GPS data processed {"connection_id":151551,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:08:19] local.INFO: Acknowledgment sent {"connection_id":151551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:08:42] local.INFO: TCP Data received {"connection_id":154324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:08:42] local.INFO: Processing buffer {"connection_id":154324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:08:42] local.INFO: IMEI packet received {"connection_id":154324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":154324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:08:47] local.INFO: TCP Data received {"connection_id":154324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:08:47] local.INFO: Processing buffer {"connection_id":154324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:08:47] local.INFO: IMEI packet received {"connection_id":154324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":154324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:08:48] local.INFO: TCP Data received {"connection_id":154324,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb06e348012d1820c00721b310004400dc28..."} 
[2026-08-10 15:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb06e348012d1820c00721b310004400dc28..."} 
[2026-08-10 15:08:48] local.INFO: Processing buffer {"connection_id":154324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb06e348012d1820c00721b310004400dc28..."} 
[2026-08-10 15:08:48] local.INFO: Packet analysis {"connection_id":154324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:08:48] local.INFO: Extracted packet for processing {"connection_id":154324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:08:48] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306753024001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027698688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786354525000,"timestamp_ms":1786354525000,"timestamp_seconds":1786354525,"priority":1,"record_length":96,"hex_timestamp":"0000019feb06e348"} 
[2026-08-10 15:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 15:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306753024001,"66":12961,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1738600593027698688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306753024001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:08:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:08:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027698688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306753024001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027698688}} 
[2026-08-10 15:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":154324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:08:48] local.INFO: GPS data processed {"connection_id":154324,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:08:48] local.INFO: Acknowledgment sent {"connection_id":154324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:08:59] local.INFO: TCP Data received {"connection_id":152874,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:08:59] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:08:59] local.INFO: IMEI packet received {"connection_id":152874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":152874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:09:04] local.INFO: TCP Data received {"connection_id":152874,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:09:04] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:09:04] local.INFO: IMEI packet received {"connection_id":152874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":152874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:09:05] local.INFO: TCP Data received {"connection_id":152874,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:09:05] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:09:05] local.INFO: Packet analysis {"connection_id":152874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:09:05] local.INFO: Extracted packet for processing {"connection_id":152874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306672640001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786354491000,"timestamp_ms":1786354491000,"timestamp_seconds":1786354491,"priority":1,"record_length":96,"hex_timestamp":"0000019feb065e78"} 
[2026-08-10 15:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15: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-08-10 15:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306672640001,"66":25212,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306672640001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:09:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306672640001,"power":25212,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":152874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:09:05] local.INFO: GPS data processed {"connection_id":152874,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:09:05] local.INFO: Acknowledgment sent {"connection_id":152874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:09:19] local.INFO: TCP Data received {"connection_id":154324,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb073550012d1820c00721b310004400dc26..."} 
[2026-08-10 15:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb073550012d1820c00721b310004400dc26..."} 
[2026-08-10 15:09:19] local.INFO: Processing buffer {"connection_id":154324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb073550012d1820c00721b310004400dc26..."} 
[2026-08-10 15:09:19] local.INFO: Packet analysis {"connection_id":154324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb07"} 
[2026-08-10 15:09:19] local.INFO: Extracted packet for processing {"connection_id":154324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb07"} 
[2026-08-10 15:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":38,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306758400001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027698688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786354546000,"timestamp_ms":1786354546000,"timestamp_seconds":1786354546,"priority":1,"record_length":96,"hex_timestamp":"0000019feb073550"} 
[2026-08-10 15:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 15:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306758400001,"66":12972,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1738600593027698688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306758400001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:09:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:09:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027698688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306758400001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027698688}} 
[2026-08-10 15:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":154324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:09:19] local.INFO: GPS data processed {"connection_id":154324,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:09:19] local.INFO: Acknowledgment sent {"connection_id":154324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:09:36] local.INFO: TCP Data received {"connection_id":152874,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:09:36] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:09:36] local.INFO: Packet analysis {"connection_id":152874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:09:36] local.INFO: Extracted packet for processing {"connection_id":152874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306672640001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786354491000,"timestamp_ms":1786354491000,"timestamp_seconds":1786354491,"priority":1,"record_length":96,"hex_timestamp":"0000019feb065e78"} 
[2026-08-10 15:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15: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-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306672640001,"66":25212,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306672640001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:09:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306672640001,"power":25212,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":152874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:09:36] local.INFO: GPS data processed {"connection_id":152874,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:09:36] local.INFO: Acknowledgment sent {"connection_id":152874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:09:42] local.INFO: TCP Data received {"connection_id":151947,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:09:42] local.INFO: Processing buffer {"connection_id":151947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:09:42] local.INFO: IMEI packet received {"connection_id":151947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":151947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:09:47] local.INFO: TCP Data received {"connection_id":151947,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:09:47] local.INFO: Processing buffer {"connection_id":151947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:09:47] local.INFO: IMEI packet received {"connection_id":151947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":151947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:09:48] local.INFO: TCP Data received {"connection_id":151947,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb078758012d1820c00721b310004400dc27..."} 
[2026-08-10 15:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb078758012d1820c00721b310004400dc27..."} 
[2026-08-10 15:09:48] local.INFO: Processing buffer {"connection_id":151947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb078758012d1820c00721b310004400dc27..."} 
[2026-08-10 15:09:48] local.INFO: Packet analysis {"connection_id":151947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb07"} 
[2026-08-10 15:09:48] local.INFO: Extracted packet for processing {"connection_id":151947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb07"} 
[2026-08-10 15:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306763776001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027698688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786354567000,"timestamp_ms":1786354567000,"timestamp_seconds":1786354567,"priority":1,"record_length":96,"hex_timestamp":"0000019feb078758"} 
[2026-08-10 15:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-10 15:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306763776001,"66":12950,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1738600593027698688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306763776001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:09:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027698688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306763776001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027698688}} 
[2026-08-10 15:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":151947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:09:48] local.INFO: GPS data processed {"connection_id":151947,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:09:48] local.INFO: Acknowledgment sent {"connection_id":151947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:09:59] local.INFO: TCP Data received {"connection_id":152875,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:09:59] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:09:59] local.INFO: IMEI packet received {"connection_id":152875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":152875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:10:04] local.INFO: TCP Data received {"connection_id":152875,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:10:04] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:10:04] local.INFO: IMEI packet received {"connection_id":152875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":152875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:10:04] local.INFO: TCP Data received {"connection_id":152875,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:10:04] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb065e78012d342a4006abc2800013010222..."} 
[2026-08-10 15:10:04] local.INFO: Packet analysis {"connection_id":152875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:10:04] local.INFO: Extracted packet for processing {"connection_id":152875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb06"} 
[2026-08-10 15:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306672640001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786354491000,"timestamp_ms":1786354491000,"timestamp_seconds":1786354491,"priority":1,"record_length":96,"hex_timestamp":"0000019feb065e78"} 
[2026-08-10 15:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:10: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-08-10 15:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:10: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-08-10 15:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306672640001,"66":25212,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306672640001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:10:04] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306672640001,"power":25212,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":152875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:10:04] local.INFO: GPS data processed {"connection_id":152875,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:10:04] local.INFO: Acknowledgment sent {"connection_id":152875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:10:21] local.INFO: TCP Data received {"connection_id":151947,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb07d960012d1820c00721b310004400dc27..."} 
[2026-08-10 15:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb07d960012d1820c00721b310004400dc27..."} 
[2026-08-10 15:10:21] local.INFO: Processing buffer {"connection_id":151947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb07d960012d1820c00721b310004400dc27..."} 
[2026-08-10 15:10:21] local.INFO: Packet analysis {"connection_id":151947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb07"} 
[2026-08-10 15:10:21] local.INFO: Extracted packet for processing {"connection_id":151947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb07"} 
[2026-08-10 15:10:21] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306769152001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027698688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786354588000,"timestamp_ms":1786354588000,"timestamp_seconds":1786354588,"priority":1,"record_length":96,"hex_timestamp":"0000019feb07d960"} 
[2026-08-10 15:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 15:10: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-08-10 15: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-08-10 15:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306769152001,"66":12939,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1738600593027698688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306769152001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:10:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:10:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027698688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306769152001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027698688}} 
[2026-08-10 15:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":151947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:10:21] local.INFO: GPS data processed {"connection_id":151947,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:10:21] local.INFO: Acknowledgment sent {"connection_id":151947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:10:36] local.INFO: TCP Data received {"connection_id":152875,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:10:36] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:10:36] local.INFO: Packet analysis {"connection_id":152875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:10:36] local.INFO: Extracted packet for processing {"connection_id":152875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306749696001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786354792000,"timestamp_ms":1786354792000,"timestamp_seconds":1786354792,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0af640"} 
[2026-08-10 15:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 15:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306749696001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306749696001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:10:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306749696001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":152875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:10:36] local.INFO: GPS data processed {"connection_id":152875,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:10:36] local.INFO: Acknowledgment sent {"connection_id":152875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:10:42] local.INFO: TCP Data received {"connection_id":152876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:10:42] local.INFO: Processing buffer {"connection_id":152876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:10:42] local.INFO: IMEI packet received {"connection_id":152876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":152876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:10:47] local.INFO: TCP Data received {"connection_id":152876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:10:47] local.INFO: Processing buffer {"connection_id":152876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:10:47] local.INFO: IMEI packet received {"connection_id":152876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":152876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:10:48] local.INFO: TCP Data received {"connection_id":152876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb082b68012d1820c00721b310004400dc28..."} 
[2026-08-10 15:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb082b68012d1820c00721b310004400dc28..."} 
[2026-08-10 15:10:48] local.INFO: Processing buffer {"connection_id":152876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb082b68012d1820c00721b310004400dc28..."} 
[2026-08-10 15:10:48] local.INFO: Packet analysis {"connection_id":152876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb08"} 
[2026-08-10 15:10:48] local.INFO: Extracted packet for processing {"connection_id":152876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb08"} 
[2026-08-10 15:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306774528001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027698688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786354609000,"timestamp_ms":1786354609000,"timestamp_seconds":1786354609,"priority":1,"record_length":96,"hex_timestamp":"0000019feb082b68"} 
[2026-08-10 15:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 15:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306774528001,"66":12885,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1738600593027698688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306774528001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:10:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:10:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027698688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306774528001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027698688}} 
[2026-08-10 15:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":152876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:10:48] local.INFO: GPS data processed {"connection_id":152876,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:10:48] local.INFO: Acknowledgment sent {"connection_id":152876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:10:58] local.INFO: TCP Data received {"connection_id":154325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:10:58] local.INFO: Processing buffer {"connection_id":154325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:10:58] local.INFO: IMEI packet received {"connection_id":154325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":154325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:11:03] local.INFO: TCP Data received {"connection_id":154325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:11:03] local.INFO: Processing buffer {"connection_id":154325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:11:03] local.INFO: IMEI packet received {"connection_id":154325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":154325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:11:05] local.INFO: TCP Data received {"connection_id":154325,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:11:05] local.INFO: Processing buffer {"connection_id":154325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:11:05] local.INFO: Packet analysis {"connection_id":154325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:11:05] local.INFO: Extracted packet for processing {"connection_id":154325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306749696001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786354792000,"timestamp_ms":1786354792000,"timestamp_seconds":1786354792,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0af640"} 
[2026-08-10 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-08-10 15:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 15:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306749696001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306749696001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:11:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306749696001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":154325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:11:05] local.INFO: GPS data processed {"connection_id":154325,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:11:05] local.INFO: Acknowledgment sent {"connection_id":154325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:11:19] local.INFO: TCP Data received {"connection_id":152876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb087d70012d1820c00721b310004400dc25..."} 
[2026-08-10 15:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb087d70012d1820c00721b310004400dc25..."} 
[2026-08-10 15:11:19] local.INFO: Processing buffer {"connection_id":152876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb087d70012d1820c00721b310004400dc25..."} 
[2026-08-10 15:11:19] local.INFO: Packet analysis {"connection_id":152876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb08"} 
[2026-08-10 15:11:19] local.INFO: Extracted packet for processing {"connection_id":152876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb08"} 
[2026-08-10 15:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306779904001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027698688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786354630000,"timestamp_ms":1786354630000,"timestamp_seconds":1786354630,"priority":1,"record_length":96,"hex_timestamp":"0000019feb087d70"} 
[2026-08-10 15:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 15:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306779904001,"66":12885,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1738600593027698688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306779904001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:11:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027698688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306779904001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027698688}} 
[2026-08-10 15:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":152876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:11:19] local.INFO: GPS data processed {"connection_id":152876,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:11:19] local.INFO: Acknowledgment sent {"connection_id":152876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:11:27] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:11:27] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:11:27] local.INFO: IMEI packet received {"connection_id":152877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":152877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:11:28] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:11:28] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:11:28] local.INFO: IMEI packet received {"connection_id":152877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":152877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:11:32] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:11:32] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:11:32] local.INFO: IMEI packet received {"connection_id":152877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":152877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:11:33] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-10 15:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-10 15:11:33] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-10 15:11:33] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 15:11:33] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-10 15:11:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:11:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:11:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 15:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-10 15:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-10 15:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 15:11:33] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 15:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 15:11:33] local.ERROR: GPS data processing failed {"connection_id":152877,"error":"No valid data to process"} 
[2026-08-10 15:11:33] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 15:11:36] local.INFO: TCP Data received {"connection_id":154325,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:11:36] local.INFO: Processing buffer {"connection_id":154325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:11:36] local.INFO: Packet analysis {"connection_id":154325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:11:36] local.INFO: Extracted packet for processing {"connection_id":154325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306749696001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786354792000,"timestamp_ms":1786354792000,"timestamp_seconds":1786354792,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0af640"} 
[2026-08-10 15:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 15:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:11: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-08-10 15:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306749696001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306749696001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:11:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306749696001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":154325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:11:36] local.INFO: GPS data processed {"connection_id":154325,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:11:36] local.INFO: Acknowledgment sent {"connection_id":154325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:11:42] local.INFO: TCP Data received {"connection_id":151552,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:11:42] local.INFO: Processing buffer {"connection_id":151552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:11:42] local.INFO: IMEI packet received {"connection_id":151552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":151552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:11:47] local.INFO: TCP Data received {"connection_id":151552,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:11:47] local.INFO: Processing buffer {"connection_id":151552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:11:47] local.INFO: IMEI packet received {"connection_id":151552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":151552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:11:48] local.INFO: TCP Data received {"connection_id":151552,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb08cf78012d1820c00721b310004400dc25..."} 
[2026-08-10 15:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb08cf78012d1820c00721b310004400dc25..."} 
[2026-08-10 15:11:48] local.INFO: Processing buffer {"connection_id":151552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb08cf78012d1820c00721b310004400dc25..."} 
[2026-08-10 15:11:48] local.INFO: Packet analysis {"connection_id":151552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb08"} 
[2026-08-10 15:11:48] local.INFO: Extracted packet for processing {"connection_id":151552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb08"} 
[2026-08-10 15:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306785280001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027698688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786354651000,"timestamp_ms":1786354651000,"timestamp_seconds":1786354651,"priority":1,"record_length":96,"hex_timestamp":"0000019feb08cf78"} 
[2026-08-10 15:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":85,"data_length":795,"current_offset":136} 
[2026-08-10 15:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306785280001,"66":12874,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1738600593027698688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306785280001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:11:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:11:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027698688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306785280001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027698688}} 
[2026-08-10 15:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":151552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:11:48] local.INFO: GPS data processed {"connection_id":151552,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:11:48] local.INFO: Acknowledgment sent {"connection_id":151552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:12:03] local.INFO: TCP Data received {"connection_id":151948,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:12:03] local.INFO: Processing buffer {"connection_id":151948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:12:03] local.INFO: IMEI packet received {"connection_id":151948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":151948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:12:04] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-10 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-10 15:12:04] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-10 15:12:04] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-10 15:12:04] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-10 15:12:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:12:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:12:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 15:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-10 15:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-10 15:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 15:12:04] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 15:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 15:12:04] local.ERROR: GPS data processing failed {"connection_id":152877,"error":"No valid data to process"} 
[2026-08-10 15:12:04] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 15:12:11] local.INFO: TCP Data received {"connection_id":151948,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:12:11] local.INFO: Processing buffer {"connection_id":151948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:12:11] local.INFO: IMEI packet received {"connection_id":151948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":151948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:12:11] local.INFO: TCP Data received {"connection_id":151948,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:12:11] local.INFO: Processing buffer {"connection_id":151948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:12:11] local.INFO: Packet analysis {"connection_id":151948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:12:11] local.INFO: Extracted packet for processing {"connection_id":151948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306749696001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786354792000,"timestamp_ms":1786354792000,"timestamp_seconds":1786354792,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0af640"} 
[2026-08-10 15:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 15:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:12: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-08-10 15:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306749696001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306749696001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:12:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:12:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306749696001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":151948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:12:11] local.INFO: GPS data processed {"connection_id":151948,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:12:11] local.INFO: Acknowledgment sent {"connection_id":151948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:12:19] local.INFO: TCP Data received {"connection_id":151552,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb092180012d1820c00721b310004400dc24..."} 
[2026-08-10 15:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb092180012d1820c00721b310004400dc24..."} 
[2026-08-10 15:12:19] local.INFO: Processing buffer {"connection_id":151552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb092180012d1820c00721b310004400dc24..."} 
[2026-08-10 15:12:19] local.INFO: Packet analysis {"connection_id":151552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb09"} 
[2026-08-10 15:12:19] local.INFO: Extracted packet for processing {"connection_id":151552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb09"} 
[2026-08-10 15:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":36,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306790656001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027698688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786354672000,"timestamp_ms":1786354672000,"timestamp_seconds":1786354672,"priority":1,"record_length":96,"hex_timestamp":"0000019feb092180"} 
[2026-08-10 15:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-10 15:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306790656001,"66":12809,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1738600593027698688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306790656001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:12:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:12:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027698688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306790656001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027698688}} 
[2026-08-10 15:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":151552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:12:19] local.INFO: GPS data processed {"connection_id":151552,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:12:19] local.INFO: Acknowledgment sent {"connection_id":151552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:12:36] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0d09800100000000000000000000000000..."} 
[2026-08-10 15:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0d09800100000000000000000000000000..."} 
[2026-08-10 15:12:36] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0d09800100000000000000000000000000..."} 
[2026-08-10 15:12:36] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:12:36] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:12:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786354928000,"timestamp_ms":1786354928000,"timestamp_seconds":1786354928,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0d0980"} 
[2026-08-10 15:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-10 15:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 15:12:36] local.INFO: GPS data processed {"connection_id":152877,"processed":0,"errors":0,"total":1} 
[2026-08-10 15:12:36] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:12:43] local.INFO: TCP Data received {"connection_id":151948,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:12:43] local.INFO: Processing buffer {"connection_id":151948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:12:43] local.INFO: Packet analysis {"connection_id":151948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:12:43] local.INFO: Extracted packet for processing {"connection_id":151948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306749696001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786354792000,"timestamp_ms":1786354792000,"timestamp_seconds":1786354792,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0af640"} 
[2026-08-10 15:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 15:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306749696001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306749696001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:12:43] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:12:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306749696001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":151948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:12:43] local.INFO: GPS data processed {"connection_id":151948,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:12:43] local.INFO: Acknowledgment sent {"connection_id":151948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:12:47] local.INFO: TCP Data received {"connection_id":152878,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:12:47] local.INFO: Processing buffer {"connection_id":152878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:12:47] local.INFO: IMEI packet received {"connection_id":152878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":152878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:12:52] local.INFO: TCP Data received {"connection_id":152878,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:12:52] local.INFO: Processing buffer {"connection_id":152878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:12:52] local.INFO: IMEI packet received {"connection_id":152878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":152878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:12:53] local.INFO: TCP Data received {"connection_id":152878,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb097388012d1820c00721b310004400dc25..."} 
[2026-08-10 15:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb097388012d1820c00721b310004400dc25..."} 
[2026-08-10 15:12:53] local.INFO: Processing buffer {"connection_id":152878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb097388012d1820c00721b310004400dc25..."} 
[2026-08-10 15:12:53] local.INFO: Packet analysis {"connection_id":152878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb09"} 
[2026-08-10 15:12:53] local.INFO: Extracted packet for processing {"connection_id":152878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb09"} 
[2026-08-10 15:12:53] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306796032001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027698688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786354693000,"timestamp_ms":1786354693000,"timestamp_seconds":1786354693,"priority":1,"record_length":96,"hex_timestamp":"0000019feb097388"} 
[2026-08-10 15:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3943118160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":235,"raw_value":496319553829609664,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3004170308,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612042274058669,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2765553664,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428302217409780776,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:53] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,164,159,207,45,192,179,68,37,10,66,125,43,1,240,85,227,235,33,4,113,205,135,32,39,239,50,2,40,7,215],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 15:12:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900158441756033024,"timestamp_seconds":4900158441756033.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306796032001,"66":12841,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1738600593027698688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306796032001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:12:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:12:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027698688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306796032001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027698688}} 
[2026-08-10 15:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":152878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:12:53] local.INFO: GPS data processed {"connection_id":152878,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:12:53] local.INFO: Acknowledgment sent {"connection_id":152878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:12:57] local.INFO: TCP Data received {"connection_id":152878,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb09c590012d1820c00721b310004400dc26..."} 
[2026-08-10 15:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb09c590012d1820c00721b310004400dc26..."} 
[2026-08-10 15:12:57] local.INFO: Processing buffer {"connection_id":152878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb09c590012d1820c00721b310004400dc26..."} 
[2026-08-10 15:12:57] local.INFO: Packet analysis {"connection_id":152878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb09"} 
[2026-08-10 15:12:57] local.INFO: Extracted packet for processing {"connection_id":152878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb09"} 
[2026-08-10 15:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649040,"longitude_deg":75.6555968,"latitude_deg":11.964904,"altitude":68,"angle":220,"satellites":38,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-10 15:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306801408001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440242393350144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027698688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786354714000,"timestamp_ms":1786354714000,"timestamp_seconds":1786354714,"priority":1,"record_length":96,"hex_timestamp":"0000019feb09c590"} 
[2026-08-10 15:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 15:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306801408001,"66":12841,"105":206,"83":41984,"24":0,"16":11440242393350144,"45":1738600593027698688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306801408001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:12:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440242393350144,"km_value":11440242393350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027698688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306801408001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027698688}} 
[2026-08-10 15:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":152878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:12:57] local.INFO: GPS data processed {"connection_id":152878,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:12:57] local.INFO: Acknowledgment sent {"connection_id":152878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:12:59] local.INFO: TCP Data received {"connection_id":151949,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:12:59] local.INFO: Processing buffer {"connection_id":151949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:12:59] local.INFO: IMEI packet received {"connection_id":151949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":151949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:13:05] local.INFO: TCP Data received {"connection_id":151949,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:13:05] local.INFO: Processing buffer {"connection_id":151949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:13:05] local.INFO: IMEI packet received {"connection_id":151949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":151949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:13:06] local.INFO: TCP Data received {"connection_id":151949,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:13:06] local.INFO: Processing buffer {"connection_id":151949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:13:06] local.INFO: Packet analysis {"connection_id":151949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:13:06] local.INFO: Extracted packet for processing {"connection_id":151949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306749696001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786354792000,"timestamp_ms":1786354792000,"timestamp_seconds":1786354792,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0af640"} 
[2026-08-10 15:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 15:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306749696001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306749696001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:13:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306749696001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":151949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:13:06] local.INFO: GPS data processed {"connection_id":151949,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:13:06] local.INFO: Acknowledgment sent {"connection_id":151949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:13:09] local.INFO: TCP Data received {"connection_id":151949,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:13:09] local.INFO: Processing buffer {"connection_id":151949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:13:09] local.INFO: Packet analysis {"connection_id":151949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:13:09] local.INFO: Extracted packet for processing {"connection_id":151949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306749696001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786354792000,"timestamp_ms":1786354792000,"timestamp_seconds":1786354792,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0af640"} 
[2026-08-10 15:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 15:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306749696001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306749696001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:13:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306749696001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":151949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:13:09] local.INFO: GPS data processed {"connection_id":151949,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:13:09] local.INFO: Acknowledgment sent {"connection_id":151949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:13:10] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0d5b880100000000000000000000000000..."} 
[2026-08-10 15:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0d5b880100000000000000000000000000..."} 
[2026-08-10 15:13:10] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0d5b880100000000000000000000000000..."} 
[2026-08-10 15:13:10] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:13:10] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:13:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786354949000,"timestamp_ms":1786354949000,"timestamp_seconds":1786354949,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0d5b88"} 
[2026-08-10 15:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 15:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:13: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-08-10 15:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 15:13:10] local.INFO: GPS data processed {"connection_id":152877,"processed":0,"errors":0,"total":1} 
[2026-08-10 15:13:10] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:13:40] local.INFO: TCP Data received {"connection_id":151949,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:13:40] local.INFO: Processing buffer {"connection_id":151949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:13:40] local.INFO: Packet analysis {"connection_id":151949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:13:40] local.INFO: Extracted packet for processing {"connection_id":151949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306749696001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786354792000,"timestamp_ms":1786354792000,"timestamp_seconds":1786354792,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0af640"} 
[2026-08-10 15:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 15:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306749696001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306749696001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:13:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:13:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306749696001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":151949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:13:40] local.INFO: GPS data processed {"connection_id":151949,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:13:40] local.INFO: Acknowledgment sent {"connection_id":151949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:13:41] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0dad900100000000000000000000000000..."} 
[2026-08-10 15:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0dad900100000000000000000000000000..."} 
[2026-08-10 15:13:41] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0dad900100000000000000000000000000..."} 
[2026-08-10 15:13:41] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:13:41] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:13:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786354970000,"timestamp_ms":1786354970000,"timestamp_seconds":1786354970,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0dad90"} 
[2026-08-10 15:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-10 15:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 15:13:41] local.INFO: GPS data processed {"connection_id":152877,"processed":0,"errors":0,"total":1} 
[2026-08-10 15:13:41] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:13:42] local.INFO: TCP Data received {"connection_id":151950,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:13:42] local.INFO: Processing buffer {"connection_id":151950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:13:42] local.INFO: IMEI packet received {"connection_id":151950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":151950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:13:45] local.INFO: TCP Data received {"connection_id":151950,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:13:45] local.INFO: Processing buffer {"connection_id":151950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:13:45] local.INFO: IMEI packet received {"connection_id":151950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":151950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:13:46] local.INFO: TCP Data received {"connection_id":151950,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0d4be8012d181e800721afb8004900d527..."} 
[2026-08-10 15:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0d4be8012d181e800721afb8004900d527..."} 
[2026-08-10 15:13:46] local.INFO: Processing buffer {"connection_id":151950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0d4be8012d181e800721afb8004900d527..."} 
[2026-08-10 15:13:46] local.INFO: Packet analysis {"connection_id":151950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:13:46] local.INFO: Extracted packet for processing {"connection_id":151950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306860544001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786354945000,"timestamp_ms":1786354945000,"timestamp_seconds":1786354945,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0d4be8"} 
[2026-08-10 15:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 15:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306860544001,"66":12689,"107":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-10 15:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306860544001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:13:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-10 15:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306860544001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":151950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:13:46] local.INFO: GPS data processed {"connection_id":151950,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:13:46] local.INFO: Acknowledgment sent {"connection_id":151950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:13:59] local.INFO: TCP Data received {"connection_id":154326,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:13:59] local.INFO: Processing buffer {"connection_id":154326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:13:59] local.INFO: IMEI packet received {"connection_id":154326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":154326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:14:04] local.INFO: TCP Data received {"connection_id":154326,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:14:04] local.INFO: Processing buffer {"connection_id":154326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:14:04] local.INFO: IMEI packet received {"connection_id":154326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":154326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:14:04] local.INFO: TCP Data received {"connection_id":154326,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:14:04] local.INFO: Processing buffer {"connection_id":154326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:14:04] local.INFO: Packet analysis {"connection_id":154326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:14:04] local.INFO: Extracted packet for processing {"connection_id":154326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306749696001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786354792000,"timestamp_ms":1786354792000,"timestamp_seconds":1786354792,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0af640"} 
[2026-08-10 15:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15: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-08-10 15:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 15:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306749696001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306749696001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:14:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306749696001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":154326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:14:04] local.INFO: GPS data processed {"connection_id":154326,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:14:04] local.INFO: Acknowledgment sent {"connection_id":154326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:14:12] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0dff980100000000000000000000000000..."} 
[2026-08-10 15:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0dff980100000000000000000000000000..."} 
[2026-08-10 15:14:12] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0dff980100000000000000000000000000..."} 
[2026-08-10 15:14:12] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:14:12] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:14:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786354991000,"timestamp_ms":1786354991000,"timestamp_seconds":1786354991,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0dff98"} 
[2026-08-10 15:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 15:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 15:14:12] local.INFO: GPS data processed {"connection_id":152877,"processed":0,"errors":0,"total":1} 
[2026-08-10 15:14:12] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:14:17] local.INFO: TCP Data received {"connection_id":151950,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0d9df0012d181e800721afb8004900d526..."} 
[2026-08-10 15:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0d9df0012d181e800721afb8004900d526..."} 
[2026-08-10 15:14:17] local.INFO: Processing buffer {"connection_id":151950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0d9df0012d181e800721afb8004900d526..."} 
[2026-08-10 15:14:17] local.INFO: Packet analysis {"connection_id":151950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:14:17] local.INFO: Extracted packet for processing {"connection_id":151950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306865920001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786354966000,"timestamp_ms":1786354966000,"timestamp_seconds":1786354966,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0d9df0"} 
[2026-08-10 15:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 15:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306865920001,"66":12678,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306865920001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:14:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306865920001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":151950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:14:18] local.INFO: GPS data processed {"connection_id":151950,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:14:18] local.INFO: Acknowledgment sent {"connection_id":151950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:14:36] local.INFO: TCP Data received {"connection_id":154326,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:14:36] local.INFO: Processing buffer {"connection_id":154326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:14:36] local.INFO: Packet analysis {"connection_id":154326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:14:36] local.INFO: Extracted packet for processing {"connection_id":154326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306749696001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786354792000,"timestamp_ms":1786354792000,"timestamp_seconds":1786354792,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0af640"} 
[2026-08-10 15:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 15:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306749696001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306749696001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:14:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306749696001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":154326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:14:36] local.INFO: GPS data processed {"connection_id":154326,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:14:36] local.INFO: Acknowledgment sent {"connection_id":154326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:14:42] local.INFO: TCP Data received {"connection_id":151951,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:14:42] local.INFO: Processing buffer {"connection_id":151951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:14:42] local.INFO: IMEI packet received {"connection_id":151951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":151951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:14:45] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0e51a00100000000000000000000000000..."} 
[2026-08-10 15:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0e51a00100000000000000000000000000..."} 
[2026-08-10 15:14:45] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0e51a00100000000000000000000000000..."} 
[2026-08-10 15:14:45] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:14:45] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:14:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786355012000,"timestamp_ms":1786355012000,"timestamp_seconds":1786355012,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0e51a0"} 
[2026-08-10 15:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 15:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 15:14:45] local.INFO: GPS data processed {"connection_id":152877,"processed":0,"errors":0,"total":1} 
[2026-08-10 15:14:45] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:14:47] local.INFO: TCP Data received {"connection_id":151951,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:14:47] local.INFO: Processing buffer {"connection_id":151951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:14:47] local.INFO: IMEI packet received {"connection_id":151951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":151951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:14:48] local.INFO: TCP Data received {"connection_id":151951,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0deff8012d181e800721afb8004900d527..."} 
[2026-08-10 15:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0deff8012d181e800721afb8004900d527..."} 
[2026-08-10 15:14:48] local.INFO: Processing buffer {"connection_id":151951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0deff8012d181e800721afb8004900d527..."} 
[2026-08-10 15:14:48] local.INFO: Packet analysis {"connection_id":151951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:14:48] local.INFO: Extracted packet for processing {"connection_id":151951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0d"} 
[2026-08-10 15:14:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306871296001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786354987000,"timestamp_ms":1786354987000,"timestamp_seconds":1786354987,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0deff8"} 
[2026-08-10 15:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":134,"data_length":795,"current_offset":136} 
[2026-08-10 15:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306871296001,"66":12645,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306871296001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:14:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:14:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306871296001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":151951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:14:48] local.INFO: GPS data processed {"connection_id":151951,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:14:48] local.INFO: Acknowledgment sent {"connection_id":151951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:14:59] local.INFO: TCP Data received {"connection_id":154327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:14:59] local.INFO: Processing buffer {"connection_id":154327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:14:59] local.INFO: IMEI packet received {"connection_id":154327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":154327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:15:04] local.INFO: TCP Data received {"connection_id":154327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:15:04] local.INFO: Processing buffer {"connection_id":154327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:15:04] local.INFO: IMEI packet received {"connection_id":154327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":154327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:15:04] local.INFO: TCP Data received {"connection_id":154327,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:15:04] local.INFO: Processing buffer {"connection_id":154327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0af640012d342a4006abc2800013010222..."} 
[2026-08-10 15:15:04] local.INFO: Packet analysis {"connection_id":154327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:15:04] local.INFO: Extracted packet for processing {"connection_id":154327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0a"} 
[2026-08-10 15:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306749696001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786354792000,"timestamp_ms":1786354792000,"timestamp_seconds":1786354792,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0af640"} 
[2026-08-10 15:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:15: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-08-10 15: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 15:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15: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-08-10 15:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306749696001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306749696001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:15:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306749696001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":154327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:15:04] local.INFO: GPS data processed {"connection_id":154327,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:15:04] local.INFO: Acknowledgment sent {"connection_id":154327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:15:16] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0ea3a80100000000000000000000000000..."} 
[2026-08-10 15:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0ea3a80100000000000000000000000000..."} 
[2026-08-10 15:15:16] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0ea3a80100000000000000000000000000..."} 
[2026-08-10 15:15:16] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:15:16] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:15:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786355033000,"timestamp_ms":1786355033000,"timestamp_seconds":1786355033,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0ea3a8"} 
[2026-08-10 15:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-10 15:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:15: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-08-10 15:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 15:15:16] local.INFO: GPS data processed {"connection_id":152877,"processed":0,"errors":0,"total":1} 
[2026-08-10 15:15:16] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:15:19] local.INFO: TCP Data received {"connection_id":151951,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0e4200012d181e800721afb8004900d525..."} 
[2026-08-10 15:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0e4200012d181e800721afb8004900d525..."} 
[2026-08-10 15:15:19] local.INFO: Processing buffer {"connection_id":151951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0e4200012d181e800721afb8004900d525..."} 
[2026-08-10 15:15:19] local.INFO: Packet analysis {"connection_id":151951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:15:19] local.INFO: Extracted packet for processing {"connection_id":151951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306876672001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786355008000,"timestamp_ms":1786355008000,"timestamp_seconds":1786355008,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0e4200"} 
[2026-08-10 15:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 15:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306876672001,"66":12645,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306876672001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:15:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:15:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306876672001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":151951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:15:19] local.INFO: GPS data processed {"connection_id":151951,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:15:19] local.INFO: Acknowledgment sent {"connection_id":151951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:15:36] local.INFO: TCP Data received {"connection_id":154327,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:15:36] local.INFO: Processing buffer {"connection_id":154327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:15:36] local.INFO: Packet analysis {"connection_id":154327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:15:36] local.INFO: Extracted packet for processing {"connection_id":154327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306826752001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786355093000,"timestamp_ms":1786355093000,"timestamp_seconds":1786355093,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f8e08"} 
[2026-08-10 15:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:15: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-08-10 15:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306826752001,"66":25321,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306826752001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:15:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306826752001,"power":25321,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":154327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:15:36] local.INFO: GPS data processed {"connection_id":154327,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:15:36] local.INFO: Acknowledgment sent {"connection_id":154327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:15:42] local.INFO: TCP Data received {"connection_id":152879,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:15:42] local.INFO: Processing buffer {"connection_id":152879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:15:42] local.INFO: IMEI packet received {"connection_id":152879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":152879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:15:47] local.INFO: TCP Data received {"connection_id":152879,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:15:47] local.INFO: Processing buffer {"connection_id":152879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:15:47] local.INFO: IMEI packet received {"connection_id":152879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":152879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:15:48] local.INFO: TCP Data received {"connection_id":152879,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0e9408012d181e800721afb8004900d523..."} 
[2026-08-10 15:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0e9408012d181e800721afb8004900d523..."} 
[2026-08-10 15:15:48] local.INFO: Processing buffer {"connection_id":152879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0e9408012d181e800721afb8004900d523..."} 
[2026-08-10 15:15:48] local.INFO: Packet analysis {"connection_id":152879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:15:48] local.INFO: Extracted packet for processing {"connection_id":152879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:15:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":35,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306882048001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786355029000,"timestamp_ms":1786355029000,"timestamp_seconds":1786355029,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0e9408"} 
[2026-08-10 15:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 15:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306882048001,"66":12689,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306882048001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:15:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:15:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306882048001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":152879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:15:48] local.INFO: GPS data processed {"connection_id":152879,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:15:48] local.INFO: Acknowledgment sent {"connection_id":152879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:15:51] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0eede0012d7c77c005ec36380011010d06..."} 
[2026-08-10 15:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0eede0012d7c77c005ec36380011010d06..."} 
[2026-08-10 15:15:51] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0eede0012d7c77c005ec36380011010d06..."} 
[2026-08-10 15:15:51] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:15:51] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:15:51] local.INFO: GPS Element Parsed {"raw_longitude":763131840,"raw_latitude":99366456,"longitude_deg":76.313184,"latitude_deg":9.9366456,"altitude":17,"angle":269,"satellites":6,"speed":32,"hex_longitude":"2d7c77c0","hex_latitude":"05ec3638","is_valid_coordinates":true} 
[2026-08-10 15:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209726227316736,"note":"Value kept but may cause issues"} 
[2026-08-10 15:15:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786355052000,"timestamp_ms":1786355052000,"timestamp_seconds":1786355052,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0eede0"} 
[2026-08-10 15:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:15:51] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-10 15:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13319,"198":206,"87":13824,"24":32,"16":117209726227316736},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16]} 
[2026-08-10 15:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-10 15:15:51] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 15:15:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209726227316736,"km_value":117209726227316.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:15:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null}} 
[2026-08-10 15:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:15:51] local.INFO: GPS data processed {"connection_id":152877,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:15:51] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:15:58] local.INFO: TCP Data received {"connection_id":154328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:15:58] local.INFO: Processing buffer {"connection_id":154328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:15:58] local.INFO: IMEI packet received {"connection_id":154328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":154328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:16:04] local.INFO: TCP Data received {"connection_id":154328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:16:04] local.INFO: Processing buffer {"connection_id":154328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:16:04] local.INFO: IMEI packet received {"connection_id":154328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":154328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:16:04] local.INFO: TCP Data received {"connection_id":154328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:16:04] local.INFO: Processing buffer {"connection_id":154328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:16:04] local.INFO: Packet analysis {"connection_id":154328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:16:04] local.INFO: Extracted packet for processing {"connection_id":154328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306826752001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786355093000,"timestamp_ms":1786355093000,"timestamp_seconds":1786355093,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f8e08"} 
[2026-08-10 15:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:16: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-08-10 15:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306826752001,"66":25321,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306826752001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:16:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306826752001,"power":25321,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":154328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:16:04] local.INFO: GPS data processed {"connection_id":154328,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:16:04] local.INFO: Acknowledgment sent {"connection_id":154328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:16:16] local.INFO: TCP Data received {"connection_id":151553,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:16:16] local.INFO: Processing buffer {"connection_id":151553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:16:16] local.INFO: IMEI packet received {"connection_id":151553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":151553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:16:19] local.INFO: TCP Data received {"connection_id":152879,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0ee610012d181e800721afb8004900d525..."} 
[2026-08-10 15:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0ee610012d181e800721afb8004900d525..."} 
[2026-08-10 15:16:19] local.INFO: Processing buffer {"connection_id":152879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0ee610012d181e800721afb8004900d525..."} 
[2026-08-10 15:16:19] local.INFO: Packet analysis {"connection_id":152879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:16:19] local.INFO: Extracted packet for processing {"connection_id":152879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306887424001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786355050000,"timestamp_ms":1786355050000,"timestamp_seconds":1786355050,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0ee610"} 
[2026-08-10 15:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 15:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306887424001,"66":12461,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306887424001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:16:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:16:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306887424001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":152879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:16:19] local.INFO: GPS data processed {"connection_id":152879,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:16:19] local.INFO: Acknowledgment sent {"connection_id":152879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:16:31] local.INFO: TCP Data received {"connection_id":151553,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:16:31] local.INFO: Processing buffer {"connection_id":151553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:16:31] local.INFO: IMEI packet received {"connection_id":151553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":151553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:16:35] local.INFO: TCP Data received {"connection_id":154328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:16:35] local.INFO: Processing buffer {"connection_id":154328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:16:35] local.INFO: Packet analysis {"connection_id":154328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:16:35] local.INFO: Extracted packet for processing {"connection_id":154328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306826752001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786355093000,"timestamp_ms":1786355093000,"timestamp_seconds":1786355093,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f8e08"} 
[2026-08-10 15:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:16: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-08-10 15:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306826752001,"66":25321,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306826752001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:16:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306826752001,"power":25321,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":154328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:16:36] local.INFO: GPS data processed {"connection_id":154328,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:16:36] local.INFO: Acknowledgment sent {"connection_id":154328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:16:36] local.INFO: TCP Data received {"connection_id":151553,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0ef5b0012d7c710005ec36000010010e06..."} 
[2026-08-10 15:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0ef5b0012d7c710005ec36000010010e06..."} 
[2026-08-10 15:16:36] local.INFO: Processing buffer {"connection_id":151553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0ef5b0012d7c710005ec36000010010e06..."} 
[2026-08-10 15:16:36] local.INFO: Packet analysis {"connection_id":151553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:16:36] local.INFO: Extracted packet for processing {"connection_id":151553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0e"} 
[2026-08-10 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763130112,"raw_latitude":99366400,"longitude_deg":76.3130112,"latitude_deg":9.93664,"altitude":16,"angle":270,"satellites":6,"speed":35,"hex_longitude":"2d7c7100","hex_latitude":"05ec3600","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306893312001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117209807831695360,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968848314601977856,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786355054000,"timestamp_ms":1786355054000,"timestamp_seconds":1786355054,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0ef5b0"} 
[2026-08-10 15:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":7,"data_length":795,"current_offset":136} 
[2026-08-10 15:16:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:36] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3943500160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":693555442126684160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-10 15:16:36] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2281766912,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4110470473,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:36] local.WARNING: Large IO value detected {"io_id":201,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:36] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,198,87,24,241,157,16,105,159,163,10,66,110,81,255,1,240,227,235,4,113,205,91,239,2,45,109,160,201],"length":527,"final_offset":657,"validated_count":29,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-10 15:16:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225274893044547653,"timestamp_seconds":1225274893044547.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306893312001,"66":13319,"198":206,"87":13824,"24":35,"16":117209807831695360,"45":8968848314601977856},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-10 15:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306893312001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:16:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 15:16:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117209807831695360,"km_value":117209807831695.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968848314601977856,"description":"Unknown IO ID 45"} 
[2026-08-10 15:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306893312001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8968848314601977856}} 
[2026-08-10 15:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":151553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:16:36] local.INFO: GPS data processed {"connection_id":151553,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:16:36] local.INFO: Acknowledgment sent {"connection_id":151553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:16:37] local.INFO: TCP Data received {"connection_id":151553,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f20a8012d7c4bc005ec34b80011010d07..."} 
[2026-08-10 15:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f20a8012d7c4bc005ec34b80011010d07..."} 
[2026-08-10 15:16:37] local.INFO: Processing buffer {"connection_id":151553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f20a8012d7c4bc005ec34b80011010d07..."} 
[2026-08-10 15:16:37] local.INFO: Packet analysis {"connection_id":151553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:16:37] local.INFO: Extracted packet for processing {"connection_id":151553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763120576,"raw_latitude":99366072,"longitude_deg":76.3120576,"latitude_deg":9.9366072,"altitude":17,"angle":269,"satellites":7,"speed":33,"hex_longitude":"2d7c4bc0","hex_latitude":"05ec34b8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306893824001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117210263098228736,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966948358509166592,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786355065000,"timestamp_ms":1786355065000,"timestamp_seconds":1786355065,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f20a8"} 
[2026-08-10 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-08-10 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 15:16:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:37] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3943521160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416621,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-10 15:16:37] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2415984640,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:37] local.WARNING: Large IO value detected {"io_id":245,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:37] local.WARNING: Large IO value detected {"io_id":13,"raw_value":684548242871943168,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:37] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,198,87,24,241,157,16,105,159,237,45,192,54,17,6,10,66,163,110,81,1,240,40,227,235,4,113,205,173,239,2,160,245,13],"length":527,"final_offset":657,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-10 15:16:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153218398518444032,"timestamp_seconds":1153218398518444.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 15:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:16: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-08-10 15:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306893824001,"66":13472,"198":206,"87":13824,"24":33,"16":117210263098228736,"45":8966948358509166592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-10 15:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306893824001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:16:37] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 15:16:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117210263098228736,"km_value":117210263098228.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966948358509166592,"description":"Unknown IO ID 45"} 
[2026-08-10 15:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306893824001,"power":13472,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8966948358509166592}} 
[2026-08-10 15:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":151553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:16:38] local.INFO: GPS data processed {"connection_id":151553,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:16:38] local.INFO: Acknowledgment sent {"connection_id":151553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:16:42] local.INFO: TCP Data received {"connection_id":151554,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:16:42] local.INFO: Processing buffer {"connection_id":151554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:16:42] local.INFO: IMEI packet received {"connection_id":151554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":151554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:16:47] local.INFO: TCP Data received {"connection_id":151554,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:16:47] local.INFO: Processing buffer {"connection_id":151554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:16:47] local.INFO: IMEI packet received {"connection_id":151554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":151554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:16:48] local.INFO: TCP Data received {"connection_id":151554,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f3818012d181e800721afb8004900d526..."} 
[2026-08-10 15:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f3818012d181e800721afb8004900d526..."} 
[2026-08-10 15:16:48] local.INFO: Processing buffer {"connection_id":151554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f3818012d181e800721afb8004900d526..."} 
[2026-08-10 15:16:48] local.INFO: Packet analysis {"connection_id":151554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:16:48] local.INFO: Extracted packet for processing {"connection_id":151554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306892800001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786355071000,"timestamp_ms":1786355071000,"timestamp_seconds":1786355071,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f3818"} 
[2026-08-10 15:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 15:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306892800001,"66":12548,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306892800001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:16:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:16:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306892800001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":151554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:16:48] local.INFO: GPS data processed {"connection_id":151554,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:16:48] local.INFO: Acknowledgment sent {"connection_id":151554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:17:04] local.INFO: TCP Data received {"connection_id":151555,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:17:04] local.INFO: Processing buffer {"connection_id":151555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:17:04] local.INFO: IMEI packet received {"connection_id":151555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":151555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:17:09] local.INFO: TCP Data received {"connection_id":151555,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:17:09] local.INFO: Processing buffer {"connection_id":151555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:17:09] local.INFO: IMEI packet received {"connection_id":151555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":151555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:17:10] local.INFO: TCP Data received {"connection_id":151553,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f4ba0012d7c284005ec33b00012010d08..."} 
[2026-08-10 15:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f4ba0012d7c284005ec33b00012010d08..."} 
[2026-08-10 15:17:10] local.INFO: Processing buffer {"connection_id":151553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f4ba0012d7c284005ec33b00012010d08..."} 
[2026-08-10 15:17:10] local.INFO: Packet analysis {"connection_id":151553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:17:10] local.INFO: Extracted packet for processing {"connection_id":151553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763111488,"raw_latitude":99365808,"longitude_deg":76.3111488,"latitude_deg":9.9365808,"altitude":18,"angle":269,"satellites":8,"speed":30,"hex_longitude":"2d7c2840","hex_latitude":"05ec33b0","is_valid_coordinates":true} 
[2026-08-10 15:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306896640001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117210696889925632,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956463415626610688,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786355076000,"timestamp_ms":1786355076000,"timestamp_seconds":1786355076,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f4ba0"} 
[2026-08-10 15:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:17: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-08-10 15: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 15:17: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-08-10 15:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:17: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-08-10 15:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306896640001,"66":13417,"198":206,"87":13824,"24":30,"16":117210696889925632,"45":8956463415626610688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-10 15:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306896640001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:17:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 15:17:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117210696889925632,"km_value":117210696889925.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956463415626610688,"description":"Unknown IO ID 45"} 
[2026-08-10 15:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306896640001,"power":13417,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8956463415626610688}} 
[2026-08-10 15:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":151553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:17:10] local.INFO: GPS data processed {"connection_id":151553,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:17:10] local.INFO: Acknowledgment sent {"connection_id":151553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:17:10] local.INFO: TCP Data received {"connection_id":151555,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:17:10] local.INFO: Processing buffer {"connection_id":151555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:17:10] local.INFO: Packet analysis {"connection_id":151555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:17:10] local.INFO: Extracted packet for processing {"connection_id":151555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306826752001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786355093000,"timestamp_ms":1786355093000,"timestamp_seconds":1786355093,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f8e08"} 
[2026-08-10 15:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15: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-08-10 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306826752001,"66":25321,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306826752001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:17:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306826752001,"power":25321,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":151555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:17:10] local.INFO: GPS data processed {"connection_id":151555,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:17:10] local.INFO: Acknowledgment sent {"connection_id":151555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:17:14] local.INFO: TCP Data received {"connection_id":151555,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:17:14] local.INFO: Processing buffer {"connection_id":151555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:17:14] local.INFO: Packet analysis {"connection_id":151555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:17:14] local.INFO: Extracted packet for processing {"connection_id":151555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306826752001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786355093000,"timestamp_ms":1786355093000,"timestamp_seconds":1786355093,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f8e08"} 
[2026-08-10 15:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306826752001,"66":25321,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306826752001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:17:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306826752001,"power":25321,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":151555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:17:14] local.INFO: GPS data processed {"connection_id":151555,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:17:14] local.INFO: Acknowledgment sent {"connection_id":151555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:17:19] local.INFO: TCP Data received {"connection_id":151554,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f8a20012d181e800721afb8004900d525..."} 
[2026-08-10 15:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f8a20012d181e800721afb8004900d525..."} 
[2026-08-10 15:17:19] local.INFO: Processing buffer {"connection_id":151554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f8a20012d181e800721afb8004900d525..."} 
[2026-08-10 15:17:19] local.INFO: Packet analysis {"connection_id":151554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:17:19] local.INFO: Extracted packet for processing {"connection_id":151554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306898176001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786355092000,"timestamp_ms":1786355092000,"timestamp_seconds":1786355092,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f8a20"} 
[2026-08-10 15:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3943517160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2948071497,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199530,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2766274560,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,164,159,230,45,128,175,73,37,10,66,148,35,1,240,101,227,235,33,4,113,205,30,184,38,239,49,2,40,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 15:17:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260438723954212864,"timestamp_seconds":5260438723954213.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306898176001,"66":12504,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306898176001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:17:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:17:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306898176001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":151554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:17:19] local.INFO: GPS data processed {"connection_id":151554,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:17:19] local.INFO: Acknowledgment sent {"connection_id":151554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:17:42] local.INFO: TCP Data received {"connection_id":154329,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:17:42] local.INFO: Processing buffer {"connection_id":154329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:17:42] local.INFO: IMEI packet received {"connection_id":154329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":154329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:17:42] local.INFO: TCP Data received {"connection_id":151553,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb119590012d7ab28005ebb360001300f818..."} 
[2026-08-10 15:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb119590012d7ab28005ebb360001300f818..."} 
[2026-08-10 15:17:42] local.INFO: Processing buffer {"connection_id":151553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb119590012d7ab28005ebb360001300f818..."} 
[2026-08-10 15:17:42] local.INFO: Packet analysis {"connection_id":151553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb11"} 
[2026-08-10 15:17:42] local.INFO: Extracted packet for processing {"connection_id":151553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb11"} 
[2026-08-10 15:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763015808,"raw_latitude":99332960,"longitude_deg":76.3015808,"latitude_deg":9.933296,"altitude":19,"angle":248,"satellites":24,"speed":20,"hex_longitude":"2d7ab280","hex_latitude":"05ebb360","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306934016001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117215580267741184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850417718143328256,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786355226000,"timestamp_ms":1786355226000,"timestamp_seconds":1786355226,"priority":1,"record_length":96,"hex_timestamp":"0000019feb119590"} 
[2026-08-10 15:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-10 15:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306934016001,"66":13624,"98":206,"87":13824,"24":20,"16":117215580267741184,"45":8850417718143328256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-10 15:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306934016001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:17:42] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-10 15:17:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117215580267741184,"km_value":117215580267741.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850417718143328256,"description":"Unknown IO ID 45"} 
[2026-08-10 15:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306934016001,"power":13624,"unknown_98":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8850417718143328256}} 
[2026-08-10 15:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":151553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:17:42] local.INFO: GPS data processed {"connection_id":151553,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:17:42] local.INFO: Acknowledgment sent {"connection_id":151553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:17:47] local.INFO: TCP Data received {"connection_id":154329,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:17:47] local.INFO: Processing buffer {"connection_id":154329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:17:47] local.INFO: IMEI packet received {"connection_id":154329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":154329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:17:48] local.INFO: TCP Data received {"connection_id":154329,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0fdc28012d181e800721afb8004900d525..."} 
[2026-08-10 15:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0fdc28012d181e800721afb8004900d525..."} 
[2026-08-10 15:17:48] local.INFO: Processing buffer {"connection_id":154329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0fdc28012d181e800721afb8004900d525..."} 
[2026-08-10 15:17:48] local.INFO: Packet analysis {"connection_id":154329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:17:48] local.INFO: Extracted packet for processing {"connection_id":154329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306903552001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786355113000,"timestamp_ms":1786355113000,"timestamp_seconds":1786355113,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0fdc28"} 
[2026-08-10 15:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 15:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306903552001,"66":12504,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306903552001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:17:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306903552001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":154329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:17:48] local.INFO: GPS data processed {"connection_id":154329,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:17:48] local.INFO: Acknowledgment sent {"connection_id":154329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:17:59] local.INFO: TCP Data received {"connection_id":151952,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:17:59] local.INFO: Processing buffer {"connection_id":151952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:17:59] local.INFO: IMEI packet received {"connection_id":151952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":151952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:18:04] local.INFO: TCP Data received {"connection_id":151952,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:18:04] local.INFO: Processing buffer {"connection_id":151952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:18:04] local.INFO: IMEI packet received {"connection_id":151952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":151952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:18:07] local.INFO: TCP Data received {"connection_id":151556,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:18:07] local.INFO: Processing buffer {"connection_id":151556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:18:07] local.INFO: IMEI packet received {"connection_id":151556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":151556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:18:08] local.INFO: TCP Data received {"connection_id":151952,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:18:08] local.INFO: Processing buffer {"connection_id":151952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:18:08] local.INFO: Packet analysis {"connection_id":151952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:18:08] local.INFO: Extracted packet for processing {"connection_id":151952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306826752001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786355093000,"timestamp_ms":1786355093000,"timestamp_seconds":1786355093,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f8e08"} 
[2026-08-10 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-08-10 15:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306826752001,"66":25321,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306826752001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:18:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306826752001,"power":25321,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":151952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:18:08] local.INFO: GPS data processed {"connection_id":151952,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:18:08] local.INFO: Acknowledgment sent {"connection_id":151952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:18:12] local.INFO: TCP Data received {"connection_id":151556,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:18:12] local.INFO: Processing buffer {"connection_id":151556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:18:12] local.INFO: IMEI packet received {"connection_id":151556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":151556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:18:13] local.INFO: TCP Data received {"connection_id":151556,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb11cc40012d7a910005eba750001100fd18..."} 
[2026-08-10 15:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb11cc40012d7a910005eba750001100fd18..."} 
[2026-08-10 15:18:13] local.INFO: Processing buffer {"connection_id":151556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb11cc40012d7a910005eba750001100fd18..."} 
[2026-08-10 15:18:13] local.INFO: Packet analysis {"connection_id":151556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb11"} 
[2026-08-10 15:18:13] local.INFO: Extracted packet for processing {"connection_id":151556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb11"} 
[2026-08-10 15:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763007232,"raw_latitude":99329872,"longitude_deg":76.3007232,"latitude_deg":9.9329872,"altitude":17,"angle":253,"satellites":24,"speed":27,"hex_longitude":"2d7a9100","hex_latitude":"05eba750","is_valid_coordinates":true} 
[2026-08-10 15:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306937856001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117216018354405376,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841269781399298048,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786355240000,"timestamp_ms":1786355240000,"timestamp_seconds":1786355240,"priority":1,"record_length":96,"hex_timestamp":"0000019feb11cc40"} 
[2026-08-10 15:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:18: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":56,"data_length":795,"current_offset":136} 
[2026-08-10 15:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306937856001,"66":13559,"98":206,"87":13824,"24":27,"16":117216018354405376,"45":8841269781399298048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-10 15:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306937856001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:18:13] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-10 15:18:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117216018354405376,"km_value":117216018354405.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841269781399298048,"description":"Unknown IO ID 45"} 
[2026-08-10 15:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306937856001,"power":13559,"unknown_98":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8841269781399298048}} 
[2026-08-10 15:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":151556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:18:13] local.INFO: GPS data processed {"connection_id":151556,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:18:13] local.INFO: Acknowledgment sent {"connection_id":151556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:18:19] local.INFO: TCP Data received {"connection_id":154329,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb102e30012d181e800721afb8004900d528..."} 
[2026-08-10 15:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb102e30012d181e800721afb8004900d528..."} 
[2026-08-10 15:18:19] local.INFO: Processing buffer {"connection_id":154329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb102e30012d181e800721afb8004900d528..."} 
[2026-08-10 15:18:19] local.INFO: Packet analysis {"connection_id":154329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb10"} 
[2026-08-10 15:18:19] local.INFO: Extracted packet for processing {"connection_id":154329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb10"} 
[2026-08-10 15:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306908928001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786355134000,"timestamp_ms":1786355134000,"timestamp_seconds":1786355134,"priority":1,"record_length":96,"hex_timestamp":"0000019feb102e30"} 
[2026-08-10 15:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 15:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306908928001,"66":12461,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306908928001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:18:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306908928001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":154329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:18:19] local.INFO: GPS data processed {"connection_id":154329,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:18:19] local.INFO: Acknowledgment sent {"connection_id":154329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:18:39] local.INFO: TCP Data received {"connection_id":151952,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:18:39] local.INFO: Processing buffer {"connection_id":151952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:18:39] local.INFO: Packet analysis {"connection_id":151952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:18:39] local.INFO: Extracted packet for processing {"connection_id":151952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306826752001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786355093000,"timestamp_ms":1786355093000,"timestamp_seconds":1786355093,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f8e08"} 
[2026-08-10 15:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306826752001,"66":25321,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306826752001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:18:39] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306826752001,"power":25321,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":151952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:18:39] local.INFO: GPS data processed {"connection_id":151952,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:18:39] local.INFO: Acknowledgment sent {"connection_id":151952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:18:42] local.INFO: TCP Data received {"connection_id":152880,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:18:42] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:18:42] local.INFO: IMEI packet received {"connection_id":152880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":152880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:18:44] local.INFO: TCP Data received {"connection_id":151556,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb11ff08012d7a6f0005eb9ac8001100fa18..."} 
[2026-08-10 15:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb11ff08012d7a6f0005eb9ac8001100fa18..."} 
[2026-08-10 15:18:44] local.INFO: Processing buffer {"connection_id":151556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb11ff08012d7a6f0005eb9ac8001100fa18..."} 
[2026-08-10 15:18:44] local.INFO: Packet analysis {"connection_id":151556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb11"} 
[2026-08-10 15:18:44] local.INFO: Extracted packet for processing {"connection_id":151556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb11"} 
[2026-08-10 15:18:44] local.INFO: GPS Element Parsed {"raw_longitude":762998528,"raw_latitude":99326664,"longitude_deg":76.2998528,"latitude_deg":9.9326664,"altitude":17,"angle":250,"satellites":24,"speed":26,"hex_longitude":"2d7a6f00","hex_latitude":"05eb9ac8","is_valid_coordinates":true} 
[2026-08-10 15:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306941440001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117216460736036864,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831840369678700544,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786355253000,"timestamp_ms":1786355253000,"timestamp_seconds":1786355253,"priority":1,"record_length":96,"hex_timestamp":"0000019feb11ff08"} 
[2026-08-10 15:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 15:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306941440001,"66":13515,"161":206,"87":13824,"24":26,"16":117216460736036864,"45":8831840369678700544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-10 15:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306941440001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:18:44] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-10 15:18:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117216460736036864,"km_value":117216460736036.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831840369678700544,"description":"Unknown IO ID 45"} 
[2026-08-10 15:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306941440001,"power":13515,"unknown_161":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8831840369678700544}} 
[2026-08-10 15:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":151556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:18:44] local.INFO: GPS data processed {"connection_id":151556,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:18:44] local.INFO: Acknowledgment sent {"connection_id":151556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:18:47] local.INFO: TCP Data received {"connection_id":152880,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:18:47] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:18:47] local.INFO: IMEI packet received {"connection_id":152880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":152880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:18:48] local.INFO: TCP Data received {"connection_id":152880,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb108038012d181e800721afb8004900d526..."} 
[2026-08-10 15:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb108038012d181e800721afb8004900d526..."} 
[2026-08-10 15:18:48] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb108038012d181e800721afb8004900d526..."} 
[2026-08-10 15:18:48] local.INFO: Packet analysis {"connection_id":152880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb10"} 
[2026-08-10 15:18:48] local.INFO: Extracted packet for processing {"connection_id":152880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb10"} 
[2026-08-10 15:18:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306914304001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786355155000,"timestamp_ms":1786355155000,"timestamp_seconds":1786355155,"priority":1,"record_length":96,"hex_timestamp":"0000019feb108038"} 
[2026-08-10 15:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:18: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":173,"data_length":795,"current_offset":136} 
[2026-08-10 15:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306914304001,"66":12461,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306914304001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:18:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:18:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306914304001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":152880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:18:48] local.INFO: GPS data processed {"connection_id":152880,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:18:48] local.INFO: Acknowledgment sent {"connection_id":152880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:19:01] local.INFO: TCP Data received {"connection_id":151953,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:19:01] local.INFO: Processing buffer {"connection_id":151953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:19:01] local.INFO: IMEI packet received {"connection_id":151953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":151953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:19:05] local.INFO: TCP Data received {"connection_id":151557,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:19:05] local.INFO: Processing buffer {"connection_id":151557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:19:05] local.INFO: IMEI packet received {"connection_id":151557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":151557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:19:06] local.INFO: TCP Data received {"connection_id":151953,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:19:06] local.INFO: Processing buffer {"connection_id":151953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:19:06] local.INFO: IMEI packet received {"connection_id":151953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":151953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:19:07] local.INFO: TCP Data received {"connection_id":151953,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:19:07] local.INFO: Processing buffer {"connection_id":151953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:19:07] local.INFO: Packet analysis {"connection_id":151953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:19:07] local.INFO: Extracted packet for processing {"connection_id":151953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:19:07] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306826752001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786355093000,"timestamp_ms":1786355093000,"timestamp_seconds":1786355093,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f8e08"} 
[2026-08-10 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-08-10 15:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306826752001,"66":25321,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306826752001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:19:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:19:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306826752001,"power":25321,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":151953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:19:07] local.INFO: GPS data processed {"connection_id":151953,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:19:07] local.INFO: Acknowledgment sent {"connection_id":151953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:19:07] local.INFO: TCP Data received {"connection_id":151557,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:19:07] local.INFO: Processing buffer {"connection_id":151557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:19:07] local.INFO: IMEI packet received {"connection_id":151557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":151557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:19:08] local.INFO: TCP Data received {"connection_id":151557,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:19:08] local.INFO: Processing buffer {"connection_id":151557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:19:08] local.INFO: IMEI packet received {"connection_id":151557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":151557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:19:09] local.INFO: TCP Data received {"connection_id":151953,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:19:09] local.INFO: Processing buffer {"connection_id":151953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:19:09] local.INFO: Packet analysis {"connection_id":151953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:19:09] local.INFO: Extracted packet for processing {"connection_id":151953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306826752001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786355093000,"timestamp_ms":1786355093000,"timestamp_seconds":1786355093,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f8e08"} 
[2026-08-10 15:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:19: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-08-10 15:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306826752001,"66":25321,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306826752001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:19:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306826752001,"power":25321,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":151953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:19:09] local.INFO: GPS data processed {"connection_id":151953,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:19:09] local.INFO: Acknowledgment sent {"connection_id":151953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:19:12] local.INFO: TCP Data received {"connection_id":151557,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:19:12] local.INFO: Processing buffer {"connection_id":151557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:19:12] local.INFO: IMEI packet received {"connection_id":151557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":151557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:19:13] local.INFO: TCP Data received {"connection_id":151557,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb124d28012d7a618005eb9558001100fe17..."} 
[2026-08-10 15:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb124d28012d7a618005eb9558001100fe17..."} 
[2026-08-10 15:19:13] local.INFO: Processing buffer {"connection_id":151557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb124d28012d7a618005eb9558001100fe17..."} 
[2026-08-10 15:19:13] local.INFO: Packet analysis {"connection_id":151557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb12"} 
[2026-08-10 15:19:13] local.INFO: Extracted packet for processing {"connection_id":151557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb12"} 
[2026-08-10 15:19:13] local.INFO: GPS Element Parsed {"raw_longitude":762995072,"raw_latitude":99325272,"longitude_deg":76.2995072,"latitude_deg":9.9325272,"altitude":17,"angle":254,"satellites":23,"speed":0,"hex_longitude":"2d7a6180","hex_latitude":"05eb9558","is_valid_coordinates":true} 
[2026-08-10 15:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306944768001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117216645419630592,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822270220469716992,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786355273000,"timestamp_ms":1786355273000,"timestamp_seconds":1786355273,"priority":1,"record_length":96,"hex_timestamp":"0000019feb124d28"} 
[2026-08-10 15:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 15:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306944768001,"66":13276,"161":206,"87":13824,"24":0,"16":117216645419630592,"45":8822270220469716992},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-10 15:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306944768001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:19:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-10 15:19:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117216645419630592,"km_value":117216645419630.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822270220469716992,"description":"Unknown IO ID 45"} 
[2026-08-10 15:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306944768001,"power":13276,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8822270220469716992}} 
[2026-08-10 15:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":151557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:19:13] local.INFO: GPS data processed {"connection_id":151557,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:19:13] local.INFO: Acknowledgment sent {"connection_id":151557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:19:19] local.INFO: TCP Data received {"connection_id":152880,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb10d240012d181e800721afb8004900d528..."} 
[2026-08-10 15:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb10d240012d181e800721afb8004900d528..."} 
[2026-08-10 15:19:19] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb10d240012d181e800721afb8004900d528..."} 
[2026-08-10 15:19:19] local.INFO: Packet analysis {"connection_id":152880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb10"} 
[2026-08-10 15:19:19] local.INFO: Extracted packet for processing {"connection_id":152880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb10"} 
[2026-08-10 15:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306919680001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786355176000,"timestamp_ms":1786355176000,"timestamp_seconds":1786355176,"priority":1,"record_length":96,"hex_timestamp":"0000019feb10d240"} 
[2026-08-10 15:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 15:19: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-08-10 15:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306919680001,"66":12461,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306919680001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:19:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306919680001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":152880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:19:19] local.INFO: GPS data processed {"connection_id":152880,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:19:19] local.INFO: Acknowledgment sent {"connection_id":152880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:19:40] local.INFO: TCP Data received {"connection_id":151953,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:19:40] local.INFO: Processing buffer {"connection_id":151953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:19:40] local.INFO: Packet analysis {"connection_id":151953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:19:40] local.INFO: Extracted packet for processing {"connection_id":151953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306826752001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786355093000,"timestamp_ms":1786355093000,"timestamp_seconds":1786355093,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f8e08"} 
[2026-08-10 15:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306826752001,"66":25321,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306826752001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:19:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:19:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306826752001,"power":25321,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":151953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:19:40] local.INFO: GPS data processed {"connection_id":151953,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:19:40] local.INFO: Acknowledgment sent {"connection_id":151953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:19:42] local.INFO: TCP Data received {"connection_id":154330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:19:42] local.INFO: Processing buffer {"connection_id":154330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:19:42] local.INFO: IMEI packet received {"connection_id":154330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":154330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:19:42] local.INFO: TCP Data received {"connection_id":154330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:19:42] local.INFO: Processing buffer {"connection_id":154330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:19:42] local.INFO: IMEI packet received {"connection_id":154330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":154330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:19:44] local.INFO: TCP Data received {"connection_id":151557,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb13bc58012d7a3cc005ebbe98000b014118..."} 
[2026-08-10 15:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb13bc58012d7a3cc005ebbe98000b014118..."} 
[2026-08-10 15:19:44] local.INFO: Processing buffer {"connection_id":151557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb13bc58012d7a3cc005ebbe98000b014118..."} 
[2026-08-10 15:19:44] local.INFO: Packet analysis {"connection_id":151557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb13"} 
[2026-08-10 15:19:44] local.INFO: Extracted packet for processing {"connection_id":151557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb13"} 
[2026-08-10 15:19:44] local.INFO: GPS Element Parsed {"raw_longitude":762985664,"raw_latitude":99335832,"longitude_deg":76.2985664,"latitude_deg":9.9335832,"altitude":11,"angle":321,"satellites":24,"speed":11,"hex_longitude":"2d7a3cc0","hex_latitude":"05ebbe98","is_valid_coordinates":true} 
[2026-08-10 15:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306973696001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117217375564070912,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808407577869010944,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786355367000,"timestamp_ms":1786355367000,"timestamp_seconds":1786355367,"priority":1,"record_length":96,"hex_timestamp":"0000019feb13bc58"} 
[2026-08-10 15:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306973696001,"66":13493,"163":206,"87":13824,"24":11,"16":117217375564070912,"45":8808407577869010944},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 15:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306973696001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:19:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 15:19:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117217375564070912,"km_value":117217375564070.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808407577869010944,"description":"Unknown IO ID 45"} 
[2026-08-10 15:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306973696001,"power":13493,"unknown_163":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8808407577869010944}} 
[2026-08-10 15:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":151557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:19:44] local.INFO: GPS data processed {"connection_id":151557,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:19:44] local.INFO: Acknowledgment sent {"connection_id":151557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:19:47] local.INFO: TCP Data received {"connection_id":154330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:19:47] local.INFO: Processing buffer {"connection_id":154330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:19:47] local.INFO: IMEI packet received {"connection_id":154330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":154330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:19:48] local.INFO: TCP Data received {"connection_id":154330,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb112448012d181e800721afb8004900d527..."} 
[2026-08-10 15:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb112448012d181e800721afb8004900d527..."} 
[2026-08-10 15:19:48] local.INFO: Processing buffer {"connection_id":154330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb112448012d181e800721afb8004900d527..."} 
[2026-08-10 15:19:48] local.INFO: Packet analysis {"connection_id":154330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb11"} 
[2026-08-10 15:19:48] local.INFO: Extracted packet for processing {"connection_id":154330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb11"} 
[2026-08-10 15:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306925056001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786355197000,"timestamp_ms":1786355197000,"timestamp_seconds":1786355197,"priority":1,"record_length":96,"hex_timestamp":"0000019feb112448"} 
[2026-08-10 15:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 15:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306925056001,"66":12428,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306925056001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:19:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:19:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306925056001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":154330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:19:48] local.INFO: GPS data processed {"connection_id":154330,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:19:48] local.INFO: Acknowledgment sent {"connection_id":154330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:19:58] local.INFO: TCP Data received {"connection_id":152881,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:19:58] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:19:58] local.INFO: IMEI packet received {"connection_id":152881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":152881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:20:04] local.INFO: TCP Data received {"connection_id":152881,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:20:04] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:20:04] local.INFO: IMEI packet received {"connection_id":152881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":152881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:20:04] local.INFO: TCP Data received {"connection_id":152881,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:20:04] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb0f8e08012d342a4006abc2800019010222..."} 
[2026-08-10 15:20:04] local.INFO: Packet analysis {"connection_id":152881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:20:04] local.INFO: Extracted packet for processing {"connection_id":152881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb0f"} 
[2026-08-10 15:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":25,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306826752001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786355093000,"timestamp_ms":1786355093000,"timestamp_seconds":1786355093,"priority":1,"record_length":96,"hex_timestamp":"0000019feb0f8e08"} 
[2026-08-10 15:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:20: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-08-10 15:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306826752001,"66":25321,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306826752001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:20:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306826752001,"power":25321,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":152881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:20:04] local.INFO: GPS data processed {"connection_id":152881,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:20:04] local.INFO: Acknowledgment sent {"connection_id":152881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:20:09] local.INFO: TCP Data received {"connection_id":152882,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:20:09] local.INFO: Processing buffer {"connection_id":152882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:20:09] local.INFO: IMEI packet received {"connection_id":152882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":152882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:20:12] local.INFO: TCP Data received {"connection_id":152882,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:20:12] local.INFO: Processing buffer {"connection_id":152882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:20:12] local.INFO: IMEI packet received {"connection_id":152882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":152882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:20:12] local.INFO: TCP Data received {"connection_id":152882,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:20:12] local.INFO: Processing buffer {"connection_id":152882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:20:12] local.INFO: IMEI packet received {"connection_id":152882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":152882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:20:17] local.INFO: TCP Data received {"connection_id":152882,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:20:17] local.INFO: Processing buffer {"connection_id":152882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:20:17] local.INFO: IMEI packet received {"connection_id":152882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":152882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:20:19] local.INFO: TCP Data received {"connection_id":154330,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb117650012d181e800721afb8004900d527..."} 
[2026-08-10 15:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb117650012d181e800721afb8004900d527..."} 
[2026-08-10 15:20:19] local.INFO: Processing buffer {"connection_id":154330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb117650012d181e800721afb8004900d527..."} 
[2026-08-10 15:20:19] local.INFO: Packet analysis {"connection_id":154330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb11"} 
[2026-08-10 15:20:19] local.INFO: Extracted packet for processing {"connection_id":154330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb11"} 
[2026-08-10 15:20:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306930432001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786355218000,"timestamp_ms":1786355218000,"timestamp_seconds":1786355218,"priority":1,"record_length":96,"hex_timestamp":"0000019feb117650"} 
[2026-08-10 15:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 15:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306930432001,"66":12374,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306930432001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:20:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:20:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306930432001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":154330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:20:19] local.INFO: GPS data processed {"connection_id":154330,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:20:19] local.INFO: Acknowledgment sent {"connection_id":154330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:20:36] local.INFO: TCP Data received {"connection_id":152881,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:20:36] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:20:36] local.INFO: Packet analysis {"connection_id":152881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:20:36] local.INFO: Extracted packet for processing {"connection_id":152881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306903808001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786355394000,"timestamp_ms":1786355394000,"timestamp_seconds":1786355394,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1425d0"} 
[2026-08-10 15:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 15:20: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-08-10 15: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-08-10 15:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306903808001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306903808001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:20:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306903808001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":152881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:20:36] local.INFO: GPS data processed {"connection_id":152881,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:20:36] local.INFO: Acknowledgment sent {"connection_id":152881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:20:45] local.INFO: TCP Data received {"connection_id":151558,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:20:45] local.INFO: Processing buffer {"connection_id":151558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:20:45] local.INFO: IMEI packet received {"connection_id":151558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":151558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:20:47] local.INFO: TCP Data received {"connection_id":151558,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:20:47] local.INFO: Processing buffer {"connection_id":151558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:20:47] local.INFO: IMEI packet received {"connection_id":151558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":151558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:20:52] local.INFO: TCP Data received {"connection_id":151558,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:20:52] local.INFO: Processing buffer {"connection_id":151558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:20:52] local.INFO: IMEI packet received {"connection_id":151558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":151558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:20:53] local.INFO: TCP Data received {"connection_id":151558,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb11c858012d181e800721afb8004900d527..."} 
[2026-08-10 15:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb11c858012d181e800721afb8004900d527..."} 
[2026-08-10 15:20:53] local.INFO: Processing buffer {"connection_id":151558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb11c858012d181e800721afb8004900d527..."} 
[2026-08-10 15:20:53] local.INFO: Packet analysis {"connection_id":151558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb11"} 
[2026-08-10 15:20:53] local.INFO: Extracted packet for processing {"connection_id":151558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb11"} 
[2026-08-10 15:20:53] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306935808001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786355239000,"timestamp_ms":1786355239000,"timestamp_seconds":1786355239,"priority":1,"record_length":96,"hex_timestamp":"0000019feb11c858"} 
[2026-08-10 15:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 15:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306935808001,"66":12385,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306935808001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:20:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:20:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306935808001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":151558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:20:53] local.INFO: GPS data processed {"connection_id":151558,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:20:53] local.INFO: Acknowledgment sent {"connection_id":151558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:21:04] local.INFO: TCP Data received {"connection_id":154331,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:21:04] local.INFO: Processing buffer {"connection_id":154331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:21:04] local.INFO: IMEI packet received {"connection_id":154331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":154331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:21:09] local.INFO: TCP Data received {"connection_id":154331,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:21:09] local.INFO: Processing buffer {"connection_id":154331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:21:09] local.INFO: IMEI packet received {"connection_id":154331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":154331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:21:10] local.INFO: TCP Data received {"connection_id":154331,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:21:10] local.INFO: Processing buffer {"connection_id":154331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:21:10] local.INFO: Packet analysis {"connection_id":154331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:21:10] local.INFO: Extracted packet for processing {"connection_id":154331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306903808001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786355394000,"timestamp_ms":1786355394000,"timestamp_seconds":1786355394,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1425d0"} 
[2026-08-10 15:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:21: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-08-10 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 15:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306903808001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306903808001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:21:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306903808001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":154331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:21:10] local.INFO: GPS data processed {"connection_id":154331,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:21:10] local.INFO: Acknowledgment sent {"connection_id":154331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:21:14] local.INFO: TCP Data received {"connection_id":154331,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:21:14] local.INFO: Processing buffer {"connection_id":154331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:21:14] local.INFO: Packet analysis {"connection_id":154331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:21:14] local.INFO: Extracted packet for processing {"connection_id":154331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306903808001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786355394000,"timestamp_ms":1786355394000,"timestamp_seconds":1786355394,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1425d0"} 
[2026-08-10 15:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 15:21: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-08-10 15: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-08-10 15:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306903808001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306903808001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:21:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:21:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306903808001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":154331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:21:14] local.INFO: GPS data processed {"connection_id":154331,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:21:14] local.INFO: Acknowledgment sent {"connection_id":154331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:21:24] local.INFO: TCP Data received {"connection_id":151558,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb121a60012d181e800721afb8004900d528..."} 
[2026-08-10 15:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb121a60012d181e800721afb8004900d528..."} 
[2026-08-10 15:21:24] local.INFO: Processing buffer {"connection_id":151558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb121a60012d181e800721afb8004900d528..."} 
[2026-08-10 15:21:24] local.INFO: Packet analysis {"connection_id":151558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb12"} 
[2026-08-10 15:21:24] local.INFO: Extracted packet for processing {"connection_id":151558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb12"} 
[2026-08-10 15:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306941184001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786355260000,"timestamp_ms":1786355260000,"timestamp_seconds":1786355260,"priority":1,"record_length":96,"hex_timestamp":"0000019feb121a60"} 
[2026-08-10 15:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306941184001,"66":12385,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306941184001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:21:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:21:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306941184001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":151558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:21:24] local.INFO: GPS data processed {"connection_id":151558,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:21:24] local.INFO: Acknowledgment sent {"connection_id":151558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:21:42] local.INFO: TCP Data received {"connection_id":151560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:21:42] local.INFO: Processing buffer {"connection_id":151560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:21:42] local.INFO: IMEI packet received {"connection_id":151560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":151560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:21:47] local.INFO: TCP Data received {"connection_id":151560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:21:47] local.INFO: Processing buffer {"connection_id":151560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:21:47] local.INFO: IMEI packet received {"connection_id":151560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":151560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:21:48] local.INFO: TCP Data received {"connection_id":151560,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb126c68012d181e800721afb8004900d527..."} 
[2026-08-10 15:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb126c68012d181e800721afb8004900d527..."} 
[2026-08-10 15:21:48] local.INFO: Processing buffer {"connection_id":151560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb126c68012d181e800721afb8004900d527..."} 
[2026-08-10 15:21:48] local.INFO: Packet analysis {"connection_id":151560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb12"} 
[2026-08-10 15:21:48] local.INFO: Extracted packet for processing {"connection_id":151560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb12"} 
[2026-08-10 15:21:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306946560001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786355281000,"timestamp_ms":1786355281000,"timestamp_seconds":1786355281,"priority":1,"record_length":96,"hex_timestamp":"0000019feb126c68"} 
[2026-08-10 15:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306946560001,"66":12406,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306946560001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:21:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:21:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306946560001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":151560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:21:48] local.INFO: GPS data processed {"connection_id":151560,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:21:48] local.INFO: Acknowledgment sent {"connection_id":151560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:21:59] local.INFO: TCP Data received {"connection_id":151954,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:21:59] local.INFO: Processing buffer {"connection_id":151954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:21:59] local.INFO: IMEI packet received {"connection_id":151954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":151954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:22:04] local.INFO: TCP Data received {"connection_id":151954,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:22:04] local.INFO: Processing buffer {"connection_id":151954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:22:04] local.INFO: IMEI packet received {"connection_id":151954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":151954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:22:05] local.INFO: TCP Data received {"connection_id":151954,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:22:05] local.INFO: Processing buffer {"connection_id":151954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:22:05] local.INFO: Packet analysis {"connection_id":151954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:22:05] local.INFO: Extracted packet for processing {"connection_id":151954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306903808001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786355394000,"timestamp_ms":1786355394000,"timestamp_seconds":1786355394,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1425d0"} 
[2026-08-10 15:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 15:22: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-08-10 15:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306903808001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306903808001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:22:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306903808001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":151954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:22:05] local.INFO: GPS data processed {"connection_id":151954,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:22:05] local.INFO: Acknowledgment sent {"connection_id":151954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:22:19] local.INFO: TCP Data received {"connection_id":151560,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb12be70012d181e800721afb8004900d525..."} 
[2026-08-10 15:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb12be70012d181e800721afb8004900d525..."} 
[2026-08-10 15:22:19] local.INFO: Processing buffer {"connection_id":151560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb12be70012d181e800721afb8004900d525..."} 
[2026-08-10 15:22:19] local.INFO: Packet analysis {"connection_id":151560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb12"} 
[2026-08-10 15:22:19] local.INFO: Extracted packet for processing {"connection_id":151560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb12"} 
[2026-08-10 15:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306951936001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786355302000,"timestamp_ms":1786355302000,"timestamp_seconds":1786355302,"priority":1,"record_length":96,"hex_timestamp":"0000019feb12be70"} 
[2026-08-10 15:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 15:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306951936001,"66":12385,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306951936001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:22:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:22:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306951936001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":151560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:22:19] local.INFO: GPS data processed {"connection_id":151560,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:22:19] local.INFO: Acknowledgment sent {"connection_id":151560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:22:36] local.INFO: TCP Data received {"connection_id":151954,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:22:36] local.INFO: Processing buffer {"connection_id":151954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:22:36] local.INFO: Packet analysis {"connection_id":151954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:22:36] local.INFO: Extracted packet for processing {"connection_id":151954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306903808001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786355394000,"timestamp_ms":1786355394000,"timestamp_seconds":1786355394,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1425d0"} 
[2026-08-10 15:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 15:22: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-08-10 15:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306903808001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306903808001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:22:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306903808001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":151954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:22:36] local.INFO: GPS data processed {"connection_id":151954,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:22:36] local.INFO: Acknowledgment sent {"connection_id":151954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:22:42] local.INFO: TCP Data received {"connection_id":154332,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:22:42] local.INFO: Processing buffer {"connection_id":154332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:22:42] local.INFO: IMEI packet received {"connection_id":154332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":154332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:22:54] local.INFO: TCP Data received {"connection_id":154332,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:22:54] local.INFO: Processing buffer {"connection_id":154332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:22:54] local.INFO: IMEI packet received {"connection_id":154332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":154332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:22:55] local.INFO: TCP Data received {"connection_id":154332,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb131078012d181e800721afb8004900d526..."} 
[2026-08-10 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb131078012d181e800721afb8004900d526..."} 
[2026-08-10 15:22:55] local.INFO: Processing buffer {"connection_id":154332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb131078012d181e800721afb8004900d526..."} 
[2026-08-10 15:22:55] local.INFO: Packet analysis {"connection_id":154332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb13"} 
[2026-08-10 15:22:55] local.INFO: Extracted packet for processing {"connection_id":154332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb13"} 
[2026-08-10 15:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306957312001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786355323000,"timestamp_ms":1786355323000,"timestamp_seconds":1786355323,"priority":1,"record_length":96,"hex_timestamp":"0000019feb131078"} 
[2026-08-10 15:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":154332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":154332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":154332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306957312001,"66":12341,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306957312001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:22:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306957312001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":154332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:22:55] local.INFO: GPS data processed {"connection_id":154332,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:22:55] local.INFO: Acknowledgment sent {"connection_id":154332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:22:59] local.INFO: TCP Data received {"connection_id":152883,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:22:59] local.INFO: Processing buffer {"connection_id":152883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:22:59] local.INFO: IMEI packet received {"connection_id":152883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":152883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:23:04] local.INFO: TCP Data received {"connection_id":152883,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:23:04] local.INFO: Processing buffer {"connection_id":152883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:23:04] local.INFO: IMEI packet received {"connection_id":152883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":152883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:23:04] local.INFO: TCP Data received {"connection_id":152883,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:23:04] local.INFO: Processing buffer {"connection_id":152883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:23:04] local.INFO: Packet analysis {"connection_id":152883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:23:04] local.INFO: Extracted packet for processing {"connection_id":152883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306903808001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786355394000,"timestamp_ms":1786355394000,"timestamp_seconds":1786355394,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1425d0"} 
[2026-08-10 15:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:23: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-08-10 15:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 15:23: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-08-10 15:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306903808001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306903808001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:23:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306903808001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":152883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:23:04] local.INFO: GPS data processed {"connection_id":152883,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:23:04] local.INFO: Acknowledgment sent {"connection_id":152883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:23:36] local.INFO: TCP Data received {"connection_id":152883,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:23:36] local.INFO: Processing buffer {"connection_id":152883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:23:36] local.INFO: Packet analysis {"connection_id":152883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:23:36] local.INFO: Extracted packet for processing {"connection_id":152883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306903808001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786355394000,"timestamp_ms":1786355394000,"timestamp_seconds":1786355394,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1425d0"} 
[2026-08-10 15:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 15:23: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-08-10 15:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306903808001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306903808001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:23:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306903808001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":152883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:23:36] local.INFO: GPS data processed {"connection_id":152883,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:23:36] local.INFO: Acknowledgment sent {"connection_id":152883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:23:42] local.INFO: TCP Data received {"connection_id":151956,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:23:42] local.INFO: Processing buffer {"connection_id":151956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:23:42] local.INFO: IMEI packet received {"connection_id":151956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":151956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:23:44] local.INFO: TCP Data received {"connection_id":154332,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb136280012d181e800721afb8004900d526..."} 
[2026-08-10 15:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb136280012d181e800721afb8004900d526..."} 
[2026-08-10 15:23:44] local.INFO: Processing buffer {"connection_id":154332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb136280012d181e800721afb8004900d526..."} 
[2026-08-10 15:23:44] local.INFO: Packet analysis {"connection_id":154332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb13"} 
[2026-08-10 15:23:44] local.INFO: Extracted packet for processing {"connection_id":154332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb13"} 
[2026-08-10 15:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306962688001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786355344000,"timestamp_ms":1786355344000,"timestamp_seconds":1786355344,"priority":1,"record_length":96,"hex_timestamp":"0000019feb136280"} 
[2026-08-10 15:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 15:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306962688001,"66":12374,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306962688001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:23:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:23:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306962688001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":154332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:23:44] local.INFO: GPS data processed {"connection_id":154332,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:23:44] local.INFO: Acknowledgment sent {"connection_id":154332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:23:47] local.INFO: TCP Data received {"connection_id":151956,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:23:47] local.INFO: Processing buffer {"connection_id":151956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:23:47] local.INFO: IMEI packet received {"connection_id":151956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":151956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:23:48] local.INFO: TCP Data received {"connection_id":151956,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb13b488012d181e800721afb8004900d526..."} 
[2026-08-10 15:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb13b488012d181e800721afb8004900d526..."} 
[2026-08-10 15:23:48] local.INFO: Processing buffer {"connection_id":151956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb13b488012d181e800721afb8004900d526..."} 
[2026-08-10 15:23:48] local.INFO: Packet analysis {"connection_id":151956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb13"} 
[2026-08-10 15:23:48] local.INFO: Extracted packet for processing {"connection_id":151956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb13"} 
[2026-08-10 15:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306968064001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786355365000,"timestamp_ms":1786355365000,"timestamp_seconds":1786355365,"priority":1,"record_length":96,"hex_timestamp":"0000019feb13b488"} 
[2026-08-10 15:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 15:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306968064001,"66":12374,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306968064001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:23:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:23:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306968064001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":151956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:23:48] local.INFO: GPS data processed {"connection_id":151956,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:23:48] local.INFO: Acknowledgment sent {"connection_id":151956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:24:02] local.INFO: TCP Data received {"connection_id":152885,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:24:02] local.INFO: Processing buffer {"connection_id":152885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:24:02] local.INFO: IMEI packet received {"connection_id":152885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":152885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:24:07] local.INFO: TCP Data received {"connection_id":152885,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:24:07] local.INFO: Processing buffer {"connection_id":152885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:24:07] local.INFO: IMEI packet received {"connection_id":152885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":152885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:24:07] local.INFO: TCP Data received {"connection_id":152885,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:24:07] local.INFO: Processing buffer {"connection_id":152885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:24:07] local.INFO: Packet analysis {"connection_id":152885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:24:07] local.INFO: Extracted packet for processing {"connection_id":152885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306903808001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786355394000,"timestamp_ms":1786355394000,"timestamp_seconds":1786355394,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1425d0"} 
[2026-08-10 15:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 15:24: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-08-10 15:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306903808001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306903808001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:24:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:24:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306903808001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":152885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:24:08] local.INFO: GPS data processed {"connection_id":152885,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:24:08] local.INFO: Acknowledgment sent {"connection_id":152885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:24:09] local.INFO: TCP Data received {"connection_id":152885,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:24:09] local.INFO: Processing buffer {"connection_id":152885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:24:09] local.INFO: Packet analysis {"connection_id":152885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:24:09] local.INFO: Extracted packet for processing {"connection_id":152885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306903808001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786355394000,"timestamp_ms":1786355394000,"timestamp_seconds":1786355394,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1425d0"} 
[2026-08-10 15:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 15:24: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-08-10 15:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306903808001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306903808001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:24:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306903808001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":152885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:24:09] local.INFO: GPS data processed {"connection_id":152885,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:24:09] local.INFO: Acknowledgment sent {"connection_id":152885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:24:19] local.INFO: TCP Data received {"connection_id":151956,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb140690012d181e800721afb8004900d527..."} 
[2026-08-10 15:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb140690012d181e800721afb8004900d527..."} 
[2026-08-10 15:24:19] local.INFO: Processing buffer {"connection_id":151956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb140690012d181e800721afb8004900d527..."} 
[2026-08-10 15:24:19] local.INFO: Packet analysis {"connection_id":151956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:24:19] local.INFO: Extracted packet for processing {"connection_id":151956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306973440001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786355386000,"timestamp_ms":1786355386000,"timestamp_seconds":1786355386,"priority":1,"record_length":96,"hex_timestamp":"0000019feb140690"} 
[2026-08-10 15:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 15:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306973440001,"66":12374,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306973440001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:24:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306973440001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":151956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:24:19] local.INFO: GPS data processed {"connection_id":151956,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:24:19] local.INFO: Acknowledgment sent {"connection_id":151956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:24:42] local.INFO: TCP Data received {"connection_id":154333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:24:42] local.INFO: Processing buffer {"connection_id":154333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:24:42] local.INFO: IMEI packet received {"connection_id":154333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":154333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:24:43] local.INFO: TCP Data received {"connection_id":152885,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:24:43] local.INFO: Processing buffer {"connection_id":152885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:24:43] local.INFO: Packet analysis {"connection_id":152885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:24:43] local.INFO: Extracted packet for processing {"connection_id":152885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306903808001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786355394000,"timestamp_ms":1786355394000,"timestamp_seconds":1786355394,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1425d0"} 
[2026-08-10 15:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 15:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306903808001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306903808001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:24:43] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306903808001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":152885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:24:43] local.INFO: GPS data processed {"connection_id":152885,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:24:43] local.INFO: Acknowledgment sent {"connection_id":152885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:24:47] local.INFO: TCP Data received {"connection_id":154333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:24:47] local.INFO: Processing buffer {"connection_id":154333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:24:47] local.INFO: IMEI packet received {"connection_id":154333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":154333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:24:50] local.INFO: TCP Data received {"connection_id":154333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb145898012d181e800721afb8004900d527..."} 
[2026-08-10 15:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb145898012d181e800721afb8004900d527..."} 
[2026-08-10 15:24:50] local.INFO: Processing buffer {"connection_id":154333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb145898012d181e800721afb8004900d527..."} 
[2026-08-10 15:24:50] local.INFO: Packet analysis {"connection_id":154333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:24:50] local.INFO: Extracted packet for processing {"connection_id":154333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306978816001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786355407000,"timestamp_ms":1786355407000,"timestamp_seconds":1786355407,"priority":1,"record_length":96,"hex_timestamp":"0000019feb145898"} 
[2026-08-10 15:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:24: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-08-10 15:24: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":86,"data_length":795,"current_offset":136} 
[2026-08-10 15:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":154333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":154333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":154333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306978816001,"66":12298,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306978816001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:24:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306978816001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":154333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:24:50] local.INFO: GPS data processed {"connection_id":154333,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:24:50] local.INFO: Acknowledgment sent {"connection_id":154333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:24:58] local.INFO: TCP Data received {"connection_id":151957,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:24:58] local.INFO: Processing buffer {"connection_id":151957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:24:58] local.INFO: IMEI packet received {"connection_id":151957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":151957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:25:04] local.INFO: TCP Data received {"connection_id":151957,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:25:04] local.INFO: Processing buffer {"connection_id":151957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:25:04] local.INFO: IMEI packet received {"connection_id":151957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":151957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:25:05] local.INFO: TCP Data received {"connection_id":151957,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:25:05] local.INFO: Processing buffer {"connection_id":151957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1425d0012d342a4006abc280001a010221..."} 
[2026-08-10 15:25:05] local.INFO: Packet analysis {"connection_id":151957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:25:05] local.INFO: Extracted packet for processing {"connection_id":151957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb14"} 
[2026-08-10 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306903808001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786355394000,"timestamp_ms":1786355394000,"timestamp_seconds":1786355394,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1425d0"} 
[2026-08-10 15:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-10 15:25: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-08-10 15:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306903808001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306903808001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:25:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306903808001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":151957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:25:05] local.INFO: GPS data processed {"connection_id":151957,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:25:05] local.INFO: Acknowledgment sent {"connection_id":151957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:25:21] local.INFO: TCP Data received {"connection_id":154333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb17def0012d181e800721afb8004900d527..."} 
[2026-08-10 15:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb17def0012d181e800721afb8004900d527..."} 
[2026-08-10 15:25:21] local.INFO: Processing buffer {"connection_id":154333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb17def0012d181e800721afb8004900d527..."} 
[2026-08-10 15:25:21] local.INFO: Packet analysis {"connection_id":154333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb17"} 
[2026-08-10 15:25:21] local.INFO: Extracted packet for processing {"connection_id":154333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb17"} 
[2026-08-10 15:25:21] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307037952001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786355638000,"timestamp_ms":1786355638000,"timestamp_seconds":1786355638,"priority":1,"record_length":96,"hex_timestamp":"0000019feb17def0"} 
[2026-08-10 15:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307037952001,"66":12385,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307037952001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:25:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307037952001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":154333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:25:21] local.INFO: GPS data processed {"connection_id":154333,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:25:21] local.INFO: Acknowledgment sent {"connection_id":154333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:25:21] local.INFO: TCP Data received {"connection_id":151958,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:25:21] local.INFO: Processing buffer {"connection_id":151958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:25:21] local.INFO: IMEI packet received {"connection_id":151958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":151958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:25:22] local.INFO: TCP Data received {"connection_id":151958,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb185808012d79f4c005ecafe0000301321b..."} 
[2026-08-10 15:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb185808012d79f4c005ecafe0000301321b..."} 
[2026-08-10 15:25:22] local.INFO: Processing buffer {"connection_id":151958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb185808012d79f4c005ecafe0000301321b..."} 
[2026-08-10 15:25:22] local.INFO: Packet analysis {"connection_id":151958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:25:22] local.INFO: Extracted packet for processing {"connection_id":151958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:25:22] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99397600,"longitude_deg":76.2967232,"latitude_deg":9.93976,"altitude":3,"angle":306,"satellites":27,"speed":3,"hex_longitude":"2d79f4c0","hex_latitude":"05ecafe0","is_valid_coordinates":true} 
[2026-08-10 15:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307051008001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117220884552351744,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787930273329162240,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:22] 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-08-10 15:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786355669000,"timestamp_ms":1786355669000,"timestamp_seconds":1786355669,"priority":1,"record_length":96,"hex_timestamp":"0000019feb185808"} 
[2026-08-10 15:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 15:25:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:22] local.WARNING: Large IO value detected {"io_id":115,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:22] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3944130160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:22] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13451637,"corrected_to":0} 
[2026-08-10 15:25:22] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5899715481779627776,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098186958,"corrected_to":0} 
[2026-08-10 15:25:22] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3221613742,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970834432,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:22] local.WARNING: Large IO value detected {"io_id":149,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:22] local.WARNING: Large IO value detected {"io_id":22,"raw_value":6082112591594962949,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,117,87,24,241,157,16,115,159,64,45,192,174,7,29,10,66,238,156,1,240,203,227,235,236,4,113,205,248,242,32,27,239,52,2,160,5,149,22],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":203,"original":13451637,"validated":0},{"io_id":205,"original":1098186958,"validated":0}]} 
[2026-08-10 15:25:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216522542775730176,"timestamp_seconds":216522542775730.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307051008001,"66":13319,"117":206,"87":13824,"24":3,"16":117220884552351744,"45":8787930273329162240},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-10 15:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307051008001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:25:22] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-10 15:25:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117220884552351744,"km_value":117220884552351.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787930273329162240,"description":"Unknown IO ID 45"} 
[2026-08-10 15:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307051008001,"power":13319,"unknown_117":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8787930273329162240}} 
[2026-08-10 15:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":151958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:25:22] local.INFO: GPS data processed {"connection_id":151958,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:25:22] local.INFO: Acknowledgment sent {"connection_id":151958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:25:36] local.INFO: TCP Data received {"connection_id":151957,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:25:36] local.INFO: Processing buffer {"connection_id":151957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:25:36] local.INFO: Packet analysis {"connection_id":151957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:25:36] local.INFO: Extracted packet for processing {"connection_id":151957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306980864001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786355695000,"timestamp_ms":1786355695000,"timestamp_seconds":1786355695,"priority":1,"record_length":96,"hex_timestamp":"0000019feb18bd98"} 
[2026-08-10 15:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 15:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306980864001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306980864001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:25:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306980864001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":151957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:25:36] local.INFO: GPS data processed {"connection_id":151957,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:25:36] local.INFO: Acknowledgment sent {"connection_id":151957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:25:42] local.INFO: TCP Data received {"connection_id":151561,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:25:42] local.INFO: Processing buffer {"connection_id":151561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:25:42] local.INFO: IMEI packet received {"connection_id":151561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":151561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:25:47] local.INFO: TCP Data received {"connection_id":151561,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:25:47] local.INFO: Processing buffer {"connection_id":151561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:25:47] local.INFO: IMEI packet received {"connection_id":151561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":151561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:25:48] local.INFO: TCP Data received {"connection_id":151561,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1830f8012d181e800721afb8004900d527..."} 
[2026-08-10 15:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1830f8012d181e800721afb8004900d527..."} 
[2026-08-10 15:25:48] local.INFO: Processing buffer {"connection_id":151561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1830f8012d181e800721afb8004900d527..."} 
[2026-08-10 15:25:48] local.INFO: Packet analysis {"connection_id":151561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:25:48] local.INFO: Extracted packet for processing {"connection_id":151561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:25:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307043328001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786355659000,"timestamp_ms":1786355659000,"timestamp_seconds":1786355659,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1830f8"} 
[2026-08-10 15:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307043328001,"66":12428,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307043328001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:25:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:25:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307043328001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":151561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:25:48] local.INFO: GPS data processed {"connection_id":151561,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:25:48] local.INFO: Acknowledgment sent {"connection_id":151561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:26:04] local.INFO: TCP Data received {"connection_id":151959,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:26:04] local.INFO: Processing buffer {"connection_id":151959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:26:04] local.INFO: IMEI packet received {"connection_id":151959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":151959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:26:07] local.INFO: TCP Data received {"connection_id":154334,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:26:07] local.INFO: Processing buffer {"connection_id":154334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:26:07] local.INFO: IMEI packet received {"connection_id":154334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":154334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:26:09] local.INFO: TCP Data received {"connection_id":151959,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:26:09] local.INFO: Processing buffer {"connection_id":151959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:26:09] local.INFO: IMEI packet received {"connection_id":151959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":151959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:26:12] local.INFO: TCP Data received {"connection_id":154334,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:26:12] local.INFO: Processing buffer {"connection_id":154334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:26:12] local.INFO: IMEI packet received {"connection_id":154334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":154334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:26:13] local.INFO: TCP Data received {"connection_id":154334,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb194268012d79e24005eca9e0000200b71c..."} 
[2026-08-10 15:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb194268012d79e24005eca9e0000200b71c..."} 
[2026-08-10 15:26:13] local.INFO: Processing buffer {"connection_id":154334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb194268012d79e24005eca9e0000200b71c..."} 
[2026-08-10 15:26:13] local.INFO: Packet analysis {"connection_id":154334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb19"} 
[2026-08-10 15:26:13] local.INFO: Extracted packet for processing {"connection_id":154334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb19"} 
[2026-08-10 15:26:13] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":99396064,"longitude_deg":76.2962496,"latitude_deg":9.9396064,"altitude":2,"angle":183,"satellites":28,"speed":6,"hex_longitude":"2d79e240","hex_latitude":"05eca9e0","is_valid_coordinates":true} 
[2026-08-10 15:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307066368001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117221150840324096,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986259687424,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786355729000,"timestamp_ms":1786355729000,"timestamp_seconds":1786355729,"priority":1,"record_length":96,"hex_timestamp":"0000019feb194268"} 
[2026-08-10 15:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 15:26:13] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-7036873122935947259,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3944275160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:13] local.WARNING: Large IO value detected {"io_id":115,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:13] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5926737101012722432,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-10 15:26:13] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827396,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970752512,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:13] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:13] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,100,87,24,241,157,16,116,159,58,45,64,171,2,29,10,66,115,50,192,172,39,1,240,220,227,235,236,4,113,205,3,27,230,88,239,52,160,5,187],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-10 15:26:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144330816909344768,"timestamp_seconds":144330816909344.78,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307066368001,"66":13352,"100":206,"87":13824,"24":6,"16":117221150840324096,"45":8782722986259687424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307066368001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:26:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:26:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117221150840324096,"km_value":117221150840324.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986259687424,"description":"Unknown IO ID 45"} 
[2026-08-10 15:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307066368001,"power":13352,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8782722986259687424}} 
[2026-08-10 15:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":154334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:26:13] local.INFO: GPS data processed {"connection_id":154334,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:26:13] local.INFO: Acknowledgment sent {"connection_id":154334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:26:19] local.INFO: TCP Data received {"connection_id":151561,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb188300012d181e800721afb8004900d527..."} 
[2026-08-10 15:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb188300012d181e800721afb8004900d527..."} 
[2026-08-10 15:26:19] local.INFO: Processing buffer {"connection_id":151561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb188300012d181e800721afb8004900d527..."} 
[2026-08-10 15:26:19] local.INFO: Packet analysis {"connection_id":151561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:26:19] local.INFO: Extracted packet for processing {"connection_id":151561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:26:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307048704001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786355680000,"timestamp_ms":1786355680000,"timestamp_seconds":1786355680,"priority":1,"record_length":96,"hex_timestamp":"0000019feb188300"} 
[2026-08-10 15:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 15:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307048704001,"66":12428,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307048704001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:26:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:26:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307048704001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":151561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:26:19] local.INFO: GPS data processed {"connection_id":151561,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:26:19] local.INFO: Acknowledgment sent {"connection_id":151561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:26:22] local.INFO: TCP Data received {"connection_id":151959,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:26:22] local.INFO: Processing buffer {"connection_id":151959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:26:22] local.INFO: Packet analysis {"connection_id":151959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:26:22] local.INFO: Extracted packet for processing {"connection_id":151959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:26:22] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306980864001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786355695000,"timestamp_ms":1786355695000,"timestamp_seconds":1786355695,"priority":1,"record_length":96,"hex_timestamp":"0000019feb18bd98"} 
[2026-08-10 15:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 15:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306980864001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306980864001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:26:22] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:26:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306980864001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":151959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:26:22] local.INFO: GPS data processed {"connection_id":151959,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:26:22] local.INFO: Acknowledgment sent {"connection_id":151959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:26:42] local.INFO: TCP Data received {"connection_id":151562,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:26:42] local.INFO: Processing buffer {"connection_id":151562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:26:42] local.INFO: IMEI packet received {"connection_id":151562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":151562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:26:42] local.INFO: TCP Data received {"connection_id":151562,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:26:42] local.INFO: Processing buffer {"connection_id":151562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:26:42] local.INFO: IMEI packet received {"connection_id":151562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":151562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:26:44] local.INFO: TCP Data received {"connection_id":154334,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb194650012d79e24005eca908000300a81e..."} 
[2026-08-10 15:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb194650012d79e24005eca908000300a81e..."} 
[2026-08-10 15:26:44] local.INFO: Processing buffer {"connection_id":154334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb194650012d79e24005eca908000300a81e..."} 
[2026-08-10 15:26:44] local.INFO: Packet analysis {"connection_id":154334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb19"} 
[2026-08-10 15:26:44] local.INFO: Extracted packet for processing {"connection_id":154334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb19"} 
[2026-08-10 15:26:44] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":99395848,"longitude_deg":76.2962496,"latitude_deg":9.9395848,"altitude":3,"angle":168,"satellites":30,"speed":9,"hex_longitude":"2d79e240","hex_latitude":"05eca908","is_valid_coordinates":true} 
[2026-08-10 15:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307066624001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117221163725225984,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617515458560,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786355730000,"timestamp_ms":1786355730000,"timestamp_seconds":1786355730,"priority":1,"record_length":96,"hex_timestamp":"0000019feb194650"} 
[2026-08-10 15:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-10 15:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307066624001,"66":13352,"100":206,"87":13824,"24":9,"16":117221163725225984,"45":8782652617515458560},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307066624001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:26:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:26:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117221163725225984,"km_value":117221163725225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617515458560,"description":"Unknown IO ID 45"} 
[2026-08-10 15:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307066624001,"power":13352,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8782652617515458560}} 
[2026-08-10 15:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":154334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:26:44] local.INFO: GPS data processed {"connection_id":154334,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:26:44] local.INFO: Acknowledgment sent {"connection_id":154334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:26:47] local.INFO: TCP Data received {"connection_id":151562,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:26:47] local.INFO: Processing buffer {"connection_id":151562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:26:47] local.INFO: IMEI packet received {"connection_id":151562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":151562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:26:48] local.INFO: TCP Data received {"connection_id":151562,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb18d508012d181e800721afb8004900d528..."} 
[2026-08-10 15:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb18d508012d181e800721afb8004900d528..."} 
[2026-08-10 15:26:48] local.INFO: Processing buffer {"connection_id":151562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb18d508012d181e800721afb8004900d528..."} 
[2026-08-10 15:26:48] local.INFO: Packet analysis {"connection_id":151562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:26:48] local.INFO: Extracted packet for processing {"connection_id":151562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307054080001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786355701000,"timestamp_ms":1786355701000,"timestamp_seconds":1786355701,"priority":1,"record_length":96,"hex_timestamp":"0000019feb18d508"} 
[2026-08-10 15:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15: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-08-10 15:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307054080001,"66":12406,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307054080001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:26:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307054080001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":151562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:26:48] local.INFO: GPS data processed {"connection_id":151562,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:26:48] local.INFO: Acknowledgment sent {"connection_id":151562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:26:59] local.INFO: TCP Data received {"connection_id":152887,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:26:59] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:26:59] local.INFO: IMEI packet received {"connection_id":152887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":152887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:27:04] local.INFO: TCP Data received {"connection_id":152887,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:27:04] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:27:04] local.INFO: IMEI packet received {"connection_id":152887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":152887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:27:04] local.INFO: TCP Data received {"connection_id":152887,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:27:04] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:27:04] local.INFO: Packet analysis {"connection_id":152887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:27:04] local.INFO: Extracted packet for processing {"connection_id":152887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306980864001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786355695000,"timestamp_ms":1786355695000,"timestamp_seconds":1786355695,"priority":1,"record_length":96,"hex_timestamp":"0000019feb18bd98"} 
[2026-08-10 15:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:27: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-08-10 15:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 15:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306980864001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306980864001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:27:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306980864001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":152887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:27:04] local.INFO: GPS data processed {"connection_id":152887,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:27:04] local.INFO: Acknowledgment sent {"connection_id":152887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:27:07] local.INFO: TCP Data received {"connection_id":151960,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:27:07] local.INFO: Processing buffer {"connection_id":151960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:27:07] local.INFO: IMEI packet received {"connection_id":151960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":151960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:27:11] local.INFO: TCP Data received {"connection_id":151960,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:27:11] local.INFO: Processing buffer {"connection_id":151960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:27:11] local.INFO: IMEI packet received {"connection_id":151960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":151960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:27:12] local.INFO: TCP Data received {"connection_id":151960,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1a8e70012d7a168005ec8170000a00ee20..."} 
[2026-08-10 15:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1a8e70012d7a168005ec8170000a00ee20..."} 
[2026-08-10 15:27:12] local.INFO: Processing buffer {"connection_id":151960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1a8e70012d7a168005ec8170000a00ee20..."} 
[2026-08-10 15:27:12] local.INFO: Packet analysis {"connection_id":151960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:27:12] local.INFO: Extracted packet for processing {"connection_id":151960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":762975872,"raw_latitude":99385712,"longitude_deg":76.2975872,"latitude_deg":9.9385712,"altitude":10,"angle":238,"satellites":32,"speed":11,"hex_longitude":"2d7a1680","hex_latitude":"05ec8170","is_valid_coordinates":true} 
[2026-08-10 15:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307087360001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222417855676416,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797993003743711232,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27: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-08-10 15:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786355814000,"timestamp_ms":1786355814000,"timestamp_seconds":1786355814,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1a8e70"} 
[2026-08-10 15:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:27: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":105,"data_length":795,"current_offset":136} 
[2026-08-10 15:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307087360001,"66":13319,"100":206,"87":13824,"24":11,"16":117222417855676416,"45":8797993003743711232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307087360001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:27:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:27:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222417855676416,"km_value":117222417855676.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797993003743711232,"description":"Unknown IO ID 45"} 
[2026-08-10 15:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307087360001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8797993003743711232}} 
[2026-08-10 15:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":151960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:27:12] local.INFO: GPS data processed {"connection_id":151960,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:27:12] local.INFO: Acknowledgment sent {"connection_id":151960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:27:19] local.INFO: TCP Data received {"connection_id":151562,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb192710012d181e800721afb8004900d527..."} 
[2026-08-10 15:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb192710012d181e800721afb8004900d527..."} 
[2026-08-10 15:27:19] local.INFO: Processing buffer {"connection_id":151562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb192710012d181e800721afb8004900d527..."} 
[2026-08-10 15:27:19] local.INFO: Packet analysis {"connection_id":151562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb19"} 
[2026-08-10 15:27:19] local.INFO: Extracted packet for processing {"connection_id":151562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb19"} 
[2026-08-10 15:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307059456001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786355722000,"timestamp_ms":1786355722000,"timestamp_seconds":1786355722,"priority":1,"record_length":96,"hex_timestamp":"0000019feb192710"} 
[2026-08-10 15:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 15:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307059456001,"66":12461,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307059456001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:27:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:27:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307059456001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":151562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:27:19] local.INFO: GPS data processed {"connection_id":151562,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:27:19] local.INFO: Acknowledgment sent {"connection_id":151562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:27:36] local.INFO: TCP Data received {"connection_id":152887,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:27:36] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:27:36] local.INFO: Packet analysis {"connection_id":152887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:27:36] local.INFO: Extracted packet for processing {"connection_id":152887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306980864001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786355695000,"timestamp_ms":1786355695000,"timestamp_seconds":1786355695,"priority":1,"record_length":96,"hex_timestamp":"0000019feb18bd98"} 
[2026-08-10 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-08-10 15:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 15:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306980864001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306980864001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:27:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306980864001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":152887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:27:36] local.INFO: GPS data processed {"connection_id":152887,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:27:36] local.INFO: Acknowledgment sent {"connection_id":152887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:27:43] local.INFO: TCP Data received {"connection_id":151960,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1a9e10012d7a130005ec7f78000c00fc20..."} 
[2026-08-10 15:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1a9e10012d7a130005ec7f78000c00fc20..."} 
[2026-08-10 15:27:43] local.INFO: Processing buffer {"connection_id":151960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1a9e10012d7a130005ec7f78000c00fc20..."} 
[2026-08-10 15:27:43] local.INFO: Packet analysis {"connection_id":151960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:27:43] local.INFO: Extracted packet for processing {"connection_id":151960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:27:43] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385208,"longitude_deg":76.2974976,"latitude_deg":9.9385208,"altitude":12,"angle":252,"satellites":32,"speed":8,"hex_longitude":"2d7a1300","hex_latitude":"05ec7f78","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307088384001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222465100316672,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797359685045940224,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786355818000,"timestamp_ms":1786355818000,"timestamp_seconds":1786355818,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1a9e10"} 
[2026-08-10 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-08-10 15:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3221302650,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3944371160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":236,"raw_value":9128796500519493632,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147871874,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070404,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967954944,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3789780381265215493,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:43] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,117,159,126,45,192,132,10,32,66,99,64,11,31,95,128,1,240,166,227,235,236,4,113,205,7,27,184,239,51,2,160,5,13,8,26],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-10 15:27:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720837761586364416,"timestamp_seconds":720837761586364.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 15:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307088384001,"66":13406,"100":206,"87":13824,"24":8,"16":117222465100316672,"45":8797359685045940224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307088384001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:27:43] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:27:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222465100316672,"km_value":117222465100316.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797359685045940224,"description":"Unknown IO ID 45"} 
[2026-08-10 15:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307088384001,"power":13406,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8797359685045940224}} 
[2026-08-10 15:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":151960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:27:44] local.INFO: GPS data processed {"connection_id":151960,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:27:44] local.INFO: Acknowledgment sent {"connection_id":151960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:27:45] local.INFO: TCP Data received {"connection_id":154335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:27:45] local.INFO: Processing buffer {"connection_id":154335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:27:45] local.INFO: IMEI packet received {"connection_id":154335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":154335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:27:47] local.INFO: TCP Data received {"connection_id":154335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:27:47] local.INFO: Processing buffer {"connection_id":154335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:27:47] local.INFO: IMEI packet received {"connection_id":154335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":154335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:27:52] local.INFO: TCP Data received {"connection_id":154335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:27:52] local.INFO: Processing buffer {"connection_id":154335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:27:52] local.INFO: IMEI packet received {"connection_id":154335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":154335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:27:53] local.INFO: TCP Data received {"connection_id":154335,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb197918012d181e800721afb8004900d526..."} 
[2026-08-10 15:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb197918012d181e800721afb8004900d526..."} 
[2026-08-10 15:27:53] local.INFO: Processing buffer {"connection_id":154335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb197918012d181e800721afb8004900d526..."} 
[2026-08-10 15:27:53] local.INFO: Packet analysis {"connection_id":154335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb19"} 
[2026-08-10 15:27:53] local.INFO: Extracted packet for processing {"connection_id":154335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb19"} 
[2026-08-10 15:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307064832001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786355743000,"timestamp_ms":1786355743000,"timestamp_seconds":1786355743,"priority":1,"record_length":96,"hex_timestamp":"0000019feb197918"} 
[2026-08-10 15:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 15:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307064832001,"66":12385,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307064832001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:27:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:27:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307064832001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":154335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:27:53] local.INFO: GPS data processed {"connection_id":154335,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:27:53] local.INFO: Acknowledgment sent {"connection_id":154335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:27:57] local.INFO: TCP Data received {"connection_id":154335,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb19cb20012d181e800721afb8004900d527..."} 
[2026-08-10 15:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb19cb20012d181e800721afb8004900d527..."} 
[2026-08-10 15:27:57] local.INFO: Processing buffer {"connection_id":154335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb19cb20012d181e800721afb8004900d527..."} 
[2026-08-10 15:27:57] local.INFO: Packet analysis {"connection_id":154335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb19"} 
[2026-08-10 15:27:57] local.INFO: Extracted packet for processing {"connection_id":154335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb19"} 
[2026-08-10 15:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307070208001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786355764000,"timestamp_ms":1786355764000,"timestamp_seconds":1786355764,"priority":1,"record_length":96,"hex_timestamp":"0000019feb19cb20"} 
[2026-08-10 15:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307070208001,"66":12406,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307070208001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:27:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307070208001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":154335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:27:57] local.INFO: GPS data processed {"connection_id":154335,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:27:57] local.INFO: Acknowledgment sent {"connection_id":154335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:27:58] local.INFO: TCP Data received {"connection_id":152888,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:27:58] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:27:58] local.INFO: IMEI packet received {"connection_id":152888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":152888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:28:04] local.INFO: TCP Data received {"connection_id":152888,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:28:04] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:28:04] local.INFO: IMEI packet received {"connection_id":152888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":152888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:28:04] local.INFO: TCP Data received {"connection_id":152888,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:28:04] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:28:04] local.INFO: Packet analysis {"connection_id":152888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:28:04] local.INFO: Extracted packet for processing {"connection_id":152888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306980864001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786355695000,"timestamp_ms":1786355695000,"timestamp_seconds":1786355695,"priority":1,"record_length":96,"hex_timestamp":"0000019feb18bd98"} 
[2026-08-10 15:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:28: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-08-10 15:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 15:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306980864001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306980864001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:28:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306980864001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":152888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:28:04] local.INFO: GPS data processed {"connection_id":152888,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:28:04] local.INFO: Acknowledgment sent {"connection_id":152888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:28:07] local.INFO: TCP Data received {"connection_id":151563,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:28:07] local.INFO: Processing buffer {"connection_id":151563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:28:07] local.INFO: IMEI packet received {"connection_id":151563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":151563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:28:12] local.INFO: TCP Data received {"connection_id":151563,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:28:12] local.INFO: Processing buffer {"connection_id":151563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:28:12] local.INFO: IMEI packet received {"connection_id":151563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":151563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:28:13] local.INFO: TCP Data received {"connection_id":151563,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1aa5e0012d7a120005ec7f50000b011820..."} 
[2026-08-10 15:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1aa5e0012d7a120005ec7f50000b011820..."} 
[2026-08-10 15:28:13] local.INFO: Processing buffer {"connection_id":151563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1aa5e0012d7a120005ec7f50000b011820..."} 
[2026-08-10 15:28:13] local.INFO: Packet analysis {"connection_id":151563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:28:13] local.INFO: Extracted packet for processing {"connection_id":151563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:28:13] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385168,"longitude_deg":76.297472,"latitude_deg":9.9385168,"altitude":11,"angle":280,"satellites":32,"speed":6,"hex_longitude":"2d7a1200","hex_latitude":"05ec7f50","is_valid_coordinates":true} 
[2026-08-10 15:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307089408001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222482280185856,"note":"Value kept but may cause issues"} 
[2026-08-10 15:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627323904,"note":"Value kept but may cause issues"} 
[2026-08-10 15:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786355820000,"timestamp_ms":1786355820000,"timestamp_seconds":1786355820,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1aa5e0"} 
[2026-08-10 15:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 15:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307089408001,"66":13178,"100":206,"87":13824,"24":6,"16":117222482280185856,"45":8796374522627323904},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307089408001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:28:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:28:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222482280185856,"km_value":117222482280185.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627323904,"description":"Unknown IO ID 45"} 
[2026-08-10 15:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307089408001,"power":13178,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8796374522627323904}} 
[2026-08-10 15:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":151563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:28:13] local.INFO: GPS data processed {"connection_id":151563,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:28:13] local.INFO: Acknowledgment sent {"connection_id":151563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:28:36] local.INFO: TCP Data received {"connection_id":152888,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:28:36] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:28:36] local.INFO: Packet analysis {"connection_id":152888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:28:36] local.INFO: Extracted packet for processing {"connection_id":152888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306980864001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786355695000,"timestamp_ms":1786355695000,"timestamp_seconds":1786355695,"priority":1,"record_length":96,"hex_timestamp":"0000019feb18bd98"} 
[2026-08-10 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-08-10 15:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 15:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 15:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306980864001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306980864001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:28:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306980864001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":152888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:28:36] local.INFO: GPS data processed {"connection_id":152888,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:28:36] local.INFO: Acknowledgment sent {"connection_id":152888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:28:42] local.INFO: TCP Data received {"connection_id":151961,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:28:42] local.INFO: Processing buffer {"connection_id":151961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:28:42] local.INFO: IMEI packet received {"connection_id":151961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":151961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:28:44] local.INFO: TCP Data received {"connection_id":151563,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1aa9c8012d7a114005ec7f78000b01281f..."} 
[2026-08-10 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1aa9c8012d7a114005ec7f78000b01281f..."} 
[2026-08-10 15:28:44] local.INFO: Processing buffer {"connection_id":151563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1aa9c8012d7a114005ec7f78000b01281f..."} 
[2026-08-10 15:28:44] local.INFO: Packet analysis {"connection_id":151563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:28:44] local.INFO: Extracted packet for processing {"connection_id":151563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:28:44] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385208,"longitude_deg":76.2974528,"latitude_deg":9.9385208,"altitude":11,"angle":296,"satellites":31,"speed":5,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f78","is_valid_coordinates":true} 
[2026-08-10 15:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307089920001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222490870120448,"note":"Value kept but may cause issues"} 
[2026-08-10 15:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650603008,"note":"Value kept but may cause issues"} 
[2026-08-10 15:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786355821000,"timestamp_ms":1786355821000,"timestamp_seconds":1786355821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1aa9c8"} 
[2026-08-10 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-08-10 15:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-10 15:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307089920001,"66":13276,"100":206,"87":13824,"24":5,"16":117222490870120448,"45":8796093047650603008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307089920001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:28:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:28:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222490870120448,"km_value":117222490870120.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650603008,"description":"Unknown IO ID 45"} 
[2026-08-10 15:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307089920001,"power":13276,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8796093047650603008}} 
[2026-08-10 15:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":151563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:28:44] local.INFO: GPS data processed {"connection_id":151563,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:28:44] local.INFO: Acknowledgment sent {"connection_id":151563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:28:47] local.INFO: TCP Data received {"connection_id":151961,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:28:47] local.INFO: Processing buffer {"connection_id":151961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:28:47] local.INFO: IMEI packet received {"connection_id":151961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":151961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:28:48] local.INFO: TCP Data received {"connection_id":151961,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e010000019feb1a1d28012d181e800721afb8004900d529..."} 
[2026-08-10 15:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151961,"packet_length":93,"packet_hex":"00000000000000518e010000019feb1a1d28012d181e800721afb8004900d529..."} 
[2026-08-10 15:28:48] local.INFO: Processing buffer {"connection_id":151961,"buffer_length":93,"buffer_hex":"00000000000000518e010000019feb1a1d28012d181e800721afb8004900d529..."} 
[2026-08-10 15:28:48] local.INFO: Packet analysis {"connection_id":151961,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019feb1a"} 
[2026-08-10 15:28:48] local.INFO: Extracted packet for processing {"connection_id":151961,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019feb1a"} 
[2026-08-10 15:28:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-10 15:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:28:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:28:48] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 15:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151961,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-10 15:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151961,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-10 15:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151961,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-10 15:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 15:28:48] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 15:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":151961,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 15:28:48] local.ERROR: GPS data processing failed {"connection_id":151961,"error":"No valid data to process"} 
[2026-08-10 15:28:48] local.INFO: Acknowledgment sent {"connection_id":151961,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 15:28:58] local.INFO: TCP Data received {"connection_id":152889,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:28:58] local.INFO: Processing buffer {"connection_id":152889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:28:58] local.INFO: IMEI packet received {"connection_id":152889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":152889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:29:04] local.INFO: TCP Data received {"connection_id":152889,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:29:04] local.INFO: Processing buffer {"connection_id":152889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:29:04] local.INFO: IMEI packet received {"connection_id":152889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":152889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:29:04] local.INFO: TCP Data received {"connection_id":152889,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:29:04] local.INFO: Processing buffer {"connection_id":152889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:29:04] local.INFO: Packet analysis {"connection_id":152889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:29:04] local.INFO: Extracted packet for processing {"connection_id":152889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306980864001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786355695000,"timestamp_ms":1786355695000,"timestamp_seconds":1786355695,"priority":1,"record_length":96,"hex_timestamp":"0000019feb18bd98"} 
[2026-08-10 15:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:29: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-08-10 15: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":135,"data_length":795,"current_offset":136} 
[2026-08-10 15:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15: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-08-10 15:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306980864001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306980864001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:29:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306980864001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":152889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:29:04] local.INFO: GPS data processed {"connection_id":152889,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:29:04] local.INFO: Acknowledgment sent {"connection_id":152889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:29:12] local.INFO: TCP Data received {"connection_id":154336,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:29:12] local.INFO: Processing buffer {"connection_id":154336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:29:12] local.INFO: IMEI packet received {"connection_id":154336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":154336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:29:17] local.INFO: TCP Data received {"connection_id":154336,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:29:17] local.INFO: Processing buffer {"connection_id":154336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:29:17] local.INFO: IMEI packet received {"connection_id":154336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":154336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:29:18] local.INFO: TCP Data received {"connection_id":154336,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1ac908012d7a0f8005ec7f80000b00fc1f..."} 
[2026-08-10 15:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1ac908012d7a0f8005ec7f80000b00fc1f..."} 
[2026-08-10 15:29:18] local.INFO: Processing buffer {"connection_id":154336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1ac908012d7a0f8005ec7f80000b00fc1f..."} 
[2026-08-10 15:29:18] local.INFO: Packet analysis {"connection_id":154336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:29:18] local.INFO: Extracted packet for processing {"connection_id":154336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:29:18] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385216,"longitude_deg":76.297408,"latitude_deg":9.9385216,"altitude":11,"angle":252,"satellites":31,"speed":3,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7f80","is_valid_coordinates":true} 
[2026-08-10 15:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307090176001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222516639924224,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418080256,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786355829000,"timestamp_ms":1786355829000,"timestamp_seconds":1786355829,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1ac908"} 
[2026-08-10 15:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 15:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307090176001,"66":13091,"100":206,"87":13824,"24":3,"16":117222516639924224,"45":8795881941418080256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307090176001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:29:18] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:29:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222516639924224,"km_value":117222516639924.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418080256,"description":"Unknown IO ID 45"} 
[2026-08-10 15:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307090176001,"power":13091,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8795881941418080256}} 
[2026-08-10 15:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":154336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:29:18] local.INFO: GPS data processed {"connection_id":154336,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:29:18] local.INFO: Acknowledgment sent {"connection_id":154336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:29:19] local.INFO: TCP Data received {"connection_id":151961,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1a6f30012d181e800721afb8004900d528..."} 
[2026-08-10 15:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1a6f30012d181e800721afb8004900d528..."} 
[2026-08-10 15:29:19] local.INFO: Processing buffer {"connection_id":151961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1a6f30012d181e800721afb8004900d528..."} 
[2026-08-10 15:29:19] local.INFO: Packet analysis {"connection_id":151961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:29:19] local.INFO: Extracted packet for processing {"connection_id":151961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:29:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307080960001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786355806000,"timestamp_ms":1786355806000,"timestamp_seconds":1786355806,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1a6f30"} 
[2026-08-10 15:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 15:29: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-08-10 15: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-08-10 15:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307080960001,"66":12439,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307080960001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:29:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:29:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307080960001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":151961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:29:19] local.INFO: GPS data processed {"connection_id":151961,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:29:19] local.INFO: Acknowledgment sent {"connection_id":151961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:29:23] local.INFO: TCP Data received {"connection_id":154336,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:29:23] local.INFO: Processing buffer {"connection_id":154336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:29:23] local.INFO: Packet analysis {"connection_id":154336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:29:23] local.INFO: Extracted packet for processing {"connection_id":154336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:29:23] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99385136,"longitude_deg":76.2973888,"latitude_deg":9.9385136,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7f30","is_valid_coordinates":true} 
[2026-08-10 15:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307092224001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208838656,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786355845000,"timestamp_ms":1786355845000,"timestamp_seconds":1786355845,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1b0788"} 
[2026-08-10 15:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 15:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307092224001,"66":13493,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795389360208838656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307092224001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:29:23] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:29:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208838656,"description":"Unknown IO ID 45"} 
[2026-08-10 15:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307092224001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208838656}} 
[2026-08-10 15:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":154336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:29:23] local.INFO: GPS data processed {"connection_id":154336,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:29:23] local.INFO: Acknowledgment sent {"connection_id":154336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:29:35] local.INFO: TCP Data received {"connection_id":152889,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:29:35] local.INFO: Processing buffer {"connection_id":152889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:29:35] local.INFO: Packet analysis {"connection_id":152889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:29:35] local.INFO: Extracted packet for processing {"connection_id":152889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306980864001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786355695000,"timestamp_ms":1786355695000,"timestamp_seconds":1786355695,"priority":1,"record_length":96,"hex_timestamp":"0000019feb18bd98"} 
[2026-08-10 15:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:29: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-08-10 15:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 15:29: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-08-10 15:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306980864001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306980864001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:29:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306980864001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":152889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:29:35] local.INFO: GPS data processed {"connection_id":152889,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:29:35] local.INFO: Acknowledgment sent {"connection_id":152889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:29:42] local.INFO: TCP Data received {"connection_id":151962,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:29:42] local.INFO: Processing buffer {"connection_id":151962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:29:42] local.INFO: IMEI packet received {"connection_id":151962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":151962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:29:47] local.INFO: TCP Data received {"connection_id":151962,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:29:47] local.INFO: Processing buffer {"connection_id":151962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:29:47] local.INFO: IMEI packet received {"connection_id":151962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":151962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:29:47] local.INFO: TCP Data received {"connection_id":151962,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1ac138012d181e800721afb8004900d528..."} 
[2026-08-10 15:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1ac138012d181e800721afb8004900d528..."} 
[2026-08-10 15:29:47] local.INFO: Processing buffer {"connection_id":151962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1ac138012d181e800721afb8004900d528..."} 
[2026-08-10 15:29:47] local.INFO: Packet analysis {"connection_id":151962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:29:47] local.INFO: Extracted packet for processing {"connection_id":151962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1a"} 
[2026-08-10 15:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307086336001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786355827000,"timestamp_ms":1786355827000,"timestamp_seconds":1786355827,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1ac138"} 
[2026-08-10 15:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 15:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307086336001,"66":12428,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307086336001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:29:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307086336001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":151962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:29:47] local.INFO: GPS data processed {"connection_id":151962,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:29:47] local.INFO: Acknowledgment sent {"connection_id":151962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:30:04] local.INFO: TCP Data received {"connection_id":151564,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:30:04] local.INFO: Processing buffer {"connection_id":151564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:30:04] local.INFO: IMEI packet received {"connection_id":151564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":151564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:30:07] local.INFO: TCP Data received {"connection_id":154337,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:30:07] local.INFO: Processing buffer {"connection_id":154337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:30:07] local.INFO: IMEI packet received {"connection_id":154337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":154337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:30:09] local.INFO: TCP Data received {"connection_id":151564,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:30:09] local.INFO: Processing buffer {"connection_id":151564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:30:09] local.INFO: IMEI packet received {"connection_id":151564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":151564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:30:12] local.INFO: TCP Data received {"connection_id":154337,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:30:12] local.INFO: Processing buffer {"connection_id":154337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:30:12] local.INFO: IMEI packet received {"connection_id":154337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":154337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:30:13] local.INFO: TCP Data received {"connection_id":154337,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:30:13] local.INFO: Processing buffer {"connection_id":154337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:30:13] local.INFO: Packet analysis {"connection_id":154337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:30:13] local.INFO: Extracted packet for processing {"connection_id":154337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:30:13] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99385136,"longitude_deg":76.2973888,"latitude_deg":9.9385136,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7f30","is_valid_coordinates":true} 
[2026-08-10 15:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786355845000,"timestamp_ms":1786355845000,"timestamp_seconds":1786355845,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1b0788"} 
[2026-08-10 15:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:30: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-08-10 15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":13493,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:30:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:30:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":154337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:30:13] local.INFO: GPS data processed {"connection_id":154337,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:30:13] local.INFO: Acknowledgment sent {"connection_id":154337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:30:15] local.INFO: TCP Data received {"connection_id":151564,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:30:15] local.INFO: Processing buffer {"connection_id":151564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:30:15] local.INFO: Packet analysis {"connection_id":151564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:30:15] local.INFO: Extracted packet for processing {"connection_id":151564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306980864001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786355695000,"timestamp_ms":1786355695000,"timestamp_seconds":1786355695,"priority":1,"record_length":96,"hex_timestamp":"0000019feb18bd98"} 
[2026-08-10 15:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 15:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306980864001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306980864001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:30:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306980864001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":151564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:30:15] local.INFO: GPS data processed {"connection_id":151564,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:30:15] local.INFO: Acknowledgment sent {"connection_id":151564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:30:15] local.INFO: TCP Data received {"connection_id":151564,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:30:15] local.INFO: Processing buffer {"connection_id":151564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb18bd98012d342a4006abc2800017010220..."} 
[2026-08-10 15:30:15] local.INFO: Packet analysis {"connection_id":151564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:30:15] local.INFO: Extracted packet for processing {"connection_id":151564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb18"} 
[2026-08-10 15:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457306980864001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786355695000,"timestamp_ms":1786355695000,"timestamp_seconds":1786355695,"priority":1,"record_length":96,"hex_timestamp":"0000019feb18bd98"} 
[2026-08-10 15:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 15:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457306980864001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457306980864001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:30:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457306980864001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":151564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:30:15] local.INFO: GPS data processed {"connection_id":151564,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:30:15] local.INFO: Acknowledgment sent {"connection_id":151564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:30:18] local.INFO: TCP Data received {"connection_id":151962,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1b1340012d181e800721afb8004900d528..."} 
[2026-08-10 15:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1b1340012d181e800721afb8004900d528..."} 
[2026-08-10 15:30:18] local.INFO: Processing buffer {"connection_id":151962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1b1340012d181e800721afb8004900d528..."} 
[2026-08-10 15:30:18] local.INFO: Packet analysis {"connection_id":151962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:30:18] local.INFO: Extracted packet for processing {"connection_id":151962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307091712001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786355848000,"timestamp_ms":1786355848000,"timestamp_seconds":1786355848,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1b1340"} 
[2026-08-10 15:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 15:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307091712001,"66":12439,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307091712001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:30:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307091712001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":151962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:30:19] local.INFO: GPS data processed {"connection_id":151962,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:30:19] local.INFO: Acknowledgment sent {"connection_id":151962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:30:42] local.INFO: TCP Data received {"connection_id":154338,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:30:42] local.INFO: Processing buffer {"connection_id":154338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:30:42] local.INFO: IMEI packet received {"connection_id":154338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":154338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:30:45] local.INFO: TCP Data received {"connection_id":154337,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:30:45] local.INFO: Processing buffer {"connection_id":154337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:30:45] local.INFO: Packet analysis {"connection_id":154337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:30:45] local.INFO: Extracted packet for processing {"connection_id":154337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:30:45] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99385136,"longitude_deg":76.2973888,"latitude_deg":9.9385136,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7f30","is_valid_coordinates":true} 
[2026-08-10 15:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786355845000,"timestamp_ms":1786355845000,"timestamp_seconds":1786355845,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1b0788"} 
[2026-08-10 15:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":13493,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:30:45] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:30:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":154337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:30:45] local.INFO: GPS data processed {"connection_id":154337,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:30:45] local.INFO: Acknowledgment sent {"connection_id":154337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:30:45] local.INFO: TCP Data received {"connection_id":154338,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:30:45] local.INFO: Processing buffer {"connection_id":154338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:30:45] local.INFO: IMEI packet received {"connection_id":154338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":154338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:30:46] local.INFO: TCP Data received {"connection_id":154338,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1b6548012d181e800721afb8004900d527..."} 
[2026-08-10 15:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1b6548012d181e800721afb8004900d527..."} 
[2026-08-10 15:30:46] local.INFO: Processing buffer {"connection_id":154338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1b6548012d181e800721afb8004900d527..."} 
[2026-08-10 15:30:46] local.INFO: Packet analysis {"connection_id":154338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:30:46] local.INFO: Extracted packet for processing {"connection_id":154338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307097088001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786355869000,"timestamp_ms":1786355869000,"timestamp_seconds":1786355869,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1b6548"} 
[2026-08-10 15:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 15:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307097088001,"66":12461,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307097088001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:30:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307097088001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":154338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:30:46] local.INFO: GPS data processed {"connection_id":154338,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:30:46] local.INFO: Acknowledgment sent {"connection_id":154338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:30:58] local.INFO: TCP Data received {"connection_id":151565,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:30:58] local.INFO: Processing buffer {"connection_id":151565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:30:58] local.INFO: IMEI packet received {"connection_id":151565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":151565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:31:05] local.INFO: TCP Data received {"connection_id":151565,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:31:05] local.INFO: Processing buffer {"connection_id":151565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:31:05] local.INFO: IMEI packet received {"connection_id":151565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":151565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:31:06] local.INFO: TCP Data received {"connection_id":151565,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:31:06] local.INFO: Processing buffer {"connection_id":151565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:31:06] local.INFO: Packet analysis {"connection_id":151565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:31:06] local.INFO: Extracted packet for processing {"connection_id":151565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307057920001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786355996000,"timestamp_ms":1786355996000,"timestamp_seconds":1786355996,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1d5560"} 
[2026-08-10 15:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:31: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-08-10 15:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15: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-08-10 15:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307057920001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307057920001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:31:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307057920001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":151565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:31:06] local.INFO: GPS data processed {"connection_id":151565,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:31:06] local.INFO: Acknowledgment sent {"connection_id":151565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:31:08] local.INFO: TCP Data received {"connection_id":152890,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:31:08] local.INFO: Processing buffer {"connection_id":152890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:31:08] local.INFO: IMEI packet received {"connection_id":152890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":152890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:31:12] local.INFO: TCP Data received {"connection_id":152890,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:31:12] local.INFO: Processing buffer {"connection_id":152890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:31:12] local.INFO: IMEI packet received {"connection_id":152890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":152890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:31:13] local.INFO: TCP Data received {"connection_id":152890,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:31:13] local.INFO: Processing buffer {"connection_id":152890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:31:13] local.INFO: Packet analysis {"connection_id":152890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:31:13] local.INFO: Extracted packet for processing {"connection_id":152890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:31:13] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99385136,"longitude_deg":76.2973888,"latitude_deg":9.9385136,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7f30","is_valid_coordinates":true} 
[2026-08-10 15:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786355845000,"timestamp_ms":1786355845000,"timestamp_seconds":1786355845,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1b0788"} 
[2026-08-10 15:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:31: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-08-10 15:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":13493,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:31:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:31:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":152890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:31:13] local.INFO: GPS data processed {"connection_id":152890,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:31:13] local.INFO: Acknowledgment sent {"connection_id":152890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:31:17] local.INFO: TCP Data received {"connection_id":154338,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1bb750012d181e800721afb8004900d525..."} 
[2026-08-10 15:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1bb750012d181e800721afb8004900d525..."} 
[2026-08-10 15:31:17] local.INFO: Processing buffer {"connection_id":154338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1bb750012d181e800721afb8004900d525..."} 
[2026-08-10 15:31:17] local.INFO: Packet analysis {"connection_id":154338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:31:17] local.INFO: Extracted packet for processing {"connection_id":154338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":73,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-10 15:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307102464001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440289637990400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786355890000,"timestamp_ms":1786355890000,"timestamp_seconds":1786355890,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1bb750"} 
[2026-08-10 15:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 15:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307102464001,"66":12439,"105":206,"83":41984,"24":0,"16":11440289637990400,"45":1737967274329880576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 15:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307102464001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:31:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 15:31:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440289637990400,"km_value":11440289637990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307102464001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-08-10 15:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":154338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:31:18] local.INFO: GPS data processed {"connection_id":154338,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:31:18] local.INFO: Acknowledgment sent {"connection_id":154338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:31:37] local.INFO: TCP Data received {"connection_id":151565,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:31:37] local.INFO: Processing buffer {"connection_id":151565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:31:37] local.INFO: Packet analysis {"connection_id":151565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:31:37] local.INFO: Extracted packet for processing {"connection_id":151565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307057920001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786355996000,"timestamp_ms":1786355996000,"timestamp_seconds":1786355996,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1d5560"} 
[2026-08-10 15:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:31: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-08-10 15: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-08-10 15:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15: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-08-10 15:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307057920001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307057920001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:31:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307057920001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":151565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:31:37] local.INFO: GPS data processed {"connection_id":151565,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:31:37] local.INFO: Acknowledgment sent {"connection_id":151565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:31:41] local.INFO: TCP Data received {"connection_id":151963,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:31:41] local.INFO: Processing buffer {"connection_id":151963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:31:41] local.INFO: IMEI packet received {"connection_id":151963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":151963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:31:42] local.INFO: TCP Data received {"connection_id":151963,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:31:42] local.INFO: Processing buffer {"connection_id":151963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:31:42] local.INFO: IMEI packet received {"connection_id":151963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":151963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:31:45] local.INFO: TCP Data received {"connection_id":152890,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:31:45] local.INFO: Processing buffer {"connection_id":152890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:31:45] local.INFO: Packet analysis {"connection_id":152890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:31:45] local.INFO: Extracted packet for processing {"connection_id":152890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:31:45] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99385136,"longitude_deg":76.2973888,"latitude_deg":9.9385136,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7f30","is_valid_coordinates":true} 
[2026-08-10 15:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786355845000,"timestamp_ms":1786355845000,"timestamp_seconds":1786355845,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1b0788"} 
[2026-08-10 15:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":13493,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:31:45] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:31:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":152890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:31:45] local.INFO: GPS data processed {"connection_id":152890,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:31:45] local.INFO: Acknowledgment sent {"connection_id":152890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:31:47] local.INFO: TCP Data received {"connection_id":151963,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:31:47] local.INFO: Processing buffer {"connection_id":151963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:31:47] local.INFO: IMEI packet received {"connection_id":151963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":151963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:31:48] local.INFO: TCP Data received {"connection_id":151963,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1e0528012d18290007219ec0004b007826..."} 
[2026-08-10 15:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1e0528012d18290007219ec0004b007826..."} 
[2026-08-10 15:31:48] local.INFO: Processing buffer {"connection_id":151963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1e0528012d18290007219ec0004b007826..."} 
[2026-08-10 15:31:48] local.INFO: Packet analysis {"connection_id":151963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1e"} 
[2026-08-10 15:31:48] local.INFO: Extracted packet for processing {"connection_id":151963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1e"} 
[2026-08-10 15:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643840,"longitude_deg":75.655808,"latitude_deg":11.964384,"altitude":75,"angle":120,"satellites":38,"speed":16,"hex_longitude":"2d182900","hex_latitude":"07219ec0","is_valid_coordinates":true} 
[2026-08-10 15:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307141120001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440573105831936,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841080832,"note":"Value kept but may cause issues"} 
[2026-08-10 15:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786356041000,"timestamp_ms":1786356041000,"timestamp_seconds":1786356041,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1e0528"} 
[2026-08-10 15:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 15:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307141120001,"66":13972,"106":206,"83":41984,"24":16,"16":11440573105831936,"45":1737826536841080832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 15:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307141120001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:31:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 15:31:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440573105831936,"km_value":11440573105831.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841080832,"description":"Unknown IO ID 45"} 
[2026-08-10 15:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307141120001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1737826536841080832}} 
[2026-08-10 15:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":151963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:31:48] local.INFO: GPS data processed {"connection_id":151963,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:31:48] local.INFO: Acknowledgment sent {"connection_id":151963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:31:58] local.INFO: TCP Data received {"connection_id":154339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:31:58] local.INFO: Processing buffer {"connection_id":154339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:31:58] local.INFO: IMEI packet received {"connection_id":154339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":154339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:32:04] local.INFO: TCP Data received {"connection_id":154339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:32:04] local.INFO: Processing buffer {"connection_id":154339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:32:04] local.INFO: IMEI packet received {"connection_id":154339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":154339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:32:05] local.INFO: TCP Data received {"connection_id":154339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:32:05] local.INFO: Processing buffer {"connection_id":154339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:32:05] local.INFO: Packet analysis {"connection_id":154339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:32:05] local.INFO: Extracted packet for processing {"connection_id":154339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307057920001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786355996000,"timestamp_ms":1786355996000,"timestamp_seconds":1786355996,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1d5560"} 
[2026-08-10 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-08-10 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15: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-08-10 15:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307057920001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307057920001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:32:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307057920001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":154339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:32:05] local.INFO: GPS data processed {"connection_id":154339,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:32:05] local.INFO: Acknowledgment sent {"connection_id":154339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:32:07] local.INFO: TCP Data received {"connection_id":152891,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:32:07] local.INFO: Processing buffer {"connection_id":152891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:32:07] local.INFO: IMEI packet received {"connection_id":152891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":152891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:32:12] local.INFO: TCP Data received {"connection_id":152891,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:32:12] local.INFO: Processing buffer {"connection_id":152891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:32:12] local.INFO: IMEI packet received {"connection_id":152891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":152891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:32:20] local.INFO: TCP Data received {"connection_id":151963,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1ed430012d18c54007214850004600af24..."} 
[2026-08-10 15:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1ed430012d18c54007214850004600af24..."} 
[2026-08-10 15:32:20] local.INFO: Processing buffer {"connection_id":151963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1ed430012d18c54007214850004600af24..."} 
[2026-08-10 15:32:20] local.INFO: Packet analysis {"connection_id":151963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1e"} 
[2026-08-10 15:32:20] local.INFO: Extracted packet for processing {"connection_id":151963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1e"} 
[2026-08-10 15:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119621712,"longitude_deg":75.659808,"latitude_deg":11.9621712,"altitude":70,"angle":175,"satellites":36,"speed":43,"hex_longitude":"2d18c540","hex_latitude":"07214850","is_valid_coordinates":true} 
[2026-08-10 15:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307159552001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11442909568040960,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382969270272,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786356094000,"timestamp_ms":1786356094000,"timestamp_seconds":1786356094,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1ed430"} 
[2026-08-10 15:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-10 15:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307159552001,"66":13004,"106":206,"83":41984,"24":43,"16":11442909568040960,"45":1784551382969270272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 15:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307159552001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:32:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 15:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11442909568040960,"km_value":11442909568040.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382969270272,"description":"Unknown IO ID 45"} 
[2026-08-10 15:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307159552001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1784551382969270272}} 
[2026-08-10 15:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":151963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:32:20] local.INFO: GPS data processed {"connection_id":151963,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:32:20] local.INFO: Acknowledgment sent {"connection_id":151963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:32:23] local.INFO: TCP Data received {"connection_id":152891,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:32:23] local.INFO: Processing buffer {"connection_id":152891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1b0788012d7a0ec005ec7f30000a00f81f..."} 
[2026-08-10 15:32:23] local.INFO: Packet analysis {"connection_id":152891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:32:23] local.INFO: Extracted packet for processing {"connection_id":152891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1b"} 
[2026-08-10 15:32:23] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99385136,"longitude_deg":76.2973888,"latitude_deg":9.9385136,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7f30","is_valid_coordinates":true} 
[2026-08-10 15:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786355845000,"timestamp_ms":1786355845000,"timestamp_seconds":1786355845,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1b0788"} 
[2026-08-10 15:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":13493,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:32:23] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:32:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":152891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:32:23] local.INFO: GPS data processed {"connection_id":152891,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:32:23] local.INFO: Acknowledgment sent {"connection_id":152891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:32:36] local.INFO: TCP Data received {"connection_id":154339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:32:36] local.INFO: Processing buffer {"connection_id":154339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:32:36] local.INFO: Packet analysis {"connection_id":154339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:32:36] local.INFO: Extracted packet for processing {"connection_id":154339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307057920001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786355996000,"timestamp_ms":1786355996000,"timestamp_seconds":1786355996,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1d5560"} 
[2026-08-10 15:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:32: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-08-10 15:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307057920001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307057920001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:32:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307057920001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":154339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:32:36] local.INFO: GPS data processed {"connection_id":154339,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:32:36] local.INFO: Acknowledgment sent {"connection_id":154339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:32:42] local.INFO: TCP Data received {"connection_id":151566,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:32:42] local.INFO: Processing buffer {"connection_id":151566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:32:42] local.INFO: IMEI packet received {"connection_id":151566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":151566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:32:43] local.INFO: TCP Data received {"connection_id":151566,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:32:43] local.INFO: Processing buffer {"connection_id":151566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:32:43] local.INFO: IMEI packet received {"connection_id":151566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":151566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:32:47] local.INFO: TCP Data received {"connection_id":151566,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:32:47] local.INFO: Processing buffer {"connection_id":151566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:32:47] local.INFO: IMEI packet received {"connection_id":151566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":151566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:32:48] local.INFO: TCP Data received {"connection_id":151566,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1edfe8012d18c78007213c000045009f24..."} 
[2026-08-10 15:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1edfe8012d18c78007213c000045009f24..."} 
[2026-08-10 15:32:48] local.INFO: Processing buffer {"connection_id":151566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1edfe8012d18c78007213c000045009f24..."} 
[2026-08-10 15:32:48] local.INFO: Packet analysis {"connection_id":151566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1e"} 
[2026-08-10 15:32:48] local.INFO: Extracted packet for processing {"connection_id":151566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1e"} 
[2026-08-10 15:32:48] local.INFO: GPS Element Parsed {"raw_longitude":756598656,"raw_latitude":119618560,"longitude_deg":75.6598656,"latitude_deg":11.961856,"altitude":69,"angle":159,"satellites":36,"speed":41,"hex_longitude":"2d18c780","hex_latitude":"07213c00","is_valid_coordinates":true} 
[2026-08-10 15:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307160064001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11443064186863616,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689605632,"note":"Value kept but may cause issues"} 
[2026-08-10 15:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786356097000,"timestamp_ms":1786356097000,"timestamp_seconds":1786356097,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1edfe8"} 
[2026-08-10 15:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-10 15:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307160064001,"66":13015,"103":206,"83":41984,"24":41,"16":11443064186863616,"45":1784903226689605632},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 15:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307160064001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:32:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 15:32:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11443064186863616,"km_value":11443064186863.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689605632,"description":"Unknown IO ID 45"} 
[2026-08-10 15:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307160064001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1784903226689605632}} 
[2026-08-10 15:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":151566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:32:48] local.INFO: GPS data processed {"connection_id":151566,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:32:48] local.INFO: Acknowledgment sent {"connection_id":151566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:33:04] local.INFO: TCP Data received {"connection_id":151964,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:33:04] local.INFO: Processing buffer {"connection_id":151964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:33:04] local.INFO: IMEI packet received {"connection_id":151964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":151964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:33:09] local.INFO: TCP Data received {"connection_id":151964,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:33:09] local.INFO: Processing buffer {"connection_id":151964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:33:09] local.INFO: IMEI packet received {"connection_id":151964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":151964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:33:09] local.INFO: TCP Data received {"connection_id":151964,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:33:09] local.INFO: Processing buffer {"connection_id":151964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:33:09] local.INFO: Packet analysis {"connection_id":151964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:33:09] local.INFO: Extracted packet for processing {"connection_id":151964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307057920001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786355996000,"timestamp_ms":1786355996000,"timestamp_seconds":1786355996,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1d5560"} 
[2026-08-10 15:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307057920001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307057920001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:33:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307057920001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":151964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:33:09] local.INFO: GPS data processed {"connection_id":151964,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:33:09] local.INFO: Acknowledgment sent {"connection_id":151964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:33:12] local.INFO: TCP Data received {"connection_id":151965,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:33:12] local.INFO: Processing buffer {"connection_id":151965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:33:12] local.INFO: IMEI packet received {"connection_id":151965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":151965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:33:17] local.INFO: TCP Data received {"connection_id":151965,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:33:17] local.INFO: Processing buffer {"connection_id":151965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:33:17] local.INFO: IMEI packet received {"connection_id":151965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":151965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:33:18] local.INFO: TCP Data received {"connection_id":151965,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:33:18] local.INFO: Processing buffer {"connection_id":151965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:33:18] local.INFO: Packet analysis {"connection_id":151965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:33:18] local.INFO: Extracted packet for processing {"connection_id":151965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:33:18] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786356150000,"timestamp_ms":1786356150000,"timestamp_seconds":1786356150,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1faef0"} 
[2026-08-10 15:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":12374,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:33:18] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:33:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":12374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":151965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:33:18] local.INFO: GPS data processed {"connection_id":151965,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:33:18] local.INFO: Acknowledgment sent {"connection_id":151965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:33:19] local.INFO: TCP Data received {"connection_id":151566,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1f9b68012d194b400720ac28002e006c23..."} 
[2026-08-10 15:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1f9b68012d194b400720ac28002e006c23..."} 
[2026-08-10 15:33:19] local.INFO: Processing buffer {"connection_id":151566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1f9b68012d194b400720ac28002e006c23..."} 
[2026-08-10 15:33:19] local.INFO: Packet analysis {"connection_id":151566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:33:19] local.INFO: Extracted packet for processing {"connection_id":151566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756632384,"raw_latitude":119581736,"longitude_deg":75.6632384,"latitude_deg":11.9581736,"altitude":46,"angle":108,"satellites":35,"speed":42,"hex_longitude":"2d194b40","hex_latitude":"0720ac28","is_valid_coordinates":true} 
[2026-08-10 15:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307172096001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11445645462208512,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817906167699220480,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786356145000,"timestamp_ms":1786356145000,"timestamp_seconds":1786356145,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1f9b68"} 
[2026-08-10 15:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-10 15:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3944685160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:19] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:19] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3964665915,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-10 15:33:19] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,169,159,124,45,192,189,46,35,10,66,92,128,206,54,37,168,77,64,1,240,181,227,235,32,4,113,205,40,38,222,136,239,53,2,7,62],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-10 15:33:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242727126259073024,"timestamp_seconds":3242727126259073.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307172096001,"66":14233,"103":206,"83":41984,"24":42,"16":11445645462208512,"45":1817906167699220480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 15:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307172096001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:33:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 15:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11445645462208512,"km_value":11445645462208.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817906167699220480,"description":"Unknown IO ID 45"} 
[2026-08-10 15:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307172096001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1817906167699220480}} 
[2026-08-10 15:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":151566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:33:19] local.INFO: GPS data processed {"connection_id":151566,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:33:19] local.INFO: Acknowledgment sent {"connection_id":151566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:33:22] local.INFO: TCP Data received {"connection_id":151965,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:33:22] local.INFO: Processing buffer {"connection_id":151965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:33:22] local.INFO: Packet analysis {"connection_id":151965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:33:22] local.INFO: Extracted packet for processing {"connection_id":151965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:33:22] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786356150000,"timestamp_ms":1786356150000,"timestamp_seconds":1786356150,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1faef0"} 
[2026-08-10 15:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:33: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-08-10 15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":12374,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:33:22] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:33:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":12374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":151965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:33:23] local.INFO: GPS data processed {"connection_id":151965,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:33:23] local.INFO: Acknowledgment sent {"connection_id":151965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:33:40] local.INFO: TCP Data received {"connection_id":151964,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:33:40] local.INFO: Processing buffer {"connection_id":151964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:33:40] local.INFO: Packet analysis {"connection_id":151964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:33:40] local.INFO: Extracted packet for processing {"connection_id":151964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307057920001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786355996000,"timestamp_ms":1786355996000,"timestamp_seconds":1786355996,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1d5560"} 
[2026-08-10 15:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307057920001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307057920001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:33:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:33:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307057920001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":151964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:33:40] local.INFO: GPS data processed {"connection_id":151964,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:33:40] local.INFO: Acknowledgment sent {"connection_id":151964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:33:42] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:33:42] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:33:42] local.INFO: IMEI packet received {"connection_id":151567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":151567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:33:44] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:33:44] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:33:44] local.INFO: IMEI packet received {"connection_id":151567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":151567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:33:46] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:33:46] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:33:46] local.INFO: IMEI packet received {"connection_id":151567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":151567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:33:47] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:33:47] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:33:47] local.INFO: IMEI packet received {"connection_id":151567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":151567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:33:48] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb202fd8012d19ba800720a120002c00cf26..."} 
[2026-08-10 15:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb202fd8012d19ba800720a120002c00cf26..."} 
[2026-08-10 15:33:48] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb202fd8012d19ba800720a120002c00cf26..."} 
[2026-08-10 15:33:48] local.INFO: Packet analysis {"connection_id":151567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:33:48] local.INFO: Extracted packet for processing {"connection_id":151567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119578912,"longitude_deg":75.6660864,"latitude_deg":11.9578912,"altitude":44,"angle":207,"satellites":38,"speed":25,"hex_longitude":"2d19ba80","hex_latitude":"0720a120","is_valid_coordinates":true} 
[2026-08-10 15:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307182592001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11447148700762112,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439693793280,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786356183000,"timestamp_ms":1786356183000,"timestamp_seconds":1786356183,"priority":1,"record_length":96,"hex_timestamp":"0000019feb202fd8"} 
[2026-08-10 15:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 15:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307182592001,"66":14243,"103":206,"83":41984,"24":25,"16":11447148700762112,"45":1854216439693793280},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 15:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307182592001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:33:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 15:33:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11447148700762112,"km_value":11447148700762.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439693793280,"description":"Unknown IO ID 45"} 
[2026-08-10 15:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307182592001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1854216439693793280}} 
[2026-08-10 15:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":151567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:33:48] local.INFO: GPS data processed {"connection_id":151567,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:33:48] local.INFO: Acknowledgment sent {"connection_id":151567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:33:49] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb203b90012d19b44007209a08002b00db26..."} 
[2026-08-10 15:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb203b90012d19b44007209a08002b00db26..."} 
[2026-08-10 15:33:49] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb203b90012d19b44007209a08002b00db26..."} 
[2026-08-10 15:33:49] local.INFO: Packet analysis {"connection_id":151567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:33:49] local.INFO: Extracted packet for processing {"connection_id":151567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119577096,"longitude_deg":75.6659264,"latitude_deg":11.9577096,"altitude":43,"angle":219,"satellites":38,"speed":35,"hex_longitude":"2d19b440","hex_latitude":"07209a08","is_valid_coordinates":true} 
[2026-08-10 15:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307182848001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11447268959846400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964716937216,"note":"Value kept but may cause issues"} 
[2026-08-10 15:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786356186000,"timestamp_ms":1786356186000,"timestamp_seconds":1786356186,"priority":1,"record_length":96,"hex_timestamp":"0000019feb203b90"} 
[2026-08-10 15:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-10 15:33: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-08-10 15:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307182848001,"66":14211,"103":206,"83":41984,"24":35,"16":11447268959846400,"45":1853934964716937216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 15:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307182848001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:33:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 15:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11447268959846400,"km_value":11447268959846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964716937216,"description":"Unknown IO ID 45"} 
[2026-08-10 15:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307182848001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1853934964716937216}} 
[2026-08-10 15:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":151567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:33:49] local.INFO: GPS data processed {"connection_id":151567,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:33:49] local.INFO: Acknowledgment sent {"connection_id":151567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:33:59] local.INFO: TCP Data received {"connection_id":154340,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:33:59] local.INFO: Processing buffer {"connection_id":154340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:33:59] local.INFO: IMEI packet received {"connection_id":154340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":154340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:34:04] local.INFO: TCP Data received {"connection_id":154340,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:34:04] local.INFO: Processing buffer {"connection_id":154340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:34:04] local.INFO: IMEI packet received {"connection_id":154340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":154340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:34:04] local.INFO: TCP Data received {"connection_id":154340,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:34:04] local.INFO: Processing buffer {"connection_id":154340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:34:04] local.INFO: Packet analysis {"connection_id":154340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:34:04] local.INFO: Extracted packet for processing {"connection_id":154340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307057920001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786355996000,"timestamp_ms":1786355996000,"timestamp_seconds":1786355996,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1d5560"} 
[2026-08-10 15:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:34: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-08-10 15:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:34: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-08-10 15:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307057920001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307057920001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:34:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307057920001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":154340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:34:04] local.INFO: GPS data processed {"connection_id":154340,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:34:04] local.INFO: Acknowledgment sent {"connection_id":154340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:34:08] local.INFO: TCP Data received {"connection_id":152892,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:34:08] local.INFO: Processing buffer {"connection_id":152892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:34:08] local.INFO: IMEI packet received {"connection_id":152892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":152892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:34:12] local.INFO: TCP Data received {"connection_id":152892,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:34:12] local.INFO: Processing buffer {"connection_id":152892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:34:12] local.INFO: IMEI packet received {"connection_id":152892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":152892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:34:13] local.INFO: TCP Data received {"connection_id":152892,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:34:13] local.INFO: Processing buffer {"connection_id":152892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:34:13] local.INFO: Packet analysis {"connection_id":152892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:34:13] local.INFO: Extracted packet for processing {"connection_id":152892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:34:13] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786356150000,"timestamp_ms":1786356150000,"timestamp_seconds":1786356150,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1faef0"} 
[2026-08-10 15:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:34: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-08-10 15:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":12374,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:34:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:34:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":12374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":152892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:34:13] local.INFO: GPS data processed {"connection_id":152892,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:34:13] local.INFO: Acknowledgment sent {"connection_id":152892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:34:17] local.INFO: TCP Data received {"connection_id":152892,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:34:17] local.INFO: Processing buffer {"connection_id":152892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:34:17] local.INFO: Packet analysis {"connection_id":152892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:34:17] local.INFO: Extracted packet for processing {"connection_id":152892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:34:17] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786356150000,"timestamp_ms":1786356150000,"timestamp_seconds":1786356150,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1faef0"} 
[2026-08-10 15:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":12374,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:34:17] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:34:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":12374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":152892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:34:18] local.INFO: GPS data processed {"connection_id":152892,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:34:18] local.INFO: Acknowledgment sent {"connection_id":152892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:34:20] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb204360012d19afc0072093e8002c00ce26..."} 
[2026-08-10 15:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb204360012d19afc0072093e8002c00ce26..."} 
[2026-08-10 15:34:20] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb204360012d19afc0072093e8002c00ce26..."} 
[2026-08-10 15:34:20] local.INFO: Packet analysis {"connection_id":151567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:34:20] local.INFO: Extracted packet for processing {"connection_id":151567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119575528,"longitude_deg":75.6658112,"latitude_deg":11.9575528,"altitude":44,"angle":206,"satellites":38,"speed":37,"hex_longitude":"2d19afc0","hex_latitude":"072093e8","is_valid_coordinates":true} 
[2026-08-10 15:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307183616001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11447359154159616,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852175746112030720,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786356188000,"timestamp_ms":1786356188000,"timestamp_seconds":1786356188,"priority":1,"record_length":96,"hex_timestamp":"0000019feb204360"} 
[2026-08-10 15:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 15:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307183616001,"66":14211,"103":206,"83":41984,"24":37,"16":11447359154159616,"45":1852175746112030720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 15:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307183616001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:34:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 15:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11447359154159616,"km_value":11447359154159.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852175746112030720,"description":"Unknown IO ID 45"} 
[2026-08-10 15:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307183616001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1852175746112030720}} 
[2026-08-10 15:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":151567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:34:20] local.INFO: GPS data processed {"connection_id":151567,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:34:20] local.INFO: Acknowledgment sent {"connection_id":151567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:34:43] local.INFO: TCP Data received {"connection_id":151966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:34:43] local.INFO: Processing buffer {"connection_id":151966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:34:43] local.INFO: IMEI packet received {"connection_id":151966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":151966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:34:47] local.INFO: TCP Data received {"connection_id":151966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:34:47] local.INFO: Processing buffer {"connection_id":151966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:34:47] local.INFO: IMEI packet received {"connection_id":151966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":151966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:34:49] local.INFO: TCP Data received {"connection_id":152892,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:34:49] local.INFO: Processing buffer {"connection_id":152892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:34:49] local.INFO: Packet analysis {"connection_id":152892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:34:49] local.INFO: Extracted packet for processing {"connection_id":152892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:34:49] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786356150000,"timestamp_ms":1786356150000,"timestamp_seconds":1786356150,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1faef0"} 
[2026-08-10 15:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":12374,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:34:49] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:34:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":12374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":152892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:34:49] local.INFO: GPS data processed {"connection_id":152892,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:34:49] local.INFO: Acknowledgment sent {"connection_id":152892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:34:52] local.INFO: TCP Data received {"connection_id":151966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:34:52] local.INFO: Processing buffer {"connection_id":151966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:34:52] local.INFO: IMEI packet received {"connection_id":151966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":151966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:34:53] local.INFO: TCP Data received {"connection_id":151966,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb20e770012d19eb80071ffc900029008625..."} 
[2026-08-10 15:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb20e770012d19eb80071ffc900029008625..."} 
[2026-08-10 15:34:53] local.INFO: Processing buffer {"connection_id":151966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb20e770012d19eb80071ffc900029008625..."} 
[2026-08-10 15:34:53] local.INFO: Packet analysis {"connection_id":151966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:34:53] local.INFO: Extracted packet for processing {"connection_id":151966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:34:53] local.INFO: GPS Element Parsed {"raw_longitude":756673408,"raw_latitude":119536784,"longitude_deg":75.6673408,"latitude_deg":11.9536784,"altitude":41,"angle":134,"satellites":37,"speed":31,"hex_longitude":"2d19eb80","hex_latitude":"071ffc90","is_valid_coordinates":true} 
[2026-08-10 15:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307194368001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11449472278069248,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866601338658445312,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786356230000,"timestamp_ms":1786356230000,"timestamp_seconds":1786356230,"priority":1,"record_length":96,"hex_timestamp":"0000019feb20e770"} 
[2026-08-10 15:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-10 15:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307194368001,"66":14102,"101":206,"83":41984,"24":31,"16":11449472278069248,"45":1866601338658445312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307194368001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:34:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:34:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11449472278069248,"km_value":11449472278069.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866601338658445312,"description":"Unknown IO ID 45"} 
[2026-08-10 15:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307194368001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1866601338658445312}} 
[2026-08-10 15:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":151966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:34:53] local.INFO: GPS data processed {"connection_id":151966,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:34:53] local.INFO: Acknowledgment sent {"connection_id":151966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:34:58] local.INFO: TCP Data received {"connection_id":151966,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb20eb58012d19ee80071ffba80028006925..."} 
[2026-08-10 15:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb20eb58012d19ee80071ffba80028006925..."} 
[2026-08-10 15:34:58] local.INFO: Processing buffer {"connection_id":151966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb20eb58012d19ee80071ffba80028006925..."} 
[2026-08-10 15:34:58] local.INFO: Packet analysis {"connection_id":151966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:34:58] local.INFO: Extracted packet for processing {"connection_id":151966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756674176,"raw_latitude":119536552,"longitude_deg":75.6674176,"latitude_deg":11.9536552,"altitude":40,"angle":105,"satellites":37,"speed":28,"hex_longitude":"2d19ee80","hex_latitude":"071ffba8","is_valid_coordinates":true} 
[2026-08-10 15:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307194880001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11449510932774912,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867727238564974592,"note":"Value kept but may cause issues"} 
[2026-08-10 15:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786356231000,"timestamp_ms":1786356231000,"timestamp_seconds":1786356231,"priority":1,"record_length":96,"hex_timestamp":"0000019feb20eb58"} 
[2026-08-10 15:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 15:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307194880001,"66":14211,"101":206,"83":41984,"24":28,"16":11449510932774912,"45":1867727238564974592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307194880001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:34:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11449510932774912,"km_value":11449510932774.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867727238564974592,"description":"Unknown IO ID 45"} 
[2026-08-10 15:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307194880001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1867727238564974592}} 
[2026-08-10 15:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":151966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:34:58] local.INFO: GPS data processed {"connection_id":151966,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:34:58] local.INFO: Acknowledgment sent {"connection_id":151966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:34:58] local.INFO: TCP Data received {"connection_id":154341,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:34:58] local.INFO: Processing buffer {"connection_id":154341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:34:58] local.INFO: IMEI packet received {"connection_id":154341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":154341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:35:00] local.INFO: TCP Data received {"connection_id":154340,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:35:00] local.INFO: Processing buffer {"connection_id":154340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:35:00] local.INFO: Packet analysis {"connection_id":154340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:35:00] local.INFO: Extracted packet for processing {"connection_id":154340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:35:00] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307057920001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786355996000,"timestamp_ms":1786355996000,"timestamp_seconds":1786355996,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1d5560"} 
[2026-08-10 15:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15: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-08-10 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307057920001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307057920001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:35:00] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:35:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307057920001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":154340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:35:00] local.INFO: GPS data processed {"connection_id":154340,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:35:00] local.INFO: Acknowledgment sent {"connection_id":154340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:35:04] local.INFO: TCP Data received {"connection_id":154341,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:35:04] local.INFO: Processing buffer {"connection_id":154341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:35:04] local.INFO: IMEI packet received {"connection_id":154341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":154341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:35:04] local.INFO: TCP Data received {"connection_id":154341,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:35:04] local.INFO: Processing buffer {"connection_id":154341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1d5560012d342a4006abc2800017010220..."} 
[2026-08-10 15:35:04] local.INFO: Packet analysis {"connection_id":154341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:35:04] local.INFO: Extracted packet for processing {"connection_id":154341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1d"} 
[2026-08-10 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307057920001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786355996000,"timestamp_ms":1786355996000,"timestamp_seconds":1786355996,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1d5560"} 
[2026-08-10 15:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:35: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-08-10 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:35: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-08-10 15:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307057920001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307057920001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:35:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307057920001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":154341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:35:04] local.INFO: GPS data processed {"connection_id":154341,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:35:04] local.INFO: Acknowledgment sent {"connection_id":154341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:35:07] local.INFO: TCP Data received {"connection_id":152893,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:35:07] local.INFO: Processing buffer {"connection_id":152893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:35:07] local.INFO: IMEI packet received {"connection_id":152893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":152893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:35:12] local.INFO: TCP Data received {"connection_id":152893,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:35:12] local.INFO: Processing buffer {"connection_id":152893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:35:12] local.INFO: IMEI packet received {"connection_id":152893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":152893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:35:13] local.INFO: TCP Data received {"connection_id":152893,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:35:13] local.INFO: Processing buffer {"connection_id":152893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:35:13] local.INFO: Packet analysis {"connection_id":152893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:35:13] local.INFO: Extracted packet for processing {"connection_id":152893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:35:13] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786356150000,"timestamp_ms":1786356150000,"timestamp_seconds":1786356150,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1faef0"} 
[2026-08-10 15:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:35: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-08-10 15:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":12374,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:35:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:35:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":12374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":152893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:35:13] local.INFO: GPS data processed {"connection_id":152893,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:35:13] local.INFO: Acknowledgment sent {"connection_id":152893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:35:33] local.INFO: TCP Data received {"connection_id":154342,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:35:33] local.INFO: Processing buffer {"connection_id":154342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:35:33] local.INFO: IMEI packet received {"connection_id":154342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":154342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:35:35] local.INFO: TCP Data received {"connection_id":154341,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:35:35] local.INFO: Processing buffer {"connection_id":154341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:35:35] local.INFO: Packet analysis {"connection_id":154341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:35:35] local.INFO: Extracted packet for processing {"connection_id":154341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307134976001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786356297000,"timestamp_ms":1786356297000,"timestamp_seconds":1786356297,"priority":1,"record_length":96,"hex_timestamp":"0000019feb21ed28"} 
[2026-08-10 15:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:35: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-08-10 15:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307134976001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307134976001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:35:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307134976001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":154341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:35:35] local.INFO: GPS data processed {"connection_id":154341,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:35:35] local.INFO: Acknowledgment sent {"connection_id":154341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:35:38] local.INFO: TCP Data received {"connection_id":154342,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:35:38] local.INFO: Processing buffer {"connection_id":154342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:35:38] local.INFO: IMEI packet received {"connection_id":154342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":154342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:35:39] local.INFO: TCP Data received {"connection_id":154342,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-10 15:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-10 15:35:39] local.INFO: Processing buffer {"connection_id":154342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-10 15:35:39] local.INFO: Packet analysis {"connection_id":154342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-10 15:35:39] local.INFO: Extracted packet for processing {"connection_id":154342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-10 15:35:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27405022379638784,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:35:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:35:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 15:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154342,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 15:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 15:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 15:35:39] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 15:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":154342,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 15:35:39] local.ERROR: GPS data processing failed {"connection_id":154342,"error":"No valid data to process"} 
[2026-08-10 15:35:39] local.INFO: Acknowledgment sent {"connection_id":154342,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 15:35:42] local.INFO: TCP Data received {"connection_id":151967,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:35:42] local.INFO: Processing buffer {"connection_id":151967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:35:42] local.INFO: IMEI packet received {"connection_id":151967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":151967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:35:44] local.INFO: TCP Data received {"connection_id":152893,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:35:44] local.INFO: Processing buffer {"connection_id":152893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:35:44] local.INFO: Packet analysis {"connection_id":152893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:35:44] local.INFO: Extracted packet for processing {"connection_id":152893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:35:44] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786356150000,"timestamp_ms":1786356150000,"timestamp_seconds":1786356150,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1faef0"} 
[2026-08-10 15:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":12374,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:35:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:35:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":12374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":152893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:35:44] local.INFO: GPS data processed {"connection_id":152893,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:35:44] local.INFO: Acknowledgment sent {"connection_id":152893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:35:45] local.INFO: TCP Data received {"connection_id":151967,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:35:45] local.INFO: Processing buffer {"connection_id":151967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:35:45] local.INFO: IMEI packet received {"connection_id":151967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":151967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:35:46] local.INFO: TCP Data received {"connection_id":151967,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb20f328012d19f4c0071ffc080028005625..."} 
[2026-08-10 15:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb20f328012d19f4c0071ffc080028005625..."} 
[2026-08-10 15:35:46] local.INFO: Processing buffer {"connection_id":151967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb20f328012d19f4c0071ffc080028005625..."} 
[2026-08-10 15:35:46] local.INFO: Packet analysis {"connection_id":151967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:35:46] local.INFO: Extracted packet for processing {"connection_id":151967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756675776,"raw_latitude":119536648,"longitude_deg":75.6675776,"latitude_deg":11.9536648,"altitude":40,"angle":86,"satellites":37,"speed":29,"hex_longitude":"2d19f4c0","hex_latitude":"071ffc08","is_valid_coordinates":true} 
[2026-08-10 15:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307195136001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11449588242186240,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868571663495047168,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35: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-08-10 15:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786356233000,"timestamp_ms":1786356233000,"timestamp_seconds":1786356233,"priority":1,"record_length":96,"hex_timestamp":"0000019feb20f328"} 
[2026-08-10 15:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 15:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307195136001,"66":14211,"101":206,"83":41984,"24":29,"16":11449588242186240,"45":1868571663495047168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307195136001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:35:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11449588242186240,"km_value":11449588242186.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868571663495047168,"description":"Unknown IO ID 45"} 
[2026-08-10 15:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307195136001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1868571663495047168}} 
[2026-08-10 15:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":151967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:35:46] local.INFO: GPS data processed {"connection_id":151967,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:35:46] local.INFO: Acknowledgment sent {"connection_id":151967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:35:47] local.INFO: TCP Data received {"connection_id":151967,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb20fee0012d19ff00071ffbb80028006425..."} 
[2026-08-10 15:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb20fee0012d19ff00071ffbb80028006425..."} 
[2026-08-10 15:35:47] local.INFO: Processing buffer {"connection_id":151967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb20fee0012d19ff00071ffbb80028006425..."} 
[2026-08-10 15:35:47] local.INFO: Packet analysis {"connection_id":151967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:35:47] local.INFO: Extracted packet for processing {"connection_id":151967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb20"} 
[2026-08-10 15:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756678400,"raw_latitude":119536568,"longitude_deg":75.66784,"latitude_deg":11.9536568,"altitude":40,"angle":100,"satellites":37,"speed":35,"hex_longitude":"2d19ff00","hex_latitude":"071ffbb8","is_valid_coordinates":true} 
[2026-08-10 15:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307195648001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11449712796237824,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870330882099513344,"note":"Value kept but may cause issues"} 
[2026-08-10 15:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786356236000,"timestamp_ms":1786356236000,"timestamp_seconds":1786356236,"priority":1,"record_length":96,"hex_timestamp":"0000019feb20fee0"} 
[2026-08-10 15:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 15:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307195648001,"66":14243,"101":206,"83":41984,"24":35,"16":11449712796237824,"45":1870330882099513344},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307195648001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:35:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11449712796237824,"km_value":11449712796237.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870330882099513344,"description":"Unknown IO ID 45"} 
[2026-08-10 15:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307195648001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1870330882099513344}} 
[2026-08-10 15:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":151967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:35:47] local.INFO: GPS data processed {"connection_id":151967,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:35:47] local.INFO: Acknowledgment sent {"connection_id":151967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:35:58] local.INFO: TCP Data received {"connection_id":151568,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:35:58] local.INFO: Processing buffer {"connection_id":151568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:35:58] local.INFO: IMEI packet received {"connection_id":151568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":151568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:36:04] local.INFO: TCP Data received {"connection_id":151568,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:36:04] local.INFO: Processing buffer {"connection_id":151568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:36:04] local.INFO: IMEI packet received {"connection_id":151568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":151568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:36:04] local.INFO: TCP Data received {"connection_id":151568,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:36:04] local.INFO: Processing buffer {"connection_id":151568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:36:04] local.INFO: Packet analysis {"connection_id":151568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:36:04] local.INFO: Extracted packet for processing {"connection_id":151568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:36:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307134976001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786356297000,"timestamp_ms":1786356297000,"timestamp_seconds":1786356297,"priority":1,"record_length":96,"hex_timestamp":"0000019feb21ed28"} 
[2026-08-10 15:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:36: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-08-10 15:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:36: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-08-10 15:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307134976001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307134976001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:36:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307134976001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":151568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:36:04] local.INFO: GPS data processed {"connection_id":151568,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:36:04] local.INFO: Acknowledgment sent {"connection_id":151568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:36:07] local.INFO: TCP Data received {"connection_id":154343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:36:07] local.INFO: Processing buffer {"connection_id":154343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:36:07] local.INFO: IMEI packet received {"connection_id":154343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":154343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:36:10] local.INFO: TCP Data received {"connection_id":154342,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000000000004e2000100000000000000000000000000..."} 
[2026-08-10 15:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154342,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000004e2000100000000000000000000000000..."} 
[2026-08-10 15:36:10] local.INFO: Processing buffer {"connection_id":154342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000004e2000100000000000000000000000000..."} 
[2026-08-10 15:36:10] local.INFO: Packet analysis {"connection_id":154342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-08-10 15:36:10] local.INFO: Extracted packet for processing {"connection_id":154342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-08-10 15:36:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27405022379638784,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:36:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":320000,"timestamp_seconds":320,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:36:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 15:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154342,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 15:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-10 15:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 15:36:10] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 15:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":154342,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 15:36:10] local.ERROR: GPS data processing failed {"connection_id":154342,"error":"No valid data to process"} 
[2026-08-10 15:36:10] local.INFO: Acknowledgment sent {"connection_id":154342,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 15:36:12] local.INFO: TCP Data received {"connection_id":154343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:36:12] local.INFO: Processing buffer {"connection_id":154343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:36:12] local.INFO: IMEI packet received {"connection_id":154343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":154343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:36:13] local.INFO: TCP Data received {"connection_id":154343,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:36:13] local.INFO: Processing buffer {"connection_id":154343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:36:13] local.INFO: Packet analysis {"connection_id":154343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:36:13] local.INFO: Extracted packet for processing {"connection_id":154343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:36:13] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786356150000,"timestamp_ms":1786356150000,"timestamp_seconds":1786356150,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1faef0"} 
[2026-08-10 15:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:36: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-08-10 15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":12374,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:36:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:36:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":12374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":154343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:36:13] local.INFO: GPS data processed {"connection_id":154343,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:36:13] local.INFO: Acknowledgment sent {"connection_id":154343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:36:18] local.INFO: TCP Data received {"connection_id":151967,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb226a28012d1aa8c0071f99880034006223..."} 
[2026-08-10 15:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb226a28012d1aa8c0071f99880034006223..."} 
[2026-08-10 15:36:18] local.INFO: Processing buffer {"connection_id":151967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb226a28012d1aa8c0071f99880034006223..."} 
[2026-08-10 15:36:18] local.INFO: Packet analysis {"connection_id":151967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb22"} 
[2026-08-10 15:36:18] local.INFO: Extracted packet for processing {"connection_id":151967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb22"} 
[2026-08-10 15:36:18] local.INFO: GPS Element Parsed {"raw_longitude":756721856,"raw_latitude":119511432,"longitude_deg":75.6721856,"latitude_deg":11.9511432,"altitude":52,"angle":98,"satellites":35,"speed":18,"hex_longitude":"2d1aa8c0","hex_latitude":"071f9988","is_valid_coordinates":true} 
[2026-08-10 15:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307217152001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11452311251451904,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919659371761690624,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786356329000,"timestamp_ms":1786356329000,"timestamp_seconds":1786356329,"priority":1,"record_length":96,"hex_timestamp":"0000019feb226a28"} 
[2026-08-10 15:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142272,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84752956872138716,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3944864160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503774359060480,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3417833522,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070202469,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2934308864,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":152,"raw_value":13229758301086464,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5836672950606495791,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:18] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,175,159,47,45,128,156,50,34,10,66,20,64,173,51,1,240,218,227,235,31,4,113,205,38,225,115,36,239,56,2,40,7,48,33,206,152,26],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-10 15:36:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3602999694693040128,"timestamp_seconds":3602999694693040.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307217152001,"66":14102,"101":206,"83":41984,"24":18,"16":11452311251451904,"45":1919659371761690624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307217152001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:36:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:36:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11452311251451904,"km_value":11452311251451.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919659371761690624,"description":"Unknown IO ID 45"} 
[2026-08-10 15:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307217152001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1919659371761690624}} 
[2026-08-10 15:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":151967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:36:18] local.INFO: GPS data processed {"connection_id":151967,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:36:18] local.INFO: Acknowledgment sent {"connection_id":151967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:36:35] local.INFO: TCP Data received {"connection_id":151568,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:36:35] local.INFO: Processing buffer {"connection_id":151568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:36:35] local.INFO: Packet analysis {"connection_id":151568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:36:35] local.INFO: Extracted packet for processing {"connection_id":151568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307134976001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786356297000,"timestamp_ms":1786356297000,"timestamp_seconds":1786356297,"priority":1,"record_length":96,"hex_timestamp":"0000019feb21ed28"} 
[2026-08-10 15:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:36: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-08-10 15:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307134976001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307134976001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:36:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307134976001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":151568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:36:35] local.INFO: GPS data processed {"connection_id":151568,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:36:35] local.INFO: Acknowledgment sent {"connection_id":151568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:36:41] local.INFO: TCP Data received {"connection_id":154342,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb22ac900100000000000000000000000000..."} 
[2026-08-10 15:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb22ac900100000000000000000000000000..."} 
[2026-08-10 15:36:41] local.INFO: Processing buffer {"connection_id":154342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb22ac900100000000000000000000000000..."} 
[2026-08-10 15:36:41] local.INFO: Packet analysis {"connection_id":154342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb22"} 
[2026-08-10 15:36:41] local.INFO: Extracted packet for processing {"connection_id":154342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb22"} 
[2026-08-10 15:36:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27405022379638784,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786356346000,"timestamp_ms":1786356346000,"timestamp_seconds":1786356346,"priority":1,"record_length":96,"hex_timestamp":"0000019feb22ac90"} 
[2026-08-10 15:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:36: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 15:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":154342,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 15:36:41] local.INFO: GPS data processed {"connection_id":154342,"processed":0,"errors":0,"total":1} 
[2026-08-10 15:36:41] local.INFO: Acknowledgment sent {"connection_id":154342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:36:42] local.INFO: TCP Data received {"connection_id":151968,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:36:42] local.INFO: Processing buffer {"connection_id":151968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:36:42] local.INFO: IMEI packet received {"connection_id":151968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":151968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:36:45] local.INFO: TCP Data received {"connection_id":154343,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:36:45] local.INFO: Processing buffer {"connection_id":154343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:36:45] local.INFO: Packet analysis {"connection_id":154343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:36:45] local.INFO: Extracted packet for processing {"connection_id":154343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:36:45] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786356150000,"timestamp_ms":1786356150000,"timestamp_seconds":1786356150,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1faef0"} 
[2026-08-10 15:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":12374,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:36:45] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:36:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":12374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":154343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:36:45] local.INFO: GPS data processed {"connection_id":154343,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:36:45] local.INFO: Acknowledgment sent {"connection_id":154343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:36:47] local.INFO: TCP Data received {"connection_id":151968,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:36:47] local.INFO: Processing buffer {"connection_id":151968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:36:47] local.INFO: IMEI packet received {"connection_id":151968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":151968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:36:48] local.INFO: TCP Data received {"connection_id":151968,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb228968012d1abe40071f95480035007024..."} 
[2026-08-10 15:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb228968012d1abe40071f95480035007024..."} 
[2026-08-10 15:36:48] local.INFO: Processing buffer {"connection_id":151968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb228968012d1abe40071f95480035007024..."} 
[2026-08-10 15:36:48] local.INFO: Packet analysis {"connection_id":151968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb22"} 
[2026-08-10 15:36:48] local.INFO: Extracted packet for processing {"connection_id":151968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb22"} 
[2026-08-10 15:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756727360,"raw_latitude":119510344,"longitude_deg":75.672736,"latitude_deg":11.9510344,"altitude":53,"angle":112,"satellites":36,"speed":30,"hex_longitude":"2d1abe40","hex_latitude":"071f9548","is_valid_coordinates":true} 
[2026-08-10 15:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307220224001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11452577539424256,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920996377900976128,"note":"Value kept but may cause issues"} 
[2026-08-10 15:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786356337000,"timestamp_ms":1786356337000,"timestamp_seconds":1786356337,"priority":1,"record_length":96,"hex_timestamp":"0000019feb228968"} 
[2026-08-10 15:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 15:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307220224001,"66":14461,"101":206,"83":41984,"24":30,"16":11452577539424256,"45":1920996377900976128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307220224001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:36:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:36:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11452577539424256,"km_value":11452577539424.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920996377900976128,"description":"Unknown IO ID 45"} 
[2026-08-10 15:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307220224001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1920996377900976128}} 
[2026-08-10 15:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":151968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:36:48] local.INFO: GPS data processed {"connection_id":151968,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:36:48] local.INFO: Acknowledgment sent {"connection_id":151968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:37:04] local.INFO: TCP Data received {"connection_id":152894,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:37:04] local.INFO: Processing buffer {"connection_id":152894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:37:04] local.INFO: IMEI packet received {"connection_id":152894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":152894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:37:07] local.INFO: TCP Data received {"connection_id":151569,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:37:07] local.INFO: Processing buffer {"connection_id":151569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:37:07] local.INFO: IMEI packet received {"connection_id":151569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":151569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:37:09] local.INFO: TCP Data received {"connection_id":152894,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:37:09] local.INFO: Processing buffer {"connection_id":152894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:37:09] local.INFO: IMEI packet received {"connection_id":152894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":152894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:37:10] local.INFO: TCP Data received {"connection_id":152894,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:37:10] local.INFO: Processing buffer {"connection_id":152894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:37:10] local.INFO: Packet analysis {"connection_id":152894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:37:10] local.INFO: Extracted packet for processing {"connection_id":152894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307134976001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786356297000,"timestamp_ms":1786356297000,"timestamp_seconds":1786356297,"priority":1,"record_length":96,"hex_timestamp":"0000019feb21ed28"} 
[2026-08-10 15:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307134976001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307134976001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:37:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307134976001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":152894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:37:10] local.INFO: GPS data processed {"connection_id":152894,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:37:10] local.INFO: Acknowledgment sent {"connection_id":152894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:37:12] local.INFO: TCP Data received {"connection_id":154342,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb22fe980100000000000000000000000000..."} 
[2026-08-10 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb22fe980100000000000000000000000000..."} 
[2026-08-10 15:37:12] local.INFO: Processing buffer {"connection_id":154342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb22fe980100000000000000000000000000..."} 
[2026-08-10 15:37:12] local.INFO: Packet analysis {"connection_id":154342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb22"} 
[2026-08-10 15:37:12] local.INFO: Extracted packet for processing {"connection_id":154342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb22"} 
[2026-08-10 15:37:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27405022379638784,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786356367000,"timestamp_ms":1786356367000,"timestamp_seconds":1786356367,"priority":1,"record_length":96,"hex_timestamp":"0000019feb22fe98"} 
[2026-08-10 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-08-10 15:37: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 15:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":154342,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 15:37:12] local.INFO: GPS data processed {"connection_id":154342,"processed":0,"errors":0,"total":1} 
[2026-08-10 15:37:12] local.INFO: Acknowledgment sent {"connection_id":154342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:37:12] local.INFO: TCP Data received {"connection_id":151569,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:37:12] local.INFO: Processing buffer {"connection_id":151569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:37:12] local.INFO: IMEI packet received {"connection_id":151569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":151569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:37:13] local.INFO: TCP Data received {"connection_id":151569,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:37:13] local.INFO: Processing buffer {"connection_id":151569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb1faef0012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:37:13] local.INFO: Packet analysis {"connection_id":151569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:37:13] local.INFO: Extracted packet for processing {"connection_id":151569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb1f"} 
[2026-08-10 15:37:13] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307096320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976285184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786356150000,"timestamp_ms":1786356150000,"timestamp_seconds":1786356150,"priority":1,"record_length":96,"hex_timestamp":"0000019feb1faef0"} 
[2026-08-10 15:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:37: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-08-10 15:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 15:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307096320001,"66":12374,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8795178253976285184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307096320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:37:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:37:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976285184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307096320001,"power":12374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976285184}} 
[2026-08-10 15:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":151569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:37:13] local.INFO: GPS data processed {"connection_id":151569,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:37:13] local.INFO: Acknowledgment sent {"connection_id":151569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:37:14] local.INFO: TCP Data received {"connection_id":152894,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:37:14] local.INFO: Processing buffer {"connection_id":152894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:37:14] local.INFO: Packet analysis {"connection_id":152894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:37:14] local.INFO: Extracted packet for processing {"connection_id":152894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307134976001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786356297000,"timestamp_ms":1786356297000,"timestamp_seconds":1786356297,"priority":1,"record_length":96,"hex_timestamp":"0000019feb21ed28"} 
[2026-08-10 15:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307134976001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307134976001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:37:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307134976001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":152894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:37:14] local.INFO: GPS data processed {"connection_id":152894,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:37:14] local.INFO: Acknowledgment sent {"connection_id":152894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:37:19] local.INFO: TCP Data received {"connection_id":151968,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb229138012d1ac300071f92500035008424..."} 
[2026-08-10 15:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb229138012d1ac300071f92500035008424..."} 
[2026-08-10 15:37:19] local.INFO: Processing buffer {"connection_id":151968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb229138012d1ac300071f92500035008424..."} 
[2026-08-10 15:37:19] local.INFO: Packet analysis {"connection_id":151968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb22"} 
[2026-08-10 15:37:19] local.INFO: Extracted packet for processing {"connection_id":151968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb22"} 
[2026-08-10 15:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756728576,"raw_latitude":119509584,"longitude_deg":75.6728576,"latitude_deg":11.9509584,"altitude":53,"angle":132,"satellites":36,"speed":27,"hex_longitude":"2d1ac300","hex_latitude":"071f9250","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307222272001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11452646258900992,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927048089899976704,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37: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-08-10 15:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786356339000,"timestamp_ms":1786356339000,"timestamp_seconds":1786356339,"priority":1,"record_length":96,"hex_timestamp":"0000019feb229138"} 
[2026-08-10 15:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 15:37: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-08-10 15: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-08-10 15:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307222272001,"66":14037,"101":206,"83":41984,"24":27,"16":11452646258900992,"45":1927048089899976704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307222272001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:37:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:37:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11452646258900992,"km_value":11452646258900.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927048089899976704,"description":"Unknown IO ID 45"} 
[2026-08-10 15:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307222272001,"power":14037,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1927048089899976704}} 
[2026-08-10 15:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":151968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:37:19] local.INFO: GPS data processed {"connection_id":151968,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:37:19] local.INFO: Acknowledgment sent {"connection_id":151968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:37:40] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:37:40] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:37:40] local.INFO: IMEI packet received {"connection_id":151570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":151570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:37:42] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:37:42] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:37:42] local.INFO: IMEI packet received {"connection_id":151570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":151570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:37:43] local.INFO: TCP Data received {"connection_id":154342,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2350a00100000000000000000000000000..."} 
[2026-08-10 15:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2350a00100000000000000000000000000..."} 
[2026-08-10 15:37:43] local.INFO: Processing buffer {"connection_id":154342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2350a00100000000000000000000000000..."} 
[2026-08-10 15:37:43] local.INFO: Packet analysis {"connection_id":154342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb23"} 
[2026-08-10 15:37:43] local.INFO: Extracted packet for processing {"connection_id":154342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb23"} 
[2026-08-10 15:37:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27405022379638784,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786356388000,"timestamp_ms":1786356388000,"timestamp_seconds":1786356388,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2350a0"} 
[2026-08-10 15:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:37:43] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 15:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":154342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":154342,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 15:37:43] local.INFO: GPS data processed {"connection_id":154342,"processed":0,"errors":0,"total":1} 
[2026-08-10 15:37:43] local.INFO: Acknowledgment sent {"connection_id":154342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:37:44] local.INFO: TCP Data received {"connection_id":151569,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb242b60012d7a0e0005ec7f28000a00f81e..."} 
[2026-08-10 15:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb242b60012d7a0e0005ec7f28000a00f81e..."} 
[2026-08-10 15:37:44] local.INFO: Processing buffer {"connection_id":151569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb242b60012d7a0e0005ec7f28000a00f81e..."} 
[2026-08-10 15:37:44] local.INFO: Packet analysis {"connection_id":151569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb24"} 
[2026-08-10 15:37:44] local.INFO: Extracted packet for processing {"connection_id":151569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb24"} 
[2026-08-10 15:37:44] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":30,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307174400001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786356444000,"timestamp_ms":1786356444000,"timestamp_seconds":1786356444,"priority":1,"record_length":96,"hex_timestamp":"0000019feb242b60"} 
[2026-08-10 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-08-10 15:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 15:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307174400001,"66":12232,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8794967147743750144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307174400001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:37:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:37:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-08-10 15:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307174400001,"power":12232,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-08-10 15:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":151569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:37:44] local.INFO: GPS data processed {"connection_id":151569,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:37:44] local.INFO: Acknowledgment sent {"connection_id":151569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:37:45] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:37:45] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:37:45] local.INFO: IMEI packet received {"connection_id":151570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":151570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:37:46] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb23a2a8012d1abb00071f4060003d000623..."} 
[2026-08-10 15:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb23a2a8012d1abb00071f4060003d000623..."} 
[2026-08-10 15:37:46] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb23a2a8012d1abb00071f4060003d000623..."} 
[2026-08-10 15:37:46] local.INFO: Packet analysis {"connection_id":151570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb23"} 
[2026-08-10 15:37:46] local.INFO: Extracted packet for processing {"connection_id":151570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb23"} 
[2026-08-10 15:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756726528,"raw_latitude":119488608,"longitude_deg":75.6726528,"latitude_deg":11.9488608,"altitude":61,"angle":6,"satellites":35,"speed":2,"hex_longitude":"2d1abb00","hex_latitude":"071f4060","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307238144001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453724295692288,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926062927475910656,"note":"Value kept but may cause issues"} 
[2026-08-10 15:37: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-08-10 15:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786356409000,"timestamp_ms":1786356409000,"timestamp_seconds":1786356409,"priority":1,"record_length":96,"hex_timestamp":"0000019feb23a2a8"} 
[2026-08-10 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-08-10 15:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-10 15:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307238144001,"66":14070,"101":206,"83":41984,"24":2,"16":11453724295692288,"45":1926062927475910656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307238144001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:37:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453724295692288,"km_value":11453724295692.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926062927475910656,"description":"Unknown IO ID 45"} 
[2026-08-10 15:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307238144001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1926062927475910656}} 
[2026-08-10 15:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":151570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:37:46] local.INFO: GPS data processed {"connection_id":151570,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:37:46] local.INFO: Acknowledgment sent {"connection_id":151570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:37:52] local.INFO: TCP Data received {"connection_id":151571,"ip":"88.214.25.124","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-10 15:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151571,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-10 15:37:52] local.INFO: Processing buffer {"connection_id":151571,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-10 15:37:52] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":151571,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-08-10 15:37:59] local.INFO: TCP Data received {"connection_id":151572,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:37:59] local.INFO: Processing buffer {"connection_id":151572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:37:59] local.INFO: IMEI packet received {"connection_id":151572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":151572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:38:04] local.INFO: TCP Data received {"connection_id":151572,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:38:04] local.INFO: Processing buffer {"connection_id":151572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:38:04] local.INFO: IMEI packet received {"connection_id":151572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":151572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:38:05] local.INFO: TCP Data received {"connection_id":151572,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:38:05] local.INFO: Processing buffer {"connection_id":151572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:38:05] local.INFO: Packet analysis {"connection_id":151572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:38:05] local.INFO: Extracted packet for processing {"connection_id":151572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307134976001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786356297000,"timestamp_ms":1786356297000,"timestamp_seconds":1786356297,"priority":1,"record_length":96,"hex_timestamp":"0000019feb21ed28"} 
[2026-08-10 15:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307134976001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307134976001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:38:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307134976001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":151572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:38:05] local.INFO: GPS data processed {"connection_id":151572,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:38:05] local.INFO: Acknowledgment sent {"connection_id":151572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:38:12] local.INFO: TCP Data received {"connection_id":154344,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:38:12] local.INFO: Processing buffer {"connection_id":154344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:38:12] local.INFO: IMEI packet received {"connection_id":154344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":154344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:38:14] local.INFO: TCP Data received {"connection_id":154342,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb23a2a80100000000000000000000000000..."} 
[2026-08-10 15:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb23a2a80100000000000000000000000000..."} 
[2026-08-10 15:38:14] local.INFO: Processing buffer {"connection_id":154342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb23a2a80100000000000000000000000000..."} 
[2026-08-10 15:38:14] local.INFO: Packet analysis {"connection_id":154342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb23"} 
[2026-08-10 15:38:14] local.INFO: Extracted packet for processing {"connection_id":154342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb23"} 
[2026-08-10 15:38:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 15:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27405022379638784,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786356409000,"timestamp_ms":1786356409000,"timestamp_seconds":1786356409,"priority":1,"record_length":96,"hex_timestamp":"0000019feb23a2a8"} 
[2026-08-10 15:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-10 15:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":154342,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 15:38:14] local.INFO: GPS data processed {"connection_id":154342,"processed":0,"errors":0,"total":1} 
[2026-08-10 15:38:14] local.INFO: Acknowledgment sent {"connection_id":154342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:38:17] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb23a690012d1abac0071f40d8003d015c23..."} 
[2026-08-10 15:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb23a690012d1abac0071f40d8003d015c23..."} 
[2026-08-10 15:38:17] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb23a690012d1abac0071f40d8003d015c23..."} 
[2026-08-10 15:38:17] local.INFO: Packet analysis {"connection_id":151570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb23"} 
[2026-08-10 15:38:17] local.INFO: Extracted packet for processing {"connection_id":151570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb23"} 
[2026-08-10 15:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756726464,"raw_latitude":119488728,"longitude_deg":75.6726464,"latitude_deg":11.9488728,"altitude":61,"angle":348,"satellites":35,"speed":4,"hex_longitude":"2d1abac0","hex_latitude":"071f40d8","is_valid_coordinates":true} 
[2026-08-10 15:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307240704001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453728590659584,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926133296220102656,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786356410000,"timestamp_ms":1786356410000,"timestamp_seconds":1786356410,"priority":1,"record_length":96,"hex_timestamp":"0000019feb23a690"} 
[2026-08-10 15:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 15:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307240704001,"66":14070,"101":206,"83":41984,"24":4,"16":11453728590659584,"45":1926133296220102656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307240704001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:38:17] local.INFO: TCP Data received {"connection_id":154344,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:38:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:38:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453728590659584,"km_value":11453728590659.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926133296220102656,"description":"Unknown IO ID 45"} 
[2026-08-10 15:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307240704001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1926133296220102656}} 
[2026-08-10 15:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:38:17] local.INFO: Processing buffer {"connection_id":154344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:38:17] local.INFO: IMEI packet received {"connection_id":154344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":154344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":151570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:38:17] local.INFO: GPS data processed {"connection_id":151570,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:38:17] local.INFO: Acknowledgment sent {"connection_id":151570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:38:18] local.INFO: TCP Data received {"connection_id":154344,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb242b60012d7a0e0005ec7f28000a00f81e..."} 
[2026-08-10 15:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb242b60012d7a0e0005ec7f28000a00f81e..."} 
[2026-08-10 15:38:18] local.INFO: Processing buffer {"connection_id":154344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb242b60012d7a0e0005ec7f28000a00f81e..."} 
[2026-08-10 15:38:18] local.INFO: Packet analysis {"connection_id":154344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb24"} 
[2026-08-10 15:38:18] local.INFO: Extracted packet for processing {"connection_id":154344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb24"} 
[2026-08-10 15:38:18] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":30,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307249664001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786356444000,"timestamp_ms":1786356444000,"timestamp_seconds":1786356444,"priority":1,"record_length":96,"hex_timestamp":"0000019feb242b60"} 
[2026-08-10 15:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307249664001,"66":12232,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8794967147743750144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307249664001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:38:18] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:38:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-08-10 15:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307249664001,"power":12232,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-08-10 15:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":154344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:38:18] local.INFO: GPS data processed {"connection_id":154344,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:38:18] local.INFO: Acknowledgment sent {"connection_id":154344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:38:23] local.INFO: TCP Data received {"connection_id":154344,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2446b8012d7a0e0005ec7f28000a00f820..."} 
[2026-08-10 15:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2446b8012d7a0e0005ec7f28000a00f820..."} 
[2026-08-10 15:38:23] local.INFO: Processing buffer {"connection_id":154344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2446b8012d7a0e0005ec7f28000a00f820..."} 
[2026-08-10 15:38:23] local.INFO: Packet analysis {"connection_id":154344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb24"} 
[2026-08-10 15:38:23] local.INFO: Extracted packet for processing {"connection_id":154344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb24"} 
[2026-08-10 15:38:23] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":32,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307249664001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786356451000,"timestamp_ms":1786356451000,"timestamp_seconds":1786356451,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2446b8"} 
[2026-08-10 15:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307249664001,"66":2416,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8794967147743750144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307249664001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:38:23] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:38:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-08-10 15:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307249664001,"power":2416,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-08-10 15:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":154344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:38:23] local.INFO: GPS data processed {"connection_id":154344,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:38:23] local.INFO: Acknowledgment sent {"connection_id":154344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:38:37] local.INFO: TCP Data received {"connection_id":151572,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:38:37] local.INFO: Processing buffer {"connection_id":151572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:38:37] local.INFO: Packet analysis {"connection_id":151572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:38:37] local.INFO: Extracted packet for processing {"connection_id":151572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307134976001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786356297000,"timestamp_ms":1786356297000,"timestamp_seconds":1786356297,"priority":1,"record_length":96,"hex_timestamp":"0000019feb21ed28"} 
[2026-08-10 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-08-10 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:38: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-08-10 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-08-10 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-08-10 15:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307134976001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307134976001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:38:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307134976001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":151572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:38:37] local.INFO: GPS data processed {"connection_id":151572,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:38:37] local.INFO: Acknowledgment sent {"connection_id":151572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:38:42] local.INFO: TCP Data received {"connection_id":151969,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:38:42] local.INFO: Processing buffer {"connection_id":151969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:38:42] local.INFO: IMEI packet received {"connection_id":151969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":151969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:38:44] local.INFO: TCP Data received {"connection_id":151969,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:38:44] local.INFO: Processing buffer {"connection_id":151969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:38:44] local.INFO: IMEI packet received {"connection_id":151969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":151969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:38:45] local.INFO: TCP Data received {"connection_id":154342,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb254c70012d0b81400703c36000a6009e08..."} 
[2026-08-10 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb254c70012d0b81400703c36000a6009e08..."} 
[2026-08-10 15:38:45] local.INFO: Processing buffer {"connection_id":154342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb254c70012d0b81400703c36000a6009e08..."} 
[2026-08-10 15:38:45] local.INFO: Packet analysis {"connection_id":154342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb25"} 
[2026-08-10 15:38:45] local.INFO: Extracted packet for processing {"connection_id":154342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb25"} 
[2026-08-10 15:38:45] local.INFO: GPS Element Parsed {"raw_longitude":755728704,"raw_latitude":117687136,"longitude_deg":75.5728704,"latitude_deg":11.7687136,"altitude":166,"angle":158,"satellites":8,"speed":15,"hex_longitude":"2d0b8140","hex_latitude":"0703c360","is_valid_coordinates":true} 
[2026-08-10 15:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307267840001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27406632992374784,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828803099052771328,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786356518000,"timestamp_ms":1786356518000,"timestamp_seconds":1786356518,"priority":1,"record_length":96,"hex_timestamp":"0000019feb254c70"} 
[2026-08-10 15:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 15:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307267840001,"66":14341,"96":206,"94":10240,"24":15,"16":27406632992374784,"45":828803099052771328},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 15:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307267840001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:38:45] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 15:38:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27406632992374784,"km_value":27406632992374.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":828803099052771328,"description":"Unknown IO ID 45"} 
[2026-08-10 15:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307267840001,"power":14341,"unknown_96":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":828803099052771328}} 
[2026-08-10 15:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":154342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620372,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:38:45] local.INFO: GPS data processed {"connection_id":154342,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:38:45] local.INFO: Acknowledgment sent {"connection_id":154342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:38:47] local.INFO: TCP Data received {"connection_id":151969,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:38:47] local.INFO: Processing buffer {"connection_id":151969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:38:47] local.INFO: IMEI packet received {"connection_id":151969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":151969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:38:48] local.INFO: TCP Data received {"connection_id":151969,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb247d68012d1ac300071f90600034014525..."} 
[2026-08-10 15:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb247d68012d1ac300071f90600034014525..."} 
[2026-08-10 15:38:48] local.INFO: Processing buffer {"connection_id":151969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb247d68012d1ac300071f90600034014525..."} 
[2026-08-10 15:38:48] local.INFO: Packet analysis {"connection_id":151969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb24"} 
[2026-08-10 15:38:48] local.INFO: Extracted packet for processing {"connection_id":151969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb24"} 
[2026-08-10 15:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756728576,"raw_latitude":119509088,"longitude_deg":75.6728576,"latitude_deg":11.9509088,"altitude":52,"angle":325,"satellites":37,"speed":17,"hex_longitude":"2d1ac300","hex_latitude":"071f9060","is_valid_coordinates":true} 
[2026-08-10 15:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307254528001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11454759382810624,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939759714304,"note":"Value kept but may cause issues"} 
[2026-08-10 15:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786356465000,"timestamp_ms":1786356465000,"timestamp_seconds":1786356465,"priority":1,"record_length":96,"hex_timestamp":"0000019feb247d68"} 
[2026-08-10 15:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:38: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-08-10 15:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-10 15:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307254528001,"66":14374,"101":206,"83":41984,"24":17,"16":11454759382810624,"45":1928736939759714304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307254528001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:38:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:38:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11454759382810624,"km_value":11454759382810.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939759714304,"description":"Unknown IO ID 45"} 
[2026-08-10 15:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307254528001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1928736939759714304}} 
[2026-08-10 15:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":151969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:38:48] local.INFO: GPS data processed {"connection_id":151969,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:38:48] local.INFO: Acknowledgment sent {"connection_id":151969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:38:59] local.INFO: TCP Data received {"connection_id":151573,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:38:59] local.INFO: Processing buffer {"connection_id":151573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:38:59] local.INFO: IMEI packet received {"connection_id":151573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":151573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:39:04] local.INFO: TCP Data received {"connection_id":151573,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:39:04] local.INFO: Processing buffer {"connection_id":151573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:39:04] local.INFO: IMEI packet received {"connection_id":151573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":151573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:39:05] local.INFO: TCP Data received {"connection_id":151573,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:39:05] local.INFO: Processing buffer {"connection_id":151573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:39:05] local.INFO: Packet analysis {"connection_id":151573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:39:05] local.INFO: Extracted packet for processing {"connection_id":151573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307134976001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786356297000,"timestamp_ms":1786356297000,"timestamp_seconds":1786356297,"priority":1,"record_length":96,"hex_timestamp":"0000019feb21ed28"} 
[2026-08-10 15:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307134976001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307134976001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:39:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:39:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307134976001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":151573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:39:05] local.INFO: GPS data processed {"connection_id":151573,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:39:05] local.INFO: Acknowledgment sent {"connection_id":151573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:39:07] local.INFO: TCP Data received {"connection_id":152895,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:39:07] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:39:07] local.INFO: IMEI packet received {"connection_id":152895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":152895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:39:12] local.INFO: TCP Data received {"connection_id":152895,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:39:12] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:39:12] local.INFO: IMEI packet received {"connection_id":152895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":152895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:39:13] local.INFO: TCP Data received {"connection_id":152895,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2446b8012d7a0e0005ec7f28000a00f820..."} 
[2026-08-10 15:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2446b8012d7a0e0005ec7f28000a00f820..."} 
[2026-08-10 15:39:13] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2446b8012d7a0e0005ec7f28000a00f820..."} 
[2026-08-10 15:39:13] local.INFO: Packet analysis {"connection_id":152895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb24"} 
[2026-08-10 15:39:13] local.INFO: Extracted packet for processing {"connection_id":152895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb24"} 
[2026-08-10 15:39:13] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":32,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307249664001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786356451000,"timestamp_ms":1786356451000,"timestamp_seconds":1786356451,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2446b8"} 
[2026-08-10 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-08-10 15:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307249664001,"66":2416,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8794967147743750144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-10 15:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307249664001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:39:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:39:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-08-10 15:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307249664001,"power":2416,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-08-10 15:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":152895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:39:13] local.INFO: GPS data processed {"connection_id":152895,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:39:13] local.INFO: Acknowledgment sent {"connection_id":152895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:39:18] local.INFO: TCP Data received {"connection_id":154342,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb255440012d0b82400703c1b800a6009008..."} 
[2026-08-10 15:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb255440012d0b82400703c1b800a6009008..."} 
[2026-08-10 15:39:18] local.INFO: Processing buffer {"connection_id":154342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb255440012d0b82400703c1b800a6009008..."} 
[2026-08-10 15:39:18] local.INFO: Packet analysis {"connection_id":154342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb25"} 
[2026-08-10 15:39:18] local.INFO: Extracted packet for processing {"connection_id":154342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb25"} 
[2026-08-10 15:39:18] local.INFO: GPS Element Parsed {"raw_longitude":755728960,"raw_latitude":117686712,"longitude_deg":75.572896,"latitude_deg":11.7686712,"altitude":166,"angle":144,"satellites":8,"speed":13,"hex_longitude":"2d0b8240","hex_latitude":"0703c1b8","is_valid_coordinates":true} 
[2026-08-10 15:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307268608001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27406658762178560,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829014205284966400,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786356520000,"timestamp_ms":1786356520000,"timestamp_seconds":1786356520,"priority":1,"record_length":96,"hex_timestamp":"0000019feb255440"} 
[2026-08-10 15:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6977954992,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":96,"raw_value":51510350369000704,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3945062160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34816,"corrected_to":0} 
[2026-08-10 15:39:18] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":32769,"corrected_to":0} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504017810292736,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3985113265,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":861929678,"corrected_to":0} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3355520267,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2147943406,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84736474935133172,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,96,94,24,241,157,16,159,64,45,128,200,167,8,10,66,246,236,176,93,242,1,240,38,227,235,3,4,113,205,7,234,127,239,56,2,97,179,18,206,48],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":200,"original":34816,"validated":0},{"io_id":246,"original":32769,"validated":0},{"io_id":205,"original":861929678,"validated":0}]} 
[2026-08-10 15:39:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-6485009706215604224,"timestamp_seconds":-6485009706215604.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307268608001,"66":14450,"96":206,"94":10240,"24":13,"16":27406658762178560,"45":829014205284966400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 15:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307268608001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:39:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 15:39:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27406658762178560,"km_value":27406658762178.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":829014205284966400,"description":"Unknown IO ID 45"} 
[2026-08-10 15:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307268608001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":829014205284966400}} 
[2026-08-10 15:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":154342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620376,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:39:18] local.INFO: GPS data processed {"connection_id":154342,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:39:18] local.INFO: Acknowledgment sent {"connection_id":154342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:39:19] local.INFO: TCP Data received {"connection_id":151969,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb248150012d1ac180071f91b00034013225..."} 
[2026-08-10 15:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb248150012d1ac180071f91b00034013225..."} 
[2026-08-10 15:39:19] local.INFO: Processing buffer {"connection_id":151969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb248150012d1ac180071f91b00034013225..."} 
[2026-08-10 15:39:19] local.INFO: Packet analysis {"connection_id":151969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb24"} 
[2026-08-10 15:39:19] local.INFO: Extracted packet for processing {"connection_id":151969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb24"} 
[2026-08-10 15:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119509424,"longitude_deg":75.6728192,"latitude_deg":11.9509424,"altitude":52,"angle":306,"satellites":37,"speed":19,"hex_longitude":"2d1ac180","hex_latitude":"071f91b0","is_valid_coordinates":true} 
[2026-08-10 15:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307255040001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11454780857647104,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928385096039030784,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39: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-08-10 15:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786356466000,"timestamp_ms":1786356466000,"timestamp_seconds":1786356466,"priority":1,"record_length":96,"hex_timestamp":"0000019feb248150"} 
[2026-08-10 15:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 15:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307255040001,"66":14374,"101":206,"83":41984,"24":19,"16":11454780857647104,"45":1928385096039030784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307255040001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:39:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:39:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11454780857647104,"km_value":11454780857647.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928385096039030784,"description":"Unknown IO ID 45"} 
[2026-08-10 15:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307255040001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1928385096039030784}} 
[2026-08-10 15:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":151969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:39:19] local.INFO: GPS data processed {"connection_id":151969,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:39:19] local.INFO: Acknowledgment sent {"connection_id":151969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:39:37] local.INFO: TCP Data received {"connection_id":151573,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:39:37] local.INFO: Processing buffer {"connection_id":151573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:39:37] local.INFO: Packet analysis {"connection_id":151573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:39:37] local.INFO: Extracted packet for processing {"connection_id":151573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307134976001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786356297000,"timestamp_ms":1786356297000,"timestamp_seconds":1786356297,"priority":1,"record_length":96,"hex_timestamp":"0000019feb21ed28"} 
[2026-08-10 15:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:39: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-08-10 15:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307134976001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307134976001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:39:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307134976001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":151573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:39:37] local.INFO: GPS data processed {"connection_id":151573,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:39:37] local.INFO: Acknowledgment sent {"connection_id":151573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:39:43] local.INFO: TCP Data received {"connection_id":154345,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:39:43] local.INFO: Processing buffer {"connection_id":154345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:39:43] local.INFO: IMEI packet received {"connection_id":154345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":154345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:39:47] local.INFO: TCP Data received {"connection_id":154345,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:39:47] local.INFO: Processing buffer {"connection_id":154345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:39:47] local.INFO: IMEI packet received {"connection_id":154345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":154345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:39:48] local.INFO: TCP Data received {"connection_id":154345,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb254888012d1a1f40071ff0e8002f011f23..."} 
[2026-08-10 15:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb254888012d1a1f40071ff0e8002f011f23..."} 
[2026-08-10 15:39:48] local.INFO: Processing buffer {"connection_id":154345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb254888012d1a1f40071ff0e8002f011f23..."} 
[2026-08-10 15:39:48] local.INFO: Packet analysis {"connection_id":154345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb25"} 
[2026-08-10 15:39:48] local.INFO: Extracted packet for processing {"connection_id":154345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb25"} 
[2026-08-10 15:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119533800,"longitude_deg":75.6686656,"latitude_deg":11.95338,"altitude":47,"angle":287,"satellites":35,"speed":40,"hex_longitude":"2d1a1f40","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-08-10 15:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307265792001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11457194629267456,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892919248979181568,"note":"Value kept but may cause issues"} 
[2026-08-10 15:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786356517000,"timestamp_ms":1786356517000,"timestamp_seconds":1786356517,"priority":1,"record_length":96,"hex_timestamp":"0000019feb254888"} 
[2026-08-10 15:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:39: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-08-10 15: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":114,"data_length":795,"current_offset":136} 
[2026-08-10 15:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307265792001,"66":14428,"101":206,"83":41984,"24":40,"16":11457194629267456,"45":1892919248979181568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307265792001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:39:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11457194629267456,"km_value":11457194629267.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892919248979181568,"description":"Unknown IO ID 45"} 
[2026-08-10 15:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307265792001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1892919248979181568}} 
[2026-08-10 15:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":154345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:39:48] local.INFO: GPS data processed {"connection_id":154345,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:39:48] local.INFO: Acknowledgment sent {"connection_id":154345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:39:58] local.INFO: TCP Data received {"connection_id":151970,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:39:58] local.INFO: Processing buffer {"connection_id":151970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:39:58] local.INFO: IMEI packet received {"connection_id":151970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":151970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:40:03] local.INFO: TCP Data received {"connection_id":154342,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb263ab8012d0b67000703a510008b011c09..."} 
[2026-08-10 15:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb263ab8012d0b67000703a510008b011c09..."} 
[2026-08-10 15:40:03] local.INFO: Processing buffer {"connection_id":154342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb263ab8012d0b67000703a510008b011c09..."} 
[2026-08-10 15:40:03] local.INFO: Packet analysis {"connection_id":154342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:40:03] local.INFO: Extracted packet for processing {"connection_id":154342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":755721984,"raw_latitude":117679376,"longitude_deg":75.5721984,"latitude_deg":11.7679376,"altitude":139,"angle":284,"satellites":9,"speed":18,"hex_longitude":"2d0b6700","hex_latitude":"0703a510","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307283456001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27407534935506944,"note":"Value kept but may cause issues"} 
[2026-08-10 15:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822962493283624960,"note":"Value kept but may cause issues"} 
[2026-08-10 15:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786356579000,"timestamp_ms":1786356579000,"timestamp_seconds":1786356579,"priority":1,"record_length":96,"hex_timestamp":"0000019feb263ab8"} 
[2026-08-10 15:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 15:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307283456001,"66":14428,"37":206,"94":11008,"24":18,"16":27407534935506944,"45":822962493283624960},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 15:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307283456001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:40:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 15:40:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 15:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27407534935506944,"km_value":27407534935506.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":822962493283624960,"description":"Unknown IO ID 45"} 
[2026-08-10 15:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307283456001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":822962493283624960}} 
[2026-08-10 15:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":154342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620380,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:40:03] local.INFO: GPS data processed {"connection_id":154342,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:40:03] local.INFO: Acknowledgment sent {"connection_id":154342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:40:04] local.INFO: TCP Data received {"connection_id":151970,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:40:04] local.INFO: Processing buffer {"connection_id":151970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:40:04] local.INFO: IMEI packet received {"connection_id":151970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":151970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:40:18] local.INFO: TCP Data received {"connection_id":151970,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:40:18] local.INFO: Processing buffer {"connection_id":151970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb21ed28012d342a4006abc280001701021f..."} 
[2026-08-10 15:40:18] local.INFO: Packet analysis {"connection_id":151970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:40:18] local.INFO: Extracted packet for processing {"connection_id":151970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb21"} 
[2026-08-10 15:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307134976001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786356297000,"timestamp_ms":1786356297000,"timestamp_seconds":1786356297,"priority":1,"record_length":96,"hex_timestamp":"0000019feb21ed28"} 
[2026-08-10 15:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307134976001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307134976001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:40:18] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307134976001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":151970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:40:18] local.INFO: GPS data processed {"connection_id":151970,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:40:18] local.INFO: Acknowledgment sent {"connection_id":151970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:40:19] local.INFO: TCP Data received {"connection_id":154345,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb256bb0012d19fac0071ffc30002e011826..."} 
[2026-08-10 15:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb256bb0012d19fac0071ffc30002e011826..."} 
[2026-08-10 15:40:19] local.INFO: Processing buffer {"connection_id":154345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb256bb0012d19fac0071ffc30002e011826..."} 
[2026-08-10 15:40:19] local.INFO: Packet analysis {"connection_id":154345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb25"} 
[2026-08-10 15:40:19] local.INFO: Extracted packet for processing {"connection_id":154345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb25"} 
[2026-08-10 15:40:19] local.INFO: GPS Element Parsed {"raw_longitude":756677312,"raw_latitude":119536688,"longitude_deg":75.6677312,"latitude_deg":11.9536688,"altitude":46,"angle":280,"satellites":38,"speed":39,"hex_longitude":"2d19fac0","hex_latitude":"071ffc30","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307268352001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11457658485735424,"note":"Value kept but may cause issues"} 
[2026-08-10 15:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568608987136,"note":"Value kept but may cause issues"} 
[2026-08-10 15:40: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-08-10 15:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786356526000,"timestamp_ms":1786356526000,"timestamp_seconds":1786356526,"priority":1,"record_length":96,"hex_timestamp":"0000019feb256bb0"} 
[2026-08-10 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-08-10 15:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 15:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307268352001,"66":14374,"101":206,"83":41984,"24":39,"16":11457658485735424,"45":1882293568608987136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 15:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307268352001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:40:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 15:40:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 15:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11457658485735424,"km_value":11457658485735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568608987136,"description":"Unknown IO ID 45"} 
[2026-08-10 15:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307268352001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1882293568608987136}} 
[2026-08-10 15:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":154345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:40:19] local.INFO: GPS data processed {"connection_id":154345,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:40:19] local.INFO: Acknowledgment sent {"connection_id":154345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:40:37] local.INFO: TCP Data received {"connection_id":151971,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:40:37] local.INFO: Processing buffer {"connection_id":151971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:40:37] local.INFO: IMEI packet received {"connection_id":151971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":151971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:40:42] local.INFO: TCP Data received {"connection_id":154346,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:40:42] local.INFO: Processing buffer {"connection_id":154346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:40:42] local.INFO: IMEI packet received {"connection_id":154346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":154346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:40:42] local.INFO: TCP Data received {"connection_id":154346,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:40:42] local.INFO: Processing buffer {"connection_id":154346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:40:42] local.INFO: IMEI packet received {"connection_id":154346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":154346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:40:43] local.INFO: TCP Data received {"connection_id":151971,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:40:43] local.INFO: Processing buffer {"connection_id":151971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:40:43] local.INFO: IMEI packet received {"connection_id":151971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":151971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:40:43] local.INFO: TCP Data received {"connection_id":154346,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:40:43] local.INFO: Processing buffer {"connection_id":154346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:40:43] local.INFO: IMEI packet received {"connection_id":154346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":154346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:40:43] local.INFO: TCP Data received {"connection_id":151971,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb26a048012d0b41c00703a7d0007b00a409..."} 
[2026-08-10 15:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb26a048012d0b41c00703a7d0007b00a409..."} 
[2026-08-10 15:40:43] local.INFO: Processing buffer {"connection_id":151971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb26a048012d0b41c00703a7d0007b00a409..."} 
[2026-08-10 15:40:43] local.INFO: Packet analysis {"connection_id":151971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:40:43] local.INFO: Extracted packet for processing {"connection_id":151971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:40:43] local.INFO: GPS Element Parsed {"raw_longitude":755712448,"raw_latitude":117680080,"longitude_deg":75.5712448,"latitude_deg":11.768008,"altitude":123,"angle":164,"satellites":9,"speed":15,"hex_longitude":"2d0b41c0","hex_latitude":"0703a7d0","is_valid_coordinates":true} 
[2026-08-10 15:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307290112001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27408114756091904,"note":"Value kept but may cause issues"} 
[2026-08-10 15:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810929438029754368,"note":"Value kept but may cause issues"} 
[2026-08-10 15:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786356605000,"timestamp_ms":1786356605000,"timestamp_seconds":1786356605,"priority":1,"record_length":96,"hex_timestamp":"0000019feb26a048"} 
[2026-08-10 15:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:40: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-08-10 15:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-10 15:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307290112001,"66":13722,"96":206,"94":10240,"24":15,"16":27408114756091904,"45":810929438029754368},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 15:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307290112001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:40:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 15:40:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27408114756091904,"km_value":27408114756091.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":810929438029754368,"description":"Unknown IO ID 45"} 
[2026-08-10 15:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307290112001,"power":13722,"unknown_96":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":810929438029754368}} 
[2026-08-10 15:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":151971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620383,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:40:44] local.INFO: GPS data processed {"connection_id":151971,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:40:44] local.INFO: Acknowledgment sent {"connection_id":151971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:40:44] local.INFO: TCP Data received {"connection_id":154346,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:40:44] local.INFO: Processing buffer {"connection_id":154346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:40:44] local.INFO: IMEI packet received {"connection_id":154346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":154346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:41:08] local.INFO: TCP Data received {"connection_id":151574,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:41:08] local.INFO: Processing buffer {"connection_id":151574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:41:08] local.INFO: IMEI packet received {"connection_id":151574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":151574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:41:14] local.INFO: TCP Data received {"connection_id":151574,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:41:14] local.INFO: Processing buffer {"connection_id":151574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:41:14] local.INFO: IMEI packet received {"connection_id":151574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":151574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:41:14] local.INFO: TCP Data received {"connection_id":151574,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:41:14] local.INFO: Processing buffer {"connection_id":151574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:41:14] local.INFO: Packet analysis {"connection_id":151574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:41:14] local.INFO: Extracted packet for processing {"connection_id":151574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307212032001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786356597000,"timestamp_ms":1786356597000,"timestamp_seconds":1786356597,"priority":1,"record_length":96,"hex_timestamp":"0000019feb268108"} 
[2026-08-10 15:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307212032001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307212032001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:41:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307212032001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":151574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:41:14] local.INFO: GPS data processed {"connection_id":151574,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:41:14] local.INFO: Acknowledgment sent {"connection_id":151574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:41:16] local.INFO: TCP Data received {"connection_id":151971,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2786c0012d0b3f00070351f8005d005a09..."} 
[2026-08-10 15:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2786c0012d0b3f00070351f8005d005a09..."} 
[2026-08-10 15:41:16] local.INFO: Processing buffer {"connection_id":151971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2786c0012d0b3f00070351f8005d005a09..."} 
[2026-08-10 15:41:16] local.INFO: Packet analysis {"connection_id":151971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb27"} 
[2026-08-10 15:41:16] local.INFO: Extracted packet for processing {"connection_id":151971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb27"} 
[2026-08-10 15:41:16] local.INFO: GPS Element Parsed {"raw_longitude":755711744,"raw_latitude":117658104,"longitude_deg":75.5711744,"latitude_deg":11.7658104,"altitude":93,"angle":90,"satellites":9,"speed":16,"hex_longitude":"2d0b3f00","hex_latitude":"070351f8","is_valid_coordinates":true} 
[2026-08-10 15:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307305472001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27409643764449280,"note":"Value kept but may cause issues"} 
[2026-08-10 15:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809170219419451392,"note":"Value kept but may cause issues"} 
[2026-08-10 15:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786356664000,"timestamp_ms":1786356664000,"timestamp_seconds":1786356664,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2786c0"} 
[2026-08-10 15:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 15:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307305472001,"66":14450,"17":206,"94":11008,"24":16,"16":27409643764449280,"45":809170219419451392},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 15:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307305472001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:41:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 15:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27409643764449280,"km_value":27409643764449.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":809170219419451392,"description":"Unknown IO ID 45"} 
[2026-08-10 15:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307305472001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":809170219419451392}} 
[2026-08-10 15:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":151971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620385,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:41:17] local.INFO: GPS data processed {"connection_id":151971,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:41:17] local.INFO: Acknowledgment sent {"connection_id":151971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:41:48] local.INFO: TCP Data received {"connection_id":151971,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb278aa8012d0b40c007035260005d004c09..."} 
[2026-08-10 15:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb278aa8012d0b40c007035260005d004c09..."} 
[2026-08-10 15:41:48] local.INFO: Processing buffer {"connection_id":151971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb278aa8012d0b40c007035260005d004c09..."} 
[2026-08-10 15:41:48] local.INFO: Packet analysis {"connection_id":151971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb27"} 
[2026-08-10 15:41:48] local.INFO: Extracted packet for processing {"connection_id":151971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb27"} 
[2026-08-10 15:41:48] local.INFO: GPS Element Parsed {"raw_longitude":755712192,"raw_latitude":117658208,"longitude_deg":75.5712192,"latitude_deg":11.7658208,"altitude":93,"angle":76,"satellites":9,"speed":15,"hex_longitude":"2d0b40c0","hex_latitude":"07035260","is_valid_coordinates":true} 
[2026-08-10 15:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307305984001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27409669534253056,"note":"Value kept but may cause issues"} 
[2026-08-10 15:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810366488070453248,"note":"Value kept but may cause issues"} 
[2026-08-10 15:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786356665000,"timestamp_ms":1786356665000,"timestamp_seconds":1786356665,"priority":1,"record_length":96,"hex_timestamp":"0000019feb278aa8"} 
[2026-08-10 15:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:41: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-08-10 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 15:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307305984001,"66":14548,"17":206,"94":11008,"24":15,"16":27409669534253056,"45":810366488070453248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 15:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307305984001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:41:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 15:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27409669534253056,"km_value":27409669534253.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":810366488070453248,"description":"Unknown IO ID 45"} 
[2026-08-10 15:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307305984001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":810366488070453248}} 
[2026-08-10 15:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":151971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620386,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:41:48] local.INFO: GPS data processed {"connection_id":151971,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:41:48] local.INFO: Acknowledgment sent {"connection_id":151971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:41:58] local.INFO: TCP Data received {"connection_id":151972,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:41:58] local.INFO: Processing buffer {"connection_id":151972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:41:58] local.INFO: IMEI packet received {"connection_id":151972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":151972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:42:05] local.INFO: TCP Data received {"connection_id":151972,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:42:05] local.INFO: Processing buffer {"connection_id":151972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:42:05] local.INFO: IMEI packet received {"connection_id":151972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":151972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:42:05] local.INFO: TCP Data received {"connection_id":151972,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:42:05] local.INFO: Processing buffer {"connection_id":151972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:42:05] local.INFO: Packet analysis {"connection_id":151972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:42:05] local.INFO: Extracted packet for processing {"connection_id":151972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307212032001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786356597000,"timestamp_ms":1786356597000,"timestamp_seconds":1786356597,"priority":1,"record_length":96,"hex_timestamp":"0000019feb268108"} 
[2026-08-10 15:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307212032001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307212032001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:42:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307212032001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":151972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:42:05] local.INFO: GPS data processed {"connection_id":151972,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:42:05] local.INFO: Acknowledgment sent {"connection_id":151972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:42:33] local.INFO: TCP Data received {"connection_id":154347,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:42:33] local.INFO: Processing buffer {"connection_id":154347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:42:33] local.INFO: IMEI packet received {"connection_id":154347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":154347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:42:33] local.INFO: TCP Data received {"connection_id":154347,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:42:33] local.INFO: Processing buffer {"connection_id":154347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:42:33] local.INFO: IMEI packet received {"connection_id":154347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":154347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:42:34] local.INFO: TCP Data received {"connection_id":154347,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:42:34] local.INFO: Processing buffer {"connection_id":154347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:42:34] local.INFO: IMEI packet received {"connection_id":154347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":154347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:42:34] local.INFO: TCP Data received {"connection_id":154347,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:42:34] local.INFO: Processing buffer {"connection_id":154347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:42:34] local.INFO: IMEI packet received {"connection_id":154347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":154347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:42:37] local.INFO: TCP Data received {"connection_id":151972,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:42:37] local.INFO: Processing buffer {"connection_id":151972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:42:37] local.INFO: Packet analysis {"connection_id":151972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:42:37] local.INFO: Extracted packet for processing {"connection_id":151972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307212032001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786356597000,"timestamp_ms":1786356597000,"timestamp_seconds":1786356597,"priority":1,"record_length":96,"hex_timestamp":"0000019feb268108"} 
[2026-08-10 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-08-10 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:42: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-08-10 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-08-10 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-08-10 15:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307212032001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307212032001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:42:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307212032001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":151972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:42:37] local.INFO: GPS data processed {"connection_id":151972,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:42:37] local.INFO: Acknowledgment sent {"connection_id":151972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:42:58] local.INFO: TCP Data received {"connection_id":152897,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:42:58] local.INFO: Processing buffer {"connection_id":152897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:42:58] local.INFO: IMEI packet received {"connection_id":152897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":152897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:43:04] local.INFO: TCP Data received {"connection_id":152897,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:43:04] local.INFO: Processing buffer {"connection_id":152897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:43:04] local.INFO: IMEI packet received {"connection_id":152897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":152897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:43:04] local.INFO: TCP Data received {"connection_id":152897,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:43:05] local.INFO: Processing buffer {"connection_id":152897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:43:05] local.INFO: Packet analysis {"connection_id":152897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:43:05] local.INFO: Extracted packet for processing {"connection_id":152897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307212032001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786356597000,"timestamp_ms":1786356597000,"timestamp_seconds":1786356597,"priority":1,"record_length":96,"hex_timestamp":"0000019feb268108"} 
[2026-08-10 15:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307212032001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307212032001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:43:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307212032001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":152897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:43:05] local.INFO: GPS data processed {"connection_id":152897,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:43:05] local.INFO: Acknowledgment sent {"connection_id":152897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:43:36] local.INFO: TCP Data received {"connection_id":152897,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:43:36] local.INFO: Processing buffer {"connection_id":152897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:43:36] local.INFO: Packet analysis {"connection_id":152897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:43:36] local.INFO: Extracted packet for processing {"connection_id":152897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307212032001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786356597000,"timestamp_ms":1786356597000,"timestamp_seconds":1786356597,"priority":1,"record_length":96,"hex_timestamp":"0000019feb268108"} 
[2026-08-10 15:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307212032001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307212032001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:43:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307212032001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":152897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:43:36] local.INFO: GPS data processed {"connection_id":152897,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:43:36] local.INFO: Acknowledgment sent {"connection_id":152897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:44:04] local.INFO: TCP Data received {"connection_id":154349,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:44:04] local.INFO: Processing buffer {"connection_id":154349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:44:04] local.INFO: IMEI packet received {"connection_id":154349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":154349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:44:09] local.INFO: TCP Data received {"connection_id":154349,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:44:09] local.INFO: Processing buffer {"connection_id":154349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:44:09] local.INFO: IMEI packet received {"connection_id":154349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":154349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:44:10] local.INFO: TCP Data received {"connection_id":154349,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:44:10] local.INFO: Processing buffer {"connection_id":154349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:44:10] local.INFO: Packet analysis {"connection_id":154349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:44:10] local.INFO: Extracted packet for processing {"connection_id":154349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307212032001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786356597000,"timestamp_ms":1786356597000,"timestamp_seconds":1786356597,"priority":1,"record_length":96,"hex_timestamp":"0000019feb268108"} 
[2026-08-10 15:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:44: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-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307212032001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307212032001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:44:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307212032001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":154349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:44:10] local.INFO: GPS data processed {"connection_id":154349,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:44:10] local.INFO: Acknowledgment sent {"connection_id":154349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:44:14] local.INFO: TCP Data received {"connection_id":154349,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:44:14] local.INFO: Processing buffer {"connection_id":154349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:44:14] local.INFO: Packet analysis {"connection_id":154349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:44:14] local.INFO: Extracted packet for processing {"connection_id":154349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307212032001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786356597000,"timestamp_ms":1786356597000,"timestamp_seconds":1786356597,"priority":1,"record_length":96,"hex_timestamp":"0000019feb268108"} 
[2026-08-10 15:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307212032001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307212032001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:44:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307212032001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":154349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:44:14] local.INFO: GPS data processed {"connection_id":154349,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:44:14] local.INFO: Acknowledgment sent {"connection_id":154349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:44:59] local.INFO: TCP Data received {"connection_id":151578,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:44:59] local.INFO: Processing buffer {"connection_id":151578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:44:59] local.INFO: IMEI packet received {"connection_id":151578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":151578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:45:03] local.INFO: TCP Data received {"connection_id":151578,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:45:04] local.INFO: Processing buffer {"connection_id":151578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:45:04] local.INFO: IMEI packet received {"connection_id":151578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":151578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:45:04] local.INFO: TCP Data received {"connection_id":151578,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:45:04] local.INFO: Processing buffer {"connection_id":151578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:45:04] local.INFO: Packet analysis {"connection_id":151578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:45:04] local.INFO: Extracted packet for processing {"connection_id":151578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307212032001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786356597000,"timestamp_ms":1786356597000,"timestamp_seconds":1786356597,"priority":1,"record_length":96,"hex_timestamp":"0000019feb268108"} 
[2026-08-10 15:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:45: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-08-10 15:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:45: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-08-10 15:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307212032001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307212032001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:45:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307212032001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":151578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:45:04] local.INFO: GPS data processed {"connection_id":151578,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:45:04] local.INFO: Acknowledgment sent {"connection_id":151578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:45:40] local.INFO: TCP Data received {"connection_id":151578,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:45:40] local.INFO: Processing buffer {"connection_id":151578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb268108012d342a4006abc280001701021d..."} 
[2026-08-10 15:45:40] local.INFO: Packet analysis {"connection_id":151578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:45:40] local.INFO: Extracted packet for processing {"connection_id":151578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb26"} 
[2026-08-10 15:45:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307212032001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786356597000,"timestamp_ms":1786356597000,"timestamp_seconds":1786356597,"priority":1,"record_length":96,"hex_timestamp":"0000019feb268108"} 
[2026-08-10 15:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307212032001,"66":25299,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307212032001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:45:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:45:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307212032001,"power":25299,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":151578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:45:40] local.INFO: GPS data processed {"connection_id":151578,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:45:40] local.INFO: Acknowledgment sent {"connection_id":151578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:45:48] local.INFO: TCP Data received {"connection_id":151973,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:45:48] local.INFO: Processing buffer {"connection_id":151973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:45:48] local.INFO: IMEI packet received {"connection_id":151973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":151973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:45:52] local.INFO: TCP Data received {"connection_id":151973,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:45:52] local.INFO: Processing buffer {"connection_id":151973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:45:52] local.INFO: IMEI packet received {"connection_id":151973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":151973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:45:52] local.INFO: TCP Data received {"connection_id":151973,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:45:52] local.INFO: Processing buffer {"connection_id":151973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:45:52] local.INFO: IMEI packet received {"connection_id":151973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":151973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:45:59] local.INFO: TCP Data received {"connection_id":152899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:45:59] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:45:59] local.INFO: IMEI packet received {"connection_id":152899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":152899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:46:04] local.INFO: TCP Data received {"connection_id":152899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:46:04] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:46:04] local.INFO: IMEI packet received {"connection_id":152899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":152899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:46:04] local.INFO: TCP Data received {"connection_id":152899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:46:04] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:46:04] local.INFO: Packet analysis {"connection_id":152899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:46:04] local.INFO: Extracted packet for processing {"connection_id":152899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307288832001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786356898000,"timestamp_ms":1786356898000,"timestamp_seconds":1786356898,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2b18d0"} 
[2026-08-10 15:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:46: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-08-10 15:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:46: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-08-10 15:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307288832001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307288832001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:46:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307288832001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":152899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:46:04] local.INFO: GPS data processed {"connection_id":152899,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:46:04] local.INFO: Acknowledgment sent {"connection_id":152899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:46:14] local.INFO: TCP Data received {"connection_id":151973,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:46:14] local.INFO: Processing buffer {"connection_id":151973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:46:14] local.INFO: IMEI packet received {"connection_id":151973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":151973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:46:36] local.INFO: TCP Data received {"connection_id":152899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:46:36] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:46:36] local.INFO: Packet analysis {"connection_id":152899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:46:36] local.INFO: Extracted packet for processing {"connection_id":152899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307288832001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786356898000,"timestamp_ms":1786356898000,"timestamp_seconds":1786356898,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2b18d0"} 
[2026-08-10 15:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15: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-08-10 15:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307288832001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307288832001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:46:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307288832001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":152899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:46:36] local.INFO: GPS data processed {"connection_id":152899,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:46:36] local.INFO: Acknowledgment sent {"connection_id":152899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:46:58] local.INFO: TCP Data received {"connection_id":151975,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:46:58] local.INFO: Processing buffer {"connection_id":151975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:46:58] local.INFO: IMEI packet received {"connection_id":151975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":151975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:47:03] local.INFO: TCP Data received {"connection_id":151975,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:47:03] local.INFO: Processing buffer {"connection_id":151975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:47:03] local.INFO: IMEI packet received {"connection_id":151975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":151975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:47:06] local.INFO: TCP Data received {"connection_id":151975,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:47:06] local.INFO: Processing buffer {"connection_id":151975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:47:06] local.INFO: Packet analysis {"connection_id":151975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:47:06] local.INFO: Extracted packet for processing {"connection_id":151975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307288832001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786356898000,"timestamp_ms":1786356898000,"timestamp_seconds":1786356898,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2b18d0"} 
[2026-08-10 15:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:47: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-08-10 15:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307288832001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307288832001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:47:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307288832001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":151975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:47:06] local.INFO: GPS data processed {"connection_id":151975,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:47:06] local.INFO: Acknowledgment sent {"connection_id":151975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:47:09] local.INFO: TCP Data received {"connection_id":151975,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:47:09] local.INFO: Processing buffer {"connection_id":151975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:47:09] local.INFO: Packet analysis {"connection_id":151975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:47:09] local.INFO: Extracted packet for processing {"connection_id":151975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307288832001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786356898000,"timestamp_ms":1786356898000,"timestamp_seconds":1786356898,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2b18d0"} 
[2026-08-10 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-08-10 15:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307288832001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307288832001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:47:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307288832001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":151975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:47:09] local.INFO: GPS data processed {"connection_id":151975,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:47:09] local.INFO: Acknowledgment sent {"connection_id":151975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:47:38] local.INFO: TCP Data received {"connection_id":151976,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:47:38] local.INFO: Processing buffer {"connection_id":151976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:47:38] local.INFO: IMEI packet received {"connection_id":151976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":151976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:47:38] local.INFO: TCP Data received {"connection_id":151976,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2ce9a8012d0c374007035c000036000810..."} 
[2026-08-10 15:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2ce9a8012d0c374007035c000036000810..."} 
[2026-08-10 15:47:38] local.INFO: Processing buffer {"connection_id":151976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2ce9a8012d0c374007035c000036000810..."} 
[2026-08-10 15:47:38] local.INFO: Packet analysis {"connection_id":151976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2c"} 
[2026-08-10 15:47:38] local.INFO: Extracted packet for processing {"connection_id":151976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2c"} 
[2026-08-10 15:47:38] local.INFO: GPS Element Parsed {"raw_longitude":755775296,"raw_latitude":117660672,"longitude_deg":75.5775296,"latitude_deg":11.7660672,"altitude":54,"angle":8,"satellites":16,"speed":9,"hex_longitude":"2d0c3740","hex_latitude":"07035c00","is_valid_coordinates":true} 
[2026-08-10 15:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307396096001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27413410450767872,"note":"Value kept but may cause issues"} 
[2026-08-10 15:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880101913551110144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786357017000,"timestamp_ms":1786357017000,"timestamp_seconds":1786357017,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2ce9a8"} 
[2026-08-10 15:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 15:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307396096001,"66":14559,"37":206,"94":11008,"24":9,"16":27413410450767872,"45":880101913551110144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 15:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307396096001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:47:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 15:47:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 15:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27413410450767872,"km_value":27413410450767.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":880101913551110144,"description":"Unknown IO ID 45"} 
[2026-08-10 15:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307396096001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":880101913551110144}} 
[2026-08-10 15:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":151976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620399,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:47:38] local.INFO: GPS data processed {"connection_id":151976,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:47:38] local.INFO: Acknowledgment sent {"connection_id":151976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:47:41] local.INFO: TCP Data received {"connection_id":151975,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:47:41] local.INFO: Processing buffer {"connection_id":151975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:47:41] local.INFO: Packet analysis {"connection_id":151975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:47:41] local.INFO: Extracted packet for processing {"connection_id":151975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307288832001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786356898000,"timestamp_ms":1786356898000,"timestamp_seconds":1786356898,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2b18d0"} 
[2026-08-10 15:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307288832001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307288832001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:47:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:47:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307288832001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":151975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:47:41] local.INFO: GPS data processed {"connection_id":151975,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:47:41] local.INFO: Acknowledgment sent {"connection_id":151975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:48:04] local.INFO: TCP Data received {"connection_id":151579,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:48:04] local.INFO: Processing buffer {"connection_id":151579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:48:04] local.INFO: IMEI packet received {"connection_id":151579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":151579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:48:09] local.INFO: TCP Data received {"connection_id":151579,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:48:09] local.INFO: Processing buffer {"connection_id":151579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:48:09] local.INFO: IMEI packet received {"connection_id":151579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":151579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:48:10] local.INFO: TCP Data received {"connection_id":151579,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:48:10] local.INFO: Processing buffer {"connection_id":151579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:48:10] local.INFO: Packet analysis {"connection_id":151579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:48:10] local.INFO: Extracted packet for processing {"connection_id":151579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307288832001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786356898000,"timestamp_ms":1786356898000,"timestamp_seconds":1786356898,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2b18d0"} 
[2026-08-10 15:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:48: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-08-10 15:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307288832001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307288832001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:48:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307288832001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":151579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:48:10] local.INFO: GPS data processed {"connection_id":151579,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:48:10] local.INFO: Acknowledgment sent {"connection_id":151579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:48:11] local.INFO: TCP Data received {"connection_id":151976,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2cf948012d0c3840070360d80036002610..."} 
[2026-08-10 15:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2cf948012d0c3840070360d80036002610..."} 
[2026-08-10 15:48:11] local.INFO: Processing buffer {"connection_id":151976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2cf948012d0c3840070360d80036002610..."} 
[2026-08-10 15:48:11] local.INFO: Packet analysis {"connection_id":151976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2c"} 
[2026-08-10 15:48:11] local.INFO: Extracted packet for processing {"connection_id":151976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2c"} 
[2026-08-10 15:48:11] local.INFO: GPS Element Parsed {"raw_longitude":755775552,"raw_latitude":117661912,"longitude_deg":75.5775552,"latitude_deg":11.7661912,"altitude":54,"angle":38,"satellites":16,"speed":10,"hex_longitude":"2d0c3840","hex_latitude":"070360d8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307396352001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27413474875277312,"note":"Value kept but may cause issues"} 
[2026-08-10 15:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880242651039531008,"note":"Value kept but may cause issues"} 
[2026-08-10 15:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786357021000,"timestamp_ms":1786357021000,"timestamp_seconds":1786357021,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2cf948"} 
[2026-08-10 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-08-10 15:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 15:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307396352001,"66":14537,"37":206,"94":11008,"24":10,"16":27413474875277312,"45":880242651039531008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-10 15:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307396352001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:48:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 15:48:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 15:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27413474875277312,"km_value":27413474875277.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":880242651039531008,"description":"Unknown IO ID 45"} 
[2026-08-10 15:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307396352001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":880242651039531008}} 
[2026-08-10 15:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":151976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620402,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:48:11] local.INFO: GPS data processed {"connection_id":151976,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:48:11] local.INFO: Acknowledgment sent {"connection_id":151976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:48:14] local.INFO: TCP Data received {"connection_id":151579,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:48:14] local.INFO: Processing buffer {"connection_id":151579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:48:14] local.INFO: Packet analysis {"connection_id":151579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:48:14] local.INFO: Extracted packet for processing {"connection_id":151579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:48:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307288832001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786356898000,"timestamp_ms":1786356898000,"timestamp_seconds":1786356898,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2b18d0"} 
[2026-08-10 15:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307288832001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307288832001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:48:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:48:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307288832001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":151579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:48:14] local.INFO: GPS data processed {"connection_id":151579,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:48:14] local.INFO: Acknowledgment sent {"connection_id":151579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:48:32] local.INFO: TCP Data received {"connection_id":154352,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:48:32] local.INFO: Processing buffer {"connection_id":154352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:48:32] local.INFO: IMEI packet received {"connection_id":154352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":154352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:48:33] local.INFO: TCP Data received {"connection_id":154352,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:48:33] local.INFO: Processing buffer {"connection_id":154352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:48:33] local.INFO: IMEI packet received {"connection_id":154352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":154352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:48:36] local.INFO: TCP Data received {"connection_id":154352,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:48:36] local.INFO: Processing buffer {"connection_id":154352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:48:36] local.INFO: IMEI packet received {"connection_id":154352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":154352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:48:37] local.INFO: TCP Data received {"connection_id":154352,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2e1a58012d0c67c00703a2a80020000910..."} 
[2026-08-10 15:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2e1a58012d0c67c00703a2a80020000910..."} 
[2026-08-10 15:48:37] local.INFO: Processing buffer {"connection_id":154352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2e1a58012d0c67c00703a2a80020000910..."} 
[2026-08-10 15:48:37] local.INFO: Packet analysis {"connection_id":154352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2e"} 
[2026-08-10 15:48:37] local.INFO: Extracted packet for processing {"connection_id":154352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2e"} 
[2026-08-10 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":755787712,"raw_latitude":117678760,"longitude_deg":75.5787712,"latitude_deg":11.767876,"altitude":32,"angle":9,"satellites":16,"speed":11,"hex_longitude":"2d0c67c0","hex_latitude":"0703a2a8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307414016001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27414668876185600,"note":"Value kept but may cause issues"} 
[2026-08-10 15:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892979393739638784,"note":"Value kept but may cause issues"} 
[2026-08-10 15:48:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786357095000,"timestamp_ms":1786357095000,"timestamp_seconds":1786357095,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2e1a58"} 
[2026-08-10 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-08-10 15:48: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-08-10 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 15:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307414016001,"66":14559,"16":27414668876185600,"94":11008,"24":11,"45":892979393739638784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 15:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307414016001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27414668876185600,"km_value":27414668876185.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:48:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 15:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":892979393739638784,"description":"Unknown IO ID 45"} 
[2026-08-10 15:48:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457307414016001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":892979393739638784}} 
[2026-08-10 15:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":154352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620404,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:48:37] local.INFO: GPS data processed {"connection_id":154352,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:48:37] local.INFO: Acknowledgment sent {"connection_id":154352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:48:59] local.INFO: TCP Data received {"connection_id":154353,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:48:59] local.INFO: Processing buffer {"connection_id":154353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:48:59] local.INFO: IMEI packet received {"connection_id":154353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":154353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:49:04] local.INFO: TCP Data received {"connection_id":154353,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:49:04] local.INFO: Processing buffer {"connection_id":154353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:49:04] local.INFO: IMEI packet received {"connection_id":154353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":154353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:49:08] local.INFO: TCP Data received {"connection_id":154353,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:49:08] local.INFO: Processing buffer {"connection_id":154353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:49:08] local.INFO: Packet analysis {"connection_id":154353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:49:08] local.INFO: Extracted packet for processing {"connection_id":154353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307288832001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786356898000,"timestamp_ms":1786356898000,"timestamp_seconds":1786356898,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2b18d0"} 
[2026-08-10 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-08-10 15:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:49: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-08-10 15:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307288832001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307288832001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:49:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307288832001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":154353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:49:08] local.INFO: GPS data processed {"connection_id":154353,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:49:08] local.INFO: Acknowledgment sent {"connection_id":154353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:49:08] local.INFO: TCP Data received {"connection_id":154352,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2e5cc0012d0c6b000703c2600028016010..."} 
[2026-08-10 15:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2e5cc0012d0c6b000703c2600028016010..."} 
[2026-08-10 15:49:08] local.INFO: Processing buffer {"connection_id":154352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2e5cc0012d0c6b000703c2600028016010..."} 
[2026-08-10 15:49:08] local.INFO: Packet analysis {"connection_id":154352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2e"} 
[2026-08-10 15:49:08] local.INFO: Extracted packet for processing {"connection_id":154352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2e"} 
[2026-08-10 15:49:08] local.INFO: GPS Element Parsed {"raw_longitude":755788544,"raw_latitude":117686880,"longitude_deg":75.5788544,"latitude_deg":11.768688,"altitude":40,"angle":352,"satellites":16,"speed":15,"hex_longitude":"2d0c6b00","hex_latitude":"0703c260","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307416320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27415064013176832,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893894187414628352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786357112000,"timestamp_ms":1786357112000,"timestamp_seconds":1786357112,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2e5cc0"} 
[2026-08-10 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-08-10 15:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 15:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307416320001,"66":14439,"16":27415064013176832,"94":11008,"24":15,"45":893894187414628352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 15:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307416320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27415064013176832,"km_value":27415064013176.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:49:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 15:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":893894187414628352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:49:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457307416320001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":893894187414628352}} 
[2026-08-10 15:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":154352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620406,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:49:09] local.INFO: GPS data processed {"connection_id":154352,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:49:09] local.INFO: Acknowledgment sent {"connection_id":154352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:49:32] local.INFO: TCP Data received {"connection_id":151580,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151580,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:49:32] local.INFO: Processing buffer {"connection_id":151580,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:49:32] local.INFO: IMEI packet received {"connection_id":151580,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":151580,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:49:36] local.INFO: TCP Data received {"connection_id":151580,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151580,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:49:36] local.INFO: Processing buffer {"connection_id":151580,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:49:36] local.INFO: IMEI packet received {"connection_id":151580,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":151580,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:49:37] local.INFO: TCP Data received {"connection_id":151580,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151580,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:49:37] local.INFO: Processing buffer {"connection_id":151580,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:49:37] local.INFO: IMEI packet received {"connection_id":151580,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":151580,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:49:38] local.INFO: TCP Data received {"connection_id":151580,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2f1070012d0c53c00703e5980034001e10..."} 
[2026-08-10 15:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2f1070012d0c53c00703e5980034001e10..."} 
[2026-08-10 15:49:38] local.INFO: Processing buffer {"connection_id":151580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2f1070012d0c53c00703e5980034001e10..."} 
[2026-08-10 15:49:38] local.INFO: Packet analysis {"connection_id":151580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:49:38] local.INFO: Extracted packet for processing {"connection_id":151580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:49:38] local.INFO: GPS Element Parsed {"raw_longitude":755782592,"raw_latitude":117695896,"longitude_deg":75.5782592,"latitude_deg":11.7695896,"altitude":52,"angle":30,"satellites":16,"speed":10,"hex_longitude":"2d0c53c0","hex_latitude":"0703e598","is_valid_coordinates":true} 
[2026-08-10 15:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307432192001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27415755502911488,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888123950396393472,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786357158000,"timestamp_ms":1786357158000,"timestamp_seconds":1786357158,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2f1070"} 
[2026-08-10 15:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15: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-08-10 15: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":137,"data_length":795,"current_offset":136} 
[2026-08-10 15:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307432192001,"66":13961,"16":27415755502911488,"94":11008,"24":10,"45":888123950396393472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 15:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307432192001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27415755502911488,"km_value":27415755502911.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:49:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 15:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":888123950396393472,"description":"Unknown IO ID 45"} 
[2026-08-10 15:49:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457307432192001,"power":13961,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":888123950396393472}} 
[2026-08-10 15:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":151580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620407,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:49:38] local.INFO: GPS data processed {"connection_id":151580,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:49:38] local.INFO: Acknowledgment sent {"connection_id":151580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:49:40] local.INFO: TCP Data received {"connection_id":154353,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:49:40] local.INFO: Processing buffer {"connection_id":154353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:49:40] local.INFO: Packet analysis {"connection_id":154353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:49:40] local.INFO: Extracted packet for processing {"connection_id":154353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:49:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307288832001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786356898000,"timestamp_ms":1786356898000,"timestamp_seconds":1786356898,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2b18d0"} 
[2026-08-10 15:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307288832001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307288832001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:49:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:49:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307288832001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":154353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:49:40] local.INFO: GPS data processed {"connection_id":154353,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:49:40] local.INFO: Acknowledgment sent {"connection_id":154353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:49:43] local.INFO: TCP Data received {"connection_id":151580,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2f1458012d0c54800703e6780034002e10..."} 
[2026-08-10 15:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2f1458012d0c54800703e6780034002e10..."} 
[2026-08-10 15:49:43] local.INFO: Processing buffer {"connection_id":151580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2f1458012d0c54800703e6780034002e10..."} 
[2026-08-10 15:49:43] local.INFO: Packet analysis {"connection_id":151580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:49:43] local.INFO: Extracted packet for processing {"connection_id":151580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:49:43] local.INFO: GPS Element Parsed {"raw_longitude":755782784,"raw_latitude":117696120,"longitude_deg":75.5782784,"latitude_deg":11.769612,"altitude":52,"angle":46,"satellites":16,"speed":12,"hex_longitude":"2d0c5480","hex_latitude":"0703e678","is_valid_coordinates":true} 
[2026-08-10 15:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307432448001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27415768387813376,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888264687884802048,"note":"Value kept but may cause issues"} 
[2026-08-10 15:49:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786357159000,"timestamp_ms":1786357159000,"timestamp_seconds":1786357159,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2f1458"} 
[2026-08-10 15:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-10 15:49: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-08-10 15:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307432448001,"66":14309,"16":27415768387813376,"94":11008,"24":12,"45":888264687884802048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 15:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307432448001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27415768387813376,"km_value":27415768387813.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:49:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 15:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":888264687884802048,"description":"Unknown IO ID 45"} 
[2026-08-10 15:49:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457307432448001,"power":14309,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":888264687884802048}} 
[2026-08-10 15:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":151580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:49:43] local.INFO: GPS data processed {"connection_id":151580,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:49:43] local.INFO: Acknowledgment sent {"connection_id":151580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:50:02] local.INFO: TCP Data received {"connection_id":151977,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:50:02] local.INFO: Processing buffer {"connection_id":151977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:50:02] local.INFO: IMEI packet received {"connection_id":151977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":151977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:50:03] local.INFO: TCP Data received {"connection_id":151977,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:50:03] local.INFO: Processing buffer {"connection_id":151977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:50:03] local.INFO: IMEI packet received {"connection_id":151977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":151977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:50:05] local.INFO: TCP Data received {"connection_id":151977,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:50:05] local.INFO: Processing buffer {"connection_id":151977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:50:05] local.INFO: Packet analysis {"connection_id":151977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:50:05] local.INFO: Extracted packet for processing {"connection_id":151977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307288832001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786356898000,"timestamp_ms":1786356898000,"timestamp_seconds":1786356898,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2b18d0"} 
[2026-08-10 15:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307288832001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307288832001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:50:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307288832001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":151977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:50:05] local.INFO: GPS data processed {"connection_id":151977,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:50:05] local.INFO: Acknowledgment sent {"connection_id":151977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:50:09] local.INFO: TCP Data received {"connection_id":151977,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:50:09] local.INFO: Processing buffer {"connection_id":151977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2b18d0012d342a4006abc280001701021f..."} 
[2026-08-10 15:50:09] local.INFO: Packet analysis {"connection_id":151977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:50:09] local.INFO: Extracted packet for processing {"connection_id":151977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2b"} 
[2026-08-10 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307288832001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786356898000,"timestamp_ms":1786356898000,"timestamp_seconds":1786356898,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2b18d0"} 
[2026-08-10 15:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":211,"data_length":795,"current_offset":136} 
[2026-08-10 15:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307288832001,"66":25288,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 15:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307288832001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:50:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 15:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307288832001,"power":25288,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":151977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:50:09] local.INFO: GPS data processed {"connection_id":151977,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:50:09] local.INFO: Acknowledgment sent {"connection_id":151977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:50:14] local.INFO: TCP Data received {"connection_id":151580,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2f52d8012d0c70c00703fdc0003900310f..."} 
[2026-08-10 15:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2f52d8012d0c70c00703fdc0003900310f..."} 
[2026-08-10 15:50:14] local.INFO: Processing buffer {"connection_id":151580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2f52d8012d0c70c00703fdc0003900310f..."} 
[2026-08-10 15:50:14] local.INFO: Packet analysis {"connection_id":151580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:50:14] local.INFO: Extracted packet for processing {"connection_id":151580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:50:14] local.INFO: GPS Element Parsed {"raw_longitude":755790016,"raw_latitude":117702080,"longitude_deg":75.5790016,"latitude_deg":11.770208,"altitude":57,"angle":49,"satellites":15,"speed":29,"hex_longitude":"2d0c70c0","hex_latitude":"0703fdc0","is_valid_coordinates":true} 
[2026-08-10 15:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307432704001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27416219359379456,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888475794117392384,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786357175000,"timestamp_ms":1786357175000,"timestamp_seconds":1786357175,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2f52d8"} 
[2026-08-10 15:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 15:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307432704001,"66":14548,"16":27416219359379456,"94":11008,"24":29,"45":888475794117392384},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 15:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307432704001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27416219359379456,"km_value":27416219359379.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:50:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 15:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":888475794117392384,"description":"Unknown IO ID 45"} 
[2026-08-10 15:50:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457307432704001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":29,"unknown_45":888475794117392384}} 
[2026-08-10 15:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":151580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620412,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:50:15] local.INFO: GPS data processed {"connection_id":151580,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:50:15] local.INFO: Acknowledgment sent {"connection_id":151580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:50:41] local.INFO: TCP Data received {"connection_id":151977,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:50:41] local.INFO: Processing buffer {"connection_id":151977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:50:41] local.INFO: Packet analysis {"connection_id":151977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:50:41] local.INFO: Extracted packet for processing {"connection_id":151977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307365888001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786357199000,"timestamp_ms":1786357199000,"timestamp_seconds":1786357199,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2fb098"} 
[2026-08-10 15:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307365888001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307365888001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:50:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307365888001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":151977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:50:41] local.INFO: GPS data processed {"connection_id":151977,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:50:41] local.INFO: Acknowledgment sent {"connection_id":151977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:50:42] local.INFO: TCP Data received {"connection_id":151978,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151978,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:50:42] local.INFO: Processing buffer {"connection_id":151978,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:50:42] local.INFO: IMEI packet received {"connection_id":151978,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":151978,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:50:48] local.INFO: TCP Data received {"connection_id":151978,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151978,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:50:48] local.INFO: Processing buffer {"connection_id":151978,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:50:48] local.INFO: IMEI packet received {"connection_id":151978,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":151978,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:50:48] local.INFO: TCP Data received {"connection_id":151978,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2f7dd0012d0c8e80070413e8003b003510..."} 
[2026-08-10 15:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2f7dd0012d0c8e80070413e8003b003510..."} 
[2026-08-10 15:50:48] local.INFO: Processing buffer {"connection_id":151978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2f7dd0012d0c8e80070413e8003b003510..."} 
[2026-08-10 15:50:48] local.INFO: Packet analysis {"connection_id":151978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:50:48] local.INFO: Extracted packet for processing {"connection_id":151978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:50:48] local.INFO: GPS Element Parsed {"raw_longitude":755797632,"raw_latitude":117707752,"longitude_deg":75.5797632,"latitude_deg":11.7707752,"altitude":59,"angle":53,"satellites":16,"speed":35,"hex_longitude":"2d0c8e80","hex_latitude":"070413e8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307436800001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27416674625912832,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896427462210994176,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50: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-08-10 15:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786357186000,"timestamp_ms":1786357186000,"timestamp_seconds":1786357186,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2f7dd0"} 
[2026-08-10 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-08-10 15:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":212,"data_length":795,"current_offset":136} 
[2026-08-10 15:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307436800001,"66":14298,"16":27416674625912832,"94":11008,"24":35,"45":896427462210994176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 15:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307436800001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27416674625912832,"km_value":27416674625912.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:50:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 15:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":896427462210994176,"description":"Unknown IO ID 45"} 
[2026-08-10 15:50:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457307436800001,"power":14298,"odometer":null,"unknown_94":11008,"ignition":35,"unknown_45":896427462210994176}} 
[2026-08-10 15:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":151978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620414,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:50:49] local.INFO: GPS data processed {"connection_id":151978,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:50:49] local.INFO: Acknowledgment sent {"connection_id":151978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:50:53] local.INFO: TCP Data received {"connection_id":151978,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2f8d70012d0c990007041da0003a002710..."} 
[2026-08-10 15:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2f8d70012d0c990007041da0003a002710..."} 
[2026-08-10 15:50:53] local.INFO: Processing buffer {"connection_id":151978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2f8d70012d0c990007041da0003a002710..."} 
[2026-08-10 15:50:53] local.INFO: Packet analysis {"connection_id":151978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:50:53] local.INFO: Extracted packet for processing {"connection_id":151978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:50:53] local.INFO: GPS Element Parsed {"raw_longitude":755800320,"raw_latitude":117710240,"longitude_deg":75.580032,"latitude_deg":11.771024,"altitude":58,"angle":39,"satellites":16,"speed":35,"hex_longitude":"2d0c9900","hex_latitude":"07041da0","is_valid_coordinates":true} 
[2026-08-10 15:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307439616001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27416850719571968,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904801342769588224,"note":"Value kept but may cause issues"} 
[2026-08-10 15:50:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 15:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786357190000,"timestamp_ms":1786357190000,"timestamp_seconds":1786357190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2f8d70"} 
[2026-08-10 15:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 15:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307439616001,"66":14428,"16":27416850719571968,"94":11008,"24":35,"45":904801342769588224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 15:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307439616001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27416850719571968,"km_value":27416850719571.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:50:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 15:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":904801342769588224,"description":"Unknown IO ID 45"} 
[2026-08-10 15:50:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457307439616001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":35,"unknown_45":904801342769588224}} 
[2026-08-10 15:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":151978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620415,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:50:53] local.INFO: GPS data processed {"connection_id":151978,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:50:53] local.INFO: Acknowledgment sent {"connection_id":151978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:51:04] local.INFO: TCP Data received {"connection_id":151581,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:51:04] local.INFO: Processing buffer {"connection_id":151581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:51:04] local.INFO: IMEI packet received {"connection_id":151581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":151581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:51:10] local.INFO: TCP Data received {"connection_id":151581,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:51:10] local.INFO: Processing buffer {"connection_id":151581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:51:10] local.INFO: IMEI packet received {"connection_id":151581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":151581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:51:12] local.INFO: TCP Data received {"connection_id":151581,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:51:12] local.INFO: Processing buffer {"connection_id":151581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:51:12] local.INFO: Packet analysis {"connection_id":151581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:51:12] local.INFO: Extracted packet for processing {"connection_id":151581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307365888001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786357199000,"timestamp_ms":1786357199000,"timestamp_seconds":1786357199,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2fb098"} 
[2026-08-10 15:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307365888001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307365888001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:51:12] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:51:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307365888001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":151581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:51:12] local.INFO: GPS data processed {"connection_id":151581,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:51:12] local.INFO: Acknowledgment sent {"connection_id":151581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:51:14] local.INFO: TCP Data received {"connection_id":151581,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:51:14] local.INFO: Processing buffer {"connection_id":151581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:51:14] local.INFO: Packet analysis {"connection_id":151581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:51:14] local.INFO: Extracted packet for processing {"connection_id":151581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307365888001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786357199000,"timestamp_ms":1786357199000,"timestamp_seconds":1786357199,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2fb098"} 
[2026-08-10 15:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307365888001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307365888001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:51:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307365888001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":151581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:51:14] local.INFO: GPS data processed {"connection_id":151581,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:51:14] local.INFO: Acknowledgment sent {"connection_id":151581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:51:28] local.INFO: TCP Data received {"connection_id":151582,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:51:28] local.INFO: Processing buffer {"connection_id":151582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:51:28] local.INFO: IMEI packet received {"connection_id":151582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":151582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:51:33] local.INFO: TCP Data received {"connection_id":151582,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:51:33] local.INFO: Processing buffer {"connection_id":151582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:51:33] local.INFO: IMEI packet received {"connection_id":151582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":151582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:51:36] local.INFO: TCP Data received {"connection_id":151582,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:51:36] local.INFO: Processing buffer {"connection_id":151582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:51:36] local.INFO: IMEI packet received {"connection_id":151582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":151582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:51:36] local.INFO: TCP Data received {"connection_id":151582,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb30f8b8012d0c8d000704d2700023014512..."} 
[2026-08-10 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb30f8b8012d0c8d000704d2700023014512..."} 
[2026-08-10 15:51:36] local.INFO: Processing buffer {"connection_id":151582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb30f8b8012d0c8d000704d2700023014512..."} 
[2026-08-10 15:51:36] local.INFO: Packet analysis {"connection_id":151582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb30"} 
[2026-08-10 15:51:36] local.INFO: Extracted packet for processing {"connection_id":151582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb30"} 
[2026-08-10 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":755797248,"raw_latitude":117756528,"longitude_deg":75.5797248,"latitude_deg":11.7756528,"altitude":35,"angle":325,"satellites":18,"speed":15,"hex_longitude":"2d0c8d00","hex_latitude":"0704d270","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307463168001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27419333210669056,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905434661478985728,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786357283000,"timestamp_ms":1786357283000,"timestamp_seconds":1786357283,"priority":1,"record_length":96,"hex_timestamp":"0000019feb30f8b8"} 
[2026-08-10 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-08-10 15:51: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-08-10 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-10 15:51: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-08-10 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-08-10 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-08-10 15:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307463168001,"66":14548,"95":206,"94":10240,"24":15,"16":27419333210669056,"45":905434661478985728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 15:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307463168001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:51:36] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 15:51:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27419333210669056,"km_value":27419333210669.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":905434661478985728,"description":"Unknown IO ID 45"} 
[2026-08-10 15:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307463168001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":905434661478985728}} 
[2026-08-10 15:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":151582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620418,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:51:36] local.INFO: GPS data processed {"connection_id":151582,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:51:36] local.INFO: Acknowledgment sent {"connection_id":151582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:51:38] local.INFO: TCP Data received {"connection_id":151582,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb30fca0012d0c8c400704d3700023013512..."} 
[2026-08-10 15:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb30fca0012d0c8c400704d3700023013512..."} 
[2026-08-10 15:51:38] local.INFO: Processing buffer {"connection_id":151582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb30fca0012d0c8c400704d3700023013512..."} 
[2026-08-10 15:51:38] local.INFO: Packet analysis {"connection_id":151582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb30"} 
[2026-08-10 15:51:38] local.INFO: Extracted packet for processing {"connection_id":151582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb30"} 
[2026-08-10 15:51:38] local.INFO: GPS Element Parsed {"raw_longitude":755797056,"raw_latitude":117756784,"longitude_deg":75.5797056,"latitude_deg":11.7756784,"altitude":35,"angle":309,"satellites":18,"speed":13,"hex_longitude":"2d0c8c40","hex_latitude":"0704d370","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307464448001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27419350390538240,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904379130317008896,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786357284000,"timestamp_ms":1786357284000,"timestamp_seconds":1786357284,"priority":1,"record_length":96,"hex_timestamp":"0000019feb30fca0"} 
[2026-08-10 15:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 15:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307464448001,"66":14537,"95":206,"94":10240,"24":13,"16":27419350390538240,"45":904379130317008896},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 15:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307464448001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:51:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 15:51:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27419350390538240,"km_value":27419350390538.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":904379130317008896,"description":"Unknown IO ID 45"} 
[2026-08-10 15:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307464448001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":904379130317008896}} 
[2026-08-10 15:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":151582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620419,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:51:38] local.INFO: GPS data processed {"connection_id":151582,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:51:38] local.INFO: Acknowledgment sent {"connection_id":151582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:51:47] local.INFO: TCP Data received {"connection_id":154354,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:51:47] local.INFO: Processing buffer {"connection_id":154354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:51:47] local.INFO: IMEI packet received {"connection_id":154354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":154354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:51:58] local.INFO: TCP Data received {"connection_id":154354,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb28de80012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb28de80012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:51:58] local.INFO: Processing buffer {"connection_id":154354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb28de80012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:51:58] local.INFO: Packet analysis {"connection_id":154354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb28"} 
[2026-08-10 15:51:58] local.INFO: Extracted packet for processing {"connection_id":154354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb28"} 
[2026-08-10 15:51:58] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307251456001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786356752000,"timestamp_ms":1786356752000,"timestamp_seconds":1786356752,"priority":1,"record_length":96,"hex_timestamp":"0000019feb28de80"} 
[2026-08-10 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-08-10 15:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-10 15:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307251456001,"66":2231,"100":206,"87":13824,"24":0,"16":117222525229858816,"45":8794967147743750144},"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-08-10 15:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307251456001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:51:58] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:51:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-08-10 15:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307251456001,"power":2231,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-08-10 15:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":154354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:51:58] local.INFO: GPS data processed {"connection_id":154354,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:51:58] local.INFO: Acknowledgment sent {"connection_id":154354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:52:01] local.INFO: TCP Data received {"connection_id":152900,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:52:01] local.INFO: Processing buffer {"connection_id":152900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:52:01] local.INFO: IMEI packet received {"connection_id":152900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":152900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:52:03] local.INFO: TCP Data received {"connection_id":152900,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:52:03] local.INFO: Processing buffer {"connection_id":152900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:52:03] local.INFO: IMEI packet received {"connection_id":152900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":152900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:52:05] local.INFO: TCP Data received {"connection_id":152900,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:52:05] local.INFO: Processing buffer {"connection_id":152900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:52:05] local.INFO: Packet analysis {"connection_id":152900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:52:05] local.INFO: Extracted packet for processing {"connection_id":152900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307365888001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786357199000,"timestamp_ms":1786357199000,"timestamp_seconds":1786357199,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2fb098"} 
[2026-08-10 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-08-10 15:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307365888001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307365888001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:52:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307365888001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":152900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:52:05] local.INFO: GPS data processed {"connection_id":152900,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:52:05] local.INFO: Acknowledgment sent {"connection_id":152900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:52:09] local.INFO: TCP Data received {"connection_id":152900,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:52:09] local.INFO: Processing buffer {"connection_id":152900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:52:09] local.INFO: Packet analysis {"connection_id":152900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:52:09] local.INFO: Extracted packet for processing {"connection_id":152900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307365888001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786357199000,"timestamp_ms":1786357199000,"timestamp_seconds":1786357199,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2fb098"} 
[2026-08-10 15:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:52: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-08-10 15:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307365888001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307365888001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:52:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307365888001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":152900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:52:09] local.INFO: GPS data processed {"connection_id":152900,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:52:09] local.INFO: Acknowledgment sent {"connection_id":152900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:52:10] local.INFO: TCP Data received {"connection_id":151582,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb310088012d0c8ac00704d4200022012712..."} 
[2026-08-10 15:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb310088012d0c8ac00704d4200022012712..."} 
[2026-08-10 15:52:10] local.INFO: Processing buffer {"connection_id":151582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb310088012d0c8ac00704d4200022012712..."} 
[2026-08-10 15:52:10] local.INFO: Packet analysis {"connection_id":151582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb31"} 
[2026-08-10 15:52:10] local.INFO: Extracted packet for processing {"connection_id":151582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb31"} 
[2026-08-10 15:52:10] local.INFO: GPS Element Parsed {"raw_longitude":755796672,"raw_latitude":117756960,"longitude_deg":75.5796672,"latitude_deg":11.775696,"altitude":34,"angle":295,"satellites":18,"speed":15,"hex_longitude":"2d0c8ac0","hex_latitude":"0704d420","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307464704001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27419367570407424,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904168024084541440,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786357285000,"timestamp_ms":1786357285000,"timestamp_seconds":1786357285,"priority":1,"record_length":96,"hex_timestamp":"0000019feb310088"} 
[2026-08-10 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-08-10 15:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 15:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307464704001,"66":14537,"95":206,"94":10240,"24":15,"16":27419367570407424,"45":904168024084541440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 15:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307464704001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:52:10] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 15:52:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27419367570407424,"km_value":27419367570407.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":904168024084541440,"description":"Unknown IO ID 45"} 
[2026-08-10 15:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307464704001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":904168024084541440}} 
[2026-08-10 15:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":151582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620423,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:52:10] local.INFO: GPS data processed {"connection_id":151582,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:52:10] local.INFO: Acknowledgment sent {"connection_id":151582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:52:17] local.INFO: TCP Data received {"connection_id":151979,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:52:17] local.INFO: Processing buffer {"connection_id":151979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:52:17] local.INFO: IMEI packet received {"connection_id":151979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":151979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:52:22] local.INFO: TCP Data received {"connection_id":151979,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:52:22] local.INFO: Processing buffer {"connection_id":151979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:52:22] local.INFO: IMEI packet received {"connection_id":151979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":151979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:52:22] local.INFO: TCP Data received {"connection_id":151979,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2f8d70012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2f8d70012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:52:22] local.INFO: Processing buffer {"connection_id":151979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2f8d70012d7a0e0005ec7f28000a00f81f..."} 
[2026-08-10 15:52:22] local.INFO: Packet analysis {"connection_id":151979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:52:22] local.INFO: Extracted packet for processing {"connection_id":151979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":10,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-08-10 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307328512001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117222525229858816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:22] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-10 15:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786357190000,"timestamp_ms":1786357190000,"timestamp_seconds":1786357190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2f8d70"} 
[2026-08-10 15:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":183,"data_length":795,"current_offset":136} 
[2026-08-10 15:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307328512001,"66":1568,"24":0,"16":117222525229858816,"45":8794967147743750144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-10 15:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307328512001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117222525229858816,"km_value":117222525229858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-08-10 15:52:22] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457307328512001,"power":1568,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-08-10 15:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":151979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:52:22] local.INFO: GPS data processed {"connection_id":151979,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:52:22] local.INFO: Acknowledgment sent {"connection_id":151979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:52:31] local.INFO: TCP Data received {"connection_id":151583,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:52:31] local.INFO: Processing buffer {"connection_id":151583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:52:31] local.INFO: IMEI packet received {"connection_id":151583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":151583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:52:32] local.INFO: TCP Data received {"connection_id":151583,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:52:32] local.INFO: Processing buffer {"connection_id":151583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:52:32] local.INFO: IMEI packet received {"connection_id":151583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":151583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:52:33] local.INFO: TCP Data received {"connection_id":151583,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:52:33] local.INFO: Processing buffer {"connection_id":151583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:52:33] local.INFO: IMEI packet received {"connection_id":151583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":151583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:52:36] local.INFO: TCP Data received {"connection_id":151583,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:52:36] local.INFO: Processing buffer {"connection_id":151583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:52:36] local.INFO: IMEI packet received {"connection_id":151583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":151583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:52:37] local.INFO: TCP Data received {"connection_id":151583,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb31fa88012d0bbf800704ba880017010312..."} 
[2026-08-10 15:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb31fa88012d0bbf800704ba880017010312..."} 
[2026-08-10 15:52:37] local.INFO: Processing buffer {"connection_id":151583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb31fa88012d0bbf800704ba880017010312..."} 
[2026-08-10 15:52:37] local.INFO: Packet analysis {"connection_id":151583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb31"} 
[2026-08-10 15:52:37] local.INFO: Extracted packet for processing {"connection_id":151583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb31"} 
[2026-08-10 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":755744640,"raw_latitude":117750408,"longitude_deg":75.574464,"latitude_deg":11.7750408,"altitude":23,"angle":259,"satellites":18,"speed":25,"hex_longitude":"2d0bbf80","hex_latitude":"0704ba88","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307480320001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27421901601112064,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849210034880456704,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786357349000,"timestamp_ms":1786357349000,"timestamp_seconds":1786357349,"priority":1,"record_length":96,"hex_timestamp":"0000019feb31fa88"} 
[2026-08-10 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-08-10 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-08-10 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 15:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307480320001,"66":14559,"96":206,"94":10240,"24":25,"16":27421901601112064,"45":849210034880456704},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 15:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307480320001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:52:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 15:52:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27421901601112064,"km_value":27421901601112.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":849210034880456704,"description":"Unknown IO ID 45"} 
[2026-08-10 15:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307480320001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":849210034880456704}} 
[2026-08-10 15:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":151583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:52:37] local.INFO: GPS data processed {"connection_id":151583,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:52:37] local.INFO: Acknowledgment sent {"connection_id":151583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:52:42] local.INFO: TCP Data received {"connection_id":152900,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:52:42] local.INFO: Processing buffer {"connection_id":152900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:52:42] local.INFO: Packet analysis {"connection_id":152900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:52:42] local.INFO: Extracted packet for processing {"connection_id":152900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307365888001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786357199000,"timestamp_ms":1786357199000,"timestamp_seconds":1786357199,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2fb098"} 
[2026-08-10 15:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307365888001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307365888001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:52:42] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307365888001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":152900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:52:42] local.INFO: GPS data processed {"connection_id":152900,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:52:42] local.INFO: Acknowledgment sent {"connection_id":152900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:52:58] local.INFO: TCP Data received {"connection_id":154355,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:52:58] local.INFO: Processing buffer {"connection_id":154355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:52:58] local.INFO: IMEI packet received {"connection_id":154355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":154355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:53:03] local.INFO: TCP Data received {"connection_id":154355,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:53:04] local.INFO: Processing buffer {"connection_id":154355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:53:04] local.INFO: IMEI packet received {"connection_id":154355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":154355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:53:05] local.INFO: TCP Data received {"connection_id":154355,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:53:05] local.INFO: Processing buffer {"connection_id":154355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:53:05] local.INFO: Packet analysis {"connection_id":154355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:53:05] local.INFO: Extracted packet for processing {"connection_id":154355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307365888001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786357199000,"timestamp_ms":1786357199000,"timestamp_seconds":1786357199,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2fb098"} 
[2026-08-10 15:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307365888001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307365888001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:53:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307365888001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":154355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:53:05] local.INFO: GPS data processed {"connection_id":154355,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:53:05] local.INFO: Acknowledgment sent {"connection_id":154355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:53:07] local.INFO: TCP Data received {"connection_id":151980,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:53:07] local.INFO: Processing buffer {"connection_id":151980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:53:07] local.INFO: IMEI packet received {"connection_id":151980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":151980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:53:09] local.INFO: TCP Data received {"connection_id":151583,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3273a0012d0b77000704c6480019013012..."} 
[2026-08-10 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3273a0012d0b77000704c6480019013012..."} 
[2026-08-10 15:53:09] local.INFO: Processing buffer {"connection_id":151583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3273a0012d0b77000704c6480019013012..."} 
[2026-08-10 15:53:09] local.INFO: Packet analysis {"connection_id":151583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb32"} 
[2026-08-10 15:53:09] local.INFO: Extracted packet for processing {"connection_id":151583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb32"} 
[2026-08-10 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":755726080,"raw_latitude":117753416,"longitude_deg":75.572608,"latitude_deg":11.7753416,"altitude":25,"angle":304,"satellites":18,"speed":10,"hex_longitude":"2d0b7700","hex_latitude":"0704c648","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307488768001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27422863673786368,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826551299255580672,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786357380000,"timestamp_ms":1786357380000,"timestamp_seconds":1786357380,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3273a0"} 
[2026-08-10 15:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:53: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-08-10 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 15:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307488768001,"66":14374,"96":206,"94":10240,"24":10,"16":27422863673786368,"45":826551299255580672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 15:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307488768001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:53:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 15:53:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27422863673786368,"km_value":27422863673786.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":826551299255580672,"description":"Unknown IO ID 45"} 
[2026-08-10 15:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307488768001,"power":14374,"unknown_96":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":826551299255580672}} 
[2026-08-10 15:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":151583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620428,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:53:09] local.INFO: GPS data processed {"connection_id":151583,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:53:09] local.INFO: Acknowledgment sent {"connection_id":151583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:53:12] local.INFO: TCP Data received {"connection_id":151980,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:53:12] local.INFO: Processing buffer {"connection_id":151980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:53:12] local.INFO: IMEI packet received {"connection_id":151980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":151980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:53:13] local.INFO: TCP Data received {"connection_id":151980,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb31a0b0012d7a038005ec4f30000000a021..."} 
[2026-08-10 15:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb31a0b0012d7a038005ec4f30000000a021..."} 
[2026-08-10 15:53:13] local.INFO: Processing buffer {"connection_id":151980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb31a0b0012d7a038005ec4f30000000a021..."} 
[2026-08-10 15:53:13] local.INFO: Packet analysis {"connection_id":151980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb31"} 
[2026-08-10 15:53:13] local.INFO: Extracted packet for processing {"connection_id":151980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb31"} 
[2026-08-10 15:53:13] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":99372848,"longitude_deg":76.2971008,"latitude_deg":9.9372848,"altitude":0,"angle":160,"satellites":33,"speed":14,"hex_longitude":"2d7a0380","hex_latitude":"05ec4f30","is_valid_coordinates":true} 
[2026-08-10 15:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307474944001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117223315503841280,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554252832768,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786357326000,"timestamp_ms":1786357326000,"timestamp_seconds":1786357326,"priority":1,"record_length":96,"hex_timestamp":"0000019feb31a0b0"} 
[2026-08-10 15:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:53:13] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-10 15:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307474944001,"66":12928,"100":206,"87":13824,"24":14,"16":117223315503841280,"45":8791800554252832768},"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-08-10 15:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307474944001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:53:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:53:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117223315503841280,"km_value":117223315503841.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554252832768,"description":"Unknown IO ID 45"} 
[2026-08-10 15:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307474944001,"power":12928,"unknown_100":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8791800554252832768}} 
[2026-08-10 15:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":151980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:53:13] local.INFO: GPS data processed {"connection_id":151980,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:53:13] local.INFO: Acknowledgment sent {"connection_id":151980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:53:37] local.INFO: TCP Data received {"connection_id":154355,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:53:37] local.INFO: Processing buffer {"connection_id":154355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:53:37] local.INFO: Packet analysis {"connection_id":154355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:53:37] local.INFO: Extracted packet for processing {"connection_id":154355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307365888001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786357199000,"timestamp_ms":1786357199000,"timestamp_seconds":1786357199,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2fb098"} 
[2026-08-10 15:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307365888001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307365888001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:53:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307365888001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":154355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:53:37] local.INFO: GPS data processed {"connection_id":154355,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:53:37] local.INFO: Acknowledgment sent {"connection_id":154355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:53:37] local.INFO: TCP Data received {"connection_id":152901,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:53:37] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:53:37] local.INFO: IMEI packet received {"connection_id":152901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":152901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:53:43] local.INFO: TCP Data received {"connection_id":152901,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:53:43] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:53:43] local.INFO: IMEI packet received {"connection_id":152901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":152901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:53:44] local.INFO: TCP Data received {"connection_id":151980,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb31eed0012d7a0b4005ec39b0000000a31b..."} 
[2026-08-10 15:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb31eed0012d7a0b4005ec39b0000000a31b..."} 
[2026-08-10 15:53:44] local.INFO: Processing buffer {"connection_id":151980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb31eed0012d7a0b4005ec39b0000000a31b..."} 
[2026-08-10 15:53:44] local.INFO: Packet analysis {"connection_id":151980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb31"} 
[2026-08-10 15:53:44] local.INFO: Extracted packet for processing {"connection_id":151980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb31"} 
[2026-08-10 15:53:44] local.INFO: GPS Element Parsed {"raw_longitude":762972992,"raw_latitude":99367344,"longitude_deg":76.2972992,"latitude_deg":9.9367344,"altitude":0,"angle":163,"satellites":27,"speed":6,"hex_longitude":"2d7a0b40","hex_latitude":"05ec39b0","is_valid_coordinates":true} 
[2026-08-10 15:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307475456001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117223598971682816,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660485144576,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786357346000,"timestamp_ms":1786357346000,"timestamp_seconds":1786357346,"priority":1,"record_length":96,"hex_timestamp":"0000019feb31eed0"} 
[2026-08-10 15:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-10 15:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307475456001,"66":13396,"100":206,"87":13824,"24":6,"16":117223598971682816,"45":8792011660485144576},"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-08-10 15:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307475456001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:53:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:53:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117223598971682816,"km_value":117223598971682.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660485144576,"description":"Unknown IO ID 45"} 
[2026-08-10 15:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307475456001,"power":13396,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8792011660485144576}} 
[2026-08-10 15:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":151980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:53:44] local.INFO: GPS data processed {"connection_id":151980,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:53:44] local.INFO: Acknowledgment sent {"connection_id":151980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:53:44] local.INFO: TCP Data received {"connection_id":152901,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb327788012d0b76400704c6980019011a12..."} 
[2026-08-10 15:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb327788012d0b76400704c6980019011a12..."} 
[2026-08-10 15:53:44] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb327788012d0b76400704c6980019011a12..."} 
[2026-08-10 15:53:44] local.INFO: Packet analysis {"connection_id":152901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb32"} 
[2026-08-10 15:53:44] local.INFO: Extracted packet for processing {"connection_id":152901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb32"} 
[2026-08-10 15:53:44] local.INFO: GPS Element Parsed {"raw_longitude":755725888,"raw_latitude":117753496,"longitude_deg":75.5725888,"latitude_deg":11.7753496,"altitude":25,"angle":282,"satellites":18,"speed":10,"hex_longitude":"2d0b7640","hex_latitude":"0704c698","is_valid_coordinates":true} 
[2026-08-10 15:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307489280001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27422876558688256,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826129086790649856,"note":"Value kept but may cause issues"} 
[2026-08-10 15:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786357381000,"timestamp_ms":1786357381000,"timestamp_seconds":1786357381,"priority":1,"record_length":96,"hex_timestamp":"0000019feb327788"} 
[2026-08-10 15:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 15:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307489280001,"66":14374,"96":206,"94":10240,"24":10,"16":27422876558688256,"45":826129086790649856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 15:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307489280001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:53:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 15:53:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27422876558688256,"km_value":27422876558688.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":826129086790649856,"description":"Unknown IO ID 45"} 
[2026-08-10 15:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307489280001,"power":14374,"unknown_96":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":826129086790649856}} 
[2026-08-10 15:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":152901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620432,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:53:45] local.INFO: GPS data processed {"connection_id":152901,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:53:45] local.INFO: Acknowledgment sent {"connection_id":152901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:54:04] local.INFO: TCP Data received {"connection_id":152902,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:54:04] local.INFO: Processing buffer {"connection_id":152902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:54:04] local.INFO: IMEI packet received {"connection_id":152902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":152902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:54:07] local.INFO: TCP Data received {"connection_id":151981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:54:07] local.INFO: Processing buffer {"connection_id":151981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:54:07] local.INFO: IMEI packet received {"connection_id":151981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":151981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:54:09] local.INFO: TCP Data received {"connection_id":152902,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:54:09] local.INFO: Processing buffer {"connection_id":152902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:54:09] local.INFO: IMEI packet received {"connection_id":152902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":152902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:54:10] local.INFO: TCP Data received {"connection_id":152902,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:54:10] local.INFO: Processing buffer {"connection_id":152902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:54:10] local.INFO: Packet analysis {"connection_id":152902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:54:10] local.INFO: Extracted packet for processing {"connection_id":152902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307365888001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786357199000,"timestamp_ms":1786357199000,"timestamp_seconds":1786357199,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2fb098"} 
[2026-08-10 15:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:54: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-08-10 15:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:54: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-08-10 15:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307365888001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307365888001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:54:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307365888001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":152902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:54:10] local.INFO: GPS data processed {"connection_id":152902,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:54:10] local.INFO: Acknowledgment sent {"connection_id":152902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:54:12] local.INFO: TCP Data received {"connection_id":151981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:54:12] local.INFO: Processing buffer {"connection_id":151981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:54:12] local.INFO: IMEI packet received {"connection_id":151981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":151981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:54:13] local.INFO: TCP Data received {"connection_id":151981,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3215e0012d7a108005ec2790000000981d..."} 
[2026-08-10 15:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3215e0012d7a108005ec2790000000981d..."} 
[2026-08-10 15:54:13] local.INFO: Processing buffer {"connection_id":151981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3215e0012d7a108005ec2790000000981d..."} 
[2026-08-10 15:54:13] local.INFO: Packet analysis {"connection_id":151981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb32"} 
[2026-08-10 15:54:13] local.INFO: Extracted packet for processing {"connection_id":151981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb32"} 
[2026-08-10 15:54:13] local.INFO: GPS Element Parsed {"raw_longitude":762974336,"raw_latitude":99362704,"longitude_deg":76.2974336,"latitude_deg":9.9362704,"altitude":0,"angle":152,"satellites":29,"speed":19,"hex_longitude":"2d7a1080","hex_latitude":"05ec2790","is_valid_coordinates":true} 
[2026-08-10 15:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307480576001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117223835194884096,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794193091553243136,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786357356000,"timestamp_ms":1786357356000,"timestamp_seconds":1786357356,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3215e0"} 
[2026-08-10 15:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-10 15:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307480576001,"66":13341,"100":206,"87":13824,"24":19,"16":117223835194884096,"45":8794193091553243136},"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-08-10 15:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307480576001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:54:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-10 15:54:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117223835194884096,"km_value":117223835194884.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794193091553243136,"description":"Unknown IO ID 45"} 
[2026-08-10 15:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307480576001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8794193091553243136}} 
[2026-08-10 15:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":151981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:54:13] local.INFO: GPS data processed {"connection_id":151981,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:54:13] local.INFO: Acknowledgment sent {"connection_id":151981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:54:14] local.INFO: TCP Data received {"connection_id":152902,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:54:14] local.INFO: Processing buffer {"connection_id":152902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:54:14] local.INFO: Packet analysis {"connection_id":152902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:54:14] local.INFO: Extracted packet for processing {"connection_id":152902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307365888001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786357199000,"timestamp_ms":1786357199000,"timestamp_seconds":1786357199,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2fb098"} 
[2026-08-10 15:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:54: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-08-10 15:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307365888001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307365888001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:54:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307365888001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":152902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:54:14] local.INFO: GPS data processed {"connection_id":152902,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:54:14] local.INFO: Acknowledgment sent {"connection_id":152902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:54:26] local.INFO: TCP Data received {"connection_id":152901,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3365d0012d0b2cc007051438002a001a12..."} 
[2026-08-10 15:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3365d0012d0b2cc007051438002a001a12..."} 
[2026-08-10 15:54:26] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3365d0012d0b2cc007051438002a001a12..."} 
[2026-08-10 15:54:26] local.INFO: Packet analysis {"connection_id":152901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb33"} 
[2026-08-10 15:54:26] local.INFO: Extracted packet for processing {"connection_id":152901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb33"} 
[2026-08-10 15:54:26] local.INFO: GPS Element Parsed {"raw_longitude":755707072,"raw_latitude":117773368,"longitude_deg":75.5707072,"latitude_deg":11.7773368,"altitude":42,"angle":26,"satellites":18,"speed":26,"hex_longitude":"2d0b2cc0","hex_latitude":"07051438","is_valid_coordinates":true} 
[2026-08-10 15:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307501824001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27424594545606656,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803962932378212352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786357442000,"timestamp_ms":1786357442000,"timestamp_seconds":1786357442,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3365d0"} 
[2026-08-10 15:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-10 15:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307501824001,"66":14461,"96":206,"94":10240,"24":26,"16":27424594545606656,"45":803962932378212352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 15:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307501824001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:54:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 15:54:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27424594545606656,"km_value":27424594545606.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":803962932378212352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307501824001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":803962932378212352}} 
[2026-08-10 15:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":152901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620436,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:54:26] local.INFO: GPS data processed {"connection_id":152901,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:54:26] local.INFO: Acknowledgment sent {"connection_id":152901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:54:37] local.INFO: TCP Data received {"connection_id":151584,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:54:37] local.INFO: Processing buffer {"connection_id":151584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:54:37] local.INFO: IMEI packet received {"connection_id":151584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":151584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:54:38] local.INFO: TCP Data received {"connection_id":151584,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:54:38] local.INFO: Processing buffer {"connection_id":151584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:54:38] local.INFO: IMEI packet received {"connection_id":151584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":151584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:54:42] local.INFO: TCP Data received {"connection_id":151584,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:54:42] local.INFO: Processing buffer {"connection_id":151584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:54:42] local.INFO: IMEI packet received {"connection_id":151584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":151584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:54:44] local.INFO: TCP Data received {"connection_id":151981,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb325460012d7a1dc005ec07c00000009b1c..."} 
[2026-08-10 15:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb325460012d7a1dc005ec07c00000009b1c..."} 
[2026-08-10 15:54:44] local.INFO: Processing buffer {"connection_id":151981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb325460012d7a1dc005ec07c00000009b1c..."} 
[2026-08-10 15:54:44] local.INFO: Packet analysis {"connection_id":151981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb32"} 
[2026-08-10 15:54:44] local.INFO: Extracted packet for processing {"connection_id":151981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb32"} 
[2026-08-10 15:54:44] local.INFO: GPS Element Parsed {"raw_longitude":762977728,"raw_latitude":99354560,"longitude_deg":76.2977728,"latitude_deg":9.935456,"altitude":0,"angle":155,"satellites":28,"speed":19,"hex_longitude":"2d7a1dc0","hex_latitude":"05ec07c0","is_valid_coordinates":true} 
[2026-08-10 15:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307483136001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117224264691613696,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795670835179786240,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786357372000,"timestamp_ms":1786357372000,"timestamp_seconds":1786357372,"priority":1,"record_length":96,"hex_timestamp":"0000019feb325460"} 
[2026-08-10 15:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 15:54: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-08-10 15:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307483136001,"66":13319,"99":206,"87":13824,"24":19,"16":117224264691613696,"45":8795670835179786240},"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-08-10 15:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307483136001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:54:44] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-10 15:54:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117224264691613696,"km_value":117224264691613.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795670835179786240,"description":"Unknown IO ID 45"} 
[2026-08-10 15:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307483136001,"power":13319,"unknown_99":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8795670835179786240}} 
[2026-08-10 15:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":151981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:54:44] local.INFO: GPS data processed {"connection_id":151981,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:54:44] local.INFO: Acknowledgment sent {"connection_id":151981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:54:55] local.INFO: TCP Data received {"connection_id":151584,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb336da0012d0b300007051878002a002512..."} 
[2026-08-10 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb336da0012d0b300007051878002a002512..."} 
[2026-08-10 15:54:55] local.INFO: Processing buffer {"connection_id":151584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb336da0012d0b300007051878002a002512..."} 
[2026-08-10 15:54:55] local.INFO: Packet analysis {"connection_id":151584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb33"} 
[2026-08-10 15:54:55] local.INFO: Extracted packet for processing {"connection_id":151584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb33"} 
[2026-08-10 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":755707904,"raw_latitude":117774456,"longitude_deg":75.5707904,"latitude_deg":11.7774456,"altitude":42,"angle":37,"satellites":18,"speed":25,"hex_longitude":"2d0b3000","hex_latitude":"07051878","is_valid_coordinates":true} 
[2026-08-10 15:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307505152001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27424663265083392,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805229569774991360,"note":"Value kept but may cause issues"} 
[2026-08-10 15:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786357444000,"timestamp_ms":1786357444000,"timestamp_seconds":1786357444,"priority":1,"record_length":96,"hex_timestamp":"0000019feb336da0"} 
[2026-08-10 15:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 15:54: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-08-10 15:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307505152001,"66":14461,"96":206,"94":10240,"24":25,"16":27424663265083392,"45":805229569774991360},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 15:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307505152001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:54:55] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 15:54:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27424663265083392,"km_value":27424663265083.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":805229569774991360,"description":"Unknown IO ID 45"} 
[2026-08-10 15:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307505152001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":805229569774991360}} 
[2026-08-10 15:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":151584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620438,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:54:55] local.INFO: GPS data processed {"connection_id":151584,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:54:55] local.INFO: Acknowledgment sent {"connection_id":151584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:54:59] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:54:59] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:54:59] local.INFO: IMEI packet received {"connection_id":151585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":151585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:55:04] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:55:04] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:55:04] local.INFO: IMEI packet received {"connection_id":151585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":151585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:55:06] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:55:06] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:55:06] local.INFO: Packet analysis {"connection_id":151585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:55:06] local.INFO: Extracted packet for processing {"connection_id":151585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307365888001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786357199000,"timestamp_ms":1786357199000,"timestamp_seconds":1786357199,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2fb098"} 
[2026-08-10 15:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:55: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-08-10 15:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307365888001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307365888001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:55:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307365888001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":151585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:55:06] local.INFO: GPS data processed {"connection_id":151585,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:55:06] local.INFO: Acknowledgment sent {"connection_id":151585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:55:07] local.INFO: TCP Data received {"connection_id":151982,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:55:07] local.INFO: Processing buffer {"connection_id":151982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:55:07] local.INFO: IMEI packet received {"connection_id":151982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":151982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:55:11] local.INFO: TCP Data received {"connection_id":151982,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:55:11] local.INFO: Processing buffer {"connection_id":151982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:55:11] local.INFO: IMEI packet received {"connection_id":151982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":151982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:55:12] local.INFO: TCP Data received {"connection_id":151982,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:55:12] local.INFO: Processing buffer {"connection_id":151982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:55:12] local.INFO: IMEI packet received {"connection_id":151982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":151982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:55:12] local.INFO: TCP Data received {"connection_id":151982,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb344c48012d7a56c005eb9668000000741e..."} 
[2026-08-10 15:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb344c48012d7a56c005eb9668000000741e..."} 
[2026-08-10 15:55:12] local.INFO: Processing buffer {"connection_id":151982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb344c48012d7a56c005eb9668000000741e..."} 
[2026-08-10 15:55:12] local.INFO: Packet analysis {"connection_id":151982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:55:12] local.INFO: Extracted packet for processing {"connection_id":151982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:55:12] local.INFO: GPS Element Parsed {"raw_longitude":762992320,"raw_latitude":99325544,"longitude_deg":76.299232,"latitude_deg":9.9325544,"altitude":0,"angle":116,"satellites":30,"speed":16,"hex_longitude":"2d7a56c0","hex_latitude":"05eb9668","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520000001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117225858124480512,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815022239819188224,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786357501000,"timestamp_ms":1786357501000,"timestamp_seconds":1786357501,"priority":1,"record_length":96,"hex_timestamp":"0000019feb344c48"} 
[2026-08-10 15:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3945993160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3276978683086892672,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-1533475673110996992,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516634948,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3957964800,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":68,"raw_value":7133928683718318080,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":51,"raw_value":580965646765670405,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.WARNING: Large IO value detected {"io_id":23,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:12] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,163,87,24,241,157,16,120,159,45,192,158,31,10,66,219,184,32,119,136,64,1,240,198,227,235,4,113,205,3,44,25,239,50,99,2,160,5,68,51,23],"length":626,"final_offset":756,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0}]} 
[2026-08-10 15:55:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":149662431313920,"timestamp_seconds":149662431313.92,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520000001,"66":13374,"163":206,"87":13824,"24":16,"16":117225858124480512,"45":8815022239819188224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 15:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520000001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:55:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 15:55:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117225858124480512,"km_value":117225858124480.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815022239819188224,"description":"Unknown IO ID 45"} 
[2026-08-10 15:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520000001,"power":13374,"unknown_163":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8815022239819188224}} 
[2026-08-10 15:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":151982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:55:12] local.INFO: GPS data processed {"connection_id":151982,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:55:12] local.INFO: Acknowledgment sent {"connection_id":151982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:55:17] local.INFO: TCP Data received {"connection_id":151982,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb345030012d7a588005eb96180000005e1e..."} 
[2026-08-10 15:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb345030012d7a588005eb96180000005e1e..."} 
[2026-08-10 15:55:17] local.INFO: Processing buffer {"connection_id":151982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb345030012d7a588005eb96180000005e1e..."} 
[2026-08-10 15:55:17] local.INFO: Packet analysis {"connection_id":151982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:55:17] local.INFO: Extracted packet for processing {"connection_id":151982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:55:17] local.INFO: GPS Element Parsed {"raw_longitude":762992768,"raw_latitude":99325464,"longitude_deg":76.2992768,"latitude_deg":9.9325464,"altitude":0,"angle":94,"satellites":30,"speed":18,"hex_longitude":"2d7a5880","hex_latitude":"05eb9618","is_valid_coordinates":true} 
[2026-08-10 15:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520256001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117225879599316992,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815444452284196864,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786357502000,"timestamp_ms":1786357502000,"timestamp_seconds":1786357502,"priority":1,"record_length":96,"hex_timestamp":"0000019feb345030"} 
[2026-08-10 15:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 15:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520256001,"66":12928,"163":206,"87":13824,"24":18,"16":117225879599316992,"45":8815444452284196864},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 15:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520256001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:55:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 15:55:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117225879599316992,"km_value":117225879599316.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815444452284196864,"description":"Unknown IO ID 45"} 
[2026-08-10 15:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520256001,"power":12928,"unknown_163":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8815444452284196864}} 
[2026-08-10 15:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":151982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:55:17] local.INFO: GPS data processed {"connection_id":151982,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:55:17] local.INFO: Acknowledgment sent {"connection_id":151982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:55:32] local.INFO: TCP Data received {"connection_id":151983,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151983,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:55:32] local.INFO: Processing buffer {"connection_id":151983,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:55:32] local.INFO: IMEI packet received {"connection_id":151983,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":151983,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:55:38] local.INFO: TCP Data received {"connection_id":151983,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151983,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:55:38] local.INFO: Processing buffer {"connection_id":151983,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:55:38] local.INFO: IMEI packet received {"connection_id":151983,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":151983,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:55:38] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:55:38] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb2fb098012d342a4006abc2800017010220..."} 
[2026-08-10 15:55:38] local.INFO: Packet analysis {"connection_id":151585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:55:38] local.INFO: Extracted packet for processing {"connection_id":151585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb2f"} 
[2026-08-10 15:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307365888001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786357199000,"timestamp_ms":1786357199000,"timestamp_seconds":1786357199,"priority":1,"record_length":96,"hex_timestamp":"0000019feb2fb098"} 
[2026-08-10 15:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":200,"data_length":795,"current_offset":136} 
[2026-08-10 15:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:55: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-08-10 15:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307365888001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307365888001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:55:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307365888001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":151585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:55:38] local.INFO: GPS data processed {"connection_id":151585,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:55:38] local.INFO: Acknowledgment sent {"connection_id":151585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:55:39] local.INFO: TCP Data received {"connection_id":151983,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb345fd0012d0b208007059d780021014e12..."} 
[2026-08-10 15:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb345fd0012d0b208007059d780021014e12..."} 
[2026-08-10 15:55:39] local.INFO: Processing buffer {"connection_id":151983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb345fd0012d0b208007059d780021014e12..."} 
[2026-08-10 15:55:39] local.INFO: Packet analysis {"connection_id":151983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:55:39] local.INFO: Extracted packet for processing {"connection_id":151983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:55:39] local.INFO: GPS Element Parsed {"raw_longitude":755703936,"raw_latitude":117808504,"longitude_deg":75.5703936,"latitude_deg":11.7808504,"altitude":33,"angle":334,"satellites":18,"speed":13,"hex_longitude":"2d0b2080","hex_latitude":"07059d78","is_valid_coordinates":true} 
[2026-08-10 15:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520512001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27426643245006848,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801992607551301632,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786357506000,"timestamp_ms":1786357506000,"timestamp_seconds":1786357506,"priority":1,"record_length":96,"hex_timestamp":"0000019feb345fd0"} 
[2026-08-10 15:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 15:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520512001,"66":14450,"153":206,"94":10240,"24":13,"16":27426643245006848,"45":801992607551301632},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 15:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520512001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:55:39] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 15:55:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27426643245006848,"km_value":27426643245006.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":801992607551301632,"description":"Unknown IO ID 45"} 
[2026-08-10 15:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520512001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":801992607551301632}} 
[2026-08-10 15:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":151983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620443,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:55:39] local.INFO: GPS data processed {"connection_id":151983,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:55:39] local.INFO: Acknowledgment sent {"connection_id":151983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:55:49] local.INFO: TCP Data received {"connection_id":151982,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb345418012d7a5ac005eb9630000000511d..."} 
[2026-08-10 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb345418012d7a5ac005eb9630000000511d..."} 
[2026-08-10 15:55:49] local.INFO: Processing buffer {"connection_id":151982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb345418012d7a5ac005eb9630000000511d..."} 
[2026-08-10 15:55:49] local.INFO: Packet analysis {"connection_id":151982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:55:49] local.INFO: Extracted packet for processing {"connection_id":151982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:55:49] local.INFO: GPS Element Parsed {"raw_longitude":762993344,"raw_latitude":99325488,"longitude_deg":76.2993344,"latitude_deg":9.9325488,"altitude":0,"angle":81,"satellites":29,"speed":19,"hex_longitude":"2d7a5ac0","hex_latitude":"05eb9630","is_valid_coordinates":true} 
[2026-08-10 15:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520512001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117225905369120768,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815937033493420032,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786357503000,"timestamp_ms":1786357503000,"timestamp_seconds":1786357503,"priority":1,"record_length":96,"hex_timestamp":"0000019feb345418"} 
[2026-08-10 15:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-10 15:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520512001,"66":12928,"163":206,"87":13824,"24":19,"16":117225905369120768,"45":8815937033493420032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 15:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520512001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:55:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 15:55:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117225905369120768,"km_value":117225905369120.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815937033493420032,"description":"Unknown IO ID 45"} 
[2026-08-10 15:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520512001,"power":12928,"unknown_163":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8815937033493420032}} 
[2026-08-10 15:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":151982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:55:49] local.INFO: GPS data processed {"connection_id":151982,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:55:49] local.INFO: Acknowledgment sent {"connection_id":151982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:55:52] local.INFO: TCP Data received {"connection_id":154356,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:55:52] local.INFO: Processing buffer {"connection_id":154356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:55:52] local.INFO: IMEI packet received {"connection_id":154356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":154356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:55:57] local.INFO: TCP Data received {"connection_id":154356,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:55:57] local.INFO: Processing buffer {"connection_id":154356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:55:57] local.INFO: IMEI packet received {"connection_id":154356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":154356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:55:58] local.INFO: TCP Data received {"connection_id":154356,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb335e00012d18b9000722f830006500ca25..."} 
[2026-08-10 15:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb335e00012d18b9000722f830006500ca25..."} 
[2026-08-10 15:55:58] local.INFO: Processing buffer {"connection_id":154356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb335e00012d18b9000722f830006500ca25..."} 
[2026-08-10 15:55:58] local.INFO: Packet analysis {"connection_id":154356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb33"} 
[2026-08-10 15:55:58] local.INFO: Extracted packet for processing {"connection_id":154356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb33"} 
[2026-08-10 15:55:58] local.INFO: GPS Element Parsed {"raw_longitude":756594944,"raw_latitude":119732272,"longitude_deg":75.6594944,"latitude_deg":11.9732272,"altitude":101,"angle":202,"satellites":37,"speed":31,"hex_longitude":"2d18b900","hex_latitude":"0722f830","is_valid_coordinates":true} 
[2026-08-10 15:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307504128001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11482225698668544,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782369951927869440,"note":"Value kept but may cause issues"} 
[2026-08-10 15:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786357440000,"timestamp_ms":1786357440000,"timestamp_seconds":1786357440,"priority":1,"record_length":96,"hex_timestamp":"0000019feb335e00"} 
[2026-08-10 15:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 15:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307504128001,"66":14341,"137":206,"83":42752,"24":31,"16":11482225698668544,"45":1782369951927869440},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-10 15:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307504128001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:55:58] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-10 15:55:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-10 15:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11482225698668544,"km_value":11482225698668.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782369951927869440,"description":"Unknown IO ID 45"} 
[2026-08-10 15:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307504128001,"power":14341,"unknown_137":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1782369951927869440}} 
[2026-08-10 15:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":154356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:55:58] local.INFO: GPS data processed {"connection_id":154356,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:55:58] local.INFO: Acknowledgment sent {"connection_id":154356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:55:58] local.INFO: TCP Data received {"connection_id":151586,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:55:58] local.INFO: Processing buffer {"connection_id":151586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:55:58] local.INFO: IMEI packet received {"connection_id":151586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":151586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:56:04] local.INFO: TCP Data received {"connection_id":151586,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:56:04] local.INFO: Processing buffer {"connection_id":151586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:56:04] local.INFO: IMEI packet received {"connection_id":151586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":151586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:56:05] local.INFO: TCP Data received {"connection_id":151586,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:56:05] local.INFO: Processing buffer {"connection_id":151586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:56:05] local.INFO: Packet analysis {"connection_id":151586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:05] local.INFO: Extracted packet for processing {"connection_id":151586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":41,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307442944001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786357500000,"timestamp_ms":1786357500000,"timestamp_seconds":1786357500,"priority":1,"record_length":96,"hex_timestamp":"0000019feb344860"} 
[2026-08-10 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-08-10 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:56: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-08-10 15:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307442944001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307442944001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:56:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307442944001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":151586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:56:05] local.INFO: GPS data processed {"connection_id":151586,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:56:05] local.INFO: Acknowledgment sent {"connection_id":151586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:56:11] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:56:11] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:56:11] local.INFO: IMEI packet received {"connection_id":151587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":151587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:56:12] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:56:12] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:56:12] local.INFO: IMEI packet received {"connection_id":151587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":151587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:56:16] local.INFO: TCP Data received {"connection_id":151983,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3463b8012d0b204007059db80020013212..."} 
[2026-08-10 15:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3463b8012d0b204007059db80020013212..."} 
[2026-08-10 15:56:16] local.INFO: Processing buffer {"connection_id":151983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3463b8012d0b204007059db80020013212..."} 
[2026-08-10 15:56:16] local.INFO: Packet analysis {"connection_id":151983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:16] local.INFO: Extracted packet for processing {"connection_id":151983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:16] local.INFO: GPS Element Parsed {"raw_longitude":755703872,"raw_latitude":117808568,"longitude_deg":75.5703872,"latitude_deg":11.7808568,"altitude":32,"angle":306,"satellites":18,"speed":8,"hex_longitude":"2d0b2040","hex_latitude":"07059db8","is_valid_coordinates":true} 
[2026-08-10 15:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307521536001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27426647539974144,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801781501319280640,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786357507000,"timestamp_ms":1786357507000,"timestamp_seconds":1786357507,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3463b8"} 
[2026-08-10 15:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 15:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307521536001,"66":14428,"153":206,"94":10240,"24":8,"16":27426647539974144,"45":801781501319280640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 15:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307521536001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:56:16] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 15:56:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27426647539974144,"km_value":27426647539974.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":801781501319280640,"description":"Unknown IO ID 45"} 
[2026-08-10 15:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307521536001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":801781501319280640}} 
[2026-08-10 15:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":151983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620447,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:56:16] local.INFO: GPS data processed {"connection_id":151983,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:56:16] local.INFO: Acknowledgment sent {"connection_id":151983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:56:17] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:56:17] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:56:17] local.INFO: IMEI packet received {"connection_id":151587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":151587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:56:18] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb346b88012d7a664005eb9948000000461e..."} 
[2026-08-10 15:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb346b88012d7a664005eb9948000000461e..."} 
[2026-08-10 15:56:18] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb346b88012d7a664005eb9948000000461e..."} 
[2026-08-10 15:56:18] local.INFO: Packet analysis {"connection_id":151587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:18] local.INFO: Extracted packet for processing {"connection_id":151587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:18] local.INFO: GPS Element Parsed {"raw_longitude":762996288,"raw_latitude":99326280,"longitude_deg":76.2996288,"latitude_deg":9.932628,"altitude":0,"angle":70,"satellites":30,"speed":20,"hex_longitude":"2d7a6640","hex_latitude":"05eb9948","is_valid_coordinates":true} 
[2026-08-10 15:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520768001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117226051398008832,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816570352191025152,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56: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-08-10 15:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786357509000,"timestamp_ms":1786357509000,"timestamp_seconds":1786357509,"priority":1,"record_length":96,"hex_timestamp":"0000019feb346b88"} 
[2026-08-10 15:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-10 15:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520768001,"66":12906,"163":206,"87":13824,"24":20,"16":117226051398008832,"45":8816570352191025152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 15:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520768001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:56:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 15:56:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117226051398008832,"km_value":117226051398008.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816570352191025152,"description":"Unknown IO ID 45"} 
[2026-08-10 15:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520768001,"power":12906,"unknown_163":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8816570352191025152}} 
[2026-08-10 15:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":151587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:56:18] local.INFO: GPS data processed {"connection_id":151587,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:56:18] local.INFO: Acknowledgment sent {"connection_id":151587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:56:32] local.INFO: TCP Data received {"connection_id":151588,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:56:32] local.INFO: Processing buffer {"connection_id":151588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:56:32] local.INFO: IMEI packet received {"connection_id":151588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":151588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:56:37] local.INFO: TCP Data received {"connection_id":151586,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:56:37] local.INFO: Processing buffer {"connection_id":151586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:56:37] local.INFO: Packet analysis {"connection_id":151586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:37] local.INFO: Extracted packet for processing {"connection_id":151586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":41,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307442944001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786357500000,"timestamp_ms":1786357500000,"timestamp_seconds":1786357500,"priority":1,"record_length":96,"hex_timestamp":"0000019feb344860"} 
[2026-08-10 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-08-10 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 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-08-10 15:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:56: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-08-10 15:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307442944001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307442944001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:56:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307442944001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":151586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:56:37] local.INFO: GPS data processed {"connection_id":151586,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:56:37] local.INFO: Acknowledgment sent {"connection_id":151586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:56:37] local.INFO: TCP Data received {"connection_id":151588,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:56:37] local.INFO: Processing buffer {"connection_id":151588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:56:37] local.INFO: IMEI packet received {"connection_id":151588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":151588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:56:38] local.INFO: TCP Data received {"connection_id":151588,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3467a0012d0b1fc007059d98001f010612..."} 
[2026-08-10 15:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3467a0012d0b1fc007059d98001f010612..."} 
[2026-08-10 15:56:38] local.INFO: Processing buffer {"connection_id":151588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3467a0012d0b1fc007059d98001f010612..."} 
[2026-08-10 15:56:38] local.INFO: Packet analysis {"connection_id":151588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:38] local.INFO: Extracted packet for processing {"connection_id":151588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:38] local.INFO: GPS Element Parsed {"raw_longitude":755703744,"raw_latitude":117808536,"longitude_deg":75.5703744,"latitude_deg":11.7808536,"altitude":31,"angle":262,"satellites":18,"speed":8,"hex_longitude":"2d0b1fc0","hex_latitude":"07059d98","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307521792001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27426656129908736,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801711132575119360,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786357508000,"timestamp_ms":1786357508000,"timestamp_seconds":1786357508,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3467a0"} 
[2026-08-10 15:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 15:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307521792001,"66":14559,"153":206,"94":10240,"24":8,"16":27426656129908736,"45":801711132575119360},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 15:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307521792001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:56:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 15:56:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27426656129908736,"km_value":27426656129908.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":801711132575119360,"description":"Unknown IO ID 45"} 
[2026-08-10 15:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307521792001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":801711132575119360}} 
[2026-08-10 15:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":151588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620450,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:56:38] local.INFO: GPS data processed {"connection_id":151588,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:56:38] local.INFO: Acknowledgment sent {"connection_id":151588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:56:47] local.INFO: TCP Data received {"connection_id":154357,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:56:47] local.INFO: Processing buffer {"connection_id":154357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:56:47] local.INFO: IMEI packet received {"connection_id":154357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":154357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:56:49] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb34aa08012d7a884005eba4d8000000441e..."} 
[2026-08-10 15:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb34aa08012d7a884005eba4d8000000441e..."} 
[2026-08-10 15:56:49] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb34aa08012d7a884005eba4d8000000441e..."} 
[2026-08-10 15:56:49] local.INFO: Packet analysis {"connection_id":151587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:49] local.INFO: Extracted packet for processing {"connection_id":151587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:49] local.INFO: GPS Element Parsed {"raw_longitude":763004992,"raw_latitude":99329240,"longitude_deg":76.3004992,"latitude_deg":9.932924,"altitude":0,"angle":68,"satellites":30,"speed":24,"hex_longitude":"2d7a8840","hex_latitude":"05eba4d8","is_valid_coordinates":true} 
[2026-08-10 15:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307522304001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117226493779640320,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819807314423400448,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786357525000,"timestamp_ms":1786357525000,"timestamp_seconds":1786357525,"priority":1,"record_length":96,"hex_timestamp":"0000019feb34aa08"} 
[2026-08-10 15:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:56: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-08-10 15:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-10 15:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307522304001,"66":13048,"163":206,"87":13824,"24":24,"16":117226493779640320,"45":8819807314423400448},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 15:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307522304001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:56:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 15:56:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117226493779640320,"km_value":117226493779640.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819807314423400448,"description":"Unknown IO ID 45"} 
[2026-08-10 15:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307522304001,"power":13048,"unknown_163":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8819807314423400448}} 
[2026-08-10 15:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":151587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:56:49] local.INFO: GPS data processed {"connection_id":151587,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:56:49] local.INFO: Acknowledgment sent {"connection_id":151587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:56:52] local.INFO: TCP Data received {"connection_id":154357,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:56:52] local.INFO: Processing buffer {"connection_id":154357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:56:52] local.INFO: IMEI packet received {"connection_id":154357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":154357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:56:52] local.INFO: TCP Data received {"connection_id":154357,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb347358012d18658007221498005500d524..."} 
[2026-08-10 15:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb347358012d18658007221498005500d524..."} 
[2026-08-10 15:56:52] local.INFO: Processing buffer {"connection_id":154357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb347358012d18658007221498005500d524..."} 
[2026-08-10 15:56:52] local.INFO: Packet analysis {"connection_id":154357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:52] local.INFO: Extracted packet for processing {"connection_id":154357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:52] local.INFO: GPS Element Parsed {"raw_longitude":756573568,"raw_latitude":119674008,"longitude_deg":75.6573568,"latitude_deg":11.9674008,"altitude":85,"angle":213,"satellites":36,"speed":35,"hex_longitude":"2d186580","hex_latitude":"07221498","is_valid_coordinates":true} 
[2026-08-10 15:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520256001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485343844925440,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763792603451668480,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786357511000,"timestamp_ms":1786357511000,"timestamp_seconds":1786357511,"priority":1,"record_length":96,"hex_timestamp":"0000019feb347358"} 
[2026-08-10 15:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:56: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":9,"data_length":795,"current_offset":136} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2377900603419395072,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3946030160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3418423296,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1677721600,"corrected_to":0} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3718988134841099264,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2542272623,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221693116,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612042274058669,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2506745775636136997,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:52] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,120,28,24,241,158,16,205,159,45,192,79,97,37,10,66,9,112,106,40,204,242,64,1,240,235,34,4,113,32,172,162,168,239,50,105,2,7,108,33,164,174],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0},{"io_id":204,"original":1677721600,"validated":0}]} 
[2026-08-10 15:56:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6485416727385079808,"timestamp_seconds":6485416727385080.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520256001,"66":12667,"120":206,"28":31744,"24":35,"16":11485343844925440,"45":1763792603451668480},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 15:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520256001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:56:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 15:56:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 15:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485343844925440,"km_value":11485343844925.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763792603451668480,"description":"Unknown IO ID 45"} 
[2026-08-10 15:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520256001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1763792603451668480}} 
[2026-08-10 15:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":154357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:56:53] local.INFO: GPS data processed {"connection_id":154357,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:56:53] local.INFO: Acknowledgment sent {"connection_id":154357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:56:58] local.INFO: TCP Data received {"connection_id":154357,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb349a68012d1859c0072201e8005000b727..."} 
[2026-08-10 15:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb349a68012d1859c0072201e8005000b727..."} 
[2026-08-10 15:56:58] local.INFO: Processing buffer {"connection_id":154357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb349a68012d1859c0072201e8005000b727..."} 
[2026-08-10 15:56:58] local.INFO: Packet analysis {"connection_id":154357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:58] local.INFO: Extracted packet for processing {"connection_id":154357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119669224,"longitude_deg":75.657056,"latitude_deg":11.9669224,"altitude":80,"angle":183,"satellites":39,"speed":6,"hex_longitude":"2d1859c0","hex_latitude":"072201e8","is_valid_coordinates":true} 
[2026-08-10 15:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307522816001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485614427865088,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757951997682948096,"note":"Value kept but may cause issues"} 
[2026-08-10 15:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786357521000,"timestamp_ms":1786357521000,"timestamp_seconds":1786357521,"priority":1,"record_length":96,"hex_timestamp":"0000019feb349a68"} 
[2026-08-10 15:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 15:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307522816001,"66":12722,"120":206,"28":31744,"24":6,"16":11485614427865088,"45":1757951997682948096},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 15:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307522816001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:56:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 15:56:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 15:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485614427865088,"km_value":11485614427865.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757951997682948096,"description":"Unknown IO ID 45"} 
[2026-08-10 15:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307522816001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1757951997682948096}} 
[2026-08-10 15:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":154357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:56:58] local.INFO: GPS data processed {"connection_id":154357,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:56:58] local.INFO: Acknowledgment sent {"connection_id":154357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:57:04] local.INFO: TCP Data received {"connection_id":151589,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:57:04] local.INFO: Processing buffer {"connection_id":151589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:57:04] local.INFO: IMEI packet received {"connection_id":151589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":151589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:57:07] local.INFO: TCP Data received {"connection_id":152903,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:57:07] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:57:07] local.INFO: IMEI packet received {"connection_id":152903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":152903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:57:09] local.INFO: TCP Data received {"connection_id":151589,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:57:09] local.INFO: Processing buffer {"connection_id":151589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:57:09] local.INFO: IMEI packet received {"connection_id":151589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":151589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:57:10] local.INFO: TCP Data received {"connection_id":151588,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb34adf0012d0afc4007059b100021010712..."} 
[2026-08-10 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb34adf0012d0afc4007059b100021010712..."} 
[2026-08-10 15:57:10] local.INFO: Processing buffer {"connection_id":151588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb34adf0012d0afc4007059b100021010712..."} 
[2026-08-10 15:57:10] local.INFO: Packet analysis {"connection_id":151588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:57:10] local.INFO: Extracted packet for processing {"connection_id":151588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:57:10] local.INFO: GPS Element Parsed {"raw_longitude":755694656,"raw_latitude":117807888,"longitude_deg":75.5694656,"latitude_deg":11.7807888,"altitude":33,"angle":263,"satellites":18,"speed":15,"hex_longitude":"2d0afc40","hex_latitude":"07059b10","is_valid_coordinates":true} 
[2026-08-10 15:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307522048001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27427085626638336,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801570395086755840,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786357526000,"timestamp_ms":1786357526000,"timestamp_seconds":1786357526,"priority":1,"record_length":96,"hex_timestamp":"0000019feb34adf0"} 
[2026-08-10 15:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15: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-08-10 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 15:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307522048001,"66":14559,"153":206,"94":10240,"24":15,"16":27427085626638336,"45":801570395086755840},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 15:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307522048001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:57:10] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 15:57:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27427085626638336,"km_value":27427085626638.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":801570395086755840,"description":"Unknown IO ID 45"} 
[2026-08-10 15:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307522048001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":801570395086755840}} 
[2026-08-10 15:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":151588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620454,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:57:10] local.INFO: GPS data processed {"connection_id":151588,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:57:10] local.INFO: Acknowledgment sent {"connection_id":151588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:57:10] local.INFO: TCP Data received {"connection_id":151589,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:57:10] local.INFO: Processing buffer {"connection_id":151589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:57:10] local.INFO: Packet analysis {"connection_id":151589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:57:10] local.INFO: Extracted packet for processing {"connection_id":151589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":41,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307442944001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786357500000,"timestamp_ms":1786357500000,"timestamp_seconds":1786357500,"priority":1,"record_length":96,"hex_timestamp":"0000019feb344860"} 
[2026-08-10 15:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:57: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-08-10 15:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307442944001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307442944001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:57:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307442944001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":151589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:57:10] local.INFO: GPS data processed {"connection_id":151589,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:57:10] local.INFO: Acknowledgment sent {"connection_id":151589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:57:12] local.INFO: TCP Data received {"connection_id":152903,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:57:12] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:57:12] local.INFO: IMEI packet received {"connection_id":152903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":152903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:57:13] local.INFO: TCP Data received {"connection_id":152903,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb34dcd0012d7aab0005ebb2a0000000461f..."} 
[2026-08-10 15:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb34dcd0012d7aab0005ebb2a0000000461f..."} 
[2026-08-10 15:57:13] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb34dcd0012d7aab0005ebb2a0000000461f..."} 
[2026-08-10 15:57:13] local.INFO: Packet analysis {"connection_id":152903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:57:13] local.INFO: Extracted packet for processing {"connection_id":152903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763013888,"raw_latitude":99332768,"longitude_deg":76.3013888,"latitude_deg":9.9332768,"altitude":0,"angle":70,"satellites":31,"speed":29,"hex_longitude":"2d7aab00","hex_latitude":"05ebb2a0","is_valid_coordinates":true} 
[2026-08-10 15:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307526400001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117226953341140992,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829377463632320512,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57: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-08-10 15:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786357538000,"timestamp_ms":1786357538000,"timestamp_seconds":1786357538,"priority":1,"record_length":96,"hex_timestamp":"0000019feb34dcd0"} 
[2026-08-10 15:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-10 15:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307526400001,"66":13276,"163":206,"87":13824,"24":29,"16":117226953341140992,"45":8829377463632320512},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-10 15:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307526400001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:57:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-10 15:57:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117226953341140992,"km_value":117226953341140.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829377463632320512,"description":"Unknown IO ID 45"} 
[2026-08-10 15:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307526400001,"power":13276,"unknown_163":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8829377463632320512}} 
[2026-08-10 15:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":152903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:57:13] local.INFO: GPS data processed {"connection_id":152903,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:57:13] local.INFO: Acknowledgment sent {"connection_id":152903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:57:14] local.INFO: TCP Data received {"connection_id":151589,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:57:14] local.INFO: Processing buffer {"connection_id":151589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:57:14] local.INFO: Packet analysis {"connection_id":151589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:57:14] local.INFO: Extracted packet for processing {"connection_id":151589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":41,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307442944001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786357500000,"timestamp_ms":1786357500000,"timestamp_seconds":1786357500,"priority":1,"record_length":96,"hex_timestamp":"0000019feb344860"} 
[2026-08-10 15:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:57: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-08-10 15:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307442944001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307442944001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:57:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307442944001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":151589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:57:14] local.INFO: GPS data processed {"connection_id":151589,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:57:14] local.INFO: Acknowledgment sent {"connection_id":151589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:57:14] local.INFO: TCP Data received {"connection_id":152903,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb351380012d7acc8005ebc1900008003f24..."} 
[2026-08-10 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb351380012d7acc8005ebc1900008003f24..."} 
[2026-08-10 15:57:14] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb351380012d7acc8005ebc1900008003f24..."} 
[2026-08-10 15:57:14] local.INFO: Packet analysis {"connection_id":152903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:57:14] local.INFO: Extracted packet for processing {"connection_id":152903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763022464,"raw_latitude":99336592,"longitude_deg":76.3022464,"latitude_deg":9.9336592,"altitude":8,"angle":63,"satellites":36,"speed":21,"hex_longitude":"2d7acc80","hex_latitude":"05ebc190","is_valid_coordinates":true} 
[2026-08-10 15:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307529728001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117227400017739776,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839158719073918976,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786357552000,"timestamp_ms":1786357552000,"timestamp_seconds":1786357552,"priority":1,"record_length":96,"hex_timestamp":"0000019feb351380"} 
[2026-08-10 15:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 15:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307529728001,"66":13200,"99":206,"87":13824,"24":21,"16":117227400017739776,"45":8839158719073918976},"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-08-10 15:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307529728001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:57:14] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-10 15:57:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117227400017739776,"km_value":117227400017739.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839158719073918976,"description":"Unknown IO ID 45"} 
[2026-08-10 15:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307529728001,"power":13200,"unknown_99":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8839158719073918976}} 
[2026-08-10 15:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":152903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:57:14] local.INFO: GPS data processed {"connection_id":152903,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:57:14] local.INFO: Acknowledgment sent {"connection_id":152903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:57:38] local.INFO: TCP Data received {"connection_id":154358,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:57:38] local.INFO: Processing buffer {"connection_id":154358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:57:38] local.INFO: IMEI packet received {"connection_id":154358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":154358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:57:42] local.INFO: TCP Data received {"connection_id":154359,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:57:42] local.INFO: Processing buffer {"connection_id":154359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:57:42] local.INFO: IMEI packet received {"connection_id":154359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":154359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:57:42] local.INFO: TCP Data received {"connection_id":154358,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:57:42] local.INFO: Processing buffer {"connection_id":154358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:57:42] local.INFO: IMEI packet received {"connection_id":154358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":154358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:57:43] local.INFO: TCP Data received {"connection_id":154358,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb364fe8012d0aadc007058878001f00fa14..."} 
[2026-08-10 15:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb364fe8012d0aadc007058878001f00fa14..."} 
[2026-08-10 15:57:43] local.INFO: Processing buffer {"connection_id":154358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb364fe8012d0aadc007058878001f00fa14..."} 
[2026-08-10 15:57:43] local.INFO: Packet analysis {"connection_id":154358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb36"} 
[2026-08-10 15:57:43] local.INFO: Extracted packet for processing {"connection_id":154358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb36"} 
[2026-08-10 15:57:43] local.INFO: GPS Element Parsed {"raw_longitude":755674560,"raw_latitude":117803128,"longitude_deg":75.567456,"latitude_deg":11.7803128,"altitude":31,"angle":250,"satellites":20,"speed":14,"hex_longitude":"2d0aadc0","hex_latitude":"07058878","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307552768001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27428090648985600,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":771030360112340992,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786357633000,"timestamp_ms":1786357633000,"timestamp_seconds":1786357633,"priority":1,"record_length":96,"hex_timestamp":"0000019feb364fe8"} 
[2026-08-10 15:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 15:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":154358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":154358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":154358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307552768001,"66":14439,"153":206,"94":10240,"24":14,"16":27428090648985600,"45":771030360112340992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 15:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307552768001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:57:43] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 15:57:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27428090648985600,"km_value":27428090648985.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":771030360112340992,"description":"Unknown IO ID 45"} 
[2026-08-10 15:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307552768001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":771030360112340992}} 
[2026-08-10 15:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":154358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:57:43] local.INFO: GPS data processed {"connection_id":154358,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:57:43] local.INFO: Acknowledgment sent {"connection_id":154358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:57:44] local.INFO: TCP Data received {"connection_id":154359,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:57:44] local.INFO: Processing buffer {"connection_id":154359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:57:44] local.INFO: IMEI packet received {"connection_id":154359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":154359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:57:45] local.INFO: TCP Data received {"connection_id":154359,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb34ec70012d18598007220088005000b728..."} 
[2026-08-10 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb34ec70012d18598007220088005000b728..."} 
[2026-08-10 15:57:45] local.INFO: Processing buffer {"connection_id":154359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb34ec70012d18598007220088005000b728..."} 
[2026-08-10 15:57:45] local.INFO: Packet analysis {"connection_id":154359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:57:45] local.INFO: Extracted packet for processing {"connection_id":154359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668872,"longitude_deg":75.6570496,"latitude_deg":11.9668872,"altitude":80,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-08-10 15:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307525376001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485635902701568,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705373184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57: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-08-10 15:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786357542000,"timestamp_ms":1786357542000,"timestamp_seconds":1786357542,"priority":1,"record_length":96,"hex_timestamp":"0000019feb34ec70"} 
[2026-08-10 15:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 15:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307525376001,"66":11863,"120":206,"28":31744,"24":0,"16":11485635902701568,"45":1754644666705373184},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 15:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307525376001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:57:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 15:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 15:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485635902701568,"km_value":11485635902701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705373184,"description":"Unknown IO ID 45"} 
[2026-08-10 15:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307525376001,"power":11863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754644666705373184}} 
[2026-08-10 15:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":154359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:57:45] local.INFO: GPS data processed {"connection_id":154359,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:57:45] local.INFO: Acknowledgment sent {"connection_id":154359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:57:46] local.INFO: TCP Data received {"connection_id":152903,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3555e8012d7aec0005ebd1b8000b003f25..."} 
[2026-08-10 15:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3555e8012d7aec0005ebd1b8000b003f25..."} 
[2026-08-10 15:57:46] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3555e8012d7aec0005ebd1b8000b003f25..."} 
[2026-08-10 15:57:46] local.INFO: Packet analysis {"connection_id":152903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:57:46] local.INFO: Extracted packet for processing {"connection_id":152903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:57:46] local.INFO: GPS Element Parsed {"raw_longitude":763030528,"raw_latitude":99340728,"longitude_deg":76.3030528,"latitude_deg":9.9340728,"altitude":11,"angle":63,"satellites":37,"speed":22,"hex_longitude":"2d7aec00","hex_latitude":"05ebd1b8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307533312001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117227833809436672,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848588130794704896,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786357569000,"timestamp_ms":1786357569000,"timestamp_seconds":1786357569,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3555e8"} 
[2026-08-10 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-08-10 15:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-10 15:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 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-08-10 15:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307533312001,"66":12917,"99":206,"87":13824,"24":22,"16":117227833809436672,"45":8848588130794704896},"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-08-10 15:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307533312001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:57:46] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-10 15:57:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117227833809436672,"km_value":117227833809436.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848588130794704896,"description":"Unknown IO ID 45"} 
[2026-08-10 15:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307533312001,"power":12917,"unknown_99":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8848588130794704896}} 
[2026-08-10 15:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":152903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:57:46] local.INFO: GPS data processed {"connection_id":152903,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:57:46] local.INFO: Acknowledgment sent {"connection_id":152903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:57:48] local.INFO: TCP Data received {"connection_id":154358,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb367310012d0aa1c007058400001e011014..."} 
[2026-08-10 15:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb367310012d0aa1c007058400001e011014..."} 
[2026-08-10 15:57:48] local.INFO: Processing buffer {"connection_id":154358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb367310012d0aa1c007058400001e011014..."} 
[2026-08-10 15:57:48] local.INFO: Packet analysis {"connection_id":154358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb36"} 
[2026-08-10 15:57:48] local.INFO: Extracted packet for processing {"connection_id":154358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb36"} 
[2026-08-10 15:57:48] local.INFO: GPS Element Parsed {"raw_longitude":755671488,"raw_latitude":117801984,"longitude_deg":75.5671488,"latitude_deg":11.7801984,"altitude":30,"angle":272,"satellites":20,"speed":9,"hex_longitude":"2d0aa1c0","hex_latitude":"07058400","is_valid_coordinates":true} 
[2026-08-10 15:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307554048001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27428249562775552,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":769482247740356608,"note":"Value kept but may cause issues"} 
[2026-08-10 15:57: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-08-10 15:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786357642000,"timestamp_ms":1786357642000,"timestamp_seconds":1786357642,"priority":1,"record_length":96,"hex_timestamp":"0000019feb367310"} 
[2026-08-10 15:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 15:57: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-08-10 15:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307554048001,"66":14407,"153":206,"94":10240,"24":9,"16":27428249562775552,"45":769482247740356608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 15:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307554048001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:57:48] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 15:57:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27428249562775552,"km_value":27428249562775.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":769482247740356608,"description":"Unknown IO ID 45"} 
[2026-08-10 15:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307554048001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":769482247740356608}} 
[2026-08-10 15:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":154358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620462,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:57:48] local.INFO: GPS data processed {"connection_id":154358,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:57:48] local.INFO: Acknowledgment sent {"connection_id":154358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:57:58] local.INFO: TCP Data received {"connection_id":152904,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:57:58] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:57:58] local.INFO: IMEI packet received {"connection_id":152904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":152904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:58:04] local.INFO: TCP Data received {"connection_id":152904,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:58:04] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:58:04] local.INFO: IMEI packet received {"connection_id":152904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":152904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:58:05] local.INFO: TCP Data received {"connection_id":152904,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:58:05] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:58:05] local.INFO: Packet analysis {"connection_id":152904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:58:05] local.INFO: Extracted packet for processing {"connection_id":152904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":41,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307442944001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786357500000,"timestamp_ms":1786357500000,"timestamp_seconds":1786357500,"priority":1,"record_length":96,"hex_timestamp":"0000019feb344860"} 
[2026-08-10 15:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:58: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-08-10 15:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307442944001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307442944001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:58:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307442944001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":152904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:58:05] local.INFO: GPS data processed {"connection_id":152904,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:58:05] local.INFO: Acknowledgment sent {"connection_id":152904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:58:07] local.INFO: TCP Data received {"connection_id":154360,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:58:07] local.INFO: Processing buffer {"connection_id":154360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:58:07] local.INFO: IMEI packet received {"connection_id":154360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":154360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:58:09] local.INFO: TCP Data received {"connection_id":154360,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:58:09] local.INFO: Processing buffer {"connection_id":154360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:58:09] local.INFO: IMEI packet received {"connection_id":154360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":154360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:58:10] local.INFO: TCP Data received {"connection_id":154360,"ip":"42.106.6.38","data_length":93,"data_hex":"00000000000000518e010000019feb359468012d7b0c0005ebe1b0000b003f26..."} 
[2026-08-10 15:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154360,"packet_length":93,"packet_hex":"00000000000000518e010000019feb359468012d7b0c0005ebe1b0000b003f26..."} 
[2026-08-10 15:58:10] local.INFO: Processing buffer {"connection_id":154360,"buffer_length":93,"buffer_hex":"00000000000000518e010000019feb359468012d7b0c0005ebe1b0000b003f26..."} 
[2026-08-10 15:58:10] local.INFO: Packet analysis {"connection_id":154360,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019feb35"} 
[2026-08-10 15:58:10] local.INFO: Extracted packet for processing {"connection_id":154360,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019feb35"} 
[2026-08-10 15:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":99344816,"longitude_deg":76.303872,"latitude_deg":9.9344816,"altitude":11,"angle":63,"satellites":38,"speed":18,"hex_longitude":"2d7b0c00","hex_latitude":"05ebe1b0","is_valid_coordinates":true} 
[2026-08-10 15:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-10 15:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:58:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:58:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 15:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154360,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-10 15:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154360,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-10 15:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154360,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-10 15:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 15:58:10] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 15:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":154360,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 15:58:10] local.ERROR: GPS data processing failed {"connection_id":154360,"error":"No valid data to process"} 
[2026-08-10 15:58:10] local.INFO: Acknowledgment sent {"connection_id":154360,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 15:58:17] local.INFO: TCP Data received {"connection_id":154359,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb353e78012d18598007220088005000b72a..."} 
[2026-08-10 15:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb353e78012d18598007220088005000b72a..."} 
[2026-08-10 15:58:17] local.INFO: Processing buffer {"connection_id":154359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb353e78012d18598007220088005000b72a..."} 
[2026-08-10 15:58:17] local.INFO: Packet analysis {"connection_id":154359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:58:17] local.INFO: Extracted packet for processing {"connection_id":154359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668872,"longitude_deg":75.6570496,"latitude_deg":11.9668872,"altitude":80,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-08-10 15:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307530752001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485635902701568,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961105408,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786357563000,"timestamp_ms":1786357563000,"timestamp_seconds":1786357563,"priority":1,"record_length":96,"hex_timestamp":"0000019feb353e78"} 
[2026-08-10 15:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-10 15:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307530752001,"66":12711,"120":206,"28":31744,"24":0,"16":11485635902701568,"45":1754574297961105408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 15:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307530752001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:58:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 15:58:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 15:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485635902701568,"km_value":11485635902701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961105408,"description":"Unknown IO ID 45"} 
[2026-08-10 15:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307530752001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754574297961105408}} 
[2026-08-10 15:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":154359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:58:17] local.INFO: GPS data processed {"connection_id":154359,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:58:17] local.INFO: Acknowledgment sent {"connection_id":154359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:58:28] local.INFO: TCP Data received {"connection_id":152905,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:58:29] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:58:29] local.INFO: IMEI packet received {"connection_id":152905,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":152905,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:58:30] local.INFO: TCP Data received {"connection_id":152905,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:58:30] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:58:30] local.INFO: IMEI packet received {"connection_id":152905,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":152905,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:58:32] local.INFO: TCP Data received {"connection_id":152905,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:58:32] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:58:32] local.INFO: IMEI packet received {"connection_id":152905,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":152905,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:58:36] local.INFO: TCP Data received {"connection_id":152905,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:58:36] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:58:36] local.INFO: IMEI packet received {"connection_id":152905,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":152905,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:58:37] local.INFO: TCP Data received {"connection_id":152905,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb376158012d0a71c00705e058001b001413..."} 
[2026-08-10 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb376158012d0a71c00705e058001b001413..."} 
[2026-08-10 15:58:37] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb376158012d0a71c00705e058001b001413..."} 
[2026-08-10 15:58:37] local.INFO: Packet analysis {"connection_id":152905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb37"} 
[2026-08-10 15:58:37] local.INFO: Extracted packet for processing {"connection_id":152905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb37"} 
[2026-08-10 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":755659200,"raw_latitude":117825624,"longitude_deg":75.56592,"latitude_deg":11.7825624,"altitude":27,"angle":20,"satellites":19,"speed":9,"hex_longitude":"2d0a71c0","hex_latitude":"0705e058","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307567872001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27429593887539200,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911560296448,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786357703000,"timestamp_ms":1786357703000,"timestamp_seconds":1786357703,"priority":1,"record_length":96,"hex_timestamp":"0000019feb376158"} 
[2026-08-10 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-08-10 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 15:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152905,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152905,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307567872001,"66":14374,"153":206,"94":10240,"24":9,"16":27429593887539200,"45":753578911560296448},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 15:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307567872001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:58:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 15:58:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27429593887539200,"km_value":27429593887539.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911560296448,"description":"Unknown IO ID 45"} 
[2026-08-10 15:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307567872001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":753578911560296448}} 
[2026-08-10 15:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":152905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620465,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:58:38] local.INFO: GPS data processed {"connection_id":152905,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:58:38] local.INFO: Acknowledgment sent {"connection_id":152905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:58:38] local.INFO: TCP Data received {"connection_id":152904,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:58:38] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:58:38] local.INFO: Packet analysis {"connection_id":152904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:58:38] local.INFO: Extracted packet for processing {"connection_id":152904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":41,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307442944001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786357500000,"timestamp_ms":1786357500000,"timestamp_seconds":1786357500,"priority":1,"record_length":96,"hex_timestamp":"0000019feb344860"} 
[2026-08-10 15:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307442944001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307442944001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:58:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307442944001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":152904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:58:38] local.INFO: GPS data processed {"connection_id":152904,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:58:38] local.INFO: Acknowledgment sent {"connection_id":152904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:58:41] local.INFO: TCP Data received {"connection_id":154360,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb35c730012d7b2e0005ebf1c8000c003d27..."} 
[2026-08-10 15:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb35c730012d7b2e0005ebf1c8000c003d27..."} 
[2026-08-10 15:58:41] local.INFO: Processing buffer {"connection_id":154360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb35c730012d7b2e0005ebf1c8000c003d27..."} 
[2026-08-10 15:58:41] local.INFO: Packet analysis {"connection_id":154360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:58:41] local.INFO: Extracted packet for processing {"connection_id":154360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763047424,"raw_latitude":99348936,"longitude_deg":76.3047424,"latitude_deg":9.9348936,"altitude":12,"angle":61,"satellites":39,"speed":37,"hex_longitude":"2d7b2e00","hex_latitude":"05ebf1c8","is_valid_coordinates":true} 
[2026-08-10 15:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307541760001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117228731457601536,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866461791817936896,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786357598000,"timestamp_ms":1786357598000,"timestamp_seconds":1786357598,"priority":1,"record_length":96,"hex_timestamp":"0000019feb35c730"} 
[2026-08-10 15:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 15:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:58: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-08-10 15:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307541760001,"66":13276,"98":206,"87":13824,"24":37,"16":117228731457601536,"45":8866461791817936896},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-10 15:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307541760001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:58:41] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-10 15:58:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117228731457601536,"km_value":117228731457601.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866461791817936896,"description":"Unknown IO ID 45"} 
[2026-08-10 15:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307541760001,"power":13276,"unknown_98":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8866461791817936896}} 
[2026-08-10 15:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":154360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:58:41] local.INFO: GPS data processed {"connection_id":154360,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:58:41] local.INFO: Acknowledgment sent {"connection_id":154360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:58:42] local.INFO: TCP Data received {"connection_id":151590,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:58:42] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:58:42] local.INFO: IMEI packet received {"connection_id":151590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":151590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:58:47] local.INFO: TCP Data received {"connection_id":151590,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:58:47] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:58:47] local.INFO: IMEI packet received {"connection_id":151590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":151590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:58:48] local.INFO: TCP Data received {"connection_id":151590,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb359080012d18598007220088005000b72a..."} 
[2026-08-10 15:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb359080012d18598007220088005000b72a..."} 
[2026-08-10 15:58:48] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb359080012d18598007220088005000b72a..."} 
[2026-08-10 15:58:48] local.INFO: Packet analysis {"connection_id":151590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:58:48] local.INFO: Extracted packet for processing {"connection_id":151590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668872,"longitude_deg":75.6570496,"latitude_deg":11.9668872,"altitude":80,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-08-10 15:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307536128001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485635902701568,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961105408,"note":"Value kept but may cause issues"} 
[2026-08-10 15:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786357584000,"timestamp_ms":1786357584000,"timestamp_seconds":1786357584,"priority":1,"record_length":96,"hex_timestamp":"0000019feb359080"} 
[2026-08-10 15:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:58: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-08-10 15:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 15:58: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-08-10 15:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307536128001,"66":12711,"120":206,"28":31744,"24":0,"16":11485635902701568,"45":1754574297961105408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 15:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307536128001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:58:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 15:58:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 15:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485635902701568,"km_value":11485635902701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961105408,"description":"Unknown IO ID 45"} 
[2026-08-10 15:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307536128001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754574297961105408}} 
[2026-08-10 15:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":151590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:58:48] local.INFO: GPS data processed {"connection_id":151590,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:58:48] local.INFO: Acknowledgment sent {"connection_id":151590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:59:05] local.INFO: TCP Data received {"connection_id":151984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:59:05] local.INFO: Processing buffer {"connection_id":151984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:59:05] local.INFO: IMEI packet received {"connection_id":151984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":151984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:59:07] local.INFO: TCP Data received {"connection_id":151985,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:59:07] local.INFO: Processing buffer {"connection_id":151985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:59:07] local.INFO: IMEI packet received {"connection_id":151985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 15:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":151985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:59:08] local.INFO: TCP Data received {"connection_id":152905,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb376540012d0a72400705e128001b002713..."} 
[2026-08-10 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb376540012d0a72400705e128001b002713..."} 
[2026-08-10 15:59:08] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb376540012d0a72400705e128001b002713..."} 
[2026-08-10 15:59:08] local.INFO: Packet analysis {"connection_id":152905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb37"} 
[2026-08-10 15:59:08] local.INFO: Extracted packet for processing {"connection_id":152905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb37"} 
[2026-08-10 15:59:08] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117825832,"longitude_deg":75.5659328,"latitude_deg":11.7825832,"altitude":27,"angle":39,"satellites":19,"speed":10,"hex_longitude":"2d0a7240","hex_latitude":"0705e128","is_valid_coordinates":true} 
[2026-08-10 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-08-10 15:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307571968001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27429602477473792,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752593749143476224,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786357704000,"timestamp_ms":1786357704000,"timestamp_seconds":1786357704,"priority":1,"record_length":96,"hex_timestamp":"0000019feb376540"} 
[2026-08-10 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-08-10 15:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 15:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 15:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152905,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152905,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307571968001,"66":14265,"153":206,"94":10240,"24":10,"16":27429602477473792,"45":752593749143476224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 15:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307571968001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:59:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 15:59:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27429602477473792,"km_value":27429602477473.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":752593749143476224,"description":"Unknown IO ID 45"} 
[2026-08-10 15:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307571968001,"power":14265,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":752593749143476224}} 
[2026-08-10 15:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":152905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620469,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:59:09] local.INFO: GPS data processed {"connection_id":152905,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:59:09] local.INFO: Acknowledgment sent {"connection_id":152905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:59:10] local.INFO: TCP Data received {"connection_id":151984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:59:10] local.INFO: Processing buffer {"connection_id":151984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:59:10] local.INFO: IMEI packet received {"connection_id":151984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 15:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":151984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:59:11] local.INFO: TCP Data received {"connection_id":151984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:59:11] local.INFO: Processing buffer {"connection_id":151984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:59:11] local.INFO: Packet analysis {"connection_id":151984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:59:11] local.INFO: Extracted packet for processing {"connection_id":151984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":41,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307442944001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786357500000,"timestamp_ms":1786357500000,"timestamp_seconds":1786357500,"priority":1,"record_length":96,"hex_timestamp":"0000019feb344860"} 
[2026-08-10 15:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:59: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-08-10 15:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307442944001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307442944001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:59:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:59:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307442944001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":151984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:59:11] local.INFO: GPS data processed {"connection_id":151984,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:59:11] local.INFO: Acknowledgment sent {"connection_id":151984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:59:12] local.INFO: TCP Data received {"connection_id":151985,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:59:12] local.INFO: Processing buffer {"connection_id":151985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 15:59:12] local.INFO: IMEI packet received {"connection_id":151985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 15:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":151985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:59:13] local.INFO: TCP Data received {"connection_id":151985,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb35ee40012d7b4f4005ec0288000e004227..."} 
[2026-08-10 15:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb35ee40012d7b4f4005ec0288000e004227..."} 
[2026-08-10 15:59:13] local.INFO: Processing buffer {"connection_id":151985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb35ee40012d7b4f4005ec0288000e004227..."} 
[2026-08-10 15:59:13] local.INFO: Packet analysis {"connection_id":151985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:59:13] local.INFO: Extracted packet for processing {"connection_id":151985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763055936,"raw_latitude":99353224,"longitude_deg":76.3055936,"latitude_deg":9.9353224,"altitude":14,"angle":66,"satellites":39,"speed":34,"hex_longitude":"2d7b4f40","hex_latitude":"05ec0288","is_valid_coordinates":true} 
[2026-08-10 15:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307545088001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117229191019102208,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876031941027153920,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786357608000,"timestamp_ms":1786357608000,"timestamp_seconds":1786357608,"priority":1,"record_length":96,"hex_timestamp":"0000019feb35ee40"} 
[2026-08-10 15:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 15:59: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-08-10 15:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307545088001,"66":13059,"98":206,"87":13824,"24":34,"16":117229191019102208,"45":8876031941027153920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-10 15:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307545088001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:59:13] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-10 15:59:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117229191019102208,"km_value":117229191019102.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876031941027153920,"description":"Unknown IO ID 45"} 
[2026-08-10 15:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307545088001,"power":13059,"unknown_98":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8876031941027153920}} 
[2026-08-10 15:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":151985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:59:13] local.INFO: GPS data processed {"connection_id":151985,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:59:13] local.INFO: Acknowledgment sent {"connection_id":151985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:59:14] local.INFO: TCP Data received {"connection_id":151984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:59:14] local.INFO: Processing buffer {"connection_id":151984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 15:59:14] local.INFO: Packet analysis {"connection_id":151984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:59:14] local.INFO: Extracted packet for processing {"connection_id":151984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 15:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":41,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 15:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307442944001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786357500000,"timestamp_ms":1786357500000,"timestamp_seconds":1786357500,"priority":1,"record_length":96,"hex_timestamp":"0000019feb344860"} 
[2026-08-10 15:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 15:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 15:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 15:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 15:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307442944001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 15:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 15:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 15:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307442944001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:59:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 15:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 15:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 15:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307442944001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 15:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":151984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:59:14] local.INFO: GPS data processed {"connection_id":151984,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:59:14] local.INFO: Acknowledgment sent {"connection_id":151984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:59:20] local.INFO: TCP Data received {"connection_id":151590,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb35e288012d18598007220088005000b727..."} 
[2026-08-10 15:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb35e288012d18598007220088005000b727..."} 
[2026-08-10 15:59:20] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb35e288012d18598007220088005000b727..."} 
[2026-08-10 15:59:20] local.INFO: Packet analysis {"connection_id":151590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:59:20] local.INFO: Extracted packet for processing {"connection_id":151590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb35"} 
[2026-08-10 15:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668872,"longitude_deg":75.6570496,"latitude_deg":11.9668872,"altitude":80,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-08-10 15:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307541504001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485635902701568,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961105408,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59: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-08-10 15:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786357605000,"timestamp_ms":1786357605000,"timestamp_seconds":1786357605,"priority":1,"record_length":96,"hex_timestamp":"0000019feb35e288"} 
[2026-08-10 15:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:59: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":167,"data_length":795,"current_offset":136} 
[2026-08-10 15:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307541504001,"66":11993,"120":206,"28":31744,"24":0,"16":11485635902701568,"45":1754574297961105408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 15:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307541504001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:59:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 15:59:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 15:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485635902701568,"km_value":11485635902701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961105408,"description":"Unknown IO ID 45"} 
[2026-08-10 15:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307541504001,"power":11993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754574297961105408}} 
[2026-08-10 15:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":151590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:59:20] local.INFO: GPS data processed {"connection_id":151590,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:59:20] local.INFO: Acknowledgment sent {"connection_id":151590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:59:30] local.INFO: TCP Data received {"connection_id":151986,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151986,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:59:30] local.INFO: Processing buffer {"connection_id":151986,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:59:30] local.INFO: IMEI packet received {"connection_id":151986,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 15:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":151986,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:59:32] local.INFO: TCP Data received {"connection_id":151986,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151986,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:59:32] local.INFO: Processing buffer {"connection_id":151986,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:59:32] local.INFO: IMEI packet received {"connection_id":151986,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":151986,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:59:36] local.INFO: TCP Data received {"connection_id":151986,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151986,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:59:36] local.INFO: Processing buffer {"connection_id":151986,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 15:59:36] local.INFO: IMEI packet received {"connection_id":151986,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 15:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":151986,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:59:37] local.INFO: TCP Data received {"connection_id":151986,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3770f8012d0a74400705e4a8001a001713..."} 
[2026-08-10 15:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3770f8012d0a74400705e4a8001a001713..."} 
[2026-08-10 15:59:37] local.INFO: Processing buffer {"connection_id":151986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3770f8012d0a74400705e4a8001a001713..."} 
[2026-08-10 15:59:37] local.INFO: Packet analysis {"connection_id":151986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb37"} 
[2026-08-10 15:59:37] local.INFO: Extracted packet for processing {"connection_id":151986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb37"} 
[2026-08-10 15:59:37] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117826728,"longitude_deg":75.565984,"latitude_deg":11.7826728,"altitude":26,"angle":23,"satellites":19,"speed":15,"hex_longitude":"2d0a7440","hex_latitude":"0705e4a8","is_valid_coordinates":true} 
[2026-08-10 15:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307572224001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27429654017081344,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752734486631884800,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786357707000,"timestamp_ms":1786357707000,"timestamp_seconds":1786357707,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3770f8"} 
[2026-08-10 15:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:59: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-08-10 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 15:59: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-08-10 15:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 15:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151986,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151986,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 15:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 15:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 15:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307572224001,"66":14407,"153":206,"94":10240,"24":15,"16":27429654017081344,"45":752734486631884800},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 15:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 15:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 15:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307572224001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:59:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 15:59:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 15:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27429654017081344,"km_value":27429654017081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":752734486631884800,"description":"Unknown IO ID 45"} 
[2026-08-10 15:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307572224001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":752734486631884800}} 
[2026-08-10 15:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":151986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620474,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:59:37] local.INFO: GPS data processed {"connection_id":151986,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:59:37] local.INFO: Acknowledgment sent {"connection_id":151986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:59:42] local.INFO: TCP Data received {"connection_id":151591,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:59:42] local.INFO: Processing buffer {"connection_id":151591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:59:42] local.INFO: IMEI packet received {"connection_id":151591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 15:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":151591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 15:59:45] local.INFO: TCP Data received {"connection_id":151985,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb361938012d7b720005ec0f60000f004827..."} 
[2026-08-10 15:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb361938012d7b720005ec0f60000f004827..."} 
[2026-08-10 15:59:45] local.INFO: Processing buffer {"connection_id":151985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb361938012d7b720005ec0f60000f004827..."} 
[2026-08-10 15:59:45] local.INFO: Packet analysis {"connection_id":151985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb36"} 
[2026-08-10 15:59:45] local.INFO: Extracted packet for processing {"connection_id":151985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb36"} 
[2026-08-10 15:59:45] local.INFO: GPS Element Parsed {"raw_longitude":763064832,"raw_latitude":99356512,"longitude_deg":76.3064832,"latitude_deg":9.9356512,"altitude":15,"angle":72,"satellites":39,"speed":36,"hex_longitude":"2d7b7200","hex_latitude":"05ec0f60","is_valid_coordinates":true} 
[2026-08-10 15:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 15:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307547648001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117229641990668288,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885390984003880960,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786357619000,"timestamp_ms":1786357619000,"timestamp_seconds":1786357619,"priority":1,"record_length":96,"hex_timestamp":"0000019feb361938"} 
[2026-08-10 15:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 15:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 15:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311853,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3946097160,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:45] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3247439880,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-08-10 15:59:45] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:45] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040045,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:45] local.WARNING: Large IO value detected {"io_id":163,"raw_value":58079734643818520,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3953448960,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,98,87,24,241,157,16,123,159,199,45,12,39,10,66,122,148,225,11,38,85,1,240,117,227,235,4,113,205,21,220,171,160,31,239,51,163,2,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0}]} 
[2026-08-10 15:59:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008879051804377088,"timestamp_seconds":1008879051804377.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 15:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 15:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 15:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 15:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307547648001,"66":13374,"98":206,"87":13824,"24":36,"16":117229641990668288,"45":8885390984003880960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-10 15:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 15:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 15:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307547648001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:59:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-10 15:59:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 15:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117229641990668288,"km_value":117229641990668.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885390984003880960,"description":"Unknown IO ID 45"} 
[2026-08-10 15:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307547648001,"power":13374,"unknown_98":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8885390984003880960}} 
[2026-08-10 15:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":151985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:59:45] local.INFO: GPS data processed {"connection_id":151985,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:59:45] local.INFO: Acknowledgment sent {"connection_id":151985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:59:47] local.INFO: TCP Data received {"connection_id":151591,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:59:47] local.INFO: Processing buffer {"connection_id":151591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 15:59:47] local.INFO: IMEI packet received {"connection_id":151591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 15:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":151591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 15:59:48] local.INFO: TCP Data received {"connection_id":151591,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb363490012d18598007220088005000b729..."} 
[2026-08-10 15:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb363490012d18598007220088005000b729..."} 
[2026-08-10 15:59:48] local.INFO: Processing buffer {"connection_id":151591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb363490012d18598007220088005000b729..."} 
[2026-08-10 15:59:48] local.INFO: Packet analysis {"connection_id":151591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb36"} 
[2026-08-10 15:59:48] local.INFO: Extracted packet for processing {"connection_id":151591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb36"} 
[2026-08-10 15:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668872,"longitude_deg":75.6570496,"latitude_deg":11.9668872,"altitude":80,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-08-10 15: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-08-10 15:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307546880001,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485635902701568,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961105408,"note":"Value kept but may cause issues"} 
[2026-08-10 15:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 15:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786357626000,"timestamp_ms":1786357626000,"timestamp_seconds":1786357626,"priority":1,"record_length":96,"hex_timestamp":"0000019feb363490"} 
[2026-08-10 15:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 15:59: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-08-10 15: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-10 15:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 15: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-08-10 15:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 15:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 15:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 15:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 15:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 15:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 15:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 15:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307546880001,"66":12374,"120":206,"28":31744,"24":0,"16":11485635902701568,"45":1754574297961105408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 15:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 15:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 15:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307546880001,"description":"Unknown IO ID 0"} 
[2026-08-10 15:59:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 15:59:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 15:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485635902701568,"km_value":11485635902701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 15:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961105408,"description":"Unknown IO ID 45"} 
[2026-08-10 15:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307546880001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754574297961105408}} 
[2026-08-10 15:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":151591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 15:59:48] local.INFO: GPS data processed {"connection_id":151591,"processed":1,"errors":0,"total":1} 
[2026-08-10 15:59:48] local.INFO: Acknowledgment sent {"connection_id":151591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 15:59:59] local.INFO: TCP Data received {"connection_id":154361,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:59:59] local.INFO: Processing buffer {"connection_id":154361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 15:59:59] local.INFO: IMEI packet received {"connection_id":154361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 15:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":154361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:00:04] local.INFO: TCP Data received {"connection_id":154361,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:00:04] local.INFO: Processing buffer {"connection_id":154361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:00:04] local.INFO: IMEI packet received {"connection_id":154361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":154361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:00:05] local.INFO: TCP Data received {"connection_id":154361,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 16:00:05] local.INFO: Processing buffer {"connection_id":154361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 16:00:05] local.INFO: Packet analysis {"connection_id":154361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 16:00:05] local.INFO: Extracted packet for processing {"connection_id":154361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 16:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":41,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307442944001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786357500000,"timestamp_ms":1786357500000,"timestamp_seconds":1786357500,"priority":1,"record_length":96,"hex_timestamp":"0000019feb344860"} 
[2026-08-10 16:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307442944001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307442944001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:00:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307442944001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":154361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:00:05] local.INFO: GPS data processed {"connection_id":154361,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:00:05] local.INFO: Acknowledgment sent {"connection_id":154361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:00:07] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:00:07] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:00:07] local.INFO: IMEI packet received {"connection_id":151592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":151592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:00:08] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.38","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 16:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 16:00:08] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 16:00:08] local.INFO: IMEI packet received {"connection_id":151592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":151592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:00:09] local.INFO: TCP Data received {"connection_id":151986,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb389dc0012d0a7400070603e8001a008414..."} 
[2026-08-10 16:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb389dc0012d0a7400070603e8001a008414..."} 
[2026-08-10 16:00:09] local.INFO: Processing buffer {"connection_id":151986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb389dc0012d0a7400070603e8001a008414..."} 
[2026-08-10 16:00:09] local.INFO: Packet analysis {"connection_id":151986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:00:09] local.INFO: Extracted packet for processing {"connection_id":151986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:00:09] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117834728,"longitude_deg":75.5659776,"latitude_deg":11.7834728,"altitude":26,"angle":132,"satellites":20,"speed":2,"hex_longitude":"2d0a7400","hex_latitude":"070603e8","is_valid_coordinates":true} 
[2026-08-10 16:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307592448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27430130758451200,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699099236352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786357784000,"timestamp_ms":1786357784000,"timestamp_seconds":1786357784,"priority":1,"record_length":96,"hex_timestamp":"0000019feb389dc0"} 
[2026-08-10 16:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 16:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151986,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151986,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307592448001,"66":14537,"153":206,"94":10240,"24":2,"16":27430130758451200,"45":753156699099236352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 16:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307592448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:00:09] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 16:00:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27430130758451200,"km_value":27430130758451.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699099236352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307592448001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753156699099236352}} 
[2026-08-10 16:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":151986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620478,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:00:09] local.INFO: GPS data processed {"connection_id":151986,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:00:09] local.INFO: Acknowledgment sent {"connection_id":151986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:00:10] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:00:10] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 16:00:10] local.INFO: IMEI packet received {"connection_id":151592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":151592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:00:11] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3876b0012d7ce60005ec3b880009005825..."} 
[2026-08-10 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3876b0012d7ce60005ec3b880009005825..."} 
[2026-08-10 16:00:11] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019feb..."} 
[2026-08-10 16:00:11] local.INFO: IMEI packet received {"connection_id":151592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":151592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:00:13] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38a590012d7d098005ec3d600009005627..."} 
[2026-08-10 16:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38a590012d7d098005ec3d600009005627..."} 
[2026-08-10 16:00:13] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019feb3876b0012d7ce60005ec3b880009005825..."} 
[2026-08-10 16:00:13] local.INFO: Packet analysis {"connection_id":151592,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:00:13] local.INFO: Extracted packet for processing {"connection_id":151592,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763160064,"raw_latitude":99367816,"longitude_deg":76.3160064,"latitude_deg":9.9367816,"altitude":9,"angle":88,"satellites":37,"speed":32,"hex_longitude":"2d7ce600","hex_latitude":"05ec3b88","is_valid_coordinates":true} 
[2026-08-10 16:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307587072001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117234263375478784,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989677462878834688,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786357774000,"timestamp_ms":1786357774000,"timestamp_seconds":1786357774,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3876b0"} 
[2026-08-10 16:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-10 16:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307587072001,"66":12765,"198":206,"87":13824,"24":32,"16":117234263375478784,"45":8989677462878834688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-10 16:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307587072001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:00:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 16:00:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117234263375478784,"km_value":117234263375478.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989677462878834688,"description":"Unknown IO ID 45"} 
[2026-08-10 16:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307587072001,"power":12765,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8989677462878834688}} 
[2026-08-10 16:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":151592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:00:13] local.INFO: GPS data processed {"connection_id":151592,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:00:13] local.INFO: Acknowledgment sent {"connection_id":151592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:00:13] local.INFO: Packet analysis {"connection_id":151592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:00:13] local.INFO: Extracted packet for processing {"connection_id":151592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763169152,"raw_latitude":99368288,"longitude_deg":76.3169152,"latitude_deg":9.9368288,"altitude":9,"angle":86,"satellites":39,"speed":26,"hex_longitude":"2d7d0980","hex_latitude":"05ec3d60","is_valid_coordinates":true} 
[2026-08-10 16:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307590144001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117234697167175680,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999880930784675840,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786357786000,"timestamp_ms":1786357786000,"timestamp_seconds":1786357786,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38a590"} 
[2026-08-10 16:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 16:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307590144001,"66":13243,"198":206,"87":13824,"24":26,"16":117234697167175680,"45":8999880930784675840},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-10 16:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307590144001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:00:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 16:00:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117234697167175680,"km_value":117234697167175.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999880930784675840,"description":"Unknown IO ID 45"} 
[2026-08-10 16:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307590144001,"power":13243,"unknown_198":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8999880930784675840}} 
[2026-08-10 16:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":151592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:00:13] local.INFO: GPS data processed {"connection_id":151592,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:00:13] local.INFO: Acknowledgment sent {"connection_id":151592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:00:20] local.INFO: TCP Data received {"connection_id":151591,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb368698012d18598007220088005000b728..."} 
[2026-08-10 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb368698012d18598007220088005000b728..."} 
[2026-08-10 16:00:20] local.INFO: Processing buffer {"connection_id":151591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb368698012d18598007220088005000b728..."} 
[2026-08-10 16:00:20] local.INFO: Packet analysis {"connection_id":151591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb36"} 
[2026-08-10 16:00:20] local.INFO: Extracted packet for processing {"connection_id":151591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb36"} 
[2026-08-10 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668872,"longitude_deg":75.6570496,"latitude_deg":11.9668872,"altitude":80,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307552256001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485635902701568,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961105408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00: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-08-10 16:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786357647000,"timestamp_ms":1786357647000,"timestamp_seconds":1786357647,"priority":1,"record_length":96,"hex_timestamp":"0000019feb368698"} 
[2026-08-10 16:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 16:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307552256001,"66":12711,"120":206,"28":31744,"24":0,"16":11485635902701568,"45":1754574297961105408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307552256001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:00:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:00:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485635902701568,"km_value":11485635902701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961105408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307552256001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754574297961105408}} 
[2026-08-10 16:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":151591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:00:20] local.INFO: GPS data processed {"connection_id":151591,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:00:20] local.INFO: Acknowledgment sent {"connection_id":151591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:00:33] local.INFO: TCP Data received {"connection_id":154362,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:00:33] local.INFO: Processing buffer {"connection_id":154362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:00:33] local.INFO: IMEI packet received {"connection_id":154362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":154362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:00:34] local.INFO: TCP Data received {"connection_id":154362,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:00:34] local.INFO: Processing buffer {"connection_id":154362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:00:34] local.INFO: IMEI packet received {"connection_id":154362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":154362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:00:35] local.INFO: TCP Data received {"connection_id":154362,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38a590012d0a7440070603d8001a007614..."} 
[2026-08-10 16:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38a590012d0a7440070603d8001a007614..."} 
[2026-08-10 16:00:35] local.INFO: Processing buffer {"connection_id":154362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38a590012d0a7440070603d8001a007614..."} 
[2026-08-10 16:00:35] local.INFO: Packet analysis {"connection_id":154362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:00:35] local.INFO: Extracted packet for processing {"connection_id":154362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:00:35] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117834712,"longitude_deg":75.565984,"latitude_deg":11.7834712,"altitude":26,"angle":118,"satellites":20,"speed":1,"hex_longitude":"2d0a7440","hex_latitude":"070603d8","is_valid_coordinates":true} 
[2026-08-10 16:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307592704001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27430135053418496,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067843405824,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786357786000,"timestamp_ms":1786357786000,"timestamp_seconds":1786357786,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38a590"} 
[2026-08-10 16:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 16:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307592704001,"66":14537,"153":206,"94":10240,"24":1,"16":27430135053418496,"45":753227067843405824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 16:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307592704001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:00:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 16:00:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27430135053418496,"km_value":27430135053418.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067843405824,"description":"Unknown IO ID 45"} 
[2026-08-10 16:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307592704001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753227067843405824}} 
[2026-08-10 16:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":154362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:00:35] local.INFO: GPS data processed {"connection_id":154362,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:00:35] local.INFO: Acknowledgment sent {"connection_id":154362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:00:37] local.INFO: TCP Data received {"connection_id":154361,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 16:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 16:00:37] local.INFO: Processing buffer {"connection_id":154361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb344860012d342a4006abc2800029010222..."} 
[2026-08-10 16:00:37] local.INFO: Packet analysis {"connection_id":154361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 16:00:37] local.INFO: Extracted packet for processing {"connection_id":154361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb34"} 
[2026-08-10 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":41,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307442944001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786357500000,"timestamp_ms":1786357500000,"timestamp_seconds":1786357500,"priority":1,"record_length":96,"hex_timestamp":"0000019feb344860"} 
[2026-08-10 16:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307442944001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307442944001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:00:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307442944001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":154361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:00:37] local.INFO: GPS data processed {"connection_id":154361,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:00:37] local.INFO: Acknowledgment sent {"connection_id":154361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:00:45] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38d470012d7d1b4005ec3ea80008004a25..."} 
[2026-08-10 16:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38d470012d7d1b4005ec3ea80008004a25..."} 
[2026-08-10 16:00:45] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38d470012d7d1b4005ec3ea80008004a25..."} 
[2026-08-10 16:00:45] local.INFO: Packet analysis {"connection_id":151592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:00:45] local.INFO: Extracted packet for processing {"connection_id":151592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:00:45] local.INFO: GPS Element Parsed {"raw_longitude":763173696,"raw_latitude":99368616,"longitude_deg":76.3173696,"latitude_deg":9.9368616,"altitude":8,"angle":74,"satellites":37,"speed":8,"hex_longitude":"2d7d1b40","hex_latitude":"05ec3ea8","is_valid_coordinates":true} 
[2026-08-10 16:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307593216001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117234911915540480,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009873292458024960,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786357798000,"timestamp_ms":1786357798000,"timestamp_seconds":1786357798,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38d470"} 
[2026-08-10 16:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 16:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307593216001,"66":12363,"110":206,"87":13824,"24":8,"16":117234911915540480,"45":9009873292458024960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 16:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307593216001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:00:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 16:00:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117234911915540480,"km_value":117234911915540.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009873292458024960,"description":"Unknown IO ID 45"} 
[2026-08-10 16:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307593216001,"power":12363,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9009873292458024960}} 
[2026-08-10 16:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":151592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:00:45] local.INFO: GPS data processed {"connection_id":151592,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:00:45] local.INFO: Acknowledgment sent {"connection_id":151592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:00:46] local.INFO: TCP Data received {"connection_id":151987,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:00:46] local.INFO: Processing buffer {"connection_id":151987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:00:46] local.INFO: IMEI packet received {"connection_id":151987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":151987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:00:47] local.INFO: TCP Data received {"connection_id":151987,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:00:47] local.INFO: Processing buffer {"connection_id":151987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:00:47] local.INFO: IMEI packet received {"connection_id":151987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":151987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:00:52] local.INFO: TCP Data received {"connection_id":151987,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:00:52] local.INFO: Processing buffer {"connection_id":151987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:00:52] local.INFO: IMEI packet received {"connection_id":151987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":151987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:00:53] local.INFO: TCP Data received {"connection_id":151987,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb36d8a0012d18598007220088005000b728..."} 
[2026-08-10 16:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb36d8a0012d18598007220088005000b728..."} 
[2026-08-10 16:00:53] local.INFO: Processing buffer {"connection_id":151987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb36d8a0012d18598007220088005000b728..."} 
[2026-08-10 16:00:53] local.INFO: Packet analysis {"connection_id":151987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb36"} 
[2026-08-10 16:00:53] local.INFO: Extracted packet for processing {"connection_id":151987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb36"} 
[2026-08-10 16:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668872,"longitude_deg":75.6570496,"latitude_deg":11.9668872,"altitude":80,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-08-10 16:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307557632001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485635902701568,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961105408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786357668000,"timestamp_ms":1786357668000,"timestamp_seconds":1786357668,"priority":1,"record_length":96,"hex_timestamp":"0000019feb36d8a0"} 
[2026-08-10 16:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 16:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307557632001,"66":12711,"120":206,"28":31744,"24":0,"16":11485635902701568,"45":1754574297961105408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307557632001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:00:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:00:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485635902701568,"km_value":11485635902701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961105408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307557632001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754574297961105408}} 
[2026-08-10 16:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":151987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:00:53] local.INFO: GPS data processed {"connection_id":151987,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:00:53] local.INFO: Acknowledgment sent {"connection_id":151987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:00:58] local.INFO: TCP Data received {"connection_id":151987,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb372aa8012d18598007220088005000b728..."} 
[2026-08-10 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb372aa8012d18598007220088005000b728..."} 
[2026-08-10 16:00:58] local.INFO: Processing buffer {"connection_id":151987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb372aa8012d18598007220088005000b728..."} 
[2026-08-10 16:00:58] local.INFO: Packet analysis {"connection_id":151987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb37"} 
[2026-08-10 16:00:58] local.INFO: Extracted packet for processing {"connection_id":151987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb37"} 
[2026-08-10 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668872,"longitude_deg":75.6570496,"latitude_deg":11.9668872,"altitude":80,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-08-10 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307563008001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485635902701568,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961105408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786357689000,"timestamp_ms":1786357689000,"timestamp_seconds":1786357689,"priority":1,"record_length":96,"hex_timestamp":"0000019feb372aa8"} 
[2026-08-10 16:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 16:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307563008001,"66":12667,"120":206,"28":31744,"24":0,"16":11485635902701568,"45":1754574297961105408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307563008001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:00:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:00:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485635902701568,"km_value":11485635902701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961105408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307563008001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754574297961105408}} 
[2026-08-10 16:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":151987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:00:58] local.INFO: GPS data processed {"connection_id":151987,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:00:58] local.INFO: Acknowledgment sent {"connection_id":151987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:00:58] local.INFO: TCP Data received {"connection_id":154363,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:00:58] local.INFO: Processing buffer {"connection_id":154363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:00:58] local.INFO: IMEI packet received {"connection_id":154363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":154363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:01:04] local.INFO: TCP Data received {"connection_id":154363,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:01:04] local.INFO: Processing buffer {"connection_id":154363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:01:04] local.INFO: IMEI packet received {"connection_id":154363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":154363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:01:05] local.INFO: TCP Data received {"connection_id":154363,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:01:05] local.INFO: Processing buffer {"connection_id":154363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:01:05] local.INFO: Packet analysis {"connection_id":154363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:01:05] local.INFO: Extracted packet for processing {"connection_id":154363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520000001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786357801000,"timestamp_ms":1786357801000,"timestamp_seconds":1786357801,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38e028"} 
[2026-08-10 16:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:01: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-08-10 16:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:01: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-08-10 16:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520000001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520000001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:01:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520000001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":154363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:01:05] local.INFO: GPS data processed {"connection_id":154363,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:01:05] local.INFO: Acknowledgment sent {"connection_id":154363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:01:06] local.INFO: TCP Data received {"connection_id":154362,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38b148012d0a7500070603e8001a006614..."} 
[2026-08-10 16:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38b148012d0a7500070603e8001a006614..."} 
[2026-08-10 16:01:06] local.INFO: Processing buffer {"connection_id":154362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38b148012d0a7500070603e8001a006614..."} 
[2026-08-10 16:01:06] local.INFO: Packet analysis {"connection_id":154362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:01:06] local.INFO: Extracted packet for processing {"connection_id":154362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834728,"longitude_deg":75.5660032,"latitude_deg":11.7834728,"altitude":26,"angle":102,"satellites":20,"speed":1,"hex_longitude":"2d0a7500","hex_latitude":"070603e8","is_valid_coordinates":true} 
[2026-08-10 16:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307593216001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27430143643353088,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587579392,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786357789000,"timestamp_ms":1786357789000,"timestamp_seconds":1786357789,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38b148"} 
[2026-08-10 16:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 16:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307593216001,"66":14396,"153":206,"94":10240,"24":1,"16":27430143643353088,"45":753297436587579392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 16:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307593216001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:01:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 16:01:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27430143643353088,"km_value":27430143643353.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587579392,"description":"Unknown IO ID 45"} 
[2026-08-10 16:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307593216001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753297436587579392}} 
[2026-08-10 16:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":154362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620488,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:01:06] local.INFO: GPS data processed {"connection_id":154362,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:01:06] local.INFO: Acknowledgment sent {"connection_id":154362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:01:07] local.INFO: TCP Data received {"connection_id":151988,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:01:07] local.INFO: Processing buffer {"connection_id":151988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:01:07] local.INFO: IMEI packet received {"connection_id":151988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":151988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:01:08] local.INFO: TCP Data received {"connection_id":151988,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:01:08] local.INFO: Processing buffer {"connection_id":151988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:01:08] local.INFO: IMEI packet received {"connection_id":151988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":151988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:01:12] local.INFO: TCP Data received {"connection_id":151988,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:01:12] local.INFO: Processing buffer {"connection_id":151988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:01:12] local.INFO: IMEI packet received {"connection_id":151988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":151988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:01:13] local.INFO: TCP Data received {"connection_id":151988,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38d858012d7d1bc005ec3ef80008003d25..."} 
[2026-08-10 16:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38d858012d7d1bc005ec3ef80008003d25..."} 
[2026-08-10 16:01:13] local.INFO: Processing buffer {"connection_id":151988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38d858012d7d1bc005ec3ef80008003d25..."} 
[2026-08-10 16:01:13] local.INFO: Packet analysis {"connection_id":151988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:01:13] local.INFO: Extracted packet for processing {"connection_id":151988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99368696,"longitude_deg":76.3173824,"latitude_deg":9.9368696,"altitude":8,"angle":61,"satellites":37,"speed":7,"hex_longitude":"2d7d1bc0","hex_latitude":"05ec3ef8","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307596288001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117234920505475072,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014869473294723072,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786357799000,"timestamp_ms":1786357799000,"timestamp_seconds":1786357799,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38d858"} 
[2026-08-10 16:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 16:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307596288001,"66":12885,"110":206,"87":13824,"24":7,"16":117234920505475072,"45":9014869473294723072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 16:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307596288001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:01:13] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 16:01:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117234920505475072,"km_value":117234920505475.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014869473294723072,"description":"Unknown IO ID 45"} 
[2026-08-10 16:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307596288001,"power":12885,"unknown_110":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9014869473294723072}} 
[2026-08-10 16:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":151988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:01:13] local.INFO: GPS data processed {"connection_id":151988,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:01:13] local.INFO: Acknowledgment sent {"connection_id":151988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:01:33] local.INFO: TCP Data received {"connection_id":152906,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152906,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:01:33] local.INFO: Processing buffer {"connection_id":152906,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:01:33] local.INFO: IMEI packet received {"connection_id":152906,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":152906,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:01:38] local.INFO: TCP Data received {"connection_id":152906,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152906,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:01:38] local.INFO: Processing buffer {"connection_id":152906,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:01:38] local.INFO: IMEI packet received {"connection_id":152906,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":152906,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:01:38] local.INFO: TCP Data received {"connection_id":152906,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb390350012d0a7500070603f0001a006414..."} 
[2026-08-10 16:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb390350012d0a7500070603f0001a006414..."} 
[2026-08-10 16:01:38] local.INFO: Processing buffer {"connection_id":152906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb390350012d0a7500070603f0001a006414..."} 
[2026-08-10 16:01:38] local.INFO: Packet analysis {"connection_id":152906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb39"} 
[2026-08-10 16:01:38] local.INFO: Extracted packet for processing {"connection_id":152906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb39"} 
[2026-08-10 16:01:38] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834736,"longitude_deg":75.5660032,"latitude_deg":11.7834736,"altitude":26,"angle":100,"satellites":20,"speed":0,"hex_longitude":"2d0a7500","hex_latitude":"070603f0","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307593984001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27430143643353088,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542820116480,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786357810000,"timestamp_ms":1786357810000,"timestamp_seconds":1786357810,"priority":1,"record_length":96,"hex_timestamp":"0000019feb390350"} 
[2026-08-10 16:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:01: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-08-10 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 16:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307593984001,"66":14428,"153":206,"94":10240,"24":0,"16":27430143643353088,"45":753508542820116480},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 16:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307593984001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:01:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 16:01:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27430143643353088,"km_value":27430143643353.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542820116480,"description":"Unknown IO ID 45"} 
[2026-08-10 16:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307593984001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753508542820116480}} 
[2026-08-10 16:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":152906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620490,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:01:38] local.INFO: GPS data processed {"connection_id":152906,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:01:38] local.INFO: Acknowledgment sent {"connection_id":152906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:01:41] local.INFO: TCP Data received {"connection_id":154363,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:01:41] local.INFO: Processing buffer {"connection_id":154363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:01:41] local.INFO: Packet analysis {"connection_id":154363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:01:41] local.INFO: Extracted packet for processing {"connection_id":154363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520000001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786357801000,"timestamp_ms":1786357801000,"timestamp_seconds":1786357801,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38e028"} 
[2026-08-10 16:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520000001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520000001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:01:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520000001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":154363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:01:41] local.INFO: GPS data processed {"connection_id":154363,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:01:41] local.INFO: Acknowledgment sent {"connection_id":154363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:01:42] local.INFO: TCP Data received {"connection_id":152907,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:01:42] local.INFO: Processing buffer {"connection_id":152907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:01:42] local.INFO: IMEI packet received {"connection_id":152907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":152907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:01:44] local.INFO: TCP Data received {"connection_id":151988,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38dc40012d7d1c4005ec3f600007003225..."} 
[2026-08-10 16:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38dc40012d7d1c4005ec3f600007003225..."} 
[2026-08-10 16:01:44] local.INFO: Processing buffer {"connection_id":151988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38dc40012d7d1c4005ec3f600007003225..."} 
[2026-08-10 16:01:44] local.INFO: Packet analysis {"connection_id":151988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:01:44] local.INFO: Extracted packet for processing {"connection_id":151988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:01:44] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99368800,"longitude_deg":76.3173952,"latitude_deg":9.93688,"altitude":7,"angle":50,"satellites":37,"speed":6,"hex_longitude":"2d7d1c40","hex_latitude":"05ec3f60","is_valid_coordinates":true} 
[2026-08-10 16:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307596544001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117234929095409664,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210783098880,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786357800000,"timestamp_ms":1786357800000,"timestamp_seconds":1786357800,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38dc40"} 
[2026-08-10 16:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 16:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307596544001,"66":12885,"110":206,"87":13824,"24":6,"16":117234929095409664,"45":9015010210783098880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-10 16:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307596544001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:01:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-10 16:01:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117234929095409664,"km_value":117234929095409.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210783098880,"description":"Unknown IO ID 45"} 
[2026-08-10 16:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307596544001,"power":12885,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9015010210783098880}} 
[2026-08-10 16:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":151988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:01:44] local.INFO: GPS data processed {"connection_id":151988,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:01:44] local.INFO: Acknowledgment sent {"connection_id":151988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:01:47] local.INFO: TCP Data received {"connection_id":152907,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:01:47] local.INFO: Processing buffer {"connection_id":152907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:01:47] local.INFO: IMEI packet received {"connection_id":152907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":152907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:01:48] local.INFO: TCP Data received {"connection_id":152907,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb377cb0012d18598007220088005000b72a..."} 
[2026-08-10 16:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb377cb0012d18598007220088005000b72a..."} 
[2026-08-10 16:01:48] local.INFO: Processing buffer {"connection_id":152907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb377cb0012d18598007220088005000b72a..."} 
[2026-08-10 16:01:48] local.INFO: Packet analysis {"connection_id":152907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb37"} 
[2026-08-10 16:01:48] local.INFO: Extracted packet for processing {"connection_id":152907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb37"} 
[2026-08-10 16:01:48] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668872,"longitude_deg":75.6570496,"latitude_deg":11.9668872,"altitude":80,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-08-10 16:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307568384001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485635902701568,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961105408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786357710000,"timestamp_ms":1786357710000,"timestamp_seconds":1786357710,"priority":1,"record_length":96,"hex_timestamp":"0000019feb377cb0"} 
[2026-08-10 16:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:01: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-08-10 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 16:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307568384001,"66":12667,"120":206,"28":31744,"24":0,"16":11485635902701568,"45":1754574297961105408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307568384001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:01:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485635902701568,"km_value":11485635902701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961105408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307568384001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754574297961105408}} 
[2026-08-10 16:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":152907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:01:48] local.INFO: GPS data processed {"connection_id":152907,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:01:48] local.INFO: Acknowledgment sent {"connection_id":152907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:01:53] local.INFO: TCP Data received {"connection_id":152907,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb37ceb8012d18598007220088005000b728..."} 
[2026-08-10 16:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb37ceb8012d18598007220088005000b728..."} 
[2026-08-10 16:01:53] local.INFO: Processing buffer {"connection_id":152907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb37ceb8012d18598007220088005000b728..."} 
[2026-08-10 16:01:53] local.INFO: Packet analysis {"connection_id":152907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb37"} 
[2026-08-10 16:01:53] local.INFO: Extracted packet for processing {"connection_id":152907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb37"} 
[2026-08-10 16:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668872,"longitude_deg":75.6570496,"latitude_deg":11.9668872,"altitude":80,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-08-10 16:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307573760001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485635902701568,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961105408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786357731000,"timestamp_ms":1786357731000,"timestamp_seconds":1786357731,"priority":1,"record_length":96,"hex_timestamp":"0000019feb37ceb8"} 
[2026-08-10 16:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 16:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307573760001,"66":12645,"120":206,"28":31744,"24":0,"16":11485635902701568,"45":1754574297961105408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307573760001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:01:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:01:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485635902701568,"km_value":11485635902701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961105408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307573760001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754574297961105408}} 
[2026-08-10 16:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":152907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:01:53] local.INFO: GPS data processed {"connection_id":152907,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:01:53] local.INFO: Acknowledgment sent {"connection_id":152907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:01:58] local.INFO: TCP Data received {"connection_id":154364,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:01:58] local.INFO: Processing buffer {"connection_id":154364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:01:58] local.INFO: IMEI packet received {"connection_id":154364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":154364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:02:04] local.INFO: TCP Data received {"connection_id":154364,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:02:04] local.INFO: Processing buffer {"connection_id":154364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:02:04] local.INFO: IMEI packet received {"connection_id":154364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":154364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:02:05] local.INFO: TCP Data received {"connection_id":154364,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:02:05] local.INFO: Processing buffer {"connection_id":154364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:02:05] local.INFO: Packet analysis {"connection_id":154364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:02:05] local.INFO: Extracted packet for processing {"connection_id":154364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520000001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786357801000,"timestamp_ms":1786357801000,"timestamp_seconds":1786357801,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38e028"} 
[2026-08-10 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-08-10 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-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:02: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-08-10 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-08-10 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-08-10 16:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:02: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-08-10 16:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520000001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520000001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:02:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520000001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":154364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:02:05] local.INFO: GPS data processed {"connection_id":154364,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:02:05] local.INFO: Acknowledgment sent {"connection_id":154364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:02:07] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:02:07] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:02:07] local.INFO: IMEI packet received {"connection_id":151593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":151593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:02:08] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:02:08] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:02:08] local.INFO: IMEI packet received {"connection_id":151593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":151593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:02:10] local.INFO: TCP Data received {"connection_id":152906,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb392678012d0a744007060430001a00f114..."} 
[2026-08-10 16:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb392678012d0a744007060430001a00f114..."} 
[2026-08-10 16:02:10] local.INFO: Processing buffer {"connection_id":152906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb392678012d0a744007060430001a00f114..."} 
[2026-08-10 16:02:10] local.INFO: Packet analysis {"connection_id":152906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb39"} 
[2026-08-10 16:02:10] local.INFO: Extracted packet for processing {"connection_id":152906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb39"} 
[2026-08-10 16:02:10] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117834800,"longitude_deg":75.565984,"latitude_deg":11.78348,"altitude":26,"angle":241,"satellites":20,"speed":1,"hex_longitude":"2d0a7440","hex_latitude":"07060430","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307599360001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27430152233287680,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542820118528,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786357819000,"timestamp_ms":1786357819000,"timestamp_seconds":1786357819,"priority":1,"record_length":96,"hex_timestamp":"0000019feb392678"} 
[2026-08-10 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-08-10 16:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 16:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307599360001,"66":14374,"153":206,"94":10240,"24":1,"16":27430152233287680,"45":753508542820118528},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-10 16:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307599360001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:02:10] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 16:02:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27430152233287680,"km_value":27430152233287.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542820118528,"description":"Unknown IO ID 45"} 
[2026-08-10 16:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307599360001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753508542820118528}} 
[2026-08-10 16:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":152906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620496,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:02:10] local.INFO: GPS data processed {"connection_id":152906,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:02:10] local.INFO: Acknowledgment sent {"connection_id":152906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:02:12] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:02:12] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:02:12] local.INFO: IMEI packet received {"connection_id":151593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":151593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:02:13] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3a3400012d7c87c005ec3b380003010c24..."} 
[2026-08-10 16:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3a3400012d7c87c005ec3b380003010c24..."} 
[2026-08-10 16:02:13] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3a3400012d7c87c005ec3b380003010c24..."} 
[2026-08-10 16:02:13] local.INFO: Packet analysis {"connection_id":151593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3a"} 
[2026-08-10 16:02:13] local.INFO: Extracted packet for processing {"connection_id":151593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3a"} 
[2026-08-10 16:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763135936,"raw_latitude":99367736,"longitude_deg":76.3135936,"latitude_deg":9.9367736,"altitude":3,"angle":268,"satellites":36,"speed":20,"hex_longitude":"2d7c87c0","hex_latitude":"05ec3b38","is_valid_coordinates":true} 
[2026-08-10 16:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307616256001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117236814586052608,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983485013391370240,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786357888000,"timestamp_ms":1786357888000,"timestamp_seconds":1786357888,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3a3400"} 
[2026-08-10 16:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 16:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307616256001,"66":13091,"197":206,"87":13824,"24":20,"16":117236814586052608,"45":8983485013391370240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-10 16:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307616256001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:02:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-10 16:02:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117236814586052608,"km_value":117236814586052.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983485013391370240,"description":"Unknown IO ID 45"} 
[2026-08-10 16:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307616256001,"power":13091,"unknown_197":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8983485013391370240}} 
[2026-08-10 16:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":151593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:02:13] local.INFO: GPS data processed {"connection_id":151593,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:02:13] local.INFO: Acknowledgment sent {"connection_id":151593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:02:24] local.INFO: TCP Data received {"connection_id":152907,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3820c0012d18598007220088005000b729..."} 
[2026-08-10 16:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3820c0012d18598007220088005000b729..."} 
[2026-08-10 16:02:24] local.INFO: Processing buffer {"connection_id":152907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3820c0012d18598007220088005000b729..."} 
[2026-08-10 16:02:24] local.INFO: Packet analysis {"connection_id":152907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:02:24] local.INFO: Extracted packet for processing {"connection_id":152907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668872,"longitude_deg":75.6570496,"latitude_deg":11.9668872,"altitude":80,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-08-10 16:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307579136001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485635902701568,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961105408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786357752000,"timestamp_ms":1786357752000,"timestamp_seconds":1786357752,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3820c0"} 
[2026-08-10 16:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 16:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307579136001,"66":12504,"120":206,"28":31744,"24":0,"16":11485635902701568,"45":1754574297961105408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307579136001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:02:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:02:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485635902701568,"km_value":11485635902701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961105408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307579136001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754574297961105408}} 
[2026-08-10 16:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":152907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:02:25] local.INFO: GPS data processed {"connection_id":152907,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:02:25] local.INFO: Acknowledgment sent {"connection_id":152907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:02:31] local.INFO: TCP Data received {"connection_id":151989,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151989,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:02:31] local.INFO: Processing buffer {"connection_id":151989,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:02:31] local.INFO: IMEI packet received {"connection_id":151989,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":151989,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:02:32] local.INFO: TCP Data received {"connection_id":151989,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151989,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:02:32] local.INFO: Processing buffer {"connection_id":151989,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:02:32] local.INFO: IMEI packet received {"connection_id":151989,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":151989,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:02:33] local.INFO: TCP Data received {"connection_id":151989,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-10 16:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151989,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-10 16:02:33] local.INFO: Processing buffer {"connection_id":151989,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-10 16:02:33] local.INFO: IMEI packet received {"connection_id":151989,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":151989,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:02:36] local.INFO: TCP Data received {"connection_id":154364,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:02:36] local.INFO: Processing buffer {"connection_id":154364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:02:36] local.INFO: Packet analysis {"connection_id":154364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:02:36] local.INFO: Extracted packet for processing {"connection_id":154364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520000001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786357801000,"timestamp_ms":1786357801000,"timestamp_seconds":1786357801,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38e028"} 
[2026-08-10 16:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:02: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-08-10 16:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520000001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520000001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:02:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520000001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":154364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:02:36] local.INFO: GPS data processed {"connection_id":154364,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:02:36] local.INFO: Acknowledgment sent {"connection_id":154364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:02:42] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:02:42] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:02:42] local.INFO: IMEI packet received {"connection_id":152908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":152908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:02:46] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3b2a18012d7be60005ec2ee80000009b27..."} 
[2026-08-10 16:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3b2a18012d7be60005ec2ee80000009b27..."} 
[2026-08-10 16:02:46] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3b2a18012d7be60005ec2ee80000009b27..."} 
[2026-08-10 16:02:46] local.INFO: Packet analysis {"connection_id":151593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3b"} 
[2026-08-10 16:02:46] local.INFO: Extracted packet for processing {"connection_id":151593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3b"} 
[2026-08-10 16:02:46] local.INFO: GPS Element Parsed {"raw_longitude":763094528,"raw_latitude":99364584,"longitude_deg":76.3094528,"latitude_deg":9.9364584,"altitude":0,"angle":155,"satellites":39,"speed":9,"hex_longitude":"2d7be600","hex_latitude":"05ec2ee8","is_valid_coordinates":true} 
[2026-08-10 16:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307635200001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117238846105583616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682599257634816,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786357951000,"timestamp_ms":1786357951000,"timestamp_seconds":1786357951,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3b2a18"} 
[2026-08-10 16:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-10 16:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307635200001,"66":12200,"196":206,"87":13824,"24":9,"16":117238846105583616,"45":8927682599257634816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-08-10 16:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307635200001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:02:46] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-10 16:02:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117238846105583616,"km_value":117238846105583.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682599257634816,"description":"Unknown IO ID 45"} 
[2026-08-10 16:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307635200001,"power":12200,"unknown_196":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8927682599257634816}} 
[2026-08-10 16:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":151593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:02:46] local.INFO: GPS data processed {"connection_id":151593,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:02:46] local.INFO: Acknowledgment sent {"connection_id":151593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:02:47] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:02:47] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:02:47] local.INFO: IMEI packet received {"connection_id":152908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":152908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:02:48] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3872c8012d18598007220088005000b72a..."} 
[2026-08-10 16:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3872c8012d18598007220088005000b72a..."} 
[2026-08-10 16:02:48] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3872c8012d18598007220088005000b72a..."} 
[2026-08-10 16:02:48] local.INFO: Packet analysis {"connection_id":152908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:02:48] local.INFO: Extracted packet for processing {"connection_id":152908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668872,"longitude_deg":75.6570496,"latitude_deg":11.9668872,"altitude":80,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-08-10 16:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307584512001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485635902701568,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961105408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786357773000,"timestamp_ms":1786357773000,"timestamp_seconds":1786357773,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3872c8"} 
[2026-08-10 16:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:02: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-08-10 16:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 16:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307584512001,"66":12548,"120":206,"28":31744,"24":0,"16":11485635902701568,"45":1754574297961105408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307584512001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:02:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:02:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485635902701568,"km_value":11485635902701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961105408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307584512001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754574297961105408}} 
[2026-08-10 16:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":152908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:02:48] local.INFO: GPS data processed {"connection_id":152908,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:02:48] local.INFO: Acknowledgment sent {"connection_id":152908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:03:04] local.INFO: TCP Data received {"connection_id":152909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:03:04] local.INFO: Processing buffer {"connection_id":152909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:03:04] local.INFO: IMEI packet received {"connection_id":152909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":152909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:03:09] local.INFO: TCP Data received {"connection_id":152909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:03:09] local.INFO: Processing buffer {"connection_id":152909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:03:09] local.INFO: IMEI packet received {"connection_id":152909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":152909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:03:10] local.INFO: TCP Data received {"connection_id":152909,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:03:10] local.INFO: Processing buffer {"connection_id":152909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:03:10] local.INFO: Packet analysis {"connection_id":152909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:03:10] local.INFO: Extracted packet for processing {"connection_id":152909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520000001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786357801000,"timestamp_ms":1786357801000,"timestamp_seconds":1786357801,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38e028"} 
[2026-08-10 16:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:03: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-08-10 16:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:03: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-08-10 16:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520000001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520000001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:03:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520000001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":152909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:03:10] local.INFO: GPS data processed {"connection_id":152909,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:03:10] local.INFO: Acknowledgment sent {"connection_id":152909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:03:14] local.INFO: TCP Data received {"connection_id":154365,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:03:14] local.INFO: Processing buffer {"connection_id":154365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:03:14] local.INFO: IMEI packet received {"connection_id":154365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":154365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:03:14] local.INFO: TCP Data received {"connection_id":152909,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:03:14] local.INFO: Processing buffer {"connection_id":152909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:03:14] local.INFO: Packet analysis {"connection_id":152909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:03:14] local.INFO: Extracted packet for processing {"connection_id":152909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520000001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786357801000,"timestamp_ms":1786357801000,"timestamp_seconds":1786357801,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38e028"} 
[2026-08-10 16:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520000001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520000001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:03:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520000001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":152909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:03:14] local.INFO: GPS data processed {"connection_id":152909,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:03:14] local.INFO: Acknowledgment sent {"connection_id":152909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:03:16] local.INFO: TCP Data received {"connection_id":154365,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:03:16] local.INFO: Processing buffer {"connection_id":154365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:03:16] local.INFO: IMEI packet received {"connection_id":154365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":154365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:03:19] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38a1a8012d18594007220008005100cb2a..."} 
[2026-08-10 16:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38a1a8012d18594007220008005100cb2a..."} 
[2026-08-10 16:03:19] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38a1a8012d18594007220008005100cb2a..."} 
[2026-08-10 16:03:19] local.INFO: Packet analysis {"connection_id":152908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:03:19] local.INFO: Extracted packet for processing {"connection_id":152908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668744,"longitude_deg":75.6570432,"latitude_deg":11.9668744,"altitude":81,"angle":203,"satellites":42,"speed":4,"hex_longitude":"2d185940","hex_latitude":"07220008","is_valid_coordinates":true} 
[2026-08-10 16:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307589888001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485644492636160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961105408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786357785000,"timestamp_ms":1786357785000,"timestamp_seconds":1786357785,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38a1a8"} 
[2026-08-10 16:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3946219160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3458203648,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184207712461,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2147951104,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847783,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,120,28,24,241,158,16,206,159,32,45,128,80,41,10,66,40,124,1,240,123,235,34,4,113,205,216,89,136,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-10 16:03:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764808914050744320,"timestamp_seconds":5764808914050744.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 16:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307589888001,"66":12232,"120":206,"28":31744,"24":4,"16":11485644492636160,"45":1754574297961105408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307589888001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:03:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:03:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485644492636160,"km_value":11485644492636.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961105408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307589888001,"power":12232,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1754574297961105408}} 
[2026-08-10 16:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":152908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:03:19] local.INFO: GPS data processed {"connection_id":152908,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:03:19] local.INFO: Acknowledgment sent {"connection_id":152908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:03:19] local.INFO: TCP Data received {"connection_id":154365,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3b2e00012d7be70005ec2de00000008b27..."} 
[2026-08-10 16:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3b2e00012d7be70005ec2de00000008b27..."} 
[2026-08-10 16:03:19] local.INFO: Processing buffer {"connection_id":154365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3b2e00012d7be70005ec2de00000008b27..."} 
[2026-08-10 16:03:19] local.INFO: Packet analysis {"connection_id":154365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3b"} 
[2026-08-10 16:03:19] local.INFO: Extracted packet for processing {"connection_id":154365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3b"} 
[2026-08-10 16:03:19] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":99364320,"longitude_deg":76.3094784,"latitude_deg":9.936432,"altitude":0,"angle":139,"satellites":39,"speed":11,"hex_longitude":"2d7be700","hex_latitude":"05ec2de0","is_valid_coordinates":true} 
[2026-08-10 16:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307635456001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117238863285452800,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927823336745920512,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786357952000,"timestamp_ms":1786357952000,"timestamp_seconds":1786357952,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3b2e00"} 
[2026-08-10 16:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-10 16:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307635456001,"66":12200,"196":206,"87":13824,"24":11,"16":117238863285452800,"45":8927823336745920512},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-08-10 16:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307635456001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:03:19] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-10 16:03:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117238863285452800,"km_value":117238863285452.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927823336745920512,"description":"Unknown IO ID 45"} 
[2026-08-10 16:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307635456001,"power":12200,"unknown_196":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927823336745920512}} 
[2026-08-10 16:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":154365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:03:19] local.INFO: GPS data processed {"connection_id":154365,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:03:19] local.INFO: Acknowledgment sent {"connection_id":154365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:03:22] local.INFO: TCP Data received {"connection_id":154365,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3b3da0012d7bea0005ec2b580001009c25..."} 
[2026-08-10 16:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3b3da0012d7bea0005ec2b580001009c25..."} 
[2026-08-10 16:03:22] local.INFO: Processing buffer {"connection_id":154365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3b3da0012d7bea0005ec2b580001009c25..."} 
[2026-08-10 16:03:22] local.INFO: Packet analysis {"connection_id":154365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3b"} 
[2026-08-10 16:03:22] local.INFO: Extracted packet for processing {"connection_id":154365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3b"} 
[2026-08-10 16:03:22] local.INFO: GPS Element Parsed {"raw_longitude":763095552,"raw_latitude":99363672,"longitude_deg":76.3095552,"latitude_deg":9.9363672,"altitude":1,"angle":156,"satellites":37,"speed":8,"hex_longitude":"2d7bea00","hex_latitude":"05ec2b58","is_valid_coordinates":true} 
[2026-08-10 16:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307635712001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117238910530093056,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104811722563584,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786357956000,"timestamp_ms":1786357956000,"timestamp_seconds":1786357956,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3b3da0"} 
[2026-08-10 16:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-10 16:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":154365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":154365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":154365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307635712001,"66":12765,"196":206,"87":13824,"24":8,"16":117238910530093056,"45":8928104811722563584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-08-10 16:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307635712001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:03:22] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-10 16:03:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117238910530093056,"km_value":117238910530093.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104811722563584,"description":"Unknown IO ID 45"} 
[2026-08-10 16:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307635712001,"power":12765,"unknown_196":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8928104811722563584}} 
[2026-08-10 16:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":154365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:03:22] local.INFO: GPS data processed {"connection_id":154365,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:03:22] local.INFO: Acknowledgment sent {"connection_id":154365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:03:42] local.INFO: TCP Data received {"connection_id":151595,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:03:42] local.INFO: Processing buffer {"connection_id":151595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:03:42] local.INFO: IMEI packet received {"connection_id":151595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":151595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:03:47] local.INFO: TCP Data received {"connection_id":151595,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:03:47] local.INFO: Processing buffer {"connection_id":151595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:03:47] local.INFO: IMEI packet received {"connection_id":151595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":151595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:03:48] local.INFO: TCP Data received {"connection_id":151595,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38a978012d1858400721fec8005100d62a..."} 
[2026-08-10 16:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38a978012d1858400721fec8005100d62a..."} 
[2026-08-10 16:03:48] local.INFO: Processing buffer {"connection_id":151595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38a978012d1858400721fec8005100d62a..."} 
[2026-08-10 16:03:48] local.INFO: Packet analysis {"connection_id":151595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:03:48] local.INFO: Extracted packet for processing {"connection_id":151595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756570176,"raw_latitude":119668424,"longitude_deg":75.6570176,"latitude_deg":11.9668424,"altitude":81,"angle":214,"satellites":42,"speed":8,"hex_longitude":"2d185840","hex_latitude":"0721fec8","is_valid_coordinates":true} 
[2026-08-10 16:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307592960001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485661672505344,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216894976,"note":"Value kept but may cause issues"} 
[2026-08-10 16:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786357787000,"timestamp_ms":1786357787000,"timestamp_seconds":1786357787,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38a978"} 
[2026-08-10 16:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:03: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-08-10 16:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 16:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307592960001,"66":11874,"120":206,"28":31744,"24":8,"16":11485661672505344,"45":1754503929216894976},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307592960001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:03:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:03:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485661672505344,"km_value":11485661672505.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216894976,"description":"Unknown IO ID 45"} 
[2026-08-10 16:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307592960001,"power":11874,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1754503929216894976}} 
[2026-08-10 16:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":151595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:03:48] local.INFO: GPS data processed {"connection_id":151595,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:03:48] local.INFO: Acknowledgment sent {"connection_id":151595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:03:59] local.INFO: TCP Data received {"connection_id":154366,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:03:59] local.INFO: Processing buffer {"connection_id":154366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:03:59] local.INFO: IMEI packet received {"connection_id":154366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":154366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:04:04] local.INFO: TCP Data received {"connection_id":154366,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:04:04] local.INFO: Processing buffer {"connection_id":154366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:04:04] local.INFO: IMEI packet received {"connection_id":154366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":154366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:04:07] local.INFO: TCP Data received {"connection_id":151596,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:04:07] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:04:07] local.INFO: IMEI packet received {"connection_id":151596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":151596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:04:08] local.INFO: TCP Data received {"connection_id":154366,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:04:08] local.INFO: Processing buffer {"connection_id":154366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:04:08] local.INFO: Packet analysis {"connection_id":154366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:04:08] local.INFO: Extracted packet for processing {"connection_id":154366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520000001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786357801000,"timestamp_ms":1786357801000,"timestamp_seconds":1786357801,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38e028"} 
[2026-08-10 16:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520000001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520000001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:04:08] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520000001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":154366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:04:08] local.INFO: GPS data processed {"connection_id":154366,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:04:08] local.INFO: Acknowledgment sent {"connection_id":154366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:04:16] local.INFO: TCP Data received {"connection_id":151596,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:04:16] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:04:16] local.INFO: IMEI packet received {"connection_id":151596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":151596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:04:18] local.INFO: TCP Data received {"connection_id":151596,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:04:18] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:04:18] local.INFO: IMEI packet received {"connection_id":151596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":151596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:04:19] local.INFO: TCP Data received {"connection_id":151596,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3b58f8012d7bee4005ec1fd0000100a926..."} 
[2026-08-10 16:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3b58f8012d7bee4005ec1fd0000100a926..."} 
[2026-08-10 16:04:19] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3b58f8012d7bee4005ec1fd0000100a926..."} 
[2026-08-10 16:04:19] local.INFO: Packet analysis {"connection_id":151596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3b"} 
[2026-08-10 16:04:19] local.INFO: Extracted packet for processing {"connection_id":151596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3b"} 
[2026-08-10 16:04:19] local.INFO: GPS Element Parsed {"raw_longitude":763096640,"raw_latitude":99360720,"longitude_deg":76.309664,"latitude_deg":9.936072,"altitude":1,"angle":169,"satellites":38,"speed":19,"hex_longitude":"2d7bee40","hex_latitude":"05ec1fd0","is_valid_coordinates":true} 
[2026-08-10 16:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307636736001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117239065148915712,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928949236652529664,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786357963000,"timestamp_ms":1786357963000,"timestamp_seconds":1786357963,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3b58f8"} 
[2026-08-10 16:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 16:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307636736001,"66":12765,"196":206,"87":13824,"24":19,"16":117239065148915712,"45":8928949236652529664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-08-10 16:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307636736001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:04:19] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-10 16:04:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117239065148915712,"km_value":117239065148915.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928949236652529664,"description":"Unknown IO ID 45"} 
[2026-08-10 16:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307636736001,"power":12765,"unknown_196":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8928949236652529664}} 
[2026-08-10 16:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":151596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:04:19] local.INFO: GPS data processed {"connection_id":151596,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:04:19] local.INFO: Acknowledgment sent {"connection_id":151596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:04:20] local.INFO: TCP Data received {"connection_id":151595,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38fb80012d1845400721e400004e00d527..."} 
[2026-08-10 16:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38fb80012d1845400721e400004e00d527..."} 
[2026-08-10 16:04:20] local.INFO: Processing buffer {"connection_id":151595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38fb80012d1845400721e400004e00d527..."} 
[2026-08-10 16:04:20] local.INFO: Packet analysis {"connection_id":151595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:04:20] local.INFO: Extracted packet for processing {"connection_id":151595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:04:20] local.INFO: GPS Element Parsed {"raw_longitude":756565312,"raw_latitude":119661568,"longitude_deg":75.6565312,"latitude_deg":11.9661568,"altitude":78,"angle":213,"satellites":39,"speed":21,"hex_longitude":"2d184540","hex_latitude":"0721e400","is_valid_coordinates":true} 
[2026-08-10 16:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307593472001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486069694398464,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754222454240102400,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04: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-08-10 16:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786357808000,"timestamp_ms":1786357808000,"timestamp_seconds":1786357808,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38fb80"} 
[2026-08-10 16:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 16:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307593472001,"66":12156,"120":206,"28":31744,"24":21,"16":11486069694398464,"45":1754222454240102400},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307593472001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:04:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:04:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486069694398464,"km_value":11486069694398.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754222454240102400,"description":"Unknown IO ID 45"} 
[2026-08-10 16:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307593472001,"power":12156,"unknown_120":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1754222454240102400}} 
[2026-08-10 16:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":151595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:04:20] local.INFO: GPS data processed {"connection_id":151595,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:04:20] local.INFO: Acknowledgment sent {"connection_id":151595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:04:20] local.INFO: TCP Data received {"connection_id":151596,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3b8fa8012d7bf50005ebfd30000100aa23..."} 
[2026-08-10 16:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3b8fa8012d7bf50005ebfd30000100aa23..."} 
[2026-08-10 16:04:20] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3b8fa8012d7bf50005ebfd30000100aa23..."} 
[2026-08-10 16:04:20] local.INFO: Packet analysis {"connection_id":151596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3b"} 
[2026-08-10 16:04:20] local.INFO: Extracted packet for processing {"connection_id":151596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3b"} 
[2026-08-10 16:04:20] local.INFO: GPS Element Parsed {"raw_longitude":763098368,"raw_latitude":99351856,"longitude_deg":76.3098368,"latitude_deg":9.9351856,"altitude":1,"angle":170,"satellites":35,"speed":18,"hex_longitude":"2d7bf500","hex_latitude":"05ebfd30","is_valid_coordinates":true} 
[2026-08-10 16:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307638528001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117239503235579904,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930145505302794240,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786357977000,"timestamp_ms":1786357977000,"timestamp_seconds":1786357977,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3b8fa8"} 
[2026-08-10 16:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 16:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307638528001,"66":12689,"198":206,"87":13824,"24":18,"16":117239503235579904,"45":8930145505302794240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-10 16:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307638528001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:04:20] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-10 16:04:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117239503235579904,"km_value":117239503235579.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930145505302794240,"description":"Unknown IO ID 45"} 
[2026-08-10 16:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307638528001,"power":12689,"unknown_198":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8930145505302794240}} 
[2026-08-10 16:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":151596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:04:20] local.INFO: GPS data processed {"connection_id":151596,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:04:20] local.INFO: Acknowledgment sent {"connection_id":151596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:04:40] local.INFO: TCP Data received {"connection_id":154366,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:04:40] local.INFO: Processing buffer {"connection_id":154366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:04:40] local.INFO: Packet analysis {"connection_id":154366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:04:40] local.INFO: Extracted packet for processing {"connection_id":154366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520000001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786357801000,"timestamp_ms":1786357801000,"timestamp_seconds":1786357801,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38e028"} 
[2026-08-10 16:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520000001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520000001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:04:40] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:04:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520000001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":154366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:04:40] local.INFO: GPS data processed {"connection_id":154366,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:04:40] local.INFO: Acknowledgment sent {"connection_id":154366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:04:41] local.INFO: TCP Data received {"connection_id":154368,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:04:41] local.INFO: Processing buffer {"connection_id":154368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:04:41] local.INFO: IMEI packet received {"connection_id":154368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":154368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:04:42] local.INFO: TCP Data received {"connection_id":154368,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:04:42] local.INFO: Processing buffer {"connection_id":154368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:04:42] local.INFO: IMEI packet received {"connection_id":154368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":154368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:04:47] local.INFO: TCP Data received {"connection_id":154368,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:04:47] local.INFO: Processing buffer {"connection_id":154368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:04:47] local.INFO: IMEI packet received {"connection_id":154368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":154368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:04:48] local.INFO: TCP Data received {"connection_id":154368,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb393230012d1830400721c710004900da27..."} 
[2026-08-10 16:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb393230012d1830400721c710004900da27..."} 
[2026-08-10 16:04:48] local.INFO: Processing buffer {"connection_id":154368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb393230012d1830400721c710004900da27..."} 
[2026-08-10 16:04:48] local.INFO: Packet analysis {"connection_id":154368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb39"} 
[2026-08-10 16:04:48] local.INFO: Extracted packet for processing {"connection_id":154368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb39"} 
[2026-08-10 16:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756559936,"raw_latitude":119654160,"longitude_deg":75.6559936,"latitude_deg":11.965416,"altitude":73,"angle":218,"satellites":39,"speed":29,"hex_longitude":"2d183040","hex_latitude":"0721c710","is_valid_coordinates":true} 
[2026-08-10 16:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307598848001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486507781062656,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748874429680844800,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786357822000,"timestamp_ms":1786357822000,"timestamp_seconds":1786357822,"priority":1,"record_length":96,"hex_timestamp":"0000019feb393230"} 
[2026-08-10 16:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:04: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-08-10 16:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 16:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307598848001,"66":11993,"120":206,"28":31744,"24":29,"16":11486507781062656,"45":1748874429680844800},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307598848001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:04:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:04:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486507781062656,"km_value":11486507781062.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748874429680844800,"description":"Unknown IO ID 45"} 
[2026-08-10 16:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307598848001,"power":11993,"unknown_120":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1748874429680844800}} 
[2026-08-10 16:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":154368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:04:48] local.INFO: GPS data processed {"connection_id":154368,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:04:48] local.INFO: Acknowledgment sent {"connection_id":154368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:04:51] local.INFO: TCP Data received {"connection_id":151596,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d2200012d7c360005eb0ef00003008922..."} 
[2026-08-10 16:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d2200012d7c360005eb0ef00003008922..."} 
[2026-08-10 16:04:51] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d2200012d7c360005eb0ef00003008922..."} 
[2026-08-10 16:04:51] local.INFO: Packet analysis {"connection_id":151596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:04:51] local.INFO: Extracted packet for processing {"connection_id":151596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:04:51] local.INFO: GPS Element Parsed {"raw_longitude":763115008,"raw_latitude":99290864,"longitude_deg":76.3115008,"latitude_deg":9.9290864,"altitude":3,"angle":137,"satellites":34,"speed":27,"hex_longitude":"2d7c3600","hex_latitude":"05eb0ef0","is_valid_coordinates":true} 
[2026-08-10 16:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307667968001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117242599907000320,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426541189892096,"note":"Value kept but may cause issues"} 
[2026-08-10 16:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786358080000,"timestamp_ms":1786358080000,"timestamp_seconds":1786358080,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d2200"} 
[2026-08-10 16:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 16:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307667968001,"66":13037,"10":206,"87":13824,"24":27,"16":117242599907000320,"45":8949426541189892096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 16:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307667968001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:04:51] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 16:04:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117242599907000320,"km_value":117242599907000.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426541189892096,"description":"Unknown IO ID 45"} 
[2026-08-10 16:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307667968001,"power":13037,"unknown_10":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8949426541189892096}} 
[2026-08-10 16:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":151596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:04:51] local.INFO: GPS data processed {"connection_id":151596,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:04:51] local.INFO: Acknowledgment sent {"connection_id":151596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:04:58] local.INFO: TCP Data received {"connection_id":151597,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:04:58] local.INFO: Processing buffer {"connection_id":151597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:04:58] local.INFO: IMEI packet received {"connection_id":151597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":151597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:05:04] local.INFO: TCP Data received {"connection_id":151597,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:05:04] local.INFO: Processing buffer {"connection_id":151597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:05:04] local.INFO: IMEI packet received {"connection_id":151597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":151597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:05:05] local.INFO: TCP Data received {"connection_id":151597,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:05:05] local.INFO: Processing buffer {"connection_id":151597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:05:05] local.INFO: Packet analysis {"connection_id":151597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:05:05] local.INFO: Extracted packet for processing {"connection_id":151597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520000001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786357801000,"timestamp_ms":1786357801000,"timestamp_seconds":1786357801,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38e028"} 
[2026-08-10 16:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:05: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-08-10 16:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520000001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520000001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:05:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520000001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":151597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:05:06] local.INFO: GPS data processed {"connection_id":151597,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:05:06] local.INFO: Acknowledgment sent {"connection_id":151597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:05:07] local.INFO: TCP Data received {"connection_id":152910,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:05:07] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:05:07] local.INFO: IMEI packet received {"connection_id":152910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":152910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:05:12] local.INFO: TCP Data received {"connection_id":152910,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:05:12] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:05:12] local.INFO: IMEI packet received {"connection_id":152910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":152910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:05:13] local.INFO: TCP Data received {"connection_id":152910,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d2db8012d7c3ac005eb08980003009924..."} 
[2026-08-10 16:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d2db8012d7c3ac005eb08980003009924..."} 
[2026-08-10 16:05:13] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d2db8012d7c3ac005eb08980003009924..."} 
[2026-08-10 16:05:13] local.INFO: Packet analysis {"connection_id":152910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:05:13] local.INFO: Extracted packet for processing {"connection_id":152910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763116224,"raw_latitude":99289240,"longitude_deg":76.3116224,"latitude_deg":9.928924,"altitude":3,"angle":153,"satellites":36,"speed":27,"hex_longitude":"2d7c3ac0","hex_latitude":"05eb0898","is_valid_coordinates":true} 
[2026-08-10 16:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307668480001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117242698691248128,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950341334863900672,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786358083000,"timestamp_ms":1786358083000,"timestamp_seconds":1786358083,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d2db8"} 
[2026-08-10 16:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-10 16:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307668480001,"66":13287,"10":206,"87":13824,"24":27,"16":117242698691248128,"45":8950341334863900672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 16:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307668480001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:05:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 16:05:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117242698691248128,"km_value":117242698691248.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950341334863900672,"description":"Unknown IO ID 45"} 
[2026-08-10 16:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307668480001,"power":13287,"unknown_10":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8950341334863900672}} 
[2026-08-10 16:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":152910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:05:13] local.INFO: GPS data processed {"connection_id":152910,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:05:13] local.INFO: Acknowledgment sent {"connection_id":152910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:05:20] local.INFO: TCP Data received {"connection_id":154368,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb395d28012d1824000721b6a0004700cc2a..."} 
[2026-08-10 16:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb395d28012d1824000721b6a0004700cc2a..."} 
[2026-08-10 16:05:20] local.INFO: Processing buffer {"connection_id":154368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb395d28012d1824000721b6a0004700cc2a..."} 
[2026-08-10 16:05:20] local.INFO: Packet analysis {"connection_id":154368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb39"} 
[2026-08-10 16:05:20] local.INFO: Extracted packet for processing {"connection_id":154368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb39"} 
[2026-08-10 16:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649952,"longitude_deg":75.65568,"latitude_deg":11.9649952,"altitude":71,"angle":204,"satellites":42,"speed":7,"hex_longitude":"2d182400","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-08-10 16:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307602432001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486765479100416,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742963455168024576,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05: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-08-10 16:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786357833000,"timestamp_ms":1786357833000,"timestamp_seconds":1786357833,"priority":1,"record_length":96,"hex_timestamp":"0000019feb395d28"} 
[2026-08-10 16:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-10 16:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307602432001,"66":12461,"120":206,"28":31744,"24":7,"16":11486765479100416,"45":1742963455168024576},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307602432001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:05:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:05:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486765479100416,"km_value":11486765479100.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742963455168024576,"description":"Unknown IO ID 45"} 
[2026-08-10 16:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307602432001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1742963455168024576}} 
[2026-08-10 16:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":154368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:05:20] local.INFO: GPS data processed {"connection_id":154368,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:05:20] local.INFO: Acknowledgment sent {"connection_id":154368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:05:37] local.INFO: TCP Data received {"connection_id":151597,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:05:37] local.INFO: Processing buffer {"connection_id":151597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb38e028012d342a4006abc2800013010221..."} 
[2026-08-10 16:05:37] local.INFO: Packet analysis {"connection_id":151597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:05:37] local.INFO: Extracted packet for processing {"connection_id":151597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb38"} 
[2026-08-10 16:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307520000001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786357801000,"timestamp_ms":1786357801000,"timestamp_seconds":1786357801,"priority":1,"record_length":96,"hex_timestamp":"0000019feb38e028"} 
[2026-08-10 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-08-10 16:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307520000001,"66":25441,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307520000001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:05:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307520000001,"power":25441,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":151597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:05:37] local.INFO: GPS data processed {"connection_id":151597,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:05:37] local.INFO: Acknowledgment sent {"connection_id":151597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:05:42] local.INFO: TCP Data received {"connection_id":151598,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:05:42] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:05:42] local.INFO: IMEI packet received {"connection_id":151598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":151598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:05:44] local.INFO: TCP Data received {"connection_id":151598,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:05:44] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:05:44] local.INFO: IMEI packet received {"connection_id":151598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":151598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:05:44] local.INFO: TCP Data received {"connection_id":152910,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d3588012d7c3c8005eb0348000300ab23..."} 
[2026-08-10 16:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d3588012d7c3c8005eb0348000300ab23..."} 
[2026-08-10 16:05:44] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d3588012d7c3c8005eb0348000300ab23..."} 
[2026-08-10 16:05:44] local.INFO: Packet analysis {"connection_id":152910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:05:44] local.INFO: Extracted packet for processing {"connection_id":152910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:05:44] local.INFO: GPS Element Parsed {"raw_longitude":763116672,"raw_latitude":99287880,"longitude_deg":76.3116672,"latitude_deg":9.928788,"altitude":3,"angle":171,"satellites":35,"speed":29,"hex_longitude":"2d7c3c80","hex_latitude":"05eb0348","is_valid_coordinates":true} 
[2026-08-10 16:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307669248001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117242767410724864,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951678341002860544,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786358085000,"timestamp_ms":1786358085000,"timestamp_seconds":1786358085,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d3588"} 
[2026-08-10 16:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-08-10 16:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307669248001,"66":12461,"10":206,"87":13824,"24":29,"16":117242767410724864,"45":8951678341002860544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 16:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307669248001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:05:44] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 16:05:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117242767410724864,"km_value":117242767410724.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951678341002860544,"description":"Unknown IO ID 45"} 
[2026-08-10 16:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307669248001,"power":12461,"unknown_10":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8951678341002860544}} 
[2026-08-10 16:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":152910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:05:44] local.INFO: GPS data processed {"connection_id":152910,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:05:44] local.INFO: Acknowledgment sent {"connection_id":152910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:05:47] local.INFO: TCP Data received {"connection_id":151598,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:05:47] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:05:47] local.INFO: IMEI packet received {"connection_id":151598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":151598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:05:48] local.INFO: TCP Data received {"connection_id":151598,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3ce380012d1822400721b468004600d42a..."} 
[2026-08-10 16:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3ce380012d1822400721b468004600d42a..."} 
[2026-08-10 16:05:48] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3ce380012d1822400721b468004600d42a..."} 
[2026-08-10 16:05:48] local.INFO: Packet analysis {"connection_id":151598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3c"} 
[2026-08-10 16:05:48] local.INFO: Extracted packet for processing {"connection_id":151598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3c"} 
[2026-08-10 16:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649384,"longitude_deg":75.6556352,"latitude_deg":11.9649384,"altitude":70,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307659008001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486799838838784,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492852736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786358064000,"timestamp_ms":1786358064000,"timestamp_seconds":1786358064,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3ce380"} 
[2026-08-10 16:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:05: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-08-10 16: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307659008001,"66":12461,"120":206,"28":31744,"24":0,"16":11486799838838784,"45":1739022805492852736},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307659008001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:05:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:05:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486799838838784,"km_value":11486799838838.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492852736,"description":"Unknown IO ID 45"} 
[2026-08-10 16:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307659008001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492852736}} 
[2026-08-10 16:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":151598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:05:48] local.INFO: GPS data processed {"connection_id":151598,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:05:48] local.INFO: Acknowledgment sent {"connection_id":151598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:05:58] local.INFO: TCP Data received {"connection_id":154369,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:05:58] local.INFO: Processing buffer {"connection_id":154369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:05:58] local.INFO: IMEI packet received {"connection_id":154369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":154369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:06:03] local.INFO: TCP Data received {"connection_id":154369,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:06:04] local.INFO: Processing buffer {"connection_id":154369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:06:04] local.INFO: IMEI packet received {"connection_id":154369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":154369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:06:05] local.INFO: TCP Data received {"connection_id":154369,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:06:05] local.INFO: Processing buffer {"connection_id":154369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:06:05] local.INFO: Packet analysis {"connection_id":154369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:06:05] local.INFO: Extracted packet for processing {"connection_id":154369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307597056001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786358102000,"timestamp_ms":1786358102000,"timestamp_seconds":1786358102,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d77f0"} 
[2026-08-10 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-08-10 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-08-10 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307597056001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307597056001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:06:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:06:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307597056001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":154369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:06:05] local.INFO: GPS data processed {"connection_id":154369,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:06:05] local.INFO: Acknowledgment sent {"connection_id":154369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:06:07] local.INFO: TCP Data received {"connection_id":152911,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:06:07] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:06:07] local.INFO: IMEI packet received {"connection_id":152911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":152911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:06:12] local.INFO: TCP Data received {"connection_id":152911,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:06:12] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:06:12] local.INFO: IMEI packet received {"connection_id":152911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":152911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:06:13] local.INFO: TCP Data received {"connection_id":152911,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d6850012d7c3e0005eae730000500b825..."} 
[2026-08-10 16:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d6850012d7c3e0005eae730000500b825..."} 
[2026-08-10 16:06:13] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d6850012d7c3e0005eae730000500b825..."} 
[2026-08-10 16:06:13] local.INFO: Packet analysis {"connection_id":152911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:06:13] local.INFO: Extracted packet for processing {"connection_id":152911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:06:13] local.INFO: GPS Element Parsed {"raw_longitude":763117056,"raw_latitude":99280688,"longitude_deg":76.3117056,"latitude_deg":9.9280688,"altitude":5,"angle":184,"satellites":37,"speed":21,"hex_longitude":"2d7c3e00","hex_latitude":"05eae730","is_valid_coordinates":true} 
[2026-08-10 16:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307669760001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117243119598043136,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952170922211756032,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786358098000,"timestamp_ms":1786358098000,"timestamp_seconds":1786358098,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d6850"} 
[2026-08-10 16:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:06: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":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307669760001,"66":12711,"10":206,"87":13824,"24":21,"16":117243119598043136,"45":8952170922211756032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 16:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307669760001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:06:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 16:06:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117243119598043136,"km_value":117243119598043.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952170922211756032,"description":"Unknown IO ID 45"} 
[2026-08-10 16:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307669760001,"power":12711,"unknown_10":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8952170922211756032}} 
[2026-08-10 16:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":152911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:06:13] local.INFO: GPS data processed {"connection_id":152911,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:06:13] local.INFO: Acknowledgment sent {"connection_id":152911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:06:20] local.INFO: TCP Data received {"connection_id":151598,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d3588012d1822400721b468004600d42c..."} 
[2026-08-10 16:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d3588012d1822400721b468004600d42c..."} 
[2026-08-10 16:06:20] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d3588012d1822400721b468004600d42c..."} 
[2026-08-10 16:06:20] local.INFO: Packet analysis {"connection_id":151598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:06:20] local.INFO: Extracted packet for processing {"connection_id":151598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649384,"longitude_deg":75.6556352,"latitude_deg":11.9649384,"altitude":70,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307664384001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486799838838784,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492852736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06: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-08-10 16:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786358085000,"timestamp_ms":1786358085000,"timestamp_seconds":1786358085,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d3588"} 
[2026-08-10 16:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307664384001,"66":12461,"120":206,"28":31744,"24":0,"16":11486799838838784,"45":1739022805492852736},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307664384001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:06:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:06:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486799838838784,"km_value":11486799838838.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492852736,"description":"Unknown IO ID 45"} 
[2026-08-10 16:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307664384001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492852736}} 
[2026-08-10 16:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":151598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:06:20] local.INFO: GPS data processed {"connection_id":151598,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:06:20] local.INFO: Acknowledgment sent {"connection_id":151598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:06:37] local.INFO: TCP Data received {"connection_id":154369,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:06:37] local.INFO: Processing buffer {"connection_id":154369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:06:37] local.INFO: Packet analysis {"connection_id":154369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:06:37] local.INFO: Extracted packet for processing {"connection_id":154369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307597056001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786358102000,"timestamp_ms":1786358102000,"timestamp_seconds":1786358102,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d77f0"} 
[2026-08-10 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-08-10 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307597056001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307597056001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:06:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307597056001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":154369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:06:37] local.INFO: GPS data processed {"connection_id":154369,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:06:37] local.INFO: Acknowledgment sent {"connection_id":154369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:06:42] local.INFO: TCP Data received {"connection_id":151991,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:06:42] local.INFO: Processing buffer {"connection_id":151991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:06:42] local.INFO: IMEI packet received {"connection_id":151991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":151991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:06:45] local.INFO: TCP Data received {"connection_id":152911,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3da2e8012d7c3ec005eac878000700aa23..."} 
[2026-08-10 16:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3da2e8012d7c3ec005eac878000700aa23..."} 
[2026-08-10 16:06:45] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3da2e8012d7c3ec005eac878000700aa23..."} 
[2026-08-10 16:06:45] local.INFO: Packet analysis {"connection_id":152911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:06:45] local.INFO: Extracted packet for processing {"connection_id":152911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:06:45] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":99272824,"longitude_deg":76.3117248,"latitude_deg":9.9272824,"altitude":7,"angle":170,"satellites":35,"speed":9,"hex_longitude":"2d7c3ec0","hex_latitude":"05eac878","is_valid_coordinates":true} 
[2026-08-10 16:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307673088001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117243501850132480,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952593134674980864,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786358113000,"timestamp_ms":1786358113000,"timestamp_seconds":1786358113,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3da2e8"} 
[2026-08-10 16:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 16:06: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-08-10 16:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307673088001,"66":12298,"10":206,"87":13824,"24":9,"16":117243501850132480,"45":8952593134674980864},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 16:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307673088001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:06:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 16:06:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117243501850132480,"km_value":117243501850132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952593134674980864,"description":"Unknown IO ID 45"} 
[2026-08-10 16:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307673088001,"power":12298,"unknown_10":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8952593134674980864}} 
[2026-08-10 16:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":152911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:06:45] local.INFO: GPS data processed {"connection_id":152911,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:06:45] local.INFO: Acknowledgment sent {"connection_id":152911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:06:47] local.INFO: TCP Data received {"connection_id":151991,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:06:47] local.INFO: Processing buffer {"connection_id":151991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:06:47] local.INFO: IMEI packet received {"connection_id":151991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":151991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:06:48] local.INFO: TCP Data received {"connection_id":151991,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d8790012d1822400721b468004600d42b..."} 
[2026-08-10 16:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d8790012d1822400721b468004600d42b..."} 
[2026-08-10 16:06:48] local.INFO: Processing buffer {"connection_id":151991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d8790012d1822400721b468004600d42b..."} 
[2026-08-10 16:06:48] local.INFO: Packet analysis {"connection_id":151991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:06:48] local.INFO: Extracted packet for processing {"connection_id":151991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649384,"longitude_deg":75.6556352,"latitude_deg":11.9649384,"altitude":70,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-10 16:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307669760001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486799838838784,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492852736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786358106000,"timestamp_ms":1786358106000,"timestamp_seconds":1786358106,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d8790"} 
[2026-08-10 16:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307669760001,"66":12461,"120":206,"28":31744,"24":0,"16":11486799838838784,"45":1739022805492852736},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307669760001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:06:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:06:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486799838838784,"km_value":11486799838838.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492852736,"description":"Unknown IO ID 45"} 
[2026-08-10 16:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307669760001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492852736}} 
[2026-08-10 16:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":151991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:06:48] local.INFO: GPS data processed {"connection_id":151991,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:06:48] local.INFO: Acknowledgment sent {"connection_id":151991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:07:03] local.INFO: TCP Data received {"connection_id":151599,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:07:03] local.INFO: Processing buffer {"connection_id":151599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:07:03] local.INFO: IMEI packet received {"connection_id":151599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":151599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:07:09] local.INFO: TCP Data received {"connection_id":151599,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:07:09] local.INFO: Processing buffer {"connection_id":151599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:07:09] local.INFO: IMEI packet received {"connection_id":151599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":151599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:07:10] local.INFO: TCP Data received {"connection_id":151599,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:07:10] local.INFO: Processing buffer {"connection_id":151599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:07:10] local.INFO: Packet analysis {"connection_id":151599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:07:10] local.INFO: Extracted packet for processing {"connection_id":151599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307597056001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786358102000,"timestamp_ms":1786358102000,"timestamp_seconds":1786358102,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d77f0"} 
[2026-08-10 16:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:07: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-08-10 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307597056001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307597056001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:07:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307597056001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":151599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:07:10] local.INFO: GPS data processed {"connection_id":151599,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:07:10] local.INFO: Acknowledgment sent {"connection_id":151599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:07:12] local.INFO: TCP Data received {"connection_id":154371,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:07:12] local.INFO: Processing buffer {"connection_id":154371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:07:12] local.INFO: IMEI packet received {"connection_id":154371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":154371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:07:14] local.INFO: TCP Data received {"connection_id":151599,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:07:14] local.INFO: Processing buffer {"connection_id":151599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:07:14] local.INFO: Packet analysis {"connection_id":151599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:07:14] local.INFO: Extracted packet for processing {"connection_id":151599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307597056001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786358102000,"timestamp_ms":1786358102000,"timestamp_seconds":1786358102,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d77f0"} 
[2026-08-10 16:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307597056001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307597056001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:07:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:07:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307597056001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":151599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:07:14] local.INFO: GPS data processed {"connection_id":151599,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:07:14] local.INFO: Acknowledgment sent {"connection_id":151599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:07:17] local.INFO: TCP Data received {"connection_id":154371,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:07:17] local.INFO: Processing buffer {"connection_id":154371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:07:17] local.INFO: IMEI packet received {"connection_id":154371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":154371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:07:18] local.INFO: TCP Data received {"connection_id":154371,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3dd1c8012d7c42c005eac6a80007005326..."} 
[2026-08-10 16:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3dd1c8012d7c42c005eac6a80007005326..."} 
[2026-08-10 16:07:18] local.INFO: Processing buffer {"connection_id":154371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3dd1c8012d7c42c005eac6a80007005326..."} 
[2026-08-10 16:07:18] local.INFO: Packet analysis {"connection_id":154371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:07:18] local.INFO: Extracted packet for processing {"connection_id":154371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:07:18] local.INFO: GPS Element Parsed {"raw_longitude":763118272,"raw_latitude":99272360,"longitude_deg":76.3118272,"latitude_deg":9.927236,"altitude":7,"angle":83,"satellites":38,"speed":6,"hex_longitude":"2d7c42c0","hex_latitude":"05eac6a8","is_valid_coordinates":true} 
[2026-08-10 16:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307676928001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117243570569609216,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952804240905500672,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786358125000,"timestamp_ms":1786358125000,"timestamp_seconds":1786358125,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3dd1c8"} 
[2026-08-10 16:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":426479944571355283,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466763383296,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186016,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1496053657409586135,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3944587264,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3736862672588243150,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":135,"raw_value":6341068275337658369,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":46762229965520896,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2272657408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.WARNING: Large IO value detected {"io_id":34,"raw_value":5348024558157828,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:18] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,10,87,24,241,157,16,136,159,104,45,231,5,37,66,135,53,128,3,35,192,1,240,227,235,4,113,205,27,26,50,32,239,2,160,34],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-08-10 16:07:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504590225566662656,"timestamp_seconds":504590225566662.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 16:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307676928001,"66":12917,"10":206,"87":13824,"24":6,"16":117243570569609216,"45":8952804240905500672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 16:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307676928001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:07:18] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 16:07:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117243570569609216,"km_value":117243570569609.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952804240905500672,"description":"Unknown IO ID 45"} 
[2026-08-10 16:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307676928001,"power":12917,"unknown_10":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8952804240905500672}} 
[2026-08-10 16:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":154371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:07:18] local.INFO: GPS data processed {"connection_id":154371,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:07:18] local.INFO: Acknowledgment sent {"connection_id":154371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:07:19] local.INFO: TCP Data received {"connection_id":154371,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3e1fe8012d7c600005eaca28000a005027..."} 
[2026-08-10 16:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3e1fe8012d7c600005eaca28000a005027..."} 
[2026-08-10 16:07:19] local.INFO: Processing buffer {"connection_id":154371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3e1fe8012d7c600005eaca28000a005027..."} 
[2026-08-10 16:07:19] local.INFO: Packet analysis {"connection_id":154371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3e"} 
[2026-08-10 16:07:19] local.INFO: Extracted packet for processing {"connection_id":154371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3e"} 
[2026-08-10 16:07:19] local.INFO: GPS Element Parsed {"raw_longitude":763125760,"raw_latitude":99273256,"longitude_deg":76.312576,"latitude_deg":9.9273256,"altitude":10,"angle":80,"satellites":39,"speed":22,"hex_longitude":"2d7c6000","hex_latitude":"05eaca28","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307680000001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117243935641829376,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953930140812224512,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786358145000,"timestamp_ms":1786358145000,"timestamp_seconds":1786358145,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3e1fe8"} 
[2026-08-10 16:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 16:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307680000001,"66":12765,"10":206,"87":13824,"24":22,"16":117243935641829376,"45":8953930140812224512},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 16:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307680000001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:07:19] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 16:07:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117243935641829376,"km_value":117243935641829.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953930140812224512,"description":"Unknown IO ID 45"} 
[2026-08-10 16:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307680000001,"power":12765,"unknown_10":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8953930140812224512}} 
[2026-08-10 16:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":154371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:07:19] local.INFO: GPS data processed {"connection_id":154371,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:07:19] local.INFO: Acknowledgment sent {"connection_id":154371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:07:20] local.INFO: TCP Data received {"connection_id":151991,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3dd998012d1822400721b468004600d42b..."} 
[2026-08-10 16:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3dd998012d1822400721b468004600d42b..."} 
[2026-08-10 16:07:20] local.INFO: Processing buffer {"connection_id":151991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3dd998012d1822400721b468004600d42b..."} 
[2026-08-10 16:07:20] local.INFO: Packet analysis {"connection_id":151991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:07:20] local.INFO: Extracted packet for processing {"connection_id":151991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649384,"longitude_deg":75.6556352,"latitude_deg":11.9649384,"altitude":70,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-10 16:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307675136001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486799838838784,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492852736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07: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-08-10 16:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786358127000,"timestamp_ms":1786358127000,"timestamp_seconds":1786358127,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3dd998"} 
[2026-08-10 16:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307675136001,"66":12298,"120":206,"28":31744,"24":0,"16":11486799838838784,"45":1739022805492852736},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307675136001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:07:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:07:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486799838838784,"km_value":11486799838838.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492852736,"description":"Unknown IO ID 45"} 
[2026-08-10 16:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307675136001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492852736}} 
[2026-08-10 16:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":151991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:07:20] local.INFO: GPS data processed {"connection_id":151991,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:07:20] local.INFO: Acknowledgment sent {"connection_id":151991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:07:37] local.INFO: TCP Data received {"connection_id":154372,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:07:37] local.INFO: Processing buffer {"connection_id":154372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:07:37] local.INFO: IMEI packet received {"connection_id":154372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":154372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:07:38] local.INFO: TCP Data received {"connection_id":154372,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3f8f18012d09ef800704d6100019001a16..."} 
[2026-08-10 16:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3f8f18012d09ef800704d6100019001a16..."} 
[2026-08-10 16:07:38] local.INFO: Processing buffer {"connection_id":154372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3f8f18012d09ef800704d6100019001a16..."} 
[2026-08-10 16:07:38] local.INFO: Packet analysis {"connection_id":154372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3f"} 
[2026-08-10 16:07:38] local.INFO: Extracted packet for processing {"connection_id":154372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3f"} 
[2026-08-10 16:07:38] local.INFO: GPS Element Parsed {"raw_longitude":755625856,"raw_latitude":117757456,"longitude_deg":75.5625856,"latitude_deg":11.7757456,"altitude":25,"angle":26,"satellites":22,"speed":22,"hex_longitude":"2d09ef80","hex_latitude":"0704d610","is_valid_coordinates":true} 
[2026-08-10 16:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307708928001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27436775072858112,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":715650158432602112,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786358239000,"timestamp_ms":1786358239000,"timestamp_seconds":1786358239,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3f8f18"} 
[2026-08-10 16:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:07: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-08-10 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 16:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307708928001,"66":14515,"177":206,"94":10240,"24":22,"16":27436775072858112,"45":715650158432602112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 16:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307708928001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:07:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 16:07:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27436775072858112,"km_value":27436775072858.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":715650158432602112,"description":"Unknown IO ID 45"} 
[2026-08-10 16:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307708928001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":715650158432602112}} 
[2026-08-10 16:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":154372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620532,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:07:38] local.INFO: GPS data processed {"connection_id":154372,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:07:38] local.INFO: Acknowledgment sent {"connection_id":154372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:07:47] local.INFO: TCP Data received {"connection_id":154373,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:07:47] local.INFO: Processing buffer {"connection_id":154373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:07:47] local.INFO: IMEI packet received {"connection_id":154373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":154373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:07:50] local.INFO: TCP Data received {"connection_id":154371,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3e5a80012d7c7d8005ead258000a004425..."} 
[2026-08-10 16:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3e5a80012d7c7d8005ead258000a004425..."} 
[2026-08-10 16:07:50] local.INFO: Processing buffer {"connection_id":154371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3e5a80012d7c7d8005ead258000a004425..."} 
[2026-08-10 16:07:50] local.INFO: Packet analysis {"connection_id":154371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3e"} 
[2026-08-10 16:07:50] local.INFO: Extracted packet for processing {"connection_id":154371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3e"} 
[2026-08-10 16:07:50] local.INFO: GPS Element Parsed {"raw_longitude":763133312,"raw_latitude":99275352,"longitude_deg":76.3133312,"latitude_deg":9.9275352,"altitude":10,"angle":68,"satellites":37,"speed":8,"hex_longitude":"2d7c7d80","hex_latitude":"05ead258","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307685120001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117244309303984128,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962163283881240576,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786358160000,"timestamp_ms":1786358160000,"timestamp_seconds":1786358160,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3e5a80"} 
[2026-08-10 16:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 16:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":154371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":154371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":154371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307685120001,"66":12961,"10":206,"87":13824,"24":8,"16":117244309303984128,"45":8962163283881240576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-10 16:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307685120001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:07:50] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-10 16:07:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117244309303984128,"km_value":117244309303984.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962163283881240576,"description":"Unknown IO ID 45"} 
[2026-08-10 16:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307685120001,"power":12961,"unknown_10":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8962163283881240576}} 
[2026-08-10 16:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":154371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:07:50] local.INFO: GPS data processed {"connection_id":154371,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:07:50] local.INFO: Acknowledgment sent {"connection_id":154371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:07:50] local.INFO: TCP Data received {"connection_id":154373,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:07:50] local.INFO: Processing buffer {"connection_id":154373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:07:50] local.INFO: IMEI packet received {"connection_id":154373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":154373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:07:51] local.INFO: TCP Data received {"connection_id":154373,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3e2ba0012d1822400721b468004600d42a..."} 
[2026-08-10 16:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3e2ba0012d1822400721b468004600d42a..."} 
[2026-08-10 16:07:51] local.INFO: Processing buffer {"connection_id":154373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3e2ba0012d1822400721b468004600d42a..."} 
[2026-08-10 16:07:51] local.INFO: Packet analysis {"connection_id":154373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3e"} 
[2026-08-10 16:07:51] local.INFO: Extracted packet for processing {"connection_id":154373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3e"} 
[2026-08-10 16:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649384,"longitude_deg":75.6556352,"latitude_deg":11.9649384,"altitude":70,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-10 16:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307680512001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486799838838784,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492852736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786358148000,"timestamp_ms":1786358148000,"timestamp_seconds":1786358148,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3e2ba0"} 
[2026-08-10 16:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:07: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-08-10 16:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452328,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3386706919782612993,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1496431614531659742,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513890191271133396,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":70,"raw_value":59719974062653440,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171894911729870,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3026714694,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242791,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3475963904,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,207,159,135,45,64,180,70,43,10,66,53,44,227,1,240,173,235,33,4,113,205,63,34,104,239,47,2,40,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-10 16:07:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044264863803637760,"timestamp_seconds":5044264863803638.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 16:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307680512001,"66":12428,"120":206,"28":31744,"24":0,"16":11486799838838784,"45":1739022805492852736},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307680512001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:07:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:07:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486799838838784,"km_value":11486799838838.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492852736,"description":"Unknown IO ID 45"} 
[2026-08-10 16:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307680512001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492852736}} 
[2026-08-10 16:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":154373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:07:51] local.INFO: GPS data processed {"connection_id":154373,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:07:51] local.INFO: Acknowledgment sent {"connection_id":154373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:07:52] local.INFO: TCP Data received {"connection_id":154373,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3e7da8012d1822400721b468004600d42a..."} 
[2026-08-10 16:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3e7da8012d1822400721b468004600d42a..."} 
[2026-08-10 16:07:52] local.INFO: Processing buffer {"connection_id":154373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3e7da8012d1822400721b468004600d42a..."} 
[2026-08-10 16:07:52] local.INFO: Packet analysis {"connection_id":154373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3e"} 
[2026-08-10 16:07:52] local.INFO: Extracted packet for processing {"connection_id":154373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3e"} 
[2026-08-10 16:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649384,"longitude_deg":75.6556352,"latitude_deg":11.9649384,"altitude":70,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-10 16:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307685888001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486799838838784,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492852736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786358169000,"timestamp_ms":1786358169000,"timestamp_seconds":1786358169,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3e7da8"} 
[2026-08-10 16:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 16:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307685888001,"66":12461,"120":206,"28":31744,"24":0,"16":11486799838838784,"45":1739022805492852736},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307685888001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:07:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:07:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486799838838784,"km_value":11486799838838.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492852736,"description":"Unknown IO ID 45"} 
[2026-08-10 16:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307685888001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492852736}} 
[2026-08-10 16:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":154373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:07:52] local.INFO: GPS data processed {"connection_id":154373,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:07:52] local.INFO: Acknowledgment sent {"connection_id":154373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:07:59] local.INFO: TCP Data received {"connection_id":152912,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:07:59] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:07:59] local.INFO: IMEI packet received {"connection_id":152912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":152912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:08:04] local.INFO: TCP Data received {"connection_id":152912,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:08:04] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:08:04] local.INFO: IMEI packet received {"connection_id":152912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":152912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:08:05] local.INFO: TCP Data received {"connection_id":152912,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:08:05] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:08:05] local.INFO: Packet analysis {"connection_id":152912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:08:05] local.INFO: Extracted packet for processing {"connection_id":152912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307597056001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786358102000,"timestamp_ms":1786358102000,"timestamp_seconds":1786358102,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d77f0"} 
[2026-08-10 16:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16: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-08-10 16:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307597056001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307597056001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:08:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307597056001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":152912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:08:05] local.INFO: GPS data processed {"connection_id":152912,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:08:05] local.INFO: Acknowledgment sent {"connection_id":152912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:08:07] local.INFO: TCP Data received {"connection_id":151992,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:08:07] local.INFO: Processing buffer {"connection_id":151992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:08:07] local.INFO: IMEI packet received {"connection_id":151992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":151992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:08:12] local.INFO: TCP Data received {"connection_id":151992,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:08:12] local.INFO: Processing buffer {"connection_id":151992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:08:12] local.INFO: IMEI packet received {"connection_id":151992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":151992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:08:13] local.INFO: TCP Data received {"connection_id":151992,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3e8960012d7c7f8005ead3980009003826..."} 
[2026-08-10 16:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3e8960012d7c7f8005ead3980009003826..."} 
[2026-08-10 16:08:13] local.INFO: Processing buffer {"connection_id":151992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3e8960012d7c7f8005ead3980009003826..."} 
[2026-08-10 16:08:13] local.INFO: Packet analysis {"connection_id":151992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3e"} 
[2026-08-10 16:08:13] local.INFO: Extracted packet for processing {"connection_id":151992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3e"} 
[2026-08-10 16:08:13] local.INFO: GPS Element Parsed {"raw_longitude":763133824,"raw_latitude":99275672,"longitude_deg":76.3133824,"latitude_deg":9.9275672,"altitude":9,"angle":56,"satellites":38,"speed":4,"hex_longitude":"2d7c7f80","hex_latitude":"05ead398","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307688960001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117244339368755200,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970466795694741504,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786358172000,"timestamp_ms":1786358172000,"timestamp_seconds":1786358172,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3e8960"} 
[2026-08-10 16:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 16:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307688960001,"66":13059,"8":206,"87":13824,"24":4,"16":117244339368755200,"45":8970466795694741504},"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-08-10 16:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307688960001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:08:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-10 16:08:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117244339368755200,"km_value":117244339368755.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970466795694741504,"description":"Unknown IO ID 45"} 
[2026-08-10 16:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307688960001,"power":13059,"unknown_8":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8970466795694741504}} 
[2026-08-10 16:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":151992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:08:13] local.INFO: GPS data processed {"connection_id":151992,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:08:13] local.INFO: Acknowledgment sent {"connection_id":151992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:08:14] local.INFO: TCP Data received {"connection_id":154372,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb401bb8012d0a5ac00704e7b80019007e16..."} 
[2026-08-10 16:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb401bb8012d0a5ac00704e7b80019007e16..."} 
[2026-08-10 16:08:14] local.INFO: Processing buffer {"connection_id":154372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb401bb8012d0a5ac00704e7b80019007e16..."} 
[2026-08-10 16:08:14] local.INFO: Packet analysis {"connection_id":154372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:08:14] local.INFO: Extracted packet for processing {"connection_id":154372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:08:14] local.INFO: GPS Element Parsed {"raw_longitude":755653312,"raw_latitude":117761976,"longitude_deg":75.5653312,"latitude_deg":11.7761976,"altitude":25,"angle":126,"satellites":22,"speed":15,"hex_longitude":"2d0a5ac0","hex_latitude":"0704e7b8","is_valid_coordinates":true} 
[2026-08-10 16:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307718144001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27438179527163904,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":745697612197808128,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786358275000,"timestamp_ms":1786358275000,"timestamp_seconds":1786358275,"priority":1,"record_length":96,"hex_timestamp":"0000019feb401bb8"} 
[2026-08-10 16:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 16:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307718144001,"66":14439,"177":206,"94":10240,"24":15,"16":27438179527163904,"45":745697612197808128},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 16:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307718144001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:08:14] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 16:08:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27438179527163904,"km_value":27438179527163.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":745697612197808128,"description":"Unknown IO ID 45"} 
[2026-08-10 16:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307718144001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":745697612197808128}} 
[2026-08-10 16:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":154372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620538,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:08:14] local.INFO: GPS data processed {"connection_id":154372,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:08:14] local.INFO: Acknowledgment sent {"connection_id":154372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:08:23] local.INFO: TCP Data received {"connection_id":154373,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3ecfb0012d1822400721b468004600d42b..."} 
[2026-08-10 16:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3ecfb0012d1822400721b468004600d42b..."} 
[2026-08-10 16:08:24] local.INFO: Processing buffer {"connection_id":154373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3ecfb0012d1822400721b468004600d42b..."} 
[2026-08-10 16:08:24] local.INFO: Packet analysis {"connection_id":154373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3e"} 
[2026-08-10 16:08:24] local.INFO: Extracted packet for processing {"connection_id":154373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3e"} 
[2026-08-10 16:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649384,"longitude_deg":75.6556352,"latitude_deg":11.9649384,"altitude":70,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-10 16:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307691264001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486799838838784,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492852736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786358190000,"timestamp_ms":1786358190000,"timestamp_seconds":1786358190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3ecfb0"} 
[2026-08-10 16:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":154373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":154373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":154373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307691264001,"66":12461,"120":206,"28":31744,"24":0,"16":11486799838838784,"45":1739022805492852736},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307691264001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:08:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:08:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486799838838784,"km_value":11486799838838.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492852736,"description":"Unknown IO ID 45"} 
[2026-08-10 16:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307691264001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492852736}} 
[2026-08-10 16:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":154373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:08:24] local.INFO: GPS data processed {"connection_id":154373,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:08:24] local.INFO: Acknowledgment sent {"connection_id":154373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:08:29] local.INFO: TCP Data received {"connection_id":152913,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:08:29] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:08:29] local.INFO: IMEI packet received {"connection_id":152913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":152913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:08:32] local.INFO: TCP Data received {"connection_id":152913,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:08:32] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:08:32] local.INFO: IMEI packet received {"connection_id":152913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":152913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:08:36] local.INFO: TCP Data received {"connection_id":152912,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:08:36] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:08:36] local.INFO: Packet analysis {"connection_id":152912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:08:36] local.INFO: Extracted packet for processing {"connection_id":152912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307597056001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786358102000,"timestamp_ms":1786358102000,"timestamp_seconds":1786358102,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d77f0"} 
[2026-08-10 16:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307597056001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307597056001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:08:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307597056001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":152912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:08:36] local.INFO: GPS data processed {"connection_id":152912,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:08:36] local.INFO: Acknowledgment sent {"connection_id":152912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:08:37] local.INFO: TCP Data received {"connection_id":152913,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:08:37] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:08:37] local.INFO: IMEI packet received {"connection_id":152913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":152913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:08:38] local.INFO: TCP Data received {"connection_id":152913,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4090e8012d0a9bc00704f0d00020002516..."} 
[2026-08-10 16:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4090e8012d0a9bc00704f0d00020002516..."} 
[2026-08-10 16:08:38] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4090e8012d0a9bc00704f0d00020002516..."} 
[2026-08-10 16:08:38] local.INFO: Packet analysis {"connection_id":152913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:08:38] local.INFO: Extracted packet for processing {"connection_id":152913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":755669952,"raw_latitude":117764304,"longitude_deg":75.5669952,"latitude_deg":11.7764304,"altitude":32,"angle":37,"satellites":22,"speed":17,"hex_longitude":"2d0a9bc0","hex_latitude":"0704f0d0","is_valid_coordinates":true} 
[2026-08-10 16:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307725824001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27439137304870912,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764134223172814848,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786358305000,"timestamp_ms":1786358305000,"timestamp_seconds":1786358305,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4090e8"} 
[2026-08-10 16:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 16:08: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-08-10 16:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307725824001,"66":14233,"177":206,"94":10240,"24":17,"16":27439137304870912,"45":764134223172814848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 16:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307725824001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:08:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 16:08:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27439137304870912,"km_value":27439137304870.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":764134223172814848,"description":"Unknown IO ID 45"} 
[2026-08-10 16:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307725824001,"power":14233,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":764134223172814848}} 
[2026-08-10 16:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":152913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:08:38] local.INFO: GPS data processed {"connection_id":152913,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:08:38] local.INFO: Acknowledgment sent {"connection_id":152913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:08:42] local.INFO: TCP Data received {"connection_id":151600,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:08:42] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:08:42] local.INFO: IMEI packet received {"connection_id":151600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":151600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:08:44] local.INFO: TCP Data received {"connection_id":151992,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb40c3b0012d7d200005eafd60000a008a24..."} 
[2026-08-10 16:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb40c3b0012d7d200005eafd60000a008a24..."} 
[2026-08-10 16:08:44] local.INFO: Processing buffer {"connection_id":151992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb40c3b0012d7d200005eafd60000a008a24..."} 
[2026-08-10 16:08:44] local.INFO: Packet analysis {"connection_id":151992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:08:44] local.INFO: Extracted packet for processing {"connection_id":151992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:08:44] local.INFO: GPS Element Parsed {"raw_longitude":763174912,"raw_latitude":99286368,"longitude_deg":76.3174912,"latitude_deg":9.9286368,"altitude":10,"angle":138,"satellites":36,"speed":8,"hex_longitude":"2d7d2000","hex_latitude":"05eafd60","is_valid_coordinates":true} 
[2026-08-10 16:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307729152001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117246418132926464,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015995373180530688,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786358318000,"timestamp_ms":1786358318000,"timestamp_seconds":1786358318,"priority":1,"record_length":96,"hex_timestamp":"0000019feb40c3b0"} 
[2026-08-10 16:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-10 16:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307729152001,"66":13222,"158":206,"87":13824,"24":8,"16":117246418132926464,"45":9015995373180530688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 16:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307729152001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:08:44] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 16:08:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117246418132926464,"km_value":117246418132926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015995373180530688,"description":"Unknown IO ID 45"} 
[2026-08-10 16:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307729152001,"power":13222,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015995373180530688}} 
[2026-08-10 16:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":151992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:08:44] local.INFO: GPS data processed {"connection_id":151992,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:08:44] local.INFO: Acknowledgment sent {"connection_id":151992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:08:47] local.INFO: TCP Data received {"connection_id":151600,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:08:47] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:08:47] local.INFO: IMEI packet received {"connection_id":151600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":151600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:08:49] local.INFO: TCP Data received {"connection_id":151600,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3f21b8012d1822400721b468004600d428..."} 
[2026-08-10 16:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3f21b8012d1822400721b468004600d428..."} 
[2026-08-10 16:08:49] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3f21b8012d1822400721b468004600d428..."} 
[2026-08-10 16:08:49] local.INFO: Packet analysis {"connection_id":151600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3f"} 
[2026-08-10 16:08:49] local.INFO: Extracted packet for processing {"connection_id":151600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3f"} 
[2026-08-10 16:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649384,"longitude_deg":75.6556352,"latitude_deg":11.9649384,"altitude":70,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-10 16:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307696640001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486799838838784,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492852736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786358211000,"timestamp_ms":1786358211000,"timestamp_seconds":1786358211,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3f21b8"} 
[2026-08-10 16:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307696640001,"66":12461,"120":206,"28":31744,"24":0,"16":11486799838838784,"45":1739022805492852736},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307696640001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:08:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:08:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486799838838784,"km_value":11486799838838.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492852736,"description":"Unknown IO ID 45"} 
[2026-08-10 16:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307696640001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492852736}} 
[2026-08-10 16:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":151600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:08:49] local.INFO: GPS data processed {"connection_id":151600,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:08:49] local.INFO: Acknowledgment sent {"connection_id":151600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:08:58] local.INFO: TCP Data received {"connection_id":151993,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:08:58] local.INFO: Processing buffer {"connection_id":151993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:08:58] local.INFO: IMEI packet received {"connection_id":151993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":151993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:09:04] local.INFO: TCP Data received {"connection_id":151993,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:09:04] local.INFO: Processing buffer {"connection_id":151993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:09:04] local.INFO: IMEI packet received {"connection_id":151993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":151993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:09:05] local.INFO: TCP Data received {"connection_id":151993,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:09:05] local.INFO: Processing buffer {"connection_id":151993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:09:05] local.INFO: Packet analysis {"connection_id":151993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:09:05] local.INFO: Extracted packet for processing {"connection_id":151993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307597056001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786358102000,"timestamp_ms":1786358102000,"timestamp_seconds":1786358102,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d77f0"} 
[2026-08-10 16:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16: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-08-10 16:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307597056001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307597056001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:09:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307597056001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":151993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:09:05] local.INFO: GPS data processed {"connection_id":151993,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:09:05] local.INFO: Acknowledgment sent {"connection_id":151993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:09:07] local.INFO: TCP Data received {"connection_id":151994,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:09:07] local.INFO: Processing buffer {"connection_id":151994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:09:07] local.INFO: IMEI packet received {"connection_id":151994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":151994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:09:11] local.INFO: TCP Data received {"connection_id":151994,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:09:11] local.INFO: Processing buffer {"connection_id":151994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:09:11] local.INFO: IMEI packet received {"connection_id":151994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":151994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:09:12] local.INFO: TCP Data received {"connection_id":151994,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb40c798012d7d20c005eafca8000a009925..."} 
[2026-08-10 16:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb40c798012d7d20c005eafca8000a009925..."} 
[2026-08-10 16:09:12] local.INFO: Processing buffer {"connection_id":151994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb40c798012d7d20c005eafca8000a009925..."} 
[2026-08-10 16:09:12] local.INFO: Packet analysis {"connection_id":151994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:09:12] local.INFO: Extracted packet for processing {"connection_id":151994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":99286184,"longitude_deg":76.3175104,"latitude_deg":9.9286184,"altitude":10,"angle":153,"satellites":37,"speed":8,"hex_longitude":"2d7d20c0","hex_latitude":"05eafca8","is_valid_coordinates":true} 
[2026-08-10 16:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307729408001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117246431017828352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016206479413043200,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786358319000,"timestamp_ms":1786358319000,"timestamp_seconds":1786358319,"priority":1,"record_length":96,"hex_timestamp":"0000019feb40c798"} 
[2026-08-10 16:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-10 16:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307729408001,"66":13243,"158":206,"87":13824,"24":8,"16":117246431017828352,"45":9016206479413043200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 16:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307729408001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:09:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 16:09:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117246431017828352,"km_value":117246431017828.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016206479413043200,"description":"Unknown IO ID 45"} 
[2026-08-10 16:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307729408001,"power":13243,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9016206479413043200}} 
[2026-08-10 16:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":151994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:09:12] local.INFO: GPS data processed {"connection_id":151994,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:09:12] local.INFO: Acknowledgment sent {"connection_id":151994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:09:17] local.INFO: TCP Data received {"connection_id":152913,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4094d0012d0a9d400704f1c80021003716..."} 
[2026-08-10 16:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4094d0012d0a9d400704f1c80021003716..."} 
[2026-08-10 16:09:17] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4094d0012d0a9d400704f1c80021003716..."} 
[2026-08-10 16:09:17] local.INFO: Packet analysis {"connection_id":152913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:09:17] local.INFO: Extracted packet for processing {"connection_id":152913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:09:17] local.INFO: GPS Element Parsed {"raw_longitude":755670336,"raw_latitude":117764552,"longitude_deg":75.5670336,"latitude_deg":11.7764552,"altitude":33,"angle":55,"satellites":22,"speed":15,"hex_longitude":"2d0a9d40","hex_latitude":"0704f1c8","is_valid_coordinates":true} 
[2026-08-10 16:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307726080001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27439158779707392,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764415698149625856,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786358306000,"timestamp_ms":1786358306000,"timestamp_seconds":1786358306,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4094d0"} 
[2026-08-10 16:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 16:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307726080001,"66":14233,"177":206,"94":10240,"24":15,"16":27439158779707392,"45":764415698149625856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-10 16:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307726080001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:09:17] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 16:09:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27439158779707392,"km_value":27439158779707.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":764415698149625856,"description":"Unknown IO ID 45"} 
[2026-08-10 16:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307726080001,"power":14233,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":764415698149625856}} 
[2026-08-10 16:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":152913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620546,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:09:17] local.INFO: GPS data processed {"connection_id":152913,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:09:17] local.INFO: Acknowledgment sent {"connection_id":152913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:09:20] local.INFO: TCP Data received {"connection_id":151600,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3f73c0012d1822400721b468004600d428..."} 
[2026-08-10 16:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3f73c0012d1822400721b468004600d428..."} 
[2026-08-10 16:09:20] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3f73c0012d1822400721b468004600d428..."} 
[2026-08-10 16:09:20] local.INFO: Packet analysis {"connection_id":151600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3f"} 
[2026-08-10 16:09:20] local.INFO: Extracted packet for processing {"connection_id":151600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3f"} 
[2026-08-10 16:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649384,"longitude_deg":75.6556352,"latitude_deg":11.9649384,"altitude":70,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-10 16:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307702016001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486799838838784,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492852736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09: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-08-10 16:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786358232000,"timestamp_ms":1786358232000,"timestamp_seconds":1786358232,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3f73c0"} 
[2026-08-10 16:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307702016001,"66":12461,"120":206,"28":31744,"24":0,"16":11486799838838784,"45":1739022805492852736},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307702016001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:09:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:09:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486799838838784,"km_value":11486799838838.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492852736,"description":"Unknown IO ID 45"} 
[2026-08-10 16:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307702016001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492852736}} 
[2026-08-10 16:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":151600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:09:21] local.INFO: GPS data processed {"connection_id":151600,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:09:21] local.INFO: Acknowledgment sent {"connection_id":151600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:09:33] local.INFO: TCP Data received {"connection_id":151601,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:09:33] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:09:33] local.INFO: IMEI packet received {"connection_id":151601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":151601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:09:33] local.INFO: TCP Data received {"connection_id":151601,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:09:33] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:09:33] local.INFO: IMEI packet received {"connection_id":151601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":151601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:09:34] local.INFO: TCP Data received {"connection_id":151601,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:09:35] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:09:35] local.INFO: IMEI packet received {"connection_id":151601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":151601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:09:35] local.INFO: TCP Data received {"connection_id":151601,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:09:35] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:09:35] local.INFO: IMEI packet received {"connection_id":151601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":151601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:09:36] local.INFO: TCP Data received {"connection_id":151993,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:09:36] local.INFO: Processing buffer {"connection_id":151993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:09:36] local.INFO: Packet analysis {"connection_id":151993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:09:36] local.INFO: Extracted packet for processing {"connection_id":151993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307597056001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786358102000,"timestamp_ms":1786358102000,"timestamp_seconds":1786358102,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d77f0"} 
[2026-08-10 16:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16: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-08-10 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307597056001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307597056001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:09:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307597056001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":151993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:09:36] local.INFO: GPS data processed {"connection_id":151993,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:09:36] local.INFO: Acknowledgment sent {"connection_id":151993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:09:36] local.INFO: TCP Data received {"connection_id":151601,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb416f90012d0b61000704e980001b00a813..."} 
[2026-08-10 16:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb416f90012d0b61000704e980001b00a813..."} 
[2026-08-10 16:09:36] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb416f90012d0b61000704e980001b00a813..."} 
[2026-08-10 16:09:36] local.INFO: Packet analysis {"connection_id":151601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:09:36] local.INFO: Extracted packet for processing {"connection_id":151601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:09:36] local.INFO: GPS Element Parsed {"raw_longitude":755720448,"raw_latitude":117762432,"longitude_deg":75.5720448,"latitude_deg":11.7762432,"altitude":27,"angle":168,"satellites":19,"speed":26,"hex_longitude":"2d0b6100","hex_latitude":"0704e980","is_valid_coordinates":true} 
[2026-08-10 16:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307740416001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27441636975837184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819936637305518080,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786358362000,"timestamp_ms":1786358362000,"timestamp_seconds":1786358362,"priority":1,"record_length":96,"hex_timestamp":"0000019feb416f90"} 
[2026-08-10 16:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307740416001,"66":14439,"96":206,"94":10240,"24":26,"16":27441636975837184,"45":819936637305518080},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 16:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307740416001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:09:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:09:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27441636975837184,"km_value":27441636975837.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":819936637305518080,"description":"Unknown IO ID 45"} 
[2026-08-10 16:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307740416001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":819936637305518080}} 
[2026-08-10 16:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":151601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620549,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:09:36] local.INFO: GPS data processed {"connection_id":151601,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:09:36] local.INFO: Acknowledgment sent {"connection_id":151601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:09:38] local.INFO: TCP Data received {"connection_id":151601,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4196a0012d0b65800704c8380018009616..."} 
[2026-08-10 16:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4196a0012d0b65800704c8380018009616..."} 
[2026-08-10 16:09:38] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4196a0012d0b65800704c8380018009616..."} 
[2026-08-10 16:09:38] local.INFO: Packet analysis {"connection_id":151601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:09:38] local.INFO: Extracted packet for processing {"connection_id":151601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:09:38] local.INFO: GPS Element Parsed {"raw_longitude":755721600,"raw_latitude":117753912,"longitude_deg":75.57216,"latitude_deg":11.7753912,"altitude":24,"angle":150,"satellites":22,"speed":23,"hex_longitude":"2d0b6580","hex_latitude":"0704c838","is_valid_coordinates":true} 
[2026-08-10 16:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307740672001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27442057882632192,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819936637305323520,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786358372000,"timestamp_ms":1786358372000,"timestamp_seconds":1786358372,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4196a0"} 
[2026-08-10 16:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307740672001,"66":14515,"96":206,"94":10240,"24":23,"16":27442057882632192,"45":819936637305323520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 16:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307740672001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:09:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:09:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27442057882632192,"km_value":27442057882632.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":819936637305323520,"description":"Unknown IO ID 45"} 
[2026-08-10 16:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307740672001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":819936637305323520}} 
[2026-08-10 16:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":151601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620550,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:09:38] local.INFO: GPS data processed {"connection_id":151601,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:09:38] local.INFO: Acknowledgment sent {"connection_id":151601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:09:42] local.INFO: TCP Data received {"connection_id":152914,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:09:42] local.INFO: Processing buffer {"connection_id":152914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:09:42] local.INFO: IMEI packet received {"connection_id":152914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":152914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:09:44] local.INFO: TCP Data received {"connection_id":151994,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb40cb80012d7d214005eafbc0000a00b226..."} 
[2026-08-10 16:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb40cb80012d7d214005eafbc0000a00b226..."} 
[2026-08-10 16:09:44] local.INFO: Processing buffer {"connection_id":151994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb40cb80012d7d214005eafbc0000a00b226..."} 
[2026-08-10 16:09:44] local.INFO: Packet analysis {"connection_id":151994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:09:44] local.INFO: Extracted packet for processing {"connection_id":151994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:09:44] local.INFO: GPS Element Parsed {"raw_longitude":763175232,"raw_latitude":99285952,"longitude_deg":76.3175232,"latitude_deg":9.9285952,"altitude":10,"angle":178,"satellites":38,"speed":10,"hex_longitude":"2d7d2140","hex_latitude":"05eafbc0","is_valid_coordinates":true} 
[2026-08-10 16:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307729664001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117246443902730240,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016417585645529088,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786358320000,"timestamp_ms":1786358320000,"timestamp_seconds":1786358320,"priority":1,"record_length":96,"hex_timestamp":"0000019feb40cb80"} 
[2026-08-10 16:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 16:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307729664001,"66":13243,"158":206,"87":13824,"24":10,"16":117246443902730240,"45":9016417585645529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 16:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307729664001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:09:44] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 16:09:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117246443902730240,"km_value":117246443902730.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016417585645529088,"description":"Unknown IO ID 45"} 
[2026-08-10 16:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307729664001,"power":13243,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9016417585645529088}} 
[2026-08-10 16:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":151994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:09:44] local.INFO: GPS data processed {"connection_id":151994,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:09:44] local.INFO: Acknowledgment sent {"connection_id":151994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:09:47] local.INFO: TCP Data received {"connection_id":152914,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:09:47] local.INFO: Processing buffer {"connection_id":152914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:09:47] local.INFO: IMEI packet received {"connection_id":152914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":152914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:09:48] local.INFO: TCP Data received {"connection_id":152914,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3fc5c8012d1821000721b240005300d82a..."} 
[2026-08-10 16:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3fc5c8012d1821000721b240005300d82a..."} 
[2026-08-10 16:09:48] local.INFO: Processing buffer {"connection_id":152914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3fc5c8012d1821000721b240005300d82a..."} 
[2026-08-10 16:09:48] local.INFO: Packet analysis {"connection_id":152914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3f"} 
[2026-08-10 16:09:48] local.INFO: Extracted packet for processing {"connection_id":152914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3f"} 
[2026-08-10 16:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648832,"longitude_deg":75.6556032,"latitude_deg":11.9648832,"altitude":83,"angle":216,"satellites":42,"speed":4,"hex_longitude":"2d182100","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-10 16:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307707392001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486829903609856,"note":"Value kept but may cause issues"} 
[2026-08-10 16:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492852736,"note":"Value kept but may cause issues"} 
[2026-08-10 16: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-08-10 16:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786358253000,"timestamp_ms":1786358253000,"timestamp_seconds":1786358253,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3fc5c8"} 
[2026-08-10 16:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307707392001,"66":12461,"120":206,"28":31744,"24":4,"16":11486829903609856,"45":1739022805492852736},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307707392001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:09:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:09:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486829903609856,"km_value":11486829903609.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492852736,"description":"Unknown IO ID 45"} 
[2026-08-10 16:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307707392001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1739022805492852736}} 
[2026-08-10 16:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":152914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:09:48] local.INFO: GPS data processed {"connection_id":152914,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:09:48] local.INFO: Acknowledgment sent {"connection_id":152914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:09:59] local.INFO: TCP Data received {"connection_id":154374,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:09:59] local.INFO: Processing buffer {"connection_id":154374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:09:59] local.INFO: IMEI packet received {"connection_id":154374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":154374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:10:03] local.INFO: TCP Data received {"connection_id":154374,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:10:03] local.INFO: Processing buffer {"connection_id":154374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:10:03] local.INFO: IMEI packet received {"connection_id":154374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":154374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:10:04] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:10:04] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:10:04] local.INFO: IMEI packet received {"connection_id":151602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":151602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:10:04] local.INFO: TCP Data received {"connection_id":154374,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:10:04] local.INFO: Processing buffer {"connection_id":154374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:10:04] local.INFO: Packet analysis {"connection_id":154374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:10:04] local.INFO: Extracted packet for processing {"connection_id":154374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307597056001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786358102000,"timestamp_ms":1786358102000,"timestamp_seconds":1786358102,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d77f0"} 
[2026-08-10 16:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:10: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-08-10 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307597056001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307597056001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:10:04] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307597056001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":154374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:10:04] local.INFO: GPS data processed {"connection_id":154374,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:10:04] local.INFO: Acknowledgment sent {"connection_id":154374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:10:07] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:10:07] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:10:07] local.INFO: IMEI packet received {"connection_id":151602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":151602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:10:09] local.INFO: TCP Data received {"connection_id":151601,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb419a88012d0b67400704c7700018007516..."} 
[2026-08-10 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb419a88012d0b67400704c7700018007516..."} 
[2026-08-10 16:10:09] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb419a88012d0b67400704c7700018007516..."} 
[2026-08-10 16:10:09] local.INFO: Packet analysis {"connection_id":151601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:10:09] local.INFO: Extracted packet for processing {"connection_id":151601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":755722048,"raw_latitude":117753712,"longitude_deg":75.5722048,"latitude_deg":11.7753712,"altitude":24,"angle":117,"satellites":22,"speed":18,"hex_longitude":"2d0b6740","hex_latitude":"0704c770","is_valid_coordinates":true} 
[2026-08-10 16:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307743232001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27442083652435968,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821203274698340352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786358373000,"timestamp_ms":1786358373000,"timestamp_seconds":1786358373,"priority":1,"record_length":96,"hex_timestamp":"0000019feb419a88"} 
[2026-08-10 16:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 16:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307743232001,"66":14515,"96":206,"94":10240,"24":18,"16":27442083652435968,"45":821203274698340352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 16:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307743232001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:10:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:10:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27442083652435968,"km_value":27442083652435.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":821203274698340352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307743232001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":821203274698340352}} 
[2026-08-10 16:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":151601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620554,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:10:09] local.INFO: GPS data processed {"connection_id":151601,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:10:09] local.INFO: Acknowledgment sent {"connection_id":151601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:10:12] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:10:12] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:10:12] local.INFO: IMEI packet received {"connection_id":151602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":151602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:10:13] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4111d0012d7d200005ead7c0000a00b727..."} 
[2026-08-10 16:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4111d0012d7d200005ead7c0000a00b727..."} 
[2026-08-10 16:10:13] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4111d0012d7d200005ead7c0000a00b727..."} 
[2026-08-10 16:10:13] local.INFO: Packet analysis {"connection_id":151602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:10:13] local.INFO: Extracted packet for processing {"connection_id":151602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763174912,"raw_latitude":99276736,"longitude_deg":76.3174912,"latitude_deg":9.9276736,"altitude":10,"angle":183,"satellites":39,"speed":30,"hex_longitude":"2d7d2000","hex_latitude":"05ead7c0","is_valid_coordinates":true} 
[2026-08-10 16:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307729920001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117246890579329024,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016558323133825024,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786358338000,"timestamp_ms":1786358338000,"timestamp_seconds":1786358338,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4111d0"} 
[2026-08-10 16:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:10: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":187,"data_length":795,"current_offset":136} 
[2026-08-10 16:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307729920001,"66":12765,"158":206,"87":13824,"24":30,"16":117246890579329024,"45":9016558323133825024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 16:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307729920001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:10:13] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 16:10:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117246890579329024,"km_value":117246890579329.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016558323133825024,"description":"Unknown IO ID 45"} 
[2026-08-10 16:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307729920001,"power":12765,"unknown_158":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":9016558323133825024}} 
[2026-08-10 16:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":151602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:10:13] local.INFO: GPS data processed {"connection_id":151602,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:10:13] local.INFO: Acknowledgment sent {"connection_id":151602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:10:19] local.INFO: TCP Data received {"connection_id":152914,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4017d0012d181f800721b080005200d32b..."} 
[2026-08-10 16:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4017d0012d181f800721b080005200d32b..."} 
[2026-08-10 16:10:19] local.INFO: Processing buffer {"connection_id":152914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4017d0012d181f800721b080005200d32b..."} 
[2026-08-10 16:10:19] local.INFO: Packet analysis {"connection_id":152914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:10:19] local.INFO: Extracted packet for processing {"connection_id":152914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648384,"longitude_deg":75.6555648,"latitude_deg":11.9648384,"altitude":82,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-10 16:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307712768001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486859968380928,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771823104,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786358274000,"timestamp_ms":1786358274000,"timestamp_seconds":1786358274,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4017d0"} 
[2026-08-10 16:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:10: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-08-10 16:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307712768001,"66":12461,"120":206,"28":31744,"24":0,"16":11486859968380928,"45":1738670961771823104},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307712768001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:10:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:10:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486859968380928,"km_value":11486859968380.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771823104,"description":"Unknown IO ID 45"} 
[2026-08-10 16:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307712768001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771823104}} 
[2026-08-10 16:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":152914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:10:19] local.INFO: GPS data processed {"connection_id":152914,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:10:19] local.INFO: Acknowledgment sent {"connection_id":152914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:10:33] local.INFO: TCP Data received {"connection_id":151995,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:10:33] local.INFO: Processing buffer {"connection_id":151995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:10:33] local.INFO: IMEI packet received {"connection_id":151995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":151995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:10:36] local.INFO: TCP Data received {"connection_id":154374,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:10:36] local.INFO: Processing buffer {"connection_id":154374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb3d77f0012d342a4006abc2800013010221..."} 
[2026-08-10 16:10:36] local.INFO: Packet analysis {"connection_id":154374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:10:36] local.INFO: Extracted packet for processing {"connection_id":154374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb3d"} 
[2026-08-10 16:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307597056001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786358102000,"timestamp_ms":1786358102000,"timestamp_seconds":1786358102,"priority":1,"record_length":96,"hex_timestamp":"0000019feb3d77f0"} 
[2026-08-10 16:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307597056001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307597056001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:10:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307597056001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":154374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:10:36] local.INFO: GPS data processed {"connection_id":154374,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:10:36] local.INFO: Acknowledgment sent {"connection_id":154374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:10:38] local.INFO: TCP Data received {"connection_id":151995,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:10:38] local.INFO: Processing buffer {"connection_id":151995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:10:38] local.INFO: IMEI packet received {"connection_id":151995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":151995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:10:39] local.INFO: TCP Data received {"connection_id":151995,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb421f58012d0bb6400704bba8001b005716..."} 
[2026-08-10 16:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb421f58012d0bb6400704bba8001b005716..."} 
[2026-08-10 16:10:39] local.INFO: Processing buffer {"connection_id":151995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb421f58012d0bb6400704bba8001b005716..."} 
[2026-08-10 16:10:39] local.INFO: Packet analysis {"connection_id":151995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:10:39] local.INFO: Extracted packet for processing {"connection_id":151995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:10:39] local.INFO: GPS Element Parsed {"raw_longitude":755742272,"raw_latitude":117750696,"longitude_deg":75.5742272,"latitude_deg":11.7750696,"altitude":27,"angle":87,"satellites":22,"speed":33,"hex_longitude":"2d0bb640","hex_latitude":"0704bba8","is_valid_coordinates":true} 
[2026-08-10 16:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307749376001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27443118739554304,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833377067440097280,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786358407000,"timestamp_ms":1786358407000,"timestamp_seconds":1786358407,"priority":1,"record_length":96,"hex_timestamp":"0000019feb421f58"} 
[2026-08-10 16:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 16:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307749376001,"66":14450,"96":206,"94":10240,"24":33,"16":27443118739554304,"45":833377067440097280},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 16:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307749376001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:10:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:10:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27443118739554304,"km_value":27443118739554.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":833377067440097280,"description":"Unknown IO ID 45"} 
[2026-08-10 16:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307749376001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":833377067440097280}} 
[2026-08-10 16:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":151995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620558,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:10:39] local.INFO: GPS data processed {"connection_id":151995,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:10:39] local.INFO: Acknowledgment sent {"connection_id":151995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:10:42] local.INFO: TCP Data received {"connection_id":151603,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:10:42] local.INFO: Processing buffer {"connection_id":151603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:10:42] local.INFO: IMEI packet received {"connection_id":151603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":151603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:10:45] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb413cc8012d7d1ec005eab398000a00b725..."} 
[2026-08-10 16:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb413cc8012d7d1ec005eab398000a00b725..."} 
[2026-08-10 16:10:45] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb413cc8012d7d1ec005eab398000a00b725..."} 
[2026-08-10 16:10:45] local.INFO: Packet analysis {"connection_id":151602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:10:45] local.INFO: Extracted packet for processing {"connection_id":151602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:10:45] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":99267480,"longitude_deg":76.3174592,"latitude_deg":9.926748,"altitude":10,"angle":183,"satellites":37,"speed":32,"hex_longitude":"2d7d1ec0","hex_latitude":"05eab398","is_valid_coordinates":true} 
[2026-08-10 16:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307734528001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117247341550895104,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016206479410577408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786358349000,"timestamp_ms":1786358349000,"timestamp_seconds":1786358349,"priority":1,"record_length":96,"hex_timestamp":"0000019feb413cc8"} 
[2026-08-10 16:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 16:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307734528001,"66":12841,"158":206,"87":13824,"24":32,"16":117247341550895104,"45":9016206479410577408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 16:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307734528001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:10:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 16:10:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117247341550895104,"km_value":117247341550895.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016206479410577408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307734528001,"power":12841,"unknown_158":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9016206479410577408}} 
[2026-08-10 16:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":151602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:10:45] local.INFO: GPS data processed {"connection_id":151602,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:10:45] local.INFO: Acknowledgment sent {"connection_id":151602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:10:47] local.INFO: TCP Data received {"connection_id":151603,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:10:47] local.INFO: Processing buffer {"connection_id":151603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:10:47] local.INFO: IMEI packet received {"connection_id":151603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":151603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:10:48] local.INFO: TCP Data received {"connection_id":151603,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4069d8012d181e000721aed0005100d82b..."} 
[2026-08-10 16:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4069d8012d181e000721aed0005100d82b..."} 
[2026-08-10 16:10:48] local.INFO: Processing buffer {"connection_id":151603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4069d8012d181e000721aed0005100d82b..."} 
[2026-08-10 16:10:48] local.INFO: Packet analysis {"connection_id":151603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:10:48] local.INFO: Extracted packet for processing {"connection_id":151603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647952,"longitude_deg":75.6555264,"latitude_deg":11.9647952,"altitude":81,"angle":216,"satellites":43,"speed":1,"hex_longitude":"2d181e00","hex_latitude":"0721aed0","is_valid_coordinates":true} 
[2026-08-10 16:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307718144001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306642432,"note":"Value kept but may cause issues"} 
[2026-08-10 16:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786358295000,"timestamp_ms":1786358295000,"timestamp_seconds":1786358295,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4069d8"} 
[2026-08-10 16:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:10: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-08-10 16:10: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":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307718144001,"66":12461,"120":206,"28":31744,"24":1,"16":11486890033152000,"45":1738248749306642432},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307718144001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:10:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:10:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306642432,"description":"Unknown IO ID 45"} 
[2026-08-10 16:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307718144001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738248749306642432}} 
[2026-08-10 16:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":151603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:10:49] local.INFO: GPS data processed {"connection_id":151603,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:10:49] local.INFO: Acknowledgment sent {"connection_id":151603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:10:58] local.INFO: TCP Data received {"connection_id":151604,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:10:58] local.INFO: Processing buffer {"connection_id":151604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:10:58] local.INFO: IMEI packet received {"connection_id":151604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":151604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:11:05] local.INFO: TCP Data received {"connection_id":151604,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:11:05] local.INFO: Processing buffer {"connection_id":151604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:11:05] local.INFO: IMEI packet received {"connection_id":151604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":151604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:11:06] local.INFO: TCP Data received {"connection_id":151604,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:11:06] local.INFO: Processing buffer {"connection_id":151604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:11:06] local.INFO: Packet analysis {"connection_id":151604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:11:06] local.INFO: Extracted packet for processing {"connection_id":151604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307674112001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786358403000,"timestamp_ms":1786358403000,"timestamp_seconds":1786358403,"priority":1,"record_length":96,"hex_timestamp":"0000019feb420fb8"} 
[2026-08-10 16:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307674112001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307674112001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:11:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307674112001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":151604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:11:06] local.INFO: GPS data processed {"connection_id":151604,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:11:06] local.INFO: Acknowledgment sent {"connection_id":151604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:11:07] local.INFO: TCP Data received {"connection_id":152915,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:11:07] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:11:07] local.INFO: IMEI packet received {"connection_id":152915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":152915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:11:12] local.INFO: TCP Data received {"connection_id":152915,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:11:12] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:11:12] local.INFO: IMEI packet received {"connection_id":152915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":152915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:11:12] local.INFO: TCP Data received {"connection_id":151995,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4232e0012d0bc5800704bbc8001c004c15..."} 
[2026-08-10 16:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4232e0012d0bc5800704bbc8001c004c15..."} 
[2026-08-10 16:11:12] local.INFO: Processing buffer {"connection_id":151995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4232e0012d0bc5800704bbc8001c004c15..."} 
[2026-08-10 16:11:12] local.INFO: Packet analysis {"connection_id":151995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:11:12] local.INFO: Extracted packet for processing {"connection_id":151995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:11:12] local.INFO: GPS Element Parsed {"raw_longitude":755746176,"raw_latitude":117750728,"longitude_deg":75.5746176,"latitude_deg":11.7750728,"altitude":28,"angle":76,"satellites":21,"speed":23,"hex_longitude":"2d0bc580","hex_latitude":"0704bbc8","is_valid_coordinates":true} 
[2026-08-10 16:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307752192001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27443303423148032,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843932379066902528,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786358412000,"timestamp_ms":1786358412000,"timestamp_seconds":1786358412,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4232e0"} 
[2026-08-10 16:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 16:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307752192001,"66":14374,"96":206,"94":10240,"24":23,"16":27443303423148032,"45":843932379066902528},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-10 16:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307752192001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:11:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:11:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27443303423148032,"km_value":27443303423148.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":843932379066902528,"description":"Unknown IO ID 45"} 
[2026-08-10 16:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307752192001,"power":14374,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":843932379066902528}} 
[2026-08-10 16:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":151995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620562,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:11:12] local.INFO: GPS data processed {"connection_id":151995,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:11:12] local.INFO: Acknowledgment sent {"connection_id":151995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:11:14] local.INFO: TCP Data received {"connection_id":152915,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb416ba8012d7d1d0005ea8ea8000d00b426..."} 
[2026-08-10 16:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb416ba8012d7d1d0005ea8ea8000d00b426..."} 
[2026-08-10 16:11:14] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb416ba8012d7d1d0005ea8ea8000d00b426..."} 
[2026-08-10 16:11:14] local.INFO: Packet analysis {"connection_id":152915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:11:14] local.INFO: Extracted packet for processing {"connection_id":152915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:11:14] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99258024,"longitude_deg":76.3174144,"latitude_deg":9.9258024,"altitude":13,"angle":180,"satellites":38,"speed":26,"hex_longitude":"2d7d1d00","hex_latitude":"05ea8ea8","is_valid_coordinates":true} 
[2026-08-10 16:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307737344001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117247801112395776,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635687319552,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786358361000,"timestamp_ms":1786358361000,"timestamp_seconds":1786358361,"priority":1,"record_length":96,"hex_timestamp":"0000019feb416ba8"} 
[2026-08-10 16:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 16:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307737344001,"66":13059,"158":206,"87":13824,"24":26,"16":117247801112395776,"45":9015854635687319552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 16:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307737344001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:11:14] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 16:11:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117247801112395776,"km_value":117247801112395.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635687319552,"description":"Unknown IO ID 45"} 
[2026-08-10 16:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307737344001,"power":13059,"unknown_158":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9015854635687319552}} 
[2026-08-10 16:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":152915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:11:14] local.INFO: GPS data processed {"connection_id":152915,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:11:14] local.INFO: Acknowledgment sent {"connection_id":152915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:11:20] local.INFO: TCP Data received {"connection_id":151603,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb40bbe0012d181e000721aea8005100d82a..."} 
[2026-08-10 16:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb40bbe0012d181e000721aea8005100d82a..."} 
[2026-08-10 16:11:20] local.INFO: Processing buffer {"connection_id":151603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb40bbe0012d181e000721aea8005100d82a..."} 
[2026-08-10 16:11:20] local.INFO: Packet analysis {"connection_id":151603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:11:20] local.INFO: Extracted packet for processing {"connection_id":151603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb40"} 
[2026-08-10 16:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307723520001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841465856,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11: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-08-10 16:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786358316000,"timestamp_ms":1786358316000,"timestamp_seconds":1786358316,"priority":1,"record_length":96,"hex_timestamp":"0000019feb40bbe0"} 
[2026-08-10 16:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307723520001,"66":12461,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841465856},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307723520001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:11:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:11:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841465856,"description":"Unknown IO ID 45"} 
[2026-08-10 16:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307723520001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841465856}} 
[2026-08-10 16:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":151603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:11:20] local.INFO: GPS data processed {"connection_id":151603,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:11:20] local.INFO: Acknowledgment sent {"connection_id":151603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:11:32] local.INFO: TCP Data received {"connection_id":151996,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151996,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:11:32] local.INFO: Processing buffer {"connection_id":151996,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:11:32] local.INFO: IMEI packet received {"connection_id":151996,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":151996,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:11:33] local.INFO: TCP Data received {"connection_id":151996,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151996,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:11:33] local.INFO: Processing buffer {"connection_id":151996,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:11:33] local.INFO: IMEI packet received {"connection_id":151996,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":151996,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:11:37] local.INFO: TCP Data received {"connection_id":151604,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:11:37] local.INFO: Processing buffer {"connection_id":151604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:11:37] local.INFO: Packet analysis {"connection_id":151604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:11:37] local.INFO: Extracted packet for processing {"connection_id":151604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307674112001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786358403000,"timestamp_ms":1786358403000,"timestamp_seconds":1786358403,"priority":1,"record_length":96,"hex_timestamp":"0000019feb420fb8"} 
[2026-08-10 16:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:11: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-08-10 16: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-08-10 16:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307674112001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307674112001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:11:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307674112001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":151604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:11:37] local.INFO: GPS data processed {"connection_id":151604,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:11:37] local.INFO: Acknowledgment sent {"connection_id":151604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:11:37] local.INFO: TCP Data received {"connection_id":151996,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151996,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:11:37] local.INFO: Processing buffer {"connection_id":151996,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:11:37] local.INFO: IMEI packet received {"connection_id":151996,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":151996,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:11:39] local.INFO: TCP Data received {"connection_id":151996,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb434838012d0c8d800704d6a0001f015015..."} 
[2026-08-10 16:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb434838012d0c8d800704d6a0001f015015..."} 
[2026-08-10 16:11:39] local.INFO: Processing buffer {"connection_id":151996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb434838012d0c8d800704d6a0001f015015..."} 
[2026-08-10 16:11:39] local.INFO: Packet analysis {"connection_id":151996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:11:39] local.INFO: Extracted packet for processing {"connection_id":151996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:11:39] local.INFO: GPS Element Parsed {"raw_longitude":755797376,"raw_latitude":117757600,"longitude_deg":75.5797376,"latitude_deg":11.77576,"altitude":31,"angle":336,"satellites":21,"speed":7,"hex_longitude":"2d0c8d80","hex_latitude":"0704d6a0","is_valid_coordinates":true} 
[2026-08-10 16:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307768320001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27445837453852672,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904168024084629504,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786358483000,"timestamp_ms":1786358483000,"timestamp_seconds":1786358483,"priority":1,"record_length":96,"hex_timestamp":"0000019feb434838"} 
[2026-08-10 16:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 16:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151996,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151996,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307768320001,"66":14102,"95":206,"94":10240,"24":7,"16":27445837453852672,"45":904168024084629504},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 16:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307768320001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:11:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:11:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27445837453852672,"km_value":27445837453852.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":904168024084629504,"description":"Unknown IO ID 45"} 
[2026-08-10 16:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307768320001,"power":14102,"unknown_95":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":904168024084629504}} 
[2026-08-10 16:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":151996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620566,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:11:39] local.INFO: GPS data processed {"connection_id":151996,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:11:39] local.INFO: Acknowledgment sent {"connection_id":151996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:11:42] local.INFO: TCP Data received {"connection_id":152916,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:11:42] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:11:42] local.INFO: IMEI packet received {"connection_id":152916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":152916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:11:45] local.INFO: TCP Data received {"connection_id":152915,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb41b9c8012d7d1dc005ea7ea0000a00b426..."} 
[2026-08-10 16:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb41b9c8012d7d1dc005ea7ea0000a00b426..."} 
[2026-08-10 16:11:45] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb41b9c8012d7d1dc005ea7ea0000a00b426..."} 
[2026-08-10 16:11:45] local.INFO: Packet analysis {"connection_id":152915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:11:45] local.INFO: Extracted packet for processing {"connection_id":152915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:11:45] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":99253920,"longitude_deg":76.3174336,"latitude_deg":9.925392,"altitude":10,"angle":180,"satellites":38,"speed":18,"hex_longitude":"2d7d1dc0","hex_latitude":"05ea7ea0","is_valid_coordinates":true} 
[2026-08-10 16:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307740416001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117248002975858688,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054475655168,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786358381000,"timestamp_ms":1786358381000,"timestamp_seconds":1786358381,"priority":1,"record_length":96,"hex_timestamp":"0000019feb41b9c8"} 
[2026-08-10 16:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 16:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547472,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:45] local.WARNING: Large IO value detected {"io_id":158,"raw_value":58079734643818505,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3946889160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:45] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":32769,"corrected_to":0} 
[2026-08-10 16:11:45] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4238868490,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-08-10 16:11:45] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2952867197,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:45] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070416,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:45] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2331967488,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3942494208,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:45] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,158,87,24,241,157,16,140,159,60,45,192,179,10,37,66,139,17,215,39,203,64,1,240,187,227,235,234,4,113,205,8,195,32,96,36,239,51,2,160,5,9],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":203,"original":32769,"validated":0},{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-08-10 16:11:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936946797796524032,"timestamp_seconds":936946797796524.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 16:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307740416001,"66":12874,"158":206,"87":13824,"24":18,"16":117248002975858688,"45":9015362054475655168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-10 16:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307740416001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:11:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-10 16:11:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117248002975858688,"km_value":117248002975858.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054475655168,"description":"Unknown IO ID 45"} 
[2026-08-10 16:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307740416001,"power":12874,"unknown_158":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9015362054475655168}} 
[2026-08-10 16:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":152915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:11:45] local.INFO: GPS data processed {"connection_id":152915,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:11:45] local.INFO: Acknowledgment sent {"connection_id":152915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:11:47] local.INFO: TCP Data received {"connection_id":152916,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:11:47] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:11:47] local.INFO: IMEI packet received {"connection_id":152916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":152916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:11:48] local.INFO: TCP Data received {"connection_id":152916,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb410de8012d181e000721aea8005100d828..."} 
[2026-08-10 16:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb410de8012d181e000721aea8005100d828..."} 
[2026-08-10 16:11:48] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb410de8012d181e000721aea8005100d828..."} 
[2026-08-10 16:11:48] local.INFO: Packet analysis {"connection_id":152916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:11:48] local.INFO: Extracted packet for processing {"connection_id":152916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307728896001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786358337000,"timestamp_ms":1786358337000,"timestamp_seconds":1786358337,"priority":1,"record_length":96,"hex_timestamp":"0000019feb410de8"} 
[2026-08-10 16:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307728896001,"66":12439,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307728896001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:11:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:11:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307728896001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":152916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:11:48] local.INFO: GPS data processed {"connection_id":152916,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:11:48] local.INFO: Acknowledgment sent {"connection_id":152916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:12:03] local.INFO: TCP Data received {"connection_id":151997,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:12:03] local.INFO: Processing buffer {"connection_id":151997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:12:03] local.INFO: IMEI packet received {"connection_id":151997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":151997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:12:08] local.INFO: TCP Data received {"connection_id":151998,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:12:08] local.INFO: Processing buffer {"connection_id":151998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:12:08] local.INFO: IMEI packet received {"connection_id":151998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":151998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:12:09] local.INFO: TCP Data received {"connection_id":151997,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:12:09] local.INFO: Processing buffer {"connection_id":151997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:12:09] local.INFO: IMEI packet received {"connection_id":151997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":151997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:12:10] local.INFO: TCP Data received {"connection_id":151997,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:12:10] local.INFO: Processing buffer {"connection_id":151997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:12:10] local.INFO: Packet analysis {"connection_id":151997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:12:10] local.INFO: Extracted packet for processing {"connection_id":151997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307674112001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786358403000,"timestamp_ms":1786358403000,"timestamp_seconds":1786358403,"priority":1,"record_length":96,"hex_timestamp":"0000019feb420fb8"} 
[2026-08-10 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-08-10 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-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307674112001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307674112001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:12:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307674112001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":151997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:12:10] local.INFO: GPS data processed {"connection_id":151997,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:12:10] local.INFO: Acknowledgment sent {"connection_id":151997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:12:12] local.INFO: TCP Data received {"connection_id":151998,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:12:12] local.INFO: Processing buffer {"connection_id":151998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:12:12] local.INFO: IMEI packet received {"connection_id":151998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":151998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:12:13] local.INFO: TCP Data received {"connection_id":151998,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb43adc8012d7d0f4005e9bf580003010927..."} 
[2026-08-10 16:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb43adc8012d7d0f4005e9bf580003010927..."} 
[2026-08-10 16:12:13] local.INFO: Processing buffer {"connection_id":151998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb43adc8012d7d0f4005e9bf580003010927..."} 
[2026-08-10 16:12:13] local.INFO: Packet analysis {"connection_id":151998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:12:13] local.INFO: Extracted packet for processing {"connection_id":151998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763170624,"raw_latitude":99204952,"longitude_deg":76.3170624,"latitude_deg":9.9204952,"altitude":3,"angle":265,"satellites":39,"speed":10,"hex_longitude":"2d7d0f40","hex_latitude":"05e9bf58","is_valid_coordinates":true} 
[2026-08-10 16:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307777792001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117250421042446336,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011913985997395968,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786358509000,"timestamp_ms":1786358509000,"timestamp_seconds":1786358509,"priority":1,"record_length":96,"hex_timestamp":"0000019feb43adc8"} 
[2026-08-10 16:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 16:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307777792001,"66":13406,"126":206,"87":13824,"24":10,"16":117250421042446336,"45":9011913985997395968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-08-10 16:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307777792001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:12:13] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-10 16:12:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117250421042446336,"km_value":117250421042446.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011913985997395968,"description":"Unknown IO ID 45"} 
[2026-08-10 16:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307777792001,"power":13406,"unknown_126":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9011913985997395968}} 
[2026-08-10 16:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":151998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:12:13] local.INFO: GPS data processed {"connection_id":151998,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:12:13] local.INFO: Acknowledgment sent {"connection_id":151998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:12:14] local.INFO: TCP Data received {"connection_id":151997,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:12:14] local.INFO: Processing buffer {"connection_id":151997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:12:14] local.INFO: Packet analysis {"connection_id":151997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:12:14] local.INFO: Extracted packet for processing {"connection_id":151997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307674112001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786358403000,"timestamp_ms":1786358403000,"timestamp_seconds":1786358403,"priority":1,"record_length":96,"hex_timestamp":"0000019feb420fb8"} 
[2026-08-10 16:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307674112001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307674112001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:12:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307674112001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":151997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:12:14] local.INFO: GPS data processed {"connection_id":151997,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:12:14] local.INFO: Acknowledgment sent {"connection_id":151997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:12:14] local.INFO: TCP Data received {"connection_id":151996,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb434c20012d0c8cc00704d798001f014515..."} 
[2026-08-10 16:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb434c20012d0c8cc00704d798001f014515..."} 
[2026-08-10 16:12:14] local.INFO: Processing buffer {"connection_id":151996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb434c20012d0c8cc00704d798001f014515..."} 
[2026-08-10 16:12:14] local.INFO: Packet analysis {"connection_id":151996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:12:14] local.INFO: Extracted packet for processing {"connection_id":151996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:12:14] local.INFO: GPS Element Parsed {"raw_longitude":755797184,"raw_latitude":117757848,"longitude_deg":75.5797184,"latitude_deg":11.7757848,"altitude":31,"angle":325,"satellites":21,"speed":13,"hex_longitude":"2d0c8cc0","hex_latitude":"0704d798","is_valid_coordinates":true} 
[2026-08-10 16:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307771648001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27445850338754560,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904519867805638656,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786358484000,"timestamp_ms":1786358484000,"timestamp_seconds":1786358484,"priority":1,"record_length":96,"hex_timestamp":"0000019feb434c20"} 
[2026-08-10 16:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 16:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151996,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151996,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307771648001,"66":14515,"95":206,"94":10240,"24":13,"16":27445850338754560,"45":904519867805638656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 16:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307771648001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:12:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:12:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27445850338754560,"km_value":27445850338754.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":904519867805638656,"description":"Unknown IO ID 45"} 
[2026-08-10 16:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307771648001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":904519867805638656}} 
[2026-08-10 16:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":151996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:12:15] local.INFO: GPS data processed {"connection_id":151996,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:12:15] local.INFO: Acknowledgment sent {"connection_id":151996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:12:20] local.INFO: TCP Data received {"connection_id":152916,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb415ff0012d181e000721aea8005100d828..."} 
[2026-08-10 16:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb415ff0012d181e000721aea8005100d828..."} 
[2026-08-10 16:12:20] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb415ff0012d181e000721aea8005100d828..."} 
[2026-08-10 16:12:20] local.INFO: Packet analysis {"connection_id":152916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:12:20] local.INFO: Extracted packet for processing {"connection_id":152916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307734272001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16: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-08-10 16:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786358358000,"timestamp_ms":1786358358000,"timestamp_seconds":1786358358,"priority":1,"record_length":96,"hex_timestamp":"0000019feb415ff0"} 
[2026-08-10 16:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 16:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307734272001,"66":12461,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307734272001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:12:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:12:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307734272001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":152916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:12:20] local.INFO: GPS data processed {"connection_id":152916,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:12:20] local.INFO: Acknowledgment sent {"connection_id":152916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:12:32] local.INFO: TCP Data received {"connection_id":151999,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151999,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:12:32] local.INFO: Processing buffer {"connection_id":151999,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:12:32] local.INFO: IMEI packet received {"connection_id":151999,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":151999,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:12:38] local.INFO: TCP Data received {"connection_id":151999,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151999,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:12:38] local.INFO: Processing buffer {"connection_id":151999,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:12:38] local.INFO: IMEI packet received {"connection_id":151999,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":151999,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:12:39] local.INFO: TCP Data received {"connection_id":151999,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb436b60012d0c7fc00704ea38001f013a15..."} 
[2026-08-10 16:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb436b60012d0c7fc00704ea38001f013a15..."} 
[2026-08-10 16:12:39] local.INFO: Processing buffer {"connection_id":151999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb436b60012d0c7fc00704ea38001f013a15..."} 
[2026-08-10 16:12:39] local.INFO: Packet analysis {"connection_id":151999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:12:39] local.INFO: Extracted packet for processing {"connection_id":151999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:12:39] local.INFO: GPS Element Parsed {"raw_longitude":755793856,"raw_latitude":117762616,"longitude_deg":75.5793856,"latitude_deg":11.7762616,"altitude":31,"angle":314,"satellites":21,"speed":35,"hex_longitude":"2d0c7fc0","hex_latitude":"0704ea38","is_valid_coordinates":true} 
[2026-08-10 16:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307771904001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27446133806596096,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904308761573169152,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786358492000,"timestamp_ms":1786358492000,"timestamp_seconds":1786358492,"priority":1,"record_length":96,"hex_timestamp":"0000019feb436b60"} 
[2026-08-10 16:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 16:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307771904001,"66":14428,"95":206,"94":10240,"24":35,"16":27446133806596096,"45":904308761573169152},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 16:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307771904001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:12:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:12:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27446133806596096,"km_value":27446133806596.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":904308761573169152,"description":"Unknown IO ID 45"} 
[2026-08-10 16:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307771904001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":904308761573169152}} 
[2026-08-10 16:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":151999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620574,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:12:39] local.INFO: GPS data processed {"connection_id":151999,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:12:39] local.INFO: Acknowledgment sent {"connection_id":151999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:12:44] local.INFO: TCP Data received {"connection_id":154375,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:12:44] local.INFO: Processing buffer {"connection_id":154375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:12:44] local.INFO: IMEI packet received {"connection_id":154375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":154375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:12:44] local.INFO: TCP Data received {"connection_id":151998,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4455c0012d7cca0005e9bdd80001010b24..."} 
[2026-08-10 16:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4455c0012d7cca0005e9bdd80001010b24..."} 
[2026-08-10 16:12:44] local.INFO: Processing buffer {"connection_id":151998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4455c0012d7cca0005e9bdd80001010b24..."} 
[2026-08-10 16:12:44] local.INFO: Packet analysis {"connection_id":151998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:12:44] local.INFO: Extracted packet for processing {"connection_id":151998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763152896,"raw_latitude":99204568,"longitude_deg":76.3152896,"latitude_deg":9.9204568,"altitude":1,"angle":267,"satellites":36,"speed":10,"hex_longitude":"2d7cca00","hex_latitude":"05e9bdd8","is_valid_coordinates":true} 
[2026-08-10 16:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307789056001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117251348755382272,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992281106371684352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786358552000,"timestamp_ms":1786358552000,"timestamp_seconds":1786358552,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4455c0"} 
[2026-08-10 16:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 16:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307789056001,"66":13254,"192":206,"87":13824,"24":10,"16":117251348755382272,"45":8992281106371684352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-10 16:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307789056001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:12:44] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-10 16:12:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117251348755382272,"km_value":117251348755382.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992281106371684352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307789056001,"power":13254,"unknown_192":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8992281106371684352}} 
[2026-08-10 16:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":151998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:12:44] local.INFO: GPS data processed {"connection_id":151998,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:12:44] local.INFO: Acknowledgment sent {"connection_id":151998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:12:47] local.INFO: TCP Data received {"connection_id":154375,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:12:47] local.INFO: Processing buffer {"connection_id":154375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:12:47] local.INFO: IMEI packet received {"connection_id":154375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":154375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:12:52] local.INFO: TCP Data received {"connection_id":154375,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:12:52] local.INFO: Processing buffer {"connection_id":154375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:12:52] local.INFO: IMEI packet received {"connection_id":154375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":154375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:12:53] local.INFO: TCP Data received {"connection_id":154375,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb41b1f8012d181e000721aea8005100d827..."} 
[2026-08-10 16:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb41b1f8012d181e000721aea8005100d827..."} 
[2026-08-10 16:12:53] local.INFO: Processing buffer {"connection_id":154375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb41b1f8012d181e000721aea8005100d827..."} 
[2026-08-10 16:12:53] local.INFO: Packet analysis {"connection_id":154375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:12:53] local.INFO: Extracted packet for processing {"connection_id":154375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb41"} 
[2026-08-10 16:12:53] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307739648001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786358379000,"timestamp_ms":1786358379000,"timestamp_seconds":1786358379,"priority":1,"record_length":96,"hex_timestamp":"0000019feb41b1f8"} 
[2026-08-10 16:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307739648001,"66":12461,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307739648001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:12:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:12:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307739648001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":154375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:12:53] local.INFO: GPS data processed {"connection_id":154375,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:12:53] local.INFO: Acknowledgment sent {"connection_id":154375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:12:58] local.INFO: TCP Data received {"connection_id":154375,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb420400012d181e000721aea8005100d826..."} 
[2026-08-10 16:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb420400012d181e000721aea8005100d826..."} 
[2026-08-10 16:12:58] local.INFO: Processing buffer {"connection_id":154375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb420400012d181e000721aea8005100d826..."} 
[2026-08-10 16:12:58] local.INFO: Packet analysis {"connection_id":154375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:12:58] local.INFO: Extracted packet for processing {"connection_id":154375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:12:58] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307745024001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786358400000,"timestamp_ms":1786358400000,"timestamp_seconds":1786358400,"priority":1,"record_length":96,"hex_timestamp":"0000019feb420400"} 
[2026-08-10 16:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307745024001,"66":12428,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307745024001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:12:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:12:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307745024001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":154375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:12:58] local.INFO: GPS data processed {"connection_id":154375,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:12:58] local.INFO: Acknowledgment sent {"connection_id":154375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:12:58] local.INFO: TCP Data received {"connection_id":152917,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:12:58] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:12:58] local.INFO: IMEI packet received {"connection_id":152917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":152917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:13:03] local.INFO: TCP Data received {"connection_id":152917,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:13:03] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:13:03] local.INFO: IMEI packet received {"connection_id":152917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":152917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:13:05] local.INFO: TCP Data received {"connection_id":152917,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:13:05] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:13:05] local.INFO: Packet analysis {"connection_id":152917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:13:05] local.INFO: Extracted packet for processing {"connection_id":152917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307674112001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786358403000,"timestamp_ms":1786358403000,"timestamp_seconds":1786358403,"priority":1,"record_length":96,"hex_timestamp":"0000019feb420fb8"} 
[2026-08-10 16:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307674112001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307674112001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:13:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307674112001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":152917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:13:05] local.INFO: GPS data processed {"connection_id":152917,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:13:05] local.INFO: Acknowledgment sent {"connection_id":152917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:13:07] local.INFO: TCP Data received {"connection_id":151605,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:13:07] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:13:07] local.INFO: IMEI packet received {"connection_id":151605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":151605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:13:11] local.INFO: TCP Data received {"connection_id":151605,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:13:11] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:13:11] local.INFO: IMEI packet received {"connection_id":151605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":151605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:13:13] local.INFO: TCP Data received {"connection_id":151605,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb446948012d7cc0c005e9bd700001011824..."} 
[2026-08-10 16:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb446948012d7cc0c005e9bd700001011824..."} 
[2026-08-10 16:13:13] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb446948012d7cc0c005e9bd700001011824..."} 
[2026-08-10 16:13:13] local.INFO: Packet analysis {"connection_id":151605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:13:13] local.INFO: Extracted packet for processing {"connection_id":151605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763150528,"raw_latitude":99204464,"longitude_deg":76.3150528,"latitude_deg":9.9204464,"altitude":1,"angle":280,"satellites":36,"speed":19,"hex_longitude":"2d7cc0c0","hex_latitude":"05e9bd70","is_valid_coordinates":true} 
[2026-08-10 16:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307789312001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117251460424531968,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991999631394985984,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786358557000,"timestamp_ms":1786358557000,"timestamp_seconds":1786358557,"priority":1,"record_length":96,"hex_timestamp":"0000019feb446948"} 
[2026-08-10 16:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 16:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307789312001,"66":13037,"192":206,"87":13824,"24":19,"16":117251460424531968,"45":8991999631394985984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-10 16:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307789312001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:13:13] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-10 16:13:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117251460424531968,"km_value":117251460424531.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991999631394985984,"description":"Unknown IO ID 45"} 
[2026-08-10 16:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307789312001,"power":13037,"unknown_192":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8991999631394985984}} 
[2026-08-10 16:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":151605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:13:13] local.INFO: GPS data processed {"connection_id":151605,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:13:13] local.INFO: Acknowledgment sent {"connection_id":151605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:13:36] local.INFO: TCP Data received {"connection_id":152917,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:13:36] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:13:36] local.INFO: Packet analysis {"connection_id":152917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:13:36] local.INFO: Extracted packet for processing {"connection_id":152917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307674112001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786358403000,"timestamp_ms":1786358403000,"timestamp_seconds":1786358403,"priority":1,"record_length":96,"hex_timestamp":"0000019feb420fb8"} 
[2026-08-10 16:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307674112001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307674112001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:13:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307674112001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":152917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:13:36] local.INFO: GPS data processed {"connection_id":152917,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:13:36] local.INFO: Acknowledgment sent {"connection_id":152917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:13:42] local.INFO: TCP Data received {"connection_id":151606,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:13:42] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:13:42] local.INFO: IMEI packet received {"connection_id":151606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":151606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:13:45] local.INFO: TCP Data received {"connection_id":151605,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4478e8012d7cb90005e9bf000001010a24..."} 
[2026-08-10 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4478e8012d7cb90005e9bf000001010a24..."} 
[2026-08-10 16:13:45] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4478e8012d7cb90005e9bf000001010a24..."} 
[2026-08-10 16:13:45] local.INFO: Packet analysis {"connection_id":151605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:13:45] local.INFO: Extracted packet for processing {"connection_id":151605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":763148544,"raw_latitude":99204864,"longitude_deg":76.3148544,"latitude_deg":9.9204864,"altitude":1,"angle":266,"satellites":36,"speed":21,"hex_longitude":"2d7cb900","hex_latitude":"05e9bf00","is_valid_coordinates":true} 
[2026-08-10 16:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307790592001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117251559208779776,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989395987860385792,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786358561000,"timestamp_ms":1786358561000,"timestamp_seconds":1786358561,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4478e8"} 
[2026-08-10 16:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-10 16:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307790592001,"66":13319,"192":206,"87":13824,"24":21,"16":117251559208779776,"45":8989395987860385792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-10 16:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307790592001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:13:45] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-10 16:13:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117251559208779776,"km_value":117251559208779.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989395987860385792,"description":"Unknown IO ID 45"} 
[2026-08-10 16:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307790592001,"power":13319,"unknown_192":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8989395987860385792}} 
[2026-08-10 16:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":151605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:13:45] local.INFO: GPS data processed {"connection_id":151605,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:13:45] local.INFO: Acknowledgment sent {"connection_id":151605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:13:47] local.INFO: TCP Data received {"connection_id":151999,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb44bf38012d0c3c40070579980018014a16..."} 
[2026-08-10 16:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb44bf38012d0c3c40070579980018014a16..."} 
[2026-08-10 16:13:47] local.INFO: Processing buffer {"connection_id":151999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb44bf38012d0c3c40070579980018014a16..."} 
[2026-08-10 16:13:47] local.INFO: Packet analysis {"connection_id":151999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:13:47] local.INFO: Extracted packet for processing {"connection_id":151999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117799320,"longitude_deg":75.5776576,"latitude_deg":11.779932,"altitude":24,"angle":330,"satellites":22,"speed":23,"hex_longitude":"2d0c3c40","hex_latitude":"07057998","is_valid_coordinates":true} 
[2026-08-10 16:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307793408001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27448148146257920,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886646206793142272,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786358579000,"timestamp_ms":1786358579000,"timestamp_seconds":1786358579,"priority":1,"record_length":96,"hex_timestamp":"0000019feb44bf38"} 
[2026-08-10 16:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 16:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307793408001,"66":14374,"95":206,"94":10240,"24":23,"16":27448148146257920,"45":886646206793142272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 16:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307793408001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:13:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:13:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27448148146257920,"km_value":27448148146257.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":886646206793142272,"description":"Unknown IO ID 45"} 
[2026-08-10 16:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307793408001,"power":14374,"unknown_95":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":886646206793142272}} 
[2026-08-10 16:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":151999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620582,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:13:47] local.INFO: GPS data processed {"connection_id":151999,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:13:47] local.INFO: Acknowledgment sent {"connection_id":151999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:13:47] local.INFO: TCP Data received {"connection_id":151606,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:13:47] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:13:47] local.INFO: IMEI packet received {"connection_id":151606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":151606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:13:48] local.INFO: TCP Data received {"connection_id":151607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:13:48] local.INFO: Processing buffer {"connection_id":151607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:13:48] local.INFO: IMEI packet received {"connection_id":151607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":151607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:13:48] local.INFO: TCP Data received {"connection_id":151606,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb425608012d181e000721aea8005100d827..."} 
[2026-08-10 16:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb425608012d181e000721aea8005100d827..."} 
[2026-08-10 16:13:48] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb425608012d181e000721aea8005100d827..."} 
[2026-08-10 16:13:48] local.INFO: Packet analysis {"connection_id":151606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:13:48] local.INFO: Extracted packet for processing {"connection_id":151606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307750400001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786358421000,"timestamp_ms":1786358421000,"timestamp_seconds":1786358421,"priority":1,"record_length":96,"hex_timestamp":"0000019feb425608"} 
[2026-08-10 16:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 16:13: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-08-10 16:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307750400001,"66":12439,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307750400001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:13:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:13:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307750400001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":151606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:13:48] local.INFO: GPS data processed {"connection_id":151606,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:13:48] local.INFO: Acknowledgment sent {"connection_id":151606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:13:50] local.INFO: TCP Data received {"connection_id":151606,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb42a810012d181e000721aea8005100d829..."} 
[2026-08-10 16:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb42a810012d181e000721aea8005100d829..."} 
[2026-08-10 16:13:50] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb42a810012d181e000721aea8005100d829..."} 
[2026-08-10 16:13:50] local.INFO: Packet analysis {"connection_id":151606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:13:50] local.INFO: Extracted packet for processing {"connection_id":151606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307755776001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13: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-08-10 16:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786358442000,"timestamp_ms":1786358442000,"timestamp_seconds":1786358442,"priority":1,"record_length":96,"hex_timestamp":"0000019feb42a810"} 
[2026-08-10 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-08-10 16:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 16:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307755776001,"66":12428,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307755776001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:13:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:13:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307755776001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":151606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:13:50] local.INFO: GPS data processed {"connection_id":151606,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:13:50] local.INFO: Acknowledgment sent {"connection_id":151606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:13:52] local.INFO: TCP Data received {"connection_id":151607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:13:52] local.INFO: Processing buffer {"connection_id":151607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:13:52] local.INFO: IMEI packet received {"connection_id":151607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":151607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:13:53] local.INFO: TCP Data received {"connection_id":151607,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb44ced8012d0c3740070581b00016013e16..."} 
[2026-08-10 16:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb44ced8012d0c3740070581b00016013e16..."} 
[2026-08-10 16:13:53] local.INFO: Processing buffer {"connection_id":151607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb44ced8012d0c3740070581b00016013e16..."} 
[2026-08-10 16:13:53] local.INFO: Packet analysis {"connection_id":151607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:13:53] local.INFO: Extracted packet for processing {"connection_id":151607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:13:53] local.INFO: GPS Element Parsed {"raw_longitude":755775296,"raw_latitude":117801392,"longitude_deg":75.5775296,"latitude_deg":11.7801392,"altitude":22,"angle":318,"satellites":22,"speed":27,"hex_longitude":"2d0c3740","hex_latitude":"070581b0","is_valid_coordinates":true} 
[2026-08-10 16:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307796224001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27448268405342208,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881650025958578176,"note":"Value kept but may cause issues"} 
[2026-08-10 16:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786358583000,"timestamp_ms":1786358583000,"timestamp_seconds":1786358583,"priority":1,"record_length":96,"hex_timestamp":"0000019feb44ced8"} 
[2026-08-10 16:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:13: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-08-10 16:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 16:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307796224001,"66":14515,"95":206,"94":10240,"24":27,"16":27448268405342208,"45":881650025958578176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 16:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307796224001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:13:53] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:13:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27448268405342208,"km_value":27448268405342.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":881650025958578176,"description":"Unknown IO ID 45"} 
[2026-08-10 16:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307796224001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":881650025958578176}} 
[2026-08-10 16:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":151607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620585,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:13:53] local.INFO: GPS data processed {"connection_id":151607,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:13:53] local.INFO: Acknowledgment sent {"connection_id":151607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:13:59] local.INFO: TCP Data received {"connection_id":152918,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:13:59] local.INFO: Processing buffer {"connection_id":152918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:13:59] local.INFO: IMEI packet received {"connection_id":152918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":152918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:14:03] local.INFO: TCP Data received {"connection_id":152918,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:14:03] local.INFO: Processing buffer {"connection_id":152918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:14:03] local.INFO: IMEI packet received {"connection_id":152918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":152918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:14:05] local.INFO: TCP Data received {"connection_id":152918,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:14:05] local.INFO: Processing buffer {"connection_id":152918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:14:05] local.INFO: Packet analysis {"connection_id":152918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:14:05] local.INFO: Extracted packet for processing {"connection_id":152918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307674112001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786358403000,"timestamp_ms":1786358403000,"timestamp_seconds":1786358403,"priority":1,"record_length":96,"hex_timestamp":"0000019feb420fb8"} 
[2026-08-10 16:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307674112001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307674112001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:14:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307674112001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":152918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:14:05] local.INFO: GPS data processed {"connection_id":152918,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:14:05] local.INFO: Acknowledgment sent {"connection_id":152918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:14:07] local.INFO: TCP Data received {"connection_id":152000,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:14:07] local.INFO: Processing buffer {"connection_id":152000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:14:07] local.INFO: IMEI packet received {"connection_id":152000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":152000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:14:07] local.INFO: TCP Data received {"connection_id":152000,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:14:07] local.INFO: Processing buffer {"connection_id":152000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:14:07] local.INFO: IMEI packet received {"connection_id":152000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":152000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:14:09] local.INFO: TCP Data received {"connection_id":152000,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:14:09] local.INFO: Processing buffer {"connection_id":152000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:14:09] local.INFO: IMEI packet received {"connection_id":152000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":152000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:14:12] local.INFO: TCP Data received {"connection_id":152000,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:14:12] local.INFO: Processing buffer {"connection_id":152000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:14:12] local.INFO: IMEI packet received {"connection_id":152000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":152000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:14:14] local.INFO: TCP Data received {"connection_id":152000,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb449ff8012d7ca34005e9bc70000200ff25..."} 
[2026-08-10 16:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb449ff8012d7ca34005e9bc70000200ff25..."} 
[2026-08-10 16:14:14] local.INFO: Processing buffer {"connection_id":152000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb449ff8012d7ca34005e9bc70000200ff25..."} 
[2026-08-10 16:14:14] local.INFO: Packet analysis {"connection_id":152000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:14:14] local.INFO: Extracted packet for processing {"connection_id":152000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:14:14] local.INFO: GPS Element Parsed {"raw_longitude":763142976,"raw_latitude":99204208,"longitude_deg":76.3142976,"latitude_deg":9.9204208,"altitude":2,"angle":255,"satellites":37,"speed":19,"hex_longitude":"2d7ca340","hex_latitude":"05e9bc70","is_valid_coordinates":true} 
[2026-08-10 16:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307791616001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117251825496752128,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987214556790980608,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786358571000,"timestamp_ms":1786358571000,"timestamp_seconds":1786358571,"priority":1,"record_length":96,"hex_timestamp":"0000019feb449ff8"} 
[2026-08-10 16:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 16:14:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3947115160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:14] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5244441757461371648,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-08-10 16:14:14] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2147871164,"corrected_to":0} 
[2026-08-10 16:14:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2406678528,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921176576,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:14] local.WARNING: Large IO value detected {"io_id":216,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:14] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3364190216524759045,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,192,87,24,241,157,16,143,159,105,45,189,1,36,10,66,85,81,240,198,227,235,233,4,113,205,9,74,204,152,35,239,47,2,160,5,12,216,68],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0},{"io_id":204,"original":2147871164,"validated":0}]} 
[2026-08-10 16:14:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72350218751115264,"timestamp_seconds":72350218751115.27,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 16:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307791616001,"66":13189,"192":206,"87":13824,"24":19,"16":117251825496752128,"45":8987214556790980608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-10 16:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307791616001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:14:14] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-10 16:14:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117251825496752128,"km_value":117251825496752.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987214556790980608,"description":"Unknown IO ID 45"} 
[2026-08-10 16:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307791616001,"power":13189,"unknown_192":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8987214556790980608}} 
[2026-08-10 16:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":152000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:14:14] local.INFO: GPS data processed {"connection_id":152000,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:14:14] local.INFO: Acknowledgment sent {"connection_id":152000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:14:21] local.INFO: TCP Data received {"connection_id":151606,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb42fa18012d181e000721aea8005100d827..."} 
[2026-08-10 16:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb42fa18012d181e000721aea8005100d827..."} 
[2026-08-10 16:14:21] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb42fa18012d181e000721aea8005100d827..."} 
[2026-08-10 16:14:21] local.INFO: Packet analysis {"connection_id":151606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:14:21] local.INFO: Extracted packet for processing {"connection_id":151606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307761152001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786358463000,"timestamp_ms":1786358463000,"timestamp_seconds":1786358463,"priority":1,"record_length":96,"hex_timestamp":"0000019feb42fa18"} 
[2026-08-10 16:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 16:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307761152001,"66":12439,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307761152001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:14:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:14:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307761152001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":151606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:14:21] local.INFO: GPS data processed {"connection_id":151606,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:14:21] local.INFO: Acknowledgment sent {"connection_id":151606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:14:32] local.INFO: TCP Data received {"connection_id":152919,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:14:32] local.INFO: Processing buffer {"connection_id":152919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:14:32] local.INFO: IMEI packet received {"connection_id":152919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":152919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:14:37] local.INFO: TCP Data received {"connection_id":152918,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:14:37] local.INFO: Processing buffer {"connection_id":152918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:14:37] local.INFO: Packet analysis {"connection_id":152918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:14:37] local.INFO: Extracted packet for processing {"connection_id":152918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307674112001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786358403000,"timestamp_ms":1786358403000,"timestamp_seconds":1786358403,"priority":1,"record_length":96,"hex_timestamp":"0000019feb420fb8"} 
[2026-08-10 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-08-10 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:14: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-08-10 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-08-10 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-08-10 16:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307674112001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307674112001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:14:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307674112001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":152918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:14:37] local.INFO: GPS data processed {"connection_id":152918,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:14:37] local.INFO: Acknowledgment sent {"connection_id":152918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:14:38] local.INFO: TCP Data received {"connection_id":152919,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:14:38] local.INFO: Processing buffer {"connection_id":152919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:14:38] local.INFO: IMEI packet received {"connection_id":152919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":152919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:14:38] local.INFO: TCP Data received {"connection_id":152919,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb44da90012d0c3080070587700016012e17..."} 
[2026-08-10 16:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb44da90012d0c3080070587700016012e17..."} 
[2026-08-10 16:14:38] local.INFO: Processing buffer {"connection_id":152919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb44da90012d0c3080070587700016012e17..."} 
[2026-08-10 16:14:38] local.INFO: Packet analysis {"connection_id":152919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:14:38] local.INFO: Extracted packet for processing {"connection_id":152919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":755773568,"raw_latitude":117802864,"longitude_deg":75.5773568,"latitude_deg":11.7802864,"altitude":22,"angle":302,"satellites":23,"speed":32,"hex_longitude":"2d0c3080","hex_latitude":"07058770","is_valid_coordinates":true} 
[2026-08-10 16:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307797248001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27448375779524608,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880242651075555328,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786358586000,"timestamp_ms":1786358586000,"timestamp_seconds":1786358586,"priority":1,"record_length":96,"hex_timestamp":"0000019feb44da90"} 
[2026-08-10 16:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 16:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307797248001,"66":14396,"95":206,"94":10240,"24":32,"16":27448375779524608,"45":880242651075555328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 16:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307797248001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:14:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:14:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27448375779524608,"km_value":27448375779524.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":880242651075555328,"description":"Unknown IO ID 45"} 
[2026-08-10 16:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307797248001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":880242651075555328}} 
[2026-08-10 16:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":152919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620590,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:14:39] local.INFO: GPS data processed {"connection_id":152919,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:14:39] local.INFO: Acknowledgment sent {"connection_id":152919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:14:42] local.INFO: TCP Data received {"connection_id":151608,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:14:42] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:14:42] local.INFO: IMEI packet received {"connection_id":151608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":151608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:14:47] local.INFO: TCP Data received {"connection_id":151608,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:14:47] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:14:47] local.INFO: IMEI packet received {"connection_id":151608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":151608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:14:48] local.INFO: TCP Data received {"connection_id":151608,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb434c20012d181e000721aea8005100d827..."} 
[2026-08-10 16:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb434c20012d181e000721aea8005100d827..."} 
[2026-08-10 16:14:48] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb434c20012d181e000721aea8005100d827..."} 
[2026-08-10 16:14:48] local.INFO: Packet analysis {"connection_id":151608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:14:48] local.INFO: Extracted packet for processing {"connection_id":151608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:14:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307766528001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786358484000,"timestamp_ms":1786358484000,"timestamp_seconds":1786358484,"priority":1,"record_length":96,"hex_timestamp":"0000019feb434c20"} 
[2026-08-10 16:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 16:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307766528001,"66":12439,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307766528001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:14:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:14:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307766528001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":151608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:14:48] local.INFO: GPS data processed {"connection_id":151608,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:14:48] local.INFO: Acknowledgment sent {"connection_id":151608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:14:51] local.INFO: TCP Data received {"connection_id":151608,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb439e28012d181e000721aea8005100d826..."} 
[2026-08-10 16:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb439e28012d181e000721aea8005100d826..."} 
[2026-08-10 16:14:51] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb439e28012d181e000721aea8005100d826..."} 
[2026-08-10 16:14:51] local.INFO: Packet analysis {"connection_id":151608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:14:51] local.INFO: Extracted packet for processing {"connection_id":151608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307771904001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786358505000,"timestamp_ms":1786358505000,"timestamp_seconds":1786358505,"priority":1,"record_length":96,"hex_timestamp":"0000019feb439e28"} 
[2026-08-10 16:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:14: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-08-10 16:14: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-08-10 16:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307771904001,"66":12461,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307771904001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:14:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:14:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307771904001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":151608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:14:51] local.INFO: GPS data processed {"connection_id":151608,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:14:51] local.INFO: Acknowledgment sent {"connection_id":151608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:15:00] local.INFO: TCP Data received {"connection_id":152001,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:15:00] local.INFO: Processing buffer {"connection_id":152001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:15:00] local.INFO: IMEI packet received {"connection_id":152001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":152001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:15:03] local.INFO: TCP Data received {"connection_id":152000,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb45e818012d7c7c0005e995e0000100e224..."} 
[2026-08-10 16:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb45e818012d7c7c0005e995e0000100e224..."} 
[2026-08-10 16:15:03] local.INFO: Processing buffer {"connection_id":152000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb45e818012d7c7c0005e995e0000100e224..."} 
[2026-08-10 16:15:03] local.INFO: Packet analysis {"connection_id":152000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb45"} 
[2026-08-10 16:15:03] local.INFO: Extracted packet for processing {"connection_id":152000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb45"} 
[2026-08-10 16:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763132928,"raw_latitude":99194336,"longitude_deg":76.3132928,"latitude_deg":9.9194336,"altitude":1,"angle":226,"satellites":36,"speed":16,"hex_longitude":"2d7c7c00","hex_latitude":"05e995e0","is_valid_coordinates":true} 
[2026-08-10 16:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307815424001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117252705965047808,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970466795674066944,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786358655000,"timestamp_ms":1786358655000,"timestamp_seconds":1786358655,"priority":1,"record_length":96,"hex_timestamp":"0000019feb45e818"} 
[2026-08-10 16:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 16:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307815424001,"66":13341,"192":206,"87":13824,"24":16,"16":117252705965047808,"45":8970466795674066944},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-10 16:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307815424001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:15:03] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-10 16:15:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117252705965047808,"km_value":117252705965047.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970466795674066944,"description":"Unknown IO ID 45"} 
[2026-08-10 16:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307815424001,"power":13341,"unknown_192":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8970466795674066944}} 
[2026-08-10 16:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":152000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:15:03] local.INFO: GPS data processed {"connection_id":152000,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:15:03] local.INFO: Acknowledgment sent {"connection_id":152000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:15:03] local.INFO: TCP Data received {"connection_id":152001,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:15:03] local.INFO: Processing buffer {"connection_id":152001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:15:03] local.INFO: IMEI packet received {"connection_id":152001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":152001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:15:04] local.INFO: TCP Data received {"connection_id":152001,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:15:04] local.INFO: Processing buffer {"connection_id":152001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:15:04] local.INFO: Packet analysis {"connection_id":152001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:15:04] local.INFO: Extracted packet for processing {"connection_id":152001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307674112001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786358403000,"timestamp_ms":1786358403000,"timestamp_seconds":1786358403,"priority":1,"record_length":96,"hex_timestamp":"0000019feb420fb8"} 
[2026-08-10 16:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:15: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-08-10 16:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307674112001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307674112001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:15:04] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307674112001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":152001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:15:04] local.INFO: GPS data processed {"connection_id":152001,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:15:04] local.INFO: Acknowledgment sent {"connection_id":152001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:15:07] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:15:07] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:15:07] local.INFO: IMEI packet received {"connection_id":151609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":151609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:15:13] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:15:13] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:15:13] local.INFO: IMEI packet received {"connection_id":151609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":151609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:15:14] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:15:14] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:15:14] local.INFO: IMEI packet received {"connection_id":151609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":151609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:15:15] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb45f3d0012d7c77c005e992b8000200f024..."} 
[2026-08-10 16:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb45f3d0012d7c77c005e992b8000200f024..."} 
[2026-08-10 16:15:15] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb45f3d0012d7c77c005e992b8000200f024..."} 
[2026-08-10 16:15:15] local.INFO: Packet analysis {"connection_id":151609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb45"} 
[2026-08-10 16:15:15] local.INFO: Extracted packet for processing {"connection_id":151609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb45"} 
[2026-08-10 16:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763131840,"raw_latitude":99193528,"longitude_deg":76.313184,"latitude_deg":9.9193528,"altitude":2,"angle":240,"satellites":36,"speed":16,"hex_longitude":"2d7c77c0","hex_latitude":"05e992b8","is_valid_coordinates":true} 
[2026-08-10 16:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307815680001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117252770389557248,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970044583208935424,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786358658000,"timestamp_ms":1786358658000,"timestamp_seconds":1786358658,"priority":1,"record_length":96,"hex_timestamp":"0000019feb45f3d0"} 
[2026-08-10 16:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 16:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307815680001,"66":13374,"192":206,"87":13824,"24":16,"16":117252770389557248,"45":8970044583208935424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-10 16:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307815680001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:15:15] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-10 16:15:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117252770389557248,"km_value":117252770389557.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970044583208935424,"description":"Unknown IO ID 45"} 
[2026-08-10 16:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307815680001,"power":13374,"unknown_192":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8970044583208935424}} 
[2026-08-10 16:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":151609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:15:15] local.INFO: GPS data processed {"connection_id":151609,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:15:15] local.INFO: Acknowledgment sent {"connection_id":151609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:15:17] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb462a80012d7c568005e98578000000f823..."} 
[2026-08-10 16:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb462a80012d7c568005e98578000000f823..."} 
[2026-08-10 16:15:17] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb462a80012d7c568005e98578000000f823..."} 
[2026-08-10 16:15:17] local.INFO: Packet analysis {"connection_id":151609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:15:17] local.INFO: Extracted packet for processing {"connection_id":151609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:15:17] local.INFO: GPS Element Parsed {"raw_longitude":763123328,"raw_latitude":99190136,"longitude_deg":76.3123328,"latitude_deg":9.9190136,"altitude":0,"angle":248,"satellites":35,"speed":28,"hex_longitude":"2d7c5680","hex_latitude":"05e98578","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307816448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117253212771188736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968848314557708288,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786358672000,"timestamp_ms":1786358672000,"timestamp_seconds":1786358672,"priority":1,"record_length":96,"hex_timestamp":"0000019feb462a80"} 
[2026-08-10 16:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 16:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307816448001,"66":13189,"192":206,"87":13824,"24":28,"16":117253212771188736,"45":8968848314557708288},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-10 16:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307816448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:15:17] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-10 16:15:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117253212771188736,"km_value":117253212771188.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968848314557708288,"description":"Unknown IO ID 45"} 
[2026-08-10 16:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307816448001,"power":13189,"unknown_192":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8968848314557708288}} 
[2026-08-10 16:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":151609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:15:17] local.INFO: GPS data processed {"connection_id":151609,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:15:17] local.INFO: Acknowledgment sent {"connection_id":151609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:15:22] local.INFO: TCP Data received {"connection_id":151608,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb43f030012d181e000721aea8005100d827..."} 
[2026-08-10 16:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb43f030012d181e000721aea8005100d827..."} 
[2026-08-10 16:15:22] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb43f030012d181e000721aea8005100d827..."} 
[2026-08-10 16:15:22] local.INFO: Packet analysis {"connection_id":151608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:15:22] local.INFO: Extracted packet for processing {"connection_id":151608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb43"} 
[2026-08-10 16:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307777280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786358526000,"timestamp_ms":1786358526000,"timestamp_seconds":1786358526,"priority":1,"record_length":96,"hex_timestamp":"0000019feb43f030"} 
[2026-08-10 16:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:15: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-08-10 16:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307777280001,"66":11928,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307777280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:15:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:15:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307777280001,"power":11928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":151608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:15:22] local.INFO: GPS data processed {"connection_id":151608,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:15:22] local.INFO: Acknowledgment sent {"connection_id":151608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:15:36] local.INFO: TCP Data received {"connection_id":152001,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:15:36] local.INFO: Processing buffer {"connection_id":152001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb420fb8012d342a4006abc2800030010225..."} 
[2026-08-10 16:15:36] local.INFO: Packet analysis {"connection_id":152001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:15:36] local.INFO: Extracted packet for processing {"connection_id":152001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb42"} 
[2026-08-10 16:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307674112001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786358403000,"timestamp_ms":1786358403000,"timestamp_seconds":1786358403,"priority":1,"record_length":96,"hex_timestamp":"0000019feb420fb8"} 
[2026-08-10 16:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307674112001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307674112001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:15:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307674112001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":152001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:15:36] local.INFO: GPS data processed {"connection_id":152001,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:15:36] local.INFO: Acknowledgment sent {"connection_id":152001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:15:43] local.INFO: TCP Data received {"connection_id":152920,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:15:43] local.INFO: Processing buffer {"connection_id":152920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:15:43] local.INFO: IMEI packet received {"connection_id":152920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":152920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:15:45] local.INFO: TCP Data received {"connection_id":152919,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4697e0012d0c3ac007063e70001c000017..."} 
[2026-08-10 16:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4697e0012d0c3ac007063e70001c000017..."} 
[2026-08-10 16:15:45] local.INFO: Processing buffer {"connection_id":152919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4697e0012d0c3ac007063e70001c000017..."} 
[2026-08-10 16:15:45] local.INFO: Packet analysis {"connection_id":152919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:15:45] local.INFO: Extracted packet for processing {"connection_id":152919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:15:45] local.INFO: GPS Element Parsed {"raw_longitude":755776192,"raw_latitude":117849712,"longitude_deg":75.5776192,"latitude_deg":11.7849712,"altitude":28,"angle":0,"satellites":23,"speed":18,"hex_longitude":"2d0c3ac0","hex_latitude":"07063e70","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307825664001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27451060134084608,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132203180032,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786358700000,"timestamp_ms":1786358700000,"timestamp_seconds":1786358700,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4697e0"} 
[2026-08-10 16:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 16:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307825664001,"66":14439,"164":206,"94":10240,"24":18,"16":27451060134084608,"45":881861132203180032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-10 16:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307825664001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:15:45] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-10 16:15:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27451060134084608,"km_value":27451060134084.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132203180032,"description":"Unknown IO ID 45"} 
[2026-08-10 16:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307825664001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":881861132203180032}} 
[2026-08-10 16:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":152919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620599,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:15:46] local.INFO: GPS data processed {"connection_id":152919,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:15:46] local.INFO: Acknowledgment sent {"connection_id":152919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:15:47] local.INFO: TCP Data received {"connection_id":152920,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:15:47] local.INFO: Processing buffer {"connection_id":152920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:15:47] local.INFO: IMEI packet received {"connection_id":152920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":152920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:15:48] local.INFO: TCP Data received {"connection_id":154376,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154376,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:15:48] local.INFO: Processing buffer {"connection_id":154376,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:15:48] local.INFO: IMEI packet received {"connection_id":154376,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":154376,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:15:48] local.INFO: TCP Data received {"connection_id":152920,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb444238012d181e000721aea8005100d827..."} 
[2026-08-10 16:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb444238012d181e000721aea8005100d827..."} 
[2026-08-10 16:15:48] local.INFO: Processing buffer {"connection_id":152920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb444238012d181e000721aea8005100d827..."} 
[2026-08-10 16:15:48] local.INFO: Packet analysis {"connection_id":152920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:15:48] local.INFO: Extracted packet for processing {"connection_id":152920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:15:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307782656001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786358547000,"timestamp_ms":1786358547000,"timestamp_seconds":1786358547,"priority":1,"record_length":96,"hex_timestamp":"0000019feb444238"} 
[2026-08-10 16:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 16:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307782656001,"66":12428,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307782656001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:15:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:15:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307782656001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":152920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:15:48] local.INFO: GPS data processed {"connection_id":152920,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:15:48] local.INFO: Acknowledgment sent {"connection_id":152920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:15:48] local.INFO: TCP Data received {"connection_id":154376,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154376,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:15:48] local.INFO: Processing buffer {"connection_id":154376,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:15:48] local.INFO: IMEI packet received {"connection_id":154376,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":154376,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:15:49] local.INFO: TCP Data received {"connection_id":154376,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154376,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:15:49] local.INFO: Processing buffer {"connection_id":154376,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:15:49] local.INFO: IMEI packet received {"connection_id":154376,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":154376,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:15:52] local.INFO: TCP Data received {"connection_id":154376,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154376,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:15:52] local.INFO: Processing buffer {"connection_id":154376,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:15:52] local.INFO: IMEI packet received {"connection_id":154376,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":154376,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:15:52] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb466900012d7c35c005e978c8000000fc23..."} 
[2026-08-10 16:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb466900012d7c35c005e978c8000000fc23..."} 
[2026-08-10 16:15:52] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb466900012d7c35c005e978c8000000fc23..."} 
[2026-08-10 16:15:52] local.INFO: Packet analysis {"connection_id":151609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:15:52] local.INFO: Extracted packet for processing {"connection_id":151609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:15:52] local.INFO: GPS Element Parsed {"raw_longitude":763114944,"raw_latitude":99186888,"longitude_deg":76.3114944,"latitude_deg":9.9186888,"altitude":0,"angle":252,"satellites":35,"speed":7,"hex_longitude":"2d7c35c0","hex_latitude":"05e978c8","is_valid_coordinates":true} 
[2026-08-10 16:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307820032001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117253642267918336,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959489271581210624,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786358688000,"timestamp_ms":1786358688000,"timestamp_seconds":1786358688,"priority":1,"record_length":96,"hex_timestamp":"0000019feb466900"} 
[2026-08-10 16:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 16:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307820032001,"66":12602,"192":206,"87":13824,"24":7,"16":117253642267918336,"45":8959489271581210624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-10 16:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307820032001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:15:52] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-10 16:15:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117253642267918336,"km_value":117253642267918.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959489271581210624,"description":"Unknown IO ID 45"} 
[2026-08-10 16:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307820032001,"power":12602,"unknown_192":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8959489271581210624}} 
[2026-08-10 16:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":151609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:15:52] local.INFO: GPS data processed {"connection_id":151609,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:15:52] local.INFO: Acknowledgment sent {"connection_id":151609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:15:53] local.INFO: TCP Data received {"connection_id":154376,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46af50012d0c3b80070643a8001c001a17..."} 
[2026-08-10 16:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46af50012d0c3b80070643a8001c001a17..."} 
[2026-08-10 16:15:53] local.INFO: Processing buffer {"connection_id":154376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46af50012d0c3b80070643a8001c001a17..."} 
[2026-08-10 16:15:53] local.INFO: Packet analysis {"connection_id":154376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:15:53] local.INFO: Extracted packet for processing {"connection_id":154376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":755776384,"raw_latitude":117851048,"longitude_deg":75.5776384,"latitude_deg":11.7851048,"altitude":28,"angle":26,"satellites":23,"speed":5,"hex_longitude":"2d0c3b80","hex_latitude":"070643a8","is_valid_coordinates":true} 
[2026-08-10 16:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307827200001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27451128853561344,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881227813506412544,"note":"Value kept but may cause issues"} 
[2026-08-10 16:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786358706000,"timestamp_ms":1786358706000,"timestamp_seconds":1786358706,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46af50"} 
[2026-08-10 16:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:15: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-08-10 16:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307827200001,"66":14396,"164":206,"94":10240,"24":5,"16":27451128853561344,"45":881227813506412544},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-10 16:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307827200001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:15:53] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-10 16:15:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27451128853561344,"km_value":27451128853561.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":881227813506412544,"description":"Unknown IO ID 45"} 
[2026-08-10 16:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307827200001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":881227813506412544}} 
[2026-08-10 16:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":154376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620602,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:15:53] local.INFO: GPS data processed {"connection_id":154376,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:15:53] local.INFO: Acknowledgment sent {"connection_id":154376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:16:04] local.INFO: TCP Data received {"connection_id":151610,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:16:04] local.INFO: Processing buffer {"connection_id":151610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:16:04] local.INFO: IMEI packet received {"connection_id":151610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":151610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:16:09] local.INFO: TCP Data received {"connection_id":151610,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:16:09] local.INFO: Processing buffer {"connection_id":151610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:16:09] local.INFO: IMEI packet received {"connection_id":151610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":151610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:16:10] local.INFO: TCP Data received {"connection_id":151610,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:16:10] local.INFO: Processing buffer {"connection_id":151610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:16:10] local.INFO: Packet analysis {"connection_id":151610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:16:10] local.INFO: Extracted packet for processing {"connection_id":151610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307751168001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786358704000,"timestamp_ms":1786358704000,"timestamp_seconds":1786358704,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46a780"} 
[2026-08-10 16:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:16: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-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307751168001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307751168001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:16:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307751168001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":151610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:16:10] local.INFO: GPS data processed {"connection_id":151610,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:16:10] local.INFO: Acknowledgment sent {"connection_id":151610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:16:12] local.INFO: TCP Data received {"connection_id":154377,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:16:12] local.INFO: Processing buffer {"connection_id":154377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:16:12] local.INFO: IMEI packet received {"connection_id":154377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":154377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:16:14] local.INFO: TCP Data received {"connection_id":151610,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:16:14] local.INFO: Processing buffer {"connection_id":151610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:16:14] local.INFO: Packet analysis {"connection_id":151610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:16:14] local.INFO: Extracted packet for processing {"connection_id":151610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307751168001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786358704000,"timestamp_ms":1786358704000,"timestamp_seconds":1786358704,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46a780"} 
[2026-08-10 16:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307751168001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307751168001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:16:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:16:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307751168001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":151610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:16:14] local.INFO: GPS data processed {"connection_id":151610,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:16:14] local.INFO: Acknowledgment sent {"connection_id":151610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:16:20] local.INFO: TCP Data received {"connection_id":152920,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb449440012d181e000721aea8005100d827..."} 
[2026-08-10 16:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb449440012d181e000721aea8005100d827..."} 
[2026-08-10 16:16:20] local.INFO: Processing buffer {"connection_id":152920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb449440012d181e000721aea8005100d827..."} 
[2026-08-10 16:16:20] local.INFO: Packet analysis {"connection_id":152920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:16:20] local.INFO: Extracted packet for processing {"connection_id":152920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:16:20] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307788032001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16: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-08-10 16:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786358568000,"timestamp_ms":1786358568000,"timestamp_seconds":1786358568,"priority":1,"record_length":96,"hex_timestamp":"0000019feb449440"} 
[2026-08-10 16:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 16:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307788032001,"66":12428,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307788032001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:16:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:16:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307788032001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:16:20] local.INFO: TCP Data received {"connection_id":154377,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:16:20] local.INFO: Processing buffer {"connection_id":154377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:16:20] local.INFO: IMEI packet received {"connection_id":154377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":154377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":152920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:16:20] local.INFO: GPS data processed {"connection_id":152920,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:16:20] local.INFO: Acknowledgment sent {"connection_id":152920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:16:21] local.INFO: TCP Data received {"connection_id":154377,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46b720012d7c128005e96ba8000600f726..."} 
[2026-08-10 16:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46b720012d7c128005e96ba8000600f726..."} 
[2026-08-10 16:16:21] local.INFO: Processing buffer {"connection_id":154377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46b720012d7c128005e96ba8000600f726..."} 
[2026-08-10 16:16:21] local.INFO: Packet analysis {"connection_id":154377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:16:21] local.INFO: Extracted packet for processing {"connection_id":154377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:16:21] local.INFO: GPS Element Parsed {"raw_longitude":763105920,"raw_latitude":99183528,"longitude_deg":76.310592,"latitude_deg":9.9183528,"altitude":6,"angle":247,"satellites":38,"speed":25,"hex_longitude":"2d7c1280","hex_latitude":"05e96ba8","is_valid_coordinates":true} 
[2026-08-10 16:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307824128001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117254101829419008,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950270966093105152,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:21] 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-08-10 16:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786358708000,"timestamp_ms":1786358708000,"timestamp_seconds":1786358708,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46b720"} 
[2026-08-10 16:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-10 16:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307824128001,"66":12841,"9":206,"87":13824,"24":25,"16":117254101829419008,"45":8950270966093105152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-08-10 16:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307824128001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:16:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 16:16:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117254101829419008,"km_value":117254101829419.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950270966093105152,"description":"Unknown IO ID 45"} 
[2026-08-10 16:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307824128001,"power":12841,"unknown_9":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8950270966093105152}} 
[2026-08-10 16:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":154377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:16:21] local.INFO: GPS data processed {"connection_id":154377,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:16:21] local.INFO: Acknowledgment sent {"connection_id":154377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:16:32] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:16:32] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:16:32] local.INFO: IMEI packet received {"connection_id":151611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":151611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:16:38] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:16:38] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:16:38] local.INFO: IMEI packet received {"connection_id":151611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":151611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:16:42] local.INFO: TCP Data received {"connection_id":152921,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:16:42] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:16:42] local.INFO: IMEI packet received {"connection_id":152921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":152921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:16:42] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:16:42] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:16:42] local.INFO: IMEI packet received {"connection_id":151611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":151611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:16:43] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb478df8012d0c550007063c180019007e17..."} 
[2026-08-10 16:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb478df8012d0c550007063c180019007e17..."} 
[2026-08-10 16:16:43] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb478df8012d0c550007063c180019007e17..."} 
[2026-08-10 16:16:43] local.INFO: Packet analysis {"connection_id":151611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb47"} 
[2026-08-10 16:16:43] local.INFO: Extracted packet for processing {"connection_id":151611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb47"} 
[2026-08-10 16:16:43] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":117849112,"longitude_deg":75.5782912,"latitude_deg":11.7849112,"altitude":25,"angle":126,"satellites":23,"speed":21,"hex_longitude":"2d0c5500","hex_latitude":"07063c18","is_valid_coordinates":true} 
[2026-08-10 16:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307842304001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27451493925781504,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886716575552362496,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786358763000,"timestamp_ms":1786358763000,"timestamp_seconds":1786358763,"priority":1,"record_length":96,"hex_timestamp":"0000019feb478df8"} 
[2026-08-10 16:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 16:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307842304001,"66":14439,"164":206,"94":10240,"24":21,"16":27451493925781504,"45":886716575552362496},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-10 16:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307842304001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:16:43] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-10 16:16:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27451493925781504,"km_value":27451493925781.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":886716575552362496,"description":"Unknown IO ID 45"} 
[2026-08-10 16:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307842304001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":886716575552362496}} 
[2026-08-10 16:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":151611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:16:43] local.INFO: GPS data processed {"connection_id":151611,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:16:43] local.INFO: Acknowledgment sent {"connection_id":151611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:16:47] local.INFO: TCP Data received {"connection_id":152921,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:16:47] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:16:47] local.INFO: IMEI packet received {"connection_id":152921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":152921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:16:48] local.INFO: TCP Data received {"connection_id":152921,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb44e648012d181e000721aea8005100d826..."} 
[2026-08-10 16:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb44e648012d181e000721aea8005100d826..."} 
[2026-08-10 16:16:48] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb44e648012d181e000721aea8005100d826..."} 
[2026-08-10 16:16:48] local.INFO: Packet analysis {"connection_id":152921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:16:48] local.INFO: Extracted packet for processing {"connection_id":152921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb44"} 
[2026-08-10 16:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307793408001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786358589000,"timestamp_ms":1786358589000,"timestamp_seconds":1786358589,"priority":1,"record_length":96,"hex_timestamp":"0000019feb44e648"} 
[2026-08-10 16:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 16:16: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-08-10 16:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307793408001,"66":12428,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307793408001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:16:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:16:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307793408001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":152921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:16:48] local.INFO: GPS data processed {"connection_id":152921,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:16:48] local.INFO: Acknowledgment sent {"connection_id":152921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:16:53] local.INFO: TCP Data received {"connection_id":154377,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46e218012d7bf64005e961800005010325..."} 
[2026-08-10 16:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46e218012d7bf64005e961800005010325..."} 
[2026-08-10 16:16:53] local.INFO: Processing buffer {"connection_id":154377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46e218012d7bf64005e961800005010325..."} 
[2026-08-10 16:16:53] local.INFO: Packet analysis {"connection_id":154377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:16:53] local.INFO: Extracted packet for processing {"connection_id":154377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":763098688,"raw_latitude":99180928,"longitude_deg":76.3098688,"latitude_deg":9.9180928,"altitude":5,"angle":259,"satellites":37,"speed":26,"hex_longitude":"2d7bf640","hex_latitude":"05e96180","is_valid_coordinates":true} 
[2026-08-10 16:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307829248001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117254471196606464,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940348973163194368,"note":"Value kept but may cause issues"} 
[2026-08-10 16:16:53] 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-08-10 16:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786358719000,"timestamp_ms":1786358719000,"timestamp_seconds":1786358719,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46e218"} 
[2026-08-10 16:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 16:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:16: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-08-10 16:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307829248001,"66":13276,"9":206,"87":13824,"24":26,"16":117254471196606464,"45":8940348973163194368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-08-10 16:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307829248001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:16:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 16:16:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117254471196606464,"km_value":117254471196606.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940348973163194368,"description":"Unknown IO ID 45"} 
[2026-08-10 16:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307829248001,"power":13276,"unknown_9":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8940348973163194368}} 
[2026-08-10 16:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":154377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:16:54] local.INFO: GPS data processed {"connection_id":154377,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:16:54] local.INFO: Acknowledgment sent {"connection_id":154377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:16:59] local.INFO: TCP Data received {"connection_id":152002,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:16:59] local.INFO: Processing buffer {"connection_id":152002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:16:59] local.INFO: IMEI packet received {"connection_id":152002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":152002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:17:03] local.INFO: TCP Data received {"connection_id":152002,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:17:04] local.INFO: Processing buffer {"connection_id":152002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:17:04] local.INFO: IMEI packet received {"connection_id":152002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":152002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:17:04] local.INFO: TCP Data received {"connection_id":152002,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:17:04] local.INFO: Processing buffer {"connection_id":152002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:17:04] local.INFO: Packet analysis {"connection_id":152002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:17:04] local.INFO: Extracted packet for processing {"connection_id":152002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:17:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307751168001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786358704000,"timestamp_ms":1786358704000,"timestamp_seconds":1786358704,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46a780"} 
[2026-08-10 16:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:17: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-08-10 16:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307751168001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307751168001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:17:04] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307751168001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":152002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:17:04] local.INFO: GPS data processed {"connection_id":152002,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:17:04] local.INFO: Acknowledgment sent {"connection_id":152002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:17:07] local.INFO: TCP Data received {"connection_id":154378,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:17:07] local.INFO: Processing buffer {"connection_id":154378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:17:07] local.INFO: IMEI packet received {"connection_id":154378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":154378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:17:12] local.INFO: TCP Data received {"connection_id":154378,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:17:12] local.INFO: Processing buffer {"connection_id":154378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:17:12] local.INFO: IMEI packet received {"connection_id":154378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":154378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:17:13] local.INFO: TCP Data received {"connection_id":154378,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb471cb0012d7bd34005e95b580000010623..."} 
[2026-08-10 16:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb471cb0012d7bd34005e95b580000010623..."} 
[2026-08-10 16:17:13] local.INFO: Processing buffer {"connection_id":154378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb471cb0012d7bd34005e95b580000010623..."} 
[2026-08-10 16:17:13] local.INFO: Packet analysis {"connection_id":154378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb47"} 
[2026-08-10 16:17:13] local.INFO: Extracted packet for processing {"connection_id":154378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb47"} 
[2026-08-10 16:17:13] local.INFO: GPS Element Parsed {"raw_longitude":763089728,"raw_latitude":99179352,"longitude_deg":76.3089728,"latitude_deg":9.9179352,"altitude":0,"angle":262,"satellites":35,"speed":28,"hex_longitude":"2d7bd340","hex_latitude":"05e95b58","is_valid_coordinates":true} 
[2026-08-10 16:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307832064001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117254904988303360,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932397305070452736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:13] 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-08-10 16:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786358734000,"timestamp_ms":1786358734000,"timestamp_seconds":1786358734,"priority":1,"record_length":96,"hex_timestamp":"0000019feb471cb0"} 
[2026-08-10 16:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 16:17: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-08-10 16:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307832064001,"66":13091,"9":206,"87":13824,"24":28,"16":117254904988303360,"45":8932397305070452736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-08-10 16:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307832064001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:17:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 16:17:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117254904988303360,"km_value":117254904988303.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932397305070452736,"description":"Unknown IO ID 45"} 
[2026-08-10 16:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307832064001,"power":13091,"unknown_9":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8932397305070452736}} 
[2026-08-10 16:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":154378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:17:13] local.INFO: GPS data processed {"connection_id":154378,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:17:13] local.INFO: Acknowledgment sent {"connection_id":154378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:17:15] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4795c8012d0c5800070639700019008a17..."} 
[2026-08-10 16:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4795c8012d0c5800070639700019008a17..."} 
[2026-08-10 16:17:15] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4795c8012d0c5800070639700019008a17..."} 
[2026-08-10 16:17:15] local.INFO: Packet analysis {"connection_id":151611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb47"} 
[2026-08-10 16:17:15] local.INFO: Extracted packet for processing {"connection_id":151611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb47"} 
[2026-08-10 16:17:15] local.INFO: GPS Element Parsed {"raw_longitude":755783680,"raw_latitude":117848432,"longitude_deg":75.578368,"latitude_deg":11.7848432,"altitude":25,"angle":138,"satellites":23,"speed":18,"hex_longitude":"2d0c5800","hex_latitude":"07063970","is_valid_coordinates":true} 
[2026-08-10 16:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307843328001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27451545465389056,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888616531644913664,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786358765000,"timestamp_ms":1786358765000,"timestamp_seconds":1786358765,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4795c8"} 
[2026-08-10 16:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307843328001,"66":14396,"164":206,"94":10240,"24":18,"16":27451545465389056,"45":888616531644913664},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-10 16:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307843328001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:17:15] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-10 16:17:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27451545465389056,"km_value":27451545465389.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":888616531644913664,"description":"Unknown IO ID 45"} 
[2026-08-10 16:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307843328001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":888616531644913664}} 
[2026-08-10 16:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":151611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:17:15] local.INFO: GPS data processed {"connection_id":151611,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:17:15] local.INFO: Acknowledgment sent {"connection_id":151611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:17:19] local.INFO: TCP Data received {"connection_id":152921,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb453850012d181e000721aea8005100d824..."} 
[2026-08-10 16:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb453850012d181e000721aea8005100d824..."} 
[2026-08-10 16:17:19] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb453850012d181e000721aea8005100d824..."} 
[2026-08-10 16:17:19] local.INFO: Packet analysis {"connection_id":152921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb45"} 
[2026-08-10 16:17:19] local.INFO: Extracted packet for processing {"connection_id":152921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb45"} 
[2026-08-10 16:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307798784001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786358610000,"timestamp_ms":1786358610000,"timestamp_seconds":1786358610,"priority":1,"record_length":96,"hex_timestamp":"0000019feb453850"} 
[2026-08-10 16:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 16:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307798784001,"66":12439,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307798784001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:17:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:17:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307798784001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":152921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:17:20] local.INFO: GPS data processed {"connection_id":152921,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:17:20] local.INFO: Acknowledgment sent {"connection_id":152921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:17:33] local.INFO: TCP Data received {"connection_id":152922,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:17:33] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:17:33] local.INFO: IMEI packet received {"connection_id":152922,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":152922,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:17:33] local.INFO: TCP Data received {"connection_id":152922,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:17:33] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:17:33] local.INFO: IMEI packet received {"connection_id":152922,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":152922,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:17:37] local.INFO: TCP Data received {"connection_id":152922,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:17:37] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:17:37] local.INFO: IMEI packet received {"connection_id":152922,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":152922,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:17:37] local.INFO: TCP Data received {"connection_id":152002,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:17:37] local.INFO: Processing buffer {"connection_id":152002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:17:37] local.INFO: Packet analysis {"connection_id":152002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:17:37] local.INFO: Extracted packet for processing {"connection_id":152002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307751168001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786358704000,"timestamp_ms":1786358704000,"timestamp_seconds":1786358704,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46a780"} 
[2026-08-10 16:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307751168001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307751168001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:17:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307751168001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":152002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:17:37] local.INFO: GPS data processed {"connection_id":152002,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:17:37] local.INFO: Acknowledgment sent {"connection_id":152002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:17:38] local.INFO: TCP Data received {"connection_id":152922,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb47ad38012d0c5f80070630500019009517..."} 
[2026-08-10 16:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb47ad38012d0c5f80070630500019009517..."} 
[2026-08-10 16:17:38] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb47ad38012d0c5f80070630500019009517..."} 
[2026-08-10 16:17:38] local.INFO: Packet analysis {"connection_id":152922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb47"} 
[2026-08-10 16:17:38] local.INFO: Extracted packet for processing {"connection_id":152922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb47"} 
[2026-08-10 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":755785600,"raw_latitude":117846096,"longitude_deg":75.57856,"latitude_deg":11.7846096,"altitude":25,"angle":149,"satellites":23,"speed":20,"hex_longitude":"2d0c5f80","hex_latitude":"07063050","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307843840001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27451691494277120,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889460956574871552,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786358771000,"timestamp_ms":1786358771000,"timestamp_seconds":1786358771,"priority":1,"record_length":96,"hex_timestamp":"0000019feb47ad38"} 
[2026-08-10 16:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:17: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-08-10 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 16:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307843840001,"66":14439,"164":206,"94":10240,"24":20,"16":27451691494277120,"45":889460956574871552},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-10 16:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307843840001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:17:38] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-10 16:17:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27451691494277120,"km_value":27451691494277.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":889460956574871552,"description":"Unknown IO ID 45"} 
[2026-08-10 16:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307843840001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":889460956574871552}} 
[2026-08-10 16:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":152922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620615,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:17:38] local.INFO: GPS data processed {"connection_id":152922,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:17:38] local.INFO: Acknowledgment sent {"connection_id":152922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:17:39] local.INFO: TCP Data received {"connection_id":152922,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb47c4a8012d0c6400070629900018008a17..."} 
[2026-08-10 16:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb47c4a8012d0c6400070629900018008a17..."} 
[2026-08-10 16:17:39] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb47c4a8012d0c6400070629900018008a17..."} 
[2026-08-10 16:17:39] local.INFO: Packet analysis {"connection_id":152922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb47"} 
[2026-08-10 16:17:39] local.INFO: Extracted packet for processing {"connection_id":152922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb47"} 
[2026-08-10 16:17:39] local.INFO: GPS Element Parsed {"raw_longitude":755786752,"raw_latitude":117844368,"longitude_deg":75.5786752,"latitude_deg":11.7844368,"altitude":24,"angle":138,"satellites":23,"speed":10,"hex_longitude":"2d0c6400","hex_latitude":"07062990","is_valid_coordinates":true} 
[2026-08-10 16:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307845376001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27451790278524928,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891572018899603456,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786358777000,"timestamp_ms":1786358777000,"timestamp_seconds":1786358777,"priority":1,"record_length":96,"hex_timestamp":"0000019feb47c4a8"} 
[2026-08-10 16:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307845376001,"66":14439,"164":206,"94":10240,"24":10,"16":27451790278524928,"45":891572018899603456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-10 16:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307845376001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:17:39] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-10 16:17:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27451790278524928,"km_value":27451790278524.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":891572018899603456,"description":"Unknown IO ID 45"} 
[2026-08-10 16:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307845376001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":891572018899603456}} 
[2026-08-10 16:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":152922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620616,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:17:39] local.INFO: GPS data processed {"connection_id":152922,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:17:39] local.INFO: Acknowledgment sent {"connection_id":152922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:17:42] local.INFO: TCP Data received {"connection_id":154379,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:17:42] local.INFO: Processing buffer {"connection_id":154379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:17:42] local.INFO: IMEI packet received {"connection_id":154379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":154379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:17:45] local.INFO: TCP Data received {"connection_id":154378,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb48af08012d7b4b4005e92cf0000000b921..."} 
[2026-08-10 16:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb48af08012d7b4b4005e92cf0000000b921..."} 
[2026-08-10 16:17:45] local.INFO: Processing buffer {"connection_id":154378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb48af08012d7b4b4005e92cf0000000b921..."} 
[2026-08-10 16:17:45] local.INFO: Packet analysis {"connection_id":154378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb48"} 
[2026-08-10 16:17:45] local.INFO: Extracted packet for processing {"connection_id":154378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb48"} 
[2026-08-10 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":763054912,"raw_latitude":99167472,"longitude_deg":76.3054912,"latitude_deg":9.9167472,"altitude":0,"angle":185,"satellites":33,"speed":10,"hex_longitude":"2d7b4b40","hex_latitude":"05e92cf0","is_valid_coordinates":true} 
[2026-08-10 16:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307862016001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117256708874567680,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884265084049549312,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:45] 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-08-10 16:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786358837000,"timestamp_ms":1786358837000,"timestamp_seconds":1786358837,"priority":1,"record_length":96,"hex_timestamp":"0000019feb48af08"} 
[2026-08-10 16:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 16:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307862016001,"66":12232,"201":206,"87":13824,"24":10,"16":117256708874567680,"45":8884265084049549312},"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-08-10 16:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307862016001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:17:45] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 16:17:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117256708874567680,"km_value":117256708874567.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884265084049549312,"description":"Unknown IO ID 45"} 
[2026-08-10 16:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307862016001,"power":12232,"unknown_201":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8884265084049549312}} 
[2026-08-10 16:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":154378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:17:45] local.INFO: GPS data processed {"connection_id":154378,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:17:45] local.INFO: Acknowledgment sent {"connection_id":154378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:17:47] local.INFO: TCP Data received {"connection_id":154379,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:17:47] local.INFO: Processing buffer {"connection_id":154379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:17:47] local.INFO: IMEI packet received {"connection_id":154379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":154379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:17:47] local.INFO: TCP Data received {"connection_id":154379,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb458a58012d181e000721aea8005100d824..."} 
[2026-08-10 16:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb458a58012d181e000721aea8005100d824..."} 
[2026-08-10 16:17:47] local.INFO: Processing buffer {"connection_id":154379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb458a58012d181e000721aea8005100d824..."} 
[2026-08-10 16:17:47] local.INFO: Packet analysis {"connection_id":154379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb45"} 
[2026-08-10 16:17:47] local.INFO: Extracted packet for processing {"connection_id":154379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb45"} 
[2026-08-10 16:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647912,"longitude_deg":75.6555264,"latitude_deg":11.9647912,"altitude":81,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 16:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307804160001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486890033152000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841455616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786358631000,"timestamp_ms":1786358631000,"timestamp_seconds":1786358631,"priority":1,"record_length":96,"hex_timestamp":"0000019feb458a58"} 
[2026-08-10 16:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 16:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307804160001,"66":11721,"120":206,"28":31744,"24":0,"16":11486890033152000,"45":1737826536841455616},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307804160001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:17:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:17:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486890033152000,"km_value":11486890033152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841455616,"description":"Unknown IO ID 45"} 
[2026-08-10 16:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307804160001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841455616}} 
[2026-08-10 16:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":154379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:17:48] local.INFO: GPS data processed {"connection_id":154379,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:17:48] local.INFO: Acknowledgment sent {"connection_id":154379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:17:59] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:17:59] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:17:59] local.INFO: IMEI packet received {"connection_id":151612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":151612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:18:04] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:18:04] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:18:04] local.INFO: IMEI packet received {"connection_id":151612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":151612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:18:05] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:18:05] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:18:05] local.INFO: Packet analysis {"connection_id":151612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:18:05] local.INFO: Extracted packet for processing {"connection_id":151612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307751168001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786358704000,"timestamp_ms":1786358704000,"timestamp_seconds":1786358704,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46a780"} 
[2026-08-10 16:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:18: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-08-10 16:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307751168001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307751168001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:18:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307751168001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":151612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:18:05] local.INFO: GPS data processed {"connection_id":151612,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:18:05] local.INFO: Acknowledgment sent {"connection_id":151612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:18:10] local.INFO: TCP Data received {"connection_id":152922,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4933d8012d0cb7000705cee00018008f16..."} 
[2026-08-10 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4933d8012d0cb7000705cee00018008f16..."} 
[2026-08-10 16:18:10] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4933d8012d0cb7000705cee00018008f16..."} 
[2026-08-10 16:18:10] local.INFO: Packet analysis {"connection_id":152922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:18:10] local.INFO: Extracted packet for processing {"connection_id":152922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":755808000,"raw_latitude":117821152,"longitude_deg":75.5808,"latitude_deg":11.7821152,"altitude":24,"angle":143,"satellites":22,"speed":13,"hex_longitude":"2d0cb700","hex_latitude":"0705cee0","is_valid_coordinates":true} 
[2026-08-10 16:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307868672001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27453323581849600,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912823379635525632,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786358871000,"timestamp_ms":1786358871000,"timestamp_seconds":1786358871,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4933d8"} 
[2026-08-10 16:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307868672001,"66":14461,"220":206,"94":10240,"24":13,"16":27453323581849600,"45":912823379635525632},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-08-10 16:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307868672001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:18:10] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-10 16:18:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27453323581849600,"km_value":27453323581849.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":912823379635525632,"description":"Unknown IO ID 45"} 
[2026-08-10 16:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307868672001,"power":14461,"unknown_220":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":912823379635525632}} 
[2026-08-10 16:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":152922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620620,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:18:10] local.INFO: GPS data processed {"connection_id":152922,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:18:10] local.INFO: Acknowledgment sent {"connection_id":152922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:18:11] local.INFO: TCP Data received {"connection_id":152923,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:18:11] local.INFO: Processing buffer {"connection_id":152923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:18:11] local.INFO: IMEI packet received {"connection_id":152923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":152923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:18:12] local.INFO: TCP Data received {"connection_id":152923,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:18:12] local.INFO: Processing buffer {"connection_id":152923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:18:12] local.INFO: IMEI packet received {"connection_id":152923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":152923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:18:17] local.INFO: TCP Data received {"connection_id":152923,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:18:17] local.INFO: Processing buffer {"connection_id":152923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:18:17] local.INFO: IMEI packet received {"connection_id":152923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":152923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:18:19] local.INFO: TCP Data received {"connection_id":152923,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb48bea8012d7b4b4005e92588000000ae20..."} 
[2026-08-10 16:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb48bea8012d7b4b4005e92588000000ae20..."} 
[2026-08-10 16:18:19] local.INFO: Processing buffer {"connection_id":152923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb48bea8012d7b4b4005e92588000000ae20..."} 
[2026-08-10 16:18:19] local.INFO: Packet analysis {"connection_id":152923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb48"} 
[2026-08-10 16:18:19] local.INFO: Extracted packet for processing {"connection_id":152923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb48"} 
[2026-08-10 16:18:19] local.INFO: GPS Element Parsed {"raw_longitude":763054912,"raw_latitude":99165576,"longitude_deg":76.3054912,"latitude_deg":9.9165576,"altitude":0,"angle":174,"satellites":32,"speed":19,"hex_longitude":"2d7b4b40","hex_latitude":"05e92588","is_valid_coordinates":true} 
[2026-08-10 16:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307862272001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117256799068880896,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884265084049485824,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:19] 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-08-10 16:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786358841000,"timestamp_ms":1786358841000,"timestamp_seconds":1786358841,"priority":1,"record_length":96,"hex_timestamp":"0000019feb48bea8"} 
[2026-08-10 16:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-10 16:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307862272001,"66":13363,"201":206,"87":13824,"24":19,"16":117256799068880896,"45":8884265084049485824},"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-08-10 16:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307862272001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:18:19] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 16:18:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117256799068880896,"km_value":117256799068880.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884265084049485824,"description":"Unknown IO ID 45"} 
[2026-08-10 16:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307862272001,"power":13363,"unknown_201":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8884265084049485824}} 
[2026-08-10 16:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":152923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:18:19] local.INFO: GPS data processed {"connection_id":152923,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:18:19] local.INFO: Acknowledgment sent {"connection_id":152923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:18:32] local.INFO: TCP Data received {"connection_id":152003,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:18:32] local.INFO: Processing buffer {"connection_id":152003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:18:32] local.INFO: IMEI packet received {"connection_id":152003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":152003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:18:33] local.INFO: TCP Data received {"connection_id":152003,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:18:33] local.INFO: Processing buffer {"connection_id":152003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:18:33] local.INFO: IMEI packet received {"connection_id":152003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":152003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:18:36] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:18:36] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:18:36] local.INFO: Packet analysis {"connection_id":151612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:18:36] local.INFO: Extracted packet for processing {"connection_id":151612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307751168001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786358704000,"timestamp_ms":1786358704000,"timestamp_seconds":1786358704,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46a780"} 
[2026-08-10 16:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:18: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-08-10 16:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307751168001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307751168001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:18:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307751168001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":151612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:18:36] local.INFO: GPS data processed {"connection_id":151612,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:18:36] local.INFO: Acknowledgment sent {"connection_id":151612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:18:37] local.INFO: TCP Data received {"connection_id":152003,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:18:37] local.INFO: Processing buffer {"connection_id":152003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:18:37] local.INFO: IMEI packet received {"connection_id":152003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":152003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:18:37] local.INFO: TCP Data received {"connection_id":152003,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb493f90012d0cb9800705cb000019009e16..."} 
[2026-08-10 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb493f90012d0cb9800705cb000019009e16..."} 
[2026-08-10 16:18:37] local.INFO: Processing buffer {"connection_id":152003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb493f90012d0cb9800705cb000019009e16..."} 
[2026-08-10 16:18:37] local.INFO: Packet analysis {"connection_id":152003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:18:37] local.INFO: Extracted packet for processing {"connection_id":152003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":755808640,"raw_latitude":117820160,"longitude_deg":75.580864,"latitude_deg":11.782016,"altitude":25,"angle":158,"satellites":22,"speed":17,"hex_longitude":"2d0cb980","hex_latitude":"0705cb00","is_valid_coordinates":true} 
[2026-08-10 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307870976001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27453383711391744,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916201079355400192,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786358874000,"timestamp_ms":1786358874000,"timestamp_seconds":1786358874,"priority":1,"record_length":96,"hex_timestamp":"0000019feb493f90"} 
[2026-08-10 16:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 16:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307870976001,"66":14396,"220":206,"94":10240,"24":17,"16":27453383711391744,"45":916201079355400192},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-08-10 16:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307870976001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:18:37] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-10 16:18:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27453383711391744,"km_value":27453383711391.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":916201079355400192,"description":"Unknown IO ID 45"} 
[2026-08-10 16:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307870976001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":916201079355400192}} 
[2026-08-10 16:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":152003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620623,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:18:38] local.INFO: GPS data processed {"connection_id":152003,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:18:38] local.INFO: Acknowledgment sent {"connection_id":152003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:18:40] local.INFO: TCP Data received {"connection_id":154379,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb48dde8012d181dc00721ab38004c00a128..."} 
[2026-08-10 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb48dde8012d181dc00721ab38004c00a128..."} 
[2026-08-10 16:18:40] local.INFO: Processing buffer {"connection_id":154379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb48dde8012d181dc00721ab38004c00a128..."} 
[2026-08-10 16:18:40] local.INFO: Packet analysis {"connection_id":154379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb48"} 
[2026-08-10 16:18:40] local.INFO: Extracted packet for processing {"connection_id":154379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb48"} 
[2026-08-10 16:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647032,"longitude_deg":75.65552,"latitude_deg":11.9647032,"altitude":76,"angle":161,"satellites":40,"speed":4,"hex_longitude":"2d181dc0","hex_latitude":"0721ab38","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307865088001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486937277792256,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608728064,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18: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-08-10 16:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786358849000,"timestamp_ms":1786358849000,"timestamp_seconds":1786358849,"priority":1,"record_length":96,"hex_timestamp":"0000019feb48dde8"} 
[2026-08-10 16:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":82,"data_length":795,"current_offset":136} 
[2026-08-10 16:18: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-08-10 16: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-08-10 16:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307865088001,"66":13939,"120":206,"28":31744,"24":4,"16":11486937277792256,"45":1737615430608728064},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307865088001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:18:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:18:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486937277792256,"km_value":11486937277792.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608728064,"description":"Unknown IO ID 45"} 
[2026-08-10 16:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307865088001,"power":13939,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1737615430608728064}} 
[2026-08-10 16:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":154379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:18:41] local.INFO: GPS data processed {"connection_id":154379,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:18:41] local.INFO: Acknowledgment sent {"connection_id":154379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:18:42] local.INFO: TCP Data received {"connection_id":152004,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:18:42] local.INFO: Processing buffer {"connection_id":152004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:18:42] local.INFO: IMEI packet received {"connection_id":152004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":152004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:18:47] local.INFO: TCP Data received {"connection_id":152004,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:18:47] local.INFO: Processing buffer {"connection_id":152004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:18:47] local.INFO: IMEI packet received {"connection_id":152004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":152004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:18:48] local.INFO: TCP Data received {"connection_id":152004,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb48e1d0012d181e000721aaa0004c009228..."} 
[2026-08-10 16:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb48e1d0012d181e000721aaa0004c009228..."} 
[2026-08-10 16:18:48] local.INFO: Processing buffer {"connection_id":152004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb48e1d0012d181e000721aaa0004c009228..."} 
[2026-08-10 16:18:48] local.INFO: Packet analysis {"connection_id":152004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb48"} 
[2026-08-10 16:18:48] local.INFO: Extracted packet for processing {"connection_id":152004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb48"} 
[2026-08-10 16:18:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646880,"longitude_deg":75.6555264,"latitude_deg":11.964688,"altitude":76,"angle":146,"satellites":40,"speed":8,"hex_longitude":"2d181e00","hex_latitude":"0721aaa0","is_valid_coordinates":true} 
[2026-08-10 16:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307865344001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486945867726848,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097052672,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786358850000,"timestamp_ms":1786358850000,"timestamp_seconds":1786358850,"priority":1,"record_length":96,"hex_timestamp":"0000019feb48e1d0"} 
[2026-08-10 16:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:18: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":115,"data_length":795,"current_offset":136} 
[2026-08-10 16:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307865344001,"66":13939,"120":206,"28":31744,"24":8,"16":11486945867726848,"45":1737756168097052672},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307865344001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:18:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:18:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486945867726848,"km_value":11486945867726.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097052672,"description":"Unknown IO ID 45"} 
[2026-08-10 16:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307865344001,"power":13939,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737756168097052672}} 
[2026-08-10 16:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":152004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:18:48] local.INFO: GPS data processed {"connection_id":152004,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:18:48] local.INFO: Acknowledgment sent {"connection_id":152004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:18:52] local.INFO: TCP Data received {"connection_id":152923,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb48f940012d7b4e8005e902d8000000ac1f..."} 
[2026-08-10 16:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb48f940012d7b4e8005e902d8000000ac1f..."} 
[2026-08-10 16:18:52] local.INFO: Processing buffer {"connection_id":152923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb48f940012d7b4e8005e902d8000000ac1f..."} 
[2026-08-10 16:18:52] local.INFO: Packet analysis {"connection_id":152923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb48"} 
[2026-08-10 16:18:52] local.INFO: Extracted packet for processing {"connection_id":152923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb48"} 
[2026-08-10 16:18:52] local.INFO: GPS Element Parsed {"raw_longitude":763055744,"raw_latitude":99156696,"longitude_deg":76.3055744,"latitude_deg":9.9156696,"altitude":0,"angle":172,"satellites":31,"speed":30,"hex_longitude":"2d7b4e80","hex_latitude":"05e902d8","is_valid_coordinates":true} 
[2026-08-10 16:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307863296001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117257232860577792,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884265084049000448,"note":"Value kept but may cause issues"} 
[2026-08-10 16:18:52] 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-08-10 16:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786358856000,"timestamp_ms":1786358856000,"timestamp_seconds":1786358856,"priority":1,"record_length":96,"hex_timestamp":"0000019feb48f940"} 
[2026-08-10 16:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 16:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307863296001,"66":13363,"201":206,"87":13824,"24":30,"16":117257232860577792,"45":8884265084049000448},"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-08-10 16:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307863296001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:18:52] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 16:18:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117257232860577792,"km_value":117257232860577.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884265084049000448,"description":"Unknown IO ID 45"} 
[2026-08-10 16:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307863296001,"power":13363,"unknown_201":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8884265084049000448}} 
[2026-08-10 16:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":152923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:18:52] local.INFO: GPS data processed {"connection_id":152923,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:18:52] local.INFO: Acknowledgment sent {"connection_id":152923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:18:58] local.INFO: TCP Data received {"connection_id":152924,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:18:58] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:18:58] local.INFO: IMEI packet received {"connection_id":152924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":152924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:19:03] local.INFO: TCP Data received {"connection_id":152924,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:19:03] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:19:03] local.INFO: IMEI packet received {"connection_id":152924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":152924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:19:06] local.INFO: TCP Data received {"connection_id":152924,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:19:06] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:19:06] local.INFO: Packet analysis {"connection_id":152924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:19:06] local.INFO: Extracted packet for processing {"connection_id":152924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307751168001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786358704000,"timestamp_ms":1786358704000,"timestamp_seconds":1786358704,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46a780"} 
[2026-08-10 16:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:19: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-08-10 16:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307751168001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307751168001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:19:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307751168001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":152924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:19:06] local.INFO: GPS data processed {"connection_id":152924,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:19:06] local.INFO: Acknowledgment sent {"connection_id":152924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:19:07] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:19:07] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:19:07] local.INFO: IMEI packet received {"connection_id":151613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":151613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:19:09] local.INFO: TCP Data received {"connection_id":152003,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4a4548012d0d19800705d7100014006515..."} 
[2026-08-10 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4a4548012d0d19800705d7100014006515..."} 
[2026-08-10 16:19:09] local.INFO: Processing buffer {"connection_id":152003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4a4548012d0d19800705d7100014006515..."} 
[2026-08-10 16:19:09] local.INFO: Packet analysis {"connection_id":152003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:19:09] local.INFO: Extracted packet for processing {"connection_id":152003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":755833216,"raw_latitude":117823248,"longitude_deg":75.5833216,"latitude_deg":11.7823248,"altitude":20,"angle":101,"satellites":21,"speed":15,"hex_longitude":"2d0d1980","hex_latitude":"0705d710","is_valid_coordinates":true} 
[2026-08-10 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307885056001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27454985734193152,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":933934002888648704,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786358941000,"timestamp_ms":1786358941000,"timestamp_seconds":1786358941,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4a4548"} 
[2026-08-10 16:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143040,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":137,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3947490160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504018547376128,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3532652564,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264497116,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802947278,"corrected_to":0} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":56,"raw_value":5629525656344064,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2309095424,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84738176815924681,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1459158557874192363,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:09] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,220,94,24,241,157,16,137,159,2,45,192,213,20,22,10,66,254,21,251,64,1,240,212,227,235,5,4,113,205,243,236,112,239,56,97,7,206,136,12],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":802947278,"validated":0}]} 
[2026-08-10 16:19:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513305226798694400,"timestamp_seconds":1513305226798694.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 16:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307885056001,"66":14461,"220":206,"94":10240,"24":15,"16":27454985734193152,"45":933934002888648704},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-08-10 16:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307885056001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:19:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-10 16:19:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27454985734193152,"km_value":27454985734193.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":933934002888648704,"description":"Unknown IO ID 45"} 
[2026-08-10 16:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307885056001,"power":14461,"unknown_220":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":933934002888648704}} 
[2026-08-10 16:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":152003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620628,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:19:09] local.INFO: GPS data processed {"connection_id":152003,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:19:09] local.INFO: Acknowledgment sent {"connection_id":152003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:19:09] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:19:09] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:19:09] local.INFO: IMEI packet received {"connection_id":151613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":151613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:19:20] local.INFO: TCP Data received {"connection_id":152004,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb48e9a0012d181f800721a908004c007e28..."} 
[2026-08-10 16:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb48e9a0012d181f800721a908004c007e28..."} 
[2026-08-10 16:19:20] local.INFO: Processing buffer {"connection_id":152004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb48e9a0012d181f800721a908004c007e28..."} 
[2026-08-10 16:19:20] local.INFO: Packet analysis {"connection_id":152004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb48"} 
[2026-08-10 16:19:20] local.INFO: Extracted packet for processing {"connection_id":152004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb48"} 
[2026-08-10 16:19:20] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646472,"longitude_deg":75.6555648,"latitude_deg":11.9646472,"altitude":76,"angle":126,"satellites":40,"speed":12,"hex_longitude":"2d181f80","hex_latitude":"0721a908","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307865600001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486971637530624,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841191424,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19: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-08-10 16:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786358852000,"timestamp_ms":1786358852000,"timestamp_seconds":1786358852,"priority":1,"record_length":96,"hex_timestamp":"0000019feb48e9a0"} 
[2026-08-10 16:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-10 16:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307865600001,"66":13374,"120":206,"28":31744,"24":12,"16":11486971637530624,"45":1737826536841191424},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307865600001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:19:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:19:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486971637530624,"km_value":11486971637530.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841191424,"description":"Unknown IO ID 45"} 
[2026-08-10 16:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307865600001,"power":13374,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1737826536841191424}} 
[2026-08-10 16:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":152004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:19:20] local.INFO: GPS data processed {"connection_id":152004,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:19:20] local.INFO: Acknowledgment sent {"connection_id":152004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:19:32] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:19:32] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:19:32] local.INFO: IMEI packet received {"connection_id":151613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":151613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:19:33] local.INFO: TCP Data received {"connection_id":152925,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:19:33] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:19:33] local.INFO: IMEI packet received {"connection_id":152925,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":152925,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:19:33] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb491c68012d7b520005e8dfe8000000ae21..."} 
[2026-08-10 16:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb491c68012d7b520005e8dfe8000000ae21..."} 
[2026-08-10 16:19:33] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb491c68012d7b520005e8dfe8000000ae21..."} 
[2026-08-10 16:19:33] local.INFO: Packet analysis {"connection_id":151613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:19:33] local.INFO: Extracted packet for processing {"connection_id":151613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":99147752,"longitude_deg":76.305664,"latitude_deg":9.9147752,"altitude":0,"angle":174,"satellites":33,"speed":44,"hex_longitude":"2d7b5200","hex_latitude":"05e8dfe8","is_valid_coordinates":true} 
[2026-08-10 16:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307867136001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117257670947241984,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885179877721036800,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:33] 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-08-10 16:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786358865000,"timestamp_ms":1786358865000,"timestamp_seconds":1786358865,"priority":1,"record_length":96,"hex_timestamp":"0000019feb491c68"} 
[2026-08-10 16:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 16:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307867136001,"66":13406,"201":206,"87":13824,"24":44,"16":117257670947241984,"45":8885179877721036800},"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-08-10 16:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307867136001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:19:33] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 16:19:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117257670947241984,"km_value":117257670947241.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885179877721036800,"description":"Unknown IO ID 45"} 
[2026-08-10 16:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307867136001,"power":13406,"unknown_201":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8885179877721036800}} 
[2026-08-10 16:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":151613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:19:33] local.INFO: GPS data processed {"connection_id":151613,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:19:33] local.INFO: Acknowledgment sent {"connection_id":151613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:19:33] local.INFO: TCP Data received {"connection_id":152925,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:19:33] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:19:33] local.INFO: IMEI packet received {"connection_id":152925,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":152925,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:19:34] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb493ba8012d7b568005e8ba30000000ad23..."} 
[2026-08-10 16:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb493ba8012d7b568005e8ba30000000ad23..."} 
[2026-08-10 16:19:34] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb493ba8012d7b568005e8ba30000000ad23..."} 
[2026-08-10 16:19:34] local.INFO: Packet analysis {"connection_id":151613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:19:34] local.INFO: Extracted packet for processing {"connection_id":151613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:19:34] local.INFO: GPS Element Parsed {"raw_longitude":763057792,"raw_latitude":99138096,"longitude_deg":76.3057792,"latitude_deg":9.9138096,"altitude":0,"angle":173,"satellites":35,"speed":49,"hex_longitude":"2d7b5680","hex_latitude":"05e8ba30","is_valid_coordinates":true} 
[2026-08-10 16:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307869440001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117258139098677248,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040137234432,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:34] 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-08-10 16:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786358873000,"timestamp_ms":1786358873000,"timestamp_seconds":1786358873,"priority":1,"record_length":96,"hex_timestamp":"0000019feb493ba8"} 
[2026-08-10 16:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:19: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-08-10 16:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 16:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307869440001,"66":13450,"201":206,"87":13824,"24":49,"16":117258139098677248,"45":8886165040137234432},"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-08-10 16:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307869440001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:19:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 16:19:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117258139098677248,"km_value":117258139098677.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040137234432,"description":"Unknown IO ID 45"} 
[2026-08-10 16:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307869440001,"power":13450,"unknown_201":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8886165040137234432}} 
[2026-08-10 16:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":151613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:19:34] local.INFO: GPS data processed {"connection_id":151613,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:19:34] local.INFO: Acknowledgment sent {"connection_id":151613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:19:34] local.INFO: TCP Data received {"connection_id":152925,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:19:34] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:19:34] local.INFO: IMEI packet received {"connection_id":152925,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":152925,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:19:37] local.INFO: TCP Data received {"connection_id":152925,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:19:37] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:19:37] local.INFO: IMEI packet received {"connection_id":152925,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":152925,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:19:37] local.INFO: TCP Data received {"connection_id":152924,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:19:37] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:19:37] local.INFO: Packet analysis {"connection_id":152924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:19:37] local.INFO: Extracted packet for processing {"connection_id":152924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307751168001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786358704000,"timestamp_ms":1786358704000,"timestamp_seconds":1786358704,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46a780"} 
[2026-08-10 16:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307751168001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307751168001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:19:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307751168001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":152924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:19:37] local.INFO: GPS data processed {"connection_id":152924,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:19:37] local.INFO: Acknowledgment sent {"connection_id":152924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:19:37] local.INFO: TCP Data received {"connection_id":152925,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4a4548012d0d19800705d7100014006515..."} 
[2026-08-10 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4a4548012d0d19800705d7100014006515..."} 
[2026-08-10 16:19:37] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4a4548012d0d19800705d7100014006515..."} 
[2026-08-10 16:19:37] local.INFO: Packet analysis {"connection_id":152925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:19:37] local.INFO: Extracted packet for processing {"connection_id":152925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":755833216,"raw_latitude":117823248,"longitude_deg":75.5833216,"latitude_deg":11.7823248,"altitude":20,"angle":101,"satellites":21,"speed":15,"hex_longitude":"2d0d1980","hex_latitude":"0705d710","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307888896001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27454985734193152,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":943926364561936384,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786358941000,"timestamp_ms":1786358941000,"timestamp_seconds":1786358941,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4a4548"} 
[2026-08-10 16:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 16:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307888896001,"66":14461,"220":206,"94":10240,"24":15,"16":27454985734193152,"45":943926364561936384},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-08-10 16:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307888896001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:19:37] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-10 16:19:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27454985734193152,"km_value":27454985734193.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":943926364561936384,"description":"Unknown IO ID 45"} 
[2026-08-10 16:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307888896001,"power":14461,"unknown_220":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":943926364561936384}} 
[2026-08-10 16:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":152925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620633,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:19:38] local.INFO: GPS data processed {"connection_id":152925,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:19:38] local.INFO: Acknowledgment sent {"connection_id":152925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:19:47] local.INFO: TCP Data received {"connection_id":151614,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:19:47] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:19:47] local.INFO: IMEI packet received {"connection_id":151614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":151614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:19:52] local.INFO: TCP Data received {"connection_id":151614,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:19:52] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:19:52] local.INFO: IMEI packet received {"connection_id":151614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":151614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:19:53] local.INFO: TCP Data received {"connection_id":151614,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb493ba8012d1828800721a0a0004e008426..."} 
[2026-08-10 16:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb493ba8012d1828800721a0a0004e008426..."} 
[2026-08-10 16:19:53] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb493ba8012d1828800721a0a0004e008426..."} 
[2026-08-10 16:19:53] local.INFO: Packet analysis {"connection_id":151614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:19:53] local.INFO: Extracted packet for processing {"connection_id":151614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119644320,"longitude_deg":75.6557952,"latitude_deg":11.964432,"altitude":78,"angle":132,"satellites":38,"speed":0,"hex_longitude":"2d182880","hex_latitude":"0721a0a0","is_valid_coordinates":true} 
[2026-08-10 16:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307866112001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11487130551320576,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306152960,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786358873000,"timestamp_ms":1786358873000,"timestamp_seconds":1786358873,"priority":1,"record_length":96,"hex_timestamp":"0000019feb493ba8"} 
[2026-08-10 16:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 16:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307866112001,"66":13961,"120":206,"28":31744,"24":0,"16":11487130551320576,"45":1738248749306152960},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307866112001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:19:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:19:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11487130551320576,"km_value":11487130551320.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306152960,"description":"Unknown IO ID 45"} 
[2026-08-10 16:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307866112001,"power":13961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306152960}} 
[2026-08-10 16:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":151614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:19:53] local.INFO: GPS data processed {"connection_id":151614,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:19:53] local.INFO: Acknowledgment sent {"connection_id":151614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:19:55] local.INFO: TCP Data received {"connection_id":151614,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb498db0012d1828800721a0a0004e008421..."} 
[2026-08-10 16:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb498db0012d1828800721a0a0004e008421..."} 
[2026-08-10 16:19:55] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb498db0012d1828800721a0a0004e008421..."} 
[2026-08-10 16:19:55] local.INFO: Packet analysis {"connection_id":151614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:19:55] local.INFO: Extracted packet for processing {"connection_id":151614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119644320,"longitude_deg":75.6557952,"latitude_deg":11.964432,"altitude":78,"angle":132,"satellites":33,"speed":0,"hex_longitude":"2d182880","hex_latitude":"0721a0a0","is_valid_coordinates":true} 
[2026-08-10 16:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307871488001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11487130551320576,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095997952,"note":"Value kept but may cause issues"} 
[2026-08-10 16:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786358894000,"timestamp_ms":1786358894000,"timestamp_seconds":1786358894,"priority":1,"record_length":96,"hex_timestamp":"0000019feb498db0"} 
[2026-08-10 16:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-10 16:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307871488001,"66":13961,"120":206,"28":31744,"24":0,"16":11487130551320576,"45":1740782024095997952},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307871488001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:19:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11487130551320576,"km_value":11487130551320.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024095997952,"description":"Unknown IO ID 45"} 
[2026-08-10 16:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307871488001,"power":13961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740782024095997952}} 
[2026-08-10 16:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":151614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:19:55] local.INFO: GPS data processed {"connection_id":151614,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:19:55] local.INFO: Acknowledgment sent {"connection_id":151614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:19:58] local.INFO: TCP Data received {"connection_id":152005,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:19:58] local.INFO: Processing buffer {"connection_id":152005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:19:58] local.INFO: IMEI packet received {"connection_id":152005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":152005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:20:03] local.INFO: TCP Data received {"connection_id":152005,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:20:03] local.INFO: Processing buffer {"connection_id":152005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:20:03] local.INFO: IMEI packet received {"connection_id":152005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":152005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:20:05] local.INFO: TCP Data received {"connection_id":152005,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:20:05] local.INFO: Processing buffer {"connection_id":152005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:20:05] local.INFO: Packet analysis {"connection_id":152005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:20:05] local.INFO: Extracted packet for processing {"connection_id":152005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307751168001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786358704000,"timestamp_ms":1786358704000,"timestamp_seconds":1786358704,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46a780"} 
[2026-08-10 16:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:20: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-08-10 16:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307751168001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307751168001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:20:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307751168001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":152005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:20:05] local.INFO: GPS data processed {"connection_id":152005,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:20:05] local.INFO: Acknowledgment sent {"connection_id":152005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:20:07] local.INFO: TCP Data received {"connection_id":152926,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:20:07] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:20:07] local.INFO: IMEI packet received {"connection_id":152926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":152926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:20:08] local.INFO: TCP Data received {"connection_id":152925,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4ad9b8012d0d3d800705be700016009c16..."} 
[2026-08-10 16:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4ad9b8012d0d3d800705be700016009c16..."} 
[2026-08-10 16:20:08] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4ad9b8012d0d3d800705be700016009c16..."} 
[2026-08-10 16:20:08] local.INFO: Packet analysis {"connection_id":152925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:20:08] local.INFO: Extracted packet for processing {"connection_id":152925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:20:08] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816944,"longitude_deg":75.5842432,"latitude_deg":11.7816944,"altitude":22,"angle":156,"satellites":22,"speed":7,"hex_longitude":"2d0d3d80","hex_latitude":"0705be70","is_valid_coordinates":true} 
[2026-08-10 16:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307898368001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27455715878633472,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953989094977771520,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786358979000,"timestamp_ms":1786358979000,"timestamp_seconds":1786358979,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4ad9b8"} 
[2026-08-10 16:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 16:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307898368001,"66":14450,"167":206,"94":11008,"24":7,"16":27455715878633472,"45":953989094977771520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-10 16:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307898368001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:20:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 16:20:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27455715878633472,"km_value":27455715878633.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":953989094977771520,"description":"Unknown IO ID 45"} 
[2026-08-10 16:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307898368001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":953989094977771520}} 
[2026-08-10 16:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":152925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620637,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:20:09] local.INFO: GPS data processed {"connection_id":152925,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:20:09] local.INFO: Acknowledgment sent {"connection_id":152925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:20:12] local.INFO: TCP Data received {"connection_id":152926,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:20:12] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:20:12] local.INFO: IMEI packet received {"connection_id":152926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":152926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:20:13] local.INFO: TCP Data received {"connection_id":152926,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4adda0012d7b628005e7a000000000b51c..."} 
[2026-08-10 16:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4adda0012d7b628005e7a000000000b51c..."} 
[2026-08-10 16:20:13] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4adda0012d7b628005e7a000000000b51c..."} 
[2026-08-10 16:20:13] local.INFO: Packet analysis {"connection_id":152926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:20:13] local.INFO: Extracted packet for processing {"connection_id":152926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763060864,"raw_latitude":99065856,"longitude_deg":76.3060864,"latitude_deg":9.9065856,"altitude":0,"angle":181,"satellites":28,"speed":17,"hex_longitude":"2d7b6280","hex_latitude":"05e7a000","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307893760001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117261669561794560,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890387164768679936,"note":"Value kept but may cause issues"} 
[2026-08-10 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-08-10 16:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786358980000,"timestamp_ms":1786358980000,"timestamp_seconds":1786358980,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4adda0"} 
[2026-08-10 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-08-10 16:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 16:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 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-08-10 16:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307893760001,"66":12635,"96":206,"87":13824,"24":17,"16":117261669561794560,"45":8890387164768679936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 16:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307893760001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:20:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:20:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117261669561794560,"km_value":117261669561794.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890387164768679936,"description":"Unknown IO ID 45"} 
[2026-08-10 16:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307893760001,"power":12635,"unknown_96":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8890387164768679936}} 
[2026-08-10 16:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":152926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:20:13] local.INFO: GPS data processed {"connection_id":152926,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:20:13] local.INFO: Acknowledgment sent {"connection_id":152926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:20:27] local.INFO: TCP Data received {"connection_id":151614,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb49dfb8012d1828800721a0a0004e008421..."} 
[2026-08-10 16:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb49dfb8012d1828800721a0a0004e008421..."} 
[2026-08-10 16:20:27] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb49dfb8012d1828800721a0a0004e008421..."} 
[2026-08-10 16:20:27] local.INFO: Packet analysis {"connection_id":151614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:20:27] local.INFO: Extracted packet for processing {"connection_id":151614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb49"} 
[2026-08-10 16:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119644320,"longitude_deg":75.6557952,"latitude_deg":11.964432,"altitude":78,"angle":132,"satellites":33,"speed":0,"hex_longitude":"2d182880","hex_latitude":"0721a0a0","is_valid_coordinates":true} 
[2026-08-10 16:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307876864001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11487130551320576,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095997952,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786358915000,"timestamp_ms":1786358915000,"timestamp_seconds":1786358915,"priority":1,"record_length":96,"hex_timestamp":"0000019feb49dfb8"} 
[2026-08-10 16:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-10 16:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":151614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":151614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":151614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307876864001,"66":13254,"120":206,"28":31744,"24":0,"16":11487130551320576,"45":1740782024095997952},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307876864001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:20:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:20:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11487130551320576,"km_value":11487130551320.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024095997952,"description":"Unknown IO ID 45"} 
[2026-08-10 16:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307876864001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740782024095997952}} 
[2026-08-10 16:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":151614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:20:27] local.INFO: GPS data processed {"connection_id":151614,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:20:27] local.INFO: Acknowledgment sent {"connection_id":151614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:20:32] local.INFO: TCP Data received {"connection_id":154380,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:20:32] local.INFO: Processing buffer {"connection_id":154380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:20:32] local.INFO: IMEI packet received {"connection_id":154380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":154380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:20:36] local.INFO: TCP Data received {"connection_id":154380,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:20:36] local.INFO: Processing buffer {"connection_id":154380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:20:36] local.INFO: IMEI packet received {"connection_id":154380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":154380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:20:36] local.INFO: TCP Data received {"connection_id":154380,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:20:36] local.INFO: Processing buffer {"connection_id":154380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:20:36] local.INFO: IMEI packet received {"connection_id":154380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":154380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:20:37] local.INFO: TCP Data received {"connection_id":154380,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b0c80012d0d3d400705bea00014016016..."} 
[2026-08-10 16:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b0c80012d0d3d400705bea00014016016..."} 
[2026-08-10 16:20:37] local.INFO: Processing buffer {"connection_id":154380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b0c80012d0d3d400705bea00014016016..."} 
[2026-08-10 16:20:37] local.INFO: Packet analysis {"connection_id":154380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:20:37] local.INFO: Extracted packet for processing {"connection_id":154380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":755842368,"raw_latitude":117816992,"longitude_deg":75.5842368,"latitude_deg":11.7816992,"altitude":20,"angle":352,"satellites":22,"speed":2,"hex_longitude":"2d0d3d40","hex_latitude":"0705bea0","is_valid_coordinates":true} 
[2026-08-10 16:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307898624001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27455754533339136,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721906176,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786358992000,"timestamp_ms":1786358992000,"timestamp_seconds":1786358992,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b0c80"} 
[2026-08-10 16:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 16:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307898624001,"66":14559,"167":206,"94":11008,"24":2,"16":27455754533339136,"45":954059463721906176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-10 16:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307898624001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:20:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 16:20:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27455754533339136,"km_value":27455754533339.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721906176,"description":"Unknown IO ID 45"} 
[2026-08-10 16:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307898624001,"power":14559,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":954059463721906176}} 
[2026-08-10 16:20:37] local.INFO: TCP Data received {"connection_id":152005,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:20:37] local.INFO: Processing buffer {"connection_id":152005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb46a780012d342a4006abc2800030010220..."} 
[2026-08-10 16:20:37] local.INFO: Packet analysis {"connection_id":152005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:20:37] local.INFO: Extracted packet for processing {"connection_id":152005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb46"} 
[2026-08-10 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":48,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307751168001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786358704000,"timestamp_ms":1786358704000,"timestamp_seconds":1786358704,"priority":1,"record_length":96,"hex_timestamp":"0000019feb46a780"} 
[2026-08-10 16:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307751168001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307751168001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:20:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307751168001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":152005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:20:37] local.INFO: GPS data processed {"connection_id":152005,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:20:37] local.INFO: Acknowledgment sent {"connection_id":152005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":154380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620641,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:20:37] local.INFO: GPS data processed {"connection_id":154380,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:20:37] local.INFO: Acknowledgment sent {"connection_id":154380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:20:38] local.INFO: TCP Data received {"connection_id":154380,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b3f48012d0d3d400705c0d00013000a17..."} 
[2026-08-10 16:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b3f48012d0d3d400705c0d00013000a17..."} 
[2026-08-10 16:20:38] local.INFO: Processing buffer {"connection_id":154380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b3f48012d0d3d400705c0d00013000a17..."} 
[2026-08-10 16:20:38] local.INFO: Packet analysis {"connection_id":154380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:20:38] local.INFO: Extracted packet for processing {"connection_id":154380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:20:38] local.INFO: GPS Element Parsed {"raw_longitude":755842368,"raw_latitude":117817552,"longitude_deg":75.5842368,"latitude_deg":11.7817552,"altitude":19,"angle":10,"satellites":23,"speed":2,"hex_longitude":"2d0d3d40","hex_latitude":"0705c0d0","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307901952001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27455784598110208,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953989094977740800,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786359005000,"timestamp_ms":1786359005000,"timestamp_seconds":1786359005,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b3f48"} 
[2026-08-10 16:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 16:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307901952001,"66":14439,"167":206,"94":11008,"24":2,"16":27455784598110208,"45":953989094977740800},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-10 16:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307901952001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:20:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 16:20:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27455784598110208,"km_value":27455784598110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":953989094977740800,"description":"Unknown IO ID 45"} 
[2026-08-10 16:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307901952001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":953989094977740800}} 
[2026-08-10 16:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":154380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:20:38] local.INFO: GPS data processed {"connection_id":154380,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:20:38] local.INFO: Acknowledgment sent {"connection_id":154380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:20:42] local.INFO: TCP Data received {"connection_id":151615,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:20:42] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:20:42] local.INFO: IMEI packet received {"connection_id":151615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":151615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:20:44] local.INFO: TCP Data received {"connection_id":152926,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4ae958012d7b62c005e79af0000000a31b..."} 
[2026-08-10 16:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4ae958012d7b62c005e79af0000000a31b..."} 
[2026-08-10 16:20:44] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4ae958012d7b62c005e79af0000000a31b..."} 
[2026-08-10 16:20:44] local.INFO: Packet analysis {"connection_id":152926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:20:44] local.INFO: Extracted packet for processing {"connection_id":152926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:20:44] local.INFO: GPS Element Parsed {"raw_longitude":763060928,"raw_latitude":99064560,"longitude_deg":76.3060928,"latitude_deg":9.906456,"altitude":0,"angle":163,"satellites":27,"speed":16,"hex_longitude":"2d7b62c0","hex_latitude":"05e79af0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307898880001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117261729691336704,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890809377231994880,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786358983000,"timestamp_ms":1786358983000,"timestamp_seconds":1786358983,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4ae958"} 
[2026-08-10 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-08-10 16:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-10 16:20:44] 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-08-10 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-08-10 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-08-10 16:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307898880001,"66":12722,"96":206,"87":13824,"24":16,"16":117261729691336704,"45":8890809377231994880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 16:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307898880001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:20:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:20:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117261729691336704,"km_value":117261729691336.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890809377231994880,"description":"Unknown IO ID 45"} 
[2026-08-10 16:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307898880001,"power":12722,"unknown_96":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8890809377231994880}} 
[2026-08-10 16:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":152926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:20:44] local.INFO: GPS data processed {"connection_id":152926,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:20:44] local.INFO: Acknowledgment sent {"connection_id":152926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:20:45] local.INFO: TCP Data received {"connection_id":151615,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:20:45] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:20:45] local.INFO: IMEI packet received {"connection_id":151615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":151615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:20:46] local.INFO: TCP Data received {"connection_id":151615,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4a31c0012d1828800721a0a0004e008423..."} 
[2026-08-10 16:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4a31c0012d1828800721a0a0004e008423..."} 
[2026-08-10 16:20:46] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4a31c0012d1828800721a0a0004e008423..."} 
[2026-08-10 16:20:46] local.INFO: Packet analysis {"connection_id":151615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:20:46] local.INFO: Extracted packet for processing {"connection_id":151615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:20:46] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119644320,"longitude_deg":75.6557952,"latitude_deg":11.964432,"altitude":78,"angle":132,"satellites":35,"speed":0,"hex_longitude":"2d182880","hex_latitude":"0721a0a0","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307882240001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11487130551320576,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095997952,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20: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-08-10 16:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786358936000,"timestamp_ms":1786358936000,"timestamp_seconds":1786358936,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4a31c0"} 
[2026-08-10 16:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":198,"data_length":795,"current_offset":136} 
[2026-08-10 16:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307882240001,"66":14048,"120":206,"28":31744,"24":0,"16":11487130551320576,"45":1740782024095997952},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 16:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307882240001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:20:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 16:20:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11487130551320576,"km_value":11487130551320.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024095997952,"description":"Unknown IO ID 45"} 
[2026-08-10 16:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307882240001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740782024095997952}} 
[2026-08-10 16:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":151615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:20:46] local.INFO: GPS data processed {"connection_id":151615,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:20:46] local.INFO: Acknowledgment sent {"connection_id":151615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:20:47] local.INFO: TCP Data received {"connection_id":151615,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4a83c8012d1828800721a0a0004e008423..."} 
[2026-08-10 16:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4a83c8012d1828800721a0a0004e008423..."} 
[2026-08-10 16:20:47] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4a83c8012d1828800721a0a0004e008423..."} 
[2026-08-10 16:20:47] local.INFO: Packet analysis {"connection_id":151615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:20:47] local.INFO: Extracted packet for processing {"connection_id":151615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4a"} 
[2026-08-10 16:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119644320,"longitude_deg":75.6557952,"latitude_deg":11.964432,"altitude":78,"angle":132,"satellites":35,"speed":0,"hex_longitude":"2d182880","hex_latitude":"0721a0a0","is_valid_coordinates":true} 
[2026-08-10 16:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307887616001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11487130551320576,"note":"Value kept but may cause issues"} 
[2026-08-10 16:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095997952,"note":"Value kept but may cause issues"} 
[2026-08-10 16: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-08-10 16:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786358957000,"timestamp_ms":1786358957000,"timestamp_seconds":1786358957,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4a83c8"} 
[2026-08-10 16:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 16:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307887616001,"66":14004,"121":206,"28":31744,"24":0,"16":11487130551320576,"45":1740782024095997952},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307887616001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:20:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:20:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11487130551320576,"km_value":11487130551320.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024095997952,"description":"Unknown IO ID 45"} 
[2026-08-10 16:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307887616001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740782024095997952}} 
[2026-08-10 16:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":151615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:20:48] local.INFO: GPS data processed {"connection_id":151615,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:20:48] local.INFO: Acknowledgment sent {"connection_id":151615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:21:04] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:21:04] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:21:04] local.INFO: IMEI packet received {"connection_id":151616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:21:08] local.INFO: TCP Data received {"connection_id":151617,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:21:08] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:21:08] local.INFO: IMEI packet received {"connection_id":151617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":151617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:21:08] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:21:08] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:21:08] local.INFO: IMEI packet received {"connection_id":151616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":151616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:21:09] local.INFO: TCP Data received {"connection_id":154380,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b9150012d0d3d400705c0f80013001317..."} 
[2026-08-10 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b9150012d0d3d400705c0f80013001317..."} 
[2026-08-10 16:21:09] local.INFO: Processing buffer {"connection_id":154380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b9150012d0d3d400705c0f80013001317..."} 
[2026-08-10 16:21:09] local.INFO: Packet analysis {"connection_id":154380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:09] local.INFO: Extracted packet for processing {"connection_id":154380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":755842368,"raw_latitude":117817592,"longitude_deg":75.5842368,"latitude_deg":11.7817592,"altitude":19,"angle":19,"satellites":23,"speed":0,"hex_longitude":"2d0d3d40","hex_latitude":"0705c0f8","is_valid_coordinates":true} 
[2026-08-10 16:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307905280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27455784598110208,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953989094977884160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786359026000,"timestamp_ms":1786359026000,"timestamp_seconds":1786359026,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b9150"} 
[2026-08-10 16:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307905280001,"66":14428,"167":206,"94":11008,"24":0,"16":27455784598110208,"45":953989094977884160},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-10 16:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307905280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:21:09] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 16:21:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27455784598110208,"km_value":27455784598110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":953989094977884160,"description":"Unknown IO ID 45"} 
[2026-08-10 16:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307905280001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":953989094977884160}} 
[2026-08-10 16:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":154380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620646,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:21:09] local.INFO: GPS data processed {"connection_id":154380,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:21:09] local.INFO: Acknowledgment sent {"connection_id":154380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:21:10] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:21:10] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:21:10] local.INFO: Packet analysis {"connection_id":151616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:10] local.INFO: Extracted packet for processing {"connection_id":151616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":28,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307828224001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786359005000,"timestamp_ms":1786359005000,"timestamp_seconds":1786359005,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b3f48"} 
[2026-08-10 16:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:21: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-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307828224001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307828224001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:21:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307828224001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":151616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:21:10] local.INFO: GPS data processed {"connection_id":151616,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:21:10] local.INFO: Acknowledgment sent {"connection_id":151616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:21:12] local.INFO: TCP Data received {"connection_id":151617,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:21:12] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:21:12] local.INFO: IMEI packet received {"connection_id":151617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":151617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:21:17] local.INFO: TCP Data received {"connection_id":151617,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:21:17] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:21:17] local.INFO: IMEI packet received {"connection_id":151617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":151617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:21:18] local.INFO: TCP Data received {"connection_id":151617,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b3778012d7b6a4005e78590000100a223..."} 
[2026-08-10 16:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b3778012d7b6a4005e78590000100a223..."} 
[2026-08-10 16:21:18] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b3778012d7b6a4005e78590000100a223..."} 
[2026-08-10 16:21:18] local.INFO: Packet analysis {"connection_id":151617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:18] local.INFO: Extracted packet for processing {"connection_id":151617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:18] local.INFO: GPS Element Parsed {"raw_longitude":763062848,"raw_latitude":99059088,"longitude_deg":76.3062848,"latitude_deg":9.9059088,"altitude":1,"angle":162,"satellites":35,"speed":20,"hex_longitude":"2d7b6a40","hex_latitude":"05e78590","is_valid_coordinates":true} 
[2026-08-10 16:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307899648001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117262013159178240,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890879745975840768,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21: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-08-10 16:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786359003000,"timestamp_ms":1786359003000,"timestamp_seconds":1786359003,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b3778"} 
[2026-08-10 16:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 16:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307899648001,"66":13526,"96":206,"87":13824,"24":20,"16":117262013159178240,"45":8890879745975840768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 16:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307899648001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:21:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:21:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117262013159178240,"km_value":117262013159178.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890879745975840768,"description":"Unknown IO ID 45"} 
[2026-08-10 16:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307899648001,"power":13526,"unknown_96":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8890879745975840768}} 
[2026-08-10 16:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":151617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:21:18] local.INFO: GPS data processed {"connection_id":151617,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:21:18] local.INFO: Acknowledgment sent {"connection_id":151617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:21:19] local.INFO: TCP Data received {"connection_id":151615,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4ba0f0012d18c7c007213ac80041009923..."} 
[2026-08-10 16:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4ba0f0012d18c7c007213ac80041009923..."} 
[2026-08-10 16:21:19] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4ba0f0012d18c7c007213ac80041009923..."} 
[2026-08-10 16:21:19] local.INFO: Packet analysis {"connection_id":151615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:19] local.INFO: Extracted packet for processing {"connection_id":151615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756598720,"raw_latitude":119618248,"longitude_deg":75.659872,"latitude_deg":11.9618248,"altitude":65,"angle":153,"satellites":35,"speed":29,"hex_longitude":"2d18c7c0","hex_latitude":"07213ac8","is_valid_coordinates":true} 
[2026-08-10 16:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307909888001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11489677466927104,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201653760,"note":"Value kept but may cause issues"} 
[2026-08-10 16: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-08-10 16:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786359030000,"timestamp_ms":1786359030000,"timestamp_seconds":1786359030,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4ba0f0"} 
[2026-08-10 16:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-10 16:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307909888001,"66":14407,"121":206,"28":31744,"24":29,"16":11489677466927104,"45":1784762489201653760},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307909888001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:21:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:21:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11489677466927104,"km_value":11489677466927.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201653760,"description":"Unknown IO ID 45"} 
[2026-08-10 16:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307909888001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1784762489201653760}} 
[2026-08-10 16:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":151615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:21:19] local.INFO: GPS data processed {"connection_id":151615,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:21:19] local.INFO: Acknowledgment sent {"connection_id":151615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:21:22] local.INFO: TCP Data received {"connection_id":151617,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b8980012d7b700005e769880002009d21..."} 
[2026-08-10 16:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b8980012d7b700005e769880002009d21..."} 
[2026-08-10 16:21:22] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b8980012d7b700005e769880002009d21..."} 
[2026-08-10 16:21:22] local.INFO: Packet analysis {"connection_id":151617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:22] local.INFO: Extracted packet for processing {"connection_id":151617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:22] local.INFO: GPS Element Parsed {"raw_longitude":763064320,"raw_latitude":99051912,"longitude_deg":76.306432,"latitude_deg":9.9051912,"altitude":2,"angle":157,"satellites":33,"speed":0,"hex_longitude":"2d7b7000","hex_latitude":"05e76988","is_valid_coordinates":true} 
[2026-08-10 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307904768001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117262373936431104,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892990808299769856,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786359024000,"timestamp_ms":1786359024000,"timestamp_seconds":1786359024,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b8980"} 
[2026-08-10 16:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 16:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307904768001,"66":13319,"96":206,"87":13824,"24":0,"16":117262373936431104,"45":8892990808299769856},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 16:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307904768001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:21:22] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:21:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117262373936431104,"km_value":117262373936431.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892990808299769856,"description":"Unknown IO ID 45"} 
[2026-08-10 16:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307904768001,"power":13319,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8892990808299769856}} 
[2026-08-10 16:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":151617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:21:22] local.INFO: GPS data processed {"connection_id":151617,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:21:22] local.INFO: Acknowledgment sent {"connection_id":151617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:21:32] local.INFO: TCP Data received {"connection_id":152927,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:21:32] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:21:32] local.INFO: IMEI packet received {"connection_id":152927,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":152927,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:21:33] local.INFO: TCP Data received {"connection_id":152927,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:21:33] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:21:33] local.INFO: IMEI packet received {"connection_id":152927,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":152927,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:21:36] local.INFO: TCP Data received {"connection_id":152927,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:21:36] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:21:36] local.INFO: IMEI packet received {"connection_id":152927,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":152927,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:21:37] local.INFO: TCP Data received {"connection_id":152927,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:21:37] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:21:37] local.INFO: IMEI packet received {"connection_id":152927,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":152927,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:21:38] local.INFO: TCP Data received {"connection_id":152927,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4bb090012d0d3d400705c0a00013011b17..."} 
[2026-08-10 16:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4bb090012d0d3d400705c0a00013011b17..."} 
[2026-08-10 16:21:38] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4bb090012d0d3d400705c0a00013011b17..."} 
[2026-08-10 16:21:38] local.INFO: Packet analysis {"connection_id":152927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:38] local.INFO: Extracted packet for processing {"connection_id":152927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:38] local.INFO: GPS Element Parsed {"raw_longitude":755842368,"raw_latitude":117817504,"longitude_deg":75.5842368,"latitude_deg":11.7817504,"altitude":19,"angle":283,"satellites":23,"speed":5,"hex_longitude":"2d0d3d40","hex_latitude":"0705c0a0","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307910656001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27455788893077504,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953989094977894400,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786359034000,"timestamp_ms":1786359034000,"timestamp_seconds":1786359034,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4bb090"} 
[2026-08-10 16:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 16:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307910656001,"66":14494,"167":206,"94":11008,"24":5,"16":27455788893077504,"45":953989094977894400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-10 16:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307910656001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:21:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 16:21:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27455788893077504,"km_value":27455788893077.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":953989094977894400,"description":"Unknown IO ID 45"} 
[2026-08-10 16:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307910656001,"power":14494,"unknown_167":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":953989094977894400}} 
[2026-08-10 16:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":152927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620651,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:21:38] local.INFO: GPS data processed {"connection_id":152927,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:21:38] local.INFO: Acknowledgment sent {"connection_id":152927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:21:40] local.INFO: TCP Data received {"connection_id":152927,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4bb478012d0d3cc00705c0e00013012817..."} 
[2026-08-10 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4bb478012d0d3cc00705c0e00013012817..."} 
[2026-08-10 16:21:40] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4bb478012d0d3cc00705c0e00013012817..."} 
[2026-08-10 16:21:40] local.INFO: Packet analysis {"connection_id":152927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:40] local.INFO: Extracted packet for processing {"connection_id":152927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":755842240,"raw_latitude":117817568,"longitude_deg":75.584224,"latitude_deg":11.7817568,"altitude":19,"angle":296,"satellites":23,"speed":6,"hex_longitude":"2d0d3cc0","hex_latitude":"0705c0e0","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307912704001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27455797483012096,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953989094977871872,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786359035000,"timestamp_ms":1786359035000,"timestamp_seconds":1786359035,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4bb478"} 
[2026-08-10 16:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-10 16:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307912704001,"66":14352,"167":206,"94":11008,"24":6,"16":27455797483012096,"45":953989094977871872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-10 16:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307912704001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:21:40] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 16:21:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27455797483012096,"km_value":27455797483012.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":953989094977871872,"description":"Unknown IO ID 45"} 
[2026-08-10 16:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307912704001,"power":14352,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953989094977871872}} 
[2026-08-10 16:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":152927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620652,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:21:40] local.INFO: GPS data processed {"connection_id":152927,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:21:40] local.INFO: Acknowledgment sent {"connection_id":152927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:21:42] local.INFO: TCP Data received {"connection_id":152928,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:21:42] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:21:42] local.INFO: IMEI packet received {"connection_id":152928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":152928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:21:42] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:21:42] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:21:42] local.INFO: Packet analysis {"connection_id":151616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:42] local.INFO: Extracted packet for processing {"connection_id":151616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":28,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307828224001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786359005000,"timestamp_ms":1786359005000,"timestamp_seconds":1786359005,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b3f48"} 
[2026-08-10 16:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307828224001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307828224001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:21:42] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307828224001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":151616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:21:42] local.INFO: GPS data processed {"connection_id":151616,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:21:42] local.INFO: Acknowledgment sent {"connection_id":151616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:21:46] local.INFO: TCP Data received {"connection_id":152928,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:21:46] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:21:46] local.INFO: IMEI packet received {"connection_id":152928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":152928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:21:48] local.INFO: TCP Data received {"connection_id":152928,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4bc030012d18d24007212678003f00a925..."} 
[2026-08-10 16:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4bc030012d18d24007212678003f00a925..."} 
[2026-08-10 16:21:48] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4bc030012d18d24007212678003f00a925..."} 
[2026-08-10 16:21:48] local.INFO: Packet analysis {"connection_id":152928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:48] local.INFO: Extracted packet for processing {"connection_id":152928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:21:48] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119613048,"longitude_deg":75.6601408,"latitude_deg":11.9613048,"altitude":63,"angle":169,"satellites":37,"speed":30,"hex_longitude":"2d18d240","hex_latitude":"07212678","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307911680001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11489960934768640,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785606914130495488,"note":"Value kept but may cause issues"} 
[2026-08-10 16:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786359038000,"timestamp_ms":1786359038000,"timestamp_seconds":1786359038,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4bc030"} 
[2026-08-10 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-08-10 16:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":71,"data_length":795,"current_offset":136} 
[2026-08-10 16:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307911680001,"66":14298,"121":206,"28":31744,"24":30,"16":11489960934768640,"45":1785606914130495488},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307911680001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:21:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:21:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11489960934768640,"km_value":11489960934768.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785606914130495488,"description":"Unknown IO ID 45"} 
[2026-08-10 16:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307911680001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1785606914130495488}} 
[2026-08-10 16:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":152928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:21:48] local.INFO: GPS data processed {"connection_id":152928,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:21:48] local.INFO: Acknowledgment sent {"connection_id":152928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:21:58] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:21:58] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:21:58] local.INFO: IMEI packet received {"connection_id":151618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":151618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:22:03] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:22:03] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:22:03] local.INFO: IMEI packet received {"connection_id":151618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":151618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:22:06] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:22:06] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:22:06] local.INFO: Packet analysis {"connection_id":151618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:22:06] local.INFO: Extracted packet for processing {"connection_id":151618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":28,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307828224001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786359005000,"timestamp_ms":1786359005000,"timestamp_seconds":1786359005,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b3f48"} 
[2026-08-10 16:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:22: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-08-10 16:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307828224001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307828224001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:22:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307828224001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":151618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:22:06] local.INFO: GPS data processed {"connection_id":151618,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:22:06] local.INFO: Acknowledgment sent {"connection_id":151618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:22:07] local.INFO: TCP Data received {"connection_id":152006,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:22:07] local.INFO: Processing buffer {"connection_id":152006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:22:07] local.INFO: IMEI packet received {"connection_id":152006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":152006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:22:11] local.INFO: TCP Data received {"connection_id":152927,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4d1bd8012d0d9b000705d7780017005618..."} 
[2026-08-10 16:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4d1bd8012d0d9b000705d7780017005618..."} 
[2026-08-10 16:22:11] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4d1bd8012d0d9b000705d7780017005618..."} 
[2026-08-10 16:22:11] local.INFO: Packet analysis {"connection_id":152927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4d"} 
[2026-08-10 16:22:11] local.INFO: Extracted packet for processing {"connection_id":152927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4d"} 
[2026-08-10 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":755866368,"raw_latitude":117823352,"longitude_deg":75.5866368,"latitude_deg":11.7823352,"altitude":23,"angle":86,"satellites":24,"speed":27,"hex_longitude":"2d0d9b00","hex_latitude":"0705d778","is_valid_coordinates":true} 
[2026-08-10 16:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307936256001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27457352261173248,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":979673686604197888,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786359127000,"timestamp_ms":1786359127000,"timestamp_seconds":1786359127,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4d1bd8"} 
[2026-08-10 16:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:22: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-08-10 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 16:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307936256001,"66":14396,"167":206,"94":11008,"24":27,"16":27457352261173248,"45":979673686604197888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-10 16:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307936256001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:22:11] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 16:22:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27457352261173248,"km_value":27457352261173.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":979673686604197888,"description":"Unknown IO ID 45"} 
[2026-08-10 16:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307936256001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":979673686604197888}} 
[2026-08-10 16:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":152927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620656,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:22:11] local.INFO: GPS data processed {"connection_id":152927,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:22:11] local.INFO: Acknowledgment sent {"connection_id":152927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:22:12] local.INFO: TCP Data received {"connection_id":152006,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:22:12] local.INFO: Processing buffer {"connection_id":152006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:22:12] local.INFO: IMEI packet received {"connection_id":152006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":152006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:22:19] local.INFO: TCP Data received {"connection_id":152928,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4c9af0012d18c9800720ed08003700cc25..."} 
[2026-08-10 16:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4c9af0012d18c9800720ed08003700cc25..."} 
[2026-08-10 16:22:19] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4c9af0012d18c9800720ed08003700cc25..."} 
[2026-08-10 16:22:19] local.INFO: Packet analysis {"connection_id":152928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4c"} 
[2026-08-10 16:22:19] local.INFO: Extracted packet for processing {"connection_id":152928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4c"} 
[2026-08-10 16:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756599168,"raw_latitude":119598344,"longitude_deg":75.6599168,"latitude_deg":11.9598344,"altitude":55,"angle":204,"satellites":37,"speed":16,"hex_longitude":"2d18c980","hex_latitude":"0720ed08","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307927808001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11490798453391360,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786310601567260672,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786359094000,"timestamp_ms":1786359094000,"timestamp_seconds":1786359094,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4c9af0"} 
[2026-08-10 16:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":27,"data_length":795,"current_offset":136} 
[2026-08-10 16:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307927808001,"66":14363,"121":206,"28":31744,"24":16,"16":11490798453391360,"45":1786310601567260672},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307927808001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:22:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11490798453391360,"km_value":11490798453391.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786310601567260672,"description":"Unknown IO ID 45"} 
[2026-08-10 16:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307927808001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1786310601567260672}} 
[2026-08-10 16:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":152928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:22:19] local.INFO: GPS data processed {"connection_id":152928,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:22:19] local.INFO: Acknowledgment sent {"connection_id":152928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:22:26] local.INFO: TCP Data received {"connection_id":152006,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4cdd58012d7b994005e6cc60000400b61f..."} 
[2026-08-10 16:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4cdd58012d7b994005e6cc60000400b61f..."} 
[2026-08-10 16:22:26] local.INFO: Processing buffer {"connection_id":152006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4cdd58012d7b994005e6cc60000400b61f..."} 
[2026-08-10 16:22:26] local.INFO: Packet analysis {"connection_id":152006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4c"} 
[2026-08-10 16:22:26] local.INFO: Extracted packet for processing {"connection_id":152006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4c"} 
[2026-08-10 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763074880,"raw_latitude":99011680,"longitude_deg":76.307488,"latitude_deg":9.901168,"altitude":4,"angle":182,"satellites":31,"speed":21,"hex_longitude":"2d7b9940","hex_latitude":"05e6cc60","is_valid_coordinates":true} 
[2026-08-10 16:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307931136001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117264418340864000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906149763449628672,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786359111000,"timestamp_ms":1786359111000,"timestamp_seconds":1786359111,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4cdd58"} 
[2026-08-10 16:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 16:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307931136001,"66":13102,"96":206,"87":13824,"24":21,"16":117264418340864000,"45":8906149763449628672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 16:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307931136001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:22:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:22:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117264418340864000,"km_value":117264418340864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906149763449628672,"description":"Unknown IO ID 45"} 
[2026-08-10 16:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307931136001,"power":13102,"unknown_96":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8906149763449628672}} 
[2026-08-10 16:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":152006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:22:26] local.INFO: GPS data processed {"connection_id":152006,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:22:26] local.INFO: Acknowledgment sent {"connection_id":152006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:22:32] local.INFO: TCP Data received {"connection_id":154381,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:22:32] local.INFO: Processing buffer {"connection_id":154381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:22:32] local.INFO: IMEI packet received {"connection_id":154381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":154381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:22:37] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:22:37] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:22:37] local.INFO: Packet analysis {"connection_id":151618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:22:37] local.INFO: Extracted packet for processing {"connection_id":151618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":28,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307828224001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786359005000,"timestamp_ms":1786359005000,"timestamp_seconds":1786359005,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b3f48"} 
[2026-08-10 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-08-10 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 16:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307828224001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307828224001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:22:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307828224001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":151618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:22:37] local.INFO: GPS data processed {"connection_id":151618,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:22:37] local.INFO: Acknowledgment sent {"connection_id":151618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:22:38] local.INFO: TCP Data received {"connection_id":154381,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:22:38] local.INFO: Processing buffer {"connection_id":154381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:22:38] local.INFO: IMEI packet received {"connection_id":154381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":154381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:22:38] local.INFO: TCP Data received {"connection_id":154381,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4d1fc0012d0d9dc00705d7500017006317..."} 
[2026-08-10 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4d1fc0012d0d9dc00705d7500017006317..."} 
[2026-08-10 16:22:38] local.INFO: Processing buffer {"connection_id":154381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4d1fc0012d0d9dc00705d7500017006317..."} 
[2026-08-10 16:22:38] local.INFO: Packet analysis {"connection_id":154381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4d"} 
[2026-08-10 16:22:38] local.INFO: Extracted packet for processing {"connection_id":154381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4d"} 
[2026-08-10 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":755867072,"raw_latitude":117823312,"longitude_deg":75.5867072,"latitude_deg":11.7823312,"altitude":23,"angle":99,"satellites":23,"speed":25,"hex_longitude":"2d0d9dc0","hex_latitude":"0705d750","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307936512001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27457386620911616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":980377374045992960,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786359128000,"timestamp_ms":1786359128000,"timestamp_seconds":1786359128,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4d1fc0"} 
[2026-08-10 16:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 16:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307936512001,"66":14396,"167":206,"94":11008,"24":25,"16":27457386620911616,"45":980377374045992960},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-10 16:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307936512001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:22:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 16:22:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27457386620911616,"km_value":27457386620911.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":980377374045992960,"description":"Unknown IO ID 45"} 
[2026-08-10 16:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307936512001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":980377374045992960}} 
[2026-08-10 16:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":154381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620660,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:22:38] local.INFO: GPS data processed {"connection_id":154381,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:22:38] local.INFO: Acknowledgment sent {"connection_id":154381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:22:42] local.INFO: TCP Data received {"connection_id":154382,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:22:42] local.INFO: Processing buffer {"connection_id":154382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:22:42] local.INFO: IMEI packet received {"connection_id":154382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":154382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:22:43] local.INFO: TCP Data received {"connection_id":154382,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:22:43] local.INFO: Processing buffer {"connection_id":154382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:22:43] local.INFO: IMEI packet received {"connection_id":154382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":154382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:22:45] local.INFO: TCP Data received {"connection_id":154382,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:22:45] local.INFO: Processing buffer {"connection_id":154382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:22:45] local.INFO: IMEI packet received {"connection_id":154382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":154382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:22:46] local.INFO: TCP Data received {"connection_id":154382,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4caa90012d18c7000720e710003500bc24..."} 
[2026-08-10 16:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4caa90012d18c7000720e710003500bc24..."} 
[2026-08-10 16:22:46] local.INFO: Processing buffer {"connection_id":154382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4caa90012d18c7000720e710003500bc24..."} 
[2026-08-10 16:22:46] local.INFO: Packet analysis {"connection_id":154382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4c"} 
[2026-08-10 16:22:46] local.INFO: Extracted packet for processing {"connection_id":154382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4c"} 
[2026-08-10 16:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756598528,"raw_latitude":119596816,"longitude_deg":75.6598528,"latitude_deg":11.9596816,"altitude":53,"angle":188,"satellites":36,"speed":15,"hex_longitude":"2d18c700","hex_latitude":"0720e710","is_valid_coordinates":true} 
[2026-08-10 16:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307928064001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11490880057769984,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786099495334643712,"note":"Value kept but may cause issues"} 
[2026-08-10 16:22: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-08-10 16:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786359098000,"timestamp_ms":1786359098000,"timestamp_seconds":1786359098,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4caa90"} 
[2026-08-10 16:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 16:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307928064001,"66":14276,"121":206,"28":31744,"24":15,"16":11490880057769984,"45":1786099495334643712},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307928064001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:22:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:22:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11490880057769984,"km_value":11490880057769.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786099495334643712,"description":"Unknown IO ID 45"} 
[2026-08-10 16:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307928064001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1786099495334643712}} 
[2026-08-10 16:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":154382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:22:46] local.INFO: GPS data processed {"connection_id":154382,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:22:46] local.INFO: Acknowledgment sent {"connection_id":154382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:22:58] local.INFO: TCP Data received {"connection_id":152929,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:22:58] local.INFO: Processing buffer {"connection_id":152929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:22:58] local.INFO: IMEI packet received {"connection_id":152929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":152929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:23:05] local.INFO: TCP Data received {"connection_id":152929,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:23:05] local.INFO: Processing buffer {"connection_id":152929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:23:05] local.INFO: IMEI packet received {"connection_id":152929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":152929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:23:06] local.INFO: TCP Data received {"connection_id":152929,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:23:06] local.INFO: Processing buffer {"connection_id":152929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:23:06] local.INFO: Packet analysis {"connection_id":152929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:23:06] local.INFO: Extracted packet for processing {"connection_id":152929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":28,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307828224001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786359005000,"timestamp_ms":1786359005000,"timestamp_seconds":1786359005,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b3f48"} 
[2026-08-10 16:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:23: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-08-10 16:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307828224001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307828224001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:23:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307828224001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":152929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:23:06] local.INFO: GPS data processed {"connection_id":152929,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:23:06] local.INFO: Acknowledgment sent {"connection_id":152929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:23:07] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:23:07] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:23:07] local.INFO: IMEI packet received {"connection_id":151619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":151619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:23:09] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:23:09] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:23:09] local.INFO: IMEI packet received {"connection_id":151619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":151619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:23:10] local.INFO: TCP Data received {"connection_id":154381,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4dd370012d0da4000705bbe00016016017..."} 
[2026-08-10 16:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4dd370012d0da4000705bbe00016016017..."} 
[2026-08-10 16:23:10] local.INFO: Processing buffer {"connection_id":154381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4dd370012d0da4000705bbe00016016017..."} 
[2026-08-10 16:23:10] local.INFO: Packet analysis {"connection_id":154381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4d"} 
[2026-08-10 16:23:10] local.INFO: Extracted packet for processing {"connection_id":154381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4d"} 
[2026-08-10 16:23:10] local.INFO: GPS Element Parsed {"raw_longitude":755868672,"raw_latitude":117816288,"longitude_deg":75.5868672,"latitude_deg":11.7816288,"altitude":22,"angle":352,"satellites":23,"speed":2,"hex_longitude":"2d0da400","hex_latitude":"0705bbe0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307947776001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27457820412608512,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982840280090353664,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786359174000,"timestamp_ms":1786359174000,"timestamp_seconds":1786359174,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4dd370"} 
[2026-08-10 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-08-10 16:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 16:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307947776001,"66":14374,"167":206,"94":11008,"24":2,"16":27457820412608512,"45":982840280090353664},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-10 16:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307947776001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:23:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 16:23:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27457820412608512,"km_value":27457820412608.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":982840280090353664,"description":"Unknown IO ID 45"} 
[2026-08-10 16:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307947776001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":982840280090353664}} 
[2026-08-10 16:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":154381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620663,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:23:10] local.INFO: GPS data processed {"connection_id":154381,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:23:10] local.INFO: Acknowledgment sent {"connection_id":154381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:23:10] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4d0080012d7b96c005e6b498000300a81f..."} 
[2026-08-10 16:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4d0080012d7b96c005e6b498000300a81f..."} 
[2026-08-10 16:23:10] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4d0080012d7b96c005e6b498000300a81f..."} 
[2026-08-10 16:23:10] local.INFO: Packet analysis {"connection_id":151619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4d"} 
[2026-08-10 16:23:10] local.INFO: Extracted packet for processing {"connection_id":151619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4d"} 
[2026-08-10 16:23:10] local.INFO: GPS Element Parsed {"raw_longitude":763074240,"raw_latitude":99005592,"longitude_deg":76.307424,"latitude_deg":9.9005592,"altitude":3,"angle":168,"satellites":31,"speed":31,"hex_longitude":"2d7b96c0","hex_latitude":"05e6b498","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307932416001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117264718988574720,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906220132193034240,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23: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-08-10 16:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786359120000,"timestamp_ms":1786359120000,"timestamp_seconds":1786359120,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4d0080"} 
[2026-08-10 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-08-10 16:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-10 16:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307932416001,"66":12906,"96":206,"87":13824,"24":31,"16":117264718988574720,"45":8906220132193034240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 16:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307932416001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:23:10] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:23:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117264718988574720,"km_value":117264718988574.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906220132193034240,"description":"Unknown IO ID 45"} 
[2026-08-10 16:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307932416001,"power":12906,"unknown_96":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8906220132193034240}} 
[2026-08-10 16:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":151619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:23:10] local.INFO: GPS data processed {"connection_id":151619,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:23:10] local.INFO: Acknowledgment sent {"connection_id":151619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:23:17] local.INFO: TCP Data received {"connection_id":154382,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4cb260012d18c7000720e360003400af24..."} 
[2026-08-10 16:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4cb260012d18c7000720e360003400af24..."} 
[2026-08-10 16:23:17] local.INFO: Processing buffer {"connection_id":154382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4cb260012d18c7000720e360003400af24..."} 
[2026-08-10 16:23:17] local.INFO: Packet analysis {"connection_id":154382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4c"} 
[2026-08-10 16:23:17] local.INFO: Extracted packet for processing {"connection_id":154382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4c"} 
[2026-08-10 16:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756598528,"raw_latitude":119595872,"longitude_deg":75.6598528,"latitude_deg":11.9595872,"altitude":52,"angle":175,"satellites":36,"speed":20,"hex_longitude":"2d18c700","hex_latitude":"0720e360","is_valid_coordinates":true} 
[2026-08-10 16:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307929088001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11490923007442944,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807892475904,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786359100000,"timestamp_ms":1786359100000,"timestamp_seconds":1786359100,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4cb260"} 
[2026-08-10 16:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 16:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307929088001,"66":14243,"121":206,"28":31744,"24":20,"16":11490923007442944,"45":1785395807892475904},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307929088001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:23:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:23:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11490923007442944,"km_value":11490923007442.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807892475904,"description":"Unknown IO ID 45"} 
[2026-08-10 16:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307929088001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1785395807892475904}} 
[2026-08-10 16:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":154382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:23:17] local.INFO: GPS data processed {"connection_id":154382,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:23:17] local.INFO: Acknowledgment sent {"connection_id":154382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:23:33] local.INFO: TCP Data received {"connection_id":152930,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:23:33] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:23:33] local.INFO: IMEI packet received {"connection_id":152930,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":152930,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:23:34] local.INFO: TCP Data received {"connection_id":152930,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:23:34] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:23:34] local.INFO: IMEI packet received {"connection_id":152930,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":152930,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:23:35] local.INFO: TCP Data received {"connection_id":152930,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:23:35] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:23:35] local.INFO: IMEI packet received {"connection_id":152930,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":152930,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:23:36] local.INFO: TCP Data received {"connection_id":152930,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:23:36] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:23:36] local.INFO: IMEI packet received {"connection_id":152930,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":152930,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:23:38] local.INFO: TCP Data received {"connection_id":152929,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:23:38] local.INFO: Processing buffer {"connection_id":152929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:23:38] local.INFO: Packet analysis {"connection_id":152929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:23:38] local.INFO: Extracted packet for processing {"connection_id":152929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":28,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307828224001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786359005000,"timestamp_ms":1786359005000,"timestamp_seconds":1786359005,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b3f48"} 
[2026-08-10 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-08-10 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307828224001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307828224001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:23:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307828224001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":152929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:23:38] local.INFO: GPS data processed {"connection_id":152929,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:23:38] local.INFO: Acknowledgment sent {"connection_id":152929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:23:41] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4d2790012d7b9f8005e68f18000300a620..."} 
[2026-08-10 16:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4d2790012d7b9f8005e68f18000300a620..."} 
[2026-08-10 16:23:41] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4d2790012d7b9f8005e68f18000300a620..."} 
[2026-08-10 16:23:41] local.INFO: Packet analysis {"connection_id":151619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4d"} 
[2026-08-10 16:23:41] local.INFO: Extracted packet for processing {"connection_id":151619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4d"} 
[2026-08-10 16:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763076480,"raw_latitude":98995992,"longitude_deg":76.307648,"latitude_deg":9.8995992,"altitude":3,"angle":166,"satellites":32,"speed":45,"hex_longitude":"2d7b9f80","hex_latitude":"05e68f18","is_valid_coordinates":true} 
[2026-08-10 16:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307934720001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117265195729944576,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905516444749699072,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786359130000,"timestamp_ms":1786359130000,"timestamp_seconds":1786359130,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4d2790"} 
[2026-08-10 16:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-10 16:23: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-08-10 16: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-08-10 16:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:23: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-08-10 16:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307934720001,"66":13243,"96":206,"87":13824,"24":45,"16":117265195729944576,"45":8905516444749699072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-10 16:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307934720001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:23:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:23:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117265195729944576,"km_value":117265195729944.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905516444749699072,"description":"Unknown IO ID 45"} 
[2026-08-10 16:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307934720001,"power":13243,"unknown_96":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":8905516444749699072}} 
[2026-08-10 16:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":151619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:23:42] local.INFO: GPS data processed {"connection_id":151619,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:23:42] local.INFO: Acknowledgment sent {"connection_id":151619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:23:42] local.INFO: TCP Data received {"connection_id":154383,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:23:42] local.INFO: Processing buffer {"connection_id":154383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:23:42] local.INFO: IMEI packet received {"connection_id":154383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":154383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:23:47] local.INFO: TCP Data received {"connection_id":154383,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:23:47] local.INFO: Processing buffer {"connection_id":154383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:23:47] local.INFO: IMEI packet received {"connection_id":154383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":154383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:23:48] local.INFO: TCP Data received {"connection_id":154383,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4cf0e0012d18c7800720bfe8002e00b021..."} 
[2026-08-10 16:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4cf0e0012d18c7800720bfe8002e00b021..."} 
[2026-08-10 16:23:48] local.INFO: Processing buffer {"connection_id":154383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4cf0e0012d18c7800720bfe8002e00b021..."} 
[2026-08-10 16:23:48] local.INFO: Packet analysis {"connection_id":154383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4c"} 
[2026-08-10 16:23:48] local.INFO: Extracted packet for processing {"connection_id":154383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4c"} 
[2026-08-10 16:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756598656,"raw_latitude":119586792,"longitude_deg":75.6598656,"latitude_deg":11.9586792,"altitude":46,"angle":176,"satellites":33,"speed":20,"hex_longitude":"2d18c780","hex_latitude":"0720bfe8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307929600001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11491365389074432,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807892234240,"note":"Value kept but may cause issues"} 
[2026-08-10 16:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786359116000,"timestamp_ms":1786359116000,"timestamp_seconds":1786359116,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4cf0e0"} 
[2026-08-10 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-08-10 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-08-10 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-10 16:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307929600001,"66":14157,"121":206,"28":31744,"24":20,"16":11491365389074432,"45":1785395807892234240},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307929600001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:23:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:23:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11491365389074432,"km_value":11491365389074.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807892234240,"description":"Unknown IO ID 45"} 
[2026-08-10 16:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307929600001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1785395807892234240}} 
[2026-08-10 16:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":154383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:23:48] local.INFO: GPS data processed {"connection_id":154383,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:23:48] local.INFO: Acknowledgment sent {"connection_id":154383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:24:03] local.INFO: TCP Data received {"connection_id":154384,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:24:03] local.INFO: Processing buffer {"connection_id":154384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:24:03] local.INFO: IMEI packet received {"connection_id":154384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":154384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:24:07] local.INFO: TCP Data received {"connection_id":152931,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:24:07] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:24:07] local.INFO: IMEI packet received {"connection_id":152931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":152931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:24:09] local.INFO: TCP Data received {"connection_id":154384,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:24:09] local.INFO: Processing buffer {"connection_id":154384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:24:09] local.INFO: IMEI packet received {"connection_id":154384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":154384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:24:10] local.INFO: TCP Data received {"connection_id":154384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:24:10] local.INFO: Processing buffer {"connection_id":154384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:24:10] local.INFO: Packet analysis {"connection_id":154384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:24:10] local.INFO: Extracted packet for processing {"connection_id":154384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":28,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307828224001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786359005000,"timestamp_ms":1786359005000,"timestamp_seconds":1786359005,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b3f48"} 
[2026-08-10 16:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16: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-08-10 16:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307828224001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307828224001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:24:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307828224001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":154384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:24:10] local.INFO: GPS data processed {"connection_id":154384,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:24:10] local.INFO: Acknowledgment sent {"connection_id":154384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:24:12] local.INFO: TCP Data received {"connection_id":152931,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:24:12] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:24:12] local.INFO: IMEI packet received {"connection_id":152931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":152931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:24:13] local.INFO: TCP Data received {"connection_id":152931,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4e8ef0012d7c0e4005e5bc78000400981e..."} 
[2026-08-10 16:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4e8ef0012d7c0e4005e5bc78000400981e..."} 
[2026-08-10 16:24:13] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4e8ef0012d7c0e4005e5bc78000400981e..."} 
[2026-08-10 16:24:13] local.INFO: Packet analysis {"connection_id":152931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4e"} 
[2026-08-10 16:24:13] local.INFO: Extracted packet for processing {"connection_id":152931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4e"} 
[2026-08-10 16:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763104832,"raw_latitude":98942072,"longitude_deg":76.3104832,"latitude_deg":9.8942072,"altitude":4,"angle":152,"satellites":30,"speed":42,"hex_longitude":"2d7c0e40","hex_latitude":"05e5bc78","is_valid_coordinates":true} 
[2026-08-10 16:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307959552001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117268206502019072,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954684391424,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786359222000,"timestamp_ms":1786359222000,"timestamp_seconds":1786359222,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4e8ef0"} 
[2026-08-10 16:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 16:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307959552001,"66":13167,"40":206,"87":13824,"24":42,"16":117268206502019072,"45":8936337954684391424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-08-10 16:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307959552001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:24:13] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-10 16:24:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117268206502019072,"km_value":117268206502019.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954684391424,"description":"Unknown IO ID 45"} 
[2026-08-10 16:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307959552001,"power":13167,"unknown_40":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8936337954684391424}} 
[2026-08-10 16:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":152931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:24:13] local.INFO: GPS data processed {"connection_id":152931,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:24:13] local.INFO: Acknowledgment sent {"connection_id":152931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:24:14] local.INFO: TCP Data received {"connection_id":154384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:24:14] local.INFO: Processing buffer {"connection_id":154384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:24:14] local.INFO: Packet analysis {"connection_id":154384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:24:14] local.INFO: Extracted packet for processing {"connection_id":154384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":28,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307828224001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786359005000,"timestamp_ms":1786359005000,"timestamp_seconds":1786359005,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b3f48"} 
[2026-08-10 16:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307828224001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307828224001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:24:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307828224001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":154384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:24:14] local.INFO: GPS data processed {"connection_id":154384,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:24:14] local.INFO: Acknowledgment sent {"connection_id":154384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:24:20] local.INFO: TCP Data received {"connection_id":154383,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4d1408012d18c7400720b130002c00a121..."} 
[2026-08-10 16:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4d1408012d18c7400720b130002c00a121..."} 
[2026-08-10 16:24:20] local.INFO: Processing buffer {"connection_id":154383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4d1408012d18c7400720b130002c00a121..."} 
[2026-08-10 16:24:20] local.INFO: Packet analysis {"connection_id":154383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4d"} 
[2026-08-10 16:24:20] local.INFO: Extracted packet for processing {"connection_id":154383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4d"} 
[2026-08-10 16:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756598592,"raw_latitude":119583024,"longitude_deg":75.6598592,"latitude_deg":11.9583024,"altitude":44,"angle":161,"satellites":33,"speed":6,"hex_longitude":"2d18c740","hex_latitude":"0720b130","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307933696001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11491550072668160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785536545378265088,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786359125000,"timestamp_ms":1786359125000,"timestamp_seconds":1786359125,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4d1408"} 
[2026-08-10 16:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 16:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307933696001,"66":13993,"121":206,"28":31744,"24":6,"16":11491550072668160,"45":1785536545378265088},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307933696001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:24:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:24:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11491550072668160,"km_value":11491550072668.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785536545378265088,"description":"Unknown IO ID 45"} 
[2026-08-10 16:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307933696001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1785536545378265088}} 
[2026-08-10 16:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":154383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:24:20] local.INFO: GPS data processed {"connection_id":154383,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:24:20] local.INFO: Acknowledgment sent {"connection_id":154383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:24:45] local.INFO: TCP Data received {"connection_id":152931,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4eb218012d7c1e4005e59b78000400941b..."} 
[2026-08-10 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4eb218012d7c1e4005e59b78000400941b..."} 
[2026-08-10 16:24:45] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4eb218012d7c1e4005e59b78000400941b..."} 
[2026-08-10 16:24:45] local.INFO: Packet analysis {"connection_id":152931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4e"} 
[2026-08-10 16:24:45] local.INFO: Extracted packet for processing {"connection_id":152931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4e"} 
[2026-08-10 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763108928,"raw_latitude":98933624,"longitude_deg":76.3108928,"latitude_deg":9.8933624,"altitude":4,"angle":148,"satellites":27,"speed":30,"hex_longitude":"2d7c1e40","hex_latitude":"05e59b78","is_valid_coordinates":true} 
[2026-08-10 16:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307960832001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117268657473585152,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939152704450361344,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786359231000,"timestamp_ms":1786359231000,"timestamp_seconds":1786359231,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4eb218"} 
[2026-08-10 16:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-10 16:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307960832001,"66":12743,"40":206,"87":13824,"24":30,"16":117268657473585152,"45":8939152704450361344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-08-10 16:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307960832001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:24:45] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-10 16:24:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117268657473585152,"km_value":117268657473585.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939152704450361344,"description":"Unknown IO ID 45"} 
[2026-08-10 16:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307960832001,"power":12743,"unknown_40":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8939152704450361344}} 
[2026-08-10 16:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":152931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:24:45] local.INFO: GPS data processed {"connection_id":152931,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:24:45] local.INFO: Acknowledgment sent {"connection_id":152931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:24:45] local.INFO: TCP Data received {"connection_id":152008,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:24:45] local.INFO: Processing buffer {"connection_id":152008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:24:45] local.INFO: IMEI packet received {"connection_id":152008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":152008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:24:47] local.INFO: TCP Data received {"connection_id":152008,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:24:47] local.INFO: Processing buffer {"connection_id":152008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:24:47] local.INFO: IMEI packet received {"connection_id":152008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":152008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:24:48] local.INFO: TCP Data received {"connection_id":152008,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:24:48] local.INFO: Processing buffer {"connection_id":152008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:24:48] local.INFO: IMEI packet received {"connection_id":152008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":152008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:24:50] local.INFO: TCP Data received {"connection_id":152008,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:24:50] local.INFO: Processing buffer {"connection_id":152008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:24:50] local.INFO: IMEI packet received {"connection_id":152008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":152008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:24:51] local.INFO: TCP Data received {"connection_id":152008,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4ec5a0012d18d9000720b0280033004f20..."} 
[2026-08-10 16:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4ec5a0012d18d9000720b0280033004f20..."} 
[2026-08-10 16:24:51] local.INFO: Processing buffer {"connection_id":152008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4ec5a0012d18d9000720b0280033004f20..."} 
[2026-08-10 16:24:51] local.INFO: Packet analysis {"connection_id":152008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4e"} 
[2026-08-10 16:24:51] local.INFO: Extracted packet for processing {"connection_id":152008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4e"} 
[2026-08-10 16:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756603136,"raw_latitude":119582760,"longitude_deg":75.6603136,"latitude_deg":11.958276,"altitude":51,"angle":79,"satellites":32,"speed":0,"hex_longitude":"2d18d900","hex_latitude":"0720b028","is_valid_coordinates":true} 
[2026-08-10 16:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307959040001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11491790590836736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790462357469669376,"note":"Value kept but may cause issues"} 
[2026-08-10 16:24: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-08-10 16:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786359236000,"timestamp_ms":1786359236000,"timestamp_seconds":1786359236,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4ec5a0"} 
[2026-08-10 16:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 16:24: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-08-10 16:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307959040001,"66":13972,"121":206,"28":31744,"24":0,"16":11491790590836736,"45":1790462357469669376},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307959040001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:24:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:24:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11491790590836736,"km_value":11491790590836.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790462357469669376,"description":"Unknown IO ID 45"} 
[2026-08-10 16:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307959040001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1790462357469669376}} 
[2026-08-10 16:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":152008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:24:51] local.INFO: GPS data processed {"connection_id":152008,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:24:51] local.INFO: Acknowledgment sent {"connection_id":152008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:24:58] local.INFO: TCP Data received {"connection_id":151620,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:24:58] local.INFO: Processing buffer {"connection_id":151620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:24:58] local.INFO: IMEI packet received {"connection_id":151620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":151620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:25:03] local.INFO: TCP Data received {"connection_id":151620,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:25:03] local.INFO: Processing buffer {"connection_id":151620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:25:03] local.INFO: IMEI packet received {"connection_id":151620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":151620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:25:05] local.INFO: TCP Data received {"connection_id":151620,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:25:05] local.INFO: Processing buffer {"connection_id":151620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:25:05] local.INFO: Packet analysis {"connection_id":151620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:25:05] local.INFO: Extracted packet for processing {"connection_id":151620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":28,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307828224001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786359005000,"timestamp_ms":1786359005000,"timestamp_seconds":1786359005,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b3f48"} 
[2026-08-10 16:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:25: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-08-10 16:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307828224001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307828224001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:25:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307828224001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":151620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:25:05] local.INFO: GPS data processed {"connection_id":151620,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:25:05] local.INFO: Acknowledgment sent {"connection_id":151620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:25:07] local.INFO: TCP Data received {"connection_id":154385,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:25:07] local.INFO: Processing buffer {"connection_id":154385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:25:07] local.INFO: IMEI packet received {"connection_id":154385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":154385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:25:12] local.INFO: TCP Data received {"connection_id":154385,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:25:12] local.INFO: Processing buffer {"connection_id":154385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:25:12] local.INFO: IMEI packet received {"connection_id":154385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":154385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:25:13] local.INFO: TCP Data received {"connection_id":154385,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4ec988012d7c238005e58fb8000400a11d..."} 
[2026-08-10 16:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4ec988012d7c238005e58fb8000400a11d..."} 
[2026-08-10 16:25:13] local.INFO: Processing buffer {"connection_id":154385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4ec988012d7c238005e58fb8000400a11d..."} 
[2026-08-10 16:25:13] local.INFO: Packet analysis {"connection_id":154385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4e"} 
[2026-08-10 16:25:13] local.INFO: Extracted packet for processing {"connection_id":154385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4e"} 
[2026-08-10 16:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763110272,"raw_latitude":98930616,"longitude_deg":76.3110272,"latitude_deg":9.8930616,"altitude":4,"angle":161,"satellites":29,"speed":25,"hex_longitude":"2d7c2380","hex_latitude":"05e58fb8","is_valid_coordinates":true} 
[2026-08-10 16:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307963136001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117268820682342400,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943656304075569152,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786359237000,"timestamp_ms":1786359237000,"timestamp_seconds":1786359237,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4ec988"} 
[2026-08-10 16:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-10 16:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307963136001,"66":13037,"40":206,"87":13824,"24":25,"16":117268820682342400,"45":8943656304075569152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-08-10 16:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307963136001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:25:13] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-10 16:25:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117268820682342400,"km_value":117268820682342.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943656304075569152,"description":"Unknown IO ID 45"} 
[2026-08-10 16:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307963136001,"power":13037,"unknown_40":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8943656304075569152}} 
[2026-08-10 16:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":154385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:25:13] local.INFO: GPS data processed {"connection_id":154385,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:25:13] local.INFO: Acknowledgment sent {"connection_id":154385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:25:23] local.INFO: TCP Data received {"connection_id":152008,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4ee8c8012d18db400720af980033005a23..."} 
[2026-08-10 16:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4ee8c8012d18db400720af980033005a23..."} 
[2026-08-10 16:25:23] local.INFO: Processing buffer {"connection_id":152008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4ee8c8012d18db400720af980033005a23..."} 
[2026-08-10 16:25:23] local.INFO: Packet analysis {"connection_id":152008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4e"} 
[2026-08-10 16:25:23] local.INFO: Extracted packet for processing {"connection_id":152008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4e"} 
[2026-08-10 16:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756603712,"raw_latitude":119582616,"longitude_deg":75.6603712,"latitude_deg":11.9582616,"altitude":51,"angle":90,"satellites":35,"speed":5,"hex_longitude":"2d18db40","hex_latitude":"0720af98","is_valid_coordinates":true} 
[2026-08-10 16:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307964416001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11491816360640512,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790462357469669376,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786359245000,"timestamp_ms":1786359245000,"timestamp_seconds":1786359245,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4ee8c8"} 
[2026-08-10 16:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-10 16:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307964416001,"66":14080,"121":206,"28":31744,"24":5,"16":11491816360640512,"45":1790462357469669376},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307964416001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:25:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:25:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11491816360640512,"km_value":11491816360640.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790462357469669376,"description":"Unknown IO ID 45"} 
[2026-08-10 16:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307964416001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1790462357469669376}} 
[2026-08-10 16:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":152008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:25:23] local.INFO: GPS data processed {"connection_id":152008,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:25:23] local.INFO: Acknowledgment sent {"connection_id":152008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:25:42] local.INFO: TCP Data received {"connection_id":151620,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:25:42] local.INFO: Processing buffer {"connection_id":151620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4b3f48012d342a4006abc280001c010222..."} 
[2026-08-10 16:25:42] local.INFO: Packet analysis {"connection_id":151620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:25:42] local.INFO: Extracted packet for processing {"connection_id":151620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4b"} 
[2026-08-10 16:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":28,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307828224001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786359005000,"timestamp_ms":1786359005000,"timestamp_seconds":1786359005,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4b3f48"} 
[2026-08-10 16:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307828224001,"66":25462,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307828224001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:25:42] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307828224001,"power":25462,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":151620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:25:42] local.INFO: GPS data processed {"connection_id":151620,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:25:42] local.INFO: Acknowledgment sent {"connection_id":151620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:25:42] local.INFO: TCP Data received {"connection_id":152009,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:25:42] local.INFO: Processing buffer {"connection_id":152009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:25:42] local.INFO: IMEI packet received {"connection_id":152009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":152009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:25:44] local.INFO: TCP Data received {"connection_id":154385,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4f0038012d7c2cc005e56e48000500a51f..."} 
[2026-08-10 16:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4f0038012d7c2cc005e56e48000500a51f..."} 
[2026-08-10 16:25:44] local.INFO: Processing buffer {"connection_id":154385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4f0038012d7c2cc005e56e48000500a51f..."} 
[2026-08-10 16:25:44] local.INFO: Packet analysis {"connection_id":154385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:25:44] local.INFO: Extracted packet for processing {"connection_id":154385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:25:44] local.INFO: GPS Element Parsed {"raw_longitude":763112640,"raw_latitude":98922056,"longitude_deg":76.311264,"latitude_deg":9.8922056,"altitude":5,"angle":165,"satellites":31,"speed":27,"hex_longitude":"2d7c2cc0","hex_latitude":"05e56e48","is_valid_coordinates":true} 
[2026-08-10 16:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307964672001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117269250179072000,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945134047702530048,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786359251000,"timestamp_ms":1786359251000,"timestamp_seconds":1786359251,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4f0038"} 
[2026-08-10 16:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-10 16:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307964672001,"66":13298,"39":206,"87":13824,"24":27,"16":117269250179072000,"45":8945134047702530048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 16:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307964672001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:25:44] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 16:25:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117269250179072000,"km_value":117269250179072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945134047702530048,"description":"Unknown IO ID 45"} 
[2026-08-10 16:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307964672001,"power":13298,"unknown_39":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8945134047702530048}} 
[2026-08-10 16:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":154385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:25:44] local.INFO: GPS data processed {"connection_id":154385,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:25:44] local.INFO: Acknowledgment sent {"connection_id":154385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:25:46] local.INFO: TCP Data received {"connection_id":152009,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:25:46] local.INFO: Processing buffer {"connection_id":152009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:25:46] local.INFO: IMEI packet received {"connection_id":152009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":152009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:25:47] local.INFO: TCP Data received {"connection_id":152009,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:25:47] local.INFO: Processing buffer {"connection_id":152009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:25:47] local.INFO: IMEI packet received {"connection_id":152009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":152009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:25:49] local.INFO: TCP Data received {"connection_id":152009,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4f94a8012d18cc400720aed00035010e28..."} 
[2026-08-10 16:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4f94a8012d18cc400720aed00035010e28..."} 
[2026-08-10 16:25:49] local.INFO: Processing buffer {"connection_id":152009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4f94a8012d18cc400720aed00035010e28..."} 
[2026-08-10 16:25:49] local.INFO: Packet analysis {"connection_id":152009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:25:49] local.INFO: Extracted packet for processing {"connection_id":152009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756599872,"raw_latitude":119582416,"longitude_deg":75.6599872,"latitude_deg":11.9582416,"altitude":53,"angle":270,"satellites":40,"speed":7,"hex_longitude":"2d18cc40","hex_latitude":"0720aed0","is_valid_coordinates":true} 
[2026-08-10 16:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307976704001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11492043993907200,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451423389696,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786359289000,"timestamp_ms":1786359289000,"timestamp_seconds":1786359289,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4f94a8"} 
[2026-08-10 16:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 16:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307976704001,"66":14070,"121":206,"28":31744,"24":7,"16":11492043993907200,"45":1787999451423389696},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307976704001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:25:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:25:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11492043993907200,"km_value":11492043993907.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451423389696,"description":"Unknown IO ID 45"} 
[2026-08-10 16:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307976704001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1787999451423389696}} 
[2026-08-10 16:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":152009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:25:49] local.INFO: GPS data processed {"connection_id":152009,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:25:49] local.INFO: Acknowledgment sent {"connection_id":152009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:25:51] local.INFO: TCP Data received {"connection_id":152009,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4f9c78012d18cac00720af000035011a28..."} 
[2026-08-10 16:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4f9c78012d18cac00720af000035011a28..."} 
[2026-08-10 16:25:51] local.INFO: Processing buffer {"connection_id":152009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4f9c78012d18cac00720af000035011a28..."} 
[2026-08-10 16:25:51] local.INFO: Packet analysis {"connection_id":152009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:25:51] local.INFO: Extracted packet for processing {"connection_id":152009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756599488,"raw_latitude":119582464,"longitude_deg":75.6599488,"latitude_deg":11.9582464,"altitude":53,"angle":282,"satellites":40,"speed":7,"hex_longitude":"2d18cac0","hex_latitude":"0720af00","is_valid_coordinates":true} 
[2026-08-10 16:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307977984001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11492061173776384,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786873551516520448,"note":"Value kept but may cause issues"} 
[2026-08-10 16:25: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-08-10 16:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786359291000,"timestamp_ms":1786359291000,"timestamp_seconds":1786359291,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4f9c78"} 
[2026-08-10 16:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 16:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307977984001,"66":14070,"121":206,"28":31744,"24":7,"16":11492061173776384,"45":1786873551516520448},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307977984001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:25:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:25:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11492061173776384,"km_value":11492061173776.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786873551516520448,"description":"Unknown IO ID 45"} 
[2026-08-10 16:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307977984001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1786873551516520448}} 
[2026-08-10 16:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":152009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:25:51] local.INFO: GPS data processed {"connection_id":152009,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:25:51] local.INFO: Acknowledgment sent {"connection_id":152009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:26:03] local.INFO: TCP Data received {"connection_id":152932,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:26:03] local.INFO: Processing buffer {"connection_id":152932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:26:03] local.INFO: IMEI packet received {"connection_id":152932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":152932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:26:07] local.INFO: TCP Data received {"connection_id":152933,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:26:07] local.INFO: Processing buffer {"connection_id":152933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:26:07] local.INFO: IMEI packet received {"connection_id":152933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":152933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:26:08] local.INFO: TCP Data received {"connection_id":152932,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:26:08] local.INFO: Processing buffer {"connection_id":152932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:26:08] local.INFO: IMEI packet received {"connection_id":152932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":152932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:26:09] local.INFO: TCP Data received {"connection_id":152932,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:26:09] local.INFO: Processing buffer {"connection_id":152932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:26:09] local.INFO: Packet analysis {"connection_id":152932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:26:09] local.INFO: Extracted packet for processing {"connection_id":152932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307905280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786359306000,"timestamp_ms":1786359306000,"timestamp_seconds":1786359306,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4fd710"} 
[2026-08-10 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-08-10 16:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307905280001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307905280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:26:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307905280001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":152932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:26:09] local.INFO: GPS data processed {"connection_id":152932,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:26:09] local.INFO: Acknowledgment sent {"connection_id":152932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:26:10] local.INFO: TCP Data received {"connection_id":152933,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:26:10] local.INFO: Processing buffer {"connection_id":152933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:26:10] local.INFO: IMEI packet received {"connection_id":152933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":152933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:26:11] local.INFO: TCP Data received {"connection_id":152933,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb506798012d7c1cc005e4e090000900d421..."} 
[2026-08-10 16:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb506798012d7c1cc005e4e090000900d421..."} 
[2026-08-10 16:26:11] local.INFO: Processing buffer {"connection_id":152933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb506798012d7c1cc005e4e090000900d421..."} 
[2026-08-10 16:26:11] local.INFO: Packet analysis {"connection_id":152933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb50"} 
[2026-08-10 16:26:11] local.INFO: Extracted packet for processing {"connection_id":152933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb50"} 
[2026-08-10 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763108544,"raw_latitude":98885776,"longitude_deg":76.3108544,"latitude_deg":9.8885776,"altitude":9,"angle":212,"satellites":33,"speed":46,"hex_longitude":"2d7c1cc0","hex_latitude":"05e4e090","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307989760001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117271200094224384,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948511747413594112,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786359343000,"timestamp_ms":1786359343000,"timestamp_seconds":1786359343,"priority":1,"record_length":96,"hex_timestamp":"0000019feb506798"} 
[2026-08-10 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-08-10 16:26: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-08-10 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 16:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307989760001,"66":13319,"39":206,"87":13824,"24":46,"16":117271200094224384,"45":8948511747413594112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 16:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307989760001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:26:11] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 16:26:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 16:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117271200094224384,"km_value":117271200094224.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948511747413594112,"description":"Unknown IO ID 45"} 
[2026-08-10 16:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307989760001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8948511747413594112}} 
[2026-08-10 16:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":152933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:26:11] local.INFO: GPS data processed {"connection_id":152933,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:26:11] local.INFO: Acknowledgment sent {"connection_id":152933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:26:15] local.INFO: TCP Data received {"connection_id":152932,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:26:15] local.INFO: Processing buffer {"connection_id":152932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:26:15] local.INFO: Packet analysis {"connection_id":152932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:26:15] local.INFO: Extracted packet for processing {"connection_id":152932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307905280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786359306000,"timestamp_ms":1786359306000,"timestamp_seconds":1786359306,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4fd710"} 
[2026-08-10 16:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307905280001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307905280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:26:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307905280001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":152932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:26:15] local.INFO: GPS data processed {"connection_id":152932,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:26:15] local.INFO: Acknowledgment sent {"connection_id":152932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:26:22] local.INFO: TCP Data received {"connection_id":152009,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4fa448012d18c9000720aee0003500ff28..."} 
[2026-08-10 16:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4fa448012d18c9000720aee0003500ff28..."} 
[2026-08-10 16:26:22] local.INFO: Processing buffer {"connection_id":152009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4fa448012d18c9000720aee0003500ff28..."} 
[2026-08-10 16:26:22] local.INFO: Packet analysis {"connection_id":152009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:26:22] local.INFO: Extracted packet for processing {"connection_id":152009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756599040,"raw_latitude":119582432,"longitude_deg":75.659904,"latitude_deg":11.9582432,"altitude":53,"angle":255,"satellites":40,"speed":7,"hex_longitude":"2d18c900","hex_latitude":"0720aee0","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307978496001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11492082648612864,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786451339051466752,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786359293000,"timestamp_ms":1786359293000,"timestamp_seconds":1786359293,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4fa448"} 
[2026-08-10 16:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 16:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307978496001,"66":13820,"121":206,"28":31744,"24":7,"16":11492082648612864,"45":1786451339051466752},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307978496001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:26:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:26:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11492082648612864,"km_value":11492082648612.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786451339051466752,"description":"Unknown IO ID 45"} 
[2026-08-10 16:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307978496001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1786451339051466752}} 
[2026-08-10 16:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":152009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:26:22] local.INFO: GPS data processed {"connection_id":152009,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:26:22] local.INFO: Acknowledgment sent {"connection_id":152009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:26:42] local.INFO: TCP Data received {"connection_id":152010,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:26:42] local.INFO: Processing buffer {"connection_id":152010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:26:42] local.INFO: IMEI packet received {"connection_id":152010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":152010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:26:49] local.INFO: TCP Data received {"connection_id":152010,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:26:49] local.INFO: Processing buffer {"connection_id":152010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:26:49] local.INFO: IMEI packet received {"connection_id":152010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":152010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:26:51] local.INFO: TCP Data received {"connection_id":152010,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb506798012d18bc8007208e480027009125..."} 
[2026-08-10 16:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb506798012d18bc8007208e480027009125..."} 
[2026-08-10 16:26:51] local.INFO: Processing buffer {"connection_id":152010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb506798012d18bc8007208e480027009125..."} 
[2026-08-10 16:26:51] local.INFO: Packet analysis {"connection_id":152010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb50"} 
[2026-08-10 16:26:51] local.INFO: Extracted packet for processing {"connection_id":152010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb50"} 
[2026-08-10 16:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756595840,"raw_latitude":119574088,"longitude_deg":75.659584,"latitude_deg":11.9574088,"altitude":39,"angle":145,"satellites":37,"speed":5,"hex_longitude":"2d18bc80","hex_latitude":"07208e48","is_valid_coordinates":true} 
[2026-08-10 16:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307988480001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11492567979917312,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918064259139584,"note":"Value kept but may cause issues"} 
[2026-08-10 16:26: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-08-10 16:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786359343000,"timestamp_ms":1786359343000,"timestamp_seconds":1786359343,"priority":1,"record_length":96,"hex_timestamp":"0000019feb506798"} 
[2026-08-10 16:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:26: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-08-10 16:26: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-08-10 16:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307988480001,"66":14396,"121":206,"28":31744,"24":5,"16":11492567979917312,"45":1783918064259139584},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307988480001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:26:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:26:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11492567979917312,"km_value":11492567979917.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918064259139584,"description":"Unknown IO ID 45"} 
[2026-08-10 16:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307988480001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1783918064259139584}} 
[2026-08-10 16:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":152010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:26:51] local.INFO: GPS data processed {"connection_id":152010,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:26:51] local.INFO: Acknowledgment sent {"connection_id":152010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:26:59] local.INFO: TCP Data received {"connection_id":152934,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:26:59] local.INFO: Processing buffer {"connection_id":152934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:26:59] local.INFO: IMEI packet received {"connection_id":152934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":152934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:27:02] local.INFO: TCP Data received {"connection_id":151622,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:27:02] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:27:02] local.INFO: IMEI packet received {"connection_id":151622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":151622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:27:03] local.INFO: TCP Data received {"connection_id":152934,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:27:03] local.INFO: Processing buffer {"connection_id":152934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:27:03] local.INFO: IMEI packet received {"connection_id":152934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":152934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:27:05] local.INFO: TCP Data received {"connection_id":151622,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:27:05] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:27:05] local.INFO: IMEI packet received {"connection_id":151622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":151622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:27:05] local.INFO: TCP Data received {"connection_id":152934,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:27:05] local.INFO: Processing buffer {"connection_id":152934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:27:05] local.INFO: Packet analysis {"connection_id":152934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:27:05] local.INFO: Extracted packet for processing {"connection_id":152934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307905280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786359306000,"timestamp_ms":1786359306000,"timestamp_seconds":1786359306,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4fd710"} 
[2026-08-10 16:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:27: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-08-10 16:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307905280001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307905280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:27:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307905280001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":152934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:27:05] local.INFO: GPS data processed {"connection_id":152934,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:27:05] local.INFO: Acknowledgment sent {"connection_id":152934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:27:06] local.INFO: TCP Data received {"connection_id":151622,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb513e70012d7b8e0005e405e0000900d526..."} 
[2026-08-10 16:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb513e70012d7b8e0005e405e0000900d526..."} 
[2026-08-10 16:27:06] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb513e70012d7b8e0005e405e0000900d526..."} 
[2026-08-10 16:27:06] local.INFO: Packet analysis {"connection_id":151622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:27:06] local.INFO: Extracted packet for processing {"connection_id":151622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763072000,"raw_latitude":98829792,"longitude_deg":76.3072,"latitude_deg":9.8829792,"altitude":9,"angle":213,"satellites":38,"speed":52,"hex_longitude":"2d7b8e00","hex_latitude":"05e405e0","is_valid_coordinates":true} 
[2026-08-10 16:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308004096001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117274425614663680,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908542300706312192,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786359398000,"timestamp_ms":1786359398000,"timestamp_seconds":1786359398,"priority":1,"record_length":96,"hex_timestamp":"0000019feb513e70"} 
[2026-08-10 16:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-10 16:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:27: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-08-10 16:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308004096001,"66":12863,"95":206,"85":15104,"24":52,"16":117274425614663680,"45":8908542300706312192},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-10 16:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308004096001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:27:06] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117274425614663680,"km_value":117274425614663.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908542300706312192,"description":"Unknown IO ID 45"} 
[2026-08-10 16:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308004096001,"power":12863,"unknown_95":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8908542300706312192}} 
[2026-08-10 16:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":151622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:27:07] local.INFO: GPS data processed {"connection_id":151622,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:27:07] local.INFO: Acknowledgment sent {"connection_id":151622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:27:07] local.INFO: TCP Data received {"connection_id":151622,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5159c8012d7b7a0005e3e778000800d425..."} 
[2026-08-10 16:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5159c8012d7b7a0005e3e778000800d425..."} 
[2026-08-10 16:27:07] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5159c8012d7b7a0005e3e778000800d425..."} 
[2026-08-10 16:27:07] local.INFO: Packet analysis {"connection_id":151622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:27:07] local.INFO: Extracted packet for processing {"connection_id":151622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763066880,"raw_latitude":98822008,"longitude_deg":76.306688,"latitude_deg":9.8822008,"altitude":8,"angle":212,"satellites":37,"speed":52,"hex_longitude":"2d7b7a00","hex_latitude":"05e3e778","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308005888001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117274876586229760,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903053538658476032,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786359405000,"timestamp_ms":1786359405000,"timestamp_seconds":1786359405,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5159c8"} 
[2026-08-10 16:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":63,"data_length":795,"current_offset":136} 
[2026-08-10 16:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308005888001,"66":12841,"95":206,"85":15104,"24":52,"16":117274876586229760,"45":8903053538658476032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-10 16:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308005888001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:27:07] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117274876586229760,"km_value":117274876586229.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903053538658476032,"description":"Unknown IO ID 45"} 
[2026-08-10 16:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308005888001,"power":12841,"unknown_95":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8903053538658476032}} 
[2026-08-10 16:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":151622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:27:07] local.INFO: GPS data processed {"connection_id":151622,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:27:07] local.INFO: Acknowledgment sent {"connection_id":151622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:27:22] local.INFO: TCP Data received {"connection_id":152010,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb507b20012d18be0007208ac8002600a123..."} 
[2026-08-10 16:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb507b20012d18be0007208ac8002600a123..."} 
[2026-08-10 16:27:22] local.INFO: Processing buffer {"connection_id":152010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb507b20012d18be0007208ac8002600a123..."} 
[2026-08-10 16:27:22] local.INFO: Packet analysis {"connection_id":152010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb50"} 
[2026-08-10 16:27:22] local.INFO: Extracted packet for processing {"connection_id":152010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb50"} 
[2026-08-10 16:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756596224,"raw_latitude":119573192,"longitude_deg":75.6596224,"latitude_deg":11.9573192,"altitude":38,"angle":161,"satellites":35,"speed":7,"hex_longitude":"2d18be00","hex_latitude":"07208ac8","is_valid_coordinates":true} 
[2026-08-10 16:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307991808001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11492619519524864,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782440320631195648,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786359348000,"timestamp_ms":1786359348000,"timestamp_seconds":1786359348,"priority":1,"record_length":96,"hex_timestamp":"0000019feb507b20"} 
[2026-08-10 16:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 16:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307991808001,"66":14407,"121":206,"28":31744,"24":7,"16":11492619519524864,"45":1782440320631195648},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307991808001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:27:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:27:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11492619519524864,"km_value":11492619519524.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782440320631195648,"description":"Unknown IO ID 45"} 
[2026-08-10 16:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307991808001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1782440320631195648}} 
[2026-08-10 16:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":152010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:27:22] local.INFO: GPS data processed {"connection_id":152010,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:27:22] local.INFO: Acknowledgment sent {"connection_id":152010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:27:37] local.INFO: TCP Data received {"connection_id":152934,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:27:37] local.INFO: Processing buffer {"connection_id":152934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:27:37] local.INFO: Packet analysis {"connection_id":152934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:27:37] local.INFO: Extracted packet for processing {"connection_id":152934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307905280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786359306000,"timestamp_ms":1786359306000,"timestamp_seconds":1786359306,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4fd710"} 
[2026-08-10 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-08-10 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307905280001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307905280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:27:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307905280001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":152934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:27:37] local.INFO: GPS data processed {"connection_id":152934,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:27:37] local.INFO: Acknowledgment sent {"connection_id":152934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:27:38] local.INFO: TCP Data received {"connection_id":151622,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb517908012d7b654005e3c8a0000700d525..."} 
[2026-08-10 16:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb517908012d7b654005e3c8a0000700d525..."} 
[2026-08-10 16:27:38] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb517908012d7b654005e3c8a0000700d525..."} 
[2026-08-10 16:27:38] local.INFO: Packet analysis {"connection_id":151622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:27:38] local.INFO: Extracted packet for processing {"connection_id":151622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763061568,"raw_latitude":98814112,"longitude_deg":76.3061568,"latitude_deg":9.8814112,"altitude":7,"angle":213,"satellites":37,"speed":39,"hex_longitude":"2d7b6540","hex_latitude":"05e3c8a0","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308007680001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117275331852763136,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897424039122270208,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786359413000,"timestamp_ms":1786359413000,"timestamp_seconds":1786359413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb517908"} 
[2026-08-10 16:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:27: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-08-10 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 16:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:27: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-08-10 16:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308007680001,"66":13319,"95":206,"85":15104,"24":39,"16":117275331852763136,"45":8897424039122270208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-10 16:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308007680001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:27:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117275331852763136,"km_value":117275331852763.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897424039122270208,"description":"Unknown IO ID 45"} 
[2026-08-10 16:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308007680001,"power":13319,"unknown_95":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8897424039122270208}} 
[2026-08-10 16:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":151622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:27:38] local.INFO: GPS data processed {"connection_id":151622,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:27:38] local.INFO: Acknowledgment sent {"connection_id":151622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:27:47] local.INFO: TCP Data received {"connection_id":154387,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:27:47] local.INFO: Processing buffer {"connection_id":154387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:27:47] local.INFO: IMEI packet received {"connection_id":154387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":154387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:27:52] local.INFO: TCP Data received {"connection_id":154387,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:27:52] local.INFO: Processing buffer {"connection_id":154387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:27:52] local.INFO: IMEI packet received {"connection_id":154387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":154387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:27:53] local.INFO: TCP Data received {"connection_id":154387,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb518c90012d18db4007205b100027008125..."} 
[2026-08-10 16:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb518c90012d18db4007205b100027008125..."} 
[2026-08-10 16:27:53] local.INFO: Processing buffer {"connection_id":154387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb518c90012d18db4007205b100027008125..."} 
[2026-08-10 16:27:53] local.INFO: Packet analysis {"connection_id":154387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:27:53] local.INFO: Extracted packet for processing {"connection_id":154387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756603712,"raw_latitude":119560976,"longitude_deg":75.6603712,"latitude_deg":11.9560976,"altitude":39,"angle":129,"satellites":37,"speed":10,"hex_longitude":"2d18db40","hex_latitude":"07205b10","is_valid_coordinates":true} 
[2026-08-10 16:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308010496001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11493349663965184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790603094952521728,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786359418000,"timestamp_ms":1786359418000,"timestamp_seconds":1786359418,"priority":1,"record_length":96,"hex_timestamp":"0000019feb518c90"} 
[2026-08-10 16:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 16:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308010496001,"66":14483,"121":206,"28":31744,"24":10,"16":11493349663965184,"45":1790603094952521728},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308010496001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:27:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:27:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11493349663965184,"km_value":11493349663965.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790603094952521728,"description":"Unknown IO ID 45"} 
[2026-08-10 16:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308010496001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1790603094952521728}} 
[2026-08-10 16:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":154387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:27:53] local.INFO: GPS data processed {"connection_id":154387,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:27:53] local.INFO: Acknowledgment sent {"connection_id":154387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:27:58] local.INFO: TCP Data received {"connection_id":154387,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb519460012d18dc80072059800027009b25..."} 
[2026-08-10 16:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb519460012d18dc80072059800027009b25..."} 
[2026-08-10 16:27:58] local.INFO: Processing buffer {"connection_id":154387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb519460012d18dc80072059800027009b25..."} 
[2026-08-10 16:27:58] local.INFO: Packet analysis {"connection_id":154387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:27:58] local.INFO: Extracted packet for processing {"connection_id":154387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119560576,"longitude_deg":75.6604032,"latitude_deg":11.9560576,"altitude":39,"angle":155,"satellites":37,"speed":9,"hex_longitude":"2d18dc80","hex_latitude":"07205980","is_valid_coordinates":true} 
[2026-08-10 16:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308011008001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11493375433768960,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791095676161691648,"note":"Value kept but may cause issues"} 
[2026-08-10 16:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786359420000,"timestamp_ms":1786359420000,"timestamp_seconds":1786359420,"priority":1,"record_length":96,"hex_timestamp":"0000019feb519460"} 
[2026-08-10 16:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-10 16:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308011008001,"66":14407,"121":206,"28":31744,"24":9,"16":11493375433768960,"45":1791095676161691648},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308011008001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:27:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:27:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11493375433768960,"km_value":11493375433768.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791095676161691648,"description":"Unknown IO ID 45"} 
[2026-08-10 16:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308011008001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1791095676161691648}} 
[2026-08-10 16:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":154387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:27:58] local.INFO: GPS data processed {"connection_id":154387,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:27:58] local.INFO: Acknowledgment sent {"connection_id":154387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:27:58] local.INFO: TCP Data received {"connection_id":154388,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:27:58] local.INFO: Processing buffer {"connection_id":154388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:27:58] local.INFO: IMEI packet received {"connection_id":154388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":154388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:28:03] local.INFO: TCP Data received {"connection_id":154388,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:28:03] local.INFO: Processing buffer {"connection_id":154388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:28:03] local.INFO: IMEI packet received {"connection_id":154388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":154388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:28:07] local.INFO: TCP Data received {"connection_id":152935,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:28:07] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:28:07] local.INFO: IMEI packet received {"connection_id":152935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":152935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:28:08] local.INFO: TCP Data received {"connection_id":154388,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:28:08] local.INFO: Processing buffer {"connection_id":154388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:28:08] local.INFO: Packet analysis {"connection_id":154388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:28:08] local.INFO: Extracted packet for processing {"connection_id":154388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307905280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786359306000,"timestamp_ms":1786359306000,"timestamp_seconds":1786359306,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4fd710"} 
[2026-08-10 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-08-10 16:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307905280001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307905280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:28:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307905280001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":154388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:28:08] local.INFO: GPS data processed {"connection_id":154388,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:28:08] local.INFO: Acknowledgment sent {"connection_id":154388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:28:10] local.INFO: TCP Data received {"connection_id":152935,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:28:10] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:28:10] local.INFO: IMEI packet received {"connection_id":152935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":152935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:28:11] local.INFO: TCP Data received {"connection_id":152935,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb51a018012d7b4f8005e3ab58000500d726..."} 
[2026-08-10 16:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb51a018012d7b4f8005e3ab58000500d726..."} 
[2026-08-10 16:28:11] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb51a018012d7b4f8005e3ab58000500d726..."} 
[2026-08-10 16:28:11] local.INFO: Packet analysis {"connection_id":152935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:28:11] local.INFO: Extracted packet for processing {"connection_id":152935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98806616,"longitude_deg":76.3056,"latitude_deg":9.8806616,"altitude":5,"angle":215,"satellites":38,"speed":37,"hex_longitude":"2d7b4f80","hex_latitude":"05e3ab58","is_valid_coordinates":true} 
[2026-08-10 16:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308009728001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117275782824329216,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891583433353502720,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786359423000,"timestamp_ms":1786359423000,"timestamp_seconds":1786359423,"priority":1,"record_length":96,"hex_timestamp":"0000019feb51a018"} 
[2026-08-10 16:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3947940160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3833802752,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":228,"raw_value":-6744140403318709248,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2885733720,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2147560827,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3221611618,"corrected_to":0} 
[2026-08-10 16:28:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":721109,"corrected_to":0} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2738421760,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":242,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.WARNING: Large IO value detected {"io_id":80,"raw_value":-6196951792397008891,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:11] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,95,85,24,241,157,16,165,159,89,45,231,8,37,10,66,164,62,5,9,38,35,128,1,240,111,227,235,228,4,113,205,87,50,232,202,200,36,239,39,2,160,47,242,80],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0},{"io_id":202,"original":3221611618,"validated":0},{"io_id":200,"original":721109,"validated":0}]} 
[2026-08-10 16:28:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504637513158557696,"timestamp_seconds":504637513158557.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 16:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:28: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-08-10 16:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308009728001,"66":12972,"95":206,"85":15104,"24":37,"16":117275782824329216,"45":8891583433353502720},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-10 16:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308009728001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:28:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117275782824329216,"km_value":117275782824329.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891583433353502720,"description":"Unknown IO ID 45"} 
[2026-08-10 16:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308009728001,"power":12972,"unknown_95":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8891583433353502720}} 
[2026-08-10 16:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":152935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:28:11] local.INFO: GPS data processed {"connection_id":152935,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:28:11] local.INFO: Acknowledgment sent {"connection_id":152935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:28:37] local.INFO: TCP Data received {"connection_id":152011,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152011,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:28:37] local.INFO: Processing buffer {"connection_id":152011,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:28:37] local.INFO: IMEI packet received {"connection_id":152011,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":152011,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:28:38] local.INFO: TCP Data received {"connection_id":151624,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:28:38] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:28:38] local.INFO: IMEI packet received {"connection_id":151624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":151624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:28:38] local.INFO: TCP Data received {"connection_id":152011,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb52c510012d0dcf000706d2900020000c17..."} 
[2026-08-10 16:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb52c510012d0dcf000706d2900020000c17..."} 
[2026-08-10 16:28:38] local.INFO: Processing buffer {"connection_id":152011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb52c510012d0dcf000706d2900020000c17..."} 
[2026-08-10 16:28:38] local.INFO: Packet analysis {"connection_id":152011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb52"} 
[2026-08-10 16:28:38] local.INFO: Extracted packet for processing {"connection_id":152011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb52"} 
[2026-08-10 16:28:38] local.INFO: GPS Element Parsed {"raw_longitude":755879680,"raw_latitude":117887632,"longitude_deg":75.587968,"latitude_deg":11.7887632,"altitude":32,"angle":12,"satellites":23,"speed":26,"hex_longitude":"2d0dcf00","hex_latitude":"0706d290","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308031232001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27463657273163776,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994732597874507776,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786359498000,"timestamp_ms":1786359498000,"timestamp_seconds":1786359498,"priority":1,"record_length":96,"hex_timestamp":"0000019feb52c510"} 
[2026-08-10 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-08-10 16:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152011,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152011,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308031232001,"66":13798,"219":206,"94":10240,"24":26,"16":27463657273163776,"45":994732597874507776},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308031232001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:28:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:28:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27463657273163776,"km_value":27463657273163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":994732597874507776,"description":"Unknown IO ID 45"} 
[2026-08-10 16:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308031232001,"power":13798,"unknown_219":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":994732597874507776}} 
[2026-08-10 16:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":152011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620697,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:28:38] local.INFO: GPS data processed {"connection_id":152011,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:28:38] local.INFO: Acknowledgment sent {"connection_id":152011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:28:39] local.INFO: TCP Data received {"connection_id":154388,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:28:39] local.INFO: Processing buffer {"connection_id":154388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:28:39] local.INFO: Packet analysis {"connection_id":154388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:28:39] local.INFO: Extracted packet for processing {"connection_id":154388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307905280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786359306000,"timestamp_ms":1786359306000,"timestamp_seconds":1786359306,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4fd710"} 
[2026-08-10 16:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307905280001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307905280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:28:39] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:28:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307905280001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":154388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:28:39] local.INFO: GPS data processed {"connection_id":154388,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:28:39] local.INFO: Acknowledgment sent {"connection_id":154388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:28:42] local.INFO: TCP Data received {"connection_id":152935,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb52d4b0012d7b058005e342f80001015015..."} 
[2026-08-10 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb52d4b0012d7b058005e342f80001015015..."} 
[2026-08-10 16:28:42] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb52d4b0012d7b058005e342f80001015015..."} 
[2026-08-10 16:28:42] local.INFO: Packet analysis {"connection_id":152935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb52"} 
[2026-08-10 16:28:42] local.INFO: Extracted packet for processing {"connection_id":152935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb52"} 
[2026-08-10 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":98779896,"longitude_deg":76.3037056,"latitude_deg":9.8779896,"altitude":1,"angle":336,"satellites":21,"speed":12,"hex_longitude":"2d7b0580","hex_latitude":"05e342f8","is_valid_coordinates":true} 
[2026-08-10 16:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308030208001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117277917423075328,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941811906560,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786359502000,"timestamp_ms":1786359502000,"timestamp_seconds":1786359502,"priority":1,"record_length":96,"hex_timestamp":"0000019feb52d4b0"} 
[2026-08-10 16:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 16:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:28: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-08-10 16:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308030208001,"66":12982,"95":206,"85":15104,"24":12,"16":117277917423075328,"45":8864772941811906560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-10 16:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308030208001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:28:42] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117277917423075328,"km_value":117277917423075.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941811906560,"description":"Unknown IO ID 45"} 
[2026-08-10 16:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308030208001,"power":12982,"unknown_95":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8864772941811906560}} 
[2026-08-10 16:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":152935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:28:42] local.INFO: GPS data processed {"connection_id":152935,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:28:42] local.INFO: Acknowledgment sent {"connection_id":152935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:28:42] local.INFO: TCP Data received {"connection_id":151624,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:28:42] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:28:42] local.INFO: IMEI packet received {"connection_id":151624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":151624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:28:47] local.INFO: TCP Data received {"connection_id":151624,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:28:47] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:28:47] local.INFO: IMEI packet received {"connection_id":151624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":151624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:28:48] local.INFO: TCP Data received {"connection_id":151624,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb519848012d18dcc0072058b8002700a725..."} 
[2026-08-10 16:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb519848012d18dcc0072058b8002700a725..."} 
[2026-08-10 16:28:48] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb519848012d18dcc0072058b8002700a725..."} 
[2026-08-10 16:28:48] local.INFO: Packet analysis {"connection_id":151624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:28:48] local.INFO: Extracted packet for processing {"connection_id":151624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:28:48] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119560376,"longitude_deg":75.6604096,"latitude_deg":11.9560376,"altitude":39,"angle":167,"satellites":37,"speed":7,"hex_longitude":"2d18dcc0","hex_latitude":"072058b8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308011520001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11493388318670848,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519882477568,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786359421000,"timestamp_ms":1786359421000,"timestamp_seconds":1786359421,"priority":1,"record_length":96,"hex_timestamp":"0000019feb519848"} 
[2026-08-10 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-08-10 16:28: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-08-10 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 16:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 16:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308011520001,"66":14363,"121":206,"28":31744,"24":7,"16":11493388318670848,"45":1791447519882477568},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308011520001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:28:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:28:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11493388318670848,"km_value":11493388318670.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519882477568,"description":"Unknown IO ID 45"} 
[2026-08-10 16:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308011520001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1791447519882477568}} 
[2026-08-10 16:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":151624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:28:48] local.INFO: GPS data processed {"connection_id":151624,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:28:48] local.INFO: Acknowledgment sent {"connection_id":151624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:28:53] local.INFO: TCP Data received {"connection_id":151624,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb51a400012d18dd0007205648002800b425..."} 
[2026-08-10 16:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb51a400012d18dd0007205648002800b425..."} 
[2026-08-10 16:28:53] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb51a400012d18dd0007205648002800b425..."} 
[2026-08-10 16:28:53] local.INFO: Packet analysis {"connection_id":151624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:28:53] local.INFO: Extracted packet for processing {"connection_id":151624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:28:53] local.INFO: GPS Element Parsed {"raw_longitude":756604160,"raw_latitude":119559752,"longitude_deg":75.660416,"latitude_deg":11.9559752,"altitude":40,"angle":180,"satellites":37,"speed":9,"hex_longitude":"2d18dd00","hex_latitude":"07205648","is_valid_coordinates":true} 
[2026-08-10 16:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308011776001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11493418383441920,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888626604032,"note":"Value kept but may cause issues"} 
[2026-08-10 16:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786359424000,"timestamp_ms":1786359424000,"timestamp_seconds":1786359424,"priority":1,"record_length":96,"hex_timestamp":"0000019feb51a400"} 
[2026-08-10 16:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 16:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308011776001,"66":14374,"121":206,"28":31744,"24":9,"16":11493418383441920,"45":1791517888626604032},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308011776001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:28:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:28:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11493418383441920,"km_value":11493418383441.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888626604032,"description":"Unknown IO ID 45"} 
[2026-08-10 16:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308011776001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1791517888626604032}} 
[2026-08-10 16:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":151624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:28:53] local.INFO: GPS data processed {"connection_id":151624,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:28:53] local.INFO: Acknowledgment sent {"connection_id":151624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:28:58] local.INFO: TCP Data received {"connection_id":154389,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:28:58] local.INFO: Processing buffer {"connection_id":154389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:28:58] local.INFO: IMEI packet received {"connection_id":154389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":154389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:29:06] local.INFO: TCP Data received {"connection_id":154389,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:29:06] local.INFO: Processing buffer {"connection_id":154389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:29:06] local.INFO: IMEI packet received {"connection_id":154389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":154389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:29:07] local.INFO: TCP Data received {"connection_id":152936,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:29:07] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:29:07] local.INFO: IMEI packet received {"connection_id":152936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":152936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:29:07] local.INFO: TCP Data received {"connection_id":154389,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:29:07] local.INFO: Processing buffer {"connection_id":154389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:29:07] local.INFO: Packet analysis {"connection_id":154389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:29:07] local.INFO: Extracted packet for processing {"connection_id":154389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:29:07] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307905280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786359306000,"timestamp_ms":1786359306000,"timestamp_seconds":1786359306,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4fd710"} 
[2026-08-10 16:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:29: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-08-10 16:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307905280001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307905280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:29:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:29:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307905280001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":154389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:29:07] local.INFO: GPS data processed {"connection_id":154389,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:29:07] local.INFO: Acknowledgment sent {"connection_id":154389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:29:07] local.INFO: TCP Data received {"connection_id":152936,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:29:07] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:29:07] local.INFO: IMEI packet received {"connection_id":152936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":152936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:29:09] local.INFO: TCP Data received {"connection_id":152011,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb52cce0012d0dcf800706d7c00020016717..."} 
[2026-08-10 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb52cce0012d0dcf800706d7c00020016717..."} 
[2026-08-10 16:29:09] local.INFO: Processing buffer {"connection_id":152011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb52cce0012d0dcf800706d7c00020016717..."} 
[2026-08-10 16:29:09] local.INFO: Packet analysis {"connection_id":152011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb52"} 
[2026-08-10 16:29:09] local.INFO: Extracted packet for processing {"connection_id":152011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb52"} 
[2026-08-10 16:29:09] local.INFO: GPS Element Parsed {"raw_longitude":755879808,"raw_latitude":117888960,"longitude_deg":75.5879808,"latitude_deg":11.788896,"altitude":32,"angle":359,"satellites":23,"speed":24,"hex_longitude":"2d0dcf80","hex_latitude":"0706d7c0","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308031488001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27463721697673216,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995014072851402752,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786359500000,"timestamp_ms":1786359500000,"timestamp_seconds":1786359500,"priority":1,"record_length":96,"hex_timestamp":"0000019feb52cce0"} 
[2026-08-10 16:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-10 16:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152011,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152011,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308031488001,"66":14396,"219":206,"94":10240,"24":24,"16":27463721697673216,"45":995014072851402752},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308031488001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:29:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:29:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27463721697673216,"km_value":27463721697673.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":995014072851402752,"description":"Unknown IO ID 45"} 
[2026-08-10 16:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308031488001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":995014072851402752}} 
[2026-08-10 16:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":152011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620703,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:29:09] local.INFO: GPS data processed {"connection_id":152011,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:29:09] local.INFO: Acknowledgment sent {"connection_id":152011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:29:11] local.INFO: TCP Data received {"connection_id":152936,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:29:11] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:29:11] local.INFO: IMEI packet received {"connection_id":152936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":152936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:29:12] local.INFO: TCP Data received {"connection_id":152936,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb52e450012d7b038005e346a00001000618..."} 
[2026-08-10 16:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb52e450012d7b038005e346a00001000618..."} 
[2026-08-10 16:29:12] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb52e450012d7b038005e346a00001000618..."} 
[2026-08-10 16:29:12] local.INFO: Packet analysis {"connection_id":152936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb52"} 
[2026-08-10 16:29:12] local.INFO: Extracted packet for processing {"connection_id":152936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb52"} 
[2026-08-10 16:29:12] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98780832,"longitude_deg":76.3036544,"latitude_deg":9.8780832,"altitude":1,"angle":6,"satellites":24,"speed":6,"hex_longitude":"2d7b0380","hex_latitude":"05e346a0","is_valid_coordinates":true} 
[2026-08-10 16:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308032512001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117277968962682880,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204324698112,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786359506000,"timestamp_ms":1786359506000,"timestamp_seconds":1786359506,"priority":1,"record_length":96,"hex_timestamp":"0000019feb52e450"} 
[2026-08-10 16:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-10 16:29: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-08-10 16: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-08-10 16:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308032512001,"66":13080,"95":206,"85":15104,"24":6,"16":117277968962682880,"45":8864632204324698112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-10 16:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308032512001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:29:12] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117277968962682880,"km_value":117277968962682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204324698112,"description":"Unknown IO ID 45"} 
[2026-08-10 16:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308032512001,"power":13080,"unknown_95":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8864632204324698112}} 
[2026-08-10 16:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":152936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:29:12] local.INFO: GPS data processed {"connection_id":152936,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:29:12] local.INFO: Acknowledgment sent {"connection_id":152936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:29:25] local.INFO: TCP Data received {"connection_id":151624,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb51f608012d18dd8007203cd8002a00b426..."} 
[2026-08-10 16:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb51f608012d18dd8007203cd8002a00b426..."} 
[2026-08-10 16:29:25] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb51f608012d18dd8007203cd8002a00b426..."} 
[2026-08-10 16:29:25] local.INFO: Packet analysis {"connection_id":151624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:29:25] local.INFO: Extracted packet for processing {"connection_id":151624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb51"} 
[2026-08-10 16:29:25] local.INFO: GPS Element Parsed {"raw_longitude":756604288,"raw_latitude":119553240,"longitude_deg":75.6604288,"latitude_deg":11.955324,"altitude":42,"angle":180,"satellites":38,"speed":11,"hex_longitude":"2d18dd80","hex_latitude":"07203cd8","is_valid_coordinates":true} 
[2026-08-10 16:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308012544001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11493731916054528,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791588257370621952,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29: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-08-10 16:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786359445000,"timestamp_ms":1786359445000,"timestamp_seconds":1786359445,"priority":1,"record_length":96,"hex_timestamp":"0000019feb51f608"} 
[2026-08-10 16:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 16:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308012544001,"66":14461,"121":206,"28":31744,"24":11,"16":11493731916054528,"45":1791588257370621952},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308012544001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:29:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:29:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11493731916054528,"km_value":11493731916054.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791588257370621952,"description":"Unknown IO ID 45"} 
[2026-08-10 16:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308012544001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1791588257370621952}} 
[2026-08-10 16:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":151624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:29:25] local.INFO: GPS data processed {"connection_id":151624,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:29:25] local.INFO: Acknowledgment sent {"connection_id":151624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:29:33] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:29:33] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:29:33] local.INFO: IMEI packet received {"connection_id":151625,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":151625,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:29:34] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:29:34] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:29:34] local.INFO: IMEI packet received {"connection_id":151625,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":151625,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:29:37] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:29:37] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:29:37] local.INFO: IMEI packet received {"connection_id":151625,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":151625,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:29:38] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb538c48012d0e0840070705600027006116..."} 
[2026-08-10 16:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb538c48012d0e0840070705600027006116..."} 
[2026-08-10 16:29:38] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb538c48012d0e0840070705600027006116..."} 
[2026-08-10 16:29:38] local.INFO: Packet analysis {"connection_id":151625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb53"} 
[2026-08-10 16:29:38] local.INFO: Extracted packet for processing {"connection_id":151625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb53"} 
[2026-08-10 16:29:38] local.INFO: GPS Element Parsed {"raw_longitude":755894336,"raw_latitude":117900640,"longitude_deg":75.5894336,"latitude_deg":11.790064,"altitude":39,"angle":97,"satellites":22,"speed":17,"hex_longitude":"2d0e0840","hex_latitude":"07070560","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308043776001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27464898518712320,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010072984108822528,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786359549000,"timestamp_ms":1786359549000,"timestamp_seconds":1786359549,"priority":1,"record_length":96,"hex_timestamp":"0000019feb538c48"} 
[2026-08-10 16:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151625,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151625,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308043776001,"66":13820,"219":206,"94":10240,"24":17,"16":27464898518712320,"45":1010072984108822528},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308043776001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:29:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:29:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27464898518712320,"km_value":27464898518712.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010072984108822528,"description":"Unknown IO ID 45"} 
[2026-08-10 16:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308043776001,"power":13820,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":1010072984108822528}} 
[2026-08-10 16:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":151625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:29:38] local.INFO: GPS data processed {"connection_id":151625,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:29:38] local.INFO: Acknowledgment sent {"connection_id":151625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:29:40] local.INFO: TCP Data received {"connection_id":152012,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:29:40] local.INFO: Processing buffer {"connection_id":152012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:29:40] local.INFO: IMEI packet received {"connection_id":152012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":152012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:29:40] local.INFO: TCP Data received {"connection_id":154389,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:29:40] local.INFO: Processing buffer {"connection_id":154389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:29:40] local.INFO: Packet analysis {"connection_id":154389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:29:40] local.INFO: Extracted packet for processing {"connection_id":154389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307905280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786359306000,"timestamp_ms":1786359306000,"timestamp_seconds":1786359306,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4fd710"} 
[2026-08-10 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-08-10 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307905280001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307905280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:29:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:29:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307905280001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":154389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:29:40] local.INFO: GPS data processed {"connection_id":154389,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:29:40] local.INFO: Acknowledgment sent {"connection_id":154389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:29:41] local.INFO: TCP Data received {"connection_id":152012,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:29:41] local.INFO: Processing buffer {"connection_id":152012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:29:41] local.INFO: IMEI packet received {"connection_id":152012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":152012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:29:42] local.INFO: TCP Data received {"connection_id":152012,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:29:42] local.INFO: Processing buffer {"connection_id":152012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:29:42] local.INFO: IMEI packet received {"connection_id":152012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":152012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:29:42] local.INFO: TCP Data received {"connection_id":152012,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:29:42] local.INFO: Processing buffer {"connection_id":152012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:29:42] local.INFO: IMEI packet received {"connection_id":152012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":152012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:29:43] local.INFO: TCP Data received {"connection_id":152936,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb530f48012d7b040005e34a20000101631d..."} 
[2026-08-10 16:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb530f48012d7b040005e34a20000101631d..."} 
[2026-08-10 16:29:43] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb530f48012d7b040005e34a20000101631d..."} 
[2026-08-10 16:29:43] local.INFO: Packet analysis {"connection_id":152936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb53"} 
[2026-08-10 16:29:43] local.INFO: Extracted packet for processing {"connection_id":152936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb53"} 
[2026-08-10 16:29:43] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":98781728,"longitude_deg":76.3036672,"latitude_deg":9.8781728,"altitude":1,"angle":355,"satellites":29,"speed":11,"hex_longitude":"2d7b0400","hex_latitude":"05e34a20","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308033536001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117278020502290432,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371516416,"note":"Value kept but may cause issues"} 
[2026-08-10 16:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786359517000,"timestamp_ms":1786359517000,"timestamp_seconds":1786359517,"priority":1,"record_length":96,"hex_timestamp":"0000019feb530f48"} 
[2026-08-10 16:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":24,"data_length":795,"current_offset":136} 
[2026-08-10 16:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308033536001,"66":13048,"95":206,"85":15104,"24":11,"16":117278020502290432,"45":8864069254371516416},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-10 16:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308033536001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:29:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117278020502290432,"km_value":117278020502290.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371516416,"description":"Unknown IO ID 45"} 
[2026-08-10 16:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308033536001,"power":13048,"unknown_95":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8864069254371516416}} 
[2026-08-10 16:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":152936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:29:43] local.INFO: GPS data processed {"connection_id":152936,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:29:43] local.INFO: Acknowledgment sent {"connection_id":152936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:30:05] local.INFO: TCP Data received {"connection_id":152937,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:30:05] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:30:05] local.INFO: IMEI packet received {"connection_id":152937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":152937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:30:07] local.INFO: TCP Data received {"connection_id":152013,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:30:07] local.INFO: Processing buffer {"connection_id":152013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:30:07] local.INFO: IMEI packet received {"connection_id":152013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":152013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:30:09] local.INFO: TCP Data received {"connection_id":152937,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:30:09] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:30:09] local.INFO: IMEI packet received {"connection_id":152937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":152937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:30:09] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb53af70012d0e1e40070703880026005416..."} 
[2026-08-10 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb53af70012d0e1e40070703880026005416..."} 
[2026-08-10 16:30:09] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb53af70012d0e1e40070703880026005416..."} 
[2026-08-10 16:30:09] local.INFO: Packet analysis {"connection_id":151625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb53"} 
[2026-08-10 16:30:09] local.INFO: Extracted packet for processing {"connection_id":151625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb53"} 
[2026-08-10 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":755899968,"raw_latitude":117900168,"longitude_deg":75.5899968,"latitude_deg":11.7900168,"altitude":38,"angle":84,"satellites":22,"speed":27,"hex_longitude":"2d0e1e40","hex_latitude":"07070388","is_valid_coordinates":true} 
[2026-08-10 16:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308044544001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27465169101651968,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011128515271417856,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786359558000,"timestamp_ms":1786359558000,"timestamp_seconds":1786359558,"priority":1,"record_length":96,"hex_timestamp":"0000019feb53af70"} 
[2026-08-10 16:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-10 16:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151625,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151625,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308044544001,"66":14515,"219":206,"94":10240,"24":27,"16":27465169101651968,"45":1011128515271417856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308044544001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:30:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:30:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27465169101651968,"km_value":27465169101651.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011128515271417856,"description":"Unknown IO ID 45"} 
[2026-08-10 16:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308044544001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":1011128515271417856}} 
[2026-08-10 16:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":151625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:30:09] local.INFO: GPS data processed {"connection_id":151625,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:30:09] local.INFO: Acknowledgment sent {"connection_id":151625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:30:10] local.INFO: TCP Data received {"connection_id":152937,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:30:10] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:30:10] local.INFO: Packet analysis {"connection_id":152937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:30:10] local.INFO: Extracted packet for processing {"connection_id":152937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307905280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786359306000,"timestamp_ms":1786359306000,"timestamp_seconds":1786359306,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4fd710"} 
[2026-08-10 16:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:30: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-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:30: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-08-10 16:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307905280001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307905280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:30:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307905280001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":152937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:30:10] local.INFO: GPS data processed {"connection_id":152937,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:30:10] local.INFO: Acknowledgment sent {"connection_id":152937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:30:12] local.INFO: TCP Data received {"connection_id":152013,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:30:12] local.INFO: Processing buffer {"connection_id":152013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:30:12] local.INFO: IMEI packet received {"connection_id":152013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":152013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:30:14] local.INFO: TCP Data received {"connection_id":152937,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:30:14] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb4fd710012d342a4006abc280001b01021e..."} 
[2026-08-10 16:30:14] local.INFO: Packet analysis {"connection_id":152937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:30:14] local.INFO: Extracted packet for processing {"connection_id":152937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb4f"} 
[2026-08-10 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":30,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307905280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786359306000,"timestamp_ms":1786359306000,"timestamp_seconds":1786359306,"priority":1,"record_length":96,"hex_timestamp":"0000019feb4fd710"} 
[2026-08-10 16:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307905280001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307905280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:30:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307905280001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":152937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:30:14] local.INFO: GPS data processed {"connection_id":152937,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:30:14] local.INFO: Acknowledgment sent {"connection_id":152937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:30:16] local.INFO: TCP Data received {"connection_id":152013,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb532e88012d7affc005e35b600001015720..."} 
[2026-08-10 16:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb532e88012d7affc005e35b600001015720..."} 
[2026-08-10 16:30:16] local.INFO: Processing buffer {"connection_id":152013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb532e88012d7affc005e35b600001015720..."} 
[2026-08-10 16:30:16] local.INFO: Packet analysis {"connection_id":152013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb53"} 
[2026-08-10 16:30:16] local.INFO: Extracted packet for processing {"connection_id":152013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb53"} 
[2026-08-10 16:30:16] local.INFO: GPS Element Parsed {"raw_longitude":763035584,"raw_latitude":98786144,"longitude_deg":76.3035584,"latitude_deg":9.8786144,"altitude":1,"angle":343,"satellites":32,"speed":28,"hex_longitude":"2d7affc0","hex_latitude":"05e35b60","is_valid_coordinates":true} 
[2026-08-10 16:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308036352001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117278239545622528,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991860101120,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786359525000,"timestamp_ms":1786359525000,"timestamp_seconds":1786359525,"priority":1,"record_length":96,"hex_timestamp":"0000019feb532e88"} 
[2026-08-10 16:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-10 16:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308036352001,"66":13254,"95":206,"85":15104,"24":28,"16":117278239545622528,"45":8864209991860101120},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-10 16:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308036352001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:30:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117278239545622528,"km_value":117278239545622.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991860101120,"description":"Unknown IO ID 45"} 
[2026-08-10 16:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308036352001,"power":13254,"unknown_95":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8864209991860101120}} 
[2026-08-10 16:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":152013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:30:16] local.INFO: GPS data processed {"connection_id":152013,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:30:16] local.INFO: Acknowledgment sent {"connection_id":152013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:30:31] local.INFO: TCP Data received {"connection_id":152014,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152014,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:30:31] local.INFO: Processing buffer {"connection_id":152014,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:30:31] local.INFO: IMEI packet received {"connection_id":152014,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":152014,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:30:32] local.INFO: TCP Data received {"connection_id":152014,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152014,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:30:32] local.INFO: Processing buffer {"connection_id":152014,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:30:32] local.INFO: IMEI packet received {"connection_id":152014,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":152014,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:30:36] local.INFO: TCP Data received {"connection_id":152014,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152014,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:30:36] local.INFO: Processing buffer {"connection_id":152014,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:30:36] local.INFO: IMEI packet received {"connection_id":152014,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":152014,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:30:38] local.INFO: TCP Data received {"connection_id":152014,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152014,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:30:38] local.INFO: Processing buffer {"connection_id":152014,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:30:38] local.INFO: IMEI packet received {"connection_id":152014,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":152014,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:30:38] local.INFO: TCP Data received {"connection_id":152014,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5476a8012d0e3d000706f8f0002800b318..."} 
[2026-08-10 16:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5476a8012d0e3d000706f8f0002800b318..."} 
[2026-08-10 16:30:38] local.INFO: Processing buffer {"connection_id":152014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5476a8012d0e3d000706f8f0002800b318..."} 
[2026-08-10 16:30:38] local.INFO: Packet analysis {"connection_id":152014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:30:38] local.INFO: Extracted packet for processing {"connection_id":152014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:30:38] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117897456,"longitude_deg":75.590784,"latitude_deg":11.7897456,"altitude":40,"angle":179,"satellites":24,"speed":12,"hex_longitude":"2d0e3d00","hex_latitude":"0706f8f0","is_valid_coordinates":true} 
[2026-08-10 16:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059136001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27465714562498560,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026046689036494848,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786359609000,"timestamp_ms":1786359609000,"timestamp_seconds":1786359609,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5476a8"} 
[2026-08-10 16:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-10 16:30:38] 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-08-10 16:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152014,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152014,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059136001,"66":14428,"219":206,"94":10240,"24":12,"16":27465714562498560,"45":1026046689036494848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059136001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:30:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:30:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27465714562498560,"km_value":27465714562498.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026046689036494848,"description":"Unknown IO ID 45"} 
[2026-08-10 16:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059136001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1026046689036494848}} 
[2026-08-10 16:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":152014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:30:38] local.INFO: GPS data processed {"connection_id":152014,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:30:38] local.INFO: Acknowledgment sent {"connection_id":152014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:30:47] local.INFO: TCP Data received {"connection_id":152013,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb536538012d7af60005e37d400003015723..."} 
[2026-08-10 16:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb536538012d7af60005e37d400003015723..."} 
[2026-08-10 16:30:47] local.INFO: Processing buffer {"connection_id":152013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb536538012d7af60005e37d400003015723..."} 
[2026-08-10 16:30:47] local.INFO: Packet analysis {"connection_id":152013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb53"} 
[2026-08-10 16:30:47] local.INFO: Extracted packet for processing {"connection_id":152013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb53"} 
[2026-08-10 16:30:47] local.INFO: GPS Element Parsed {"raw_longitude":763033088,"raw_latitude":98794816,"longitude_deg":76.3033088,"latitude_deg":9.8794816,"altitude":3,"angle":343,"satellites":35,"speed":18,"hex_longitude":"2d7af600","hex_latitude":"05e37d40","is_valid_coordinates":true} 
[2026-08-10 16:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308038400001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117278677632286720,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863013723210211328,"note":"Value kept but may cause issues"} 
[2026-08-10 16:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786359539000,"timestamp_ms":1786359539000,"timestamp_seconds":1786359539,"priority":1,"record_length":96,"hex_timestamp":"0000019feb536538"} 
[2026-08-10 16:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 16:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:30: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-08-10 16:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308038400001,"66":12613,"95":206,"85":15104,"24":18,"16":117278677632286720,"45":8863013723210211328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-10 16:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308038400001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:30:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:30:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117278677632286720,"km_value":117278677632286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863013723210211328,"description":"Unknown IO ID 45"} 
[2026-08-10 16:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308038400001,"power":12613,"unknown_95":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8863013723210211328}} 
[2026-08-10 16:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":152013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:30:47] local.INFO: GPS data processed {"connection_id":152013,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:30:47] local.INFO: Acknowledgment sent {"connection_id":152013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:30:58] local.INFO: TCP Data received {"connection_id":152938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:30:58] local.INFO: Processing buffer {"connection_id":152938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:30:58] local.INFO: IMEI packet received {"connection_id":152938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":152938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:31:03] local.INFO: TCP Data received {"connection_id":152938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:31:03] local.INFO: Processing buffer {"connection_id":152938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:31:03] local.INFO: IMEI packet received {"connection_id":152938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":152938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:31:05] local.INFO: TCP Data received {"connection_id":152938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:31:05] local.INFO: Processing buffer {"connection_id":152938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:31:05] local.INFO: Packet analysis {"connection_id":152938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:31:05] local.INFO: Extracted packet for processing {"connection_id":152938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307982336001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786359607000,"timestamp_ms":1786359607000,"timestamp_seconds":1786359607,"priority":1,"record_length":96,"hex_timestamp":"0000019feb546ed8"} 
[2026-08-10 16:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307982336001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307982336001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:31:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307982336001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":152938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:31:05] local.INFO: GPS data processed {"connection_id":152938,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:31:05] local.INFO: Acknowledgment sent {"connection_id":152938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:31:07] local.INFO: TCP Data received {"connection_id":152015,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:31:07] local.INFO: Processing buffer {"connection_id":152015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:31:07] local.INFO: IMEI packet received {"connection_id":152015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":152015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:31:09] local.INFO: TCP Data received {"connection_id":152014,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb54c8b0012d0e3e800706e288002900ba16..."} 
[2026-08-10 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb54c8b0012d0e3e800706e288002900ba16..."} 
[2026-08-10 16:31:09] local.INFO: Processing buffer {"connection_id":152014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb54c8b0012d0e3e800706e288002900ba16..."} 
[2026-08-10 16:31:09] local.INFO: Packet analysis {"connection_id":152014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:31:09] local.INFO: Extracted packet for processing {"connection_id":152014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":755908224,"raw_latitude":117891720,"longitude_deg":75.5908224,"latitude_deg":11.789172,"altitude":41,"angle":186,"satellites":22,"speed":17,"hex_longitude":"2d0e3e80","hex_latitude":"0706e288","is_valid_coordinates":true} 
[2026-08-10 16:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059904001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27465998030340096,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025976320292089856,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786359630000,"timestamp_ms":1786359630000,"timestamp_seconds":1786359630,"priority":1,"record_length":96,"hex_timestamp":"0000019feb54c8b0"} 
[2026-08-10 16:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 16:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152014,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152014,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059904001,"66":14439,"219":206,"94":10240,"24":17,"16":27465998030340096,"45":1025976320292089856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059904001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:31:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:31:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27465998030340096,"km_value":27465998030340.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025976320292089856,"description":"Unknown IO ID 45"} 
[2026-08-10 16:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059904001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":1025976320292089856}} 
[2026-08-10 16:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":152014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620716,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:31:10] local.INFO: GPS data processed {"connection_id":152014,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:31:10] local.INFO: Acknowledgment sent {"connection_id":152014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:31:12] local.INFO: TCP Data received {"connection_id":152015,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:31:12] local.INFO: Processing buffer {"connection_id":152015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:31:12] local.INFO: IMEI packet received {"connection_id":152015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":152015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:31:15] local.INFO: TCP Data received {"connection_id":152015,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb537ca8012d7af38005e383a80003014722..."} 
[2026-08-10 16:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb537ca8012d7af38005e383a80003014722..."} 
[2026-08-10 16:31:15] local.INFO: Processing buffer {"connection_id":152015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb537ca8012d7af38005e383a80003014722..."} 
[2026-08-10 16:31:15] local.INFO: Packet analysis {"connection_id":152015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb53"} 
[2026-08-10 16:31:15] local.INFO: Extracted packet for processing {"connection_id":152015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb53"} 
[2026-08-10 16:31:15] local.INFO: GPS Element Parsed {"raw_longitude":763032448,"raw_latitude":98796456,"longitude_deg":76.3032448,"latitude_deg":9.8796456,"altitude":3,"angle":327,"satellites":34,"speed":6,"hex_longitude":"2d7af380","hex_latitude":"05e383a8","is_valid_coordinates":true} 
[2026-08-10 16:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308041984001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117278763531632640,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860269342189502464,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786359545000,"timestamp_ms":1786359545000,"timestamp_seconds":1786359545,"priority":1,"record_length":96,"hex_timestamp":"0000019feb537ca8"} 
[2026-08-10 16:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 16:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308041984001,"66":13080,"95":206,"85":15104,"24":6,"16":117278763531632640,"45":8860269342189502464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-10 16:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308041984001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:31:15] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117278763531632640,"km_value":117278763531632.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860269342189502464,"description":"Unknown IO ID 45"} 
[2026-08-10 16:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308041984001,"power":13080,"unknown_95":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8860269342189502464}} 
[2026-08-10 16:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":152015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:31:15] local.INFO: GPS data processed {"connection_id":152015,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:31:15] local.INFO: Acknowledgment sent {"connection_id":152015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:31:32] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:31:32] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:31:32] local.INFO: IMEI packet received {"connection_id":151626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":151626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:31:36] local.INFO: TCP Data received {"connection_id":152938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:31:36] local.INFO: Processing buffer {"connection_id":152938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:31:36] local.INFO: Packet analysis {"connection_id":152938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:31:36] local.INFO: Extracted packet for processing {"connection_id":152938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307982336001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786359607000,"timestamp_ms":1786359607000,"timestamp_seconds":1786359607,"priority":1,"record_length":96,"hex_timestamp":"0000019feb546ed8"} 
[2026-08-10 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-08-10 16:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307982336001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307982336001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:31:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307982336001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":152938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:31:36] local.INFO: GPS data processed {"connection_id":152938,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:31:36] local.INFO: Acknowledgment sent {"connection_id":152938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:31:37] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:31:37] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:31:37] local.INFO: IMEI packet received {"connection_id":151626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":151626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:31:37] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:31:37] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:31:37] local.INFO: IMEI packet received {"connection_id":151626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":151626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:31:38] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb54d850012d0e3e000706dcd8002800a917..."} 
[2026-08-10 16:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb54d850012d0e3e000706dcd8002800a917..."} 
[2026-08-10 16:31:38] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb54d850012d0e3e000706dcd8002800a917..."} 
[2026-08-10 16:31:38] local.INFO: Packet analysis {"connection_id":151626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:31:38] local.INFO: Extracted packet for processing {"connection_id":151626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":755908096,"raw_latitude":117890264,"longitude_deg":75.5908096,"latitude_deg":11.7890264,"altitude":40,"angle":169,"satellites":23,"speed":8,"hex_longitude":"2d0e3e00","hex_latitude":"0706dcd8","is_valid_coordinates":true} 
[2026-08-10 16:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308065280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27466066749816832,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026398532755687424,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786359634000,"timestamp_ms":1786359634000,"timestamp_seconds":1786359634,"priority":1,"record_length":96,"hex_timestamp":"0000019feb54d850"} 
[2026-08-10 16:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308065280001,"66":14450,"219":206,"94":10240,"24":8,"16":27466066749816832,"45":1026398532755687424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308065280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:31:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:31:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27466066749816832,"km_value":27466066749816.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026398532755687424,"description":"Unknown IO ID 45"} 
[2026-08-10 16:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308065280001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1026398532755687424}} 
[2026-08-10 16:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":151626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620719,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:31:38] local.INFO: GPS data processed {"connection_id":151626,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:31:38] local.INFO: Acknowledgment sent {"connection_id":151626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:31:43] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb54e408012d0e3e800706db300027009b17..."} 
[2026-08-10 16:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb54e408012d0e3e800706db300027009b17..."} 
[2026-08-10 16:31:43] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb54e408012d0e3e800706db300027009b17..."} 
[2026-08-10 16:31:43] local.INFO: Packet analysis {"connection_id":151626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:31:43] local.INFO: Extracted packet for processing {"connection_id":151626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:31:43] local.INFO: GPS Element Parsed {"raw_longitude":755908224,"raw_latitude":117889840,"longitude_deg":75.5908224,"latitude_deg":11.788984,"altitude":39,"angle":155,"satellites":23,"speed":7,"hex_longitude":"2d0e3e80","hex_latitude":"0706db30","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308066304001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27466088224653312,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026257795266959360,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786359637000,"timestamp_ms":1786359637000,"timestamp_seconds":1786359637,"priority":1,"record_length":96,"hex_timestamp":"0000019feb54e408"} 
[2026-08-10 16:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:31: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-08-10 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 16:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308066304001,"66":14352,"219":206,"94":10240,"24":7,"16":27466088224653312,"45":1026257795266959360},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308066304001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:31:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:31:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27466088224653312,"km_value":27466088224653.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026257795266959360,"description":"Unknown IO ID 45"} 
[2026-08-10 16:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308066304001,"power":14352,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1026257795266959360}} 
[2026-08-10 16:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":151626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620720,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:31:43] local.INFO: GPS data processed {"connection_id":151626,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:31:43] local.INFO: Acknowledgment sent {"connection_id":151626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:31:48] local.INFO: TCP Data received {"connection_id":152015,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb55bec8012d7ac90005e41120000700ec24..."} 
[2026-08-10 16:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb55bec8012d7ac90005e41120000700ec24..."} 
[2026-08-10 16:31:48] local.INFO: Processing buffer {"connection_id":152015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb55bec8012d7ac90005e41120000700ec24..."} 
[2026-08-10 16:31:48] local.INFO: Packet analysis {"connection_id":152015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb55"} 
[2026-08-10 16:31:48] local.INFO: Extracted packet for processing {"connection_id":152015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb55"} 
[2026-08-10 16:31:48] local.INFO: GPS Element Parsed {"raw_longitude":763021568,"raw_latitude":98832672,"longitude_deg":76.3021568,"latitude_deg":9.8832672,"altitude":7,"angle":236,"satellites":36,"speed":4,"hex_longitude":"2d7ac900","hex_latitude":"05e41120","is_valid_coordinates":true} 
[2026-08-10 16:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308081152001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117280691971948544,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847673336991410176,"note":"Value kept but may cause issues"} 
[2026-08-10 16:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786359693000,"timestamp_ms":1786359693000,"timestamp_seconds":1786359693,"priority":1,"record_length":96,"hex_timestamp":"0000019feb55bec8"} 
[2026-08-10 16:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 16:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308081152001,"66":12841,"97":206,"85":15104,"24":4,"16":117280691971948544,"45":8847673336991410176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308081152001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:31:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:31:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117280691971948544,"km_value":117280691971948.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847673336991410176,"description":"Unknown IO ID 45"} 
[2026-08-10 16:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308081152001,"power":12841,"unknown_97":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8847673336991410176}} 
[2026-08-10 16:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":152015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:31:48] local.INFO: GPS data processed {"connection_id":152015,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:31:48] local.INFO: Acknowledgment sent {"connection_id":152015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:31:58] local.INFO: TCP Data received {"connection_id":154391,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:31:58] local.INFO: Processing buffer {"connection_id":154391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:31:58] local.INFO: IMEI packet received {"connection_id":154391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":154391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:32:03] local.INFO: TCP Data received {"connection_id":154391,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:32:03] local.INFO: Processing buffer {"connection_id":154391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:32:03] local.INFO: IMEI packet received {"connection_id":154391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":154391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:32:04] local.INFO: TCP Data received {"connection_id":154391,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:32:04] local.INFO: Processing buffer {"connection_id":154391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:32:04] local.INFO: Packet analysis {"connection_id":154391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:32:04] local.INFO: Extracted packet for processing {"connection_id":154391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307982336001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786359607000,"timestamp_ms":1786359607000,"timestamp_seconds":1786359607,"priority":1,"record_length":96,"hex_timestamp":"0000019feb546ed8"} 
[2026-08-10 16:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:32: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-08-10 16:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16: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-08-10 16:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307982336001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307982336001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:32:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307982336001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":154391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:32:04] local.INFO: GPS data processed {"connection_id":154391,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:32:04] local.INFO: Acknowledgment sent {"connection_id":154391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:32:13] local.INFO: TCP Data received {"connection_id":152939,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:32:13] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:32:13] local.INFO: IMEI packet received {"connection_id":152939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":152939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:32:13] local.INFO: TCP Data received {"connection_id":152939,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:32:13] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:32:13] local.INFO: IMEI packet received {"connection_id":152939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":152939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:32:14] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb560518012d0e27c0070682280020012317..."} 
[2026-08-10 16:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb560518012d0e27c0070682280020012317..."} 
[2026-08-10 16:32:14] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb560518012d0e27c0070682280020012317..."} 
[2026-08-10 16:32:14] local.INFO: Packet analysis {"connection_id":151626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:32:14] local.INFO: Extracted packet for processing {"connection_id":151626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:32:14] local.INFO: GPS Element Parsed {"raw_longitude":755902400,"raw_latitude":117867048,"longitude_deg":75.59024,"latitude_deg":11.7867048,"altitude":32,"angle":291,"satellites":23,"speed":9,"hex_longitude":"2d0e27c0","hex_latitude":"07068228","is_valid_coordinates":true} 
[2026-08-10 16:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308084992001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27467333765169152,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020909770703476736,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786359711000,"timestamp_ms":1786359711000,"timestamp_seconds":1786359711,"priority":1,"record_length":96,"hex_timestamp":"0000019feb560518"} 
[2026-08-10 16:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 16:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308084992001,"66":14439,"219":206,"94":10240,"24":9,"16":27467333765169152,"45":1020909770703476736},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308084992001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:32:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:32:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27467333765169152,"km_value":27467333765169.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020909770703476736,"description":"Unknown IO ID 45"} 
[2026-08-10 16:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308084992001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1020909770703476736}} 
[2026-08-10 16:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":151626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620723,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:32:14] local.INFO: GPS data processed {"connection_id":151626,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:32:14] local.INFO: Acknowledgment sent {"connection_id":151626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:32:17] local.INFO: TCP Data received {"connection_id":152939,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:32:17] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:32:17] local.INFO: IMEI packet received {"connection_id":152939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":152939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:32:19] local.INFO: TCP Data received {"connection_id":152939,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb55c698012d7ac80005e41078000700f824..."} 
[2026-08-10 16:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb55c698012d7ac80005e41078000700f824..."} 
[2026-08-10 16:32:19] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb55c698012d7ac80005e41078000700f824..."} 
[2026-08-10 16:32:19] local.INFO: Packet analysis {"connection_id":152939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb55"} 
[2026-08-10 16:32:19] local.INFO: Extracted packet for processing {"connection_id":152939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb55"} 
[2026-08-10 16:32:19] local.INFO: GPS Element Parsed {"raw_longitude":763021312,"raw_latitude":98832504,"longitude_deg":76.3021312,"latitude_deg":9.8832504,"altitude":7,"angle":248,"satellites":36,"speed":6,"hex_longitude":"2d7ac800","hex_latitude":"05e41078","is_valid_coordinates":true} 
[2026-08-10 16:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308081408001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117280704856850432,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847602968247214080,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786359695000,"timestamp_ms":1786359695000,"timestamp_seconds":1786359695,"priority":1,"record_length":96,"hex_timestamp":"0000019feb55c698"} 
[2026-08-10 16:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 16:32: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-08-10 16:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308081408001,"66":13319,"97":206,"85":15104,"24":6,"16":117280704856850432,"45":8847602968247214080},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308081408001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:32:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:32:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117280704856850432,"km_value":117280704856850.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847602968247214080,"description":"Unknown IO ID 45"} 
[2026-08-10 16:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308081408001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8847602968247214080}} 
[2026-08-10 16:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":152939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:32:19] local.INFO: GPS data processed {"connection_id":152939,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:32:19] local.INFO: Acknowledgment sent {"connection_id":152939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:32:23] local.INFO: TCP Data received {"connection_id":152939,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb55d250012d7ac5c005e40fa80007010425..."} 
[2026-08-10 16:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb55d250012d7ac5c005e40fa80007010425..."} 
[2026-08-10 16:32:23] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb55d250012d7ac5c005e40fa80007010425..."} 
[2026-08-10 16:32:23] local.INFO: Packet analysis {"connection_id":152939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb55"} 
[2026-08-10 16:32:23] local.INFO: Extracted packet for processing {"connection_id":152939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb55"} 
[2026-08-10 16:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763020736,"raw_latitude":98832296,"longitude_deg":76.3020736,"latitude_deg":9.8832296,"altitude":7,"angle":260,"satellites":37,"speed":12,"hex_longitude":"2d7ac5c0","hex_latitude":"05e40fa8","is_valid_coordinates":true} 
[2026-08-10 16:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308081920001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117280739216588800,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847321493270460416,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786359698000,"timestamp_ms":1786359698000,"timestamp_seconds":1786359698,"priority":1,"record_length":96,"hex_timestamp":"0000019feb55d250"} 
[2026-08-10 16:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3948211160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-2544533763670989568,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791243982,"corrected_to":0} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3221611523,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2850750464,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3823081472,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57885297191310651,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.WARNING: Large IO value detected {"io_id":84,"raw_value":-2296834515112771579,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,97,85,24,241,157,16,170,159,190,45,17,7,36,10,66,186,64,35,128,1,240,29,227,235,228,4,113,205,28,34,208,239,52,95,2,160,5,6,11,138,84],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2791243982,"validated":0}]} 
[2026-08-10 16:32:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504675991768399872,"timestamp_seconds":504675991768399.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 16:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308081920001,"66":13341,"97":206,"85":15104,"24":12,"16":117280739216588800,"45":8847321493270460416},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308081920001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:32:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:32:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117280739216588800,"km_value":117280739216588.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847321493270460416,"description":"Unknown IO ID 45"} 
[2026-08-10 16:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308081920001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8847321493270460416}} 
[2026-08-10 16:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":152939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:32:23] local.INFO: GPS data processed {"connection_id":152939,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:32:23] local.INFO: Acknowledgment sent {"connection_id":152939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:32:33] local.INFO: TCP Data received {"connection_id":154392,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:32:33] local.INFO: Processing buffer {"connection_id":154392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:32:33] local.INFO: IMEI packet received {"connection_id":154392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":154392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:32:35] local.INFO: TCP Data received {"connection_id":154391,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:32:35] local.INFO: Processing buffer {"connection_id":154391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:32:35] local.INFO: Packet analysis {"connection_id":154391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:32:35] local.INFO: Extracted packet for processing {"connection_id":154391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307982336001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786359607000,"timestamp_ms":1786359607000,"timestamp_seconds":1786359607,"priority":1,"record_length":96,"hex_timestamp":"0000019feb546ed8"} 
[2026-08-10 16:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:32: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-08-10 16: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":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16: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-08-10 16:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307982336001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307982336001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:32:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307982336001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":154391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:32:35] local.INFO: GPS data processed {"connection_id":154391,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:32:35] local.INFO: Acknowledgment sent {"connection_id":154391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:32:36] local.INFO: TCP Data received {"connection_id":154392,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:32:36] local.INFO: Processing buffer {"connection_id":154392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:32:36] local.INFO: IMEI packet received {"connection_id":154392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":154392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:32:37] local.INFO: TCP Data received {"connection_id":154392,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:32:37] local.INFO: Processing buffer {"connection_id":154392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:32:37] local.INFO: IMEI packet received {"connection_id":154392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":154392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:32:38] local.INFO: TCP Data received {"connection_id":154392,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:32:38] local.INFO: Processing buffer {"connection_id":154392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:32:38] local.INFO: IMEI packet received {"connection_id":154392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":154392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:32:39] local.INFO: TCP Data received {"connection_id":154392,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb562458012d0e1ac007068628001f011417..."} 
[2026-08-10 16:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb562458012d0e1ac007068628001f011417..."} 
[2026-08-10 16:32:39] local.INFO: Processing buffer {"connection_id":154392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb562458012d0e1ac007068628001f011417..."} 
[2026-08-10 16:32:39] local.INFO: Packet analysis {"connection_id":154392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:32:39] local.INFO: Extracted packet for processing {"connection_id":154392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:32:39] local.INFO: GPS Element Parsed {"raw_longitude":755899072,"raw_latitude":117868072,"longitude_deg":75.5899072,"latitude_deg":11.7868072,"altitude":31,"angle":276,"satellites":23,"speed":19,"hex_longitude":"2d0e1ac0","hex_latitude":"07068628","is_valid_coordinates":true} 
[2026-08-10 16:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308086016001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27467505563860992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1019994977029203968,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786359719000,"timestamp_ms":1786359719000,"timestamp_seconds":1786359719,"priority":1,"record_length":96,"hex_timestamp":"0000019feb562458"} 
[2026-08-10 16:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:32: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-08-10 16:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308086016001,"66":14450,"219":206,"94":10240,"24":19,"16":27467505563860992,"45":1019994977029203968},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308086016001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:32:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:32:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27467505563860992,"km_value":27467505563860.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1019994977029203968,"description":"Unknown IO ID 45"} 
[2026-08-10 16:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308086016001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":1019994977029203968}} 
[2026-08-10 16:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":154392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620727,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:32:39] local.INFO: GPS data processed {"connection_id":154392,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:32:39] local.INFO: Acknowledgment sent {"connection_id":154392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:32:41] local.INFO: TCP Data received {"connection_id":154392,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb563fb0012d0e1000070686c8001f010517..."} 
[2026-08-10 16:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb563fb0012d0e1000070686c8001f010517..."} 
[2026-08-10 16:32:41] local.INFO: Processing buffer {"connection_id":154392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb563fb0012d0e1000070686c8001f010517..."} 
[2026-08-10 16:32:41] local.INFO: Packet analysis {"connection_id":154392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:32:41] local.INFO: Extracted packet for processing {"connection_id":154392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:32:41] local.INFO: GPS Element Parsed {"raw_longitude":755896320,"raw_latitude":117868232,"longitude_deg":75.589632,"latitude_deg":11.7868232,"altitude":31,"angle":261,"satellites":23,"speed":8,"hex_longitude":"2d0e1000","hex_latitude":"070686c8","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308088064001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27467634412879872,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1016335802332227584,"note":"Value kept but may cause issues"} 
[2026-08-10 16:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786359726000,"timestamp_ms":1786359726000,"timestamp_seconds":1786359726,"priority":1,"record_length":96,"hex_timestamp":"0000019feb563fb0"} 
[2026-08-10 16:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 16:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308088064001,"66":14461,"219":206,"94":10240,"24":8,"16":27467634412879872,"45":1016335802332227584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308088064001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:32:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:32:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27467634412879872,"km_value":27467634412879.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1016335802332227584,"description":"Unknown IO ID 45"} 
[2026-08-10 16:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308088064001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1016335802332227584}} 
[2026-08-10 16:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":154392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620728,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:32:41] local.INFO: GPS data processed {"connection_id":154392,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:32:41] local.INFO: Acknowledgment sent {"connection_id":154392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:32:58] local.INFO: TCP Data received {"connection_id":152941,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:32:58] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:32:58] local.INFO: IMEI packet received {"connection_id":152941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":152941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:33:03] local.INFO: TCP Data received {"connection_id":152941,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:33:03] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:33:03] local.INFO: IMEI packet received {"connection_id":152941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":152941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:33:04] local.INFO: TCP Data received {"connection_id":152941,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:33:04] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:33:04] local.INFO: Packet analysis {"connection_id":152941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:33:04] local.INFO: Extracted packet for processing {"connection_id":152941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307982336001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786359607000,"timestamp_ms":1786359607000,"timestamp_seconds":1786359607,"priority":1,"record_length":96,"hex_timestamp":"0000019feb546ed8"} 
[2026-08-10 16:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:33: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-08-10 16:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307982336001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307982336001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:33:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307982336001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":152941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:33:04] local.INFO: GPS data processed {"connection_id":152941,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:33:04] local.INFO: Acknowledgment sent {"connection_id":152941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:33:07] local.INFO: TCP Data received {"connection_id":152016,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:33:07] local.INFO: Processing buffer {"connection_id":152016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:33:07] local.INFO: IMEI packet received {"connection_id":152016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":152016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:33:12] local.INFO: TCP Data received {"connection_id":154392,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5731e0012d0e024007069150002500431a..."} 
[2026-08-10 16:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5731e0012d0e024007069150002500431a..."} 
[2026-08-10 16:33:12] local.INFO: Processing buffer {"connection_id":154392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5731e0012d0e024007069150002500431a..."} 
[2026-08-10 16:33:12] local.INFO: Packet analysis {"connection_id":154392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb57"} 
[2026-08-10 16:33:12] local.INFO: Extracted packet for processing {"connection_id":154392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb57"} 
[2026-08-10 16:33:12] local.INFO: GPS Element Parsed {"raw_longitude":755892800,"raw_latitude":117870928,"longitude_deg":75.58928,"latitude_deg":11.7870928,"altitude":37,"angle":67,"satellites":26,"speed":5,"hex_longitude":"2d0e0240","hex_latitude":"07069150","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308105472001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27467922175688704,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009369296659357696,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786359788000,"timestamp_ms":1786359788000,"timestamp_seconds":1786359788,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5731e0"} 
[2026-08-10 16:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 16:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308105472001,"66":14407,"219":206,"94":10240,"24":5,"16":27467922175688704,"45":1009369296659357696},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308105472001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:33:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:33:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27467922175688704,"km_value":27467922175688.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009369296659357696,"description":"Unknown IO ID 45"} 
[2026-08-10 16:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308105472001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1009369296659357696}} 
[2026-08-10 16:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":154392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620730,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:33:12] local.INFO: GPS data processed {"connection_id":154392,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:33:12] local.INFO: Acknowledgment sent {"connection_id":154392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:33:12] local.INFO: TCP Data received {"connection_id":152016,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:33:12] local.INFO: Processing buffer {"connection_id":152016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:33:12] local.INFO: IMEI packet received {"connection_id":152016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":152016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:33:13] local.INFO: TCP Data received {"connection_id":152016,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb560ce8012d7aa2c005e40aa0000901011f..."} 
[2026-08-10 16:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb560ce8012d7aa2c005e40aa0000901011f..."} 
[2026-08-10 16:33:13] local.INFO: Processing buffer {"connection_id":152016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb560ce8012d7aa2c005e40aa0000901011f..."} 
[2026-08-10 16:33:13] local.INFO: Packet analysis {"connection_id":152016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:33:13] local.INFO: Extracted packet for processing {"connection_id":152016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763011776,"raw_latitude":98831008,"longitude_deg":76.3011776,"latitude_deg":9.8831008,"altitude":9,"angle":257,"satellites":31,"speed":18,"hex_longitude":"2d7aa2c0","hex_latitude":"05e40aa0","is_valid_coordinates":true} 
[2026-08-10 16:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308082688001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117281168713318400,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846688174572808192,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786359713000,"timestamp_ms":1786359713000,"timestamp_seconds":1786359713,"priority":1,"record_length":96,"hex_timestamp":"0000019feb560ce8"} 
[2026-08-10 16:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 16:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308082688001,"66":12765,"97":206,"85":15104,"24":18,"16":117281168713318400,"45":8846688174572808192},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308082688001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:33:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117281168713318400,"km_value":117281168713318.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846688174572808192,"description":"Unknown IO ID 45"} 
[2026-08-10 16:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308082688001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8846688174572808192}} 
[2026-08-10 16:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":152016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:33:13] local.INFO: GPS data processed {"connection_id":152016,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:33:13] local.INFO: Acknowledgment sent {"connection_id":152016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:33:17] local.INFO: TCP Data received {"connection_id":152016,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb562070012d7a9e0005e40a50000a011121..."} 
[2026-08-10 16:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb562070012d7a9e0005e40a50000a011121..."} 
[2026-08-10 16:33:17] local.INFO: Processing buffer {"connection_id":152016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb562070012d7a9e0005e40a50000a011121..."} 
[2026-08-10 16:33:17] local.INFO: Packet analysis {"connection_id":152016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:33:17] local.INFO: Extracted packet for processing {"connection_id":152016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:33:17] local.INFO: GPS Element Parsed {"raw_longitude":763010560,"raw_latitude":98830928,"longitude_deg":76.301056,"latitude_deg":9.8830928,"altitude":10,"angle":273,"satellites":33,"speed":6,"hex_longitude":"2d7a9e00","hex_latitude":"05e40a50","is_valid_coordinates":true} 
[2026-08-10 16:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308086528001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117281228842860544,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836836550387605504,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786359718000,"timestamp_ms":1786359718000,"timestamp_seconds":1786359718,"priority":1,"record_length":96,"hex_timestamp":"0000019feb562070"} 
[2026-08-10 16:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 16:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308086528001,"66":12885,"97":206,"85":15104,"24":6,"16":117281228842860544,"45":8836836550387605504},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308086528001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:33:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117281228842860544,"km_value":117281228842860.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836836550387605504,"description":"Unknown IO ID 45"} 
[2026-08-10 16:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308086528001,"power":12885,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8836836550387605504}} 
[2026-08-10 16:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":152016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:33:17] local.INFO: GPS data processed {"connection_id":152016,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:33:17] local.INFO: Acknowledgment sent {"connection_id":152016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:33:29] local.INFO: TCP Data received {"connection_id":152942,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:33:29] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:33:29] local.INFO: IMEI packet received {"connection_id":152942,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":152942,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:33:32] local.INFO: TCP Data received {"connection_id":152942,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:33:32] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:33:32] local.INFO: IMEI packet received {"connection_id":152942,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":152942,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:33:35] local.INFO: TCP Data received {"connection_id":152941,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:33:35] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:33:35] local.INFO: Packet analysis {"connection_id":152941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:33:35] local.INFO: Extracted packet for processing {"connection_id":152941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307982336001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786359607000,"timestamp_ms":1786359607000,"timestamp_seconds":1786359607,"priority":1,"record_length":96,"hex_timestamp":"0000019feb546ed8"} 
[2026-08-10 16:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:33: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-08-10 16:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307982336001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307982336001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:33:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307982336001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":152941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:33:35] local.INFO: GPS data processed {"connection_id":152941,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:33:35] local.INFO: Acknowledgment sent {"connection_id":152941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:33:38] local.INFO: TCP Data received {"connection_id":152942,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:33:38] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:33:38] local.INFO: IMEI packet received {"connection_id":152942,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":152942,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:33:38] local.INFO: TCP Data received {"connection_id":152942,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5735c8012d0e0300070691300025005f1a..."} 
[2026-08-10 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5735c8012d0e0300070691300025005f1a..."} 
[2026-08-10 16:33:38] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5735c8012d0e0300070691300025005f1a..."} 
[2026-08-10 16:33:38] local.INFO: Packet analysis {"connection_id":152942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb57"} 
[2026-08-10 16:33:38] local.INFO: Extracted packet for processing {"connection_id":152942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb57"} 
[2026-08-10 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":755892992,"raw_latitude":117870896,"longitude_deg":75.5892992,"latitude_deg":11.7870896,"altitude":37,"angle":95,"satellites":26,"speed":7,"hex_longitude":"2d0e0300","hex_latitude":"07069130","is_valid_coordinates":true} 
[2026-08-10 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308105728001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27467935060590592,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009439665403547648,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786359789000,"timestamp_ms":1786359789000,"timestamp_seconds":1786359789,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5735c8"} 
[2026-08-10 16:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 16:33: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-08-10 16:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308105728001,"66":14407,"219":206,"94":10240,"24":7,"16":27467935060590592,"45":1009439665403547648},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308105728001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:33:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:33:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27467935060590592,"km_value":27467935060590.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009439665403547648,"description":"Unknown IO ID 45"} 
[2026-08-10 16:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308105728001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1009439665403547648}} 
[2026-08-10 16:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":152942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620734,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:33:39] local.INFO: GPS data processed {"connection_id":152942,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:33:39] local.INFO: Acknowledgment sent {"connection_id":152942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:33:48] local.INFO: TCP Data received {"connection_id":152016,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb564f50012d7a9f4005e40a60000a007920..."} 
[2026-08-10 16:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb564f50012d7a9f4005e40a60000a007920..."} 
[2026-08-10 16:33:48] local.INFO: Processing buffer {"connection_id":152016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb564f50012d7a9f4005e40a60000a007920..."} 
[2026-08-10 16:33:48] local.INFO: Packet analysis {"connection_id":152016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:33:48] local.INFO: Extracted packet for processing {"connection_id":152016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:33:48] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":98830944,"longitude_deg":76.301088,"latitude_deg":9.8830944,"altitude":10,"angle":121,"satellites":32,"speed":2,"hex_longitude":"2d7a9f40","hex_latitude":"05e40a60","is_valid_coordinates":true} 
[2026-08-10 16:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308087808001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117281258907631616,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835499544248209408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786359730000,"timestamp_ms":1786359730000,"timestamp_seconds":1786359730,"priority":1,"record_length":96,"hex_timestamp":"0000019feb564f50"} 
[2026-08-10 16:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 16:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308087808001,"66":13276,"97":206,"85":15104,"24":2,"16":117281258907631616,"45":8835499544248209408},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308087808001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:33:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:33:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117281258907631616,"km_value":117281258907631.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835499544248209408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308087808001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8835499544248209408}} 
[2026-08-10 16:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":152016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:33:48] local.INFO: GPS data processed {"connection_id":152016,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:33:48] local.INFO: Acknowledgment sent {"connection_id":152016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:33:58] local.INFO: TCP Data received {"connection_id":154393,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:33:58] local.INFO: Processing buffer {"connection_id":154393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:33:58] local.INFO: IMEI packet received {"connection_id":154393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":154393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:34:03] local.INFO: TCP Data received {"connection_id":154393,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:34:03] local.INFO: Processing buffer {"connection_id":154393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:34:03] local.INFO: IMEI packet received {"connection_id":154393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":154393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:34:06] local.INFO: TCP Data received {"connection_id":154393,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:34:06] local.INFO: Processing buffer {"connection_id":154393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:34:06] local.INFO: Packet analysis {"connection_id":154393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:34:06] local.INFO: Extracted packet for processing {"connection_id":154393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307982336001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786359607000,"timestamp_ms":1786359607000,"timestamp_seconds":1786359607,"priority":1,"record_length":96,"hex_timestamp":"0000019feb546ed8"} 
[2026-08-10 16:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307982336001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307982336001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:34:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307982336001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":154393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:34:06] local.INFO: GPS data processed {"connection_id":154393,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:34:06] local.INFO: Acknowledgment sent {"connection_id":154393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:34:07] local.INFO: TCP Data received {"connection_id":154394,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:34:07] local.INFO: Processing buffer {"connection_id":154394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:34:07] local.INFO: IMEI packet received {"connection_id":154394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":154394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:34:10] local.INFO: TCP Data received {"connection_id":152942,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5804d0012d0e2e80070683700028004017..."} 
[2026-08-10 16:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5804d0012d0e2e80070683700028004017..."} 
[2026-08-10 16:34:10] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5804d0012d0e2e80070683700028004017..."} 
[2026-08-10 16:34:10] local.INFO: Packet analysis {"connection_id":152942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:34:10] local.INFO: Extracted packet for processing {"connection_id":152942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:34:10] local.INFO: GPS Element Parsed {"raw_longitude":755904128,"raw_latitude":117867376,"longitude_deg":75.5904128,"latitude_deg":11.7867376,"altitude":40,"angle":64,"satellites":23,"speed":12,"hex_longitude":"2d0e2e80","hex_latitude":"07068370","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308118784001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27468540650979328,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020980139447717888,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786359842000,"timestamp_ms":1786359842000,"timestamp_seconds":1786359842,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5804d0"} 
[2026-08-10 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-08-10 16:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":0,"data_length":795,"current_offset":136} 
[2026-08-10 16:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3442465536,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3948388160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:10] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2290090022,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-08-10 16:34:10] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2518351872,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:10] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,219,94,24,241,157,16,150,159,45,64,130,40,10,66,217,192,134,39,25,186,1,240,201,227,235,6,4,113,205,8,167,13,96,239,56,2,97,7,38],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0}]} 
[2026-08-10 16:34:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882395124062093312,"timestamp_seconds":2882395124062093.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 16:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308118784001,"66":13678,"219":206,"94":10240,"24":12,"16":27468540650979328,"45":1020980139447717888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308118784001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:34:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:34:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27468540650979328,"km_value":27468540650979.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020980139447717888,"description":"Unknown IO ID 45"} 
[2026-08-10 16:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308118784001,"power":13678,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1020980139447717888}} 
[2026-08-10 16:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":152942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620737,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:34:10] local.INFO: GPS data processed {"connection_id":152942,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:34:10] local.INFO: Acknowledgment sent {"connection_id":152942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:34:11] local.INFO: TCP Data received {"connection_id":154394,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:34:11] local.INFO: Processing buffer {"connection_id":154394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:34:11] local.INFO: IMEI packet received {"connection_id":154394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":154394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:34:12] local.INFO: TCP Data received {"connection_id":154394,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb56a158012d7a9f8005e40a48000a007320..."} 
[2026-08-10 16:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb56a158012d7a9f8005e40a48000a007320..."} 
[2026-08-10 16:34:12] local.INFO: Processing buffer {"connection_id":154394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb56a158012d7a9f8005e40a48000a007320..."} 
[2026-08-10 16:34:12] local.INFO: Packet analysis {"connection_id":154394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:34:12] local.INFO: Extracted packet for processing {"connection_id":154394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763010944,"raw_latitude":98830920,"longitude_deg":76.3010944,"latitude_deg":9.883092,"altitude":10,"angle":115,"satellites":32,"speed":0,"hex_longitude":"2d7a9f80","hex_latitude":"05e40a48","is_valid_coordinates":true} 
[2026-08-10 16:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308090880001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117281263202598912,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835851387969101824,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786359751000,"timestamp_ms":1786359751000,"timestamp_seconds":1786359751,"priority":1,"record_length":96,"hex_timestamp":"0000019feb56a158"} 
[2026-08-10 16:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":220,"data_length":795,"current_offset":136} 
[2026-08-10 16:34: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-08-10 16:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308090880001,"66":12765,"97":206,"85":15104,"24":0,"16":117281263202598912,"45":8835851387969101824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308090880001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:34:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117281263202598912,"km_value":117281263202598.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835851387969101824,"description":"Unknown IO ID 45"} 
[2026-08-10 16:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308090880001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8835851387969101824}} 
[2026-08-10 16:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":154394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:34:12] local.INFO: GPS data processed {"connection_id":154394,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:34:12] local.INFO: Acknowledgment sent {"connection_id":154394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:34:31] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:34:31] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:34:31] local.INFO: IMEI packet received {"connection_id":151629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":151629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:34:32] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:34:32] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:34:32] local.INFO: IMEI packet received {"connection_id":151629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":151629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:34:32] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:34:32] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:34:32] local.INFO: IMEI packet received {"connection_id":151629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":151629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:34:35] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:34:35] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:34:35] local.INFO: IMEI packet received {"connection_id":151629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":151629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:34:35] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb580ca0012d0e3080070685300028002618..."} 
[2026-08-10 16:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb580ca0012d0e3080070685300028002618..."} 
[2026-08-10 16:34:35] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb580ca0012d0e3080070685300028002618..."} 
[2026-08-10 16:34:35] local.INFO: Packet analysis {"connection_id":151629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:34:35] local.INFO: Extracted packet for processing {"connection_id":151629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:34:35] local.INFO: GPS Element Parsed {"raw_longitude":755904640,"raw_latitude":117867824,"longitude_deg":75.590464,"latitude_deg":11.7867824,"altitude":40,"angle":38,"satellites":24,"speed":12,"hex_longitude":"2d0e3080","hex_latitude":"07068530","is_valid_coordinates":true} 
[2026-08-10 16:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308119552001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27468570715750400,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021894933122084864,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786359844000,"timestamp_ms":1786359844000,"timestamp_seconds":1786359844,"priority":1,"record_length":96,"hex_timestamp":"0000019feb580ca0"} 
[2026-08-10 16:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":110,"data_length":795,"current_offset":136} 
[2026-08-10 16:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308119552001,"66":13678,"219":206,"94":10240,"24":12,"16":27468570715750400,"45":1021894933122084864},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308119552001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:34:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:34:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27468570715750400,"km_value":27468570715750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021894933122084864,"description":"Unknown IO ID 45"} 
[2026-08-10 16:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308119552001,"power":13678,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1021894933122084864}} 
[2026-08-10 16:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":151629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620739,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:34:36] local.INFO: GPS data processed {"connection_id":151629,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:34:36] local.INFO: Acknowledgment sent {"connection_id":151629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:34:37] local.INFO: TCP Data received {"connection_id":154393,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:34:37] local.INFO: Processing buffer {"connection_id":154393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:34:37] local.INFO: Packet analysis {"connection_id":154393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:34:37] local.INFO: Extracted packet for processing {"connection_id":154393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307982336001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786359607000,"timestamp_ms":1786359607000,"timestamp_seconds":1786359607,"priority":1,"record_length":96,"hex_timestamp":"0000019feb546ed8"} 
[2026-08-10 16:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307982336001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307982336001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:34:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307982336001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":154393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:34:37] local.INFO: GPS data processed {"connection_id":154393,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:34:37] local.INFO: Acknowledgment sent {"connection_id":154393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:34:44] local.INFO: TCP Data received {"connection_id":154394,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb582028012d7aed4005e39c00000800a526..."} 
[2026-08-10 16:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb582028012d7aed4005e39c00000800a526..."} 
[2026-08-10 16:34:44] local.INFO: Processing buffer {"connection_id":154394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb582028012d7aed4005e39c00000800a526..."} 
[2026-08-10 16:34:44] local.INFO: Packet analysis {"connection_id":154394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:34:44] local.INFO: Extracted packet for processing {"connection_id":154394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:34:44] local.INFO: GPS Element Parsed {"raw_longitude":763030848,"raw_latitude":98802688,"longitude_deg":76.3030848,"latitude_deg":9.8802688,"altitude":8,"angle":165,"satellites":38,"speed":19,"hex_longitude":"2d7aed40","hex_latitude":"05e39c00","is_valid_coordinates":true} 
[2026-08-10 16:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308117760001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117283354851672064,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854991686380400640,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786359849000,"timestamp_ms":1786359849000,"timestamp_seconds":1786359849,"priority":1,"record_length":96,"hex_timestamp":"0000019feb582028"} 
[2026-08-10 16:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":139,"data_length":795,"current_offset":136} 
[2026-08-10 16:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308117760001,"66":13222,"97":206,"85":15104,"24":19,"16":117283354851672064,"45":8854991686380400640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308117760001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:34:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117283354851672064,"km_value":117283354851672.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854991686380400640,"description":"Unknown IO ID 45"} 
[2026-08-10 16:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308117760001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8854991686380400640}} 
[2026-08-10 16:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":154394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:34:44] local.INFO: GPS data processed {"connection_id":154394,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:34:44] local.INFO: Acknowledgment sent {"connection_id":154394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:34:45] local.INFO: TCP Data received {"connection_id":152017,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:34:45] local.INFO: Processing buffer {"connection_id":152017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:34:45] local.INFO: IMEI packet received {"connection_id":152017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":152017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:34:47] local.INFO: TCP Data received {"connection_id":152017,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:34:47] local.INFO: Processing buffer {"connection_id":152017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:34:47] local.INFO: IMEI packet received {"connection_id":152017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":152017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:34:48] local.INFO: TCP Data received {"connection_id":152017,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb56cc50012d196700071feeb8003a005624..."} 
[2026-08-10 16:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb56cc50012d196700071feeb8003a005624..."} 
[2026-08-10 16:34:48] local.INFO: Processing buffer {"connection_id":152017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb56cc50012d196700071feeb8003a005624..."} 
[2026-08-10 16:34:48] local.INFO: Packet analysis {"connection_id":152017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:34:48] local.INFO: Extracted packet for processing {"connection_id":152017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb56"} 
[2026-08-10 16:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308093696001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16: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-08-10 16:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786359762000,"timestamp_ms":1786359762000,"timestamp_seconds":1786359762,"priority":1,"record_length":96,"hex_timestamp":"0000019feb56cc50"} 
[2026-08-10 16:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 16:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308093696001,"66":12939,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308093696001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:34:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:34:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308093696001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":152017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:34:48] local.INFO: GPS data processed {"connection_id":152017,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:34:48] local.INFO: Acknowledgment sent {"connection_id":152017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:35:04] local.INFO: TCP Data received {"connection_id":152018,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:35:04] local.INFO: Processing buffer {"connection_id":152018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:35:04] local.INFO: IMEI packet received {"connection_id":152018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":152018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:35:04] local.INFO: TCP Data received {"connection_id":152018,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:35:04] local.INFO: Processing buffer {"connection_id":152018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:35:04] local.INFO: IMEI packet received {"connection_id":152018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":152018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:35:06] local.INFO: TCP Data received {"connection_id":152943,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:35:06] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:35:06] local.INFO: IMEI packet received {"connection_id":152943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":152943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:35:07] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb581088012d0e3100070686800028001418..."} 
[2026-08-10 16:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb581088012d0e3100070686800028001418..."} 
[2026-08-10 16:35:07] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb581088012d0e3100070686800028001418..."} 
[2026-08-10 16:35:07] local.INFO: Packet analysis {"connection_id":151629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:35:07] local.INFO: Extracted packet for processing {"connection_id":151629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:35:07] local.INFO: GPS Element Parsed {"raw_longitude":755904768,"raw_latitude":117868160,"longitude_deg":75.5904768,"latitude_deg":11.786816,"altitude":40,"angle":20,"satellites":24,"speed":14,"hex_longitude":"2d0e3100","hex_latitude":"07068680","is_valid_coordinates":true} 
[2026-08-10 16:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308120064001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27468587895619584,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022457883075620864,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786359845000,"timestamp_ms":1786359845000,"timestamp_seconds":1786359845,"priority":1,"record_length":96,"hex_timestamp":"0000019feb581088"} 
[2026-08-10 16:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16: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-08-10 16:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308120064001,"66":14450,"219":206,"94":10240,"24":14,"16":27468587895619584,"45":1022457883075620864},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-10 16:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308120064001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:35:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-10 16:35:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27468587895619584,"km_value":27468587895619.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022457883075620864,"description":"Unknown IO ID 45"} 
[2026-08-10 16:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308120064001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":1022457883075620864}} 
[2026-08-10 16:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":151629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:35:07] local.INFO: GPS data processed {"connection_id":151629,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:35:07] local.INFO: Acknowledgment sent {"connection_id":151629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:35:07] local.INFO: TCP Data received {"connection_id":152943,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:35:07] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:35:07] local.INFO: IMEI packet received {"connection_id":152943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":152943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:35:08] local.INFO: TCP Data received {"connection_id":152018,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:35:08] local.INFO: Processing buffer {"connection_id":152018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:35:08] local.INFO: IMEI packet received {"connection_id":152018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":152018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:35:10] local.INFO: TCP Data received {"connection_id":152018,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:35:10] local.INFO: Processing buffer {"connection_id":152018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:35:10] local.INFO: Packet analysis {"connection_id":152018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:35:10] local.INFO: Extracted packet for processing {"connection_id":152018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307982336001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786359607000,"timestamp_ms":1786359607000,"timestamp_seconds":1786359607,"priority":1,"record_length":96,"hex_timestamp":"0000019feb546ed8"} 
[2026-08-10 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-08-10 16: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-08-10 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307982336001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307982336001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:35:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307982336001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":152018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:35:10] local.INFO: GPS data processed {"connection_id":152018,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:35:10] local.INFO: Acknowledgment sent {"connection_id":152018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:35:12] local.INFO: TCP Data received {"connection_id":152943,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:35:12] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:35:12] local.INFO: IMEI packet received {"connection_id":152943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":152943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:35:13] local.INFO: TCP Data received {"connection_id":152943,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb583b80012d7aefc005e394c00007009a28..."} 
[2026-08-10 16:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb583b80012d7aefc005e394c00007009a28..."} 
[2026-08-10 16:35:13] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb583b80012d7aefc005e394c00007009a28..."} 
[2026-08-10 16:35:13] local.INFO: Packet analysis {"connection_id":152943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:35:13] local.INFO: Extracted packet for processing {"connection_id":152943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763031488,"raw_latitude":98800832,"longitude_deg":76.3031488,"latitude_deg":9.8800832,"altitude":7,"angle":154,"satellites":40,"speed":8,"hex_longitude":"2d7aefc0","hex_latitude":"05e394c0","is_valid_coordinates":true} 
[2026-08-10 16:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308121344001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117283449340952576,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857806436145299456,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786359856000,"timestamp_ms":1786359856000,"timestamp_seconds":1786359856,"priority":1,"record_length":96,"hex_timestamp":"0000019feb583b80"} 
[2026-08-10 16:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-10 16:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308121344001,"66":13254,"97":206,"85":15104,"24":8,"16":117283449340952576,"45":8857806436145299456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308121344001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:35:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117283449340952576,"km_value":117283449340952.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857806436145299456,"description":"Unknown IO ID 45"} 
[2026-08-10 16:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308121344001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8857806436145299456}} 
[2026-08-10 16:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":152943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:35:13] local.INFO: GPS data processed {"connection_id":152943,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:35:13] local.INFO: Acknowledgment sent {"connection_id":152943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:35:20] local.INFO: TCP Data received {"connection_id":152017,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb571e58012d196700071feeb8003a005625..."} 
[2026-08-10 16:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb571e58012d196700071feeb8003a005625..."} 
[2026-08-10 16:35:20] local.INFO: Processing buffer {"connection_id":152017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb571e58012d196700071feeb8003a005625..."} 
[2026-08-10 16:35:20] local.INFO: Packet analysis {"connection_id":152017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb57"} 
[2026-08-10 16:35:20] local.INFO: Extracted packet for processing {"connection_id":152017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb57"} 
[2026-08-10 16:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308099072001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786359783000,"timestamp_ms":1786359783000,"timestamp_seconds":1786359783,"priority":1,"record_length":96,"hex_timestamp":"0000019feb571e58"} 
[2026-08-10 16:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:35: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":139,"data_length":795,"current_offset":136} 
[2026-08-10 16:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308099072001,"66":12917,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308099072001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:35:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:35:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308099072001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":152017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:35:20] local.INFO: GPS data processed {"connection_id":152017,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:35:20] local.INFO: Acknowledgment sent {"connection_id":152017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:35:29] local.INFO: TCP Data received {"connection_id":151630,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151630,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:35:29] local.INFO: Processing buffer {"connection_id":151630,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:35:29] local.INFO: IMEI packet received {"connection_id":151630,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":151630,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:35:32] local.INFO: TCP Data received {"connection_id":151630,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151630,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:35:32] local.INFO: Processing buffer {"connection_id":151630,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:35:32] local.INFO: IMEI packet received {"connection_id":151630,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":151630,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:35:32] local.INFO: TCP Data received {"connection_id":151630,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151630,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:35:32] local.INFO: Processing buffer {"connection_id":151630,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:35:32] local.INFO: IMEI packet received {"connection_id":151630,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":151630,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:35:33] local.INFO: TCP Data received {"connection_id":151630,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151630,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:35:33] local.INFO: Processing buffer {"connection_id":151630,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:35:33] local.INFO: IMEI packet received {"connection_id":151630,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":151630,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:35:41] local.INFO: TCP Data received {"connection_id":152018,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:35:41] local.INFO: Processing buffer {"connection_id":152018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb546ed8012d342a4006abc280001b01021f..."} 
[2026-08-10 16:35:41] local.INFO: Packet analysis {"connection_id":152018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:35:41] local.INFO: Extracted packet for processing {"connection_id":152018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb54"} 
[2026-08-10 16:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457307982336001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786359607000,"timestamp_ms":1786359607000,"timestamp_seconds":1786359607,"priority":1,"record_length":96,"hex_timestamp":"0000019feb546ed8"} 
[2026-08-10 16:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 16:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457307982336001,"66":25223,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457307982336001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:35:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457307982336001,"power":25223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":152018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:35:41] local.INFO: GPS data processed {"connection_id":152018,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:35:41] local.INFO: Acknowledgment sent {"connection_id":152018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:35:42] local.INFO: TCP Data received {"connection_id":152019,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:35:42] local.INFO: Processing buffer {"connection_id":152019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:35:42] local.INFO: IMEI packet received {"connection_id":152019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":152019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:35:45] local.INFO: TCP Data received {"connection_id":152943,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5889a0012d7af80005e37f40000600a323..."} 
[2026-08-10 16:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5889a0012d7af80005e37f40000600a323..."} 
[2026-08-10 16:35:45] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5889a0012d7af80005e37f40000600a323..."} 
[2026-08-10 16:35:45] local.INFO: Packet analysis {"connection_id":152943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:35:45] local.INFO: Extracted packet for processing {"connection_id":152943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:35:45] local.INFO: GPS Element Parsed {"raw_longitude":763033600,"raw_latitude":98795328,"longitude_deg":76.30336,"latitude_deg":9.8795328,"altitude":6,"angle":163,"satellites":35,"speed":15,"hex_longitude":"2d7af800","hex_latitude":"05e37f40","is_valid_coordinates":true} 
[2026-08-10 16:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308123136001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117283737103761408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858510123586600960,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786359876000,"timestamp_ms":1786359876000,"timestamp_seconds":1786359876,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5889a0"} 
[2026-08-10 16:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 16:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308123136001,"66":12961,"97":206,"85":15104,"24":15,"16":117283737103761408,"45":8858510123586600960},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308123136001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:35:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:35:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117283737103761408,"km_value":117283737103761.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858510123586600960,"description":"Unknown IO ID 45"} 
[2026-08-10 16:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308123136001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8858510123586600960}} 
[2026-08-10 16:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":152943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:35:45] local.INFO: GPS data processed {"connection_id":152943,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:35:45] local.INFO: Acknowledgment sent {"connection_id":152943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:35:47] local.INFO: TCP Data received {"connection_id":152019,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:35:47] local.INFO: Processing buffer {"connection_id":152019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:35:47] local.INFO: IMEI packet received {"connection_id":152019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":152019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:35:48] local.INFO: TCP Data received {"connection_id":152019,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb577060012d196700071feeb8003a005627..."} 
[2026-08-10 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb577060012d196700071feeb8003a005627..."} 
[2026-08-10 16:35:48] local.INFO: Processing buffer {"connection_id":152019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb577060012d196700071feeb8003a005627..."} 
[2026-08-10 16:35:48] local.INFO: Packet analysis {"connection_id":152019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb57"} 
[2026-08-10 16:35:48] local.INFO: Extracted packet for processing {"connection_id":152019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb57"} 
[2026-08-10 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308104448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786359804000,"timestamp_ms":1786359804000,"timestamp_seconds":1786359804,"priority":1,"record_length":96,"hex_timestamp":"0000019feb577060"} 
[2026-08-10 16:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 16:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308104448001,"66":12765,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308104448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:35:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:35:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308104448001,"power":12765,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":152019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:35:48] local.INFO: GPS data processed {"connection_id":152019,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:35:48] local.INFO: Acknowledgment sent {"connection_id":152019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:36:03] local.INFO: TCP Data received {"connection_id":151631,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:36:03] local.INFO: Processing buffer {"connection_id":151631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:36:03] local.INFO: IMEI packet received {"connection_id":151631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":151631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:36:06] local.INFO: TCP Data received {"connection_id":152944,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:36:06] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:36:06] local.INFO: IMEI packet received {"connection_id":152944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":152944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:36:07] local.INFO: TCP Data received {"connection_id":152944,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:36:07] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:36:07] local.INFO: IMEI packet received {"connection_id":152944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":152944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:36:08] local.INFO: TCP Data received {"connection_id":151631,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:36:08] local.INFO: Processing buffer {"connection_id":151631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:36:08] local.INFO: IMEI packet received {"connection_id":151631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":151631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:36:09] local.INFO: TCP Data received {"connection_id":151631,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:36:09] local.INFO: Processing buffer {"connection_id":151631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:36:09] local.INFO: Packet analysis {"connection_id":151631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:36:09] local.INFO: Extracted packet for processing {"connection_id":151631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059392001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786359908000,"timestamp_ms":1786359908000,"timestamp_seconds":1786359908,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5906a0"} 
[2026-08-10 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-08-10 16:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 16:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059392001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059392001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:36:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059392001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":151631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:36:09] local.INFO: GPS data processed {"connection_id":151631,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:36:09] local.INFO: Acknowledgment sent {"connection_id":151631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:36:12] local.INFO: TCP Data received {"connection_id":152944,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:36:12] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:36:12] local.INFO: IMEI packet received {"connection_id":152944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":152944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:36:13] local.INFO: TCP Data received {"connection_id":152944,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb58c438012d7b02c005e35d580008009b25..."} 
[2026-08-10 16:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb58c438012d7b02c005e35d580008009b25..."} 
[2026-08-10 16:36:13] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb58c438012d7b02c005e35d580008009b25..."} 
[2026-08-10 16:36:13] local.INFO: Packet analysis {"connection_id":152944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:36:13] local.INFO: Extracted packet for processing {"connection_id":152944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:36:13] local.INFO: GPS Element Parsed {"raw_longitude":763036352,"raw_latitude":98786648,"longitude_deg":76.3036352,"latitude_deg":9.8786648,"altitude":8,"angle":155,"satellites":37,"speed":30,"hex_longitude":"2d7b02c0","hex_latitude":"05e35d58","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308128256001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117284179485392896,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860832292143054848,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786359891000,"timestamp_ms":1786359891000,"timestamp_seconds":1786359891,"priority":1,"record_length":96,"hex_timestamp":"0000019feb58c438"} 
[2026-08-10 16:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 16:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308128256001,"66":13189,"97":206,"85":15104,"24":30,"16":117284179485392896,"45":8860832292143054848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308128256001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:36:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:36:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117284179485392896,"km_value":117284179485392.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860832292143054848,"description":"Unknown IO ID 45"} 
[2026-08-10 16:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308128256001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8860832292143054848}} 
[2026-08-10 16:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":152944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:36:13] local.INFO: GPS data processed {"connection_id":152944,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:36:13] local.INFO: Acknowledgment sent {"connection_id":152944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:36:14] local.INFO: TCP Data received {"connection_id":151631,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:36:14] local.INFO: Processing buffer {"connection_id":151631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:36:14] local.INFO: Packet analysis {"connection_id":151631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:36:14] local.INFO: Extracted packet for processing {"connection_id":151631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059392001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786359908000,"timestamp_ms":1786359908000,"timestamp_seconds":1786359908,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5906a0"} 
[2026-08-10 16:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 16:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059392001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059392001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:36:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059392001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":151631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:36:14] local.INFO: GPS data processed {"connection_id":151631,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:36:14] local.INFO: Acknowledgment sent {"connection_id":151631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:36:20] local.INFO: TCP Data received {"connection_id":152019,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb57c268012d196700071feeb8003a005626..."} 
[2026-08-10 16:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb57c268012d196700071feeb8003a005626..."} 
[2026-08-10 16:36:20] local.INFO: Processing buffer {"connection_id":152019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb57c268012d196700071feeb8003a005626..."} 
[2026-08-10 16:36:20] local.INFO: Packet analysis {"connection_id":152019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb57"} 
[2026-08-10 16:36:20] local.INFO: Extracted packet for processing {"connection_id":152019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb57"} 
[2026-08-10 16:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308109824001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786359825000,"timestamp_ms":1786359825000,"timestamp_seconds":1786359825,"priority":1,"record_length":96,"hex_timestamp":"0000019feb57c268"} 
[2026-08-10 16:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:36: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":221,"data_length":795,"current_offset":136} 
[2026-08-10 16:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308109824001,"66":12841,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308109824001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:36:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:36:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308109824001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":152019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:36:20] local.INFO: GPS data processed {"connection_id":152019,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:36:20] local.INFO: Acknowledgment sent {"connection_id":152019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:36:42] local.INFO: TCP Data received {"connection_id":151632,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:36:42] local.INFO: Processing buffer {"connection_id":151632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:36:42] local.INFO: IMEI packet received {"connection_id":151632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":151632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:36:45] local.INFO: TCP Data received {"connection_id":152944,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb58f700012d7b0b0005e34758000a00a626..."} 
[2026-08-10 16:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb58f700012d7b0b0005e34758000a00a626..."} 
[2026-08-10 16:36:45] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb58f700012d7b0b0005e34758000a00a626..."} 
[2026-08-10 16:36:45] local.INFO: Packet analysis {"connection_id":152944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:36:45] local.INFO: Extracted packet for processing {"connection_id":152944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:36:45] local.INFO: GPS Element Parsed {"raw_longitude":763038464,"raw_latitude":98781016,"longitude_deg":76.3038464,"latitude_deg":9.8781016,"altitude":10,"angle":166,"satellites":38,"speed":18,"hex_longitude":"2d7b0b00","hex_latitude":"05e34758","is_valid_coordinates":true} 
[2026-08-10 16:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308132096001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117284475838136320,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863858148140472320,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786359904000,"timestamp_ms":1786359904000,"timestamp_seconds":1786359904,"priority":1,"record_length":96,"hex_timestamp":"0000019feb58f700"} 
[2026-08-10 16:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 16:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308132096001,"66":13222,"97":206,"85":15104,"24":18,"16":117284475838136320,"45":8863858148140472320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308132096001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:36:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:36:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117284475838136320,"km_value":117284475838136.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863858148140472320,"description":"Unknown IO ID 45"} 
[2026-08-10 16:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308132096001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8863858148140472320}} 
[2026-08-10 16:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":152944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:36:45] local.INFO: GPS data processed {"connection_id":152944,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:36:45] local.INFO: Acknowledgment sent {"connection_id":152944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:36:47] local.INFO: TCP Data received {"connection_id":151632,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:36:47] local.INFO: Processing buffer {"connection_id":151632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:36:47] local.INFO: IMEI packet received {"connection_id":151632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":151632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:36:54] local.INFO: TCP Data received {"connection_id":151632,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb581470012d196700071feeb8003a005625..."} 
[2026-08-10 16:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb581470012d196700071feeb8003a005625..."} 
[2026-08-10 16:36:54] local.INFO: Processing buffer {"connection_id":151632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb581470012d196700071feeb8003a005625..."} 
[2026-08-10 16:36:54] local.INFO: Packet analysis {"connection_id":151632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:36:54] local.INFO: Extracted packet for processing {"connection_id":151632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:36:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308115200001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:36: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-08-10 16:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786359846000,"timestamp_ms":1786359846000,"timestamp_seconds":1786359846,"priority":1,"record_length":96,"hex_timestamp":"0000019feb581470"} 
[2026-08-10 16:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 16:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308115200001,"66":12852,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308115200001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:36:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:36:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308115200001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":151632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:36:54] local.INFO: GPS data processed {"connection_id":151632,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:36:54] local.INFO: Acknowledgment sent {"connection_id":151632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:36:58] local.INFO: TCP Data received {"connection_id":152021,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:36:58] local.INFO: Processing buffer {"connection_id":152021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:36:58] local.INFO: IMEI packet received {"connection_id":152021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":152021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:37:07] local.INFO: TCP Data received {"connection_id":154395,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:37:07] local.INFO: Processing buffer {"connection_id":154395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:37:07] local.INFO: IMEI packet received {"connection_id":154395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":154395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:37:10] local.INFO: TCP Data received {"connection_id":152021,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:37:10] local.INFO: Processing buffer {"connection_id":152021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:37:10] local.INFO: IMEI packet received {"connection_id":152021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":152021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:37:12] local.INFO: TCP Data received {"connection_id":152021,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:37:12] local.INFO: Processing buffer {"connection_id":152021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:37:12] local.INFO: Packet analysis {"connection_id":152021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:37:12] local.INFO: Extracted packet for processing {"connection_id":152021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:37:12] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059392001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786359908000,"timestamp_ms":1786359908000,"timestamp_seconds":1786359908,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5906a0"} 
[2026-08-10 16:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:37: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-08-10 16: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 16:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059392001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059392001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:37:12] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:37:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059392001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":152021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:37:12] local.INFO: GPS data processed {"connection_id":152021,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:37:12] local.INFO: Acknowledgment sent {"connection_id":152021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:37:12] local.INFO: TCP Data received {"connection_id":154395,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:37:12] local.INFO: Processing buffer {"connection_id":154395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:37:12] local.INFO: IMEI packet received {"connection_id":154395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":154395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:37:13] local.INFO: TCP Data received {"connection_id":154395,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5aac80012d7b220005e291700009011b22..."} 
[2026-08-10 16:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5aac80012d7b220005e291700009011b22..."} 
[2026-08-10 16:37:13] local.INFO: Processing buffer {"connection_id":154395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5aac80012d7b220005e291700009011b22..."} 
[2026-08-10 16:37:13] local.INFO: Packet analysis {"connection_id":154395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:37:13] local.INFO: Extracted packet for processing {"connection_id":154395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763044352,"raw_latitude":98734448,"longitude_deg":76.3044352,"latitude_deg":9.8734448,"altitude":9,"angle":283,"satellites":34,"speed":5,"hex_longitude":"2d7b2200","hex_latitude":"05e29170","is_valid_coordinates":true} 
[2026-08-10 16:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308163584001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117286816595312640,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873217191102771200,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786360016000,"timestamp_ms":1786360016000,"timestamp_seconds":1786360016,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5aac80"} 
[2026-08-10 16:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-10 16:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308163584001,"66":13406,"96":206,"85":15104,"24":5,"16":117286816595312640,"45":8873217191102771200},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 16:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308163584001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:37:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117286816595312640,"km_value":117286816595312.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873217191102771200,"description":"Unknown IO ID 45"} 
[2026-08-10 16:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308163584001,"power":13406,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8873217191102771200}} 
[2026-08-10 16:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":154395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:37:13] local.INFO: GPS data processed {"connection_id":154395,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:37:13] local.INFO: Acknowledgment sent {"connection_id":154395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:37:44] local.INFO: TCP Data received {"connection_id":154395,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5ab068012d7b218005e291880009013c23..."} 
[2026-08-10 16:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5ab068012d7b218005e291880009013c23..."} 
[2026-08-10 16:37:44] local.INFO: Processing buffer {"connection_id":154395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5ab068012d7b218005e291880009013c23..."} 
[2026-08-10 16:37:44] local.INFO: Packet analysis {"connection_id":154395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:37:44] local.INFO: Extracted packet for processing {"connection_id":154395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:37:44] local.INFO: GPS Element Parsed {"raw_longitude":763044224,"raw_latitude":98734472,"longitude_deg":76.3044224,"latitude_deg":9.8734472,"altitude":9,"angle":316,"satellites":35,"speed":6,"hex_longitude":"2d7b2180","hex_latitude":"05e29188","is_valid_coordinates":true} 
[2026-08-10 16:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308164096001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117286820890279936,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872654241149317120,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786360017000,"timestamp_ms":1786360017000,"timestamp_seconds":1786360017,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5ab068"} 
[2026-08-10 16:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 16:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308164096001,"66":13406,"96":206,"85":15104,"24":6,"16":117286820890279936,"45":8872654241149317120},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 16:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308164096001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:37:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:37:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117286820890279936,"km_value":117286820890279.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872654241149317120,"description":"Unknown IO ID 45"} 
[2026-08-10 16:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308164096001,"power":13406,"unknown_96":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8872654241149317120}} 
[2026-08-10 16:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":154395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:37:44] local.INFO: GPS data processed {"connection_id":154395,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:37:44] local.INFO: Acknowledgment sent {"connection_id":154395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:37:44] local.INFO: TCP Data received {"connection_id":152021,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:37:44] local.INFO: Processing buffer {"connection_id":152021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:37:44] local.INFO: Packet analysis {"connection_id":152021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:37:44] local.INFO: Extracted packet for processing {"connection_id":152021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059392001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786359908000,"timestamp_ms":1786359908000,"timestamp_seconds":1786359908,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5906a0"} 
[2026-08-10 16:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 16:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059392001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059392001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:37:44] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059392001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":152021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:37:44] local.INFO: GPS data processed {"connection_id":152021,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:37:44] local.INFO: Acknowledgment sent {"connection_id":152021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:37:47] local.INFO: TCP Data received {"connection_id":151633,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:37:47] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:37:47] local.INFO: IMEI packet received {"connection_id":151633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":151633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:37:52] local.INFO: TCP Data received {"connection_id":151633,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:37:52] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:37:52] local.INFO: IMEI packet received {"connection_id":151633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":151633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:37:53] local.INFO: TCP Data received {"connection_id":151633,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb586678012d196700071feeb8003a005626..."} 
[2026-08-10 16:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb586678012d196700071feeb8003a005626..."} 
[2026-08-10 16:37:53] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb586678012d196700071feeb8003a005626..."} 
[2026-08-10 16:37:53] local.INFO: Packet analysis {"connection_id":151633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:37:53] local.INFO: Extracted packet for processing {"connection_id":151633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:37:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308120576001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786359867000,"timestamp_ms":1786359867000,"timestamp_seconds":1786359867,"priority":1,"record_length":96,"hex_timestamp":"0000019feb586678"} 
[2026-08-10 16:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-10 16:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308120576001,"66":12798,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308120576001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:37:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:37:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308120576001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":151633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:37:53] local.INFO: GPS data processed {"connection_id":151633,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:37:53] local.INFO: Acknowledgment sent {"connection_id":151633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:37:55] local.INFO: TCP Data received {"connection_id":151633,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb58b880012d196700071feeb8003a005623..."} 
[2026-08-10 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb58b880012d196700071feeb8003a005623..."} 
[2026-08-10 16:37:55] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb58b880012d196700071feeb8003a005623..."} 
[2026-08-10 16:37:55] local.INFO: Packet analysis {"connection_id":151633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:37:55] local.INFO: Extracted packet for processing {"connection_id":151633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb58"} 
[2026-08-10 16:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308125952001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:37: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-08-10 16:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786359888000,"timestamp_ms":1786359888000,"timestamp_seconds":1786359888,"priority":1,"record_length":96,"hex_timestamp":"0000019feb58b880"} 
[2026-08-10 16:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:37: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-08-10 16:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 16:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308125952001,"66":12776,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308125952001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:37:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308125952001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":151633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:37:55] local.INFO: GPS data processed {"connection_id":151633,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:37:55] local.INFO: Acknowledgment sent {"connection_id":151633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:37:59] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:37:59] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:37:59] local.INFO: IMEI packet received {"connection_id":151634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":151634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:38:04] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:38:04] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:38:04] local.INFO: IMEI packet received {"connection_id":151634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":151634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:38:09] local.INFO: TCP Data received {"connection_id":151635,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:38:09] local.INFO: Processing buffer {"connection_id":151635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:38:09] local.INFO: IMEI packet received {"connection_id":151635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":151635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:38:12] local.INFO: TCP Data received {"connection_id":151635,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:38:12] local.INFO: Processing buffer {"connection_id":151635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:38:12] local.INFO: IMEI packet received {"connection_id":151635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":151635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:38:12] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:38:12] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:38:12] local.INFO: Packet analysis {"connection_id":151634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:38:12] local.INFO: Extracted packet for processing {"connection_id":151634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:38:12] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059392001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786359908000,"timestamp_ms":1786359908000,"timestamp_seconds":1786359908,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5906a0"} 
[2026-08-10 16:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:38: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-08-10 16: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 16:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:38: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-08-10 16:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059392001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059392001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:38:12] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:38:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059392001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":151634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:38:12] local.INFO: GPS data processed {"connection_id":151634,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:38:12] local.INFO: Acknowledgment sent {"connection_id":151634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:38:35] local.INFO: TCP Data received {"connection_id":151635,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5ab450012d7b208005e292180009015124..."} 
[2026-08-10 16:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5ab450012d7b208005e292180009015124..."} 
[2026-08-10 16:38:35] local.INFO: Processing buffer {"connection_id":151635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5ab450012d7b208005e292180009015124..."} 
[2026-08-10 16:38:35] local.INFO: Packet analysis {"connection_id":151635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:38:35] local.INFO: Extracted packet for processing {"connection_id":151635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:38:35] local.INFO: GPS Element Parsed {"raw_longitude":763043968,"raw_latitude":98734616,"longitude_deg":76.3043968,"latitude_deg":9.8734616,"altitude":9,"angle":337,"satellites":36,"speed":9,"hex_longitude":"2d7b2080","hex_latitude":"05e29218","is_valid_coordinates":true} 
[2026-08-10 16:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308164352001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117286833775181824,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872513503660967936,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786360018000,"timestamp_ms":1786360018000,"timestamp_seconds":1786360018,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5ab450"} 
[2026-08-10 16:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-10 16:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308164352001,"66":13406,"96":206,"85":15104,"24":9,"16":117286833775181824,"45":8872513503660967936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 16:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308164352001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:38:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 16:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117286833775181824,"km_value":117286833775181.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872513503660967936,"description":"Unknown IO ID 45"} 
[2026-08-10 16:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308164352001,"power":13406,"unknown_96":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8872513503660967936}} 
[2026-08-10 16:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":151635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:38:35] local.INFO: GPS data processed {"connection_id":151635,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:38:35] local.INFO: Acknowledgment sent {"connection_id":151635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:38:43] local.INFO: TCP Data received {"connection_id":152946,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:38:43] local.INFO: Processing buffer {"connection_id":152946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:38:43] local.INFO: IMEI packet received {"connection_id":152946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":152946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:38:44] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:38:44] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:38:44] local.INFO: Packet analysis {"connection_id":151634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:38:44] local.INFO: Extracted packet for processing {"connection_id":151634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059392001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786359908000,"timestamp_ms":1786359908000,"timestamp_seconds":1786359908,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5906a0"} 
[2026-08-10 16:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 16:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059392001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059392001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:38:44] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059392001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":151634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:38:44] local.INFO: GPS data processed {"connection_id":151634,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:38:44] local.INFO: Acknowledgment sent {"connection_id":151634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:38:47] local.INFO: TCP Data received {"connection_id":152946,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:38:47] local.INFO: Processing buffer {"connection_id":152946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:38:47] local.INFO: IMEI packet received {"connection_id":152946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":152946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:38:54] local.INFO: TCP Data received {"connection_id":152946,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb595c90012d196700071feeb8003a005624..."} 
[2026-08-10 16:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb595c90012d196700071feeb8003a005624..."} 
[2026-08-10 16:38:54] local.INFO: Processing buffer {"connection_id":152946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb595c90012d196700071feeb8003a005624..."} 
[2026-08-10 16:38:54] local.INFO: Packet analysis {"connection_id":152946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:38:54] local.INFO: Extracted packet for processing {"connection_id":152946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:38:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308136704001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38: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-08-10 16:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786359930000,"timestamp_ms":1786359930000,"timestamp_seconds":1786359930,"priority":1,"record_length":96,"hex_timestamp":"0000019feb595c90"} 
[2026-08-10 16:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:38: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-08-10 16:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-10 16:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308136704001,"66":12591,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308136704001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:38:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:38:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308136704001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":152946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:38:54] local.INFO: GPS data processed {"connection_id":152946,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:38:54] local.INFO: Acknowledgment sent {"connection_id":152946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:38:58] local.INFO: TCP Data received {"connection_id":152946,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb59ae98012d196700071feeb8003a005624..."} 
[2026-08-10 16:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb59ae98012d196700071feeb8003a005624..."} 
[2026-08-10 16:38:58] local.INFO: Processing buffer {"connection_id":152946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb59ae98012d196700071feeb8003a005624..."} 
[2026-08-10 16:38:58] local.INFO: Packet analysis {"connection_id":152946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:38:58] local.INFO: Extracted packet for processing {"connection_id":152946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:38:58] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308142080001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786359951000,"timestamp_ms":1786359951000,"timestamp_seconds":1786359951,"priority":1,"record_length":96,"hex_timestamp":"0000019feb59ae98"} 
[2026-08-10 16:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 16:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308142080001,"66":12722,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308142080001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:38:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:38:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308142080001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":152946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:38:58] local.INFO: GPS data processed {"connection_id":152946,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:38:58] local.INFO: Acknowledgment sent {"connection_id":152946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:39:03] local.INFO: TCP Data received {"connection_id":152022,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:39:03] local.INFO: Processing buffer {"connection_id":152022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:39:03] local.INFO: IMEI packet received {"connection_id":152022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":152022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:39:08] local.INFO: TCP Data received {"connection_id":152022,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:39:08] local.INFO: Processing buffer {"connection_id":152022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:39:08] local.INFO: IMEI packet received {"connection_id":152022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":152022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:39:09] local.INFO: TCP Data received {"connection_id":152022,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:39:09] local.INFO: Processing buffer {"connection_id":152022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:39:09] local.INFO: Packet analysis {"connection_id":152022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:39:09] local.INFO: Extracted packet for processing {"connection_id":152022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059392001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786359908000,"timestamp_ms":1786359908000,"timestamp_seconds":1786359908,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5906a0"} 
[2026-08-10 16:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 16:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059392001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059392001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:39:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059392001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":152022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:39:09] local.INFO: GPS data processed {"connection_id":152022,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:39:09] local.INFO: Acknowledgment sent {"connection_id":152022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:39:11] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:39:11] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:39:11] local.INFO: IMEI packet received {"connection_id":151636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":151636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:39:12] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:39:12] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:39:12] local.INFO: IMEI packet received {"connection_id":151636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":151636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:39:14] local.INFO: TCP Data received {"connection_id":152022,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:39:14] local.INFO: Processing buffer {"connection_id":152022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:39:14] local.INFO: Packet analysis {"connection_id":152022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:39:14] local.INFO: Extracted packet for processing {"connection_id":152022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059392001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786359908000,"timestamp_ms":1786359908000,"timestamp_seconds":1786359908,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5906a0"} 
[2026-08-10 16:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 16:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059392001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059392001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:39:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059392001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":152022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:39:14] local.INFO: GPS data processed {"connection_id":152022,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:39:14] local.INFO: Acknowledgment sent {"connection_id":152022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:39:17] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:39:17] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:39:17] local.INFO: IMEI packet received {"connection_id":151636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":151636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:39:18] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5c2380012d7af64005e379680006015826..."} 
[2026-08-10 16:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5c2380012d7af64005e379680006015826..."} 
[2026-08-10 16:39:18] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5c2380012d7af64005e379680006015826..."} 
[2026-08-10 16:39:18] local.INFO: Packet analysis {"connection_id":151636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5c"} 
[2026-08-10 16:39:18] local.INFO: Extracted packet for processing {"connection_id":151636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5c"} 
[2026-08-10 16:39:18] local.INFO: GPS Element Parsed {"raw_longitude":763033152,"raw_latitude":98793832,"longitude_deg":76.3033152,"latitude_deg":9.8793832,"altitude":6,"angle":344,"satellites":38,"speed":22,"hex_longitude":"2d7af640","hex_latitude":"05e37968","is_valid_coordinates":true} 
[2026-08-10 16:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308185856001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117289801597583360,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863295198186672128,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786360112000,"timestamp_ms":1786360112000,"timestamp_seconds":1786360112,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5c2380"} 
[2026-08-10 16:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 16:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308185856001,"66":13243,"97":206,"85":15104,"24":22,"16":117289801597583360,"45":8863295198186672128},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308185856001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:39:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:39:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117289801597583360,"km_value":117289801597583.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863295198186672128,"description":"Unknown IO ID 45"} 
[2026-08-10 16:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308185856001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8863295198186672128}} 
[2026-08-10 16:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":151636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:39:18] local.INFO: GPS data processed {"connection_id":151636,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:39:18] local.INFO: Acknowledgment sent {"connection_id":151636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:39:42] local.INFO: TCP Data received {"connection_id":152948,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:39:42] local.INFO: Processing buffer {"connection_id":152948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:39:42] local.INFO: IMEI packet received {"connection_id":152948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":152948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:39:47] local.INFO: TCP Data received {"connection_id":152948,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:39:47] local.INFO: Processing buffer {"connection_id":152948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:39:47] local.INFO: IMEI packet received {"connection_id":152948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":152948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:39:48] local.INFO: TCP Data received {"connection_id":152948,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5a00a0012d196700071feeb8003a005624..."} 
[2026-08-10 16:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5a00a0012d196700071feeb8003a005624..."} 
[2026-08-10 16:39:48] local.INFO: Processing buffer {"connection_id":152948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5a00a0012d196700071feeb8003a005624..."} 
[2026-08-10 16:39:48] local.INFO: Packet analysis {"connection_id":152948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:39:48] local.INFO: Extracted packet for processing {"connection_id":152948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308147456001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786359972000,"timestamp_ms":1786359972000,"timestamp_seconds":1786359972,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5a00a0"} 
[2026-08-10 16:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:39: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-08-10 16: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":178,"data_length":795,"current_offset":136} 
[2026-08-10 16:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308147456001,"66":12743,"71":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-08-10 16:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308147456001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:39:48] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 16:39:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308147456001,"power":12743,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":152948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:39:48] local.INFO: GPS data processed {"connection_id":152948,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:39:48] local.INFO: Acknowledgment sent {"connection_id":152948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:39:50] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5c3af0012d7af38005e381100005014c1e..."} 
[2026-08-10 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5c3af0012d7af38005e381100005014c1e..."} 
[2026-08-10 16:39:50] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5c3af0012d7af38005e381100005014c1e..."} 
[2026-08-10 16:39:50] local.INFO: Packet analysis {"connection_id":151636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5c"} 
[2026-08-10 16:39:50] local.INFO: Extracted packet for processing {"connection_id":151636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5c"} 
[2026-08-10 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":763032448,"raw_latitude":98795792,"longitude_deg":76.3032448,"latitude_deg":9.8795792,"altitude":5,"angle":332,"satellites":30,"speed":7,"hex_longitude":"2d7af380","hex_latitude":"05e38110","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308188672001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117289900381831168,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860339710933428224,"note":"Value kept but may cause issues"} 
[2026-08-10 16:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786360118000,"timestamp_ms":1786360118000,"timestamp_seconds":1786360118,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5c3af0"} 
[2026-08-10 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-08-10 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 16:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308188672001,"66":12939,"97":206,"85":15104,"24":7,"16":117289900381831168,"45":8860339710933428224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308188672001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:39:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:39:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117289900381831168,"km_value":117289900381831.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860339710933428224,"description":"Unknown IO ID 45"} 
[2026-08-10 16:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308188672001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8860339710933428224}} 
[2026-08-10 16:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":151636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:39:50] local.INFO: GPS data processed {"connection_id":151636,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:39:50] local.INFO: Acknowledgment sent {"connection_id":151636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:39:58] local.INFO: TCP Data received {"connection_id":152023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:39:58] local.INFO: Processing buffer {"connection_id":152023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:39:58] local.INFO: IMEI packet received {"connection_id":152023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":152023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:40:08] local.INFO: TCP Data received {"connection_id":152023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:40:08] local.INFO: Processing buffer {"connection_id":152023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:40:08] local.INFO: IMEI packet received {"connection_id":152023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":152023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:40:11] local.INFO: TCP Data received {"connection_id":152023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:40:11] local.INFO: Processing buffer {"connection_id":152023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:40:11] local.INFO: Packet analysis {"connection_id":152023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:40:11] local.INFO: Extracted packet for processing {"connection_id":152023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059392001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786359908000,"timestamp_ms":1786359908000,"timestamp_seconds":1786359908,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5906a0"} 
[2026-08-10 16:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 16:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:40: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-08-10 16:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059392001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059392001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:40:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:40:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059392001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":152023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:40:11] local.INFO: GPS data processed {"connection_id":152023,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:40:11] local.INFO: Acknowledgment sent {"connection_id":152023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:40:11] local.INFO: TCP Data received {"connection_id":152023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:40:11] local.INFO: Processing buffer {"connection_id":152023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:40:11] local.INFO: Packet analysis {"connection_id":152023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:40:11] local.INFO: Extracted packet for processing {"connection_id":152023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059392001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786359908000,"timestamp_ms":1786359908000,"timestamp_seconds":1786359908,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5906a0"} 
[2026-08-10 16:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 16:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:40: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-08-10 16:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059392001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059392001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:40:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:40:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059392001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":152023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:40:11] local.INFO: GPS data processed {"connection_id":152023,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:40:11] local.INFO: Acknowledgment sent {"connection_id":152023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:40:20] local.INFO: TCP Data received {"connection_id":152948,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5a52a8012d196700071feeb8003a005626..."} 
[2026-08-10 16:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5a52a8012d196700071feeb8003a005626..."} 
[2026-08-10 16:40:20] local.INFO: Processing buffer {"connection_id":152948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5a52a8012d196700071feeb8003a005626..."} 
[2026-08-10 16:40:20] local.INFO: Packet analysis {"connection_id":152948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:40:20] local.INFO: Extracted packet for processing {"connection_id":152948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308152832001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786359993000,"timestamp_ms":1786359993000,"timestamp_seconds":1786359993,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5a52a8"} 
[2026-08-10 16:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-10 16:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308152832001,"66":12722,"71":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-08-10 16:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308152832001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:40:20] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 16:40:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308152832001,"power":12722,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":152948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:40:20] local.INFO: GPS data processed {"connection_id":152948,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:40:20] local.INFO: Acknowledgment sent {"connection_id":152948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:40:22] local.INFO: TCP Data received {"connection_id":151637,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:40:22] local.INFO: Processing buffer {"connection_id":151637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:40:22] local.INFO: IMEI packet received {"connection_id":151637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":151637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:40:23] local.INFO: TCP Data received {"connection_id":151637,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:40:23] local.INFO: Processing buffer {"connection_id":151637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:40:23] local.INFO: IMEI packet received {"connection_id":151637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":151637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:40:26] local.INFO: TCP Data received {"connection_id":151637,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5c5648012d7af2c005e384780004016321..."} 
[2026-08-10 16:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5c5648012d7af2c005e384780004016321..."} 
[2026-08-10 16:40:26] local.INFO: Processing buffer {"connection_id":151637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5c5648012d7af2c005e384780004016321..."} 
[2026-08-10 16:40:26] local.INFO: Packet analysis {"connection_id":151637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5c"} 
[2026-08-10 16:40:26] local.INFO: Extracted packet for processing {"connection_id":151637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5c"} 
[2026-08-10 16:40:26] local.INFO: GPS Element Parsed {"raw_longitude":763032256,"raw_latitude":98796664,"longitude_deg":76.3032256,"latitude_deg":9.8796664,"altitude":4,"angle":355,"satellites":33,"speed":6,"hex_longitude":"2d7af2c0","hex_latitude":"05e38478","is_valid_coordinates":true} 
[2026-08-10 16:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308190208001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117289947626471424,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859565654747975680,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786360125000,"timestamp_ms":1786360125000,"timestamp_seconds":1786360125,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5c5648"} 
[2026-08-10 16:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 16:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308190208001,"66":13059,"97":206,"85":15104,"24":6,"16":117289947626471424,"45":8859565654747975680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308190208001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:40:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:40:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117289947626471424,"km_value":117289947626471.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859565654747975680,"description":"Unknown IO ID 45"} 
[2026-08-10 16:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308190208001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8859565654747975680}} 
[2026-08-10 16:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":151637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:40:26] local.INFO: GPS data processed {"connection_id":151637,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:40:26] local.INFO: Acknowledgment sent {"connection_id":151637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:40:37] local.INFO: TCP Data received {"connection_id":152949,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:40:37] local.INFO: Processing buffer {"connection_id":152949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:40:37] local.INFO: IMEI packet received {"connection_id":152949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":152949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:40:39] local.INFO: TCP Data received {"connection_id":152949,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5d92b0012d0c9bc007077888001f010a19..."} 
[2026-08-10 16:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5d92b0012d0c9bc007077888001f010a19..."} 
[2026-08-10 16:40:39] local.INFO: Processing buffer {"connection_id":152949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5d92b0012d0c9bc007077888001f010a19..."} 
[2026-08-10 16:40:39] local.INFO: Packet analysis {"connection_id":152949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:40:39] local.INFO: Extracted packet for processing {"connection_id":152949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:40:39] local.INFO: GPS Element Parsed {"raw_longitude":755801024,"raw_latitude":117930120,"longitude_deg":75.5801024,"latitude_deg":11.793012,"altitude":31,"angle":266,"satellites":25,"speed":16,"hex_longitude":"2d0c9bc0","hex_latitude":"07077888","is_valid_coordinates":true} 
[2026-08-10 16:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308211712001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27476357491458048,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911345636035065856,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786360206000,"timestamp_ms":1786360206000,"timestamp_seconds":1786360206,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5d92b0"} 
[2026-08-10 16:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 16:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308211712001,"66":14450,"221":206,"94":10240,"24":16,"16":27476357491458048,"45":911345636035065856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 16:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308211712001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:40:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 16:40:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27476357491458048,"km_value":27476357491458.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":911345636035065856,"description":"Unknown IO ID 45"} 
[2026-08-10 16:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308211712001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":911345636035065856}} 
[2026-08-10 16:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":152949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620776,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:40:39] local.INFO: GPS data processed {"connection_id":152949,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:40:39] local.INFO: Acknowledgment sent {"connection_id":152949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:40:42] local.INFO: TCP Data received {"connection_id":151638,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:40:42] local.INFO: Processing buffer {"connection_id":151638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:40:42] local.INFO: IMEI packet received {"connection_id":151638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":151638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:40:42] local.INFO: TCP Data received {"connection_id":152023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:40:42] local.INFO: Processing buffer {"connection_id":152023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5906a0012d342a4006abc280001b010220..."} 
[2026-08-10 16:40:42] local.INFO: Packet analysis {"connection_id":152023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:40:42] local.INFO: Extracted packet for processing {"connection_id":152023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb59"} 
[2026-08-10 16:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308059392001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786359908000,"timestamp_ms":1786359908000,"timestamp_seconds":1786359908,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5906a0"} 
[2026-08-10 16:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-10 16:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308059392001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308059392001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:40:42] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308059392001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":152023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:40:43] local.INFO: GPS data processed {"connection_id":152023,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:40:43] local.INFO: Acknowledgment sent {"connection_id":152023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:40:44] local.INFO: TCP Data received {"connection_id":151637,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5c7588012d7af24005e388580004015521..."} 
[2026-08-10 16:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5c7588012d7af24005e388580004015521..."} 
[2026-08-10 16:40:44] local.INFO: Processing buffer {"connection_id":151637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5c7588012d7af24005e388580004015521..."} 
[2026-08-10 16:40:44] local.INFO: Packet analysis {"connection_id":151637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5c"} 
[2026-08-10 16:40:44] local.INFO: Extracted packet for processing {"connection_id":151637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5c"} 
[2026-08-10 16:40:44] local.INFO: GPS Element Parsed {"raw_longitude":763032128,"raw_latitude":98797656,"longitude_deg":76.3032128,"latitude_deg":9.8797656,"altitude":4,"angle":341,"satellites":33,"speed":8,"hex_longitude":"2d7af240","hex_latitude":"05e38858","is_valid_coordinates":true} 
[2026-08-10 16:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308192000001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117290003461046272,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859354548515665920,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786360133000,"timestamp_ms":1786360133000,"timestamp_seconds":1786360133,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5c7588"} 
[2026-08-10 16:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 16:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135014,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:44] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399450,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3948656160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:44] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2147869502,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-10 16:40:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":327680,"corrected_to":0} 
[2026-08-10 16:40:44] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2982346752,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,97,85,24,241,157,16,178,159,58,45,128,129,5,30,10,66,35,64,121,6,38,248,192,1,240,198,227,235,4,113,205,31,221,200,27,239,51,2,160,26],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0},{"io_id":200,"original":327680,"validated":0}]} 
[2026-08-10 16:40:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288620844513886208,"timestamp_seconds":288620844513886.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 16:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308192000001,"66":13015,"97":206,"85":15104,"24":8,"16":117290003461046272,"45":8859354548515665920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308192000001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:40:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117290003461046272,"km_value":117290003461046.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859354548515665920,"description":"Unknown IO ID 45"} 
[2026-08-10 16:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308192000001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8859354548515665920}} 
[2026-08-10 16:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":151637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:40:44] local.INFO: GPS data processed {"connection_id":151637,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:40:44] local.INFO: Acknowledgment sent {"connection_id":151637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:40:47] local.INFO: TCP Data received {"connection_id":151638,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:40:47] local.INFO: Processing buffer {"connection_id":151638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:40:47] local.INFO: IMEI packet received {"connection_id":151638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":151638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:40:48] local.INFO: TCP Data received {"connection_id":151638,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5aa4b0012d196700071feeb8003a005626..."} 
[2026-08-10 16:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5aa4b0012d196700071feeb8003a005626..."} 
[2026-08-10 16:40:48] local.INFO: Processing buffer {"connection_id":151638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5aa4b0012d196700071feeb8003a005626..."} 
[2026-08-10 16:40:48] local.INFO: Packet analysis {"connection_id":151638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:40:48] local.INFO: Extracted packet for processing {"connection_id":151638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308158208001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16: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-08-10 16:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786360014000,"timestamp_ms":1786360014000,"timestamp_seconds":1786360014,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5aa4b0"} 
[2026-08-10 16:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 16:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308158208001,"66":12711,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308158208001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:40:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:40:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308158208001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":151638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:40:48] local.INFO: GPS data processed {"connection_id":151638,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:40:48] local.INFO: Acknowledgment sent {"connection_id":151638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:40:58] local.INFO: TCP Data received {"connection_id":152950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:40:58] local.INFO: Processing buffer {"connection_id":152950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:40:58] local.INFO: IMEI packet received {"connection_id":152950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":152950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:41:04] local.INFO: TCP Data received {"connection_id":152024,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:41:04] local.INFO: Processing buffer {"connection_id":152024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:41:04] local.INFO: IMEI packet received {"connection_id":152024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":152024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:41:04] local.INFO: TCP Data received {"connection_id":152950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:41:04] local.INFO: Processing buffer {"connection_id":152950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:41:04] local.INFO: IMEI packet received {"connection_id":152950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":152950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:41:05] local.INFO: TCP Data received {"connection_id":152024,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:41:05] local.INFO: Processing buffer {"connection_id":152024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:41:05] local.INFO: IMEI packet received {"connection_id":152024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":152024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:41:06] local.INFO: TCP Data received {"connection_id":152950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:41:06] local.INFO: Processing buffer {"connection_id":152950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:41:06] local.INFO: Packet analysis {"connection_id":152950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:41:06] local.INFO: Extracted packet for processing {"connection_id":152950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308136448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786360209000,"timestamp_ms":1786360209000,"timestamp_seconds":1786360209,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5d9e68"} 
[2026-08-10 16:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":86,"data_length":795,"current_offset":136} 
[2026-08-10 16:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308136448001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308136448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:41:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308136448001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":152950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:41:06] local.INFO: GPS data processed {"connection_id":152950,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:41:06] local.INFO: Acknowledgment sent {"connection_id":152950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:41:06] local.INFO: TCP Data received {"connection_id":152024,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:41:06] local.INFO: Processing buffer {"connection_id":152024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:41:06] local.INFO: IMEI packet received {"connection_id":152024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":152024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:41:07] local.INFO: TCP Data received {"connection_id":152024,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:41:07] local.INFO: Processing buffer {"connection_id":152024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:41:07] local.INFO: IMEI packet received {"connection_id":152024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 16:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":152024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:41:10] local.INFO: TCP Data received {"connection_id":152949,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5e7928012d0c3500070758b8001700d718..."} 
[2026-08-10 16:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5e7928012d0c3500070758b8001700d718..."} 
[2026-08-10 16:41:10] local.INFO: Processing buffer {"connection_id":152949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5e7928012d0c3500070758b8001700d718..."} 
[2026-08-10 16:41:10] local.INFO: Packet analysis {"connection_id":152949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5e"} 
[2026-08-10 16:41:10] local.INFO: Extracted packet for processing {"connection_id":152949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5e"} 
[2026-08-10 16:41:10] local.INFO: GPS Element Parsed {"raw_longitude":755774720,"raw_latitude":117921976,"longitude_deg":75.577472,"latitude_deg":11.7921976,"altitude":23,"angle":215,"satellites":24,"speed":21,"hex_longitude":"2d0c3500","hex_latitude":"070758b8","is_valid_coordinates":true} 
[2026-08-10 16:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308226048001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27477963809226752,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879750069898444800,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786360265000,"timestamp_ms":1786360265000,"timestamp_seconds":1786360265,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5e7928"} 
[2026-08-10 16:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308226048001,"66":14548,"221":206,"94":10240,"24":21,"16":27477963809226752,"45":879750069898444800},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 16:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308226048001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:41:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 16:41:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27477963809226752,"km_value":27477963809226.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":879750069898444800,"description":"Unknown IO ID 45"} 
[2026-08-10 16:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308226048001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":879750069898444800}} 
[2026-08-10 16:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":152949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620781,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:41:10] local.INFO: GPS data processed {"connection_id":152949,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:41:10] local.INFO: Acknowledgment sent {"connection_id":152949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:41:20] local.INFO: TCP Data received {"connection_id":151638,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5af6b8012d196700071feeb8003a005626..."} 
[2026-08-10 16:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5af6b8012d196700071feeb8003a005626..."} 
[2026-08-10 16:41:20] local.INFO: Processing buffer {"connection_id":151638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5af6b8012d196700071feeb8003a005626..."} 
[2026-08-10 16:41:20] local.INFO: Packet analysis {"connection_id":151638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:41:20] local.INFO: Extracted packet for processing {"connection_id":151638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5a"} 
[2026-08-10 16:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308163584001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16: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-08-10 16:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786360035000,"timestamp_ms":1786360035000,"timestamp_seconds":1786360035,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5af6b8"} 
[2026-08-10 16:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 16:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308163584001,"66":12711,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308163584001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:41:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:41:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308163584001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":151638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:41:20] local.INFO: GPS data processed {"connection_id":151638,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:41:20] local.INFO: Acknowledgment sent {"connection_id":151638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:41:38] local.INFO: TCP Data received {"connection_id":152025,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:41:38] local.INFO: Processing buffer {"connection_id":152025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:41:38] local.INFO: IMEI packet received {"connection_id":152025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":152025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:41:40] local.INFO: TCP Data received {"connection_id":152950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:41:40] local.INFO: Processing buffer {"connection_id":152950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:41:40] local.INFO: Packet analysis {"connection_id":152950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:41:40] local.INFO: Extracted packet for processing {"connection_id":152950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308136448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786360209000,"timestamp_ms":1786360209000,"timestamp_seconds":1786360209,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5d9e68"} 
[2026-08-10 16:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 16:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308136448001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308136448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:41:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308136448001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":152950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:41:40] local.INFO: GPS data processed {"connection_id":152950,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:41:40] local.INFO: Acknowledgment sent {"connection_id":152950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:41:42] local.INFO: TCP Data received {"connection_id":152025,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:41:42] local.INFO: Processing buffer {"connection_id":152025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:41:42] local.INFO: IMEI packet received {"connection_id":152025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":152025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:41:42] local.INFO: TCP Data received {"connection_id":152025,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5e7d10012d0c330007075748001700e519..."} 
[2026-08-10 16:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5e7d10012d0c330007075748001700e519..."} 
[2026-08-10 16:41:42] local.INFO: Processing buffer {"connection_id":152025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5e7d10012d0c330007075748001700e519..."} 
[2026-08-10 16:41:42] local.INFO: Packet analysis {"connection_id":152025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5e"} 
[2026-08-10 16:41:42] local.INFO: Extracted packet for processing {"connection_id":152025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5e"} 
[2026-08-10 16:41:42] local.INFO: GPS Element Parsed {"raw_longitude":755774208,"raw_latitude":117921608,"longitude_deg":75.5774208,"latitude_deg":11.7921608,"altitude":23,"angle":229,"satellites":25,"speed":21,"hex_longitude":"2d0c3300","hex_latitude":"07075748","is_valid_coordinates":true} 
[2026-08-10 16:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308227840001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27477993873997824,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879609332408825856,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786360266000,"timestamp_ms":1786360266000,"timestamp_seconds":1786360266,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5e7d10"} 
[2026-08-10 16:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16: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-08-10 16:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-10 16:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308227840001,"66":14548,"221":206,"94":10240,"24":21,"16":27477993873997824,"45":879609332408825856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 16:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308227840001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:41:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 16:41:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27477993873997824,"km_value":27477993873997.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":879609332408825856,"description":"Unknown IO ID 45"} 
[2026-08-10 16:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308227840001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":879609332408825856}} 
[2026-08-10 16:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":152025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620784,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:41:43] local.INFO: GPS data processed {"connection_id":152025,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:41:43] local.INFO: Acknowledgment sent {"connection_id":152025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:41:44] local.INFO: TCP Data received {"connection_id":151639,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:41:44] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:41:44] local.INFO: IMEI packet received {"connection_id":151639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":151639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:41:47] local.INFO: TCP Data received {"connection_id":151639,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:41:47] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:41:47] local.INFO: IMEI packet received {"connection_id":151639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":151639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:41:52] local.INFO: TCP Data received {"connection_id":151639,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:41:52] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:41:52] local.INFO: IMEI packet received {"connection_id":151639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":151639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:41:53] local.INFO: TCP Data received {"connection_id":151639,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5b48c0012d196700071feeb8003a005623..."} 
[2026-08-10 16:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5b48c0012d196700071feeb8003a005623..."} 
[2026-08-10 16:41:53] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5b48c0012d196700071feeb8003a005623..."} 
[2026-08-10 16:41:53] local.INFO: Packet analysis {"connection_id":151639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5b"} 
[2026-08-10 16:41:53] local.INFO: Extracted packet for processing {"connection_id":151639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5b"} 
[2026-08-10 16:41:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308168960001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786360056000,"timestamp_ms":1786360056000,"timestamp_seconds":1786360056,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5b48c0"} 
[2026-08-10 16:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 16:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308168960001,"66":12711,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308168960001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:41:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:41:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308168960001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":151639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:41:54] local.INFO: GPS data processed {"connection_id":151639,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:41:54] local.INFO: Acknowledgment sent {"connection_id":151639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:41:58] local.INFO: TCP Data received {"connection_id":151639,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5b9ac8012d196700071feeb8003a005623..."} 
[2026-08-10 16:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5b9ac8012d196700071feeb8003a005623..."} 
[2026-08-10 16:41:58] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5b9ac8012d196700071feeb8003a005623..."} 
[2026-08-10 16:41:58] local.INFO: Packet analysis {"connection_id":151639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5b"} 
[2026-08-10 16:41:58] local.INFO: Extracted packet for processing {"connection_id":151639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5b"} 
[2026-08-10 16:41:58] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308174336001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786360077000,"timestamp_ms":1786360077000,"timestamp_seconds":1786360077,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5b9ac8"} 
[2026-08-10 16:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:41: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-08-10 16:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 16:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308174336001,"66":12645,"71":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-08-10 16:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308174336001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:41:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 16:41:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308174336001,"power":12645,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":151639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:41:58] local.INFO: GPS data processed {"connection_id":151639,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:41:58] local.INFO: Acknowledgment sent {"connection_id":151639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:42:00] local.INFO: TCP Data received {"connection_id":154397,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:42:00] local.INFO: Processing buffer {"connection_id":154397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:42:00] local.INFO: IMEI packet received {"connection_id":154397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":154397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:42:03] local.INFO: TCP Data received {"connection_id":154397,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:42:03] local.INFO: Processing buffer {"connection_id":154397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:42:03] local.INFO: IMEI packet received {"connection_id":154397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":154397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:42:05] local.INFO: TCP Data received {"connection_id":154397,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:42:05] local.INFO: Processing buffer {"connection_id":154397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:42:05] local.INFO: Packet analysis {"connection_id":154397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:42:05] local.INFO: Extracted packet for processing {"connection_id":154397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308136448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786360209000,"timestamp_ms":1786360209000,"timestamp_seconds":1786360209,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5d9e68"} 
[2026-08-10 16:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":86,"data_length":795,"current_offset":136} 
[2026-08-10 16:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308136448001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308136448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:42:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308136448001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":154397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:42:05] local.INFO: GPS data processed {"connection_id":154397,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:42:05] local.INFO: Acknowledgment sent {"connection_id":154397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:42:14] local.INFO: TCP Data received {"connection_id":152025,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5f53e8012d0baec0070717d8001900e817..."} 
[2026-08-10 16:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5f53e8012d0baec0070717d8001900e817..."} 
[2026-08-10 16:42:14] local.INFO: Processing buffer {"connection_id":152025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5f53e8012d0baec0070717d8001900e817..."} 
[2026-08-10 16:42:14] local.INFO: Packet analysis {"connection_id":152025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5f"} 
[2026-08-10 16:42:14] local.INFO: Extracted packet for processing {"connection_id":152025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5f"} 
[2026-08-10 16:42:14] local.INFO: GPS Element Parsed {"raw_longitude":755740352,"raw_latitude":117905368,"longitude_deg":75.5740352,"latitude_deg":11.7905368,"altitude":25,"angle":232,"satellites":23,"speed":21,"hex_longitude":"2d0baec0","hex_latitude":"070717d8","is_valid_coordinates":true} 
[2026-08-10 16:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308241920001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27480132767711232,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842384266734655488,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786360321000,"timestamp_ms":1786360321000,"timestamp_seconds":1786360321,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5f53e8"} 
[2026-08-10 16:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 16:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308241920001,"66":14559,"221":206,"94":10240,"24":21,"16":27480132767711232,"45":842384266734655488},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 16:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308241920001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:42:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 16:42:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27480132767711232,"km_value":27480132767711.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":842384266734655488,"description":"Unknown IO ID 45"} 
[2026-08-10 16:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308241920001,"power":14559,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":842384266734655488}} 
[2026-08-10 16:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":152025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620788,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:42:14] local.INFO: GPS data processed {"connection_id":152025,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:42:14] local.INFO: Acknowledgment sent {"connection_id":152025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:42:29] local.INFO: TCP Data received {"connection_id":154398,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:42:29] local.INFO: Processing buffer {"connection_id":154398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:42:29] local.INFO: IMEI packet received {"connection_id":154398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":154398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:42:33] local.INFO: TCP Data received {"connection_id":154398,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:42:33] local.INFO: Processing buffer {"connection_id":154398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:42:33] local.INFO: IMEI packet received {"connection_id":154398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":154398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:42:34] local.INFO: TCP Data received {"connection_id":154398,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:42:34] local.INFO: Processing buffer {"connection_id":154398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:42:34] local.INFO: IMEI packet received {"connection_id":154398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":154398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:42:35] local.INFO: TCP Data received {"connection_id":154398,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5f57d0012d0bac8007071720001800f517..."} 
[2026-08-10 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5f57d0012d0bac8007071720001800f517..."} 
[2026-08-10 16:42:35] local.INFO: Processing buffer {"connection_id":154398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5f57d0012d0bac8007071720001800f517..."} 
[2026-08-10 16:42:35] local.INFO: Packet analysis {"connection_id":154398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5f"} 
[2026-08-10 16:42:35] local.INFO: Extracted packet for processing {"connection_id":154398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5f"} 
[2026-08-10 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":755739776,"raw_latitude":117905184,"longitude_deg":75.5739776,"latitude_deg":11.7905184,"altitude":24,"angle":245,"satellites":23,"speed":22,"hex_longitude":"2d0bac80","hex_latitude":"07071720","is_valid_coordinates":true} 
[2026-08-10 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308242176001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27480162832482304,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841821316781168640,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786360322000,"timestamp_ms":1786360322000,"timestamp_seconds":1786360322,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5f57d0"} 
[2026-08-10 16:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 16:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308242176001,"66":14559,"221":206,"94":10240,"24":22,"16":27480162832482304,"45":841821316781168640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 16:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308242176001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:42:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 16:42:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27480162832482304,"km_value":27480162832482.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":841821316781168640,"description":"Unknown IO ID 45"} 
[2026-08-10 16:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308242176001,"power":14559,"unknown_221":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":841821316781168640}} 
[2026-08-10 16:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":154398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620789,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:42:35] local.INFO: GPS data processed {"connection_id":154398,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:42:35] local.INFO: Acknowledgment sent {"connection_id":154398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:42:36] local.INFO: TCP Data received {"connection_id":154397,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:42:36] local.INFO: Processing buffer {"connection_id":154397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:42:36] local.INFO: Packet analysis {"connection_id":154397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:42:36] local.INFO: Extracted packet for processing {"connection_id":154397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308136448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786360209000,"timestamp_ms":1786360209000,"timestamp_seconds":1786360209,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5d9e68"} 
[2026-08-10 16:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 16:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308136448001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308136448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:42:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308136448001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":154397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:42:36] local.INFO: GPS data processed {"connection_id":154397,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:42:36] local.INFO: Acknowledgment sent {"connection_id":154397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:42:42] local.INFO: TCP Data received {"connection_id":154399,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:42:42] local.INFO: Processing buffer {"connection_id":154399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:42:42] local.INFO: IMEI packet received {"connection_id":154399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":154399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:42:47] local.INFO: TCP Data received {"connection_id":154399,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:42:47] local.INFO: Processing buffer {"connection_id":154399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:42:47] local.INFO: IMEI packet received {"connection_id":154399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":154399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:42:57] local.INFO: TCP Data received {"connection_id":154399,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5becd0012d196700071feeb8003a005625..."} 
[2026-08-10 16:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5becd0012d196700071feeb8003a005625..."} 
[2026-08-10 16:42:57] local.INFO: Processing buffer {"connection_id":154399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5becd0012d196700071feeb8003a005625..."} 
[2026-08-10 16:42:57] local.INFO: Packet analysis {"connection_id":154399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5b"} 
[2026-08-10 16:42:57] local.INFO: Extracted packet for processing {"connection_id":154399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5b"} 
[2026-08-10 16:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308179712001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786360098000,"timestamp_ms":1786360098000,"timestamp_seconds":1786360098,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5becd0"} 
[2026-08-10 16:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 16:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308179712001,"66":11950,"71":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-08-10 16:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308179712001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:42:57] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 16:42:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308179712001,"power":11950,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":154399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:42:57] local.INFO: GPS data processed {"connection_id":154399,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:42:57] local.INFO: Acknowledgment sent {"connection_id":154399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:42:58] local.INFO: TCP Data received {"connection_id":151640,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:42:58] local.INFO: Processing buffer {"connection_id":151640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:42:58] local.INFO: IMEI packet received {"connection_id":151640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":151640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:43:03] local.INFO: TCP Data received {"connection_id":151640,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:43:03] local.INFO: Processing buffer {"connection_id":151640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:43:03] local.INFO: IMEI packet received {"connection_id":151640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":151640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:43:05] local.INFO: TCP Data received {"connection_id":151640,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:43:05] local.INFO: Processing buffer {"connection_id":151640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:43:05] local.INFO: Packet analysis {"connection_id":151640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:43:05] local.INFO: Extracted packet for processing {"connection_id":151640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308136448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786360209000,"timestamp_ms":1786360209000,"timestamp_seconds":1786360209,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5d9e68"} 
[2026-08-10 16:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 16:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308136448001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308136448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:43:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308136448001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":151640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:43:05] local.INFO: GPS data processed {"connection_id":151640,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:43:05] local.INFO: Acknowledgment sent {"connection_id":151640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:43:06] local.INFO: TCP Data received {"connection_id":154398,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5f6770012d0ba200070713300018010217..."} 
[2026-08-10 16:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5f6770012d0ba200070713300018010217..."} 
[2026-08-10 16:43:06] local.INFO: Processing buffer {"connection_id":154398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5f6770012d0ba200070713300018010217..."} 
[2026-08-10 16:43:06] local.INFO: Packet analysis {"connection_id":154398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5f"} 
[2026-08-10 16:43:06] local.INFO: Extracted packet for processing {"connection_id":154398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5f"} 
[2026-08-10 16:43:06] local.INFO: GPS Element Parsed {"raw_longitude":755737088,"raw_latitude":117904176,"longitude_deg":75.5737088,"latitude_deg":11.7904176,"altitude":24,"angle":258,"satellites":23,"speed":31,"hex_longitude":"2d0ba200","hex_latitude":"07071330","is_valid_coordinates":true} 
[2026-08-10 16:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308242432001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27480300271435776,"note":"Value kept but may cause issues"} 
[2026-08-10 16:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841187998083522560,"note":"Value kept but may cause issues"} 
[2026-08-10 16:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786360326000,"timestamp_ms":1786360326000,"timestamp_seconds":1786360326,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5f6770"} 
[2026-08-10 16:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 16:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308242432001,"66":14407,"221":206,"94":10240,"24":31,"16":27480300271435776,"45":841187998083522560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-10 16:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308242432001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:43:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-10 16:43:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27480300271435776,"km_value":27480300271435.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":841187998083522560,"description":"Unknown IO ID 45"} 
[2026-08-10 16:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308242432001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":841187998083522560}} 
[2026-08-10 16:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":154398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620793,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:43:06] local.INFO: GPS data processed {"connection_id":154398,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:43:06] local.INFO: Acknowledgment sent {"connection_id":154398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:43:31] local.INFO: TCP Data received {"connection_id":152026,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:43:31] local.INFO: Processing buffer {"connection_id":152026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:43:31] local.INFO: IMEI packet received {"connection_id":152026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":152026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:43:32] local.INFO: TCP Data received {"connection_id":152026,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:43:32] local.INFO: Processing buffer {"connection_id":152026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:43:32] local.INFO: IMEI packet received {"connection_id":152026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":152026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:43:33] local.INFO: TCP Data received {"connection_id":152026,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:43:33] local.INFO: Processing buffer {"connection_id":152026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:43:33] local.INFO: IMEI packet received {"connection_id":152026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":152026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:43:33] local.INFO: TCP Data received {"connection_id":152026,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:43:33] local.INFO: Processing buffer {"connection_id":152026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:43:33] local.INFO: IMEI packet received {"connection_id":152026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":152026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:43:36] local.INFO: TCP Data received {"connection_id":151640,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:43:36] local.INFO: Processing buffer {"connection_id":151640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:43:36] local.INFO: Packet analysis {"connection_id":151640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:43:36] local.INFO: Extracted packet for processing {"connection_id":151640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308136448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786360209000,"timestamp_ms":1786360209000,"timestamp_seconds":1786360209,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5d9e68"} 
[2026-08-10 16:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 16:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:43: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-08-10 16:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308136448001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308136448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:43:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308136448001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":151640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:43:36] local.INFO: GPS data processed {"connection_id":151640,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:43:36] local.INFO: Acknowledgment sent {"connection_id":151640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:43:42] local.INFO: TCP Data received {"connection_id":152027,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:43:42] local.INFO: Processing buffer {"connection_id":152027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:43:42] local.INFO: IMEI packet received {"connection_id":152027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":152027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:43:47] local.INFO: TCP Data received {"connection_id":152027,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:43:47] local.INFO: Processing buffer {"connection_id":152027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:43:47] local.INFO: IMEI packet received {"connection_id":152027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":152027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:43:48] local.INFO: TCP Data received {"connection_id":152027,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5f7328012d196700071feeb8003a005624..."} 
[2026-08-10 16:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5f7328012d196700071feeb8003a005624..."} 
[2026-08-10 16:43:48] local.INFO: Processing buffer {"connection_id":152027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5f7328012d196700071feeb8003a005624..."} 
[2026-08-10 16:43:48] local.INFO: Packet analysis {"connection_id":152027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5f"} 
[2026-08-10 16:43:48] local.INFO: Extracted packet for processing {"connection_id":152027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5f"} 
[2026-08-10 16:43:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308238848001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786360329000,"timestamp_ms":1786360329000,"timestamp_seconds":1786360329,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5f7328"} 
[2026-08-10 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-08-10 16:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 16:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308238848001,"66":12558,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308238848001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:43:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:43:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308238848001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":152027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:43:48] local.INFO: GPS data processed {"connection_id":152027,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:43:48] local.INFO: Acknowledgment sent {"connection_id":152027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:43:58] local.INFO: TCP Data received {"connection_id":151642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:43:58] local.INFO: Processing buffer {"connection_id":151642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:43:58] local.INFO: IMEI packet received {"connection_id":151642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":151642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:44:03] local.INFO: TCP Data received {"connection_id":151642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:44:03] local.INFO: Processing buffer {"connection_id":151642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:44:03] local.INFO: IMEI packet received {"connection_id":151642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":151642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:44:04] local.INFO: TCP Data received {"connection_id":151642,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:44:04] local.INFO: Processing buffer {"connection_id":151642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:44:04] local.INFO: Packet analysis {"connection_id":151642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:44:04] local.INFO: Extracted packet for processing {"connection_id":151642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308136448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786360209000,"timestamp_ms":1786360209000,"timestamp_seconds":1786360209,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5d9e68"} 
[2026-08-10 16:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:44: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-08-10 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 16:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308136448001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308136448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:44:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308136448001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":151642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:44:04] local.INFO: GPS data processed {"connection_id":151642,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:44:04] local.INFO: Acknowledgment sent {"connection_id":151642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:44:20] local.INFO: TCP Data received {"connection_id":152027,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5fc530012d196700071feeb8003a005626..."} 
[2026-08-10 16:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5fc530012d196700071feeb8003a005626..."} 
[2026-08-10 16:44:20] local.INFO: Processing buffer {"connection_id":152027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5fc530012d196700071feeb8003a005626..."} 
[2026-08-10 16:44:20] local.INFO: Packet analysis {"connection_id":152027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5f"} 
[2026-08-10 16:44:20] local.INFO: Extracted packet for processing {"connection_id":152027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5f"} 
[2026-08-10 16:44:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308244224001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786360350000,"timestamp_ms":1786360350000,"timestamp_seconds":1786360350,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5fc530"} 
[2026-08-10 16:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-10 16:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:20] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3948775160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741855941717688,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4005036090,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-10 16:44:20] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3618373632,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:20] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:20] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:20] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:20] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,215,159,33,45,238,58,35,10,66,207,125,1,240,255,235,31,4,113,205,217,103,184,239,49,2,40,7,231,80,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-10 16:44:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179435166818631680,"timestamp_seconds":4179435166818631.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 16:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308244224001,"66":12537,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308244224001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:44:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:44:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308244224001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":152027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:44:20] local.INFO: GPS data processed {"connection_id":152027,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:44:20] local.INFO: Acknowledgment sent {"connection_id":152027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:44:35] local.INFO: TCP Data received {"connection_id":151642,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:44:35] local.INFO: Processing buffer {"connection_id":151642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:44:35] local.INFO: Packet analysis {"connection_id":151642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:44:35] local.INFO: Extracted packet for processing {"connection_id":151642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308136448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786360209000,"timestamp_ms":1786360209000,"timestamp_seconds":1786360209,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5d9e68"} 
[2026-08-10 16:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:44: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-08-10 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 16:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308136448001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308136448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:44:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308136448001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":151642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:44:35] local.INFO: GPS data processed {"connection_id":151642,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:44:35] local.INFO: Acknowledgment sent {"connection_id":151642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:44:42] local.INFO: TCP Data received {"connection_id":151643,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:44:42] local.INFO: Processing buffer {"connection_id":151643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:44:42] local.INFO: IMEI packet received {"connection_id":151643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":151643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:44:47] local.INFO: TCP Data received {"connection_id":151643,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:44:47] local.INFO: Processing buffer {"connection_id":151643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:44:47] local.INFO: IMEI packet received {"connection_id":151643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":151643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:44:47] local.INFO: TCP Data received {"connection_id":151643,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb601738012d196700071feeb8003a005626..."} 
[2026-08-10 16:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb601738012d196700071feeb8003a005626..."} 
[2026-08-10 16:44:47] local.INFO: Processing buffer {"connection_id":151643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb601738012d196700071feeb8003a005626..."} 
[2026-08-10 16:44:47] local.INFO: Packet analysis {"connection_id":151643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb60"} 
[2026-08-10 16:44:47] local.INFO: Extracted packet for processing {"connection_id":151643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb60"} 
[2026-08-10 16:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308249600001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:44: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-08-10 16:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786360371000,"timestamp_ms":1786360371000,"timestamp_seconds":1786360371,"priority":1,"record_length":96,"hex_timestamp":"0000019feb601738"} 
[2026-08-10 16:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-10 16:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308249600001,"66":12537,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308249600001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:44:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:44:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308249600001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":151643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:44:47] local.INFO: GPS data processed {"connection_id":151643,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:44:47] local.INFO: Acknowledgment sent {"connection_id":151643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:45:03] local.INFO: TCP Data received {"connection_id":154401,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:45:03] local.INFO: Processing buffer {"connection_id":154401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:45:03] local.INFO: IMEI packet received {"connection_id":154401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":154401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:45:08] local.INFO: TCP Data received {"connection_id":154401,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:45:08] local.INFO: Processing buffer {"connection_id":154401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:45:08] local.INFO: IMEI packet received {"connection_id":154401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":154401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:45:09] local.INFO: TCP Data received {"connection_id":154401,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:45:09] local.INFO: Processing buffer {"connection_id":154401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:45:09] local.INFO: Packet analysis {"connection_id":154401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:45:09] local.INFO: Extracted packet for processing {"connection_id":154401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308136448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786360209000,"timestamp_ms":1786360209000,"timestamp_seconds":1786360209,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5d9e68"} 
[2026-08-10 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-08-10 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 16:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308136448001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308136448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:45:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308136448001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":154401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:45:09] local.INFO: GPS data processed {"connection_id":154401,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:45:09] local.INFO: Acknowledgment sent {"connection_id":154401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:45:14] local.INFO: TCP Data received {"connection_id":154401,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:45:14] local.INFO: Processing buffer {"connection_id":154401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5d9e68012d342a4006abc280001b010223..."} 
[2026-08-10 16:45:14] local.INFO: Packet analysis {"connection_id":154401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:45:14] local.INFO: Extracted packet for processing {"connection_id":154401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5d"} 
[2026-08-10 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":27,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308136448001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786360209000,"timestamp_ms":1786360209000,"timestamp_seconds":1786360209,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5d9e68"} 
[2026-08-10 16:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 16:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308136448001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308136448001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:45:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308136448001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":154401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:45:14] local.INFO: GPS data processed {"connection_id":154401,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:45:14] local.INFO: Acknowledgment sent {"connection_id":154401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:45:19] local.INFO: TCP Data received {"connection_id":151643,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb606940012d196700071feeb8003a005626..."} 
[2026-08-10 16:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb606940012d196700071feeb8003a005626..."} 
[2026-08-10 16:45:19] local.INFO: Processing buffer {"connection_id":151643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb606940012d196700071feeb8003a005626..."} 
[2026-08-10 16:45:19] local.INFO: Packet analysis {"connection_id":151643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb60"} 
[2026-08-10 16:45:19] local.INFO: Extracted packet for processing {"connection_id":151643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb60"} 
[2026-08-10 16:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308254976001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16: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-08-10 16:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786360392000,"timestamp_ms":1786360392000,"timestamp_seconds":1786360392,"priority":1,"record_length":96,"hex_timestamp":"0000019feb606940"} 
[2026-08-10 16:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-10 16:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308254976001,"66":12406,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308254976001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:45:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:45:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308254976001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":151643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:45:19] local.INFO: GPS data processed {"connection_id":151643,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:45:19] local.INFO: Acknowledgment sent {"connection_id":151643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:45:42] local.INFO: TCP Data received {"connection_id":151644,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:45:42] local.INFO: Processing buffer {"connection_id":151644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:45:42] local.INFO: IMEI packet received {"connection_id":151644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":151644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:45:47] local.INFO: TCP Data received {"connection_id":151644,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:45:47] local.INFO: Processing buffer {"connection_id":151644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:45:47] local.INFO: IMEI packet received {"connection_id":151644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":151644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:45:48] local.INFO: TCP Data received {"connection_id":151644,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb60bb48012d196700071feeb8003a005626..."} 
[2026-08-10 16:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb60bb48012d196700071feeb8003a005626..."} 
[2026-08-10 16:45:48] local.INFO: Processing buffer {"connection_id":151644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb60bb48012d196700071feeb8003a005626..."} 
[2026-08-10 16:45:48] local.INFO: Packet analysis {"connection_id":151644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb60"} 
[2026-08-10 16:45:48] local.INFO: Extracted packet for processing {"connection_id":151644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb60"} 
[2026-08-10 16:45:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308260352001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786360413000,"timestamp_ms":1786360413000,"timestamp_seconds":1786360413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb60bb48"} 
[2026-08-10 16:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308260352001,"66":12515,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308260352001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:45:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:45:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308260352001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":151644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:45:48] local.INFO: GPS data processed {"connection_id":151644,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:45:48] local.INFO: Acknowledgment sent {"connection_id":151644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:45:58] local.INFO: TCP Data received {"connection_id":151645,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:45:58] local.INFO: Processing buffer {"connection_id":151645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:45:58] local.INFO: IMEI packet received {"connection_id":151645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":151645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:46:03] local.INFO: TCP Data received {"connection_id":151645,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:46:03] local.INFO: Processing buffer {"connection_id":151645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:46:03] local.INFO: IMEI packet received {"connection_id":151645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":151645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:46:04] local.INFO: TCP Data received {"connection_id":151645,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:46:04] local.INFO: Processing buffer {"connection_id":151645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:46:04] local.INFO: Packet analysis {"connection_id":151645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:46:04] local.INFO: Extracted packet for processing {"connection_id":151645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":17,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308213504001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786360510000,"timestamp_ms":1786360510000,"timestamp_seconds":1786360510,"priority":1,"record_length":96,"hex_timestamp":"0000019feb623630"} 
[2026-08-10 16:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:46: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-08-10 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308213504001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308213504001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:46:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308213504001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":151645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:46:04] local.INFO: GPS data processed {"connection_id":151645,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:46:04] local.INFO: Acknowledgment sent {"connection_id":151645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:46:12] local.INFO: TCP Data received {"connection_id":152954,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:46:12] local.INFO: Processing buffer {"connection_id":152954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 16:46:12] local.INFO: IMEI packet received {"connection_id":152954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 16:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":152954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:46:13] local.INFO: TCP Data received {"connection_id":152954,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5ea420012d7a224005e46a500009014724..."} 
[2026-08-10 16:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5ea420012d7a224005e46a500009014724..."} 
[2026-08-10 16:46:13] local.INFO: Processing buffer {"connection_id":152954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5ea420012d7a224005e46a500009014724..."} 
[2026-08-10 16:46:13] local.INFO: Packet analysis {"connection_id":152954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5e"} 
[2026-08-10 16:46:13] local.INFO: Extracted packet for processing {"connection_id":152954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5e"} 
[2026-08-10 16:46:13] local.INFO: GPS Element Parsed {"raw_longitude":762978880,"raw_latitude":98855504,"longitude_deg":76.297888,"latitude_deg":9.8855504,"altitude":9,"angle":327,"satellites":36,"speed":10,"hex_longitude":"2d7a2240","hex_latitude":"05e46a50","is_valid_coordinates":true} 
[2026-08-10 16:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308229888001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117294384327688192,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801441072072353792,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786360276000,"timestamp_ms":1786360276000,"timestamp_seconds":1786360276,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5ea420"} 
[2026-08-10 16:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:46: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":238,"data_length":795,"current_offset":136} 
[2026-08-10 16:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:46: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-08-10 16:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308229888001,"66":13243,"97":206,"85":15104,"24":10,"16":117294384327688192,"45":8801441072072353792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308229888001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:46:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117294384327688192,"km_value":117294384327688.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801441072072353792,"description":"Unknown IO ID 45"} 
[2026-08-10 16:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308229888001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8801441072072353792}} 
[2026-08-10 16:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":152954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:46:13] local.INFO: GPS data processed {"connection_id":152954,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:46:13] local.INFO: Acknowledgment sent {"connection_id":152954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:46:19] local.INFO: TCP Data received {"connection_id":151644,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb610d50012d196700071feeb8003a005627..."} 
[2026-08-10 16:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb610d50012d196700071feeb8003a005627..."} 
[2026-08-10 16:46:19] local.INFO: Processing buffer {"connection_id":151644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb610d50012d196700071feeb8003a005627..."} 
[2026-08-10 16:46:19] local.INFO: Packet analysis {"connection_id":151644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb61"} 
[2026-08-10 16:46:19] local.INFO: Extracted packet for processing {"connection_id":151644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb61"} 
[2026-08-10 16:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308265728001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786360434000,"timestamp_ms":1786360434000,"timestamp_seconds":1786360434,"priority":1,"record_length":96,"hex_timestamp":"0000019feb610d50"} 
[2026-08-10 16:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":227,"data_length":795,"current_offset":136} 
[2026-08-10 16:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308265728001,"66":12515,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308265728001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:46:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:46:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308265728001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":151644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:46:19] local.INFO: GPS data processed {"connection_id":151644,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:46:19] local.INFO: Acknowledgment sent {"connection_id":151644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:46:35] local.INFO: TCP Data received {"connection_id":151645,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:46:35] local.INFO: Processing buffer {"connection_id":151645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:46:35] local.INFO: Packet analysis {"connection_id":151645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:46:35] local.INFO: Extracted packet for processing {"connection_id":151645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":17,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308213504001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786360510000,"timestamp_ms":1786360510000,"timestamp_seconds":1786360510,"priority":1,"record_length":96,"hex_timestamp":"0000019feb623630"} 
[2026-08-10 16:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:46: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-08-10 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308213504001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308213504001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:46:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308213504001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":151645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:46:35] local.INFO: GPS data processed {"connection_id":151645,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:46:35] local.INFO: Acknowledgment sent {"connection_id":151645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:46:42] local.INFO: TCP Data received {"connection_id":154402,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:46:42] local.INFO: Processing buffer {"connection_id":154402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:46:42] local.INFO: IMEI packet received {"connection_id":154402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":154402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:46:45] local.INFO: TCP Data received {"connection_id":152954,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feb5ea808012d7a220005e46b200008015b23..."} 
[2026-08-10 16:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb5ea808012d7a220005e46b200008015b23..."} 
[2026-08-10 16:46:45] local.INFO: Processing buffer {"connection_id":152954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb5ea808012d7a220005e46b200008015b23..."} 
[2026-08-10 16:46:45] local.INFO: Packet analysis {"connection_id":152954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb5e"} 
[2026-08-10 16:46:45] local.INFO: Extracted packet for processing {"connection_id":152954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb5e"} 
[2026-08-10 16:46:45] local.INFO: GPS Element Parsed {"raw_longitude":762978816,"raw_latitude":98855712,"longitude_deg":76.2978816,"latitude_deg":9.8855712,"altitude":8,"angle":347,"satellites":35,"speed":9,"hex_longitude":"2d7a2200","hex_latitude":"05e46b20","is_valid_coordinates":true} 
[2026-08-10 16:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308230656001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117294397212590080,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800667015886557184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786360277000,"timestamp_ms":1786360277000,"timestamp_seconds":1786360277,"priority":1,"record_length":96,"hex_timestamp":"0000019feb5ea808"} 
[2026-08-10 16:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 16:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 16:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 16:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 16:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308230656001,"66":13319,"97":206,"85":15104,"24":9,"16":117294397212590080,"45":8800667015886557184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 16:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 16:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 16:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308230656001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:46:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 16:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 16:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117294397212590080,"km_value":117294397212590.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800667015886557184,"description":"Unknown IO ID 45"} 
[2026-08-10 16:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308230656001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8800667015886557184}} 
[2026-08-10 16:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":152954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:46:45] local.INFO: GPS data processed {"connection_id":152954,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:46:45] local.INFO: Acknowledgment sent {"connection_id":152954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:46:47] local.INFO: TCP Data received {"connection_id":154402,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:46:47] local.INFO: Processing buffer {"connection_id":154402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:46:47] local.INFO: IMEI packet received {"connection_id":154402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":154402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:46:49] local.INFO: TCP Data received {"connection_id":154402,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb615f58012d196700071feeb8003a005624..."} 
[2026-08-10 16:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb615f58012d196700071feeb8003a005624..."} 
[2026-08-10 16:46:49] local.INFO: Processing buffer {"connection_id":154402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb615f58012d196700071feeb8003a005624..."} 
[2026-08-10 16:46:49] local.INFO: Packet analysis {"connection_id":154402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb61"} 
[2026-08-10 16:46:49] local.INFO: Extracted packet for processing {"connection_id":154402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb61"} 
[2026-08-10 16:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308271104001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786360455000,"timestamp_ms":1786360455000,"timestamp_seconds":1786360455,"priority":1,"record_length":96,"hex_timestamp":"0000019feb615f58"} 
[2026-08-10 16:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-10 16:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308271104001,"66":12504,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308271104001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:46:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:46:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308271104001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":154402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:46:49] local.INFO: GPS data processed {"connection_id":154402,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:46:49] local.INFO: Acknowledgment sent {"connection_id":154402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:47:01] local.INFO: TCP Data received {"connection_id":154403,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:47:01] local.INFO: Processing buffer {"connection_id":154403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:47:01] local.INFO: IMEI packet received {"connection_id":154403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":154403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:47:03] local.INFO: TCP Data received {"connection_id":154403,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:47:03] local.INFO: Processing buffer {"connection_id":154403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:47:03] local.INFO: IMEI packet received {"connection_id":154403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":154403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:47:04] local.INFO: TCP Data received {"connection_id":154403,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:47:04] local.INFO: Processing buffer {"connection_id":154403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:47:04] local.INFO: Packet analysis {"connection_id":154403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:47:04] local.INFO: Extracted packet for processing {"connection_id":154403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":17,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308213504001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786360510000,"timestamp_ms":1786360510000,"timestamp_seconds":1786360510,"priority":1,"record_length":96,"hex_timestamp":"0000019feb623630"} 
[2026-08-10 16:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:47: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-08-10 16:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308213504001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308213504001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:47:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308213504001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":154403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:47:04] local.INFO: GPS data processed {"connection_id":154403,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:47:04] local.INFO: Acknowledgment sent {"connection_id":154403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:47:09] local.INFO: TCP Data received {"connection_id":154403,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:47:09] local.INFO: Processing buffer {"connection_id":154403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:47:09] local.INFO: Packet analysis {"connection_id":154403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:47:09] local.INFO: Extracted packet for processing {"connection_id":154403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":17,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308213504001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786360510000,"timestamp_ms":1786360510000,"timestamp_seconds":1786360510,"priority":1,"record_length":96,"hex_timestamp":"0000019feb623630"} 
[2026-08-10 16:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308213504001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308213504001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:47:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308213504001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":154403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:47:09] local.INFO: GPS data processed {"connection_id":154403,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:47:09] local.INFO: Acknowledgment sent {"connection_id":154403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:47:21] local.INFO: TCP Data received {"connection_id":154402,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb61b160012d196700071feeb8003a005624..."} 
[2026-08-10 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb61b160012d196700071feeb8003a005624..."} 
[2026-08-10 16:47:21] local.INFO: Processing buffer {"connection_id":154402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb61b160012d196700071feeb8003a005624..."} 
[2026-08-10 16:47:21] local.INFO: Packet analysis {"connection_id":154402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb61"} 
[2026-08-10 16:47:21] local.INFO: Extracted packet for processing {"connection_id":154402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb61"} 
[2026-08-10 16:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308276480001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786360476000,"timestamp_ms":1786360476000,"timestamp_seconds":1786360476,"priority":1,"record_length":96,"hex_timestamp":"0000019feb61b160"} 
[2026-08-10 16:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 16:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308276480001,"66":12548,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308276480001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:47:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:47:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308276480001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":154402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:47:21] local.INFO: GPS data processed {"connection_id":154402,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:47:21] local.INFO: Acknowledgment sent {"connection_id":154402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:47:40] local.INFO: TCP Data received {"connection_id":154403,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:47:40] local.INFO: Processing buffer {"connection_id":154403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:47:40] local.INFO: Packet analysis {"connection_id":154403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:47:40] local.INFO: Extracted packet for processing {"connection_id":154403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":17,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308213504001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786360510000,"timestamp_ms":1786360510000,"timestamp_seconds":1786360510,"priority":1,"record_length":96,"hex_timestamp":"0000019feb623630"} 
[2026-08-10 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-08-10 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308213504001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308213504001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:47:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308213504001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":154403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:47:40] local.INFO: GPS data processed {"connection_id":154403,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:47:40] local.INFO: Acknowledgment sent {"connection_id":154403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:47:47] local.INFO: TCP Data received {"connection_id":154404,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:47:47] local.INFO: Processing buffer {"connection_id":154404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:47:47] local.INFO: IMEI packet received {"connection_id":154404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":154404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:47:52] local.INFO: TCP Data received {"connection_id":154404,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:47:52] local.INFO: Processing buffer {"connection_id":154404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:47:52] local.INFO: IMEI packet received {"connection_id":154404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":154404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:47:53] local.INFO: TCP Data received {"connection_id":154404,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb620368012d196700071feeb8003a005622..."} 
[2026-08-10 16:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb620368012d196700071feeb8003a005622..."} 
[2026-08-10 16:47:53] local.INFO: Processing buffer {"connection_id":154404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb620368012d196700071feeb8003a005622..."} 
[2026-08-10 16:47:53] local.INFO: Packet analysis {"connection_id":154404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:47:53] local.INFO: Extracted packet for processing {"connection_id":154404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308281856001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786360497000,"timestamp_ms":1786360497000,"timestamp_seconds":1786360497,"priority":1,"record_length":96,"hex_timestamp":"0000019feb620368"} 
[2026-08-10 16:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:47: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-08-10 16:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 16:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:53] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:53] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3948922160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:53] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4005036090,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-10 16:47:53] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579495,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:53] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3618373632,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:53] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-10 16:47:53] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,215,159,95,45,238,58,36,10,66,13,39,187,1,240,227,235,31,4,113,205,23,103,184,38,239,48,2,40,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-10 16:47:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179435166818631680,"timestamp_seconds":4179435166818631.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 16:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308281856001,"66":12537,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308281856001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:47:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:47:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308281856001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":154404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:47:53] local.INFO: GPS data processed {"connection_id":154404,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:47:53] local.INFO: Acknowledgment sent {"connection_id":154404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:47:58] local.INFO: TCP Data received {"connection_id":154405,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:47:58] local.INFO: Processing buffer {"connection_id":154405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:47:58] local.INFO: IMEI packet received {"connection_id":154405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":154405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:48:03] local.INFO: TCP Data received {"connection_id":154405,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:48:03] local.INFO: Processing buffer {"connection_id":154405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:48:03] local.INFO: IMEI packet received {"connection_id":154405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":154405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:48:05] local.INFO: TCP Data received {"connection_id":154405,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:48:05] local.INFO: Processing buffer {"connection_id":154405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:48:05] local.INFO: Packet analysis {"connection_id":154405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:48:05] local.INFO: Extracted packet for processing {"connection_id":154405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":17,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308213504001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786360510000,"timestamp_ms":1786360510000,"timestamp_seconds":1786360510,"priority":1,"record_length":96,"hex_timestamp":"0000019feb623630"} 
[2026-08-10 16:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308213504001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308213504001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:48:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308213504001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":154405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:48:05] local.INFO: GPS data processed {"connection_id":154405,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:48:05] local.INFO: Acknowledgment sent {"connection_id":154405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:48:24] local.INFO: TCP Data received {"connection_id":154404,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb625570012d196700071feeb8003a005627..."} 
[2026-08-10 16:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb625570012d196700071feeb8003a005627..."} 
[2026-08-10 16:48:24] local.INFO: Processing buffer {"connection_id":154404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb625570012d196700071feeb8003a005627..."} 
[2026-08-10 16:48:24] local.INFO: Packet analysis {"connection_id":154404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:48:24] local.INFO: Extracted packet for processing {"connection_id":154404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308287232001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48: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-08-10 16:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786360518000,"timestamp_ms":1786360518000,"timestamp_seconds":1786360518,"priority":1,"record_length":96,"hex_timestamp":"0000019feb625570"} 
[2026-08-10 16:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-10 16:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":154404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":154404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":154404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308287232001,"66":12526,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308287232001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:48:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:48:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308287232001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":154404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:48:24] local.INFO: GPS data processed {"connection_id":154404,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:48:24] local.INFO: Acknowledgment sent {"connection_id":154404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:48:36] local.INFO: TCP Data received {"connection_id":154406,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154406,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:48:36] local.INFO: Processing buffer {"connection_id":154406,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:48:36] local.INFO: IMEI packet received {"connection_id":154406,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":154406,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:48:39] local.INFO: TCP Data received {"connection_id":154406,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb640ed8012d0b84400705daf00011007219..."} 
[2026-08-10 16:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb640ed8012d0b84400705daf00011007219..."} 
[2026-08-10 16:48:39] local.INFO: Processing buffer {"connection_id":154406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb640ed8012d0b84400705daf00011007219..."} 
[2026-08-10 16:48:39] local.INFO: Packet analysis {"connection_id":154406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb64"} 
[2026-08-10 16:48:39] local.INFO: Extracted packet for processing {"connection_id":154406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb64"} 
[2026-08-10 16:48:39] local.INFO: GPS Element Parsed {"raw_longitude":755729472,"raw_latitude":117824240,"longitude_deg":75.5729472,"latitude_deg":11.782424,"altitude":17,"angle":114,"satellites":25,"speed":42,"hex_longitude":"2d0b8440","hex_latitude":"0705daf0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308319744001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27486609578393600,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822540280856596480,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786360631000,"timestamp_ms":1786360631000,"timestamp_seconds":1786360631,"priority":1,"record_length":96,"hex_timestamp":"0000019feb640ed8"} 
[2026-08-10 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-08-10 16:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154406,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154406,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308319744001,"66":14439,"165":206,"94":10240,"24":42,"16":27486609578393600,"45":822540280856596480},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 16:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308319744001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:48:39] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 16:48:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27486609578393600,"km_value":27486609578393.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":822540280856596480,"description":"Unknown IO ID 45"} 
[2026-08-10 16:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308319744001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":822540280856596480}} 
[2026-08-10 16:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":154406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:48:39] local.INFO: GPS data processed {"connection_id":154406,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:48:39] local.INFO: Acknowledgment sent {"connection_id":154406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:48:42] local.INFO: TCP Data received {"connection_id":151647,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:48:42] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:48:42] local.INFO: IMEI packet received {"connection_id":151647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":151647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:48:44] local.INFO: TCP Data received {"connection_id":154405,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:48:44] local.INFO: Processing buffer {"connection_id":154405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:48:44] local.INFO: Packet analysis {"connection_id":154405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:48:44] local.INFO: Extracted packet for processing {"connection_id":154405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":17,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308213504001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786360510000,"timestamp_ms":1786360510000,"timestamp_seconds":1786360510,"priority":1,"record_length":96,"hex_timestamp":"0000019feb623630"} 
[2026-08-10 16:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308213504001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308213504001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:48:44] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308213504001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":154405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:48:44] local.INFO: GPS data processed {"connection_id":154405,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:48:44] local.INFO: Acknowledgment sent {"connection_id":154405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:48:44] local.INFO: TCP Data received {"connection_id":151647,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:48:44] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:48:44] local.INFO: IMEI packet received {"connection_id":151647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":151647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:48:47] local.INFO: TCP Data received {"connection_id":151647,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:48:47] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:48:47] local.INFO: IMEI packet received {"connection_id":151647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":151647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:48:47] local.INFO: TCP Data received {"connection_id":151647,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb62a778012d196700071feeb8003a005624..."} 
[2026-08-10 16:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb62a778012d196700071feeb8003a005624..."} 
[2026-08-10 16:48:47] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb62a778012d196700071feeb8003a005624..."} 
[2026-08-10 16:48:47] local.INFO: Packet analysis {"connection_id":151647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:48:47] local.INFO: Extracted packet for processing {"connection_id":151647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308292608001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16: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-08-10 16:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786360539000,"timestamp_ms":1786360539000,"timestamp_seconds":1786360539,"priority":1,"record_length":96,"hex_timestamp":"0000019feb62a778"} 
[2026-08-10 16:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 16:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308292608001,"66":12526,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308292608001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:48:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:48:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308292608001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":151647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:48:48] local.INFO: GPS data processed {"connection_id":151647,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:48:48] local.INFO: Acknowledgment sent {"connection_id":151647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:48:53] local.INFO: TCP Data received {"connection_id":151647,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb62f980012d196700071feeb8003a005627..."} 
[2026-08-10 16:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb62f980012d196700071feeb8003a005627..."} 
[2026-08-10 16:48:53] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb62f980012d196700071feeb8003a005627..."} 
[2026-08-10 16:48:53] local.INFO: Packet analysis {"connection_id":151647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:48:53] local.INFO: Extracted packet for processing {"connection_id":151647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:48:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308297984001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786360560000,"timestamp_ms":1786360560000,"timestamp_seconds":1786360560,"priority":1,"record_length":96,"hex_timestamp":"0000019feb62f980"} 
[2026-08-10 16:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:48: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-08-10 16:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 16:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308297984001,"66":12526,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308297984001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:48:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:48:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308297984001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":151647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:48:53] local.INFO: GPS data processed {"connection_id":151647,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:48:53] local.INFO: Acknowledgment sent {"connection_id":151647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:48:58] local.INFO: TCP Data received {"connection_id":154407,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:48:58] local.INFO: Processing buffer {"connection_id":154407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:48:58] local.INFO: IMEI packet received {"connection_id":154407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":154407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:49:03] local.INFO: TCP Data received {"connection_id":154407,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:49:03] local.INFO: Processing buffer {"connection_id":154407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:49:03] local.INFO: IMEI packet received {"connection_id":154407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":154407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:49:06] local.INFO: TCP Data received {"connection_id":154407,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:49:06] local.INFO: Processing buffer {"connection_id":154407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:49:06] local.INFO: Packet analysis {"connection_id":154407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:49:06] local.INFO: Extracted packet for processing {"connection_id":154407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":17,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308213504001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786360510000,"timestamp_ms":1786360510000,"timestamp_seconds":1786360510,"priority":1,"record_length":96,"hex_timestamp":"0000019feb623630"} 
[2026-08-10 16:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308213504001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308213504001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:49:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308213504001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":154407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:49:06] local.INFO: GPS data processed {"connection_id":154407,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:49:06] local.INFO: Acknowledgment sent {"connection_id":154407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:49:13] local.INFO: TCP Data received {"connection_id":154406,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb643200012d0ba8000705cdf80011006d18..."} 
[2026-08-10 16:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb643200012d0ba8000705cdf80011006d18..."} 
[2026-08-10 16:49:13] local.INFO: Processing buffer {"connection_id":154406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb643200012d0ba8000705cdf80011006d18..."} 
[2026-08-10 16:49:13] local.INFO: Packet analysis {"connection_id":154406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb64"} 
[2026-08-10 16:49:13] local.INFO: Extracted packet for processing {"connection_id":154406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb64"} 
[2026-08-10 16:49:13] local.INFO: GPS Element Parsed {"raw_longitude":755738624,"raw_latitude":117820920,"longitude_deg":75.5738624,"latitude_deg":11.782092,"altitude":17,"angle":109,"satellites":24,"speed":39,"hex_longitude":"2d0ba800","hex_latitude":"0705cdf8","is_valid_coordinates":true} 
[2026-08-10 16:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308321536001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27487073434861568,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829858630250196992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786360640000,"timestamp_ms":1786360640000,"timestamp_seconds":1786360640,"priority":1,"record_length":96,"hex_timestamp":"0000019feb643200"} 
[2026-08-10 16:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 16:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154406,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154406,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308321536001,"66":14515,"165":206,"94":10240,"24":39,"16":27487073434861568,"45":829858630250196992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-10 16:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308321536001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:49:13] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 16:49:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27487073434861568,"km_value":27487073434861.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":829858630250196992,"description":"Unknown IO ID 45"} 
[2026-08-10 16:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308321536001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":829858630250196992}} 
[2026-08-10 16:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":154406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620822,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:49:14] local.INFO: GPS data processed {"connection_id":154406,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:49:14] local.INFO: Acknowledgment sent {"connection_id":154406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:49:25] local.INFO: TCP Data received {"connection_id":151647,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb634b88012d196700071feeb8003a005627..."} 
[2026-08-10 16:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb634b88012d196700071feeb8003a005627..."} 
[2026-08-10 16:49:25] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb634b88012d196700071feeb8003a005627..."} 
[2026-08-10 16:49:25] local.INFO: Packet analysis {"connection_id":151647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb63"} 
[2026-08-10 16:49:25] local.INFO: Extracted packet for processing {"connection_id":151647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb63"} 
[2026-08-10 16:49:25] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308303360001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49: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-08-10 16:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786360581000,"timestamp_ms":1786360581000,"timestamp_seconds":1786360581,"priority":1,"record_length":96,"hex_timestamp":"0000019feb634b88"} 
[2026-08-10 16:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 16:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308303360001,"66":12526,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308303360001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:49:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:49:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308303360001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":151647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:49:25] local.INFO: GPS data processed {"connection_id":151647,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:49:25] local.INFO: Acknowledgment sent {"connection_id":151647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:49:37] local.INFO: TCP Data received {"connection_id":154407,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:49:37] local.INFO: Processing buffer {"connection_id":154407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:49:37] local.INFO: Packet analysis {"connection_id":154407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:49:37] local.INFO: Extracted packet for processing {"connection_id":154407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":17,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308213504001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786360510000,"timestamp_ms":1786360510000,"timestamp_seconds":1786360510,"priority":1,"record_length":96,"hex_timestamp":"0000019feb623630"} 
[2026-08-10 16:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:49: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-08-10 16:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308213504001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308213504001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:49:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308213504001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":154407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:49:37] local.INFO: GPS data processed {"connection_id":154407,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:49:37] local.INFO: Acknowledgment sent {"connection_id":154407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:49:42] local.INFO: TCP Data received {"connection_id":154408,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:49:42] local.INFO: Processing buffer {"connection_id":154408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:49:42] local.INFO: IMEI packet received {"connection_id":154408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":154408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:49:47] local.INFO: TCP Data received {"connection_id":154408,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:49:47] local.INFO: Processing buffer {"connection_id":154408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:49:47] local.INFO: IMEI packet received {"connection_id":154408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":154408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:49:48] local.INFO: TCP Data received {"connection_id":154408,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb639d90012d196700071feeb8003a005625..."} 
[2026-08-10 16:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb639d90012d196700071feeb8003a005625..."} 
[2026-08-10 16:49:48] local.INFO: Processing buffer {"connection_id":154408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb639d90012d196700071feeb8003a005625..."} 
[2026-08-10 16:49:48] local.INFO: Packet analysis {"connection_id":154408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb63"} 
[2026-08-10 16:49:48] local.INFO: Extracted packet for processing {"connection_id":154408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb63"} 
[2026-08-10 16:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308308736001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786360602000,"timestamp_ms":1786360602000,"timestamp_seconds":1786360602,"priority":1,"record_length":96,"hex_timestamp":"0000019feb639d90"} 
[2026-08-10 16:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 16:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308308736001,"66":12537,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308308736001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:49:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:49:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308308736001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":154408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:49:48] local.INFO: GPS data processed {"connection_id":154408,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:49:48] local.INFO: Acknowledgment sent {"connection_id":154408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:50:03] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:50:03] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:50:03] local.INFO: IMEI packet received {"connection_id":152956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":152956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:50:07] local.INFO: TCP Data received {"connection_id":151648,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151648,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:50:07] local.INFO: Processing buffer {"connection_id":151648,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:50:07] local.INFO: IMEI packet received {"connection_id":151648,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":151648,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:50:08] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:50:08] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:50:08] local.INFO: IMEI packet received {"connection_id":152956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":152956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:50:09] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:50:09] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:50:09] local.INFO: Packet analysis {"connection_id":152956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:50:09] local.INFO: Extracted packet for processing {"connection_id":152956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":17,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308213504001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786360510000,"timestamp_ms":1786360510000,"timestamp_seconds":1786360510,"priority":1,"record_length":96,"hex_timestamp":"0000019feb623630"} 
[2026-08-10 16:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308213504001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308213504001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:50:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308213504001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":152956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:50:09] local.INFO: GPS data processed {"connection_id":152956,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:50:09] local.INFO: Acknowledgment sent {"connection_id":152956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:50:10] local.INFO: TCP Data received {"connection_id":151648,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151648,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:50:10] local.INFO: Processing buffer {"connection_id":151648,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:50:10] local.INFO: IMEI packet received {"connection_id":151648,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":151648,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:50:10] local.INFO: TCP Data received {"connection_id":151648,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb65bc88012d0c5340070556f0002200971a..."} 
[2026-08-10 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb65bc88012d0c5340070556f0002200971a..."} 
[2026-08-10 16:50:10] local.INFO: Processing buffer {"connection_id":151648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb65bc88012d0c5340070556f0002200971a..."} 
[2026-08-10 16:50:10] local.INFO: Packet analysis {"connection_id":151648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb65"} 
[2026-08-10 16:50:10] local.INFO: Extracted packet for processing {"connection_id":151648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb65"} 
[2026-08-10 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":755782464,"raw_latitude":117790448,"longitude_deg":75.5782464,"latitude_deg":11.7790448,"altitude":34,"angle":151,"satellites":26,"speed":32,"hex_longitude":"2d0c5340","hex_latitude":"070556f0","is_valid_coordinates":true} 
[2026-08-10 16:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308346368001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27489740609552384,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883127769586139136,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786360741000,"timestamp_ms":1786360741000,"timestamp_seconds":1786360741,"priority":1,"record_length":96,"hex_timestamp":"0000019feb65bc88"} 
[2026-08-10 16:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:50: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-08-10 16:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141760,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3949245160,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504019065765888,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":168,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2386034713,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639410753791908,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738801358,"corrected_to":0} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147943823,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2833514496,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84737005363594665,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":136,"raw_value":5348527471334400,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-4143303935994626030,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:10] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,164,94,24,241,157,16,169,159,98,45,64,131,27,26,10,66,83,128,135,51,1,240,185,227,168,235,5,4,113,205,3,245,34,216,239,56,2,97,7,22,29,206,104,136,11],"length":628,"final_offset":758,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1738801358,"validated":0}]} 
[2026-08-10 16:50:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2017779870499930112,"timestamp_seconds":2017779870499930.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 16:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308346368001,"66":14439,"164":206,"94":10240,"24":32,"16":27489740609552384,"45":883127769586139136},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-10 16:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308346368001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:50:10] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-10 16:50:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27489740609552384,"km_value":27489740609552.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":883127769586139136,"description":"Unknown IO ID 45"} 
[2026-08-10 16:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308346368001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":883127769586139136}} 
[2026-08-10 16:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":151648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:50:11] local.INFO: GPS data processed {"connection_id":151648,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:50:11] local.INFO: Acknowledgment sent {"connection_id":151648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:50:14] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:50:14] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb623630012d342a4006abc2800011010223..."} 
[2026-08-10 16:50:14] local.INFO: Packet analysis {"connection_id":152956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:50:14] local.INFO: Extracted packet for processing {"connection_id":152956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb62"} 
[2026-08-10 16:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":17,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308213504001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786360510000,"timestamp_ms":1786360510000,"timestamp_seconds":1786360510,"priority":1,"record_length":96,"hex_timestamp":"0000019feb623630"} 
[2026-08-10 16:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308213504001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308213504001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:50:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308213504001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":152956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:50:14] local.INFO: GPS data processed {"connection_id":152956,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:50:14] local.INFO: Acknowledgment sent {"connection_id":152956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:50:20] local.INFO: TCP Data received {"connection_id":154408,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb63ef98012d196700071feeb8003a005624..."} 
[2026-08-10 16:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb63ef98012d196700071feeb8003a005624..."} 
[2026-08-10 16:50:20] local.INFO: Processing buffer {"connection_id":154408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb63ef98012d196700071feeb8003a005624..."} 
[2026-08-10 16:50:20] local.INFO: Packet analysis {"connection_id":154408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb63"} 
[2026-08-10 16:50:20] local.INFO: Extracted packet for processing {"connection_id":154408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb63"} 
[2026-08-10 16:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308314112001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786360623000,"timestamp_ms":1786360623000,"timestamp_seconds":1786360623,"priority":1,"record_length":96,"hex_timestamp":"0000019feb63ef98"} 
[2026-08-10 16:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-10 16:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308314112001,"66":12526,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308314112001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:50:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:50:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308314112001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":154408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:50:20] local.INFO: GPS data processed {"connection_id":154408,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:50:20] local.INFO: Acknowledgment sent {"connection_id":154408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:50:38] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:50:38] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:50:38] local.INFO: IMEI packet received {"connection_id":151649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":151649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:50:42] local.INFO: TCP Data received {"connection_id":154409,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:50:42] local.INFO: Processing buffer {"connection_id":154409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:50:42] local.INFO: IMEI packet received {"connection_id":154409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":154409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:50:43] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:50:43] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:50:43] local.INFO: IMEI packet received {"connection_id":151649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":151649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:50:43] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66d1e0012d0cb9c007048560001b00a118..."} 
[2026-08-10 16:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66d1e0012d0cb9c007048560001b00a118..."} 
[2026-08-10 16:50:43] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66d1e0012d0cb9c007048560001b00a118..."} 
[2026-08-10 16:50:43] local.INFO: Packet analysis {"connection_id":151649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:50:43] local.INFO: Extracted packet for processing {"connection_id":151649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:50:43] local.INFO: GPS Element Parsed {"raw_longitude":755808704,"raw_latitude":117736800,"longitude_deg":75.5808704,"latitude_deg":11.77368,"altitude":27,"angle":161,"satellites":24,"speed":31,"hex_longitude":"2d0cb9c0","hex_latitude":"07048560","is_valid_coordinates":true} 
[2026-08-10 16:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308366848001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27492682662150144,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915075179427784704,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786360812000,"timestamp_ms":1786360812000,"timestamp_seconds":1786360812,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66d1e0"} 
[2026-08-10 16:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 16:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308366848001,"66":14450,"95":206,"94":10240,"24":31,"16":27492682662150144,"45":915075179427784704},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 16:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308366848001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:50:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:50:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27492682662150144,"km_value":27492682662150.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":915075179427784704,"description":"Unknown IO ID 45"} 
[2026-08-10 16:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308366848001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":915075179427784704}} 
[2026-08-10 16:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":151649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620830,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:50:43] local.INFO: GPS data processed {"connection_id":151649,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:50:43] local.INFO: Acknowledgment sent {"connection_id":151649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:50:47] local.INFO: TCP Data received {"connection_id":154409,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:50:47] local.INFO: Processing buffer {"connection_id":154409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:50:47] local.INFO: IMEI packet received {"connection_id":154409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":154409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:50:48] local.INFO: TCP Data received {"connection_id":154409,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6441a0012d196700071feeb8003a005626..."} 
[2026-08-10 16:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6441a0012d196700071feeb8003a005626..."} 
[2026-08-10 16:50:48] local.INFO: Processing buffer {"connection_id":154409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6441a0012d196700071feeb8003a005626..."} 
[2026-08-10 16:50:48] local.INFO: Packet analysis {"connection_id":154409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb64"} 
[2026-08-10 16:50:48] local.INFO: Extracted packet for processing {"connection_id":154409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb64"} 
[2026-08-10 16:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308319488001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786360644000,"timestamp_ms":1786360644000,"timestamp_seconds":1786360644,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6441a0"} 
[2026-08-10 16:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 16:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308319488001,"66":12504,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308319488001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:50:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:50:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308319488001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":154409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:50:48] local.INFO: GPS data processed {"connection_id":154409,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:50:48] local.INFO: Acknowledgment sent {"connection_id":154409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:51:00] local.INFO: TCP Data received {"connection_id":152029,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:51:00] local.INFO: Processing buffer {"connection_id":152029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:51:00] local.INFO: IMEI packet received {"connection_id":152029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":152029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:51:09] local.INFO: TCP Data received {"connection_id":152029,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:51:09] local.INFO: Processing buffer {"connection_id":152029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:51:09] local.INFO: IMEI packet received {"connection_id":152029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":152029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:51:10] local.INFO: TCP Data received {"connection_id":152029,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:51:10] local.INFO: Processing buffer {"connection_id":152029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:51:10] local.INFO: Packet analysis {"connection_id":152029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:51:10] local.INFO: Extracted packet for processing {"connection_id":152029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308290560001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786360811000,"timestamp_ms":1786360811000,"timestamp_seconds":1786360811,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66cdf8"} 
[2026-08-10 16:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308290560001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308290560001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:51:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308290560001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":152029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:51:10] local.INFO: GPS data processed {"connection_id":152029,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:51:10] local.INFO: Acknowledgment sent {"connection_id":152029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:51:11] local.INFO: TCP Data received {"connection_id":152029,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:51:11] local.INFO: Processing buffer {"connection_id":152029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:51:11] local.INFO: Packet analysis {"connection_id":152029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:51:11] local.INFO: Extracted packet for processing {"connection_id":152029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308290560001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786360811000,"timestamp_ms":1786360811000,"timestamp_seconds":1786360811,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66cdf8"} 
[2026-08-10 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-08-10 16:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:51: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-08-10 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-08-10 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-08-10 16:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308290560001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308290560001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:51:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:51:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308290560001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":152029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:51:11] local.INFO: GPS data processed {"connection_id":152029,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:51:11] local.INFO: Acknowledgment sent {"connection_id":152029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:51:15] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66dd98012d0cbb8007047c50001700ac1a..."} 
[2026-08-10 16:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66dd98012d0cbb8007047c50001700ac1a..."} 
[2026-08-10 16:51:15] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66dd98012d0cbb8007047c50001700ac1a..."} 
[2026-08-10 16:51:15] local.INFO: Packet analysis {"connection_id":151649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:51:15] local.INFO: Extracted packet for processing {"connection_id":151649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:51:15] local.INFO: GPS Element Parsed {"raw_longitude":755809152,"raw_latitude":117734480,"longitude_deg":75.5809152,"latitude_deg":11.773448,"altitude":23,"angle":172,"satellites":26,"speed":31,"hex_longitude":"2d0cbb80","hex_latitude":"07047c50","is_valid_coordinates":true} 
[2026-08-10 16:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308367872001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27492798626267136,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916975135519760384,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786360815000,"timestamp_ms":1786360815000,"timestamp_seconds":1786360815,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66dd98"} 
[2026-08-10 16:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 16:51: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-08-10 16:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308367872001,"66":14439,"95":206,"94":10240,"24":31,"16":27492798626267136,"45":916975135519760384},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-10 16:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308367872001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:51:15] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-10 16:51:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-10 16:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27492798626267136,"km_value":27492798626267.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":916975135519760384,"description":"Unknown IO ID 45"} 
[2026-08-10 16:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308367872001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":916975135519760384}} 
[2026-08-10 16:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":151649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:51:15] local.INFO: GPS data processed {"connection_id":151649,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:51:15] local.INFO: Acknowledgment sent {"connection_id":151649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:51:20] local.INFO: TCP Data received {"connection_id":154409,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6493a8012d196700071feeb8003a005626..."} 
[2026-08-10 16:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6493a8012d196700071feeb8003a005626..."} 
[2026-08-10 16:51:20] local.INFO: Processing buffer {"connection_id":154409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6493a8012d196700071feeb8003a005626..."} 
[2026-08-10 16:51:20] local.INFO: Packet analysis {"connection_id":154409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb64"} 
[2026-08-10 16:51:20] local.INFO: Extracted packet for processing {"connection_id":154409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb64"} 
[2026-08-10 16:51:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308324864001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786360665000,"timestamp_ms":1786360665000,"timestamp_seconds":1786360665,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6493a8"} 
[2026-08-10 16:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 16:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308324864001,"66":12504,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308324864001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:51:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:51:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308324864001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":154409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:51:20] local.INFO: GPS data processed {"connection_id":154409,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:51:20] local.INFO: Acknowledgment sent {"connection_id":154409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:51:31] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:51:31] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:51:31] local.INFO: IMEI packet received {"connection_id":152957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":152957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:51:32] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:51:32] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:51:32] local.INFO: IMEI packet received {"connection_id":152957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":152957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:51:38] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:51:38] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:51:38] local.INFO: IMEI packet received {"connection_id":152957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":152957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:51:38] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb67e350012d0c4d800703d180001700aa1a..."} 
[2026-08-10 16:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb67e350012d0c4d800703d180001700aa1a..."} 
[2026-08-10 16:51:39] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb67e350012d0c4d800703d180001700aa1a..."} 
[2026-08-10 16:51:39] local.INFO: Packet analysis {"connection_id":152957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb67"} 
[2026-08-10 16:51:39] local.INFO: Extracted packet for processing {"connection_id":152957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb67"} 
[2026-08-10 16:51:39] local.INFO: GPS Element Parsed {"raw_longitude":755780992,"raw_latitude":117690752,"longitude_deg":75.5780992,"latitude_deg":11.7690752,"altitude":23,"angle":170,"satellites":26,"speed":28,"hex_longitude":"2d0c4d80","hex_latitude":"0703d180","is_valid_coordinates":true} 
[2026-08-10 16:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308385280001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27495435736186880,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886364731791050752,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 16:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786360882000,"timestamp_ms":1786360882000,"timestamp_seconds":1786360882,"priority":1,"record_length":96,"hex_timestamp":"0000019feb67e350"} 
[2026-08-10 16:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 16:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308385280001,"66":14407,"16":27495435736186880,"94":11008,"24":28,"45":886364731791050752},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 16:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308385280001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27495435736186880,"km_value":27495435736186.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:51:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":886364731791050752,"description":"Unknown IO ID 45"} 
[2026-08-10 16:51:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457308385280001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":28,"unknown_45":886364731791050752}} 
[2026-08-10 16:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":152957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620836,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:51:39] local.INFO: GPS data processed {"connection_id":152957,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:51:39] local.INFO: Acknowledgment sent {"connection_id":152957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:51:42] local.INFO: TCP Data received {"connection_id":152958,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:51:42] local.INFO: Processing buffer {"connection_id":152958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:51:42] local.INFO: IMEI packet received {"connection_id":152958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":152958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:51:43] local.INFO: TCP Data received {"connection_id":152029,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:51:43] local.INFO: Processing buffer {"connection_id":152029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:51:43] local.INFO: Packet analysis {"connection_id":152029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:51:43] local.INFO: Extracted packet for processing {"connection_id":152029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308290560001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786360811000,"timestamp_ms":1786360811000,"timestamp_seconds":1786360811,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66cdf8"} 
[2026-08-10 16:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308290560001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308290560001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:51:43] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308290560001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":152029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:51:43] local.INFO: GPS data processed {"connection_id":152029,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:51:43] local.INFO: Acknowledgment sent {"connection_id":152029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:51:47] local.INFO: TCP Data received {"connection_id":152958,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:51:47] local.INFO: Processing buffer {"connection_id":152958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:51:47] local.INFO: IMEI packet received {"connection_id":152958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":152958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:51:49] local.INFO: TCP Data received {"connection_id":152958,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb64e5b0012d196700071feeb8003a005624..."} 
[2026-08-10 16:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb64e5b0012d196700071feeb8003a005624..."} 
[2026-08-10 16:51:49] local.INFO: Processing buffer {"connection_id":152958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb64e5b0012d196700071feeb8003a005624..."} 
[2026-08-10 16:51:49] local.INFO: Packet analysis {"connection_id":152958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb64"} 
[2026-08-10 16:51:49] local.INFO: Extracted packet for processing {"connection_id":152958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb64"} 
[2026-08-10 16:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308330240001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786360686000,"timestamp_ms":1786360686000,"timestamp_seconds":1786360686,"priority":1,"record_length":96,"hex_timestamp":"0000019feb64e5b0"} 
[2026-08-10 16:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 16:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308330240001,"66":12461,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308330240001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:51:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:51:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308330240001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":152958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:51:49] local.INFO: GPS data processed {"connection_id":152958,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:51:49] local.INFO: Acknowledgment sent {"connection_id":152958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:51:58] local.INFO: TCP Data received {"connection_id":152959,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:51:58] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:51:58] local.INFO: IMEI packet received {"connection_id":152959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":152959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:52:03] local.INFO: TCP Data received {"connection_id":152959,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:52:03] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:52:03] local.INFO: IMEI packet received {"connection_id":152959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":152959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:52:05] local.INFO: TCP Data received {"connection_id":152959,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:52:05] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:52:05] local.INFO: Packet analysis {"connection_id":152959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:52:05] local.INFO: Extracted packet for processing {"connection_id":152959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308290560001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786360811000,"timestamp_ms":1786360811000,"timestamp_seconds":1786360811,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66cdf8"} 
[2026-08-10 16:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308290560001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308290560001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:52:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308290560001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":152959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:52:05] local.INFO: GPS data processed {"connection_id":152959,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:52:05] local.INFO: Acknowledgment sent {"connection_id":152959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:52:14] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb67ef08012d0c4d800703c9c0001700bd1a..."} 
[2026-08-10 16:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb67ef08012d0c4d800703c9c0001700bd1a..."} 
[2026-08-10 16:52:14] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb67ef08012d0c4d800703c9c0001700bd1a..."} 
[2026-08-10 16:52:14] local.INFO: Packet analysis {"connection_id":152957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb67"} 
[2026-08-10 16:52:14] local.INFO: Extracted packet for processing {"connection_id":152957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb67"} 
[2026-08-10 16:52:14] local.INFO: GPS Element Parsed {"raw_longitude":755780992,"raw_latitude":117688768,"longitude_deg":75.5780992,"latitude_deg":11.7688768,"altitude":23,"angle":189,"satellites":26,"speed":23,"hex_longitude":"2d0c4d80","hex_latitude":"0703c9c0","is_valid_coordinates":true} 
[2026-08-10 16:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308385792001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27495530225467392,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886505469279043584,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 16:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786360885000,"timestamp_ms":1786360885000,"timestamp_seconds":1786360885,"priority":1,"record_length":96,"hex_timestamp":"0000019feb67ef08"} 
[2026-08-10 16:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 16:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308385792001,"66":14330,"16":27495530225467392,"94":11008,"24":23,"45":886505469279043584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 16:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308385792001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27495530225467392,"km_value":27495530225467.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:52:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":886505469279043584,"description":"Unknown IO ID 45"} 
[2026-08-10 16:52:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457308385792001,"power":14330,"odometer":null,"unknown_94":11008,"ignition":23,"unknown_45":886505469279043584}} 
[2026-08-10 16:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":152957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:52:15] local.INFO: GPS data processed {"connection_id":152957,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:52:15] local.INFO: Acknowledgment sent {"connection_id":152957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:52:21] local.INFO: TCP Data received {"connection_id":152958,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6537b8012d196700071feeb8003a005624..."} 
[2026-08-10 16:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6537b8012d196700071feeb8003a005624..."} 
[2026-08-10 16:52:21] local.INFO: Processing buffer {"connection_id":152958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6537b8012d196700071feeb8003a005624..."} 
[2026-08-10 16:52:21] local.INFO: Packet analysis {"connection_id":152958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb65"} 
[2026-08-10 16:52:21] local.INFO: Extracted packet for processing {"connection_id":152958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb65"} 
[2026-08-10 16:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308335616001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786360707000,"timestamp_ms":1786360707000,"timestamp_seconds":1786360707,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6537b8"} 
[2026-08-10 16:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308335616001,"66":12515,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308335616001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:52:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:52:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308335616001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":152958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:52:21] local.INFO: GPS data processed {"connection_id":152958,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:52:21] local.INFO: Acknowledgment sent {"connection_id":152958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:52:37] local.INFO: TCP Data received {"connection_id":152959,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:52:37] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:52:37] local.INFO: Packet analysis {"connection_id":152959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:52:37] local.INFO: Extracted packet for processing {"connection_id":152959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308290560001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786360811000,"timestamp_ms":1786360811000,"timestamp_seconds":1786360811,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66cdf8"} 
[2026-08-10 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-08-10 16:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:52: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-08-10 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-08-10 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-08-10 16:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308290560001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308290560001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:52:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308290560001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":152959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:52:37] local.INFO: GPS data processed {"connection_id":152959,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:52:37] local.INFO: Acknowledgment sent {"connection_id":152959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:52:37] local.INFO: TCP Data received {"connection_id":152030,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152030,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:52:37] local.INFO: Processing buffer {"connection_id":152030,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:52:37] local.INFO: IMEI packet received {"connection_id":152030,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":152030,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:52:43] local.INFO: TCP Data received {"connection_id":152030,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152030,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:52:43] local.INFO: Processing buffer {"connection_id":152030,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:52:43] local.INFO: IMEI packet received {"connection_id":152030,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":152030,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:52:44] local.INFO: TCP Data received {"connection_id":152030,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb68c9c8012d0bf6400703a5480017012f1b..."} 
[2026-08-10 16:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb68c9c8012d0bf6400703a5480017012f1b..."} 
[2026-08-10 16:52:44] local.INFO: Processing buffer {"connection_id":152030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb68c9c8012d0bf6400703a5480017012f1b..."} 
[2026-08-10 16:52:44] local.INFO: Packet analysis {"connection_id":152030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb68"} 
[2026-08-10 16:52:44] local.INFO: Extracted packet for processing {"connection_id":152030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb68"} 
[2026-08-10 16:52:44] local.INFO: GPS Element Parsed {"raw_longitude":755758656,"raw_latitude":117679432,"longitude_deg":75.5758656,"latitude_deg":11.7679432,"altitude":23,"angle":303,"satellites":27,"speed":33,"hex_longitude":"2d0bf640","hex_latitude":"0703a548","is_valid_coordinates":true} 
[2026-08-10 16:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308398080001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27496840190492672,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868139227045140480,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 16:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786360941000,"timestamp_ms":1786360941000,"timestamp_seconds":1786360941,"priority":1,"record_length":96,"hex_timestamp":"0000019feb68c9c8"} 
[2026-08-10 16:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-10 16:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152030,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152030,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308398080001,"66":14396,"16":27496840190492672,"94":11008,"24":33,"45":868139227045140480},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-10 16:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308398080001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27496840190492672,"km_value":27496840190492.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:52:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":868139227045140480,"description":"Unknown IO ID 45"} 
[2026-08-10 16:52:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457308398080001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":33,"unknown_45":868139227045140480}} 
[2026-08-10 16:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":152030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620843,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:52:44] local.INFO: GPS data processed {"connection_id":152030,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:52:44] local.INFO: Acknowledgment sent {"connection_id":152030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:52:47] local.INFO: TCP Data received {"connection_id":152960,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:52:47] local.INFO: Processing buffer {"connection_id":152960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:52:47] local.INFO: IMEI packet received {"connection_id":152960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":152960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:52:52] local.INFO: TCP Data received {"connection_id":152960,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:52:52] local.INFO: Processing buffer {"connection_id":152960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:52:52] local.INFO: IMEI packet received {"connection_id":152960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":152960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:52:53] local.INFO: TCP Data received {"connection_id":152960,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6589c0012d196700071feeb8003a005625..."} 
[2026-08-10 16:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6589c0012d196700071feeb8003a005625..."} 
[2026-08-10 16:52:53] local.INFO: Processing buffer {"connection_id":152960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6589c0012d196700071feeb8003a005625..."} 
[2026-08-10 16:52:53] local.INFO: Packet analysis {"connection_id":152960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb65"} 
[2026-08-10 16:52:53] local.INFO: Extracted packet for processing {"connection_id":152960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb65"} 
[2026-08-10 16:52:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308340992001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786360728000,"timestamp_ms":1786360728000,"timestamp_seconds":1786360728,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6589c0"} 
[2026-08-10 16:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:52: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-08-10 16:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-10 16:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308340992001,"66":12374,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308340992001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:52:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:52:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308340992001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":152960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:52:53] local.INFO: GPS data processed {"connection_id":152960,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:52:53] local.INFO: Acknowledgment sent {"connection_id":152960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:52:58] local.INFO: TCP Data received {"connection_id":152960,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb65dbc8012d196700071feeb8003a005623..."} 
[2026-08-10 16:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb65dbc8012d196700071feeb8003a005623..."} 
[2026-08-10 16:52:58] local.INFO: Processing buffer {"connection_id":152960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb65dbc8012d196700071feeb8003a005623..."} 
[2026-08-10 16:52:58] local.INFO: Packet analysis {"connection_id":152960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb65"} 
[2026-08-10 16:52:58] local.INFO: Extracted packet for processing {"connection_id":152960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb65"} 
[2026-08-10 16:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308346368001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786360749000,"timestamp_ms":1786360749000,"timestamp_seconds":1786360749,"priority":1,"record_length":96,"hex_timestamp":"0000019feb65dbc8"} 
[2026-08-10 16:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 16:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308346368001,"66":11721,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308346368001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:52:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:52:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308346368001,"power":11721,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":152960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:52:58] local.INFO: GPS data processed {"connection_id":152960,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:52:58] local.INFO: Acknowledgment sent {"connection_id":152960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:52:58] local.INFO: TCP Data received {"connection_id":151650,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:52:58] local.INFO: Processing buffer {"connection_id":151650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:52:58] local.INFO: IMEI packet received {"connection_id":151650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":151650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:53:03] local.INFO: TCP Data received {"connection_id":151650,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:53:03] local.INFO: Processing buffer {"connection_id":151650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:53:03] local.INFO: IMEI packet received {"connection_id":151650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":151650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:53:05] local.INFO: TCP Data received {"connection_id":151650,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:53:05] local.INFO: Processing buffer {"connection_id":151650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:53:05] local.INFO: Packet analysis {"connection_id":151650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:53:05] local.INFO: Extracted packet for processing {"connection_id":151650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308290560001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786360811000,"timestamp_ms":1786360811000,"timestamp_seconds":1786360811,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66cdf8"} 
[2026-08-10 16:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308290560001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308290560001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:53:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308290560001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":151650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:53:05] local.INFO: GPS data processed {"connection_id":151650,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:53:05] local.INFO: Acknowledgment sent {"connection_id":151650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:53:16] local.INFO: TCP Data received {"connection_id":152030,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb68dd50012d0be8000703ade8001701211a..."} 
[2026-08-10 16:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb68dd50012d0be8000703ade8001701211a..."} 
[2026-08-10 16:53:16] local.INFO: Processing buffer {"connection_id":152030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb68dd50012d0be8000703ade8001701211a..."} 
[2026-08-10 16:53:16] local.INFO: Packet analysis {"connection_id":152030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb68"} 
[2026-08-10 16:53:16] local.INFO: Extracted packet for processing {"connection_id":152030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb68"} 
[2026-08-10 16:53:16] local.INFO: GPS Element Parsed {"raw_longitude":755755008,"raw_latitude":117681640,"longitude_deg":75.5755008,"latitude_deg":11.768164,"altitude":23,"angle":289,"satellites":26,"speed":28,"hex_longitude":"2d0be800","hex_latitude":"0703ade8","is_valid_coordinates":true} 
[2026-08-10 16:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308400896001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27497046348922880,"note":"Value kept but may cause issues"} 
[2026-08-10 16:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861946777558140928,"note":"Value kept but may cause issues"} 
[2026-08-10 16:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786360946000,"timestamp_ms":1786360946000,"timestamp_seconds":1786360946,"priority":1,"record_length":96,"hex_timestamp":"0000019feb68dd50"} 
[2026-08-10 16:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 16:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152030,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152030,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-10 16:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-10 16:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-10 16:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308400896001,"66":14450,"17":206,"94":11008,"24":28,"16":27497046348922880,"45":861946777558140928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-10 16:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-10 16:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-10 16:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308400896001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:53:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-10 16:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27497046348922880,"km_value":27497046348922.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":861946777558140928,"description":"Unknown IO ID 45"} 
[2026-08-10 16:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308400896001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":861946777558140928}} 
[2026-08-10 16:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":152030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620847,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:53:16] local.INFO: GPS data processed {"connection_id":152030,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:53:16] local.INFO: Acknowledgment sent {"connection_id":152030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:53:37] local.INFO: TCP Data received {"connection_id":151650,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:53:37] local.INFO: Processing buffer {"connection_id":151650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:53:37] local.INFO: Packet analysis {"connection_id":151650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:53:37] local.INFO: Extracted packet for processing {"connection_id":151650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308290560001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786360811000,"timestamp_ms":1786360811000,"timestamp_seconds":1786360811,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66cdf8"} 
[2026-08-10 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-08-10 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:53: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-08-10 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-08-10 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-08-10 16:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308290560001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308290560001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:53:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308290560001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":151650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:53:37] local.INFO: GPS data processed {"connection_id":151650,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:53:37] local.INFO: Acknowledgment sent {"connection_id":151650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:53:41] local.INFO: TCP Data received {"connection_id":151651,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151651,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:53:41] local.INFO: Processing buffer {"connection_id":151651,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:53:41] local.INFO: IMEI packet received {"connection_id":151651,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-10 16:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":151651,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:53:41] local.INFO: TCP Data received {"connection_id":151651,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151651,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:53:41] local.INFO: Processing buffer {"connection_id":151651,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:53:41] local.INFO: IMEI packet received {"connection_id":151651,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":151651,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:53:42] local.INFO: TCP Data received {"connection_id":152961,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:53:42] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:53:42] local.INFO: IMEI packet received {"connection_id":152961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":152961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:53:42] local.INFO: TCP Data received {"connection_id":151651,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151651,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:53:42] local.INFO: Processing buffer {"connection_id":151651,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:53:42] local.INFO: IMEI packet received {"connection_id":151651,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":151651,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:53:43] local.INFO: TCP Data received {"connection_id":151651,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151651,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:53:43] local.INFO: Processing buffer {"connection_id":151651,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-10 16:53:43] local.INFO: IMEI packet received {"connection_id":151651,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-10 16:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":151651,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:53:47] local.INFO: TCP Data received {"connection_id":152961,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:53:47] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:53:47] local.INFO: IMEI packet received {"connection_id":152961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":152961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:53:48] local.INFO: TCP Data received {"connection_id":152961,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb662dd0012d196700071feeb8003a005624..."} 
[2026-08-10 16:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb662dd0012d196700071feeb8003a005624..."} 
[2026-08-10 16:53:48] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb662dd0012d196700071feeb8003a005624..."} 
[2026-08-10 16:53:48] local.INFO: Packet analysis {"connection_id":152961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:53:48] local.INFO: Extracted packet for processing {"connection_id":152961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308351744001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786360770000,"timestamp_ms":1786360770000,"timestamp_seconds":1786360770,"priority":1,"record_length":96,"hex_timestamp":"0000019feb662dd0"} 
[2026-08-10 16:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-10 16:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308351744001,"66":11700,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308351744001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:53:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:53:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308351744001,"power":11700,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":152961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:53:48] local.INFO: GPS data processed {"connection_id":152961,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:53:48] local.INFO: Acknowledgment sent {"connection_id":152961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:54:03] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:54:03] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:54:03] local.INFO: IMEI packet received {"connection_id":151652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":151652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:54:09] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:54:09] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:54:09] local.INFO: IMEI packet received {"connection_id":151652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":151652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:54:10] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:54:10] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:54:10] local.INFO: Packet analysis {"connection_id":151652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:54:10] local.INFO: Extracted packet for processing {"connection_id":151652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308290560001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786360811000,"timestamp_ms":1786360811000,"timestamp_seconds":1786360811,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66cdf8"} 
[2026-08-10 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-08-10 16:54: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-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308290560001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308290560001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:54:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308290560001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":151652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:54:10] local.INFO: GPS data processed {"connection_id":151652,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:54:10] local.INFO: Acknowledgment sent {"connection_id":151652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:54:14] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:54:14] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:54:14] local.INFO: Packet analysis {"connection_id":151652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:54:14] local.INFO: Extracted packet for processing {"connection_id":151652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308290560001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786360811000,"timestamp_ms":1786360811000,"timestamp_seconds":1786360811,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66cdf8"} 
[2026-08-10 16:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308290560001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308290560001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:54:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308290560001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":151652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:54:14] local.INFO: GPS data processed {"connection_id":151652,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:54:14] local.INFO: Acknowledgment sent {"connection_id":151652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:54:20] local.INFO: TCP Data received {"connection_id":152961,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb667fd8012d196700071feeb8003a005625..."} 
[2026-08-10 16:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb667fd8012d196700071feeb8003a005625..."} 
[2026-08-10 16:54:20] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb667fd8012d196700071feeb8003a005625..."} 
[2026-08-10 16:54:20] local.INFO: Packet analysis {"connection_id":152961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:54:20] local.INFO: Extracted packet for processing {"connection_id":152961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308357120001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786360791000,"timestamp_ms":1786360791000,"timestamp_seconds":1786360791,"priority":1,"record_length":96,"hex_timestamp":"0000019feb667fd8"} 
[2026-08-10 16:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:54: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-10 16:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308357120001,"66":12504,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308357120001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:54:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:54:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308357120001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":152961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:54:20] local.INFO: GPS data processed {"connection_id":152961,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:54:20] local.INFO: Acknowledgment sent {"connection_id":152961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:54:41] local.INFO: TCP Data received {"connection_id":154411,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:54:41] local.INFO: Processing buffer {"connection_id":154411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:54:41] local.INFO: IMEI packet received {"connection_id":154411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":154411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:54:42] local.INFO: TCP Data received {"connection_id":154411,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:54:42] local.INFO: Processing buffer {"connection_id":154411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:54:42] local.INFO: IMEI packet received {"connection_id":154411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":154411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:54:47] local.INFO: TCP Data received {"connection_id":154411,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:54:47] local.INFO: Processing buffer {"connection_id":154411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:54:47] local.INFO: IMEI packet received {"connection_id":154411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":154411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:54:48] local.INFO: TCP Data received {"connection_id":154411,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66d1e0012d196700071feeb8003a005624..."} 
[2026-08-10 16:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66d1e0012d196700071feeb8003a005624..."} 
[2026-08-10 16:54:48] local.INFO: Processing buffer {"connection_id":154411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66d1e0012d196700071feeb8003a005624..."} 
[2026-08-10 16:54:48] local.INFO: Packet analysis {"connection_id":154411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:54:48] local.INFO: Extracted packet for processing {"connection_id":154411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308362496001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786360812000,"timestamp_ms":1786360812000,"timestamp_seconds":1786360812,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66d1e0"} 
[2026-08-10 16:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 16:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308362496001,"66":12461,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308362496001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:54:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308362496001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":154411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:54:48] local.INFO: GPS data processed {"connection_id":154411,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:54:48] local.INFO: Acknowledgment sent {"connection_id":154411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:55:00] local.INFO: TCP Data received {"connection_id":152031,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:55:00] local.INFO: Processing buffer {"connection_id":152031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:55:00] local.INFO: IMEI packet received {"connection_id":152031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":152031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:55:03] local.INFO: TCP Data received {"connection_id":152031,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:55:03] local.INFO: Processing buffer {"connection_id":152031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:55:03] local.INFO: IMEI packet received {"connection_id":152031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":152031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:55:05] local.INFO: TCP Data received {"connection_id":152031,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:55:05] local.INFO: Processing buffer {"connection_id":152031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:55:05] local.INFO: Packet analysis {"connection_id":152031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:55:05] local.INFO: Extracted packet for processing {"connection_id":152031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308290560001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786360811000,"timestamp_ms":1786360811000,"timestamp_seconds":1786360811,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66cdf8"} 
[2026-08-10 16:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308290560001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308290560001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:55:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308290560001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":152031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:55:05] local.INFO: GPS data processed {"connection_id":152031,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:55:05] local.INFO: Acknowledgment sent {"connection_id":152031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:55:20] local.INFO: TCP Data received {"connection_id":154411,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6723e8012d196700071feeb8003a005624..."} 
[2026-08-10 16:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6723e8012d196700071feeb8003a005624..."} 
[2026-08-10 16:55:20] local.INFO: Processing buffer {"connection_id":154411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6723e8012d196700071feeb8003a005624..."} 
[2026-08-10 16:55:20] local.INFO: Packet analysis {"connection_id":154411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb67"} 
[2026-08-10 16:55:20] local.INFO: Extracted packet for processing {"connection_id":154411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb67"} 
[2026-08-10 16:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308367872001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786360833000,"timestamp_ms":1786360833000,"timestamp_seconds":1786360833,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6723e8"} 
[2026-08-10 16:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308367872001,"66":12504,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308367872001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:55:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:55:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308367872001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":154411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:55:20] local.INFO: GPS data processed {"connection_id":154411,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:55:20] local.INFO: Acknowledgment sent {"connection_id":154411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:55:37] local.INFO: TCP Data received {"connection_id":152031,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:55:37] local.INFO: Processing buffer {"connection_id":152031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb66cdf8012d342a4006abc280000c010224..."} 
[2026-08-10 16:55:37] local.INFO: Packet analysis {"connection_id":152031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:55:37] local.INFO: Extracted packet for processing {"connection_id":152031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb66"} 
[2026-08-10 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308290560001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786360811000,"timestamp_ms":1786360811000,"timestamp_seconds":1786360811,"priority":1,"record_length":96,"hex_timestamp":"0000019feb66cdf8"} 
[2026-08-10 16:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 16:55: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-08-10 16:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308290560001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 16:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308290560001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:55:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 16:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308290560001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":152031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:55:37] local.INFO: GPS data processed {"connection_id":152031,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:55:37] local.INFO: Acknowledgment sent {"connection_id":152031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:55:42] local.INFO: TCP Data received {"connection_id":151653,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:55:42] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:55:42] local.INFO: IMEI packet received {"connection_id":151653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":151653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:55:44] local.INFO: TCP Data received {"connection_id":151653,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:55:44] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:55:44] local.INFO: IMEI packet received {"connection_id":151653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":151653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:55:47] local.INFO: TCP Data received {"connection_id":151653,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:55:47] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:55:47] local.INFO: IMEI packet received {"connection_id":151653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":151653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:55:47] local.INFO: TCP Data received {"connection_id":151653,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6aaa40012d196700071feeb8003a005626..."} 
[2026-08-10 16:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6aaa40012d196700071feeb8003a005626..."} 
[2026-08-10 16:55:47] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6aaa40012d196700071feeb8003a005626..."} 
[2026-08-10 16:55:47] local.INFO: Packet analysis {"connection_id":151653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6a"} 
[2026-08-10 16:55:47] local.INFO: Extracted packet for processing {"connection_id":151653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6a"} 
[2026-08-10 16:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308427008001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:55: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-08-10 16:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786361064000,"timestamp_ms":1786361064000,"timestamp_seconds":1786361064,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6aaa40"} 
[2026-08-10 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-08-10 16:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308427008001,"66":12461,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308427008001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:55:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:55:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308427008001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":151653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:55:48] local.INFO: GPS data processed {"connection_id":151653,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:55:48] local.INFO: Acknowledgment sent {"connection_id":151653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:55:58] local.INFO: TCP Data received {"connection_id":151654,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:55:58] local.INFO: Processing buffer {"connection_id":151654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:55:58] local.INFO: IMEI packet received {"connection_id":151654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":151654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:56:03] local.INFO: TCP Data received {"connection_id":151654,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:56:03] local.INFO: Processing buffer {"connection_id":151654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:56:03] local.INFO: IMEI packet received {"connection_id":151654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":151654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:56:05] local.INFO: TCP Data received {"connection_id":151654,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:56:05] local.INFO: Processing buffer {"connection_id":151654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:56:05] local.INFO: Packet analysis {"connection_id":151654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:56:05] local.INFO: Extracted packet for processing {"connection_id":151654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308367616001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786361112000,"timestamp_ms":1786361112000,"timestamp_seconds":1786361112,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6b65c0"} 
[2026-08-10 16:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:56: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-08-10 16:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308367616001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308367616001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:56:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308367616001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":151654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:56:05] local.INFO: GPS data processed {"connection_id":151654,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:56:05] local.INFO: Acknowledgment sent {"connection_id":151654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:56:20] local.INFO: TCP Data received {"connection_id":151653,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6afc48012d196700071feeb8003a005625..."} 
[2026-08-10 16:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6afc48012d196700071feeb8003a005625..."} 
[2026-08-10 16:56:20] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6afc48012d196700071feeb8003a005625..."} 
[2026-08-10 16:56:20] local.INFO: Packet analysis {"connection_id":151653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6a"} 
[2026-08-10 16:56:20] local.INFO: Extracted packet for processing {"connection_id":151653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6a"} 
[2026-08-10 16:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308432384001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786361085000,"timestamp_ms":1786361085000,"timestamp_seconds":1786361085,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6afc48"} 
[2026-08-10 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-08-10 16:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308432384001,"66":12461,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308432384001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:56:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:56:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308432384001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":151653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:56:20] local.INFO: GPS data processed {"connection_id":151653,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:56:20] local.INFO: Acknowledgment sent {"connection_id":151653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:56:37] local.INFO: TCP Data received {"connection_id":151654,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:56:37] local.INFO: Processing buffer {"connection_id":151654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:56:37] local.INFO: Packet analysis {"connection_id":151654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:56:37] local.INFO: Extracted packet for processing {"connection_id":151654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308367616001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786361112000,"timestamp_ms":1786361112000,"timestamp_seconds":1786361112,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6b65c0"} 
[2026-08-10 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-08-10 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308367616001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308367616001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:56:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308367616001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":151654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:56:37] local.INFO: GPS data processed {"connection_id":151654,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:56:37] local.INFO: Acknowledgment sent {"connection_id":151654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:56:42] local.INFO: TCP Data received {"connection_id":152033,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:56:42] local.INFO: Processing buffer {"connection_id":152033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:56:42] local.INFO: IMEI packet received {"connection_id":152033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":152033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:56:47] local.INFO: TCP Data received {"connection_id":152033,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:56:47] local.INFO: Processing buffer {"connection_id":152033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:56:47] local.INFO: IMEI packet received {"connection_id":152033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":152033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:56:49] local.INFO: TCP Data received {"connection_id":152033,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6b4e50012d196700071feeb8003a005625..."} 
[2026-08-10 16:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6b4e50012d196700071feeb8003a005625..."} 
[2026-08-10 16:56:49] local.INFO: Processing buffer {"connection_id":152033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6b4e50012d196700071feeb8003a005625..."} 
[2026-08-10 16:56:49] local.INFO: Packet analysis {"connection_id":152033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:56:49] local.INFO: Extracted packet for processing {"connection_id":152033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308437760001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786361106000,"timestamp_ms":1786361106000,"timestamp_seconds":1786361106,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6b4e50"} 
[2026-08-10 16:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:56: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-08-10 16:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308437760001,"66":11765,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308437760001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:56:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:56:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308437760001,"power":11765,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":152033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:56:49] local.INFO: GPS data processed {"connection_id":152033,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:56:49] local.INFO: Acknowledgment sent {"connection_id":152033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:56:58] local.INFO: TCP Data received {"connection_id":152034,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:56:58] local.INFO: Processing buffer {"connection_id":152034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:56:58] local.INFO: IMEI packet received {"connection_id":152034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":152034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:57:03] local.INFO: TCP Data received {"connection_id":152034,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:57:03] local.INFO: Processing buffer {"connection_id":152034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:57:03] local.INFO: IMEI packet received {"connection_id":152034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":152034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:57:06] local.INFO: TCP Data received {"connection_id":152034,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:57:06] local.INFO: Processing buffer {"connection_id":152034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:57:06] local.INFO: Packet analysis {"connection_id":152034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:57:06] local.INFO: Extracted packet for processing {"connection_id":152034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308367616001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786361112000,"timestamp_ms":1786361112000,"timestamp_seconds":1786361112,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6b65c0"} 
[2026-08-10 16:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:57: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-08-10 16:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308367616001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308367616001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:57:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308367616001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":152034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:57:06] local.INFO: GPS data processed {"connection_id":152034,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:57:06] local.INFO: Acknowledgment sent {"connection_id":152034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:57:21] local.INFO: TCP Data received {"connection_id":152033,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ba058012d196700071feeb8003a005626..."} 
[2026-08-10 16:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ba058012d196700071feeb8003a005626..."} 
[2026-08-10 16:57:21] local.INFO: Processing buffer {"connection_id":152033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ba058012d196700071feeb8003a005626..."} 
[2026-08-10 16:57:21] local.INFO: Packet analysis {"connection_id":152033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:57:21] local.INFO: Extracted packet for processing {"connection_id":152033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:57:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308443136001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786361127000,"timestamp_ms":1786361127000,"timestamp_seconds":1786361127,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ba058"} 
[2026-08-10 16:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-10 16:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308443136001,"66":12428,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308443136001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:57:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:57:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308443136001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":152033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:57:21] local.INFO: GPS data processed {"connection_id":152033,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:57:21] local.INFO: Acknowledgment sent {"connection_id":152033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:57:41] local.INFO: TCP Data received {"connection_id":152034,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:57:41] local.INFO: Processing buffer {"connection_id":152034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:57:41] local.INFO: Packet analysis {"connection_id":152034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:57:41] local.INFO: Extracted packet for processing {"connection_id":152034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308367616001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786361112000,"timestamp_ms":1786361112000,"timestamp_seconds":1786361112,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6b65c0"} 
[2026-08-10 16:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308367616001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308367616001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:57:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:57:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308367616001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":152034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:57:41] local.INFO: GPS data processed {"connection_id":152034,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:57:41] local.INFO: Acknowledgment sent {"connection_id":152034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:57:50] local.INFO: TCP Data received {"connection_id":152963,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:57:50] local.INFO: Processing buffer {"connection_id":152963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:57:50] local.INFO: IMEI packet received {"connection_id":152963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":152963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:57:52] local.INFO: TCP Data received {"connection_id":152963,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:57:52] local.INFO: Processing buffer {"connection_id":152963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:57:52] local.INFO: IMEI packet received {"connection_id":152963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":152963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:57:57] local.INFO: TCP Data received {"connection_id":152963,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:57:57] local.INFO: Processing buffer {"connection_id":152963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:57:57] local.INFO: IMEI packet received {"connection_id":152963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":152963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:57:58] local.INFO: TCP Data received {"connection_id":151655,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:57:58] local.INFO: Processing buffer {"connection_id":151655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:57:58] local.INFO: IMEI packet received {"connection_id":151655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":151655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:57:58] local.INFO: TCP Data received {"connection_id":152963,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6bf260012d196700071feeb8003a005622..."} 
[2026-08-10 16:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6bf260012d196700071feeb8003a005622..."} 
[2026-08-10 16:57:58] local.INFO: Processing buffer {"connection_id":152963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6bf260012d196700071feeb8003a005622..."} 
[2026-08-10 16:57:58] local.INFO: Packet analysis {"connection_id":152963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:57:58] local.INFO: Extracted packet for processing {"connection_id":152963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:57:58] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308448512001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786361148000,"timestamp_ms":1786361148000,"timestamp_seconds":1786361148,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6bf260"} 
[2026-08-10 16:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 16:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308448512001,"66":12428,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308448512001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:57:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:57:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308448512001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":152963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:57:58] local.INFO: GPS data processed {"connection_id":152963,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:57:58] local.INFO: Acknowledgment sent {"connection_id":152963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:58:03] local.INFO: TCP Data received {"connection_id":151655,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:58:03] local.INFO: Processing buffer {"connection_id":151655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:58:03] local.INFO: IMEI packet received {"connection_id":151655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":151655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:58:06] local.INFO: TCP Data received {"connection_id":151655,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:58:06] local.INFO: Processing buffer {"connection_id":151655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:58:06] local.INFO: Packet analysis {"connection_id":151655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:58:06] local.INFO: Extracted packet for processing {"connection_id":151655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308367616001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786361112000,"timestamp_ms":1786361112000,"timestamp_seconds":1786361112,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6b65c0"} 
[2026-08-10 16:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:58: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-08-10 16:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308367616001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308367616001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:58:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308367616001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":151655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:58:06] local.INFO: GPS data processed {"connection_id":151655,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:58:06] local.INFO: Acknowledgment sent {"connection_id":151655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:58:37] local.INFO: TCP Data received {"connection_id":151655,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:58:37] local.INFO: Processing buffer {"connection_id":151655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:58:37] local.INFO: Packet analysis {"connection_id":151655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:58:37] local.INFO: Extracted packet for processing {"connection_id":151655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 16:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308367616001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786361112000,"timestamp_ms":1786361112000,"timestamp_seconds":1786361112,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6b65c0"} 
[2026-08-10 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-08-10 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 16:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308367616001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308367616001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:58:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308367616001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":151655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:58:37] local.INFO: GPS data processed {"connection_id":151655,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:58:37] local.INFO: Acknowledgment sent {"connection_id":151655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:58:42] local.INFO: TCP Data received {"connection_id":154412,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:58:42] local.INFO: Processing buffer {"connection_id":154412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:58:42] local.INFO: IMEI packet received {"connection_id":154412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":154412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:58:47] local.INFO: TCP Data received {"connection_id":154412,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:58:47] local.INFO: Processing buffer {"connection_id":154412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:58:47] local.INFO: IMEI packet received {"connection_id":154412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":154412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:58:49] local.INFO: TCP Data received {"connection_id":154412,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6c4468012d196700071feeb8003a005625..."} 
[2026-08-10 16:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6c4468012d196700071feeb8003a005625..."} 
[2026-08-10 16:58:49] local.INFO: Processing buffer {"connection_id":154412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6c4468012d196700071feeb8003a005625..."} 
[2026-08-10 16:58:49] local.INFO: Packet analysis {"connection_id":154412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6c"} 
[2026-08-10 16:58:49] local.INFO: Extracted packet for processing {"connection_id":154412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6c"} 
[2026-08-10 16:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308453888001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786361169000,"timestamp_ms":1786361169000,"timestamp_seconds":1786361169,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6c4468"} 
[2026-08-10 16:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 16:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308453888001,"66":12461,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308453888001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:58:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:58:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308453888001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":154412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:58:49] local.INFO: GPS data processed {"connection_id":154412,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:58:49] local.INFO: Acknowledgment sent {"connection_id":154412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:59:03] local.INFO: TCP Data received {"connection_id":152964,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:59:03] local.INFO: Processing buffer {"connection_id":152964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:59:03] local.INFO: IMEI packet received {"connection_id":152964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":152964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:59:08] local.INFO: TCP Data received {"connection_id":152964,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:59:08] local.INFO: Processing buffer {"connection_id":152964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:59:08] local.INFO: IMEI packet received {"connection_id":152964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 16:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":152964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:59:09] local.INFO: TCP Data received {"connection_id":152964,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:59:09] local.INFO: Processing buffer {"connection_id":152964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:59:09] local.INFO: Packet analysis {"connection_id":152964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:59:09] local.INFO: Extracted packet for processing {"connection_id":152964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308367616001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786361112000,"timestamp_ms":1786361112000,"timestamp_seconds":1786361112,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6b65c0"} 
[2026-08-10 16:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308367616001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308367616001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:59:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308367616001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":152964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:59:09] local.INFO: GPS data processed {"connection_id":152964,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:59:09] local.INFO: Acknowledgment sent {"connection_id":152964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:59:21] local.INFO: TCP Data received {"connection_id":154412,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6c9670012d196700071feeb8003a005626..."} 
[2026-08-10 16:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6c9670012d196700071feeb8003a005626..."} 
[2026-08-10 16:59:21] local.INFO: Processing buffer {"connection_id":154412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6c9670012d196700071feeb8003a005626..."} 
[2026-08-10 16:59:21] local.INFO: Packet analysis {"connection_id":154412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6c"} 
[2026-08-10 16:59:21] local.INFO: Extracted packet for processing {"connection_id":154412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6c"} 
[2026-08-10 16:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308459264001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786361190000,"timestamp_ms":1786361190000,"timestamp_seconds":1786361190,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6c9670"} 
[2026-08-10 16:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308459264001,"66":12461,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308459264001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:59:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:59:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308459264001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":154412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:59:21] local.INFO: GPS data processed {"connection_id":154412,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:59:21] local.INFO: Acknowledgment sent {"connection_id":154412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:59:40] local.INFO: TCP Data received {"connection_id":152964,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:59:40] local.INFO: Processing buffer {"connection_id":152964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 16:59:40] local.INFO: Packet analysis {"connection_id":152964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:59:40] local.INFO: Extracted packet for processing {"connection_id":152964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 16:59:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 16:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 16:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308367616001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 16:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 16:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786361112000,"timestamp_ms":1786361112000,"timestamp_seconds":1786361112,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6b65c0"} 
[2026-08-10 16:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 16:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 16:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 16:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 16:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 16:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308367616001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 16:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 16:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 16:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308367616001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:59:40] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 16:59:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 16:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 16:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308367616001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 16:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":152964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:59:40] local.INFO: GPS data processed {"connection_id":152964,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:59:40] local.INFO: Acknowledgment sent {"connection_id":152964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:59:42] local.INFO: TCP Data received {"connection_id":152965,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:59:42] local.INFO: Processing buffer {"connection_id":152965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:59:42] local.INFO: IMEI packet received {"connection_id":152965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 16:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":152965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 16:59:47] local.INFO: TCP Data received {"connection_id":152965,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:59:47] local.INFO: Processing buffer {"connection_id":152965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 16:59:47] local.INFO: IMEI packet received {"connection_id":152965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 16:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":152965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 16:59:48] local.INFO: TCP Data received {"connection_id":152965,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ce878012d196700071feeb8003a005623..."} 
[2026-08-10 16:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ce878012d196700071feeb8003a005623..."} 
[2026-08-10 16:59:48] local.INFO: Processing buffer {"connection_id":152965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ce878012d196700071feeb8003a005623..."} 
[2026-08-10 16:59:48] local.INFO: Packet analysis {"connection_id":152965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6c"} 
[2026-08-10 16:59:48] local.INFO: Extracted packet for processing {"connection_id":152965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6c"} 
[2026-08-10 16:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 16: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-08-10 16:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308464640001,"note":"Value kept but may cause issues"} 
[2026-08-10 16:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 16:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 16:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 16:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786361211000,"timestamp_ms":1786361211000,"timestamp_seconds":1786361211,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ce878"} 
[2026-08-10 16:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 16:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 16:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 16: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-08-10 16:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 16:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 16:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 16:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 16:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 16:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 16:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 16:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308464640001,"66":12461,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 16:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 16:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 16:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308464640001,"description":"Unknown IO ID 0"} 
[2026-08-10 16:59:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 16:59:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 16:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 16:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 16:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308464640001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 16:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":152965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 16:59:48] local.INFO: GPS data processed {"connection_id":152965,"processed":1,"errors":0,"total":1} 
[2026-08-10 16:59:48] local.INFO: Acknowledgment sent {"connection_id":152965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 16:59:58] local.INFO: TCP Data received {"connection_id":154413,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:59:58] local.INFO: Processing buffer {"connection_id":154413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 16:59:58] local.INFO: IMEI packet received {"connection_id":154413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 16:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":154413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:00:03] local.INFO: TCP Data received {"connection_id":154413,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:00:03] local.INFO: Processing buffer {"connection_id":154413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:00:03] local.INFO: IMEI packet received {"connection_id":154413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":154413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:00:04] local.INFO: TCP Data received {"connection_id":154413,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 17:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 17:00:04] local.INFO: Processing buffer {"connection_id":154413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 17:00:04] local.INFO: Packet analysis {"connection_id":154413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 17:00:04] local.INFO: Extracted packet for processing {"connection_id":154413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 17:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308367616001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786361112000,"timestamp_ms":1786361112000,"timestamp_seconds":1786361112,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6b65c0"} 
[2026-08-10 17:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:00: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-08-10 17:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308367616001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 17:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308367616001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:00:04] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 17:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308367616001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":154413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:00:05] local.INFO: GPS data processed {"connection_id":154413,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:00:05] local.INFO: Acknowledgment sent {"connection_id":154413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:00:19] local.INFO: TCP Data received {"connection_id":152965,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6d3a80012d196700071feeb8003a005626..."} 
[2026-08-10 17:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6d3a80012d196700071feeb8003a005626..."} 
[2026-08-10 17:00:19] local.INFO: Processing buffer {"connection_id":152965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6d3a80012d196700071feeb8003a005626..."} 
[2026-08-10 17:00:19] local.INFO: Packet analysis {"connection_id":152965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6d"} 
[2026-08-10 17:00:19] local.INFO: Extracted packet for processing {"connection_id":152965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6d"} 
[2026-08-10 17:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308470016001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786361232000,"timestamp_ms":1786361232000,"timestamp_seconds":1786361232,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6d3a80"} 
[2026-08-10 17:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 17:00: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-08-10 17:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308470016001,"66":12211,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308470016001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:00:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:00:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308470016001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":152965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:00:19] local.INFO: GPS data processed {"connection_id":152965,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:00:19] local.INFO: Acknowledgment sent {"connection_id":152965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:00:36] local.INFO: TCP Data received {"connection_id":154413,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 17:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 17:00:36] local.INFO: Processing buffer {"connection_id":154413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6b65c0012d342a4006abc280000c010225..."} 
[2026-08-10 17:00:36] local.INFO: Packet analysis {"connection_id":154413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 17:00:36] local.INFO: Extracted packet for processing {"connection_id":154413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6b"} 
[2026-08-10 17:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":12,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308367616001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786361112000,"timestamp_ms":1786361112000,"timestamp_seconds":1786361112,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6b65c0"} 
[2026-08-10 17:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:00: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-08-10 17:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:00: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-08-10 17:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308367616001,"66":25473,"183":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-10 17:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308367616001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:00:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-10 17:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308367616001,"power":25473,"unknown_183":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":154413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:00:36] local.INFO: GPS data processed {"connection_id":154413,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:00:36] local.INFO: Acknowledgment sent {"connection_id":154413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:00:42] local.INFO: TCP Data received {"connection_id":152966,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:00:42] local.INFO: Processing buffer {"connection_id":152966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:00:42] local.INFO: IMEI packet received {"connection_id":152966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":152966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:00:47] local.INFO: TCP Data received {"connection_id":152966,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:00:47] local.INFO: Processing buffer {"connection_id":152966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:00:47] local.INFO: IMEI packet received {"connection_id":152966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":152966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:00:48] local.INFO: TCP Data received {"connection_id":152966,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6d8c88012d196700071feeb8003a005626..."} 
[2026-08-10 17:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6d8c88012d196700071feeb8003a005626..."} 
[2026-08-10 17:00:48] local.INFO: Processing buffer {"connection_id":152966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6d8c88012d196700071feeb8003a005626..."} 
[2026-08-10 17:00:48] local.INFO: Packet analysis {"connection_id":152966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6d"} 
[2026-08-10 17:00:48] local.INFO: Extracted packet for processing {"connection_id":152966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6d"} 
[2026-08-10 17:00:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308475392001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786361253000,"timestamp_ms":1786361253000,"timestamp_seconds":1786361253,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6d8c88"} 
[2026-08-10 17:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 17:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308475392001,"66":12428,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308475392001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:00:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:00:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308475392001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":152966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:00:48] local.INFO: GPS data processed {"connection_id":152966,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:00:48] local.INFO: Acknowledgment sent {"connection_id":152966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:00:58] local.INFO: TCP Data received {"connection_id":152035,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:00:58] local.INFO: Processing buffer {"connection_id":152035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:00:58] local.INFO: IMEI packet received {"connection_id":152035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":152035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:01:03] local.INFO: TCP Data received {"connection_id":152035,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:01:03] local.INFO: Processing buffer {"connection_id":152035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:01:03] local.INFO: IMEI packet received {"connection_id":152035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":152035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:01:04] local.INFO: TCP Data received {"connection_id":152035,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:01:04] local.INFO: Processing buffer {"connection_id":152035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:01:04] local.INFO: Packet analysis {"connection_id":152035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:01:04] local.INFO: Extracted packet for processing {"connection_id":152035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308444672001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786361413000,"timestamp_ms":1786361413000,"timestamp_seconds":1786361413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ffd88"} 
[2026-08-10 17:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:01: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-08-10 17:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308444672001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308444672001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:01:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308444672001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":152035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:01:04] local.INFO: GPS data processed {"connection_id":152035,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:01:04] local.INFO: Acknowledgment sent {"connection_id":152035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:01:20] local.INFO: TCP Data received {"connection_id":152966,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6dde90012d196700071feeb8003a005624..."} 
[2026-08-10 17:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6dde90012d196700071feeb8003a005624..."} 
[2026-08-10 17:01:20] local.INFO: Processing buffer {"connection_id":152966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6dde90012d196700071feeb8003a005624..."} 
[2026-08-10 17:01:20] local.INFO: Packet analysis {"connection_id":152966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6d"} 
[2026-08-10 17:01:20] local.INFO: Extracted packet for processing {"connection_id":152966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6d"} 
[2026-08-10 17:01:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308480768001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786361274000,"timestamp_ms":1786361274000,"timestamp_seconds":1786361274,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6dde90"} 
[2026-08-10 17:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 17:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308480768001,"66":12461,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308480768001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:01:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:01:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308480768001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":152966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:01:20] local.INFO: GPS data processed {"connection_id":152966,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:01:20] local.INFO: Acknowledgment sent {"connection_id":152966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:01:35] local.INFO: TCP Data received {"connection_id":152035,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:01:35] local.INFO: Processing buffer {"connection_id":152035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:01:35] local.INFO: Packet analysis {"connection_id":152035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:01:35] local.INFO: Extracted packet for processing {"connection_id":152035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308444672001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786361413000,"timestamp_ms":1786361413000,"timestamp_seconds":1786361413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ffd88"} 
[2026-08-10 17:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:01: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-08-10 17:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308444672001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308444672001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:01:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308444672001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":152035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:01:35] local.INFO: GPS data processed {"connection_id":152035,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:01:35] local.INFO: Acknowledgment sent {"connection_id":152035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:01:42] local.INFO: TCP Data received {"connection_id":154414,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:01:42] local.INFO: Processing buffer {"connection_id":154414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:01:42] local.INFO: IMEI packet received {"connection_id":154414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":154414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:01:47] local.INFO: TCP Data received {"connection_id":154414,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:01:47] local.INFO: Processing buffer {"connection_id":154414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:01:47] local.INFO: IMEI packet received {"connection_id":154414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":154414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:01:48] local.INFO: TCP Data received {"connection_id":154414,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6e3098012d196700071feeb8003a005621..."} 
[2026-08-10 17:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6e3098012d196700071feeb8003a005621..."} 
[2026-08-10 17:01:48] local.INFO: Processing buffer {"connection_id":154414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6e3098012d196700071feeb8003a005621..."} 
[2026-08-10 17:01:48] local.INFO: Packet analysis {"connection_id":154414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6e"} 
[2026-08-10 17:01:48] local.INFO: Extracted packet for processing {"connection_id":154414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6e"} 
[2026-08-10 17:01:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308486144001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786361295000,"timestamp_ms":1786361295000,"timestamp_seconds":1786361295,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6e3098"} 
[2026-08-10 17:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 17:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308486144001,"66":12439,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308486144001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:01:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308486144001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":154414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:01:48] local.INFO: GPS data processed {"connection_id":154414,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:01:48] local.INFO: Acknowledgment sent {"connection_id":154414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:02:03] local.INFO: TCP Data received {"connection_id":154415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:02:03] local.INFO: Processing buffer {"connection_id":154415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:02:03] local.INFO: IMEI packet received {"connection_id":154415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":154415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:02:08] local.INFO: TCP Data received {"connection_id":154415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:02:08] local.INFO: Processing buffer {"connection_id":154415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:02:08] local.INFO: IMEI packet received {"connection_id":154415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":154415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:02:10] local.INFO: TCP Data received {"connection_id":154415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:02:10] local.INFO: Processing buffer {"connection_id":154415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:02:10] local.INFO: Packet analysis {"connection_id":154415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:02:10] local.INFO: Extracted packet for processing {"connection_id":154415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308444672001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786361413000,"timestamp_ms":1786361413000,"timestamp_seconds":1786361413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ffd88"} 
[2026-08-10 17:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17: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-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:02: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-08-10 17:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308444672001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308444672001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:02:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308444672001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":154415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:02:10] local.INFO: GPS data processed {"connection_id":154415,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:02:10] local.INFO: Acknowledgment sent {"connection_id":154415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:02:14] local.INFO: TCP Data received {"connection_id":154415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:02:14] local.INFO: Processing buffer {"connection_id":154415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:02:14] local.INFO: Packet analysis {"connection_id":154415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:02:14] local.INFO: Extracted packet for processing {"connection_id":154415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:02:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308444672001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786361413000,"timestamp_ms":1786361413000,"timestamp_seconds":1786361413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ffd88"} 
[2026-08-10 17:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308444672001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308444672001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:02:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:02:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308444672001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":154415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:02:14] local.INFO: GPS data processed {"connection_id":154415,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:02:14] local.INFO: Acknowledgment sent {"connection_id":154415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:02:20] local.INFO: TCP Data received {"connection_id":154414,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6e82a0012d196700071feeb8003a005623..."} 
[2026-08-10 17:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6e82a0012d196700071feeb8003a005623..."} 
[2026-08-10 17:02:20] local.INFO: Processing buffer {"connection_id":154414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6e82a0012d196700071feeb8003a005623..."} 
[2026-08-10 17:02:20] local.INFO: Packet analysis {"connection_id":154414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6e"} 
[2026-08-10 17:02:20] local.INFO: Extracted packet for processing {"connection_id":154414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6e"} 
[2026-08-10 17:02:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308491520001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786361316000,"timestamp_ms":1786361316000,"timestamp_seconds":1786361316,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6e82a0"} 
[2026-08-10 17:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308491520001,"66":12461,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308491520001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:02:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:02:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308491520001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":154414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:02:20] local.INFO: GPS data processed {"connection_id":154414,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:02:20] local.INFO: Acknowledgment sent {"connection_id":154414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:02:44] local.INFO: TCP Data received {"connection_id":152967,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:02:44] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:02:44] local.INFO: IMEI packet received {"connection_id":152967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":152967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:02:47] local.INFO: TCP Data received {"connection_id":152967,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:02:47] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:02:47] local.INFO: IMEI packet received {"connection_id":152967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":152967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:02:52] local.INFO: TCP Data received {"connection_id":152967,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:02:52] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:02:52] local.INFO: IMEI packet received {"connection_id":152967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":152967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:02:53] local.INFO: TCP Data received {"connection_id":152967,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ed4a8012d196700071feeb8003a005620..."} 
[2026-08-10 17:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ed4a8012d196700071feeb8003a005620..."} 
[2026-08-10 17:02:53] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ed4a8012d196700071feeb8003a005620..."} 
[2026-08-10 17:02:53] local.INFO: Packet analysis {"connection_id":152967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6e"} 
[2026-08-10 17:02:53] local.INFO: Extracted packet for processing {"connection_id":152967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6e"} 
[2026-08-10 17:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":32,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308496896001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786361337000,"timestamp_ms":1786361337000,"timestamp_seconds":1786361337,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ed4a8"} 
[2026-08-10 17:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 17:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308496896001,"66":12439,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308496896001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:02:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:02:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308496896001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":152967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:02:53] local.INFO: GPS data processed {"connection_id":152967,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:02:53] local.INFO: Acknowledgment sent {"connection_id":152967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:02:58] local.INFO: TCP Data received {"connection_id":151656,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:02:58] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:02:58] local.INFO: IMEI packet received {"connection_id":151656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":151656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:03:03] local.INFO: TCP Data received {"connection_id":151656,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:03:03] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:03:03] local.INFO: IMEI packet received {"connection_id":151656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":151656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:03:11] local.INFO: TCP Data received {"connection_id":151656,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:03:11] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:03:11] local.INFO: Packet analysis {"connection_id":151656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:03:11] local.INFO: Extracted packet for processing {"connection_id":151656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308444672001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786361413000,"timestamp_ms":1786361413000,"timestamp_seconds":1786361413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ffd88"} 
[2026-08-10 17:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:03: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-08-10 17: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-08-10 17:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:03: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-08-10 17:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308444672001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308444672001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:03:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:03:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308444672001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":151656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:03:11] local.INFO: GPS data processed {"connection_id":151656,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:03:11] local.INFO: Acknowledgment sent {"connection_id":151656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:03:25] local.INFO: TCP Data received {"connection_id":152967,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6f26b0012d196700071feeb8003a005625..."} 
[2026-08-10 17:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6f26b0012d196700071feeb8003a005625..."} 
[2026-08-10 17:03:25] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6f26b0012d196700071feeb8003a005625..."} 
[2026-08-10 17:03:25] local.INFO: Packet analysis {"connection_id":152967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:03:25] local.INFO: Extracted packet for processing {"connection_id":152967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:03:25] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308502272001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:03: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-08-10 17:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786361358000,"timestamp_ms":1786361358000,"timestamp_seconds":1786361358,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6f26b0"} 
[2026-08-10 17:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308502272001,"66":12428,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308502272001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:03:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:03:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308502272001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":152967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:03:25] local.INFO: GPS data processed {"connection_id":152967,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:03:25] local.INFO: Acknowledgment sent {"connection_id":152967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:03:42] local.INFO: TCP Data received {"connection_id":151656,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:03:42] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:03:42] local.INFO: Packet analysis {"connection_id":151656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:03:42] local.INFO: Extracted packet for processing {"connection_id":151656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308444672001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786361413000,"timestamp_ms":1786361413000,"timestamp_seconds":1786361413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ffd88"} 
[2026-08-10 17:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308444672001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308444672001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:03:42] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308444672001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":151656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:03:42] local.INFO: GPS data processed {"connection_id":151656,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:03:42] local.INFO: Acknowledgment sent {"connection_id":151656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:03:42] local.INFO: TCP Data received {"connection_id":154416,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:03:42] local.INFO: Processing buffer {"connection_id":154416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:03:42] local.INFO: IMEI packet received {"connection_id":154416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":154416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:03:47] local.INFO: TCP Data received {"connection_id":154416,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:03:47] local.INFO: Processing buffer {"connection_id":154416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:03:47] local.INFO: IMEI packet received {"connection_id":154416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":154416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:03:49] local.INFO: TCP Data received {"connection_id":154416,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6f78b8012d196700071feeb8003a005624..."} 
[2026-08-10 17:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6f78b8012d196700071feeb8003a005624..."} 
[2026-08-10 17:03:49] local.INFO: Processing buffer {"connection_id":154416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6f78b8012d196700071feeb8003a005624..."} 
[2026-08-10 17:03:49] local.INFO: Packet analysis {"connection_id":154416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:03:49] local.INFO: Extracted packet for processing {"connection_id":154416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308507648001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786361379000,"timestamp_ms":1786361379000,"timestamp_seconds":1786361379,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6f78b8"} 
[2026-08-10 17:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 17:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308507648001,"66":12461,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308507648001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:03:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:03:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308507648001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":154416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:03:49] local.INFO: GPS data processed {"connection_id":154416,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:03:49] local.INFO: Acknowledgment sent {"connection_id":154416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:04:00] local.INFO: TCP Data received {"connection_id":151657,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:04:00] local.INFO: Processing buffer {"connection_id":151657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:04:00] local.INFO: IMEI packet received {"connection_id":151657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":151657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:04:04] local.INFO: TCP Data received {"connection_id":151657,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:04:04] local.INFO: Processing buffer {"connection_id":151657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:04:04] local.INFO: IMEI packet received {"connection_id":151657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":151657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:04:05] local.INFO: TCP Data received {"connection_id":151657,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:04:05] local.INFO: Processing buffer {"connection_id":151657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:04:05] local.INFO: Packet analysis {"connection_id":151657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:04:05] local.INFO: Extracted packet for processing {"connection_id":151657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308444672001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786361413000,"timestamp_ms":1786361413000,"timestamp_seconds":1786361413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ffd88"} 
[2026-08-10 17:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17: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-08-10 17:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308444672001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308444672001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:04:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308444672001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":151657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:04:05] local.INFO: GPS data processed {"connection_id":151657,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:04:05] local.INFO: Acknowledgment sent {"connection_id":151657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:04:09] local.INFO: TCP Data received {"connection_id":151657,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:04:09] local.INFO: Processing buffer {"connection_id":151657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:04:09] local.INFO: Packet analysis {"connection_id":151657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:04:09] local.INFO: Extracted packet for processing {"connection_id":151657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308444672001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786361413000,"timestamp_ms":1786361413000,"timestamp_seconds":1786361413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ffd88"} 
[2026-08-10 17:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308444672001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308444672001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:04:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308444672001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":151657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:04:09] local.INFO: GPS data processed {"connection_id":151657,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:04:09] local.INFO: Acknowledgment sent {"connection_id":151657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:04:21] local.INFO: TCP Data received {"connection_id":154416,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6fcac0012d196700071feeb8003a005625..."} 
[2026-08-10 17:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6fcac0012d196700071feeb8003a005625..."} 
[2026-08-10 17:04:21] local.INFO: Processing buffer {"connection_id":154416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6fcac0012d196700071feeb8003a005625..."} 
[2026-08-10 17:04:21] local.INFO: Packet analysis {"connection_id":154416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:04:21] local.INFO: Extracted packet for processing {"connection_id":154416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:04:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308513024001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786361400000,"timestamp_ms":1786361400000,"timestamp_seconds":1786361400,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6fcac0"} 
[2026-08-10 17:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 17:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308513024001,"66":12439,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308513024001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:04:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:04:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308513024001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":154416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:04:21] local.INFO: GPS data processed {"connection_id":154416,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:04:21] local.INFO: Acknowledgment sent {"connection_id":154416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:04:40] local.INFO: TCP Data received {"connection_id":151657,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:04:40] local.INFO: Processing buffer {"connection_id":151657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:04:40] local.INFO: Packet analysis {"connection_id":151657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:04:40] local.INFO: Extracted packet for processing {"connection_id":151657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308444672001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786361413000,"timestamp_ms":1786361413000,"timestamp_seconds":1786361413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ffd88"} 
[2026-08-10 17:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308444672001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308444672001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:04:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:04:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308444672001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":151657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:04:40] local.INFO: GPS data processed {"connection_id":151657,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:04:40] local.INFO: Acknowledgment sent {"connection_id":151657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:04:43] local.INFO: TCP Data received {"connection_id":152968,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:04:43] local.INFO: Processing buffer {"connection_id":152968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:04:43] local.INFO: IMEI packet received {"connection_id":152968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":152968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:04:47] local.INFO: TCP Data received {"connection_id":152968,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:04:47] local.INFO: Processing buffer {"connection_id":152968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:04:47] local.INFO: IMEI packet received {"connection_id":152968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":152968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:04:48] local.INFO: TCP Data received {"connection_id":152968,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb701cc8012d196700071feeb8003a005625..."} 
[2026-08-10 17:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb701cc8012d196700071feeb8003a005625..."} 
[2026-08-10 17:04:48] local.INFO: Processing buffer {"connection_id":152968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb701cc8012d196700071feeb8003a005625..."} 
[2026-08-10 17:04:48] local.INFO: Packet analysis {"connection_id":152968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb70"} 
[2026-08-10 17:04:48] local.INFO: Extracted packet for processing {"connection_id":152968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb70"} 
[2026-08-10 17:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308518400001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786361421000,"timestamp_ms":1786361421000,"timestamp_seconds":1786361421,"priority":1,"record_length":96,"hex_timestamp":"0000019feb701cc8"} 
[2026-08-10 17:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308518400001,"66":12428,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308518400001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:04:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:04:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308518400001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":152968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:04:49] local.INFO: GPS data processed {"connection_id":152968,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:04:49] local.INFO: Acknowledgment sent {"connection_id":152968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:04:59] local.INFO: TCP Data received {"connection_id":154417,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:04:59] local.INFO: Processing buffer {"connection_id":154417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:04:59] local.INFO: IMEI packet received {"connection_id":154417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":154417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:05:03] local.INFO: TCP Data received {"connection_id":154417,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:05:03] local.INFO: Processing buffer {"connection_id":154417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:05:03] local.INFO: IMEI packet received {"connection_id":154417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":154417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:05:04] local.INFO: TCP Data received {"connection_id":154417,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:05:04] local.INFO: Processing buffer {"connection_id":154417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:05:04] local.INFO: Packet analysis {"connection_id":154417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:05:04] local.INFO: Extracted packet for processing {"connection_id":154417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308444672001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786361413000,"timestamp_ms":1786361413000,"timestamp_seconds":1786361413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ffd88"} 
[2026-08-10 17:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:05: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-08-10 17:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308444672001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308444672001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:05:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308444672001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":154417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:05:04] local.INFO: GPS data processed {"connection_id":154417,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:05:04] local.INFO: Acknowledgment sent {"connection_id":154417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:05:20] local.INFO: TCP Data received {"connection_id":152968,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb706ed0012d196700071feeb8003a005625..."} 
[2026-08-10 17:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb706ed0012d196700071feeb8003a005625..."} 
[2026-08-10 17:05:20] local.INFO: Processing buffer {"connection_id":152968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb706ed0012d196700071feeb8003a005625..."} 
[2026-08-10 17:05:20] local.INFO: Packet analysis {"connection_id":152968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb70"} 
[2026-08-10 17:05:20] local.INFO: Extracted packet for processing {"connection_id":152968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb70"} 
[2026-08-10 17:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308523776001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786361442000,"timestamp_ms":1786361442000,"timestamp_seconds":1786361442,"priority":1,"record_length":96,"hex_timestamp":"0000019feb706ed0"} 
[2026-08-10 17:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 17:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308523776001,"66":12428,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308523776001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:05:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:05:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308523776001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":152968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:05:20] local.INFO: GPS data processed {"connection_id":152968,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:05:20] local.INFO: Acknowledgment sent {"connection_id":152968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:05:35] local.INFO: TCP Data received {"connection_id":154417,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:05:35] local.INFO: Processing buffer {"connection_id":154417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb6ffd88012d342a4006abc2800008010225..."} 
[2026-08-10 17:05:35] local.INFO: Packet analysis {"connection_id":154417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:05:35] local.INFO: Extracted packet for processing {"connection_id":154417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb6f"} 
[2026-08-10 17:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":8,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308444672001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786361413000,"timestamp_ms":1786361413000,"timestamp_seconds":1786361413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb6ffd88"} 
[2026-08-10 17:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:05: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-08-10 17:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308444672001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308444672001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:05:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308444672001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":154417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:05:35] local.INFO: GPS data processed {"connection_id":154417,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:05:35] local.INFO: Acknowledgment sent {"connection_id":154417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:05:42] local.INFO: TCP Data received {"connection_id":154418,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:05:42] local.INFO: Processing buffer {"connection_id":154418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:05:42] local.INFO: IMEI packet received {"connection_id":154418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":154418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:05:47] local.INFO: TCP Data received {"connection_id":154418,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:05:47] local.INFO: Processing buffer {"connection_id":154418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:05:47] local.INFO: IMEI packet received {"connection_id":154418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":154418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:05:48] local.INFO: TCP Data received {"connection_id":154418,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb70c0d8012d196700071feeb8003a005624..."} 
[2026-08-10 17:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb70c0d8012d196700071feeb8003a005624..."} 
[2026-08-10 17:05:48] local.INFO: Processing buffer {"connection_id":154418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb70c0d8012d196700071feeb8003a005624..."} 
[2026-08-10 17:05:48] local.INFO: Packet analysis {"connection_id":154418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb70"} 
[2026-08-10 17:05:48] local.INFO: Extracted packet for processing {"connection_id":154418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb70"} 
[2026-08-10 17:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308529152001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786361463000,"timestamp_ms":1786361463000,"timestamp_seconds":1786361463,"priority":1,"record_length":96,"hex_timestamp":"0000019feb70c0d8"} 
[2026-08-10 17:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 17:05: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-08-10 17: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-08-10 17:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308529152001,"66":12406,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308529152001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:05:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:05:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308529152001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":154418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:05:49] local.INFO: GPS data processed {"connection_id":154418,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:05:49] local.INFO: Acknowledgment sent {"connection_id":154418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:05:58] local.INFO: TCP Data received {"connection_id":152969,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:05:58] local.INFO: Processing buffer {"connection_id":152969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:05:58] local.INFO: IMEI packet received {"connection_id":152969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":152969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:06:03] local.INFO: TCP Data received {"connection_id":152969,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:06:03] local.INFO: Processing buffer {"connection_id":152969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:06:03] local.INFO: IMEI packet received {"connection_id":152969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":152969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:06:04] local.INFO: TCP Data received {"connection_id":152969,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:06:04] local.INFO: Processing buffer {"connection_id":152969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:06:04] local.INFO: Packet analysis {"connection_id":152969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:06:04] local.INFO: Extracted packet for processing {"connection_id":152969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308521728001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786361714000,"timestamp_ms":1786361714000,"timestamp_seconds":1786361714,"priority":1,"record_length":96,"hex_timestamp":"0000019feb749550"} 
[2026-08-10 17:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:06: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-08-10 17:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308521728001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308521728001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:06:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308521728001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":152969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:06:04] local.INFO: GPS data processed {"connection_id":152969,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:06:04] local.INFO: Acknowledgment sent {"connection_id":152969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:06:20] local.INFO: TCP Data received {"connection_id":154418,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb744730012d196700071feeb8003a005624..."} 
[2026-08-10 17:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb744730012d196700071feeb8003a005624..."} 
[2026-08-10 17:06:20] local.INFO: Processing buffer {"connection_id":154418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb744730012d196700071feeb8003a005624..."} 
[2026-08-10 17:06:20] local.INFO: Packet analysis {"connection_id":154418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:06:20] local.INFO: Extracted packet for processing {"connection_id":154418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308588288001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786361694000,"timestamp_ms":1786361694000,"timestamp_seconds":1786361694,"priority":1,"record_length":96,"hex_timestamp":"0000019feb744730"} 
[2026-08-10 17:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 17:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308588288001,"66":12428,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308588288001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:06:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:06:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308588288001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":154418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:06:20] local.INFO: GPS data processed {"connection_id":154418,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:06:20] local.INFO: Acknowledgment sent {"connection_id":154418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:06:35] local.INFO: TCP Data received {"connection_id":152969,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:06:35] local.INFO: Processing buffer {"connection_id":152969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:06:35] local.INFO: Packet analysis {"connection_id":152969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:06:35] local.INFO: Extracted packet for processing {"connection_id":152969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308521728001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786361714000,"timestamp_ms":1786361714000,"timestamp_seconds":1786361714,"priority":1,"record_length":96,"hex_timestamp":"0000019feb749550"} 
[2026-08-10 17:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:06: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-08-10 17:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308521728001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308521728001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:06:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308521728001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":152969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:06:35] local.INFO: GPS data processed {"connection_id":152969,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:06:35] local.INFO: Acknowledgment sent {"connection_id":152969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:06:42] local.INFO: TCP Data received {"connection_id":151658,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:06:42] local.INFO: Processing buffer {"connection_id":151658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:06:42] local.INFO: IMEI packet received {"connection_id":151658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":151658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:06:46] local.INFO: TCP Data received {"connection_id":151658,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:06:46] local.INFO: Processing buffer {"connection_id":151658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:06:46] local.INFO: IMEI packet received {"connection_id":151658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":151658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:06:48] local.INFO: TCP Data received {"connection_id":151658,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb749938012d196700071feeb8003a005623..."} 
[2026-08-10 17:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb749938012d196700071feeb8003a005623..."} 
[2026-08-10 17:06:48] local.INFO: Processing buffer {"connection_id":151658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb749938012d196700071feeb8003a005623..."} 
[2026-08-10 17:06:48] local.INFO: Packet analysis {"connection_id":151658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:06:48] local.INFO: Extracted packet for processing {"connection_id":151658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308593664001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786361715000,"timestamp_ms":1786361715000,"timestamp_seconds":1786361715,"priority":1,"record_length":96,"hex_timestamp":"0000019feb749938"} 
[2026-08-10 17:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 17:06: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-08-10 17:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308593664001,"66":12406,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308593664001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:06:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:06:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308593664001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":151658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:06:48] local.INFO: GPS data processed {"connection_id":151658,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:06:48] local.INFO: Acknowledgment sent {"connection_id":151658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:06:58] local.INFO: TCP Data received {"connection_id":152036,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:06:58] local.INFO: Processing buffer {"connection_id":152036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:06:58] local.INFO: IMEI packet received {"connection_id":152036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":152036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:07:03] local.INFO: TCP Data received {"connection_id":152036,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:07:03] local.INFO: Processing buffer {"connection_id":152036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:07:03] local.INFO: IMEI packet received {"connection_id":152036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":152036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:07:05] local.INFO: TCP Data received {"connection_id":152036,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:07:05] local.INFO: Processing buffer {"connection_id":152036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:07:05] local.INFO: Packet analysis {"connection_id":152036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:07:05] local.INFO: Extracted packet for processing {"connection_id":152036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:07:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308521728001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786361714000,"timestamp_ms":1786361714000,"timestamp_seconds":1786361714,"priority":1,"record_length":96,"hex_timestamp":"0000019feb749550"} 
[2026-08-10 17:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:07: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-08-10 17:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:07: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-08-10 17:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308521728001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308521728001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:07:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308521728001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":152036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:07:05] local.INFO: GPS data processed {"connection_id":152036,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:07:05] local.INFO: Acknowledgment sent {"connection_id":152036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:07:19] local.INFO: TCP Data received {"connection_id":151658,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb74eb40012d196700071feeb8003a005625..."} 
[2026-08-10 17:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb74eb40012d196700071feeb8003a005625..."} 
[2026-08-10 17:07:19] local.INFO: Processing buffer {"connection_id":151658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb74eb40012d196700071feeb8003a005625..."} 
[2026-08-10 17:07:19] local.INFO: Packet analysis {"connection_id":151658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:07:19] local.INFO: Extracted packet for processing {"connection_id":151658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:07:19] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308599040001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786361736000,"timestamp_ms":1786361736000,"timestamp_seconds":1786361736,"priority":1,"record_length":96,"hex_timestamp":"0000019feb74eb40"} 
[2026-08-10 17:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308599040001,"66":12428,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308599040001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:07:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:07:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308599040001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":151658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:07:19] local.INFO: GPS data processed {"connection_id":151658,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:07:19] local.INFO: Acknowledgment sent {"connection_id":151658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:07:36] local.INFO: TCP Data received {"connection_id":152036,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:07:36] local.INFO: Processing buffer {"connection_id":152036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:07:36] local.INFO: Packet analysis {"connection_id":152036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:07:36] local.INFO: Extracted packet for processing {"connection_id":152036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308521728001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786361714000,"timestamp_ms":1786361714000,"timestamp_seconds":1786361714,"priority":1,"record_length":96,"hex_timestamp":"0000019feb749550"} 
[2026-08-10 17:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:07: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-08-10 17:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:07: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-08-10 17:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308521728001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308521728001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:07:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308521728001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":152036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:07:36] local.INFO: GPS data processed {"connection_id":152036,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:07:36] local.INFO: Acknowledgment sent {"connection_id":152036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:07:46] local.INFO: TCP Data received {"connection_id":152037,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:07:47] local.INFO: Processing buffer {"connection_id":152037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:07:47] local.INFO: IMEI packet received {"connection_id":152037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":152037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:07:52] local.INFO: TCP Data received {"connection_id":152037,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:07:52] local.INFO: Processing buffer {"connection_id":152037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:07:52] local.INFO: IMEI packet received {"connection_id":152037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":152037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:07:53] local.INFO: TCP Data received {"connection_id":152037,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb753d48012d196700071feeb8003a005624..."} 
[2026-08-10 17:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb753d48012d196700071feeb8003a005624..."} 
[2026-08-10 17:07:53] local.INFO: Processing buffer {"connection_id":152037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb753d48012d196700071feeb8003a005624..."} 
[2026-08-10 17:07:53] local.INFO: Packet analysis {"connection_id":152037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb75"} 
[2026-08-10 17:07:53] local.INFO: Extracted packet for processing {"connection_id":152037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb75"} 
[2026-08-10 17:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308604416001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786361757000,"timestamp_ms":1786361757000,"timestamp_seconds":1786361757,"priority":1,"record_length":96,"hex_timestamp":"0000019feb753d48"} 
[2026-08-10 17:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 17:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308604416001,"66":12406,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308604416001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:07:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:07:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308604416001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":152037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:07:53] local.INFO: GPS data processed {"connection_id":152037,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:07:53] local.INFO: Acknowledgment sent {"connection_id":152037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:07:57] local.INFO: TCP Data received {"connection_id":152037,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb758f50012d196700071feeb8003a00561f..."} 
[2026-08-10 17:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb758f50012d196700071feeb8003a00561f..."} 
[2026-08-10 17:07:57] local.INFO: Processing buffer {"connection_id":152037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb758f50012d196700071feeb8003a00561f..."} 
[2026-08-10 17:07:57] local.INFO: Packet analysis {"connection_id":152037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb75"} 
[2026-08-10 17:07:57] local.INFO: Extracted packet for processing {"connection_id":152037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb75"} 
[2026-08-10 17:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":31,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308609792001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:07: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-08-10 17:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786361778000,"timestamp_ms":1786361778000,"timestamp_seconds":1786361778,"priority":1,"record_length":96,"hex_timestamp":"0000019feb758f50"} 
[2026-08-10 17:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308609792001,"66":12428,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308609792001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:07:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:07:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308609792001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":152037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:07:57] local.INFO: GPS data processed {"connection_id":152037,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:07:57] local.INFO: Acknowledgment sent {"connection_id":152037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:07:58] local.INFO: TCP Data received {"connection_id":154419,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:07:58] local.INFO: Processing buffer {"connection_id":154419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:07:58] local.INFO: IMEI packet received {"connection_id":154419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":154419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:08:04] local.INFO: TCP Data received {"connection_id":154419,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:08:04] local.INFO: Processing buffer {"connection_id":154419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:08:04] local.INFO: IMEI packet received {"connection_id":154419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":154419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:08:05] local.INFO: TCP Data received {"connection_id":154419,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:08:05] local.INFO: Processing buffer {"connection_id":154419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:08:05] local.INFO: Packet analysis {"connection_id":154419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:08:05] local.INFO: Extracted packet for processing {"connection_id":154419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308521728001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786361714000,"timestamp_ms":1786361714000,"timestamp_seconds":1786361714,"priority":1,"record_length":96,"hex_timestamp":"0000019feb749550"} 
[2026-08-10 17:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17: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-08-10 17:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:08: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-08-10 17:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:08: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-08-10 17:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308521728001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308521728001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:08:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308521728001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":154419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:08:05] local.INFO: GPS data processed {"connection_id":154419,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:08:05] local.INFO: Acknowledgment sent {"connection_id":154419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:08:36] local.INFO: TCP Data received {"connection_id":154419,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:08:36] local.INFO: Processing buffer {"connection_id":154419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:08:36] local.INFO: Packet analysis {"connection_id":154419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:08:36] local.INFO: Extracted packet for processing {"connection_id":154419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308521728001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786361714000,"timestamp_ms":1786361714000,"timestamp_seconds":1786361714,"priority":1,"record_length":96,"hex_timestamp":"0000019feb749550"} 
[2026-08-10 17:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:08: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-08-10 17: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-08-10 17:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308521728001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308521728001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:08:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308521728001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":154419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:08:36] local.INFO: GPS data processed {"connection_id":154419,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:08:36] local.INFO: Acknowledgment sent {"connection_id":154419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:08:41] local.INFO: TCP Data received {"connection_id":152970,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:08:41] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:08:41] local.INFO: IMEI packet received {"connection_id":152970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":152970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:08:42] local.INFO: TCP Data received {"connection_id":152970,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:08:42] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:08:42] local.INFO: IMEI packet received {"connection_id":152970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":152970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:08:47] local.INFO: TCP Data received {"connection_id":152970,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:08:47] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:08:47] local.INFO: IMEI packet received {"connection_id":152970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":152970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:08:48] local.INFO: TCP Data received {"connection_id":152970,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb75e158012d196700071feeb8003a00561f..."} 
[2026-08-10 17:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb75e158012d196700071feeb8003a00561f..."} 
[2026-08-10 17:08:48] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb75e158012d196700071feeb8003a00561f..."} 
[2026-08-10 17:08:48] local.INFO: Packet analysis {"connection_id":152970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb75"} 
[2026-08-10 17:08:48] local.INFO: Extracted packet for processing {"connection_id":152970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb75"} 
[2026-08-10 17:08:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":31,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308615168001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786361799000,"timestamp_ms":1786361799000,"timestamp_seconds":1786361799,"priority":1,"record_length":96,"hex_timestamp":"0000019feb75e158"} 
[2026-08-10 17:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 17:08: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-08-10 17: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-08-10 17:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308615168001,"66":12428,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308615168001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:08:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:08:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308615168001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":152970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:08:48] local.INFO: GPS data processed {"connection_id":152970,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:08:48] local.INFO: Acknowledgment sent {"connection_id":152970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:08:53] local.INFO: TCP Data received {"connection_id":152970,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb763360012d196700071feeb8003a005622..."} 
[2026-08-10 17:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb763360012d196700071feeb8003a005622..."} 
[2026-08-10 17:08:53] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb763360012d196700071feeb8003a005622..."} 
[2026-08-10 17:08:53] local.INFO: Packet analysis {"connection_id":152970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb76"} 
[2026-08-10 17:08:53] local.INFO: Extracted packet for processing {"connection_id":152970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb76"} 
[2026-08-10 17:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308620544001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786361820000,"timestamp_ms":1786361820000,"timestamp_seconds":1786361820,"priority":1,"record_length":96,"hex_timestamp":"0000019feb763360"} 
[2026-08-10 17:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 17:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308620544001,"66":12428,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308620544001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:08:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:08:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308620544001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":152970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:08:53] local.INFO: GPS data processed {"connection_id":152970,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:08:53] local.INFO: Acknowledgment sent {"connection_id":152970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:08:58] local.INFO: TCP Data received {"connection_id":151659,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:08:58] local.INFO: Processing buffer {"connection_id":151659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:08:58] local.INFO: IMEI packet received {"connection_id":151659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":151659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:09:03] local.INFO: TCP Data received {"connection_id":151659,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:09:03] local.INFO: Processing buffer {"connection_id":151659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:09:03] local.INFO: IMEI packet received {"connection_id":151659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":151659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:09:04] local.INFO: TCP Data received {"connection_id":151659,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:09:04] local.INFO: Processing buffer {"connection_id":151659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:09:04] local.INFO: Packet analysis {"connection_id":151659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:09:04] local.INFO: Extracted packet for processing {"connection_id":151659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308521728001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786361714000,"timestamp_ms":1786361714000,"timestamp_seconds":1786361714,"priority":1,"record_length":96,"hex_timestamp":"0000019feb749550"} 
[2026-08-10 17:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:09: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-08-10 17:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308521728001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308521728001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:09:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308521728001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":151659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:09:04] local.INFO: GPS data processed {"connection_id":151659,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:09:04] local.INFO: Acknowledgment sent {"connection_id":151659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:09:24] local.INFO: TCP Data received {"connection_id":152970,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb768568012d196700071feeb8003a005622..."} 
[2026-08-10 17:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb768568012d196700071feeb8003a005622..."} 
[2026-08-10 17:09:24] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb768568012d196700071feeb8003a005622..."} 
[2026-08-10 17:09:24] local.INFO: Packet analysis {"connection_id":152970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb76"} 
[2026-08-10 17:09:24] local.INFO: Extracted packet for processing {"connection_id":152970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb76"} 
[2026-08-10 17:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308625920001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09: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-08-10 17:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786361841000,"timestamp_ms":1786361841000,"timestamp_seconds":1786361841,"priority":1,"record_length":96,"hex_timestamp":"0000019feb768568"} 
[2026-08-10 17:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 17:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308625920001,"66":12287,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308625920001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:09:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:09:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308625920001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":152970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:09:24] local.INFO: GPS data processed {"connection_id":152970,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:09:24] local.INFO: Acknowledgment sent {"connection_id":152970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:09:35] local.INFO: TCP Data received {"connection_id":151659,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:09:35] local.INFO: Processing buffer {"connection_id":151659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:09:35] local.INFO: Packet analysis {"connection_id":151659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:09:35] local.INFO: Extracted packet for processing {"connection_id":151659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308521728001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786361714000,"timestamp_ms":1786361714000,"timestamp_seconds":1786361714,"priority":1,"record_length":96,"hex_timestamp":"0000019feb749550"} 
[2026-08-10 17:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:09: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-08-10 17:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308521728001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308521728001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:09:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308521728001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":151659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:09:35] local.INFO: GPS data processed {"connection_id":151659,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:09:35] local.INFO: Acknowledgment sent {"connection_id":151659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:09:42] local.INFO: TCP Data received {"connection_id":152971,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:09:42] local.INFO: Processing buffer {"connection_id":152971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:09:42] local.INFO: IMEI packet received {"connection_id":152971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":152971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:09:44] local.INFO: TCP Data received {"connection_id":152971,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:09:44] local.INFO: Processing buffer {"connection_id":152971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:09:44] local.INFO: IMEI packet received {"connection_id":152971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":152971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:09:45] local.INFO: TCP Data received {"connection_id":152971,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb76d770012d196700071feeb8003a005623..."} 
[2026-08-10 17:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb76d770012d196700071feeb8003a005623..."} 
[2026-08-10 17:09:45] local.INFO: Processing buffer {"connection_id":152971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb76d770012d196700071feeb8003a005623..."} 
[2026-08-10 17:09:45] local.INFO: Packet analysis {"connection_id":152971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb76"} 
[2026-08-10 17:09:45] local.INFO: Extracted packet for processing {"connection_id":152971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb76"} 
[2026-08-10 17:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308631296001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09: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-08-10 17:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786361862000,"timestamp_ms":1786361862000,"timestamp_seconds":1786361862,"priority":1,"record_length":96,"hex_timestamp":"0000019feb76d770"} 
[2026-08-10 17:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 17:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308631296001,"66":12428,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308631296001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:09:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:09:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308631296001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":152971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:09:45] local.INFO: GPS data processed {"connection_id":152971,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:09:45] local.INFO: Acknowledgment sent {"connection_id":152971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:09:47] local.INFO: TCP Data received {"connection_id":152971,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb772978012d196700071feeb8003a005624..."} 
[2026-08-10 17:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb772978012d196700071feeb8003a005624..."} 
[2026-08-10 17:09:47] local.INFO: Processing buffer {"connection_id":152971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb772978012d196700071feeb8003a005624..."} 
[2026-08-10 17:09:47] local.INFO: Packet analysis {"connection_id":152971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb77"} 
[2026-08-10 17:09:47] local.INFO: Extracted packet for processing {"connection_id":152971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb77"} 
[2026-08-10 17:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308636672001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:09: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-08-10 17:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786361883000,"timestamp_ms":1786361883000,"timestamp_seconds":1786361883,"priority":1,"record_length":96,"hex_timestamp":"0000019feb772978"} 
[2026-08-10 17:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":140,"data_length":795,"current_offset":136} 
[2026-08-10 17:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308636672001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308636672001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:09:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:09:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308636672001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":152971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:09:47] local.INFO: GPS data processed {"connection_id":152971,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:09:47] local.INFO: Acknowledgment sent {"connection_id":152971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:10:03] local.INFO: TCP Data received {"connection_id":152972,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:10:03] local.INFO: Processing buffer {"connection_id":152972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:10:03] local.INFO: IMEI packet received {"connection_id":152972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":152972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:10:08] local.INFO: TCP Data received {"connection_id":152972,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:10:08] local.INFO: Processing buffer {"connection_id":152972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:10:08] local.INFO: IMEI packet received {"connection_id":152972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":152972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:10:10] local.INFO: TCP Data received {"connection_id":152972,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:10:10] local.INFO: Processing buffer {"connection_id":152972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:10:10] local.INFO: Packet analysis {"connection_id":152972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:10:10] local.INFO: Extracted packet for processing {"connection_id":152972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308521728001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786361714000,"timestamp_ms":1786361714000,"timestamp_seconds":1786361714,"priority":1,"record_length":96,"hex_timestamp":"0000019feb749550"} 
[2026-08-10 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-08-10 17:10: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-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 17:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308521728001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308521728001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:10:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308521728001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":152972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:10:10] local.INFO: GPS data processed {"connection_id":152972,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:10:10] local.INFO: Acknowledgment sent {"connection_id":152972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:10:14] local.INFO: TCP Data received {"connection_id":152972,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:10:14] local.INFO: Processing buffer {"connection_id":152972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb749550012d342a4006abc280000b010222..."} 
[2026-08-10 17:10:14] local.INFO: Packet analysis {"connection_id":152972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:10:14] local.INFO: Extracted packet for processing {"connection_id":152972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb74"} 
[2026-08-10 17:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308521728001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786361714000,"timestamp_ms":1786361714000,"timestamp_seconds":1786361714,"priority":1,"record_length":96,"hex_timestamp":"0000019feb749550"} 
[2026-08-10 17:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308521728001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308521728001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:10:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308521728001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":152972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:10:14] local.INFO: GPS data processed {"connection_id":152972,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:10:14] local.INFO: Acknowledgment sent {"connection_id":152972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:10:19] local.INFO: TCP Data received {"connection_id":152971,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb777b80012d196700071feeb8003a005624..."} 
[2026-08-10 17:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb777b80012d196700071feeb8003a005624..."} 
[2026-08-10 17:10:19] local.INFO: Processing buffer {"connection_id":152971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb777b80012d196700071feeb8003a005624..."} 
[2026-08-10 17:10:19] local.INFO: Packet analysis {"connection_id":152971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb77"} 
[2026-08-10 17:10:19] local.INFO: Extracted packet for processing {"connection_id":152971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb77"} 
[2026-08-10 17:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308642048001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786361904000,"timestamp_ms":1786361904000,"timestamp_seconds":1786361904,"priority":1,"record_length":96,"hex_timestamp":"0000019feb777b80"} 
[2026-08-10 17:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308642048001,"66":12406,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308642048001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:10:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:10:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308642048001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":152971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:10:19] local.INFO: GPS data processed {"connection_id":152971,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:10:19] local.INFO: Acknowledgment sent {"connection_id":152971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:10:42] local.INFO: TCP Data received {"connection_id":154420,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:10:42] local.INFO: Processing buffer {"connection_id":154420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:10:42] local.INFO: IMEI packet received {"connection_id":154420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":154420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:10:47] local.INFO: TCP Data received {"connection_id":154420,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:10:47] local.INFO: Processing buffer {"connection_id":154420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:10:47] local.INFO: IMEI packet received {"connection_id":154420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":154420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:10:48] local.INFO: TCP Data received {"connection_id":154420,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb77cd88012d196700071feeb8003a005623..."} 
[2026-08-10 17:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb77cd88012d196700071feeb8003a005623..."} 
[2026-08-10 17:10:48] local.INFO: Processing buffer {"connection_id":154420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb77cd88012d196700071feeb8003a005623..."} 
[2026-08-10 17:10:48] local.INFO: Packet analysis {"connection_id":154420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb77"} 
[2026-08-10 17:10:48] local.INFO: Extracted packet for processing {"connection_id":154420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb77"} 
[2026-08-10 17:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308647424001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786361925000,"timestamp_ms":1786361925000,"timestamp_seconds":1786361925,"priority":1,"record_length":96,"hex_timestamp":"0000019feb77cd88"} 
[2026-08-10 17:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308647424001,"66":12406,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308647424001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:10:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:10:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308647424001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":154420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:10:49] local.INFO: GPS data processed {"connection_id":154420,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:10:49] local.INFO: Acknowledgment sent {"connection_id":154420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:10:58] local.INFO: TCP Data received {"connection_id":152973,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:10:58] local.INFO: Processing buffer {"connection_id":152973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:10:58] local.INFO: IMEI packet received {"connection_id":152973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":152973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:11:03] local.INFO: TCP Data received {"connection_id":152973,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:11:03] local.INFO: Processing buffer {"connection_id":152973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:11:03] local.INFO: IMEI packet received {"connection_id":152973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":152973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:11:04] local.INFO: TCP Data received {"connection_id":152973,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:11:04] local.INFO: Processing buffer {"connection_id":152973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:11:04] local.INFO: Packet analysis {"connection_id":152973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:11:04] local.INFO: Extracted packet for processing {"connection_id":152973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308598784001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362015000,"timestamp_ms":1786362015000,"timestamp_seconds":1786362015,"priority":1,"record_length":96,"hex_timestamp":"0000019feb792d18"} 
[2026-08-10 17:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:11: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-08-10 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308598784001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308598784001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:11:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308598784001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":152973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:11:04] local.INFO: GPS data processed {"connection_id":152973,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:11:04] local.INFO: Acknowledgment sent {"connection_id":152973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:11:20] local.INFO: TCP Data received {"connection_id":154420,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb781f90012d196700071feeb8003a005622..."} 
[2026-08-10 17:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb781f90012d196700071feeb8003a005622..."} 
[2026-08-10 17:11:20] local.INFO: Processing buffer {"connection_id":154420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb781f90012d196700071feeb8003a005622..."} 
[2026-08-10 17:11:20] local.INFO: Packet analysis {"connection_id":154420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb78"} 
[2026-08-10 17:11:20] local.INFO: Extracted packet for processing {"connection_id":154420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb78"} 
[2026-08-10 17:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308652800001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786361946000,"timestamp_ms":1786361946000,"timestamp_seconds":1786361946,"priority":1,"record_length":96,"hex_timestamp":"0000019feb781f90"} 
[2026-08-10 17:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308652800001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308652800001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:11:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:11:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308652800001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":154420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:11:20] local.INFO: GPS data processed {"connection_id":154420,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:11:20] local.INFO: Acknowledgment sent {"connection_id":154420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:11:35] local.INFO: TCP Data received {"connection_id":152973,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:11:35] local.INFO: Processing buffer {"connection_id":152973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:11:35] local.INFO: Packet analysis {"connection_id":152973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:11:35] local.INFO: Extracted packet for processing {"connection_id":152973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308598784001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786362015000,"timestamp_ms":1786362015000,"timestamp_seconds":1786362015,"priority":1,"record_length":96,"hex_timestamp":"0000019feb792d18"} 
[2026-08-10 17:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:11: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-08-10 17:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308598784001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308598784001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:11:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308598784001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":152973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:11:35] local.INFO: GPS data processed {"connection_id":152973,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:11:35] local.INFO: Acknowledgment sent {"connection_id":152973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:11:42] local.INFO: TCP Data received {"connection_id":152038,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:11:42] local.INFO: Processing buffer {"connection_id":152038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:11:42] local.INFO: IMEI packet received {"connection_id":152038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":152038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:11:47] local.INFO: TCP Data received {"connection_id":152038,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:11:47] local.INFO: Processing buffer {"connection_id":152038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:11:47] local.INFO: IMEI packet received {"connection_id":152038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":152038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:11:48] local.INFO: TCP Data received {"connection_id":152038,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb787198012d196700071feeb8003a005621..."} 
[2026-08-10 17:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb787198012d196700071feeb8003a005621..."} 
[2026-08-10 17:11:48] local.INFO: Processing buffer {"connection_id":152038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb787198012d196700071feeb8003a005621..."} 
[2026-08-10 17:11:48] local.INFO: Packet analysis {"connection_id":152038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb78"} 
[2026-08-10 17:11:48] local.INFO: Extracted packet for processing {"connection_id":152038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb78"} 
[2026-08-10 17:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308658176001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786361967000,"timestamp_ms":1786361967000,"timestamp_seconds":1786361967,"priority":1,"record_length":96,"hex_timestamp":"0000019feb787198"} 
[2026-08-10 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-08-10 17: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-08-10 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 17:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308658176001,"66":11678,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308658176001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:11:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:11:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308658176001,"power":11678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":152038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:11:48] local.INFO: GPS data processed {"connection_id":152038,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:11:48] local.INFO: Acknowledgment sent {"connection_id":152038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:11:58] local.INFO: TCP Data received {"connection_id":151660,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:11:58] local.INFO: Processing buffer {"connection_id":151660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:11:58] local.INFO: IMEI packet received {"connection_id":151660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":151660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:12:04] local.INFO: TCP Data received {"connection_id":151660,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:12:04] local.INFO: Processing buffer {"connection_id":151660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:12:04] local.INFO: IMEI packet received {"connection_id":151660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":151660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:12:05] local.INFO: TCP Data received {"connection_id":151660,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:12:05] local.INFO: Processing buffer {"connection_id":151660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:12:05] local.INFO: Packet analysis {"connection_id":151660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:12:05] local.INFO: Extracted packet for processing {"connection_id":151660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308598784001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786362015000,"timestamp_ms":1786362015000,"timestamp_seconds":1786362015,"priority":1,"record_length":96,"hex_timestamp":"0000019feb792d18"} 
[2026-08-10 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-08-10 17: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-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 17:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308598784001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308598784001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:12:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308598784001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":151660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:12:05] local.INFO: GPS data processed {"connection_id":151660,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:12:05] local.INFO: Acknowledgment sent {"connection_id":151660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:12:20] local.INFO: TCP Data received {"connection_id":152038,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb78c3a0012d196700071feeb8003a005622..."} 
[2026-08-10 17:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb78c3a0012d196700071feeb8003a005622..."} 
[2026-08-10 17:12:20] local.INFO: Processing buffer {"connection_id":152038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb78c3a0012d196700071feeb8003a005622..."} 
[2026-08-10 17:12:20] local.INFO: Packet analysis {"connection_id":152038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb78"} 
[2026-08-10 17:12:20] local.INFO: Extracted packet for processing {"connection_id":152038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb78"} 
[2026-08-10 17:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308663552001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786361988000,"timestamp_ms":1786361988000,"timestamp_seconds":1786361988,"priority":1,"record_length":96,"hex_timestamp":"0000019feb78c3a0"} 
[2026-08-10 17:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17: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-08-10 17: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-10 17:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308663552001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308663552001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:12:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:12:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308663552001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":152038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:12:20] local.INFO: GPS data processed {"connection_id":152038,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:12:20] local.INFO: Acknowledgment sent {"connection_id":152038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:12:36] local.INFO: TCP Data received {"connection_id":151660,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:12:36] local.INFO: Processing buffer {"connection_id":151660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:12:36] local.INFO: Packet analysis {"connection_id":151660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:12:36] local.INFO: Extracted packet for processing {"connection_id":151660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308598784001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786362015000,"timestamp_ms":1786362015000,"timestamp_seconds":1786362015,"priority":1,"record_length":96,"hex_timestamp":"0000019feb792d18"} 
[2026-08-10 17:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308598784001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308598784001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:12:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308598784001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":151660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:12:36] local.INFO: GPS data processed {"connection_id":151660,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:12:36] local.INFO: Acknowledgment sent {"connection_id":151660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:12:42] local.INFO: TCP Data received {"connection_id":152974,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:12:42] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:12:42] local.INFO: IMEI packet received {"connection_id":152974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":152974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:12:47] local.INFO: TCP Data received {"connection_id":152974,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:12:47] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:12:47] local.INFO: IMEI packet received {"connection_id":152974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":152974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:12:48] local.INFO: TCP Data received {"connection_id":152974,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7915a8012d196700071feeb8003a005623..."} 
[2026-08-10 17:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7915a8012d196700071feeb8003a005623..."} 
[2026-08-10 17:12:48] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7915a8012d196700071feeb8003a005623..."} 
[2026-08-10 17:12:48] local.INFO: Packet analysis {"connection_id":152974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:12:48] local.INFO: Extracted packet for processing {"connection_id":152974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308668928001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786362009000,"timestamp_ms":1786362009000,"timestamp_seconds":1786362009,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7915a8"} 
[2026-08-10 17:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17: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-08-10 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308668928001,"66":12341,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308668928001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:12:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:12:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308668928001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":152974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:12:48] local.INFO: GPS data processed {"connection_id":152974,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:12:48] local.INFO: Acknowledgment sent {"connection_id":152974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:12:58] local.INFO: TCP Data received {"connection_id":154421,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:12:58] local.INFO: Processing buffer {"connection_id":154421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:12:58] local.INFO: IMEI packet received {"connection_id":154421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":154421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:13:03] local.INFO: TCP Data received {"connection_id":154421,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:13:03] local.INFO: Processing buffer {"connection_id":154421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:13:03] local.INFO: IMEI packet received {"connection_id":154421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":154421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:13:04] local.INFO: TCP Data received {"connection_id":154421,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:13:04] local.INFO: Processing buffer {"connection_id":154421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:13:04] local.INFO: Packet analysis {"connection_id":154421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:13:04] local.INFO: Extracted packet for processing {"connection_id":154421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308598784001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362015000,"timestamp_ms":1786362015000,"timestamp_seconds":1786362015,"priority":1,"record_length":96,"hex_timestamp":"0000019feb792d18"} 
[2026-08-10 17:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:13: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-08-10 17:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308598784001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308598784001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:13:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308598784001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":154421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:13:04] local.INFO: GPS data processed {"connection_id":154421,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:13:04] local.INFO: Acknowledgment sent {"connection_id":154421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:13:20] local.INFO: TCP Data received {"connection_id":152974,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7967b0012d196700071feeb8003a005623..."} 
[2026-08-10 17:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7967b0012d196700071feeb8003a005623..."} 
[2026-08-10 17:13:20] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7967b0012d196700071feeb8003a005623..."} 
[2026-08-10 17:13:20] local.INFO: Packet analysis {"connection_id":152974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:13:20] local.INFO: Extracted packet for processing {"connection_id":152974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:13:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308674304001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786362030000,"timestamp_ms":1786362030000,"timestamp_seconds":1786362030,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7967b0"} 
[2026-08-10 17:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17: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-08-10 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 17:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308674304001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308674304001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:13:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:13:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308674304001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":152974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:13:20] local.INFO: GPS data processed {"connection_id":152974,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:13:20] local.INFO: Acknowledgment sent {"connection_id":152974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:13:35] local.INFO: TCP Data received {"connection_id":154421,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:13:35] local.INFO: Processing buffer {"connection_id":154421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:13:35] local.INFO: Packet analysis {"connection_id":154421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:13:35] local.INFO: Extracted packet for processing {"connection_id":154421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308598784001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786362015000,"timestamp_ms":1786362015000,"timestamp_seconds":1786362015,"priority":1,"record_length":96,"hex_timestamp":"0000019feb792d18"} 
[2026-08-10 17:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:13: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-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308598784001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308598784001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:13:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308598784001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":154421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:13:35] local.INFO: GPS data processed {"connection_id":154421,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:13:35] local.INFO: Acknowledgment sent {"connection_id":154421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:13:41] local.INFO: TCP Data received {"connection_id":152039,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:13:41] local.INFO: Processing buffer {"connection_id":152039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:13:41] local.INFO: IMEI packet received {"connection_id":152039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":152039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:13:46] local.INFO: TCP Data received {"connection_id":152039,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:13:46] local.INFO: Processing buffer {"connection_id":152039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:13:46] local.INFO: IMEI packet received {"connection_id":152039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":152039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:13:47] local.INFO: TCP Data received {"connection_id":152039,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb79b9b8012d196700071feeb8003a005625..."} 
[2026-08-10 17:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb79b9b8012d196700071feeb8003a005625..."} 
[2026-08-10 17:13:47] local.INFO: Processing buffer {"connection_id":152039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb79b9b8012d196700071feeb8003a005625..."} 
[2026-08-10 17:13:47] local.INFO: Packet analysis {"connection_id":152039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:13:47] local.INFO: Extracted packet for processing {"connection_id":152039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308679680001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:13: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-08-10 17:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786362051000,"timestamp_ms":1786362051000,"timestamp_seconds":1786362051,"priority":1,"record_length":96,"hex_timestamp":"0000019feb79b9b8"} 
[2026-08-10 17:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308679680001,"66":12135,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308679680001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:13:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:13:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308679680001,"power":12135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":152039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:13:47] local.INFO: GPS data processed {"connection_id":152039,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:13:47] local.INFO: Acknowledgment sent {"connection_id":152039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:14:03] local.INFO: TCP Data received {"connection_id":152040,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:14:03] local.INFO: Processing buffer {"connection_id":152040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:14:03] local.INFO: IMEI packet received {"connection_id":152040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":152040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:14:10] local.INFO: TCP Data received {"connection_id":152040,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:14:10] local.INFO: Processing buffer {"connection_id":152040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:14:10] local.INFO: IMEI packet received {"connection_id":152040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":152040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:14:11] local.INFO: TCP Data received {"connection_id":152040,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:14:11] local.INFO: Processing buffer {"connection_id":152040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:14:11] local.INFO: Packet analysis {"connection_id":152040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:14:11] local.INFO: Extracted packet for processing {"connection_id":152040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308598784001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786362015000,"timestamp_ms":1786362015000,"timestamp_seconds":1786362015,"priority":1,"record_length":96,"hex_timestamp":"0000019feb792d18"} 
[2026-08-10 17:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:14: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-08-10 17:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308598784001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308598784001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:14:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:14:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308598784001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":152040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:14:11] local.INFO: GPS data processed {"connection_id":152040,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:14:11] local.INFO: Acknowledgment sent {"connection_id":152040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:14:14] local.INFO: TCP Data received {"connection_id":152040,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:14:14] local.INFO: Processing buffer {"connection_id":152040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:14:14] local.INFO: Packet analysis {"connection_id":152040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:14:14] local.INFO: Extracted packet for processing {"connection_id":152040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308598784001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786362015000,"timestamp_ms":1786362015000,"timestamp_seconds":1786362015,"priority":1,"record_length":96,"hex_timestamp":"0000019feb792d18"} 
[2026-08-10 17:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308598784001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308598784001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:14:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308598784001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":152040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:14:14] local.INFO: GPS data processed {"connection_id":152040,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:14:14] local.INFO: Acknowledgment sent {"connection_id":152040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:14:19] local.INFO: TCP Data received {"connection_id":152039,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7a0bc0012d196700071feeb8003a005624..."} 
[2026-08-10 17:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7a0bc0012d196700071feeb8003a005624..."} 
[2026-08-10 17:14:19] local.INFO: Processing buffer {"connection_id":152039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7a0bc0012d196700071feeb8003a005624..."} 
[2026-08-10 17:14:19] local.INFO: Packet analysis {"connection_id":152039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7a"} 
[2026-08-10 17:14:19] local.INFO: Extracted packet for processing {"connection_id":152039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7a"} 
[2026-08-10 17:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308685056001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786362072000,"timestamp_ms":1786362072000,"timestamp_seconds":1786362072,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7a0bc0"} 
[2026-08-10 17:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 17:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308685056001,"66":12298,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308685056001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:14:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:14:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308685056001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":152039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:14:19] local.INFO: GPS data processed {"connection_id":152039,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:14:19] local.INFO: Acknowledgment sent {"connection_id":152039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:14:47] local.INFO: TCP Data received {"connection_id":154422,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:14:47] local.INFO: Processing buffer {"connection_id":154422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:14:47] local.INFO: IMEI packet received {"connection_id":154422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":154422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:14:51] local.INFO: TCP Data received {"connection_id":154422,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:14:52] local.INFO: Processing buffer {"connection_id":154422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:14:52] local.INFO: IMEI packet received {"connection_id":154422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":154422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:14:55] local.INFO: TCP Data received {"connection_id":154422,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7a5dc8012d196700071feeb8003a005621..."} 
[2026-08-10 17:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7a5dc8012d196700071feeb8003a005621..."} 
[2026-08-10 17:14:55] local.INFO: Processing buffer {"connection_id":154422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7a5dc8012d196700071feeb8003a005621..."} 
[2026-08-10 17:14:55] local.INFO: Packet analysis {"connection_id":154422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7a"} 
[2026-08-10 17:14:55] local.INFO: Extracted packet for processing {"connection_id":154422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7a"} 
[2026-08-10 17:14:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308690432001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14: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-08-10 17:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786362093000,"timestamp_ms":1786362093000,"timestamp_seconds":1786362093,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7a5dc8"} 
[2026-08-10 17:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513391356588720214,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452328,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-6052837899185946623,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1479487968548939417,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2650852839,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":58,"raw_value":24244231392460800,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068470913237198,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4005036090,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-10 17:14:55] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3618373632,"note":"Value kept but may cause issues"} 
[2026-08-10 17:14:55] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,121,28,24,241,158,16,215,159,185,45,238,58,37,10,66,103,35,21,1,240,53,235,31,4,113,205,184,33,239,2,40,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-10 17:14:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179435166818631680,"timestamp_seconds":4179435166818631.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":154422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":154422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":154422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308690432001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308690432001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:14:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308690432001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":154422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:14:56] local.INFO: GPS data processed {"connection_id":154422,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:14:56] local.INFO: Acknowledgment sent {"connection_id":154422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:14:58] local.INFO: TCP Data received {"connection_id":154423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:14:58] local.INFO: Processing buffer {"connection_id":154423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:14:58] local.INFO: IMEI packet received {"connection_id":154423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":154423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:15:01] local.INFO: TCP Data received {"connection_id":154422,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7aafd0012d196700071feeb8003a005623..."} 
[2026-08-10 17:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7aafd0012d196700071feeb8003a005623..."} 
[2026-08-10 17:15:01] local.INFO: Processing buffer {"connection_id":154422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7aafd0012d196700071feeb8003a005623..."} 
[2026-08-10 17:15:01] local.INFO: Packet analysis {"connection_id":154422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7a"} 
[2026-08-10 17:15:01] local.INFO: Extracted packet for processing {"connection_id":154422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7a"} 
[2026-08-10 17:15:01] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308695808001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15: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-08-10 17:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786362114000,"timestamp_ms":1786362114000,"timestamp_seconds":1786362114,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7aafd0"} 
[2026-08-10 17:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308695808001,"66":12113,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308695808001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:15:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:15:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308695808001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":154422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:15:01] local.INFO: GPS data processed {"connection_id":154422,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:15:01] local.INFO: Acknowledgment sent {"connection_id":154422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:15:03] local.INFO: TCP Data received {"connection_id":154423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:15:03] local.INFO: Processing buffer {"connection_id":154423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:15:03] local.INFO: IMEI packet received {"connection_id":154423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":154423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:15:04] local.INFO: TCP Data received {"connection_id":154423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:15:04] local.INFO: Processing buffer {"connection_id":154423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:15:04] local.INFO: Packet analysis {"connection_id":154423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:15:04] local.INFO: Extracted packet for processing {"connection_id":154423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308598784001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362015000,"timestamp_ms":1786362015000,"timestamp_seconds":1786362015,"priority":1,"record_length":96,"hex_timestamp":"0000019feb792d18"} 
[2026-08-10 17:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:15: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-08-10 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17: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-08-10 17:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308598784001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308598784001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:15:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308598784001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":154423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:15:04] local.INFO: GPS data processed {"connection_id":154423,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:15:04] local.INFO: Acknowledgment sent {"connection_id":154423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:15:09] local.INFO: TCP Data received {"connection_id":154423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:15:09] local.INFO: Processing buffer {"connection_id":154423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:15:09] local.INFO: Packet analysis {"connection_id":154423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:15:09] local.INFO: Extracted packet for processing {"connection_id":154423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308598784001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786362015000,"timestamp_ms":1786362015000,"timestamp_seconds":1786362015,"priority":1,"record_length":96,"hex_timestamp":"0000019feb792d18"} 
[2026-08-10 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-08-10 17:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 17:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308598784001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308598784001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:15:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308598784001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":154423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:15:09] local.INFO: GPS data processed {"connection_id":154423,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:15:09] local.INFO: Acknowledgment sent {"connection_id":154423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:15:32] local.INFO: TCP Data received {"connection_id":152975,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:15:32] local.INFO: Processing buffer {"connection_id":152975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:15:32] local.INFO: IMEI packet received {"connection_id":152975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":152975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:15:37] local.INFO: TCP Data received {"connection_id":152975,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:15:37] local.INFO: Processing buffer {"connection_id":152975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:15:37] local.INFO: IMEI packet received {"connection_id":152975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":152975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:15:38] local.INFO: TCP Data received {"connection_id":152975,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7d9600012d7a2a0005e45f08000e008c27..."} 
[2026-08-10 17:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7d9600012d7a2a0005e45f08000e008c27..."} 
[2026-08-10 17:15:38] local.INFO: Processing buffer {"connection_id":152975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7d9600012d7a2a0005e45f08000e008c27..."} 
[2026-08-10 17:15:38] local.INFO: Packet analysis {"connection_id":152975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:15:38] local.INFO: Extracted packet for processing {"connection_id":152975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:15:38] local.INFO: GPS Element Parsed {"raw_longitude":762980864,"raw_latitude":98852616,"longitude_deg":76.2980864,"latitude_deg":9.8852616,"altitude":14,"angle":140,"satellites":39,"speed":10,"hex_longitude":"2d7a2a00","hex_latitude":"05e45f08","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308747776001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117294826709319680,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801370703328167936,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15: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-08-10 17:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786362304000,"timestamp_ms":1786362304000,"timestamp_seconds":1786362304,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7d9600"} 
[2026-08-10 17:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":221,"data_length":795,"current_offset":136} 
[2026-08-10 17:15: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-08-10 17: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-08-10 17:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:15: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-08-10 17:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308747776001,"66":13254,"39":206,"87":13824,"24":10,"16":117294826709319680,"45":8801370703328167936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 17:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308747776001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:15:38] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 17:15:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 17:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117294826709319680,"km_value":117294826709319.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801370703328167936,"description":"Unknown IO ID 45"} 
[2026-08-10 17:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308747776001,"power":13254,"unknown_39":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8801370703328167936}} 
[2026-08-10 17:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":152975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:15:38] local.INFO: GPS data processed {"connection_id":152975,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:15:38] local.INFO: Acknowledgment sent {"connection_id":152975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:15:40] local.INFO: TCP Data received {"connection_id":154423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:15:40] local.INFO: Processing buffer {"connection_id":154423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb792d18012d342a4006abc280000b010224..."} 
[2026-08-10 17:15:40] local.INFO: Packet analysis {"connection_id":154423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:15:40] local.INFO: Extracted packet for processing {"connection_id":154423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb79"} 
[2026-08-10 17:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":11,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308598784001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786362015000,"timestamp_ms":1786362015000,"timestamp_seconds":1786362015,"priority":1,"record_length":96,"hex_timestamp":"0000019feb792d18"} 
[2026-08-10 17:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:15: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-08-10 17:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308598784001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308598784001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:15:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308598784001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":154423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:15:40] local.INFO: GPS data processed {"connection_id":154423,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:15:40] local.INFO: Acknowledgment sent {"connection_id":154423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:15:42] local.INFO: TCP Data received {"connection_id":152041,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:15:42] local.INFO: Processing buffer {"connection_id":152041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:15:42] local.INFO: IMEI packet received {"connection_id":152041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":152041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:15:43] local.INFO: TCP Data received {"connection_id":152041,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:15:43] local.INFO: Processing buffer {"connection_id":152041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:15:43] local.INFO: IMEI packet received {"connection_id":152041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":152041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:15:49] local.INFO: TCP Data received {"connection_id":152041,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:15:49] local.INFO: Processing buffer {"connection_id":152041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:15:49] local.INFO: IMEI packet received {"connection_id":152041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":152041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:15:55] local.INFO: TCP Data received {"connection_id":152041,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7b01d8012d196700071feeb8003a00561f..."} 
[2026-08-10 17:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7b01d8012d196700071feeb8003a00561f..."} 
[2026-08-10 17:15:55] local.INFO: Processing buffer {"connection_id":152041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7b01d8012d196700071feeb8003a00561f..."} 
[2026-08-10 17:15:55] local.INFO: Packet analysis {"connection_id":152041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7b"} 
[2026-08-10 17:15:55] local.INFO: Extracted packet for processing {"connection_id":152041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7b"} 
[2026-08-10 17:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":31,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308701184001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786362135000,"timestamp_ms":1786362135000,"timestamp_seconds":1786362135,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7b01d8"} 
[2026-08-10 17:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-10 17:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308701184001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308701184001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:15:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308701184001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":152041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:15:55] local.INFO: GPS data processed {"connection_id":152041,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:15:55] local.INFO: Acknowledgment sent {"connection_id":152041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:15:56] local.INFO: TCP Data received {"connection_id":152041,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7b53e0012d196700071feeb8003a005623..."} 
[2026-08-10 17:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7b53e0012d196700071feeb8003a005623..."} 
[2026-08-10 17:15:56] local.INFO: Processing buffer {"connection_id":152041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7b53e0012d196700071feeb8003a005623..."} 
[2026-08-10 17:15:56] local.INFO: Packet analysis {"connection_id":152041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7b"} 
[2026-08-10 17:15:56] local.INFO: Extracted packet for processing {"connection_id":152041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7b"} 
[2026-08-10 17:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308706560001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:15: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-08-10 17:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786362156000,"timestamp_ms":1786362156000,"timestamp_seconds":1786362156,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7b53e0"} 
[2026-08-10 17:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308706560001,"66":12406,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308706560001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:15:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:15:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308706560001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":152041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:15:56] local.INFO: GPS data processed {"connection_id":152041,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:15:56] local.INFO: Acknowledgment sent {"connection_id":152041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:15:58] local.INFO: TCP Data received {"connection_id":152976,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:15:58] local.INFO: Processing buffer {"connection_id":152976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:15:58] local.INFO: IMEI packet received {"connection_id":152976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":152976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:16:03] local.INFO: TCP Data received {"connection_id":152976,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:16:03] local.INFO: Processing buffer {"connection_id":152976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:16:03] local.INFO: IMEI packet received {"connection_id":152976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":152976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:16:04] local.INFO: TCP Data received {"connection_id":152976,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:16:04] local.INFO: Processing buffer {"connection_id":152976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:16:04] local.INFO: Packet analysis {"connection_id":152976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:16:04] local.INFO: Extracted packet for processing {"connection_id":152976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308675840001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362316000,"timestamp_ms":1786362316000,"timestamp_seconds":1786362316,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7dc4e0"} 
[2026-08-10 17:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:16: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-08-10 17:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308675840001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308675840001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:16:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308675840001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":152976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:16:04] local.INFO: GPS data processed {"connection_id":152976,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:16:04] local.INFO: Acknowledgment sent {"connection_id":152976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:16:16] local.INFO: TCP Data received {"connection_id":154424,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:16:16] local.INFO: Processing buffer {"connection_id":154424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:16:16] local.INFO: IMEI packet received {"connection_id":154424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":154424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:16:17] local.INFO: TCP Data received {"connection_id":154424,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:16:17] local.INFO: Processing buffer {"connection_id":154424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:16:17] local.INFO: IMEI packet received {"connection_id":154424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":154424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:16:22] local.INFO: TCP Data received {"connection_id":154424,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:16:22] local.INFO: Processing buffer {"connection_id":154424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:16:22] local.INFO: IMEI packet received {"connection_id":154424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":154424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:16:23] local.INFO: TCP Data received {"connection_id":154424,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7d99e8012d7a2b0005e45e30000e008027..."} 
[2026-08-10 17:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7d99e8012d7a2b0005e45e30000e008027..."} 
[2026-08-10 17:16:23] local.INFO: Processing buffer {"connection_id":154424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7d99e8012d7a2b0005e45e30000e008027..."} 
[2026-08-10 17:16:23] local.INFO: Packet analysis {"connection_id":154424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:16:23] local.INFO: Extracted packet for processing {"connection_id":154424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:16:23] local.INFO: GPS Element Parsed {"raw_longitude":762981120,"raw_latitude":98852400,"longitude_deg":76.298112,"latitude_deg":9.88524,"altitude":14,"angle":128,"satellites":39,"speed":11,"hex_longitude":"2d7a2b00","hex_latitude":"05e45e30","is_valid_coordinates":true} 
[2026-08-10 17:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308749824001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117294839594221568,"note":"Value kept but may cause issues"} 
[2026-08-10 17:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802848446955325440,"note":"Value kept but may cause issues"} 
[2026-08-10 17:16: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-08-10 17:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786362305000,"timestamp_ms":1786362305000,"timestamp_seconds":1786362305,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7d99e8"} 
[2026-08-10 17:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 17:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308749824001,"66":13200,"39":206,"87":13824,"24":11,"16":117294839594221568,"45":8802848446955325440},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 17:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308749824001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:16:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 17:16:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 17:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117294839594221568,"km_value":117294839594221.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802848446955325440,"description":"Unknown IO ID 45"} 
[2026-08-10 17:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308749824001,"power":13200,"unknown_39":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8802848446955325440}} 
[2026-08-10 17:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":154424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:16:23] local.INFO: GPS data processed {"connection_id":154424,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:16:23] local.INFO: Acknowledgment sent {"connection_id":154424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:16:36] local.INFO: TCP Data received {"connection_id":152976,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:16:36] local.INFO: Processing buffer {"connection_id":152976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:16:36] local.INFO: Packet analysis {"connection_id":152976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:16:36] local.INFO: Extracted packet for processing {"connection_id":152976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308675840001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786362316000,"timestamp_ms":1786362316000,"timestamp_seconds":1786362316,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7dc4e0"} 
[2026-08-10 17:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308675840001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308675840001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:16:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308675840001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":152976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:16:36] local.INFO: GPS data processed {"connection_id":152976,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:16:36] local.INFO: Acknowledgment sent {"connection_id":152976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:16:42] local.INFO: TCP Data received {"connection_id":154425,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:16:42] local.INFO: Processing buffer {"connection_id":154425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:16:42] local.INFO: IMEI packet received {"connection_id":154425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":154425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:16:44] local.INFO: TCP Data received {"connection_id":154425,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:16:44] local.INFO: Processing buffer {"connection_id":154425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:16:44] local.INFO: IMEI packet received {"connection_id":154425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":154425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:16:45] local.INFO: TCP Data received {"connection_id":154425,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7ba5e8012d196700071feeb8003a005623..."} 
[2026-08-10 17:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7ba5e8012d196700071feeb8003a005623..."} 
[2026-08-10 17:16:45] local.INFO: Processing buffer {"connection_id":154425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7ba5e8012d196700071feeb8003a005623..."} 
[2026-08-10 17:16:45] local.INFO: Packet analysis {"connection_id":154425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7b"} 
[2026-08-10 17:16:45] local.INFO: Extracted packet for processing {"connection_id":154425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7b"} 
[2026-08-10 17:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308711936001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:16: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-08-10 17:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786362177000,"timestamp_ms":1786362177000,"timestamp_seconds":1786362177,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7ba5e8"} 
[2026-08-10 17:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308711936001,"66":12341,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308711936001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:16:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:16:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308711936001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":154425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:16:45] local.INFO: GPS data processed {"connection_id":154425,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:16:45] local.INFO: Acknowledgment sent {"connection_id":154425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:16:58] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:16:58] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:16:58] local.INFO: IMEI packet received {"connection_id":151661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":151661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:17:03] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:17:03] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:17:03] local.INFO: IMEI packet received {"connection_id":151661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":151661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:17:06] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:17:06] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:17:06] local.INFO: Packet analysis {"connection_id":151661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:17:06] local.INFO: Extracted packet for processing {"connection_id":151661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308675840001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786362316000,"timestamp_ms":1786362316000,"timestamp_seconds":1786362316,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7dc4e0"} 
[2026-08-10 17:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:17: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-08-10 17:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308675840001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308675840001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:17:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308675840001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":151661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:17:06] local.INFO: GPS data processed {"connection_id":151661,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:17:06] local.INFO: Acknowledgment sent {"connection_id":151661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:17:07] local.INFO: TCP Data received {"connection_id":152042,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:17:07] local.INFO: Processing buffer {"connection_id":152042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:17:07] local.INFO: IMEI packet received {"connection_id":152042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":152042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:17:12] local.INFO: TCP Data received {"connection_id":152042,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:17:12] local.INFO: Processing buffer {"connection_id":152042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:17:12] local.INFO: IMEI packet received {"connection_id":152042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":152042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:17:13] local.INFO: TCP Data received {"connection_id":152042,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7ee208012d7a62c005e46c780016007028..."} 
[2026-08-10 17:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7ee208012d7a62c005e46c780016007028..."} 
[2026-08-10 17:17:13] local.INFO: Processing buffer {"connection_id":152042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7ee208012d7a62c005e46c780016007028..."} 
[2026-08-10 17:17:13] local.INFO: Packet analysis {"connection_id":152042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7e"} 
[2026-08-10 17:17:13] local.INFO: Extracted packet for processing {"connection_id":152042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7e"} 
[2026-08-10 17:17:13] local.INFO: GPS Element Parsed {"raw_longitude":762995392,"raw_latitude":98856056,"longitude_deg":76.2995392,"latitude_deg":9.8856056,"altitude":22,"angle":112,"satellites":40,"speed":11,"hex_longitude":"2d7a62c0","hex_latitude":"05e46c78","is_valid_coordinates":true} 
[2026-08-10 17:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308771328001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117295565443694592,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818540676907839488,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786362389000,"timestamp_ms":1786362389000,"timestamp_seconds":1786362389,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7ee208"} 
[2026-08-10 17:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 17:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308771328001,"66":13559,"39":206,"87":13824,"24":11,"16":117295565443694592,"45":8818540676907839488},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 17:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308771328001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:17:13] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 17:17:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 17:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117295565443694592,"km_value":117295565443694.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818540676907839488,"description":"Unknown IO ID 45"} 
[2026-08-10 17:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308771328001,"power":13559,"unknown_39":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8818540676907839488}} 
[2026-08-10 17:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":152042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:17:13] local.INFO: GPS data processed {"connection_id":152042,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:17:13] local.INFO: Acknowledgment sent {"connection_id":152042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:17:17] local.INFO: TCP Data received {"connection_id":154425,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7bf7f0012d196700071feeb8003a005623..."} 
[2026-08-10 17:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7bf7f0012d196700071feeb8003a005623..."} 
[2026-08-10 17:17:18] local.INFO: Processing buffer {"connection_id":154425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7bf7f0012d196700071feeb8003a005623..."} 
[2026-08-10 17:17:18] local.INFO: Packet analysis {"connection_id":154425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7b"} 
[2026-08-10 17:17:18] local.INFO: Extracted packet for processing {"connection_id":154425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7b"} 
[2026-08-10 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308717312001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17: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-08-10 17:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786362198000,"timestamp_ms":1786362198000,"timestamp_seconds":1786362198,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7bf7f0"} 
[2026-08-10 17:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 17:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308717312001,"66":12406,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308717312001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:17:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:17:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308717312001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":154425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:17:18] local.INFO: GPS data processed {"connection_id":154425,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:17:18] local.INFO: Acknowledgment sent {"connection_id":154425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:17:37] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:17:37] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:17:37] local.INFO: Packet analysis {"connection_id":151661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:17:37] local.INFO: Extracted packet for processing {"connection_id":151661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308675840001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786362316000,"timestamp_ms":1786362316000,"timestamp_seconds":1786362316,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7dc4e0"} 
[2026-08-10 17:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:17: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-08-10 17:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308675840001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308675840001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:17:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308675840001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":151661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:17:37] local.INFO: GPS data processed {"connection_id":151661,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:17:37] local.INFO: Acknowledgment sent {"connection_id":151661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:17:42] local.INFO: TCP Data received {"connection_id":152977,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:17:42] local.INFO: Processing buffer {"connection_id":152977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:17:42] local.INFO: IMEI packet received {"connection_id":152977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":152977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:17:47] local.INFO: TCP Data received {"connection_id":152043,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:17:47] local.INFO: Processing buffer {"connection_id":152043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:17:47] local.INFO: IMEI packet received {"connection_id":152043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":152043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:17:47] local.INFO: TCP Data received {"connection_id":152977,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:17:47] local.INFO: Processing buffer {"connection_id":152977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:17:47] local.INFO: IMEI packet received {"connection_id":152977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":152977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:17:48] local.INFO: TCP Data received {"connection_id":152043,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:17:48] local.INFO: Processing buffer {"connection_id":152043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:17:48] local.INFO: IMEI packet received {"connection_id":152043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":152043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:17:48] local.INFO: TCP Data received {"connection_id":152977,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7c49f8012d196700071feeb8003a00561f..."} 
[2026-08-10 17:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7c49f8012d196700071feeb8003a00561f..."} 
[2026-08-10 17:17:48] local.INFO: Processing buffer {"connection_id":152977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7c49f8012d196700071feeb8003a00561f..."} 
[2026-08-10 17:17:48] local.INFO: Packet analysis {"connection_id":152977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7c"} 
[2026-08-10 17:17:48] local.INFO: Extracted packet for processing {"connection_id":152977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7c"} 
[2026-08-10 17:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":31,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308722688001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786362219000,"timestamp_ms":1786362219000,"timestamp_seconds":1786362219,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7c49f8"} 
[2026-08-10 17:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308722688001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308722688001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:17:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:17:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308722688001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":152977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:17:48] local.INFO: GPS data processed {"connection_id":152977,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:17:48] local.INFO: Acknowledgment sent {"connection_id":152977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:18:03] local.INFO: TCP Data received {"connection_id":152044,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:18:03] local.INFO: Processing buffer {"connection_id":152044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:18:03] local.INFO: IMEI packet received {"connection_id":152044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":152044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:18:08] local.INFO: TCP Data received {"connection_id":152044,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:18:08] local.INFO: Processing buffer {"connection_id":152044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:18:08] local.INFO: IMEI packet received {"connection_id":152044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":152044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:18:09] local.INFO: TCP Data received {"connection_id":152044,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:18:09] local.INFO: Processing buffer {"connection_id":152044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:18:09] local.INFO: Packet analysis {"connection_id":152044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:18:09] local.INFO: Extracted packet for processing {"connection_id":152044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308675840001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786362316000,"timestamp_ms":1786362316000,"timestamp_seconds":1786362316,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7dc4e0"} 
[2026-08-10 17:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308675840001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308675840001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:18:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308675840001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":152044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:18:09] local.INFO: GPS data processed {"connection_id":152044,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:18:09] local.INFO: Acknowledgment sent {"connection_id":152044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:18:17] local.INFO: TCP Data received {"connection_id":151662,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:18:17] local.INFO: Processing buffer {"connection_id":151662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:18:17] local.INFO: IMEI packet received {"connection_id":151662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":151662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:18:21] local.INFO: TCP Data received {"connection_id":152977,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7c9c00012d196700071feeb8003a005623..."} 
[2026-08-10 17:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7c9c00012d196700071feeb8003a005623..."} 
[2026-08-10 17:18:21] local.INFO: Processing buffer {"connection_id":152977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7c9c00012d196700071feeb8003a005623..."} 
[2026-08-10 17:18:21] local.INFO: Packet analysis {"connection_id":152977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7c"} 
[2026-08-10 17:18:21] local.INFO: Extracted packet for processing {"connection_id":152977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7c"} 
[2026-08-10 17:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308728064001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786362240000,"timestamp_ms":1786362240000,"timestamp_seconds":1786362240,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7c9c00"} 
[2026-08-10 17:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308728064001,"66":12406,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308728064001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:18:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:18:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308728064001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":152977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:18:21] local.INFO: GPS data processed {"connection_id":152977,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:18:21] local.INFO: Acknowledgment sent {"connection_id":152977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:18:22] local.INFO: TCP Data received {"connection_id":151662,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:18:22] local.INFO: Processing buffer {"connection_id":151662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:18:22] local.INFO: IMEI packet received {"connection_id":151662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":151662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:18:23] local.INFO: TCP Data received {"connection_id":151662,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7f18b8012d7a7f4005e456180012008228..."} 
[2026-08-10 17:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7f18b8012d7a7f4005e456180012008228..."} 
[2026-08-10 17:18:23] local.INFO: Processing buffer {"connection_id":151662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7f18b8012d7a7f4005e456180012008228..."} 
[2026-08-10 17:18:23] local.INFO: Packet analysis {"connection_id":151662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7f"} 
[2026-08-10 17:18:23] local.INFO: Extracted packet for processing {"connection_id":151662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7f"} 
[2026-08-10 17:18:23] local.INFO: GPS Element Parsed {"raw_longitude":763002688,"raw_latitude":98850328,"longitude_deg":76.3002688,"latitude_deg":9.8850328,"altitude":18,"angle":130,"satellites":40,"speed":34,"hex_longitude":"2d7a7f40","hex_latitude":"05e45618","is_valid_coordinates":true} 
[2026-08-10 17:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308771840001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117296012120293376,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819173995605387264,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18: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-08-10 17:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786362403000,"timestamp_ms":1786362403000,"timestamp_seconds":1786362403,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7f18b8"} 
[2026-08-10 17:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 17:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308771840001,"66":13646,"39":206,"87":13824,"24":34,"16":117296012120293376,"45":8819173995605387264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 17:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308771840001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:18:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 17:18:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 17:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117296012120293376,"km_value":117296012120293.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819173995605387264,"description":"Unknown IO ID 45"} 
[2026-08-10 17:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308771840001,"power":13646,"unknown_39":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8819173995605387264}} 
[2026-08-10 17:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":151662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:18:23] local.INFO: GPS data processed {"connection_id":151662,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:18:23] local.INFO: Acknowledgment sent {"connection_id":151662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:18:40] local.INFO: TCP Data received {"connection_id":152044,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:18:40] local.INFO: Processing buffer {"connection_id":152044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:18:40] local.INFO: Packet analysis {"connection_id":152044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:18:40] local.INFO: Extracted packet for processing {"connection_id":152044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:18:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308675840001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786362316000,"timestamp_ms":1786362316000,"timestamp_seconds":1786362316,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7dc4e0"} 
[2026-08-10 17:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308675840001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308675840001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:18:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:18:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308675840001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":152044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:18:40] local.INFO: GPS data processed {"connection_id":152044,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:18:40] local.INFO: Acknowledgment sent {"connection_id":152044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:18:41] local.INFO: TCP Data received {"connection_id":152045,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:18:41] local.INFO: Processing buffer {"connection_id":152045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:18:41] local.INFO: IMEI packet received {"connection_id":152045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":152045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:18:47] local.INFO: TCP Data received {"connection_id":152045,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:18:47] local.INFO: Processing buffer {"connection_id":152045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:18:47] local.INFO: IMEI packet received {"connection_id":152045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":152045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:18:54] local.INFO: TCP Data received {"connection_id":152045,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7cee08012d196700071feeb8003a005624..."} 
[2026-08-10 17:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7cee08012d196700071feeb8003a005624..."} 
[2026-08-10 17:18:54] local.INFO: Processing buffer {"connection_id":152045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7cee08012d196700071feeb8003a005624..."} 
[2026-08-10 17:18:54] local.INFO: Packet analysis {"connection_id":152045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7c"} 
[2026-08-10 17:18:54] local.INFO: Extracted packet for processing {"connection_id":152045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7c"} 
[2026-08-10 17:18:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308733440001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786362261000,"timestamp_ms":1786362261000,"timestamp_seconds":1786362261,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7cee08"} 
[2026-08-10 17:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308733440001,"66":12178,"71":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-08-10 17:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308733440001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:18:54] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 17:18:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308733440001,"power":12178,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":152045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:18:54] local.INFO: GPS data processed {"connection_id":152045,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:18:54] local.INFO: Acknowledgment sent {"connection_id":152045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:18:58] local.INFO: TCP Data received {"connection_id":154426,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:18:58] local.INFO: Processing buffer {"connection_id":154426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:18:58] local.INFO: IMEI packet received {"connection_id":154426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":154426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:19:03] local.INFO: TCP Data received {"connection_id":154426,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:19:03] local.INFO: Processing buffer {"connection_id":154426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:19:03] local.INFO: IMEI packet received {"connection_id":154426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":154426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:19:04] local.INFO: TCP Data received {"connection_id":154426,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:19:04] local.INFO: Processing buffer {"connection_id":154426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:19:04] local.INFO: Packet analysis {"connection_id":154426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:19:04] local.INFO: Extracted packet for processing {"connection_id":154426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308675840001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362316000,"timestamp_ms":1786362316000,"timestamp_seconds":1786362316,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7dc4e0"} 
[2026-08-10 17:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:19: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-08-10 17:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308675840001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308675840001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:19:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308675840001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":154426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:19:05] local.INFO: GPS data processed {"connection_id":154426,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:19:05] local.INFO: Acknowledgment sent {"connection_id":154426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:19:07] local.INFO: TCP Data received {"connection_id":154427,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:19:07] local.INFO: Processing buffer {"connection_id":154427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:19:07] local.INFO: IMEI packet received {"connection_id":154427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":154427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:19:11] local.INFO: TCP Data received {"connection_id":154427,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:19:11] local.INFO: Processing buffer {"connection_id":154427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:19:11] local.INFO: IMEI packet received {"connection_id":154427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":154427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:19:12] local.INFO: TCP Data received {"connection_id":154427,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:19:12] local.INFO: Processing buffer {"connection_id":154427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:19:12] local.INFO: IMEI packet received {"connection_id":154427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":154427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:19:13] local.INFO: TCP Data received {"connection_id":154427,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7f3fc8012d7a9b8005e43f50000a008228..."} 
[2026-08-10 17:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7f3fc8012d7a9b8005e43f50000a008228..."} 
[2026-08-10 17:19:13] local.INFO: Processing buffer {"connection_id":154427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7f3fc8012d7a9b8005e43f50000a008228..."} 
[2026-08-10 17:19:13] local.INFO: Packet analysis {"connection_id":154427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7f"} 
[2026-08-10 17:19:13] local.INFO: Extracted packet for processing {"connection_id":154427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7f"} 
[2026-08-10 17:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763009920,"raw_latitude":98844496,"longitude_deg":76.300992,"latitude_deg":9.8844496,"altitude":10,"angle":130,"satellites":40,"speed":35,"hex_longitude":"2d7a9b80","hex_latitude":"05e43f50","is_valid_coordinates":true} 
[2026-08-10 17:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308775168001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117296458796892160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826844188719323136,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786362413000,"timestamp_ms":1786362413000,"timestamp_seconds":1786362413,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7f3fc8"} 
[2026-08-10 17:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-10 17:19: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-08-10 17: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-08-10 17:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:19: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-08-10 17:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308775168001,"66":13461,"39":206,"87":13824,"24":35,"16":117296458796892160,"45":8826844188719323136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 17:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308775168001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:19:13] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 17:19:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 17:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117296458796892160,"km_value":117296458796892.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826844188719323136,"description":"Unknown IO ID 45"} 
[2026-08-10 17:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308775168001,"power":13461,"unknown_39":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8826844188719323136}} 
[2026-08-10 17:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":154427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:19:13] local.INFO: GPS data processed {"connection_id":154427,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:19:13] local.INFO: Acknowledgment sent {"connection_id":154427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:19:17] local.INFO: TCP Data received {"connection_id":154427,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7f6ac0012d7ab8c005e426f00005008725..."} 
[2026-08-10 17:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7f6ac0012d7ab8c005e426f00005008725..."} 
[2026-08-10 17:19:17] local.INFO: Processing buffer {"connection_id":154427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7f6ac0012d7ab8c005e426f00005008725..."} 
[2026-08-10 17:19:17] local.INFO: Packet analysis {"connection_id":154427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7f"} 
[2026-08-10 17:19:17] local.INFO: Extracted packet for processing {"connection_id":154427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7f"} 
[2026-08-10 17:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763017408,"raw_latitude":98838256,"longitude_deg":76.3017408,"latitude_deg":9.8838256,"altitude":5,"angle":135,"satellites":37,"speed":31,"hex_longitude":"2d7ab8c0","hex_latitude":"05e426f0","is_valid_coordinates":true} 
[2026-08-10 17:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308777728001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117296926948327424,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834795856809906176,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786362424000,"timestamp_ms":1786362424000,"timestamp_seconds":1786362424,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7f6ac0"} 
[2026-08-10 17:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-10 17:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308777728001,"66":13656,"39":206,"87":13824,"24":31,"16":117296926948327424,"45":8834795856809906176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 17:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308777728001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:19:17] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 17:19:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 17:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117296926948327424,"km_value":117296926948327.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834795856809906176,"description":"Unknown IO ID 45"} 
[2026-08-10 17:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308777728001,"power":13656,"unknown_39":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8834795856809906176}} 
[2026-08-10 17:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":154427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:19:18] local.INFO: GPS data processed {"connection_id":154427,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:19:18] local.INFO: Acknowledgment sent {"connection_id":154427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:19:25] local.INFO: TCP Data received {"connection_id":152045,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7d4010012d196700071feeb8003a005624..."} 
[2026-08-10 17:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7d4010012d196700071feeb8003a005624..."} 
[2026-08-10 17:19:25] local.INFO: Processing buffer {"connection_id":152045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7d4010012d196700071feeb8003a005624..."} 
[2026-08-10 17:19:25] local.INFO: Packet analysis {"connection_id":152045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:19:25] local.INFO: Extracted packet for processing {"connection_id":152045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:19:25] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308738816001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786362282000,"timestamp_ms":1786362282000,"timestamp_seconds":1786362282,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7d4010"} 
[2026-08-10 17:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-10 17:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308738816001,"66":12406,"71":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-08-10 17:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308738816001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:19:25] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 17:19:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308738816001,"power":12406,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":152045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:19:26] local.INFO: GPS data processed {"connection_id":152045,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:19:26] local.INFO: Acknowledgment sent {"connection_id":152045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:19:36] local.INFO: TCP Data received {"connection_id":154426,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:19:36] local.INFO: Processing buffer {"connection_id":154426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:19:36] local.INFO: Packet analysis {"connection_id":154426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:19:36] local.INFO: Extracted packet for processing {"connection_id":154426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308675840001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786362316000,"timestamp_ms":1786362316000,"timestamp_seconds":1786362316,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7dc4e0"} 
[2026-08-10 17:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308675840001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308675840001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:19:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308675840001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":154426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:19:36] local.INFO: GPS data processed {"connection_id":154426,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:19:36] local.INFO: Acknowledgment sent {"connection_id":154426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:19:41] local.INFO: TCP Data received {"connection_id":152978,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:19:41] local.INFO: Processing buffer {"connection_id":152978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:19:41] local.INFO: IMEI packet received {"connection_id":152978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":152978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:19:47] local.INFO: TCP Data received {"connection_id":152978,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:19:47] local.INFO: Processing buffer {"connection_id":152978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:19:47] local.INFO: IMEI packet received {"connection_id":152978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":152978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:19:48] local.INFO: TCP Data received {"connection_id":152978,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7d9218012d196700071feeb8003a005622..."} 
[2026-08-10 17:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7d9218012d196700071feeb8003a005622..."} 
[2026-08-10 17:19:48] local.INFO: Processing buffer {"connection_id":152978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7d9218012d196700071feeb8003a005622..."} 
[2026-08-10 17:19:48] local.INFO: Packet analysis {"connection_id":152978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:19:48] local.INFO: Extracted packet for processing {"connection_id":152978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308744192001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786362303000,"timestamp_ms":1786362303000,"timestamp_seconds":1786362303,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7d9218"} 
[2026-08-10 17:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308744192001,"66":12341,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308744192001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:19:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:19:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308744192001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":152978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:19:48] local.INFO: GPS data processed {"connection_id":152978,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:19:48] local.INFO: Acknowledgment sent {"connection_id":152978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:19:49] local.INFO: TCP Data received {"connection_id":154427,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7f99a0012d7acd8005e411580001009427..."} 
[2026-08-10 17:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7f99a0012d7acd8005e411580001009427..."} 
[2026-08-10 17:19:49] local.INFO: Processing buffer {"connection_id":154427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7f99a0012d7acd8005e411580001009427..."} 
[2026-08-10 17:19:49] local.INFO: Packet analysis {"connection_id":154427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7f"} 
[2026-08-10 17:19:49] local.INFO: Extracted packet for processing {"connection_id":154427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7f"} 
[2026-08-10 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":763022720,"raw_latitude":98832728,"longitude_deg":76.302272,"latitude_deg":9.8832728,"altitude":1,"angle":148,"satellites":39,"speed":20,"hex_longitude":"2d7acd80","hex_latitude":"05e41158","is_valid_coordinates":true} 
[2026-08-10 17:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308780544001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117297296315514880,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843028999877095424,"note":"Value kept but may cause issues"} 
[2026-08-10 17:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786362436000,"timestamp_ms":1786362436000,"timestamp_seconds":1786362436,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7f99a0"} 
[2026-08-10 17:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-10 17:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308780544001,"66":13624,"39":206,"87":13824,"24":20,"16":117297296315514880,"45":8843028999877095424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-10 17:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308780544001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:19:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-10 17:19:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-10 17:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117297296315514880,"km_value":117297296315514.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843028999877095424,"description":"Unknown IO ID 45"} 
[2026-08-10 17:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308780544001,"power":13624,"unknown_39":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8843028999877095424}} 
[2026-08-10 17:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":154427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:19:49] local.INFO: GPS data processed {"connection_id":154427,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:19:49] local.INFO: Acknowledgment sent {"connection_id":154427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:19:59] local.INFO: TCP Data received {"connection_id":151663,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:19:59] local.INFO: Processing buffer {"connection_id":151663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:19:59] local.INFO: IMEI packet received {"connection_id":151663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":151663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:20:03] local.INFO: TCP Data received {"connection_id":151663,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:20:03] local.INFO: Processing buffer {"connection_id":151663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:20:03] local.INFO: IMEI packet received {"connection_id":151663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":151663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:20:04] local.INFO: TCP Data received {"connection_id":151663,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:20:04] local.INFO: Processing buffer {"connection_id":151663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:20:04] local.INFO: Packet analysis {"connection_id":151663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:20:04] local.INFO: Extracted packet for processing {"connection_id":151663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308675840001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362316000,"timestamp_ms":1786362316000,"timestamp_seconds":1786362316,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7dc4e0"} 
[2026-08-10 17:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:20: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-08-10 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308675840001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308675840001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:20:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308675840001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":151663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:20:04] local.INFO: GPS data processed {"connection_id":151663,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:20:04] local.INFO: Acknowledgment sent {"connection_id":151663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:20:12] local.INFO: TCP Data received {"connection_id":151664,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:20:12] local.INFO: Processing buffer {"connection_id":151664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:20:12] local.INFO: IMEI packet received {"connection_id":151664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":151664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:20:13] local.INFO: TCP Data received {"connection_id":151664,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:20:13] local.INFO: Processing buffer {"connection_id":151664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:20:13] local.INFO: IMEI packet received {"connection_id":151664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":151664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:20:14] local.INFO: TCP Data received {"connection_id":151664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb81f330012d7aedc005e399d0000300a72a..."} 
[2026-08-10 17:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb81f330012d7aedc005e399d0000300a72a..."} 
[2026-08-10 17:20:14] local.INFO: Processing buffer {"connection_id":151664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb81f330012d7aedc005e399d0000300a72a..."} 
[2026-08-10 17:20:14] local.INFO: Packet analysis {"connection_id":151664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb81"} 
[2026-08-10 17:20:14] local.INFO: Extracted packet for processing {"connection_id":151664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb81"} 
[2026-08-10 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":763030976,"raw_latitude":98802128,"longitude_deg":76.3030976,"latitude_deg":9.8802128,"altitude":3,"angle":167,"satellites":42,"speed":4,"hex_longitude":"2d7aedc0","hex_latitude":"05e399d0","is_valid_coordinates":true} 
[2026-08-10 17:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308820224001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117298855388643328,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857806436145408000,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786362590000,"timestamp_ms":1786362590000,"timestamp_seconds":1786362590,"priority":1,"record_length":96,"hex_timestamp":"0000019feb81f330"} 
[2026-08-10 17:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 17:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308820224001,"66":13091,"97":206,"85":15104,"24":4,"16":117298855388643328,"45":8857806436145408000},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 17:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308820224001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 17:20:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117298855388643328,"km_value":117298855388643.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857806436145408000,"description":"Unknown IO ID 45"} 
[2026-08-10 17:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308820224001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8857806436145408000}} 
[2026-08-10 17:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":151664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:20:14] local.INFO: GPS data processed {"connection_id":151664,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:20:14] local.INFO: Acknowledgment sent {"connection_id":151664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:20:17] local.INFO: TCP Data received {"connection_id":151664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb821e28012d7aefc005e394600003009829..."} 
[2026-08-10 17:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb821e28012d7aefc005e394600003009829..."} 
[2026-08-10 17:20:17] local.INFO: Processing buffer {"connection_id":151664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb821e28012d7aefc005e394600003009829..."} 
[2026-08-10 17:20:17] local.INFO: Packet analysis {"connection_id":151664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:20:17] local.INFO: Extracted packet for processing {"connection_id":151664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:20:17] local.INFO: GPS Element Parsed {"raw_longitude":763031488,"raw_latitude":98800736,"longitude_deg":76.3031488,"latitude_deg":9.8800736,"altitude":3,"angle":152,"satellites":41,"speed":7,"hex_longitude":"2d7aefc0","hex_latitude":"05e39460","is_valid_coordinates":true} 
[2026-08-10 17:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308823040001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117298928403087360,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857947173633511424,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786362601000,"timestamp_ms":1786362601000,"timestamp_seconds":1786362601,"priority":1,"record_length":96,"hex_timestamp":"0000019feb821e28"} 
[2026-08-10 17:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 17:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308823040001,"66":13580,"97":206,"85":15104,"24":7,"16":117298928403087360,"45":8857947173633511424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 17:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308823040001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 17:20:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117298928403087360,"km_value":117298928403087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857947173633511424,"description":"Unknown IO ID 45"} 
[2026-08-10 17:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308823040001,"power":13580,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8857947173633511424}} 
[2026-08-10 17:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":151664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:20:17] local.INFO: GPS data processed {"connection_id":151664,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:20:17] local.INFO: Acknowledgment sent {"connection_id":151664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:20:23] local.INFO: TCP Data received {"connection_id":152978,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb811870012d196700071feeb8003a005621..."} 
[2026-08-10 17:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb811870012d196700071feeb8003a005621..."} 
[2026-08-10 17:20:23] local.INFO: Processing buffer {"connection_id":152978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb811870012d196700071feeb8003a005621..."} 
[2026-08-10 17:20:23] local.INFO: Packet analysis {"connection_id":152978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb81"} 
[2026-08-10 17:20:23] local.INFO: Extracted packet for processing {"connection_id":152978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb81"} 
[2026-08-10 17:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308803328001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786362534000,"timestamp_ms":1786362534000,"timestamp_seconds":1786362534,"priority":1,"record_length":96,"hex_timestamp":"0000019feb811870"} 
[2026-08-10 17:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308803328001,"66":12385,"131":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-10 17:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308803328001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:20:23] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 17:20:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308803328001,"power":12385,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":152978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:20:23] local.INFO: GPS data processed {"connection_id":152978,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:20:23] local.INFO: Acknowledgment sent {"connection_id":152978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:20:35] local.INFO: TCP Data received {"connection_id":151663,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:20:35] local.INFO: Processing buffer {"connection_id":151663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb7dc4e0012d342a4006abc280000f010220..."} 
[2026-08-10 17:20:35] local.INFO: Packet analysis {"connection_id":151663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:20:35] local.INFO: Extracted packet for processing {"connection_id":151663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb7d"} 
[2026-08-10 17:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308675840001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786362316000,"timestamp_ms":1786362316000,"timestamp_seconds":1786362316,"priority":1,"record_length":96,"hex_timestamp":"0000019feb7dc4e0"} 
[2026-08-10 17:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:20: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-08-10 17:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308675840001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308675840001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:20:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308675840001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":151663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:20:35] local.INFO: GPS data processed {"connection_id":151663,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:20:35] local.INFO: Acknowledgment sent {"connection_id":151663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:20:46] local.INFO: TCP Data received {"connection_id":151665,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:20:46] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:20:46] local.INFO: IMEI packet received {"connection_id":151665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":151665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:20:49] local.INFO: TCP Data received {"connection_id":151664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb824538012d7af34005e38e40000400a328..."} 
[2026-08-10 17:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb824538012d7af34005e38e40000400a328..."} 
[2026-08-10 17:20:49] local.INFO: Processing buffer {"connection_id":151664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb824538012d7af34005e38e40000400a328..."} 
[2026-08-10 17:20:49] local.INFO: Packet analysis {"connection_id":151664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:20:49] local.INFO: Extracted packet for processing {"connection_id":151664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:20:49] local.INFO: GPS Element Parsed {"raw_longitude":763032384,"raw_latitude":98799168,"longitude_deg":76.3032384,"latitude_deg":9.8799168,"altitude":4,"angle":163,"satellites":40,"speed":6,"hex_longitude":"2d7af340","hex_latitude":"05e38e40","is_valid_coordinates":true} 
[2026-08-10 17:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308825856001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117299014302433280,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858510123586576384,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786362611000,"timestamp_ms":1786362611000,"timestamp_seconds":1786362611,"priority":1,"record_length":96,"hex_timestamp":"0000019feb824538"} 
[2026-08-10 17:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620282,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3951079160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":14337,"corrected_to":0} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6865064730810122240,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2698510338,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147869604,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470105697,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2089896341575618133,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3129933824,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3820093440,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-1963562961914560512,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,97,85,24,241,157,16,186,159,243,45,192,153,3,42,10,66,200,64,165,1,240,56,227,235,4,113,205,72,239,52,2,160,5,9,122,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":200,"original":14337,"validated":0},{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-10 17:20:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216340083975323648,"timestamp_seconds":216340083975323.66,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308825856001,"66":13559,"97":206,"85":15104,"24":6,"16":117299014302433280,"45":8858510123586576384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 17:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308825856001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 17:20:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117299014302433280,"km_value":117299014302433.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858510123586576384,"description":"Unknown IO ID 45"} 
[2026-08-10 17:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308825856001,"power":13559,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8858510123586576384}} 
[2026-08-10 17:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":151664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:20:49] local.INFO: GPS data processed {"connection_id":151664,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:20:49] local.INFO: Acknowledgment sent {"connection_id":151664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:20:51] local.INFO: TCP Data received {"connection_id":151665,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:20:51] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:20:51] local.INFO: IMEI packet received {"connection_id":151665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":151665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:20:53] local.INFO: TCP Data received {"connection_id":151665,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb816a78012d196700071feeb8003a005623..."} 
[2026-08-10 17:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb816a78012d196700071feeb8003a005623..."} 
[2026-08-10 17:20:53] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb816a78012d196700071feeb8003a005623..."} 
[2026-08-10 17:20:53] local.INFO: Packet analysis {"connection_id":151665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb81"} 
[2026-08-10 17:20:53] local.INFO: Extracted packet for processing {"connection_id":151665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb81"} 
[2026-08-10 17:20:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308808704001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786362555000,"timestamp_ms":1786362555000,"timestamp_seconds":1786362555,"priority":1,"record_length":96,"hex_timestamp":"0000019feb816a78"} 
[2026-08-10 17:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308808704001,"66":12385,"131":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-10 17:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308808704001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:20:53] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 17:20:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308808704001,"power":12385,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":151665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:20:53] local.INFO: GPS data processed {"connection_id":151665,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:20:53] local.INFO: Acknowledgment sent {"connection_id":151665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:20:58] local.INFO: TCP Data received {"connection_id":152979,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:20:58] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:20:58] local.INFO: IMEI packet received {"connection_id":152979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":152979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:21:03] local.INFO: TCP Data received {"connection_id":152979,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:21:03] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:21:03] local.INFO: IMEI packet received {"connection_id":152979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":152979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:21:04] local.INFO: TCP Data received {"connection_id":152979,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:21:04] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:21:04] local.INFO: Packet analysis {"connection_id":152979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:21:04] local.INFO: Extracted packet for processing {"connection_id":152979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308752896001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362617000,"timestamp_ms":1786362617000,"timestamp_seconds":1786362617,"priority":1,"record_length":96,"hex_timestamp":"0000019feb825ca8"} 
[2026-08-10 17:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:21: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-08-10 17:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308752896001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308752896001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:21:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308752896001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":152979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:21:04] local.INFO: GPS data processed {"connection_id":152979,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:21:04] local.INFO: Acknowledgment sent {"connection_id":152979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:21:07] local.INFO: TCP Data received {"connection_id":152980,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:21:07] local.INFO: Processing buffer {"connection_id":152980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:21:07] local.INFO: IMEI packet received {"connection_id":152980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":152980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:21:09] local.INFO: TCP Data received {"connection_id":152980,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:21:09] local.INFO: Processing buffer {"connection_id":152980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:21:09] local.INFO: IMEI packet received {"connection_id":152980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":152980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:21:10] local.INFO: TCP Data received {"connection_id":152980,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb827030012d7af54005e38848000500af28..."} 
[2026-08-10 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb827030012d7af54005e38848000500af28..."} 
[2026-08-10 17:21:10] local.INFO: Processing buffer {"connection_id":152980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb827030012d7af54005e38848000500af28..."} 
[2026-08-10 17:21:10] local.INFO: Packet analysis {"connection_id":152980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:21:10] local.INFO: Extracted packet for processing {"connection_id":152980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763032896,"raw_latitude":98797640,"longitude_deg":76.3032896,"latitude_deg":9.879764,"altitude":5,"angle":175,"satellites":40,"speed":2,"hex_longitude":"2d7af540","hex_latitude":"05e38848","is_valid_coordinates":true} 
[2026-08-10 17:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308828416001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117299095906811904,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859495286004662272,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786362622000,"timestamp_ms":1786362622000,"timestamp_seconds":1786362622,"priority":1,"record_length":96,"hex_timestamp":"0000019feb827030"} 
[2026-08-10 17:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 17:21: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-08-10 17:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:21: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-08-10 17:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308828416001,"66":13515,"97":206,"85":15104,"24":2,"16":117299095906811904,"45":8859495286004662272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 17:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308828416001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 17:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117299095906811904,"km_value":117299095906811.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859495286004662272,"description":"Unknown IO ID 45"} 
[2026-08-10 17:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308828416001,"power":13515,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8859495286004662272}} 
[2026-08-10 17:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":152980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:21:10] local.INFO: GPS data processed {"connection_id":152980,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:21:10] local.INFO: Acknowledgment sent {"connection_id":152980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:21:30] local.INFO: TCP Data received {"connection_id":151665,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb81bc80012d196700071feeb8003a005622..."} 
[2026-08-10 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb81bc80012d196700071feeb8003a005622..."} 
[2026-08-10 17:21:30] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb81bc80012d196700071feeb8003a005622..."} 
[2026-08-10 17:21:30] local.INFO: Packet analysis {"connection_id":151665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb81"} 
[2026-08-10 17:21:30] local.INFO: Extracted packet for processing {"connection_id":151665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb81"} 
[2026-08-10 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308814080001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786362576000,"timestamp_ms":1786362576000,"timestamp_seconds":1786362576,"priority":1,"record_length":96,"hex_timestamp":"0000019feb81bc80"} 
[2026-08-10 17:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308814080001,"66":12406,"131":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-10 17:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308814080001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:21:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 17:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308814080001,"power":12406,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":151665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:21:31] local.INFO: GPS data processed {"connection_id":151665,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:21:31] local.INFO: Acknowledgment sent {"connection_id":151665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:21:35] local.INFO: TCP Data received {"connection_id":152979,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:21:35] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:21:35] local.INFO: Packet analysis {"connection_id":152979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:21:35] local.INFO: Extracted packet for processing {"connection_id":152979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308752896001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786362617000,"timestamp_ms":1786362617000,"timestamp_seconds":1786362617,"priority":1,"record_length":96,"hex_timestamp":"0000019feb825ca8"} 
[2026-08-10 17:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:21: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-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308752896001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308752896001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:21:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308752896001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":152979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:21:35] local.INFO: GPS data processed {"connection_id":152979,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:21:35] local.INFO: Acknowledgment sent {"connection_id":152979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:21:41] local.INFO: TCP Data received {"connection_id":152980,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8287a0012d7af64005e38660000500a028..."} 
[2026-08-10 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8287a0012d7af64005e38660000500a028..."} 
[2026-08-10 17:21:41] local.INFO: Processing buffer {"connection_id":152980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8287a0012d7af64005e38660000500a028..."} 
[2026-08-10 17:21:41] local.INFO: Packet analysis {"connection_id":152980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:21:41] local.INFO: Extracted packet for processing {"connection_id":152980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763033152,"raw_latitude":98797152,"longitude_deg":76.3033152,"latitude_deg":9.8797152,"altitude":5,"angle":160,"satellites":40,"speed":3,"hex_longitude":"2d7af640","hex_latitude":"05e38660","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308831232001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117299125971582976,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860058235957692416,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786362628000,"timestamp_ms":1786362628000,"timestamp_seconds":1786362628,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8287a0"} 
[2026-08-10 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-08-10 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 17:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 17:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:21: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-08-10 17:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308831232001,"66":13341,"97":206,"85":15104,"24":3,"16":117299125971582976,"45":8860058235957692416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 17:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308831232001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:21:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 17:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117299125971582976,"km_value":117299125971582.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860058235957692416,"description":"Unknown IO ID 45"} 
[2026-08-10 17:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308831232001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8860058235957692416}} 
[2026-08-10 17:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":152980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:21:41] local.INFO: GPS data processed {"connection_id":152980,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:21:41] local.INFO: Acknowledgment sent {"connection_id":152980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:21:41] local.INFO: TCP Data received {"connection_id":151666,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:21:41] local.INFO: Processing buffer {"connection_id":151666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:21:41] local.INFO: IMEI packet received {"connection_id":151666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":151666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:21:46] local.INFO: TCP Data received {"connection_id":151666,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:21:46] local.INFO: Processing buffer {"connection_id":151666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:21:46] local.INFO: IMEI packet received {"connection_id":151666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":151666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:21:47] local.INFO: TCP Data received {"connection_id":151666,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb820e88012d196700071feeb8003a00561d..."} 
[2026-08-10 17:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb820e88012d196700071feeb8003a00561d..."} 
[2026-08-10 17:21:47] local.INFO: Processing buffer {"connection_id":151666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb820e88012d196700071feeb8003a00561d..."} 
[2026-08-10 17:21:47] local.INFO: Packet analysis {"connection_id":151666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:21:47] local.INFO: Extracted packet for processing {"connection_id":151666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":29,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308819456001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786362597000,"timestamp_ms":1786362597000,"timestamp_seconds":1786362597,"priority":1,"record_length":96,"hex_timestamp":"0000019feb820e88"} 
[2026-08-10 17:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308819456001,"66":12374,"131":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-10 17:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308819456001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:21:47] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 17:21:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308819456001,"power":12374,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":151666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:21:47] local.INFO: GPS data processed {"connection_id":151666,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:21:47] local.INFO: Acknowledgment sent {"connection_id":151666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:22:03] local.INFO: TCP Data received {"connection_id":152046,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:22:03] local.INFO: Processing buffer {"connection_id":152046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:22:03] local.INFO: IMEI packet received {"connection_id":152046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":152046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:22:07] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:22:07] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:22:07] local.INFO: IMEI packet received {"connection_id":152047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":152047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:22:10] local.INFO: TCP Data received {"connection_id":152046,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:22:10] local.INFO: Processing buffer {"connection_id":152046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:22:10] local.INFO: IMEI packet received {"connection_id":152046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":152046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:22:10] local.INFO: TCP Data received {"connection_id":152046,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:22:10] local.INFO: Processing buffer {"connection_id":152046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:22:10] local.INFO: Packet analysis {"connection_id":152046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:22:10] local.INFO: Extracted packet for processing {"connection_id":152046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308752896001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786362617000,"timestamp_ms":1786362617000,"timestamp_seconds":1786362617,"priority":1,"record_length":96,"hex_timestamp":"0000019feb825ca8"} 
[2026-08-10 17:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:22: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-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308752896001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308752896001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:22:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308752896001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":152046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:22:10] local.INFO: GPS data processed {"connection_id":152046,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:22:10] local.INFO: Acknowledgment sent {"connection_id":152046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:22:12] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:22:12] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:22:12] local.INFO: IMEI packet received {"connection_id":152047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":152047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:22:13] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb82d5c0012d7aff8005e366d0000500a229..."} 
[2026-08-10 17:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb82d5c0012d7aff8005e366d0000500a229..."} 
[2026-08-10 17:22:13] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb82d5c0012d7aff8005e366d0000500a229..."} 
[2026-08-10 17:22:13] local.INFO: Packet analysis {"connection_id":152047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:22:13] local.INFO: Extracted packet for processing {"connection_id":152047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763035520,"raw_latitude":98789072,"longitude_deg":76.303552,"latitude_deg":9.8789072,"altitude":5,"angle":162,"satellites":41,"speed":23,"hex_longitude":"2d7aff80","hex_latitude":"05e366d0","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308832768001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117299533993476096,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860339710934278144,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786362648000,"timestamp_ms":1786362648000,"timestamp_seconds":1786362648,"priority":1,"record_length":96,"hex_timestamp":"0000019feb82d5c0"} 
[2026-08-10 17:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 17:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:22: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-08-10 17:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308832768001,"66":13613,"97":206,"85":15104,"24":23,"16":117299533993476096,"45":8860339710934278144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 17:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308832768001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:22:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 17:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117299533993476096,"km_value":117299533993476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860339710934278144,"description":"Unknown IO ID 45"} 
[2026-08-10 17:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308832768001,"power":13613,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8860339710934278144}} 
[2026-08-10 17:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":152047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:22:13] local.INFO: GPS data processed {"connection_id":152047,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:22:13] local.INFO: Acknowledgment sent {"connection_id":152047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:22:14] local.INFO: TCP Data received {"connection_id":152046,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:22:14] local.INFO: Processing buffer {"connection_id":152046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:22:14] local.INFO: Packet analysis {"connection_id":152046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:22:14] local.INFO: Extracted packet for processing {"connection_id":152046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308752896001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786362617000,"timestamp_ms":1786362617000,"timestamp_seconds":1786362617,"priority":1,"record_length":96,"hex_timestamp":"0000019feb825ca8"} 
[2026-08-10 17:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308752896001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308752896001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:22:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308752896001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":152046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:22:14] local.INFO: GPS data processed {"connection_id":152046,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:22:14] local.INFO: Acknowledgment sent {"connection_id":152046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:22:19] local.INFO: TCP Data received {"connection_id":151666,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb826090012d196700071feeb8003a005623..."} 
[2026-08-10 17:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb826090012d196700071feeb8003a005623..."} 
[2026-08-10 17:22:19] local.INFO: Processing buffer {"connection_id":151666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb826090012d196700071feeb8003a005623..."} 
[2026-08-10 17:22:19] local.INFO: Packet analysis {"connection_id":151666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:22:19] local.INFO: Extracted packet for processing {"connection_id":151666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308824832001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786362618000,"timestamp_ms":1786362618000,"timestamp_seconds":1786362618,"priority":1,"record_length":96,"hex_timestamp":"0000019feb826090"} 
[2026-08-10 17:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 17:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308824832001,"66":12341,"131":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-10 17:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308824832001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:22:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 17:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308824832001,"power":12341,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":151666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:22:19] local.INFO: GPS data processed {"connection_id":151666,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:22:19] local.INFO: Acknowledgment sent {"connection_id":151666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:22:42] local.INFO: TCP Data received {"connection_id":151667,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:22:42] local.INFO: Processing buffer {"connection_id":151667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:22:42] local.INFO: IMEI packet received {"connection_id":151667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":151667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:22:44] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb831ff8012d7b0b0005e34580000900a921..."} 
[2026-08-10 17:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb831ff8012d7b0b0005e34580000900a921..."} 
[2026-08-10 17:22:44] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb831ff8012d7b0b0005e34580000900a921..."} 
[2026-08-10 17:22:44] local.INFO: Packet analysis {"connection_id":152047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:22:44] local.INFO: Extracted packet for processing {"connection_id":152047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763038464,"raw_latitude":98780544,"longitude_deg":76.3038464,"latitude_deg":9.8780544,"altitude":9,"angle":169,"satellites":33,"speed":16,"hex_longitude":"2d7b0b00","hex_latitude":"05e34580","is_valid_coordinates":true} 
[2026-08-10 17:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308837888001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117299976375107584,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862943354466783232,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786362667000,"timestamp_ms":1786362667000,"timestamp_seconds":1786362667,"priority":1,"record_length":96,"hex_timestamp":"0000019feb831ff8"} 
[2026-08-10 17:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-10 17:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:22: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-08-10 17:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308837888001,"66":13559,"97":206,"85":15104,"24":16,"16":117299976375107584,"45":8862943354466783232},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 17:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308837888001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 17:22:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117299976375107584,"km_value":117299976375107.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862943354466783232,"description":"Unknown IO ID 45"} 
[2026-08-10 17:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308837888001,"power":13559,"unknown_97":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8862943354466783232}} 
[2026-08-10 17:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":152047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:22:44] local.INFO: GPS data processed {"connection_id":152047,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:22:44] local.INFO: Acknowledgment sent {"connection_id":152047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:22:47] local.INFO: TCP Data received {"connection_id":151667,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:22:47] local.INFO: Processing buffer {"connection_id":151667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:22:47] local.INFO: IMEI packet received {"connection_id":151667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":151667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:22:48] local.INFO: TCP Data received {"connection_id":151667,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb82b298012d196700071feeb8003a005620..."} 
[2026-08-10 17:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb82b298012d196700071feeb8003a005620..."} 
[2026-08-10 17:22:48] local.INFO: Processing buffer {"connection_id":151667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb82b298012d196700071feeb8003a005620..."} 
[2026-08-10 17:22:48] local.INFO: Packet analysis {"connection_id":151667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:22:48] local.INFO: Extracted packet for processing {"connection_id":151667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:22:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":32,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308830208001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786362639000,"timestamp_ms":1786362639000,"timestamp_seconds":1786362639,"priority":1,"record_length":96,"hex_timestamp":"0000019feb82b298"} 
[2026-08-10 17:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 17:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308830208001,"66":12113,"131":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-10 17:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308830208001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:22:48] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 17:22:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308830208001,"power":12113,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":151667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:22:48] local.INFO: GPS data processed {"connection_id":151667,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:22:48] local.INFO: Acknowledgment sent {"connection_id":151667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:22:58] local.INFO: TCP Data received {"connection_id":152048,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:22:58] local.INFO: Processing buffer {"connection_id":152048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:22:58] local.INFO: IMEI packet received {"connection_id":152048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":152048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:23:03] local.INFO: TCP Data received {"connection_id":152048,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:23:03] local.INFO: Processing buffer {"connection_id":152048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:23:03] local.INFO: IMEI packet received {"connection_id":152048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":152048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:23:04] local.INFO: TCP Data received {"connection_id":152048,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:23:04] local.INFO: Processing buffer {"connection_id":152048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:23:04] local.INFO: Packet analysis {"connection_id":152048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:23:04] local.INFO: Extracted packet for processing {"connection_id":152048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308752896001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362617000,"timestamp_ms":1786362617000,"timestamp_seconds":1786362617,"priority":1,"record_length":96,"hex_timestamp":"0000019feb825ca8"} 
[2026-08-10 17:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:23: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-08-10 17:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308752896001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308752896001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:23:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308752896001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":152048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:23:04] local.INFO: GPS data processed {"connection_id":152048,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:23:04] local.INFO: Acknowledgment sent {"connection_id":152048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:23:07] local.INFO: TCP Data received {"connection_id":152049,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:23:07] local.INFO: Processing buffer {"connection_id":152049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:23:07] local.INFO: IMEI packet received {"connection_id":152049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":152049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:23:12] local.INFO: TCP Data received {"connection_id":152049,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:23:12] local.INFO: Processing buffer {"connection_id":152049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:23:12] local.INFO: IMEI packet received {"connection_id":152049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":152049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:23:13] local.INFO: TCP Data received {"connection_id":152049,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb833b50012d7b0bc005e33bb8000a00b61f..."} 
[2026-08-10 17:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb833b50012d7b0bc005e33bb8000a00b61f..."} 
[2026-08-10 17:23:13] local.INFO: Processing buffer {"connection_id":152049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb833b50012d7b0bc005e33bb8000a00b61f..."} 
[2026-08-10 17:23:13] local.INFO: Packet analysis {"connection_id":152049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:23:13] local.INFO: Extracted packet for processing {"connection_id":152049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98778040,"longitude_deg":76.3038656,"latitude_deg":9.877804,"altitude":10,"angle":182,"satellites":31,"speed":11,"hex_longitude":"2d7b0bc0","hex_latitude":"05e33bb8","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308842752001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117300096634191872,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866180316696772608,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786362674000,"timestamp_ms":1786362674000,"timestamp_seconds":1786362674,"priority":1,"record_length":96,"hex_timestamp":"0000019feb833b50"} 
[2026-08-10 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-08-10 17:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":247,"data_length":795,"current_offset":136} 
[2026-08-10 17:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 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-08-10 17:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:23: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-08-10 17:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308842752001,"66":13472,"97":206,"85":15104,"24":11,"16":117300096634191872,"45":8866180316696772608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 17:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308842752001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:23:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 17:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117300096634191872,"km_value":117300096634191.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866180316696772608,"description":"Unknown IO ID 45"} 
[2026-08-10 17:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308842752001,"power":13472,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8866180316696772608}} 
[2026-08-10 17:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":152049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:23:13] local.INFO: GPS data processed {"connection_id":152049,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:23:13] local.INFO: Acknowledgment sent {"connection_id":152049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:23:20] local.INFO: TCP Data received {"connection_id":151667,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8304a0012d196700071feeb8003a005624..."} 
[2026-08-10 17:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8304a0012d196700071feeb8003a005624..."} 
[2026-08-10 17:23:20] local.INFO: Processing buffer {"connection_id":151667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8304a0012d196700071feeb8003a005624..."} 
[2026-08-10 17:23:20] local.INFO: Packet analysis {"connection_id":151667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:23:20] local.INFO: Extracted packet for processing {"connection_id":151667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:23:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308835584001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786362660000,"timestamp_ms":1786362660000,"timestamp_seconds":1786362660,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8304a0"} 
[2026-08-10 17:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-10 17:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308835584001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308835584001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:23:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:23:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308835584001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":151667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:23:20] local.INFO: GPS data processed {"connection_id":151667,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:23:20] local.INFO: Acknowledgment sent {"connection_id":151667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:23:35] local.INFO: TCP Data received {"connection_id":152048,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:23:35] local.INFO: Processing buffer {"connection_id":152048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:23:35] local.INFO: Packet analysis {"connection_id":152048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:23:35] local.INFO: Extracted packet for processing {"connection_id":152048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308752896001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786362617000,"timestamp_ms":1786362617000,"timestamp_seconds":1786362617,"priority":1,"record_length":96,"hex_timestamp":"0000019feb825ca8"} 
[2026-08-10 17:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:23: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-08-10 17:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308752896001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308752896001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:23:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308752896001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":152048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:23:35] local.INFO: GPS data processed {"connection_id":152048,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:23:35] local.INFO: Acknowledgment sent {"connection_id":152048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:23:44] local.INFO: TCP Data received {"connection_id":151668,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:23:44] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:23:44] local.INFO: IMEI packet received {"connection_id":151668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":151668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:23:45] local.INFO: TCP Data received {"connection_id":152049,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb838970012d7b0d4005e32df0000a00b027..."} 
[2026-08-10 17:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb838970012d7b0d4005e32df0000a00b027..."} 
[2026-08-10 17:23:45] local.INFO: Processing buffer {"connection_id":152049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb838970012d7b0d4005e32df0000a00b027..."} 
[2026-08-10 17:23:45] local.INFO: Packet analysis {"connection_id":152049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:23:45] local.INFO: Extracted packet for processing {"connection_id":152049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:23:45] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98774512,"longitude_deg":76.303904,"latitude_deg":9.8774512,"altitude":10,"angle":176,"satellites":39,"speed":3,"hex_longitude":"2d7b0d40","hex_latitude":"05e32df0","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308844544001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117300272727851008,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422928664576,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786362694000,"timestamp_ms":1786362694000,"timestamp_seconds":1786362694,"priority":1,"record_length":96,"hex_timestamp":"0000019feb838970"} 
[2026-08-10 17:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 17:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308844544001,"66":13254,"97":206,"85":15104,"24":3,"16":117300272727851008,"45":8866391422928664576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 17:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308844544001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:23:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 17:23:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117300272727851008,"km_value":117300272727851.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422928664576,"description":"Unknown IO ID 45"} 
[2026-08-10 17:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308844544001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866391422928664576}} 
[2026-08-10 17:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":152049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:23:45] local.INFO: GPS data processed {"connection_id":152049,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:23:45] local.INFO: Acknowledgment sent {"connection_id":152049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:23:47] local.INFO: TCP Data received {"connection_id":151668,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:23:47] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:23:47] local.INFO: IMEI packet received {"connection_id":151668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":151668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:23:52] local.INFO: TCP Data received {"connection_id":151668,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:23:52] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:23:52] local.INFO: IMEI packet received {"connection_id":151668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":151668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:23:53] local.INFO: TCP Data received {"connection_id":151668,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8356a8012d196700071feeb8003a005622..."} 
[2026-08-10 17:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8356a8012d196700071feeb8003a005622..."} 
[2026-08-10 17:23:53] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8356a8012d196700071feeb8003a005622..."} 
[2026-08-10 17:23:53] local.INFO: Packet analysis {"connection_id":151668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:23:53] local.INFO: Extracted packet for processing {"connection_id":151668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308840960001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786362681000,"timestamp_ms":1786362681000,"timestamp_seconds":1786362681,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8356a8"} 
[2026-08-10 17:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308840960001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308840960001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:23:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:23:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308840960001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":151668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:23:54] local.INFO: GPS data processed {"connection_id":151668,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:23:54] local.INFO: Acknowledgment sent {"connection_id":151668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:23:58] local.INFO: TCP Data received {"connection_id":151668,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb83a8b0012d196700071feeb8003a005622..."} 
[2026-08-10 17:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb83a8b0012d196700071feeb8003a005622..."} 
[2026-08-10 17:23:58] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb83a8b0012d196700071feeb8003a005622..."} 
[2026-08-10 17:23:58] local.INFO: Packet analysis {"connection_id":151668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:23:58] local.INFO: Extracted packet for processing {"connection_id":151668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":34,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308846336001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786362702000,"timestamp_ms":1786362702000,"timestamp_seconds":1786362702,"priority":1,"record_length":96,"hex_timestamp":"0000019feb83a8b0"} 
[2026-08-10 17:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308846336001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308846336001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:23:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:23:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308846336001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":151668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:23:58] local.INFO: GPS data processed {"connection_id":151668,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:23:58] local.INFO: Acknowledgment sent {"connection_id":151668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:23:58] local.INFO: TCP Data received {"connection_id":151669,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:23:58] local.INFO: Processing buffer {"connection_id":151669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:23:58] local.INFO: IMEI packet received {"connection_id":151669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":151669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:24:03] local.INFO: TCP Data received {"connection_id":151669,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:24:03] local.INFO: Processing buffer {"connection_id":151669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:24:03] local.INFO: IMEI packet received {"connection_id":151669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":151669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:24:04] local.INFO: TCP Data received {"connection_id":151669,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:24:04] local.INFO: Processing buffer {"connection_id":151669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:24:04] local.INFO: Packet analysis {"connection_id":151669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:24:04] local.INFO: Extracted packet for processing {"connection_id":151669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308752896001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362617000,"timestamp_ms":1786362617000,"timestamp_seconds":1786362617,"priority":1,"record_length":96,"hex_timestamp":"0000019feb825ca8"} 
[2026-08-10 17:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:24: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-08-10 17:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308752896001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308752896001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:24:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308752896001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":151669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:24:04] local.INFO: GPS data processed {"connection_id":151669,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:24:04] local.INFO: Acknowledgment sent {"connection_id":151669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:24:07] local.INFO: TCP Data received {"connection_id":154428,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:24:07] local.INFO: Processing buffer {"connection_id":154428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:24:07] local.INFO: IMEI packet received {"connection_id":154428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":154428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:24:08] local.INFO: TCP Data received {"connection_id":154428,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:24:08] local.INFO: Processing buffer {"connection_id":154428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:24:08] local.INFO: IMEI packet received {"connection_id":154428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":154428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:24:11] local.INFO: TCP Data received {"connection_id":154428,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:24:11] local.INFO: Processing buffer {"connection_id":154428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:24:11] local.INFO: IMEI packet received {"connection_id":154428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":154428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:24:12] local.INFO: TCP Data received {"connection_id":154428,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb83db78012d7b0f8005e31f90000900a822..."} 
[2026-08-10 17:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb83db78012d7b0f8005e31f90000900a822..."} 
[2026-08-10 17:24:12] local.INFO: Processing buffer {"connection_id":154428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb83db78012d7b0f8005e31f90000900a822..."} 
[2026-08-10 17:24:12] local.INFO: Packet analysis {"connection_id":154428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:24:12] local.INFO: Extracted packet for processing {"connection_id":154428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98770832,"longitude_deg":76.3039616,"latitude_deg":9.8770832,"altitude":9,"angle":168,"satellites":34,"speed":4,"hex_longitude":"2d7b0f80","hex_latitude":"05e31f90","is_valid_coordinates":true} 
[2026-08-10 17:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308849664001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117300457411444736,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866813635392827392,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786362715000,"timestamp_ms":1786362715000,"timestamp_seconds":1786362715,"priority":1,"record_length":96,"hex_timestamp":"0000019feb83db78"} 
[2026-08-10 17:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 17:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:24: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-08-10 17:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308849664001,"66":13580,"97":206,"85":15104,"24":4,"16":117300457411444736,"45":8866813635392827392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-10 17:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308849664001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:24:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-10 17:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117300457411444736,"km_value":117300457411444.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866813635392827392,"description":"Unknown IO ID 45"} 
[2026-08-10 17:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308849664001,"power":13580,"unknown_97":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8866813635392827392}} 
[2026-08-10 17:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":154428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:24:12] local.INFO: GPS data processed {"connection_id":154428,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:24:12] local.INFO: Acknowledgment sent {"connection_id":154428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:24:35] local.INFO: TCP Data received {"connection_id":151669,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:24:35] local.INFO: Processing buffer {"connection_id":151669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:24:35] local.INFO: Packet analysis {"connection_id":151669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:24:35] local.INFO: Extracted packet for processing {"connection_id":151669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308752896001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786362617000,"timestamp_ms":1786362617000,"timestamp_seconds":1786362617,"priority":1,"record_length":96,"hex_timestamp":"0000019feb825ca8"} 
[2026-08-10 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-08-10 17:24: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-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 17:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308752896001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308752896001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:24:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308752896001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":151669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:24:35] local.INFO: GPS data processed {"connection_id":151669,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:24:35] local.INFO: Acknowledgment sent {"connection_id":151669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:24:42] local.INFO: TCP Data received {"connection_id":154429,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:24:42] local.INFO: Processing buffer {"connection_id":154429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:24:42] local.INFO: IMEI packet received {"connection_id":154429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":154429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:24:44] local.INFO: TCP Data received {"connection_id":154428,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb85f2a0012d7b308005e24e28000200aa25..."} 
[2026-08-10 17:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb85f2a0012d7b308005e24e28000200aa25..."} 
[2026-08-10 17:24:44] local.INFO: Processing buffer {"connection_id":154428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb85f2a0012d7b308005e24e28000200aa25..."} 
[2026-08-10 17:24:44] local.INFO: Packet analysis {"connection_id":154428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb85"} 
[2026-08-10 17:24:44] local.INFO: Extracted packet for processing {"connection_id":154428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb85"} 
[2026-08-10 17:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763048064,"raw_latitude":98717224,"longitude_deg":76.3048064,"latitude_deg":9.8717224,"altitude":2,"angle":170,"satellites":37,"speed":7,"hex_longitude":"2d7b3080","hex_latitude":"05e24e28","is_valid_coordinates":true} 
[2026-08-10 17:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308889856001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117303133176070144,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876735628307263488,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786362852000,"timestamp_ms":1786362852000,"timestamp_seconds":1786362852,"priority":1,"record_length":96,"hex_timestamp":"0000019feb85f2a0"} 
[2026-08-10 17:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 17:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:24: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-08-10 17:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308889856001,"66":13243,"96":206,"85":15104,"24":7,"16":117303133176070144,"45":8876735628307263488},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 17:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308889856001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:24:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 17:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117303133176070144,"km_value":117303133176070.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876735628307263488,"description":"Unknown IO ID 45"} 
[2026-08-10 17:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308889856001,"power":13243,"unknown_96":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8876735628307263488}} 
[2026-08-10 17:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":154428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:24:44] local.INFO: GPS data processed {"connection_id":154428,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:24:44] local.INFO: Acknowledgment sent {"connection_id":154428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:24:47] local.INFO: TCP Data received {"connection_id":154429,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:24:47] local.INFO: Processing buffer {"connection_id":154429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:24:47] local.INFO: IMEI packet received {"connection_id":154429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":154429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:24:48] local.INFO: TCP Data received {"connection_id":154429,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb83fab8012d196700071feeb8003a005621..."} 
[2026-08-10 17:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb83fab8012d196700071feeb8003a005621..."} 
[2026-08-10 17:24:48] local.INFO: Processing buffer {"connection_id":154429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb83fab8012d196700071feeb8003a005621..."} 
[2026-08-10 17:24:48] local.INFO: Packet analysis {"connection_id":154429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:24:48] local.INFO: Extracted packet for processing {"connection_id":154429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb83"} 
[2026-08-10 17:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308851712001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786362723000,"timestamp_ms":1786362723000,"timestamp_seconds":1786362723,"priority":1,"record_length":96,"hex_timestamp":"0000019feb83fab8"} 
[2026-08-10 17:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308851712001,"66":12374,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308851712001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:24:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:24:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308851712001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":154429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:24:49] local.INFO: GPS data processed {"connection_id":154429,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:24:49] local.INFO: Acknowledgment sent {"connection_id":154429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:25:00] local.INFO: TCP Data received {"connection_id":152981,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:25:00] local.INFO: Processing buffer {"connection_id":152981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:25:00] local.INFO: IMEI packet received {"connection_id":152981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":152981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:25:03] local.INFO: TCP Data received {"connection_id":152981,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:25:03] local.INFO: Processing buffer {"connection_id":152981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:25:03] local.INFO: IMEI packet received {"connection_id":152981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":152981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:25:04] local.INFO: TCP Data received {"connection_id":152981,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:25:04] local.INFO: Processing buffer {"connection_id":152981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:25:04] local.INFO: Packet analysis {"connection_id":152981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:25:04] local.INFO: Extracted packet for processing {"connection_id":152981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308752896001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362617000,"timestamp_ms":1786362617000,"timestamp_seconds":1786362617,"priority":1,"record_length":96,"hex_timestamp":"0000019feb825ca8"} 
[2026-08-10 17:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:25: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-08-10 17:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308752896001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308752896001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:25:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308752896001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":152981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:25:04] local.INFO: GPS data processed {"connection_id":152981,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:25:04] local.INFO: Acknowledgment sent {"connection_id":152981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:25:07] local.INFO: TCP Data received {"connection_id":152050,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:25:07] local.INFO: Processing buffer {"connection_id":152050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:25:07] local.INFO: IMEI packet received {"connection_id":152050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":152050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:25:12] local.INFO: TCP Data received {"connection_id":152050,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:25:12] local.INFO: Processing buffer {"connection_id":152050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:25:12] local.INFO: IMEI packet received {"connection_id":152050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":152050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:25:13] local.INFO: TCP Data received {"connection_id":152050,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb863508012d7b334005e24360000200b523..."} 
[2026-08-10 17:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb863508012d7b334005e24360000200b523..."} 
[2026-08-10 17:25:13] local.INFO: Processing buffer {"connection_id":152050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb863508012d7b334005e24360000200b523..."} 
[2026-08-10 17:25:13] local.INFO: Packet analysis {"connection_id":152050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:25:13] local.INFO: Extracted packet for processing {"connection_id":152050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763048768,"raw_latitude":98714464,"longitude_deg":76.3048768,"latitude_deg":9.8714464,"altitude":2,"angle":181,"satellites":35,"speed":5,"hex_longitude":"2d7b3340","hex_latitude":"05e24360","is_valid_coordinates":true} 
[2026-08-10 17:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308890112001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117303274909990912,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876735628307212288,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786362869000,"timestamp_ms":1786362869000,"timestamp_seconds":1786362869,"priority":1,"record_length":96,"hex_timestamp":"0000019feb863508"} 
[2026-08-10 17:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 17:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:25: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-08-10 17:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308890112001,"66":13580,"96":206,"85":15104,"24":5,"16":117303274909990912,"45":8876735628307212288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 17:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308890112001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:25:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 17:25:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117303274909990912,"km_value":117303274909990.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876735628307212288,"description":"Unknown IO ID 45"} 
[2026-08-10 17:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308890112001,"power":13580,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8876735628307212288}} 
[2026-08-10 17:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":152050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:25:13] local.INFO: GPS data processed {"connection_id":152050,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:25:13] local.INFO: Acknowledgment sent {"connection_id":152050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:25:20] local.INFO: TCP Data received {"connection_id":154429,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb844cc0012d196700071feeb8003a005621..."} 
[2026-08-10 17:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb844cc0012d196700071feeb8003a005621..."} 
[2026-08-10 17:25:20] local.INFO: Processing buffer {"connection_id":154429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb844cc0012d196700071feeb8003a005621..."} 
[2026-08-10 17:25:20] local.INFO: Packet analysis {"connection_id":154429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb84"} 
[2026-08-10 17:25:20] local.INFO: Extracted packet for processing {"connection_id":154429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb84"} 
[2026-08-10 17:25:20] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308857088001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786362744000,"timestamp_ms":1786362744000,"timestamp_seconds":1786362744,"priority":1,"record_length":96,"hex_timestamp":"0000019feb844cc0"} 
[2026-08-10 17:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 17:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308857088001,"66":12374,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308857088001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:25:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:25:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308857088001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":154429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:25:20] local.INFO: GPS data processed {"connection_id":154429,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:25:20] local.INFO: Acknowledgment sent {"connection_id":154429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:25:35] local.INFO: TCP Data received {"connection_id":152981,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:25:35] local.INFO: Processing buffer {"connection_id":152981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb825ca8012d342a4006abc280001a010224..."} 
[2026-08-10 17:25:35] local.INFO: Packet analysis {"connection_id":152981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:25:35] local.INFO: Extracted packet for processing {"connection_id":152981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb82"} 
[2026-08-10 17:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308752896001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786362617000,"timestamp_ms":1786362617000,"timestamp_seconds":1786362617,"priority":1,"record_length":96,"hex_timestamp":"0000019feb825ca8"} 
[2026-08-10 17:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:25: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-08-10 17:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308752896001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308752896001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:25:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308752896001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":152981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:25:35] local.INFO: GPS data processed {"connection_id":152981,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:25:35] local.INFO: Acknowledgment sent {"connection_id":152981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:25:42] local.INFO: TCP Data received {"connection_id":154430,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:25:42] local.INFO: Processing buffer {"connection_id":154430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:25:42] local.INFO: IMEI packet received {"connection_id":154430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":154430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:25:46] local.INFO: TCP Data received {"connection_id":154430,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:25:46] local.INFO: Processing buffer {"connection_id":154430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:25:46] local.INFO: IMEI packet received {"connection_id":154430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":154430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:25:47] local.INFO: TCP Data received {"connection_id":152050,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb865060012d7b334005e23ed8000200aa23..."} 
[2026-08-10 17:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb865060012d7b334005e23ed8000200aa23..."} 
[2026-08-10 17:25:47] local.INFO: Processing buffer {"connection_id":152050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb865060012d7b334005e23ed8000200aa23..."} 
[2026-08-10 17:25:47] local.INFO: Packet analysis {"connection_id":152050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:25:47] local.INFO: Extracted packet for processing {"connection_id":152050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763048768,"raw_latitude":98713304,"longitude_deg":76.3048768,"latitude_deg":9.8713304,"altitude":2,"angle":170,"satellites":35,"speed":5,"hex_longitude":"2d7b3340","hex_latitude":"05e23ed8","is_valid_coordinates":true} 
[2026-08-10 17:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308894464001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117303330744565760,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877509684492460032,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786362876000,"timestamp_ms":1786362876000,"timestamp_seconds":1786362876,"priority":1,"record_length":96,"hex_timestamp":"0000019feb865060"} 
[2026-08-10 17:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620286,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3951404160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3221611099,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6863938830903279616,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2245734401,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634647635076704,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2089896341558840917,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3194617856,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3797819392,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3296641397047689216,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,96,85,24,241,157,16,190,159,242,45,128,78,2,37,10,66,238,230,192,1,240,12,227,235,226,4,113,205,8,176,39,239,52,160,5,7,123,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-08-10 17:25:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144314350004666368,"timestamp_seconds":144314350004666.38,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308894464001,"66":13678,"96":206,"85":15104,"24":5,"16":117303330744565760,"45":8877509684492460032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 17:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308894464001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:25:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 17:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117303330744565760,"km_value":117303330744565.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877509684492460032,"description":"Unknown IO ID 45"} 
[2026-08-10 17:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308894464001,"power":13678,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8877509684492460032}} 
[2026-08-10 17:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":152050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:25:47] local.INFO: GPS data processed {"connection_id":152050,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:25:47] local.INFO: Acknowledgment sent {"connection_id":152050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:25:47] local.INFO: TCP Data received {"connection_id":154430,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb849ec8012d196700071feeb8003a005620..."} 
[2026-08-10 17:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb849ec8012d196700071feeb8003a005620..."} 
[2026-08-10 17:25:47] local.INFO: Processing buffer {"connection_id":154430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb849ec8012d196700071feeb8003a005620..."} 
[2026-08-10 17:25:47] local.INFO: Packet analysis {"connection_id":154430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb84"} 
[2026-08-10 17:25:47] local.INFO: Extracted packet for processing {"connection_id":154430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb84"} 
[2026-08-10 17:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":32,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308862464001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:25: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-08-10 17:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786362765000,"timestamp_ms":1786362765000,"timestamp_seconds":1786362765,"priority":1,"record_length":96,"hex_timestamp":"0000019feb849ec8"} 
[2026-08-10 17:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 17:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308862464001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308862464001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:25:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:25:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308862464001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":154430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:25:47] local.INFO: GPS data processed {"connection_id":154430,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:25:47] local.INFO: Acknowledgment sent {"connection_id":154430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:25:58] local.INFO: TCP Data received {"connection_id":151670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:25:58] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:25:58] local.INFO: IMEI packet received {"connection_id":151670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":151670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:26:03] local.INFO: TCP Data received {"connection_id":151670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:26:03] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:26:03] local.INFO: IMEI packet received {"connection_id":151670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":151670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:26:04] local.INFO: TCP Data received {"connection_id":151670,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:26:04] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:26:04] local.INFO: Packet analysis {"connection_id":151670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:26:04] local.INFO: Extracted packet for processing {"connection_id":151670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:26:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308829952001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362918000,"timestamp_ms":1786362918000,"timestamp_seconds":1786362918,"priority":1,"record_length":96,"hex_timestamp":"0000019feb86f470"} 
[2026-08-10 17:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:26: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-08-10 17:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308829952001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308829952001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:26:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:26:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308829952001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":151670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:26:05] local.INFO: GPS data processed {"connection_id":151670,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:26:05] local.INFO: Acknowledgment sent {"connection_id":151670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:26:07] local.INFO: TCP Data received {"connection_id":154431,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:26:07] local.INFO: Processing buffer {"connection_id":154431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:26:07] local.INFO: IMEI packet received {"connection_id":154431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":154431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:26:12] local.INFO: TCP Data received {"connection_id":154431,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:26:12] local.INFO: Processing buffer {"connection_id":154431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:26:12] local.INFO: IMEI packet received {"connection_id":154431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":154431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:26:13] local.INFO: TCP Data received {"connection_id":154431,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb869e80012d7b34c005e22a28000300ae25..."} 
[2026-08-10 17:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb869e80012d7b34c005e22a28000300ae25..."} 
[2026-08-10 17:26:13] local.INFO: Processing buffer {"connection_id":154431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb869e80012d7b34c005e22a28000300ae25..."} 
[2026-08-10 17:26:13] local.INFO: Packet analysis {"connection_id":154431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:26:13] local.INFO: Extracted packet for processing {"connection_id":154431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:26:13] local.INFO: GPS Element Parsed {"raw_longitude":763049152,"raw_latitude":98708008,"longitude_deg":76.3049152,"latitude_deg":9.8708008,"altitude":3,"angle":174,"satellites":37,"speed":13,"hex_longitude":"2d7b34c0","hex_latitude":"05e22a28","is_valid_coordinates":true} 
[2026-08-10 17:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308896256001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117303588442603520,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877509684492163072,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786362896000,"timestamp_ms":1786362896000,"timestamp_seconds":1786362896,"priority":1,"record_length":96,"hex_timestamp":"0000019feb869e80"} 
[2026-08-10 17:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:26: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":110,"data_length":795,"current_offset":136} 
[2026-08-10 17:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:26: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-08-10 17:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308896256001,"66":13243,"96":206,"85":15104,"24":13,"16":117303588442603520,"45":8877509684492163072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-10 17:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308896256001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:26:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 17:26:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117303588442603520,"km_value":117303588442603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877509684492163072,"description":"Unknown IO ID 45"} 
[2026-08-10 17:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308896256001,"power":13243,"unknown_96":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8877509684492163072}} 
[2026-08-10 17:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":154431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:26:13] local.INFO: GPS data processed {"connection_id":154431,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:26:13] local.INFO: Acknowledgment sent {"connection_id":154431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:26:19] local.INFO: TCP Data received {"connection_id":154430,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb84f0d0012d196700071feeb8003a005621..."} 
[2026-08-10 17:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb84f0d0012d196700071feeb8003a005621..."} 
[2026-08-10 17:26:19] local.INFO: Processing buffer {"connection_id":154430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb84f0d0012d196700071feeb8003a005621..."} 
[2026-08-10 17:26:19] local.INFO: Packet analysis {"connection_id":154430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb84"} 
[2026-08-10 17:26:19] local.INFO: Extracted packet for processing {"connection_id":154430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb84"} 
[2026-08-10 17:26:19] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308867840001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786362786000,"timestamp_ms":1786362786000,"timestamp_seconds":1786362786,"priority":1,"record_length":96,"hex_timestamp":"0000019feb84f0d0"} 
[2026-08-10 17:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308867840001,"66":12363,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308867840001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:26:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:26:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308867840001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":154430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:26:19] local.INFO: GPS data processed {"connection_id":154430,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:26:19] local.INFO: Acknowledgment sent {"connection_id":154430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:26:36] local.INFO: TCP Data received {"connection_id":151670,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:26:36] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:26:36] local.INFO: Packet analysis {"connection_id":151670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:26:36] local.INFO: Extracted packet for processing {"connection_id":151670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308829952001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786362918000,"timestamp_ms":1786362918000,"timestamp_seconds":1786362918,"priority":1,"record_length":96,"hex_timestamp":"0000019feb86f470"} 
[2026-08-10 17:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308829952001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308829952001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:26:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308829952001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":151670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:26:36] local.INFO: GPS data processed {"connection_id":151670,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:26:36] local.INFO: Acknowledgment sent {"connection_id":151670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:26:41] local.INFO: TCP Data received {"connection_id":154432,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:26:41] local.INFO: Processing buffer {"connection_id":154432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:26:41] local.INFO: IMEI packet received {"connection_id":154432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":154432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:26:44] local.INFO: TCP Data received {"connection_id":154431,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb87fa28012d7b7f4005e1b7c80008004528..."} 
[2026-08-10 17:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb87fa28012d7b7f4005e1b7c80008004528..."} 
[2026-08-10 17:26:44] local.INFO: Processing buffer {"connection_id":154431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb87fa28012d7b7f4005e1b7c80008004528..."} 
[2026-08-10 17:26:44] local.INFO: Packet analysis {"connection_id":154431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb87"} 
[2026-08-10 17:26:44] local.INFO: Extracted packet for processing {"connection_id":154431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb87"} 
[2026-08-10 17:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763068224,"raw_latitude":98678728,"longitude_deg":76.3068224,"latitude_deg":9.8678728,"altitude":8,"angle":69,"satellites":40,"speed":24,"hex_longitude":"2d7b7f40","hex_latitude":"05e1b7c8","is_valid_coordinates":true} 
[2026-08-10 17:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308922880001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117305886250106880,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896157401690259456,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786362985000,"timestamp_ms":1786362985000,"timestamp_seconds":1786362985,"priority":1,"record_length":96,"hex_timestamp":"0000019feb87fa28"} 
[2026-08-10 17:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-10 17:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:26: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-08-10 17:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308922880001,"66":13526,"216":206,"85":15104,"24":24,"16":117305886250106880,"45":8896157401690259456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-10 17:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308922880001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:26:44] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-10 17:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117305886250106880,"km_value":117305886250106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896157401690259456,"description":"Unknown IO ID 45"} 
[2026-08-10 17:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308922880001,"power":13526,"unknown_216":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8896157401690259456}} 
[2026-08-10 17:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":154431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:26:44] local.INFO: GPS data processed {"connection_id":154431,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:26:44] local.INFO: Acknowledgment sent {"connection_id":154431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:26:46] local.INFO: TCP Data received {"connection_id":154432,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:26:46] local.INFO: Processing buffer {"connection_id":154432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:26:46] local.INFO: IMEI packet received {"connection_id":154432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":154432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:26:48] local.INFO: TCP Data received {"connection_id":154432,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8542d8012d196700071feeb8003a005623..."} 
[2026-08-10 17:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8542d8012d196700071feeb8003a005623..."} 
[2026-08-10 17:26:48] local.INFO: Processing buffer {"connection_id":154432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8542d8012d196700071feeb8003a005623..."} 
[2026-08-10 17:26:48] local.INFO: Packet analysis {"connection_id":154432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb85"} 
[2026-08-10 17:26:48] local.INFO: Extracted packet for processing {"connection_id":154432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb85"} 
[2026-08-10 17:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308873216001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786362807000,"timestamp_ms":1786362807000,"timestamp_seconds":1786362807,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8542d8"} 
[2026-08-10 17:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308873216001,"66":12341,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308873216001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:26:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:26:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308873216001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":154432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:26:48] local.INFO: GPS data processed {"connection_id":154432,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:26:48] local.INFO: Acknowledgment sent {"connection_id":154432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:26:58] local.INFO: TCP Data received {"connection_id":152051,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:26:58] local.INFO: Processing buffer {"connection_id":152051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:26:58] local.INFO: IMEI packet received {"connection_id":152051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":152051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:27:03] local.INFO: TCP Data received {"connection_id":152051,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:27:03] local.INFO: Processing buffer {"connection_id":152051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:27:03] local.INFO: IMEI packet received {"connection_id":152051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":152051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:27:04] local.INFO: TCP Data received {"connection_id":152051,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:27:04] local.INFO: Processing buffer {"connection_id":152051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:27:04] local.INFO: Packet analysis {"connection_id":152051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:27:04] local.INFO: Extracted packet for processing {"connection_id":152051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308829952001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362918000,"timestamp_ms":1786362918000,"timestamp_seconds":1786362918,"priority":1,"record_length":96,"hex_timestamp":"0000019feb86f470"} 
[2026-08-10 17:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:27: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-08-10 17:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308829952001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308829952001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:27:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308829952001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":152051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:27:04] local.INFO: GPS data processed {"connection_id":152051,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:27:04] local.INFO: Acknowledgment sent {"connection_id":152051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:27:12] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:27:12] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:27:12] local.INFO: IMEI packet received {"connection_id":151671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":151671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:27:12] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:27:12] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:27:12] local.INFO: IMEI packet received {"connection_id":151671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":151671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:27:13] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:27:13] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:27:13] local.INFO: IMEI packet received {"connection_id":151671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":151671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:27:14] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb880db0012d7b8cc005e1bc08000800522a..."} 
[2026-08-10 17:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb880db0012d7b8cc005e1bc08000800522a..."} 
[2026-08-10 17:27:14] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb880db0012d7b8cc005e1bc08000800522a..."} 
[2026-08-10 17:27:14] local.INFO: Packet analysis {"connection_id":151671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb88"} 
[2026-08-10 17:27:14] local.INFO: Extracted packet for processing {"connection_id":151671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb88"} 
[2026-08-10 17:27:14] local.INFO: GPS Element Parsed {"raw_longitude":763071680,"raw_latitude":98679816,"longitude_deg":76.307168,"latitude_deg":9.8679816,"altitude":8,"angle":82,"satellites":42,"speed":30,"hex_longitude":"2d7b8cc0","hex_latitude":"05e1bc08","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308924160001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117306058048798720,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898901782713321472,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786362990000,"timestamp_ms":1786362990000,"timestamp_seconds":1786362990,"priority":1,"record_length":96,"hex_timestamp":"0000019feb880db0"} 
[2026-08-10 17:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 17:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308924160001,"66":13515,"216":206,"85":15104,"24":30,"16":117306058048798720,"45":8898901782713321472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-10 17:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308924160001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:27:14] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-10 17:27:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117306058048798720,"km_value":117306058048798.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898901782713321472,"description":"Unknown IO ID 45"} 
[2026-08-10 17:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308924160001,"power":13515,"unknown_216":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8898901782713321472}} 
[2026-08-10 17:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":151671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:27:14] local.INFO: GPS data processed {"connection_id":151671,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:27:14] local.INFO: Acknowledgment sent {"connection_id":151671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:27:19] local.INFO: TCP Data received {"connection_id":154432,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8594e0012d196700071feeb8003a005620..."} 
[2026-08-10 17:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8594e0012d196700071feeb8003a005620..."} 
[2026-08-10 17:27:19] local.INFO: Processing buffer {"connection_id":154432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8594e0012d196700071feeb8003a005620..."} 
[2026-08-10 17:27:19] local.INFO: Packet analysis {"connection_id":154432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb85"} 
[2026-08-10 17:27:19] local.INFO: Extracted packet for processing {"connection_id":154432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb85"} 
[2026-08-10 17:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":32,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308878592001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786362828000,"timestamp_ms":1786362828000,"timestamp_seconds":1786362828,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8594e0"} 
[2026-08-10 17:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 17:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308878592001,"66":12374,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308878592001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:27:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:27:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308878592001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":154432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:27:19] local.INFO: GPS data processed {"connection_id":154432,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:27:19] local.INFO: Acknowledgment sent {"connection_id":154432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:27:29] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8838a8012d7bad4005e1c0980009004629..."} 
[2026-08-10 17:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8838a8012d7bad4005e1c0980009004629..."} 
[2026-08-10 17:27:29] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8838a8012d7bad4005e1c0980009004629..."} 
[2026-08-10 17:27:29] local.INFO: Packet analysis {"connection_id":151671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb88"} 
[2026-08-10 17:27:29] local.INFO: Extracted packet for processing {"connection_id":151671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb88"} 
[2026-08-10 17:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763080000,"raw_latitude":98680984,"longitude_deg":76.308,"latitude_deg":9.8680984,"altitude":9,"angle":70,"satellites":41,"speed":24,"hex_longitude":"2d7bad40","hex_latitude":"05e1c098","is_valid_coordinates":true} 
[2026-08-10 17:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308925440001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117306461775724544,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902701694899193856,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786363001000,"timestamp_ms":1786363001000,"timestamp_seconds":1786363001,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8838a8"} 
[2026-08-10 17:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 17:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308925440001,"66":13559,"216":206,"85":15104,"24":24,"16":117306461775724544,"45":8902701694899193856},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-10 17:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308925440001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:27:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-10 17:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117306461775724544,"km_value":117306461775724.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902701694899193856,"description":"Unknown IO ID 45"} 
[2026-08-10 17:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308925440001,"power":13559,"unknown_216":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8902701694899193856}} 
[2026-08-10 17:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":151671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:27:30] local.INFO: GPS data processed {"connection_id":151671,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:27:30] local.INFO: Acknowledgment sent {"connection_id":151671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:27:36] local.INFO: TCP Data received {"connection_id":152051,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:27:36] local.INFO: Processing buffer {"connection_id":152051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:27:36] local.INFO: Packet analysis {"connection_id":152051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:27:36] local.INFO: Extracted packet for processing {"connection_id":152051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308829952001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786362918000,"timestamp_ms":1786362918000,"timestamp_seconds":1786362918,"priority":1,"record_length":96,"hex_timestamp":"0000019feb86f470"} 
[2026-08-10 17:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308829952001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308829952001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:27:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308829952001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":152051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:27:36] local.INFO: GPS data processed {"connection_id":152051,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:27:36] local.INFO: Acknowledgment sent {"connection_id":152051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:27:41] local.INFO: TCP Data received {"connection_id":154433,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:27:41] local.INFO: Processing buffer {"connection_id":154433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:27:41] local.INFO: IMEI packet received {"connection_id":154433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":154433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:27:47] local.INFO: TCP Data received {"connection_id":154433,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:27:47] local.INFO: Processing buffer {"connection_id":154433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:27:47] local.INFO: IMEI packet received {"connection_id":154433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":154433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:27:48] local.INFO: TCP Data received {"connection_id":154433,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb85e6e8012d196700071feeb8003a00561e..."} 
[2026-08-10 17:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb85e6e8012d196700071feeb8003a00561e..."} 
[2026-08-10 17:27:48] local.INFO: Processing buffer {"connection_id":154433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb85e6e8012d196700071feeb8003a00561e..."} 
[2026-08-10 17:27:48] local.INFO: Packet analysis {"connection_id":154433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb85"} 
[2026-08-10 17:27:48] local.INFO: Extracted packet for processing {"connection_id":154433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb85"} 
[2026-08-10 17:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":30,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308883968001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786362849000,"timestamp_ms":1786362849000,"timestamp_seconds":1786362849,"priority":1,"record_length":96,"hex_timestamp":"0000019feb85e6e8"} 
[2026-08-10 17:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 17:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308883968001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308883968001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:27:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:27:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308883968001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":154433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:27:48] local.INFO: GPS data processed {"connection_id":154433,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:27:48] local.INFO: Acknowledgment sent {"connection_id":154433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:27:58] local.INFO: TCP Data received {"connection_id":151672,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:27:58] local.INFO: Processing buffer {"connection_id":151672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:27:58] local.INFO: IMEI packet received {"connection_id":151672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":151672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:28:03] local.INFO: TCP Data received {"connection_id":151672,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:28:03] local.INFO: Processing buffer {"connection_id":151672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:28:03] local.INFO: IMEI packet received {"connection_id":151672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":151672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:28:04] local.INFO: TCP Data received {"connection_id":154434,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:28:04] local.INFO: Processing buffer {"connection_id":154434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:28:04] local.INFO: IMEI packet received {"connection_id":154434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":154434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:28:04] local.INFO: TCP Data received {"connection_id":151672,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:28:04] local.INFO: Processing buffer {"connection_id":151672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:28:04] local.INFO: Packet analysis {"connection_id":151672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:28:04] local.INFO: Extracted packet for processing {"connection_id":151672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308829952001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362918000,"timestamp_ms":1786362918000,"timestamp_seconds":1786362918,"priority":1,"record_length":96,"hex_timestamp":"0000019feb86f470"} 
[2026-08-10 17:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:28: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-08-10 17:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308829952001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308829952001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:28:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308829952001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":151672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:28:04] local.INFO: GPS data processed {"connection_id":151672,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:28:04] local.INFO: Acknowledgment sent {"connection_id":151672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:28:07] local.INFO: TCP Data received {"connection_id":154434,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:28:07] local.INFO: Processing buffer {"connection_id":154434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:28:07] local.INFO: IMEI packet received {"connection_id":154434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":154434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:28:08] local.INFO: TCP Data received {"connection_id":154434,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:28:08] local.INFO: Processing buffer {"connection_id":154434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:28:08] local.INFO: IMEI packet received {"connection_id":154434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":154434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:28:11] local.INFO: TCP Data received {"connection_id":154434,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:28:11] local.INFO: Processing buffer {"connection_id":154434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:28:11] local.INFO: IMEI packet received {"connection_id":154434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":154434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:28:12] local.INFO: TCP Data received {"connection_id":154434,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8955d0012d7c364005e1df780008004426..."} 
[2026-08-10 17:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8955d0012d7c364005e1df780008004426..."} 
[2026-08-10 17:28:12] local.INFO: Processing buffer {"connection_id":154434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8955d0012d7c364005e1df780008004426..."} 
[2026-08-10 17:28:12] local.INFO: Packet analysis {"connection_id":154434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb89"} 
[2026-08-10 17:28:12] local.INFO: Extracted packet for processing {"connection_id":154434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb89"} 
[2026-08-10 17:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763115072,"raw_latitude":98688888,"longitude_deg":76.3115072,"latitude_deg":9.8688888,"altitude":8,"angle":68,"satellites":38,"speed":25,"hex_longitude":"2d7c3640","hex_latitude":"05e1df78","is_valid_coordinates":true} 
[2026-08-10 17:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308946688001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949778384756334592,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117308269956956160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 17:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786363074000,"timestamp_ms":1786363074000,"timestamp_seconds":1786363074,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8955d0"} 
[2026-08-10 17:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-10 17:28: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-08-10 17:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:28: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-08-10 17:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308946688001,"66":13678,"45":8949778384756334592,"85":15104,"24":25,"16":117308269956956160},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-10 17:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308946688001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949778384756334592,"description":"Unknown IO ID 45"} 
[2026-08-10 17:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117308269956956160,"km_value":117308269956956.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:28:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457308946688001,"power":13678,"unknown_45":8949778384756334592,"unknown_85":15104,"ignition":25,"odometer":null}} 
[2026-08-10 17:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":154434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:28:12] local.INFO: GPS data processed {"connection_id":154434,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:28:12] local.INFO: Acknowledgment sent {"connection_id":154434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:28:13] local.INFO: TCP Data received {"connection_id":154434,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8959b8012d7c384005e1e0c00008003527..."} 
[2026-08-10 17:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8959b8012d7c384005e1e0c00008003527..."} 
[2026-08-10 17:28:13] local.INFO: Processing buffer {"connection_id":154434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8959b8012d7c384005e1e0c00008003527..."} 
[2026-08-10 17:28:13] local.INFO: Packet analysis {"connection_id":154434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb89"} 
[2026-08-10 17:28:13] local.INFO: Extracted packet for processing {"connection_id":154434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb89"} 
[2026-08-10 17:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763115584,"raw_latitude":98689216,"longitude_deg":76.3115584,"latitude_deg":9.8689216,"altitude":8,"angle":53,"satellites":39,"speed":25,"hex_longitude":"2d7c3840","hex_latitude":"05e1e0c0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308946944001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117308300021727232,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703453972480,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:13] 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-08-10 17:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786363075000,"timestamp_ms":1786363075000,"timestamp_seconds":1786363075,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8959b8"} 
[2026-08-10 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-08-10 17:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":110,"data_length":795,"current_offset":136} 
[2026-08-10 17:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 17:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:28: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-08-10 17:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308946944001,"66":13515,"43":206,"85":15104,"24":25,"16":117308300021727232,"45":8950411703453972480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-10 17:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308946944001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:28:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-10 17:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117308300021727232,"km_value":117308300021727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703453972480,"description":"Unknown IO ID 45"} 
[2026-08-10 17:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308946944001,"power":13515,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8950411703453972480}} 
[2026-08-10 17:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":154434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:28:13] local.INFO: GPS data processed {"connection_id":154434,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:28:13] local.INFO: Acknowledgment sent {"connection_id":154434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:28:21] local.INFO: TCP Data received {"connection_id":154433,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8638f0012d196700071feeb8003a005621..."} 
[2026-08-10 17:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8638f0012d196700071feeb8003a005621..."} 
[2026-08-10 17:28:21] local.INFO: Processing buffer {"connection_id":154433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8638f0012d196700071feeb8003a005621..."} 
[2026-08-10 17:28:21] local.INFO: Packet analysis {"connection_id":154433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:28:21] local.INFO: Extracted packet for processing {"connection_id":154433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:28:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308889344001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786362870000,"timestamp_ms":1786362870000,"timestamp_seconds":1786362870,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8638f0"} 
[2026-08-10 17:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308889344001,"66":12363,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308889344001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:28:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:28:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308889344001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":154433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:28:21] local.INFO: GPS data processed {"connection_id":154433,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:28:21] local.INFO: Acknowledgment sent {"connection_id":154433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:28:35] local.INFO: TCP Data received {"connection_id":151672,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:28:35] local.INFO: Processing buffer {"connection_id":151672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:28:35] local.INFO: Packet analysis {"connection_id":151672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:28:35] local.INFO: Extracted packet for processing {"connection_id":151672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308829952001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786362918000,"timestamp_ms":1786362918000,"timestamp_seconds":1786362918,"priority":1,"record_length":96,"hex_timestamp":"0000019feb86f470"} 
[2026-08-10 17:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:28: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-08-10 17:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308829952001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308829952001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:28:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308829952001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":151672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:28:35] local.INFO: GPS data processed {"connection_id":151672,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:28:35] local.INFO: Acknowledgment sent {"connection_id":151672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:28:43] local.INFO: TCP Data received {"connection_id":154434,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb895da0012d7c3a8005e1e2680009002a27..."} 
[2026-08-10 17:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb895da0012d7c3a8005e1e2680009002a27..."} 
[2026-08-10 17:28:43] local.INFO: Processing buffer {"connection_id":154434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb895da0012d7c3a8005e1e2680009002a27..."} 
[2026-08-10 17:28:43] local.INFO: Packet analysis {"connection_id":154434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb89"} 
[2026-08-10 17:28:43] local.INFO: Extracted packet for processing {"connection_id":154434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb89"} 
[2026-08-10 17:28:43] local.INFO: GPS Element Parsed {"raw_longitude":763116160,"raw_latitude":98689640,"longitude_deg":76.311616,"latitude_deg":9.868964,"altitude":9,"angle":42,"satellites":39,"speed":26,"hex_longitude":"2d7c3a80","hex_latitude":"05e1e268","is_valid_coordinates":true} 
[2026-08-10 17:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308947200001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117308334381465600,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950974653407477760,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:43] 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-08-10 17:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786363076000,"timestamp_ms":1786363076000,"timestamp_seconds":1786363076,"priority":1,"record_length":96,"hex_timestamp":"0000019feb895da0"} 
[2026-08-10 17:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":203,"data_length":795,"current_offset":136} 
[2026-08-10 17:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":154434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":154434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":154434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:28: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-08-10 17:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308947200001,"66":13656,"43":206,"85":15104,"24":26,"16":117308334381465600,"45":8950974653407477760},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-10 17:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308947200001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:28:43] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-10 17:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117308334381465600,"km_value":117308334381465.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950974653407477760,"description":"Unknown IO ID 45"} 
[2026-08-10 17:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308947200001,"power":13656,"unknown_43":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8950974653407477760}} 
[2026-08-10 17:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":154434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:28:43] local.INFO: GPS data processed {"connection_id":154434,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:28:43] local.INFO: Acknowledgment sent {"connection_id":154434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:28:47] local.INFO: TCP Data received {"connection_id":154435,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:28:47] local.INFO: Processing buffer {"connection_id":154435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:28:47] local.INFO: IMEI packet received {"connection_id":154435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":154435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:28:51] local.INFO: TCP Data received {"connection_id":154435,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:28:51] local.INFO: Processing buffer {"connection_id":154435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:28:51] local.INFO: IMEI packet received {"connection_id":154435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":154435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:28:53] local.INFO: TCP Data received {"connection_id":154435,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb868af8012d196700071feeb8003a005621..."} 
[2026-08-10 17:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb868af8012d196700071feeb8003a005621..."} 
[2026-08-10 17:28:53] local.INFO: Processing buffer {"connection_id":154435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb868af8012d196700071feeb8003a005621..."} 
[2026-08-10 17:28:53] local.INFO: Packet analysis {"connection_id":154435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:28:53] local.INFO: Extracted packet for processing {"connection_id":154435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:28:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308894720001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786362891000,"timestamp_ms":1786362891000,"timestamp_seconds":1786362891,"priority":1,"record_length":96,"hex_timestamp":"0000019feb868af8"} 
[2026-08-10 17:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308894720001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308894720001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:28:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:28:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308894720001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":154435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:28:53] local.INFO: GPS data processed {"connection_id":154435,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:28:53] local.INFO: Acknowledgment sent {"connection_id":154435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:28:57] local.INFO: TCP Data received {"connection_id":154435,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb86dd00012d196700071feeb8003a005621..."} 
[2026-08-10 17:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb86dd00012d196700071feeb8003a005621..."} 
[2026-08-10 17:28:57] local.INFO: Processing buffer {"connection_id":154435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb86dd00012d196700071feeb8003a005621..."} 
[2026-08-10 17:28:57] local.INFO: Packet analysis {"connection_id":154435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:28:57] local.INFO: Extracted packet for processing {"connection_id":154435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308900096001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:28: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-08-10 17:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786362912000,"timestamp_ms":1786362912000,"timestamp_seconds":1786362912,"priority":1,"record_length":96,"hex_timestamp":"0000019feb86dd00"} 
[2026-08-10 17:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308900096001,"66":12341,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308900096001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:28:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:28:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308900096001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":154435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:28:57] local.INFO: GPS data processed {"connection_id":154435,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:28:57] local.INFO: Acknowledgment sent {"connection_id":154435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:29:01] local.INFO: TCP Data received {"connection_id":152052,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:29:01] local.INFO: Processing buffer {"connection_id":152052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:29:01] local.INFO: IMEI packet received {"connection_id":152052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":152052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:29:03] local.INFO: TCP Data received {"connection_id":152052,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:29:03] local.INFO: Processing buffer {"connection_id":152052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:29:03] local.INFO: IMEI packet received {"connection_id":152052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":152052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:29:04] local.INFO: TCP Data received {"connection_id":152052,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:29:04] local.INFO: Processing buffer {"connection_id":152052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:29:04] local.INFO: Packet analysis {"connection_id":152052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:29:04] local.INFO: Extracted packet for processing {"connection_id":152052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308829952001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362918000,"timestamp_ms":1786362918000,"timestamp_seconds":1786362918,"priority":1,"record_length":96,"hex_timestamp":"0000019feb86f470"} 
[2026-08-10 17:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:29: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-08-10 17:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308829952001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308829952001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:29:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308829952001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":152052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:29:04] local.INFO: GPS data processed {"connection_id":152052,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:29:04] local.INFO: Acknowledgment sent {"connection_id":152052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:29:05] local.INFO: TCP Data received {"connection_id":152982,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:29:05] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:29:05] local.INFO: IMEI packet received {"connection_id":152982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":152982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:29:07] local.INFO: TCP Data received {"connection_id":152982,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:29:07] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:29:07] local.INFO: IMEI packet received {"connection_id":152982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":152982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:29:09] local.INFO: TCP Data received {"connection_id":152052,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:29:09] local.INFO: Processing buffer {"connection_id":152052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:29:09] local.INFO: Packet analysis {"connection_id":152052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:29:09] local.INFO: Extracted packet for processing {"connection_id":152052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308829952001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786362918000,"timestamp_ms":1786362918000,"timestamp_seconds":1786362918,"priority":1,"record_length":96,"hex_timestamp":"0000019feb86f470"} 
[2026-08-10 17:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308829952001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308829952001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:29:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308829952001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":152052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:29:09] local.INFO: GPS data processed {"connection_id":152052,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:29:09] local.INFO: Acknowledgment sent {"connection_id":152052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:29:12] local.INFO: TCP Data received {"connection_id":152982,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:29:12] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:29:12] local.INFO: IMEI packet received {"connection_id":152982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":152982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:29:13] local.INFO: TCP Data received {"connection_id":152982,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb89f5f8012d7c980005e20c800008006427..."} 
[2026-08-10 17:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb89f5f8012d7c980005e20c800008006427..."} 
[2026-08-10 17:29:13] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb89f5f8012d7c980005e20c800008006427..."} 
[2026-08-10 17:29:13] local.INFO: Packet analysis {"connection_id":152982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb89"} 
[2026-08-10 17:29:13] local.INFO: Extracted packet for processing {"connection_id":152982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb89"} 
[2026-08-10 17:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763140096,"raw_latitude":98700416,"longitude_deg":76.3140096,"latitude_deg":9.8700416,"altitude":8,"angle":100,"satellites":39,"speed":30,"hex_longitude":"2d7c9800","hex_latitude":"05e20c80","is_valid_coordinates":true} 
[2026-08-10 17:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308954624001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117309807555248128,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968144626990135296,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:13] 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-08-10 17:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786363115000,"timestamp_ms":1786363115000,"timestamp_seconds":1786363115,"priority":1,"record_length":96,"hex_timestamp":"0000019feb89f5f8"} 
[2026-08-10 17:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 17:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:29: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-08-10 17:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308954624001,"66":13624,"43":206,"85":15104,"24":30,"16":117309807555248128,"45":8968144626990135296},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-10 17:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308954624001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:29:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-10 17:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117309807555248128,"km_value":117309807555248.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968144626990135296,"description":"Unknown IO ID 45"} 
[2026-08-10 17:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308954624001,"power":13624,"unknown_43":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8968144626990135296}} 
[2026-08-10 17:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":152982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:29:13] local.INFO: GPS data processed {"connection_id":152982,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:29:13] local.INFO: Acknowledgment sent {"connection_id":152982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:29:42] local.INFO: TCP Data received {"connection_id":152052,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:29:42] local.INFO: Processing buffer {"connection_id":152052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:29:42] local.INFO: Packet analysis {"connection_id":152052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:29:42] local.INFO: Extracted packet for processing {"connection_id":152052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308829952001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786362918000,"timestamp_ms":1786362918000,"timestamp_seconds":1786362918,"priority":1,"record_length":96,"hex_timestamp":"0000019feb86f470"} 
[2026-08-10 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-08-10 17:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 17:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308829952001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308829952001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:29:42] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308829952001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":152052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:29:42] local.INFO: GPS data processed {"connection_id":152052,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:29:42] local.INFO: Acknowledgment sent {"connection_id":152052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:29:42] local.INFO: TCP Data received {"connection_id":152053,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:29:42] local.INFO: Processing buffer {"connection_id":152053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:29:42] local.INFO: IMEI packet received {"connection_id":152053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":152053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:29:42] local.INFO: TCP Data received {"connection_id":152053,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:29:42] local.INFO: Processing buffer {"connection_id":152053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:29:42] local.INFO: IMEI packet received {"connection_id":152053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":152053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:29:45] local.INFO: TCP Data received {"connection_id":152982,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8a3478012d7cbbc005e207480005005c27..."} 
[2026-08-10 17:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8a3478012d7cbbc005e207480005005c27..."} 
[2026-08-10 17:29:45] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8a3478012d7cbbc005e207480005005c27..."} 
[2026-08-10 17:29:45] local.INFO: Packet analysis {"connection_id":152982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8a"} 
[2026-08-10 17:29:45] local.INFO: Extracted packet for processing {"connection_id":152982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8a"} 
[2026-08-10 17:29:45] local.INFO: GPS Element Parsed {"raw_longitude":763149248,"raw_latitude":98699080,"longitude_deg":76.3149248,"latitude_deg":9.869908,"altitude":5,"angle":92,"satellites":39,"speed":21,"hex_longitude":"2d7cbbc0","hex_latitude":"05e20748","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308957440001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117310249936879616,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977925882430390272,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:45] 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-08-10 17:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786363131000,"timestamp_ms":1786363131000,"timestamp_seconds":1786363131,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8a3478"} 
[2026-08-10 17:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-10 17:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308957440001,"66":13526,"43":206,"85":15104,"24":21,"16":117310249936879616,"45":8977925882430390272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-10 17:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308957440001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:29:45] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-10 17:29:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117310249936879616,"km_value":117310249936879.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977925882430390272,"description":"Unknown IO ID 45"} 
[2026-08-10 17:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308957440001,"power":13526,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8977925882430390272}} 
[2026-08-10 17:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":152982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:29:45] local.INFO: GPS data processed {"connection_id":152982,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:29:45] local.INFO: Acknowledgment sent {"connection_id":152982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:29:46] local.INFO: TCP Data received {"connection_id":152053,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:29:46] local.INFO: Processing buffer {"connection_id":152053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:29:46] local.INFO: IMEI packet received {"connection_id":152053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":152053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:29:47] local.INFO: TCP Data received {"connection_id":152053,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb872f08012d196700071feeb8003a005621..."} 
[2026-08-10 17:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb872f08012d196700071feeb8003a005621..."} 
[2026-08-10 17:29:47] local.INFO: Processing buffer {"connection_id":152053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb872f08012d196700071feeb8003a005621..."} 
[2026-08-10 17:29:47] local.INFO: Packet analysis {"connection_id":152053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb87"} 
[2026-08-10 17:29:47] local.INFO: Extracted packet for processing {"connection_id":152053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb87"} 
[2026-08-10 17:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308905472001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786362933000,"timestamp_ms":1786362933000,"timestamp_seconds":1786362933,"priority":1,"record_length":96,"hex_timestamp":"0000019feb872f08"} 
[2026-08-10 17:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 17:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308905472001,"66":12037,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308905472001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:29:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:29:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308905472001,"power":12037,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":152053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:29:48] local.INFO: GPS data processed {"connection_id":152053,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:29:48] local.INFO: Acknowledgment sent {"connection_id":152053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:29:58] local.INFO: TCP Data received {"connection_id":152054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:29:58] local.INFO: Processing buffer {"connection_id":152054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:29:58] local.INFO: IMEI packet received {"connection_id":152054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":152054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:30:03] local.INFO: TCP Data received {"connection_id":152054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:30:03] local.INFO: Processing buffer {"connection_id":152054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:30:03] local.INFO: IMEI packet received {"connection_id":152054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":152054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:30:04] local.INFO: TCP Data received {"connection_id":152054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:30:04] local.INFO: Processing buffer {"connection_id":152054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:30:04] local.INFO: Packet analysis {"connection_id":152054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:30:04] local.INFO: Extracted packet for processing {"connection_id":152054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308829952001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786362918000,"timestamp_ms":1786362918000,"timestamp_seconds":1786362918,"priority":1,"record_length":96,"hex_timestamp":"0000019feb86f470"} 
[2026-08-10 17:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:30: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-08-10 17:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308829952001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308829952001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:30:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308829952001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":152054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:30:04] local.INFO: GPS data processed {"connection_id":152054,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:30:04] local.INFO: Acknowledgment sent {"connection_id":152054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:30:06] local.INFO: TCP Data received {"connection_id":151673,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:30:06] local.INFO: Processing buffer {"connection_id":151673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:30:06] local.INFO: IMEI packet received {"connection_id":151673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":151673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:30:07] local.INFO: TCP Data received {"connection_id":151673,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:30:07] local.INFO: Processing buffer {"connection_id":151673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:30:07] local.INFO: IMEI packet received {"connection_id":151673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":151673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:30:12] local.INFO: TCP Data received {"connection_id":151673,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:30:12] local.INFO: Processing buffer {"connection_id":151673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:30:12] local.INFO: IMEI packet received {"connection_id":151673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":151673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:30:13] local.INFO: TCP Data received {"connection_id":151673,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8a6358012d7cd68005e206e00005004f2a..."} 
[2026-08-10 17:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8a6358012d7cd68005e206e00005004f2a..."} 
[2026-08-10 17:30:13] local.INFO: Processing buffer {"connection_id":151673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8a6358012d7cd68005e206e00005004f2a..."} 
[2026-08-10 17:30:13] local.INFO: Packet analysis {"connection_id":151673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8a"} 
[2026-08-10 17:30:13] local.INFO: Extracted packet for processing {"connection_id":151673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8a"} 
[2026-08-10 17:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763156096,"raw_latitude":98698976,"longitude_deg":76.3156096,"latitude_deg":9.8698976,"altitude":5,"angle":79,"satellites":42,"speed":14,"hex_longitude":"2d7cd680","hex_latitude":"05e206e0","is_valid_coordinates":true} 
[2026-08-10 17:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308961536001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117310580649361408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987988612847454208,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:13] 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-08-10 17:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786363143000,"timestamp_ms":1786363143000,"timestamp_seconds":1786363143,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8a6358"} 
[2026-08-10 17:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 17:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:30: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-08-10 17:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308961536001,"66":13135,"43":206,"85":15104,"24":14,"16":117310580649361408,"45":8987988612847454208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-10 17:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308961536001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:30:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-10 17:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117310580649361408,"km_value":117310580649361.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987988612847454208,"description":"Unknown IO ID 45"} 
[2026-08-10 17:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308961536001,"power":13135,"unknown_43":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8987988612847454208}} 
[2026-08-10 17:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":151673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:30:13] local.INFO: GPS data processed {"connection_id":151673,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:30:13] local.INFO: Acknowledgment sent {"connection_id":151673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:30:19] local.INFO: TCP Data received {"connection_id":152053,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb878110012d196700071feeb8003a005621..."} 
[2026-08-10 17:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb878110012d196700071feeb8003a005621..."} 
[2026-08-10 17:30:19] local.INFO: Processing buffer {"connection_id":152053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb878110012d196700071feeb8003a005621..."} 
[2026-08-10 17:30:19] local.INFO: Packet analysis {"connection_id":152053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb87"} 
[2026-08-10 17:30:19] local.INFO: Extracted packet for processing {"connection_id":152053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb87"} 
[2026-08-10 17:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308910848001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786362954000,"timestamp_ms":1786362954000,"timestamp_seconds":1786362954,"priority":1,"record_length":96,"hex_timestamp":"0000019feb878110"} 
[2026-08-10 17:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 17:30:19] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3951379160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:19] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2246502401,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4005036090,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-08-10 17:30:19] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:19] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:19] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3618373632,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300978770745513507,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:19] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194894592,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:19] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,215,159,221,45,238,58,33,10,66,138,56,1,240,75,235,31,4,113,205,148,103,184,32,239,48,2,40,7,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-08-10 17:30:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179435153933729792,"timestamp_seconds":4179435153933730.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308910848001,"66":12374,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308910848001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:30:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:30:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308910848001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":152053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:30:19] local.INFO: GPS data processed {"connection_id":152053,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:30:19] local.INFO: Acknowledgment sent {"connection_id":152053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:30:35] local.INFO: TCP Data received {"connection_id":152054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:30:35] local.INFO: Processing buffer {"connection_id":152054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb86f470012d342a4006abc280001a010223..."} 
[2026-08-10 17:30:35] local.INFO: Packet analysis {"connection_id":152054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:30:35] local.INFO: Extracted packet for processing {"connection_id":152054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb86"} 
[2026-08-10 17:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308829952001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786362918000,"timestamp_ms":1786362918000,"timestamp_seconds":1786362918,"priority":1,"record_length":96,"hex_timestamp":"0000019feb86f470"} 
[2026-08-10 17:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:30: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-08-10 17:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 17:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308829952001,"66":25495,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308829952001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:30:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308829952001,"power":25495,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":152054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:30:35] local.INFO: GPS data processed {"connection_id":152054,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:30:35] local.INFO: Acknowledgment sent {"connection_id":152054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:30:42] local.INFO: TCP Data received {"connection_id":152983,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:30:42] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:30:42] local.INFO: IMEI packet received {"connection_id":152983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":152983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:30:44] local.INFO: TCP Data received {"connection_id":152983,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:30:44] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:30:44] local.INFO: IMEI packet received {"connection_id":152983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":152983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:30:44] local.INFO: TCP Data received {"connection_id":151673,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8aa5c0012d7cfb8005e20e200009005c2b..."} 
[2026-08-10 17:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8aa5c0012d7cfb8005e20e200009005c2b..."} 
[2026-08-10 17:30:44] local.INFO: Processing buffer {"connection_id":151673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8aa5c0012d7cfb8005e20e200009005c2b..."} 
[2026-08-10 17:30:44] local.INFO: Packet analysis {"connection_id":151673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8a"} 
[2026-08-10 17:30:44] local.INFO: Extracted packet for processing {"connection_id":151673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8a"} 
[2026-08-10 17:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763165568,"raw_latitude":98700832,"longitude_deg":76.3165568,"latitude_deg":9.8700832,"altitude":9,"angle":92,"satellites":43,"speed":24,"hex_longitude":"2d7cfb80","hex_latitude":"05e20e20","is_valid_coordinates":true} 
[2026-08-10 17:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308964608001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117311044505829376,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995518068474437632,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:44] 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-08-10 17:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786363160000,"timestamp_ms":1786363160000,"timestamp_seconds":1786363160,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8aa5c0"} 
[2026-08-10 17:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17: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-08-10 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-10 17:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:30: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-08-10 17:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308964608001,"66":13374,"43":206,"85":15104,"24":24,"16":117311044505829376,"45":8995518068474437632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-10 17:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308964608001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:30:44] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-10 17:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117311044505829376,"km_value":117311044505829.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995518068474437632,"description":"Unknown IO ID 45"} 
[2026-08-10 17:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308964608001,"power":13374,"unknown_43":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8995518068474437632}} 
[2026-08-10 17:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":151673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:30:44] local.INFO: GPS data processed {"connection_id":151673,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:30:44] local.INFO: Acknowledgment sent {"connection_id":151673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:30:46] local.INFO: TCP Data received {"connection_id":152983,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:30:46] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:30:46] local.INFO: IMEI packet received {"connection_id":152983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":152983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:30:48] local.INFO: TCP Data received {"connection_id":152983,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb87d318012d196700071feeb8003a005621..."} 
[2026-08-10 17:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb87d318012d196700071feeb8003a005621..."} 
[2026-08-10 17:30:48] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb87d318012d196700071feeb8003a005621..."} 
[2026-08-10 17:30:48] local.INFO: Packet analysis {"connection_id":152983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb87"} 
[2026-08-10 17:30:48] local.INFO: Extracted packet for processing {"connection_id":152983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb87"} 
[2026-08-10 17:30:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308916224001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786362975000,"timestamp_ms":1786362975000,"timestamp_seconds":1786362975,"priority":1,"record_length":96,"hex_timestamp":"0000019feb87d318"} 
[2026-08-10 17:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 17:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308916224001,"66":12374,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308916224001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:30:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:30:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308916224001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":152983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:30:48] local.INFO: GPS data processed {"connection_id":152983,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:30:48] local.INFO: Acknowledgment sent {"connection_id":152983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:30:53] local.INFO: TCP Data received {"connection_id":152983,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb882520012d196700071feeb8003a005621..."} 
[2026-08-10 17:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb882520012d196700071feeb8003a005621..."} 
[2026-08-10 17:30:53] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb882520012d196700071feeb8003a005621..."} 
[2026-08-10 17:30:53] local.INFO: Packet analysis {"connection_id":152983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb88"} 
[2026-08-10 17:30:53] local.INFO: Extracted packet for processing {"connection_id":152983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb88"} 
[2026-08-10 17:30:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308921600001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786362996000,"timestamp_ms":1786362996000,"timestamp_seconds":1786362996,"priority":1,"record_length":96,"hex_timestamp":"0000019feb882520"} 
[2026-08-10 17:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 17:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308921600001,"66":12341,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308921600001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:30:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:30:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308921600001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":152983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:30:53] local.INFO: GPS data processed {"connection_id":152983,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:30:53] local.INFO: Acknowledgment sent {"connection_id":152983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:31:03] local.INFO: TCP Data received {"connection_id":154436,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:31:03] local.INFO: Processing buffer {"connection_id":154436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:31:03] local.INFO: IMEI packet received {"connection_id":154436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":154436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:31:06] local.INFO: TCP Data received {"connection_id":152055,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:31:06] local.INFO: Processing buffer {"connection_id":152055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:31:06] local.INFO: IMEI packet received {"connection_id":152055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":152055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:31:07] local.INFO: TCP Data received {"connection_id":152055,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:31:07] local.INFO: Processing buffer {"connection_id":152055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:31:07] local.INFO: IMEI packet received {"connection_id":152055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":152055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:31:08] local.INFO: TCP Data received {"connection_id":154436,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:31:08] local.INFO: Processing buffer {"connection_id":154436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:31:08] local.INFO: IMEI packet received {"connection_id":154436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":154436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:31:09] local.INFO: TCP Data received {"connection_id":154436,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:31:09] local.INFO: Processing buffer {"connection_id":154436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:31:09] local.INFO: Packet analysis {"connection_id":154436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:31:09] local.INFO: Extracted packet for processing {"connection_id":154436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308907008001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786363219000,"timestamp_ms":1786363219000,"timestamp_seconds":1786363219,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8b8c38"} 
[2026-08-10 17:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308907008001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308907008001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:31:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308907008001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":154436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:31:09] local.INFO: GPS data processed {"connection_id":154436,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:31:09] local.INFO: Acknowledgment sent {"connection_id":154436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:31:12] local.INFO: TCP Data received {"connection_id":152055,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:31:12] local.INFO: Processing buffer {"connection_id":152055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:31:12] local.INFO: IMEI packet received {"connection_id":152055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":152055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:31:13] local.INFO: TCP Data received {"connection_id":152055,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8aa5c0012d7cfb8005e20e200009005c2b..."} 
[2026-08-10 17:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8aa5c0012d7cfb8005e20e200009005c2b..."} 
[2026-08-10 17:31:13] local.INFO: Processing buffer {"connection_id":152055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8aa5c0012d7cfb8005e20e200009005c2b..."} 
[2026-08-10 17:31:13] local.INFO: Packet analysis {"connection_id":152055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8a"} 
[2026-08-10 17:31:13] local.INFO: Extracted packet for processing {"connection_id":152055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8a"} 
[2026-08-10 17:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763165568,"raw_latitude":98700832,"longitude_deg":76.3165568,"latitude_deg":9.8700832,"altitude":9,"angle":92,"satellites":43,"speed":24,"hex_longitude":"2d7cfb80","hex_latitude":"05e20e20","is_valid_coordinates":true} 
[2026-08-10 17:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308968960001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117311044505829376,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005932642613207040,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:13] 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-08-10 17:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786363160000,"timestamp_ms":1786363160000,"timestamp_seconds":1786363160,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8aa5c0"} 
[2026-08-10 17:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 17:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:31: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-08-10 17:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308968960001,"66":13341,"43":206,"85":15104,"24":24,"16":117311044505829376,"45":9005932642613207040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-10 17:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308968960001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:31:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-10 17:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117311044505829376,"km_value":117311044505829.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005932642613207040,"description":"Unknown IO ID 45"} 
[2026-08-10 17:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308968960001,"power":13341,"unknown_43":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9005932642613207040}} 
[2026-08-10 17:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":152055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:31:13] local.INFO: GPS data processed {"connection_id":152055,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:31:13] local.INFO: Acknowledgment sent {"connection_id":152055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:31:35] local.INFO: TCP Data received {"connection_id":152983,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb887728012d196700071feeb8003a005620..."} 
[2026-08-10 17:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb887728012d196700071feeb8003a005620..."} 
[2026-08-10 17:31:35] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb887728012d196700071feeb8003a005620..."} 
[2026-08-10 17:31:35] local.INFO: Packet analysis {"connection_id":152983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb88"} 
[2026-08-10 17:31:35] local.INFO: Extracted packet for processing {"connection_id":152983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb88"} 
[2026-08-10 17:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":32,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308926976001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31: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-08-10 17:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786363017000,"timestamp_ms":1786363017000,"timestamp_seconds":1786363017,"priority":1,"record_length":96,"hex_timestamp":"0000019feb887728"} 
[2026-08-10 17:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 17:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308926976001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308926976001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:31:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:31:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308926976001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":152983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:31:35] local.INFO: GPS data processed {"connection_id":152983,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:31:35] local.INFO: Acknowledgment sent {"connection_id":152983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:31:41] local.INFO: TCP Data received {"connection_id":154436,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:31:41] local.INFO: Processing buffer {"connection_id":154436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:31:41] local.INFO: Packet analysis {"connection_id":154436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:31:41] local.INFO: Extracted packet for processing {"connection_id":154436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:31:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308907008001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786363219000,"timestamp_ms":1786363219000,"timestamp_seconds":1786363219,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8b8c38"} 
[2026-08-10 17:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308907008001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308907008001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:31:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:31:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308907008001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":154436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:31:41] local.INFO: GPS data processed {"connection_id":154436,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:31:41] local.INFO: Acknowledgment sent {"connection_id":154436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:31:44] local.INFO: TCP Data received {"connection_id":152055,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8c8250012d7e2e4005e207280008009b29..."} 
[2026-08-10 17:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8c8250012d7e2e4005e207280008009b29..."} 
[2026-08-10 17:31:44] local.INFO: Processing buffer {"connection_id":152055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8c8250012d7e2e4005e207280008009b29..."} 
[2026-08-10 17:31:44] local.INFO: Packet analysis {"connection_id":152055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8c"} 
[2026-08-10 17:31:44] local.INFO: Extracted packet for processing {"connection_id":152055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8c"} 
[2026-08-10 17:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763244096,"raw_latitude":98699048,"longitude_deg":76.3244096,"latitude_deg":9.8699048,"altitude":8,"angle":155,"satellites":41,"speed":24,"hex_longitude":"2d7e2e40","hex_latitude":"05e20728","is_valid_coordinates":true} 
[2026-08-10 17:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308999936001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117314905681428480,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091993616742180864,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786363282000,"timestamp_ms":1786363282000,"timestamp_seconds":1786363282,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8c8250"} 
[2026-08-10 17:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 17:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:31: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-08-10 17:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308999936001,"66":13189,"61":206,"85":15104,"24":24,"16":117314905681428480,"45":9091993616742180864},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-10 17:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308999936001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:31:44] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-10 17:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117314905681428480,"km_value":117314905681428.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091993616742180864,"description":"Unknown IO ID 45"} 
[2026-08-10 17:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308999936001,"power":13189,"unknown_61":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9091993616742180864}} 
[2026-08-10 17:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":152055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:31:44] local.INFO: GPS data processed {"connection_id":152055,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:31:44] local.INFO: Acknowledgment sent {"connection_id":152055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:31:47] local.INFO: TCP Data received {"connection_id":152984,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:31:47] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:31:47] local.INFO: IMEI packet received {"connection_id":152984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":152984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:31:47] local.INFO: TCP Data received {"connection_id":152984,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:31:47] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:31:47] local.INFO: IMEI packet received {"connection_id":152984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":152984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:31:52] local.INFO: TCP Data received {"connection_id":152984,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:31:52] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:31:52] local.INFO: IMEI packet received {"connection_id":152984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":152984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:31:54] local.INFO: TCP Data received {"connection_id":152984,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb88c930012d196700071feeb8003a005620..."} 
[2026-08-10 17:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb88c930012d196700071feeb8003a005620..."} 
[2026-08-10 17:31:54] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb88c930012d196700071feeb8003a005620..."} 
[2026-08-10 17:31:54] local.INFO: Packet analysis {"connection_id":152984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb88"} 
[2026-08-10 17:31:54] local.INFO: Extracted packet for processing {"connection_id":152984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb88"} 
[2026-08-10 17:31:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":32,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308932352001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786363038000,"timestamp_ms":1786363038000,"timestamp_seconds":1786363038,"priority":1,"record_length":96,"hex_timestamp":"0000019feb88c930"} 
[2026-08-10 17:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308932352001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308932352001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:31:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:31:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308932352001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":152984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:31:54] local.INFO: GPS data processed {"connection_id":152984,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:31:54] local.INFO: Acknowledgment sent {"connection_id":152984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:32:00] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:32:00] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:32:00] local.INFO: IMEI packet received {"connection_id":152985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":152985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:32:03] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:32:03] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:32:03] local.INFO: IMEI packet received {"connection_id":152985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":152985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:32:04] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:32:04] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:32:04] local.INFO: Packet analysis {"connection_id":152985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:32:04] local.INFO: Extracted packet for processing {"connection_id":152985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308907008001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786363219000,"timestamp_ms":1786363219000,"timestamp_seconds":1786363219,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8b8c38"} 
[2026-08-10 17:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:32: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-08-10 17:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308907008001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308907008001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:32:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308907008001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":152985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:32:04] local.INFO: GPS data processed {"connection_id":152985,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:32:04] local.INFO: Acknowledgment sent {"connection_id":152985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:32:09] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:32:09] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:32:09] local.INFO: Packet analysis {"connection_id":152985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:32:09] local.INFO: Extracted packet for processing {"connection_id":152985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308907008001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786363219000,"timestamp_ms":1786363219000,"timestamp_seconds":1786363219,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8b8c38"} 
[2026-08-10 17:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308907008001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308907008001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:32:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308907008001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":152985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:32:09] local.INFO: GPS data processed {"connection_id":152985,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:32:09] local.INFO: Acknowledgment sent {"connection_id":152985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:32:12] local.INFO: TCP Data received {"connection_id":154437,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:32:12] local.INFO: Processing buffer {"connection_id":154437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:32:12] local.INFO: IMEI packet received {"connection_id":154437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":154437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:32:15] local.INFO: TCP Data received {"connection_id":154437,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:32:15] local.INFO: Processing buffer {"connection_id":154437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:32:15] local.INFO: IMEI packet received {"connection_id":154437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":154437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:32:16] local.INFO: TCP Data received {"connection_id":154437,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8c8a20012d7e2e4005e20140000800b128..."} 
[2026-08-10 17:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8c8a20012d7e2e4005e20140000800b128..."} 
[2026-08-10 17:32:16] local.INFO: Processing buffer {"connection_id":154437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8c8a20012d7e2e4005e20140000800b128..."} 
[2026-08-10 17:32:16] local.INFO: Packet analysis {"connection_id":154437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8c"} 
[2026-08-10 17:32:16] local.INFO: Extracted packet for processing {"connection_id":154437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8c"} 
[2026-08-10 17:32:16] local.INFO: GPS Element Parsed {"raw_longitude":763244096,"raw_latitude":98697536,"longitude_deg":76.3244096,"latitude_deg":9.8697536,"altitude":8,"angle":177,"satellites":40,"speed":28,"hex_longitude":"2d7e2e40","hex_latitude":"05e20140","is_valid_coordinates":true} 
[2026-08-10 17:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309000192001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117314982990839808,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092275091718744064,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786363284000,"timestamp_ms":1786363284000,"timestamp_seconds":1786363284,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8c8a20"} 
[2026-08-10 17:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 17:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:32: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-08-10 17:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309000192001,"66":13515,"61":206,"85":15104,"24":28,"16":117314982990839808,"45":9092275091718744064},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-10 17:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309000192001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:32:16] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-10 17:32:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117314982990839808,"km_value":117314982990839.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092275091718744064,"description":"Unknown IO ID 45"} 
[2026-08-10 17:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309000192001,"power":13515,"unknown_61":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9092275091718744064}} 
[2026-08-10 17:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":154437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:32:16] local.INFO: GPS data processed {"connection_id":154437,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:32:16] local.INFO: Acknowledgment sent {"connection_id":154437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:32:25] local.INFO: TCP Data received {"connection_id":152984,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb891b38012d196700071feeb8003a005624..."} 
[2026-08-10 17:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb891b38012d196700071feeb8003a005624..."} 
[2026-08-10 17:32:25] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb891b38012d196700071feeb8003a005624..."} 
[2026-08-10 17:32:25] local.INFO: Packet analysis {"connection_id":152984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb89"} 
[2026-08-10 17:32:25] local.INFO: Extracted packet for processing {"connection_id":152984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb89"} 
[2026-08-10 17:32:25] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308937728001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32: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-08-10 17:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786363059000,"timestamp_ms":1786363059000,"timestamp_seconds":1786363059,"priority":1,"record_length":96,"hex_timestamp":"0000019feb891b38"} 
[2026-08-10 17:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308937728001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308937728001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:32:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:32:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308937728001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":152984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:32:25] local.INFO: GPS data processed {"connection_id":152984,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:32:25] local.INFO: Acknowledgment sent {"connection_id":152984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:32:40] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:32:40] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:32:40] local.INFO: Packet analysis {"connection_id":152985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:32:40] local.INFO: Extracted packet for processing {"connection_id":152985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308907008001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786363219000,"timestamp_ms":1786363219000,"timestamp_seconds":1786363219,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8b8c38"} 
[2026-08-10 17:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308907008001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308907008001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:32:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308907008001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":152985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:32:40] local.INFO: GPS data processed {"connection_id":152985,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:32:40] local.INFO: Acknowledgment sent {"connection_id":152985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:32:41] local.INFO: TCP Data received {"connection_id":152056,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:32:41] local.INFO: Processing buffer {"connection_id":152056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:32:41] local.INFO: IMEI packet received {"connection_id":152056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":152056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:32:46] local.INFO: TCP Data received {"connection_id":152056,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:32:47] local.INFO: Processing buffer {"connection_id":152056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:32:47] local.INFO: IMEI packet received {"connection_id":152056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":152056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:32:47] local.INFO: TCP Data received {"connection_id":154437,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8d8fd8012d7e124005e102d0000500bb27..."} 
[2026-08-10 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8d8fd8012d7e124005e102d0000500bb27..."} 
[2026-08-10 17:32:47] local.INFO: Processing buffer {"connection_id":154437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8d8fd8012d7e124005e102d0000500bb27..."} 
[2026-08-10 17:32:47] local.INFO: Packet analysis {"connection_id":154437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8d"} 
[2026-08-10 17:32:47] local.INFO: Extracted packet for processing {"connection_id":154437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8d"} 
[2026-08-10 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":763236928,"raw_latitude":98632400,"longitude_deg":76.3236928,"latitude_deg":9.86324,"altitude":5,"angle":187,"satellites":39,"speed":40,"hex_longitude":"2d7e1240","hex_latitude":"05e102d0","is_valid_coordinates":true} 
[2026-08-10 17:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309017344001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117318234281082880,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373563541504,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786363351000,"timestamp_ms":1786363351000,"timestamp_seconds":1786363351,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8d8fd8"} 
[2026-08-10 17:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 17:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309017344001,"66":13450,"105":206,"85":15104,"24":40,"16":117318234281082880,"45":9084886373563541504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-10 17:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309017344001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:32:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 17:32:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117318234281082880,"km_value":117318234281082.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373563541504,"description":"Unknown IO ID 45"} 
[2026-08-10 17:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309017344001,"power":13450,"unknown_105":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9084886373563541504}} 
[2026-08-10 17:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":154437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:32:47] local.INFO: GPS data processed {"connection_id":154437,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:32:47] local.INFO: Acknowledgment sent {"connection_id":154437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:32:48] local.INFO: TCP Data received {"connection_id":152056,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb896d40012d196700071feeb8003a005620..."} 
[2026-08-10 17:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb896d40012d196700071feeb8003a005620..."} 
[2026-08-10 17:32:48] local.INFO: Processing buffer {"connection_id":152056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb896d40012d196700071feeb8003a005620..."} 
[2026-08-10 17:32:48] local.INFO: Packet analysis {"connection_id":152056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb89"} 
[2026-08-10 17:32:48] local.INFO: Extracted packet for processing {"connection_id":152056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb89"} 
[2026-08-10 17:32:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":32,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308943104001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786363080000,"timestamp_ms":1786363080000,"timestamp_seconds":1786363080,"priority":1,"record_length":96,"hex_timestamp":"0000019feb896d40"} 
[2026-08-10 17:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:32: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":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308943104001,"66":12341,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308943104001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:32:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:32:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308943104001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":152056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:32:49] local.INFO: GPS data processed {"connection_id":152056,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:32:49] local.INFO: Acknowledgment sent {"connection_id":152056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:32:58] local.INFO: TCP Data received {"connection_id":151674,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:32:58] local.INFO: Processing buffer {"connection_id":151674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:32:58] local.INFO: IMEI packet received {"connection_id":151674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":151674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:33:03] local.INFO: TCP Data received {"connection_id":151674,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:33:03] local.INFO: Processing buffer {"connection_id":151674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:33:03] local.INFO: IMEI packet received {"connection_id":151674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":151674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:33:04] local.INFO: TCP Data received {"connection_id":151674,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:33:04] local.INFO: Processing buffer {"connection_id":151674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:33:04] local.INFO: Packet analysis {"connection_id":151674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:33:04] local.INFO: Extracted packet for processing {"connection_id":151674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308907008001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786363219000,"timestamp_ms":1786363219000,"timestamp_seconds":1786363219,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8b8c38"} 
[2026-08-10 17:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:33: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-08-10 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308907008001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308907008001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:33:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308907008001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":151674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:33:04] local.INFO: GPS data processed {"connection_id":151674,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:33:04] local.INFO: Acknowledgment sent {"connection_id":151674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:33:06] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:33:06] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:33:06] local.INFO: IMEI packet received {"connection_id":152986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":152986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:33:07] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:33:07] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:33:07] local.INFO: IMEI packet received {"connection_id":152986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":152986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:33:07] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:33:07] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:33:07] local.INFO: IMEI packet received {"connection_id":152986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":152986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:33:12] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:33:12] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:33:12] local.INFO: IMEI packet received {"connection_id":152986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":152986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:33:14] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8d9b90012d7e124005e0f700000500af28..."} 
[2026-08-10 17:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8d9b90012d7e124005e0f700000500af28..."} 
[2026-08-10 17:33:14] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8d9b90012d7e124005e0f700000500af28..."} 
[2026-08-10 17:33:14] local.INFO: Packet analysis {"connection_id":152986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8d"} 
[2026-08-10 17:33:14] local.INFO: Extracted packet for processing {"connection_id":152986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8d"} 
[2026-08-10 17:33:14] local.INFO: GPS Element Parsed {"raw_longitude":763236928,"raw_latitude":98629376,"longitude_deg":76.3236928,"latitude_deg":9.8629376,"altitude":5,"angle":175,"satellites":40,"speed":40,"hex_longitude":"2d7e1240","hex_latitude":"05e0f700","is_valid_coordinates":true} 
[2026-08-10 17:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309017856001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117318384604938240,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084393792353783808,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786363354000,"timestamp_ms":1786363354000,"timestamp_seconds":1786363354,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8d9b90"} 
[2026-08-10 17:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 17:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309017856001,"66":13450,"105":206,"85":15104,"24":40,"16":117318384604938240,"45":9084393792353783808},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-10 17:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309017856001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:33:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 17:33:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117318384604938240,"km_value":117318384604938.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084393792353783808,"description":"Unknown IO ID 45"} 
[2026-08-10 17:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309017856001,"power":13450,"unknown_105":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9084393792353783808}} 
[2026-08-10 17:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":152986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:33:14] local.INFO: GPS data processed {"connection_id":152986,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:33:14] local.INFO: Acknowledgment sent {"connection_id":152986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:33:21] local.INFO: TCP Data received {"connection_id":152056,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8cf398012d196700071feeb8003a005620..."} 
[2026-08-10 17:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8cf398012d196700071feeb8003a005620..."} 
[2026-08-10 17:33:21] local.INFO: Processing buffer {"connection_id":152056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8cf398012d196700071feeb8003a005620..."} 
[2026-08-10 17:33:21] local.INFO: Packet analysis {"connection_id":152056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8c"} 
[2026-08-10 17:33:21] local.INFO: Extracted packet for processing {"connection_id":152056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8c"} 
[2026-08-10 17:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":32,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309002240001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786363311000,"timestamp_ms":1786363311000,"timestamp_seconds":1786363311,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8cf398"} 
[2026-08-10 17:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309002240001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309002240001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:33:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:33:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309002240001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":152056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:33:21] local.INFO: GPS data processed {"connection_id":152056,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:33:21] local.INFO: Acknowledgment sent {"connection_id":152056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:33:35] local.INFO: TCP Data received {"connection_id":151674,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:33:35] local.INFO: Processing buffer {"connection_id":151674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:33:35] local.INFO: Packet analysis {"connection_id":151674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:33:35] local.INFO: Extracted packet for processing {"connection_id":151674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308907008001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786363219000,"timestamp_ms":1786363219000,"timestamp_seconds":1786363219,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8b8c38"} 
[2026-08-10 17:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:33: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-08-10 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:33: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-08-10 17:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308907008001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308907008001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:33:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308907008001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":151674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:33:35] local.INFO: GPS data processed {"connection_id":151674,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:33:35] local.INFO: Acknowledgment sent {"connection_id":151674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:33:41] local.INFO: TCP Data received {"connection_id":151675,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:33:41] local.INFO: Processing buffer {"connection_id":151675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:33:41] local.INFO: IMEI packet received {"connection_id":151675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":151675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:33:45] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8db6e8012d7e124005e0db30000300bc27..."} 
[2026-08-10 17:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8db6e8012d7e124005e0db30000300bc27..."} 
[2026-08-10 17:33:45] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8db6e8012d7e124005e0db30000300bc27..."} 
[2026-08-10 17:33:45] local.INFO: Packet analysis {"connection_id":152986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8d"} 
[2026-08-10 17:33:45] local.INFO: Extracted packet for processing {"connection_id":152986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8d"} 
[2026-08-10 17:33:45] local.INFO: GPS Element Parsed {"raw_longitude":763236928,"raw_latitude":98622256,"longitude_deg":76.3236928,"latitude_deg":9.8622256,"altitude":3,"angle":188,"satellites":39,"speed":31,"hex_longitude":"2d7e1240","hex_latitude":"05e0db30","is_valid_coordinates":true} 
[2026-08-10 17:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309018624001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117318728202321920,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084393792353009664,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786363361000,"timestamp_ms":1786363361000,"timestamp_seconds":1786363361,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8db6e8"} 
[2026-08-10 17:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 17:33: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-08-10 17:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309018624001,"66":13341,"105":206,"85":15104,"24":31,"16":117318728202321920,"45":9084393792353009664},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-10 17:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309018624001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:33:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 17:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117318728202321920,"km_value":117318728202321.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084393792353009664,"description":"Unknown IO ID 45"} 
[2026-08-10 17:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309018624001,"power":13341,"unknown_105":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9084393792353009664}} 
[2026-08-10 17:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":152986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:33:45] local.INFO: GPS data processed {"connection_id":152986,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:33:45] local.INFO: Acknowledgment sent {"connection_id":152986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:33:47] local.INFO: TCP Data received {"connection_id":151675,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:33:47] local.INFO: Processing buffer {"connection_id":151675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:33:47] local.INFO: IMEI packet received {"connection_id":151675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":151675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:33:48] local.INFO: TCP Data received {"connection_id":151675,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8d45a0012d196700071feeb8003a005620..."} 
[2026-08-10 17:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8d45a0012d196700071feeb8003a005620..."} 
[2026-08-10 17:33:48] local.INFO: Processing buffer {"connection_id":151675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8d45a0012d196700071feeb8003a005620..."} 
[2026-08-10 17:33:48] local.INFO: Packet analysis {"connection_id":151675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8d"} 
[2026-08-10 17:33:48] local.INFO: Extracted packet for processing {"connection_id":151675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8d"} 
[2026-08-10 17:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":32,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309007616001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786363332000,"timestamp_ms":1786363332000,"timestamp_seconds":1786363332,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8d45a0"} 
[2026-08-10 17:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309007616001,"66":12341,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309007616001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:33:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:33:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309007616001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":151675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:33:48] local.INFO: GPS data processed {"connection_id":151675,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:33:48] local.INFO: Acknowledgment sent {"connection_id":151675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:33:58] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:33:58] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:33:58] local.INFO: IMEI packet received {"connection_id":151676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":151676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:34:03] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:34:03] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:34:03] local.INFO: IMEI packet received {"connection_id":151676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":151676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:34:04] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:34:04] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:34:04] local.INFO: Packet analysis {"connection_id":151676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:34:04] local.INFO: Extracted packet for processing {"connection_id":151676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308907008001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786363219000,"timestamp_ms":1786363219000,"timestamp_seconds":1786363219,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8b8c38"} 
[2026-08-10 17:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:34: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-08-10 17:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308907008001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308907008001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:34:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308907008001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":151676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:34:04] local.INFO: GPS data processed {"connection_id":151676,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:34:04] local.INFO: Acknowledgment sent {"connection_id":151676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:34:07] local.INFO: TCP Data received {"connection_id":152057,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:34:07] local.INFO: Processing buffer {"connection_id":152057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:34:07] local.INFO: IMEI packet received {"connection_id":152057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":152057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:34:07] local.INFO: TCP Data received {"connection_id":152057,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:34:07] local.INFO: Processing buffer {"connection_id":152057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:34:07] local.INFO: IMEI packet received {"connection_id":152057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":152057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:34:12] local.INFO: TCP Data received {"connection_id":152057,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:34:12] local.INFO: Processing buffer {"connection_id":152057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:34:12] local.INFO: IMEI packet received {"connection_id":152057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":152057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:34:13] local.INFO: TCP Data received {"connection_id":152057,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8eb4d0012d7e4f8005e01ed0000300a027..."} 
[2026-08-10 17:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8eb4d0012d7e4f8005e01ed0000300a027..."} 
[2026-08-10 17:34:13] local.INFO: Processing buffer {"connection_id":152057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8eb4d0012d7e4f8005e01ed0000300a027..."} 
[2026-08-10 17:34:13] local.INFO: Packet analysis {"connection_id":152057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8e"} 
[2026-08-10 17:34:13] local.INFO: Extracted packet for processing {"connection_id":152057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8e"} 
[2026-08-10 17:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763252608,"raw_latitude":98574032,"longitude_deg":76.3252608,"latitude_deg":9.8574032,"altitude":3,"angle":160,"satellites":39,"speed":34,"hex_longitude":"2d7e4f80","hex_latitude":"05e01ed0","is_valid_coordinates":true} 
[2026-08-10 17:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309033984001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117321322362568704,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098045328711598080,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786363426000,"timestamp_ms":1786363426000,"timestamp_seconds":1786363426,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8eb4d0"} 
[2026-08-10 17:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:34: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":29,"data_length":795,"current_offset":136} 
[2026-08-10 17:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:34: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-08-10 17:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309033984001,"66":13417,"104":206,"85":15104,"24":34,"16":117321322362568704,"45":9098045328711598080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-10 17:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309033984001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:34:13] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-10 17:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117321322362568704,"km_value":117321322362568.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098045328711598080,"description":"Unknown IO ID 45"} 
[2026-08-10 17:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309033984001,"power":13417,"unknown_104":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9098045328711598080}} 
[2026-08-10 17:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":152057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:34:13] local.INFO: GPS data processed {"connection_id":152057,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:34:13] local.INFO: Acknowledgment sent {"connection_id":152057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:34:19] local.INFO: TCP Data received {"connection_id":151675,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8d97a8012d196700071feeb8003a005620..."} 
[2026-08-10 17:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8d97a8012d196700071feeb8003a005620..."} 
[2026-08-10 17:34:19] local.INFO: Processing buffer {"connection_id":151675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8d97a8012d196700071feeb8003a005620..."} 
[2026-08-10 17:34:19] local.INFO: Packet analysis {"connection_id":151675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8d"} 
[2026-08-10 17:34:19] local.INFO: Extracted packet for processing {"connection_id":151675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8d"} 
[2026-08-10 17:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":32,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309012992001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786363353000,"timestamp_ms":1786363353000,"timestamp_seconds":1786363353,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8d97a8"} 
[2026-08-10 17:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 17:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309012992001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309012992001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:34:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:34:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309012992001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":151675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:34:19] local.INFO: GPS data processed {"connection_id":151675,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:34:19] local.INFO: Acknowledgment sent {"connection_id":151675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:34:36] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:34:36] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:34:36] local.INFO: Packet analysis {"connection_id":151676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:34:36] local.INFO: Extracted packet for processing {"connection_id":151676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308907008001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786363219000,"timestamp_ms":1786363219000,"timestamp_seconds":1786363219,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8b8c38"} 
[2026-08-10 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-08-10 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 17:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:34: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-08-10 17:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308907008001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308907008001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:34:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308907008001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":151676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:34:36] local.INFO: GPS data processed {"connection_id":151676,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:34:36] local.INFO: Acknowledgment sent {"connection_id":151676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:34:43] local.INFO: TCP Data received {"connection_id":152057,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8ed7f8012d7e57c005e00650000300ab28..."} 
[2026-08-10 17:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8ed7f8012d7e57c005e00650000300ab28..."} 
[2026-08-10 17:34:43] local.INFO: Processing buffer {"connection_id":152057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8ed7f8012d7e57c005e00650000300ab28..."} 
[2026-08-10 17:34:43] local.INFO: Packet analysis {"connection_id":152057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8e"} 
[2026-08-10 17:34:43] local.INFO: Extracted packet for processing {"connection_id":152057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8e"} 
[2026-08-10 17:34:43] local.INFO: GPS Element Parsed {"raw_longitude":763254720,"raw_latitude":98567760,"longitude_deg":76.325472,"latitude_deg":9.856776,"altitude":3,"angle":171,"satellites":40,"speed":29,"hex_longitude":"2d7e57c0","hex_latitude":"05e00650","is_valid_coordinates":true} 
[2026-08-10 17:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309037056001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117321644485115904,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101634134662369280,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786363435000,"timestamp_ms":1786363435000,"timestamp_seconds":1786363435,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8ed7f8"} 
[2026-08-10 17:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:34: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-08-10 17: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-10 17:34: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-08-10 17:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:34: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-08-10 17:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309037056001,"66":13493,"104":206,"85":15104,"24":29,"16":117321644485115904,"45":9101634134662369280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-10 17:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309037056001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:34:43] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-10 17:34:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117321644485115904,"km_value":117321644485115.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101634134662369280,"description":"Unknown IO ID 45"} 
[2026-08-10 17:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309037056001,"power":13493,"unknown_104":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9101634134662369280}} 
[2026-08-10 17:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":152057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:34:43] local.INFO: GPS data processed {"connection_id":152057,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:34:43] local.INFO: Acknowledgment sent {"connection_id":152057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:34:47] local.INFO: TCP Data received {"connection_id":151677,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:34:47] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:34:47] local.INFO: IMEI packet received {"connection_id":151677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":151677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:34:52] local.INFO: TCP Data received {"connection_id":151677,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:34:52] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:34:52] local.INFO: IMEI packet received {"connection_id":151677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":151677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:34:53] local.INFO: TCP Data received {"connection_id":151677,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8de9b0012d196700071feeb8003a005621..."} 
[2026-08-10 17:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8de9b0012d196700071feeb8003a005621..."} 
[2026-08-10 17:34:53] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8de9b0012d196700071feeb8003a005621..."} 
[2026-08-10 17:34:53] local.INFO: Packet analysis {"connection_id":151677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8d"} 
[2026-08-10 17:34:53] local.INFO: Extracted packet for processing {"connection_id":151677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8d"} 
[2026-08-10 17:34:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309018368001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786363374000,"timestamp_ms":1786363374000,"timestamp_seconds":1786363374,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8de9b0"} 
[2026-08-10 17:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309018368001,"66":12341,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309018368001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:34:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:34:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309018368001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":151677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:34:53] local.INFO: GPS data processed {"connection_id":151677,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:34:53] local.INFO: Acknowledgment sent {"connection_id":151677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:34:58] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:34:58] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:34:58] local.INFO: IMEI packet received {"connection_id":152987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":152987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:35:03] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:35:03] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:35:03] local.INFO: IMEI packet received {"connection_id":152987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":152987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:35:04] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:35:04] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:35:04] local.INFO: Packet analysis {"connection_id":152987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:35:04] local.INFO: Extracted packet for processing {"connection_id":152987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308907008001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786363219000,"timestamp_ms":1786363219000,"timestamp_seconds":1786363219,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8b8c38"} 
[2026-08-10 17:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:35: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-08-10 17:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308907008001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308907008001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:35:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308907008001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":152987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:35:04] local.INFO: GPS data processed {"connection_id":152987,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:35:04] local.INFO: Acknowledgment sent {"connection_id":152987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:35:12] local.INFO: TCP Data received {"connection_id":152988,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:35:12] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:35:12] local.INFO: IMEI packet received {"connection_id":152988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":152988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:35:14] local.INFO: TCP Data received {"connection_id":152988,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:35:14] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:35:14] local.INFO: IMEI packet received {"connection_id":152988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":152988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:35:15] local.INFO: TCP Data received {"connection_id":152988,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8eff08012d7e608005dfe2c0000400a72a..."} 
[2026-08-10 17:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8eff08012d7e608005dfe2c0000400a72a..."} 
[2026-08-10 17:35:15] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8eff08012d7e608005dfe2c0000400a72a..."} 
[2026-08-10 17:35:15] local.INFO: Packet analysis {"connection_id":152988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8e"} 
[2026-08-10 17:35:15] local.INFO: Extracted packet for processing {"connection_id":152988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8e"} 
[2026-08-10 17:35:15] local.INFO: GPS Element Parsed {"raw_longitude":763256960,"raw_latitude":98558656,"longitude_deg":76.325696,"latitude_deg":9.8558656,"altitude":4,"angle":167,"satellites":42,"speed":34,"hex_longitude":"2d7e6080","hex_latitude":"05dfe2c0","is_valid_coordinates":true} 
[2026-08-10 17:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309039360001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117322099751649280,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103956303218626560,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786363445000,"timestamp_ms":1786363445000,"timestamp_seconds":1786363445,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8eff08"} 
[2026-08-10 17:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 17:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309039360001,"66":13341,"104":206,"85":15104,"24":34,"16":117322099751649280,"45":9103956303218626560},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-10 17:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309039360001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:35:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-10 17:35:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117322099751649280,"km_value":117322099751649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103956303218626560,"description":"Unknown IO ID 45"} 
[2026-08-10 17:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309039360001,"power":13341,"unknown_104":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9103956303218626560}} 
[2026-08-10 17:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":152988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:35:15] local.INFO: GPS data processed {"connection_id":152988,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:35:15] local.INFO: Acknowledgment sent {"connection_id":152988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:35:17] local.INFO: TCP Data received {"connection_id":152988,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8f2618012d7e6b0005dfbfe8000500a928..."} 
[2026-08-10 17:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8f2618012d7e6b0005dfbfe8000500a928..."} 
[2026-08-10 17:35:17] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8f2618012d7e6b0005dfbfe8000500a928..."} 
[2026-08-10 17:35:17] local.INFO: Packet analysis {"connection_id":152988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8f"} 
[2026-08-10 17:35:17] local.INFO: Extracted packet for processing {"connection_id":152988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8f"} 
[2026-08-10 17:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763259648,"raw_latitude":98549736,"longitude_deg":76.3259648,"latitude_deg":9.8549736,"altitude":5,"angle":169,"satellites":40,"speed":40,"hex_longitude":"2d7e6b00","hex_latitude":"05dfbfe8","is_valid_coordinates":true} 
[2026-08-10 17:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309041920001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117322550723215360,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106419209262514176,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786363455000,"timestamp_ms":1786363455000,"timestamp_seconds":1786363455,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8f2618"} 
[2026-08-10 17:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-10 17:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309041920001,"66":13319,"104":206,"85":15104,"24":40,"16":117322550723215360,"45":9106419209262514176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-10 17:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309041920001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:35:17] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-10 17:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117322550723215360,"km_value":117322550723215.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106419209262514176,"description":"Unknown IO ID 45"} 
[2026-08-10 17:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309041920001,"power":13319,"unknown_104":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9106419209262514176}} 
[2026-08-10 17:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":152988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:35:17] local.INFO: GPS data processed {"connection_id":152988,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:35:17] local.INFO: Acknowledgment sent {"connection_id":152988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:35:29] local.INFO: TCP Data received {"connection_id":151677,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8e3bb8012d196700071feeb8003a005621..."} 
[2026-08-10 17:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8e3bb8012d196700071feeb8003a005621..."} 
[2026-08-10 17:35:29] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8e3bb8012d196700071feeb8003a005621..."} 
[2026-08-10 17:35:29] local.INFO: Packet analysis {"connection_id":151677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8e"} 
[2026-08-10 17:35:29] local.INFO: Extracted packet for processing {"connection_id":151677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8e"} 
[2026-08-10 17:35:29] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":33,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309023744001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35: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-08-10 17:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786363395000,"timestamp_ms":1786363395000,"timestamp_seconds":1786363395,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8e3bb8"} 
[2026-08-10 17:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 17:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309023744001,"66":12385,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309023744001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:35:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:35:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309023744001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":151677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:35:29] local.INFO: GPS data processed {"connection_id":151677,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:35:29] local.INFO: Acknowledgment sent {"connection_id":151677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:35:35] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:35:35] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8b8c38012d342a4006abc280001a010223..."} 
[2026-08-10 17:35:35] local.INFO: Packet analysis {"connection_id":152987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:35:35] local.INFO: Extracted packet for processing {"connection_id":152987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8b"} 
[2026-08-10 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308907008001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786363219000,"timestamp_ms":1786363219000,"timestamp_seconds":1786363219,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8b8c38"} 
[2026-08-10 17:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:35: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-08-10 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 17:35: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-08-10 17:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308907008001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308907008001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:35:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308907008001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":152987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:35:35] local.INFO: GPS data processed {"connection_id":152987,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:35:35] local.INFO: Acknowledgment sent {"connection_id":152987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:35:44] local.INFO: TCP Data received {"connection_id":152058,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:35:44] local.INFO: Processing buffer {"connection_id":152058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:35:44] local.INFO: IMEI packet received {"connection_id":152058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":152058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:35:46] local.INFO: TCP Data received {"connection_id":152058,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:35:46] local.INFO: Processing buffer {"connection_id":152058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:35:46] local.INFO: IMEI packet received {"connection_id":152058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":152058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:35:46] local.INFO: TCP Data received {"connection_id":152058,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:35:46] local.INFO: Processing buffer {"connection_id":152058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:35:46] local.INFO: IMEI packet received {"connection_id":152058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":152058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:35:48] local.INFO: TCP Data received {"connection_id":152058,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8e8dc0012d196700071feeb8003a005620..."} 
[2026-08-10 17:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8e8dc0012d196700071feeb8003a005620..."} 
[2026-08-10 17:35:48] local.INFO: Processing buffer {"connection_id":152058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8e8dc0012d196700071feeb8003a005620..."} 
[2026-08-10 17:35:48] local.INFO: Packet analysis {"connection_id":152058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8e"} 
[2026-08-10 17:35:48] local.INFO: Extracted packet for processing {"connection_id":152058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8e"} 
[2026-08-10 17:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":32,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309029120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786363416000,"timestamp_ms":1786363416000,"timestamp_seconds":1786363416,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8e8dc0"} 
[2026-08-10 17:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 17:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309029120001,"66":12374,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309029120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:35:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:35:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309029120001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":152058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:35:48] local.INFO: GPS data processed {"connection_id":152058,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:35:48] local.INFO: Acknowledgment sent {"connection_id":152058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:35:48] local.INFO: TCP Data received {"connection_id":152988,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8f4940012d7e740005df9dc0000600a128..."} 
[2026-08-10 17:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8f4940012d7e740005df9dc0000600a128..."} 
[2026-08-10 17:35:48] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8f4940012d7e740005df9dc0000600a128..."} 
[2026-08-10 17:35:48] local.INFO: Packet analysis {"connection_id":152988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8f"} 
[2026-08-10 17:35:48] local.INFO: Extracted packet for processing {"connection_id":152988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8f"} 
[2026-08-10 17:35:48] local.INFO: GPS Element Parsed {"raw_longitude":763261952,"raw_latitude":98540992,"longitude_deg":76.3261952,"latitude_deg":9.8540992,"altitude":6,"angle":161,"satellites":40,"speed":41,"hex_longitude":"2d7e7400","hex_latitude":"05df9dc0","is_valid_coordinates":true} 
[2026-08-10 17:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309044480001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117322988809879552,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9109374696515692544,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786363464000,"timestamp_ms":1786363464000,"timestamp_seconds":1786363464,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8f4940"} 
[2026-08-10 17:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3951966160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2391142401,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-6588766241947178752,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1483210958,"corrected_to":0} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407128,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3460890624,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3766540288,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57799578234017083,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.WARNING: Large IO value detected {"io_id":142,"raw_value":1488440971748392965,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,104,85,24,241,157,16,208,159,255,45,128,226,4,42,10,66,207,215,192,6,3,40,180,1,240,105,227,235,224,113,205,29,87,63,239,52,2,160,5,38,166,142],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1483210958,"validated":0}]} 
[2026-08-10 17:35:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360473959456047104,"timestamp_seconds":360473959456047.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309044480001,"66":13472,"104":206,"85":15104,"24":41,"16":117322988809879552,"45":9109374696515692544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-10 17:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309044480001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:35:48] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-10 17:35:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117322988809879552,"km_value":117322988809879.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9109374696515692544,"description":"Unknown IO ID 45"} 
[2026-08-10 17:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309044480001,"power":13472,"unknown_104":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9109374696515692544}} 
[2026-08-10 17:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":152988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:35:48] local.INFO: GPS data processed {"connection_id":152988,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:35:48] local.INFO: Acknowledgment sent {"connection_id":152988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:35:53] local.INFO: TCP Data received {"connection_id":152058,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8edfc8012d196700071feeb8003a00561e..."} 
[2026-08-10 17:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8edfc8012d196700071feeb8003a00561e..."} 
[2026-08-10 17:35:53] local.INFO: Processing buffer {"connection_id":152058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8edfc8012d196700071feeb8003a00561e..."} 
[2026-08-10 17:35:53] local.INFO: Packet analysis {"connection_id":152058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8e"} 
[2026-08-10 17:35:53] local.INFO: Extracted packet for processing {"connection_id":152058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8e"} 
[2026-08-10 17:35:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":58,"angle":86,"satellites":30,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-08-10 17:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309034496001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496132802772992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786363437000,"timestamp_ms":1786363437000,"timestamp_seconds":1786363437,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8edfc8"} 
[2026-08-10 17:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 17:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309034496001,"66":12113,"121":206,"28":31744,"24":0,"16":11496132802772992,"45":1830431804149905408},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309034496001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:35:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:35:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496132802772992,"km_value":11496132802772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309034496001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-08-10 17:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":152058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:35:53] local.INFO: GPS data processed {"connection_id":152058,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:35:53] local.INFO: Acknowledgment sent {"connection_id":152058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:36:03] local.INFO: TCP Data received {"connection_id":152989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:36:03] local.INFO: Processing buffer {"connection_id":152989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:36:03] local.INFO: IMEI packet received {"connection_id":152989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":152989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:36:07] local.INFO: TCP Data received {"connection_id":154438,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:36:07] local.INFO: Processing buffer {"connection_id":154438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:36:07] local.INFO: IMEI packet received {"connection_id":154438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":154438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:36:08] local.INFO: TCP Data received {"connection_id":154438,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:36:08] local.INFO: Processing buffer {"connection_id":154438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:36:08] local.INFO: IMEI packet received {"connection_id":154438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":154438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:36:08] local.INFO: TCP Data received {"connection_id":152989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:36:08] local.INFO: Processing buffer {"connection_id":152989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:36:08] local.INFO: IMEI packet received {"connection_id":152989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":152989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:36:09] local.INFO: TCP Data received {"connection_id":152989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:36:09] local.INFO: Processing buffer {"connection_id":152989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:36:09] local.INFO: Packet analysis {"connection_id":152989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:36:09] local.INFO: Extracted packet for processing {"connection_id":152989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308984064001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786363520000,"timestamp_ms":1786363520000,"timestamp_seconds":1786363520,"priority":1,"record_length":96,"hex_timestamp":"0000019feb902400"} 
[2026-08-10 17:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308984064001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308984064001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:36:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308984064001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":152989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:36:09] local.INFO: GPS data processed {"connection_id":152989,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:36:09] local.INFO: Acknowledgment sent {"connection_id":152989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:36:12] local.INFO: TCP Data received {"connection_id":154438,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:36:12] local.INFO: Processing buffer {"connection_id":154438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:36:12] local.INFO: IMEI packet received {"connection_id":154438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":154438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:36:13] local.INFO: TCP Data received {"connection_id":154438,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8f6c68012d7e800005df7bd8000400a028..."} 
[2026-08-10 17:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8f6c68012d7e800005df7bd8000400a028..."} 
[2026-08-10 17:36:13] local.INFO: Processing buffer {"connection_id":154438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8f6c68012d7e800005df7bd8000400a028..."} 
[2026-08-10 17:36:13] local.INFO: Packet analysis {"connection_id":154438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8f"} 
[2026-08-10 17:36:13] local.INFO: Extracted packet for processing {"connection_id":154438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8f"} 
[2026-08-10 17:36:13] local.INFO: GPS Element Parsed {"raw_longitude":763265024,"raw_latitude":98532312,"longitude_deg":76.3265024,"latitude_deg":9.8532312,"altitude":4,"angle":160,"satellites":40,"speed":36,"hex_longitude":"2d7e8000","hex_latitude":"05df7bd8","is_valid_coordinates":true} 
[2026-08-10 17:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309046784001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117323435486478336,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9111907971303849984,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36: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-08-10 17:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786363473000,"timestamp_ms":1786363473000,"timestamp_seconds":1786363473,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8f6c68"} 
[2026-08-10 17:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 17:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:36: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-08-10 17:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309046784001,"66":13493,"207":206,"85":15104,"24":36,"16":117323435486478336,"45":9111907971303849984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-10 17:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309046784001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:36:13] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-10 17:36:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117323435486478336,"km_value":117323435486478.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9111907971303849984,"description":"Unknown IO ID 45"} 
[2026-08-10 17:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309046784001,"power":13493,"unknown_207":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9111907971303849984}} 
[2026-08-10 17:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":154438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:36:13] local.INFO: GPS data processed {"connection_id":154438,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:36:13] local.INFO: Acknowledgment sent {"connection_id":154438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:36:16] local.INFO: TCP Data received {"connection_id":154438,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb8f9378012d7e8b0005df5978000300a328..."} 
[2026-08-10 17:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb8f9378012d7e8b0005df5978000300a328..."} 
[2026-08-10 17:36:16] local.INFO: Processing buffer {"connection_id":154438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb8f9378012d7e8b0005df5978000300a328..."} 
[2026-08-10 17:36:16] local.INFO: Packet analysis {"connection_id":154438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb8f"} 
[2026-08-10 17:36:16] local.INFO: Extracted packet for processing {"connection_id":154438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb8f"} 
[2026-08-10 17:36:16] local.INFO: GPS Element Parsed {"raw_longitude":763267840,"raw_latitude":98523512,"longitude_deg":76.326784,"latitude_deg":9.8523512,"altitude":3,"angle":163,"satellites":40,"speed":37,"hex_longitude":"2d7e8b00","hex_latitude":"05df5978","is_valid_coordinates":true} 
[2026-08-10 17:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309049088001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117323882163077120,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115285671022155776,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786363483000,"timestamp_ms":1786363483000,"timestamp_seconds":1786363483,"priority":1,"record_length":96,"hex_timestamp":"0000019feb8f9378"} 
[2026-08-10 17:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":181,"data_length":795,"current_offset":136} 
[2026-08-10 17:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:36: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-08-10 17:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309049088001,"66":13319,"207":206,"85":15104,"24":37,"16":117323882163077120,"45":9115285671022155776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-10 17:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309049088001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:36:16] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-10 17:36:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117323882163077120,"km_value":117323882163077.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115285671022155776,"description":"Unknown IO ID 45"} 
[2026-08-10 17:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309049088001,"power":13319,"unknown_207":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9115285671022155776}} 
[2026-08-10 17:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":154438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:36:16] local.INFO: GPS data processed {"connection_id":154438,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:36:16] local.INFO: Acknowledgment sent {"connection_id":154438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:36:25] local.INFO: TCP Data received {"connection_id":152058,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9027e8012d19a5c0071ff160003a00681f..."} 
[2026-08-10 17:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9027e8012d19a5c0071ff160003a00681f..."} 
[2026-08-10 17:36:25] local.INFO: Processing buffer {"connection_id":152058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9027e8012d19a5c0071ff160003a00681f..."} 
[2026-08-10 17:36:25] local.INFO: Packet analysis {"connection_id":152058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:36:25] local.INFO: Extracted packet for processing {"connection_id":152058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:36:25] local.INFO: GPS Element Parsed {"raw_longitude":756655552,"raw_latitude":119533920,"longitude_deg":75.6655552,"latitude_deg":11.953392,"altitude":58,"angle":104,"satellites":31,"speed":14,"hex_longitude":"2d19a5c0","hex_latitude":"071ff160","is_valid_coordinates":true} 
[2026-08-10 17:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496927371722752,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883961976832,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36: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-08-10 17:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786363521000,"timestamp_ms":1786363521000,"timestamp_seconds":1786363521,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9027e8"} 
[2026-08-10 17:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 17:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":14102,"121":206,"28":31744,"24":14,"16":11496927371722752,"45":1847812883961976832},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:36:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:36:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496927371722752,"km_value":11496927371722.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883961976832,"description":"Unknown IO ID 45"} 
[2026-08-10 17:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1847812883961976832}} 
[2026-08-10 17:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":152058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:36:25] local.INFO: GPS data processed {"connection_id":152058,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:36:25] local.INFO: Acknowledgment sent {"connection_id":152058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:36:40] local.INFO: TCP Data received {"connection_id":152059,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:36:40] local.INFO: Processing buffer {"connection_id":152059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:36:40] local.INFO: IMEI packet received {"connection_id":152059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":152059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:36:40] local.INFO: TCP Data received {"connection_id":152989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:36:40] local.INFO: Processing buffer {"connection_id":152989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:36:40] local.INFO: Packet analysis {"connection_id":152989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:36:40] local.INFO: Extracted packet for processing {"connection_id":152989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:36:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308984064001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786363520000,"timestamp_ms":1786363520000,"timestamp_seconds":1786363520,"priority":1,"record_length":96,"hex_timestamp":"0000019feb902400"} 
[2026-08-10 17:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:36: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-08-10 17:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308984064001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308984064001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:36:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:36:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308984064001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":152989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:36:40] local.INFO: GPS data processed {"connection_id":152989,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:36:40] local.INFO: Acknowledgment sent {"connection_id":152989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:36:41] local.INFO: TCP Data received {"connection_id":152059,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:36:41] local.INFO: Processing buffer {"connection_id":152059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:36:41] local.INFO: IMEI packet received {"connection_id":152059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":152059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:36:47] local.INFO: TCP Data received {"connection_id":152059,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:36:47] local.INFO: Processing buffer {"connection_id":152059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:36:47] local.INFO: IMEI packet received {"connection_id":152059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":152059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:36:47] local.INFO: TCP Data received {"connection_id":154438,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb911630012d7ee28005de7c400003009f27..."} 
[2026-08-10 17:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb911630012d7ee28005de7c400003009f27..."} 
[2026-08-10 17:36:47] local.INFO: Processing buffer {"connection_id":154438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb911630012d7ee28005de7c400003009f27..."} 
[2026-08-10 17:36:47] local.INFO: Packet analysis {"connection_id":154438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb91"} 
[2026-08-10 17:36:47] local.INFO: Extracted packet for processing {"connection_id":154438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb91"} 
[2026-08-10 17:36:47] local.INFO: GPS Element Parsed {"raw_longitude":763290240,"raw_latitude":98466880,"longitude_deg":76.329024,"latitude_deg":9.846688,"altitude":3,"angle":159,"satellites":39,"speed":37,"hex_longitude":"2d7ee280","hex_latitude":"05de7c40","is_valid_coordinates":true} 
[2026-08-10 17:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309074688001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117326901525086208,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139703625237188608,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786363582000,"timestamp_ms":1786363582000,"timestamp_seconds":1786363582,"priority":1,"record_length":96,"hex_timestamp":"0000019feb911630"} 
[2026-08-10 17:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 17:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309074688001,"66":13254,"206":206,"85":15104,"24":37,"16":117326901525086208,"45":9139703625237188608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-10 17:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309074688001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:36:47] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 17:36:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117326901525086208,"km_value":117326901525086.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139703625237188608,"description":"Unknown IO ID 45"} 
[2026-08-10 17:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309074688001,"power":13254,"unknown_206":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9139703625237188608}} 
[2026-08-10 17:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":154438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:36:47] local.INFO: GPS data processed {"connection_id":154438,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:36:47] local.INFO: Acknowledgment sent {"connection_id":154438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:36:48] local.INFO: TCP Data received {"connection_id":152059,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb903f58012d19b240071fef380039005b1f..."} 
[2026-08-10 17:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb903f58012d19b240071fef380039005b1f..."} 
[2026-08-10 17:36:48] local.INFO: Processing buffer {"connection_id":152059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb903f58012d19b240071fef380039005b1f..."} 
[2026-08-10 17:36:48] local.INFO: Packet analysis {"connection_id":152059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:36:48] local.INFO: Extracted packet for processing {"connection_id":152059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756658752,"raw_latitude":119533368,"longitude_deg":75.6658752,"latitude_deg":11.9533368,"altitude":57,"angle":91,"satellites":31,"speed":16,"hex_longitude":"2d19b240","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-10 17:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061376001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11497081990545408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848094358938673152,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786363527000,"timestamp_ms":1786363527000,"timestamp_seconds":1786363527,"priority":1,"record_length":96,"hex_timestamp":"0000019feb903f58"} 
[2026-08-10 17:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 17:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061376001,"66":14233,"121":206,"28":31744,"24":16,"16":11497081990545408,"45":1848094358938673152},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061376001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:36:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:36:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11497081990545408,"km_value":11497081990545.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848094358938673152,"description":"Unknown IO ID 45"} 
[2026-08-10 17:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061376001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1848094358938673152}} 
[2026-08-10 17:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":152059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:36:48] local.INFO: GPS data processed {"connection_id":152059,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:36:48] local.INFO: Acknowledgment sent {"connection_id":152059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:36:58] local.INFO: TCP Data received {"connection_id":154439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:36:58] local.INFO: Processing buffer {"connection_id":154439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:36:58] local.INFO: IMEI packet received {"connection_id":154439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":154439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:37:03] local.INFO: TCP Data received {"connection_id":154439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:37:03] local.INFO: Processing buffer {"connection_id":154439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:37:03] local.INFO: IMEI packet received {"connection_id":154439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":154439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:37:04] local.INFO: TCP Data received {"connection_id":154439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:37:04] local.INFO: Processing buffer {"connection_id":154439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:37:04] local.INFO: Packet analysis {"connection_id":154439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:37:04] local.INFO: Extracted packet for processing {"connection_id":154439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:37:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308984064001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786363520000,"timestamp_ms":1786363520000,"timestamp_seconds":1786363520,"priority":1,"record_length":96,"hex_timestamp":"0000019feb902400"} 
[2026-08-10 17:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:37: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-08-10 17:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308984064001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308984064001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:37:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308984064001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":154439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:37:04] local.INFO: GPS data processed {"connection_id":154439,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:37:04] local.INFO: Acknowledgment sent {"connection_id":154439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:37:07] local.INFO: TCP Data received {"connection_id":154440,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:37:07] local.INFO: Processing buffer {"connection_id":154440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:37:07] local.INFO: IMEI packet received {"connection_id":154440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":154440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:37:10] local.INFO: TCP Data received {"connection_id":154440,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:37:10] local.INFO: Processing buffer {"connection_id":154440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:37:10] local.INFO: IMEI packet received {"connection_id":154440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":154440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:37:12] local.INFO: TCP Data received {"connection_id":154440,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb913d40012d7ef04005de5820000300a127..."} 
[2026-08-10 17:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb913d40012d7ef04005de5820000300a127..."} 
[2026-08-10 17:37:12] local.INFO: Processing buffer {"connection_id":154440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb913d40012d7ef04005de5820000300a127..."} 
[2026-08-10 17:37:12] local.INFO: Packet analysis {"connection_id":154440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb91"} 
[2026-08-10 17:37:12] local.INFO: Extracted packet for processing {"connection_id":154440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb91"} 
[2026-08-10 17:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763293760,"raw_latitude":98457632,"longitude_deg":76.329376,"latitude_deg":9.8457632,"altitude":3,"angle":161,"satellites":39,"speed":44,"hex_longitude":"2d7ef040","hex_latitude":"05de5820","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309076992001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117327382561423360,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143010956211404800,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786363592000,"timestamp_ms":1786363592000,"timestamp_seconds":1786363592,"priority":1,"record_length":96,"hex_timestamp":"0000019feb913d40"} 
[2026-08-10 17:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 17:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:37: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-08-10 17:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309076992001,"66":13450,"205":206,"85":15104,"24":44,"16":117327382561423360,"45":9143010956211404800},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-10 17:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309076992001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117327382561423360,"km_value":117327382561423.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143010956211404800,"description":"Unknown IO ID 45"} 
[2026-08-10 17:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309076992001,"power":13450,"cell_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9143010956211404800}} 
[2026-08-10 17:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":154440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:37:12] local.INFO: GPS data processed {"connection_id":154440,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:37:12] local.INFO: Acknowledgment sent {"connection_id":154440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:37:20] local.INFO: TCP Data received {"connection_id":152059,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9085a8012d19b900071ff0000037004d1f..."} 
[2026-08-10 17:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9085a8012d19b900071ff0000037004d1f..."} 
[2026-08-10 17:37:20] local.INFO: Processing buffer {"connection_id":152059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9085a8012d19b900071ff0000037004d1f..."} 
[2026-08-10 17:37:20] local.INFO: Packet analysis {"connection_id":152059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:37:20] local.INFO: Extracted packet for processing {"connection_id":152059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119533568,"longitude_deg":75.666048,"latitude_deg":11.9533568,"altitude":55,"angle":77,"satellites":31,"speed":5,"hex_longitude":"2d19b900","hex_latitude":"071ff000","is_valid_coordinates":true} 
[2026-08-10 17:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309062912001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11497163594924032,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851612796147415040,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786363545000,"timestamp_ms":1786363545000,"timestamp_seconds":1786363545,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9085a8"} 
[2026-08-10 17:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 17:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309062912001,"66":14189,"121":206,"28":31744,"24":5,"16":11497163594924032,"45":1851612796147415040},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309062912001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:37:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:37:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11497163594924032,"km_value":11497163594924.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851612796147415040,"description":"Unknown IO ID 45"} 
[2026-08-10 17:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309062912001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1851612796147415040}} 
[2026-08-10 17:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":152059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:37:20] local.INFO: GPS data processed {"connection_id":152059,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:37:20] local.INFO: Acknowledgment sent {"connection_id":152059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:37:35] local.INFO: TCP Data received {"connection_id":154439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:37:35] local.INFO: Processing buffer {"connection_id":154439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:37:35] local.INFO: Packet analysis {"connection_id":154439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:37:35] local.INFO: Extracted packet for processing {"connection_id":154439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308984064001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786363520000,"timestamp_ms":1786363520000,"timestamp_seconds":1786363520,"priority":1,"record_length":96,"hex_timestamp":"0000019feb902400"} 
[2026-08-10 17:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:37: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-08-10 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308984064001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308984064001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:37:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308984064001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":154439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:37:35] local.INFO: GPS data processed {"connection_id":154439,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:37:35] local.INFO: Acknowledgment sent {"connection_id":154439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:37:41] local.INFO: TCP Data received {"connection_id":151678,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:37:41] local.INFO: Processing buffer {"connection_id":151678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:37:41] local.INFO: IMEI packet received {"connection_id":151678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":151678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:37:41] local.INFO: TCP Data received {"connection_id":151678,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:37:41] local.INFO: Processing buffer {"connection_id":151678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:37:41] local.INFO: IMEI packet received {"connection_id":151678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":151678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:37:43] local.INFO: TCP Data received {"connection_id":154440,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb915c80012d7efb8005de34e0000300a227..."} 
[2026-08-10 17:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb915c80012d7efb8005de34e0000300a227..."} 
[2026-08-10 17:37:43] local.INFO: Processing buffer {"connection_id":154440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb915c80012d7efb8005de34e0000300a227..."} 
[2026-08-10 17:37:43] local.INFO: Packet analysis {"connection_id":154440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb91"} 
[2026-08-10 17:37:43] local.INFO: Extracted packet for processing {"connection_id":154440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb91"} 
[2026-08-10 17:37:43] local.INFO: GPS Element Parsed {"raw_longitude":763296640,"raw_latitude":98448608,"longitude_deg":76.329664,"latitude_deg":9.8448608,"altitude":3,"angle":162,"satellites":39,"speed":49,"hex_longitude":"2d7efb80","hex_latitude":"05de34e0","is_valid_coordinates":true} 
[2026-08-10 17:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309079552001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117327842122924032,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146881237138808832,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786363600000,"timestamp_ms":1786363600000,"timestamp_seconds":1786363600,"priority":1,"record_length":96,"hex_timestamp":"0000019feb915c80"} 
[2026-08-10 17:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 17:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":154440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":154440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":154440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:37: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-08-10 17:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309079552001,"66":13461,"205":206,"85":15104,"24":49,"16":117327842122924032,"45":9146881237138808832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-10 17:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309079552001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117327842122924032,"km_value":117327842122924.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146881237138808832,"description":"Unknown IO ID 45"} 
[2026-08-10 17:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309079552001,"power":13461,"cell_id":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9146881237138808832}} 
[2026-08-10 17:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":154440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:37:43] local.INFO: GPS data processed {"connection_id":154440,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:37:43] local.INFO: Acknowledgment sent {"connection_id":154440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:37:47] local.INFO: TCP Data received {"connection_id":151678,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:37:47] local.INFO: Processing buffer {"connection_id":151678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:37:47] local.INFO: IMEI packet received {"connection_id":151678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":151678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:37:48] local.INFO: TCP Data received {"connection_id":151678,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb90b0a0012d19ca00071ff378003600301e..."} 
[2026-08-10 17:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb90b0a0012d19ca00071ff378003600301e..."} 
[2026-08-10 17:37:48] local.INFO: Processing buffer {"connection_id":151678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb90b0a0012d19ca00071ff378003600301e..."} 
[2026-08-10 17:37:48] local.INFO: Packet analysis {"connection_id":151678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:37:48] local.INFO: Extracted packet for processing {"connection_id":151678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:37:48] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119534456,"longitude_deg":75.6664832,"latitude_deg":11.9534456,"altitude":54,"angle":48,"satellites":30,"speed":13,"hex_longitude":"2d19ca00","hex_latitude":"071ff378","is_valid_coordinates":true} 
[2026-08-10 17:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309067520001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11497374048321536,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752240263168,"note":"Value kept but may cause issues"} 
[2026-08-10 17:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786363556000,"timestamp_ms":1786363556000,"timestamp_seconds":1786363556,"priority":1,"record_length":96,"hex_timestamp":"0000019feb90b0a0"} 
[2026-08-10 17:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 17:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309067520001,"66":13689,"121":206,"28":31744,"24":13,"16":11497374048321536,"45":1853512752240263168},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309067520001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:37:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:37:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11497374048321536,"km_value":11497374048321.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752240263168,"description":"Unknown IO ID 45"} 
[2026-08-10 17:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309067520001,"power":13689,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1853512752240263168}} 
[2026-08-10 17:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":151678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:37:48] local.INFO: GPS data processed {"connection_id":151678,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:37:48] local.INFO: Acknowledgment sent {"connection_id":151678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:38:03] local.INFO: TCP Data received {"connection_id":152060,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:38:03] local.INFO: Processing buffer {"connection_id":152060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:38:03] local.INFO: IMEI packet received {"connection_id":152060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":152060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:38:07] local.INFO: TCP Data received {"connection_id":152061,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:38:07] local.INFO: Processing buffer {"connection_id":152061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:38:07] local.INFO: IMEI packet received {"connection_id":152061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":152061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:38:08] local.INFO: TCP Data received {"connection_id":152060,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:38:08] local.INFO: Processing buffer {"connection_id":152060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:38:08] local.INFO: IMEI packet received {"connection_id":152060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":152060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:38:09] local.INFO: TCP Data received {"connection_id":152061,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:38:09] local.INFO: Processing buffer {"connection_id":152061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:38:09] local.INFO: IMEI packet received {"connection_id":152061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":152061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:38:11] local.INFO: TCP Data received {"connection_id":152060,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:38:11] local.INFO: Processing buffer {"connection_id":152060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:38:11] local.INFO: Packet analysis {"connection_id":152060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:38:11] local.INFO: Extracted packet for processing {"connection_id":152060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308984064001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786363520000,"timestamp_ms":1786363520000,"timestamp_seconds":1786363520,"priority":1,"record_length":96,"hex_timestamp":"0000019feb902400"} 
[2026-08-10 17:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:38: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-08-10 17:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308984064001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308984064001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:38:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308984064001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":152060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:38:11] local.INFO: GPS data processed {"connection_id":152060,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:38:11] local.INFO: Acknowledgment sent {"connection_id":152060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:38:12] local.INFO: TCP Data received {"connection_id":152061,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:38:12] local.INFO: Processing buffer {"connection_id":152061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:38:12] local.INFO: IMEI packet received {"connection_id":152061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":152061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:38:12] local.INFO: TCP Data received {"connection_id":152061,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb917bc0012d7f088005de12b00004009c28..."} 
[2026-08-10 17:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb917bc0012d7f088005de12b00004009c28..."} 
[2026-08-10 17:38:12] local.INFO: Processing buffer {"connection_id":152061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb917bc0012d7f088005de12b00004009c28..."} 
[2026-08-10 17:38:12] local.INFO: Packet analysis {"connection_id":152061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb91"} 
[2026-08-10 17:38:12] local.INFO: Extracted packet for processing {"connection_id":152061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb91"} 
[2026-08-10 17:38:12] local.INFO: GPS Element Parsed {"raw_longitude":763299968,"raw_latitude":98439856,"longitude_deg":76.3299968,"latitude_deg":9.8439856,"altitude":4,"angle":156,"satellites":40,"speed":42,"hex_longitude":"2d7f0880","hex_latitude":"05de12b0","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309081600001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117328293094490112,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150047830624493568,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786363608000,"timestamp_ms":1786363608000,"timestamp_seconds":1786363608,"priority":1,"record_length":96,"hex_timestamp":"0000019feb917bc0"} 
[2026-08-10 17:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-10 17:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:38: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-08-10 17:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309081600001,"66":13363,"205":206,"85":15104,"24":42,"16":117328293094490112,"45":9150047830624493568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-10 17:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309081600001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117328293094490112,"km_value":117328293094490.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150047830624493568,"description":"Unknown IO ID 45"} 
[2026-08-10 17:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309081600001,"power":13363,"cell_id":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9150047830624493568}} 
[2026-08-10 17:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":152061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:38:13] local.INFO: GPS data processed {"connection_id":152061,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:38:13] local.INFO: Acknowledgment sent {"connection_id":152061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:38:14] local.INFO: TCP Data received {"connection_id":152060,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:38:14] local.INFO: Processing buffer {"connection_id":152060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:38:14] local.INFO: Packet analysis {"connection_id":152060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:38:14] local.INFO: Extracted packet for processing {"connection_id":152060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308984064001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786363520000,"timestamp_ms":1786363520000,"timestamp_seconds":1786363520,"priority":1,"record_length":96,"hex_timestamp":"0000019feb902400"} 
[2026-08-10 17:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308984064001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308984064001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:38:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:38:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308984064001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":152060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:38:14] local.INFO: GPS data processed {"connection_id":152060,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:38:14] local.INFO: Acknowledgment sent {"connection_id":152060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:38:17] local.INFO: TCP Data received {"connection_id":152061,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb91c9e0012d7f110005ddfeb00005009a28..."} 
[2026-08-10 17:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb91c9e0012d7f110005ddfeb00005009a28..."} 
[2026-08-10 17:38:17] local.INFO: Processing buffer {"connection_id":152061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb91c9e0012d7f110005ddfeb00005009a28..."} 
[2026-08-10 17:38:17] local.INFO: Packet analysis {"connection_id":152061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb91"} 
[2026-08-10 17:38:17] local.INFO: Extracted packet for processing {"connection_id":152061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb91"} 
[2026-08-10 17:38:17] local.INFO: GPS Element Parsed {"raw_longitude":763302144,"raw_latitude":98434736,"longitude_deg":76.3302144,"latitude_deg":9.8434736,"altitude":5,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d7f1100","hex_latitude":"05ddfeb0","is_valid_coordinates":true} 
[2026-08-10 17:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309083648001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117328572267364352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153707005319491584,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786363628000,"timestamp_ms":1786363628000,"timestamp_seconds":1786363628,"priority":1,"record_length":96,"hex_timestamp":"0000019feb91c9e0"} 
[2026-08-10 17:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 17:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309083648001,"66":12765,"205":206,"85":15104,"24":0,"16":117328572267364352,"45":9153707005319491584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-10 17:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309083648001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:38:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117328572267364352,"km_value":117328572267364.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153707005319491584,"description":"Unknown IO ID 45"} 
[2026-08-10 17:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309083648001,"power":12765,"cell_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9153707005319491584}} 
[2026-08-10 17:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":152061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:38:17] local.INFO: GPS data processed {"connection_id":152061,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:38:17] local.INFO: Acknowledgment sent {"connection_id":152061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:38:20] local.INFO: TCP Data received {"connection_id":151678,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb90b488012d19ca80071ff4a80036001a1e..."} 
[2026-08-10 17:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb90b488012d19ca80071ff4a80036001a1e..."} 
[2026-08-10 17:38:20] local.INFO: Processing buffer {"connection_id":151678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb90b488012d19ca80071ff4a80036001a1e..."} 
[2026-08-10 17:38:20] local.INFO: Packet analysis {"connection_id":151678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:38:20] local.INFO: Extracted packet for processing {"connection_id":151678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:38:20] local.INFO: GPS Element Parsed {"raw_longitude":756664960,"raw_latitude":119534760,"longitude_deg":75.666496,"latitude_deg":11.953476,"altitude":54,"angle":26,"satellites":30,"speed":13,"hex_longitude":"2d19ca80","hex_latitude":"071ff4a8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309070336001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11497391228190720,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826844571648,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786363557000,"timestamp_ms":1786363557000,"timestamp_seconds":1786363557,"priority":1,"record_length":96,"hex_timestamp":"0000019feb90b488"} 
[2026-08-10 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-08-10 17:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-10 17:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 17:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309070336001,"66":13993,"121":206,"28":31744,"24":13,"16":11497391228190720,"45":1858297826844571648},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309070336001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:38:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:38:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11497391228190720,"km_value":11497391228190.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826844571648,"description":"Unknown IO ID 45"} 
[2026-08-10 17:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309070336001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1858297826844571648}} 
[2026-08-10 17:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":151678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:38:20] local.INFO: GPS data processed {"connection_id":151678,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:38:20] local.INFO: Acknowledgment sent {"connection_id":151678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:38:41] local.INFO: TCP Data received {"connection_id":154441,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:38:41] local.INFO: Processing buffer {"connection_id":154441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:38:41] local.INFO: IMEI packet received {"connection_id":154441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":154441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:38:44] local.INFO: TCP Data received {"connection_id":154441,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:38:44] local.INFO: Processing buffer {"connection_id":154441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:38:44] local.INFO: IMEI packet received {"connection_id":154441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":154441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:38:47] local.INFO: TCP Data received {"connection_id":154441,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:38:47] local.INFO: Processing buffer {"connection_id":154441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:38:47] local.INFO: IMEI packet received {"connection_id":154441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":154441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:38:48] local.INFO: TCP Data received {"connection_id":154441,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb925a68012d19da4007200cb8002e01261e..."} 
[2026-08-10 17:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb925a68012d19da4007200cb8002e01261e..."} 
[2026-08-10 17:38:48] local.INFO: Processing buffer {"connection_id":154441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb925a68012d19da4007200cb8002e01261e..."} 
[2026-08-10 17:38:48] local.INFO: Packet analysis {"connection_id":154441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb92"} 
[2026-08-10 17:38:48] local.INFO: Extracted packet for processing {"connection_id":154441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb92"} 
[2026-08-10 17:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756668992,"raw_latitude":119540920,"longitude_deg":75.6668992,"latitude_deg":11.954092,"altitude":46,"angle":294,"satellites":30,"speed":0,"hex_longitude":"2d19da40","hex_latitude":"07200cb8","is_valid_coordinates":true} 
[2026-08-10 17:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309092864001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11497833609822208,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862871795217774592,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786363665000,"timestamp_ms":1786363665000,"timestamp_seconds":1786363665,"priority":1,"record_length":96,"hex_timestamp":"0000019feb925a68"} 
[2026-08-10 17:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 17:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309092864001,"66":13515,"121":206,"28":31744,"24":0,"16":11497833609822208,"45":1862871795217774592},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309092864001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:38:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:38:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11497833609822208,"km_value":11497833609822.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862871795217774592,"description":"Unknown IO ID 45"} 
[2026-08-10 17:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309092864001,"power":13515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1862871795217774592}} 
[2026-08-10 17:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":154441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:38:48] local.INFO: GPS data processed {"connection_id":154441,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:38:48] local.INFO: Acknowledgment sent {"connection_id":154441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:38:52] local.INFO: TCP Data received {"connection_id":152061,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb933910012d7f788005dcd280000300a12a..."} 
[2026-08-10 17:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb933910012d7f788005dcd280000300a12a..."} 
[2026-08-10 17:38:52] local.INFO: Processing buffer {"connection_id":152061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb933910012d7f788005dcd280000300a12a..."} 
[2026-08-10 17:38:52] local.INFO: Packet analysis {"connection_id":152061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb93"} 
[2026-08-10 17:38:52] local.INFO: Extracted packet for processing {"connection_id":152061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb93"} 
[2026-08-10 17:38:52] local.INFO: GPS Element Parsed {"raw_longitude":763328640,"raw_latitude":98357888,"longitude_deg":76.332864,"latitude_deg":9.8357888,"altitude":3,"angle":161,"satellites":42,"speed":38,"hex_longitude":"2d7f7880","hex_latitude":"05dcd280","is_valid_coordinates":true} 
[2026-08-10 17:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309110528001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117332575176884224,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9182558190413549568,"note":"Value kept but may cause issues"} 
[2026-08-10 17:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786363722000,"timestamp_ms":1786363722000,"timestamp_seconds":1786363722,"priority":1,"record_length":96,"hex_timestamp":"0000019feb933910"} 
[2026-08-10 17:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 17:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309110528001,"66":13493,"111":206,"85":15104,"24":38,"16":117332575176884224,"45":9182558190413549568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-10 17:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309110528001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:38:52] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-10 17:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117332575176884224,"km_value":117332575176884.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9182558190413549568,"description":"Unknown IO ID 45"} 
[2026-08-10 17:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309110528001,"power":13493,"unknown_111":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9182558190413549568}} 
[2026-08-10 17:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":152061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:38:52] local.INFO: GPS data processed {"connection_id":152061,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:38:52] local.INFO: Acknowledgment sent {"connection_id":152061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:38:58] local.INFO: TCP Data received {"connection_id":151679,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:38:58] local.INFO: Processing buffer {"connection_id":151679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:38:58] local.INFO: IMEI packet received {"connection_id":151679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":151679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:39:03] local.INFO: TCP Data received {"connection_id":151679,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:39:03] local.INFO: Processing buffer {"connection_id":151679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:39:03] local.INFO: IMEI packet received {"connection_id":151679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":151679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:39:09] local.INFO: TCP Data received {"connection_id":151680,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:39:09] local.INFO: Processing buffer {"connection_id":151680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:39:09] local.INFO: IMEI packet received {"connection_id":151680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":151680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:39:13] local.INFO: TCP Data received {"connection_id":151680,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:39:13] local.INFO: Processing buffer {"connection_id":151680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:39:13] local.INFO: IMEI packet received {"connection_id":151680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":151680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:39:14] local.INFO: TCP Data received {"connection_id":151680,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 17:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151680,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 17:39:14] local.INFO: Processing buffer {"connection_id":151680,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 17:39:14] local.INFO: IMEI packet received {"connection_id":151680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":151680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:39:17] local.INFO: TCP Data received {"connection_id":151679,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:39:17] local.INFO: Processing buffer {"connection_id":151679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:39:17] local.INFO: Packet analysis {"connection_id":151679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:39:17] local.INFO: Extracted packet for processing {"connection_id":151679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308984064001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786363520000,"timestamp_ms":1786363520000,"timestamp_seconds":1786363520,"priority":1,"record_length":96,"hex_timestamp":"0000019feb902400"} 
[2026-08-10 17:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308984064001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308984064001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:39:17] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308984064001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":151679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:39:17] local.INFO: GPS data processed {"connection_id":151679,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:39:17] local.INFO: Acknowledgment sent {"connection_id":151679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:39:19] local.INFO: TCP Data received {"connection_id":154441,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb927d90012d19d84007200e200030013a1e..."} 
[2026-08-10 17:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb927d90012d19d84007200e200030013a1e..."} 
[2026-08-10 17:39:19] local.INFO: Processing buffer {"connection_id":154441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb927d90012d19d84007200e200030013a1e..."} 
[2026-08-10 17:39:19] local.INFO: Packet analysis {"connection_id":154441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb92"} 
[2026-08-10 17:39:19] local.INFO: Extracted packet for processing {"connection_id":154441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb92"} 
[2026-08-10 17:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756668480,"raw_latitude":119541280,"longitude_deg":75.666848,"latitude_deg":11.954128,"altitude":48,"angle":314,"satellites":30,"speed":9,"hex_longitude":"2d19d840","hex_latitude":"07200e20","is_valid_coordinates":true} 
[2026-08-10 17:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309098240001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11497867969560576,"note":"Value kept but may cause issues"} 
[2026-08-10 17:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862871795217774592,"note":"Value kept but may cause issues"} 
[2026-08-10 17:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786363674000,"timestamp_ms":1786363674000,"timestamp_seconds":1786363674,"priority":1,"record_length":96,"hex_timestamp":"0000019feb927d90"} 
[2026-08-10 17:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 17:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309098240001,"66":14189,"121":206,"28":31744,"24":9,"16":11497867969560576,"45":1862871795217774592},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309098240001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:39:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:39:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11497867969560576,"km_value":11497867969560.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862871795217774592,"description":"Unknown IO ID 45"} 
[2026-08-10 17:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309098240001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1862871795217774592}} 
[2026-08-10 17:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":154441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:39:19] local.INFO: GPS data processed {"connection_id":154441,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:39:19] local.INFO: Acknowledgment sent {"connection_id":154441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:39:46] local.INFO: TCP Data received {"connection_id":152062,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:39:46] local.INFO: Processing buffer {"connection_id":152062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:39:46] local.INFO: IMEI packet received {"connection_id":152062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":152062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:39:52] local.INFO: TCP Data received {"connection_id":152062,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:39:52] local.INFO: Processing buffer {"connection_id":152062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:39:52] local.INFO: IMEI packet received {"connection_id":152062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":152062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:39:53] local.INFO: TCP Data received {"connection_id":152062,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb934c98012d19ba800720aa000030015c1f..."} 
[2026-08-10 17:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb934c98012d19ba800720aa000030015c1f..."} 
[2026-08-10 17:39:53] local.INFO: Processing buffer {"connection_id":152062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb934c98012d19ba800720aa000030015c1f..."} 
[2026-08-10 17:39:53] local.INFO: Packet analysis {"connection_id":152062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb93"} 
[2026-08-10 17:39:53] local.INFO: Extracted packet for processing {"connection_id":152062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb93"} 
[2026-08-10 17:39:53] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119581184,"longitude_deg":75.6660864,"latitude_deg":11.9581184,"altitude":48,"angle":348,"satellites":31,"speed":20,"hex_longitude":"2d19ba80","hex_latitude":"0720aa00","is_valid_coordinates":true} 
[2026-08-10 17:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309113856001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11499976798502912,"note":"Value kept but may cause issues"} 
[2026-08-10 17:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205739008,"note":"Value kept but may cause issues"} 
[2026-08-10 17:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786363727000,"timestamp_ms":1786363727000,"timestamp_seconds":1786363727,"priority":1,"record_length":96,"hex_timestamp":"0000019feb934c98"} 
[2026-08-10 17:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-10 17:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309113856001,"66":14026,"121":206,"28":31744,"24":20,"16":11499976798502912,"45":1854075702205739008},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309113856001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:39:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:39:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11499976798502912,"km_value":11499976798502.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205739008,"description":"Unknown IO ID 45"} 
[2026-08-10 17:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309113856001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1854075702205739008}} 
[2026-08-10 17:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":152062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:39:53] local.INFO: GPS data processed {"connection_id":152062,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:39:53] local.INFO: Acknowledgment sent {"connection_id":152062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:39:58] local.INFO: TCP Data received {"connection_id":154442,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:39:58] local.INFO: Processing buffer {"connection_id":154442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:39:58] local.INFO: IMEI packet received {"connection_id":154442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":154442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:40:03] local.INFO: TCP Data received {"connection_id":154442,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:40:03] local.INFO: Processing buffer {"connection_id":154442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:40:03] local.INFO: IMEI packet received {"connection_id":154442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":154442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:40:09] local.INFO: TCP Data received {"connection_id":154442,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:40:09] local.INFO: Processing buffer {"connection_id":154442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:40:09] local.INFO: Packet analysis {"connection_id":154442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:40:09] local.INFO: Extracted packet for processing {"connection_id":154442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308984064001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786363520000,"timestamp_ms":1786363520000,"timestamp_seconds":1786363520,"priority":1,"record_length":96,"hex_timestamp":"0000019feb902400"} 
[2026-08-10 17:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308984064001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308984064001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:40:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308984064001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":154442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:40:09] local.INFO: GPS data processed {"connection_id":154442,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:40:09] local.INFO: Acknowledgment sent {"connection_id":154442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:40:26] local.INFO: TCP Data received {"connection_id":152062,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb935080012d19b9400720ab80003101451f..."} 
[2026-08-10 17:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb935080012d19b9400720ab80003101451f..."} 
[2026-08-10 17:40:26] local.INFO: Processing buffer {"connection_id":152062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb935080012d19b9400720ab80003101451f..."} 
[2026-08-10 17:40:26] local.INFO: Packet analysis {"connection_id":152062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb93"} 
[2026-08-10 17:40:26] local.INFO: Extracted packet for processing {"connection_id":152062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb93"} 
[2026-08-10 17:40:26] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119581568,"longitude_deg":75.6660544,"latitude_deg":11.9581568,"altitude":49,"angle":325,"satellites":31,"speed":18,"hex_longitude":"2d19b940","hex_latitude":"0720ab80","is_valid_coordinates":true} 
[2026-08-10 17:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309114112001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11499998273339392,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964717518848,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786363728000,"timestamp_ms":1786363728000,"timestamp_seconds":1786363728,"priority":1,"record_length":96,"hex_timestamp":"0000019feb935080"} 
[2026-08-10 17:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:40: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-08-10 17:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-10 17:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309114112001,"66":14026,"121":206,"28":31744,"24":18,"16":11499998273339392,"45":1853934964717518848},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309114112001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:40:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:40:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11499998273339392,"km_value":11499998273339.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964717518848,"description":"Unknown IO ID 45"} 
[2026-08-10 17:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309114112001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1853934964717518848}} 
[2026-08-10 17:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":152062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:40:26] local.INFO: GPS data processed {"connection_id":152062,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:40:26] local.INFO: Acknowledgment sent {"connection_id":152062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:40:40] local.INFO: TCP Data received {"connection_id":154442,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:40:40] local.INFO: Processing buffer {"connection_id":154442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb902400012d342a4006abc280001a010224..."} 
[2026-08-10 17:40:40] local.INFO: Packet analysis {"connection_id":154442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:40:40] local.INFO: Extracted packet for processing {"connection_id":154442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb90"} 
[2026-08-10 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":26,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457308984064001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786363520000,"timestamp_ms":1786363520000,"timestamp_seconds":1786363520,"priority":1,"record_length":96,"hex_timestamp":"0000019feb902400"} 
[2026-08-10 17:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457308984064001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457308984064001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:40:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:40:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457308984064001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":154442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:40:40] local.INFO: GPS data processed {"connection_id":154442,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:40:40] local.INFO: Acknowledgment sent {"connection_id":154442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:40:42] local.INFO: TCP Data received {"connection_id":151681,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:40:42] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:40:42] local.INFO: IMEI packet received {"connection_id":151681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":151681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:40:42] local.INFO: TCP Data received {"connection_id":151681,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:40:42] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:40:42] local.INFO: IMEI packet received {"connection_id":151681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":151681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:40:45] local.INFO: TCP Data received {"connection_id":151681,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:40:45] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:40:45] local.INFO: IMEI packet received {"connection_id":151681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":151681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:40:47] local.INFO: TCP Data received {"connection_id":151681,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:40:47] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:40:47] local.INFO: IMEI packet received {"connection_id":151681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":151681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:40:48] local.INFO: TCP Data received {"connection_id":151681,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb943310012d190a400720ca900033012d1d..."} 
[2026-08-10 17:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb943310012d190a400720ca900033012d1d..."} 
[2026-08-10 17:40:48] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb943310012d190a400720ca900033012d1d..."} 
[2026-08-10 17:40:48] local.INFO: Packet analysis {"connection_id":151681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:40:48] local.INFO: Extracted packet for processing {"connection_id":151681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756615744,"raw_latitude":119589520,"longitude_deg":75.6615744,"latitude_deg":11.958952,"altitude":51,"angle":301,"satellites":29,"speed":32,"hex_longitude":"2d190a40","hex_latitude":"0720ca90","is_valid_coordinates":true} 
[2026-08-10 17:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309127168001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11502240246267904,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812276668165693440,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786363786000,"timestamp_ms":1786363786000,"timestamp_seconds":1786363786,"priority":1,"record_length":96,"hex_timestamp":"0000019feb943310"} 
[2026-08-10 17:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 17:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309127168001,"66":14298,"121":206,"28":31744,"24":32,"16":11502240246267904,"45":1812276668165693440},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309127168001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:40:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:40:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11502240246267904,"km_value":11502240246267.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812276668165693440,"description":"Unknown IO ID 45"} 
[2026-08-10 17:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309127168001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1812276668165693440}} 
[2026-08-10 17:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":151681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:40:48] local.INFO: GPS data processed {"connection_id":151681,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:40:48] local.INFO: Acknowledgment sent {"connection_id":151681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:40:48] local.INFO: TCP Data received {"connection_id":151681,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb945250012d18f4c00720d8a8003901391e..."} 
[2026-08-10 17:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb945250012d18f4c00720d8a8003901391e..."} 
[2026-08-10 17:40:48] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb945250012d18f4c00720d8a8003901391e..."} 
[2026-08-10 17:40:48] local.INFO: Packet analysis {"connection_id":151681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:40:48] local.INFO: Extracted packet for processing {"connection_id":151681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756610240,"raw_latitude":119593128,"longitude_deg":75.661024,"latitude_deg":11.9593128,"altitude":57,"angle":313,"satellites":30,"speed":35,"hex_longitude":"2d18f4c0","hex_latitude":"0720d8a8","is_valid_coordinates":true} 
[2026-08-10 17:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309129216001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11502553778880512,"note":"Value kept but may cause issues"} 
[2026-08-10 17:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804325000074399744,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786363794000,"timestamp_ms":1786363794000,"timestamp_seconds":1786363794,"priority":1,"record_length":96,"hex_timestamp":"0000019feb945250"} 
[2026-08-10 17:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 17:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309129216001,"66":14135,"121":206,"28":31744,"24":35,"16":11502553778880512,"45":1804325000074399744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309129216001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:40:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:40:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11502553778880512,"km_value":11502553778880.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804325000074399744,"description":"Unknown IO ID 45"} 
[2026-08-10 17:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309129216001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1804325000074399744}} 
[2026-08-10 17:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":151681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:40:49] local.INFO: GPS data processed {"connection_id":151681,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:40:49] local.INFO: Acknowledgment sent {"connection_id":151681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:40:58] local.INFO: TCP Data received {"connection_id":152990,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:40:58] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:40:58] local.INFO: IMEI packet received {"connection_id":152990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":152990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:40:59] local.INFO: TCP Data received {"connection_id":152990,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:40:59] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:40:59] local.INFO: IMEI packet received {"connection_id":152990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":152990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:41:03] local.INFO: TCP Data received {"connection_id":152990,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:41:03] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:41:03] local.INFO: IMEI packet received {"connection_id":152990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":152990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:41:04] local.INFO: TCP Data received {"connection_id":152990,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:41:04] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:41:04] local.INFO: Packet analysis {"connection_id":152990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:41:04] local.INFO: Extracted packet for processing {"connection_id":152990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786363821000,"timestamp_ms":1786363821000,"timestamp_seconds":1786363821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94bbc8"} 
[2026-08-10 17:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:41: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-08-10 17:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:41:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":152990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:41:04] local.INFO: GPS data processed {"connection_id":152990,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:41:04] local.INFO: Acknowledgment sent {"connection_id":152990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:41:20] local.INFO: TCP Data received {"connection_id":151681,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94d720012d18c4c007214580004201661f..."} 
[2026-08-10 17:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94d720012d18c4c007214580004201661f..."} 
[2026-08-10 17:41:20] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94d720012d18c4c007214580004201661f..."} 
[2026-08-10 17:41:20] local.INFO: Packet analysis {"connection_id":151681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:41:20] local.INFO: Extracted packet for processing {"connection_id":151681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119620992,"longitude_deg":75.6597952,"latitude_deg":11.9620992,"altitude":66,"angle":358,"satellites":31,"speed":38,"hex_longitude":"2d18c4c0","hex_latitude":"07214580","is_valid_coordinates":true} 
[2026-08-10 17:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309139456001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11504078492270592,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177285120,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786363828000,"timestamp_ms":1786363828000,"timestamp_seconds":1786363828,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94d720"} 
[2026-08-10 17:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 17:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309139456001,"66":13722,"121":206,"28":31744,"24":38,"16":11504078492270592,"45":1785043964177285120},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309139456001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:41:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:41:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11504078492270592,"km_value":11504078492270.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177285120,"description":"Unknown IO ID 45"} 
[2026-08-10 17:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309139456001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1785043964177285120}} 
[2026-08-10 17:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":151681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:41:20] local.INFO: GPS data processed {"connection_id":151681,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:41:20] local.INFO: Acknowledgment sent {"connection_id":151681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:41:36] local.INFO: TCP Data received {"connection_id":152990,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:41:36] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:41:36] local.INFO: Packet analysis {"connection_id":152990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:41:36] local.INFO: Extracted packet for processing {"connection_id":152990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786363821000,"timestamp_ms":1786363821000,"timestamp_seconds":1786363821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94bbc8"} 
[2026-08-10 17:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:41:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":152990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:41:36] local.INFO: GPS data processed {"connection_id":152990,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:41:36] local.INFO: Acknowledgment sent {"connection_id":152990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:41:44] local.INFO: TCP Data received {"connection_id":152992,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:41:44] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:41:44] local.INFO: IMEI packet received {"connection_id":152992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":152992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:41:47] local.INFO: TCP Data received {"connection_id":152992,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:41:47] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:41:47] local.INFO: IMEI packet received {"connection_id":152992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":152992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:41:52] local.INFO: TCP Data received {"connection_id":152992,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:41:52] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:41:52] local.INFO: IMEI packet received {"connection_id":152992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":152992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:41:53] local.INFO: TCP Data received {"connection_id":152992,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94e2d8012d18c3c007215068004401561f..."} 
[2026-08-10 17:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94e2d8012d18c3c007215068004401561f..."} 
[2026-08-10 17:41:53] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94e2d8012d18c3c007215068004401561f..."} 
[2026-08-10 17:41:53] local.INFO: Packet analysis {"connection_id":152992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:41:53] local.INFO: Extracted packet for processing {"connection_id":152992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:41:53] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119623784,"longitude_deg":75.6597696,"latitude_deg":11.9623784,"altitude":68,"angle":342,"satellites":31,"speed":36,"hex_longitude":"2d18c3c0","hex_latitude":"07215068","is_valid_coordinates":true} 
[2026-08-10 17:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309139968001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11504215931224064,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201065984,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786363831000,"timestamp_ms":1786363831000,"timestamp_seconds":1786363831,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94e2d8"} 
[2026-08-10 17:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-10 17:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309139968001,"66":14265,"121":206,"28":31744,"24":36,"16":11504215931224064,"45":1784762489201065984},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309139968001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:41:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:41:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11504215931224064,"km_value":11504215931224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201065984,"description":"Unknown IO ID 45"} 
[2026-08-10 17:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309139968001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1784762489201065984}} 
[2026-08-10 17:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":152992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:41:53] local.INFO: GPS data processed {"connection_id":152992,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:41:53] local.INFO: Acknowledgment sent {"connection_id":152992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:41:55] local.INFO: TCP Data received {"connection_id":152992,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94eaa8012d18c000072156a8004501441f..."} 
[2026-08-10 17:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94eaa8012d18c000072156a8004501441f..."} 
[2026-08-10 17:41:55] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94eaa8012d18c000072156a8004501441f..."} 
[2026-08-10 17:41:55] local.INFO: Packet analysis {"connection_id":152992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:41:55] local.INFO: Extracted packet for processing {"connection_id":152992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756596736,"raw_latitude":119625384,"longitude_deg":75.6596736,"latitude_deg":11.9625384,"altitude":69,"angle":324,"satellites":31,"speed":35,"hex_longitude":"2d18c000","hex_latitude":"072156a8","is_valid_coordinates":true} 
[2026-08-10 17:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309140736001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11504306125537280,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014225070080,"note":"Value kept but may cause issues"} 
[2026-08-10 17:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786363833000,"timestamp_ms":1786363833000,"timestamp_seconds":1786363833,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94eaa8"} 
[2026-08-10 17:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 17:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309140736001,"66":14298,"121":206,"28":31744,"24":35,"16":11504306125537280,"45":1784481014225070080},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309140736001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:41:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11504306125537280,"km_value":11504306125537.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014225070080,"description":"Unknown IO ID 45"} 
[2026-08-10 17:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309140736001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1784481014225070080}} 
[2026-08-10 17:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":152992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:41:55] local.INFO: GPS data processed {"connection_id":152992,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:41:55] local.INFO: Acknowledgment sent {"connection_id":152992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:41:58] local.INFO: TCP Data received {"connection_id":152993,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:41:58] local.INFO: Processing buffer {"connection_id":152993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:41:58] local.INFO: IMEI packet received {"connection_id":152993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":152993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:42:03] local.INFO: TCP Data received {"connection_id":152993,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:42:03] local.INFO: Processing buffer {"connection_id":152993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:42:03] local.INFO: IMEI packet received {"connection_id":152993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":152993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:42:04] local.INFO: TCP Data received {"connection_id":152993,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:42:04] local.INFO: Processing buffer {"connection_id":152993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:42:04] local.INFO: Packet analysis {"connection_id":152993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:42:04] local.INFO: Extracted packet for processing {"connection_id":152993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786363821000,"timestamp_ms":1786363821000,"timestamp_seconds":1786363821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94bbc8"} 
[2026-08-10 17:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:42: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-08-10 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:42:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":152993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:42:04] local.INFO: GPS data processed {"connection_id":152993,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:42:04] local.INFO: Acknowledgment sent {"connection_id":152993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:42:27] local.INFO: TCP Data received {"connection_id":152992,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9515a0012d18a9c0072172900049012e1f..."} 
[2026-08-10 17:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9515a0012d18a9c0072172900049012e1f..."} 
[2026-08-10 17:42:27] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9515a0012d18a9c0072172900049012e1f..."} 
[2026-08-10 17:42:27] local.INFO: Packet analysis {"connection_id":152992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb95"} 
[2026-08-10 17:42:27] local.INFO: Extracted packet for processing {"connection_id":152992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb95"} 
[2026-08-10 17:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756591040,"raw_latitude":119632528,"longitude_deg":75.659104,"latitude_deg":11.9632528,"altitude":73,"angle":302,"satellites":31,"speed":30,"hex_longitude":"2d18a9c0","hex_latitude":"07217290","is_valid_coordinates":true} 
[2026-08-10 17:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309141248001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11504748507168768,"note":"Value kept but may cause issues"} 
[2026-08-10 17:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783425483062814720,"note":"Value kept but may cause issues"} 
[2026-08-10 17:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786363844000,"timestamp_ms":1786363844000,"timestamp_seconds":1786363844,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9515a0"} 
[2026-08-10 17:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 17:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309141248001,"66":14157,"121":206,"28":31744,"24":30,"16":11504748507168768,"45":1783425483062814720},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309141248001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:42:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:42:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11504748507168768,"km_value":11504748507168.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783425483062814720,"description":"Unknown IO ID 45"} 
[2026-08-10 17:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309141248001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1783425483062814720}} 
[2026-08-10 17:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":152992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:42:27] local.INFO: GPS data processed {"connection_id":152992,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:42:27] local.INFO: Acknowledgment sent {"connection_id":152992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:42:40] local.INFO: TCP Data received {"connection_id":152993,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:42:40] local.INFO: Processing buffer {"connection_id":152993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:42:40] local.INFO: Packet analysis {"connection_id":152993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:42:40] local.INFO: Extracted packet for processing {"connection_id":152993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786363821000,"timestamp_ms":1786363821000,"timestamp_seconds":1786363821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94bbc8"} 
[2026-08-10 17:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:42:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:42:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":152993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:42:40] local.INFO: GPS data processed {"connection_id":152993,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:42:40] local.INFO: Acknowledgment sent {"connection_id":152993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:42:42] local.INFO: TCP Data received {"connection_id":152064,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:42:42] local.INFO: Processing buffer {"connection_id":152064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:42:42] local.INFO: IMEI packet received {"connection_id":152064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":152064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:42:46] local.INFO: TCP Data received {"connection_id":152064,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:42:46] local.INFO: Processing buffer {"connection_id":152064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:42:46] local.INFO: IMEI packet received {"connection_id":152064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":152064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:42:48] local.INFO: TCP Data received {"connection_id":152064,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9515a0012d18a9c0072172900049012e1f..."} 
[2026-08-10 17:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9515a0012d18a9c0072172900049012e1f..."} 
[2026-08-10 17:42:48] local.INFO: Processing buffer {"connection_id":152064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9515a0012d18a9c0072172900049012e1f..."} 
[2026-08-10 17:42:48] local.INFO: Packet analysis {"connection_id":152064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb95"} 
[2026-08-10 17:42:48] local.INFO: Extracted packet for processing {"connection_id":152064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb95"} 
[2026-08-10 17:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756591040,"raw_latitude":119632528,"longitude_deg":75.659104,"latitude_deg":11.9632528,"altitude":73,"angle":302,"satellites":31,"speed":30,"hex_longitude":"2d18a9c0","hex_latitude":"07217290","is_valid_coordinates":true} 
[2026-08-10 17:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309144064001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11504748507168768,"note":"Value kept but may cause issues"} 
[2026-08-10 17:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777162664832831488,"note":"Value kept but may cause issues"} 
[2026-08-10 17:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786363844000,"timestamp_ms":1786363844000,"timestamp_seconds":1786363844,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9515a0"} 
[2026-08-10 17:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 17:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309144064001,"66":14157,"121":206,"28":31744,"24":30,"16":11504748507168768,"45":1777162664832831488},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309144064001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:42:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:42:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11504748507168768,"km_value":11504748507168.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777162664832831488,"description":"Unknown IO ID 45"} 
[2026-08-10 17:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309144064001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1777162664832831488}} 
[2026-08-10 17:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":152064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:42:48] local.INFO: GPS data processed {"connection_id":152064,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:42:48] local.INFO: Acknowledgment sent {"connection_id":152064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:42:58] local.INFO: TCP Data received {"connection_id":152065,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:42:58] local.INFO: Processing buffer {"connection_id":152065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:42:58] local.INFO: IMEI packet received {"connection_id":152065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":152065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:43:04] local.INFO: TCP Data received {"connection_id":152065,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:43:04] local.INFO: Processing buffer {"connection_id":152065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:43:04] local.INFO: IMEI packet received {"connection_id":152065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":152065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:43:04] local.INFO: TCP Data received {"connection_id":152065,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:43:04] local.INFO: Processing buffer {"connection_id":152065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:43:04] local.INFO: Packet analysis {"connection_id":152065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:43:04] local.INFO: Extracted packet for processing {"connection_id":152065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786363821000,"timestamp_ms":1786363821000,"timestamp_seconds":1786363821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94bbc8"} 
[2026-08-10 17:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:43: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-08-10 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:43:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":152065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:43:04] local.INFO: GPS data processed {"connection_id":152065,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:43:04] local.INFO: Acknowledgment sent {"connection_id":152065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:43:09] local.INFO: TCP Data received {"connection_id":152065,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:43:09] local.INFO: Processing buffer {"connection_id":152065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:43:09] local.INFO: Packet analysis {"connection_id":152065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:43:09] local.INFO: Extracted packet for processing {"connection_id":152065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786363821000,"timestamp_ms":1786363821000,"timestamp_seconds":1786363821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94bbc8"} 
[2026-08-10 17:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:43:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":152065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:43:09] local.INFO: GPS data processed {"connection_id":152065,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:43:09] local.INFO: Acknowledgment sent {"connection_id":152065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:43:20] local.INFO: TCP Data received {"connection_id":152064,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb969c40012d180c4007218e20004800e020..."} 
[2026-08-10 17:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb969c40012d180c4007218e20004800e020..."} 
[2026-08-10 17:43:20] local.INFO: Processing buffer {"connection_id":152064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb969c40012d180c4007218e20004800e020..."} 
[2026-08-10 17:43:20] local.INFO: Packet analysis {"connection_id":152064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb96"} 
[2026-08-10 17:43:20] local.INFO: Extracted packet for processing {"connection_id":152064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb96"} 
[2026-08-10 17:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756550720,"raw_latitude":119639584,"longitude_deg":75.655072,"latitude_deg":11.9639584,"altitude":72,"angle":224,"satellites":32,"speed":33,"hex_longitude":"2d180c40","hex_latitude":"07218e20","is_valid_coordinates":true} 
[2026-08-10 17:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309167360001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11506990480097280,"note":"Value kept but may cause issues"} 
[2026-08-10 17:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480654764032,"note":"Value kept but may cause issues"} 
[2026-08-10 17:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786363944000,"timestamp_ms":1786363944000,"timestamp_seconds":1786363944,"priority":1,"record_length":96,"hex_timestamp":"0000019feb969c40"} 
[2026-08-10 17:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-10 17:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309167360001,"66":14102,"122":206,"28":31744,"24":33,"16":11506990480097280,"45":1737052480654764032},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-10 17:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309167360001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:43:20] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-10 17:43:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11506990480097280,"km_value":11506990480097.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480654764032,"description":"Unknown IO ID 45"} 
[2026-08-10 17:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309167360001,"power":14102,"unknown_122":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1737052480654764032}} 
[2026-08-10 17:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":152064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:43:20] local.INFO: GPS data processed {"connection_id":152064,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:43:20] local.INFO: Acknowledgment sent {"connection_id":152064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:43:40] local.INFO: TCP Data received {"connection_id":152065,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:43:40] local.INFO: Processing buffer {"connection_id":152065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:43:40] local.INFO: Packet analysis {"connection_id":152065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:43:40] local.INFO: Extracted packet for processing {"connection_id":152065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786363821000,"timestamp_ms":1786363821000,"timestamp_seconds":1786363821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94bbc8"} 
[2026-08-10 17:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:43: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":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:43:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":152065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:43:40] local.INFO: GPS data processed {"connection_id":152065,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:43:40] local.INFO: Acknowledgment sent {"connection_id":152065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:43:41] local.INFO: TCP Data received {"connection_id":152066,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:43:41] local.INFO: Processing buffer {"connection_id":152066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:43:41] local.INFO: IMEI packet received {"connection_id":152066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":152066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:43:42] local.INFO: TCP Data received {"connection_id":152066,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:43:42] local.INFO: Processing buffer {"connection_id":152066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:43:42] local.INFO: IMEI packet received {"connection_id":152066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":152066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:43:42] local.INFO: TCP Data received {"connection_id":152066,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:43:42] local.INFO: Processing buffer {"connection_id":152066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:43:42] local.INFO: IMEI packet received {"connection_id":152066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":152066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:43:43] local.INFO: TCP Data received {"connection_id":152066,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:43:43] local.INFO: Processing buffer {"connection_id":152066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:43:43] local.INFO: IMEI packet received {"connection_id":152066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":152066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:44:02] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:44:02] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:44:02] local.INFO: IMEI packet received {"connection_id":151683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":151683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:44:03] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:44:03] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:44:03] local.INFO: IMEI packet received {"connection_id":151683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":151683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:44:04] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:44:04] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:44:04] local.INFO: Packet analysis {"connection_id":151683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:44:04] local.INFO: Extracted packet for processing {"connection_id":151683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786363821000,"timestamp_ms":1786363821000,"timestamp_seconds":1786363821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94bbc8"} 
[2026-08-10 17:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:44: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-08-10 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:44:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":151683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:44:04] local.INFO: GPS data processed {"connection_id":151683,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:44:04] local.INFO: Acknowledgment sent {"connection_id":151683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:44:09] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:44:09] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:44:09] local.INFO: Packet analysis {"connection_id":151683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:44:09] local.INFO: Extracted packet for processing {"connection_id":151683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786363821000,"timestamp_ms":1786363821000,"timestamp_seconds":1786363821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94bbc8"} 
[2026-08-10 17:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:44:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":151683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:44:09] local.INFO: GPS data processed {"connection_id":151683,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:44:09] local.INFO: Acknowledgment sent {"connection_id":151683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:44:14] local.INFO: TCP Data received {"connection_id":152067,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:44:14] local.INFO: Processing buffer {"connection_id":152067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:44:14] local.INFO: IMEI packet received {"connection_id":152067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":152067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:44:15] local.INFO: TCP Data received {"connection_id":152067,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb975f90012d81c38005da74280003004a29..."} 
[2026-08-10 17:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb975f90012d81c38005da74280003004a29..."} 
[2026-08-10 17:44:15] local.INFO: Processing buffer {"connection_id":152067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb975f90012d81c38005da74280003004a29..."} 
[2026-08-10 17:44:15] local.INFO: Packet analysis {"connection_id":152067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb97"} 
[2026-08-10 17:44:15] local.INFO: Extracted packet for processing {"connection_id":152067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb97"} 
[2026-08-10 17:44:15] local.INFO: GPS Element Parsed {"raw_longitude":763478912,"raw_latitude":98202664,"longitude_deg":76.3478912,"latitude_deg":9.8202664,"altitude":3,"angle":74,"satellites":41,"speed":34,"hex_longitude":"2d81c380","hex_latitude":"05da7428","is_valid_coordinates":true} 
[2026-08-10 17:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309181952001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117344940387729408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098045278334554112,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786363994000,"timestamp_ms":1786363994000,"timestamp_seconds":1786363994,"priority":1,"record_length":96,"hex_timestamp":"0000019feb975f90"} 
[2026-08-10 17:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 17:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309181952001,"66":13472,"153":206,"85":15104,"24":34,"16":117344940387729408,"45":-9098045278334554112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-10 17:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309181952001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:44:15] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 17:44:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117344940387729408,"km_value":117344940387729.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098045278334554112,"description":"Unknown IO ID 45"} 
[2026-08-10 17:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309181952001,"power":13472,"unknown_153":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9098045278334554112}} 
[2026-08-10 17:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":152067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:44:15] local.INFO: GPS data processed {"connection_id":152067,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:44:15] local.INFO: Acknowledgment sent {"connection_id":152067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:44:41] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:44:41] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:44:41] local.INFO: Packet analysis {"connection_id":151683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:44:41] local.INFO: Extracted packet for processing {"connection_id":151683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786363821000,"timestamp_ms":1786363821000,"timestamp_seconds":1786363821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94bbc8"} 
[2026-08-10 17:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:44:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":151683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:44:41] local.INFO: GPS data processed {"connection_id":151683,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:44:41] local.INFO: Acknowledgment sent {"connection_id":151683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:44:49] local.INFO: TCP Data received {"connection_id":152067,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9782b8012d81e64005da80780004004829..."} 
[2026-08-10 17:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9782b8012d81e64005da80780004004829..."} 
[2026-08-10 17:44:49] local.INFO: Processing buffer {"connection_id":152067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9782b8012d81e64005da80780004004829..."} 
[2026-08-10 17:44:49] local.INFO: Packet analysis {"connection_id":152067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb97"} 
[2026-08-10 17:44:49] local.INFO: Extracted packet for processing {"connection_id":152067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb97"} 
[2026-08-10 17:44:49] local.INFO: GPS Element Parsed {"raw_longitude":763487808,"raw_latitude":98205816,"longitude_deg":76.3487808,"latitude_deg":9.8205816,"altitude":4,"angle":72,"satellites":41,"speed":46,"hex_longitude":"2d81e640","hex_latitude":"05da8078","is_valid_coordinates":true} 
[2026-08-10 17:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309182464001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117345391359295488,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096286059730032640,"note":"Value kept but may cause issues"} 
[2026-08-10 17:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786364003000,"timestamp_ms":1786364003000,"timestamp_seconds":1786364003,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9782b8"} 
[2026-08-10 17:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:44: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-08-10 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 17:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309182464001,"66":13450,"153":206,"85":15104,"24":46,"16":117345391359295488,"45":-9096286059730032640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-10 17:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309182464001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:44:49] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-10 17:44:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117345391359295488,"km_value":117345391359295.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096286059730032640,"description":"Unknown IO ID 45"} 
[2026-08-10 17:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309182464001,"power":13450,"unknown_153":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9096286059730032640}} 
[2026-08-10 17:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":152067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:44:49] local.INFO: GPS data processed {"connection_id":152067,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:44:49] local.INFO: Acknowledgment sent {"connection_id":152067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:44:58] local.INFO: TCP Data received {"connection_id":151684,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:44:58] local.INFO: Processing buffer {"connection_id":151684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:44:58] local.INFO: IMEI packet received {"connection_id":151684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":151684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:45:03] local.INFO: TCP Data received {"connection_id":151684,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:45:03] local.INFO: Processing buffer {"connection_id":151684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:45:03] local.INFO: IMEI packet received {"connection_id":151684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":151684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:45:04] local.INFO: TCP Data received {"connection_id":151684,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:45:04] local.INFO: Processing buffer {"connection_id":151684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:45:04] local.INFO: Packet analysis {"connection_id":151684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:45:04] local.INFO: Extracted packet for processing {"connection_id":151684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786363821000,"timestamp_ms":1786363821000,"timestamp_seconds":1786363821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94bbc8"} 
[2026-08-10 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-08-10 17:45: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-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 17:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:45:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":151684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:45:04] local.INFO: GPS data processed {"connection_id":151684,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:45:04] local.INFO: Acknowledgment sent {"connection_id":151684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:45:12] local.INFO: TCP Data received {"connection_id":152995,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:45:12] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:45:12] local.INFO: IMEI packet received {"connection_id":152995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":152995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:45:12] local.INFO: TCP Data received {"connection_id":152995,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:45:12] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:45:12] local.INFO: IMEI packet received {"connection_id":152995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":152995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:45:17] local.INFO: TCP Data received {"connection_id":152995,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:45:17] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:45:17] local.INFO: IMEI packet received {"connection_id":152995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":152995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:45:18] local.INFO: TCP Data received {"connection_id":152995,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb989810012d82444005d9eb08000700aa29..."} 
[2026-08-10 17:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb989810012d82444005d9eb08000700aa29..."} 
[2026-08-10 17:45:18] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb989810012d82444005d9eb08000700aa29..."} 
[2026-08-10 17:45:18] local.INFO: Packet analysis {"connection_id":152995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb98"} 
[2026-08-10 17:45:18] local.INFO: Extracted packet for processing {"connection_id":152995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb98"} 
[2026-08-10 17:45:18] local.INFO: GPS Element Parsed {"raw_longitude":763511872,"raw_latitude":98167560,"longitude_deg":76.3511872,"latitude_deg":9.816756,"altitude":7,"angle":170,"satellites":41,"speed":33,"hex_longitude":"2d824440","hex_latitude":"05d9eb08","is_valid_coordinates":true} 
[2026-08-10 17:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309199872001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117348178793070592,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061594268857024512,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786364074000,"timestamp_ms":1786364074000,"timestamp_seconds":1786364074,"priority":1,"record_length":96,"hex_timestamp":"0000019feb989810"} 
[2026-08-10 17:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 17:45:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3952591160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2183168005,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:18] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2546534401,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:18] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-8205558503881889024,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828599502,"corrected_to":0} 
[2026-08-10 17:45:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3853451264,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57887745322669371,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:18] local.WARNING: Large IO value detected {"io_id":151,"raw_value":-4805339507436290043,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:18] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,71,85,24,241,157,16,231,159,66,45,50,7,41,10,230,23,192,86,6,42,244,128,1,240,144,227,235,218,4,113,205,197,31,104,239,51,153,2,160,5,22,79,151],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2828599502,"validated":0}]} 
[2026-08-10 17:45:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504594649384222720,"timestamp_seconds":504594649384222.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309199872001,"66":13450,"71":206,"85":15104,"24":33,"16":117348178793070592,"45":-9061594268857024512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-10 17:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309199872001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:45:18] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 17:45:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117348178793070592,"km_value":117348178793070.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061594268857024512,"description":"Unknown IO ID 45"} 
[2026-08-10 17:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309199872001,"power":13450,"unknown_71":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9061594268857024512}} 
[2026-08-10 17:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":152995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:45:18] local.INFO: GPS data processed {"connection_id":152995,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:45:18] local.INFO: Acknowledgment sent {"connection_id":152995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:45:21] local.INFO: TCP Data received {"connection_id":152995,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb98e630012d824a4005d9d0900009009f2a..."} 
[2026-08-10 17:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb98e630012d824a4005d9d0900009009f2a..."} 
[2026-08-10 17:45:21] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb98e630012d824a4005d9d0900009009f2a..."} 
[2026-08-10 17:45:21] local.INFO: Packet analysis {"connection_id":152995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb98"} 
[2026-08-10 17:45:21] local.INFO: Extracted packet for processing {"connection_id":152995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb98"} 
[2026-08-10 17:45:21] local.INFO: GPS Element Parsed {"raw_longitude":763513408,"raw_latitude":98160784,"longitude_deg":76.3513408,"latitude_deg":9.8160784,"altitude":9,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2d824a40","hex_latitude":"05d9d090","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309202944001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117348522390454272,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060046156487522304,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786364094000,"timestamp_ms":1786364094000,"timestamp_seconds":1786364094,"priority":1,"record_length":96,"hex_timestamp":"0000019feb98e630"} 
[2026-08-10 17:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 17:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309202944001,"66":12689,"71":206,"85":15104,"24":0,"16":117348522390454272,"45":-9060046156487522304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-10 17:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309202944001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:45:21] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 17:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117348522390454272,"km_value":117348522390454.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060046156487522304,"description":"Unknown IO ID 45"} 
[2026-08-10 17:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309202944001,"power":12689,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9060046156487522304}} 
[2026-08-10 17:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":152995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:45:21] local.INFO: GPS data processed {"connection_id":152995,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:45:21] local.INFO: Acknowledgment sent {"connection_id":152995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:45:35] local.INFO: TCP Data received {"connection_id":151684,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:45:35] local.INFO: Processing buffer {"connection_id":151684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb94bbc8012d342a4006abc2800013010226..."} 
[2026-08-10 17:45:35] local.INFO: Packet analysis {"connection_id":151684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:45:35] local.INFO: Extracted packet for processing {"connection_id":151684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb94"} 
[2026-08-10 17:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":19,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309061120001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786363821000,"timestamp_ms":1786363821000,"timestamp_seconds":1786363821,"priority":1,"record_length":96,"hex_timestamp":"0000019feb94bbc8"} 
[2026-08-10 17:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:45: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-08-10 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 17:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309061120001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309061120001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:45:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309061120001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":151684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:45:35] local.INFO: GPS data processed {"connection_id":151684,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:45:35] local.INFO: Acknowledgment sent {"connection_id":151684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:45:58] local.INFO: TCP Data received {"connection_id":154443,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:45:58] local.INFO: Processing buffer {"connection_id":154443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:45:58] local.INFO: IMEI packet received {"connection_id":154443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":154443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:46:01] local.INFO: TCP Data received {"connection_id":154443,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:46:01] local.INFO: Processing buffer {"connection_id":154443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:46:01] local.INFO: IMEI packet received {"connection_id":154443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":154443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:46:03] local.INFO: TCP Data received {"connection_id":154443,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:46:03] local.INFO: Processing buffer {"connection_id":154443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:46:03] local.INFO: IMEI packet received {"connection_id":154443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":154443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:46:04] local.INFO: TCP Data received {"connection_id":154443,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:46:04] local.INFO: Processing buffer {"connection_id":154443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:46:04] local.INFO: Packet analysis {"connection_id":154443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:46:04] local.INFO: Extracted packet for processing {"connection_id":154443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309138176001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786364122000,"timestamp_ms":1786364122000,"timestamp_seconds":1786364122,"priority":1,"record_length":96,"hex_timestamp":"0000019feb995390"} 
[2026-08-10 17:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:46: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-08-10 17:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 17:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309138176001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309138176001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:46:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309138176001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":154443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:46:04] local.INFO: GPS data processed {"connection_id":154443,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:46:04] local.INFO: Acknowledgment sent {"connection_id":154443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:46:07] local.INFO: TCP Data received {"connection_id":152996,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:46:07] local.INFO: Processing buffer {"connection_id":152996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:46:07] local.INFO: IMEI packet received {"connection_id":152996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":152996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:46:13] local.INFO: TCP Data received {"connection_id":152996,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:46:13] local.INFO: Processing buffer {"connection_id":152996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:46:13] local.INFO: IMEI packet received {"connection_id":152996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":152996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:46:14] local.INFO: TCP Data received {"connection_id":152996,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb98ea18012d824a4005d9cfe8000900ac29..."} 
[2026-08-10 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb98ea18012d824a4005d9cfe8000900ac29..."} 
[2026-08-10 17:46:14] local.INFO: Processing buffer {"connection_id":152996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb98ea18012d824a4005d9cfe8000900ac29..."} 
[2026-08-10 17:46:14] local.INFO: Packet analysis {"connection_id":152996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb98"} 
[2026-08-10 17:46:14] local.INFO: Extracted packet for processing {"connection_id":152996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb98"} 
[2026-08-10 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":763513408,"raw_latitude":98160616,"longitude_deg":76.3513408,"latitude_deg":9.8160616,"altitude":9,"angle":172,"satellites":41,"speed":8,"hex_longitude":"2d824a40","hex_latitude":"05d9cfe8","is_valid_coordinates":true} 
[2026-08-10 17:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309208064001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117348530980388864,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058357306628993024,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786364095000,"timestamp_ms":1786364095000,"timestamp_seconds":1786364095,"priority":1,"record_length":96,"hex_timestamp":"0000019feb98ea18"} 
[2026-08-10 17:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 17:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309208064001,"66":12819,"71":206,"85":15104,"24":8,"16":117348530980388864,"45":-9058357306628993024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-10 17:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309208064001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:46:14] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-10 17:46:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117348530980388864,"km_value":117348530980388.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058357306628993024,"description":"Unknown IO ID 45"} 
[2026-08-10 17:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309208064001,"power":12819,"unknown_71":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9058357306628993024}} 
[2026-08-10 17:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":152996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:46:14] local.INFO: GPS data processed {"connection_id":152996,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:46:14] local.INFO: Acknowledgment sent {"connection_id":152996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:46:16] local.INFO: TCP Data received {"connection_id":152996,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9924b0012d82520005d9ab58000a00a528..."} 
[2026-08-10 17:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9924b0012d82520005d9ab58000a00a528..."} 
[2026-08-10 17:46:16] local.INFO: Processing buffer {"connection_id":152996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9924b0012d82520005d9ab58000a00a528..."} 
[2026-08-10 17:46:16] local.INFO: Packet analysis {"connection_id":152996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:46:16] local.INFO: Extracted packet for processing {"connection_id":152996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:46:16] local.INFO: GPS Element Parsed {"raw_longitude":763515392,"raw_latitude":98151256,"longitude_deg":76.3515392,"latitude_deg":9.8151256,"altitude":10,"angle":165,"satellites":40,"speed":40,"hex_longitude":"2d825200","hex_latitude":"05d9ab58","is_valid_coordinates":true} 
[2026-08-10 17:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309208320001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117348994836856832,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058357306629036032,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786364110000,"timestamp_ms":1786364110000,"timestamp_seconds":1786364110,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9924b0"} 
[2026-08-10 17:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3952604160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2184773637,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7509462102512099200,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505390187610112,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5908986598200246528,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6298001717707735016,"corrected_to":0} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3221609046,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8070224413913461163,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3864133632,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2699520948431709910,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195133952,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84867038719629963,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1407985473558016,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:16] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,71,85,24,241,157,16,231,159,230,45,64,208,9,42,10,66,152,235,7,41,105,192,1,240,227,218,4,113,205,38,23,50,88,239,51,2,160,5,6,26,59,69,32,104],"length":625,"final_offset":755,"validated_count":45,"validation_warnings":[{"io_id":205,"original":-6298001717707735016,"validated":0}]} 
[2026-08-10 17:46:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648707638435512320,"timestamp_seconds":648707638435512.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:46: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-08-10 17:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309208320001,"66":13363,"69":206,"85":15104,"24":40,"16":117348994836856832,"45":-9058357306629036032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-10 17:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309208320001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:46:16] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-10 17:46:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117348994836856832,"km_value":117348994836856.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058357306629036032,"description":"Unknown IO ID 45"} 
[2026-08-10 17:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309208320001,"power":13363,"unknown_69":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9058357306629036032}} 
[2026-08-10 17:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":152996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:46:16] local.INFO: GPS data processed {"connection_id":152996,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:46:16] local.INFO: Acknowledgment sent {"connection_id":152996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:46:38] local.INFO: TCP Data received {"connection_id":154443,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:46:38] local.INFO: Processing buffer {"connection_id":154443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:46:38] local.INFO: Packet analysis {"connection_id":154443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:46:38] local.INFO: Extracted packet for processing {"connection_id":154443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309138176001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786364122000,"timestamp_ms":1786364122000,"timestamp_seconds":1786364122,"priority":1,"record_length":96,"hex_timestamp":"0000019feb995390"} 
[2026-08-10 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-08-10 17:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 17:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 17:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309138176001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309138176001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:46:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309138176001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":154443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:46:38] local.INFO: GPS data processed {"connection_id":154443,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:46:38] local.INFO: Acknowledgment sent {"connection_id":154443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:46:47] local.INFO: TCP Data received {"connection_id":152996,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9947d8012d825a0005d98590000b00a827..."} 
[2026-08-10 17:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9947d8012d825a0005d98590000b00a827..."} 
[2026-08-10 17:46:47] local.INFO: Processing buffer {"connection_id":152996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9947d8012d825a0005d98590000b00a827..."} 
[2026-08-10 17:46:47] local.INFO: Packet analysis {"connection_id":152996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:46:47] local.INFO: Extracted packet for processing {"connection_id":152996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:46:47] local.INFO: GPS Element Parsed {"raw_longitude":763517440,"raw_latitude":98141584,"longitude_deg":76.351744,"latitude_deg":9.8141584,"altitude":11,"angle":168,"satellites":39,"speed":44,"hex_longitude":"2d825a00","hex_latitude":"05d98590","is_valid_coordinates":true} 
[2026-08-10 17:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309212160001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117349471578226688,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056175875561924608,"note":"Value kept but may cause issues"} 
[2026-08-10 17:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786364119000,"timestamp_ms":1786364119000,"timestamp_seconds":1786364119,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9947d8"} 
[2026-08-10 17:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 17:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17: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-08-10 17:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309212160001,"66":13428,"69":206,"85":15104,"24":44,"16":117349471578226688,"45":-9056175875561924608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-10 17:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309212160001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:46:47] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-10 17:46:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117349471578226688,"km_value":117349471578226.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056175875561924608,"description":"Unknown IO ID 45"} 
[2026-08-10 17:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309212160001,"power":13428,"unknown_69":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9056175875561924608}} 
[2026-08-10 17:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":152996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:46:47] local.INFO: GPS data processed {"connection_id":152996,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:46:47] local.INFO: Acknowledgment sent {"connection_id":152996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:46:59] local.INFO: TCP Data received {"connection_id":152071,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:46:59] local.INFO: Processing buffer {"connection_id":152071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:46:59] local.INFO: IMEI packet received {"connection_id":152071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":152071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:47:03] local.INFO: TCP Data received {"connection_id":152071,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:47:03] local.INFO: Processing buffer {"connection_id":152071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:47:03] local.INFO: IMEI packet received {"connection_id":152071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":152071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:47:04] local.INFO: TCP Data received {"connection_id":152071,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:47:04] local.INFO: Processing buffer {"connection_id":152071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:47:04] local.INFO: Packet analysis {"connection_id":152071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:47:04] local.INFO: Extracted packet for processing {"connection_id":152071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309138176001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786364122000,"timestamp_ms":1786364122000,"timestamp_seconds":1786364122,"priority":1,"record_length":96,"hex_timestamp":"0000019feb995390"} 
[2026-08-10 17:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:47: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-08-10 17:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 17:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309138176001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309138176001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:47:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309138176001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":152071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:47:04] local.INFO: GPS data processed {"connection_id":152071,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:47:04] local.INFO: Acknowledgment sent {"connection_id":152071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:47:07] local.INFO: TCP Data received {"connection_id":151685,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:47:07] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:47:07] local.INFO: IMEI packet received {"connection_id":151685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":151685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:47:12] local.INFO: TCP Data received {"connection_id":151685,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:47:12] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:47:12] local.INFO: IMEI packet received {"connection_id":151685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":151685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:47:13] local.INFO: TCP Data received {"connection_id":151685,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb996718012d82630005d961a0000a00a227..."} 
[2026-08-10 17:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb996718012d82630005d961a0000a00a227..."} 
[2026-08-10 17:47:13] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb996718012d82630005d961a0000a00a227..."} 
[2026-08-10 17:47:13] local.INFO: Packet analysis {"connection_id":151685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:47:13] local.INFO: Extracted packet for processing {"connection_id":151685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763519744,"raw_latitude":98132384,"longitude_deg":76.3519744,"latitude_deg":9.8132384,"altitude":10,"angle":162,"satellites":39,"speed":46,"hex_longitude":"2d826300","hex_latitude":"05d961a0","is_valid_coordinates":true} 
[2026-08-10 17:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309214464001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117349931139727360,"note":"Value kept but may cause issues"} 
[2026-08-10 17:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053924075750715392,"note":"Value kept but may cause issues"} 
[2026-08-10 17:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786364127000,"timestamp_ms":1786364127000,"timestamp_seconds":1786364127,"priority":1,"record_length":96,"hex_timestamp":"0000019feb996718"} 
[2026-08-10 17:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-10 17:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309214464001,"66":13319,"69":206,"85":15104,"24":46,"16":117349931139727360,"45":-9053924075750715392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-10 17:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309214464001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:47:13] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-10 17:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117349931139727360,"km_value":117349931139727.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053924075750715392,"description":"Unknown IO ID 45"} 
[2026-08-10 17:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309214464001,"power":13319,"unknown_69":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9053924075750715392}} 
[2026-08-10 17:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":151685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:47:13] local.INFO: GPS data processed {"connection_id":151685,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:47:13] local.INFO: Acknowledgment sent {"connection_id":151685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:47:35] local.INFO: TCP Data received {"connection_id":152071,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:47:35] local.INFO: Processing buffer {"connection_id":152071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:47:35] local.INFO: Packet analysis {"connection_id":152071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:47:35] local.INFO: Extracted packet for processing {"connection_id":152071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309138176001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786364122000,"timestamp_ms":1786364122000,"timestamp_seconds":1786364122,"priority":1,"record_length":96,"hex_timestamp":"0000019feb995390"} 
[2026-08-10 17:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:47: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-08-10 17:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 17:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309138176001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309138176001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:47:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309138176001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":152071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:47:35] local.INFO: GPS data processed {"connection_id":152071,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:47:35] local.INFO: Acknowledgment sent {"connection_id":152071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:47:44] local.INFO: TCP Data received {"connection_id":151685,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9af970012d829dc005d84340000700a22a..."} 
[2026-08-10 17:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9af970012d829dc005d84340000700a22a..."} 
[2026-08-10 17:47:44] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9af970012d829dc005d84340000700a22a..."} 
[2026-08-10 17:47:44] local.INFO: Packet analysis {"connection_id":151685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9a"} 
[2026-08-10 17:47:44] local.INFO: Extracted packet for processing {"connection_id":151685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9a"} 
[2026-08-10 17:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":98059072,"longitude_deg":76.3534784,"latitude_deg":9.8059072,"altitude":7,"angle":162,"satellites":42,"speed":0,"hex_longitude":"2d829dc0","hex_latitude":"05d84340","is_valid_coordinates":true} 
[2026-08-10 17:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309237504001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117353620516634624,"note":"Value kept but may cause issues"} 
[2026-08-10 17:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036191152236955648,"note":"Value kept but may cause issues"} 
[2026-08-10 17:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786364230000,"timestamp_ms":1786364230000,"timestamp_seconds":1786364230,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9af970"} 
[2026-08-10 17:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-10 17:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309237504001,"66":12765,"47":206,"85":15104,"24":0,"16":117353620516634624,"45":-9036191152236955648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-10 17:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309237504001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:47:44] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-10 17:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117353620516634624,"km_value":117353620516634.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036191152236955648,"description":"Unknown IO ID 45"} 
[2026-08-10 17:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309237504001,"power":12765,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9036191152236955648}} 
[2026-08-10 17:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":151685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:47:44] local.INFO: GPS data processed {"connection_id":151685,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:47:44] local.INFO: Acknowledgment sent {"connection_id":151685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:47:58] local.INFO: TCP Data received {"connection_id":152997,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:47:58] local.INFO: Processing buffer {"connection_id":152997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:47:58] local.INFO: IMEI packet received {"connection_id":152997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":152997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:48:03] local.INFO: TCP Data received {"connection_id":152997,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:48:03] local.INFO: Processing buffer {"connection_id":152997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:48:03] local.INFO: IMEI packet received {"connection_id":152997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":152997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:48:04] local.INFO: TCP Data received {"connection_id":152997,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:48:04] local.INFO: Processing buffer {"connection_id":152997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:48:04] local.INFO: Packet analysis {"connection_id":152997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:48:04] local.INFO: Extracted packet for processing {"connection_id":152997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309138176001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786364122000,"timestamp_ms":1786364122000,"timestamp_seconds":1786364122,"priority":1,"record_length":96,"hex_timestamp":"0000019feb995390"} 
[2026-08-10 17:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:48: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-08-10 17:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 17:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309138176001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309138176001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:48:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309138176001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":152997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:48:04] local.INFO: GPS data processed {"connection_id":152997,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:48:04] local.INFO: Acknowledgment sent {"connection_id":152997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:48:09] local.INFO: TCP Data received {"connection_id":152998,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:48:09] local.INFO: Processing buffer {"connection_id":152998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:48:09] local.INFO: IMEI packet received {"connection_id":152998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":152998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:48:10] local.INFO: TCP Data received {"connection_id":152998,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:48:10] local.INFO: Processing buffer {"connection_id":152998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:48:10] local.INFO: IMEI packet received {"connection_id":152998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":152998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:48:12] local.INFO: TCP Data received {"connection_id":152998,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:48:12] local.INFO: Processing buffer {"connection_id":152998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:48:12] local.INFO: IMEI packet received {"connection_id":152998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":152998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:48:18] local.INFO: TCP Data received {"connection_id":152998,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9b0cf8012d829dc005d84268000700b42a..."} 
[2026-08-10 17:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9b0cf8012d829dc005d84268000700b42a..."} 
[2026-08-10 17:48:18] local.INFO: Processing buffer {"connection_id":152998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9b0cf8012d829dc005d84268000700b42a..."} 
[2026-08-10 17:48:18] local.INFO: Packet analysis {"connection_id":152998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:48:18] local.INFO: Extracted packet for processing {"connection_id":152998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":98058856,"longitude_deg":76.3534784,"latitude_deg":9.8058856,"altitude":7,"angle":180,"satellites":42,"speed":4,"hex_longitude":"2d829dc0","hex_latitude":"05d84268","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309242880001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117353629106569216,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034854146099691520,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786364235000,"timestamp_ms":1786364235000,"timestamp_seconds":1786364235,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9b0cf8"} 
[2026-08-10 17:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 17:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17: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-08-10 17:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309242880001,"66":13374,"47":206,"85":15104,"24":4,"16":117353629106569216,"45":-9034854146099691520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-10 17:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309242880001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:48:18] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-10 17:48:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117353629106569216,"km_value":117353629106569.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034854146099691520,"description":"Unknown IO ID 45"} 
[2026-08-10 17:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309242880001,"power":13374,"unknown_47":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9034854146099691520}} 
[2026-08-10 17:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":152998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:48:18] local.INFO: GPS data processed {"connection_id":152998,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:48:18] local.INFO: Acknowledgment sent {"connection_id":152998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:48:35] local.INFO: TCP Data received {"connection_id":152997,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:48:35] local.INFO: Processing buffer {"connection_id":152997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:48:35] local.INFO: Packet analysis {"connection_id":152997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:48:35] local.INFO: Extracted packet for processing {"connection_id":152997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309138176001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786364122000,"timestamp_ms":1786364122000,"timestamp_seconds":1786364122,"priority":1,"record_length":96,"hex_timestamp":"0000019feb995390"} 
[2026-08-10 17:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:48: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-08-10 17: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 17:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309138176001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309138176001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:48:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309138176001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":152997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:48:35] local.INFO: GPS data processed {"connection_id":152997,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:48:35] local.INFO: Acknowledgment sent {"connection_id":152997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:48:47] local.INFO: TCP Data received {"connection_id":152072,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:48:47] local.INFO: Processing buffer {"connection_id":152072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:48:47] local.INFO: IMEI packet received {"connection_id":152072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":152072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:48:48] local.INFO: TCP Data received {"connection_id":152072,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9b3fc0012d17b3c007211960003a013d1d..."} 
[2026-08-10 17:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9b3fc0012d17b3c007211960003a013d1d..."} 
[2026-08-10 17:48:48] local.INFO: Processing buffer {"connection_id":152072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9b3fc0012d17b3c007211960003a013d1d..."} 
[2026-08-10 17:48:48] local.INFO: Packet analysis {"connection_id":152072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:48:48] local.INFO: Extracted packet for processing {"connection_id":152072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756528064,"raw_latitude":119609696,"longitude_deg":75.6528064,"latitude_deg":11.9609696,"altitude":58,"angle":317,"satellites":29,"speed":8,"hex_longitude":"2d17b3c0","hex_latitude":"07211960","is_valid_coordinates":true} 
[2026-08-10 17:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309243904001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11512015591833600,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710382726601428992,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786364248000,"timestamp_ms":1786364248000,"timestamp_seconds":1786364248,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9b3fc0"} 
[2026-08-10 17:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-10 17:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309243904001,"66":14374,"122":206,"28":31744,"24":8,"16":11512015591833600,"45":1710382726601428992},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-10 17:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309243904001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:48:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-10 17:48:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11512015591833600,"km_value":11512015591833.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710382726601428992,"description":"Unknown IO ID 45"} 
[2026-08-10 17:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309243904001,"power":14374,"unknown_122":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1710382726601428992}} 
[2026-08-10 17:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":152072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:48:48] local.INFO: GPS data processed {"connection_id":152072,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:48:48] local.INFO: Acknowledgment sent {"connection_id":152072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:48:49] local.INFO: TCP Data received {"connection_id":152998,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9b5b18012d829e0005d84000000700b827..."} 
[2026-08-10 17:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9b5b18012d829e0005d84000000700b827..."} 
[2026-08-10 17:48:49] local.INFO: Processing buffer {"connection_id":152998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9b5b18012d829e0005d84000000700b827..."} 
[2026-08-10 17:48:49] local.INFO: Packet analysis {"connection_id":152998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:48:49] local.INFO: Extracted packet for processing {"connection_id":152998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:48:49] local.INFO: GPS Element Parsed {"raw_longitude":763534848,"raw_latitude":98058240,"longitude_deg":76.3534848,"latitude_deg":9.805824,"altitude":7,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2d829e00","hex_latitude":"05d84000","is_valid_coordinates":true} 
[2026-08-10 17:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309244160001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117353663466307584,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034854146099746816,"note":"Value kept but may cause issues"} 
[2026-08-10 17:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786364255000,"timestamp_ms":1786364255000,"timestamp_seconds":1786364255,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9b5b18"} 
[2026-08-10 17:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 17:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309244160001,"66":13091,"47":206,"85":15104,"24":0,"16":117353663466307584,"45":-9034854146099746816},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-10 17:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309244160001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:48:49] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-10 17:48:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117353663466307584,"km_value":117353663466307.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034854146099746816,"description":"Unknown IO ID 45"} 
[2026-08-10 17:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309244160001,"power":13091,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9034854146099746816}} 
[2026-08-10 17:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":152998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:48:49] local.INFO: GPS data processed {"connection_id":152998,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:48:49] local.INFO: Acknowledgment sent {"connection_id":152998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:48:58] local.INFO: TCP Data received {"connection_id":152999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:48:58] local.INFO: Processing buffer {"connection_id":152999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:48:58] local.INFO: IMEI packet received {"connection_id":152999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":152999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:49:03] local.INFO: TCP Data received {"connection_id":152999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:49:03] local.INFO: Processing buffer {"connection_id":152999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:49:03] local.INFO: IMEI packet received {"connection_id":152999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":152999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:49:04] local.INFO: TCP Data received {"connection_id":152999,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:49:04] local.INFO: Processing buffer {"connection_id":152999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:49:04] local.INFO: Packet analysis {"connection_id":152999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:49:04] local.INFO: Extracted packet for processing {"connection_id":152999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309138176001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786364122000,"timestamp_ms":1786364122000,"timestamp_seconds":1786364122,"priority":1,"record_length":96,"hex_timestamp":"0000019feb995390"} 
[2026-08-10 17:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:49: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-08-10 17:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 17:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309138176001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309138176001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:49:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309138176001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":152999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:49:04] local.INFO: GPS data processed {"connection_id":152999,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:49:04] local.INFO: Acknowledgment sent {"connection_id":152999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:49:12] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:49:12] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:49:12] local.INFO: IMEI packet received {"connection_id":151687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":151687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:49:17] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:49:17] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:49:17] local.INFO: IMEI packet received {"connection_id":151687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":151687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:49:18] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9bad20012d829f0005d823f0000700b825..."} 
[2026-08-10 17:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9bad20012d829f0005d823f0000700b825..."} 
[2026-08-10 17:49:18] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9bad20012d829f0005d823f0000700b825..."} 
[2026-08-10 17:49:18] local.INFO: Packet analysis {"connection_id":151687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:49:18] local.INFO: Extracted packet for processing {"connection_id":151687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:49:18] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":98051056,"longitude_deg":76.3535104,"latitude_deg":9.8051056,"altitude":7,"angle":184,"satellites":37,"speed":33,"hex_longitude":"2d829f00","hex_latitude":"05d823f0","is_valid_coordinates":true} 
[2026-08-10 17:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309249280001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117354011358658560,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034783777355726848,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786364276000,"timestamp_ms":1786364276000,"timestamp_seconds":1786364276,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9bad20"} 
[2026-08-10 17:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 17:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309249280001,"66":13363,"155":206,"85":15104,"24":33,"16":117354011358658560,"45":-9034783777355726848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-10 17:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309249280001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:49:18] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-10 17:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117354011358658560,"km_value":117354011358658.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034783777355726848,"description":"Unknown IO ID 45"} 
[2026-08-10 17:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309249280001,"power":13363,"unknown_155":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9034783777355726848}} 
[2026-08-10 17:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":151687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:49:18] local.INFO: GPS data processed {"connection_id":151687,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:49:18] local.INFO: Acknowledgment sent {"connection_id":151687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:49:19] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9bd818012d829f4005d7fef8000600b229..."} 
[2026-08-10 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9bd818012d829f4005d7fef8000600b229..."} 
[2026-08-10 17:49:19] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9bd818012d829f4005d7fef8000600b229..."} 
[2026-08-10 17:49:19] local.INFO: Packet analysis {"connection_id":151687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:49:19] local.INFO: Extracted packet for processing {"connection_id":151687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":763535168,"raw_latitude":98041592,"longitude_deg":76.3535168,"latitude_deg":9.8041592,"altitude":6,"angle":178,"satellites":41,"speed":37,"hex_longitude":"2d829f40","hex_latitude":"05d7fef8","is_valid_coordinates":true} 
[2026-08-10 17:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309254656001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117354470920159232,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034502302380855296,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786364287000,"timestamp_ms":1786364287000,"timestamp_seconds":1786364287,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9bd818"} 
[2026-08-10 17:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 17:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309254656001,"66":13243,"155":206,"85":15104,"24":37,"16":117354470920159232,"45":-9034502302380855296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-10 17:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309254656001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:49:19] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-10 17:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117354470920159232,"km_value":117354470920159.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034502302380855296,"description":"Unknown IO ID 45"} 
[2026-08-10 17:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309254656001,"power":13243,"unknown_155":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9034502302380855296}} 
[2026-08-10 17:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":151687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:49:19] local.INFO: GPS data processed {"connection_id":151687,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:49:19] local.INFO: Acknowledgment sent {"connection_id":151687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:49:20] local.INFO: TCP Data received {"connection_id":152072,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9b91c8012d17b38007211ab0003b013d1b..."} 
[2026-08-10 17:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9b91c8012d17b38007211ab0003b013d1b..."} 
[2026-08-10 17:49:20] local.INFO: Processing buffer {"connection_id":152072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9b91c8012d17b38007211ab0003b013d1b..."} 
[2026-08-10 17:49:20] local.INFO: Packet analysis {"connection_id":152072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:49:20] local.INFO: Extracted packet for processing {"connection_id":152072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:49:20] local.INFO: GPS Element Parsed {"raw_longitude":756528000,"raw_latitude":119610032,"longitude_deg":75.6528,"latitude_deg":11.9610032,"altitude":59,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d17b380","hex_latitude":"07211ab0","is_valid_coordinates":true} 
[2026-08-10 17:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309247488001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11512032771702784,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707919820556165120,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786364269000,"timestamp_ms":1786364269000,"timestamp_seconds":1786364269,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9b91c8"} 
[2026-08-10 17:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-10 17:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309247488001,"66":13972,"122":206,"28":31744,"24":0,"16":11512032771702784,"45":1707919820556165120},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-10 17:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309247488001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:49:20] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-10 17:49:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11512032771702784,"km_value":11512032771702.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707919820556165120,"description":"Unknown IO ID 45"} 
[2026-08-10 17:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309247488001,"power":13972,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1707919820556165120}} 
[2026-08-10 17:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":152072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:49:20] local.INFO: GPS data processed {"connection_id":152072,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:49:20] local.INFO: Acknowledgment sent {"connection_id":152072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:49:35] local.INFO: TCP Data received {"connection_id":152999,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:49:35] local.INFO: Processing buffer {"connection_id":152999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:49:35] local.INFO: Packet analysis {"connection_id":152999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:49:35] local.INFO: Extracted packet for processing {"connection_id":152999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309138176001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786364122000,"timestamp_ms":1786364122000,"timestamp_seconds":1786364122,"priority":1,"record_length":96,"hex_timestamp":"0000019feb995390"} 
[2026-08-10 17:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:49: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-08-10 17:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 17:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309138176001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309138176001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:49:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309138176001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":152999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:49:35] local.INFO: GPS data processed {"connection_id":152999,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:49:35] local.INFO: Acknowledgment sent {"connection_id":152999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:49:39] local.INFO: TCP Data received {"connection_id":152073,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:49:39] local.INFO: Processing buffer {"connection_id":152073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:49:39] local.INFO: IMEI packet received {"connection_id":152073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":152073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:49:41] local.INFO: TCP Data received {"connection_id":152073,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:49:41] local.INFO: Processing buffer {"connection_id":152073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:49:41] local.INFO: IMEI packet received {"connection_id":152073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":152073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:49:42] local.INFO: TCP Data received {"connection_id":152073,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:49:42] local.INFO: Processing buffer {"connection_id":152073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:49:42] local.INFO: IMEI packet received {"connection_id":152073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":152073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:49:42] local.INFO: TCP Data received {"connection_id":152073,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:49:42] local.INFO: Processing buffer {"connection_id":152073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:49:42] local.INFO: IMEI packet received {"connection_id":152073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":152073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:49:51] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9bfb40012d82a0c005d7da40000500b129..."} 
[2026-08-10 17:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9bfb40012d82a0c005d7da40000500b129..."} 
[2026-08-10 17:49:51] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9bfb40012d82a0c005d7da40000500b129..."} 
[2026-08-10 17:49:51] local.INFO: Packet analysis {"connection_id":151687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:49:51] local.INFO: Extracted packet for processing {"connection_id":151687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9b"} 
[2026-08-10 17:49:51] local.INFO: GPS Element Parsed {"raw_longitude":763535552,"raw_latitude":98032192,"longitude_deg":76.3535552,"latitude_deg":9.8032192,"altitude":5,"angle":177,"satellites":41,"speed":38,"hex_longitude":"2d82a0c0","hex_latitude":"05d7da40","is_valid_coordinates":true} 
[2026-08-10 17:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309257472001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117354926186692608,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034431933639100416,"note":"Value kept but may cause issues"} 
[2026-08-10 17:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786364296000,"timestamp_ms":1786364296000,"timestamp_seconds":1786364296,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9bfb40"} 
[2026-08-10 17:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 17:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309257472001,"66":13341,"155":206,"85":15104,"24":38,"16":117354926186692608,"45":-9034431933639100416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-10 17:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309257472001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:49:51] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-10 17:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117354926186692608,"km_value":117354926186692.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034431933639100416,"description":"Unknown IO ID 45"} 
[2026-08-10 17:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309257472001,"power":13341,"unknown_155":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9034431933639100416}} 
[2026-08-10 17:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":151687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:49:51] local.INFO: GPS data processed {"connection_id":151687,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:49:51] local.INFO: Acknowledgment sent {"connection_id":151687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:50:03] local.INFO: TCP Data received {"connection_id":152074,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:50:03] local.INFO: Processing buffer {"connection_id":152074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:50:03] local.INFO: IMEI packet received {"connection_id":152074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":152074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:50:07] local.INFO: TCP Data received {"connection_id":152075,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:50:07] local.INFO: Processing buffer {"connection_id":152075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:50:07] local.INFO: IMEI packet received {"connection_id":152075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":152075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:50:08] local.INFO: TCP Data received {"connection_id":152074,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:50:08] local.INFO: Processing buffer {"connection_id":152074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:50:08] local.INFO: IMEI packet received {"connection_id":152074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":152074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:50:09] local.INFO: TCP Data received {"connection_id":152074,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:50:09] local.INFO: Processing buffer {"connection_id":152074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:50:09] local.INFO: Packet analysis {"connection_id":152074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:50:09] local.INFO: Extracted packet for processing {"connection_id":152074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309138176001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786364122000,"timestamp_ms":1786364122000,"timestamp_seconds":1786364122,"priority":1,"record_length":96,"hex_timestamp":"0000019feb995390"} 
[2026-08-10 17:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 17:50: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-08-10 17:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309138176001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309138176001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:50:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309138176001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":152074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:50:09] local.INFO: GPS data processed {"connection_id":152074,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:50:09] local.INFO: Acknowledgment sent {"connection_id":152074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:50:11] local.INFO: TCP Data received {"connection_id":152075,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:50:11] local.INFO: Processing buffer {"connection_id":152075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:50:11] local.INFO: IMEI packet received {"connection_id":152075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":152075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:50:12] local.INFO: TCP Data received {"connection_id":152075,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9c2e08012d82a28005d7b798000500b229..."} 
[2026-08-10 17:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9c2e08012d82a28005d7b798000500b229..."} 
[2026-08-10 17:50:12] local.INFO: Processing buffer {"connection_id":152075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9c2e08012d82a28005d7b798000500b229..."} 
[2026-08-10 17:50:12] local.INFO: Packet analysis {"connection_id":152075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9c"} 
[2026-08-10 17:50:12] local.INFO: Extracted packet for processing {"connection_id":152075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9c"} 
[2026-08-10 17:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763536000,"raw_latitude":98023320,"longitude_deg":76.3536,"latitude_deg":9.802332,"altitude":5,"angle":178,"satellites":41,"speed":34,"hex_longitude":"2d82a280","hex_latitude":"05d7b798","is_valid_coordinates":true} 
[2026-08-10 17:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309259776001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117355355683422208,"note":"Value kept but may cause issues"} 
[2026-08-10 17:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034009721176440832,"note":"Value kept but may cause issues"} 
[2026-08-10 17:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786364309000,"timestamp_ms":1786364309000,"timestamp_seconds":1786364309,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9c2e08"} 
[2026-08-10 17:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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-08-10 17: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-08-10 17:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309259776001,"66":13374,"155":206,"85":15104,"24":34,"16":117355355683422208,"45":-9034009721176440832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-10 17:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309259776001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:50:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-10 17:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117355355683422208,"km_value":117355355683422.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034009721176440832,"description":"Unknown IO ID 45"} 
[2026-08-10 17:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309259776001,"power":13374,"unknown_155":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9034009721176440832}} 
[2026-08-10 17:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":152075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:50:12] local.INFO: GPS data processed {"connection_id":152075,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:50:12] local.INFO: Acknowledgment sent {"connection_id":152075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:50:14] local.INFO: TCP Data received {"connection_id":152074,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:50:14] local.INFO: Processing buffer {"connection_id":152074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb995390012d342a4006abc2800017010225..."} 
[2026-08-10 17:50:14] local.INFO: Packet analysis {"connection_id":152074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:50:14] local.INFO: Extracted packet for processing {"connection_id":152074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb99"} 
[2026-08-10 17:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309138176001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786364122000,"timestamp_ms":1786364122000,"timestamp_seconds":1786364122,"priority":1,"record_length":96,"hex_timestamp":"0000019feb995390"} 
[2026-08-10 17:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 17:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309138176001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309138176001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:50:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309138176001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":152074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:50:14] local.INFO: GPS data processed {"connection_id":152074,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:50:14] local.INFO: Acknowledgment sent {"connection_id":152074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:50:45] local.INFO: TCP Data received {"connection_id":152075,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9e1268012d82cf4005d68730000400942a..."} 
[2026-08-10 17:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9e1268012d82cf4005d68730000400942a..."} 
[2026-08-10 17:50:45] local.INFO: Processing buffer {"connection_id":152075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9e1268012d82cf4005d68730000400942a..."} 
[2026-08-10 17:50:45] local.INFO: Packet analysis {"connection_id":152075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9e"} 
[2026-08-10 17:50:45] local.INFO: Extracted packet for processing {"connection_id":152075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9e"} 
[2026-08-10 17:50:45] local.INFO: GPS Element Parsed {"raw_longitude":763547456,"raw_latitude":97945392,"longitude_deg":76.3547456,"latitude_deg":9.7945392,"altitude":4,"angle":148,"satellites":42,"speed":6,"hex_longitude":"2d82cf40","hex_latitude":"05d68730","is_valid_coordinates":true} 
[2026-08-10 17:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309293056001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117359281283530752,"note":"Value kept but may cause issues"} 
[2026-08-10 17:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9022961828362506240,"note":"Value kept but may cause issues"} 
[2026-08-10 17:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786364433000,"timestamp_ms":1786364433000,"timestamp_seconds":1786364433,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9e1268"} 
[2026-08-10 17:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 17:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309293056001,"66":12809,"156":206,"85":15104,"24":6,"16":117359281283530752,"45":-9022961828362506240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-10 17:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309293056001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:50:45] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-10 17:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117359281283530752,"km_value":117359281283530.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9022961828362506240,"description":"Unknown IO ID 45"} 
[2026-08-10 17:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309293056001,"power":12809,"unknown_156":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9022961828362506240}} 
[2026-08-10 17:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":152075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:50:45] local.INFO: GPS data processed {"connection_id":152075,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:50:45] local.INFO: Acknowledgment sent {"connection_id":152075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:50:58] local.INFO: TCP Data received {"connection_id":151688,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:50:58] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:50:58] local.INFO: IMEI packet received {"connection_id":151688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":151688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:51:01] local.INFO: TCP Data received {"connection_id":151688,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:51:01] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:51:01] local.INFO: IMEI packet received {"connection_id":151688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":151688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:51:02] local.INFO: TCP Data received {"connection_id":151688,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:51:02] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:51:02] local.INFO: Packet analysis {"connection_id":151688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:51:02] local.INFO: Extracted packet for processing {"connection_id":151688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309215232001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786364423000,"timestamp_ms":1786364423000,"timestamp_seconds":1786364423,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9deb58"} 
[2026-08-10 17:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":151688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":151688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":151688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309215232001,"66":25451,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309215232001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:51:02] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309215232001,"power":25451,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":151688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:51:02] local.INFO: GPS data processed {"connection_id":151688,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:51:02] local.INFO: Acknowledgment sent {"connection_id":151688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:51:07] local.INFO: TCP Data received {"connection_id":152076,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:51:07] local.INFO: Processing buffer {"connection_id":152076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:51:07] local.INFO: IMEI packet received {"connection_id":152076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":152076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:51:10] local.INFO: TCP Data received {"connection_id":152076,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:51:10] local.INFO: Processing buffer {"connection_id":152076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:51:10] local.INFO: IMEI packet received {"connection_id":152076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":152076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:51:34] local.INFO: TCP Data received {"connection_id":151688,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:51:34] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:51:34] local.INFO: Packet analysis {"connection_id":151688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:51:34] local.INFO: Extracted packet for processing {"connection_id":151688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309215232001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786364423000,"timestamp_ms":1786364423000,"timestamp_seconds":1786364423,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9deb58"} 
[2026-08-10 17:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309215232001,"66":25451,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309215232001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:51:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309215232001,"power":25451,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":151688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:51:34] local.INFO: GPS data processed {"connection_id":151688,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:51:34] local.INFO: Acknowledgment sent {"connection_id":151688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:51:35] local.INFO: TCP Data received {"connection_id":152076,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9e1e20012d82d0c005d684e0000400a129..."} 
[2026-08-10 17:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9e1e20012d82d0c005d684e0000400a129..."} 
[2026-08-10 17:51:35] local.INFO: Processing buffer {"connection_id":152076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9e1e20012d82d0c005d684e0000400a129..."} 
[2026-08-10 17:51:35] local.INFO: Packet analysis {"connection_id":152076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9e"} 
[2026-08-10 17:51:35] local.INFO: Extracted packet for processing {"connection_id":152076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9e"} 
[2026-08-10 17:51:35] local.INFO: GPS Element Parsed {"raw_longitude":763547840,"raw_latitude":97944800,"longitude_deg":76.354784,"latitude_deg":9.79448,"altitude":4,"angle":161,"satellites":41,"speed":10,"hex_longitude":"2d82d0c0","hex_latitude":"05d684e0","is_valid_coordinates":true} 
[2026-08-10 17:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309294848001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117359315643269120,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020921134781616128,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786364436000,"timestamp_ms":1786364436000,"timestamp_seconds":1786364436,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9e1e20"} 
[2026-08-10 17:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729382257078043648,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3952981160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2193244165,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2963562068738789078,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7096045730468283904,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2595225606,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3892391298,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3221608096,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":458925,"corrected_to":0} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163411399888469,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4047437824,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755545470075121,"note":"Value kept but may cause issues"} 
[2026-08-10 17:51:35] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,156,85,24,241,157,16,159,247,45,139,5,42,10,66,235,64,144,41,227,1,240,62,214,4,113,205,31,211,184,200,239,52,2,160,9,34,59],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0},{"io_id":200,"original":458925,"validated":0}]} 
[2026-08-10 17:51:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288393284261642240,"timestamp_seconds":288393284261642.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309294848001,"66":13243,"156":206,"85":15104,"24":10,"16":117359315643269120,"45":-9020921134781616128},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-10 17:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309294848001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:51:35] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-10 17:51:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117359315643269120,"km_value":117359315643269.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020921134781616128,"description":"Unknown IO ID 45"} 
[2026-08-10 17:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309294848001,"power":13243,"unknown_156":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9020921134781616128}} 
[2026-08-10 17:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":152076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:51:35] local.INFO: GPS data processed {"connection_id":152076,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:51:35] local.INFO: Acknowledgment sent {"connection_id":152076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:52:07] local.INFO: TCP Data received {"connection_id":154444,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:52:07] local.INFO: Processing buffer {"connection_id":154444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:52:07] local.INFO: IMEI packet received {"connection_id":154444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":154444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:52:08] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:52:08] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:52:08] local.INFO: IMEI packet received {"connection_id":151690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":151690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:52:09] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:52:09] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:52:09] local.INFO: IMEI packet received {"connection_id":151690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":151690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:52:10] local.INFO: TCP Data received {"connection_id":154444,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:52:10] local.INFO: Processing buffer {"connection_id":154444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:52:10] local.INFO: IMEI packet received {"connection_id":154444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":154444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:52:12] local.INFO: TCP Data received {"connection_id":154444,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9f27c0012d829e4005d61180000400c329..."} 
[2026-08-10 17:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9f27c0012d829e4005d61180000400c329..."} 
[2026-08-10 17:52:12] local.INFO: Processing buffer {"connection_id":154444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9f27c0012d829e4005d61180000400c329..."} 
[2026-08-10 17:52:12] local.INFO: Packet analysis {"connection_id":154444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9f"} 
[2026-08-10 17:52:12] local.INFO: Extracted packet for processing {"connection_id":154444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9f"} 
[2026-08-10 17:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":97915264,"longitude_deg":76.3534912,"latitude_deg":9.7915264,"altitude":4,"angle":195,"satellites":41,"speed":12,"hex_longitude":"2d829e40","hex_latitude":"05d61180","is_valid_coordinates":true} 
[2026-08-10 17:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309312768001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117360943435874304,"note":"Value kept but may cause issues"} 
[2026-08-10 17:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643039903889408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786364504000,"timestamp_ms":1786364504000,"timestamp_seconds":1786364504,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9f27c0"} 
[2026-08-10 17:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:52: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-08-10 17: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":242,"data_length":795,"current_offset":136} 
[2026-08-10 17:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309312768001,"66":13276,"156":206,"85":15104,"24":12,"16":117360943435874304,"45":-9034643039903889408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-10 17:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309312768001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:52:12] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-10 17:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117360943435874304,"km_value":117360943435874.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643039903889408,"description":"Unknown IO ID 45"} 
[2026-08-10 17:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309312768001,"power":13276,"unknown_156":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9034643039903889408}} 
[2026-08-10 17:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":154444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:52:12] local.INFO: GPS data processed {"connection_id":154444,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:52:12] local.INFO: Acknowledgment sent {"connection_id":154444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:52:22] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:52:22] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:52:22] local.INFO: Packet analysis {"connection_id":151690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:52:22] local.INFO: Extracted packet for processing {"connection_id":151690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:52:22] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309215232001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786364423000,"timestamp_ms":1786364423000,"timestamp_seconds":1786364423,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9deb58"} 
[2026-08-10 17:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309215232001,"66":25451,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309215232001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:52:22] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:52:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309215232001,"power":25451,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":151690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:52:22] local.INFO: GPS data processed {"connection_id":151690,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:52:22] local.INFO: Acknowledgment sent {"connection_id":151690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:52:24] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:52:24] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:52:24] local.INFO: Packet analysis {"connection_id":151690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:52:24] local.INFO: Extracted packet for processing {"connection_id":151690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:52:24] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309215232001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786364423000,"timestamp_ms":1786364423000,"timestamp_seconds":1786364423,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9deb58"} 
[2026-08-10 17:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309215232001,"66":25451,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309215232001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:52:24] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:52:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309215232001,"power":25451,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":151690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:52:24] local.INFO: GPS data processed {"connection_id":151690,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:52:24] local.INFO: Acknowledgment sent {"connection_id":151690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:52:52] local.INFO: TCP Data received {"connection_id":154444,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9f2ba8012d829e4005d61008000400b529..."} 
[2026-08-10 17:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9f2ba8012d829e4005d61008000400b529..."} 
[2026-08-10 17:52:52] local.INFO: Processing buffer {"connection_id":154444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9f2ba8012d829e4005d61008000400b529..."} 
[2026-08-10 17:52:52] local.INFO: Packet analysis {"connection_id":154444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9f"} 
[2026-08-10 17:52:52] local.INFO: Extracted packet for processing {"connection_id":154444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9f"} 
[2026-08-10 17:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":97914888,"longitude_deg":76.3534912,"latitude_deg":9.7914888,"altitude":4,"angle":181,"satellites":41,"speed":15,"hex_longitude":"2d829e40","hex_latitude":"05d61008","is_valid_coordinates":true} 
[2026-08-10 17:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309313024001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117360960615743488,"note":"Value kept but may cause issues"} 
[2026-08-10 17:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713408648151040,"note":"Value kept but may cause issues"} 
[2026-08-10 17:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786364505000,"timestamp_ms":1786364505000,"timestamp_seconds":1786364505,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9f2ba8"} 
[2026-08-10 17:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 17:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309313024001,"66":13276,"156":206,"85":15104,"24":15,"16":117360960615743488,"45":-9034713408648151040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-10 17:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309313024001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:52:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-10 17:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117360960615743488,"km_value":117360960615743.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713408648151040,"description":"Unknown IO ID 45"} 
[2026-08-10 17:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309313024001,"power":13276,"unknown_156":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9034713408648151040}} 
[2026-08-10 17:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":154444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:52:53] local.INFO: GPS data processed {"connection_id":154444,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:52:53] local.INFO: Acknowledgment sent {"connection_id":154444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:52:58] local.INFO: TCP Data received {"connection_id":153002,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:52:58] local.INFO: Processing buffer {"connection_id":153002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:52:58] local.INFO: IMEI packet received {"connection_id":153002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":153002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:53:03] local.INFO: TCP Data received {"connection_id":153002,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:53:03] local.INFO: Processing buffer {"connection_id":153002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:53:03] local.INFO: IMEI packet received {"connection_id":153002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":153002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:53:05] local.INFO: TCP Data received {"connection_id":153002,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:53:05] local.INFO: Processing buffer {"connection_id":153002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:53:05] local.INFO: Packet analysis {"connection_id":153002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:53:05] local.INFO: Extracted packet for processing {"connection_id":153002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309215232001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786364423000,"timestamp_ms":1786364423000,"timestamp_seconds":1786364423,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9deb58"} 
[2026-08-10 17:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:53: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-08-10 17:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309215232001,"66":25451,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309215232001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:53:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309215232001,"power":25451,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":153002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:53:05] local.INFO: GPS data processed {"connection_id":153002,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:53:05] local.INFO: Acknowledgment sent {"connection_id":153002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:53:09] local.INFO: TCP Data received {"connection_id":152077,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:53:09] local.INFO: Processing buffer {"connection_id":152077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:53:09] local.INFO: IMEI packet received {"connection_id":152077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":152077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:53:10] local.INFO: TCP Data received {"connection_id":152077,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:53:10] local.INFO: Processing buffer {"connection_id":152077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:53:10] local.INFO: IMEI packet received {"connection_id":152077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":152077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:53:11] local.INFO: TCP Data received {"connection_id":152077,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba019f0012d82410005d5cde8000000d929..."} 
[2026-08-10 17:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba019f0012d82410005d5cde8000000d929..."} 
[2026-08-10 17:53:11] local.INFO: Processing buffer {"connection_id":152077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba019f0012d82410005d5cde8000000d929..."} 
[2026-08-10 17:53:11] local.INFO: Packet analysis {"connection_id":152077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:53:11] local.INFO: Extracted packet for processing {"connection_id":152077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763511040,"raw_latitude":97897960,"longitude_deg":76.351104,"latitude_deg":9.789796,"altitude":0,"angle":217,"satellites":41,"speed":28,"hex_longitude":"2d824100","hex_latitude":"05d5cde8","is_valid_coordinates":true} 
[2026-08-10 17:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309328128001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117362605588217856,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9059342469114380288,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786364566000,"timestamp_ms":1786364566000,"timestamp_seconds":1786364566,"priority":1,"record_length":96,"hex_timestamp":"0000019feba019f0"} 
[2026-08-10 17:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:53: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-08-10 17:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-10 17:53: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-08-10 17:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309328128001,"66":13319,"156":206,"85":15104,"24":28,"16":117362605588217856,"45":-9059342469114380288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-10 17:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309328128001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:53:11] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-10 17:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117362605588217856,"km_value":117362605588217.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9059342469114380288,"description":"Unknown IO ID 45"} 
[2026-08-10 17:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309328128001,"power":13319,"unknown_156":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9059342469114380288}} 
[2026-08-10 17:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":152077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:53:11] local.INFO: GPS data processed {"connection_id":152077,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:53:11] local.INFO: Acknowledgment sent {"connection_id":152077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:53:17] local.INFO: TCP Data received {"connection_id":152077,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba02990012d823a0005d5c578000000e428..."} 
[2026-08-10 17:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba02990012d823a0005d5c578000000e428..."} 
[2026-08-10 17:53:17] local.INFO: Processing buffer {"connection_id":152077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba02990012d823a0005d5c578000000e428..."} 
[2026-08-10 17:53:17] local.INFO: Packet analysis {"connection_id":152077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:53:17] local.INFO: Extracted packet for processing {"connection_id":152077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:53:17] local.INFO: GPS Element Parsed {"raw_longitude":763509248,"raw_latitude":97895800,"longitude_deg":76.3509248,"latitude_deg":9.78958,"altitude":0,"angle":228,"satellites":40,"speed":28,"hex_longitude":"2d823a00","hex_latitude":"05d5c578","is_valid_coordinates":true} 
[2026-08-10 17:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309328896001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117362738732204032,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060960950230849536,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786364570000,"timestamp_ms":1786364570000,"timestamp_seconds":1786364570,"priority":1,"record_length":96,"hex_timestamp":"0000019feba02990"} 
[2026-08-10 17:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4604929324011798523,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2188820485,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2681190401,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":213,"raw_value":-1017813507179402496,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3892391298,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4092133376,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3589314560,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.WARNING: Large IO value detected {"io_id":40,"raw_value":57885559184315707,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:17] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,156,85,24,241,157,16,244,159,14,45,192,211,41,10,66,235,228,42,219,64,1,240,46,227,213,4,113,205,26,199,123,224,239,52,2,160,5,25,40],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-08-10 17:53:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":238770118721536,"timestamp_seconds":238770118721.536,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309328896001,"66":13450,"156":206,"85":15104,"24":28,"16":117362738732204032,"45":-9060960950230849536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-10 17:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309328896001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:53:17] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-10 17:53:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117362738732204032,"km_value":117362738732204.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060960950230849536,"description":"Unknown IO ID 45"} 
[2026-08-10 17:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309328896001,"power":13450,"unknown_156":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9060960950230849536}} 
[2026-08-10 17:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":152077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:53:17] local.INFO: GPS data processed {"connection_id":152077,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:53:17] local.INFO: Acknowledgment sent {"connection_id":152077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:53:36] local.INFO: TCP Data received {"connection_id":153002,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:53:36] local.INFO: Processing buffer {"connection_id":153002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:53:36] local.INFO: Packet analysis {"connection_id":153002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:53:36] local.INFO: Extracted packet for processing {"connection_id":153002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309215232001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786364423000,"timestamp_ms":1786364423000,"timestamp_seconds":1786364423,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9deb58"} 
[2026-08-10 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-08-10 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:53: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-08-10 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-08-10 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-08-10 17:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309215232001,"66":25451,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309215232001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:53:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309215232001,"power":25451,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":153002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:53:36] local.INFO: GPS data processed {"connection_id":153002,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:53:36] local.INFO: Acknowledgment sent {"connection_id":153002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:53:51] local.INFO: TCP Data received {"connection_id":152077,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba0aa78012d81fb0005d5cfe80000010a29..."} 
[2026-08-10 17:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba0aa78012d81fb0005d5cfe80000010a29..."} 
[2026-08-10 17:53:51] local.INFO: Processing buffer {"connection_id":152077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba0aa78012d81fb0005d5cfe80000010a29..."} 
[2026-08-10 17:53:51] local.INFO: Packet analysis {"connection_id":152077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:53:51] local.INFO: Extracted packet for processing {"connection_id":152077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:53:51] local.INFO: GPS Element Parsed {"raw_longitude":763493120,"raw_latitude":97898472,"longitude_deg":76.349312,"latitude_deg":9.7898472,"altitude":0,"angle":266,"satellites":41,"speed":20,"hex_longitude":"2d81fb00","hex_latitude":"05d5cfe8","is_valid_coordinates":true} 
[2026-08-10 17:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309338112001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117363653560238080,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080171617391214592,"note":"Value kept but may cause issues"} 
[2026-08-10 17:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786364603000,"timestamp_ms":1786364603000,"timestamp_seconds":1786364603,"priority":1,"record_length":96,"hex_timestamp":"0000019feba0aa78"} 
[2026-08-10 17:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 17:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309338112001,"66":13363,"157":206,"85":15104,"24":20,"16":117363653560238080,"45":-9080171617391214592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-10 17:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309338112001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:53:51] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-10 17:53:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117363653560238080,"km_value":117363653560238.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080171617391214592,"description":"Unknown IO ID 45"} 
[2026-08-10 17:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309338112001,"power":13363,"unknown_157":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9080171617391214592}} 
[2026-08-10 17:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":152077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:53:51] local.INFO: GPS data processed {"connection_id":152077,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:53:51] local.INFO: Acknowledgment sent {"connection_id":152077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:54:00] local.INFO: TCP Data received {"connection_id":154445,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:54:00] local.INFO: Processing buffer {"connection_id":154445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:54:00] local.INFO: IMEI packet received {"connection_id":154445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":154445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:54:03] local.INFO: TCP Data received {"connection_id":154445,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:54:03] local.INFO: Processing buffer {"connection_id":154445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:54:03] local.INFO: IMEI packet received {"connection_id":154445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":154445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:54:04] local.INFO: TCP Data received {"connection_id":154445,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:54:04] local.INFO: Processing buffer {"connection_id":154445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:54:04] local.INFO: Packet analysis {"connection_id":154445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:54:04] local.INFO: Extracted packet for processing {"connection_id":154445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309215232001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786364423000,"timestamp_ms":1786364423000,"timestamp_seconds":1786364423,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9deb58"} 
[2026-08-10 17:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:54: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-08-10 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309215232001,"66":25451,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309215232001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:54:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309215232001,"power":25451,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":154445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:54:04] local.INFO: GPS data processed {"connection_id":154445,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:54:04] local.INFO: Acknowledgment sent {"connection_id":154445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:54:09] local.INFO: TCP Data received {"connection_id":152078,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:54:09] local.INFO: Processing buffer {"connection_id":152078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:54:09] local.INFO: IMEI packet received {"connection_id":152078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":152078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:54:10] local.INFO: TCP Data received {"connection_id":152078,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 17:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152078,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 17:54:10] local.INFO: Processing buffer {"connection_id":152078,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 17:54:10] local.INFO: IMEI packet received {"connection_id":152078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":152078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:54:12] local.INFO: TCP Data received {"connection_id":152078,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:54:12] local.INFO: Processing buffer {"connection_id":152078,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 17:54:12] local.INFO: IMEI packet received {"connection_id":152078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":152078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:54:12] local.INFO: TCP Data received {"connection_id":152078,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba0d570012d81d78005d5cba80002010728..."} 
[2026-08-10 17:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba0d570012d81d78005d5cba80002010728..."} 
[2026-08-10 17:54:12] local.INFO: Processing buffer {"connection_id":152078,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019feb..."} 
[2026-08-10 17:54:12] local.INFO: IMEI packet received {"connection_id":152078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":152078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:54:15] local.INFO: TCP Data received {"connection_id":152078,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba0fc80012d81b98005d5c7b0000400ef29..."} 
[2026-08-10 17:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba0fc80012d81b98005d5c7b0000400ef29..."} 
[2026-08-10 17:54:15] local.INFO: Processing buffer {"connection_id":152078,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019feba0d570012d81d78005d5cba80002010728..."} 
[2026-08-10 17:54:15] local.INFO: Packet analysis {"connection_id":152078,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:54:15] local.INFO: Extracted packet for processing {"connection_id":152078,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:54:15] local.INFO: GPS Element Parsed {"raw_longitude":763484032,"raw_latitude":97897384,"longitude_deg":76.3484032,"latitude_deg":9.7897384,"altitude":2,"angle":263,"satellites":40,"speed":42,"hex_longitude":"2d81d780","hex_latitude":"05d5cba8","is_valid_coordinates":true} 
[2026-08-10 17:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309338368001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117364091646902272,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080664198600464384,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786364614000,"timestamp_ms":1786364614000,"timestamp_seconds":1786364614,"priority":1,"record_length":96,"hex_timestamp":"0000019feba0d570"} 
[2026-08-10 17:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":51,"data_length":795,"current_offset":136} 
[2026-08-10 17:54: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-08-10 17:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309338368001,"66":13319,"157":206,"85":15104,"24":42,"16":117364091646902272,"45":-9080664198600464384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-10 17:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309338368001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:54:15] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-10 17:54:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117364091646902272,"km_value":117364091646902.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080664198600464384,"description":"Unknown IO ID 45"} 
[2026-08-10 17:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309338368001,"power":13319,"unknown_157":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9080664198600464384}} 
[2026-08-10 17:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":152078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:54:16] local.INFO: GPS data processed {"connection_id":152078,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:54:16] local.INFO: Acknowledgment sent {"connection_id":152078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:54:16] local.INFO: Packet analysis {"connection_id":152078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:54:16] local.INFO: Extracted packet for processing {"connection_id":152078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763476352,"raw_latitude":97896368,"longitude_deg":76.3476352,"latitude_deg":9.7896368,"altitude":4,"angle":239,"satellites":41,"speed":6,"hex_longitude":"2d81b980","hex_latitude":"05d5c7b0","is_valid_coordinates":true} 
[2026-08-10 17:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309341184001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117364461014089728,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9090656560273971200,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786364624000,"timestamp_ms":1786364624000,"timestamp_seconds":1786364624,"priority":1,"record_length":96,"hex_timestamp":"0000019feba0fc80"} 
[2026-08-10 17:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1280,"corrected_to":0} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3953164160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2180988933,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070502,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2694758401,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":213,"raw_value":-4724276009091913728,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795307214,"corrected_to":0} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8624394581381382149,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3586275328,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57885563479283003,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,157,85,24,241,16,246,159,170,45,207,41,10,66,245,166,192,208,162,1,240,51,227,235,213,4,113,205,9,139,2,144,40,239,160,5,28,94],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":246,"original":1280,"validated":0},{"io_id":205,"original":2795307214,"validated":0}]} 
[2026-08-10 17:54:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144404531435405312,"timestamp_seconds":144404531435405.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309341184001,"66":12765,"157":206,"85":15104,"24":6,"16":117364461014089728,"45":-9090656560273971200},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-10 17:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309341184001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:54:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-10 17:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117364461014089728,"km_value":117364461014089.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9090656560273971200,"description":"Unknown IO ID 45"} 
[2026-08-10 17:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309341184001,"power":12765,"unknown_157":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9090656560273971200}} 
[2026-08-10 17:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":152078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:54:16] local.INFO: GPS data processed {"connection_id":152078,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:54:16] local.INFO: Acknowledgment sent {"connection_id":152078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:54:36] local.INFO: TCP Data received {"connection_id":154445,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:54:36] local.INFO: Processing buffer {"connection_id":154445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:54:36] local.INFO: Packet analysis {"connection_id":154445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:54:36] local.INFO: Extracted packet for processing {"connection_id":154445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309215232001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786364423000,"timestamp_ms":1786364423000,"timestamp_seconds":1786364423,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9deb58"} 
[2026-08-10 17:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:54: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-08-10 17:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309215232001,"66":25451,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309215232001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:54:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309215232001,"power":25451,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":154445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:54:36] local.INFO: GPS data processed {"connection_id":154445,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:54:36] local.INFO: Acknowledgment sent {"connection_id":154445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:54:46] local.INFO: TCP Data received {"connection_id":153004,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:54:46] local.INFO: Processing buffer {"connection_id":153004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:54:46] local.INFO: IMEI packet received {"connection_id":153004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":153004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:54:47] local.INFO: TCP Data received {"connection_id":152078,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba10838012d81b8c005d5c640000400bc29..."} 
[2026-08-10 17:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba10838012d81b8c005d5c640000400bc29..."} 
[2026-08-10 17:54:47] local.INFO: Processing buffer {"connection_id":152078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba10838012d81b8c005d5c640000400bc29..."} 
[2026-08-10 17:54:47] local.INFO: Packet analysis {"connection_id":152078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba1"} 
[2026-08-10 17:54:47] local.INFO: Extracted packet for processing {"connection_id":152078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba1"} 
[2026-08-10 17:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763476160,"raw_latitude":97896000,"longitude_deg":76.347616,"latitude_deg":9.7896,"altitude":4,"angle":188,"satellites":41,"speed":5,"hex_longitude":"2d81b8c0","hex_latitude":"05d5c640","is_valid_coordinates":true} 
[2026-08-10 17:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309343744001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117364482488926208,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099100809575550976,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786364627000,"timestamp_ms":1786364627000,"timestamp_seconds":1786364627,"priority":1,"record_length":96,"hex_timestamp":"0000019feba10838"} 
[2026-08-10 17:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 17:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309343744001,"66":13450,"157":206,"85":15104,"24":5,"16":117364482488926208,"45":-9099100809575550976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-10 17:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309343744001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:54:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-10 17:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117364482488926208,"km_value":117364482488926.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099100809575550976,"description":"Unknown IO ID 45"} 
[2026-08-10 17:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309343744001,"power":13450,"unknown_157":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9099100809575550976}} 
[2026-08-10 17:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":152078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:54:47] local.INFO: GPS data processed {"connection_id":152078,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:54:47] local.INFO: Acknowledgment sent {"connection_id":152078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:54:48] local.INFO: TCP Data received {"connection_id":153004,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:54:48] local.INFO: Processing buffer {"connection_id":153004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:54:48] local.INFO: IMEI packet received {"connection_id":153004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":153004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:54:48] local.INFO: TCP Data received {"connection_id":153004,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba096f0012d18ef4007211b380044010621..."} 
[2026-08-10 17:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba096f0012d18ef4007211b380044010621..."} 
[2026-08-10 17:54:48] local.INFO: Processing buffer {"connection_id":153004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba096f0012d18ef4007211b380044010621..."} 
[2026-08-10 17:54:48] local.INFO: Packet analysis {"connection_id":153004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:54:48] local.INFO: Extracted packet for processing {"connection_id":153004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756608832,"raw_latitude":119610168,"longitude_deg":75.6608832,"latitude_deg":11.9610168,"altitude":68,"angle":262,"satellites":33,"speed":10,"hex_longitude":"2d18ef40","hex_latitude":"07211b38","is_valid_coordinates":true} 
[2026-08-10 17:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309336832001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11518294834020352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796936281941043200,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786364598000,"timestamp_ms":1786364598000,"timestamp_seconds":1786364598,"priority":1,"record_length":96,"hex_timestamp":"0000019feba096f0"} 
[2026-08-10 17:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-10 17:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309336832001,"66":13624,"121":206,"28":31744,"24":10,"16":11518294834020352,"45":1796936281941043200},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309336832001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:54:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11518294834020352,"km_value":11518294834020.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796936281941043200,"description":"Unknown IO ID 45"} 
[2026-08-10 17:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309336832001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1796936281941043200}} 
[2026-08-10 17:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":153004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:54:48] local.INFO: GPS data processed {"connection_id":153004,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:54:48] local.INFO: Acknowledgment sent {"connection_id":153004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:54:52] local.INFO: TCP Data received {"connection_id":153004,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba09ec0012d18ec8007211b300045011220..."} 
[2026-08-10 17:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba09ec0012d18ec8007211b300045011220..."} 
[2026-08-10 17:54:52] local.INFO: Processing buffer {"connection_id":153004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba09ec0012d18ec8007211b300045011220..."} 
[2026-08-10 17:54:52] local.INFO: Packet analysis {"connection_id":153004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:54:52] local.INFO: Extracted packet for processing {"connection_id":153004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba0"} 
[2026-08-10 17:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756608128,"raw_latitude":119610160,"longitude_deg":75.6608128,"latitude_deg":11.961016,"altitude":69,"angle":274,"satellites":32,"speed":16,"hex_longitude":"2d18ec80","hex_latitude":"07211b30","is_valid_coordinates":true} 
[2026-08-10 17:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309337088001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11518329193758720,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796725175708497920,"note":"Value kept but may cause issues"} 
[2026-08-10 17:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786364600000,"timestamp_ms":1786364600000,"timestamp_seconds":1786364600,"priority":1,"record_length":96,"hex_timestamp":"0000019feba09ec0"} 
[2026-08-10 17:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:54: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-08-10 17:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-10 17:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309337088001,"66":14265,"121":206,"28":31744,"24":16,"16":11518329193758720,"45":1796725175708497920},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309337088001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:54:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:54:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11518329193758720,"km_value":11518329193758.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796725175708497920,"description":"Unknown IO ID 45"} 
[2026-08-10 17:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309337088001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1796725175708497920}} 
[2026-08-10 17:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":153004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:54:52] local.INFO: GPS data processed {"connection_id":153004,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:54:52] local.INFO: Acknowledgment sent {"connection_id":153004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:55:01] local.INFO: TCP Data received {"connection_id":151691,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:55:01] local.INFO: Processing buffer {"connection_id":151691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:55:01] local.INFO: IMEI packet received {"connection_id":151691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":151691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:55:05] local.INFO: TCP Data received {"connection_id":151691,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:55:06] local.INFO: Processing buffer {"connection_id":151691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:55:06] local.INFO: IMEI packet received {"connection_id":151691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":151691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:55:06] local.INFO: TCP Data received {"connection_id":151691,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:55:06] local.INFO: Processing buffer {"connection_id":151691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:55:06] local.INFO: Packet analysis {"connection_id":151691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:55:06] local.INFO: Extracted packet for processing {"connection_id":151691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309215232001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786364423000,"timestamp_ms":1786364423000,"timestamp_seconds":1786364423,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9deb58"} 
[2026-08-10 17:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:55: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-08-10 17:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309215232001,"66":25451,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309215232001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:55:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309215232001,"power":25451,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":151691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:55:06] local.INFO: GPS data processed {"connection_id":151691,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:55:06] local.INFO: Acknowledgment sent {"connection_id":151691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:55:07] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:55:07] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:55:07] local.INFO: IMEI packet received {"connection_id":151692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":151692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:55:08] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:55:08] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:55:08] local.INFO: IMEI packet received {"connection_id":151692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":151692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:55:10] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:55:10] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:55:10] local.INFO: IMEI packet received {"connection_id":151692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":151692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:55:11] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:55:11] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:55:11] local.INFO: IMEI packet received {"connection_id":151692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":151692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:55:11] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba1eac8012d81bd4005d4e748000900a92a..."} 
[2026-08-10 17:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba1eac8012d81bd4005d4e748000900a92a..."} 
[2026-08-10 17:55:11] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba1eac8012d81bd4005d4e748000900a92a..."} 
[2026-08-10 17:55:11] local.INFO: Packet analysis {"connection_id":151692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba1"} 
[2026-08-10 17:55:11] local.INFO: Extracted packet for processing {"connection_id":151692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba1"} 
[2026-08-10 17:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763477312,"raw_latitude":97838920,"longitude_deg":76.3477312,"latitude_deg":9.783892,"altitude":9,"angle":169,"satellites":42,"speed":51,"hex_longitude":"2d81bd40","hex_latitude":"05d4e748","is_valid_coordinates":true} 
[2026-08-10 17:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309357312001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117367291397537792,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100226709494777856,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786364685000,"timestamp_ms":1786364685000,"timestamp_seconds":1786364685,"priority":1,"record_length":96,"hex_timestamp":"0000019feba1eac8"} 
[2026-08-10 17:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:55: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-08-10 17:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-10 17:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309357312001,"66":13319,"165":206,"85":15104,"24":51,"16":117367291397537792,"45":-9100226709494777856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-10 17:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309357312001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:55:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 17:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117367291397537792,"km_value":117367291397537.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100226709494777856,"description":"Unknown IO ID 45"} 
[2026-08-10 17:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309357312001,"power":13319,"unknown_165":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9100226709494777856}} 
[2026-08-10 17:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":151692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:55:11] local.INFO: GPS data processed {"connection_id":151692,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:55:11] local.INFO: Acknowledgment sent {"connection_id":151692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:55:23] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba20a08012d81c2c005d4c3e0000700b22b..."} 
[2026-08-10 17:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba20a08012d81c2c005d4c3e0000700b22b..."} 
[2026-08-10 17:55:23] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba20a08012d81c2c005d4c3e0000700b22b..."} 
[2026-08-10 17:55:23] local.INFO: Packet analysis {"connection_id":151692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:55:23] local.INFO: Extracted packet for processing {"connection_id":151692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:55:23] local.INFO: GPS Element Parsed {"raw_longitude":763478720,"raw_latitude":97829856,"longitude_deg":76.347872,"latitude_deg":9.7829856,"altitude":7,"angle":178,"satellites":43,"speed":31,"hex_longitude":"2d81c2c0","hex_latitude":"05d4c3e0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309359360001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117367733779169280,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098045278427592704,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786364693000,"timestamp_ms":1786364693000,"timestamp_seconds":1786364693,"priority":1,"record_length":96,"hex_timestamp":"0000019feba20a08"} 
[2026-08-10 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-08-10 17:55: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-08-10 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 17:55:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3953225160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:23] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":34817,"corrected_to":0} 
[2026-08-10 17:55:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4155768832,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:23] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2710374401,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:23] local.WARNING: Large IO value detected {"io_id":213,"raw_value":-8572601869213554176,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795831502,"corrected_to":0} 
[2026-08-10 17:55:23] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3221607761,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:23] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57885597839021371,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:23] local.WARNING: Large IO value detected {"io_id":161,"raw_value":5940249203463307269,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,165,85,24,241,157,16,248,159,203,45,128,10,7,41,66,160,47,5,42,156,64,1,240,84,227,235,213,4,113,205,125,188,43,239,52,2,3,161],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":203,"original":34817,"validated":0},{"io_id":205,"original":2795831502,"validated":0}]} 
[2026-08-10 17:55:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648704344198414336,"timestamp_seconds":648704344198414.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 17:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309359360001,"66":13091,"165":206,"85":15104,"24":31,"16":117367733779169280,"45":-9098045278427592704},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-10 17:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309359360001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:55:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 17:55:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117367733779169280,"km_value":117367733779169.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098045278427592704,"description":"Unknown IO ID 45"} 
[2026-08-10 17:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309359360001,"power":13091,"unknown_165":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9098045278427592704}} 
[2026-08-10 17:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":151692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:55:23] local.INFO: GPS data processed {"connection_id":151692,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:55:23] local.INFO: Acknowledgment sent {"connection_id":151692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:55:24] local.INFO: TCP Data received {"connection_id":153004,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba1a860012d195a800720aa88003400571f..."} 
[2026-08-10 17:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba1a860012d195a800720aa88003400571f..."} 
[2026-08-10 17:55:24] local.INFO: Processing buffer {"connection_id":153004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba1a860012d195a800720aa88003400571f..."} 
[2026-08-10 17:55:24] local.INFO: Packet analysis {"connection_id":153004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba1"} 
[2026-08-10 17:55:24] local.INFO: Extracted packet for processing {"connection_id":153004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba1"} 
[2026-08-10 17:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756636288,"raw_latitude":119581320,"longitude_deg":75.6636288,"latitude_deg":11.958132,"altitude":52,"angle":87,"satellites":31,"speed":34,"hex_longitude":"2d195a80","hex_latitude":"0720aa88","is_valid_coordinates":true} 
[2026-08-10 17:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309354240001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520931943940096,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823817142209574912,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786364668000,"timestamp_ms":1786364668000,"timestamp_seconds":1786364668,"priority":1,"record_length":96,"hex_timestamp":"0000019feba1a860"} 
[2026-08-10 17:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-10 17:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:24] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3953208160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:24] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:24] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2707558401,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:24] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3373793338,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-10 17:55:24] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:24] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3976593408,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,238,159,144,45,128,175,50,30,10,66,237,137,180,125,1,240,38,235,32,4,113,205,74,249,8,31,239,56,2,40,7,65],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-10 17:55:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675049583561867264,"timestamp_seconds":3675049583561867.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309354240001,"66":13624,"121":206,"28":31744,"24":34,"16":11520931943940096,"45":1823817142209574912},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309354240001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:55:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:55:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520931943940096,"km_value":11520931943940.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823817142209574912,"description":"Unknown IO ID 45"} 
[2026-08-10 17:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309354240001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1823817142209574912}} 
[2026-08-10 17:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":153004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:55:24] local.INFO: GPS data processed {"connection_id":153004,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:55:24] local.INFO: Acknowledgment sent {"connection_id":153004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:55:41] local.INFO: TCP Data received {"connection_id":151693,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:55:41] local.INFO: Processing buffer {"connection_id":151693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:55:41] local.INFO: IMEI packet received {"connection_id":151693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":151693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:55:41] local.INFO: TCP Data received {"connection_id":151693,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:55:41] local.INFO: Processing buffer {"connection_id":151693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:55:41] local.INFO: IMEI packet received {"connection_id":151693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":151693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:55:42] local.INFO: TCP Data received {"connection_id":151691,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:55:42] local.INFO: Processing buffer {"connection_id":151691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feb9deb58012d342a4006abc280000f010223..."} 
[2026-08-10 17:55:42] local.INFO: Packet analysis {"connection_id":151691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:55:42] local.INFO: Extracted packet for processing {"connection_id":151691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feb9d"} 
[2026-08-10 17:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309215232001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786364423000,"timestamp_ms":1786364423000,"timestamp_seconds":1786364423,"priority":1,"record_length":96,"hex_timestamp":"0000019feb9deb58"} 
[2026-08-10 17:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 17:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309215232001,"66":25451,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309215232001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:55:42] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309215232001,"power":25451,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":151691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:55:42] local.INFO: GPS data processed {"connection_id":151691,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:55:42] local.INFO: Acknowledgment sent {"connection_id":151691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:55:44] local.INFO: TCP Data received {"connection_id":151693,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:55:44] local.INFO: Processing buffer {"connection_id":151693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:55:44] local.INFO: IMEI packet received {"connection_id":151693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":151693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:55:45] local.INFO: TCP Data received {"connection_id":151693,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba1bfd0012d196e800720acc00035004c20..."} 
[2026-08-10 17:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba1bfd0012d196e800720acc00035004c20..."} 
[2026-08-10 17:55:45] local.INFO: Processing buffer {"connection_id":151693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba1bfd0012d196e800720acc00035004c20..."} 
[2026-08-10 17:55:45] local.INFO: Packet analysis {"connection_id":151693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba1"} 
[2026-08-10 17:55:45] local.INFO: Extracted packet for processing {"connection_id":151693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba1"} 
[2026-08-10 17:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756641408,"raw_latitude":119581888,"longitude_deg":75.6641408,"latitude_deg":11.9581888,"altitude":53,"angle":76,"satellites":32,"speed":31,"hex_longitude":"2d196e80","hex_latitude":"0720acc0","is_valid_coordinates":true} 
[2026-08-10 17:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309355008001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11521176757075968,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826913366953330688,"note":"Value kept but may cause issues"} 
[2026-08-10 17:55: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-08-10 17:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786364674000,"timestamp_ms":1786364674000,"timestamp_seconds":1786364674,"priority":1,"record_length":96,"hex_timestamp":"0000019feba1bfd0"} 
[2026-08-10 17:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-10 17:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309355008001,"66":14494,"121":206,"28":31744,"24":31,"16":11521176757075968,"45":1826913366953330688},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309355008001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:55:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:55:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11521176757075968,"km_value":11521176757075.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826913366953330688,"description":"Unknown IO ID 45"} 
[2026-08-10 17:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309355008001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1826913366953330688}} 
[2026-08-10 17:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":151693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:55:45] local.INFO: GPS data processed {"connection_id":151693,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:55:45] local.INFO: Acknowledgment sent {"connection_id":151693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:56:07] local.INFO: TCP Data received {"connection_id":154446,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:56:07] local.INFO: Processing buffer {"connection_id":154446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:56:07] local.INFO: IMEI packet received {"connection_id":154446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":154446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:56:08] local.INFO: TCP Data received {"connection_id":154446,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:56:08] local.INFO: Processing buffer {"connection_id":154446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:56:08] local.INFO: IMEI packet received {"connection_id":154446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":154446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:56:08] local.INFO: TCP Data received {"connection_id":153005,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:56:08] local.INFO: Processing buffer {"connection_id":153005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:56:08] local.INFO: IMEI packet received {"connection_id":153005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":153005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:56:12] local.INFO: TCP Data received {"connection_id":154446,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:56:12] local.INFO: Processing buffer {"connection_id":154446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:56:12] local.INFO: IMEI packet received {"connection_id":154446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":154446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:56:13] local.INFO: TCP Data received {"connection_id":154446,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba2bdb8012d81a78005d426b8000200ab2b..."} 
[2026-08-10 17:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba2bdb8012d81a78005d426b8000200ab2b..."} 
[2026-08-10 17:56:13] local.INFO: Processing buffer {"connection_id":154446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba2bdb8012d81a78005d426b8000200ab2b..."} 
[2026-08-10 17:56:13] local.INFO: Packet analysis {"connection_id":154446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:56:13] local.INFO: Extracted packet for processing {"connection_id":154446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763471744,"raw_latitude":97789624,"longitude_deg":76.3471744,"latitude_deg":9.7789624,"altitude":2,"angle":171,"satellites":43,"speed":38,"hex_longitude":"2d81a780","hex_latitude":"05d426b8","is_valid_coordinates":true} 
[2026-08-10 17:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309372928001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117370078831312896,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9104308096671791104,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786364739000,"timestamp_ms":1786364739000,"timestamp_seconds":1786364739,"priority":1,"record_length":96,"hex_timestamp":"0000019feba2bdb8"} 
[2026-08-10 17:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:56: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-08-10 17:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3953283160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174599173,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2725734401,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":212,"raw_value":-6217219264097146368,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795831502,"corrected_to":0} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3221607582,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4195745792,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57885597839021371,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.WARNING: Large IO value detected {"io_id":162,"raw_value":5507903639233609733,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:13] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,165,85,24,241,157,16,251,159,178,45,64,48,2,42,10,66,166,60,3,43,146,1,240,187,227,250,235,212,4,113,205,50,88,154,239,52,160,5,33,7,162],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2795831502,"validated":0}]} 
[2026-08-10 17:56:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144290190815657984,"timestamp_seconds":144290190815657.97,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309372928001,"66":13439,"165":206,"85":15104,"24":38,"16":117370078831312896,"45":-9104308096671791104},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-10 17:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309372928001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:56:13] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-10 17:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117370078831312896,"km_value":117370078831312.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9104308096671791104,"description":"Unknown IO ID 45"} 
[2026-08-10 17:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309372928001,"power":13439,"unknown_165":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9104308096671791104}} 
[2026-08-10 17:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":154446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:56:13] local.INFO: GPS data processed {"connection_id":154446,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:56:13] local.INFO: Acknowledgment sent {"connection_id":154446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:56:13] local.INFO: TCP Data received {"connection_id":153005,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:56:13] local.INFO: Processing buffer {"connection_id":153005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:56:13] local.INFO: IMEI packet received {"connection_id":153005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":153005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:56:14] local.INFO: TCP Data received {"connection_id":153005,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:56:14] local.INFO: Processing buffer {"connection_id":153005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:56:14] local.INFO: Packet analysis {"connection_id":153005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:56:14] local.INFO: Extracted packet for processing {"connection_id":153005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309292288001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786364724000,"timestamp_ms":1786364724000,"timestamp_seconds":1786364724,"priority":1,"record_length":96,"hex_timestamp":"0000019feba28320"} 
[2026-08-10 17:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 17:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309292288001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309292288001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:56:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309292288001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":153005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:56:14] local.INFO: GPS data processed {"connection_id":153005,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:56:14] local.INFO: Acknowledgment sent {"connection_id":153005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:56:17] local.INFO: TCP Data received {"connection_id":151693,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba1eac8012d198cc00720b350003b005a1f..."} 
[2026-08-10 17:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba1eac8012d198cc00720b350003b005a1f..."} 
[2026-08-10 17:56:17] local.INFO: Processing buffer {"connection_id":151693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba1eac8012d198cc00720b350003b005a1f..."} 
[2026-08-10 17:56:17] local.INFO: Packet analysis {"connection_id":151693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba1"} 
[2026-08-10 17:56:17] local.INFO: Extracted packet for processing {"connection_id":151693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba1"} 
[2026-08-10 17:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756649152,"raw_latitude":119583568,"longitude_deg":75.6649152,"latitude_deg":11.9583568,"altitude":59,"angle":90,"satellites":31,"speed":20,"hex_longitude":"2d198cc0","hex_latitude":"0720b350","is_valid_coordinates":true} 
[2026-08-10 17:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309356544001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11521554714198016,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832542866487689216,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786364685000,"timestamp_ms":1786364685000,"timestamp_seconds":1786364685,"priority":1,"record_length":96,"hex_timestamp":"0000019feba1eac8"} 
[2026-08-10 17:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-10 17:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309356544001,"66":14483,"121":206,"28":31744,"24":20,"16":11521554714198016,"45":1832542866487689216},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309356544001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:56:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:56:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11521554714198016,"km_value":11521554714198.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832542866487689216,"description":"Unknown IO ID 45"} 
[2026-08-10 17:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309356544001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1832542866487689216}} 
[2026-08-10 17:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":151693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:56:17] local.INFO: GPS data processed {"connection_id":151693,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:56:17] local.INFO: Acknowledgment sent {"connection_id":151693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:56:19] local.INFO: TCP Data received {"connection_id":153005,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:56:19] local.INFO: Processing buffer {"connection_id":153005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:56:19] local.INFO: Packet analysis {"connection_id":153005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:56:19] local.INFO: Extracted packet for processing {"connection_id":153005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309292288001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786364724000,"timestamp_ms":1786364724000,"timestamp_seconds":1786364724,"priority":1,"record_length":96,"hex_timestamp":"0000019feba28320"} 
[2026-08-10 17:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 17:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309292288001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309292288001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:56:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309292288001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":153005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:56:19] local.INFO: GPS data processed {"connection_id":153005,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:56:19] local.INFO: Acknowledgment sent {"connection_id":153005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:56:39] local.INFO: TCP Data received {"connection_id":153006,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:56:39] local.INFO: Processing buffer {"connection_id":153006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:56:39] local.INFO: IMEI packet received {"connection_id":153006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":153006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:56:42] local.INFO: TCP Data received {"connection_id":153006,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:56:42] local.INFO: Processing buffer {"connection_id":153006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:56:42] local.INFO: IMEI packet received {"connection_id":153006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":153006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:56:43] local.INFO: TCP Data received {"connection_id":154446,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba37938012d81c1c005d377d8000500a22a..."} 
[2026-08-10 17:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba37938012d81c1c005d377d8000500a22a..."} 
[2026-08-10 17:56:43] local.INFO: Processing buffer {"connection_id":154446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba37938012d81c1c005d377d8000500a22a..."} 
[2026-08-10 17:56:43] local.INFO: Packet analysis {"connection_id":154446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba3"} 
[2026-08-10 17:56:43] local.INFO: Extracted packet for processing {"connection_id":154446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba3"} 
[2026-08-10 17:56:43] local.INFO: GPS Element Parsed {"raw_longitude":763478464,"raw_latitude":97744856,"longitude_deg":76.3478464,"latitude_deg":9.7744856,"altitude":5,"angle":162,"satellites":42,"speed":25,"hex_longitude":"2d81c1c0","hex_latitude":"05d377d8","is_valid_coordinates":true} 
[2026-08-10 17:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309385216001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117372389523718144,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096989747288860672,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786364787000,"timestamp_ms":1786364787000,"timestamp_seconds":1786364787,"priority":1,"record_length":96,"hex_timestamp":"0000019feba37938"} 
[2026-08-10 17:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-10 17:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":154446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":154446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":154446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309385216001,"66":13124,"166":206,"85":15104,"24":25,"16":117372389523718144,"45":-9096989747288860672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-10 17:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309385216001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:56:43] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-10 17:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117372389523718144,"km_value":117372389523718.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096989747288860672,"description":"Unknown IO ID 45"} 
[2026-08-10 17:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309385216001,"power":13124,"unknown_166":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9096989747288860672}} 
[2026-08-10 17:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":154446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:56:43] local.INFO: GPS data processed {"connection_id":154446,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:56:43] local.INFO: Acknowledgment sent {"connection_id":154446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:56:46] local.INFO: TCP Data received {"connection_id":153006,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:56:46] local.INFO: Processing buffer {"connection_id":153006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:56:46] local.INFO: IMEI packet received {"connection_id":153006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":153006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:56:48] local.INFO: TCP Data received {"connection_id":153006,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba21d90012d19ad800720b028003b006b21..."} 
[2026-08-10 17:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba21d90012d19ad800720b028003b006b21..."} 
[2026-08-10 17:56:48] local.INFO: Processing buffer {"connection_id":153006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba21d90012d19ad800720b028003b006b21..."} 
[2026-08-10 17:56:48] local.INFO: Packet analysis {"connection_id":153006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:56:48] local.INFO: Extracted packet for processing {"connection_id":153006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119582760,"longitude_deg":75.6657536,"latitude_deg":11.958276,"altitude":59,"angle":107,"satellites":33,"speed":30,"hex_longitude":"2d19ad80","hex_latitude":"0720b028","is_valid_coordinates":true} 
[2026-08-10 17:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309359360001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11521958441123840,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841057484533616640,"note":"Value kept but may cause issues"} 
[2026-08-10 17:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786364698000,"timestamp_ms":1786364698000,"timestamp_seconds":1786364698,"priority":1,"record_length":96,"hex_timestamp":"0000019feba21d90"} 
[2026-08-10 17:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-10 17:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309359360001,"66":14396,"121":206,"28":31744,"24":30,"16":11521958441123840,"45":1841057484533616640},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309359360001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:56:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:56:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11521958441123840,"km_value":11521958441123.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841057484533616640,"description":"Unknown IO ID 45"} 
[2026-08-10 17:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309359360001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1841057484533616640}} 
[2026-08-10 17:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":153006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:56:48] local.INFO: GPS data processed {"connection_id":153006,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:56:48] local.INFO: Acknowledgment sent {"connection_id":153006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:56:58] local.INFO: TCP Data received {"connection_id":151694,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:56:58] local.INFO: Processing buffer {"connection_id":151694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:56:58] local.INFO: IMEI packet received {"connection_id":151694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":151694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:57:03] local.INFO: TCP Data received {"connection_id":151694,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:57:03] local.INFO: Processing buffer {"connection_id":151694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:57:03] local.INFO: IMEI packet received {"connection_id":151694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":151694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:57:04] local.INFO: TCP Data received {"connection_id":151694,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:57:04] local.INFO: Processing buffer {"connection_id":151694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:57:04] local.INFO: Packet analysis {"connection_id":151694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:57:04] local.INFO: Extracted packet for processing {"connection_id":151694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309292288001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786364724000,"timestamp_ms":1786364724000,"timestamp_seconds":1786364724,"priority":1,"record_length":96,"hex_timestamp":"0000019feba28320"} 
[2026-08-10 17:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 17:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309292288001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309292288001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:57:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309292288001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":151694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:57:04] local.INFO: GPS data processed {"connection_id":151694,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:57:04] local.INFO: Acknowledgment sent {"connection_id":151694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:57:12] local.INFO: TCP Data received {"connection_id":154447,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:57:12] local.INFO: Processing buffer {"connection_id":154447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:57:12] local.INFO: IMEI packet received {"connection_id":154447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":154447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:57:17] local.INFO: TCP Data received {"connection_id":154447,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:57:17] local.INFO: Processing buffer {"connection_id":154447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:57:17] local.INFO: IMEI packet received {"connection_id":154447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":154447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:57:18] local.INFO: TCP Data received {"connection_id":154447,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba38108012d81c2c005d371e0000500ae2a..."} 
[2026-08-10 17:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba38108012d81c2c005d371e0000500ae2a..."} 
[2026-08-10 17:57:18] local.INFO: Processing buffer {"connection_id":154447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba38108012d81c2c005d371e0000500ae2a..."} 
[2026-08-10 17:57:18] local.INFO: Packet analysis {"connection_id":154447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba3"} 
[2026-08-10 17:57:18] local.INFO: Extracted packet for processing {"connection_id":154447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba3"} 
[2026-08-10 17:57:18] local.INFO: GPS Element Parsed {"raw_longitude":763478720,"raw_latitude":97743328,"longitude_deg":76.347872,"latitude_deg":9.7743328,"altitude":5,"angle":174,"satellites":42,"speed":32,"hex_longitude":"2d81c2c0","hex_latitude":"05d371e0","is_valid_coordinates":true} 
[2026-08-10 17:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309385472001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117372466833129472,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096778641056475136,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786364789000,"timestamp_ms":1786364789000,"timestamp_seconds":1786364789,"priority":1,"record_length":96,"hex_timestamp":"0000019feba38108"} 
[2026-08-10 17:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-10 17:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309385472001,"66":13276,"166":206,"85":15104,"24":32,"16":117372466833129472,"45":-9096778641056475136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-10 17:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309385472001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:57:18] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-10 17:57:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117372466833129472,"km_value":117372466833129.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096778641056475136,"description":"Unknown IO ID 45"} 
[2026-08-10 17:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309385472001,"power":13276,"unknown_166":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9096778641056475136}} 
[2026-08-10 17:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":154447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:57:18] local.INFO: GPS data processed {"connection_id":154447,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:57:18] local.INFO: Acknowledgment sent {"connection_id":154447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:57:19] local.INFO: TCP Data received {"connection_id":154447,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba3a818012d81c60005d34d88000500ac2a..."} 
[2026-08-10 17:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba3a818012d81c60005d34d88000500ac2a..."} 
[2026-08-10 17:57:19] local.INFO: Processing buffer {"connection_id":154447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba3a818012d81c60005d34d88000500ac2a..."} 
[2026-08-10 17:57:19] local.INFO: Packet analysis {"connection_id":154447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba3"} 
[2026-08-10 17:57:19] local.INFO: Extracted packet for processing {"connection_id":154447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba3"} 
[2026-08-10 17:57:19] local.INFO: GPS Element Parsed {"raw_longitude":763479552,"raw_latitude":97734024,"longitude_deg":76.3479552,"latitude_deg":9.7734024,"altitude":5,"angle":172,"satellites":42,"speed":29,"hex_longitude":"2d81c600","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-08-10 17:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309385984001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117372917804695552,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096497166080155648,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786364799000,"timestamp_ms":1786364799000,"timestamp_seconds":1786364799,"priority":1,"record_length":96,"hex_timestamp":"0000019feba3a818"} 
[2026-08-10 17:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 17:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309385984001,"66":13243,"166":206,"85":15104,"24":29,"16":117372917804695552,"45":-9096497166080155648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-10 17:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309385984001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:57:19] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-10 17:57:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117372917804695552,"km_value":117372917804695.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096497166080155648,"description":"Unknown IO ID 45"} 
[2026-08-10 17:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309385984001,"power":13243,"unknown_166":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9096497166080155648}} 
[2026-08-10 17:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":154447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:57:19] local.INFO: GPS data processed {"connection_id":154447,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:57:19] local.INFO: Acknowledgment sent {"connection_id":154447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:57:19] local.INFO: TCP Data received {"connection_id":153006,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba23118012d19b9800720aaf80039007921..."} 
[2026-08-10 17:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba23118012d19b9800720aaf80039007921..."} 
[2026-08-10 17:57:19] local.INFO: Processing buffer {"connection_id":153006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba23118012d19b9800720aaf80039007921..."} 
[2026-08-10 17:57:19] local.INFO: Packet analysis {"connection_id":153006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:57:19] local.INFO: Extracted packet for processing {"connection_id":153006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119581432,"longitude_deg":75.6660608,"latitude_deg":11.9581432,"altitude":57,"angle":121,"satellites":33,"speed":19,"hex_longitude":"2d19b980","hex_latitude":"0720aaf8","is_valid_coordinates":true} 
[2026-08-10 17:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309362688001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522117354913792,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790020683776,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786364703000,"timestamp_ms":1786364703000,"timestamp_seconds":1786364703,"priority":1,"record_length":96,"hex_timestamp":"0000019feba23118"} 
[2026-08-10 17:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 17:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309362688001,"66":14048,"121":206,"28":31744,"24":19,"16":11522117354913792,"45":1850275790020683776},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309362688001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:57:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:57:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522117354913792,"km_value":11522117354913.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790020683776,"description":"Unknown IO ID 45"} 
[2026-08-10 17:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309362688001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1850275790020683776}} 
[2026-08-10 17:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":153006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:57:20] local.INFO: GPS data processed {"connection_id":153006,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:57:20] local.INFO: Acknowledgment sent {"connection_id":153006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:57:35] local.INFO: TCP Data received {"connection_id":151694,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:57:35] local.INFO: Processing buffer {"connection_id":151694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:57:35] local.INFO: Packet analysis {"connection_id":151694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:57:35] local.INFO: Extracted packet for processing {"connection_id":151694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309292288001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786364724000,"timestamp_ms":1786364724000,"timestamp_seconds":1786364724,"priority":1,"record_length":96,"hex_timestamp":"0000019feba28320"} 
[2026-08-10 17:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 17:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:57: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-08-10 17:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309292288001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309292288001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:57:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309292288001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":151694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:57:35] local.INFO: GPS data processed {"connection_id":151694,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:57:35] local.INFO: Acknowledgment sent {"connection_id":151694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:57:42] local.INFO: TCP Data received {"connection_id":151695,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:57:42] local.INFO: Processing buffer {"connection_id":151695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:57:42] local.INFO: IMEI packet received {"connection_id":151695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":151695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:57:42] local.INFO: TCP Data received {"connection_id":151695,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:57:42] local.INFO: Processing buffer {"connection_id":151695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:57:42] local.INFO: IMEI packet received {"connection_id":151695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":151695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:57:46] local.INFO: TCP Data received {"connection_id":151695,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:57:46] local.INFO: Processing buffer {"connection_id":151695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:57:46] local.INFO: IMEI packet received {"connection_id":151695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":151695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:57:48] local.INFO: TCP Data received {"connection_id":151695,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba365b0012d198c000720b1f0003c01051c..."} 
[2026-08-10 17:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba365b0012d198c000720b1f0003c01051c..."} 
[2026-08-10 17:57:48] local.INFO: Processing buffer {"connection_id":151695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba365b0012d198c000720b1f0003c01051c..."} 
[2026-08-10 17:57:48] local.INFO: Packet analysis {"connection_id":151695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba3"} 
[2026-08-10 17:57:48] local.INFO: Extracted packet for processing {"connection_id":151695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba3"} 
[2026-08-10 17:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":28,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 17:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309378816001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 17: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-08-10 17:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786364782000,"timestamp_ms":1786364782000,"timestamp_seconds":1786364782,"priority":1,"record_length":96,"hex_timestamp":"0000019feba365b0"} 
[2026-08-10 17:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-10 17:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309378816001,"66":13102,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309378816001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:57:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:57:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 17:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309378816001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 17:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":151695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:57:48] local.INFO: GPS data processed {"connection_id":151695,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:57:48] local.INFO: Acknowledgment sent {"connection_id":151695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:57:49] local.INFO: TCP Data received {"connection_id":154447,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba3c758012d81c7c005d345d0000300912a..."} 
[2026-08-10 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba3c758012d81c7c005d345d0000300912a..."} 
[2026-08-10 17:57:49] local.INFO: Processing buffer {"connection_id":154447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba3c758012d81c7c005d345d0000300912a..."} 
[2026-08-10 17:57:49] local.INFO: Packet analysis {"connection_id":154447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba3"} 
[2026-08-10 17:57:49] local.INFO: Extracted packet for processing {"connection_id":154447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba3"} 
[2026-08-10 17:57:49] local.INFO: GPS Element Parsed {"raw_longitude":763480000,"raw_latitude":97732048,"longitude_deg":76.348,"latitude_deg":9.7732048,"altitude":3,"angle":145,"satellites":42,"speed":7,"hex_longitude":"2d81c7c0","hex_latitude":"05d345d0","is_valid_coordinates":true} 
[2026-08-10 17:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309388544001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117373020883910656,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095582372408227840,"note":"Value kept but may cause issues"} 
[2026-08-10 17:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786364807000,"timestamp_ms":1786364807000,"timestamp_seconds":1786364807,"priority":1,"record_length":96,"hex_timestamp":"0000019feba3c758"} 
[2026-08-10 17:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:57: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-08-10 17:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 17:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309388544001,"66":12863,"166":206,"85":15104,"24":7,"16":117373020883910656,"45":-9095582372408227840},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-10 17:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309388544001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:57:49] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-10 17:57:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117373020883910656,"km_value":117373020883910.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095582372408227840,"description":"Unknown IO ID 45"} 
[2026-08-10 17:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309388544001,"power":12863,"unknown_166":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9095582372408227840}} 
[2026-08-10 17:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":154447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:57:49] local.INFO: GPS data processed {"connection_id":154447,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:57:49] local.INFO: Acknowledgment sent {"connection_id":154447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:57:58] local.INFO: TCP Data received {"connection_id":154448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:57:58] local.INFO: Processing buffer {"connection_id":154448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:57:58] local.INFO: IMEI packet received {"connection_id":154448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":154448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:58:04] local.INFO: TCP Data received {"connection_id":154449,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:58:04] local.INFO: Processing buffer {"connection_id":154449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:58:04] local.INFO: IMEI packet received {"connection_id":154449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":154449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:58:04] local.INFO: TCP Data received {"connection_id":154448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:58:04] local.INFO: Processing buffer {"connection_id":154448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:58:04] local.INFO: IMEI packet received {"connection_id":154448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":154448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:58:05] local.INFO: TCP Data received {"connection_id":154448,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:58:05] local.INFO: Processing buffer {"connection_id":154448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:58:05] local.INFO: Packet analysis {"connection_id":154448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:58:05] local.INFO: Extracted packet for processing {"connection_id":154448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309292288001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786364724000,"timestamp_ms":1786364724000,"timestamp_seconds":1786364724,"priority":1,"record_length":96,"hex_timestamp":"0000019feba28320"} 
[2026-08-10 17:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 17:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309292288001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309292288001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:58:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309292288001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":154448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:58:05] local.INFO: GPS data processed {"connection_id":154448,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:58:05] local.INFO: Acknowledgment sent {"connection_id":154448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:58:06] local.INFO: TCP Data received {"connection_id":154449,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:58:06] local.INFO: Processing buffer {"connection_id":154449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:58:06] local.INFO: IMEI packet received {"connection_id":154449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":154449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:58:07] local.INFO: TCP Data received {"connection_id":154449,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:58:07] local.INFO: Processing buffer {"connection_id":154449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:58:07] local.INFO: IMEI packet received {"connection_id":154449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":154449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:58:12] local.INFO: TCP Data received {"connection_id":154449,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:58:12] local.INFO: Processing buffer {"connection_id":154449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:58:12] local.INFO: IMEI packet received {"connection_id":154449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":154449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:58:13] local.INFO: TCP Data received {"connection_id":154449,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba4e868012d82820005d349e80008009728..."} 
[2026-08-10 17:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba4e868012d82820005d349e80008009728..."} 
[2026-08-10 17:58:13] local.INFO: Processing buffer {"connection_id":154449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba4e868012d82820005d349e80008009728..."} 
[2026-08-10 17:58:13] local.INFO: Packet analysis {"connection_id":154449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:58:13] local.INFO: Extracted packet for processing {"connection_id":154449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":97733096,"longitude_deg":76.352768,"latitude_deg":9.7733096,"altitude":8,"angle":151,"satellites":40,"speed":11,"hex_longitude":"2d828200","hex_latitude":"05d349e8","is_valid_coordinates":true} 
[2026-08-10 17:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309409280001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117375327281348608,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042805814275153920,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786364881000,"timestamp_ms":1786364881000,"timestamp_seconds":1786364881,"priority":1,"record_length":96,"hex_timestamp":"0000019feba4e868"} 
[2026-08-10 17:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:58: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-08-10 17:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168297684343,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3953407160,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185084933,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":255,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2760294401,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010054862,"corrected_to":0} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147560834,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376823,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":207,"raw_value":58077557095399449,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4281860096,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3544346624,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:13] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,68,85,24,241,157,16,159,224,45,64,75,8,40,10,66,220,39,177,128,1,240,216,227,255,235,211,4,113,205,25,103,239,52,207,2,160,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2010054862,"validated":0}]} 
[2026-08-10 17:58:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576604955831173120,"timestamp_seconds":576604955831173.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 17:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309409280001,"66":13276,"68":206,"85":15104,"24":11,"16":117375327281348608,"45":-9042805814275153920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-10 17:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309409280001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:58:13] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 17:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117375327281348608,"km_value":117375327281348.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042805814275153920,"description":"Unknown IO ID 45"} 
[2026-08-10 17:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309409280001,"power":13276,"unknown_68":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9042805814275153920}} 
[2026-08-10 17:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":154449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:58:13] local.INFO: GPS data processed {"connection_id":154449,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:58:13] local.INFO: Acknowledgment sent {"connection_id":154449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:58:19] local.INFO: TCP Data received {"connection_id":151695,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba3b7b8012d198c000720b1f0003c01051f..."} 
[2026-08-10 17:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba3b7b8012d198c000720b1f0003c01051f..."} 
[2026-08-10 17:58:19] local.INFO: Processing buffer {"connection_id":151695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba3b7b8012d198c000720b1f0003c01051f..."} 
[2026-08-10 17:58:19] local.INFO: Packet analysis {"connection_id":151695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba3"} 
[2026-08-10 17:58:19] local.INFO: Extracted packet for processing {"connection_id":151695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba3"} 
[2026-08-10 17:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 17:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309384192001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786364803000,"timestamp_ms":1786364803000,"timestamp_seconds":1786364803,"priority":1,"record_length":96,"hex_timestamp":"0000019feba3b7b8"} 
[2026-08-10 17:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-10 17:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309384192001,"66":13091,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309384192001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:58:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:58:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 17:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309384192001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 17:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":151695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:58:19] local.INFO: GPS data processed {"connection_id":151695,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:58:19] local.INFO: Acknowledgment sent {"connection_id":151695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:58:37] local.INFO: TCP Data received {"connection_id":154448,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:58:37] local.INFO: Processing buffer {"connection_id":154448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:58:37] local.INFO: Packet analysis {"connection_id":154448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:58:37] local.INFO: Extracted packet for processing {"connection_id":154448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309292288001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786364724000,"timestamp_ms":1786364724000,"timestamp_seconds":1786364724,"priority":1,"record_length":96,"hex_timestamp":"0000019feba28320"} 
[2026-08-10 17:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 17:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309292288001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309292288001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:58:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309292288001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":154448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:58:37] local.INFO: GPS data processed {"connection_id":154448,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:58:37] local.INFO: Acknowledgment sent {"connection_id":154448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:58:41] local.INFO: TCP Data received {"connection_id":153007,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:58:41] local.INFO: Processing buffer {"connection_id":153007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:58:41] local.INFO: IMEI packet received {"connection_id":153007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":153007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:58:44] local.INFO: TCP Data received {"connection_id":154449,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba4ec50012d82824005d348e8000800a427..."} 
[2026-08-10 17:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba4ec50012d82824005d348e8000800a427..."} 
[2026-08-10 17:58:44] local.INFO: Processing buffer {"connection_id":154449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba4ec50012d82824005d348e8000800a427..."} 
[2026-08-10 17:58:44] local.INFO: Packet analysis {"connection_id":154449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:58:44] local.INFO: Extracted packet for processing {"connection_id":154449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:58:44] local.INFO: GPS Element Parsed {"raw_longitude":763527744,"raw_latitude":97732840,"longitude_deg":76.3527744,"latitude_deg":9.773284,"altitude":8,"angle":164,"satellites":39,"speed":9,"hex_longitude":"2d828240","hex_latitude":"05d348e8","is_valid_coordinates":true} 
[2026-08-10 17:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309409536001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117375340166250496,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042665076786862080,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786364882000,"timestamp_ms":1786364882000,"timestamp_seconds":1786364882,"priority":1,"record_length":96,"hex_timestamp":"0000019feba4ec50"} 
[2026-08-10 17:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 17:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309409536001,"66":13450,"68":206,"85":15104,"24":9,"16":117375340166250496,"45":-9042665076786862080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-10 17:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309409536001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:58:44] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 17:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117375340166250496,"km_value":117375340166250.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042665076786862080,"description":"Unknown IO ID 45"} 
[2026-08-10 17:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309409536001,"power":13450,"unknown_68":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9042665076786862080}} 
[2026-08-10 17:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":154449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:58:44] local.INFO: GPS data processed {"connection_id":154449,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:58:44] local.INFO: Acknowledgment sent {"connection_id":154449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:58:45] local.INFO: TCP Data received {"connection_id":153007,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:58:45] local.INFO: Processing buffer {"connection_id":153007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:58:45] local.INFO: IMEI packet received {"connection_id":153007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":153007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:58:46] local.INFO: TCP Data received {"connection_id":153007,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:58:46] local.INFO: Processing buffer {"connection_id":153007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:58:46] local.INFO: IMEI packet received {"connection_id":153007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":153007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:58:47] local.INFO: TCP Data received {"connection_id":153007,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba409c0012d198c000720b1f0003c010520..."} 
[2026-08-10 17:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba409c0012d198c000720b1f0003c010520..."} 
[2026-08-10 17:58:47] local.INFO: Processing buffer {"connection_id":153007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba409c0012d198c000720b1f0003c010520..."} 
[2026-08-10 17:58:47] local.INFO: Packet analysis {"connection_id":153007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:58:47] local.INFO: Extracted packet for processing {"connection_id":153007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 17:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309389568001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58: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-08-10 17:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786364824000,"timestamp_ms":1786364824000,"timestamp_seconds":1786364824,"priority":1,"record_length":96,"hex_timestamp":"0000019feba409c0"} 
[2026-08-10 17:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 17:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309389568001,"66":13015,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309389568001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:58:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:58:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 17:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309389568001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 17:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":153007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:58:47] local.INFO: GPS data processed {"connection_id":153007,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:58:47] local.INFO: Acknowledgment sent {"connection_id":153007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:58:52] local.INFO: TCP Data received {"connection_id":153007,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba45bc8012d198c000720b1f0003c010521..."} 
[2026-08-10 17:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba45bc8012d198c000720b1f0003c010521..."} 
[2026-08-10 17:58:52] local.INFO: Processing buffer {"connection_id":153007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba45bc8012d198c000720b1f0003c010521..."} 
[2026-08-10 17:58:52] local.INFO: Packet analysis {"connection_id":153007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:58:52] local.INFO: Extracted packet for processing {"connection_id":153007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 17:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309394944001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 17:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786364845000,"timestamp_ms":1786364845000,"timestamp_seconds":1786364845,"priority":1,"record_length":96,"hex_timestamp":"0000019feba45bc8"} 
[2026-08-10 17:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:58: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-08-10 17:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-10 17:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309394944001,"66":13015,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309394944001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:58:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:58:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 17:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309394944001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 17:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":153007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:58:53] local.INFO: GPS data processed {"connection_id":153007,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:58:53] local.INFO: Acknowledgment sent {"connection_id":153007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:58:58] local.INFO: TCP Data received {"connection_id":152079,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:58:58] local.INFO: Processing buffer {"connection_id":152079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:58:58] local.INFO: IMEI packet received {"connection_id":152079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 17:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":152079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:59:03] local.INFO: TCP Data received {"connection_id":152079,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:59:03] local.INFO: Processing buffer {"connection_id":152079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 17:59:03] local.INFO: IMEI packet received {"connection_id":152079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 17:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":152079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:59:04] local.INFO: TCP Data received {"connection_id":152079,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:59:04] local.INFO: Processing buffer {"connection_id":152079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:59:04] local.INFO: Packet analysis {"connection_id":152079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:59:04] local.INFO: Extracted packet for processing {"connection_id":152079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309292288001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786364724000,"timestamp_ms":1786364724000,"timestamp_seconds":1786364724,"priority":1,"record_length":96,"hex_timestamp":"0000019feba28320"} 
[2026-08-10 17:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 17:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309292288001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309292288001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:59:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309292288001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":152079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:59:04] local.INFO: GPS data processed {"connection_id":152079,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:59:04] local.INFO: Acknowledgment sent {"connection_id":152079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:59:07] local.INFO: TCP Data received {"connection_id":154450,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:59:07] local.INFO: Processing buffer {"connection_id":154450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:59:07] local.INFO: IMEI packet received {"connection_id":154450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 17:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":154450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:59:12] local.INFO: TCP Data received {"connection_id":154450,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:59:12] local.INFO: Processing buffer {"connection_id":154450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 17:59:12] local.INFO: IMEI packet received {"connection_id":154450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 17:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":154450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:59:13] local.INFO: TCP Data received {"connection_id":154450,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba4f420012d82820005d34768000900b129..."} 
[2026-08-10 17:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba4f420012d82820005d34768000900b129..."} 
[2026-08-10 17:59:13] local.INFO: Processing buffer {"connection_id":154450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba4f420012d82820005d34768000900b129..."} 
[2026-08-10 17:59:13] local.INFO: Packet analysis {"connection_id":154450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:59:13] local.INFO: Extracted packet for processing {"connection_id":154450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":97732456,"longitude_deg":76.352768,"latitude_deg":9.7732456,"altitude":9,"angle":177,"satellites":41,"speed":5,"hex_longitude":"2d828200","hex_latitude":"05d34768","is_valid_coordinates":true} 
[2026-08-10 17:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309409792001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117375357346119680,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042594708042749952,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786364884000,"timestamp_ms":1786364884000,"timestamp_seconds":1786364884,"priority":1,"record_length":96,"hex_timestamp":"0000019feba4f420"} 
[2026-08-10 17:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:59: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-08-10 17:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 17:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309409792001,"66":13450,"68":206,"85":15104,"24":5,"16":117375357346119680,"45":-9042594708042749952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-10 17:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309409792001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:59:13] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 17:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117375357346119680,"km_value":117375357346119.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042594708042749952,"description":"Unknown IO ID 45"} 
[2026-08-10 17:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309409792001,"power":13450,"unknown_68":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9042594708042749952}} 
[2026-08-10 17:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":154450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:59:13] local.INFO: GPS data processed {"connection_id":154450,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:59:13] local.INFO: Acknowledgment sent {"connection_id":154450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:59:24] local.INFO: TCP Data received {"connection_id":153007,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba4add0012d198c000720b1f0003c010521..."} 
[2026-08-10 17:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba4add0012d198c000720b1f0003c010521..."} 
[2026-08-10 17:59:24] local.INFO: Processing buffer {"connection_id":153007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba4add0012d198c000720b1f0003c010521..."} 
[2026-08-10 17:59:24] local.INFO: Packet analysis {"connection_id":153007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:59:24] local.INFO: Extracted packet for processing {"connection_id":153007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 17:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309400320001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786364866000,"timestamp_ms":1786364866000,"timestamp_seconds":1786364866,"priority":1,"record_length":96,"hex_timestamp":"0000019feba4add0"} 
[2026-08-10 17:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-10 17:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309400320001,"66":12950,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309400320001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:59:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:59:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 17:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309400320001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 17:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":153007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:59:24] local.INFO: GPS data processed {"connection_id":153007,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:59:24] local.INFO: Acknowledgment sent {"connection_id":153007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:59:35] local.INFO: TCP Data received {"connection_id":152079,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:59:35] local.INFO: Processing buffer {"connection_id":152079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 17:59:35] local.INFO: Packet analysis {"connection_id":152079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:59:35] local.INFO: Extracted packet for processing {"connection_id":152079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309292288001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786364724000,"timestamp_ms":1786364724000,"timestamp_seconds":1786364724,"priority":1,"record_length":96,"hex_timestamp":"0000019feba28320"} 
[2026-08-10 17:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 17:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 17:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 17:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 17:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309292288001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 17:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 17:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 17:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309292288001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:59:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 17:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 17:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 17:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309292288001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 17:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":152079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:59:35] local.INFO: GPS data processed {"connection_id":152079,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:59:35] local.INFO: Acknowledgment sent {"connection_id":152079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:59:41] local.INFO: TCP Data received {"connection_id":151696,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:59:41] local.INFO: Processing buffer {"connection_id":151696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:59:41] local.INFO: IMEI packet received {"connection_id":151696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 17:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":151696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 17:59:44] local.INFO: TCP Data received {"connection_id":154450,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba54240012d82830005d32460000900b328..."} 
[2026-08-10 17:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba54240012d82830005d32460000900b328..."} 
[2026-08-10 17:59:44] local.INFO: Processing buffer {"connection_id":154450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba54240012d82830005d32460000900b328..."} 
[2026-08-10 17:59:44] local.INFO: Packet analysis {"connection_id":154450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba5"} 
[2026-08-10 17:59:44] local.INFO: Extracted packet for processing {"connection_id":154450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba5"} 
[2026-08-10 17:59:44] local.INFO: GPS Element Parsed {"raw_longitude":763527936,"raw_latitude":97723488,"longitude_deg":76.3527936,"latitude_deg":9.7723488,"altitude":9,"angle":179,"satellites":40,"speed":17,"hex_longitude":"2d828300","hex_latitude":"05d32460","is_valid_coordinates":true} 
[2026-08-10 17:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 17:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309410304001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117375795432783872,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042665076787025920,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 17:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786364904000,"timestamp_ms":1786364904000,"timestamp_seconds":1786364904,"priority":1,"record_length":96,"hex_timestamp":"0000019feba54240"} 
[2026-08-10 17:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 17:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 17:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 17:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 17:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 17:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 17:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 17:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 17:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309410304001,"66":13352,"68":206,"85":15104,"24":17,"16":117375795432783872,"45":-9042665076787025920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-10 17:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 17:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 17:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309410304001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:59:44] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 17:59:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 17:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117375795432783872,"km_value":117375795432783.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042665076787025920,"description":"Unknown IO ID 45"} 
[2026-08-10 17:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309410304001,"power":13352,"unknown_68":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9042665076787025920}} 
[2026-08-10 17:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":154450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:59:44] local.INFO: GPS data processed {"connection_id":154450,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:59:44] local.INFO: Acknowledgment sent {"connection_id":154450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 17:59:46] local.INFO: TCP Data received {"connection_id":151696,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:59:46] local.INFO: Processing buffer {"connection_id":151696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 17:59:46] local.INFO: IMEI packet received {"connection_id":151696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 17:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":151696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 17:59:47] local.INFO: TCP Data received {"connection_id":151696,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba4ffd8012d198c000720b1f0003c010521..."} 
[2026-08-10 17:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba4ffd8012d198c000720b1f0003c010521..."} 
[2026-08-10 17:59:47] local.INFO: Processing buffer {"connection_id":151696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba4ffd8012d198c000720b1f0003c010521..."} 
[2026-08-10 17:59:47] local.INFO: Packet analysis {"connection_id":151696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:59:47] local.INFO: Extracted packet for processing {"connection_id":151696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba4"} 
[2026-08-10 17:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 17:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309405696001,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 17:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 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-08-10 17:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786364887000,"timestamp_ms":1786364887000,"timestamp_seconds":1786364887,"priority":1,"record_length":96,"hex_timestamp":"0000019feba4ffd8"} 
[2026-08-10 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-08-10 17:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 17:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 17:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 17:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 17:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 17:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 17:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 17:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 17:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309405696001,"66":12950,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 17:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 17:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 17:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309405696001,"description":"Unknown IO ID 0"} 
[2026-08-10 17:59:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 17:59:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 17:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 17:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 17:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309405696001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 17:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":151696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 17:59:47] local.INFO: GPS data processed {"connection_id":151696,"processed":1,"errors":0,"total":1} 
[2026-08-10 17:59:47] local.INFO: Acknowledgment sent {"connection_id":151696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:00:07] local.INFO: TCP Data received {"connection_id":153008,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:00:07] local.INFO: Processing buffer {"connection_id":153008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:00:07] local.INFO: IMEI packet received {"connection_id":153008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":153008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:00:12] local.INFO: TCP Data received {"connection_id":153008,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:00:12] local.INFO: Processing buffer {"connection_id":153008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:00:12] local.INFO: IMEI packet received {"connection_id":153008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":153008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:00:13] local.INFO: TCP Data received {"connection_id":153008,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba59060012d82828005d30720000800af2a..."} 
[2026-08-10 18:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba59060012d82828005d30720000800af2a..."} 
[2026-08-10 18:00:13] local.INFO: Processing buffer {"connection_id":153008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba59060012d82828005d30720000800af2a..."} 
[2026-08-10 18:00:13] local.INFO: Packet analysis {"connection_id":153008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba5"} 
[2026-08-10 18:00:13] local.INFO: Extracted packet for processing {"connection_id":153008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba5"} 
[2026-08-10 18:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763527808,"raw_latitude":97716000,"longitude_deg":76.3527808,"latitude_deg":9.7716,"altitude":8,"angle":175,"satellites":42,"speed":16,"hex_longitude":"2d828280","hex_latitude":"05d30720","is_valid_coordinates":true} 
[2026-08-10 18:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309415424001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117376160505004032,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042383601812611072,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786364924000,"timestamp_ms":1786364924000,"timestamp_seconds":1786364924,"priority":1,"record_length":96,"hex_timestamp":"0000019feba59060"} 
[2026-08-10 18:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:00: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-08-10 18:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-10 18:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309415424001,"66":12765,"68":206,"85":15104,"24":16,"16":117376160505004032,"45":-9042383601812611072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-10 18:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309415424001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:00:13] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 18:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117376160505004032,"km_value":117376160505004.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042383601812611072,"description":"Unknown IO ID 45"} 
[2026-08-10 18:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309415424001,"power":12765,"unknown_68":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9042383601812611072}} 
[2026-08-10 18:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":153008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:00:13] local.INFO: GPS data processed {"connection_id":153008,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:00:13] local.INFO: Acknowledgment sent {"connection_id":153008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:00:19] local.INFO: TCP Data received {"connection_id":151696,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba551e0012d198c000720b1f0003c010521..."} 
[2026-08-10 18:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba551e0012d198c000720b1f0003c010521..."} 
[2026-08-10 18:00:19] local.INFO: Processing buffer {"connection_id":151696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba551e0012d198c000720b1f0003c010521..."} 
[2026-08-10 18:00:19] local.INFO: Packet analysis {"connection_id":151696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba5"} 
[2026-08-10 18:00:19] local.INFO: Extracted packet for processing {"connection_id":151696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba5"} 
[2026-08-10 18:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309411072001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786364908000,"timestamp_ms":1786364908000,"timestamp_seconds":1786364908,"priority":1,"record_length":96,"hex_timestamp":"0000019feba551e0"} 
[2026-08-10 18:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 18:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309411072001,"66":12950,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309411072001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:00:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:00:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309411072001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":151696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:00:19] local.INFO: GPS data processed {"connection_id":151696,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:00:19] local.INFO: Acknowledgment sent {"connection_id":151696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:00:29] local.INFO: TCP Data received {"connection_id":153009,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:00:29] local.INFO: Processing buffer {"connection_id":153009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:00:29] local.INFO: IMEI packet received {"connection_id":153009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":153009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:00:29] local.INFO: TCP Data received {"connection_id":153009,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-10 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153009,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-10 18:00:29] local.INFO: Processing buffer {"connection_id":153009,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-10 18:00:29] local.INFO: IMEI packet received {"connection_id":153009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":153009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:00:32] local.INFO: TCP Data received {"connection_id":153009,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 18:00:32] local.INFO: Processing buffer {"connection_id":153009,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019feb..."} 
[2026-08-10 18:00:32] local.INFO: IMEI packet received {"connection_id":153009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":153009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:00:36] local.INFO: TCP Data received {"connection_id":153009,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 18:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 18:00:36] local.INFO: Processing buffer {"connection_id":153009,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 18:00:36] local.INFO: Packet analysis {"connection_id":153009,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 18:00:36] local.INFO: Extracted packet for processing {"connection_id":153009,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309292288001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786364724000,"timestamp_ms":1786364724000,"timestamp_seconds":1786364724,"priority":1,"record_length":96,"hex_timestamp":"0000019feba28320"} 
[2026-08-10 18:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:00: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-08-10 18:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309292288001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309292288001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:00:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309292288001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":153009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:00:36] local.INFO: GPS data processed {"connection_id":153009,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:00:36] local.INFO: Acknowledgment sent {"connection_id":153009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:00:36] local.INFO: Packet analysis {"connection_id":153009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 18:00:36] local.INFO: Extracted packet for processing {"connection_id":153009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309292288001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786364724000,"timestamp_ms":1786364724000,"timestamp_seconds":1786364724,"priority":1,"record_length":96,"hex_timestamp":"0000019feba28320"} 
[2026-08-10 18:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:00: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-08-10 18:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309292288001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309292288001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:00:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309292288001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":153009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:00:36] local.INFO: GPS data processed {"connection_id":153009,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:00:36] local.INFO: Acknowledgment sent {"connection_id":153009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:00:37] local.INFO: TCP Data received {"connection_id":153009,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 18:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 18:00:37] local.INFO: Processing buffer {"connection_id":153009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba28320012d342a4006abc2800017010223..."} 
[2026-08-10 18:00:37] local.INFO: Packet analysis {"connection_id":153009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 18:00:37] local.INFO: Extracted packet for processing {"connection_id":153009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba2"} 
[2026-08-10 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309292288001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786364724000,"timestamp_ms":1786364724000,"timestamp_seconds":1786364724,"priority":1,"record_length":96,"hex_timestamp":"0000019feba28320"} 
[2026-08-10 18:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:00: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-08-10 18:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309292288001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309292288001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:00:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309292288001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":153009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:00:37] local.INFO: GPS data processed {"connection_id":153009,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:00:37] local.INFO: Acknowledgment sent {"connection_id":153009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:00:46] local.INFO: TCP Data received {"connection_id":151697,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:00:46] local.INFO: Processing buffer {"connection_id":151697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:00:46] local.INFO: IMEI packet received {"connection_id":151697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":151697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:00:48] local.INFO: TCP Data received {"connection_id":153008,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba5c710012d82868005d2f0d8000a00a329..."} 
[2026-08-10 18:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba5c710012d82868005d2f0d8000a00a329..."} 
[2026-08-10 18:00:48] local.INFO: Processing buffer {"connection_id":153008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba5c710012d82868005d2f0d8000a00a329..."} 
[2026-08-10 18:00:48] local.INFO: Packet analysis {"connection_id":153008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba5"} 
[2026-08-10 18:00:48] local.INFO: Extracted packet for processing {"connection_id":153008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba5"} 
[2026-08-10 18:00:48] local.INFO: GPS Element Parsed {"raw_longitude":763528832,"raw_latitude":97710296,"longitude_deg":76.3528832,"latitude_deg":9.7710296,"altitude":10,"angle":163,"satellites":41,"speed":14,"hex_longitude":"2d828680","hex_latitude":"05d2f0d8","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309420544001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117376443972845568,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042524339302883328,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786364938000,"timestamp_ms":1786364938000,"timestamp_seconds":1786364938,"priority":1,"record_length":96,"hex_timestamp":"0000019feba5c710"} 
[2026-08-10 18:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 18:00: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-08-10 18: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-08-10 18:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309420544001,"66":13526,"68":206,"85":15104,"24":14,"16":117376443972845568,"45":-9042524339302883328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-10 18:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309420544001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:00:48] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 18:00:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117376443972845568,"km_value":117376443972845.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042524339302883328,"description":"Unknown IO ID 45"} 
[2026-08-10 18:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309420544001,"power":13526,"unknown_68":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9042524339302883328}} 
[2026-08-10 18:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":153008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:00:48] local.INFO: GPS data processed {"connection_id":153008,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:00:48] local.INFO: Acknowledgment sent {"connection_id":153008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:00:51] local.INFO: TCP Data received {"connection_id":151697,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:00:51] local.INFO: Processing buffer {"connection_id":151697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:00:51] local.INFO: IMEI packet received {"connection_id":151697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":151697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:00:52] local.INFO: TCP Data received {"connection_id":151697,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba5a3e8012d198c000720b1f0003c010520..."} 
[2026-08-10 18:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba5a3e8012d198c000720b1f0003c010520..."} 
[2026-08-10 18:00:52] local.INFO: Processing buffer {"connection_id":151697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba5a3e8012d198c000720b1f0003c010520..."} 
[2026-08-10 18:00:52] local.INFO: Packet analysis {"connection_id":151697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba5"} 
[2026-08-10 18:00:52] local.INFO: Extracted packet for processing {"connection_id":151697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba5"} 
[2026-08-10 18:00:52] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309416448001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786364929000,"timestamp_ms":1786364929000,"timestamp_seconds":1786364929,"priority":1,"record_length":96,"hex_timestamp":"0000019feba5a3e8"} 
[2026-08-10 18:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:00: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-08-10 18:00: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":150,"data_length":795,"current_offset":136} 
[2026-08-10 18:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309416448001,"66":12885,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309416448001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:00:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:00:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309416448001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":151697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:00:52] local.INFO: GPS data processed {"connection_id":151697,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:00:52] local.INFO: Acknowledgment sent {"connection_id":151697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:00:58] local.INFO: TCP Data received {"connection_id":153010,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:00:58] local.INFO: Processing buffer {"connection_id":153010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:00:58] local.INFO: IMEI packet received {"connection_id":153010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":153010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:01:05] local.INFO: TCP Data received {"connection_id":153010,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:01:05] local.INFO: Processing buffer {"connection_id":153010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:01:05] local.INFO: IMEI packet received {"connection_id":153010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":153010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:01:07] local.INFO: TCP Data received {"connection_id":153011,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:01:07] local.INFO: Processing buffer {"connection_id":153011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:01:07] local.INFO: IMEI packet received {"connection_id":153011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":153011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:01:10] local.INFO: TCP Data received {"connection_id":153010,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:01:10] local.INFO: Processing buffer {"connection_id":153010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:01:10] local.INFO: Packet analysis {"connection_id":153010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:01:10] local.INFO: Extracted packet for processing {"connection_id":153010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309369344001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786365025000,"timestamp_ms":1786365025000,"timestamp_seconds":1786365025,"priority":1,"record_length":96,"hex_timestamp":"0000019feba71ae8"} 
[2026-08-10 18:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309369344001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309369344001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:01:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309369344001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":153010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:01:10] local.INFO: GPS data processed {"connection_id":153010,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:01:10] local.INFO: Acknowledgment sent {"connection_id":153010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:01:12] local.INFO: TCP Data received {"connection_id":153011,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:01:12] local.INFO: Processing buffer {"connection_id":153011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:01:12] local.INFO: IMEI packet received {"connection_id":153011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":153011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:01:13] local.INFO: TCP Data received {"connection_id":153011,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba601a8012d828c4005d2ce20000a00ab28..."} 
[2026-08-10 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba601a8012d828c4005d2ce20000a00ab28..."} 
[2026-08-10 18:01:13] local.INFO: Processing buffer {"connection_id":153011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba601a8012d828c4005d2ce20000a00ab28..."} 
[2026-08-10 18:01:13] local.INFO: Packet analysis {"connection_id":153011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba6"} 
[2026-08-10 18:01:13] local.INFO: Extracted packet for processing {"connection_id":153011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba6"} 
[2026-08-10 18:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763530304,"raw_latitude":97701408,"longitude_deg":76.3530304,"latitude_deg":9.7701408,"altitude":10,"angle":171,"satellites":40,"speed":27,"hex_longitude":"2d828c40","hex_latitude":"05d2ce20","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309424128001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117376877764542464,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041398439397500928,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786364953000,"timestamp_ms":1786364953000,"timestamp_seconds":1786364953,"priority":1,"record_length":96,"hex_timestamp":"0000019feba601a8"} 
[2026-08-10 18:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:01: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-08-10 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 18:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309424128001,"66":13374,"68":206,"85":15104,"24":27,"16":117376877764542464,"45":-9041398439397500928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-10 18:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309424128001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:01:13] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 18:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117376877764542464,"km_value":117376877764542.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041398439397500928,"description":"Unknown IO ID 45"} 
[2026-08-10 18:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309424128001,"power":13374,"unknown_68":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9041398439397500928}} 
[2026-08-10 18:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":153011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:01:13] local.INFO: GPS data processed {"connection_id":153011,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:01:13] local.INFO: Acknowledgment sent {"connection_id":153011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:01:24] local.INFO: TCP Data received {"connection_id":151697,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba5f5f0012d198c000720b1f0003c010522..."} 
[2026-08-10 18:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba5f5f0012d198c000720b1f0003c010522..."} 
[2026-08-10 18:01:24] local.INFO: Processing buffer {"connection_id":151697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba5f5f0012d198c000720b1f0003c010522..."} 
[2026-08-10 18:01:24] local.INFO: Packet analysis {"connection_id":151697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba5"} 
[2026-08-10 18:01:24] local.INFO: Extracted packet for processing {"connection_id":151697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba5"} 
[2026-08-10 18:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309421824001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01: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-08-10 18:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786364950000,"timestamp_ms":1786364950000,"timestamp_seconds":1786364950,"priority":1,"record_length":96,"hex_timestamp":"0000019feba5f5f0"} 
[2026-08-10 18:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 18:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309421824001,"66":12917,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309421824001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:01:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:01:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309421824001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":151697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:01:24] local.INFO: GPS data processed {"connection_id":151697,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:01:24] local.INFO: Acknowledgment sent {"connection_id":151697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:01:42] local.INFO: TCP Data received {"connection_id":152080,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:01:42] local.INFO: Processing buffer {"connection_id":152080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:01:42] local.INFO: IMEI packet received {"connection_id":152080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":152080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:01:44] local.INFO: TCP Data received {"connection_id":153011,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba814e8012d82964005d163c0000700ab28..."} 
[2026-08-10 18:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba814e8012d82964005d163c0000700ab28..."} 
[2026-08-10 18:01:44] local.INFO: Processing buffer {"connection_id":153011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba814e8012d82964005d163c0000700ab28..."} 
[2026-08-10 18:01:44] local.INFO: Packet analysis {"connection_id":153011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba8"} 
[2026-08-10 18:01:44] local.INFO: Extracted packet for processing {"connection_id":153011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba8"} 
[2026-08-10 18:01:44] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97608640,"longitude_deg":76.3532864,"latitude_deg":9.760864,"altitude":7,"angle":171,"satellites":40,"speed":5,"hex_longitude":"2d829640","hex_latitude":"05d163c0","is_valid_coordinates":true} 
[2026-08-10 18:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309461504001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117381396070137856,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037035577283983360,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786365089000,"timestamp_ms":1786365089000,"timestamp_seconds":1786365089,"priority":1,"record_length":96,"hex_timestamp":"0000019feba814e8"} 
[2026-08-10 18:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 18:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309461504001,"66":12798,"63":206,"85":15104,"24":5,"16":117381396070137856,"45":-9037035577283983360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 18:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309461504001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:01:44] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 18:01:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117381396070137856,"km_value":117381396070137.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037035577283983360,"description":"Unknown IO ID 45"} 
[2026-08-10 18:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309461504001,"power":12798,"unknown_63":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9037035577283983360}} 
[2026-08-10 18:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":153011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:01:44] local.INFO: GPS data processed {"connection_id":153011,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:01:44] local.INFO: Acknowledgment sent {"connection_id":153011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:01:46] local.INFO: TCP Data received {"connection_id":153010,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:01:46] local.INFO: Processing buffer {"connection_id":153010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:01:46] local.INFO: Packet analysis {"connection_id":153010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:01:46] local.INFO: Extracted packet for processing {"connection_id":153010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309369344001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786365025000,"timestamp_ms":1786365025000,"timestamp_seconds":1786365025,"priority":1,"record_length":96,"hex_timestamp":"0000019feba71ae8"} 
[2026-08-10 18:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309369344001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309369344001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:01:46] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309369344001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":153010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:01:46] local.INFO: GPS data processed {"connection_id":153010,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:01:46] local.INFO: Acknowledgment sent {"connection_id":153010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:01:46] local.INFO: TCP Data received {"connection_id":152080,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:01:46] local.INFO: Processing buffer {"connection_id":152080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:01:46] local.INFO: IMEI packet received {"connection_id":152080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":152080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:01:48] local.INFO: TCP Data received {"connection_id":152080,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba647f8012d198c000720b1f0003c010520..."} 
[2026-08-10 18:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba647f8012d198c000720b1f0003c010520..."} 
[2026-08-10 18:01:48] local.INFO: Processing buffer {"connection_id":152080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba647f8012d198c000720b1f0003c010520..."} 
[2026-08-10 18:01:48] local.INFO: Packet analysis {"connection_id":152080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba6"} 
[2026-08-10 18:01:48] local.INFO: Extracted packet for processing {"connection_id":152080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba6"} 
[2026-08-10 18:01:48] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309427200001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18: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-08-10 18:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786364971000,"timestamp_ms":1786364971000,"timestamp_seconds":1786364971,"priority":1,"record_length":96,"hex_timestamp":"0000019feba647f8"} 
[2026-08-10 18:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 18:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309427200001,"66":12874,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309427200001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:01:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309427200001,"power":12874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":152080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:01:48] local.INFO: GPS data processed {"connection_id":152080,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:01:48] local.INFO: Acknowledgment sent {"connection_id":152080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:01:58] local.INFO: TCP Data received {"connection_id":151698,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:01:58] local.INFO: Processing buffer {"connection_id":151698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:01:58] local.INFO: IMEI packet received {"connection_id":151698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":151698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:02:03] local.INFO: TCP Data received {"connection_id":151698,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:02:03] local.INFO: Processing buffer {"connection_id":151698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:02:03] local.INFO: IMEI packet received {"connection_id":151698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":151698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:02:05] local.INFO: TCP Data received {"connection_id":151698,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:02:05] local.INFO: Processing buffer {"connection_id":151698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:02:05] local.INFO: Packet analysis {"connection_id":151698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:02:05] local.INFO: Extracted packet for processing {"connection_id":151698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309369344001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786365025000,"timestamp_ms":1786365025000,"timestamp_seconds":1786365025,"priority":1,"record_length":96,"hex_timestamp":"0000019feba71ae8"} 
[2026-08-10 18:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:02: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-08-10 18:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309369344001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309369344001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:02:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309369344001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":151698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:02:05] local.INFO: GPS data processed {"connection_id":151698,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:02:05] local.INFO: Acknowledgment sent {"connection_id":151698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:02:07] local.INFO: TCP Data received {"connection_id":154451,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:02:07] local.INFO: Processing buffer {"connection_id":154451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:02:07] local.INFO: IMEI packet received {"connection_id":154451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":154451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:02:12] local.INFO: TCP Data received {"connection_id":154451,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:02:12] local.INFO: Processing buffer {"connection_id":154451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:02:12] local.INFO: IMEI packet received {"connection_id":154451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":154451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:02:13] local.INFO: TCP Data received {"connection_id":154451,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba83810012d82980005d162480006006227..."} 
[2026-08-10 18:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba83810012d82980005d162480006006227..."} 
[2026-08-10 18:02:13] local.INFO: Processing buffer {"connection_id":154451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba83810012d82980005d162480006006227..."} 
[2026-08-10 18:02:13] local.INFO: Packet analysis {"connection_id":154451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba8"} 
[2026-08-10 18:02:13] local.INFO: Extracted packet for processing {"connection_id":154451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba8"} 
[2026-08-10 18:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763533312,"raw_latitude":97608264,"longitude_deg":76.3533312,"latitude_deg":9.7608264,"altitude":6,"angle":98,"satellites":39,"speed":9,"hex_longitude":"2d829800","hex_latitude":"05d16248","is_valid_coordinates":true} 
[2026-08-10 18:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309462784001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117381426134908928,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208540332032,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786365098000,"timestamp_ms":1786365098000,"timestamp_seconds":1786365098,"priority":1,"record_length":96,"hex_timestamp":"0000019feba83810"} 
[2026-08-10 18:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 18:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309462784001,"66":13319,"63":206,"85":15104,"24":9,"16":117381426134908928,"45":-9036965208540332032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 18:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309462784001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:02:13] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 18:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117381426134908928,"km_value":117381426134908.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208540332032,"description":"Unknown IO ID 45"} 
[2026-08-10 18:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309462784001,"power":13319,"unknown_63":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9036965208540332032}} 
[2026-08-10 18:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":154451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:02:13] local.INFO: GPS data processed {"connection_id":154451,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:02:13] local.INFO: Acknowledgment sent {"connection_id":154451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:02:19] local.INFO: TCP Data received {"connection_id":152080,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba69a00012d198c000720b1f0003c010521..."} 
[2026-08-10 18:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba69a00012d198c000720b1f0003c010521..."} 
[2026-08-10 18:02:19] local.INFO: Processing buffer {"connection_id":152080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba69a00012d198c000720b1f0003c010521..."} 
[2026-08-10 18:02:19] local.INFO: Packet analysis {"connection_id":152080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba6"} 
[2026-08-10 18:02:19] local.INFO: Extracted packet for processing {"connection_id":152080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba6"} 
[2026-08-10 18:02:19] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309432576001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786364992000,"timestamp_ms":1786364992000,"timestamp_seconds":1786364992,"priority":1,"record_length":96,"hex_timestamp":"0000019feba69a00"} 
[2026-08-10 18:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:02: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":74,"data_length":795,"current_offset":136} 
[2026-08-10 18:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309432576001,"66":12841,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309432576001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:02:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:02:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309432576001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":152080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:02:19] local.INFO: GPS data processed {"connection_id":152080,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:02:19] local.INFO: Acknowledgment sent {"connection_id":152080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:02:36] local.INFO: TCP Data received {"connection_id":151698,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:02:36] local.INFO: Processing buffer {"connection_id":151698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:02:36] local.INFO: Packet analysis {"connection_id":151698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:02:36] local.INFO: Extracted packet for processing {"connection_id":151698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309369344001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786365025000,"timestamp_ms":1786365025000,"timestamp_seconds":1786365025,"priority":1,"record_length":96,"hex_timestamp":"0000019feba71ae8"} 
[2026-08-10 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-08-10 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:02: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-08-10 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-08-10 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-08-10 18:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309369344001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309369344001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:02:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309369344001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":151698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:02:36] local.INFO: GPS data processed {"connection_id":151698,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:02:36] local.INFO: Acknowledgment sent {"connection_id":151698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:02:41] local.INFO: TCP Data received {"connection_id":153012,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:02:41] local.INFO: Processing buffer {"connection_id":153012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:02:41] local.INFO: IMEI packet received {"connection_id":153012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":153012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:02:44] local.INFO: TCP Data received {"connection_id":154451,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba83bf8012d82994005d162500006005427..."} 
[2026-08-10 18:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba83bf8012d82994005d162500006005427..."} 
[2026-08-10 18:02:44] local.INFO: Processing buffer {"connection_id":154451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba83bf8012d82994005d162500006005427..."} 
[2026-08-10 18:02:44] local.INFO: Packet analysis {"connection_id":154451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba8"} 
[2026-08-10 18:02:44] local.INFO: Extracted packet for processing {"connection_id":154451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba8"} 
[2026-08-10 18:02:44] local.INFO: GPS Element Parsed {"raw_longitude":763533632,"raw_latitude":97608272,"longitude_deg":76.3533632,"latitude_deg":9.7608272,"altitude":6,"angle":84,"satellites":39,"speed":15,"hex_longitude":"2d829940","hex_latitude":"05d16250","is_valid_coordinates":true} 
[2026-08-10 18:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309465088001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117381443314778112,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627331184640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786365099000,"timestamp_ms":1786365099000,"timestamp_seconds":1786365099,"priority":1,"record_length":96,"hex_timestamp":"0000019feba83bf8"} 
[2026-08-10 18:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3522809856,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3953607160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190901253,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2812262401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2988441608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3623955842,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":655536,"corrected_to":0} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57811513948132667,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":167,"raw_value":1094376004427055109,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2200008456636867584,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:44] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,63,85,24,241,157,16,5,159,20,45,64,99,7,40,10,66,1,107,41,206,240,160,227,235,209,4,113,205,30,112,152,200,42,239,52,2,161,9,94,167,210],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0},{"io_id":200,"original":655536,"validated":0}]} 
[2026-08-10 18:02:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432453483871404032,"timestamp_seconds":432453483871404.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309465088001,"66":13319,"63":206,"85":15104,"24":15,"16":117381443314778112,"45":-9036472627331184640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 18:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309465088001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:02:44] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 18:02:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117381443314778112,"km_value":117381443314778.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627331184640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309465088001,"power":13319,"unknown_63":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9036472627331184640}} 
[2026-08-10 18:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":154451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:02:44] local.INFO: GPS data processed {"connection_id":154451,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:02:44] local.INFO: Acknowledgment sent {"connection_id":154451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:02:46] local.INFO: TCP Data received {"connection_id":153012,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:02:46] local.INFO: Processing buffer {"connection_id":153012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:02:46] local.INFO: IMEI packet received {"connection_id":153012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":153012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:02:47] local.INFO: TCP Data received {"connection_id":153012,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba6ec08012d198c000720b1f0003c010521..."} 
[2026-08-10 18:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba6ec08012d198c000720b1f0003c010521..."} 
[2026-08-10 18:02:47] local.INFO: Processing buffer {"connection_id":153012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba6ec08012d198c000720b1f0003c010521..."} 
[2026-08-10 18:02:47] local.INFO: Packet analysis {"connection_id":153012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba6"} 
[2026-08-10 18:02:47] local.INFO: Extracted packet for processing {"connection_id":153012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba6"} 
[2026-08-10 18:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309437952001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18:02: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-08-10 18:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786365013000,"timestamp_ms":1786365013000,"timestamp_seconds":1786365013,"priority":1,"record_length":96,"hex_timestamp":"0000019feba6ec08"} 
[2026-08-10 18:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 18:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309437952001,"66":12298,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309437952001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:02:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:02:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309437952001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":153012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:02:47] local.INFO: GPS data processed {"connection_id":153012,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:02:47] local.INFO: Acknowledgment sent {"connection_id":153012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:03:04] local.INFO: TCP Data received {"connection_id":152081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:03:04] local.INFO: Processing buffer {"connection_id":152081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:03:04] local.INFO: IMEI packet received {"connection_id":152081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":152081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:03:07] local.INFO: TCP Data received {"connection_id":152082,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:03:07] local.INFO: Processing buffer {"connection_id":152082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:03:07] local.INFO: IMEI packet received {"connection_id":152082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":152082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:03:08] local.INFO: TCP Data received {"connection_id":152081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:03:08] local.INFO: Processing buffer {"connection_id":152081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:03:08] local.INFO: IMEI packet received {"connection_id":152081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":152081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:03:12] local.INFO: TCP Data received {"connection_id":152082,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:03:12] local.INFO: Processing buffer {"connection_id":152082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:03:12] local.INFO: IMEI packet received {"connection_id":152082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":152082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:03:13] local.INFO: TCP Data received {"connection_id":152081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:03:13] local.INFO: Processing buffer {"connection_id":152081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:03:13] local.INFO: IMEI packet received {"connection_id":152081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":152081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:03:14] local.INFO: TCP Data received {"connection_id":152081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:03:14] local.INFO: Processing buffer {"connection_id":152081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:03:14] local.INFO: Packet analysis {"connection_id":152081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:03:14] local.INFO: Extracted packet for processing {"connection_id":152081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309369344001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786365025000,"timestamp_ms":1786365025000,"timestamp_seconds":1786365025,"priority":1,"record_length":96,"hex_timestamp":"0000019feba71ae8"} 
[2026-08-10 18:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309369344001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309369344001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:03:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309369344001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":152081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:03:14] local.INFO: GPS data processed {"connection_id":152081,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:03:14] local.INFO: Acknowledgment sent {"connection_id":152081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:03:19] local.INFO: TCP Data received {"connection_id":153012,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba73e10012d198c000720b1f0003c010524..."} 
[2026-08-10 18:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba73e10012d198c000720b1f0003c010524..."} 
[2026-08-10 18:03:19] local.INFO: Processing buffer {"connection_id":153012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba73e10012d198c000720b1f0003c010524..."} 
[2026-08-10 18:03:19] local.INFO: Packet analysis {"connection_id":153012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:03:19] local.INFO: Extracted packet for processing {"connection_id":153012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309443328001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18: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-08-10 18:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786365034000,"timestamp_ms":1786365034000,"timestamp_seconds":1786365034,"priority":1,"record_length":96,"hex_timestamp":"0000019feba73e10"} 
[2026-08-10 18:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513606001874436357,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452328,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":239,"raw_value":-1080863910568919039,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1466856469731403380,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":60,"raw_value":73501252805197824,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3645101832754757838,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2985295932,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2778982401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516635111,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4025548800,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,121,28,24,241,158,16,239,159,154,45,177,60,33,10,66,71,32,245,1,240,117,235,4,113,205,81,140,50,2,40,7],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-10 18:03:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323742756544446464,"timestamp_seconds":4323742756544446.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309443328001,"66":12841,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309443328001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:03:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:03:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309443328001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:03:19] local.INFO: TCP Data received {"connection_id":152081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:03:19] local.INFO: Processing buffer {"connection_id":152081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:03:19] local.INFO: Packet analysis {"connection_id":152081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:03:19] local.INFO: Extracted packet for processing {"connection_id":152081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309369344001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786365025000,"timestamp_ms":1786365025000,"timestamp_seconds":1786365025,"priority":1,"record_length":96,"hex_timestamp":"0000019feba71ae8"} 
[2026-08-10 18:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309369344001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309369344001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:03:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309369344001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":152081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:03:19] local.INFO: GPS data processed {"connection_id":152081,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:03:19] local.INFO: Acknowledgment sent {"connection_id":152081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":153012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:03:19] local.INFO: GPS data processed {"connection_id":153012,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:03:19] local.INFO: Acknowledgment sent {"connection_id":153012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:03:27] local.INFO: TCP Data received {"connection_id":152082,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba95920012d83338005d152b0000800d629..."} 
[2026-08-10 18:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba95920012d83338005d152b0000800d629..."} 
[2026-08-10 18:03:27] local.INFO: Processing buffer {"connection_id":152082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba95920012d83338005d152b0000800d629..."} 
[2026-08-10 18:03:27] local.INFO: Packet analysis {"connection_id":152082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba9"} 
[2026-08-10 18:03:27] local.INFO: Extracted packet for processing {"connection_id":152082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba9"} 
[2026-08-10 18:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763573120,"raw_latitude":97604272,"longitude_deg":76.357312,"latitude_deg":9.7604272,"altitude":8,"angle":214,"satellites":41,"speed":3,"hex_longitude":"2d833380","hex_latitude":"05d152b0","is_valid_coordinates":true} 
[2026-08-10 18:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309480192001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117383440474570752,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965307392,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786365172000,"timestamp_ms":1786365172000,"timestamp_seconds":1786365172,"priority":1,"record_length":96,"hex_timestamp":"0000019feba95920"} 
[2026-08-10 18:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 18:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869006,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:27] local.WARNING: Large IO value detected {"io_id":63,"raw_value":58077557095399466,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:27] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:27] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3953703160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201157637,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:27] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2832742401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-08-10 18:03:27] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2147864915,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511994368,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:27] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,63,85,24,241,157,16,7,159,18,45,82,8,40,10,66,227,64,80,220,128,1,240,166,235,209,4,113,205,9,208,49,48,41,239,51,2,161,5,6,42],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-08-10 18:03:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576839160397037568,"timestamp_seconds":576839160397037.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309480192001,"66":13330,"63":206,"85":15104,"24":3,"16":117383440474570752,"45":-8992562530965307392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 18:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309480192001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:03:27] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 18:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117383440474570752,"km_value":117383440474570.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965307392,"description":"Unknown IO ID 45"} 
[2026-08-10 18:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309480192001,"power":13330,"unknown_63":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-8992562530965307392}} 
[2026-08-10 18:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":152082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:03:27] local.INFO: GPS data processed {"connection_id":152082,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:03:27] local.INFO: Acknowledgment sent {"connection_id":152082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:03:46] local.INFO: TCP Data received {"connection_id":152083,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:03:46] local.INFO: Processing buffer {"connection_id":152083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:03:46] local.INFO: IMEI packet received {"connection_id":152083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":152083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:03:52] local.INFO: TCP Data received {"connection_id":152083,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:03:52] local.INFO: Processing buffer {"connection_id":152083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:03:52] local.INFO: IMEI packet received {"connection_id":152083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":152083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:03:53] local.INFO: TCP Data received {"connection_id":152083,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba79018012d198c000720b1f0003c010524..."} 
[2026-08-10 18:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba79018012d198c000720b1f0003c010524..."} 
[2026-08-10 18:03:53] local.INFO: Processing buffer {"connection_id":152083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba79018012d198c000720b1f0003c010524..."} 
[2026-08-10 18:03:53] local.INFO: Packet analysis {"connection_id":152083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:03:53] local.INFO: Extracted packet for processing {"connection_id":152083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:03:53] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309448704001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786365055000,"timestamp_ms":1786365055000,"timestamp_seconds":1786365055,"priority":1,"record_length":96,"hex_timestamp":"0000019feba79018"} 
[2026-08-10 18:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 18:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309448704001,"66":12841,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309448704001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:03:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:03:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309448704001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":152083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:03:53] local.INFO: GPS data processed {"connection_id":152083,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:03:53] local.INFO: Acknowledgment sent {"connection_id":152083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:03:58] local.INFO: TCP Data received {"connection_id":151699,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:03:58] local.INFO: Processing buffer {"connection_id":151699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:03:58] local.INFO: IMEI packet received {"connection_id":151699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":151699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:04:03] local.INFO: TCP Data received {"connection_id":151699,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:04:03] local.INFO: Processing buffer {"connection_id":151699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:04:03] local.INFO: IMEI packet received {"connection_id":151699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":151699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:04:04] local.INFO: TCP Data received {"connection_id":151699,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:04:04] local.INFO: Processing buffer {"connection_id":151699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:04:04] local.INFO: Packet analysis {"connection_id":151699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:04:04] local.INFO: Extracted packet for processing {"connection_id":151699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309369344001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365025000,"timestamp_ms":1786365025000,"timestamp_seconds":1786365025,"priority":1,"record_length":96,"hex_timestamp":"0000019feba71ae8"} 
[2026-08-10 18:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309369344001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309369344001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:04:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309369344001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":151699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:04:04] local.INFO: GPS data processed {"connection_id":151699,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:04:04] local.INFO: Acknowledgment sent {"connection_id":151699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:04:07] local.INFO: TCP Data received {"connection_id":152084,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:04:07] local.INFO: Processing buffer {"connection_id":152084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:04:07] local.INFO: IMEI packet received {"connection_id":152084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":152084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:04:12] local.INFO: TCP Data received {"connection_id":152084,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:04:12] local.INFO: Processing buffer {"connection_id":152084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:04:12] local.INFO: IMEI packet received {"connection_id":152084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":152084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:04:13] local.INFO: TCP Data received {"connection_id":152084,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febaa66a8012d8294c005d166e00009013e26..."} 
[2026-08-10 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febaa66a8012d8294c005d166e00009013e26..."} 
[2026-08-10 18:04:13] local.INFO: Processing buffer {"connection_id":152084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febaa66a8012d8294c005d166e00009013e26..."} 
[2026-08-10 18:04:13] local.INFO: Packet analysis {"connection_id":152084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febaa"} 
[2026-08-10 18:04:13] local.INFO: Extracted packet for processing {"connection_id":152084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febaa"} 
[2026-08-10 18:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763532480,"raw_latitude":97609440,"longitude_deg":76.353248,"latitude_deg":9.760944,"altitude":9,"angle":318,"satellites":38,"speed":12,"hex_longitude":"2d8294c0","hex_latitude":"05d166e0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309500672001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117385459109199872,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208540446720,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786365241000,"timestamp_ms":1786365241000,"timestamp_seconds":1786365241,"priority":1,"record_length":96,"hex_timestamp":"0000019febaa66a8"} 
[2026-08-10 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-08-10 18:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 18:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547470,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:13] local.WARNING: Large IO value detected {"io_id":63,"raw_value":58077557095399454,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3953781160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191982597,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:13] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2855270401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-08-10 18:04:13] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2684431746,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512094720,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:13] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,63,85,24,241,157,16,9,159,83,45,128,97,7,41,10,66,79,64,96,6,75,192,1,240,248,227,235,209,4,113,205,37,20,193,239,51,2,161,5,8,30],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-08-10 18:04:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504781562064863232,"timestamp_seconds":504781562064863.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 18:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309500672001,"66":13319,"63":206,"85":15104,"24":12,"16":117385459109199872,"45":-9036965208540446720},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 18:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309500672001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:04:13] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 18:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117385459109199872,"km_value":117385459109199.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208540446720,"description":"Unknown IO ID 45"} 
[2026-08-10 18:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309500672001,"power":13319,"unknown_63":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9036965208540446720}} 
[2026-08-10 18:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":152084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:04:13] local.INFO: GPS data processed {"connection_id":152084,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:04:13] local.INFO: Acknowledgment sent {"connection_id":152084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:04:25] local.INFO: TCP Data received {"connection_id":152083,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba7e220012d198c000720b1f0003c010523..."} 
[2026-08-10 18:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba7e220012d198c000720b1f0003c010523..."} 
[2026-08-10 18:04:25] local.INFO: Processing buffer {"connection_id":152083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba7e220012d198c000720b1f0003c010523..."} 
[2026-08-10 18:04:25] local.INFO: Packet analysis {"connection_id":152083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:04:25] local.INFO: Extracted packet for processing {"connection_id":152083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:04:25] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309454080001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18: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-08-10 18:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786365076000,"timestamp_ms":1786365076000,"timestamp_seconds":1786365076,"priority":1,"record_length":96,"hex_timestamp":"0000019feba7e220"} 
[2026-08-10 18:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 18:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309454080001,"66":12809,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309454080001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:04:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:04:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309454080001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":152083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:04:25] local.INFO: GPS data processed {"connection_id":152083,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:04:25] local.INFO: Acknowledgment sent {"connection_id":152083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:04:35] local.INFO: TCP Data received {"connection_id":151699,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:04:35] local.INFO: Processing buffer {"connection_id":151699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:04:35] local.INFO: Packet analysis {"connection_id":151699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:04:35] local.INFO: Extracted packet for processing {"connection_id":151699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309369344001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786365025000,"timestamp_ms":1786365025000,"timestamp_seconds":1786365025,"priority":1,"record_length":96,"hex_timestamp":"0000019feba71ae8"} 
[2026-08-10 18:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309369344001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309369344001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:04:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309369344001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":151699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:04:35] local.INFO: GPS data processed {"connection_id":151699,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:04:35] local.INFO: Acknowledgment sent {"connection_id":151699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:04:42] local.INFO: TCP Data received {"connection_id":153013,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:04:42] local.INFO: Processing buffer {"connection_id":153013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:04:42] local.INFO: IMEI packet received {"connection_id":153013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":153013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:04:42] local.INFO: TCP Data received {"connection_id":153013,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:04:42] local.INFO: Processing buffer {"connection_id":153013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:04:42] local.INFO: IMEI packet received {"connection_id":153013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":153013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:04:44] local.INFO: TCP Data received {"connection_id":152084,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febaa6a90012d82940005d16790000a012727..."} 
[2026-08-10 18:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febaa6a90012d82940005d16790000a012727..."} 
[2026-08-10 18:04:44] local.INFO: Processing buffer {"connection_id":152084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febaa6a90012d82940005d16790000a012727..."} 
[2026-08-10 18:04:44] local.INFO: Packet analysis {"connection_id":152084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febaa"} 
[2026-08-10 18:04:44] local.INFO: Extracted packet for processing {"connection_id":152084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febaa"} 
[2026-08-10 18:04:44] local.INFO: GPS Element Parsed {"raw_longitude":763532288,"raw_latitude":97609616,"longitude_deg":76.3532288,"latitude_deg":9.7609616,"altitude":10,"angle":295,"satellites":39,"speed":11,"hex_longitude":"2d829400","hex_latitude":"05d16790","is_valid_coordinates":true} 
[2026-08-10 18:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309501696001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117385476289069056,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037387421005193216,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786365242000,"timestamp_ms":1786365242000,"timestamp_seconds":1786365242,"priority":1,"record_length":96,"hex_timestamp":"0000019febaa6a90"} 
[2026-08-10 18:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3953792160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190983173,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2857062401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":209,"raw_value":6219471119776426240,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4160826754,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422286,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512473600,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57788402729112891,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-1610035571803652091,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:44] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,63,85,24,241,157,16,9,159,87,45,64,98,7,40,10,66,83,128,97,41,79,1,240,220,227,235,209,4,113,205,47,167,56,239,51,2,161,5,6,37,35,169],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-08-10 18:04:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648868154248527872,"timestamp_seconds":648868154248527.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309501696001,"66":13319,"63":206,"85":15104,"24":11,"16":117385476289069056,"45":-9037387421005193216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 18:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309501696001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:04:44] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 18:04:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117385476289069056,"km_value":117385476289069.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037387421005193216,"description":"Unknown IO ID 45"} 
[2026-08-10 18:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309501696001,"power":13319,"unknown_63":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9037387421005193216}} 
[2026-08-10 18:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":152084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:04:44] local.INFO: GPS data processed {"connection_id":152084,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:04:44] local.INFO: Acknowledgment sent {"connection_id":152084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:04:46] local.INFO: TCP Data received {"connection_id":153013,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:04:46] local.INFO: Processing buffer {"connection_id":153013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:04:46] local.INFO: IMEI packet received {"connection_id":153013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":153013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:04:47] local.INFO: TCP Data received {"connection_id":153013,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba83428012d198c000720b1f0003c010523..."} 
[2026-08-10 18:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba83428012d198c000720b1f0003c010523..."} 
[2026-08-10 18:04:47] local.INFO: Processing buffer {"connection_id":153013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba83428012d198c000720b1f0003c010523..."} 
[2026-08-10 18:04:47] local.INFO: Packet analysis {"connection_id":153013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba8"} 
[2026-08-10 18:04:47] local.INFO: Extracted packet for processing {"connection_id":153013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba8"} 
[2026-08-10 18:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309459456001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04: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-08-10 18:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786365097000,"timestamp_ms":1786365097000,"timestamp_seconds":1786365097,"priority":1,"record_length":96,"hex_timestamp":"0000019feba83428"} 
[2026-08-10 18:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 18:04:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3953522160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:47] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-6511105544498344960,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-10 18:04:47] local.WARNING: Large IO value detected {"io_id":71,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:47] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964896488803868,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:47] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4025548800,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2355927963888846112,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:47] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-10 18:04:47] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,121,28,24,241,158,16,239,159,144,45,177,60,36,10,66,62,236,1,240,235,32,4,113,205,71,140,50,2,40,7,124],"length":535,"final_offset":665,"validated_count":32,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-10 18:04:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323742765134381056,"timestamp_seconds":4323742765134381.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309459456001,"66":12798,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309459456001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:04:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:04:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309459456001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":153013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:04:47] local.INFO: GPS data processed {"connection_id":153013,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:04:47] local.INFO: Acknowledgment sent {"connection_id":153013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:04:59] local.INFO: TCP Data received {"connection_id":153014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:04:59] local.INFO: Processing buffer {"connection_id":153014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:04:59] local.INFO: IMEI packet received {"connection_id":153014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":153014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:05:03] local.INFO: TCP Data received {"connection_id":153014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:05:03] local.INFO: Processing buffer {"connection_id":153014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:05:03] local.INFO: IMEI packet received {"connection_id":153014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":153014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:05:04] local.INFO: TCP Data received {"connection_id":153014,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:05:04] local.INFO: Processing buffer {"connection_id":153014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:05:04] local.INFO: Packet analysis {"connection_id":153014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:05:04] local.INFO: Extracted packet for processing {"connection_id":153014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309369344001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365025000,"timestamp_ms":1786365025000,"timestamp_seconds":1786365025,"priority":1,"record_length":96,"hex_timestamp":"0000019feba71ae8"} 
[2026-08-10 18:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309369344001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309369344001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:05:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309369344001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":153014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:05:04] local.INFO: GPS data processed {"connection_id":153014,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:05:04] local.INFO: Acknowledgment sent {"connection_id":153014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:05:10] local.INFO: TCP Data received {"connection_id":153015,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:05:10] local.INFO: Processing buffer {"connection_id":153015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:05:10] local.INFO: IMEI packet received {"connection_id":153015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":153015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:05:12] local.INFO: TCP Data received {"connection_id":153015,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:05:12] local.INFO: Processing buffer {"connection_id":153015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:05:12] local.INFO: IMEI packet received {"connection_id":153015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":153015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:05:13] local.INFO: TCP Data received {"connection_id":153015,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:05:13] local.INFO: Processing buffer {"connection_id":153015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:05:13] local.INFO: IMEI packet received {"connection_id":153015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":153015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:05:13] local.INFO: TCP Data received {"connection_id":153015,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febaa6e78012d8292c005d167d0000a011127..."} 
[2026-08-10 18:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febaa6e78012d8292c005d167d0000a011127..."} 
[2026-08-10 18:05:13] local.INFO: Processing buffer {"connection_id":153015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febaa6e78012d8292c005d167d0000a011127..."} 
[2026-08-10 18:05:13] local.INFO: Packet analysis {"connection_id":153015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febaa"} 
[2026-08-10 18:05:13] local.INFO: Extracted packet for processing {"connection_id":153015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febaa"} 
[2026-08-10 18:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763531968,"raw_latitude":97609680,"longitude_deg":76.3531968,"latitude_deg":9.760968,"altitude":10,"angle":273,"satellites":39,"speed":11,"hex_longitude":"2d8292c0","hex_latitude":"05d167d0","is_valid_coordinates":true} 
[2026-08-10 18:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309501952001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117385489173970944,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037598527237681152,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786365243000,"timestamp_ms":1786365243000,"timestamp_seconds":1786365243,"priority":1,"record_length":96,"hex_timestamp":"0000019febaa6e78"} 
[2026-08-10 18:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:05: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-08-10 18:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3953799160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190950405,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2857318401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":209,"raw_value":6636054076718721280,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3221606752,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802126,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57788402729112891,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.WARNING: Large IO value detected {"io_id":170,"raw_value":1486189172011106309,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:13] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,63,85,24,241,157,16,9,159,102,45,192,38,10,66,87,64,98,7,40,83,128,1,240,220,227,235,209,4,113,205,75,151,48,41,239,50,2,161,5,37,133,170],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-08-10 18:05:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720900463813918720,"timestamp_seconds":720900463813918.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309501952001,"66":12743,"63":206,"85":15104,"24":11,"16":117385489173970944,"45":-9037598527237681152},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 18:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309501952001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:05:13] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 18:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117385489173970944,"km_value":117385489173970.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037598527237681152,"description":"Unknown IO ID 45"} 
[2026-08-10 18:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309501952001,"power":12743,"unknown_63":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9037598527237681152}} 
[2026-08-10 18:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":153015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:05:13] local.INFO: GPS data processed {"connection_id":153015,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:05:13] local.INFO: Acknowledgment sent {"connection_id":153015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:05:18] local.INFO: TCP Data received {"connection_id":153015,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febaa7260012d82918005d167c8000a010627..."} 
[2026-08-10 18:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febaa7260012d82918005d167c8000a010627..."} 
[2026-08-10 18:05:18] local.INFO: Processing buffer {"connection_id":153015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febaa7260012d82918005d167c8000a010627..."} 
[2026-08-10 18:05:18] local.INFO: Packet analysis {"connection_id":153015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febaa"} 
[2026-08-10 18:05:18] local.INFO: Extracted packet for processing {"connection_id":153015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febaa"} 
[2026-08-10 18:05:18] local.INFO: GPS Element Parsed {"raw_longitude":763531648,"raw_latitude":97609672,"longitude_deg":76.3531648,"latitude_deg":9.7609672,"altitude":10,"angle":262,"satellites":39,"speed":11,"hex_longitude":"2d829180","hex_latitude":"05d167c8","is_valid_coordinates":true} 
[2026-08-10 18:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309502208001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117385502058872832,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037950370958553088,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786365244000,"timestamp_ms":1786365244000,"timestamp_seconds":1786365244,"priority":1,"record_length":96,"hex_timestamp":"0000019febaa7260"} 
[2026-08-10 18:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-10 18:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309502208001,"66":12743,"63":206,"85":15104,"24":11,"16":117385502058872832,"45":-9037950370958553088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-10 18:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309502208001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:05:18] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 18:05:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117385502058872832,"km_value":117385502058872.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037950370958553088,"description":"Unknown IO ID 45"} 
[2026-08-10 18:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309502208001,"power":12743,"unknown_63":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9037950370958553088}} 
[2026-08-10 18:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":153015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:05:18] local.INFO: GPS data processed {"connection_id":153015,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:05:18] local.INFO: Acknowledgment sent {"connection_id":153015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:05:19] local.INFO: TCP Data received {"connection_id":153013,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba88630012d198c000720b1f0003c010523..."} 
[2026-08-10 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba88630012d198c000720b1f0003c010523..."} 
[2026-08-10 18:05:19] local.INFO: Processing buffer {"connection_id":153013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba88630012d198c000720b1f0003c010523..."} 
[2026-08-10 18:05:19] local.INFO: Packet analysis {"connection_id":153013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba8"} 
[2026-08-10 18:05:19] local.INFO: Extracted packet for processing {"connection_id":153013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba8"} 
[2026-08-10 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309464832001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18: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-08-10 18:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786365118000,"timestamp_ms":1786365118000,"timestamp_seconds":1786365118,"priority":1,"record_length":96,"hex_timestamp":"0000019feba88630"} 
[2026-08-10 18:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 18:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309464832001,"66":12722,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309464832001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:05:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:05:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309464832001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":153013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:05:19] local.INFO: GPS data processed {"connection_id":153013,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:05:19] local.INFO: Acknowledgment sent {"connection_id":153013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:05:35] local.INFO: TCP Data received {"connection_id":153014,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:05:35] local.INFO: Processing buffer {"connection_id":153014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:05:35] local.INFO: Packet analysis {"connection_id":153014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:05:35] local.INFO: Extracted packet for processing {"connection_id":153014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309369344001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786365025000,"timestamp_ms":1786365025000,"timestamp_seconds":1786365025,"priority":1,"record_length":96,"hex_timestamp":"0000019feba71ae8"} 
[2026-08-10 18:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309369344001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309369344001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:05:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309369344001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":153014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:05:35] local.INFO: GPS data processed {"connection_id":153014,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:05:35] local.INFO: Acknowledgment sent {"connection_id":153014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:05:41] local.INFO: TCP Data received {"connection_id":154452,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:05:41] local.INFO: Processing buffer {"connection_id":154452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:05:41] local.INFO: IMEI packet received {"connection_id":154452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":154452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:05:45] local.INFO: TCP Data received {"connection_id":154452,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:05:45] local.INFO: Processing buffer {"connection_id":154452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:05:45] local.INFO: IMEI packet received {"connection_id":154452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":154452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:05:46] local.INFO: TCP Data received {"connection_id":154452,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:05:46] local.INFO: Processing buffer {"connection_id":154452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:05:46] local.INFO: IMEI packet received {"connection_id":154452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":154452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:05:48] local.INFO: TCP Data received {"connection_id":154452,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba8d838012d198c000720b1f0003c010524..."} 
[2026-08-10 18:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba8d838012d198c000720b1f0003c010524..."} 
[2026-08-10 18:05:48] local.INFO: Processing buffer {"connection_id":154452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba8d838012d198c000720b1f0003c010524..."} 
[2026-08-10 18:05:48] local.INFO: Packet analysis {"connection_id":154452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba8"} 
[2026-08-10 18:05:48] local.INFO: Extracted packet for processing {"connection_id":154452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba8"} 
[2026-08-10 18:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309470208001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786365139000,"timestamp_ms":1786365139000,"timestamp_seconds":1786365139,"priority":1,"record_length":96,"hex_timestamp":"0000019feba8d838"} 
[2026-08-10 18:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 18:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309470208001,"66":12722,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309470208001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:05:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:05:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309470208001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":154452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:05:48] local.INFO: GPS data processed {"connection_id":154452,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:05:48] local.INFO: Acknowledgment sent {"connection_id":154452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:05:52] local.INFO: TCP Data received {"connection_id":154452,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba92a40012d198c000720b1f0003c010523..."} 
[2026-08-10 18:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba92a40012d198c000720b1f0003c010523..."} 
[2026-08-10 18:05:52] local.INFO: Processing buffer {"connection_id":154452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba92a40012d198c000720b1f0003c010523..."} 
[2026-08-10 18:05:52] local.INFO: Packet analysis {"connection_id":154452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba9"} 
[2026-08-10 18:05:52] local.INFO: Extracted packet for processing {"connection_id":154452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba9"} 
[2026-08-10 18:05:52] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309475584001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786365160000,"timestamp_ms":1786365160000,"timestamp_seconds":1786365160,"priority":1,"record_length":96,"hex_timestamp":"0000019feba92a40"} 
[2026-08-10 18:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:05: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-08-10 18:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 18:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309475584001,"66":12743,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309475584001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:05:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:05:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309475584001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":154452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:05:52] local.INFO: GPS data processed {"connection_id":154452,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:05:52] local.INFO: Acknowledgment sent {"connection_id":154452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:05:52] local.INFO: TCP Data received {"connection_id":153015,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febabd9c0012d81d90005d17b580008012a28..."} 
[2026-08-10 18:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabd9c0012d81d90005d17b580008012a28..."} 
[2026-08-10 18:05:52] local.INFO: Processing buffer {"connection_id":153015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabd9c0012d81d90005d17b580008012a28..."} 
[2026-08-10 18:05:52] local.INFO: Packet analysis {"connection_id":153015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:05:52] local.INFO: Extracted packet for processing {"connection_id":153015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:05:52] local.INFO: GPS Element Parsed {"raw_longitude":763484416,"raw_latitude":97614680,"longitude_deg":76.3484416,"latitude_deg":9.761468,"altitude":8,"angle":298,"satellites":40,"speed":32,"hex_longitude":"2d81d900","hex_latitude":"05d17b58","is_valid_coordinates":true} 
[2026-08-10 18:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309525760001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117387817046245376,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9089389922951231488,"note":"Value kept but may cause issues"} 
[2026-08-10 18:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786365336000,"timestamp_ms":1786365336000,"timestamp_seconds":1786365336,"priority":1,"record_length":96,"hex_timestamp":"0000019febabd9c0"} 
[2026-08-10 18:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-10 18:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309525760001,"66":13243,"65":206,"85":15104,"24":32,"16":117387817046245376,"45":-9089389922951231488},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-10 18:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309525760001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:05:52] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-10 18:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117387817046245376,"km_value":117387817046245.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9089389922951231488,"description":"Unknown IO ID 45"} 
[2026-08-10 18:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309525760001,"power":13243,"unknown_65":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9089389922951231488}} 
[2026-08-10 18:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":153015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:05:53] local.INFO: GPS data processed {"connection_id":153015,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:05:53] local.INFO: Acknowledgment sent {"connection_id":153015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:05:58] local.INFO: TCP Data received {"connection_id":154453,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:05:58] local.INFO: Processing buffer {"connection_id":154453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:05:58] local.INFO: IMEI packet received {"connection_id":154453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":154453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:06:03] local.INFO: TCP Data received {"connection_id":154453,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:06:03] local.INFO: Processing buffer {"connection_id":154453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:06:03] local.INFO: IMEI packet received {"connection_id":154453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":154453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:06:04] local.INFO: TCP Data received {"connection_id":154453,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:06:04] local.INFO: Processing buffer {"connection_id":154453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba71ae8012d342a4006abc2800017010224..."} 
[2026-08-10 18:06:04] local.INFO: Packet analysis {"connection_id":154453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:06:04] local.INFO: Extracted packet for processing {"connection_id":154453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba7"} 
[2026-08-10 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309369344001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365025000,"timestamp_ms":1786365025000,"timestamp_seconds":1786365025,"priority":1,"record_length":96,"hex_timestamp":"0000019feba71ae8"} 
[2026-08-10 18:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309369344001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309369344001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:06:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309369344001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":154453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:06:04] local.INFO: GPS data processed {"connection_id":154453,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:06:04] local.INFO: Acknowledgment sent {"connection_id":154453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:06:07] local.INFO: TCP Data received {"connection_id":152085,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:06:07] local.INFO: Processing buffer {"connection_id":152085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:06:07] local.INFO: IMEI packet received {"connection_id":152085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":152085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:06:07] local.INFO: TCP Data received {"connection_id":152085,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:06:07] local.INFO: Processing buffer {"connection_id":152085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:06:07] local.INFO: IMEI packet received {"connection_id":152085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":152085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:06:09] local.INFO: TCP Data received {"connection_id":152085,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:06:09] local.INFO: Processing buffer {"connection_id":152085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:06:09] local.INFO: IMEI packet received {"connection_id":152085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":152085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:06:09] local.INFO: TCP Data received {"connection_id":152085,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febabe960012d81cdc005d181300008011d29..."} 
[2026-08-10 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabe960012d81cdc005d181300008011d29..."} 
[2026-08-10 18:06:09] local.INFO: Processing buffer {"connection_id":152085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabe960012d81cdc005d181300008011d29..."} 
[2026-08-10 18:06:09] local.INFO: Packet analysis {"connection_id":152085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:06:09] local.INFO: Extracted packet for processing {"connection_id":152085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763481536,"raw_latitude":97616176,"longitude_deg":76.3481536,"latitude_deg":9.7616176,"altitude":8,"angle":285,"satellites":41,"speed":30,"hex_longitude":"2d81cdc0","hex_latitude":"05d18130","is_valid_coordinates":true} 
[2026-08-10 18:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309526016001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117387975960035328,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9090234347881277440,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786365340000,"timestamp_ms":1786365340000,"timestamp_seconds":1786365340,"priority":1,"record_length":96,"hex_timestamp":"0000019febabe960"} 
[2026-08-10 18:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:06: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-08-10 18:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 18:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309526016001,"66":12917,"65":206,"85":15104,"24":30,"16":117387975960035328,"45":-9090234347881277440},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-10 18:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309526016001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:06:09] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-10 18:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117387975960035328,"km_value":117387975960035.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9090234347881277440,"description":"Unknown IO ID 45"} 
[2026-08-10 18:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309526016001,"power":12917,"unknown_65":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9090234347881277440}} 
[2026-08-10 18:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":152085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:06:09] local.INFO: GPS data processed {"connection_id":152085,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:06:09] local.INFO: Acknowledgment sent {"connection_id":152085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:06:23] local.INFO: TCP Data received {"connection_id":154452,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba97c48012d198c000720b1f0003c010523..."} 
[2026-08-10 18:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba97c48012d198c000720b1f0003c010523..."} 
[2026-08-10 18:06:23] local.INFO: Processing buffer {"connection_id":154452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba97c48012d198c000720b1f0003c010523..."} 
[2026-08-10 18:06:23] local.INFO: Packet analysis {"connection_id":154452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba9"} 
[2026-08-10 18:06:23] local.INFO: Extracted packet for processing {"connection_id":154452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba9"} 
[2026-08-10 18:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309480960001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786365181000,"timestamp_ms":1786365181000,"timestamp_seconds":1786365181,"priority":1,"record_length":96,"hex_timestamp":"0000019feba97c48"} 
[2026-08-10 18:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-10 18:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309480960001,"66":12711,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309480960001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:06:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:06:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309480960001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":154452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:06:24] local.INFO: GPS data processed {"connection_id":154452,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:06:24] local.INFO: Acknowledgment sent {"connection_id":154452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:06:35] local.INFO: TCP Data received {"connection_id":154453,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:06:35] local.INFO: Processing buffer {"connection_id":154453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:06:35] local.INFO: Packet analysis {"connection_id":154453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:06:35] local.INFO: Extracted packet for processing {"connection_id":154453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309446400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786365326000,"timestamp_ms":1786365326000,"timestamp_seconds":1786365326,"priority":1,"record_length":96,"hex_timestamp":"0000019febabb2b0"} 
[2026-08-10 18:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309446400001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309446400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:06:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309446400001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":154453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:06:35] local.INFO: GPS data processed {"connection_id":154453,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:06:35] local.INFO: Acknowledgment sent {"connection_id":154453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:06:40] local.INFO: TCP Data received {"connection_id":152085,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febabf130012d81c84005d181f0000701112a..."} 
[2026-08-10 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabf130012d81c84005d181f0000701112a..."} 
[2026-08-10 18:06:40] local.INFO: Processing buffer {"connection_id":152085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabf130012d81c84005d181f0000701112a..."} 
[2026-08-10 18:06:40] local.INFO: Packet analysis {"connection_id":152085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:06:40] local.INFO: Extracted packet for processing {"connection_id":152085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763480128,"raw_latitude":97616368,"longitude_deg":76.3480128,"latitude_deg":9.7616368,"altitude":7,"angle":273,"satellites":42,"speed":24,"hex_longitude":"2d81c840","hex_latitude":"05d181f0","is_valid_coordinates":true} 
[2026-08-10 18:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309527040001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117388040384544768,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9093400941368889344,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786365342000,"timestamp_ms":1786365342000,"timestamp_seconds":1786365342,"priority":1,"record_length":96,"hex_timestamp":"0000019febabf130"} 
[2026-08-10 18:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:06: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-08-10 18:06: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":117,"data_length":795,"current_offset":136} 
[2026-08-10 18:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309527040001,"66":12928,"65":206,"85":15104,"24":24,"16":117388040384544768,"45":-9093400941368889344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-10 18:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309527040001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:06:40] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-10 18:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117388040384544768,"km_value":117388040384544.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9093400941368889344,"description":"Unknown IO ID 45"} 
[2026-08-10 18:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309527040001,"power":12928,"unknown_65":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9093400941368889344}} 
[2026-08-10 18:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":152085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:06:40] local.INFO: GPS data processed {"connection_id":152085,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:06:40] local.INFO: Acknowledgment sent {"connection_id":152085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:06:47] local.INFO: TCP Data received {"connection_id":154454,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:06:47] local.INFO: Processing buffer {"connection_id":154454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:06:47] local.INFO: IMEI packet received {"connection_id":154454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":154454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:06:51] local.INFO: TCP Data received {"connection_id":154454,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:06:51] local.INFO: Processing buffer {"connection_id":154454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:06:51] local.INFO: IMEI packet received {"connection_id":154454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":154454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:06:52] local.INFO: TCP Data received {"connection_id":154454,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019feba9ce50012d198c000720b1f0003c010522..."} 
[2026-08-10 18:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feba9ce50012d198c000720b1f0003c010522..."} 
[2026-08-10 18:06:52] local.INFO: Processing buffer {"connection_id":154454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feba9ce50012d198c000720b1f0003c010522..."} 
[2026-08-10 18:06:52] local.INFO: Packet analysis {"connection_id":154454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feba9"} 
[2026-08-10 18:06:52] local.INFO: Extracted packet for processing {"connection_id":154454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feba9"} 
[2026-08-10 18:06:52] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309486336001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786365202000,"timestamp_ms":1786365202000,"timestamp_seconds":1786365202,"priority":1,"record_length":96,"hex_timestamp":"0000019feba9ce50"} 
[2026-08-10 18:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 18:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309486336001,"66":12711,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309486336001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:06:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:06:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309486336001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":154454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:06:53] local.INFO: GPS data processed {"connection_id":154454,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:06:53] local.INFO: Acknowledgment sent {"connection_id":154454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:06:54] local.INFO: TCP Data received {"connection_id":154454,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febaa2058012d198c000720b1f0003c010520..."} 
[2026-08-10 18:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febaa2058012d198c000720b1f0003c010520..."} 
[2026-08-10 18:06:54] local.INFO: Processing buffer {"connection_id":154454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febaa2058012d198c000720b1f0003c010520..."} 
[2026-08-10 18:06:54] local.INFO: Packet analysis {"connection_id":154454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febaa"} 
[2026-08-10 18:06:54] local.INFO: Extracted packet for processing {"connection_id":154454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febaa"} 
[2026-08-10 18:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583216,"longitude_deg":75.664896,"latitude_deg":11.9583216,"altitude":60,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-10 18:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309491712001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11522817434583040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300993536,"note":"Value kept but may cause issues"} 
[2026-08-10 18:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786365223000,"timestamp_ms":1786365223000,"timestamp_seconds":1786365223,"priority":1,"record_length":96,"hex_timestamp":"0000019febaa2058"} 
[2026-08-10 18:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 18:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":154454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":154454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":154454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309491712001,"66":12722,"121":206,"28":31744,"24":0,"16":11522817434583040,"45":1840846378300993536},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309491712001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:06:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:06:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11522817434583040,"km_value":11522817434583.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300993536,"description":"Unknown IO ID 45"} 
[2026-08-10 18:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309491712001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378300993536}} 
[2026-08-10 18:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":154454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:06:54] local.INFO: GPS data processed {"connection_id":154454,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:06:54] local.INFO: Acknowledgment sent {"connection_id":154454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:07:03] local.INFO: TCP Data received {"connection_id":153016,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:07:03] local.INFO: Processing buffer {"connection_id":153016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:07:03] local.INFO: IMEI packet received {"connection_id":153016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":153016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:07:08] local.INFO: TCP Data received {"connection_id":153016,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:07:08] local.INFO: Processing buffer {"connection_id":153016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:07:08] local.INFO: IMEI packet received {"connection_id":153016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":153016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:07:09] local.INFO: TCP Data received {"connection_id":153016,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:07:09] local.INFO: Processing buffer {"connection_id":153016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:07:09] local.INFO: Packet analysis {"connection_id":153016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:07:09] local.INFO: Extracted packet for processing {"connection_id":153016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309446400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786365326000,"timestamp_ms":1786365326000,"timestamp_seconds":1786365326,"priority":1,"record_length":96,"hex_timestamp":"0000019febabb2b0"} 
[2026-08-10 18:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309446400001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309446400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:07:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309446400001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":153016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:07:09] local.INFO: GPS data processed {"connection_id":153016,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:07:09] local.INFO: Acknowledgment sent {"connection_id":153016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:07:14] local.INFO: TCP Data received {"connection_id":153016,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:07:14] local.INFO: Processing buffer {"connection_id":153016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:07:14] local.INFO: Packet analysis {"connection_id":153016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:07:14] local.INFO: Extracted packet for processing {"connection_id":153016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309446400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786365326000,"timestamp_ms":1786365326000,"timestamp_seconds":1786365326,"priority":1,"record_length":96,"hex_timestamp":"0000019febabb2b0"} 
[2026-08-10 18:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309446400001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309446400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:07:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:07:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309446400001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":153016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:07:14] local.INFO: GPS data processed {"connection_id":153016,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:07:14] local.INFO: Acknowledgment sent {"connection_id":153016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:07:26] local.INFO: TCP Data received {"connection_id":154454,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febac9d10012d193e400720b2200037012d22..."} 
[2026-08-10 18:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febac9d10012d193e400720b2200037012d22..."} 
[2026-08-10 18:07:26] local.INFO: Processing buffer {"connection_id":154454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febac9d10012d193e400720b2200037012d22..."} 
[2026-08-10 18:07:26] local.INFO: Packet analysis {"connection_id":154454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febac"} 
[2026-08-10 18:07:26] local.INFO: Extracted packet for processing {"connection_id":154454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febac"} 
[2026-08-10 18:07:26] local.INFO: GPS Element Parsed {"raw_longitude":756629056,"raw_latitude":119583264,"longitude_deg":75.6629056,"latitude_deg":11.9583264,"altitude":55,"angle":301,"satellites":34,"speed":26,"hex_longitude":"2d193e40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-10 18:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309537280001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11523813866995712,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822902348535306240,"note":"Value kept but may cause issues"} 
[2026-08-10 18: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-08-10 18:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786365386000,"timestamp_ms":1786365386000,"timestamp_seconds":1786365386,"priority":1,"record_length":96,"hex_timestamp":"0000019febac9d10"} 
[2026-08-10 18:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-10 18:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309537280001,"66":14298,"121":206,"28":31744,"24":26,"16":11523813866995712,"45":1822902348535306240},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309537280001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:07:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:07:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11523813866995712,"km_value":11523813866995.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822902348535306240,"description":"Unknown IO ID 45"} 
[2026-08-10 18:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309537280001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1822902348535306240}} 
[2026-08-10 18:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":154454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:07:26] local.INFO: GPS data processed {"connection_id":154454,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:07:26] local.INFO: Acknowledgment sent {"connection_id":154454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:07:41] local.INFO: TCP Data received {"connection_id":154455,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:07:41] local.INFO: Processing buffer {"connection_id":154455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:07:41] local.INFO: IMEI packet received {"connection_id":154455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":154455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:07:41] local.INFO: TCP Data received {"connection_id":154455,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:07:41] local.INFO: Processing buffer {"connection_id":154455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:07:41] local.INFO: IMEI packet received {"connection_id":154455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":154455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:07:42] local.INFO: TCP Data received {"connection_id":153017,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:07:42] local.INFO: Processing buffer {"connection_id":153017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:07:42] local.INFO: IMEI packet received {"connection_id":153017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":153017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:07:43] local.INFO: TCP Data received {"connection_id":153017,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:07:43] local.INFO: Processing buffer {"connection_id":153017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:07:43] local.INFO: IMEI packet received {"connection_id":153017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":153017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:07:43] local.INFO: TCP Data received {"connection_id":153017,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febacdf78012d81114005d18c000004015429..."} 
[2026-08-10 18:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febacdf78012d81114005d18c000004015429..."} 
[2026-08-10 18:07:43] local.INFO: Processing buffer {"connection_id":153017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febacdf78012d81114005d18c000004015429..."} 
[2026-08-10 18:07:43] local.INFO: Packet analysis {"connection_id":153017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febac"} 
[2026-08-10 18:07:43] local.INFO: Extracted packet for processing {"connection_id":153017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febac"} 
[2026-08-10 18:07:43] local.INFO: GPS Element Parsed {"raw_longitude":763433280,"raw_latitude":97618944,"longitude_deg":76.343328,"latitude_deg":9.7618944,"altitude":4,"angle":340,"satellites":41,"speed":11,"hex_longitude":"2d811140","hex_latitude":"05d18c00","is_valid_coordinates":true} 
[2026-08-10 18:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309542912001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117390325307146240,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146318236989847552,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786365403000,"timestamp_ms":1786365403000,"timestamp_seconds":1786365403,"priority":1,"record_length":96,"hex_timestamp":"0000019febacdf78"} 
[2026-08-10 18:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-10 18:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309542912001,"66":13200,"65":206,"85":15104,"24":11,"16":117390325307146240,"45":-9146318236989847552},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-10 18:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309542912001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:07:43] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-10 18:07:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117390325307146240,"km_value":117390325307146.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146318236989847552,"description":"Unknown IO ID 45"} 
[2026-08-10 18:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309542912001,"power":13200,"unknown_65":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9146318236989847552}} 
[2026-08-10 18:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":153017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:07:43] local.INFO: GPS data processed {"connection_id":153017,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:07:43] local.INFO: Acknowledgment sent {"connection_id":153017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:07:46] local.INFO: TCP Data received {"connection_id":153017,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febace360012d81110005d18d380004016228..."} 
[2026-08-10 18:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febace360012d81110005d18d380004016228..."} 
[2026-08-10 18:07:46] local.INFO: Processing buffer {"connection_id":153017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febace360012d81110005d18d380004016228..."} 
[2026-08-10 18:07:46] local.INFO: Packet analysis {"connection_id":153017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febac"} 
[2026-08-10 18:07:46] local.INFO: Extracted packet for processing {"connection_id":153017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febac"} 
[2026-08-10 18:07:46] local.INFO: GPS Element Parsed {"raw_longitude":763433216,"raw_latitude":97619256,"longitude_deg":76.3433216,"latitude_deg":9.7619256,"altitude":4,"angle":354,"satellites":40,"speed":14,"hex_longitude":"2d811100","hex_latitude":"05d18d38","is_valid_coordinates":true} 
[2026-08-10 18:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309543168001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117390338192048128,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146458974478139392,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786365404000,"timestamp_ms":1786365404000,"timestamp_seconds":1786365404,"priority":1,"record_length":96,"hex_timestamp":"0000019febace360"} 
[2026-08-10 18:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-10 18:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309543168001,"66":13319,"65":206,"85":15104,"24":14,"16":117390338192048128,"45":-9146458974478139392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-10 18:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309543168001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:07:46] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-10 18:07:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117390338192048128,"km_value":117390338192048.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146458974478139392,"description":"Unknown IO ID 45"} 
[2026-08-10 18:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309543168001,"power":13319,"unknown_65":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9146458974478139392}} 
[2026-08-10 18:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":153017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:07:46] local.INFO: GPS data processed {"connection_id":153017,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:07:46] local.INFO: Acknowledgment sent {"connection_id":153017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:07:46] local.INFO: TCP Data received {"connection_id":154455,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:07:46] local.INFO: Processing buffer {"connection_id":154455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:07:46] local.INFO: IMEI packet received {"connection_id":154455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":154455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:07:48] local.INFO: TCP Data received {"connection_id":154455,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febacbc50012d192cc00720bbf80037012123..."} 
[2026-08-10 18:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febacbc50012d192cc00720bbf80037012123..."} 
[2026-08-10 18:07:48] local.INFO: Processing buffer {"connection_id":154455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febacbc50012d192cc00720bbf80037012123..."} 
[2026-08-10 18:07:48] local.INFO: Packet analysis {"connection_id":154455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febac"} 
[2026-08-10 18:07:48] local.INFO: Extracted packet for processing {"connection_id":154455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febac"} 
[2026-08-10 18:07:48] local.INFO: GPS Element Parsed {"raw_longitude":756624576,"raw_latitude":119585784,"longitude_deg":75.6624576,"latitude_deg":11.9585784,"altitude":55,"angle":289,"satellites":35,"speed":23,"hex_longitude":"2d192cc0","hex_latitude":"0720bbf8","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309538816001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11524058680131584,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818961698861752320,"note":"Value kept but may cause issues"} 
[2026-08-10 18:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786365394000,"timestamp_ms":1786365394000,"timestamp_seconds":1786365394,"priority":1,"record_length":96,"hex_timestamp":"0000019febacbc50"} 
[2026-08-10 18:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":218,"data_length":795,"current_offset":136} 
[2026-08-10 18:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309538816001,"66":14428,"121":206,"28":31744,"24":23,"16":11524058680131584,"45":1818961698861752320},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309538816001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:07:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:07:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11524058680131584,"km_value":11524058680131.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818961698861752320,"description":"Unknown IO ID 45"} 
[2026-08-10 18:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309538816001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1818961698861752320}} 
[2026-08-10 18:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":154455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:07:48] local.INFO: GPS data processed {"connection_id":154455,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:07:48] local.INFO: Acknowledgment sent {"connection_id":154455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:07:58] local.INFO: TCP Data received {"connection_id":152086,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:07:58] local.INFO: Processing buffer {"connection_id":152086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:07:58] local.INFO: IMEI packet received {"connection_id":152086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":152086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:08:03] local.INFO: TCP Data received {"connection_id":152086,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:08:03] local.INFO: Processing buffer {"connection_id":152086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:08:03] local.INFO: IMEI packet received {"connection_id":152086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":152086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:08:04] local.INFO: TCP Data received {"connection_id":152086,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:08:04] local.INFO: Processing buffer {"connection_id":152086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:08:04] local.INFO: Packet analysis {"connection_id":152086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:08:04] local.INFO: Extracted packet for processing {"connection_id":152086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309446400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365326000,"timestamp_ms":1786365326000,"timestamp_seconds":1786365326,"priority":1,"record_length":96,"hex_timestamp":"0000019febabb2b0"} 
[2026-08-10 18:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309446400001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309446400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:08:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309446400001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":152086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:08:04] local.INFO: GPS data processed {"connection_id":152086,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:08:04] local.INFO: Acknowledgment sent {"connection_id":152086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:08:08] local.INFO: TCP Data received {"connection_id":152087,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:08:08] local.INFO: Processing buffer {"connection_id":152087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:08:08] local.INFO: IMEI packet received {"connection_id":152087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":152087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:08:12] local.INFO: TCP Data received {"connection_id":152087,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:08:12] local.INFO: Processing buffer {"connection_id":152087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:08:12] local.INFO: IMEI packet received {"connection_id":152087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":152087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:08:16] local.INFO: TCP Data received {"connection_id":152087,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:08:16] local.INFO: Processing buffer {"connection_id":152087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:08:16] local.INFO: IMEI packet received {"connection_id":152087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":152087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:08:17] local.INFO: TCP Data received {"connection_id":152087,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febae17f8012d810b0005d286d00000015b26..."} 
[2026-08-10 18:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febae17f8012d810b0005d286d00000015b26..."} 
[2026-08-10 18:08:17] local.INFO: Processing buffer {"connection_id":152087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febae17f8012d810b0005d286d00000015b26..."} 
[2026-08-10 18:08:17] local.INFO: Packet analysis {"connection_id":152087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:08:17] local.INFO: Extracted packet for processing {"connection_id":152087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:08:17] local.INFO: GPS Element Parsed {"raw_longitude":763431680,"raw_latitude":97683152,"longitude_deg":76.343168,"latitude_deg":9.7683152,"altitude":0,"angle":347,"satellites":38,"speed":20,"hex_longitude":"2d810b00","hex_latitude":"05d286d0","is_valid_coordinates":true} 
[2026-08-10 18:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309563392001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117393636726931456,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148007086833760256,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08: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-08-10 18:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786365483000,"timestamp_ms":1786365483000,"timestamp_seconds":1786365483,"priority":1,"record_length":96,"hex_timestamp":"0000019febae17f8"} 
[2026-08-10 18:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 18:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166653517175,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:17] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399446,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3954044160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2164719621,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3892391297,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:17] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2918502401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-10 18:08:17] local.WARNING: Large IO value detected {"io_id":7,"raw_value":3221607024,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3530477568,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,159,8,45,126,40,10,66,252,128,118,36,248,1,240,29,227,235,210,4,113,205,22,7,80,239,51,2,161,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-10 18:08:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5665063174144,"timestamp_seconds":5665063174.144,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309563392001,"66":13319,"208":206,"85":15104,"24":20,"16":117393636726931456,"45":-9148007086833760256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-10 18:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309563392001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:08:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-10 18:08:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117393636726931456,"km_value":117393636726931.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148007086833760256,"description":"Unknown IO ID 45"} 
[2026-08-10 18:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309563392001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9148007086833760256}} 
[2026-08-10 18:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":152087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:08:17] local.INFO: GPS data processed {"connection_id":152087,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:08:17] local.INFO: Acknowledgment sent {"connection_id":152087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:08:20] local.INFO: TCP Data received {"connection_id":154455,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febacef18012d190c000720c8a00039012e23..."} 
[2026-08-10 18:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febacef18012d190c000720c8a00039012e23..."} 
[2026-08-10 18:08:20] local.INFO: Processing buffer {"connection_id":154455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febacef18012d190c000720c8a00039012e23..."} 
[2026-08-10 18:08:20] local.INFO: Packet analysis {"connection_id":154455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febac"} 
[2026-08-10 18:08:20] local.INFO: Extracted packet for processing {"connection_id":154455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febac"} 
[2026-08-10 18:08:20] local.INFO: GPS Element Parsed {"raw_longitude":756616192,"raw_latitude":119589024,"longitude_deg":75.6616192,"latitude_deg":11.9589024,"altitude":57,"angle":302,"satellites":35,"speed":24,"hex_longitude":"2d190c00","hex_latitude":"0720c8a0","is_valid_coordinates":true} 
[2026-08-10 18:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309540864001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11524488176861184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814035886769960960,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786365407000,"timestamp_ms":1786365407000,"timestamp_seconds":1786365407,"priority":1,"record_length":96,"hex_timestamp":"0000019febacef18"} 
[2026-08-10 18:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 18:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309540864001,"66":14450,"121":206,"28":31744,"24":24,"16":11524488176861184,"45":1814035886769960960},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309540864001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:08:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:08:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11524488176861184,"km_value":11524488176861.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814035886769960960,"description":"Unknown IO ID 45"} 
[2026-08-10 18:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309540864001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1814035886769960960}} 
[2026-08-10 18:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":154455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:08:20] local.INFO: GPS data processed {"connection_id":154455,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:08:20] local.INFO: Acknowledgment sent {"connection_id":154455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:08:35] local.INFO: TCP Data received {"connection_id":152086,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:08:35] local.INFO: Processing buffer {"connection_id":152086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:08:35] local.INFO: Packet analysis {"connection_id":152086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:08:35] local.INFO: Extracted packet for processing {"connection_id":152086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309446400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786365326000,"timestamp_ms":1786365326000,"timestamp_seconds":1786365326,"priority":1,"record_length":96,"hex_timestamp":"0000019febabb2b0"} 
[2026-08-10 18:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309446400001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309446400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:08:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309446400001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":152086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:08:35] local.INFO: GPS data processed {"connection_id":152086,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:08:35] local.INFO: Acknowledgment sent {"connection_id":152086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:08:42] local.INFO: TCP Data received {"connection_id":153018,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:08:42] local.INFO: Processing buffer {"connection_id":153018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:08:42] local.INFO: IMEI packet received {"connection_id":153018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":153018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:08:43] local.INFO: TCP Data received {"connection_id":153018,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:08:43] local.INFO: Processing buffer {"connection_id":153018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:08:43] local.INFO: IMEI packet received {"connection_id":153018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":153018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:08:45] local.INFO: TCP Data received {"connection_id":153018,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:08:45] local.INFO: Processing buffer {"connection_id":153018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:08:45] local.INFO: IMEI packet received {"connection_id":153018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":153018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:08:46] local.INFO: TCP Data received {"connection_id":153018,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febad21e0012d18f3400720d9a0003f013b23..."} 
[2026-08-10 18:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febad21e0012d18f3400720d9a0003f013b23..."} 
[2026-08-10 18:08:46] local.INFO: Processing buffer {"connection_id":153018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febad21e0012d18f3400720d9a0003f013b23..."} 
[2026-08-10 18:08:46] local.INFO: Packet analysis {"connection_id":153018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febad"} 
[2026-08-10 18:08:46] local.INFO: Extracted packet for processing {"connection_id":153018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febad"} 
[2026-08-10 18:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756609856,"raw_latitude":119593376,"longitude_deg":75.6609856,"latitude_deg":11.9593376,"altitude":63,"angle":315,"satellites":35,"speed":26,"hex_longitude":"2d18f340","hex_latitude":"0720d9a0","is_valid_coordinates":true} 
[2026-08-10 18:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309544192001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11524853249081344,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804817581283516416,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08: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-08-10 18:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786365420000,"timestamp_ms":1786365420000,"timestamp_seconds":1786365420,"priority":1,"record_length":96,"hex_timestamp":"0000019febad21e0"} 
[2026-08-10 18:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-10 18:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309544192001,"66":14374,"121":206,"28":31744,"24":26,"16":11524853249081344,"45":1804817581283516416},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309544192001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:08:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:08:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11524853249081344,"km_value":11524853249081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804817581283516416,"description":"Unknown IO ID 45"} 
[2026-08-10 18:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309544192001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1804817581283516416}} 
[2026-08-10 18:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":153018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:08:46] local.INFO: GPS data processed {"connection_id":153018,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:08:46] local.INFO: Acknowledgment sent {"connection_id":153018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:08:48] local.INFO: TCP Data received {"connection_id":152087,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febae1be0012d810a0005d289180000014b26..."} 
[2026-08-10 18:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febae1be0012d810a0005d289180000014b26..."} 
[2026-08-10 18:08:48] local.INFO: Processing buffer {"connection_id":152087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febae1be0012d810a0005d289180000014b26..."} 
[2026-08-10 18:08:48] local.INFO: Packet analysis {"connection_id":152087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:08:48] local.INFO: Extracted packet for processing {"connection_id":152087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:08:48] local.INFO: GPS Element Parsed {"raw_longitude":763431424,"raw_latitude":97683736,"longitude_deg":76.3431424,"latitude_deg":9.7683736,"altitude":0,"angle":331,"satellites":38,"speed":23,"hex_longitude":"2d810a00","hex_latitude":"05d28918","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309563648001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117393671086669824,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148218193066143744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08: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-08-10 18:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786365484000,"timestamp_ms":1786365484000,"timestamp_seconds":1786365484,"priority":1,"record_length":96,"hex_timestamp":"0000019febae1be0"} 
[2026-08-10 18:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3954045160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2164686853,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2918758401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":210,"raw_value":7984882139347822592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3489738113,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3530575872,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57834105476109627,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:48] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-1369092991770607611,"note":"Value kept but may cause issues"} 
[2026-08-10 18:08:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,159,20,45,192,132,39,10,66,8,126,40,252,128,1,240,29,227,235,210,4,113,205,21,244,7,56,239,51,2,161,5,3,173],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-10 18:08:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":381693744906240,"timestamp_seconds":381693744906.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309563648001,"66":12841,"208":206,"85":15104,"24":23,"16":117393671086669824,"45":-9148218193066143744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-10 18:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309563648001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:08:48] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-10 18:08:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117393671086669824,"km_value":117393671086669.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148218193066143744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309563648001,"power":12841,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9148218193066143744}} 
[2026-08-10 18:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":152087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:08:48] local.INFO: GPS data processed {"connection_id":152087,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:08:48] local.INFO: Acknowledgment sent {"connection_id":152087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:09:03] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:09:03] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:09:03] local.INFO: IMEI packet received {"connection_id":151700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":151700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:09:04] local.INFO: TCP Data received {"connection_id":152088,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:09:04] local.INFO: Processing buffer {"connection_id":152088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:09:04] local.INFO: IMEI packet received {"connection_id":152088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":152088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:09:04] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:09:04] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:09:04] local.INFO: IMEI packet received {"connection_id":151700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":151700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:09:04] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:09:04] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:09:04] local.INFO: Packet analysis {"connection_id":151700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:09:04] local.INFO: Extracted packet for processing {"connection_id":151700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309446400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365326000,"timestamp_ms":1786365326000,"timestamp_seconds":1786365326,"priority":1,"record_length":96,"hex_timestamp":"0000019febabb2b0"} 
[2026-08-10 18:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309446400001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309446400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:09:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309446400001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":151700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:09:05] local.INFO: GPS data processed {"connection_id":151700,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:09:05] local.INFO: Acknowledgment sent {"connection_id":151700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:09:07] local.INFO: TCP Data received {"connection_id":152088,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:09:07] local.INFO: Processing buffer {"connection_id":152088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:09:07] local.INFO: IMEI packet received {"connection_id":152088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":152088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:09:09] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:09:09] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:09:09] local.INFO: Packet analysis {"connection_id":151700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:09:09] local.INFO: Extracted packet for processing {"connection_id":151700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309446400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786365326000,"timestamp_ms":1786365326000,"timestamp_seconds":1786365326,"priority":1,"record_length":96,"hex_timestamp":"0000019febabb2b0"} 
[2026-08-10 18:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309446400001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309446400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:09:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309446400001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":151700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:09:09] local.INFO: GPS data processed {"connection_id":151700,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:09:09] local.INFO: Acknowledgment sent {"connection_id":151700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:09:11] local.INFO: TCP Data received {"connection_id":152088,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:09:11] local.INFO: Processing buffer {"connection_id":152088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:09:11] local.INFO: IMEI packet received {"connection_id":152088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":152088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:09:12] local.INFO: TCP Data received {"connection_id":152088,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febaec7c0012d80c6c005d2f3a80001014728..."} 
[2026-08-10 18:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febaec7c0012d80c6c005d2f3a80001014728..."} 
[2026-08-10 18:09:12] local.INFO: Processing buffer {"connection_id":152088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febaec7c0012d80c6c005d2f3a80001014728..."} 
[2026-08-10 18:09:12] local.INFO: Packet analysis {"connection_id":152088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:09:12] local.INFO: Extracted packet for processing {"connection_id":152088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763414208,"raw_latitude":97711016,"longitude_deg":76.3414208,"latitude_deg":9.7711016,"altitude":1,"angle":327,"satellites":40,"speed":26,"hex_longitude":"2d80c6c0","hex_latitude":"05d2f3a8","is_valid_coordinates":true} 
[2026-08-10 18:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309574912001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117395440613195776,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167147385242957824,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09: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-08-10 18:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786365528000,"timestamp_ms":1786365528000,"timestamp_seconds":1786365528,"priority":1,"record_length":96,"hex_timestamp":"0000019febaec7c0"} 
[2026-08-10 18:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18: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-08-10 18:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-10 18:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309574912001,"66":12961,"208":206,"85":15104,"24":26,"16":117395440613195776,"45":-9167147385242957824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-10 18:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309574912001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:09:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-10 18:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117395440613195776,"km_value":117395440613195.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167147385242957824,"description":"Unknown IO ID 45"} 
[2026-08-10 18:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309574912001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9167147385242957824}} 
[2026-08-10 18:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":152088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:09:12] local.INFO: GPS data processed {"connection_id":152088,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:09:12] local.INFO: Acknowledgment sent {"connection_id":152088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:09:19] local.INFO: TCP Data received {"connection_id":153018,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febae6618012d18a88007217358004d012822..."} 
[2026-08-10 18:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febae6618012d18a88007217358004d012822..."} 
[2026-08-10 18:09:19] local.INFO: Processing buffer {"connection_id":153018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febae6618012d18a88007217358004d012822..."} 
[2026-08-10 18:09:19] local.INFO: Packet analysis {"connection_id":153018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:09:19] local.INFO: Extracted packet for processing {"connection_id":153018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119632728,"longitude_deg":75.659072,"latitude_deg":11.9632728,"altitude":77,"angle":296,"satellites":34,"speed":25,"hex_longitude":"2d18a880","hex_latitude":"07217358","is_valid_coordinates":true} 
[2026-08-10 18:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309568256001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11527056567304192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458506993664,"note":"Value kept but may cause issues"} 
[2026-08-10 18: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-08-10 18:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786365503000,"timestamp_ms":1786365503000,"timestamp_seconds":1786365503,"priority":1,"record_length":96,"hex_timestamp":"0000019febae6618"} 
[2026-08-10 18:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 18:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309568256001,"66":14428,"121":206,"28":31744,"24":25,"16":11527056567304192,"45":1778077458506993664},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309568256001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:09:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:09:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11527056567304192,"km_value":11527056567304.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458506993664,"description":"Unknown IO ID 45"} 
[2026-08-10 18:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309568256001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1778077458506993664}} 
[2026-08-10 18:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":153018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:09:19] local.INFO: GPS data processed {"connection_id":153018,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:09:19] local.INFO: Acknowledgment sent {"connection_id":153018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:09:41] local.INFO: TCP Data received {"connection_id":153019,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:09:41] local.INFO: Processing buffer {"connection_id":153019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:09:41] local.INFO: IMEI packet received {"connection_id":153019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":153019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:09:43] local.INFO: TCP Data received {"connection_id":152088,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febaecba8012d80c4c005d2f5980000013828..."} 
[2026-08-10 18:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febaecba8012d80c4c005d2f5980000013828..."} 
[2026-08-10 18:09:43] local.INFO: Processing buffer {"connection_id":152088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febaecba8012d80c4c005d2f5980000013828..."} 
[2026-08-10 18:09:43] local.INFO: Packet analysis {"connection_id":152088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:09:43] local.INFO: Extracted packet for processing {"connection_id":152088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:09:43] local.INFO: GPS Element Parsed {"raw_longitude":763413696,"raw_latitude":97711512,"longitude_deg":76.3413696,"latitude_deg":9.7711512,"altitude":0,"angle":312,"satellites":40,"speed":26,"hex_longitude":"2d80c4c0","hex_latitude":"05d2f598","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309575168001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117395479267901440,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167428860219512832,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09: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-08-10 18:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786365529000,"timestamp_ms":1786365529000,"timestamp_seconds":1786365529,"priority":1,"record_length":96,"hex_timestamp":"0000019febaecba8"} 
[2026-08-10 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-08-10 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-08-10 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 18:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309575168001,"66":12961,"208":206,"85":15104,"24":26,"16":117395479267901440,"45":-9167428860219512832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-10 18:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309575168001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:09:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-10 18:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117395479267901440,"km_value":117395479267901.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167428860219512832,"description":"Unknown IO ID 45"} 
[2026-08-10 18:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309575168001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9167428860219512832}} 
[2026-08-10 18:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":152088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:09:43] local.INFO: GPS data processed {"connection_id":152088,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:09:43] local.INFO: Acknowledgment sent {"connection_id":152088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:09:44] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:09:44] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:09:44] local.INFO: Packet analysis {"connection_id":151700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:09:44] local.INFO: Extracted packet for processing {"connection_id":151700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309446400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786365326000,"timestamp_ms":1786365326000,"timestamp_seconds":1786365326,"priority":1,"record_length":96,"hex_timestamp":"0000019febabb2b0"} 
[2026-08-10 18:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309446400001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309446400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:09:44] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309446400001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":151700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:09:44] local.INFO: GPS data processed {"connection_id":151700,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:09:44] local.INFO: Acknowledgment sent {"connection_id":151700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:09:45] local.INFO: TCP Data received {"connection_id":153019,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:09:45] local.INFO: Processing buffer {"connection_id":153019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:09:45] local.INFO: IMEI packet received {"connection_id":153019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":153019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:09:46] local.INFO: TCP Data received {"connection_id":153019,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:09:46] local.INFO: Processing buffer {"connection_id":153019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:09:46] local.INFO: IMEI packet received {"connection_id":153019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":153019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:09:48] local.INFO: TCP Data received {"connection_id":153019,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febae71d0012d18a10007217608004d011d21..."} 
[2026-08-10 18:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febae71d0012d18a10007217608004d011d21..."} 
[2026-08-10 18:09:48] local.INFO: Processing buffer {"connection_id":153019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febae71d0012d18a10007217608004d011d21..."} 
[2026-08-10 18:09:48] local.INFO: Packet analysis {"connection_id":153019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:09:48] local.INFO: Extracted packet for processing {"connection_id":153019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756588800,"raw_latitude":119633416,"longitude_deg":75.65888,"latitude_deg":11.9633416,"altitude":77,"angle":285,"satellites":33,"speed":27,"hex_longitude":"2d18a100","hex_latitude":"07217608","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309568768001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11527155351552000,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821111994368,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786365506000,"timestamp_ms":1786365506000,"timestamp_seconds":1786365506,"priority":1,"record_length":96,"hex_timestamp":"0000019febae71d0"} 
[2026-08-10 18:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 18:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309568768001,"66":14396,"121":206,"28":31744,"24":27,"16":11527155351552000,"45":1776810821111994368},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309568768001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:09:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:09:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11527155351552000,"km_value":11527155351552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821111994368,"description":"Unknown IO ID 45"} 
[2026-08-10 18:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309568768001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1776810821111994368}} 
[2026-08-10 18:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":153019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:09:48] local.INFO: GPS data processed {"connection_id":153019,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:09:48] local.INFO: Acknowledgment sent {"connection_id":153019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:09:52] local.INFO: TCP Data received {"connection_id":153019,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febaea498012d187e00072181c8004d011222..."} 
[2026-08-10 18:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febaea498012d187e00072181c8004d011222..."} 
[2026-08-10 18:09:52] local.INFO: Processing buffer {"connection_id":153019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febaea498012d187e00072181c8004d011222..."} 
[2026-08-10 18:09:52] local.INFO: Packet analysis {"connection_id":153019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:09:52] local.INFO: Extracted packet for processing {"connection_id":153019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:09:52] local.INFO: GPS Element Parsed {"raw_longitude":756579840,"raw_latitude":119636424,"longitude_deg":75.657984,"latitude_deg":11.9636424,"altitude":77,"angle":274,"satellites":34,"speed":27,"hex_longitude":"2d187e00","hex_latitude":"072181c8","is_valid_coordinates":true} 
[2026-08-10 18:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309569536001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11527610618085376,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774699758786840576,"note":"Value kept but may cause issues"} 
[2026-08-10 18:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786365519000,"timestamp_ms":1786365519000,"timestamp_seconds":1786365519,"priority":1,"record_length":96,"hex_timestamp":"0000019febaea498"} 
[2026-08-10 18:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:09: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-08-10 18:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 18:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309569536001,"66":14080,"121":206,"28":31744,"24":27,"16":11527610618085376,"45":1774699758786840576},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309569536001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:09:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:09:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11527610618085376,"km_value":11527610618085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774699758786840576,"description":"Unknown IO ID 45"} 
[2026-08-10 18:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309569536001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1774699758786840576}} 
[2026-08-10 18:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":153019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:09:52] local.INFO: GPS data processed {"connection_id":153019,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:09:52] local.INFO: Acknowledgment sent {"connection_id":153019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:10:01] local.INFO: TCP Data received {"connection_id":153020,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:10:01] local.INFO: Processing buffer {"connection_id":153020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:10:01] local.INFO: IMEI packet received {"connection_id":153020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":153020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:10:06] local.INFO: TCP Data received {"connection_id":153020,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:10:06] local.INFO: Processing buffer {"connection_id":153020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:10:06] local.INFO: IMEI packet received {"connection_id":153020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":153020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:10:07] local.INFO: TCP Data received {"connection_id":152089,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:10:07] local.INFO: Processing buffer {"connection_id":152089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:10:07] local.INFO: IMEI packet received {"connection_id":152089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":152089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:10:07] local.INFO: TCP Data received {"connection_id":153020,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:10:07] local.INFO: Processing buffer {"connection_id":153020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:10:07] local.INFO: Packet analysis {"connection_id":153020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:10:07] local.INFO: Extracted packet for processing {"connection_id":153020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:10:07] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309446400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786365326000,"timestamp_ms":1786365326000,"timestamp_seconds":1786365326,"priority":1,"record_length":96,"hex_timestamp":"0000019febabb2b0"} 
[2026-08-10 18:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309446400001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309446400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:10:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:10:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309446400001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":153020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:10:07] local.INFO: GPS data processed {"connection_id":153020,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:10:07] local.INFO: Acknowledgment sent {"connection_id":153020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:10:08] local.INFO: TCP Data received {"connection_id":153020,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:10:08] local.INFO: Processing buffer {"connection_id":153020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:10:08] local.INFO: Packet analysis {"connection_id":153020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:10:08] local.INFO: Extracted packet for processing {"connection_id":153020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309446400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786365326000,"timestamp_ms":1786365326000,"timestamp_seconds":1786365326,"priority":1,"record_length":96,"hex_timestamp":"0000019febabb2b0"} 
[2026-08-10 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-08-10 18:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309446400001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309446400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:10:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309446400001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":153020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:10:08] local.INFO: GPS data processed {"connection_id":153020,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:10:08] local.INFO: Acknowledgment sent {"connection_id":153020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:10:12] local.INFO: TCP Data received {"connection_id":152089,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:10:12] local.INFO: Processing buffer {"connection_id":152089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:10:12] local.INFO: IMEI packet received {"connection_id":152089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":152089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:10:13] local.INFO: TCP Data received {"connection_id":152089,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febaf8728012d80ab0005d34ef80001000327..."} 
[2026-08-10 18:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febaf8728012d80ab0005d34ef80001000327..."} 
[2026-08-10 18:10:13] local.INFO: Processing buffer {"connection_id":152089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febaf8728012d80ab0005d34ef80001000327..."} 
[2026-08-10 18:10:13] local.INFO: Packet analysis {"connection_id":152089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febaf"} 
[2026-08-10 18:10:13] local.INFO: Extracted packet for processing {"connection_id":152089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febaf"} 
[2026-08-10 18:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763407104,"raw_latitude":97734392,"longitude_deg":76.3407104,"latitude_deg":9.7734392,"altitude":1,"angle":3,"satellites":39,"speed":36,"hex_longitude":"2d80ab00","hex_latitude":"05d34ef8","is_valid_coordinates":true} 
[2026-08-10 18:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309585152001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117396930966847488,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175310159563798528,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786365577000,"timestamp_ms":1786365577000,"timestamp_seconds":1786365577,"priority":1,"record_length":96,"hex_timestamp":"0000019febaf8728"} 
[2026-08-10 18:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:10: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-08-10 18:10: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-08-10 18:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309585152001,"66":13319,"208":206,"85":15104,"24":36,"16":117396930966847488,"45":-9175310159563798528},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-10 18:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309585152001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:10:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-10 18:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117396930966847488,"km_value":117396930966847.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175310159563798528,"description":"Unknown IO ID 45"} 
[2026-08-10 18:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309585152001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9175310159563798528}} 
[2026-08-10 18:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":152089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:10:13] local.INFO: GPS data processed {"connection_id":152089,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:10:13] local.INFO: Acknowledgment sent {"connection_id":152089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:10:23] local.INFO: TCP Data received {"connection_id":153019,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febaecba8012d18628007218228004d011e24..."} 
[2026-08-10 18:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febaecba8012d18628007218228004d011e24..."} 
[2026-08-10 18:10:23] local.INFO: Processing buffer {"connection_id":153019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febaecba8012d18628007218228004d011e24..."} 
[2026-08-10 18:10:23] local.INFO: Packet analysis {"connection_id":153019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:10:23] local.INFO: Extracted packet for processing {"connection_id":153019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febae"} 
[2026-08-10 18:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756572800,"raw_latitude":119636520,"longitude_deg":75.65728,"latitude_deg":11.963652,"altitude":77,"angle":286,"satellites":36,"speed":28,"hex_longitude":"2d186280","hex_latitude":"07218228","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309572864001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11527945625534464,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764848134602737664,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786365529000,"timestamp_ms":1786365529000,"timestamp_seconds":1786365529,"priority":1,"record_length":96,"hex_timestamp":"0000019febaecba8"} 
[2026-08-10 18:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-10 18:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3954057160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:23] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:23] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2922598401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-10 18:10:23] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485799,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:23] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4082106368,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,244,159,113,45,118,77,33,10,66,243,102,128,115,34,94,1,240,71,235,4,205,23,39,195,96,36,239,55,2,40,7,17],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-10 18:10:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548736153137119232,"timestamp_seconds":5548736153137119.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309572864001,"66":14080,"120":206,"28":31744,"24":28,"16":11527945625534464,"45":1764848134602737664},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309572864001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:10:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:10:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11527945625534464,"km_value":11527945625534.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764848134602737664,"description":"Unknown IO ID 45"} 
[2026-08-10 18:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309572864001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1764848134602737664}} 
[2026-08-10 18:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":153019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:10:23] local.INFO: GPS data processed {"connection_id":153019,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:10:23] local.INFO: Acknowledgment sent {"connection_id":153019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:10:40] local.INFO: TCP Data received {"connection_id":153020,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:10:40] local.INFO: Processing buffer {"connection_id":153020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:10:40] local.INFO: Packet analysis {"connection_id":153020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:10:40] local.INFO: Extracted packet for processing {"connection_id":153020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309446400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786365326000,"timestamp_ms":1786365326000,"timestamp_seconds":1786365326,"priority":1,"record_length":96,"hex_timestamp":"0000019febabb2b0"} 
[2026-08-10 18:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309446400001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309446400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:10:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309446400001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":153020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:10:40] local.INFO: GPS data processed {"connection_id":153020,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:10:40] local.INFO: Acknowledgment sent {"connection_id":153020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:10:41] local.INFO: TCP Data received {"connection_id":153021,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:10:41] local.INFO: Processing buffer {"connection_id":153021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:10:41] local.INFO: IMEI packet received {"connection_id":153021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":153021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:10:43] local.INFO: TCP Data received {"connection_id":152089,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febafb608012d80ad4005d36da00001015228..."} 
[2026-08-10 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febafb608012d80ad4005d36da00001015228..."} 
[2026-08-10 18:10:43] local.INFO: Processing buffer {"connection_id":152089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febafb608012d80ad4005d36da00001015228..."} 
[2026-08-10 18:10:43] local.INFO: Packet analysis {"connection_id":152089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febaf"} 
[2026-08-10 18:10:43] local.INFO: Extracted packet for processing {"connection_id":152089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febaf"} 
[2026-08-10 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":763407680,"raw_latitude":97742240,"longitude_deg":76.340768,"latitude_deg":9.774224,"altitude":1,"angle":338,"satellites":40,"speed":10,"hex_longitude":"2d80ad40","hex_latitude":"05d36da0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309587712001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117397313218936832,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175239790817249280,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786365589000,"timestamp_ms":1786365589000,"timestamp_seconds":1786365589,"priority":1,"record_length":96,"hex_timestamp":"0000019febafb608"} 
[2026-08-10 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-08-10 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3954112160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158264325,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":18,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2935910401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-470626148156430336,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2281778560,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3539611648,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":52,"raw_value":57834105476109627,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.WARNING: Large IO value detected {"io_id":174,"raw_value":-957013625872596987,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:43] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,208,85,24,241,157,16,19,159,96,45,192,42,3,41,10,66,76,128,26,4,38,25,64,1,240,178,227,18,235,210,113,205,250,165,40,239,50,2,161,5,52,174],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-10 18:10:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72061060078895104,"timestamp_seconds":72061060078895.11,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 18:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309587712001,"66":12624,"207":206,"85":15104,"24":10,"16":117397313218936832,"45":-9175239790817249280},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-10 18:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309587712001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:10:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-10 18:10:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117397313218936832,"km_value":117397313218936.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175239790817249280,"description":"Unknown IO ID 45"} 
[2026-08-10 18:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309587712001,"power":12624,"unknown_207":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9175239790817249280}} 
[2026-08-10 18:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":152089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:10:44] local.INFO: GPS data processed {"connection_id":152089,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:10:44] local.INFO: Acknowledgment sent {"connection_id":152089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:10:47] local.INFO: TCP Data received {"connection_id":153021,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:10:47] local.INFO: Processing buffer {"connection_id":153021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:10:47] local.INFO: IMEI packet received {"connection_id":153021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":153021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:10:48] local.INFO: TCP Data received {"connection_id":153021,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febafc1c0012d182bc007219d000051004d21..."} 
[2026-08-10 18:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febafc1c0012d182bc007219d000051004d21..."} 
[2026-08-10 18:10:48] local.INFO: Processing buffer {"connection_id":153021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febafc1c0012d182bc007219d000051004d21..."} 
[2026-08-10 18:10:48] local.INFO: Packet analysis {"connection_id":153021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febaf"} 
[2026-08-10 18:10:48] local.INFO: Extracted packet for processing {"connection_id":153021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febaf"} 
[2026-08-10 18:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119643392,"longitude_deg":75.6558784,"latitude_deg":11.9643392,"altitude":81,"angle":77,"satellites":33,"speed":6,"hex_longitude":"2d182bc0","hex_latitude":"07219d00","is_valid_coordinates":true} 
[2026-08-10 18:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309591296001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11528723014615040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537514496,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786365592000,"timestamp_ms":1786365592000,"timestamp_seconds":1786365592,"priority":1,"record_length":96,"hex_timestamp":"0000019febafc1c0"} 
[2026-08-10 18:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:10: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":16,"data_length":795,"current_offset":136} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144832,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3963175512902205521,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3954152160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2531586035024920586,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2946918401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639457998464888,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101786276102400,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2147951001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4114743296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.WARNING: Large IO value detected {"io_id":88,"raw_value":22519235641081856,"note":"Value kept but may cause issues"} 
[2026-08-10 18:10:48] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,245,159,185,45,192,156,81,33,10,66,182,155,178,1,240,38,235,4,113,205,5,44,224,239,56,2,40,7,6,206,88],"length":628,"final_offset":758,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-10 18:10:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836701542690258944,"timestamp_seconds":5836701542690259.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309591296001,"66":14352,"120":206,"28":31744,"24":6,"16":11528723014615040,"45":1741485711537514496},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309591296001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:10:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:10:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11528723014615040,"km_value":11528723014615.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537514496,"description":"Unknown IO ID 45"} 
[2026-08-10 18:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309591296001,"power":14352,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1741485711537514496}} 
[2026-08-10 18:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":153021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:10:48] local.INFO: GPS data processed {"connection_id":153021,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:10:48] local.INFO: Acknowledgment sent {"connection_id":153021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:10:58] local.INFO: TCP Data received {"connection_id":152090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:10:58] local.INFO: Processing buffer {"connection_id":152090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:10:58] local.INFO: IMEI packet received {"connection_id":152090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":152090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:11:03] local.INFO: TCP Data received {"connection_id":152090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:11:03] local.INFO: Processing buffer {"connection_id":152090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:11:03] local.INFO: IMEI packet received {"connection_id":152090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":152090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:11:04] local.INFO: TCP Data received {"connection_id":152090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:11:04] local.INFO: Processing buffer {"connection_id":152090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febabb2b0012d342a4006abc2800017010223..."} 
[2026-08-10 18:11:04] local.INFO: Packet analysis {"connection_id":152090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:11:04] local.INFO: Extracted packet for processing {"connection_id":152090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febab"} 
[2026-08-10 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309446400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365326000,"timestamp_ms":1786365326000,"timestamp_seconds":1786365326,"priority":1,"record_length":96,"hex_timestamp":"0000019febabb2b0"} 
[2026-08-10 18:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309446400001,"66":25473,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309446400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:11:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309446400001,"power":25473,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":152090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:11:04] local.INFO: GPS data processed {"connection_id":152090,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:11:04] local.INFO: Acknowledgment sent {"connection_id":152090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:11:07] local.INFO: TCP Data received {"connection_id":152091,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:11:07] local.INFO: Processing buffer {"connection_id":152091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:11:07] local.INFO: IMEI packet received {"connection_id":152091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":152091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:11:08] local.INFO: TCP Data received {"connection_id":152091,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:11:08] local.INFO: Processing buffer {"connection_id":152091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:11:08] local.INFO: IMEI packet received {"connection_id":152091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":152091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:11:12] local.INFO: TCP Data received {"connection_id":152091,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:11:12] local.INFO: Processing buffer {"connection_id":152091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:11:12] local.INFO: IMEI packet received {"connection_id":152091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":152091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:11:13] local.INFO: TCP Data received {"connection_id":152091,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb0a450012d80368005d39388000a013526..."} 
[2026-08-10 18:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb0a450012d80368005d39388000a013526..."} 
[2026-08-10 18:11:13] local.INFO: Processing buffer {"connection_id":152091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb0a450012d80368005d39388000a013526..."} 
[2026-08-10 18:11:13] local.INFO: Packet analysis {"connection_id":152091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:11:13] local.INFO: Extracted packet for processing {"connection_id":152091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763377280,"raw_latitude":97751944,"longitude_deg":76.337728,"latitude_deg":9.7751944,"altitude":10,"angle":309,"satellites":38,"speed":19,"hex_longitude":"2d803680","hex_latitude":"05d39388","is_valid_coordinates":true} 
[2026-08-10 18:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309604608001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117398936716574720,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205990932019286016,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786365650000,"timestamp_ms":1786365650000,"timestamp_seconds":1786365650,"priority":1,"record_length":96,"hex_timestamp":"0000019febb0a450"} 
[2026-08-10 18:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:11: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-08-10 18:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-10 18:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309604608001,"66":13091,"167":206,"85":15104,"24":19,"16":117398936716574720,"45":-9205990932019286016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-10 18:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309604608001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:11:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 18:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117398936716574720,"km_value":117398936716574.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205990932019286016,"description":"Unknown IO ID 45"} 
[2026-08-10 18:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309604608001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9205990932019286016}} 
[2026-08-10 18:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":152091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:11:13] local.INFO: GPS data processed {"connection_id":152091,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:11:13] local.INFO: Acknowledgment sent {"connection_id":152091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:11:19] local.INFO: TCP Data received {"connection_id":153021,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febafc5a8012d182c4007219cd80051007a21..."} 
[2026-08-10 18:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febafc5a8012d182c4007219cd80051007a21..."} 
[2026-08-10 18:11:19] local.INFO: Processing buffer {"connection_id":153021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febafc5a8012d182c4007219cd80051007a21..."} 
[2026-08-10 18:11:19] local.INFO: Packet analysis {"connection_id":153021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febaf"} 
[2026-08-10 18:11:19] local.INFO: Extracted packet for processing {"connection_id":153021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febaf"} 
[2026-08-10 18:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119643352,"longitude_deg":75.6558912,"latitude_deg":11.9643352,"altitude":81,"angle":122,"satellites":33,"speed":6,"hex_longitude":"2d182c40","hex_latitude":"07219cd8","is_valid_coordinates":true} 
[2026-08-10 18:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309591552001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11528731604549632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741696817770070016,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786365593000,"timestamp_ms":1786365593000,"timestamp_seconds":1786365593,"priority":1,"record_length":96,"hex_timestamp":"0000019febafc5a8"} 
[2026-08-10 18:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144576,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3368700362144350288,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3954155160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2315131683445145610,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2947686401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264544120,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4115005440,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84750553837937048,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.WARNING: Large IO value detected {"io_id":216,"raw_value":22800783632238080,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,245,159,189,45,156,81,33,10,66,185,192,182,1,240,5,235,4,113,205,166,43,80,239,56,2,40,7,206,224,216],"length":628,"final_offset":758,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-10 18:11:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836749921201815552,"timestamp_seconds":5836749921201816.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309591552001,"66":14374,"120":206,"28":31744,"24":6,"16":11528731604549632,"45":1741696817770070016},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309591552001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:11:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:11:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11528731604549632,"km_value":11528731604549.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741696817770070016,"description":"Unknown IO ID 45"} 
[2026-08-10 18:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309591552001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1741696817770070016}} 
[2026-08-10 18:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":153021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:11:20] local.INFO: GPS data processed {"connection_id":153021,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:11:20] local.INFO: Acknowledgment sent {"connection_id":153021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:11:36] local.INFO: TCP Data received {"connection_id":152090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:11:36] local.INFO: Processing buffer {"connection_id":152090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:11:36] local.INFO: Packet analysis {"connection_id":152090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:11:36] local.INFO: Extracted packet for processing {"connection_id":152090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309523456001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786365627000,"timestamp_ms":1786365627000,"timestamp_seconds":1786365627,"priority":1,"record_length":96,"hex_timestamp":"0000019febb04a78"} 
[2026-08-10 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-08-10 18:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 18:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:11: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-08-10 18:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309523456001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309523456001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:11:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309523456001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":152090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:11:36] local.INFO: GPS data processed {"connection_id":152090,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:11:36] local.INFO: Acknowledgment sent {"connection_id":152090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:11:43] local.INFO: TCP Data received {"connection_id":153022,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:11:43] local.INFO: Processing buffer {"connection_id":153022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:11:43] local.INFO: IMEI packet received {"connection_id":153022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":153022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:11:44] local.INFO: TCP Data received {"connection_id":152091,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb0a838012d8034c005d39460000a012827..."} 
[2026-08-10 18:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb0a838012d8034c005d39460000a012827..."} 
[2026-08-10 18:11:44] local.INFO: Processing buffer {"connection_id":152091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb0a838012d8034c005d39460000a012827..."} 
[2026-08-10 18:11:44] local.INFO: Packet analysis {"connection_id":152091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:11:44] local.INFO: Extracted packet for processing {"connection_id":152091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763376832,"raw_latitude":97752160,"longitude_deg":76.3376832,"latitude_deg":9.775216,"altitude":10,"angle":296,"satellites":39,"speed":17,"hex_longitude":"2d8034c0","hex_latitude":"05d39460","is_valid_coordinates":true} 
[2026-08-10 18:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309606400001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117398958191411200,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208031625599547392,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786365651000,"timestamp_ms":1786365651000,"timestamp_seconds":1786365651,"priority":1,"record_length":96,"hex_timestamp":"0000019febb0a838"} 
[2026-08-10 18:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 18:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309606400001,"66":13091,"167":206,"85":15104,"24":17,"16":117398958191411200,"45":-9208031625599547392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-10 18:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309606400001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:11:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 18:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117398958191411200,"km_value":117398958191411.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208031625599547392,"description":"Unknown IO ID 45"} 
[2026-08-10 18:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309606400001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9208031625599547392}} 
[2026-08-10 18:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":152091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:11:44] local.INFO: GPS data processed {"connection_id":152091,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:11:44] local.INFO: Acknowledgment sent {"connection_id":152091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:11:45] local.INFO: TCP Data received {"connection_id":153022,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:11:45] local.INFO: Processing buffer {"connection_id":153022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:11:45] local.INFO: IMEI packet received {"connection_id":153022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":153022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:11:46] local.INFO: TCP Data received {"connection_id":153022,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:11:46] local.INFO: Processing buffer {"connection_id":153022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:11:46] local.INFO: IMEI packet received {"connection_id":153022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":153022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:11:50] local.INFO: TCP Data received {"connection_id":153022,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:11:50] local.INFO: Processing buffer {"connection_id":153022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:11:50] local.INFO: IMEI packet received {"connection_id":153022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":153022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:11:51] local.INFO: TCP Data received {"connection_id":153022,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb0ac20012d18c3c0072151a00045009e22..."} 
[2026-08-10 18:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb0ac20012d18c3c0072151a00045009e22..."} 
[2026-08-10 18:11:51] local.INFO: Processing buffer {"connection_id":153022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb0ac20012d18c3c0072151a00045009e22..."} 
[2026-08-10 18:11:51] local.INFO: Packet analysis {"connection_id":153022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:11:51] local.INFO: Extracted packet for processing {"connection_id":153022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119624096,"longitude_deg":75.6597696,"latitude_deg":11.9624096,"altitude":69,"angle":158,"satellites":34,"speed":35,"hex_longitude":"2d18c3c0","hex_latitude":"072151a0","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309604608001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11530900563034112,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779695939622813696,"note":"Value kept but may cause issues"} 
[2026-08-10 18:11: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-08-10 18:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786365652000,"timestamp_ms":1786365652000,"timestamp_seconds":1786365652,"priority":1,"record_length":96,"hex_timestamp":"0000019febb0ac20"} 
[2026-08-10 18:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-10 18:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309604608001,"66":14070,"121":206,"28":31744,"24":35,"16":11530900563034112,"45":1779695939622813696},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309604608001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:11:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:11:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11530900563034112,"km_value":11530900563034.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779695939622813696,"description":"Unknown IO ID 45"} 
[2026-08-10 18:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309604608001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1779695939622813696}} 
[2026-08-10 18:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":153022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:11:52] local.INFO: GPS data processed {"connection_id":153022,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:11:52] local.INFO: Acknowledgment sent {"connection_id":153022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:11:58] local.INFO: TCP Data received {"connection_id":154456,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:11:58] local.INFO: Processing buffer {"connection_id":154456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:11:58] local.INFO: IMEI packet received {"connection_id":154456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":154456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:12:03] local.INFO: TCP Data received {"connection_id":154456,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:12:03] local.INFO: Processing buffer {"connection_id":154456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:12:03] local.INFO: IMEI packet received {"connection_id":154456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":154456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:12:04] local.INFO: TCP Data received {"connection_id":154456,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:12:04] local.INFO: Processing buffer {"connection_id":154456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:12:04] local.INFO: Packet analysis {"connection_id":154456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:04] local.INFO: Extracted packet for processing {"connection_id":154456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309523456001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365627000,"timestamp_ms":1786365627000,"timestamp_seconds":1786365627,"priority":1,"record_length":96,"hex_timestamp":"0000019febb04a78"} 
[2026-08-10 18:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 18:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309523456001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309523456001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:12:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309523456001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":154456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:12:04] local.INFO: GPS data processed {"connection_id":154456,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:12:04] local.INFO: Acknowledgment sent {"connection_id":154456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:12:07] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:12:07] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:12:07] local.INFO: IMEI packet received {"connection_id":152092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":152092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:12:09] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:12:09] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:12:09] local.INFO: IMEI packet received {"connection_id":152092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":152092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:12:09] local.INFO: TCP Data received {"connection_id":154456,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:12:09] local.INFO: Processing buffer {"connection_id":154456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:12:09] local.INFO: Packet analysis {"connection_id":154456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:09] local.INFO: Extracted packet for processing {"connection_id":154456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309523456001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786365627000,"timestamp_ms":1786365627000,"timestamp_seconds":1786365627,"priority":1,"record_length":96,"hex_timestamp":"0000019febb04a78"} 
[2026-08-10 18:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 18:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309523456001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309523456001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:12:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309523456001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":154456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:12:09] local.INFO: GPS data processed {"connection_id":154456,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:12:09] local.INFO: Acknowledgment sent {"connection_id":154456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:12:11] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:12:11] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:12:11] local.INFO: IMEI packet received {"connection_id":152092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":152092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:12:12] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:12:12] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:12:12] local.INFO: IMEI packet received {"connection_id":152092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":152092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:12:15] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb0ac20012d80334005d394c8000a011627..."} 
[2026-08-10 18:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb0ac20012d80334005d394c8000a011627..."} 
[2026-08-10 18:12:15] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb0ac20012d80334005d394c8000a011627..."} 
[2026-08-10 18:12:15] local.INFO: Packet analysis {"connection_id":152092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:15] local.INFO: Extracted packet for processing {"connection_id":152092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:15] local.INFO: GPS Element Parsed {"raw_longitude":763376448,"raw_latitude":97752264,"longitude_deg":76.3376448,"latitude_deg":9.7752264,"altitude":10,"angle":278,"satellites":39,"speed":17,"hex_longitude":"2d803340","hex_latitude":"05d394c8","is_valid_coordinates":true} 
[2026-08-10 18:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309606656001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117398979666247680,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208524206808735744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786365652000,"timestamp_ms":1786365652000,"timestamp_seconds":1786365652,"priority":1,"record_length":96,"hex_timestamp":"0000019febb0ac20"} 
[2026-08-10 18:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 18:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309606656001,"66":13276,"167":206,"85":15104,"24":17,"16":117398979666247680,"45":-9208524206808735744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-10 18:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309606656001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:12:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 18:12:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117398979666247680,"km_value":117398979666247.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208524206808735744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309606656001,"power":13276,"unknown_167":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9208524206808735744}} 
[2026-08-10 18:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":152092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:12:16] local.INFO: GPS data processed {"connection_id":152092,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:12:16] local.INFO: Acknowledgment sent {"connection_id":152092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:12:17] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb0b008012d80318005d394d0000a010a26..."} 
[2026-08-10 18:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb0b008012d80318005d394d0000a010a26..."} 
[2026-08-10 18:12:17] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb0b008012d80318005d394d0000a010a26..."} 
[2026-08-10 18:12:17] local.INFO: Packet analysis {"connection_id":152092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:17] local.INFO: Extracted packet for processing {"connection_id":152092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:17] local.INFO: GPS Element Parsed {"raw_longitude":763376000,"raw_latitude":97752272,"longitude_deg":76.3376,"latitude_deg":9.7752272,"altitude":10,"angle":266,"satellites":38,"speed":17,"hex_longitude":"2d803180","hex_latitude":"05d394d0","is_valid_coordinates":true} 
[2026-08-10 18:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309606912001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117399001141084160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208946419273775104,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786365653000,"timestamp_ms":1786365653000,"timestamp_seconds":1786365653,"priority":1,"record_length":96,"hex_timestamp":"0000019febb0b008"} 
[2026-08-10 18:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 18:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309606912001,"66":13276,"167":206,"85":15104,"24":17,"16":117399001141084160,"45":-9208946419273775104},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-10 18:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309606912001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:12:17] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-10 18:12:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117399001141084160,"km_value":117399001141084.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208946419273775104,"description":"Unknown IO ID 45"} 
[2026-08-10 18:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309606912001,"power":13276,"unknown_167":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9208946419273775104}} 
[2026-08-10 18:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":152092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:12:17] local.INFO: GPS data processed {"connection_id":152092,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:12:17] local.INFO: Acknowledgment sent {"connection_id":152092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:12:23] local.INFO: TCP Data received {"connection_id":153022,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb0b3f0012d18c54007214ab0004400ae23..."} 
[2026-08-10 18:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb0b3f0012d18c54007214ab0004400ae23..."} 
[2026-08-10 18:12:23] local.INFO: Processing buffer {"connection_id":153022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb0b3f0012d18c54007214ab0004400ae23..."} 
[2026-08-10 18:12:23] local.INFO: Packet analysis {"connection_id":153022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:23] local.INFO: Extracted packet for processing {"connection_id":153022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119622320,"longitude_deg":75.659808,"latitude_deg":11.962232,"altitude":68,"angle":174,"satellites":35,"speed":36,"hex_longitude":"2d18c540","hex_latitude":"07214ab0","is_valid_coordinates":true} 
[2026-08-10 18:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309606912001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11530990757347328,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014225149952,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786365654000,"timestamp_ms":1786365654000,"timestamp_seconds":1786365654,"priority":1,"record_length":96,"hex_timestamp":"0000019febb0b3f0"} 
[2026-08-10 18:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":246,"data_length":795,"current_offset":136} 
[2026-08-10 18:12: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-08-10 18:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309606912001,"66":14070,"121":206,"28":31744,"24":36,"16":11530990757347328,"45":1784481014225149952},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309606912001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:12:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:12:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11530990757347328,"km_value":11530990757347.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014225149952,"description":"Unknown IO ID 45"} 
[2026-08-10 18:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309606912001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1784481014225149952}} 
[2026-08-10 18:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":153022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:12:23] local.INFO: GPS data processed {"connection_id":153022,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:12:23] local.INFO: Acknowledgment sent {"connection_id":153022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:12:40] local.INFO: TCP Data received {"connection_id":154456,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:12:40] local.INFO: Processing buffer {"connection_id":154456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:12:40] local.INFO: Packet analysis {"connection_id":154456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:40] local.INFO: Extracted packet for processing {"connection_id":154456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309523456001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786365627000,"timestamp_ms":1786365627000,"timestamp_seconds":1786365627,"priority":1,"record_length":96,"hex_timestamp":"0000019febb04a78"} 
[2026-08-10 18:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 18:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309523456001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309523456001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:12:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:12:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309523456001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":154456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:12:40] local.INFO: GPS data processed {"connection_id":154456,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:12:40] local.INFO: Acknowledgment sent {"connection_id":154456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:12:42] local.INFO: TCP Data received {"connection_id":154457,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:12:42] local.INFO: Processing buffer {"connection_id":154457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:12:42] local.INFO: IMEI packet received {"connection_id":154457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":154457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:12:45] local.INFO: TCP Data received {"connection_id":154457,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:12:45] local.INFO: Processing buffer {"connection_id":154457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:12:45] local.INFO: IMEI packet received {"connection_id":154457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":154457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:12:46] local.INFO: TCP Data received {"connection_id":154457,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb0c390012d18c70007213cb8004300a023..."} 
[2026-08-10 18:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb0c390012d18c70007213cb8004300a023..."} 
[2026-08-10 18:12:46] local.INFO: Processing buffer {"connection_id":154457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb0c390012d18c70007213cb8004300a023..."} 
[2026-08-10 18:12:46] local.INFO: Packet analysis {"connection_id":154457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:46] local.INFO: Extracted packet for processing {"connection_id":154457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756598528,"raw_latitude":119618744,"longitude_deg":75.6598528,"latitude_deg":11.9618744,"altitude":67,"angle":160,"satellites":35,"speed":34,"hex_longitude":"2d18c700","hex_latitude":"07213cb8","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309607424001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11531166851006464,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689761280,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12: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-08-10 18:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786365658000,"timestamp_ms":1786365658000,"timestamp_seconds":1786365658,"priority":1,"record_length":96,"hex_timestamp":"0000019febb0c390"} 
[2026-08-10 18:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 18:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309607424001,"66":14048,"121":206,"28":31744,"24":34,"16":11531166851006464,"45":1784903226689761280},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309607424001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:12:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:12:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11531166851006464,"km_value":11531166851006.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689761280,"description":"Unknown IO ID 45"} 
[2026-08-10 18:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309607424001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1784903226689761280}} 
[2026-08-10 18:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":154457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:12:46] local.INFO: GPS data processed {"connection_id":154457,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:12:46] local.INFO: Acknowledgment sent {"connection_id":154457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:12:48] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb22af0012d7f088005d331d0000500f028..."} 
[2026-08-10 18:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb22af0012d7f088005d331d0000500f028..."} 
[2026-08-10 18:12:48] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb22af0012d7f088005d331d0000500f028..."} 
[2026-08-10 18:12:48] local.INFO: Packet analysis {"connection_id":152092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb2"} 
[2026-08-10 18:12:48] local.INFO: Extracted packet for processing {"connection_id":152092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb2"} 
[2026-08-10 18:12:48] local.INFO: GPS Element Parsed {"raw_longitude":763299968,"raw_latitude":97726928,"longitude_deg":76.3299968,"latitude_deg":9.7726928,"altitude":5,"angle":240,"satellites":40,"speed":12,"hex_longitude":"2d7f0880","hex_latitude":"05d331d0","is_valid_coordinates":true} 
[2026-08-10 18:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309631488001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117403167259361280,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154269955090505728,"note":"Value kept but may cause issues"} 
[2026-08-10 18:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786365750000,"timestamp_ms":1786365750000,"timestamp_seconds":1786365750,"priority":1,"record_length":96,"hex_timestamp":"0000019febb22af0"} 
[2026-08-10 18:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:12: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-08-10 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 18:12: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-08-10 18:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309631488001,"66":12765,"109":206,"85":15104,"24":12,"16":117403167259361280,"45":9154269955090505728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309631488001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:12:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:12:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117403167259361280,"km_value":117403167259361.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154269955090505728,"description":"Unknown IO ID 45"} 
[2026-08-10 18:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309631488001,"power":12765,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9154269955090505728}} 
[2026-08-10 18:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":152092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:12:49] local.INFO: GPS data processed {"connection_id":152092,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:12:49] local.INFO: Acknowledgment sent {"connection_id":152092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:12:58] local.INFO: TCP Data received {"connection_id":153023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:12:58] local.INFO: Processing buffer {"connection_id":153023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:12:58] local.INFO: IMEI packet received {"connection_id":153023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":153023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:13:03] local.INFO: TCP Data received {"connection_id":153023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:13:03] local.INFO: Processing buffer {"connection_id":153023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:13:03] local.INFO: IMEI packet received {"connection_id":153023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":153023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:13:04] local.INFO: TCP Data received {"connection_id":153023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:13:04] local.INFO: Processing buffer {"connection_id":153023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:13:04] local.INFO: Packet analysis {"connection_id":153023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:13:04] local.INFO: Extracted packet for processing {"connection_id":153023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309523456001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365627000,"timestamp_ms":1786365627000,"timestamp_seconds":1786365627,"priority":1,"record_length":96,"hex_timestamp":"0000019febb04a78"} 
[2026-08-10 18:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 18:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309523456001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309523456001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:13:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309523456001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":153023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:13:04] local.INFO: GPS data processed {"connection_id":153023,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:13:04] local.INFO: Acknowledgment sent {"connection_id":153023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:13:10] local.INFO: TCP Data received {"connection_id":154458,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:13:10] local.INFO: Processing buffer {"connection_id":154458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:13:10] local.INFO: IMEI packet received {"connection_id":154458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":154458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:13:12] local.INFO: TCP Data received {"connection_id":154458,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:13:12] local.INFO: Processing buffer {"connection_id":154458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:13:12] local.INFO: IMEI packet received {"connection_id":154458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":154458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:13:17] local.INFO: TCP Data received {"connection_id":154458,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:13:17] local.INFO: Processing buffer {"connection_id":154458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:13:17] local.INFO: IMEI packet received {"connection_id":154458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":154458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:13:17] local.INFO: TCP Data received {"connection_id":154457,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb0cb60012d18ca40072136880042009423..."} 
[2026-08-10 18:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb0cb60012d18ca40072136880042009423..."} 
[2026-08-10 18:13:17] local.INFO: Processing buffer {"connection_id":154457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb0cb60012d18ca40072136880042009423..."} 
[2026-08-10 18:13:17] local.INFO: Packet analysis {"connection_id":154457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:13:17] local.INFO: Extracted packet for processing {"connection_id":154457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756599360,"raw_latitude":119617160,"longitude_deg":75.659936,"latitude_deg":11.961716,"altitude":66,"angle":148,"satellites":35,"speed":35,"hex_longitude":"2d18ca40","hex_latitude":"07213688","is_valid_coordinates":true} 
[2026-08-10 18:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309608448001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11531252750352384,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807898089472,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786365660000,"timestamp_ms":1786365660000,"timestamp_seconds":1786365660,"priority":1,"record_length":96,"hex_timestamp":"0000019febb0cb60"} 
[2026-08-10 18:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 18:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309608448001,"66":14298,"121":206,"28":31744,"24":35,"16":11531252750352384,"45":1785395807898089472},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309608448001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:13:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:13:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11531252750352384,"km_value":11531252750352.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807898089472,"description":"Unknown IO ID 45"} 
[2026-08-10 18:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309608448001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1785395807898089472}} 
[2026-08-10 18:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":154457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:13:18] local.INFO: GPS data processed {"connection_id":154457,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:13:18] local.INFO: Acknowledgment sent {"connection_id":154457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:13:18] local.INFO: TCP Data received {"connection_id":154458,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb24260012d7f030005d32fa8000500ff29..."} 
[2026-08-10 18:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb24260012d7f030005d32fa8000500ff29..."} 
[2026-08-10 18:13:18] local.INFO: Processing buffer {"connection_id":154458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb24260012d7f030005d32fa8000500ff29..."} 
[2026-08-10 18:13:18] local.INFO: Packet analysis {"connection_id":154458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb2"} 
[2026-08-10 18:13:18] local.INFO: Extracted packet for processing {"connection_id":154458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb2"} 
[2026-08-10 18:13:18] local.INFO: GPS Element Parsed {"raw_longitude":763298560,"raw_latitude":97726376,"longitude_deg":76.329856,"latitude_deg":9.7726376,"altitude":5,"angle":255,"satellites":41,"speed":11,"hex_longitude":"2d7f0300","hex_latitude":"05d32fa8","is_valid_coordinates":true} 
[2026-08-10 18:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309632000001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117403240273805312,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153707005136982016,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786365756000,"timestamp_ms":1786365756000,"timestamp_seconds":1786365756,"priority":1,"record_length":96,"hex_timestamp":"0000019febb24260"} 
[2026-08-10 18:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18: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-08-10 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 18:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309632000001,"66":12917,"109":206,"85":15104,"24":11,"16":117403240273805312,"45":9153707005136982016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309632000001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:13:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:13:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117403240273805312,"km_value":117403240273805.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153707005136982016,"description":"Unknown IO ID 45"} 
[2026-08-10 18:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309632000001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9153707005136982016}} 
[2026-08-10 18:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":154458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:13:18] local.INFO: GPS data processed {"connection_id":154458,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:13:18] local.INFO: Acknowledgment sent {"connection_id":154458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:13:28] local.INFO: TCP Data received {"connection_id":154458,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb24e18012d7eff8005d32f300004010b29..."} 
[2026-08-10 18:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb24e18012d7eff8005d32f300004010b29..."} 
[2026-08-10 18:13:28] local.INFO: Processing buffer {"connection_id":154458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb24e18012d7eff8005d32f300004010b29..."} 
[2026-08-10 18:13:28] local.INFO: Packet analysis {"connection_id":154458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb2"} 
[2026-08-10 18:13:28] local.INFO: Extracted packet for processing {"connection_id":154458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb2"} 
[2026-08-10 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763297664,"raw_latitude":97726256,"longitude_deg":76.3297664,"latitude_deg":9.7726256,"altitude":4,"angle":267,"satellites":41,"speed":11,"hex_longitude":"2d7eff80","hex_latitude":"05d32f30","is_valid_coordinates":true} 
[2026-08-10 18:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309633536001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117403283223478272,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152158892764932096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786365759000,"timestamp_ms":1786365759000,"timestamp_seconds":1786365759,"priority":1,"record_length":96,"hex_timestamp":"0000019febb24e18"} 
[2026-08-10 18:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 18:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":154458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":154458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":154458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309633536001,"66":12972,"109":206,"85":15104,"24":11,"16":117403283223478272,"45":9152158892764932096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309633536001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:13:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117403283223478272,"km_value":117403283223478.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152158892764932096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309633536001,"power":12972,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9152158892764932096}} 
[2026-08-10 18:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":154458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:13:28] local.INFO: GPS data processed {"connection_id":154458,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:13:28] local.INFO: Acknowledgment sent {"connection_id":154458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:13:35] local.INFO: TCP Data received {"connection_id":153023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:13:35] local.INFO: Processing buffer {"connection_id":153023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:13:35] local.INFO: Packet analysis {"connection_id":153023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:13:35] local.INFO: Extracted packet for processing {"connection_id":153023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309523456001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786365627000,"timestamp_ms":1786365627000,"timestamp_seconds":1786365627,"priority":1,"record_length":96,"hex_timestamp":"0000019febb04a78"} 
[2026-08-10 18:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 18:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309523456001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309523456001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:13:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309523456001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":153023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:13:36] local.INFO: GPS data processed {"connection_id":153023,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:13:36] local.INFO: Acknowledgment sent {"connection_id":153023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:13:40] local.INFO: TCP Data received {"connection_id":152093,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:13:40] local.INFO: Processing buffer {"connection_id":152093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:13:40] local.INFO: IMEI packet received {"connection_id":152093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":152093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:13:41] local.INFO: TCP Data received {"connection_id":152093,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:13:41] local.INFO: Processing buffer {"connection_id":152093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:13:41] local.INFO: IMEI packet received {"connection_id":152093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":152093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:13:42] local.INFO: TCP Data received {"connection_id":152093,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:13:42] local.INFO: Processing buffer {"connection_id":152093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:13:42] local.INFO: IMEI packet received {"connection_id":152093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":152093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:13:42] local.INFO: TCP Data received {"connection_id":152093,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:13:42] local.INFO: Processing buffer {"connection_id":152093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:13:42] local.INFO: IMEI packet received {"connection_id":152093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":152093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:13:58] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:13:58] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:13:58] local.INFO: IMEI packet received {"connection_id":151701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":151701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:14:03] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:14:03] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:14:03] local.INFO: IMEI packet received {"connection_id":151701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":151701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:14:04] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:14:04] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:14:04] local.INFO: Packet analysis {"connection_id":151701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:14:04] local.INFO: Extracted packet for processing {"connection_id":151701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309523456001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365627000,"timestamp_ms":1786365627000,"timestamp_seconds":1786365627,"priority":1,"record_length":96,"hex_timestamp":"0000019febb04a78"} 
[2026-08-10 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-08-10 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 18:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309523456001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309523456001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:14:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309523456001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":151701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:14:04] local.INFO: GPS data processed {"connection_id":151701,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:14:04] local.INFO: Acknowledgment sent {"connection_id":151701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:14:07] local.INFO: TCP Data received {"connection_id":154459,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:14:07] local.INFO: Processing buffer {"connection_id":154459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:14:07] local.INFO: IMEI packet received {"connection_id":154459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":154459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:14:12] local.INFO: TCP Data received {"connection_id":154459,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:14:12] local.INFO: Processing buffer {"connection_id":154459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:14:12] local.INFO: IMEI packet received {"connection_id":154459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":154459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:14:13] local.INFO: TCP Data received {"connection_id":154459,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb28c98012d7ee2c005d32bd8000500ff29..."} 
[2026-08-10 18:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb28c98012d7ee2c005d32bd8000500ff29..."} 
[2026-08-10 18:14:13] local.INFO: Processing buffer {"connection_id":154459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb28c98012d7ee2c005d32bd8000500ff29..."} 
[2026-08-10 18:14:13] local.INFO: Packet analysis {"connection_id":154459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb2"} 
[2026-08-10 18:14:13] local.INFO: Extracted packet for processing {"connection_id":154459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb2"} 
[2026-08-10 18:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763290304,"raw_latitude":97725400,"longitude_deg":76.3290304,"latitude_deg":9.77254,"altitude":5,"angle":255,"satellites":41,"speed":27,"hex_longitude":"2d7ee2c0","hex_latitude":"05d32bd8","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309634304001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117403635410796544,"note":"Value kept but may cause issues"} 
[2026-08-10 18:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151173730346414080,"note":"Value kept but may cause issues"} 
[2026-08-10 18:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786365775000,"timestamp_ms":1786365775000,"timestamp_seconds":1786365775,"priority":1,"record_length":96,"hex_timestamp":"0000019febb28c98"} 
[2026-08-10 18:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18: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-08-10 18: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":172,"data_length":795,"current_offset":136} 
[2026-08-10 18:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309634304001,"66":13254,"109":206,"85":15104,"24":27,"16":117403635410796544,"45":9151173730346414080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309634304001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:14:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117403635410796544,"km_value":117403635410796.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151173730346414080,"description":"Unknown IO ID 45"} 
[2026-08-10 18:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309634304001,"power":13254,"unknown_109":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9151173730346414080}} 
[2026-08-10 18:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":154459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:14:13] local.INFO: GPS data processed {"connection_id":154459,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:14:13] local.INFO: Acknowledgment sent {"connection_id":154459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:14:35] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:14:35] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:14:35] local.INFO: Packet analysis {"connection_id":151701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:14:35] local.INFO: Extracted packet for processing {"connection_id":151701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309523456001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786365627000,"timestamp_ms":1786365627000,"timestamp_seconds":1786365627,"priority":1,"record_length":96,"hex_timestamp":"0000019febb04a78"} 
[2026-08-10 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-08-10 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 18:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309523456001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309523456001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:14:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309523456001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":151701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:14:35] local.INFO: GPS data processed {"connection_id":151701,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:14:35] local.INFO: Acknowledgment sent {"connection_id":151701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:14:44] local.INFO: TCP Data received {"connection_id":154459,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb41b08012d7e5e4005d34f400008014a28..."} 
[2026-08-10 18:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb41b08012d7e5e4005d34f400008014a28..."} 
[2026-08-10 18:14:44] local.INFO: Processing buffer {"connection_id":154459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb41b08012d7e5e4005d34f400008014a28..."} 
[2026-08-10 18:14:44] local.INFO: Packet analysis {"connection_id":154459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:14:44] local.INFO: Extracted packet for processing {"connection_id":154459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:14:44] local.INFO: GPS Element Parsed {"raw_longitude":763256384,"raw_latitude":97734464,"longitude_deg":76.3256384,"latitude_deg":9.7734464,"altitude":8,"angle":330,"satellites":40,"speed":12,"hex_longitude":"2d7e5e40","hex_latitude":"05d34f40","is_valid_coordinates":true} 
[2026-08-10 18:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309664000001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406246750912512,"note":"Value kept but may cause issues"} 
[2026-08-10 18:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105996996586319872,"note":"Value kept but may cause issues"} 
[2026-08-10 18:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786365877000,"timestamp_ms":1786365877000,"timestamp_seconds":1786365877,"priority":1,"record_length":96,"hex_timestamp":"0000019febb41b08"} 
[2026-08-10 18:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-10 18:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309664000001,"66":12917,"109":206,"85":15104,"24":12,"16":117406246750912512,"45":9105996996586319872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309664000001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:14:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:14:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406246750912512,"km_value":117406246750912.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105996996586319872,"description":"Unknown IO ID 45"} 
[2026-08-10 18:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309664000001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9105996996586319872}} 
[2026-08-10 18:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":154459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:14:44] local.INFO: GPS data processed {"connection_id":154459,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:14:44] local.INFO: Acknowledgment sent {"connection_id":154459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:14:59] local.INFO: TCP Data received {"connection_id":154460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:14:59] local.INFO: Processing buffer {"connection_id":154460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:14:59] local.INFO: IMEI packet received {"connection_id":154460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":154460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:15:03] local.INFO: TCP Data received {"connection_id":154460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:15:03] local.INFO: Processing buffer {"connection_id":154460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:15:03] local.INFO: IMEI packet received {"connection_id":154460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":154460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:15:04] local.INFO: TCP Data received {"connection_id":154460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:15:04] local.INFO: Processing buffer {"connection_id":154460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:15:04] local.INFO: Packet analysis {"connection_id":154460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:15:04] local.INFO: Extracted packet for processing {"connection_id":154460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309523456001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365627000,"timestamp_ms":1786365627000,"timestamp_seconds":1786365627,"priority":1,"record_length":96,"hex_timestamp":"0000019febb04a78"} 
[2026-08-10 18:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 18:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309523456001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309523456001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:15:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309523456001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":154460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:15:04] local.INFO: GPS data processed {"connection_id":154460,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:15:04] local.INFO: Acknowledgment sent {"connection_id":154460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:15:06] local.INFO: TCP Data received {"connection_id":152094,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:15:06] local.INFO: Processing buffer {"connection_id":152094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:15:06] local.INFO: IMEI packet received {"connection_id":152094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":152094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:15:12] local.INFO: TCP Data received {"connection_id":152094,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:15:12] local.INFO: Processing buffer {"connection_id":152094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:15:12] local.INFO: IMEI packet received {"connection_id":152094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":152094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:15:13] local.INFO: TCP Data received {"connection_id":152094,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb41ef0012d7e5d4005d350480008013e28..."} 
[2026-08-10 18:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb41ef0012d7e5d4005d350480008013e28..."} 
[2026-08-10 18:15:13] local.INFO: Processing buffer {"connection_id":152094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb41ef0012d7e5d4005d350480008013e28..."} 
[2026-08-10 18:15:13] local.INFO: Packet analysis {"connection_id":152094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:15:13] local.INFO: Extracted packet for processing {"connection_id":152094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763256128,"raw_latitude":97734728,"longitude_deg":76.3256128,"latitude_deg":9.7734728,"altitude":8,"angle":318,"satellites":40,"speed":14,"hex_longitude":"2d7e5d40","hex_latitude":"05d35048","is_valid_coordinates":true} 
[2026-08-10 18:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309664512001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406263930781696,"note":"Value kept but may cause issues"} 
[2026-08-10 18:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105785890353922048,"note":"Value kept but may cause issues"} 
[2026-08-10 18:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786365878000,"timestamp_ms":1786365878000,"timestamp_seconds":1786365878,"priority":1,"record_length":96,"hex_timestamp":"0000019febb41ef0"} 
[2026-08-10 18:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:15: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-08-10 18:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 18:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309664512001,"66":12939,"109":206,"85":15104,"24":14,"16":117406263930781696,"45":9105785890353922048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309664512001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:15:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406263930781696,"km_value":117406263930781.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105785890353922048,"description":"Unknown IO ID 45"} 
[2026-08-10 18:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309664512001,"power":12939,"unknown_109":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9105785890353922048}} 
[2026-08-10 18:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":152094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:15:13] local.INFO: GPS data processed {"connection_id":152094,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:15:13] local.INFO: Acknowledgment sent {"connection_id":152094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:15:36] local.INFO: TCP Data received {"connection_id":154460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:15:36] local.INFO: Processing buffer {"connection_id":154460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:15:36] local.INFO: Packet analysis {"connection_id":154460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:15:36] local.INFO: Extracted packet for processing {"connection_id":154460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309523456001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786365627000,"timestamp_ms":1786365627000,"timestamp_seconds":1786365627,"priority":1,"record_length":96,"hex_timestamp":"0000019febb04a78"} 
[2026-08-10 18:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 18:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309523456001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309523456001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:15:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309523456001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":154460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:15:36] local.INFO: GPS data processed {"connection_id":154460,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:15:36] local.INFO: Acknowledgment sent {"connection_id":154460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:15:44] local.INFO: TCP Data received {"connection_id":152094,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb42aa8012d7e59c005d353900008013126..."} 
[2026-08-10 18:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb42aa8012d7e59c005d353900008013126..."} 
[2026-08-10 18:15:44] local.INFO: Processing buffer {"connection_id":152094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb42aa8012d7e59c005d353900008013126..."} 
[2026-08-10 18:15:44] local.INFO: Packet analysis {"connection_id":152094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:15:44] local.INFO: Extracted packet for processing {"connection_id":152094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:15:44] local.INFO: GPS Element Parsed {"raw_longitude":763255232,"raw_latitude":97735568,"longitude_deg":76.3255232,"latitude_deg":9.7735568,"altitude":8,"angle":305,"satellites":38,"speed":16,"hex_longitude":"2d7e59c0","hex_latitude":"05d35390","is_valid_coordinates":true} 
[2026-08-10 18:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309664768001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406324060323840,"note":"Value kept but may cause issues"} 
[2026-08-10 18:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105504415377278976,"note":"Value kept but may cause issues"} 
[2026-08-10 18:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786365881000,"timestamp_ms":1786365881000,"timestamp_seconds":1786365881,"priority":1,"record_length":96,"hex_timestamp":"0000019febb42aa8"} 
[2026-08-10 18:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 18:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309664768001,"66":12841,"109":206,"85":15104,"24":16,"16":117406324060323840,"45":9105504415377278976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309664768001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:15:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:15:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406324060323840,"km_value":117406324060323.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105504415377278976,"description":"Unknown IO ID 45"} 
[2026-08-10 18:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309664768001,"power":12841,"unknown_109":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9105504415377278976}} 
[2026-08-10 18:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":152094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:15:44] local.INFO: GPS data processed {"connection_id":152094,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:15:44] local.INFO: Acknowledgment sent {"connection_id":152094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:15:58] local.INFO: TCP Data received {"connection_id":151702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:15:58] local.INFO: Processing buffer {"connection_id":151702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:15:58] local.INFO: IMEI packet received {"connection_id":151702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":151702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:16:03] local.INFO: TCP Data received {"connection_id":151702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:16:03] local.INFO: Processing buffer {"connection_id":151702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:16:03] local.INFO: IMEI packet received {"connection_id":151702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":151702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:16:04] local.INFO: TCP Data received {"connection_id":151702,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:16:04] local.INFO: Processing buffer {"connection_id":151702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb04a78012d342a4006abc2800017010226..."} 
[2026-08-10 18:16:04] local.INFO: Packet analysis {"connection_id":151702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:16:04] local.INFO: Extracted packet for processing {"connection_id":151702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb0"} 
[2026-08-10 18:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309523456001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365627000,"timestamp_ms":1786365627000,"timestamp_seconds":1786365627,"priority":1,"record_length":96,"hex_timestamp":"0000019febb04a78"} 
[2026-08-10 18:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 18:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309523456001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309523456001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:16:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309523456001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":151702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:16:04] local.INFO: GPS data processed {"connection_id":151702,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:16:04] local.INFO: Acknowledgment sent {"connection_id":151702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:16:06] local.INFO: TCP Data received {"connection_id":151703,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:16:06] local.INFO: Processing buffer {"connection_id":151703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:16:06] local.INFO: IMEI packet received {"connection_id":151703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":151703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:16:12] local.INFO: TCP Data received {"connection_id":151703,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:16:12] local.INFO: Processing buffer {"connection_id":151703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:16:12] local.INFO: IMEI packet received {"connection_id":151703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":151703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:16:13] local.INFO: TCP Data received {"connection_id":151703,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb42e90012d7e584005d354280008011f26..."} 
[2026-08-10 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb42e90012d7e584005d354280008011f26..."} 
[2026-08-10 18:16:13] local.INFO: Processing buffer {"connection_id":151703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb42e90012d7e584005d354280008011f26..."} 
[2026-08-10 18:16:13] local.INFO: Packet analysis {"connection_id":151703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:16:13] local.INFO: Extracted packet for processing {"connection_id":151703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763254848,"raw_latitude":97735720,"longitude_deg":76.3254848,"latitude_deg":9.773572,"altitude":8,"angle":287,"satellites":38,"speed":15,"hex_longitude":"2d7e5840","hex_latitude":"05d35428","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309665536001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406341240193024,"note":"Value kept but may cause issues"} 
[2026-08-10 18:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104519252959006720,"note":"Value kept but may cause issues"} 
[2026-08-10 18:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786365882000,"timestamp_ms":1786365882000,"timestamp_seconds":1786365882,"priority":1,"record_length":96,"hex_timestamp":"0000019febb42e90"} 
[2026-08-10 18:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:16: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-08-10 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 18:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309665536001,"66":12982,"109":206,"85":15104,"24":15,"16":117406341240193024,"45":9104519252959006720},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309665536001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:16:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406341240193024,"km_value":117406341240193.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104519252959006720,"description":"Unknown IO ID 45"} 
[2026-08-10 18:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309665536001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9104519252959006720}} 
[2026-08-10 18:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":151703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:16:13] local.INFO: GPS data processed {"connection_id":151703,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:16:13] local.INFO: Acknowledgment sent {"connection_id":151703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:16:35] local.INFO: TCP Data received {"connection_id":151702,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:16:35] local.INFO: Processing buffer {"connection_id":151702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:16:35] local.INFO: Packet analysis {"connection_id":151702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:16:35] local.INFO: Extracted packet for processing {"connection_id":151702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309600512001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786365928000,"timestamp_ms":1786365928000,"timestamp_seconds":1786365928,"priority":1,"record_length":96,"hex_timestamp":"0000019febb4e240"} 
[2026-08-10 18:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309600512001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309600512001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:16:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309600512001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":151702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:16:35] local.INFO: GPS data processed {"connection_id":151702,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:16:35] local.INFO: Acknowledgment sent {"connection_id":151702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:16:43] local.INFO: TCP Data received {"connection_id":151703,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb449e8012d7e4cc005d356f00007011127..."} 
[2026-08-10 18:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb449e8012d7e4cc005d356f00007011127..."} 
[2026-08-10 18:16:43] local.INFO: Processing buffer {"connection_id":151703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb449e8012d7e4cc005d356f00007011127..."} 
[2026-08-10 18:16:43] local.INFO: Packet analysis {"connection_id":151703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:16:43] local.INFO: Extracted packet for processing {"connection_id":151703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:16:43] local.INFO: GPS Element Parsed {"raw_longitude":763251904,"raw_latitude":97736432,"longitude_deg":76.3251904,"latitude_deg":9.7736432,"altitude":7,"angle":273,"satellites":39,"speed":17,"hex_longitude":"2d7e4cc0","hex_latitude":"05d356f0","is_valid_coordinates":true} 
[2026-08-10 18:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309665792001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406491564048384,"note":"Value kept but may cause issues"} 
[2026-08-10 18:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104097040493979648,"note":"Value kept but may cause issues"} 
[2026-08-10 18:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786365889000,"timestamp_ms":1786365889000,"timestamp_seconds":1786365889,"priority":1,"record_length":96,"hex_timestamp":"0000019febb449e8"} 
[2026-08-10 18:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-10 18:16: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-08-10 18:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309665792001,"66":13254,"109":206,"85":15104,"24":17,"16":117406491564048384,"45":9104097040493979648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309665792001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:16:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:16:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406491564048384,"km_value":117406491564048.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104097040493979648,"description":"Unknown IO ID 45"} 
[2026-08-10 18:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309665792001,"power":13254,"unknown_109":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9104097040493979648}} 
[2026-08-10 18:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":151703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:16:43] local.INFO: GPS data processed {"connection_id":151703,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:16:43] local.INFO: Acknowledgment sent {"connection_id":151703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:17:01] local.INFO: TCP Data received {"connection_id":152095,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:17:01] local.INFO: Processing buffer {"connection_id":152095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:17:01] local.INFO: IMEI packet received {"connection_id":152095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":152095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:17:06] local.INFO: TCP Data received {"connection_id":152095,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:17:06] local.INFO: Processing buffer {"connection_id":152095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:17:06] local.INFO: IMEI packet received {"connection_id":152095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":152095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:17:07] local.INFO: TCP Data received {"connection_id":152095,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:17:07] local.INFO: Processing buffer {"connection_id":152095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:17:07] local.INFO: Packet analysis {"connection_id":152095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:17:07] local.INFO: Extracted packet for processing {"connection_id":152095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309600512001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786365928000,"timestamp_ms":1786365928000,"timestamp_seconds":1786365928,"priority":1,"record_length":96,"hex_timestamp":"0000019febb4e240"} 
[2026-08-10 18:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309600512001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309600512001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:17:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309600512001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":152095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:17:07] local.INFO: GPS data processed {"connection_id":152095,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:17:07] local.INFO: Acknowledgment sent {"connection_id":152095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:17:09] local.INFO: TCP Data received {"connection_id":152095,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:17:09] local.INFO: Processing buffer {"connection_id":152095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:17:09] local.INFO: Packet analysis {"connection_id":152095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:17:09] local.INFO: Extracted packet for processing {"connection_id":152095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309600512001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786365928000,"timestamp_ms":1786365928000,"timestamp_seconds":1786365928,"priority":1,"record_length":96,"hex_timestamp":"0000019febb4e240"} 
[2026-08-10 18:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309600512001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309600512001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:17:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309600512001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":152095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:17:09] local.INFO: GPS data processed {"connection_id":152095,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:17:09] local.INFO: Acknowledgment sent {"connection_id":152095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:17:12] local.INFO: TCP Data received {"connection_id":152096,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:17:12] local.INFO: Processing buffer {"connection_id":152096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:17:12] local.INFO: IMEI packet received {"connection_id":152096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":152096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:17:17] local.INFO: TCP Data received {"connection_id":152096,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:17:17] local.INFO: Processing buffer {"connection_id":152096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:17:17] local.INFO: IMEI packet received {"connection_id":152096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":152096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:17:18] local.INFO: TCP Data received {"connection_id":152096,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb455a0012d7e484005d356a00007010227..."} 
[2026-08-10 18:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb455a0012d7e484005d356a00007010227..."} 
[2026-08-10 18:17:18] local.INFO: Processing buffer {"connection_id":152096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb455a0012d7e484005d356a00007010227..."} 
[2026-08-10 18:17:18] local.INFO: Packet analysis {"connection_id":152096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:17:18] local.INFO: Extracted packet for processing {"connection_id":152096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:17:18] local.INFO: GPS Element Parsed {"raw_longitude":763250752,"raw_latitude":97736352,"longitude_deg":76.3250752,"latitude_deg":9.7736352,"altitude":7,"angle":258,"satellites":39,"speed":14,"hex_longitude":"2d7e4840","hex_latitude":"05d356a0","is_valid_coordinates":true} 
[2026-08-10 18:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309667584001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406543103655936,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100860078261989376,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786365892000,"timestamp_ms":1786365892000,"timestamp_seconds":1786365892,"priority":1,"record_length":96,"hex_timestamp":"0000019febb455a0"} 
[2026-08-10 18:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 18:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309667584001,"66":12939,"109":206,"85":15104,"24":14,"16":117406543103655936,"45":9100860078261989376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309667584001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:17:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406543103655936,"km_value":117406543103655.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100860078261989376,"description":"Unknown IO ID 45"} 
[2026-08-10 18:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309667584001,"power":12939,"unknown_109":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9100860078261989376}} 
[2026-08-10 18:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":152096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:17:18] local.INFO: GPS data processed {"connection_id":152096,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:17:18] local.INFO: Acknowledgment sent {"connection_id":152096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:17:25] local.INFO: TCP Data received {"connection_id":152096,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb46158012d7e440005d356280006010f26..."} 
[2026-08-10 18:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb46158012d7e440005d356280006010f26..."} 
[2026-08-10 18:17:25] local.INFO: Processing buffer {"connection_id":152096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb46158012d7e440005d356280006010f26..."} 
[2026-08-10 18:17:25] local.INFO: Packet analysis {"connection_id":152096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:17:25] local.INFO: Extracted packet for processing {"connection_id":152096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763249664,"raw_latitude":97736232,"longitude_deg":76.3249664,"latitude_deg":9.7736232,"altitude":6,"angle":271,"satellites":38,"speed":12,"hex_longitude":"2d7e4400","hex_latitude":"05d35628","is_valid_coordinates":true} 
[2026-08-10 18:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309668352001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406594643263488,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099593440866770944,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786365895000,"timestamp_ms":1786365895000,"timestamp_seconds":1786365895,"priority":1,"record_length":96,"hex_timestamp":"0000019febb46158"} 
[2026-08-10 18:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 18:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309668352001,"66":12917,"109":206,"85":15104,"24":12,"16":117406594643263488,"45":9099593440866770944},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309668352001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:17:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406594643263488,"km_value":117406594643263.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099593440866770944,"description":"Unknown IO ID 45"} 
[2026-08-10 18:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309668352001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9099593440866770944}} 
[2026-08-10 18:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":152096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:17:25] local.INFO: GPS data processed {"connection_id":152096,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:17:25] local.INFO: Acknowledgment sent {"connection_id":152096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:17:40] local.INFO: TCP Data received {"connection_id":152095,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:17:40] local.INFO: Processing buffer {"connection_id":152095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:17:40] local.INFO: Packet analysis {"connection_id":152095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:17:40] local.INFO: Extracted packet for processing {"connection_id":152095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309600512001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786365928000,"timestamp_ms":1786365928000,"timestamp_seconds":1786365928,"priority":1,"record_length":96,"hex_timestamp":"0000019febb4e240"} 
[2026-08-10 18:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309600512001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309600512001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:17:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:17:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309600512001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":152095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:17:40] local.INFO: GPS data processed {"connection_id":152095,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:17:40] local.INFO: Acknowledgment sent {"connection_id":152095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:17:59] local.INFO: TCP Data received {"connection_id":154462,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:17:59] local.INFO: Processing buffer {"connection_id":154462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:17:59] local.INFO: IMEI packet received {"connection_id":154462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":154462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:18:03] local.INFO: TCP Data received {"connection_id":154462,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:18:03] local.INFO: Processing buffer {"connection_id":154462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:18:03] local.INFO: IMEI packet received {"connection_id":154462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":154462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:18:04] local.INFO: TCP Data received {"connection_id":154462,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:18:04] local.INFO: Processing buffer {"connection_id":154462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:18:04] local.INFO: Packet analysis {"connection_id":154462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:18:04] local.INFO: Extracted packet for processing {"connection_id":154462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309600512001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365928000,"timestamp_ms":1786365928000,"timestamp_seconds":1786365928,"priority":1,"record_length":96,"hex_timestamp":"0000019febb4e240"} 
[2026-08-10 18:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309600512001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309600512001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:18:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309600512001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":154462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:18:04] local.INFO: GPS data processed {"connection_id":154462,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:18:04] local.INFO: Acknowledgment sent {"connection_id":154462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:18:05] local.INFO: TCP Data received {"connection_id":152097,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:18:05] local.INFO: Processing buffer {"connection_id":152097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:18:05] local.INFO: IMEI packet received {"connection_id":152097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":152097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:18:15] local.INFO: TCP Data received {"connection_id":152097,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 18:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152097,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 18:18:15] local.INFO: Processing buffer {"connection_id":152097,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-10 18:18:15] local.INFO: IMEI packet received {"connection_id":152097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":152097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:18:16] local.INFO: TCP Data received {"connection_id":152097,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb4af78012d7e3c4005d357100006011329..."} 
[2026-08-10 18:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb4af78012d7e3c4005d357100006011329..."} 
[2026-08-10 18:18:16] local.INFO: Processing buffer {"connection_id":152097,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019feb..."} 
[2026-08-10 18:18:16] local.INFO: IMEI packet received {"connection_id":152097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":152097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:18:17] local.INFO: TCP Data received {"connection_id":152097,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb50180012d7e3c4005d357100006011328..."} 
[2026-08-10 18:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb50180012d7e3c4005d357100006011328..."} 
[2026-08-10 18:18:17] local.INFO: Processing buffer {"connection_id":152097,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019febb4af78012d7e3c4005d357100006011329..."} 
[2026-08-10 18:18:17] local.INFO: Packet analysis {"connection_id":152097,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:18:17] local.INFO: Extracted packet for processing {"connection_id":152097,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:18:17] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309669120001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098397172215719936,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786365915000,"timestamp_ms":1786365915000,"timestamp_seconds":1786365915,"priority":1,"record_length":96,"hex_timestamp":"0000019febb4af78"} 
[2026-08-10 18:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 18:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309669120001,"66":13091,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9098397172215719936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309669120001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:18:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:18:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098397172215719936,"description":"Unknown IO ID 45"} 
[2026-08-10 18:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309669120001,"power":13091,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098397172215719936}} 
[2026-08-10 18:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":152097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:18:17] local.INFO: GPS data processed {"connection_id":152097,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:18:17] local.INFO: Acknowledgment sent {"connection_id":152097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:18:17] local.INFO: Packet analysis {"connection_id":152097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb5"} 
[2026-08-10 18:18:17] local.INFO: Extracted packet for processing {"connection_id":152097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb5"} 
[2026-08-10 18:18:17] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309674240001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786365936000,"timestamp_ms":1786365936000,"timestamp_seconds":1786365936,"priority":1,"record_length":96,"hex_timestamp":"0000019febb50180"} 
[2026-08-10 18:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-10 18:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309674240001,"66":13037,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309674240001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:18:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:18:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309674240001,"power":13037,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":152097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:18:17] local.INFO: GPS data processed {"connection_id":152097,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:18:17] local.INFO: Acknowledgment sent {"connection_id":152097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:18:22] local.INFO: TCP Data received {"connection_id":152097,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb55388012d7e3c4005d35710000601132b..."} 
[2026-08-10 18:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb55388012d7e3c4005d35710000601132b..."} 
[2026-08-10 18:18:22] local.INFO: Processing buffer {"connection_id":152097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb55388012d7e3c4005d35710000601132b..."} 
[2026-08-10 18:18:22] local.INFO: Packet analysis {"connection_id":152097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb5"} 
[2026-08-10 18:18:22] local.INFO: Extracted packet for processing {"connection_id":152097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb5"} 
[2026-08-10 18:18:22] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309679616001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786365957000,"timestamp_ms":1786365957000,"timestamp_seconds":1786365957,"priority":1,"record_length":96,"hex_timestamp":"0000019febb55388"} 
[2026-08-10 18:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:18: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-08-10 18:18: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":237,"data_length":795,"current_offset":136} 
[2026-08-10 18:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309679616001,"66":12917,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309679616001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:18:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:18:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309679616001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":152097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:18:22] local.INFO: GPS data processed {"connection_id":152097,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:18:22] local.INFO: Acknowledgment sent {"connection_id":152097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:18:36] local.INFO: TCP Data received {"connection_id":154462,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:18:36] local.INFO: Processing buffer {"connection_id":154462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:18:36] local.INFO: Packet analysis {"connection_id":154462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:18:36] local.INFO: Extracted packet for processing {"connection_id":154462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309600512001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786365928000,"timestamp_ms":1786365928000,"timestamp_seconds":1786365928,"priority":1,"record_length":96,"hex_timestamp":"0000019febb4e240"} 
[2026-08-10 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-08-10 18:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309600512001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309600512001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:18:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309600512001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":154462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:18:36] local.INFO: GPS data processed {"connection_id":154462,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:18:36] local.INFO: Acknowledgment sent {"connection_id":154462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:18:47] local.INFO: TCP Data received {"connection_id":153026,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:18:47] local.INFO: Processing buffer {"connection_id":153026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:18:47] local.INFO: IMEI packet received {"connection_id":153026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":153026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:18:48] local.INFO: TCP Data received {"connection_id":153026,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb43a48012d18f0c007211c880043000f26..."} 
[2026-08-10 18:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb43a48012d18f0c007211c880043000f26..."} 
[2026-08-10 18:18:48] local.INFO: Processing buffer {"connection_id":153026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb43a48012d18f0c007211c880043000f26..."} 
[2026-08-10 18:18:48] local.INFO: Packet analysis {"connection_id":153026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:18:48] local.INFO: Extracted packet for processing {"connection_id":153026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:18:48] local.INFO: GPS Element Parsed {"raw_longitude":756609216,"raw_latitude":119610504,"longitude_deg":75.6609216,"latitude_deg":11.9610504,"altitude":67,"angle":15,"satellites":38,"speed":8,"hex_longitude":"2d18f0c0","hex_latitude":"07211c88","is_valid_coordinates":true} 
[2026-08-10 18:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309666048001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532558420410368,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796865913196834816,"note":"Value kept but may cause issues"} 
[2026-08-10 18:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786365885000,"timestamp_ms":1786365885000,"timestamp_seconds":1786365885,"priority":1,"record_length":96,"hex_timestamp":"0000019febb43a48"} 
[2026-08-10 18:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:18: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":230,"data_length":795,"current_offset":136} 
[2026-08-10 18:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309666048001,"66":14461,"121":206,"28":31744,"24":8,"16":11532558420410368,"45":1796865913196834816},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309666048001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:18:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:18:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532558420410368,"km_value":11532558420410.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796865913196834816,"description":"Unknown IO ID 45"} 
[2026-08-10 18:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309666048001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1796865913196834816}} 
[2026-08-10 18:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":153026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:18:48] local.INFO: GPS data processed {"connection_id":153026,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:18:48] local.INFO: Acknowledgment sent {"connection_id":153026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:18:59] local.INFO: TCP Data received {"connection_id":151705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:18:59] local.INFO: Processing buffer {"connection_id":151705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:18:59] local.INFO: IMEI packet received {"connection_id":151705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":151705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:19:03] local.INFO: TCP Data received {"connection_id":151705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:19:03] local.INFO: Processing buffer {"connection_id":151705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:19:03] local.INFO: IMEI packet received {"connection_id":151705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":151705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:19:05] local.INFO: TCP Data received {"connection_id":151705,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:19:05] local.INFO: Processing buffer {"connection_id":151705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:19:05] local.INFO: Packet analysis {"connection_id":151705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:19:05] local.INFO: Extracted packet for processing {"connection_id":151705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309600512001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786365928000,"timestamp_ms":1786365928000,"timestamp_seconds":1786365928,"priority":1,"record_length":96,"hex_timestamp":"0000019febb4e240"} 
[2026-08-10 18:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309600512001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309600512001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:19:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309600512001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":151705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:19:05] local.INFO: GPS data processed {"connection_id":151705,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:19:05] local.INFO: Acknowledgment sent {"connection_id":151705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:19:07] local.INFO: TCP Data received {"connection_id":154463,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:19:07] local.INFO: Processing buffer {"connection_id":154463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:19:07] local.INFO: IMEI packet received {"connection_id":154463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":154463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:19:08] local.INFO: TCP Data received {"connection_id":154463,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:19:08] local.INFO: Processing buffer {"connection_id":154463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:19:08] local.INFO: IMEI packet received {"connection_id":154463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":154463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:19:12] local.INFO: TCP Data received {"connection_id":154463,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:19:12] local.INFO: Processing buffer {"connection_id":154463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:19:12] local.INFO: IMEI packet received {"connection_id":154463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":154463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:19:13] local.INFO: TCP Data received {"connection_id":154463,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb5a590012d7e3c4005d35710000601132a..."} 
[2026-08-10 18:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb5a590012d7e3c4005d35710000601132a..."} 
[2026-08-10 18:19:13] local.INFO: Processing buffer {"connection_id":154463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb5a590012d7e3c4005d35710000601132a..."} 
[2026-08-10 18:19:13] local.INFO: Packet analysis {"connection_id":154463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb5"} 
[2026-08-10 18:19:13] local.INFO: Extracted packet for processing {"connection_id":154463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb5"} 
[2026-08-10 18:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309684992001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786365978000,"timestamp_ms":1786365978000,"timestamp_seconds":1786365978,"priority":1,"record_length":96,"hex_timestamp":"0000019febb5a590"} 
[2026-08-10 18:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:19: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-08-10 18:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 18:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309684992001,"66":13243,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309684992001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:19:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309684992001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":154463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:19:13] local.INFO: GPS data processed {"connection_id":154463,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:19:13] local.INFO: Acknowledgment sent {"connection_id":154463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:19:20] local.INFO: TCP Data received {"connection_id":153026,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb73018012d18f40007212dc00042002723..."} 
[2026-08-10 18:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb73018012d18f40007212dc00042002723..."} 
[2026-08-10 18:19:20] local.INFO: Processing buffer {"connection_id":153026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb73018012d18f40007212dc00042002723..."} 
[2026-08-10 18:19:20] local.INFO: Packet analysis {"connection_id":153026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb7"} 
[2026-08-10 18:19:20] local.INFO: Extracted packet for processing {"connection_id":153026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb7"} 
[2026-08-10 18:19:20] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119614912,"longitude_deg":75.6610048,"latitude_deg":11.9614912,"altitude":66,"angle":39,"satellites":35,"speed":0,"hex_longitude":"2d18f400","hex_latitude":"07212dc0","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309710848001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532867658055680,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181849088000,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786366079000,"timestamp_ms":1786366079000,"timestamp_seconds":1786366079,"priority":1,"record_length":96,"hex_timestamp":"0000019febb73018"} 
[2026-08-10 18:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 18:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309710848001,"66":12667,"121":206,"28":31744,"24":0,"16":11532867658055680,"45":1798062181849088000},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309710848001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:19:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:19:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532867658055680,"km_value":11532867658055.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181849088000,"description":"Unknown IO ID 45"} 
[2026-08-10 18:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309710848001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798062181849088000}} 
[2026-08-10 18:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":153026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:19:20] local.INFO: GPS data processed {"connection_id":153026,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:19:20] local.INFO: Acknowledgment sent {"connection_id":153026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:19:36] local.INFO: TCP Data received {"connection_id":151705,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:19:36] local.INFO: Processing buffer {"connection_id":151705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:19:36] local.INFO: Packet analysis {"connection_id":151705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:19:36] local.INFO: Extracted packet for processing {"connection_id":151705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309600512001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786365928000,"timestamp_ms":1786365928000,"timestamp_seconds":1786365928,"priority":1,"record_length":96,"hex_timestamp":"0000019febb4e240"} 
[2026-08-10 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-08-10 18:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 18:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309600512001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309600512001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:19:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309600512001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":151705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:19:36] local.INFO: GPS data processed {"connection_id":151705,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:19:36] local.INFO: Acknowledgment sent {"connection_id":151705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:19:42] local.INFO: TCP Data received {"connection_id":153027,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:19:42] local.INFO: Processing buffer {"connection_id":153027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:19:42] local.INFO: IMEI packet received {"connection_id":153027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":153027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:19:45] local.INFO: TCP Data received {"connection_id":154463,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb5f798012d7e3c4005d35710000601132a..."} 
[2026-08-10 18:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb5f798012d7e3c4005d35710000601132a..."} 
[2026-08-10 18:19:45] local.INFO: Processing buffer {"connection_id":154463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb5f798012d7e3c4005d35710000601132a..."} 
[2026-08-10 18:19:45] local.INFO: Packet analysis {"connection_id":154463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb5"} 
[2026-08-10 18:19:45] local.INFO: Extracted packet for processing {"connection_id":154463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb5"} 
[2026-08-10 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309690368001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786365999000,"timestamp_ms":1786365999000,"timestamp_seconds":1786365999,"priority":1,"record_length":96,"hex_timestamp":"0000019febb5f798"} 
[2026-08-10 18:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 18:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309690368001,"66":13102,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309690368001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:19:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:19:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309690368001,"power":13102,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":154463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:19:45] local.INFO: GPS data processed {"connection_id":154463,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:19:45] local.INFO: Acknowledgment sent {"connection_id":154463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:19:47] local.INFO: TCP Data received {"connection_id":153027,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:19:47] local.INFO: Processing buffer {"connection_id":153027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:19:47] local.INFO: IMEI packet received {"connection_id":153027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":153027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:19:48] local.INFO: TCP Data received {"connection_id":153027,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb78220012d18f40007212dc00042002722..."} 
[2026-08-10 18:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb78220012d18f40007212dc00042002722..."} 
[2026-08-10 18:19:48] local.INFO: Processing buffer {"connection_id":153027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb78220012d18f40007212dc00042002722..."} 
[2026-08-10 18:19:48] local.INFO: Packet analysis {"connection_id":153027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb7"} 
[2026-08-10 18:19:48] local.INFO: Extracted packet for processing {"connection_id":153027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb7"} 
[2026-08-10 18:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119614912,"longitude_deg":75.6610048,"latitude_deg":11.9614912,"altitude":66,"angle":39,"satellites":34,"speed":0,"hex_longitude":"2d18f400","hex_latitude":"07212dc0","is_valid_coordinates":true} 
[2026-08-10 18:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309716224001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532867658055680,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181849088000,"note":"Value kept but may cause issues"} 
[2026-08-10 18:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786366100000,"timestamp_ms":1786366100000,"timestamp_seconds":1786366100,"priority":1,"record_length":96,"hex_timestamp":"0000019febb78220"} 
[2026-08-10 18:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 18:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309716224001,"66":12689,"121":206,"28":31744,"24":0,"16":11532867658055680,"45":1798062181849088000},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309716224001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:19:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:19:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532867658055680,"km_value":11532867658055.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181849088000,"description":"Unknown IO ID 45"} 
[2026-08-10 18:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309716224001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798062181849088000}} 
[2026-08-10 18:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":153027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:19:49] local.INFO: GPS data processed {"connection_id":153027,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:19:49] local.INFO: Acknowledgment sent {"connection_id":153027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:19:58] local.INFO: TCP Data received {"connection_id":151706,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:19:58] local.INFO: Processing buffer {"connection_id":151706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:19:58] local.INFO: IMEI packet received {"connection_id":151706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":151706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:20:03] local.INFO: TCP Data received {"connection_id":151706,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:20:03] local.INFO: Processing buffer {"connection_id":151706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:20:03] local.INFO: IMEI packet received {"connection_id":151706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":151706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:20:04] local.INFO: TCP Data received {"connection_id":151706,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:20:04] local.INFO: Processing buffer {"connection_id":151706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:20:04] local.INFO: Packet analysis {"connection_id":151706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:20:04] local.INFO: Extracted packet for processing {"connection_id":151706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309600512001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786365928000,"timestamp_ms":1786365928000,"timestamp_seconds":1786365928,"priority":1,"record_length":96,"hex_timestamp":"0000019febb4e240"} 
[2026-08-10 18:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309600512001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309600512001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:20:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309600512001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":151706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:20:05] local.INFO: GPS data processed {"connection_id":151706,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:20:05] local.INFO: Acknowledgment sent {"connection_id":151706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:20:07] local.INFO: TCP Data received {"connection_id":151707,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:20:07] local.INFO: Processing buffer {"connection_id":151707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:20:07] local.INFO: IMEI packet received {"connection_id":151707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":151707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:20:11] local.INFO: TCP Data received {"connection_id":151707,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:20:11] local.INFO: Processing buffer {"connection_id":151707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:20:11] local.INFO: IMEI packet received {"connection_id":151707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":151707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:20:12] local.INFO: TCP Data received {"connection_id":151707,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb649a0012d7e3c4005d35710000601132a..."} 
[2026-08-10 18:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb649a0012d7e3c4005d35710000601132a..."} 
[2026-08-10 18:20:12] local.INFO: Processing buffer {"connection_id":151707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb649a0012d7e3c4005d35710000601132a..."} 
[2026-08-10 18:20:12] local.INFO: Packet analysis {"connection_id":151707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb6"} 
[2026-08-10 18:20:12] local.INFO: Extracted packet for processing {"connection_id":151707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb6"} 
[2026-08-10 18:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309695744001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786366020000,"timestamp_ms":1786366020000,"timestamp_seconds":1786366020,"priority":1,"record_length":96,"hex_timestamp":"0000019febb649a0"} 
[2026-08-10 18:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-10 18:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309695744001,"66":12711,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309695744001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:20:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309695744001,"power":12711,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":151707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:20:12] local.INFO: GPS data processed {"connection_id":151707,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:20:12] local.INFO: Acknowledgment sent {"connection_id":151707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:20:20] local.INFO: TCP Data received {"connection_id":153027,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb7d810012d18f40007212dc00042002723..."} 
[2026-08-10 18:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb7d810012d18f40007212dc00042002723..."} 
[2026-08-10 18:20:20] local.INFO: Processing buffer {"connection_id":153027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb7d810012d18f40007212dc00042002723..."} 
[2026-08-10 18:20:20] local.INFO: Packet analysis {"connection_id":153027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb7"} 
[2026-08-10 18:20:20] local.INFO: Extracted packet for processing {"connection_id":153027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb7"} 
[2026-08-10 18:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119614912,"longitude_deg":75.6610048,"latitude_deg":11.9614912,"altitude":66,"angle":39,"satellites":35,"speed":0,"hex_longitude":"2d18f400","hex_latitude":"07212dc0","is_valid_coordinates":true} 
[2026-08-10 18:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309721600001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532867658055680,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181849088000,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786366122000,"timestamp_ms":1786366122000,"timestamp_seconds":1786366122,"priority":1,"record_length":96,"hex_timestamp":"0000019febb7d810"} 
[2026-08-10 18:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 18:20: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-08-10 18:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309721600001,"66":12689,"121":206,"28":31744,"24":0,"16":11532867658055680,"45":1798062181849088000},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309721600001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:20:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:20:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532867658055680,"km_value":11532867658055.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181849088000,"description":"Unknown IO ID 45"} 
[2026-08-10 18:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309721600001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798062181849088000}} 
[2026-08-10 18:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":153027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:20:20] local.INFO: GPS data processed {"connection_id":153027,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:20:20] local.INFO: Acknowledgment sent {"connection_id":153027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:20:36] local.INFO: TCP Data received {"connection_id":151706,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:20:36] local.INFO: Processing buffer {"connection_id":151706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb4e240012d342a4006abc2800017010225..."} 
[2026-08-10 18:20:36] local.INFO: Packet analysis {"connection_id":151706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:20:36] local.INFO: Extracted packet for processing {"connection_id":151706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb4"} 
[2026-08-10 18:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309600512001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786365928000,"timestamp_ms":1786365928000,"timestamp_seconds":1786365928,"priority":1,"record_length":96,"hex_timestamp":"0000019febb4e240"} 
[2026-08-10 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-08-10 18:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309600512001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309600512001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:20:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309600512001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":151706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:20:36] local.INFO: GPS data processed {"connection_id":151706,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:20:36] local.INFO: Acknowledgment sent {"connection_id":151706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:20:41] local.INFO: TCP Data received {"connection_id":154464,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:20:41] local.INFO: Processing buffer {"connection_id":154464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:20:41] local.INFO: IMEI packet received {"connection_id":154464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":154464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:20:43] local.INFO: TCP Data received {"connection_id":151707,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb69ba8012d7e3c4005d35710000601132c..."} 
[2026-08-10 18:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb69ba8012d7e3c4005d35710000601132c..."} 
[2026-08-10 18:20:43] local.INFO: Processing buffer {"connection_id":151707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb69ba8012d7e3c4005d35710000601132c..."} 
[2026-08-10 18:20:43] local.INFO: Packet analysis {"connection_id":151707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb6"} 
[2026-08-10 18:20:43] local.INFO: Extracted packet for processing {"connection_id":151707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb6"} 
[2026-08-10 18:20:43] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309701120001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786366041000,"timestamp_ms":1786366041000,"timestamp_seconds":1786366041,"priority":1,"record_length":96,"hex_timestamp":"0000019febb69ba8"} 
[2026-08-10 18:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 18:20: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-08-10 18:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309701120001,"66":12982,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309701120001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:20:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309701120001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":151707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:20:43] local.INFO: GPS data processed {"connection_id":151707,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:20:43] local.INFO: Acknowledgment sent {"connection_id":151707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:20:46] local.INFO: TCP Data received {"connection_id":154464,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:20:46] local.INFO: Processing buffer {"connection_id":154464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:20:46] local.INFO: IMEI packet received {"connection_id":154464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":154464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:20:48] local.INFO: TCP Data received {"connection_id":154464,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb82a18012d18f40007212dc00042002723..."} 
[2026-08-10 18:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb82a18012d18f40007212dc00042002723..."} 
[2026-08-10 18:20:48] local.INFO: Processing buffer {"connection_id":154464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb82a18012d18f40007212dc00042002723..."} 
[2026-08-10 18:20:48] local.INFO: Packet analysis {"connection_id":154464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb8"} 
[2026-08-10 18:20:48] local.INFO: Extracted packet for processing {"connection_id":154464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb8"} 
[2026-08-10 18:20:48] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119614912,"longitude_deg":75.6610048,"latitude_deg":11.9614912,"altitude":66,"angle":39,"satellites":35,"speed":0,"hex_longitude":"2d18f400","hex_latitude":"07212dc0","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309727232001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532867658055680,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181849088000,"note":"Value kept but may cause issues"} 
[2026-08-10 18:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786366143000,"timestamp_ms":1786366143000,"timestamp_seconds":1786366143,"priority":1,"record_length":96,"hex_timestamp":"0000019febb82a18"} 
[2026-08-10 18:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 18:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309727232001,"66":12645,"121":206,"28":31744,"24":0,"16":11532867658055680,"45":1798062181849088000},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309727232001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:20:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:20:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532867658055680,"km_value":11532867658055.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181849088000,"description":"Unknown IO ID 45"} 
[2026-08-10 18:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309727232001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798062181849088000}} 
[2026-08-10 18:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":154464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:20:48] local.INFO: GPS data processed {"connection_id":154464,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:20:48] local.INFO: Acknowledgment sent {"connection_id":154464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:21:03] local.INFO: TCP Data received {"connection_id":153028,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:21:03] local.INFO: Processing buffer {"connection_id":153028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:21:03] local.INFO: IMEI packet received {"connection_id":153028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":153028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:21:07] local.INFO: TCP Data received {"connection_id":152098,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:21:07] local.INFO: Processing buffer {"connection_id":152098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:21:07] local.INFO: IMEI packet received {"connection_id":152098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":152098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:21:07] local.INFO: TCP Data received {"connection_id":153028,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:21:07] local.INFO: Processing buffer {"connection_id":153028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:21:07] local.INFO: IMEI packet received {"connection_id":153028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":153028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:21:08] local.INFO: TCP Data received {"connection_id":153028,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:21:08] local.INFO: Processing buffer {"connection_id":153028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:21:08] local.INFO: Packet analysis {"connection_id":153028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:21:08] local.INFO: Extracted packet for processing {"connection_id":153028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309677568001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786366229000,"timestamp_ms":1786366229000,"timestamp_seconds":1786366229,"priority":1,"record_length":96,"hex_timestamp":"0000019febb97a08"} 
[2026-08-10 18:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309677568001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309677568001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:21:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309677568001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":153028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:21:08] local.INFO: GPS data processed {"connection_id":153028,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:21:08] local.INFO: Acknowledgment sent {"connection_id":153028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:21:09] local.INFO: TCP Data received {"connection_id":153028,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:21:09] local.INFO: Processing buffer {"connection_id":153028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:21:09] local.INFO: Packet analysis {"connection_id":153028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:21:09] local.INFO: Extracted packet for processing {"connection_id":153028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309677568001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786366229000,"timestamp_ms":1786366229000,"timestamp_seconds":1786366229,"priority":1,"record_length":96,"hex_timestamp":"0000019febb97a08"} 
[2026-08-10 18:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:21: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-08-10 18:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309677568001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309677568001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:21:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309677568001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":153028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:21:09] local.INFO: GPS data processed {"connection_id":153028,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:21:09] local.INFO: Acknowledgment sent {"connection_id":153028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:21:12] local.INFO: TCP Data received {"connection_id":152098,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:21:12] local.INFO: Processing buffer {"connection_id":152098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:21:12] local.INFO: IMEI packet received {"connection_id":152098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":152098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:21:13] local.INFO: TCP Data received {"connection_id":152098,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb6edb0012d7e3c4005d357100006011329..."} 
[2026-08-10 18:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb6edb0012d7e3c4005d357100006011329..."} 
[2026-08-10 18:21:13] local.INFO: Processing buffer {"connection_id":152098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb6edb0012d7e3c4005d357100006011329..."} 
[2026-08-10 18:21:13] local.INFO: Packet analysis {"connection_id":152098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb6"} 
[2026-08-10 18:21:13] local.INFO: Extracted packet for processing {"connection_id":152098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb6"} 
[2026-08-10 18:21:13] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309706496001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786366062000,"timestamp_ms":1786366062000,"timestamp_seconds":1786366062,"priority":1,"record_length":96,"hex_timestamp":"0000019febb6edb0"} 
[2026-08-10 18:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:21: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-08-10 18:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-10 18:21: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-08-10 18:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309706496001,"66":12961,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309706496001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:21:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:21:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309706496001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":152098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:21:13] local.INFO: GPS data processed {"connection_id":152098,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:21:13] local.INFO: Acknowledgment sent {"connection_id":152098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:21:19] local.INFO: TCP Data received {"connection_id":154464,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb87c20012d18f40007212dc00042002725..."} 
[2026-08-10 18:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb87c20012d18f40007212dc00042002725..."} 
[2026-08-10 18:21:19] local.INFO: Processing buffer {"connection_id":154464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb87c20012d18f40007212dc00042002725..."} 
[2026-08-10 18:21:19] local.INFO: Packet analysis {"connection_id":154464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb8"} 
[2026-08-10 18:21:19] local.INFO: Extracted packet for processing {"connection_id":154464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb8"} 
[2026-08-10 18:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119614912,"longitude_deg":75.6610048,"latitude_deg":11.9614912,"altitude":66,"angle":39,"satellites":37,"speed":0,"hex_longitude":"2d18f400","hex_latitude":"07212dc0","is_valid_coordinates":true} 
[2026-08-10 18:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309732608001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532867658055680,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181849088000,"note":"Value kept but may cause issues"} 
[2026-08-10 18: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-08-10 18:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786366164000,"timestamp_ms":1786366164000,"timestamp_seconds":1786366164,"priority":1,"record_length":96,"hex_timestamp":"0000019febb87c20"} 
[2026-08-10 18:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 18:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309732608001,"66":12678,"121":206,"28":31744,"24":0,"16":11532867658055680,"45":1798062181849088000},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309732608001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:21:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:21:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532867658055680,"km_value":11532867658055.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181849088000,"description":"Unknown IO ID 45"} 
[2026-08-10 18:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309732608001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798062181849088000}} 
[2026-08-10 18:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":154464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:21:20] local.INFO: GPS data processed {"connection_id":154464,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:21:20] local.INFO: Acknowledgment sent {"connection_id":154464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:21:40] local.INFO: TCP Data received {"connection_id":153028,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:21:40] local.INFO: Processing buffer {"connection_id":153028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:21:40] local.INFO: Packet analysis {"connection_id":153028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:21:40] local.INFO: Extracted packet for processing {"connection_id":153028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:21:40] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309677568001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786366229000,"timestamp_ms":1786366229000,"timestamp_seconds":1786366229,"priority":1,"record_length":96,"hex_timestamp":"0000019febb97a08"} 
[2026-08-10 18:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309677568001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309677568001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:21:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:21:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309677568001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":153028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:21:40] local.INFO: GPS data processed {"connection_id":153028,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:21:40] local.INFO: Acknowledgment sent {"connection_id":153028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:21:41] local.INFO: TCP Data received {"connection_id":151708,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:21:41] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:21:41] local.INFO: IMEI packet received {"connection_id":151708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":151708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:21:43] local.INFO: TCP Data received {"connection_id":151708,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:21:43] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:21:43] local.INFO: IMEI packet received {"connection_id":151708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":151708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:21:45] local.INFO: TCP Data received {"connection_id":152098,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb73fb8012d7e3c4005d357100006011329..."} 
[2026-08-10 18:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb73fb8012d7e3c4005d357100006011329..."} 
[2026-08-10 18:21:45] local.INFO: Processing buffer {"connection_id":152098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb73fb8012d7e3c4005d357100006011329..."} 
[2026-08-10 18:21:45] local.INFO: Packet analysis {"connection_id":152098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb7"} 
[2026-08-10 18:21:45] local.INFO: Extracted packet for processing {"connection_id":152098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb7"} 
[2026-08-10 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309711872001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786366083000,"timestamp_ms":1786366083000,"timestamp_seconds":1786366083,"priority":1,"record_length":96,"hex_timestamp":"0000019febb73fb8"} 
[2026-08-10 18:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 18:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309711872001,"66":12613,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309711872001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:21:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:21:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309711872001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":152098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:21:45] local.INFO: GPS data processed {"connection_id":152098,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:21:45] local.INFO: Acknowledgment sent {"connection_id":152098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:21:47] local.INFO: TCP Data received {"connection_id":151708,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:21:47] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:21:47] local.INFO: IMEI packet received {"connection_id":151708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":151708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:21:48] local.INFO: TCP Data received {"connection_id":151708,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb8d210012d18f40007212dc00042002725..."} 
[2026-08-10 18:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb8d210012d18f40007212dc00042002725..."} 
[2026-08-10 18:21:48] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb8d210012d18f40007212dc00042002725..."} 
[2026-08-10 18:21:48] local.INFO: Packet analysis {"connection_id":151708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb8"} 
[2026-08-10 18:21:48] local.INFO: Extracted packet for processing {"connection_id":151708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb8"} 
[2026-08-10 18:21:48] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119614912,"longitude_deg":75.6610048,"latitude_deg":11.9614912,"altitude":66,"angle":39,"satellites":37,"speed":0,"hex_longitude":"2d18f400","hex_latitude":"07212dc0","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309737984001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532867658055680,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181849088000,"note":"Value kept but may cause issues"} 
[2026-08-10 18:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786366186000,"timestamp_ms":1786366186000,"timestamp_seconds":1786366186,"priority":1,"record_length":96,"hex_timestamp":"0000019febb8d210"} 
[2026-08-10 18:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 18:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309737984001,"66":12678,"121":206,"28":31744,"24":0,"16":11532867658055680,"45":1798062181849088000},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309737984001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:21:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:21:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532867658055680,"km_value":11532867658055.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181849088000,"description":"Unknown IO ID 45"} 
[2026-08-10 18:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309737984001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798062181849088000}} 
[2026-08-10 18:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":151708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:21:48] local.INFO: GPS data processed {"connection_id":151708,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:21:48] local.INFO: Acknowledgment sent {"connection_id":151708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:22:01] local.INFO: TCP Data received {"connection_id":154465,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:22:01] local.INFO: Processing buffer {"connection_id":154465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:22:01] local.INFO: IMEI packet received {"connection_id":154465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":154465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:22:06] local.INFO: TCP Data received {"connection_id":154465,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:22:06] local.INFO: Processing buffer {"connection_id":154465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:22:06] local.INFO: IMEI packet received {"connection_id":154465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":154465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:22:07] local.INFO: TCP Data received {"connection_id":154465,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:22:07] local.INFO: Processing buffer {"connection_id":154465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:22:07] local.INFO: Packet analysis {"connection_id":154465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:22:07] local.INFO: Extracted packet for processing {"connection_id":154465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309677568001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786366229000,"timestamp_ms":1786366229000,"timestamp_seconds":1786366229,"priority":1,"record_length":96,"hex_timestamp":"0000019febb97a08"} 
[2026-08-10 18:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309677568001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309677568001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:22:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309677568001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":154465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:22:07] local.INFO: GPS data processed {"connection_id":154465,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:22:07] local.INFO: Acknowledgment sent {"connection_id":154465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:22:08] local.INFO: TCP Data received {"connection_id":154465,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:22:08] local.INFO: Processing buffer {"connection_id":154465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:22:08] local.INFO: Packet analysis {"connection_id":154465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:22:08] local.INFO: Extracted packet for processing {"connection_id":154465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309677568001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786366229000,"timestamp_ms":1786366229000,"timestamp_seconds":1786366229,"priority":1,"record_length":96,"hex_timestamp":"0000019febb97a08"} 
[2026-08-10 18:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309677568001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309677568001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:22:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309677568001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":154465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:22:08] local.INFO: GPS data processed {"connection_id":154465,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:22:08] local.INFO: Acknowledgment sent {"connection_id":154465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:22:12] local.INFO: TCP Data received {"connection_id":152099,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:22:12] local.INFO: Processing buffer {"connection_id":152099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:22:12] local.INFO: IMEI packet received {"connection_id":152099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":152099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:22:17] local.INFO: TCP Data received {"connection_id":152099,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:22:17] local.INFO: Processing buffer {"connection_id":152099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:22:17] local.INFO: IMEI packet received {"connection_id":152099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":152099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:22:18] local.INFO: TCP Data received {"connection_id":152099,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb791c0012d7e3c4005d357100006011329..."} 
[2026-08-10 18:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb791c0012d7e3c4005d357100006011329..."} 
[2026-08-10 18:22:18] local.INFO: Processing buffer {"connection_id":152099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb791c0012d7e3c4005d357100006011329..."} 
[2026-08-10 18:22:18] local.INFO: Packet analysis {"connection_id":152099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb7"} 
[2026-08-10 18:22:18] local.INFO: Extracted packet for processing {"connection_id":152099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb7"} 
[2026-08-10 18:22:18] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309717248001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786366104000,"timestamp_ms":1786366104000,"timestamp_seconds":1786366104,"priority":1,"record_length":96,"hex_timestamp":"0000019febb791c0"} 
[2026-08-10 18:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 18:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309717248001,"66":12982,"115":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 18:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309717248001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:22:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 18:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309717248001,"power":12982,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":152099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:22:18] local.INFO: GPS data processed {"connection_id":152099,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:22:18] local.INFO: Acknowledgment sent {"connection_id":152099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:22:18] local.INFO: TCP Data received {"connection_id":152099,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb7e3c8012d7e3c4005d357100006011324..."} 
[2026-08-10 18:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb7e3c8012d7e3c4005d357100006011324..."} 
[2026-08-10 18:22:18] local.INFO: Processing buffer {"connection_id":152099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb7e3c8012d7e3c4005d357100006011324..."} 
[2026-08-10 18:22:18] local.INFO: Packet analysis {"connection_id":152099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb7"} 
[2026-08-10 18:22:18] local.INFO: Extracted packet for processing {"connection_id":152099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb7"} 
[2026-08-10 18:22:18] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309722624001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786366125000,"timestamp_ms":1786366125000,"timestamp_seconds":1786366125,"priority":1,"record_length":96,"hex_timestamp":"0000019febb7e3c8"} 
[2026-08-10 18:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:22: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-08-10 18:22: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":182,"data_length":795,"current_offset":136} 
[2026-08-10 18:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309722624001,"66":12939,"115":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 18:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309722624001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:22:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 18:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309722624001,"power":12939,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":152099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:22:18] local.INFO: GPS data processed {"connection_id":152099,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:22:18] local.INFO: Acknowledgment sent {"connection_id":152099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:22:19] local.INFO: TCP Data received {"connection_id":151708,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb92418012d18f40007212dc00042002725..."} 
[2026-08-10 18:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb92418012d18f40007212dc00042002725..."} 
[2026-08-10 18:22:19] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb92418012d18f40007212dc00042002725..."} 
[2026-08-10 18:22:19] local.INFO: Packet analysis {"connection_id":151708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:22:19] local.INFO: Extracted packet for processing {"connection_id":151708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119614912,"longitude_deg":75.6610048,"latitude_deg":11.9614912,"altitude":66,"angle":39,"satellites":37,"speed":0,"hex_longitude":"2d18f400","hex_latitude":"07212dc0","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309743616001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532867658055680,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181849088000,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786366207000,"timestamp_ms":1786366207000,"timestamp_seconds":1786366207,"priority":1,"record_length":96,"hex_timestamp":"0000019febb92418"} 
[2026-08-10 18:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-10 18:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309743616001,"66":12667,"121":206,"28":31744,"24":0,"16":11532867658055680,"45":1798062181849088000},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309743616001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:22:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532867658055680,"km_value":11532867658055.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181849088000,"description":"Unknown IO ID 45"} 
[2026-08-10 18:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309743616001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798062181849088000}} 
[2026-08-10 18:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":151708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:22:20] local.INFO: GPS data processed {"connection_id":151708,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:22:20] local.INFO: Acknowledgment sent {"connection_id":151708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:22:39] local.INFO: TCP Data received {"connection_id":154465,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:22:39] local.INFO: Processing buffer {"connection_id":154465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:22:39] local.INFO: Packet analysis {"connection_id":154465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:22:39] local.INFO: Extracted packet for processing {"connection_id":154465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309677568001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786366229000,"timestamp_ms":1786366229000,"timestamp_seconds":1786366229,"priority":1,"record_length":96,"hex_timestamp":"0000019febb97a08"} 
[2026-08-10 18:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309677568001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309677568001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:22:39] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309677568001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":154465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:22:39] local.INFO: GPS data processed {"connection_id":154465,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:22:39] local.INFO: Acknowledgment sent {"connection_id":154465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:22:46] local.INFO: TCP Data received {"connection_id":153029,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:22:46] local.INFO: Processing buffer {"connection_id":153029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:22:46] local.INFO: IMEI packet received {"connection_id":153029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":153029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:22:47] local.INFO: TCP Data received {"connection_id":153029,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:22:47] local.INFO: Processing buffer {"connection_id":153029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:22:47] local.INFO: IMEI packet received {"connection_id":153029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":153029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:22:51] local.INFO: TCP Data received {"connection_id":152099,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb835d0012d7e3c4005d357100006011329..."} 
[2026-08-10 18:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb835d0012d7e3c4005d357100006011329..."} 
[2026-08-10 18:22:51] local.INFO: Processing buffer {"connection_id":152099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb835d0012d7e3c4005d357100006011329..."} 
[2026-08-10 18:22:51] local.INFO: Packet analysis {"connection_id":152099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb8"} 
[2026-08-10 18:22:51] local.INFO: Extracted packet for processing {"connection_id":152099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb8"} 
[2026-08-10 18:22:51] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309728000001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786366146000,"timestamp_ms":1786366146000,"timestamp_seconds":1786366146,"priority":1,"record_length":96,"hex_timestamp":"0000019febb835d0"} 
[2026-08-10 18:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 18:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309728000001,"66":12472,"115":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 18:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309728000001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:22:51] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 18:22:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309728000001,"power":12472,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":152099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:22:51] local.INFO: GPS data processed {"connection_id":152099,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:22:51] local.INFO: Acknowledgment sent {"connection_id":152099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:22:52] local.INFO: TCP Data received {"connection_id":153029,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:22:52] local.INFO: Processing buffer {"connection_id":153029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:22:52] local.INFO: IMEI packet received {"connection_id":153029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":153029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:22:53] local.INFO: TCP Data received {"connection_id":153029,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb97620012d18f40007212dc00042002726..."} 
[2026-08-10 18:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb97620012d18f40007212dc00042002726..."} 
[2026-08-10 18:22:53] local.INFO: Processing buffer {"connection_id":153029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb97620012d18f40007212dc00042002726..."} 
[2026-08-10 18:22:53] local.INFO: Packet analysis {"connection_id":153029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:22:53] local.INFO: Extracted packet for processing {"connection_id":153029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119614912,"longitude_deg":75.6610048,"latitude_deg":11.9614912,"altitude":66,"angle":39,"satellites":38,"speed":0,"hex_longitude":"2d18f400","hex_latitude":"07212dc0","is_valid_coordinates":true} 
[2026-08-10 18:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309748992001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532867658055680,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181849088000,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786366228000,"timestamp_ms":1786366228000,"timestamp_seconds":1786366228,"priority":1,"record_length":96,"hex_timestamp":"0000019febb97620"} 
[2026-08-10 18:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 18:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":153029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":153029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":153029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309748992001,"66":12504,"121":206,"28":31744,"24":0,"16":11532867658055680,"45":1798062181849088000},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309748992001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:22:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:22:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532867658055680,"km_value":11532867658055.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181849088000,"description":"Unknown IO ID 45"} 
[2026-08-10 18:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309748992001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798062181849088000}} 
[2026-08-10 18:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":153029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:22:53] local.INFO: GPS data processed {"connection_id":153029,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:22:53] local.INFO: Acknowledgment sent {"connection_id":153029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:22:57] local.INFO: TCP Data received {"connection_id":153029,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febb9c828012d18f40007212dc00042002724..."} 
[2026-08-10 18:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb9c828012d18f40007212dc00042002724..."} 
[2026-08-10 18:22:57] local.INFO: Processing buffer {"connection_id":153029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb9c828012d18f40007212dc00042002724..."} 
[2026-08-10 18:22:57] local.INFO: Packet analysis {"connection_id":153029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:22:57] local.INFO: Extracted packet for processing {"connection_id":153029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119614912,"longitude_deg":75.6610048,"latitude_deg":11.9614912,"altitude":66,"angle":39,"satellites":36,"speed":0,"hex_longitude":"2d18f400","hex_latitude":"07212dc0","is_valid_coordinates":true} 
[2026-08-10 18:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309754368001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532867658055680,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181849088000,"note":"Value kept but may cause issues"} 
[2026-08-10 18:22: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-08-10 18:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786366249000,"timestamp_ms":1786366249000,"timestamp_seconds":1786366249,"priority":1,"record_length":96,"hex_timestamp":"0000019febb9c828"} 
[2026-08-10 18:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 18:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309754368001,"66":11961,"121":206,"28":31744,"24":0,"16":11532867658055680,"45":1798062181849088000},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309754368001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:22:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:22:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532867658055680,"km_value":11532867658055.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181849088000,"description":"Unknown IO ID 45"} 
[2026-08-10 18:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309754368001,"power":11961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798062181849088000}} 
[2026-08-10 18:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":153029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:22:58] local.INFO: GPS data processed {"connection_id":153029,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:22:58] local.INFO: Acknowledgment sent {"connection_id":153029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:22:58] local.INFO: TCP Data received {"connection_id":153030,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:22:58] local.INFO: Processing buffer {"connection_id":153030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:22:58] local.INFO: IMEI packet received {"connection_id":153030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":153030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:23:03] local.INFO: TCP Data received {"connection_id":153030,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:23:03] local.INFO: Processing buffer {"connection_id":153030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:23:03] local.INFO: IMEI packet received {"connection_id":153030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":153030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:23:04] local.INFO: TCP Data received {"connection_id":153030,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:23:04] local.INFO: Processing buffer {"connection_id":153030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:23:04] local.INFO: Packet analysis {"connection_id":153030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:23:04] local.INFO: Extracted packet for processing {"connection_id":153030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309677568001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786366229000,"timestamp_ms":1786366229000,"timestamp_seconds":1786366229,"priority":1,"record_length":96,"hex_timestamp":"0000019febb97a08"} 
[2026-08-10 18:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309677568001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309677568001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:23:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309677568001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":153030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:23:04] local.INFO: GPS data processed {"connection_id":153030,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:23:04] local.INFO: Acknowledgment sent {"connection_id":153030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:23:06] local.INFO: TCP Data received {"connection_id":152100,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:23:06] local.INFO: Processing buffer {"connection_id":152100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:23:06] local.INFO: IMEI packet received {"connection_id":152100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":152100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:23:12] local.INFO: TCP Data received {"connection_id":152100,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:23:12] local.INFO: Processing buffer {"connection_id":152100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:23:12] local.INFO: IMEI packet received {"connection_id":152100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":152100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:23:13] local.INFO: TCP Data received {"connection_id":152100,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb887d8012d7e3c4005d357100006011327..."} 
[2026-08-10 18:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb887d8012d7e3c4005d357100006011327..."} 
[2026-08-10 18:23:13] local.INFO: Processing buffer {"connection_id":152100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb887d8012d7e3c4005d357100006011327..."} 
[2026-08-10 18:23:13] local.INFO: Packet analysis {"connection_id":152100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb8"} 
[2026-08-10 18:23:13] local.INFO: Extracted packet for processing {"connection_id":152100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb8"} 
[2026-08-10 18:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309733376001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786366167000,"timestamp_ms":1786366167000,"timestamp_seconds":1786366167,"priority":1,"record_length":96,"hex_timestamp":"0000019febb887d8"} 
[2026-08-10 18:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-10 18:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309733376001,"66":11776,"115":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 18:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309733376001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:23:13] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 18:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309733376001,"power":11776,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":152100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:23:13] local.INFO: GPS data processed {"connection_id":152100,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:23:13] local.INFO: Acknowledgment sent {"connection_id":152100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:23:35] local.INFO: TCP Data received {"connection_id":153030,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:23:35] local.INFO: Processing buffer {"connection_id":153030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:23:35] local.INFO: Packet analysis {"connection_id":153030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:23:35] local.INFO: Extracted packet for processing {"connection_id":153030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309677568001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786366229000,"timestamp_ms":1786366229000,"timestamp_seconds":1786366229,"priority":1,"record_length":96,"hex_timestamp":"0000019febb97a08"} 
[2026-08-10 18:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309677568001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309677568001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:23:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309677568001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":153030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:23:35] local.INFO: GPS data processed {"connection_id":153030,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:23:35] local.INFO: Acknowledgment sent {"connection_id":153030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:23:42] local.INFO: TCP Data received {"connection_id":151709,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:23:42] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:23:42] local.INFO: IMEI packet received {"connection_id":151709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":151709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:23:43] local.INFO: TCP Data received {"connection_id":151709,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:23:43] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:23:43] local.INFO: IMEI packet received {"connection_id":151709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":151709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:23:45] local.INFO: TCP Data received {"connection_id":152100,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febb8d9e0012d7e3c4005d357100006011328..."} 
[2026-08-10 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb8d9e0012d7e3c4005d357100006011328..."} 
[2026-08-10 18:23:45] local.INFO: Processing buffer {"connection_id":152100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb8d9e0012d7e3c4005d357100006011328..."} 
[2026-08-10 18:23:45] local.INFO: Packet analysis {"connection_id":152100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb8"} 
[2026-08-10 18:23:45] local.INFO: Extracted packet for processing {"connection_id":152100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb8"} 
[2026-08-10 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309738752001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786366188000,"timestamp_ms":1786366188000,"timestamp_seconds":1786366188,"priority":1,"record_length":96,"hex_timestamp":"0000019febb8d9e0"} 
[2026-08-10 18:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-10 18:23:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:45] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3954613160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:45] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3074406401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-10 18:23:45] local.WARNING: Large IO value detected {"io_id":237,"raw_value":2952867198,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184333,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:45] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,115,85,24,241,157,16,28,159,53,45,64,87,6,41,10,66,227,36,145,1,240,182,235,211,4,113,205,237,60,239,50,109,2,161],"length":434,"final_offset":564,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-10 18:23:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432648097428930560,"timestamp_seconds":432648097428930.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309738752001,"66":12939,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309738752001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:23:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:23:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309738752001,"power":12939,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":152100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:23:45] local.INFO: GPS data processed {"connection_id":152100,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:23:45] local.INFO: Acknowledgment sent {"connection_id":152100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:23:52] local.INFO: TCP Data received {"connection_id":151709,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:23:52] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:23:52] local.INFO: IMEI packet received {"connection_id":151709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":151709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:23:53] local.INFO: TCP Data received {"connection_id":151709,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febba1a30012d18f40007212dc00042002723..."} 
[2026-08-10 18:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febba1a30012d18f40007212dc00042002723..."} 
[2026-08-10 18:23:53] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febba1a30012d18f40007212dc00042002723..."} 
[2026-08-10 18:23:53] local.INFO: Packet analysis {"connection_id":151709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febba"} 
[2026-08-10 18:23:53] local.INFO: Extracted packet for processing {"connection_id":151709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febba"} 
[2026-08-10 18:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119614912,"longitude_deg":75.6610048,"latitude_deg":11.9614912,"altitude":66,"angle":39,"satellites":35,"speed":0,"hex_longitude":"2d18f400","hex_latitude":"07212dc0","is_valid_coordinates":true} 
[2026-08-10 18:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309759744001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532867658055680,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181849088000,"note":"Value kept but may cause issues"} 
[2026-08-10 18: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-08-10 18:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786366270000,"timestamp_ms":1786366270000,"timestamp_seconds":1786366270,"priority":1,"record_length":96,"hex_timestamp":"0000019febba1a30"} 
[2026-08-10 18:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 18:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309759744001,"66":12558,"121":206,"28":31744,"24":0,"16":11532867658055680,"45":1798062181849088000},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309759744001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:23:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:23:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532867658055680,"km_value":11532867658055.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181849088000,"description":"Unknown IO ID 45"} 
[2026-08-10 18:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309759744001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798062181849088000}} 
[2026-08-10 18:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":151709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:23:53] local.INFO: GPS data processed {"connection_id":151709,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:23:53] local.INFO: Acknowledgment sent {"connection_id":151709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:23:54] local.INFO: TCP Data received {"connection_id":151709,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febba6c38012d18f40007212dc00042002724..."} 
[2026-08-10 18:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febba6c38012d18f40007212dc00042002724..."} 
[2026-08-10 18:23:54] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febba6c38012d18f40007212dc00042002724..."} 
[2026-08-10 18:23:54] local.INFO: Packet analysis {"connection_id":151709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febba"} 
[2026-08-10 18:23:54] local.INFO: Extracted packet for processing {"connection_id":151709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febba"} 
[2026-08-10 18:23:54] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119614912,"longitude_deg":75.6610048,"latitude_deg":11.9614912,"altitude":66,"angle":39,"satellites":36,"speed":0,"hex_longitude":"2d18f400","hex_latitude":"07212dc0","is_valid_coordinates":true} 
[2026-08-10 18:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309765120001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532867658055680,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181849088000,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786366291000,"timestamp_ms":1786366291000,"timestamp_seconds":1786366291,"priority":1,"record_length":96,"hex_timestamp":"0000019febba6c38"} 
[2026-08-10 18:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-10 18:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3954715160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":10241,"corrected_to":0} 
[2026-08-10 18:23:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249615412104605120,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:54] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3100774401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-10 18:23:54] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199655,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:54] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4178903040,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:54] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:54] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:54] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-10 18:23:54] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,249,159,200,45,66,36,10,118,38,1,240,123,235,33,4,113,205,124,244,192,37,239,49,2,40,7,231,85,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":200,"original":10241,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-10 18:23:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755844237780582400,"timestamp_seconds":4755844237780582.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309765120001,"66":12558,"121":206,"28":31744,"24":0,"16":11532867658055680,"45":1798062181849088000},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309765120001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:23:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:23:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532867658055680,"km_value":11532867658055.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181849088000,"description":"Unknown IO ID 45"} 
[2026-08-10 18:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309765120001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798062181849088000}} 
[2026-08-10 18:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":151709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:23:54] local.INFO: GPS data processed {"connection_id":151709,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:23:54] local.INFO: Acknowledgment sent {"connection_id":151709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:23:58] local.INFO: TCP Data received {"connection_id":153031,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:23:58] local.INFO: Processing buffer {"connection_id":153031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:23:58] local.INFO: IMEI packet received {"connection_id":153031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":153031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:24:03] local.INFO: TCP Data received {"connection_id":153031,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:24:03] local.INFO: Processing buffer {"connection_id":153031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:24:03] local.INFO: IMEI packet received {"connection_id":153031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":153031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:24:04] local.INFO: TCP Data received {"connection_id":153031,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:24:04] local.INFO: Processing buffer {"connection_id":153031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:24:04] local.INFO: Packet analysis {"connection_id":153031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:24:04] local.INFO: Extracted packet for processing {"connection_id":153031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309677568001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786366229000,"timestamp_ms":1786366229000,"timestamp_seconds":1786366229,"priority":1,"record_length":96,"hex_timestamp":"0000019febb97a08"} 
[2026-08-10 18:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309677568001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309677568001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:24:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309677568001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":153031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:24:04] local.INFO: GPS data processed {"connection_id":153031,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:24:04] local.INFO: Acknowledgment sent {"connection_id":153031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:24:08] local.INFO: TCP Data received {"connection_id":152101,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:24:08] local.INFO: Processing buffer {"connection_id":152101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:24:08] local.INFO: IMEI packet received {"connection_id":152101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":152101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:24:12] local.INFO: TCP Data received {"connection_id":152101,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:24:12] local.INFO: Processing buffer {"connection_id":152101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:24:12] local.INFO: IMEI packet received {"connection_id":152101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":152101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:24:13] local.INFO: TCP Data received {"connection_id":152101,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febbc6038012d7e3c4005d357100006011328..."} 
[2026-08-10 18:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbc6038012d7e3c4005d357100006011328..."} 
[2026-08-10 18:24:13] local.INFO: Processing buffer {"connection_id":152101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbc6038012d7e3c4005d357100006011328..."} 
[2026-08-10 18:24:13] local.INFO: Packet analysis {"connection_id":152101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbc"} 
[2026-08-10 18:24:13] local.INFO: Extracted packet for processing {"connection_id":152101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbc"} 
[2026-08-10 18:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309797888001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786366419000,"timestamp_ms":1786366419000,"timestamp_seconds":1786366419,"priority":1,"record_length":96,"hex_timestamp":"0000019febbc6038"} 
[2026-08-10 18:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 18:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309797888001,"66":11471,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309797888001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:24:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309797888001,"power":11471,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":152101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:24:13] local.INFO: GPS data processed {"connection_id":152101,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:24:13] local.INFO: Acknowledgment sent {"connection_id":152101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:24:25] local.INFO: TCP Data received {"connection_id":151709,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febbc40f8012d18ee0007211ae80045010a23..."} 
[2026-08-10 18:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbc40f8012d18ee0007211ae80045010a23..."} 
[2026-08-10 18:24:25] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbc40f8012d18ee0007211ae80045010a23..."} 
[2026-08-10 18:24:25] local.INFO: Packet analysis {"connection_id":151709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbc"} 
[2026-08-10 18:24:25] local.INFO: Extracted packet for processing {"connection_id":151709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbc"} 
[2026-08-10 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":756608512,"raw_latitude":119610088,"longitude_deg":75.6608512,"latitude_deg":11.9610088,"altitude":69,"angle":266,"satellites":35,"speed":10,"hex_longitude":"2d18ee00","hex_latitude":"07211ae8","is_valid_coordinates":true} 
[2026-08-10 18:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309800960001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11533129651060736,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796584438220136448,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24: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-08-10 18:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786366411000,"timestamp_ms":1786366411000,"timestamp_seconds":1786366411,"priority":1,"record_length":96,"hex_timestamp":"0000019febbc40f8"} 
[2026-08-10 18:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 18:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309800960001,"66":14102,"121":206,"28":31744,"24":10,"16":11533129651060736,"45":1796584438220136448},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309800960001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:24:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:24:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11533129651060736,"km_value":11533129651060.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796584438220136448,"description":"Unknown IO ID 45"} 
[2026-08-10 18:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309800960001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1796584438220136448}} 
[2026-08-10 18:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":151709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:24:26] local.INFO: GPS data processed {"connection_id":151709,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:24:26] local.INFO: Acknowledgment sent {"connection_id":151709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:24:35] local.INFO: TCP Data received {"connection_id":153031,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:24:35] local.INFO: Processing buffer {"connection_id":153031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febb97a08012d342a4006abc2800017010224..."} 
[2026-08-10 18:24:35] local.INFO: Packet analysis {"connection_id":153031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:24:35] local.INFO: Extracted packet for processing {"connection_id":153031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febb9"} 
[2026-08-10 18:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758393408,"raw_latitude":111919744,"longitude_deg":75.8393408,"latitude_deg":11.1919744,"altitude":23,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d342a40","hex_latitude":"06abc280","is_valid_coordinates":true} 
[2026-08-10 18:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309677568001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786366229000,"timestamp_ms":1786366229000,"timestamp_seconds":1786366229,"priority":1,"record_length":96,"hex_timestamp":"0000019febb97a08"} 
[2026-08-10 18:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309677568001,"66":25462,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309677568001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:24:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309677568001,"power":25462,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":153031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:24:35] local.INFO: GPS data processed {"connection_id":153031,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:24:35] local.INFO: Acknowledgment sent {"connection_id":153031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:24:41] local.INFO: TCP Data received {"connection_id":153032,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:24:41] local.INFO: Processing buffer {"connection_id":153032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:24:41] local.INFO: IMEI packet received {"connection_id":153032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":153032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:24:44] local.INFO: TCP Data received {"connection_id":152101,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febbc77a8012d7e3c4005d357100006011326..."} 
[2026-08-10 18:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbc77a8012d7e3c4005d357100006011326..."} 
[2026-08-10 18:24:44] local.INFO: Processing buffer {"connection_id":152101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbc77a8012d7e3c4005d357100006011326..."} 
[2026-08-10 18:24:44] local.INFO: Packet analysis {"connection_id":152101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbc"} 
[2026-08-10 18:24:44] local.INFO: Extracted packet for processing {"connection_id":152101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbc"} 
[2026-08-10 18:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309803264001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786366425000,"timestamp_ms":1786366425000,"timestamp_seconds":1786366425,"priority":1,"record_length":96,"hex_timestamp":"0000019febbc77a8"} 
[2026-08-10 18:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 18:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309803264001,"66":11547,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309803264001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:24:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309803264001,"power":11547,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:24:44] local.INFO: TCP Data received {"connection_id":153032,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:24:44] local.INFO: Processing buffer {"connection_id":153032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:24:44] local.INFO: IMEI packet received {"connection_id":153032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":153032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":152101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:24:44] local.INFO: GPS data processed {"connection_id":152101,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:24:44] local.INFO: Acknowledgment sent {"connection_id":152101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:24:45] local.INFO: TCP Data received {"connection_id":153032,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febbc44e0012d18ed0007211af00045011823..."} 
[2026-08-10 18:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbc44e0012d18ed0007211af00045011823..."} 
[2026-08-10 18:24:45] local.INFO: Processing buffer {"connection_id":153032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbc44e0012d18ed0007211af00045011823..."} 
[2026-08-10 18:24:45] local.INFO: Packet analysis {"connection_id":153032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbc"} 
[2026-08-10 18:24:45] local.INFO: Extracted packet for processing {"connection_id":153032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbc"} 
[2026-08-10 18:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756608256,"raw_latitude":119610096,"longitude_deg":75.6608256,"latitude_deg":11.9610096,"altitude":69,"angle":280,"satellites":35,"speed":9,"hex_longitude":"2d18ed00","hex_latitude":"07211af0","is_valid_coordinates":true} 
[2026-08-10 18:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309801216001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11533142535962624,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796373331987589120,"note":"Value kept but may cause issues"} 
[2026-08-10 18:24: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-08-10 18:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786366412000,"timestamp_ms":1786366412000,"timestamp_seconds":1786366412,"priority":1,"record_length":96,"hex_timestamp":"0000019febbc44e0"} 
[2026-08-10 18:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 18:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309801216001,"66":13472,"121":206,"28":31744,"24":9,"16":11533142535962624,"45":1796373331987589120},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309801216001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:24:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:24:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11533142535962624,"km_value":11533142535962.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796373331987589120,"description":"Unknown IO ID 45"} 
[2026-08-10 18:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309801216001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1796373331987589120}} 
[2026-08-10 18:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":153032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:24:45] local.INFO: GPS data processed {"connection_id":153032,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:24:45] local.INFO: Acknowledgment sent {"connection_id":153032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:25:08] local.INFO: TCP Data received {"connection_id":152102,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:25:08] local.INFO: Processing buffer {"connection_id":152102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:25:08] local.INFO: IMEI packet received {"connection_id":152102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":152102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:25:12] local.INFO: TCP Data received {"connection_id":154466,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:25:12] local.INFO: Processing buffer {"connection_id":154466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:25:12] local.INFO: IMEI packet received {"connection_id":154466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":154466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:25:16] local.INFO: TCP Data received {"connection_id":152102,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:25:16] local.INFO: Processing buffer {"connection_id":152102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:25:16] local.INFO: IMEI packet received {"connection_id":152102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":152102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:25:16] local.INFO: TCP Data received {"connection_id":154466,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:25:16] local.INFO: Processing buffer {"connection_id":154466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:25:16] local.INFO: IMEI packet received {"connection_id":154466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":154466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:25:17] local.INFO: TCP Data received {"connection_id":153032,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febbc6fd8012d18e18007211b600046010924..."} 
[2026-08-10 18:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbc6fd8012d18e18007211b600046010924..."} 
[2026-08-10 18:25:17] local.INFO: Processing buffer {"connection_id":153032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbc6fd8012d18e18007211b600046010924..."} 
[2026-08-10 18:25:17] local.INFO: Packet analysis {"connection_id":153032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbc"} 
[2026-08-10 18:25:17] local.INFO: Extracted packet for processing {"connection_id":153032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbc"} 
[2026-08-10 18:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756605312,"raw_latitude":119610208,"longitude_deg":75.6605312,"latitude_deg":11.9610208,"altitude":70,"angle":265,"satellites":36,"speed":13,"hex_longitude":"2d18e180","hex_latitude":"07211b60","is_valid_coordinates":true} 
[2026-08-10 18:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309801472001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11533284269883392,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796091857010880512,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786366423000,"timestamp_ms":1786366423000,"timestamp_seconds":1786366423,"priority":1,"record_length":96,"hex_timestamp":"0000019febbc6fd8"} 
[2026-08-10 18:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 18:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309801472001,"66":14157,"121":206,"28":31744,"24":13,"16":11533284269883392,"45":1796091857010880512},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309801472001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:25:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:25:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11533284269883392,"km_value":11533284269883.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796091857010880512,"description":"Unknown IO ID 45"} 
[2026-08-10 18:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309801472001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1796091857010880512}} 
[2026-08-10 18:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":153032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:25:17] local.INFO: GPS data processed {"connection_id":153032,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:25:17] local.INFO: Acknowledgment sent {"connection_id":153032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:25:17] local.INFO: TCP Data received {"connection_id":152102,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:25:17] local.INFO: Processing buffer {"connection_id":152102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:25:17] local.INFO: Packet analysis {"connection_id":152102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:25:17] local.INFO: Extracted packet for processing {"connection_id":152102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758392704,"raw_latitude":111919264,"longitude_deg":75.8392704,"latitude_deg":11.1919264,"altitude":24,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342780","hex_latitude":"06abc0a0","is_valid_coordinates":true} 
[2026-08-10 18:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309754624001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786366494000,"timestamp_ms":1786366494000,"timestamp_seconds":1786366494,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd8530"} 
[2026-08-10 18:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309754624001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309754624001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:25:17] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309754624001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":152102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:25:17] local.INFO: GPS data processed {"connection_id":152102,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:25:17] local.INFO: Acknowledgment sent {"connection_id":152102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:25:17] local.INFO: TCP Data received {"connection_id":154466,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019febbc77a8012d7e3c4005d357100006011326..."} 
[2026-08-10 18:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbc77a8012d7e3c4005d357100006011326..."} 
[2026-08-10 18:25:17] local.INFO: Processing buffer {"connection_id":154466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbc77a8012d7e3c4005d357100006011326..."} 
[2026-08-10 18:25:17] local.INFO: Packet analysis {"connection_id":154466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbc"} 
[2026-08-10 18:25:17] local.INFO: Extracted packet for processing {"connection_id":154466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbc"} 
[2026-08-10 18:25:17] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736464,"longitude_deg":76.324768,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309804800001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786366425000,"timestamp_ms":1786366425000,"timestamp_seconds":1786366425,"priority":1,"record_length":96,"hex_timestamp":"0000019febbc77a8"} 
[2026-08-10 18:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:25: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-08-10 18:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 18:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309804800001,"66":11547,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309804800001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:25:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:25:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309804800001,"power":11547,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":154466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:25:17] local.INFO: GPS data processed {"connection_id":154466,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:25:17] local.INFO: Acknowledgment sent {"connection_id":154466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:25:41] local.INFO: TCP Data received {"connection_id":152103,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:25:41] local.INFO: Processing buffer {"connection_id":152103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:25:41] local.INFO: IMEI packet received {"connection_id":152103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":152103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:25:41] local.INFO: TCP Data received {"connection_id":152103,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:25:41] local.INFO: Processing buffer {"connection_id":152103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:25:41] local.INFO: IMEI packet received {"connection_id":152103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":152103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:25:46] local.INFO: TCP Data received {"connection_id":152103,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:25:46] local.INFO: Processing buffer {"connection_id":152103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:25:46] local.INFO: IMEI packet received {"connection_id":152103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":152103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:25:48] local.INFO: TCP Data received {"connection_id":152103,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd5a38012d18ac8007217120004d013323..."} 
[2026-08-10 18:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd5a38012d18ac8007217120004d013323..."} 
[2026-08-10 18:25:48] local.INFO: Processing buffer {"connection_id":152103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd5a38012d18ac8007217120004d013323..."} 
[2026-08-10 18:25:48] local.INFO: Packet analysis {"connection_id":152103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:25:48] local.INFO: Extracted packet for processing {"connection_id":152103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:25:48] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632160,"longitude_deg":75.6591744,"latitude_deg":11.963216,"altitude":77,"angle":307,"satellites":35,"speed":23,"hex_longitude":"2d18ac80","hex_latitude":"07217120","is_valid_coordinates":true} 
[2026-08-10 18:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309817088001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11534654364450816,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782369951900585984,"note":"Value kept but may cause issues"} 
[2026-08-10 18: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-08-10 18:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786366483000,"timestamp_ms":1786366483000,"timestamp_seconds":1786366483,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd5a38"} 
[2026-08-10 18:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 18:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309817088001,"66":14396,"121":206,"28":31744,"24":23,"16":11534654364450816,"45":1782369951900585984},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309817088001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:25:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:25:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11534654364450816,"km_value":11534654364450.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782369951900585984,"description":"Unknown IO ID 45"} 
[2026-08-10 18:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309817088001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1782369951900585984}} 
[2026-08-10 18:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":152103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:25:48] local.INFO: GPS data processed {"connection_id":152103,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:25:48] local.INFO: Acknowledgment sent {"connection_id":152103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:25:49] local.INFO: TCP Data received {"connection_id":154466,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:25:49] local.INFO: Processing buffer {"connection_id":154466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:25:49] local.INFO: Packet analysis {"connection_id":154466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:25:49] local.INFO: Extracted packet for processing {"connection_id":154466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:25:49] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736480,"longitude_deg":76.3247232,"latitude_deg":9.773648,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35720","is_valid_coordinates":true} 
[2026-08-10 18:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309804800001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146271744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786366486000,"timestamp_ms":1786366486000,"timestamp_seconds":1786366486,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd65f0"} 
[2026-08-10 18:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-10 18:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309804800001,"66":5329,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9096215741146271744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309804800001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:25:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:25:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146271744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309804800001,"power":5329,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146271744}} 
[2026-08-10 18:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":154466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:25:49] local.INFO: GPS data processed {"connection_id":154466,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:25:49] local.INFO: Acknowledgment sent {"connection_id":154466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:26:03] local.INFO: TCP Data received {"connection_id":152104,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:26:03] local.INFO: Processing buffer {"connection_id":152104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:26:03] local.INFO: IMEI packet received {"connection_id":152104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":152104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:26:08] local.INFO: TCP Data received {"connection_id":152104,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:26:08] local.INFO: Processing buffer {"connection_id":152104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:26:08] local.INFO: IMEI packet received {"connection_id":152104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":152104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:26:09] local.INFO: TCP Data received {"connection_id":152104,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:26:09] local.INFO: Processing buffer {"connection_id":152104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:26:09] local.INFO: Packet analysis {"connection_id":152104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:26:09] local.INFO: Extracted packet for processing {"connection_id":152104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758392704,"raw_latitude":111919264,"longitude_deg":75.8392704,"latitude_deg":11.1919264,"altitude":24,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342780","hex_latitude":"06abc0a0","is_valid_coordinates":true} 
[2026-08-10 18:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309754624001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786366494000,"timestamp_ms":1786366494000,"timestamp_seconds":1786366494,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd8530"} 
[2026-08-10 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-08-10 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309754624001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309754624001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:26:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309754624001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":152104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:26:09] local.INFO: GPS data processed {"connection_id":152104,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:26:09] local.INFO: Acknowledgment sent {"connection_id":152104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:26:11] local.INFO: TCP Data received {"connection_id":152105,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:26:11] local.INFO: Processing buffer {"connection_id":152105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:26:11] local.INFO: IMEI packet received {"connection_id":152105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":152105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:26:14] local.INFO: TCP Data received {"connection_id":152104,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:26:14] local.INFO: Processing buffer {"connection_id":152104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:26:14] local.INFO: Packet analysis {"connection_id":152104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:26:14] local.INFO: Extracted packet for processing {"connection_id":152104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758392704,"raw_latitude":111919264,"longitude_deg":75.8392704,"latitude_deg":11.1919264,"altitude":24,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342780","hex_latitude":"06abc0a0","is_valid_coordinates":true} 
[2026-08-10 18:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309754624001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786366494000,"timestamp_ms":1786366494000,"timestamp_seconds":1786366494,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd8530"} 
[2026-08-10 18:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309754624001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309754624001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:26:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:26:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309754624001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":152104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:26:14] local.INFO: GPS data processed {"connection_id":152104,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:26:14] local.INFO: Acknowledgment sent {"connection_id":152104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:26:18] local.INFO: TCP Data received {"connection_id":152105,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:26:18] local.INFO: Processing buffer {"connection_id":152105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:26:18] local.INFO: IMEI packet received {"connection_id":152105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":152105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:26:19] local.INFO: TCP Data received {"connection_id":152105,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:26:19] local.INFO: Processing buffer {"connection_id":152105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:26:19] local.INFO: Packet analysis {"connection_id":152105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:26:19] local.INFO: Extracted packet for processing {"connection_id":152105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:26:19] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736480,"longitude_deg":76.3247232,"latitude_deg":9.773648,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35720","is_valid_coordinates":true} 
[2026-08-10 18:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786366486000,"timestamp_ms":1786366486000,"timestamp_seconds":1786366486,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd65f0"} 
[2026-08-10 18:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":5329,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:26:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:26:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":5329,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":152105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:26:19] local.INFO: GPS data processed {"connection_id":152105,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:26:19] local.INFO: Acknowledgment sent {"connection_id":152105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:26:19] local.INFO: TCP Data received {"connection_id":152103,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd65f0012d18a64007217478004d012523..."} 
[2026-08-10 18:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd65f0012d18a64007217478004d012523..."} 
[2026-08-10 18:26:19] local.INFO: Processing buffer {"connection_id":152103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd65f0012d18a64007217478004d012523..."} 
[2026-08-10 18:26:19] local.INFO: Packet analysis {"connection_id":152103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:26:19] local.INFO: Extracted packet for processing {"connection_id":152103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:26:19] local.INFO: GPS Element Parsed {"raw_longitude":756590144,"raw_latitude":119633016,"longitude_deg":75.6590144,"latitude_deg":11.9633016,"altitude":77,"angle":293,"satellites":35,"speed":24,"hex_longitude":"2d18a640","hex_latitude":"07217478","is_valid_coordinates":true} 
[2026-08-10 18:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309819648001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11534744558764032,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018691584,"note":"Value kept but may cause issues"} 
[2026-08-10 18: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-08-10 18:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786366486000,"timestamp_ms":1786366486000,"timestamp_seconds":1786366486,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd65f0"} 
[2026-08-10 18:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 18:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309819648001,"66":14341,"121":206,"28":31744,"24":24,"16":11534744558764032,"45":1777936721018691584},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309819648001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:26:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:26:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11534744558764032,"km_value":11534744558764.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018691584,"description":"Unknown IO ID 45"} 
[2026-08-10 18:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309819648001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1777936721018691584}} 
[2026-08-10 18:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":152103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:26:19] local.INFO: GPS data processed {"connection_id":152103,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:26:19] local.INFO: Acknowledgment sent {"connection_id":152103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:26:22] local.INFO: TCP Data received {"connection_id":152105,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:26:22] local.INFO: Processing buffer {"connection_id":152105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:26:22] local.INFO: Packet analysis {"connection_id":152105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:26:22] local.INFO: Extracted packet for processing {"connection_id":152105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:26:22] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736480,"longitude_deg":76.3247232,"latitude_deg":9.773648,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35720","is_valid_coordinates":true} 
[2026-08-10 18:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786366486000,"timestamp_ms":1786366486000,"timestamp_seconds":1786366486,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd65f0"} 
[2026-08-10 18:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":5329,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:26:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:26:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":5329,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":152105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:26:22] local.INFO: GPS data processed {"connection_id":152105,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:26:22] local.INFO: Acknowledgment sent {"connection_id":152105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:26:41] local.INFO: TCP Data received {"connection_id":151710,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:26:41] local.INFO: Processing buffer {"connection_id":151710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:26:41] local.INFO: IMEI packet received {"connection_id":151710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":151710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:26:47] local.INFO: TCP Data received {"connection_id":151710,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:26:47] local.INFO: Processing buffer {"connection_id":151710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:26:47] local.INFO: IMEI packet received {"connection_id":151710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":151710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:26:48] local.INFO: TCP Data received {"connection_id":151710,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd9ca0012d188540072180e8004e011724..."} 
[2026-08-10 18:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd9ca0012d188540072180e8004e011724..."} 
[2026-08-10 18:26:48] local.INFO: Processing buffer {"connection_id":151710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd9ca0012d188540072180e8004e011724..."} 
[2026-08-10 18:26:48] local.INFO: Packet analysis {"connection_id":151710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:26:48] local.INFO: Extracted packet for processing {"connection_id":151710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756581696,"raw_latitude":119636200,"longitude_deg":75.6581696,"latitude_deg":11.96362,"altitude":78,"angle":279,"satellites":36,"speed":25,"hex_longitude":"2d188540","hex_latitude":"072180e8","is_valid_coordinates":true} 
[2026-08-10 18:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11535169760526336,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776177502414469120,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786366500000,"timestamp_ms":1786366500000,"timestamp_seconds":1786366500,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd9ca0"} 
[2026-08-10 18:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":5,"data_length":795,"current_offset":136} 
[2026-08-10 18:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6977993945,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503775616892928,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3955023160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:48] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3171430401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-10 18:26:48] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221692733,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:48] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:48] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4194959360,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:48] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84751257138831656,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:48] local.WARNING: Large IO value detected {"io_id":224,"raw_value":20267667789190144,"note":"Value kept but may cause issues"} 
[2026-08-10 18:26:48] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,121,28,24,241,158,16,250,159,90,45,128,113,77,35,10,66,51,64,93,75,36,31,1,240,27,235,33,4,205,26,197,144,37,239,55,2,40,7,72,20,206,80,224],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-10 18:26:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548757048152817664,"timestamp_seconds":5548757048152818.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":14396,"121":206,"28":31744,"24":25,"16":11535169760526336,"45":1776177502414469120},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:26:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:26:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11535169760526336,"km_value":11535169760526.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776177502414469120,"description":"Unknown IO ID 45"} 
[2026-08-10 18:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1776177502414469120}} 
[2026-08-10 18:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":151710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:26:48] local.INFO: GPS data processed {"connection_id":151710,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:26:48] local.INFO: Acknowledgment sent {"connection_id":151710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:26:59] local.INFO: TCP Data received {"connection_id":153033,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:26:59] local.INFO: Processing buffer {"connection_id":153033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:26:59] local.INFO: IMEI packet received {"connection_id":153033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":153033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:27:03] local.INFO: TCP Data received {"connection_id":153033,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:27:03] local.INFO: Processing buffer {"connection_id":153033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:27:03] local.INFO: IMEI packet received {"connection_id":153033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":153033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:27:05] local.INFO: TCP Data received {"connection_id":153033,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:27:05] local.INFO: Processing buffer {"connection_id":153033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:27:05] local.INFO: Packet analysis {"connection_id":153033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:05] local.INFO: Extracted packet for processing {"connection_id":153033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758392704,"raw_latitude":111919264,"longitude_deg":75.8392704,"latitude_deg":11.1919264,"altitude":24,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342780","hex_latitude":"06abc0a0","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309754624001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786366494000,"timestamp_ms":1786366494000,"timestamp_seconds":1786366494,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd8530"} 
[2026-08-10 18:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:27: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-08-10 18:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309754624001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309754624001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:27:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309754624001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":153033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:27:05] local.INFO: GPS data processed {"connection_id":153033,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:27:05] local.INFO: Acknowledgment sent {"connection_id":153033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:27:07] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:27:07] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:27:07] local.INFO: IMEI packet received {"connection_id":151711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":151711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:27:10] local.INFO: TCP Data received {"connection_id":153033,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:27:10] local.INFO: Processing buffer {"connection_id":153033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:27:10] local.INFO: Packet analysis {"connection_id":153033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:10] local.INFO: Extracted packet for processing {"connection_id":153033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758392704,"raw_latitude":111919264,"longitude_deg":75.8392704,"latitude_deg":11.1919264,"altitude":24,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342780","hex_latitude":"06abc0a0","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309754624001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786366494000,"timestamp_ms":1786366494000,"timestamp_seconds":1786366494,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd8530"} 
[2026-08-10 18:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:27: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-08-10 18:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309754624001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309754624001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:27:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309754624001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":153033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:27:10] local.INFO: GPS data processed {"connection_id":153033,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:27:10] local.INFO: Acknowledgment sent {"connection_id":153033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:27:12] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:27:12] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:27:12] local.INFO: IMEI packet received {"connection_id":151711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":151711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:27:12] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:27:12] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:27:12] local.INFO: Packet analysis {"connection_id":151711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:12] local.INFO: Extracted packet for processing {"connection_id":151711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736480,"longitude_deg":76.3247232,"latitude_deg":9.773648,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35720","is_valid_coordinates":true} 
[2026-08-10 18:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786366486000,"timestamp_ms":1786366486000,"timestamp_seconds":1786366486,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd65f0"} 
[2026-08-10 18:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:27: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-08-10 18:27: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":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":5329,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:27:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":5329,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":151711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:27:13] local.INFO: GPS data processed {"connection_id":151711,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:27:13] local.INFO: Acknowledgment sent {"connection_id":151711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:27:20] local.INFO: TCP Data received {"connection_id":151710,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febbdb410012d1876c0072181d8004c010823..."} 
[2026-08-10 18:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbdb410012d1876c0072181d8004c010823..."} 
[2026-08-10 18:27:20] local.INFO: Processing buffer {"connection_id":151710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbdb410012d1876c0072181d8004c010823..."} 
[2026-08-10 18:27:20] local.INFO: Packet analysis {"connection_id":151710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:20] local.INFO: Extracted packet for processing {"connection_id":151710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:20] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636440,"longitude_deg":75.6577984,"latitude_deg":11.963644,"altitude":76,"angle":264,"satellites":35,"speed":24,"hex_longitude":"2d1876c0","hex_latitude":"072181d8","is_valid_coordinates":true} 
[2026-08-10 18:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309824000001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11535350149152768,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766888828183832576,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786366506000,"timestamp_ms":1786366506000,"timestamp_seconds":1786366506,"priority":1,"record_length":96,"hex_timestamp":"0000019febbdb410"} 
[2026-08-10 18:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-10 18:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309824000001,"66":14048,"121":206,"28":31744,"24":24,"16":11535350149152768,"45":1766888828183832576},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 18:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309824000001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:27:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 18:27:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11535350149152768,"km_value":11535350149152.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766888828183832576,"description":"Unknown IO ID 45"} 
[2026-08-10 18:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309824000001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1766888828183832576}} 
[2026-08-10 18:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":151710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:27:20] local.INFO: GPS data processed {"connection_id":151710,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:27:20] local.INFO: Acknowledgment sent {"connection_id":151710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:27:41] local.INFO: TCP Data received {"connection_id":152106,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:27:41] local.INFO: Processing buffer {"connection_id":152106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:27:41] local.INFO: IMEI packet received {"connection_id":152106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":152106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:27:42] local.INFO: TCP Data received {"connection_id":153033,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:27:42] local.INFO: Processing buffer {"connection_id":153033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:27:42] local.INFO: Packet analysis {"connection_id":153033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:42] local.INFO: Extracted packet for processing {"connection_id":153033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758392704,"raw_latitude":111919264,"longitude_deg":75.8392704,"latitude_deg":11.1919264,"altitude":24,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342780","hex_latitude":"06abc0a0","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309754624001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786366494000,"timestamp_ms":1786366494000,"timestamp_seconds":1786366494,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd8530"} 
[2026-08-10 18:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309754624001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309754624001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:27:42] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309754624001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":153033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:27:42] local.INFO: GPS data processed {"connection_id":153033,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:27:42] local.INFO: Acknowledgment sent {"connection_id":153033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:27:44] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:27:44] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:27:44] local.INFO: Packet analysis {"connection_id":151711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:44] local.INFO: Extracted packet for processing {"connection_id":151711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736480,"longitude_deg":76.3247232,"latitude_deg":9.773648,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35720","is_valid_coordinates":true} 
[2026-08-10 18:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786366486000,"timestamp_ms":1786366486000,"timestamp_seconds":1786366486,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd65f0"} 
[2026-08-10 18:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:27: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-08-10 18:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":5329,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:27:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:27:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":5329,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":151711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:27:44] local.INFO: GPS data processed {"connection_id":151711,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:27:44] local.INFO: Acknowledgment sent {"connection_id":151711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:27:47] local.INFO: TCP Data received {"connection_id":152106,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:27:47] local.INFO: Processing buffer {"connection_id":152106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:27:47] local.INFO: IMEI packet received {"connection_id":152106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":152106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:27:48] local.INFO: TCP Data received {"connection_id":152106,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febbdcf68012d1865c007218140004d011922..."} 
[2026-08-10 18:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbdcf68012d1865c007218140004d011922..."} 
[2026-08-10 18:27:48] local.INFO: Processing buffer {"connection_id":152106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbdcf68012d1865c007218140004d011922..."} 
[2026-08-10 18:27:48] local.INFO: Packet analysis {"connection_id":152106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:48] local.INFO: Extracted packet for processing {"connection_id":152106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756573632,"raw_latitude":119636288,"longitude_deg":75.6573632,"latitude_deg":11.9636288,"altitude":77,"angle":281,"satellites":34,"speed":25,"hex_longitude":"2d1865c0","hex_latitude":"07218140","is_valid_coordinates":true} 
[2026-08-10 18:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309825536001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11535556307582976,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021589504,"note":"Value kept but may cause issues"} 
[2026-08-10 18:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786366513000,"timestamp_ms":1786366513000,"timestamp_seconds":1786366513,"priority":1,"record_length":96,"hex_timestamp":"0000019febbdcf68"} 
[2026-08-10 18:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 18:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309825536001,"66":14048,"120":206,"28":31744,"24":25,"16":11535556307582976,"45":1762807441021589504},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309825536001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:27:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:27:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11535556307582976,"km_value":11535556307582.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021589504,"description":"Unknown IO ID 45"} 
[2026-08-10 18:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309825536001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1762807441021589504}} 
[2026-08-10 18:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":152106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:27:48] local.INFO: GPS data processed {"connection_id":152106,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:27:48] local.INFO: Acknowledgment sent {"connection_id":152106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:28:03] local.INFO: TCP Data received {"connection_id":154467,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:28:03] local.INFO: Processing buffer {"connection_id":154467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:28:03] local.INFO: IMEI packet received {"connection_id":154467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":154467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:28:06] local.INFO: TCP Data received {"connection_id":153034,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:28:06] local.INFO: Processing buffer {"connection_id":153034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:28:06] local.INFO: IMEI packet received {"connection_id":153034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":153034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:28:08] local.INFO: TCP Data received {"connection_id":154467,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:28:08] local.INFO: Processing buffer {"connection_id":154467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:28:08] local.INFO: IMEI packet received {"connection_id":154467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":154467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:28:10] local.INFO: TCP Data received {"connection_id":154467,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:28:10] local.INFO: Processing buffer {"connection_id":154467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:28:10] local.INFO: Packet analysis {"connection_id":154467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:28:10] local.INFO: Extracted packet for processing {"connection_id":154467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758392704,"raw_latitude":111919264,"longitude_deg":75.8392704,"latitude_deg":11.1919264,"altitude":24,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342780","hex_latitude":"06abc0a0","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309754624001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786366494000,"timestamp_ms":1786366494000,"timestamp_seconds":1786366494,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd8530"} 
[2026-08-10 18:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:28: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-08-10 18:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309754624001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309754624001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:28:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309754624001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":154467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:28:10] local.INFO: GPS data processed {"connection_id":154467,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:28:10] local.INFO: Acknowledgment sent {"connection_id":154467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:28:12] local.INFO: TCP Data received {"connection_id":153034,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:28:12] local.INFO: Processing buffer {"connection_id":153034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:28:12] local.INFO: IMEI packet received {"connection_id":153034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":153034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:28:13] local.INFO: TCP Data received {"connection_id":153034,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:28:13] local.INFO: Processing buffer {"connection_id":153034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:28:13] local.INFO: Packet analysis {"connection_id":153034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:28:13] local.INFO: Extracted packet for processing {"connection_id":153034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736480,"longitude_deg":76.3247232,"latitude_deg":9.773648,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35720","is_valid_coordinates":true} 
[2026-08-10 18:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786366486000,"timestamp_ms":1786366486000,"timestamp_seconds":1786366486,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd65f0"} 
[2026-08-10 18:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18: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-08-10 18: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":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":5329,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:28:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":5329,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":153034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:28:13] local.INFO: GPS data processed {"connection_id":153034,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:28:13] local.INFO: Acknowledgment sent {"connection_id":153034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:28:20] local.INFO: TCP Data received {"connection_id":152106,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febbddf08012d185c00072184d0004e012623..."} 
[2026-08-10 18:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbddf08012d185c00072184d0004e012623..."} 
[2026-08-10 18:28:20] local.INFO: Processing buffer {"connection_id":152106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbddf08012d185c00072184d0004e012623..."} 
[2026-08-10 18:28:20] local.INFO: Packet analysis {"connection_id":152106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:28:20] local.INFO: Extracted packet for processing {"connection_id":152106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756571136,"raw_latitude":119637200,"longitude_deg":75.6571136,"latitude_deg":11.96372,"altitude":78,"angle":294,"satellites":35,"speed":27,"hex_longitude":"2d185c00","hex_latitude":"072184d0","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309827328001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11535685156601856,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758022366417469440,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28: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-08-10 18:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786366517000,"timestamp_ms":1786366517000,"timestamp_seconds":1786366517,"priority":1,"record_length":96,"hex_timestamp":"0000019febbddf08"} 
[2026-08-10 18:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 18:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309827328001,"66":13993,"120":206,"28":31744,"24":27,"16":11535685156601856,"45":1758022366417469440},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309827328001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:28:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:28:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11535685156601856,"km_value":11535685156601.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758022366417469440,"description":"Unknown IO ID 45"} 
[2026-08-10 18:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309827328001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1758022366417469440}} 
[2026-08-10 18:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":152106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:28:20] local.INFO: GPS data processed {"connection_id":152106,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:28:20] local.INFO: Acknowledgment sent {"connection_id":152106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:28:41] local.INFO: TCP Data received {"connection_id":154468,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:28:41] local.INFO: Processing buffer {"connection_id":154468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:28:41] local.INFO: IMEI packet received {"connection_id":154468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":154468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:28:41] local.INFO: TCP Data received {"connection_id":154467,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:28:41] local.INFO: Processing buffer {"connection_id":154467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:28:41] local.INFO: Packet analysis {"connection_id":154467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:28:41] local.INFO: Extracted packet for processing {"connection_id":154467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758392704,"raw_latitude":111919264,"longitude_deg":75.8392704,"latitude_deg":11.1919264,"altitude":24,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342780","hex_latitude":"06abc0a0","is_valid_coordinates":true} 
[2026-08-10 18:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309754624001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786366494000,"timestamp_ms":1786366494000,"timestamp_seconds":1786366494,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd8530"} 
[2026-08-10 18:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309754624001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309754624001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:28:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309754624001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":154467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:28:41] local.INFO: GPS data processed {"connection_id":154467,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:28:41] local.INFO: Acknowledgment sent {"connection_id":154467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:28:44] local.INFO: TCP Data received {"connection_id":154468,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:28:44] local.INFO: Processing buffer {"connection_id":154468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:28:44] local.INFO: IMEI packet received {"connection_id":154468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":154468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:28:44] local.INFO: TCP Data received {"connection_id":153034,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:28:44] local.INFO: Processing buffer {"connection_id":153034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd65f0012d7e3a8005d357200006011327..."} 
[2026-08-10 18:28:44] local.INFO: Packet analysis {"connection_id":153034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:28:44] local.INFO: Extracted packet for processing {"connection_id":153034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:28:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736480,"longitude_deg":76.3247232,"latitude_deg":9.773648,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35720","is_valid_coordinates":true} 
[2026-08-10 18:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786366486000,"timestamp_ms":1786366486000,"timestamp_seconds":1786366486,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd65f0"} 
[2026-08-10 18:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:28: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-08-10 18: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":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":5329,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:28:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:28:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":5329,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":153034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:28:44] local.INFO: GPS data processed {"connection_id":153034,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:28:44] local.INFO: Acknowledgment sent {"connection_id":153034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:28:47] local.INFO: TCP Data received {"connection_id":154468,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:28:47] local.INFO: Processing buffer {"connection_id":154468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:28:47] local.INFO: IMEI packet received {"connection_id":154468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":154468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:28:48] local.INFO: TCP Data received {"connection_id":154468,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febbe11d0012d183b80072193c00050012522..."} 
[2026-08-10 18:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbe11d0012d183b80072193c00050012522..."} 
[2026-08-10 18:28:48] local.INFO: Processing buffer {"connection_id":154468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbe11d0012d183b80072193c00050012522..."} 
[2026-08-10 18:28:48] local.INFO: Packet analysis {"connection_id":154468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbe"} 
[2026-08-10 18:28:48] local.INFO: Extracted packet for processing {"connection_id":154468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbe"} 
[2026-08-10 18:28:48] local.INFO: GPS Element Parsed {"raw_longitude":756562816,"raw_latitude":119641024,"longitude_deg":75.6562816,"latitude_deg":11.9641024,"altitude":80,"angle":293,"satellites":34,"speed":26,"hex_longitude":"2d183b80","hex_latitude":"072193c0","is_valid_coordinates":true} 
[2026-08-10 18:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309828352001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11536118948298752,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755277985394774016,"note":"Value kept but may cause issues"} 
[2026-08-10 18:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786366530000,"timestamp_ms":1786366530000,"timestamp_seconds":1786366530,"priority":1,"record_length":96,"hex_timestamp":"0000019febbe11d0"} 
[2026-08-10 18:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":169,"data_length":795,"current_offset":136} 
[2026-08-10 18:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309828352001,"66":14070,"120":206,"28":31744,"24":26,"16":11536118948298752,"45":1755277985394774016},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309828352001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:28:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:28:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11536118948298752,"km_value":11536118948298.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755277985394774016,"description":"Unknown IO ID 45"} 
[2026-08-10 18:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309828352001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1755277985394774016}} 
[2026-08-10 18:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":154468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:28:49] local.INFO: GPS data processed {"connection_id":154468,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:28:49] local.INFO: Acknowledgment sent {"connection_id":154468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:28:58] local.INFO: TCP Data received {"connection_id":151712,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:28:58] local.INFO: Processing buffer {"connection_id":151712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:28:58] local.INFO: IMEI packet received {"connection_id":151712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":151712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:29:03] local.INFO: TCP Data received {"connection_id":151712,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:29:03] local.INFO: Processing buffer {"connection_id":151712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:29:03] local.INFO: IMEI packet received {"connection_id":151712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":151712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:29:04] local.INFO: TCP Data received {"connection_id":151712,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:29:05] local.INFO: Processing buffer {"connection_id":151712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:29:05] local.INFO: Packet analysis {"connection_id":151712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:29:05] local.INFO: Extracted packet for processing {"connection_id":151712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758392704,"raw_latitude":111919264,"longitude_deg":75.8392704,"latitude_deg":11.1919264,"altitude":24,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342780","hex_latitude":"06abc0a0","is_valid_coordinates":true} 
[2026-08-10 18:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309754624001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786366494000,"timestamp_ms":1786366494000,"timestamp_seconds":1786366494,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd8530"} 
[2026-08-10 18:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:29: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-08-10 18:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:29: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-08-10 18:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309754624001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309754624001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:29:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309754624001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":151712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:29:05] local.INFO: GPS data processed {"connection_id":151712,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:29:05] local.INFO: Acknowledgment sent {"connection_id":151712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:29:06] local.INFO: TCP Data received {"connection_id":153035,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:29:06] local.INFO: Processing buffer {"connection_id":153035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:29:06] local.INFO: IMEI packet received {"connection_id":153035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":153035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:29:12] local.INFO: TCP Data received {"connection_id":153035,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:29:12] local.INFO: Processing buffer {"connection_id":153035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:29:12] local.INFO: IMEI packet received {"connection_id":153035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":153035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:29:12] local.INFO: TCP Data received {"connection_id":153035,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:29:12] local.INFO: Processing buffer {"connection_id":153035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:29:12] local.INFO: Packet analysis {"connection_id":153035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:29:12] local.INFO: Extracted packet for processing {"connection_id":153035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:29:12] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786366730000,"timestamp_ms":1786366730000,"timestamp_seconds":1786366730,"priority":1,"record_length":96,"hex_timestamp":"0000019febc11f10"} 
[2026-08-10 18:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:29: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-08-10 18: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":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:29:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":153035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:29:13] local.INFO: GPS data processed {"connection_id":153035,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:29:13] local.INFO: Acknowledgment sent {"connection_id":153035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:29:20] local.INFO: TCP Data received {"connection_id":154468,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febbe2d28012d182c4007219ae8004f013122..."} 
[2026-08-10 18:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbe2d28012d182c4007219ae8004f013122..."} 
[2026-08-10 18:29:20] local.INFO: Processing buffer {"connection_id":154468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbe2d28012d182c4007219ae8004f013122..."} 
[2026-08-10 18:29:20] local.INFO: Packet analysis {"connection_id":154468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbe"} 
[2026-08-10 18:29:20] local.INFO: Extracted packet for processing {"connection_id":154468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbe"} 
[2026-08-10 18:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119642856,"longitude_deg":75.6558912,"latitude_deg":11.9642856,"altitude":79,"angle":305,"satellites":34,"speed":21,"hex_longitude":"2d182c40","hex_latitude":"07219ae8","is_valid_coordinates":true} 
[2026-08-10 18:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309831680001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11536325106728960,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746130048652656640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29: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-08-10 18:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786366537000,"timestamp_ms":1786366537000,"timestamp_seconds":1786366537,"priority":1,"record_length":96,"hex_timestamp":"0000019febbe2d28"} 
[2026-08-10 18:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 18:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309831680001,"66":14102,"120":206,"28":31744,"24":21,"16":11536325106728960,"45":1746130048652656640},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309831680001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:29:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:29:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11536325106728960,"km_value":11536325106728.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746130048652656640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309831680001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1746130048652656640}} 
[2026-08-10 18:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":154468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:29:20] local.INFO: GPS data processed {"connection_id":154468,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:29:20] local.INFO: Acknowledgment sent {"connection_id":154468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:29:36] local.INFO: TCP Data received {"connection_id":151712,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:29:36] local.INFO: Processing buffer {"connection_id":151712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febbd8530012d34278006abc0a00018007e1f..."} 
[2026-08-10 18:29:36] local.INFO: Packet analysis {"connection_id":151712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:29:36] local.INFO: Extracted packet for processing {"connection_id":151712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febbd"} 
[2026-08-10 18:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758392704,"raw_latitude":111919264,"longitude_deg":75.8392704,"latitude_deg":11.1919264,"altitude":24,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342780","hex_latitude":"06abc0a0","is_valid_coordinates":true} 
[2026-08-10 18:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309754624001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758887236389732352,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786366494000,"timestamp_ms":1786366494000,"timestamp_seconds":1786366494,"priority":1,"record_length":96,"hex_timestamp":"0000019febbd8530"} 
[2026-08-10 18:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 18:29: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-08-10 18:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309754624001,"66":25441,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758887236389732352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309754624001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:29:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758887236389732352,"description":"Unknown IO ID 45"} 
[2026-08-10 18:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309754624001,"power":25441,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758887236389732352}} 
[2026-08-10 18:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":151712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:29:36] local.INFO: GPS data processed {"connection_id":151712,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:29:36] local.INFO: Acknowledgment sent {"connection_id":151712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:29:44] local.INFO: TCP Data received {"connection_id":153035,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:29:44] local.INFO: Processing buffer {"connection_id":153035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:29:44] local.INFO: Packet analysis {"connection_id":153035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:29:44] local.INFO: Extracted packet for processing {"connection_id":153035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:29:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786366730000,"timestamp_ms":1786366730000,"timestamp_seconds":1786366730,"priority":1,"record_length":96,"hex_timestamp":"0000019febc11f10"} 
[2026-08-10 18:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:29: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-08-10 18:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:29:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:29:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":153035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:29:44] local.INFO: GPS data processed {"connection_id":153035,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:29:44] local.INFO: Acknowledgment sent {"connection_id":153035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:29:47] local.INFO: TCP Data received {"connection_id":154469,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:29:47] local.INFO: Processing buffer {"connection_id":154469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:29:47] local.INFO: IMEI packet received {"connection_id":154469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":154469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:29:48] local.INFO: TCP Data received {"connection_id":154469,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:29:48] local.INFO: Processing buffer {"connection_id":154469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:29:48] local.INFO: IMEI packet received {"connection_id":154469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":154469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:29:50] local.INFO: TCP Data received {"connection_id":154469,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febc0d0f0012d1824800721b1500047002f22..."} 
[2026-08-10 18:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc0d0f0012d1824800721b1500047002f22..."} 
[2026-08-10 18:29:50] local.INFO: Processing buffer {"connection_id":154469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc0d0f0012d1824800721b1500047002f22..."} 
[2026-08-10 18:29:50] local.INFO: Packet analysis {"connection_id":154469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc0"} 
[2026-08-10 18:29:50] local.INFO: Extracted packet for processing {"connection_id":154469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc0"} 
[2026-08-10 18:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119648592,"longitude_deg":75.6556928,"latitude_deg":11.9648592,"altitude":71,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-08-10 18:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309872384001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11536711653785600,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213429760,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29: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-08-10 18:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786366710000,"timestamp_ms":1786366710000,"timestamp_seconds":1786366710,"priority":1,"record_length":96,"hex_timestamp":"0000019febc0d0f0"} 
[2026-08-10 18:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:29: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-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867796220,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2287836451881615436,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3955135160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13494136,"corrected_to":0} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3208038401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2947022923,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336310136,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4237164544,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-2305616615179235812,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:50] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,252,159,44,45,128,175,75,39,10,66,218,36,136,1,240,204,235,33,4,113,205,228,35,168,239,51,2,40,7,6,54,124],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":204,"original":13494136,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-10 18:29:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404371380214956032,"timestamp_seconds":5404371380214956.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":154469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":154469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":154469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309872384001,"66":14080,"120":206,"28":31744,"24":0,"16":11536711653785600,"45":1739374649213429760},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309872384001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:29:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:29:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11536711653785600,"km_value":11536711653785.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213429760,"description":"Unknown IO ID 45"} 
[2026-08-10 18:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309872384001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213429760}} 
[2026-08-10 18:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":154469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:29:50] local.INFO: GPS data processed {"connection_id":154469,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:29:50] local.INFO: Acknowledgment sent {"connection_id":154469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:29:52] local.INFO: TCP Data received {"connection_id":154469,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febc11358012d1823000721b158004800e922..."} 
[2026-08-10 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc11358012d1823000721b158004800e922..."} 
[2026-08-10 18:29:52] local.INFO: Processing buffer {"connection_id":154469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc11358012d1823000721b158004800e922..."} 
[2026-08-10 18:29:52] local.INFO: Packet analysis {"connection_id":154469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:29:52] local.INFO: Extracted packet for processing {"connection_id":154469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:29:52] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119648600,"longitude_deg":75.6556544,"latitude_deg":11.96486,"altitude":72,"angle":233,"satellites":34,"speed":5,"hex_longitude":"2d182300","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-10 18:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309877760001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11536733128622080,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190248960,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786366727000,"timestamp_ms":1786366727000,"timestamp_seconds":1786366727,"priority":1,"record_length":96,"hex_timestamp":"0000019febc11358"} 
[2026-08-10 18:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-10 18:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:52] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3955156160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:52] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:52] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3213414401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-10 18:29:52] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:52] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4237164544,"note":"Value kept but may cause issues"} 
[2026-08-10 18:29:52] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,252,159,126,45,128,175,75,35,10,66,44,39,218,1,240,52,235,33,4,113,205,54,168,239,51,2,40,7],"length":479,"final_offset":609,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-10 18:29:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116140999768276992,"timestamp_seconds":5116140999768277.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309877760001,"66":14102,"120":206,"28":31744,"24":5,"16":11536733128622080,"45":1739656124190248960},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309877760001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:29:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:29:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11536733128622080,"km_value":11536733128622.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190248960,"description":"Unknown IO ID 45"} 
[2026-08-10 18:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309877760001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739656124190248960}} 
[2026-08-10 18:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":154469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:29:52] local.INFO: GPS data processed {"connection_id":154469,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:29:52] local.INFO: Acknowledgment sent {"connection_id":154469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:29:57] local.INFO: TCP Data received {"connection_id":154470,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:29:57] local.INFO: Processing buffer {"connection_id":154470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:29:57] local.INFO: IMEI packet received {"connection_id":154470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":154470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:29:58] local.INFO: TCP Data received {"connection_id":154470,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:29:58] local.INFO: Processing buffer {"connection_id":154470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:29:58] local.INFO: IMEI packet received {"connection_id":154470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":154470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:30:03] local.INFO: TCP Data received {"connection_id":154470,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:30:03] local.INFO: Processing buffer {"connection_id":154470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:30:03] local.INFO: IMEI packet received {"connection_id":154470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":154470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:30:04] local.INFO: TCP Data received {"connection_id":154470,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:30:04] local.INFO: Processing buffer {"connection_id":154470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:30:04] local.INFO: Packet analysis {"connection_id":154470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:30:04] local.INFO: Extracted packet for processing {"connection_id":154470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309822464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758113180203655168,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786366795000,"timestamp_ms":1786366795000,"timestamp_seconds":1786366795,"priority":1,"record_length":96,"hex_timestamp":"0000019febc21cf8"} 
[2026-08-10 18:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309822464001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758113180203655168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309822464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:30:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758113180203655168,"description":"Unknown IO ID 45"} 
[2026-08-10 18:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309822464001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758113180203655168}} 
[2026-08-10 18:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":154470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:30:04] local.INFO: GPS data processed {"connection_id":154470,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:30:04] local.INFO: Acknowledgment sent {"connection_id":154470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:30:12] local.INFO: TCP Data received {"connection_id":152107,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:30:12] local.INFO: Processing buffer {"connection_id":152107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:30:12] local.INFO: IMEI packet received {"connection_id":152107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":152107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:30:17] local.INFO: TCP Data received {"connection_id":152107,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:30:17] local.INFO: Processing buffer {"connection_id":152107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:30:17] local.INFO: IMEI packet received {"connection_id":152107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":152107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:30:18] local.INFO: TCP Data received {"connection_id":152107,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:30:18] local.INFO: Processing buffer {"connection_id":152107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:30:18] local.INFO: Packet analysis {"connection_id":152107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:30:18] local.INFO: Extracted packet for processing {"connection_id":152107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:30:18] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786366730000,"timestamp_ms":1786366730000,"timestamp_seconds":1786366730,"priority":1,"record_length":96,"hex_timestamp":"0000019febc11f10"} 
[2026-08-10 18:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:30: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-08-10 18:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:30:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:30:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":152107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:30:18] local.INFO: GPS data processed {"connection_id":152107,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:30:18] local.INFO: Acknowledgment sent {"connection_id":152107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:30:23] local.INFO: TCP Data received {"connection_id":152107,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:30:23] local.INFO: Processing buffer {"connection_id":152107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:30:23] local.INFO: Packet analysis {"connection_id":152107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:30:23] local.INFO: Extracted packet for processing {"connection_id":152107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786366730000,"timestamp_ms":1786366730000,"timestamp_seconds":1786366730,"priority":1,"record_length":96,"hex_timestamp":"0000019febc11f10"} 
[2026-08-10 18:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:30:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:30:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":152107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:30:23] local.INFO: GPS data processed {"connection_id":152107,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:30:23] local.INFO: Acknowledgment sent {"connection_id":152107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:30:23] local.INFO: TCP Data received {"connection_id":154469,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febc11740012d1822800721b0c0004900cc22..."} 
[2026-08-10 18:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc11740012d1822800721b0c0004900cc22..."} 
[2026-08-10 18:30:23] local.INFO: Processing buffer {"connection_id":154469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc11740012d1822800721b0c0004900cc22..."} 
[2026-08-10 18:30:23] local.INFO: Packet analysis {"connection_id":154469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:30:23] local.INFO: Extracted packet for processing {"connection_id":154469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:30:23] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119648448,"longitude_deg":75.6556416,"latitude_deg":11.9648448,"altitude":73,"angle":204,"satellites":34,"speed":9,"hex_longitude":"2d182280","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-08-10 18:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309882112001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11536741718556672,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725185024,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786366728000,"timestamp_ms":1786366728000,"timestamp_seconds":1786366728,"priority":1,"record_length":96,"hex_timestamp":"0000019febc11740"} 
[2026-08-10 18:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:30: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-08-10 18:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 18:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309882112001,"66":14135,"120":206,"28":31744,"24":9,"16":11536741718556672,"45":1739233911725185024},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309882112001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:30:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:30:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11536741718556672,"km_value":11536741718556.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725185024,"description":"Unknown IO ID 45"} 
[2026-08-10 18:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309882112001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1739233911725185024}} 
[2026-08-10 18:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":154469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:30:23] local.INFO: GPS data processed {"connection_id":154469,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:30:23] local.INFO: Acknowledgment sent {"connection_id":154469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:30:35] local.INFO: TCP Data received {"connection_id":154470,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:30:35] local.INFO: Processing buffer {"connection_id":154470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:30:35] local.INFO: Packet analysis {"connection_id":154470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:30:35] local.INFO: Extracted packet for processing {"connection_id":154470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309822464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758113180203655168,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786366795000,"timestamp_ms":1786366795000,"timestamp_seconds":1786366795,"priority":1,"record_length":96,"hex_timestamp":"0000019febc21cf8"} 
[2026-08-10 18:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309822464001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758113180203655168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309822464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:30:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758113180203655168,"description":"Unknown IO ID 45"} 
[2026-08-10 18:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309822464001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758113180203655168}} 
[2026-08-10 18:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":154470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:30:35] local.INFO: GPS data processed {"connection_id":154470,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:30:35] local.INFO: Acknowledgment sent {"connection_id":154470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:30:40] local.INFO: TCP Data received {"connection_id":152108,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:30:40] local.INFO: Processing buffer {"connection_id":152108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:30:40] local.INFO: IMEI packet received {"connection_id":152108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":152108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:30:41] local.INFO: TCP Data received {"connection_id":152108,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:30:41] local.INFO: Processing buffer {"connection_id":152108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:30:41] local.INFO: IMEI packet received {"connection_id":152108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":152108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:30:45] local.INFO: TCP Data received {"connection_id":152108,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:30:45] local.INFO: Processing buffer {"connection_id":152108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:30:45] local.INFO: IMEI packet received {"connection_id":152108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":152108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:30:46] local.INFO: TCP Data received {"connection_id":152108,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febc1f200012d17b44007211960003c009720..."} 
[2026-08-10 18:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc1f200012d17b44007211960003c009720..."} 
[2026-08-10 18:30:46] local.INFO: Processing buffer {"connection_id":152108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc1f200012d17b44007211960003c009720..."} 
[2026-08-10 18:30:46] local.INFO: Packet analysis {"connection_id":152108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:30:46] local.INFO: Extracted packet for processing {"connection_id":152108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756528192,"raw_latitude":119609696,"longitude_deg":75.6528192,"latitude_deg":11.9609696,"altitude":60,"angle":151,"satellites":32,"speed":6,"hex_longitude":"2d17b440","hex_latitude":"07211960","is_valid_coordinates":true} 
[2026-08-10 18:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309896448001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539073885798400,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707919820556204032,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786366784000,"timestamp_ms":1786366784000,"timestamp_seconds":1786366784,"priority":1,"record_length":96,"hex_timestamp":"0000019febc1f200"} 
[2026-08-10 18:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":5,"data_length":795,"current_offset":136} 
[2026-08-10 18:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6977995105,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503775678955520,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:46] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3955326160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:46] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3250534401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-10 18:30:46] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2147950934,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:46] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:46] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4259512320,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84750372375568775,"note":"Value kept but may cause issues"} 
[2026-08-10 18:30:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":20267186736081152,"corrected_to":0} 
[2026-08-10 18:30:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,122,28,24,241,158,16,254,159,234,45,192,26,60,33,10,66,230,27,32,1,240,235,4,113,205,51,221,216,36,239,55,2,40,7,70,38,206,120,200],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0},{"io_id":200,"original":20267186736081152,"validated":0}]} 
[2026-08-10 18:30:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323641597180116992,"timestamp_seconds":4323641597180117.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309896448001,"66":14157,"122":206,"28":31744,"24":6,"16":11539073885798400,"45":1707919820556204032},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-10 18:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309896448001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:30:46] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-10 18:30:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11539073885798400,"km_value":11539073885798.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707919820556204032,"description":"Unknown IO ID 45"} 
[2026-08-10 18:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309896448001,"power":14157,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1707919820556204032}} 
[2026-08-10 18:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":152108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:30:46] local.INFO: GPS data processed {"connection_id":152108,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:30:46] local.INFO: Acknowledgment sent {"connection_id":152108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:31:04] local.INFO: TCP Data received {"connection_id":151713,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:31:04] local.INFO: Processing buffer {"connection_id":151713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:31:04] local.INFO: IMEI packet received {"connection_id":151713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":151713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:31:06] local.INFO: TCP Data received {"connection_id":152109,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:31:06] local.INFO: Processing buffer {"connection_id":152109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:31:06] local.INFO: IMEI packet received {"connection_id":152109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":152109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:31:08] local.INFO: TCP Data received {"connection_id":151713,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:31:08] local.INFO: Processing buffer {"connection_id":151713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:31:08] local.INFO: IMEI packet received {"connection_id":151713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":151713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:31:09] local.INFO: TCP Data received {"connection_id":151713,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:31:09] local.INFO: Processing buffer {"connection_id":151713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:31:09] local.INFO: Packet analysis {"connection_id":151713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:31:09] local.INFO: Extracted packet for processing {"connection_id":151713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309822464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758113180203655168,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786366795000,"timestamp_ms":1786366795000,"timestamp_seconds":1786366795,"priority":1,"record_length":96,"hex_timestamp":"0000019febc21cf8"} 
[2026-08-10 18:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309822464001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758113180203655168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309822464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:31:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758113180203655168,"description":"Unknown IO ID 45"} 
[2026-08-10 18:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309822464001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758113180203655168}} 
[2026-08-10 18:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":151713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:31:09] local.INFO: GPS data processed {"connection_id":151713,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:31:09] local.INFO: Acknowledgment sent {"connection_id":151713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:31:12] local.INFO: TCP Data received {"connection_id":152109,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:31:12] local.INFO: Processing buffer {"connection_id":152109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:31:12] local.INFO: IMEI packet received {"connection_id":152109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":152109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:31:13] local.INFO: TCP Data received {"connection_id":152109,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:31:13] local.INFO: Processing buffer {"connection_id":152109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:31:13] local.INFO: Packet analysis {"connection_id":152109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:31:13] local.INFO: Extracted packet for processing {"connection_id":152109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786366730000,"timestamp_ms":1786366730000,"timestamp_seconds":1786366730,"priority":1,"record_length":96,"hex_timestamp":"0000019febc11f10"} 
[2026-08-10 18:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:31:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":152109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:31:13] local.INFO: GPS data processed {"connection_id":152109,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:31:13] local.INFO: Acknowledgment sent {"connection_id":152109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:31:14] local.INFO: TCP Data received {"connection_id":151713,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:31:14] local.INFO: Processing buffer {"connection_id":151713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:31:14] local.INFO: Packet analysis {"connection_id":151713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:31:14] local.INFO: Extracted packet for processing {"connection_id":151713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309822464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758113180203655168,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786366795000,"timestamp_ms":1786366795000,"timestamp_seconds":1786366795,"priority":1,"record_length":96,"hex_timestamp":"0000019febc21cf8"} 
[2026-08-10 18:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309822464001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758113180203655168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309822464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:31:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758113180203655168,"description":"Unknown IO ID 45"} 
[2026-08-10 18:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309822464001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758113180203655168}} 
[2026-08-10 18:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":151713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:31:14] local.INFO: GPS data processed {"connection_id":151713,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:31:14] local.INFO: Acknowledgment sent {"connection_id":151713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:31:18] local.INFO: TCP Data received {"connection_id":152108,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febc22c98012d17be0007210780003800a422..."} 
[2026-08-10 18:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc22c98012d17be0007210780003800a422..."} 
[2026-08-10 18:31:18] local.INFO: Processing buffer {"connection_id":152108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc22c98012d17be0007210780003800a422..."} 
[2026-08-10 18:31:18] local.INFO: Packet analysis {"connection_id":152108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:31:18] local.INFO: Extracted packet for processing {"connection_id":152108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756530688,"raw_latitude":119605120,"longitude_deg":75.6530688,"latitude_deg":11.960512,"altitude":56,"angle":164,"satellites":34,"speed":16,"hex_longitude":"2d17be00","hex_latitude":"07210780","is_valid_coordinates":true} 
[2026-08-10 18:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309896704001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539327288868864,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708060558044520448,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786366799000,"timestamp_ms":1786366799000,"timestamp_seconds":1786366799,"priority":1,"record_length":96,"hex_timestamp":"0000019febc22c98"} 
[2026-08-10 18:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 18:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309896704001,"66":14189,"122":206,"28":31744,"24":16,"16":11539327288868864,"45":1708060558044520448},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-10 18:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309896704001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:31:18] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-10 18:31:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11539327288868864,"km_value":11539327288868.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708060558044520448,"description":"Unknown IO ID 45"} 
[2026-08-10 18:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309896704001,"power":14189,"unknown_122":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1708060558044520448}} 
[2026-08-10 18:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":152108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:31:18] local.INFO: GPS data processed {"connection_id":152108,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:31:18] local.INFO: Acknowledgment sent {"connection_id":152108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:31:41] local.INFO: TCP Data received {"connection_id":154471,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:31:41] local.INFO: Processing buffer {"connection_id":154471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:31:41] local.INFO: IMEI packet received {"connection_id":154471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":154471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:31:45] local.INFO: TCP Data received {"connection_id":152109,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:31:45] local.INFO: Processing buffer {"connection_id":152109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:31:45] local.INFO: Packet analysis {"connection_id":152109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:31:45] local.INFO: Extracted packet for processing {"connection_id":152109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:31:45] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786366730000,"timestamp_ms":1786366730000,"timestamp_seconds":1786366730,"priority":1,"record_length":96,"hex_timestamp":"0000019febc11f10"} 
[2026-08-10 18:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:31: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-08-10 18: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":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:31:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:31:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":152109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:31:45] local.INFO: GPS data processed {"connection_id":152109,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:31:45] local.INFO: Acknowledgment sent {"connection_id":152109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:31:46] local.INFO: TCP Data received {"connection_id":154471,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:31:46] local.INFO: Processing buffer {"connection_id":154471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:31:46] local.INFO: IMEI packet received {"connection_id":154471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":154471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:31:48] local.INFO: TCP Data received {"connection_id":154471,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febc24408012d17c0c0072100a00038009221..."} 
[2026-08-10 18:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc24408012d17c0c0072100a00038009221..."} 
[2026-08-10 18:31:48] local.INFO: Processing buffer {"connection_id":154471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc24408012d17c0c0072100a00038009221..."} 
[2026-08-10 18:31:48] local.INFO: Packet analysis {"connection_id":154471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:31:48] local.INFO: Extracted packet for processing {"connection_id":154471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756531392,"raw_latitude":119603360,"longitude_deg":75.6531392,"latitude_deg":11.960336,"altitude":56,"angle":146,"satellites":33,"speed":15,"hex_longitude":"2d17c0c0","hex_latitude":"072100a0","is_valid_coordinates":true} 
[2026-08-10 18:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309900544001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539417483182080,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710804939066277888,"note":"Value kept but may cause issues"} 
[2026-08-10 18:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786366805000,"timestamp_ms":1786366805000,"timestamp_seconds":1786366805,"priority":1,"record_length":96,"hex_timestamp":"0000019febc24408"} 
[2026-08-10 18:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 18:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309900544001,"66":14211,"122":206,"28":31744,"24":15,"16":11539417483182080,"45":1710804939066277888},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-10 18:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309900544001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:31:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-10 18:31:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11539417483182080,"km_value":11539417483182.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710804939066277888,"description":"Unknown IO ID 45"} 
[2026-08-10 18:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309900544001,"power":14211,"unknown_122":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1710804939066277888}} 
[2026-08-10 18:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":154471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:31:48] local.INFO: GPS data processed {"connection_id":154471,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:31:48] local.INFO: Acknowledgment sent {"connection_id":154471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:32:06] local.INFO: TCP Data received {"connection_id":153036,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:32:06] local.INFO: Processing buffer {"connection_id":153036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:32:06] local.INFO: IMEI packet received {"connection_id":153036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":153036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:32:07] local.INFO: TCP Data received {"connection_id":153037,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:32:07] local.INFO: Processing buffer {"connection_id":153037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:32:07] local.INFO: IMEI packet received {"connection_id":153037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":153037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:32:07] local.INFO: TCP Data received {"connection_id":153036,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:32:07] local.INFO: Processing buffer {"connection_id":153036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:32:07] local.INFO: IMEI packet received {"connection_id":153036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":153036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:32:08] local.INFO: TCP Data received {"connection_id":153036,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:32:08] local.INFO: Processing buffer {"connection_id":153036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:32:08] local.INFO: Packet analysis {"connection_id":153036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:32:08] local.INFO: Extracted packet for processing {"connection_id":153036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309822464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758113180203655168,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786366795000,"timestamp_ms":1786366795000,"timestamp_seconds":1786366795,"priority":1,"record_length":96,"hex_timestamp":"0000019febc21cf8"} 
[2026-08-10 18:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309822464001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758113180203655168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309822464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:32:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758113180203655168,"description":"Unknown IO ID 45"} 
[2026-08-10 18:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309822464001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758113180203655168}} 
[2026-08-10 18:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":153036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:32:08] local.INFO: GPS data processed {"connection_id":153036,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:32:08] local.INFO: Acknowledgment sent {"connection_id":153036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:32:09] local.INFO: TCP Data received {"connection_id":153036,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:32:09] local.INFO: Processing buffer {"connection_id":153036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:32:09] local.INFO: Packet analysis {"connection_id":153036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:32:09] local.INFO: Extracted packet for processing {"connection_id":153036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309822464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758113180203655168,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786366795000,"timestamp_ms":1786366795000,"timestamp_seconds":1786366795,"priority":1,"record_length":96,"hex_timestamp":"0000019febc21cf8"} 
[2026-08-10 18:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309822464001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758113180203655168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309822464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:32:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758113180203655168,"description":"Unknown IO ID 45"} 
[2026-08-10 18:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309822464001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758113180203655168}} 
[2026-08-10 18:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":153036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:32:09] local.INFO: GPS data processed {"connection_id":153036,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:32:09] local.INFO: Acknowledgment sent {"connection_id":153036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:32:12] local.INFO: TCP Data received {"connection_id":153037,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:32:12] local.INFO: Processing buffer {"connection_id":153037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:32:12] local.INFO: IMEI packet received {"connection_id":153037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":153037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:32:13] local.INFO: TCP Data received {"connection_id":153037,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:32:13] local.INFO: Processing buffer {"connection_id":153037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:32:13] local.INFO: Packet analysis {"connection_id":153037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:32:13] local.INFO: Extracted packet for processing {"connection_id":153037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:32:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786366730000,"timestamp_ms":1786366730000,"timestamp_seconds":1786366730,"priority":1,"record_length":96,"hex_timestamp":"0000019febc11f10"} 
[2026-08-10 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-08-10 18:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:32:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:32:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":153037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:32:13] local.INFO: GPS data processed {"connection_id":153037,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:32:13] local.INFO: Acknowledgment sent {"connection_id":153037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:32:19] local.INFO: TCP Data received {"connection_id":154471,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febc39010012d17ad400720b590003200d121..."} 
[2026-08-10 18:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc39010012d17ad400720b590003200d121..."} 
[2026-08-10 18:32:19] local.INFO: Processing buffer {"connection_id":154471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc39010012d17ad400720b590003200d121..."} 
[2026-08-10 18:32:19] local.INFO: Packet analysis {"connection_id":154471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc3"} 
[2026-08-10 18:32:19] local.INFO: Extracted packet for processing {"connection_id":154471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc3"} 
[2026-08-10 18:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756526400,"raw_latitude":119584144,"longitude_deg":75.65264,"latitude_deg":11.9584144,"altitude":50,"angle":209,"satellites":33,"speed":2,"hex_longitude":"2d17ad40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-10 18:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309920000001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11540645843828736,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705949495712937984,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786366890000,"timestamp_ms":1786366890000,"timestamp_seconds":1786366890,"priority":1,"record_length":96,"hex_timestamp":"0000019febc39010"} 
[2026-08-10 18:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-10 18:32: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-08-10 18:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309920000001,"66":14070,"122":206,"28":31744,"24":2,"16":11540645843828736,"45":1705949495712937984},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-10 18:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309920000001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:32:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-10 18:32:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11540645843828736,"km_value":11540645843828.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705949495712937984,"description":"Unknown IO ID 45"} 
[2026-08-10 18:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309920000001,"power":14070,"unknown_122":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1705949495712937984}} 
[2026-08-10 18:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":154471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:32:19] local.INFO: GPS data processed {"connection_id":154471,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:32:19] local.INFO: Acknowledgment sent {"connection_id":154471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:32:40] local.INFO: TCP Data received {"connection_id":153036,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:32:40] local.INFO: Processing buffer {"connection_id":153036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:32:40] local.INFO: Packet analysis {"connection_id":153036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:32:40] local.INFO: Extracted packet for processing {"connection_id":153036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309822464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758113180203655168,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786366795000,"timestamp_ms":1786366795000,"timestamp_seconds":1786366795,"priority":1,"record_length":96,"hex_timestamp":"0000019febc21cf8"} 
[2026-08-10 18:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:32: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-08-10 18:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309822464001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758113180203655168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309822464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:32:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758113180203655168,"description":"Unknown IO ID 45"} 
[2026-08-10 18:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309822464001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758113180203655168}} 
[2026-08-10 18:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":153036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:32:40] local.INFO: GPS data processed {"connection_id":153036,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:32:40] local.INFO: Acknowledgment sent {"connection_id":153036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:32:42] local.INFO: TCP Data received {"connection_id":154472,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:32:42] local.INFO: Processing buffer {"connection_id":154472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:32:42] local.INFO: IMEI packet received {"connection_id":154472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":154472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:32:44] local.INFO: TCP Data received {"connection_id":153037,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:32:44] local.INFO: Processing buffer {"connection_id":153037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:32:44] local.INFO: Packet analysis {"connection_id":153037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:32:44] local.INFO: Extracted packet for processing {"connection_id":153037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:32:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786366730000,"timestamp_ms":1786366730000,"timestamp_seconds":1786366730,"priority":1,"record_length":96,"hex_timestamp":"0000019febc11f10"} 
[2026-08-10 18:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:32: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-08-10 18:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:32:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:32:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":153037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:32:44] local.INFO: GPS data processed {"connection_id":153037,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:32:44] local.INFO: Acknowledgment sent {"connection_id":153037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:32:46] local.INFO: TCP Data received {"connection_id":154472,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:32:46] local.INFO: Processing buffer {"connection_id":154472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:32:46] local.INFO: IMEI packet received {"connection_id":154472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":154472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:32:48] local.INFO: TCP Data received {"connection_id":154472,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febc397e0012d17acc00720b540003200ea21..."} 
[2026-08-10 18:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc397e0012d17acc00720b540003200ea21..."} 
[2026-08-10 18:32:48] local.INFO: Processing buffer {"connection_id":154472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc397e0012d17acc00720b540003200ea21..."} 
[2026-08-10 18:32:48] local.INFO: Packet analysis {"connection_id":154472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc3"} 
[2026-08-10 18:32:48] local.INFO: Extracted packet for processing {"connection_id":154472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc3"} 
[2026-08-10 18:32:48] local.INFO: GPS Element Parsed {"raw_longitude":756526272,"raw_latitude":119584064,"longitude_deg":75.6526272,"latitude_deg":11.9584064,"altitude":50,"angle":234,"satellites":33,"speed":2,"hex_longitude":"2d17acc0","hex_latitude":"0720b540","is_valid_coordinates":true} 
[2026-08-10 18:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309923840001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11540654433763328,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706090233201004544,"note":"Value kept but may cause issues"} 
[2026-08-10 18:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786366892000,"timestamp_ms":1786366892000,"timestamp_seconds":1786366892,"priority":1,"record_length":96,"hex_timestamp":"0000019febc397e0"} 
[2026-08-10 18:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-10 18:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309923840001,"66":13993,"122":206,"28":31744,"24":2,"16":11540654433763328,"45":1706090233201004544},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-10 18:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309923840001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:32:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-10 18:32:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11540654433763328,"km_value":11540654433763.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706090233201004544,"description":"Unknown IO ID 45"} 
[2026-08-10 18:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309923840001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1706090233201004544}} 
[2026-08-10 18:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":154472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:32:48] local.INFO: GPS data processed {"connection_id":154472,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:32:48] local.INFO: Acknowledgment sent {"connection_id":154472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:32:58] local.INFO: TCP Data received {"connection_id":152110,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:32:58] local.INFO: Processing buffer {"connection_id":152110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:32:58] local.INFO: IMEI packet received {"connection_id":152110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":152110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:33:03] local.INFO: TCP Data received {"connection_id":152110,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:33:03] local.INFO: Processing buffer {"connection_id":152110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:33:03] local.INFO: IMEI packet received {"connection_id":152110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":152110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:33:04] local.INFO: TCP Data received {"connection_id":152110,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:33:04] local.INFO: Processing buffer {"connection_id":152110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:33:04] local.INFO: Packet analysis {"connection_id":152110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:33:04] local.INFO: Extracted packet for processing {"connection_id":152110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309822464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758113180203655168,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786366795000,"timestamp_ms":1786366795000,"timestamp_seconds":1786366795,"priority":1,"record_length":96,"hex_timestamp":"0000019febc21cf8"} 
[2026-08-10 18:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309822464001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758113180203655168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309822464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:33:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758113180203655168,"description":"Unknown IO ID 45"} 
[2026-08-10 18:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309822464001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758113180203655168}} 
[2026-08-10 18:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":152110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:33:04] local.INFO: GPS data processed {"connection_id":152110,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:33:04] local.INFO: Acknowledgment sent {"connection_id":152110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:33:06] local.INFO: TCP Data received {"connection_id":153038,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:33:06] local.INFO: Processing buffer {"connection_id":153038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:33:06] local.INFO: IMEI packet received {"connection_id":153038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":153038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:33:12] local.INFO: TCP Data received {"connection_id":153038,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:33:12] local.INFO: Processing buffer {"connection_id":153038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:33:12] local.INFO: IMEI packet received {"connection_id":153038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":153038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:33:13] local.INFO: TCP Data received {"connection_id":153038,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:33:13] local.INFO: Processing buffer {"connection_id":153038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:33:13] local.INFO: Packet analysis {"connection_id":153038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:33:13] local.INFO: Extracted packet for processing {"connection_id":153038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786366730000,"timestamp_ms":1786366730000,"timestamp_seconds":1786366730,"priority":1,"record_length":96,"hex_timestamp":"0000019febc11f10"} 
[2026-08-10 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-08-10 18: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-08-10 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":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:33: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-08-10 18:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:33:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":153038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:33:13] local.INFO: GPS data processed {"connection_id":153038,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:33:13] local.INFO: Acknowledgment sent {"connection_id":153038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:33:19] local.INFO: TCP Data received {"connection_id":154472,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febc3bb08012d17ad000720b5780033003324..."} 
[2026-08-10 18:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc3bb08012d17ad000720b5780033003324..."} 
[2026-08-10 18:33:19] local.INFO: Processing buffer {"connection_id":154472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc3bb08012d17ad000720b5780033003324..."} 
[2026-08-10 18:33:19] local.INFO: Packet analysis {"connection_id":154472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc3"} 
[2026-08-10 18:33:19] local.INFO: Extracted packet for processing {"connection_id":154472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc3"} 
[2026-08-10 18:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756526336,"raw_latitude":119584120,"longitude_deg":75.6526336,"latitude_deg":11.958412,"altitude":51,"angle":51,"satellites":36,"speed":2,"hex_longitude":"2d17ad00","hex_latitude":"0720b578","is_valid_coordinates":true} 
[2026-08-10 18:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309924352001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11540663023697920,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705949495712628736,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786366901000,"timestamp_ms":1786366901000,"timestamp_seconds":1786366901,"priority":1,"record_length":96,"hex_timestamp":"0000019febc3bb08"} 
[2026-08-10 18:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-10 18:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309924352001,"66":13472,"122":206,"28":31744,"24":2,"16":11540663023697920,"45":1705949495712628736},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-10 18:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309924352001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:33:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-10 18:33:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11540663023697920,"km_value":11540663023697.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705949495712628736,"description":"Unknown IO ID 45"} 
[2026-08-10 18:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309924352001,"power":13472,"unknown_122":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1705949495712628736}} 
[2026-08-10 18:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":154472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:33:19] local.INFO: GPS data processed {"connection_id":154472,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:33:19] local.INFO: Acknowledgment sent {"connection_id":154472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:33:35] local.INFO: TCP Data received {"connection_id":152110,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:33:35] local.INFO: Processing buffer {"connection_id":152110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:33:35] local.INFO: Packet analysis {"connection_id":152110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:33:35] local.INFO: Extracted packet for processing {"connection_id":152110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309822464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758113180203655168,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786366795000,"timestamp_ms":1786366795000,"timestamp_seconds":1786366795,"priority":1,"record_length":96,"hex_timestamp":"0000019febc21cf8"} 
[2026-08-10 18:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309822464001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758113180203655168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309822464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:33:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758113180203655168,"description":"Unknown IO ID 45"} 
[2026-08-10 18:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309822464001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758113180203655168}} 
[2026-08-10 18:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":152110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:33:35] local.INFO: GPS data processed {"connection_id":152110,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:33:35] local.INFO: Acknowledgment sent {"connection_id":152110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:33:40] local.INFO: TCP Data received {"connection_id":152111,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:33:40] local.INFO: Processing buffer {"connection_id":152111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:33:40] local.INFO: IMEI packet received {"connection_id":152111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":152111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:33:41] local.INFO: TCP Data received {"connection_id":152111,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:33:41] local.INFO: Processing buffer {"connection_id":152111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:33:41] local.INFO: IMEI packet received {"connection_id":152111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":152111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:33:41] local.INFO: TCP Data received {"connection_id":152111,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:33:41] local.INFO: Processing buffer {"connection_id":152111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:33:41] local.INFO: IMEI packet received {"connection_id":152111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":152111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:33:42] local.INFO: TCP Data received {"connection_id":152111,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:33:42] local.INFO: Processing buffer {"connection_id":152111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:33:42] local.INFO: IMEI packet received {"connection_id":152111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":152111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:33:44] local.INFO: TCP Data received {"connection_id":153038,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:33:44] local.INFO: Processing buffer {"connection_id":153038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc11f10012d7e3a8005d357100006011328..."} 
[2026-08-10 18:33:44] local.INFO: Packet analysis {"connection_id":153038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:33:44] local.INFO: Extracted packet for processing {"connection_id":153038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc1"} 
[2026-08-10 18:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309820416001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937032192,"note":"Value kept but may cause issues"} 
[2026-08-10 18:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786366730000,"timestamp_ms":1786366730000,"timestamp_seconds":1786366730,"priority":1,"record_length":96,"hex_timestamp":"0000019febc11f10"} 
[2026-08-10 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-08-10 18:33: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-08-10 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":20,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-10 18:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2179,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309820416001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937032192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309820416001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:33:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937032192,"description":"Unknown IO ID 45"} 
[2026-08-10 18:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309820416001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937032192}} 
[2026-08-10 18:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":153038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:33:44] local.INFO: GPS data processed {"connection_id":153038,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:33:44] local.INFO: Acknowledgment sent {"connection_id":153038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:33:58] local.INFO: TCP Data received {"connection_id":154473,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:33:58] local.INFO: Processing buffer {"connection_id":154473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:33:58] local.INFO: IMEI packet received {"connection_id":154473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":154473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:34:03] local.INFO: TCP Data received {"connection_id":154473,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:34:03] local.INFO: Processing buffer {"connection_id":154473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:34:03] local.INFO: IMEI packet received {"connection_id":154473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":154473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:34:04] local.INFO: TCP Data received {"connection_id":154473,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:34:04] local.INFO: Processing buffer {"connection_id":154473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:34:04] local.INFO: Packet analysis {"connection_id":154473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:34:04] local.INFO: Extracted packet for processing {"connection_id":154473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309822464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758113180203655168,"note":"Value kept but may cause issues"} 
[2026-08-10 18:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786366795000,"timestamp_ms":1786366795000,"timestamp_seconds":1786366795,"priority":1,"record_length":96,"hex_timestamp":"0000019febc21cf8"} 
[2026-08-10 18:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309822464001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758113180203655168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309822464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:34:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758113180203655168,"description":"Unknown IO ID 45"} 
[2026-08-10 18:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309822464001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758113180203655168}} 
[2026-08-10 18:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":154473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:34:04] local.INFO: GPS data processed {"connection_id":154473,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:34:04] local.INFO: Acknowledgment sent {"connection_id":154473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:34:07] local.INFO: TCP Data received {"connection_id":152112,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:34:07] local.INFO: Processing buffer {"connection_id":152112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:34:07] local.INFO: IMEI packet received {"connection_id":152112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":152112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:34:12] local.INFO: TCP Data received {"connection_id":152112,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:34:12] local.INFO: Processing buffer {"connection_id":152112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:34:12] local.INFO: IMEI packet received {"connection_id":152112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":152112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:34:13] local.INFO: TCP Data received {"connection_id":152112,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:34:13] local.INFO: Processing buffer {"connection_id":152112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:34:13] local.INFO: Packet analysis {"connection_id":152112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:34:13] local.INFO: Extracted packet for processing {"connection_id":152112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309882880001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786367031000,"timestamp_ms":1786367031000,"timestamp_seconds":1786367031,"priority":1,"record_length":96,"hex_timestamp":"0000019febc5b6d8"} 
[2026-08-10 18:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:34: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":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:34: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-08-10 18:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309882880001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309882880001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:34:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309882880001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":152112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:34:13] local.INFO: GPS data processed {"connection_id":152112,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:34:13] local.INFO: Acknowledgment sent {"connection_id":152112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:34:36] local.INFO: TCP Data received {"connection_id":154473,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:34:36] local.INFO: Processing buffer {"connection_id":154473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc21cf8012d34248006abc190001d007e25..."} 
[2026-08-10 18:34:36] local.INFO: Packet analysis {"connection_id":154473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:34:36] local.INFO: Extracted packet for processing {"connection_id":154473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc2"} 
[2026-08-10 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309822464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758113180203655168,"note":"Value kept but may cause issues"} 
[2026-08-10 18:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786366795000,"timestamp_ms":1786366795000,"timestamp_seconds":1786366795,"priority":1,"record_length":96,"hex_timestamp":"0000019febc21cf8"} 
[2026-08-10 18:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 18:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:34: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-08-10 18:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309822464001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3758113180203655168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309822464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:34:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758113180203655168,"description":"Unknown IO ID 45"} 
[2026-08-10 18:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309822464001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758113180203655168}} 
[2026-08-10 18:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":154473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:34:36] local.INFO: GPS data processed {"connection_id":154473,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:34:36] local.INFO: Acknowledgment sent {"connection_id":154473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:34:51] local.INFO: TCP Data received {"connection_id":152112,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:34:51] local.INFO: Processing buffer {"connection_id":152112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:34:51] local.INFO: Packet analysis {"connection_id":152112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:34:51] local.INFO: Extracted packet for processing {"connection_id":152112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:34:51] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309882880001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786367031000,"timestamp_ms":1786367031000,"timestamp_seconds":1786367031,"priority":1,"record_length":96,"hex_timestamp":"0000019febc5b6d8"} 
[2026-08-10 18:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309882880001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309882880001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:34:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309882880001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":152112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:34:51] local.INFO: GPS data processed {"connection_id":152112,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:34:51] local.INFO: Acknowledgment sent {"connection_id":152112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:34:58] local.INFO: TCP Data received {"connection_id":151714,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:34:58] local.INFO: Processing buffer {"connection_id":151714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:34:58] local.INFO: IMEI packet received {"connection_id":151714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":151714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:34:58] local.INFO: TCP Data received {"connection_id":151714,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:34:58] local.INFO: Processing buffer {"connection_id":151714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:34:58] local.INFO: IMEI packet received {"connection_id":151714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":151714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:35:03] local.INFO: TCP Data received {"connection_id":151714,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:35:03] local.INFO: Processing buffer {"connection_id":151714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:35:03] local.INFO: IMEI packet received {"connection_id":151714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":151714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:35:04] local.INFO: TCP Data received {"connection_id":151714,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:35:04] local.INFO: Processing buffer {"connection_id":151714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:35:04] local.INFO: Packet analysis {"connection_id":151714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:35:04] local.INFO: Extracted packet for processing {"connection_id":151714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":37,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309899520001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786367091000,"timestamp_ms":1786367091000,"timestamp_seconds":1786367091,"priority":1,"record_length":96,"hex_timestamp":"0000019febc6a138"} 
[2026-08-10 18:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 18:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309899520001,"66":25191,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309899520001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:35:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309899520001,"power":25191,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":151714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:35:04] local.INFO: GPS data processed {"connection_id":151714,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:35:04] local.INFO: Acknowledgment sent {"connection_id":151714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:35:06] local.INFO: TCP Data received {"connection_id":154474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:35:06] local.INFO: Processing buffer {"connection_id":154474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:35:06] local.INFO: IMEI packet received {"connection_id":154474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":154474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:35:12] local.INFO: TCP Data received {"connection_id":154474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:35:12] local.INFO: Processing buffer {"connection_id":154474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:35:12] local.INFO: IMEI packet received {"connection_id":154474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":154474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:35:13] local.INFO: TCP Data received {"connection_id":154474,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:35:13] local.INFO: Processing buffer {"connection_id":154474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:35:13] local.INFO: Packet analysis {"connection_id":154474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:35:13] local.INFO: Extracted packet for processing {"connection_id":154474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309882880001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786367031000,"timestamp_ms":1786367031000,"timestamp_seconds":1786367031,"priority":1,"record_length":96,"hex_timestamp":"0000019febc5b6d8"} 
[2026-08-10 18:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:35: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-08-10 18:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309882880001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309882880001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:35:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309882880001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":154474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:35:13] local.INFO: GPS data processed {"connection_id":154474,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:35:13] local.INFO: Acknowledgment sent {"connection_id":154474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:35:35] local.INFO: TCP Data received {"connection_id":151714,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:35:35] local.INFO: Processing buffer {"connection_id":151714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:35:35] local.INFO: Packet analysis {"connection_id":151714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:35:35] local.INFO: Extracted packet for processing {"connection_id":151714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":37,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309899520001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786367091000,"timestamp_ms":1786367091000,"timestamp_seconds":1786367091,"priority":1,"record_length":96,"hex_timestamp":"0000019febc6a138"} 
[2026-08-10 18:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 18:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309899520001,"66":25191,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309899520001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:35:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309899520001,"power":25191,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":151714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:35:35] local.INFO: GPS data processed {"connection_id":151714,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:35:35] local.INFO: Acknowledgment sent {"connection_id":151714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:35:48] local.INFO: TCP Data received {"connection_id":154474,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:35:48] local.INFO: Processing buffer {"connection_id":154474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:35:48] local.INFO: Packet analysis {"connection_id":154474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:35:48] local.INFO: Extracted packet for processing {"connection_id":154474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:35:48] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309882880001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786367031000,"timestamp_ms":1786367031000,"timestamp_seconds":1786367031,"priority":1,"record_length":96,"hex_timestamp":"0000019febc5b6d8"} 
[2026-08-10 18:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309882880001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309882880001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:35:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:35:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309882880001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":154474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:35:48] local.INFO: GPS data processed {"connection_id":154474,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:35:48] local.INFO: Acknowledgment sent {"connection_id":154474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:35:58] local.INFO: TCP Data received {"connection_id":152114,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:35:58] local.INFO: Processing buffer {"connection_id":152114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:35:58] local.INFO: IMEI packet received {"connection_id":152114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":152114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:36:03] local.INFO: TCP Data received {"connection_id":152114,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:36:03] local.INFO: Processing buffer {"connection_id":152114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:36:03] local.INFO: IMEI packet received {"connection_id":152114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":152114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:36:05] local.INFO: TCP Data received {"connection_id":152114,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:36:05] local.INFO: Processing buffer {"connection_id":152114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:36:05] local.INFO: Packet analysis {"connection_id":152114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:36:05] local.INFO: Extracted packet for processing {"connection_id":152114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":37,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309899520001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786367091000,"timestamp_ms":1786367091000,"timestamp_seconds":1786367091,"priority":1,"record_length":96,"hex_timestamp":"0000019febc6a138"} 
[2026-08-10 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-08-10 18:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 18:36: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-08-10 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-08-10 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-08-10 18:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 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-08-10 18:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309899520001,"66":25191,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309899520001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:36:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309899520001,"power":25191,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":152114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:36:05] local.INFO: GPS data processed {"connection_id":152114,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:36:05] local.INFO: Acknowledgment sent {"connection_id":152114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:36:12] local.INFO: TCP Data received {"connection_id":152115,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:36:12] local.INFO: Processing buffer {"connection_id":152115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:36:12] local.INFO: IMEI packet received {"connection_id":152115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":152115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:36:17] local.INFO: TCP Data received {"connection_id":152115,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:36:17] local.INFO: Processing buffer {"connection_id":152115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:36:17] local.INFO: IMEI packet received {"connection_id":152115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":152115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:36:18] local.INFO: TCP Data received {"connection_id":152115,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:36:18] local.INFO: Processing buffer {"connection_id":152115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:36:18] local.INFO: Packet analysis {"connection_id":152115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:36:18] local.INFO: Extracted packet for processing {"connection_id":152115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:36:18] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309882880001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786367031000,"timestamp_ms":1786367031000,"timestamp_seconds":1786367031,"priority":1,"record_length":96,"hex_timestamp":"0000019febc5b6d8"} 
[2026-08-10 18:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:36: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-08-10 18:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309882880001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309882880001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:36:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:36:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309882880001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":152115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:36:18] local.INFO: GPS data processed {"connection_id":152115,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:36:18] local.INFO: Acknowledgment sent {"connection_id":152115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:36:22] local.INFO: TCP Data received {"connection_id":152115,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:36:22] local.INFO: Processing buffer {"connection_id":152115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:36:22] local.INFO: Packet analysis {"connection_id":152115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:36:22] local.INFO: Extracted packet for processing {"connection_id":152115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:36:22] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309882880001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786367031000,"timestamp_ms":1786367031000,"timestamp_seconds":1786367031,"priority":1,"record_length":96,"hex_timestamp":"0000019febc5b6d8"} 
[2026-08-10 18:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309882880001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309882880001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:36:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:36:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309882880001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":152115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:36:22] local.INFO: GPS data processed {"connection_id":152115,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:36:22] local.INFO: Acknowledgment sent {"connection_id":152115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:36:36] local.INFO: TCP Data received {"connection_id":152114,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:36:36] local.INFO: Processing buffer {"connection_id":152114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:36:36] local.INFO: Packet analysis {"connection_id":152114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:36:36] local.INFO: Extracted packet for processing {"connection_id":152114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":37,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309899520001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786367091000,"timestamp_ms":1786367091000,"timestamp_seconds":1786367091,"priority":1,"record_length":96,"hex_timestamp":"0000019febc6a138"} 
[2026-08-10 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-08-10 18:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 18:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 18:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:36: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-08-10 18:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309899520001,"66":25191,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309899520001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:36:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309899520001,"power":25191,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":152114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:36:36] local.INFO: GPS data processed {"connection_id":152114,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:36:36] local.INFO: Acknowledgment sent {"connection_id":152114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:36:58] local.INFO: TCP Data received {"connection_id":152116,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:36:58] local.INFO: Processing buffer {"connection_id":152116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:36:58] local.INFO: IMEI packet received {"connection_id":152116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":152116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:37:03] local.INFO: TCP Data received {"connection_id":152116,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:37:03] local.INFO: Processing buffer {"connection_id":152116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:37:03] local.INFO: IMEI packet received {"connection_id":152116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":152116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:37:04] local.INFO: TCP Data received {"connection_id":152116,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:37:04] local.INFO: Processing buffer {"connection_id":152116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:37:04] local.INFO: Packet analysis {"connection_id":152116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:37:04] local.INFO: Extracted packet for processing {"connection_id":152116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:37:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":37,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309899520001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786367091000,"timestamp_ms":1786367091000,"timestamp_seconds":1786367091,"priority":1,"record_length":96,"hex_timestamp":"0000019febc6a138"} 
[2026-08-10 18:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 18:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309899520001,"66":25191,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309899520001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:37:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309899520001,"power":25191,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":152116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:37:04] local.INFO: GPS data processed {"connection_id":152116,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:37:04] local.INFO: Acknowledgment sent {"connection_id":152116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:37:06] local.INFO: TCP Data received {"connection_id":152117,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:37:06] local.INFO: Processing buffer {"connection_id":152117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:37:06] local.INFO: IMEI packet received {"connection_id":152117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":152117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:37:11] local.INFO: TCP Data received {"connection_id":152117,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:37:11] local.INFO: Processing buffer {"connection_id":152117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:37:11] local.INFO: IMEI packet received {"connection_id":152117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":152117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:37:12] local.INFO: TCP Data received {"connection_id":152117,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:37:12] local.INFO: Processing buffer {"connection_id":152117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:37:12] local.INFO: Packet analysis {"connection_id":152117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:37:12] local.INFO: Extracted packet for processing {"connection_id":152117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309882880001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786367031000,"timestamp_ms":1786367031000,"timestamp_seconds":1786367031,"priority":1,"record_length":96,"hex_timestamp":"0000019febc5b6d8"} 
[2026-08-10 18:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309882880001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309882880001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:37:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309882880001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":152117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:37:12] local.INFO: GPS data processed {"connection_id":152117,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:37:12] local.INFO: Acknowledgment sent {"connection_id":152117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:37:35] local.INFO: TCP Data received {"connection_id":152116,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:37:35] local.INFO: Processing buffer {"connection_id":152116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:37:35] local.INFO: Packet analysis {"connection_id":152116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:37:35] local.INFO: Extracted packet for processing {"connection_id":152116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":37,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309899520001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786367091000,"timestamp_ms":1786367091000,"timestamp_seconds":1786367091,"priority":1,"record_length":96,"hex_timestamp":"0000019febc6a138"} 
[2026-08-10 18:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 18:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309899520001,"66":25191,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309899520001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:37:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309899520001,"power":25191,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":152116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:37:35] local.INFO: GPS data processed {"connection_id":152116,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:37:35] local.INFO: Acknowledgment sent {"connection_id":152116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:37:43] local.INFO: TCP Data received {"connection_id":152117,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:37:43] local.INFO: Processing buffer {"connection_id":152117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:37:43] local.INFO: Packet analysis {"connection_id":152117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:37:43] local.INFO: Extracted packet for processing {"connection_id":152117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:37:43] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309882880001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786367031000,"timestamp_ms":1786367031000,"timestamp_seconds":1786367031,"priority":1,"record_length":96,"hex_timestamp":"0000019febc5b6d8"} 
[2026-08-10 18:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309882880001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309882880001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:37:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309882880001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":152117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:37:44] local.INFO: GPS data processed {"connection_id":152117,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:37:44] local.INFO: Acknowledgment sent {"connection_id":152117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:38:03] local.INFO: TCP Data received {"connection_id":152118,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:38:03] local.INFO: Processing buffer {"connection_id":152118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:38:03] local.INFO: IMEI packet received {"connection_id":152118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":152118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:38:06] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:38:06] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:38:06] local.INFO: IMEI packet received {"connection_id":151715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":151715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:38:08] local.INFO: TCP Data received {"connection_id":152118,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:38:08] local.INFO: Processing buffer {"connection_id":152118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:38:08] local.INFO: IMEI packet received {"connection_id":152118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":152118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:38:09] local.INFO: TCP Data received {"connection_id":152118,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:38:09] local.INFO: Processing buffer {"connection_id":152118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:38:09] local.INFO: Packet analysis {"connection_id":152118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:38:09] local.INFO: Extracted packet for processing {"connection_id":152118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":37,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309899520001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786367091000,"timestamp_ms":1786367091000,"timestamp_seconds":1786367091,"priority":1,"record_length":96,"hex_timestamp":"0000019febc6a138"} 
[2026-08-10 18:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 18:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309899520001,"66":25191,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309899520001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:38:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309899520001,"power":25191,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":152118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:38:09] local.INFO: GPS data processed {"connection_id":152118,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:38:09] local.INFO: Acknowledgment sent {"connection_id":152118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:38:13] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:38:13] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:38:13] local.INFO: IMEI packet received {"connection_id":151715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":151715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:38:13] local.INFO: TCP Data received {"connection_id":152118,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:38:13] local.INFO: Processing buffer {"connection_id":152118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:38:13] local.INFO: Packet analysis {"connection_id":152118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:38:13] local.INFO: Extracted packet for processing {"connection_id":152118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:38:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":37,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309899520001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786367091000,"timestamp_ms":1786367091000,"timestamp_seconds":1786367091,"priority":1,"record_length":96,"hex_timestamp":"0000019febc6a138"} 
[2026-08-10 18:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 18:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309899520001,"66":25191,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309899520001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:38:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:38:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309899520001,"power":25191,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":152118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:38:13] local.INFO: GPS data processed {"connection_id":152118,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:38:13] local.INFO: Acknowledgment sent {"connection_id":152118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:38:14] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:38:14] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:38:14] local.INFO: Packet analysis {"connection_id":151715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:38:14] local.INFO: Extracted packet for processing {"connection_id":151715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:38:14] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309882880001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786367031000,"timestamp_ms":1786367031000,"timestamp_seconds":1786367031,"priority":1,"record_length":96,"hex_timestamp":"0000019febc5b6d8"} 
[2026-08-10 18:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309882880001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309882880001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:38:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309882880001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":151715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:38:14] local.INFO: GPS data processed {"connection_id":151715,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:38:14] local.INFO: Acknowledgment sent {"connection_id":151715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:38:45] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:38:45] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc5b6d8012d7e3a8005d357100006011327..."} 
[2026-08-10 18:38:45] local.INFO: Packet analysis {"connection_id":151715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:38:45] local.INFO: Extracted packet for processing {"connection_id":151715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc5"} 
[2026-08-10 18:38:45] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309882880001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786367031000,"timestamp_ms":1786367031000,"timestamp_seconds":1786367031,"priority":1,"record_length":96,"hex_timestamp":"0000019febc5b6d8"} 
[2026-08-10 18:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309882880001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309882880001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:38:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:38:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309882880001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":151715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:38:45] local.INFO: GPS data processed {"connection_id":151715,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:38:45] local.INFO: Acknowledgment sent {"connection_id":151715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:38:46] local.INFO: TCP Data received {"connection_id":153041,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:38:46] local.INFO: Processing buffer {"connection_id":153041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:38:46] local.INFO: IMEI packet received {"connection_id":153041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":153041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:38:47] local.INFO: TCP Data received {"connection_id":153041,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febc731c0012d17f28007217a780047002a26..."} 
[2026-08-10 18:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc731c0012d17f28007217a780047002a26..."} 
[2026-08-10 18:38:47] local.INFO: Processing buffer {"connection_id":153041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc731c0012d17f28007217a780047002a26..."} 
[2026-08-10 18:38:47] local.INFO: Packet analysis {"connection_id":153041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc7"} 
[2026-08-10 18:38:47] local.INFO: Extracted packet for processing {"connection_id":153041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc7"} 
[2026-08-10 18:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756544128,"raw_latitude":119634552,"longitude_deg":75.6544128,"latitude_deg":11.9634552,"altitude":71,"angle":42,"satellites":38,"speed":35,"hex_longitude":"2d17f280","hex_latitude":"07217a78","is_valid_coordinates":true} 
[2026-08-10 18:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309981952001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11543678090739712,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719812138326478848,"note":"Value kept but may cause issues"} 
[2026-08-10 18:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786367128000,"timestamp_ms":1786367128000,"timestamp_seconds":1786367128,"priority":1,"record_length":96,"hex_timestamp":"0000019febc731c0"} 
[2026-08-10 18:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 18:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309981952001,"66":14298,"120":206,"28":31744,"24":35,"16":11543678090739712,"45":1719812138326478848},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309981952001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:38:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:38:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11543678090739712,"km_value":11543678090739.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719812138326478848,"description":"Unknown IO ID 45"} 
[2026-08-10 18:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309981952001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1719812138326478848}} 
[2026-08-10 18:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":153041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:38:47] local.INFO: GPS data processed {"connection_id":153041,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:38:47] local.INFO: Acknowledgment sent {"connection_id":153041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:38:58] local.INFO: TCP Data received {"connection_id":154476,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:38:58] local.INFO: Processing buffer {"connection_id":154476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:38:58] local.INFO: IMEI packet received {"connection_id":154476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":154476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:39:03] local.INFO: TCP Data received {"connection_id":154476,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:39:03] local.INFO: Processing buffer {"connection_id":154476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:39:03] local.INFO: IMEI packet received {"connection_id":154476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":154476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:39:04] local.INFO: TCP Data received {"connection_id":154476,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:39:04] local.INFO: Processing buffer {"connection_id":154476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:39:04] local.INFO: Packet analysis {"connection_id":154476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:39:04] local.INFO: Extracted packet for processing {"connection_id":154476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":37,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309899520001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786367091000,"timestamp_ms":1786367091000,"timestamp_seconds":1786367091,"priority":1,"record_length":96,"hex_timestamp":"0000019febc6a138"} 
[2026-08-10 18:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 18:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309899520001,"66":25191,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309899520001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:39:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309899520001,"power":25191,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":154476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:39:04] local.INFO: GPS data processed {"connection_id":154476,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:39:04] local.INFO: Acknowledgment sent {"connection_id":154476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:39:06] local.INFO: TCP Data received {"connection_id":151716,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:39:07] local.INFO: Processing buffer {"connection_id":151716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:39:07] local.INFO: IMEI packet received {"connection_id":151716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":151716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:39:12] local.INFO: TCP Data received {"connection_id":151716,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:39:12] local.INFO: Processing buffer {"connection_id":151716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:39:12] local.INFO: IMEI packet received {"connection_id":151716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":151716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:39:12] local.INFO: TCP Data received {"connection_id":151716,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:39:12] local.INFO: Processing buffer {"connection_id":151716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:39:12] local.INFO: Packet analysis {"connection_id":151716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:39:12] local.INFO: Extracted packet for processing {"connection_id":151716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309959936001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786367332000,"timestamp_ms":1786367332000,"timestamp_seconds":1786367332,"priority":1,"record_length":96,"hex_timestamp":"0000019febca4ea0"} 
[2026-08-10 18:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309959936001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309959936001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:39:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309959936001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":151716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:39:12] local.INFO: GPS data processed {"connection_id":151716,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:39:12] local.INFO: Acknowledgment sent {"connection_id":151716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:39:19] local.INFO: TCP Data received {"connection_id":153041,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febc731c0012d17f28007217a780047002a26..."} 
[2026-08-10 18:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc731c0012d17f28007217a780047002a26..."} 
[2026-08-10 18:39:19] local.INFO: Processing buffer {"connection_id":153041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc731c0012d17f28007217a780047002a26..."} 
[2026-08-10 18:39:19] local.INFO: Packet analysis {"connection_id":153041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc7"} 
[2026-08-10 18:39:19] local.INFO: Extracted packet for processing {"connection_id":153041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc7"} 
[2026-08-10 18:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756544128,"raw_latitude":119634552,"longitude_deg":75.6544128,"latitude_deg":11.9634552,"altitude":71,"angle":42,"satellites":38,"speed":35,"hex_longitude":"2d17f280","hex_latitude":"07217a78","is_valid_coordinates":true} 
[2026-08-10 18:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309984768001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11543678090739712,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725582375351121920,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786367128000,"timestamp_ms":1786367128000,"timestamp_seconds":1786367128,"priority":1,"record_length":96,"hex_timestamp":"0000019febc731c0"} 
[2026-08-10 18:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 18:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309984768001,"66":14298,"120":206,"28":31744,"24":35,"16":11543678090739712,"45":1725582375351121920},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309984768001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:39:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:39:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11543678090739712,"km_value":11543678090739.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725582375351121920,"description":"Unknown IO ID 45"} 
[2026-08-10 18:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309984768001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1725582375351121920}} 
[2026-08-10 18:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":153041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:39:19] local.INFO: GPS data processed {"connection_id":153041,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:39:19] local.INFO: Acknowledgment sent {"connection_id":153041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:39:35] local.INFO: TCP Data received {"connection_id":154476,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:39:35] local.INFO: Processing buffer {"connection_id":154476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc6a138012d34248006abc1900025007e24..."} 
[2026-08-10 18:39:35] local.INFO: Packet analysis {"connection_id":154476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:39:35] local.INFO: Extracted packet for processing {"connection_id":154476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc6"} 
[2026-08-10 18:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":37,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309899520001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786367091000,"timestamp_ms":1786367091000,"timestamp_seconds":1786367091,"priority":1,"record_length":96,"hex_timestamp":"0000019febc6a138"} 
[2026-08-10 18:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 18:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309899520001,"66":25191,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309899520001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:39:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309899520001,"power":25191,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":154476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:39:35] local.INFO: GPS data processed {"connection_id":154476,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:39:35] local.INFO: Acknowledgment sent {"connection_id":154476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:39:41] local.INFO: TCP Data received {"connection_id":154477,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:39:41] local.INFO: Processing buffer {"connection_id":154477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:39:41] local.INFO: IMEI packet received {"connection_id":154477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":154477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:39:43] local.INFO: TCP Data received {"connection_id":151716,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:39:43] local.INFO: Processing buffer {"connection_id":151716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:39:43] local.INFO: Packet analysis {"connection_id":151716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:39:43] local.INFO: Extracted packet for processing {"connection_id":151716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:39:43] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309959936001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786367332000,"timestamp_ms":1786367332000,"timestamp_seconds":1786367332,"priority":1,"record_length":96,"hex_timestamp":"0000019febca4ea0"} 
[2026-08-10 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-08-10 18:39: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-08-10 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309959936001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309959936001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:39:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309959936001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":151716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:39:44] local.INFO: GPS data processed {"connection_id":151716,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:39:44] local.INFO: Acknowledgment sent {"connection_id":151716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:39:47] local.INFO: TCP Data received {"connection_id":154477,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:39:47] local.INFO: Processing buffer {"connection_id":154477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:39:47] local.INFO: IMEI packet received {"connection_id":154477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":154477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:39:48] local.INFO: TCP Data received {"connection_id":154477,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febc760a0012d180d00072192500049002727..."} 
[2026-08-10 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febc760a0012d180d00072192500049002727..."} 
[2026-08-10 18:39:48] local.INFO: Processing buffer {"connection_id":154477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febc760a0012d180d00072192500049002727..."} 
[2026-08-10 18:39:48] local.INFO: Packet analysis {"connection_id":154477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febc7"} 
[2026-08-10 18:39:48] local.INFO: Extracted packet for processing {"connection_id":154477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febc7"} 
[2026-08-10 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119640656,"longitude_deg":75.6550912,"latitude_deg":11.9640656,"altitude":73,"angle":39,"satellites":39,"speed":28,"hex_longitude":"2d180d00","hex_latitude":"07219250","is_valid_coordinates":true} 
[2026-08-10 18:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309984768001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544116177403904,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725582375351121920,"note":"Value kept but may cause issues"} 
[2026-08-10 18:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786367140000,"timestamp_ms":1786367140000,"timestamp_seconds":1786367140,"priority":1,"record_length":96,"hex_timestamp":"0000019febc760a0"} 
[2026-08-10 18:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-10 18:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309984768001,"66":13004,"120":206,"28":31744,"24":28,"16":11544116177403904,"45":1725582375351121920},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309984768001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:39:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:39:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544116177403904,"km_value":11544116177403.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725582375351121920,"description":"Unknown IO ID 45"} 
[2026-08-10 18:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309984768001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1725582375351121920}} 
[2026-08-10 18:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":154477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:39:48] local.INFO: GPS data processed {"connection_id":154477,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:39:48] local.INFO: Acknowledgment sent {"connection_id":154477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:39:58] local.INFO: TCP Data received {"connection_id":152119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:39:58] local.INFO: Processing buffer {"connection_id":152119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:39:58] local.INFO: IMEI packet received {"connection_id":152119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":152119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:39:59] local.INFO: TCP Data received {"connection_id":152119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:39:59] local.INFO: Processing buffer {"connection_id":152119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:39:59] local.INFO: IMEI packet received {"connection_id":152119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":152119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:40:04] local.INFO: TCP Data received {"connection_id":152119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:40:04] local.INFO: Processing buffer {"connection_id":152119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:40:04] local.INFO: IMEI packet received {"connection_id":152119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":152119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:40:05] local.INFO: TCP Data received {"connection_id":152119,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:40:05] local.INFO: Processing buffer {"connection_id":152119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:40:05] local.INFO: Packet analysis {"connection_id":152119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:40:05] local.INFO: Extracted packet for processing {"connection_id":152119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":41,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309975296001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786367385000,"timestamp_ms":1786367385000,"timestamp_seconds":1786367385,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb1da8"} 
[2026-08-10 18:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 18:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:40: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-08-10 18:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309975296001,"66":24897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309975296001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:40:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:40:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309975296001,"power":24897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":152119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:40:05] local.INFO: GPS data processed {"connection_id":152119,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:40:05] local.INFO: Acknowledgment sent {"connection_id":152119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:40:06] local.INFO: TCP Data received {"connection_id":151717,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:40:06] local.INFO: Processing buffer {"connection_id":151717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:40:06] local.INFO: IMEI packet received {"connection_id":151717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":151717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:40:12] local.INFO: TCP Data received {"connection_id":151717,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:40:12] local.INFO: Processing buffer {"connection_id":151717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:40:12] local.INFO: IMEI packet received {"connection_id":151717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":151717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:40:14] local.INFO: TCP Data received {"connection_id":151717,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:40:14] local.INFO: Processing buffer {"connection_id":151717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:40:14] local.INFO: Packet analysis {"connection_id":151717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:40:14] local.INFO: Extracted packet for processing {"connection_id":151717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:40:14] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309959936001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786367332000,"timestamp_ms":1786367332000,"timestamp_seconds":1786367332,"priority":1,"record_length":96,"hex_timestamp":"0000019febca4ea0"} 
[2026-08-10 18:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309959936001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309959936001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:40:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:40:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309959936001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":151717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:40:14] local.INFO: GPS data processed {"connection_id":151717,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:40:14] local.INFO: Acknowledgment sent {"connection_id":151717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:40:20] local.INFO: TCP Data received {"connection_id":154477,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febca46d0012d1824000721b668004e015527..."} 
[2026-08-10 18:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febca46d0012d1824000721b668004e015527..."} 
[2026-08-10 18:40:20] local.INFO: Processing buffer {"connection_id":154477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febca46d0012d1824000721b668004e015527..."} 
[2026-08-10 18:40:20] local.INFO: Packet analysis {"connection_id":154477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:40:20] local.INFO: Extracted packet for processing {"connection_id":154477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649896,"longitude_deg":75.65568,"latitude_deg":11.9649896,"altitude":78,"angle":341,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b668","is_valid_coordinates":true} 
[2026-08-10 18:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310031104001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544730357727232,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702227456,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40: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-08-10 18:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786367330000,"timestamp_ms":1786367330000,"timestamp_seconds":1786367330,"priority":1,"record_length":96,"hex_timestamp":"0000019febca46d0"} 
[2026-08-10 18:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:40: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":161,"data_length":795,"current_offset":136} 
[2026-08-10 18:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310031104001,"66":12961,"120":206,"28":31744,"24":0,"16":11544730357727232,"45":1739515386702227456},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310031104001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:40:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:40:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544730357727232,"km_value":11544730357727.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702227456,"description":"Unknown IO ID 45"} 
[2026-08-10 18:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310031104001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702227456}} 
[2026-08-10 18:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":154477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:40:20] local.INFO: GPS data processed {"connection_id":154477,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:40:20] local.INFO: Acknowledgment sent {"connection_id":154477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:40:36] local.INFO: TCP Data received {"connection_id":152119,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:40:36] local.INFO: Processing buffer {"connection_id":152119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:40:36] local.INFO: Packet analysis {"connection_id":152119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:40:36] local.INFO: Extracted packet for processing {"connection_id":152119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":41,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309975296001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786367385000,"timestamp_ms":1786367385000,"timestamp_seconds":1786367385,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb1da8"} 
[2026-08-10 18:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 18:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309975296001,"66":24897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309975296001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:40:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309975296001,"power":24897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":152119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:40:36] local.INFO: GPS data processed {"connection_id":152119,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:40:36] local.INFO: Acknowledgment sent {"connection_id":152119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:40:41] local.INFO: TCP Data received {"connection_id":152120,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:40:41] local.INFO: Processing buffer {"connection_id":152120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:40:41] local.INFO: IMEI packet received {"connection_id":152120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":152120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:40:45] local.INFO: TCP Data received {"connection_id":151717,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:40:45] local.INFO: Processing buffer {"connection_id":151717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:40:45] local.INFO: Packet analysis {"connection_id":151717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:40:45] local.INFO: Extracted packet for processing {"connection_id":151717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:40:45] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309959936001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786367332000,"timestamp_ms":1786367332000,"timestamp_seconds":1786367332,"priority":1,"record_length":96,"hex_timestamp":"0000019febca4ea0"} 
[2026-08-10 18:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309959936001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309959936001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:40:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:40:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309959936001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":151717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:40:45] local.INFO: GPS data processed {"connection_id":151717,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:40:45] local.INFO: Acknowledgment sent {"connection_id":151717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:40:47] local.INFO: TCP Data received {"connection_id":152120,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:40:47] local.INFO: Processing buffer {"connection_id":152120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:40:47] local.INFO: IMEI packet received {"connection_id":152120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":152120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:40:48] local.INFO: TCP Data received {"connection_id":152120,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febca98d8012d1824000721b668004e015525..."} 
[2026-08-10 18:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febca98d8012d1824000721b668004e015525..."} 
[2026-08-10 18:40:48] local.INFO: Processing buffer {"connection_id":152120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febca98d8012d1824000721b668004e015525..."} 
[2026-08-10 18:40:48] local.INFO: Packet analysis {"connection_id":152120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:40:48] local.INFO: Extracted packet for processing {"connection_id":152120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649896,"longitude_deg":75.65568,"latitude_deg":11.9649896,"altitude":78,"angle":341,"satellites":37,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b668","is_valid_coordinates":true} 
[2026-08-10 18:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310036480001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544730357727232,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702227456,"note":"Value kept but may cause issues"} 
[2026-08-10 18:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786367351000,"timestamp_ms":1786367351000,"timestamp_seconds":1786367351,"priority":1,"record_length":96,"hex_timestamp":"0000019febca98d8"} 
[2026-08-10 18:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 18:40: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-08-10 18:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310036480001,"66":12885,"120":206,"28":31744,"24":0,"16":11544730357727232,"45":1739515386702227456},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310036480001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:40:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:40:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544730357727232,"km_value":11544730357727.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702227456,"description":"Unknown IO ID 45"} 
[2026-08-10 18:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310036480001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702227456}} 
[2026-08-10 18:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":152120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:40:48] local.INFO: GPS data processed {"connection_id":152120,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:40:48] local.INFO: Acknowledgment sent {"connection_id":152120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:40:58] local.INFO: TCP Data received {"connection_id":151718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:40:58] local.INFO: Processing buffer {"connection_id":151718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:40:58] local.INFO: IMEI packet received {"connection_id":151718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":151718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:41:03] local.INFO: TCP Data received {"connection_id":151718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:41:03] local.INFO: Processing buffer {"connection_id":151718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:41:03] local.INFO: IMEI packet received {"connection_id":151718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":151718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:41:04] local.INFO: TCP Data received {"connection_id":151718,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:41:04] local.INFO: Processing buffer {"connection_id":151718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:41:04] local.INFO: Packet analysis {"connection_id":151718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:41:04] local.INFO: Extracted packet for processing {"connection_id":151718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":41,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309975296001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786367385000,"timestamp_ms":1786367385000,"timestamp_seconds":1786367385,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb1da8"} 
[2026-08-10 18:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 18:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309975296001,"66":24897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309975296001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:41:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309975296001,"power":24897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":151718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:41:04] local.INFO: GPS data processed {"connection_id":151718,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:41:04] local.INFO: Acknowledgment sent {"connection_id":151718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:41:12] local.INFO: TCP Data received {"connection_id":153042,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:41:12] local.INFO: Processing buffer {"connection_id":153042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:41:12] local.INFO: IMEI packet received {"connection_id":153042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":153042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:41:17] local.INFO: TCP Data received {"connection_id":153042,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:41:17] local.INFO: Processing buffer {"connection_id":153042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:41:17] local.INFO: IMEI packet received {"connection_id":153042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":153042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:41:17] local.INFO: TCP Data received {"connection_id":153042,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:41:17] local.INFO: Processing buffer {"connection_id":153042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:41:17] local.INFO: Packet analysis {"connection_id":153042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:41:17] local.INFO: Extracted packet for processing {"connection_id":153042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:41:17] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309959936001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786367332000,"timestamp_ms":1786367332000,"timestamp_seconds":1786367332,"priority":1,"record_length":96,"hex_timestamp":"0000019febca4ea0"} 
[2026-08-10 18:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309959936001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309959936001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:41:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:41:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309959936001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":153042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:41:18] local.INFO: GPS data processed {"connection_id":153042,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:41:18] local.INFO: Acknowledgment sent {"connection_id":153042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:41:20] local.INFO: TCP Data received {"connection_id":152120,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcaeae0012d1824000721b668004e015527..."} 
[2026-08-10 18:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcaeae0012d1824000721b668004e015527..."} 
[2026-08-10 18:41:20] local.INFO: Processing buffer {"connection_id":152120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcaeae0012d1824000721b668004e015527..."} 
[2026-08-10 18:41:20] local.INFO: Packet analysis {"connection_id":152120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:41:20] local.INFO: Extracted packet for processing {"connection_id":152120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649896,"longitude_deg":75.65568,"latitude_deg":11.9649896,"altitude":78,"angle":341,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b668","is_valid_coordinates":true} 
[2026-08-10 18:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310041856001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544730357727232,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702227456,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41: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-08-10 18:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786367372000,"timestamp_ms":1786367372000,"timestamp_seconds":1786367372,"priority":1,"record_length":96,"hex_timestamp":"0000019febcaeae0"} 
[2026-08-10 18:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 18:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310041856001,"66":12939,"120":206,"28":31744,"24":0,"16":11544730357727232,"45":1739515386702227456},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310041856001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:41:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:41:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544730357727232,"km_value":11544730357727.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702227456,"description":"Unknown IO ID 45"} 
[2026-08-10 18:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310041856001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702227456}} 
[2026-08-10 18:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":152120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:41:20] local.INFO: GPS data processed {"connection_id":152120,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:41:20] local.INFO: Acknowledgment sent {"connection_id":152120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:41:22] local.INFO: TCP Data received {"connection_id":153042,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:41:22] local.INFO: Processing buffer {"connection_id":153042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:41:22] local.INFO: Packet analysis {"connection_id":153042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:41:22] local.INFO: Extracted packet for processing {"connection_id":153042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:41:22] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309959936001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786367332000,"timestamp_ms":1786367332000,"timestamp_seconds":1786367332,"priority":1,"record_length":96,"hex_timestamp":"0000019febca4ea0"} 
[2026-08-10 18:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:41: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-08-10 18:41: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309959936001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309959936001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:41:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:41:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309959936001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":153042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:41:22] local.INFO: GPS data processed {"connection_id":153042,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:41:22] local.INFO: Acknowledgment sent {"connection_id":153042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:41:35] local.INFO: TCP Data received {"connection_id":151718,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:41:35] local.INFO: Processing buffer {"connection_id":151718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:41:35] local.INFO: Packet analysis {"connection_id":151718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:41:35] local.INFO: Extracted packet for processing {"connection_id":151718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":41,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309975296001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786367385000,"timestamp_ms":1786367385000,"timestamp_seconds":1786367385,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb1da8"} 
[2026-08-10 18:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 18:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309975296001,"66":24897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309975296001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:41:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309975296001,"power":24897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":151718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:41:35] local.INFO: GPS data processed {"connection_id":151718,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:41:35] local.INFO: Acknowledgment sent {"connection_id":151718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:41:41] local.INFO: TCP Data received {"connection_id":152121,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:41:41] local.INFO: Processing buffer {"connection_id":152121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:41:41] local.INFO: IMEI packet received {"connection_id":152121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":152121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:41:47] local.INFO: TCP Data received {"connection_id":152121,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:41:47] local.INFO: Processing buffer {"connection_id":152121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:41:47] local.INFO: IMEI packet received {"connection_id":152121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":152121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:41:48] local.INFO: TCP Data received {"connection_id":152121,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb3ce8012d1822800721b518004e015528..."} 
[2026-08-10 18:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb3ce8012d1822800721b518004e015528..."} 
[2026-08-10 18:41:48] local.INFO: Processing buffer {"connection_id":152121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb3ce8012d1822800721b518004e015528..."} 
[2026-08-10 18:41:48] local.INFO: Packet analysis {"connection_id":152121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:41:48] local.INFO: Extracted packet for processing {"connection_id":152121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649560,"longitude_deg":75.6556416,"latitude_deg":11.964956,"altitude":78,"angle":341,"satellites":40,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b518","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310047232001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544760422498304,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702227456,"note":"Value kept but may cause issues"} 
[2026-08-10 18:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786367393000,"timestamp_ms":1786367393000,"timestamp_seconds":1786367393,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb3ce8"} 
[2026-08-10 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-08-10 18:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 18:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310047232001,"66":12885,"120":206,"28":31744,"24":0,"16":11544760422498304,"45":1739515386702227456},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310047232001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:41:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:41:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544760422498304,"km_value":11544760422498.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702227456,"description":"Unknown IO ID 45"} 
[2026-08-10 18:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310047232001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702227456}} 
[2026-08-10 18:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":152121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:41:48] local.INFO: GPS data processed {"connection_id":152121,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:41:48] local.INFO: Acknowledgment sent {"connection_id":152121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:42:03] local.INFO: TCP Data received {"connection_id":153043,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:42:03] local.INFO: Processing buffer {"connection_id":153043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:42:03] local.INFO: IMEI packet received {"connection_id":153043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":153043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:42:07] local.INFO: TCP Data received {"connection_id":154478,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:42:07] local.INFO: Processing buffer {"connection_id":154478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:42:07] local.INFO: IMEI packet received {"connection_id":154478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":154478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:42:08] local.INFO: TCP Data received {"connection_id":153043,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:42:08] local.INFO: Processing buffer {"connection_id":153043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:42:08] local.INFO: IMEI packet received {"connection_id":153043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":153043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:42:09] local.INFO: TCP Data received {"connection_id":153043,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:42:09] local.INFO: Processing buffer {"connection_id":153043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:42:09] local.INFO: Packet analysis {"connection_id":153043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:42:09] local.INFO: Extracted packet for processing {"connection_id":153043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":41,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309975296001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786367385000,"timestamp_ms":1786367385000,"timestamp_seconds":1786367385,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb1da8"} 
[2026-08-10 18:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 18:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309975296001,"66":24897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309975296001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:42:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309975296001,"power":24897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":153043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:42:09] local.INFO: GPS data processed {"connection_id":153043,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:42:09] local.INFO: Acknowledgment sent {"connection_id":153043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:42:12] local.INFO: TCP Data received {"connection_id":154478,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:42:12] local.INFO: Processing buffer {"connection_id":154478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:42:12] local.INFO: IMEI packet received {"connection_id":154478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":154478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:42:13] local.INFO: TCP Data received {"connection_id":154478,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:42:13] local.INFO: Processing buffer {"connection_id":154478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:42:13] local.INFO: Packet analysis {"connection_id":154478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:42:13] local.INFO: Extracted packet for processing {"connection_id":154478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309959936001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786367332000,"timestamp_ms":1786367332000,"timestamp_seconds":1786367332,"priority":1,"record_length":96,"hex_timestamp":"0000019febca4ea0"} 
[2026-08-10 18:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:42: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-08-10 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:42: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-08-10 18:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309959936001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309959936001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:42:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309959936001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":154478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:42:13] local.INFO: GPS data processed {"connection_id":154478,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:42:13] local.INFO: Acknowledgment sent {"connection_id":154478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:42:14] local.INFO: TCP Data received {"connection_id":153043,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:42:14] local.INFO: Processing buffer {"connection_id":153043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:42:14] local.INFO: Packet analysis {"connection_id":153043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:42:14] local.INFO: Extracted packet for processing {"connection_id":153043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:42:14] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":41,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309975296001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786367385000,"timestamp_ms":1786367385000,"timestamp_seconds":1786367385,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb1da8"} 
[2026-08-10 18:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 18:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309975296001,"66":24897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309975296001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:42:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:42:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309975296001,"power":24897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":153043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:42:14] local.INFO: GPS data processed {"connection_id":153043,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:42:14] local.INFO: Acknowledgment sent {"connection_id":153043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:42:19] local.INFO: TCP Data received {"connection_id":153043,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:42:19] local.INFO: Processing buffer {"connection_id":153043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:42:19] local.INFO: Packet analysis {"connection_id":153043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:42:19] local.INFO: Extracted packet for processing {"connection_id":153043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":41,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309975296001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786367385000,"timestamp_ms":1786367385000,"timestamp_seconds":1786367385,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb1da8"} 
[2026-08-10 18:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 18:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309975296001,"66":24897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309975296001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:42:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:42:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309975296001,"power":24897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":153043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:42:19] local.INFO: GPS data processed {"connection_id":153043,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:42:19] local.INFO: Acknowledgment sent {"connection_id":153043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:42:19] local.INFO: TCP Data received {"connection_id":152121,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb8ef0012d1822800721b518004e015529..."} 
[2026-08-10 18:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb8ef0012d1822800721b518004e015529..."} 
[2026-08-10 18:42:19] local.INFO: Processing buffer {"connection_id":152121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb8ef0012d1822800721b518004e015529..."} 
[2026-08-10 18:42:19] local.INFO: Packet analysis {"connection_id":152121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:42:19] local.INFO: Extracted packet for processing {"connection_id":152121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649560,"longitude_deg":75.6556416,"latitude_deg":11.964956,"altitude":78,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b518","is_valid_coordinates":true} 
[2026-08-10 18:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310052608001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544760422498304,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237075456,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786367414000,"timestamp_ms":1786367414000,"timestamp_seconds":1786367414,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb8ef0"} 
[2026-08-10 18:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 18:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310052608001,"66":12841,"120":206,"28":31744,"24":0,"16":11544760422498304,"45":1739093174237075456},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310052608001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:42:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:42:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544760422498304,"km_value":11544760422498.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237075456,"description":"Unknown IO ID 45"} 
[2026-08-10 18:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310052608001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237075456}} 
[2026-08-10 18:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":152121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:42:19] local.INFO: GPS data processed {"connection_id":152121,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:42:19] local.INFO: Acknowledgment sent {"connection_id":152121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:42:44] local.INFO: TCP Data received {"connection_id":154478,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:42:44] local.INFO: Processing buffer {"connection_id":154478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:42:44] local.INFO: Packet analysis {"connection_id":154478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:42:44] local.INFO: Extracted packet for processing {"connection_id":154478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:42:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309959936001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786367332000,"timestamp_ms":1786367332000,"timestamp_seconds":1786367332,"priority":1,"record_length":96,"hex_timestamp":"0000019febca4ea0"} 
[2026-08-10 18:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309959936001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309959936001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:42:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309959936001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":154478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:42:44] local.INFO: GPS data processed {"connection_id":154478,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:42:44] local.INFO: Acknowledgment sent {"connection_id":154478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:42:47] local.INFO: TCP Data received {"connection_id":154479,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:42:47] local.INFO: Processing buffer {"connection_id":154479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:42:47] local.INFO: IMEI packet received {"connection_id":154479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":154479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:42:51] local.INFO: TCP Data received {"connection_id":154479,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:42:51] local.INFO: Processing buffer {"connection_id":154479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:42:51] local.INFO: IMEI packet received {"connection_id":154479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":154479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:42:52] local.INFO: TCP Data received {"connection_id":154479,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcbe0f8012d1822800721b518004e015528..."} 
[2026-08-10 18:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcbe0f8012d1822800721b518004e015528..."} 
[2026-08-10 18:42:52] local.INFO: Processing buffer {"connection_id":154479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcbe0f8012d1822800721b518004e015528..."} 
[2026-08-10 18:42:52] local.INFO: Packet analysis {"connection_id":154479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:42:52] local.INFO: Extracted packet for processing {"connection_id":154479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:42:52] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649560,"longitude_deg":75.6556416,"latitude_deg":11.964956,"altitude":78,"angle":341,"satellites":40,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b518","is_valid_coordinates":true} 
[2026-08-10 18:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310057984001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544760422498304,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237075456,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786367435000,"timestamp_ms":1786367435000,"timestamp_seconds":1786367435,"priority":1,"record_length":96,"hex_timestamp":"0000019febcbe0f8"} 
[2026-08-10 18:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:42: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":41,"data_length":795,"current_offset":136} 
[2026-08-10 18:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310057984001,"66":12863,"120":206,"28":31744,"24":0,"16":11544760422498304,"45":1739093174237075456},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310057984001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:42:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:42:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544760422498304,"km_value":11544760422498.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237075456,"description":"Unknown IO ID 45"} 
[2026-08-10 18:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310057984001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237075456}} 
[2026-08-10 18:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":154479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:42:53] local.INFO: GPS data processed {"connection_id":154479,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:42:53] local.INFO: Acknowledgment sent {"connection_id":154479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:42:53] local.INFO: TCP Data received {"connection_id":154479,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcc2f18012d1822800721b518004e015528..."} 
[2026-08-10 18:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcc2f18012d1822800721b518004e015528..."} 
[2026-08-10 18:42:53] local.INFO: Processing buffer {"connection_id":154479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcc2f18012d1822800721b518004e015528..."} 
[2026-08-10 18:42:53] local.INFO: Packet analysis {"connection_id":154479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcc"} 
[2026-08-10 18:42:53] local.INFO: Extracted packet for processing {"connection_id":154479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcc"} 
[2026-08-10 18:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649560,"longitude_deg":75.6556416,"latitude_deg":11.964956,"altitude":78,"angle":341,"satellites":40,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b518","is_valid_coordinates":true} 
[2026-08-10 18:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310063360001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544760422498304,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237075456,"note":"Value kept but may cause issues"} 
[2026-08-10 18:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786367455000,"timestamp_ms":1786367455000,"timestamp_seconds":1786367455,"priority":1,"record_length":96,"hex_timestamp":"0000019febcc2f18"} 
[2026-08-10 18:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-10 18:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310063360001,"66":12852,"120":206,"28":31744,"24":0,"16":11544760422498304,"45":1739093174237075456},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310063360001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:42:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:42:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544760422498304,"km_value":11544760422498.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237075456,"description":"Unknown IO ID 45"} 
[2026-08-10 18:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310063360001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237075456}} 
[2026-08-10 18:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":154479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:42:54] local.INFO: GPS data processed {"connection_id":154479,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:42:54] local.INFO: Acknowledgment sent {"connection_id":154479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:42:58] local.INFO: TCP Data received {"connection_id":152122,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:42:58] local.INFO: Processing buffer {"connection_id":152122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:42:58] local.INFO: IMEI packet received {"connection_id":152122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":152122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:43:03] local.INFO: TCP Data received {"connection_id":152122,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:43:03] local.INFO: Processing buffer {"connection_id":152122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:43:03] local.INFO: IMEI packet received {"connection_id":152122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":152122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:43:06] local.INFO: TCP Data received {"connection_id":152122,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:43:06] local.INFO: Processing buffer {"connection_id":152122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:43:06] local.INFO: Packet analysis {"connection_id":152122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:43:06] local.INFO: Extracted packet for processing {"connection_id":152122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":41,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309975296001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786367385000,"timestamp_ms":1786367385000,"timestamp_seconds":1786367385,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb1da8"} 
[2026-08-10 18:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":103,"data_length":795,"current_offset":136} 
[2026-08-10 18:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309975296001,"66":24897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309975296001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:43:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309975296001,"power":24897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":152122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:43:06] local.INFO: GPS data processed {"connection_id":152122,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:43:06] local.INFO: Acknowledgment sent {"connection_id":152122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:43:07] local.INFO: TCP Data received {"connection_id":153044,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:43:07] local.INFO: Processing buffer {"connection_id":153044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:43:07] local.INFO: IMEI packet received {"connection_id":153044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":153044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:43:12] local.INFO: TCP Data received {"connection_id":153044,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:43:12] local.INFO: Processing buffer {"connection_id":153044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:43:12] local.INFO: IMEI packet received {"connection_id":153044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":153044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:43:12] local.INFO: TCP Data received {"connection_id":153044,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:43:12] local.INFO: Processing buffer {"connection_id":153044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:43:12] local.INFO: Packet analysis {"connection_id":153044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:43:12] local.INFO: Extracted packet for processing {"connection_id":153044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:43:12] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309959936001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786367332000,"timestamp_ms":1786367332000,"timestamp_seconds":1786367332,"priority":1,"record_length":96,"hex_timestamp":"0000019febca4ea0"} 
[2026-08-10 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-08-10 18:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:43: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-08-10 18:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309959936001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309959936001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:43:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309959936001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":153044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:43:13] local.INFO: GPS data processed {"connection_id":153044,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:43:13] local.INFO: Acknowledgment sent {"connection_id":153044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:43:25] local.INFO: TCP Data received {"connection_id":154479,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcc6d98012d1822800721b438004d00cf27..."} 
[2026-08-10 18:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcc6d98012d1822800721b438004d00cf27..."} 
[2026-08-10 18:43:25] local.INFO: Processing buffer {"connection_id":154479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcc6d98012d1822800721b438004d00cf27..."} 
[2026-08-10 18:43:25] local.INFO: Packet analysis {"connection_id":154479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcc"} 
[2026-08-10 18:43:25] local.INFO: Extracted packet for processing {"connection_id":154479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcc"} 
[2026-08-10 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649336,"longitude_deg":75.6556416,"latitude_deg":11.9649336,"altitude":77,"angle":207,"satellites":39,"speed":2,"hex_longitude":"2d182280","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-10 18:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310068480001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544769012432896,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237075456,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43: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-08-10 18:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786367471000,"timestamp_ms":1786367471000,"timestamp_seconds":1786367471,"priority":1,"record_length":96,"hex_timestamp":"0000019febcc6d98"} 
[2026-08-10 18:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-10 18:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310068480001,"66":12841,"120":206,"28":31744,"24":2,"16":11544769012432896,"45":1739093174237075456},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310068480001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:43:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:43:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544769012432896,"km_value":11544769012432.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237075456,"description":"Unknown IO ID 45"} 
[2026-08-10 18:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310068480001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739093174237075456}} 
[2026-08-10 18:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":154479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:43:25] local.INFO: GPS data processed {"connection_id":154479,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:43:25] local.INFO: Acknowledgment sent {"connection_id":154479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:43:37] local.INFO: TCP Data received {"connection_id":152122,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:43:37] local.INFO: Processing buffer {"connection_id":152122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:43:37] local.INFO: Packet analysis {"connection_id":152122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:43:37] local.INFO: Extracted packet for processing {"connection_id":152122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":41,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309975296001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786367385000,"timestamp_ms":1786367385000,"timestamp_seconds":1786367385,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb1da8"} 
[2026-08-10 18:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":103,"data_length":795,"current_offset":136} 
[2026-08-10 18:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309975296001,"66":24897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309975296001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:43:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309975296001,"power":24897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":152122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:43:37] local.INFO: GPS data processed {"connection_id":152122,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:43:37] local.INFO: Acknowledgment sent {"connection_id":152122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:43:42] local.INFO: TCP Data received {"connection_id":151719,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:43:42] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:43:42] local.INFO: IMEI packet received {"connection_id":151719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":151719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:43:44] local.INFO: TCP Data received {"connection_id":153044,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:43:44] local.INFO: Processing buffer {"connection_id":153044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febca4ea0012d7e3a8005d357100006011328..."} 
[2026-08-10 18:43:44] local.INFO: Packet analysis {"connection_id":153044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:43:44] local.INFO: Extracted packet for processing {"connection_id":153044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febca"} 
[2026-08-10 18:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309959936001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786367332000,"timestamp_ms":1786367332000,"timestamp_seconds":1786367332,"priority":1,"record_length":96,"hex_timestamp":"0000019febca4ea0"} 
[2026-08-10 18:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309959936001,"66":2242,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309959936001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:43:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309959936001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":153044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:43:44] local.INFO: GPS data processed {"connection_id":153044,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:43:44] local.INFO: Acknowledgment sent {"connection_id":153044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:43:47] local.INFO: TCP Data received {"connection_id":151719,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:43:47] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:43:47] local.INFO: IMEI packet received {"connection_id":151719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":151719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:43:48] local.INFO: TCP Data received {"connection_id":151719,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febccbfa0012d1821800721b348004c00d227..."} 
[2026-08-10 18:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febccbfa0012d1821800721b348004c00d227..."} 
[2026-08-10 18:43:48] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febccbfa0012d1821800721b348004c00d227..."} 
[2026-08-10 18:43:48] local.INFO: Packet analysis {"connection_id":151719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcc"} 
[2026-08-10 18:43:48] local.INFO: Extracted packet for processing {"connection_id":151719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcc"} 
[2026-08-10 18:43:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649096,"longitude_deg":75.655616,"latitude_deg":11.9649096,"altitude":76,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-08-10 18:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310072576001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544786192302080,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237018112,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786367492000,"timestamp_ms":1786367492000,"timestamp_seconds":1786367492,"priority":1,"record_length":96,"hex_timestamp":"0000019febccbfa0"} 
[2026-08-10 18:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 18:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310072576001,"66":12798,"120":206,"28":31744,"24":0,"16":11544786192302080,"45":1739093174237018112},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310072576001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:43:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:43:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544786192302080,"km_value":11544786192302.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237018112,"description":"Unknown IO ID 45"} 
[2026-08-10 18:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310072576001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237018112}} 
[2026-08-10 18:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":151719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:43:48] local.INFO: GPS data processed {"connection_id":151719,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:43:48] local.INFO: Acknowledgment sent {"connection_id":151719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:43:52] local.INFO: TCP Data received {"connection_id":151719,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcd11a8012d1821800721b348004c00d227..."} 
[2026-08-10 18:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcd11a8012d1821800721b348004c00d227..."} 
[2026-08-10 18:43:52] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcd11a8012d1821800721b348004c00d227..."} 
[2026-08-10 18:43:52] local.INFO: Packet analysis {"connection_id":151719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcd"} 
[2026-08-10 18:43:52] local.INFO: Extracted packet for processing {"connection_id":151719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcd"} 
[2026-08-10 18:43:52] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649096,"longitude_deg":75.655616,"latitude_deg":11.9649096,"altitude":76,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-08-10 18:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310077952001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544786192302080,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260246016,"note":"Value kept but may cause issues"} 
[2026-08-10 18:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786367513000,"timestamp_ms":1786367513000,"timestamp_seconds":1786367513,"priority":1,"record_length":96,"hex_timestamp":"0000019febcd11a8"} 
[2026-08-10 18:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 18:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310077952001,"66":12765,"120":206,"28":31744,"24":0,"16":11544786192302080,"45":1738811699260246016},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310077952001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:43:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:43:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544786192302080,"km_value":11544786192302.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260246016,"description":"Unknown IO ID 45"} 
[2026-08-10 18:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310077952001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260246016}} 
[2026-08-10 18:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":151719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:43:52] local.INFO: GPS data processed {"connection_id":151719,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:43:52] local.INFO: Acknowledgment sent {"connection_id":151719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:43:58] local.INFO: TCP Data received {"connection_id":152123,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:43:58] local.INFO: Processing buffer {"connection_id":152123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:43:58] local.INFO: IMEI packet received {"connection_id":152123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":152123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:44:06] local.INFO: TCP Data received {"connection_id":152123,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:44:06] local.INFO: Processing buffer {"connection_id":152123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:44:06] local.INFO: IMEI packet received {"connection_id":152123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":152123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:44:06] local.INFO: TCP Data received {"connection_id":154480,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:44:06] local.INFO: Processing buffer {"connection_id":154480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:44:06] local.INFO: IMEI packet received {"connection_id":154480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":154480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:44:08] local.INFO: TCP Data received {"connection_id":152123,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:44:08] local.INFO: Processing buffer {"connection_id":152123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:44:08] local.INFO: Packet analysis {"connection_id":152123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:44:08] local.INFO: Extracted packet for processing {"connection_id":152123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":41,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309975296001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786367385000,"timestamp_ms":1786367385000,"timestamp_seconds":1786367385,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb1da8"} 
[2026-08-10 18:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 18:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309975296001,"66":24897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309975296001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:44:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309975296001,"power":24897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":152123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:44:08] local.INFO: GPS data processed {"connection_id":152123,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:44:08] local.INFO: Acknowledgment sent {"connection_id":152123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:44:12] local.INFO: TCP Data received {"connection_id":154480,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:44:12] local.INFO: Processing buffer {"connection_id":154480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:44:12] local.INFO: IMEI packet received {"connection_id":154480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":154480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:44:13] local.INFO: TCP Data received {"connection_id":154480,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:44:13] local.INFO: Processing buffer {"connection_id":154480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:44:13] local.INFO: Packet analysis {"connection_id":154480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:44:13] local.INFO: Extracted packet for processing {"connection_id":154480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310036992001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786367633000,"timestamp_ms":1786367633000,"timestamp_seconds":1786367633,"priority":1,"record_length":96,"hex_timestamp":"0000019febcee668"} 
[2026-08-10 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-08-10 18:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310036992001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310036992001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:44:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310036992001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":154480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:44:13] local.INFO: GPS data processed {"connection_id":154480,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:44:13] local.INFO: Acknowledgment sent {"connection_id":154480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:44:23] local.INFO: TCP Data received {"connection_id":151719,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcd6798012d1821800721b348004c00d227..."} 
[2026-08-10 18:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcd6798012d1821800721b348004c00d227..."} 
[2026-08-10 18:44:23] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcd6798012d1821800721b348004c00d227..."} 
[2026-08-10 18:44:23] local.INFO: Packet analysis {"connection_id":151719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcd"} 
[2026-08-10 18:44:23] local.INFO: Extracted packet for processing {"connection_id":151719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcd"} 
[2026-08-10 18:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649096,"longitude_deg":75.655616,"latitude_deg":11.9649096,"altitude":76,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-08-10 18:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310083328001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544786192302080,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260246016,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786367535000,"timestamp_ms":1786367535000,"timestamp_seconds":1786367535,"priority":1,"record_length":96,"hex_timestamp":"0000019febcd6798"} 
[2026-08-10 18:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:44: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-08-10 18:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-10 18:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310083328001,"66":12722,"120":206,"28":31744,"24":0,"16":11544786192302080,"45":1738811699260246016},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310083328001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:44:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:44:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544786192302080,"km_value":11544786192302.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260246016,"description":"Unknown IO ID 45"} 
[2026-08-10 18:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310083328001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260246016}} 
[2026-08-10 18:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":151719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:44:24] local.INFO: GPS data processed {"connection_id":151719,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:44:24] local.INFO: Acknowledgment sent {"connection_id":151719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:44:41] local.INFO: TCP Data received {"connection_id":152123,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:44:41] local.INFO: Processing buffer {"connection_id":152123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcb1da8012d34248006abc1900029007e21..."} 
[2026-08-10 18:44:41] local.INFO: Packet analysis {"connection_id":152123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:44:41] local.INFO: Extracted packet for processing {"connection_id":152123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcb"} 
[2026-08-10 18:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":41,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457309975296001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786367385000,"timestamp_ms":1786367385000,"timestamp_seconds":1786367385,"priority":1,"record_length":96,"hex_timestamp":"0000019febcb1da8"} 
[2026-08-10 18:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-10 18:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457309975296001,"66":24897,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457309975296001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:44:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457309975296001,"power":24897,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":152123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:44:41] local.INFO: GPS data processed {"connection_id":152123,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:44:41] local.INFO: Acknowledgment sent {"connection_id":152123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:44:42] local.INFO: TCP Data received {"connection_id":151720,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:44:42] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:44:42] local.INFO: IMEI packet received {"connection_id":151720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":151720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:44:44] local.INFO: TCP Data received {"connection_id":154480,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:44:44] local.INFO: Processing buffer {"connection_id":154480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:44:44] local.INFO: Packet analysis {"connection_id":154480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:44:44] local.INFO: Extracted packet for processing {"connection_id":154480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310036992001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786367633000,"timestamp_ms":1786367633000,"timestamp_seconds":1786367633,"priority":1,"record_length":96,"hex_timestamp":"0000019febcee668"} 
[2026-08-10 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-08-10 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310036992001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310036992001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:44:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310036992001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":154480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:44:44] local.INFO: GPS data processed {"connection_id":154480,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:44:44] local.INFO: Acknowledgment sent {"connection_id":154480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:44:47] local.INFO: TCP Data received {"connection_id":151720,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:44:47] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:44:47] local.INFO: IMEI packet received {"connection_id":151720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":151720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:44:48] local.INFO: TCP Data received {"connection_id":151720,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcdb9a0012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcdb9a0012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:44:48] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcdb9a0012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:44:48] local.INFO: Packet analysis {"connection_id":151720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcd"} 
[2026-08-10 18:44:48] local.INFO: Extracted packet for processing {"connection_id":151720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcd"} 
[2026-08-10 18:44:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310088960001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260246016,"note":"Value kept but may cause issues"} 
[2026-08-10 18:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786367556000,"timestamp_ms":1786367556000,"timestamp_seconds":1786367556,"priority":1,"record_length":96,"hex_timestamp":"0000019febcdb9a0"} 
[2026-08-10 18:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 18:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310088960001,"66":12743,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738811699260246016},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310088960001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:44:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:44:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260246016,"description":"Unknown IO ID 45"} 
[2026-08-10 18:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310088960001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260246016}} 
[2026-08-10 18:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":151720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:44:48] local.INFO: GPS data processed {"connection_id":151720,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:44:48] local.INFO: Acknowledgment sent {"connection_id":151720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:44:58] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:44:58] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:44:58] local.INFO: IMEI packet received {"connection_id":151721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":151721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:45:00] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:45:00] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:45:00] local.INFO: IMEI packet received {"connection_id":151721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":151721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:45:03] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:45:03] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:45:03] local.INFO: IMEI packet received {"connection_id":151721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":151721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:45:04] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:45:04] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:45:04] local.INFO: Packet analysis {"connection_id":151721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:45:04] local.INFO: Extracted packet for processing {"connection_id":151721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":35,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310050560001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786367680000,"timestamp_ms":1786367680000,"timestamp_seconds":1786367680,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf9e00"} 
[2026-08-10 18:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-10 18:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310050560001,"66":25451,"9":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-08-10 18:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310050560001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:45:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 18:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310050560001,"power":25451,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":151721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:45:04] local.INFO: GPS data processed {"connection_id":151721,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:45:04] local.INFO: Acknowledgment sent {"connection_id":151721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:45:12] local.INFO: TCP Data received {"connection_id":154481,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:45:12] local.INFO: Processing buffer {"connection_id":154481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:45:12] local.INFO: IMEI packet received {"connection_id":154481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":154481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:45:17] local.INFO: TCP Data received {"connection_id":154481,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:45:17] local.INFO: Processing buffer {"connection_id":154481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:45:17] local.INFO: IMEI packet received {"connection_id":154481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":154481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:45:18] local.INFO: TCP Data received {"connection_id":154481,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:45:18] local.INFO: Processing buffer {"connection_id":154481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:45:18] local.INFO: Packet analysis {"connection_id":154481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:45:18] local.INFO: Extracted packet for processing {"connection_id":154481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:45:18] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310036992001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786367633000,"timestamp_ms":1786367633000,"timestamp_seconds":1786367633,"priority":1,"record_length":96,"hex_timestamp":"0000019febcee668"} 
[2026-08-10 18:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310036992001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310036992001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:45:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:45:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310036992001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":154481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:45:18] local.INFO: GPS data processed {"connection_id":154481,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:45:18] local.INFO: Acknowledgment sent {"connection_id":154481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:45:20] local.INFO: TCP Data received {"connection_id":151720,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febce0ba8012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febce0ba8012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:45:20] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febce0ba8012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:45:20] local.INFO: Packet analysis {"connection_id":151720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:45:20] local.INFO: Extracted packet for processing {"connection_id":151720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310094336001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45: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-08-10 18:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786367577000,"timestamp_ms":1786367577000,"timestamp_seconds":1786367577,"priority":1,"record_length":96,"hex_timestamp":"0000019febce0ba8"} 
[2026-08-10 18:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-10 18:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310094336001,"66":12711,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310094336001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:45:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:45:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310094336001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":151720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:45:20] local.INFO: GPS data processed {"connection_id":151720,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:45:20] local.INFO: Acknowledgment sent {"connection_id":151720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:45:22] local.INFO: TCP Data received {"connection_id":154481,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:45:22] local.INFO: Processing buffer {"connection_id":154481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:45:22] local.INFO: Packet analysis {"connection_id":154481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:45:22] local.INFO: Extracted packet for processing {"connection_id":154481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:45:22] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310036992001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786367633000,"timestamp_ms":1786367633000,"timestamp_seconds":1786367633,"priority":1,"record_length":96,"hex_timestamp":"0000019febcee668"} 
[2026-08-10 18:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":154481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":154481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":154481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310036992001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310036992001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:45:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:45:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310036992001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":154481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:45:22] local.INFO: GPS data processed {"connection_id":154481,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:45:22] local.INFO: Acknowledgment sent {"connection_id":154481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:45:36] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:45:36] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:45:36] local.INFO: Packet analysis {"connection_id":151721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:45:36] local.INFO: Extracted packet for processing {"connection_id":151721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":35,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310050560001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786367680000,"timestamp_ms":1786367680000,"timestamp_seconds":1786367680,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf9e00"} 
[2026-08-10 18:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-10 18:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310050560001,"66":25451,"9":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-08-10 18:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310050560001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:45:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 18:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310050560001,"power":25451,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":151721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:45:36] local.INFO: GPS data processed {"connection_id":151721,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:45:36] local.INFO: Acknowledgment sent {"connection_id":151721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:45:41] local.INFO: TCP Data received {"connection_id":153045,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:45:41] local.INFO: Processing buffer {"connection_id":153045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:45:41] local.INFO: IMEI packet received {"connection_id":153045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":153045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:45:41] local.INFO: TCP Data received {"connection_id":153045,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:45:41] local.INFO: Processing buffer {"connection_id":153045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:45:41] local.INFO: IMEI packet received {"connection_id":153045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":153045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:45:47] local.INFO: TCP Data received {"connection_id":153045,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:45:47] local.INFO: Processing buffer {"connection_id":153045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:45:47] local.INFO: IMEI packet received {"connection_id":153045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":153045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:45:48] local.INFO: TCP Data received {"connection_id":153045,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febce5db0012d1820400721aff8004b00cd28..."} 
[2026-08-10 18:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febce5db0012d1820400721aff8004b00cd28..."} 
[2026-08-10 18:45:48] local.INFO: Processing buffer {"connection_id":153045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febce5db0012d1820400721aff8004b00cd28..."} 
[2026-08-10 18:45:48] local.INFO: Packet analysis {"connection_id":153045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:45:48] local.INFO: Extracted packet for processing {"connection_id":153045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:45:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310099712001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786367598000,"timestamp_ms":1786367598000,"timestamp_seconds":1786367598,"priority":1,"record_length":96,"hex_timestamp":"0000019febce5db0"} 
[2026-08-10 18:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 18:45: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-08-10 18:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310099712001,"66":12711,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310099712001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:45:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:45:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310099712001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":153045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:45:48] local.INFO: GPS data processed {"connection_id":153045,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:45:48] local.INFO: Acknowledgment sent {"connection_id":153045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:46:00] local.INFO: TCP Data received {"connection_id":152124,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:46:00] local.INFO: Processing buffer {"connection_id":152124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:46:00] local.INFO: IMEI packet received {"connection_id":152124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":152124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:46:03] local.INFO: TCP Data received {"connection_id":152124,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:46:03] local.INFO: Processing buffer {"connection_id":152124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:46:03] local.INFO: IMEI packet received {"connection_id":152124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":152124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:46:04] local.INFO: TCP Data received {"connection_id":152124,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:46:04] local.INFO: Processing buffer {"connection_id":152124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:46:04] local.INFO: Packet analysis {"connection_id":152124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:46:04] local.INFO: Extracted packet for processing {"connection_id":152124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":35,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310050560001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786367680000,"timestamp_ms":1786367680000,"timestamp_seconds":1786367680,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf9e00"} 
[2026-08-10 18:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-10 18:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310050560001,"66":25451,"9":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-08-10 18:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310050560001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:46:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 18:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310050560001,"power":25451,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":152124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:46:04] local.INFO: GPS data processed {"connection_id":152124,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:46:04] local.INFO: Acknowledgment sent {"connection_id":152124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:46:07] local.INFO: TCP Data received {"connection_id":152125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:46:07] local.INFO: Processing buffer {"connection_id":152125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:46:07] local.INFO: IMEI packet received {"connection_id":152125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":152125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:46:09] local.INFO: TCP Data received {"connection_id":152124,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:46:09] local.INFO: Processing buffer {"connection_id":152124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:46:09] local.INFO: Packet analysis {"connection_id":152124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:46:09] local.INFO: Extracted packet for processing {"connection_id":152124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":35,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310050560001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786367680000,"timestamp_ms":1786367680000,"timestamp_seconds":1786367680,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf9e00"} 
[2026-08-10 18:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-10 18:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310050560001,"66":25451,"9":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-08-10 18:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310050560001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:46:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 18:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310050560001,"power":25451,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":152124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:46:09] local.INFO: GPS data processed {"connection_id":152124,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:46:09] local.INFO: Acknowledgment sent {"connection_id":152124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:46:12] local.INFO: TCP Data received {"connection_id":152125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:46:12] local.INFO: Processing buffer {"connection_id":152125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:46:12] local.INFO: IMEI packet received {"connection_id":152125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":152125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:46:13] local.INFO: TCP Data received {"connection_id":152125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:46:13] local.INFO: Processing buffer {"connection_id":152125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:46:13] local.INFO: Packet analysis {"connection_id":152125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:46:13] local.INFO: Extracted packet for processing {"connection_id":152125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310036992001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786367633000,"timestamp_ms":1786367633000,"timestamp_seconds":1786367633,"priority":1,"record_length":96,"hex_timestamp":"0000019febcee668"} 
[2026-08-10 18:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:46: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":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:46: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-08-10 18:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310036992001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310036992001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:46:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310036992001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":152125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:46:13] local.INFO: GPS data processed {"connection_id":152125,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:46:13] local.INFO: Acknowledgment sent {"connection_id":152125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:46:19] local.INFO: TCP Data received {"connection_id":153045,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febceafb8012d1820400721aff8004b00cd24..."} 
[2026-08-10 18:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febceafb8012d1820400721aff8004b00cd24..."} 
[2026-08-10 18:46:19] local.INFO: Processing buffer {"connection_id":153045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febceafb8012d1820400721aff8004b00cd24..."} 
[2026-08-10 18:46:19] local.INFO: Packet analysis {"connection_id":153045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:46:19] local.INFO: Extracted packet for processing {"connection_id":153045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310105088001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786367619000,"timestamp_ms":1786367619000,"timestamp_seconds":1786367619,"priority":1,"record_length":96,"hex_timestamp":"0000019febceafb8"} 
[2026-08-10 18:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 18:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310105088001,"66":12689,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310105088001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:46:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:46:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310105088001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":153045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:46:19] local.INFO: GPS data processed {"connection_id":153045,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:46:19] local.INFO: Acknowledgment sent {"connection_id":153045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:46:40] local.INFO: TCP Data received {"connection_id":152124,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:46:40] local.INFO: Processing buffer {"connection_id":152124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:46:40] local.INFO: Packet analysis {"connection_id":152124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:46:40] local.INFO: Extracted packet for processing {"connection_id":152124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":35,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310050560001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786367680000,"timestamp_ms":1786367680000,"timestamp_seconds":1786367680,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf9e00"} 
[2026-08-10 18:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-10 18:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310050560001,"66":25451,"9":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-08-10 18:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310050560001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:46:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 18:46:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310050560001,"power":25451,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":152124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:46:40] local.INFO: GPS data processed {"connection_id":152124,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:46:40] local.INFO: Acknowledgment sent {"connection_id":152124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:46:41] local.INFO: TCP Data received {"connection_id":154482,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:46:41] local.INFO: Processing buffer {"connection_id":154482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:46:41] local.INFO: IMEI packet received {"connection_id":154482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":154482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:46:44] local.INFO: TCP Data received {"connection_id":152125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:46:44] local.INFO: Processing buffer {"connection_id":152125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:46:44] local.INFO: Packet analysis {"connection_id":152125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:46:44] local.INFO: Extracted packet for processing {"connection_id":152125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:46:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310036992001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786367633000,"timestamp_ms":1786367633000,"timestamp_seconds":1786367633,"priority":1,"record_length":96,"hex_timestamp":"0000019febcee668"} 
[2026-08-10 18:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310036992001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310036992001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:46:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:46:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310036992001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":152125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:46:44] local.INFO: GPS data processed {"connection_id":152125,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:46:44] local.INFO: Acknowledgment sent {"connection_id":152125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:46:44] local.INFO: TCP Data received {"connection_id":154482,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:46:44] local.INFO: Processing buffer {"connection_id":154482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:46:44] local.INFO: IMEI packet received {"connection_id":154482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":154482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:46:47] local.INFO: TCP Data received {"connection_id":154482,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:46:47] local.INFO: Processing buffer {"connection_id":154482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:46:47] local.INFO: IMEI packet received {"connection_id":154482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":154482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:46:48] local.INFO: TCP Data received {"connection_id":154482,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf01c0012d1820400721aff8004b00cd23..."} 
[2026-08-10 18:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf01c0012d1820400721aff8004b00cd23..."} 
[2026-08-10 18:46:48] local.INFO: Processing buffer {"connection_id":154482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf01c0012d1820400721aff8004b00cd23..."} 
[2026-08-10 18:46:48] local.INFO: Packet analysis {"connection_id":154482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:46:48] local.INFO: Extracted packet for processing {"connection_id":154482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:46:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310110464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786367640000,"timestamp_ms":1786367640000,"timestamp_seconds":1786367640,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf01c0"} 
[2026-08-10 18:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":145,"data_length":795,"current_offset":136} 
[2026-08-10 18:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310110464001,"66":12689,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310110464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:46:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:46:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310110464001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":154482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:46:48] local.INFO: GPS data processed {"connection_id":154482,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:46:48] local.INFO: Acknowledgment sent {"connection_id":154482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:46:58] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:46:58] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:46:58] local.INFO: IMEI packet received {"connection_id":151722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":151722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:47:04] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:47:04] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:47:04] local.INFO: IMEI packet received {"connection_id":151722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":151722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:47:05] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:47:05] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:47:05] local.INFO: Packet analysis {"connection_id":151722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:47:05] local.INFO: Extracted packet for processing {"connection_id":151722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":35,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310050560001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786367680000,"timestamp_ms":1786367680000,"timestamp_seconds":1786367680,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf9e00"} 
[2026-08-10 18:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-10 18:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310050560001,"66":25451,"9":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-08-10 18:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310050560001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:47:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 18:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310050560001,"power":25451,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":151722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:47:05] local.INFO: GPS data processed {"connection_id":151722,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:47:05] local.INFO: Acknowledgment sent {"connection_id":151722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:47:06] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:47:06] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:47:06] local.INFO: IMEI packet received {"connection_id":151723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":151723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:47:11] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:47:11] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:47:11] local.INFO: IMEI packet received {"connection_id":151723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":151723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:47:12] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:47:12] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:47:12] local.INFO: Packet analysis {"connection_id":151723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:47:12] local.INFO: Extracted packet for processing {"connection_id":151723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310036992001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786367633000,"timestamp_ms":1786367633000,"timestamp_seconds":1786367633,"priority":1,"record_length":96,"hex_timestamp":"0000019febcee668"} 
[2026-08-10 18:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:47: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-08-10 18:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310036992001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310036992001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:47:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310036992001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":151723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:47:12] local.INFO: GPS data processed {"connection_id":151723,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:47:12] local.INFO: Acknowledgment sent {"connection_id":151723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:47:19] local.INFO: TCP Data received {"connection_id":154482,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf4fe0012d1820400721aff8004b00cd28..."} 
[2026-08-10 18:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf4fe0012d1820400721aff8004b00cd28..."} 
[2026-08-10 18:47:19] local.INFO: Processing buffer {"connection_id":154482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf4fe0012d1820400721aff8004b00cd28..."} 
[2026-08-10 18:47:19] local.INFO: Packet analysis {"connection_id":154482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:47:19] local.INFO: Extracted packet for processing {"connection_id":154482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310115840001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786367660000,"timestamp_ms":1786367660000,"timestamp_seconds":1786367660,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf4fe0"} 
[2026-08-10 18:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 18:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310115840001,"66":12689,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310115840001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:47:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:47:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310115840001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":154482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:47:19] local.INFO: GPS data processed {"connection_id":154482,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:47:19] local.INFO: Acknowledgment sent {"connection_id":154482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:47:41] local.INFO: TCP Data received {"connection_id":154483,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:47:41] local.INFO: Processing buffer {"connection_id":154483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:47:41] local.INFO: IMEI packet received {"connection_id":154483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":154483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:47:43] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:47:43] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:47:43] local.INFO: Packet analysis {"connection_id":151723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:47:43] local.INFO: Extracted packet for processing {"connection_id":151723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:47:43] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310036992001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786367633000,"timestamp_ms":1786367633000,"timestamp_seconds":1786367633,"priority":1,"record_length":96,"hex_timestamp":"0000019febcee668"} 
[2026-08-10 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-08-10 18:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310036992001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310036992001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:47:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310036992001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":151723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:47:43] local.INFO: GPS data processed {"connection_id":151723,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:47:43] local.INFO: Acknowledgment sent {"connection_id":151723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:47:47] local.INFO: TCP Data received {"connection_id":154483,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:47:47] local.INFO: Processing buffer {"connection_id":154483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:47:47] local.INFO: IMEI packet received {"connection_id":154483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":154483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:47:48] local.INFO: TCP Data received {"connection_id":154483,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcfa5d0012d1820400721aff8004b00cd27..."} 
[2026-08-10 18:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcfa5d0012d1820400721aff8004b00cd27..."} 
[2026-08-10 18:47:48] local.INFO: Processing buffer {"connection_id":154483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcfa5d0012d1820400721aff8004b00cd27..."} 
[2026-08-10 18:47:48] local.INFO: Packet analysis {"connection_id":154483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:47:48] local.INFO: Extracted packet for processing {"connection_id":154483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310120960001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786367682000,"timestamp_ms":1786367682000,"timestamp_seconds":1786367682,"priority":1,"record_length":96,"hex_timestamp":"0000019febcfa5d0"} 
[2026-08-10 18:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 18:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310120960001,"66":12689,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310120960001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:47:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:47:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310120960001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":154483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:47:48] local.INFO: GPS data processed {"connection_id":154483,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:47:48] local.INFO: Acknowledgment sent {"connection_id":154483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:47:50] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:47:50] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:47:50] local.INFO: Packet analysis {"connection_id":151722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:47:50] local.INFO: Extracted packet for processing {"connection_id":151722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:47:50] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":35,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310050560001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786367680000,"timestamp_ms":1786367680000,"timestamp_seconds":1786367680,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf9e00"} 
[2026-08-10 18:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-10 18:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310050560001,"66":25451,"9":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-08-10 18:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310050560001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:47:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 18:47:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310050560001,"power":25451,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":151722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:47:50] local.INFO: GPS data processed {"connection_id":151722,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:47:50] local.INFO: Acknowledgment sent {"connection_id":151722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:47:58] local.INFO: TCP Data received {"connection_id":154484,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:47:58] local.INFO: Processing buffer {"connection_id":154484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:47:58] local.INFO: IMEI packet received {"connection_id":154484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":154484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:48:03] local.INFO: TCP Data received {"connection_id":154484,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:48:03] local.INFO: Processing buffer {"connection_id":154484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:48:03] local.INFO: IMEI packet received {"connection_id":154484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":154484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:48:05] local.INFO: TCP Data received {"connection_id":154484,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:48:05] local.INFO: Processing buffer {"connection_id":154484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:48:05] local.INFO: Packet analysis {"connection_id":154484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:48:05] local.INFO: Extracted packet for processing {"connection_id":154484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":35,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310050560001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786367680000,"timestamp_ms":1786367680000,"timestamp_seconds":1786367680,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf9e00"} 
[2026-08-10 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-08-10 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-10 18:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310050560001,"66":25451,"9":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-08-10 18:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310050560001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:48:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 18:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310050560001,"power":25451,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":154484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:48:05] local.INFO: GPS data processed {"connection_id":154484,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:48:05] local.INFO: Acknowledgment sent {"connection_id":154484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:48:06] local.INFO: TCP Data received {"connection_id":152126,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:48:06] local.INFO: Processing buffer {"connection_id":152126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:48:06] local.INFO: IMEI packet received {"connection_id":152126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":152126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:48:12] local.INFO: TCP Data received {"connection_id":152126,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:48:12] local.INFO: Processing buffer {"connection_id":152126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:48:12] local.INFO: IMEI packet received {"connection_id":152126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":152126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:48:15] local.INFO: TCP Data received {"connection_id":152126,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:48:15] local.INFO: Processing buffer {"connection_id":152126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:48:15] local.INFO: Packet analysis {"connection_id":152126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:48:15] local.INFO: Extracted packet for processing {"connection_id":152126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:48:15] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310036992001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786367633000,"timestamp_ms":1786367633000,"timestamp_seconds":1786367633,"priority":1,"record_length":96,"hex_timestamp":"0000019febcee668"} 
[2026-08-10 18:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310036992001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310036992001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:48:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:48:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310036992001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":152126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:48:15] local.INFO: GPS data processed {"connection_id":152126,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:48:15] local.INFO: Acknowledgment sent {"connection_id":152126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:48:20] local.INFO: TCP Data received {"connection_id":154483,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febcff3f0012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcff3f0012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:48:20] local.INFO: Processing buffer {"connection_id":154483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcff3f0012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:48:20] local.INFO: Packet analysis {"connection_id":154483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:48:20] local.INFO: Extracted packet for processing {"connection_id":154483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310126592001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48: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-08-10 18:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786367702000,"timestamp_ms":1786367702000,"timestamp_seconds":1786367702,"priority":1,"record_length":96,"hex_timestamp":"0000019febcff3f0"} 
[2026-08-10 18:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:48: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-08-10 18:48: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-08-10 18:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310126592001,"66":12645,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310126592001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:48:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:48:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310126592001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":154483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:48:20] local.INFO: GPS data processed {"connection_id":154483,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:48:20] local.INFO: Acknowledgment sent {"connection_id":154483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:48:36] local.INFO: TCP Data received {"connection_id":154484,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:48:36] local.INFO: Processing buffer {"connection_id":154484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:48:36] local.INFO: Packet analysis {"connection_id":154484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:48:36] local.INFO: Extracted packet for processing {"connection_id":154484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":35,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310050560001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786367680000,"timestamp_ms":1786367680000,"timestamp_seconds":1786367680,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf9e00"} 
[2026-08-10 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-08-10 18:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-10 18:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310050560001,"66":25451,"9":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-08-10 18:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310050560001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:48:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 18:48:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310050560001,"power":25451,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":154484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:48:36] local.INFO: GPS data processed {"connection_id":154484,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:48:36] local.INFO: Acknowledgment sent {"connection_id":154484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:48:46] local.INFO: TCP Data received {"connection_id":153046,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:48:46] local.INFO: Processing buffer {"connection_id":153046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:48:46] local.INFO: IMEI packet received {"connection_id":153046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":153046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:48:50] local.INFO: TCP Data received {"connection_id":153046,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:48:50] local.INFO: Processing buffer {"connection_id":153046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:48:50] local.INFO: IMEI packet received {"connection_id":153046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":153046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:48:51] local.INFO: TCP Data received {"connection_id":153046,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd045f8012d1820400721aff8004b00cd25..."} 
[2026-08-10 18:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd045f8012d1820400721aff8004b00cd25..."} 
[2026-08-10 18:48:51] local.INFO: Processing buffer {"connection_id":153046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd045f8012d1820400721aff8004b00cd25..."} 
[2026-08-10 18:48:51] local.INFO: Packet analysis {"connection_id":153046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd0"} 
[2026-08-10 18:48:51] local.INFO: Extracted packet for processing {"connection_id":153046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd0"} 
[2026-08-10 18:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310131712001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786367723000,"timestamp_ms":1786367723000,"timestamp_seconds":1786367723,"priority":1,"record_length":96,"hex_timestamp":"0000019febd045f8"} 
[2026-08-10 18:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:48: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":101,"data_length":795,"current_offset":136} 
[2026-08-10 18:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310131712001,"66":12667,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310131712001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:48:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:48:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310131712001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":153046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:48:51] local.INFO: GPS data processed {"connection_id":153046,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:48:51] local.INFO: Acknowledgment sent {"connection_id":153046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:48:53] local.INFO: TCP Data received {"connection_id":153046,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd09800012d1820400721aff8004b00cd24..."} 
[2026-08-10 18:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd09800012d1820400721aff8004b00cd24..."} 
[2026-08-10 18:48:53] local.INFO: Processing buffer {"connection_id":153046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd09800012d1820400721aff8004b00cd24..."} 
[2026-08-10 18:48:53] local.INFO: Packet analysis {"connection_id":153046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd0"} 
[2026-08-10 18:48:53] local.INFO: Extracted packet for processing {"connection_id":153046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd0"} 
[2026-08-10 18:48:53] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310137088001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786367744000,"timestamp_ms":1786367744000,"timestamp_seconds":1786367744,"priority":1,"record_length":96,"hex_timestamp":"0000019febd09800"} 
[2026-08-10 18:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 18:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":153046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":153046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":153046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310137088001,"66":12667,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310137088001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:48:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:48:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310137088001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":153046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:48:53] local.INFO: GPS data processed {"connection_id":153046,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:48:53] local.INFO: Acknowledgment sent {"connection_id":153046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:48:58] local.INFO: TCP Data received {"connection_id":151724,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:48:58] local.INFO: Processing buffer {"connection_id":151724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:48:58] local.INFO: IMEI packet received {"connection_id":151724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":151724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:49:03] local.INFO: TCP Data received {"connection_id":151724,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:49:03] local.INFO: Processing buffer {"connection_id":151724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:49:03] local.INFO: IMEI packet received {"connection_id":151724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":151724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:49:04] local.INFO: TCP Data received {"connection_id":151724,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:49:04] local.INFO: Processing buffer {"connection_id":151724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:49:04] local.INFO: Packet analysis {"connection_id":151724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:49:04] local.INFO: Extracted packet for processing {"connection_id":151724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":35,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310050560001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786367680000,"timestamp_ms":1786367680000,"timestamp_seconds":1786367680,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf9e00"} 
[2026-08-10 18:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-10 18:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310050560001,"66":25451,"9":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-08-10 18:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310050560001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:49:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 18:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310050560001,"power":25451,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":151724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:49:04] local.INFO: GPS data processed {"connection_id":151724,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:49:04] local.INFO: Acknowledgment sent {"connection_id":151724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:49:06] local.INFO: TCP Data received {"connection_id":152127,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:49:06] local.INFO: Processing buffer {"connection_id":152127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:49:06] local.INFO: IMEI packet received {"connection_id":152127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":152127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:49:08] local.INFO: TCP Data received {"connection_id":152126,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:49:08] local.INFO: Processing buffer {"connection_id":152126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcee668012d7e3a8005d357100006011329..."} 
[2026-08-10 18:49:08] local.INFO: Packet analysis {"connection_id":152126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:49:08] local.INFO: Extracted packet for processing {"connection_id":152126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febce"} 
[2026-08-10 18:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310036992001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786367633000,"timestamp_ms":1786367633000,"timestamp_seconds":1786367633,"priority":1,"record_length":96,"hex_timestamp":"0000019febcee668"} 
[2026-08-10 18:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-10 18:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310036992001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310036992001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:49:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310036992001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":152126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:49:08] local.INFO: GPS data processed {"connection_id":152126,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:49:08] local.INFO: Acknowledgment sent {"connection_id":152126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:49:12] local.INFO: TCP Data received {"connection_id":152127,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:49:12] local.INFO: Processing buffer {"connection_id":152127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:49:12] local.INFO: IMEI packet received {"connection_id":152127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":152127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:49:13] local.INFO: TCP Data received {"connection_id":152127,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:49:13] local.INFO: Processing buffer {"connection_id":152127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:49:13] local.INFO: Packet analysis {"connection_id":152127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:49:13] local.INFO: Extracted packet for processing {"connection_id":152127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310114048001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786367934000,"timestamp_ms":1786367934000,"timestamp_seconds":1786367934,"priority":1,"record_length":96,"hex_timestamp":"0000019febd37e30"} 
[2026-08-10 18:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:49: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-08-10 18:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310114048001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310114048001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:49:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310114048001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":152127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:49:13] local.INFO: GPS data processed {"connection_id":152127,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:49:13] local.INFO: Acknowledgment sent {"connection_id":152127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:49:24] local.INFO: TCP Data received {"connection_id":153046,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd0ea08012d1820400721aff8004b00cd25..."} 
[2026-08-10 18:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd0ea08012d1820400721aff8004b00cd25..."} 
[2026-08-10 18:49:24] local.INFO: Processing buffer {"connection_id":153046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd0ea08012d1820400721aff8004b00cd25..."} 
[2026-08-10 18:49:24] local.INFO: Packet analysis {"connection_id":153046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd0"} 
[2026-08-10 18:49:24] local.INFO: Extracted packet for processing {"connection_id":153046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd0"} 
[2026-08-10 18:49:24] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310142464001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786367765000,"timestamp_ms":1786367765000,"timestamp_seconds":1786367765,"priority":1,"record_length":96,"hex_timestamp":"0000019febd0ea08"} 
[2026-08-10 18:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 18:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310142464001,"66":12211,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310142464001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:49:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:49:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310142464001,"power":12211,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":153046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:49:24] local.INFO: GPS data processed {"connection_id":153046,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:49:24] local.INFO: Acknowledgment sent {"connection_id":153046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:49:38] local.INFO: TCP Data received {"connection_id":151724,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:49:38] local.INFO: Processing buffer {"connection_id":151724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febcf9e00012d34248006abc1900023007e28..."} 
[2026-08-10 18:49:38] local.INFO: Packet analysis {"connection_id":151724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:49:38] local.INFO: Extracted packet for processing {"connection_id":151724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febcf"} 
[2026-08-10 18:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":35,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310050560001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786367680000,"timestamp_ms":1786367680000,"timestamp_seconds":1786367680,"priority":1,"record_length":96,"hex_timestamp":"0000019febcf9e00"} 
[2026-08-10 18:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-10 18:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310050560001,"66":25451,"9":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-08-10 18:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310050560001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:49:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 18:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310050560001,"power":25451,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":151724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:49:38] local.INFO: GPS data processed {"connection_id":151724,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:49:38] local.INFO: Acknowledgment sent {"connection_id":151724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:49:42] local.INFO: TCP Data received {"connection_id":154485,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:49:42] local.INFO: Processing buffer {"connection_id":154485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:49:42] local.INFO: IMEI packet received {"connection_id":154485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":154485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:49:44] local.INFO: TCP Data received {"connection_id":152127,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:49:44] local.INFO: Processing buffer {"connection_id":152127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:49:44] local.INFO: Packet analysis {"connection_id":152127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:49:44] local.INFO: Extracted packet for processing {"connection_id":152127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310114048001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786367934000,"timestamp_ms":1786367934000,"timestamp_seconds":1786367934,"priority":1,"record_length":96,"hex_timestamp":"0000019febd37e30"} 
[2026-08-10 18:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310114048001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310114048001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:49:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:49:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310114048001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":152127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:49:44] local.INFO: GPS data processed {"connection_id":152127,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:49:44] local.INFO: Acknowledgment sent {"connection_id":152127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:49:46] local.INFO: TCP Data received {"connection_id":154485,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:49:46] local.INFO: Processing buffer {"connection_id":154485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:49:46] local.INFO: IMEI packet received {"connection_id":154485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":154485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:49:47] local.INFO: TCP Data received {"connection_id":154485,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd13c10012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd13c10012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:49:47] local.INFO: Processing buffer {"connection_id":154485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd13c10012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:49:47] local.INFO: Packet analysis {"connection_id":154485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd1"} 
[2026-08-10 18:49:47] local.INFO: Extracted packet for processing {"connection_id":154485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd1"} 
[2026-08-10 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310147840001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786367786000,"timestamp_ms":1786367786000,"timestamp_seconds":1786367786,"priority":1,"record_length":96,"hex_timestamp":"0000019febd13c10"} 
[2026-08-10 18:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 18:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310147840001,"66":12613,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310147840001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:49:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:49:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310147840001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":154485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:49:47] local.INFO: GPS data processed {"connection_id":154485,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:49:47] local.INFO: Acknowledgment sent {"connection_id":154485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:49:58] local.INFO: TCP Data received {"connection_id":154486,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:49:58] local.INFO: Processing buffer {"connection_id":154486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:49:58] local.INFO: IMEI packet received {"connection_id":154486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":154486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:50:01] local.INFO: TCP Data received {"connection_id":154486,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:50:01] local.INFO: Processing buffer {"connection_id":154486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:50:01] local.INFO: IMEI packet received {"connection_id":154486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":154486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:50:06] local.INFO: TCP Data received {"connection_id":154486,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:50:06] local.INFO: Processing buffer {"connection_id":154486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:50:06] local.INFO: IMEI packet received {"connection_id":154486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":154486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:50:09] local.INFO: TCP Data received {"connection_id":154486,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:50:09] local.INFO: Processing buffer {"connection_id":154486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:50:09] local.INFO: Packet analysis {"connection_id":154486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:50:09] local.INFO: Extracted packet for processing {"connection_id":154486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":23,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786367972000,"timestamp_ms":1786367972000,"timestamp_seconds":1786367972,"priority":1,"record_length":96,"hex_timestamp":"0000019febd412a0"} 
[2026-08-10 18:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310126080001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:50:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310126080001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":154486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:50:09] local.INFO: GPS data processed {"connection_id":154486,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:50:09] local.INFO: Acknowledgment sent {"connection_id":154486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:50:11] local.INFO: TCP Data received {"connection_id":154487,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:50:11] local.INFO: Processing buffer {"connection_id":154487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:50:11] local.INFO: IMEI packet received {"connection_id":154487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":154487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:50:17] local.INFO: TCP Data received {"connection_id":154487,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:50:17] local.INFO: Processing buffer {"connection_id":154487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:50:17] local.INFO: IMEI packet received {"connection_id":154487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":154487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:50:18] local.INFO: TCP Data received {"connection_id":154487,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:50:18] local.INFO: Processing buffer {"connection_id":154487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:50:18] local.INFO: Packet analysis {"connection_id":154487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:50:18] local.INFO: Extracted packet for processing {"connection_id":154487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:50:18] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310114048001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786367934000,"timestamp_ms":1786367934000,"timestamp_seconds":1786367934,"priority":1,"record_length":96,"hex_timestamp":"0000019febd37e30"} 
[2026-08-10 18:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:50: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":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310114048001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310114048001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:50:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:50:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310114048001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":154487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:50:18] local.INFO: GPS data processed {"connection_id":154487,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:50:18] local.INFO: Acknowledgment sent {"connection_id":154487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:50:19] local.INFO: TCP Data received {"connection_id":154485,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd18e18012d1820400721aff8004b00cd27..."} 
[2026-08-10 18:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd18e18012d1820400721aff8004b00cd27..."} 
[2026-08-10 18:50:19] local.INFO: Processing buffer {"connection_id":154485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd18e18012d1820400721aff8004b00cd27..."} 
[2026-08-10 18:50:19] local.INFO: Packet analysis {"connection_id":154485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd1"} 
[2026-08-10 18:50:19] local.INFO: Extracted packet for processing {"connection_id":154485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd1"} 
[2026-08-10 18:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310153216001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786367807000,"timestamp_ms":1786367807000,"timestamp_seconds":1786367807,"priority":1,"record_length":96,"hex_timestamp":"0000019febd18e18"} 
[2026-08-10 18:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 18:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310153216001,"66":12613,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310153216001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:50:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:50:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310153216001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":154485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:50:19] local.INFO: GPS data processed {"connection_id":154485,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:50:19] local.INFO: Acknowledgment sent {"connection_id":154485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:50:40] local.INFO: TCP Data received {"connection_id":154486,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:50:40] local.INFO: Processing buffer {"connection_id":154486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:50:40] local.INFO: Packet analysis {"connection_id":154486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:50:40] local.INFO: Extracted packet for processing {"connection_id":154486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":23,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786367972000,"timestamp_ms":1786367972000,"timestamp_seconds":1786367972,"priority":1,"record_length":96,"hex_timestamp":"0000019febd412a0"} 
[2026-08-10 18:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310126080001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:50:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310126080001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":154486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:50:40] local.INFO: GPS data processed {"connection_id":154486,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:50:40] local.INFO: Acknowledgment sent {"connection_id":154486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:50:41] local.INFO: TCP Data received {"connection_id":153047,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:50:41] local.INFO: Processing buffer {"connection_id":153047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:50:41] local.INFO: IMEI packet received {"connection_id":153047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":153047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:50:46] local.INFO: TCP Data received {"connection_id":153047,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:50:46] local.INFO: Processing buffer {"connection_id":153047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:50:46] local.INFO: IMEI packet received {"connection_id":153047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":153047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:50:47] local.INFO: TCP Data received {"connection_id":153047,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd1e408012d1820400721aff8004b00cd28..."} 
[2026-08-10 18:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd1e408012d1820400721aff8004b00cd28..."} 
[2026-08-10 18:50:47] local.INFO: Processing buffer {"connection_id":153047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd1e408012d1820400721aff8004b00cd28..."} 
[2026-08-10 18:50:47] local.INFO: Packet analysis {"connection_id":153047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd1"} 
[2026-08-10 18:50:47] local.INFO: Extracted packet for processing {"connection_id":153047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd1"} 
[2026-08-10 18:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310158592001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786367829000,"timestamp_ms":1786367829000,"timestamp_seconds":1786367829,"priority":1,"record_length":96,"hex_timestamp":"0000019febd1e408"} 
[2026-08-10 18:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 18:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310158592001,"66":12602,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310158592001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:50:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:50:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310158592001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":153047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:50:48] local.INFO: GPS data processed {"connection_id":153047,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:50:48] local.INFO: Acknowledgment sent {"connection_id":153047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:50:50] local.INFO: TCP Data received {"connection_id":154487,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:50:50] local.INFO: Processing buffer {"connection_id":154487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:50:50] local.INFO: Packet analysis {"connection_id":154487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:50:50] local.INFO: Extracted packet for processing {"connection_id":154487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:50:50] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310114048001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786367934000,"timestamp_ms":1786367934000,"timestamp_seconds":1786367934,"priority":1,"record_length":96,"hex_timestamp":"0000019febd37e30"} 
[2026-08-10 18:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":154487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":154487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":154487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310114048001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310114048001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:50:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:50:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310114048001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":154487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:50:50] local.INFO: GPS data processed {"connection_id":154487,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:50:50] local.INFO: Acknowledgment sent {"connection_id":154487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:50:58] local.INFO: TCP Data received {"connection_id":154488,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:50:58] local.INFO: Processing buffer {"connection_id":154488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:50:58] local.INFO: IMEI packet received {"connection_id":154488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":154488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:51:03] local.INFO: TCP Data received {"connection_id":154488,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:51:03] local.INFO: Processing buffer {"connection_id":154488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:51:03] local.INFO: IMEI packet received {"connection_id":154488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":154488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:51:04] local.INFO: TCP Data received {"connection_id":154488,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:51:04] local.INFO: Processing buffer {"connection_id":154488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:51:04] local.INFO: Packet analysis {"connection_id":154488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:51:04] local.INFO: Extracted packet for processing {"connection_id":154488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":23,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786367972000,"timestamp_ms":1786367972000,"timestamp_seconds":1786367972,"priority":1,"record_length":96,"hex_timestamp":"0000019febd412a0"} 
[2026-08-10 18:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310126080001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:51:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:51:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310126080001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":154488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:51:04] local.INFO: GPS data processed {"connection_id":154488,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:51:04] local.INFO: Acknowledgment sent {"connection_id":154488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:51:07] local.INFO: TCP Data received {"connection_id":151725,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:51:07] local.INFO: Processing buffer {"connection_id":151725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:51:07] local.INFO: IMEI packet received {"connection_id":151725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 18:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":151725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:51:11] local.INFO: TCP Data received {"connection_id":151725,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:51:11] local.INFO: Processing buffer {"connection_id":151725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 18:51:11] local.INFO: IMEI packet received {"connection_id":151725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 18:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":151725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:51:12] local.INFO: TCP Data received {"connection_id":151725,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:51:12] local.INFO: Processing buffer {"connection_id":151725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:51:12] local.INFO: Packet analysis {"connection_id":151725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:51:12] local.INFO: Extracted packet for processing {"connection_id":151725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310114048001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786367934000,"timestamp_ms":1786367934000,"timestamp_seconds":1786367934,"priority":1,"record_length":96,"hex_timestamp":"0000019febd37e30"} 
[2026-08-10 18:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310114048001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310114048001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:51:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310114048001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":151725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:51:12] local.INFO: GPS data processed {"connection_id":151725,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:51:12] local.INFO: Acknowledgment sent {"connection_id":151725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:51:19] local.INFO: TCP Data received {"connection_id":153047,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd23610012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd23610012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:51:19] local.INFO: Processing buffer {"connection_id":153047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd23610012d1820400721aff8004b00cd26..."} 
[2026-08-10 18:51:19] local.INFO: Packet analysis {"connection_id":153047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd2"} 
[2026-08-10 18:51:19] local.INFO: Extracted packet for processing {"connection_id":153047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd2"} 
[2026-08-10 18:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310164224001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786367850000,"timestamp_ms":1786367850000,"timestamp_seconds":1786367850,"priority":1,"record_length":96,"hex_timestamp":"0000019febd23610"} 
[2026-08-10 18:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-10 18:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310164224001,"66":12613,"122":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-10 18:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310164224001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:51:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-10 18:51:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310164224001,"power":12613,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":153047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:51:19] local.INFO: GPS data processed {"connection_id":153047,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:51:19] local.INFO: Acknowledgment sent {"connection_id":153047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:51:37] local.INFO: TCP Data received {"connection_id":154488,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:51:37] local.INFO: Processing buffer {"connection_id":154488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:51:37] local.INFO: Packet analysis {"connection_id":154488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:51:37] local.INFO: Extracted packet for processing {"connection_id":154488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":23,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786367972000,"timestamp_ms":1786367972000,"timestamp_seconds":1786367972,"priority":1,"record_length":96,"hex_timestamp":"0000019febd412a0"} 
[2026-08-10 18:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310126080001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:51:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310126080001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":154488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:51:37] local.INFO: GPS data processed {"connection_id":154488,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:51:37] local.INFO: Acknowledgment sent {"connection_id":154488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:51:41] local.INFO: TCP Data received {"connection_id":151726,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:51:41] local.INFO: Processing buffer {"connection_id":151726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:51:41] local.INFO: IMEI packet received {"connection_id":151726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":151726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:51:44] local.INFO: TCP Data received {"connection_id":151725,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:51:44] local.INFO: Processing buffer {"connection_id":151725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd37e30012d7e3a8005d357100006011328..."} 
[2026-08-10 18:51:44] local.INFO: Packet analysis {"connection_id":151725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:51:44] local.INFO: Extracted packet for processing {"connection_id":151725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310114048001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786367934000,"timestamp_ms":1786367934000,"timestamp_seconds":1786367934,"priority":1,"record_length":96,"hex_timestamp":"0000019febd37e30"} 
[2026-08-10 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-08-10 18:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 18:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 18:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 18:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 18:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 18:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310114048001,"66":2253,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 18:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 18:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 18:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310114048001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:51:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 18:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 18:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 18:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310114048001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 18:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":151725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:51:44] local.INFO: GPS data processed {"connection_id":151725,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:51:44] local.INFO: Acknowledgment sent {"connection_id":151725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:51:47] local.INFO: TCP Data received {"connection_id":151726,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:51:47] local.INFO: Processing buffer {"connection_id":151726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:51:47] local.INFO: IMEI packet received {"connection_id":151726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":151726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:51:48] local.INFO: TCP Data received {"connection_id":151726,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd28818012d1820400721aff8004b00cd27..."} 
[2026-08-10 18:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd28818012d1820400721aff8004b00cd27..."} 
[2026-08-10 18:51:48] local.INFO: Processing buffer {"connection_id":151726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd28818012d1820400721aff8004b00cd27..."} 
[2026-08-10 18:51:48] local.INFO: Packet analysis {"connection_id":151726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd2"} 
[2026-08-10 18:51:48] local.INFO: Extracted packet for processing {"connection_id":151726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd2"} 
[2026-08-10 18:51:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 18:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310169600001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786367871000,"timestamp_ms":1786367871000,"timestamp_seconds":1786367871,"priority":1,"record_length":96,"hex_timestamp":"0000019febd28818"} 
[2026-08-10 18:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 18:51: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-08-10 18:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310169600001,"66":12558,"122":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-10 18:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310169600001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:51:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-10 18:51:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310169600001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":151726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:51:48] local.INFO: GPS data processed {"connection_id":151726,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:51:48] local.INFO: Acknowledgment sent {"connection_id":151726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:51:58] local.INFO: TCP Data received {"connection_id":153048,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:51:58] local.INFO: Processing buffer {"connection_id":153048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:51:58] local.INFO: IMEI packet received {"connection_id":153048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":153048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:52:03] local.INFO: TCP Data received {"connection_id":153048,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:52:03] local.INFO: Processing buffer {"connection_id":153048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:52:03] local.INFO: IMEI packet received {"connection_id":153048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":153048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:52:04] local.INFO: TCP Data received {"connection_id":153048,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:52:04] local.INFO: Processing buffer {"connection_id":153048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:52:04] local.INFO: Packet analysis {"connection_id":153048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:52:04] local.INFO: Extracted packet for processing {"connection_id":153048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":23,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786367972000,"timestamp_ms":1786367972000,"timestamp_seconds":1786367972,"priority":1,"record_length":96,"hex_timestamp":"0000019febd412a0"} 
[2026-08-10 18:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310126080001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:52:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310126080001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":153048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:52:04] local.INFO: GPS data processed {"connection_id":153048,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:52:04] local.INFO: Acknowledgment sent {"connection_id":153048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:52:20] local.INFO: TCP Data received {"connection_id":151726,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd2da20012d1820400721aff8004b00cd27..."} 
[2026-08-10 18:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd2da20012d1820400721aff8004b00cd27..."} 
[2026-08-10 18:52:20] local.INFO: Processing buffer {"connection_id":151726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd2da20012d1820400721aff8004b00cd27..."} 
[2026-08-10 18:52:20] local.INFO: Packet analysis {"connection_id":151726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd2"} 
[2026-08-10 18:52:20] local.INFO: Extracted packet for processing {"connection_id":151726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd2"} 
[2026-08-10 18:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648248,"longitude_deg":75.655584,"latitude_deg":11.9648248,"altitude":75,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310174976001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544837731909632,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52: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-08-10 18:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786367892000,"timestamp_ms":1786367892000,"timestamp_seconds":1786367892,"priority":1,"record_length":96,"hex_timestamp":"0000019febd2da20"} 
[2026-08-10 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-08-10 18:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":3,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3956316160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517456888,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3510374401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2952265803,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174375,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:20] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:20] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,122,28,24,241,158,16,3,159,54,45,64,175,75,38,10,66,228,40,120,142,1,240,69,235,33,4,113,205,234,32,248,37,239,47,2,41,7,231,86,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-10 18:52:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404545120232013824,"timestamp_seconds":5404545120232014.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 18:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310174976001,"66":12558,"120":206,"28":31744,"24":0,"16":11544837731909632,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310174976001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:52:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:52:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544837731909632,"km_value":11544837731909.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310174976001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":151726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:52:20] local.INFO: GPS data processed {"connection_id":151726,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:52:20] local.INFO: Acknowledgment sent {"connection_id":151726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:52:36] local.INFO: TCP Data received {"connection_id":153048,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:52:36] local.INFO: Processing buffer {"connection_id":153048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:52:36] local.INFO: Packet analysis {"connection_id":153048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:52:36] local.INFO: Extracted packet for processing {"connection_id":153048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":23,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786367972000,"timestamp_ms":1786367972000,"timestamp_seconds":1786367972,"priority":1,"record_length":96,"hex_timestamp":"0000019febd412a0"} 
[2026-08-10 18:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310126080001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:52:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310126080001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":153048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:52:36] local.INFO: GPS data processed {"connection_id":153048,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:52:36] local.INFO: Acknowledgment sent {"connection_id":153048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:52:41] local.INFO: TCP Data received {"connection_id":152128,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:52:41] local.INFO: Processing buffer {"connection_id":152128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:52:41] local.INFO: IMEI packet received {"connection_id":152128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":152128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:52:46] local.INFO: TCP Data received {"connection_id":152128,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:52:46] local.INFO: Processing buffer {"connection_id":152128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:52:46] local.INFO: IMEI packet received {"connection_id":152128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":152128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:52:48] local.INFO: TCP Data received {"connection_id":152128,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd310d0012d181f400721aea8004e00dd26..."} 
[2026-08-10 18:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd310d0012d181f400721aea8004e00dd26..."} 
[2026-08-10 18:52:48] local.INFO: Processing buffer {"connection_id":152128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd310d0012d181f400721aea8004e00dd26..."} 
[2026-08-10 18:52:48] local.INFO: Packet analysis {"connection_id":152128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:52:48] local.INFO: Extracted packet for processing {"connection_id":152128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:52:48] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119647912,"longitude_deg":75.6555584,"latitude_deg":11.9647912,"altitude":78,"angle":221,"satellites":38,"speed":1,"hex_longitude":"2d181f40","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310180352001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544859206746112,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539140608,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786367906000,"timestamp_ms":1786367906000,"timestamp_seconds":1786367906,"priority":1,"record_length":96,"hex_timestamp":"0000019febd310d0"} 
[2026-08-10 18:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-10 18:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:48] local.WARNING: Large IO value detected {"io_id":3,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3956337160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517456888,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:48] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3515750401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2952265803,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-10 18:52:48] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:48] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:48] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-10 18:52:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,3,159,136,45,64,175,75,39,10,66,122,54,38,228,1,240,58,235,33,4,113,205,60,32,248,239,49,2,41,7,231,86,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-10 18:52:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404545120232013824,"timestamp_seconds":5404545120232014.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310180352001,"66":12591,"120":206,"28":31744,"24":1,"16":11544859206746112,"45":1738459855539140608},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310180352001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:52:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:52:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544859206746112,"km_value":11544859206746.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539140608,"description":"Unknown IO ID 45"} 
[2026-08-10 18:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310180352001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738459855539140608}} 
[2026-08-10 18:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":152128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:52:48] local.INFO: GPS data processed {"connection_id":152128,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:52:48] local.INFO: Acknowledgment sent {"connection_id":152128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:52:58] local.INFO: TCP Data received {"connection_id":152129,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:52:58] local.INFO: Processing buffer {"connection_id":152129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:52:58] local.INFO: IMEI packet received {"connection_id":152129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":152129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:53:03] local.INFO: TCP Data received {"connection_id":152129,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:53:03] local.INFO: Processing buffer {"connection_id":152129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:53:03] local.INFO: IMEI packet received {"connection_id":152129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":152129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:53:07] local.INFO: TCP Data received {"connection_id":152129,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:53:07] local.INFO: Processing buffer {"connection_id":152129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:53:07] local.INFO: Packet analysis {"connection_id":152129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:53:07] local.INFO: Extracted packet for processing {"connection_id":152129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":23,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786367972000,"timestamp_ms":1786367972000,"timestamp_seconds":1786367972,"priority":1,"record_length":96,"hex_timestamp":"0000019febd412a0"} 
[2026-08-10 18:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310126080001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:53:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:53:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310126080001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":152129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:53:07] local.INFO: GPS data processed {"connection_id":152129,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:53:07] local.INFO: Acknowledgment sent {"connection_id":152129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:53:19] local.INFO: TCP Data received {"connection_id":152128,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd362d8012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd362d8012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:53:19] local.INFO: Processing buffer {"connection_id":152128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd362d8012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:53:19] local.INFO: Packet analysis {"connection_id":152128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:53:19] local.INFO: Extracted packet for processing {"connection_id":152128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310183936001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562343936,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786367927000,"timestamp_ms":1786367927000,"timestamp_seconds":1786367927,"priority":1,"record_length":96,"hex_timestamp":"0000019febd362d8"} 
[2026-08-10 18:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 18:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310183936001,"66":12548,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1738178380562343936},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310183936001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:53:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:53:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562343936,"description":"Unknown IO ID 45"} 
[2026-08-10 18:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310183936001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562343936}} 
[2026-08-10 18:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":152128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:53:19] local.INFO: GPS data processed {"connection_id":152128,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:53:19] local.INFO: Acknowledgment sent {"connection_id":152128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:53:38] local.INFO: TCP Data received {"connection_id":152129,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:53:38] local.INFO: Processing buffer {"connection_id":152129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:53:38] local.INFO: Packet analysis {"connection_id":152129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:53:38] local.INFO: Extracted packet for processing {"connection_id":152129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":23,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786367972000,"timestamp_ms":1786367972000,"timestamp_seconds":1786367972,"priority":1,"record_length":96,"hex_timestamp":"0000019febd412a0"} 
[2026-08-10 18:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310126080001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:53:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310126080001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":152129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:53:38] local.INFO: GPS data processed {"connection_id":152129,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:53:38] local.INFO: Acknowledgment sent {"connection_id":152129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:53:47] local.INFO: TCP Data received {"connection_id":153049,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:53:47] local.INFO: Processing buffer {"connection_id":153049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:53:47] local.INFO: IMEI packet received {"connection_id":153049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":153049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:53:51] local.INFO: TCP Data received {"connection_id":153049,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:53:51] local.INFO: Processing buffer {"connection_id":153049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:53:51] local.INFO: IMEI packet received {"connection_id":153049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":153049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:53:53] local.INFO: TCP Data received {"connection_id":153049,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd3b4e0012d181e000721ad70004e00dd26..."} 
[2026-08-10 18:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd3b4e0012d181e000721ad70004e00dd26..."} 
[2026-08-10 18:53:53] local.INFO: Processing buffer {"connection_id":153049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd3b4e0012d181e000721ad70004e00dd26..."} 
[2026-08-10 18:53:53] local.INFO: Packet analysis {"connection_id":153049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:53:53] local.INFO: Extracted packet for processing {"connection_id":153049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd3"} 
[2026-08-10 18:53:53] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310189312001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786367948000,"timestamp_ms":1786367948000,"timestamp_seconds":1786367948,"priority":1,"record_length":96,"hex_timestamp":"0000019febd3b4e0"} 
[2026-08-10 18:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-10 18:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:53] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3956379160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:53] local.WARNING: Large IO value detected {"io_id":3,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:53] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3526758401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:53] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2952265803,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-10 18:53:53] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,4,159,45,64,174,78,38,10,66,3,218,175,75,39,136,1,240,14,235,33,113,205,228,32,248,40,239,49,2,41,7,231],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-10 18:53:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620735494531842048,"timestamp_seconds":5620735494531842.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":153049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":153049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":153049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310189312001,"66":12558,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310189312001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:53:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:53:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310189312001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":153049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:53:53] local.INFO: GPS data processed {"connection_id":153049,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:53:53] local.INFO: Acknowledgment sent {"connection_id":153049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:53:57] local.INFO: TCP Data received {"connection_id":153049,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd406e8012d181e000721ad70004e00dd26..."} 
[2026-08-10 18:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd406e8012d181e000721ad70004e00dd26..."} 
[2026-08-10 18:53:57] local.INFO: Processing buffer {"connection_id":153049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd406e8012d181e000721ad70004e00dd26..."} 
[2026-08-10 18:53:57] local.INFO: Packet analysis {"connection_id":153049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:53:57] local.INFO: Extracted packet for processing {"connection_id":153049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310194688001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786367969000,"timestamp_ms":1786367969000,"timestamp_seconds":1786367969,"priority":1,"record_length":96,"hex_timestamp":"0000019febd406e8"} 
[2026-08-10 18:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-10 18:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3956401160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:57] local.WARNING: Large IO value detected {"io_id":3,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517456888,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:57] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3532134401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:57] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2952265803,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-10 18:53:57] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:57] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:57] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-10 18:53:57] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,4,159,98,45,173,78,39,10,66,64,174,38,3,218,1,240,14,235,33,113,205,54,32,248,239,49,122,2,41,7,75,231,86,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-10 18:53:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620735490236874752,"timestamp_seconds":5620735490236875.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310194688001,"66":12558,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310194688001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:53:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:53:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310194688001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":153049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:53:57] local.INFO: GPS data processed {"connection_id":153049,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:53:57] local.INFO: Acknowledgment sent {"connection_id":153049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:54:03] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:54:03] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:54:03] local.INFO: IMEI packet received {"connection_id":151727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":151727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:54:08] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:54:08] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:54:08] local.INFO: IMEI packet received {"connection_id":151727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":151727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:54:09] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:54:09] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:54:09] local.INFO: Packet analysis {"connection_id":151727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:54:09] local.INFO: Extracted packet for processing {"connection_id":151727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":23,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786367972000,"timestamp_ms":1786367972000,"timestamp_seconds":1786367972,"priority":1,"record_length":96,"hex_timestamp":"0000019febd412a0"} 
[2026-08-10 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-08-10 18:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310126080001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:54:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310126080001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":151727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:54:09] local.INFO: GPS data processed {"connection_id":151727,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:54:09] local.INFO: Acknowledgment sent {"connection_id":151727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:54:14] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:54:14] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd412a0012d34248006abc1900017007e27..."} 
[2026-08-10 18:54:14] local.INFO: Packet analysis {"connection_id":151727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:54:14] local.INFO: Extracted packet for processing {"connection_id":151727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd4"} 
[2026-08-10 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":23,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310126080001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786367972000,"timestamp_ms":1786367972000,"timestamp_seconds":1786367972,"priority":1,"record_length":96,"hex_timestamp":"0000019febd412a0"} 
[2026-08-10 18:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 18:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310126080001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310126080001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:54:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310126080001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":151727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:54:14] local.INFO: GPS data processed {"connection_id":151727,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:54:14] local.INFO: Acknowledgment sent {"connection_id":151727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:54:40] local.INFO: TCP Data received {"connection_id":153050,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:54:40] local.INFO: Processing buffer {"connection_id":153050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:54:40] local.INFO: IMEI packet received {"connection_id":153050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":153050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:54:41] local.INFO: TCP Data received {"connection_id":153050,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:54:41] local.INFO: Processing buffer {"connection_id":153050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:54:41] local.INFO: IMEI packet received {"connection_id":153050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":153050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:54:47] local.INFO: TCP Data received {"connection_id":153050,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:54:47] local.INFO: Processing buffer {"connection_id":153050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:54:47] local.INFO: IMEI packet received {"connection_id":153050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":153050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:54:48] local.INFO: TCP Data received {"connection_id":153050,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd78d40012d181e000721ad70004e00dd24..."} 
[2026-08-10 18:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd78d40012d181e000721ad70004e00dd24..."} 
[2026-08-10 18:54:48] local.INFO: Processing buffer {"connection_id":153050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd78d40012d181e000721ad70004e00dd24..."} 
[2026-08-10 18:54:48] local.INFO: Packet analysis {"connection_id":153050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd7"} 
[2026-08-10 18:54:48] local.INFO: Extracted packet for processing {"connection_id":153050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd7"} 
[2026-08-10 18:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":36,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310253824001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786368200000,"timestamp_ms":1786368200000,"timestamp_seconds":1786368200,"priority":1,"record_length":96,"hex_timestamp":"0000019febd78d40"} 
[2026-08-10 18:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-10 18:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310253824001,"66":12504,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310253824001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:54:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310253824001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":153050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:54:48] local.INFO: GPS data processed {"connection_id":153050,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:54:48] local.INFO: Acknowledgment sent {"connection_id":153050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:54:58] local.INFO: TCP Data received {"connection_id":154489,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:54:58] local.INFO: Processing buffer {"connection_id":154489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:54:58] local.INFO: IMEI packet received {"connection_id":154489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":154489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:55:02] local.INFO: TCP Data received {"connection_id":154489,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:55:02] local.INFO: Processing buffer {"connection_id":154489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:55:02] local.INFO: IMEI packet received {"connection_id":154489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":154489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:55:15] local.INFO: TCP Data received {"connection_id":154489,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:55:15] local.INFO: Processing buffer {"connection_id":154489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:55:15] local.INFO: Packet analysis {"connection_id":154489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:55:15] local.INFO: Extracted packet for processing {"connection_id":154489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":31,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18: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-08-10 18:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310200832001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786368264000,"timestamp_ms":1786368264000,"timestamp_seconds":1786368264,"priority":1,"record_length":96,"hex_timestamp":"0000019febd88740"} 
[2026-08-10 18:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:55: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-08-10 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18: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-08-10 18:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310200832001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310200832001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:55:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310200832001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":154489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:55:15] local.INFO: GPS data processed {"connection_id":154489,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:55:15] local.INFO: Acknowledgment sent {"connection_id":154489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:55:16] local.INFO: TCP Data received {"connection_id":154489,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:55:16] local.INFO: Processing buffer {"connection_id":154489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:55:16] local.INFO: Packet analysis {"connection_id":154489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:55:16] local.INFO: Extracted packet for processing {"connection_id":154489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":31,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310200832001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786368264000,"timestamp_ms":1786368264000,"timestamp_seconds":1786368264,"priority":1,"record_length":96,"hex_timestamp":"0000019febd88740"} 
[2026-08-10 18:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310200832001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310200832001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:55:16] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310200832001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":154489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:55:16] local.INFO: GPS data processed {"connection_id":154489,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:55:16] local.INFO: Acknowledgment sent {"connection_id":154489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:55:20] local.INFO: TCP Data received {"connection_id":153050,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd7df48012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd7df48012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:55:20] local.INFO: Processing buffer {"connection_id":153050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd7df48012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:55:20] local.INFO: Packet analysis {"connection_id":153050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd7"} 
[2026-08-10 18:55:20] local.INFO: Extracted packet for processing {"connection_id":153050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd7"} 
[2026-08-10 18:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310259200001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:55: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-08-10 18:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786368221000,"timestamp_ms":1786368221000,"timestamp_seconds":1786368221,"priority":1,"record_length":96,"hex_timestamp":"0000019febd7df48"} 
[2026-08-10 18:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 18:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310259200001,"66":12504,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310259200001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:55:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:55:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310259200001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":153050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:55:20] local.INFO: GPS data processed {"connection_id":153050,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:55:20] local.INFO: Acknowledgment sent {"connection_id":153050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:55:42] local.INFO: TCP Data received {"connection_id":154490,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:55:42] local.INFO: Processing buffer {"connection_id":154490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:55:42] local.INFO: IMEI packet received {"connection_id":154490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":154490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:55:43] local.INFO: TCP Data received {"connection_id":154490,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:55:43] local.INFO: Processing buffer {"connection_id":154490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:55:43] local.INFO: IMEI packet received {"connection_id":154490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":154490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:55:47] local.INFO: TCP Data received {"connection_id":154490,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:55:47] local.INFO: Processing buffer {"connection_id":154490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:55:47] local.INFO: IMEI packet received {"connection_id":154490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":154490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:55:48] local.INFO: TCP Data received {"connection_id":154490,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd83150012d181e000721ad70004e00dd26..."} 
[2026-08-10 18:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd83150012d181e000721ad70004e00dd26..."} 
[2026-08-10 18:55:48] local.INFO: Processing buffer {"connection_id":154490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd83150012d181e000721ad70004e00dd26..."} 
[2026-08-10 18:55:48] local.INFO: Packet analysis {"connection_id":154490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:55:48] local.INFO: Extracted packet for processing {"connection_id":154490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310264576001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786368242000,"timestamp_ms":1786368242000,"timestamp_seconds":1786368242,"priority":1,"record_length":96,"hex_timestamp":"0000019febd83150"} 
[2026-08-10 18:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 18:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310264576001,"66":11950,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310264576001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:55:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:55:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310264576001,"power":11950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":154490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:55:48] local.INFO: GPS data processed {"connection_id":154490,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:55:48] local.INFO: Acknowledgment sent {"connection_id":154490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:56:03] local.INFO: TCP Data received {"connection_id":151728,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:56:03] local.INFO: Processing buffer {"connection_id":151728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:56:03] local.INFO: IMEI packet received {"connection_id":151728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":151728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:56:08] local.INFO: TCP Data received {"connection_id":151728,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:56:08] local.INFO: Processing buffer {"connection_id":151728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:56:08] local.INFO: IMEI packet received {"connection_id":151728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":151728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:56:09] local.INFO: TCP Data received {"connection_id":151728,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:56:09] local.INFO: Processing buffer {"connection_id":151728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:56:09] local.INFO: Packet analysis {"connection_id":151728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:56:09] local.INFO: Extracted packet for processing {"connection_id":151728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":31,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310200832001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786368264000,"timestamp_ms":1786368264000,"timestamp_seconds":1786368264,"priority":1,"record_length":96,"hex_timestamp":"0000019febd88740"} 
[2026-08-10 18:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310200832001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310200832001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:56:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310200832001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":151728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:56:09] local.INFO: GPS data processed {"connection_id":151728,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:56:09] local.INFO: Acknowledgment sent {"connection_id":151728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:56:14] local.INFO: TCP Data received {"connection_id":151728,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:56:14] local.INFO: Processing buffer {"connection_id":151728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:56:14] local.INFO: Packet analysis {"connection_id":151728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:56:14] local.INFO: Extracted packet for processing {"connection_id":151728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":31,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310200832001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786368264000,"timestamp_ms":1786368264000,"timestamp_seconds":1786368264,"priority":1,"record_length":96,"hex_timestamp":"0000019febd88740"} 
[2026-08-10 18:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310200832001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310200832001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:56:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310200832001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":151728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:56:14] local.INFO: GPS data processed {"connection_id":151728,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:56:14] local.INFO: Acknowledgment sent {"connection_id":151728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:56:20] local.INFO: TCP Data received {"connection_id":154490,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd87f70012d181e000721ad70004e00dd28..."} 
[2026-08-10 18:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd87f70012d181e000721ad70004e00dd28..."} 
[2026-08-10 18:56:20] local.INFO: Processing buffer {"connection_id":154490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd87f70012d181e000721ad70004e00dd28..."} 
[2026-08-10 18:56:20] local.INFO: Packet analysis {"connection_id":154490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:56:20] local.INFO: Extracted packet for processing {"connection_id":154490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310269952001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:56: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-08-10 18:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786368262000,"timestamp_ms":1786368262000,"timestamp_seconds":1786368262,"priority":1,"record_length":96,"hex_timestamp":"0000019febd87f70"} 
[2026-08-10 18:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-10 18:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310269952001,"66":12515,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310269952001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:56:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:56:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310269952001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":154490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:56:20] local.INFO: GPS data processed {"connection_id":154490,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:56:20] local.INFO: Acknowledgment sent {"connection_id":154490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:56:41] local.INFO: TCP Data received {"connection_id":153051,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:56:41] local.INFO: Processing buffer {"connection_id":153051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:56:41] local.INFO: IMEI packet received {"connection_id":153051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":153051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:56:46] local.INFO: TCP Data received {"connection_id":153051,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:56:46] local.INFO: Processing buffer {"connection_id":153051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:56:46] local.INFO: IMEI packet received {"connection_id":153051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":153051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:56:47] local.INFO: TCP Data received {"connection_id":153051,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd8d178012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd8d178012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:56:47] local.INFO: Processing buffer {"connection_id":153051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd8d178012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:56:47] local.INFO: Packet analysis {"connection_id":153051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:56:47] local.INFO: Extracted packet for processing {"connection_id":153051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275072001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786368283000,"timestamp_ms":1786368283000,"timestamp_seconds":1786368283,"priority":1,"record_length":96,"hex_timestamp":"0000019febd8d178"} 
[2026-08-10 18:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-10 18:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275072001,"66":12504,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275072001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:56:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:56:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275072001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":153051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:56:47] local.INFO: GPS data processed {"connection_id":153051,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:56:47] local.INFO: Acknowledgment sent {"connection_id":153051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:56:58] local.INFO: TCP Data received {"connection_id":151729,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:56:58] local.INFO: Processing buffer {"connection_id":151729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:56:58] local.INFO: IMEI packet received {"connection_id":151729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":151729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:57:04] local.INFO: TCP Data received {"connection_id":151729,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:57:04] local.INFO: Processing buffer {"connection_id":151729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:57:04] local.INFO: IMEI packet received {"connection_id":151729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":151729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:57:06] local.INFO: TCP Data received {"connection_id":151729,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:57:06] local.INFO: Processing buffer {"connection_id":151729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:57:06] local.INFO: Packet analysis {"connection_id":151729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:57:06] local.INFO: Extracted packet for processing {"connection_id":151729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":31,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310200832001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786368264000,"timestamp_ms":1786368264000,"timestamp_seconds":1786368264,"priority":1,"record_length":96,"hex_timestamp":"0000019febd88740"} 
[2026-08-10 18:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310200832001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310200832001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:57:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310200832001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":151729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:57:06] local.INFO: GPS data processed {"connection_id":151729,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:57:06] local.INFO: Acknowledgment sent {"connection_id":151729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:57:19] local.INFO: TCP Data received {"connection_id":153051,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd92380012d181e000721ad70004e00dd28..."} 
[2026-08-10 18:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd92380012d181e000721ad70004e00dd28..."} 
[2026-08-10 18:57:19] local.INFO: Processing buffer {"connection_id":153051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd92380012d181e000721ad70004e00dd28..."} 
[2026-08-10 18:57:19] local.INFO: Packet analysis {"connection_id":153051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd9"} 
[2026-08-10 18:57:19] local.INFO: Extracted packet for processing {"connection_id":153051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd9"} 
[2026-08-10 18:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310280448001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786368304000,"timestamp_ms":1786368304000,"timestamp_seconds":1786368304,"priority":1,"record_length":96,"hex_timestamp":"0000019febd92380"} 
[2026-08-10 18:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:57: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":216,"data_length":795,"current_offset":136} 
[2026-08-10 18:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310280448001,"66":11798,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310280448001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:57:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:57:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310280448001,"power":11798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":153051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:57:20] local.INFO: GPS data processed {"connection_id":153051,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:57:20] local.INFO: Acknowledgment sent {"connection_id":153051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:57:37] local.INFO: TCP Data received {"connection_id":151729,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:57:37] local.INFO: Processing buffer {"connection_id":151729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:57:37] local.INFO: Packet analysis {"connection_id":151729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:57:37] local.INFO: Extracted packet for processing {"connection_id":151729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":31,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310200832001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786368264000,"timestamp_ms":1786368264000,"timestamp_seconds":1786368264,"priority":1,"record_length":96,"hex_timestamp":"0000019febd88740"} 
[2026-08-10 18:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310200832001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310200832001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:57:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310200832001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":151729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:57:37] local.INFO: GPS data processed {"connection_id":151729,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:57:37] local.INFO: Acknowledgment sent {"connection_id":151729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:57:41] local.INFO: TCP Data received {"connection_id":151730,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:57:41] local.INFO: Processing buffer {"connection_id":151730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:57:41] local.INFO: IMEI packet received {"connection_id":151730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":151730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:57:47] local.INFO: TCP Data received {"connection_id":151730,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:57:47] local.INFO: Processing buffer {"connection_id":151730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:57:47] local.INFO: IMEI packet received {"connection_id":151730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":151730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:57:48] local.INFO: TCP Data received {"connection_id":151730,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd97588012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd97588012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:57:48] local.INFO: Processing buffer {"connection_id":151730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd97588012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:57:48] local.INFO: Packet analysis {"connection_id":151730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd9"} 
[2026-08-10 18:57:48] local.INFO: Extracted packet for processing {"connection_id":151730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd9"} 
[2026-08-10 18:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310285824001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786368325000,"timestamp_ms":1786368325000,"timestamp_seconds":1786368325,"priority":1,"record_length":96,"hex_timestamp":"0000019febd97588"} 
[2026-08-10 18:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847001840,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3956751160,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3621734401,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-5949254772734482944,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2007353629101568,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931367,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":41,"raw_value":288793326105133056,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2738188573441264128,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":57956872821283964,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-7554787081724231673,"note":"Value kept but may cause issues"} 
[2026-08-10 18:57:48] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,4,159,209,45,173,78,39,10,66,127,40,49,1,240,174,235,33,113,205,141,30,112,36,239,48,2,41,87,206,221,227,214],"length":632,"final_offset":762,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-10 18:57:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620735498826809344,"timestamp_seconds":5620735498826809.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 18:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310285824001,"66":12504,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310285824001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:57:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:57:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310285824001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":151730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:57:48] local.INFO: GPS data processed {"connection_id":151730,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:57:48] local.INFO: Acknowledgment sent {"connection_id":151730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:57:58] local.INFO: TCP Data received {"connection_id":154491,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:57:58] local.INFO: Processing buffer {"connection_id":154491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:57:58] local.INFO: IMEI packet received {"connection_id":154491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":154491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:58:03] local.INFO: TCP Data received {"connection_id":154491,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:58:03] local.INFO: Processing buffer {"connection_id":154491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:58:03] local.INFO: IMEI packet received {"connection_id":154491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":154491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:58:04] local.INFO: TCP Data received {"connection_id":154491,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:58:04] local.INFO: Processing buffer {"connection_id":154491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:58:04] local.INFO: Packet analysis {"connection_id":154491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:58:04] local.INFO: Extracted packet for processing {"connection_id":154491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:58:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":31,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310200832001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786368264000,"timestamp_ms":1786368264000,"timestamp_seconds":1786368264,"priority":1,"record_length":96,"hex_timestamp":"0000019febd88740"} 
[2026-08-10 18:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310200832001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310200832001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:58:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310200832001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":154491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:58:04] local.INFO: GPS data processed {"connection_id":154491,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:58:04] local.INFO: Acknowledgment sent {"connection_id":154491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:58:20] local.INFO: TCP Data received {"connection_id":151730,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febd9c790012d181e000721ad70004e00dd28..."} 
[2026-08-10 18:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd9c790012d181e000721ad70004e00dd28..."} 
[2026-08-10 18:58:20] local.INFO: Processing buffer {"connection_id":151730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd9c790012d181e000721ad70004e00dd28..."} 
[2026-08-10 18:58:20] local.INFO: Packet analysis {"connection_id":151730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd9"} 
[2026-08-10 18:58:20] local.INFO: Extracted packet for processing {"connection_id":151730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd9"} 
[2026-08-10 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310291200001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58: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-08-10 18:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786368346000,"timestamp_ms":1786368346000,"timestamp_seconds":1786368346,"priority":1,"record_length":96,"hex_timestamp":"0000019febd9c790"} 
[2026-08-10 18:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 18:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310291200001,"66":12461,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310291200001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:58:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:58:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310291200001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":151730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:58:20] local.INFO: GPS data processed {"connection_id":151730,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:58:20] local.INFO: Acknowledgment sent {"connection_id":151730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:58:37] local.INFO: TCP Data received {"connection_id":154491,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:58:37] local.INFO: Processing buffer {"connection_id":154491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:58:37] local.INFO: Packet analysis {"connection_id":154491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:58:37] local.INFO: Extracted packet for processing {"connection_id":154491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":31,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310200832001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786368264000,"timestamp_ms":1786368264000,"timestamp_seconds":1786368264,"priority":1,"record_length":96,"hex_timestamp":"0000019febd88740"} 
[2026-08-10 18:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310200832001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310200832001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:58:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310200832001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":154491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:58:37] local.INFO: GPS data processed {"connection_id":154491,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:58:37] local.INFO: Acknowledgment sent {"connection_id":154491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:58:47] local.INFO: TCP Data received {"connection_id":151731,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:58:47] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:58:47] local.INFO: IMEI packet received {"connection_id":151731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":151731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:58:52] local.INFO: TCP Data received {"connection_id":151731,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:58:52] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:58:52] local.INFO: IMEI packet received {"connection_id":151731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":151731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:58:53] local.INFO: TCP Data received {"connection_id":151731,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febda1998012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febda1998012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:58:53] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febda1998012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:58:53] local.INFO: Packet analysis {"connection_id":151731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febda"} 
[2026-08-10 18:58:53] local.INFO: Extracted packet for processing {"connection_id":151731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febda"} 
[2026-08-10 18:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310296576001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786368367000,"timestamp_ms":1786368367000,"timestamp_seconds":1786368367,"priority":1,"record_length":96,"hex_timestamp":"0000019febda1998"} 
[2026-08-10 18:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 18:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310296576001,"66":12461,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310296576001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:58:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:58:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310296576001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":151731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:58:53] local.INFO: GPS data processed {"connection_id":151731,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:58:53] local.INFO: Acknowledgment sent {"connection_id":151731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:58:54] local.INFO: TCP Data received {"connection_id":151731,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febda6ba0012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febda6ba0012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:58:54] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febda6ba0012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:58:54] local.INFO: Packet analysis {"connection_id":151731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febda"} 
[2026-08-10 18:58:54] local.INFO: Extracted packet for processing {"connection_id":151731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febda"} 
[2026-08-10 18:58:54] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310301952001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786368388000,"timestamp_ms":1786368388000,"timestamp_seconds":1786368388,"priority":1,"record_length":96,"hex_timestamp":"0000019febda6ba0"} 
[2026-08-10 18:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 18:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310301952001,"66":12504,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310301952001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:58:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:58:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310301952001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":151731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:58:54] local.INFO: GPS data processed {"connection_id":151731,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:58:54] local.INFO: Acknowledgment sent {"connection_id":151731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:59:04] local.INFO: TCP Data received {"connection_id":153052,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:59:04] local.INFO: Processing buffer {"connection_id":153052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:59:04] local.INFO: IMEI packet received {"connection_id":153052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":153052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:59:08] local.INFO: TCP Data received {"connection_id":153052,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:59:08] local.INFO: Processing buffer {"connection_id":153052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:59:08] local.INFO: IMEI packet received {"connection_id":153052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 18:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":153052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:59:09] local.INFO: TCP Data received {"connection_id":153052,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:59:09] local.INFO: Processing buffer {"connection_id":153052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:59:09] local.INFO: Packet analysis {"connection_id":153052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:59:09] local.INFO: Extracted packet for processing {"connection_id":153052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":31,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310200832001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786368264000,"timestamp_ms":1786368264000,"timestamp_seconds":1786368264,"priority":1,"record_length":96,"hex_timestamp":"0000019febd88740"} 
[2026-08-10 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-08-10 18:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:59: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-08-10 18:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310200832001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310200832001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:59:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310200832001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":153052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:59:09] local.INFO: GPS data processed {"connection_id":153052,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:59:09] local.INFO: Acknowledgment sent {"connection_id":153052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:59:14] local.INFO: TCP Data received {"connection_id":153052,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:59:14] local.INFO: Processing buffer {"connection_id":153052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd88740012d34248006abc190001f007e24..."} 
[2026-08-10 18:59:14] local.INFO: Packet analysis {"connection_id":153052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:59:14] local.INFO: Extracted packet for processing {"connection_id":153052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 18:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":31,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 18:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310200832001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786368264000,"timestamp_ms":1786368264000,"timestamp_seconds":1786368264,"priority":1,"record_length":96,"hex_timestamp":"0000019febd88740"} 
[2026-08-10 18:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 18:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 18:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 18:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 18:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310200832001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 18:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 18:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 18:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310200832001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:59:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 18:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 18:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 18:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310200832001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 18:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":153052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:59:14] local.INFO: GPS data processed {"connection_id":153052,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:59:14] local.INFO: Acknowledgment sent {"connection_id":153052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:59:26] local.INFO: TCP Data received {"connection_id":151731,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febdabda8012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdabda8012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:59:26] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdabda8012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:59:26] local.INFO: Packet analysis {"connection_id":151731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febda"} 
[2026-08-10 18:59:26] local.INFO: Extracted packet for processing {"connection_id":151731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febda"} 
[2026-08-10 18:59:26] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310307328001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786368409000,"timestamp_ms":1786368409000,"timestamp_seconds":1786368409,"priority":1,"record_length":96,"hex_timestamp":"0000019febdabda8"} 
[2026-08-10 18:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 18:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310307328001,"66":12461,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310307328001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:59:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:59:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310307328001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":151731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:59:26] local.INFO: GPS data processed {"connection_id":151731,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:59:26] local.INFO: Acknowledgment sent {"connection_id":151731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:59:42] local.INFO: TCP Data received {"connection_id":151732,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:59:42] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:59:42] local.INFO: IMEI packet received {"connection_id":151732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 18:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":151732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 18:59:47] local.INFO: TCP Data received {"connection_id":151732,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:59:47] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 18:59:47] local.INFO: IMEI packet received {"connection_id":151732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 18:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":151732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 18:59:48] local.INFO: TCP Data received {"connection_id":151732,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febdb1398012d181e000721ad70004e00dd26..."} 
[2026-08-10 18:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdb1398012d181e000721ad70004e00dd26..."} 
[2026-08-10 18:59:48] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdb1398012d181e000721ad70004e00dd26..."} 
[2026-08-10 18:59:48] local.INFO: Packet analysis {"connection_id":151732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdb"} 
[2026-08-10 18:59:48] local.INFO: Extracted packet for processing {"connection_id":151732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdb"} 
[2026-08-10 18:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 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-08-10 18:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310312704001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786368431000,"timestamp_ms":1786368431000,"timestamp_seconds":1786368431,"priority":1,"record_length":96,"hex_timestamp":"0000019febdb1398"} 
[2026-08-10 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-08-10 18:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 18:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 18:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310312704001,"66":12439,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310312704001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:59:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:59:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310312704001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":151732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:59:48] local.INFO: GPS data processed {"connection_id":151732,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:59:48] local.INFO: Acknowledgment sent {"connection_id":151732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:59:52] local.INFO: TCP Data received {"connection_id":151732,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febdb65a0012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdb65a0012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:59:52] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdb65a0012d181e000721ad70004e00dd27..."} 
[2026-08-10 18:59:52] local.INFO: Packet analysis {"connection_id":151732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdb"} 
[2026-08-10 18:59:52] local.INFO: Extracted packet for processing {"connection_id":151732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdb"} 
[2026-08-10 18:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 18:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 18:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310318336001,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 18:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 18:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786368452000,"timestamp_ms":1786368452000,"timestamp_seconds":1786368452,"priority":1,"record_length":96,"hex_timestamp":"0000019febdb65a0"} 
[2026-08-10 18:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 18:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 18:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 18:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 18:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 18:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 18:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 18:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 18:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 18:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 18:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 18:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 18:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310318336001,"66":12461,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 18:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 18:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 18:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310318336001,"description":"Unknown IO ID 0"} 
[2026-08-10 18:59:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 18:59:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 18:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 18:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 18:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310318336001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 18:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":151732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 18:59:52] local.INFO: GPS data processed {"connection_id":151732,"processed":1,"errors":0,"total":1} 
[2026-08-10 18:59:52] local.INFO: Acknowledgment sent {"connection_id":151732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 18:59:58] local.INFO: TCP Data received {"connection_id":152130,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:59:58] local.INFO: Processing buffer {"connection_id":152130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 18:59:58] local.INFO: IMEI packet received {"connection_id":152130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 18:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":152130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:00:04] local.INFO: TCP Data received {"connection_id":152130,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:00:04] local.INFO: Processing buffer {"connection_id":152130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:00:04] local.INFO: IMEI packet received {"connection_id":152130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":152130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:00:05] local.INFO: TCP Data received {"connection_id":152130,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:00:05] local.INFO: Processing buffer {"connection_id":152130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:00:05] local.INFO: Packet analysis {"connection_id":152130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:00:05] local.INFO: Extracted packet for processing {"connection_id":152130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786368565000,"timestamp_ms":1786368565000,"timestamp_seconds":1786368565,"priority":1,"record_length":96,"hex_timestamp":"0000019febdd1f08"} 
[2026-08-10 19:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 19:00: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-08-10 19:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275584001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:00:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275584001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":152130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:00:05] local.INFO: GPS data processed {"connection_id":152130,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:00:05] local.INFO: Acknowledgment sent {"connection_id":152130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:00:07] local.INFO: TCP Data received {"connection_id":152130,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:00:07] local.INFO: Processing buffer {"connection_id":152130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:00:07] local.INFO: Packet analysis {"connection_id":152130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:00:07] local.INFO: Extracted packet for processing {"connection_id":152130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786368565000,"timestamp_ms":1786368565000,"timestamp_seconds":1786368565,"priority":1,"record_length":96,"hex_timestamp":"0000019febdd1f08"} 
[2026-08-10 19:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 19:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275584001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:00:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275584001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":152130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:00:07] local.INFO: GPS data processed {"connection_id":152130,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:00:07] local.INFO: Acknowledgment sent {"connection_id":152130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:00:24] local.INFO: TCP Data received {"connection_id":151732,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febdbb7a8012d181e000721ad70004e00dd25..."} 
[2026-08-10 19:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdbb7a8012d181e000721ad70004e00dd25..."} 
[2026-08-10 19:00:24] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdbb7a8012d181e000721ad70004e00dd25..."} 
[2026-08-10 19:00:24] local.INFO: Packet analysis {"connection_id":151732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdb"} 
[2026-08-10 19:00:24] local.INFO: Extracted packet for processing {"connection_id":151732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdb"} 
[2026-08-10 19:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 19:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310323712001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786368473000,"timestamp_ms":1786368473000,"timestamp_seconds":1786368473,"priority":1,"record_length":96,"hex_timestamp":"0000019febdbb7a8"} 
[2026-08-10 19:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 19:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310323712001,"66":11874,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 19:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310323712001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:00:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 19:00:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 19:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310323712001,"power":11874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 19:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":151732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:00:24] local.INFO: GPS data processed {"connection_id":151732,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:00:24] local.INFO: Acknowledgment sent {"connection_id":151732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:00:38] local.INFO: TCP Data received {"connection_id":152130,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:00:38] local.INFO: Processing buffer {"connection_id":152130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:00:38] local.INFO: Packet analysis {"connection_id":152130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:00:38] local.INFO: Extracted packet for processing {"connection_id":152130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786368565000,"timestamp_ms":1786368565000,"timestamp_seconds":1786368565,"priority":1,"record_length":96,"hex_timestamp":"0000019febdd1f08"} 
[2026-08-10 19:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 19:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275584001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:00:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275584001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":152130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:00:38] local.INFO: GPS data processed {"connection_id":152130,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:00:38] local.INFO: Acknowledgment sent {"connection_id":152130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:00:42] local.INFO: TCP Data received {"connection_id":154492,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:00:42] local.INFO: Processing buffer {"connection_id":154492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:00:42] local.INFO: IMEI packet received {"connection_id":154492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":154492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:00:43] local.INFO: TCP Data received {"connection_id":154492,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:00:43] local.INFO: Processing buffer {"connection_id":154492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:00:43] local.INFO: IMEI packet received {"connection_id":154492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":154492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:00:46] local.INFO: TCP Data received {"connection_id":154492,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:00:46] local.INFO: Processing buffer {"connection_id":154492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:00:46] local.INFO: IMEI packet received {"connection_id":154492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":154492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:00:47] local.INFO: TCP Data received {"connection_id":154492,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febdc09b0012d181e000721ad70004e00dd24..."} 
[2026-08-10 19:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdc09b0012d181e000721ad70004e00dd24..."} 
[2026-08-10 19:00:47] local.INFO: Processing buffer {"connection_id":154492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdc09b0012d181e000721ad70004e00dd24..."} 
[2026-08-10 19:00:47] local.INFO: Packet analysis {"connection_id":154492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdc"} 
[2026-08-10 19:00:47] local.INFO: Extracted packet for processing {"connection_id":154492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdc"} 
[2026-08-10 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":36,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 19:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310329088001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 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-08-10 19:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786368494000,"timestamp_ms":1786368494000,"timestamp_seconds":1786368494,"priority":1,"record_length":96,"hex_timestamp":"0000019febdc09b0"} 
[2026-08-10 19:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 19:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310329088001,"66":12461,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 19:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310329088001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:00:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 19:00:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 19:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310329088001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 19:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":154492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:00:47] local.INFO: GPS data processed {"connection_id":154492,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:00:47] local.INFO: Acknowledgment sent {"connection_id":154492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:00:48] local.INFO: TCP Data received {"connection_id":154492,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febdc57d0012d181e000721ad70004e00dd26..."} 
[2026-08-10 19:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdc57d0012d181e000721ad70004e00dd26..."} 
[2026-08-10 19:00:48] local.INFO: Processing buffer {"connection_id":154492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdc57d0012d181e000721ad70004e00dd26..."} 
[2026-08-10 19:00:48] local.INFO: Packet analysis {"connection_id":154492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdc"} 
[2026-08-10 19:00:48] local.INFO: Extracted packet for processing {"connection_id":154492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdc"} 
[2026-08-10 19:00:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310334464001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 19:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786368514000,"timestamp_ms":1786368514000,"timestamp_seconds":1786368514,"priority":1,"record_length":96,"hex_timestamp":"0000019febdc57d0"} 
[2026-08-10 19:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 19:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310334464001,"66":12211,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 19:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310334464001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:00:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 19:00:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 19:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310334464001,"power":12211,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 19:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":154492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:00:48] local.INFO: GPS data processed {"connection_id":154492,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:00:48] local.INFO: Acknowledgment sent {"connection_id":154492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:00:58] local.INFO: TCP Data received {"connection_id":151733,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:00:58] local.INFO: Processing buffer {"connection_id":151733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:00:58] local.INFO: IMEI packet received {"connection_id":151733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":151733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:01:03] local.INFO: TCP Data received {"connection_id":151733,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:01:03] local.INFO: Processing buffer {"connection_id":151733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:01:03] local.INFO: IMEI packet received {"connection_id":151733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":151733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:01:04] local.INFO: TCP Data received {"connection_id":151733,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:01:04] local.INFO: Processing buffer {"connection_id":151733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:01:04] local.INFO: Packet analysis {"connection_id":151733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:01:04] local.INFO: Extracted packet for processing {"connection_id":151733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786368565000,"timestamp_ms":1786368565000,"timestamp_seconds":1786368565,"priority":1,"record_length":96,"hex_timestamp":"0000019febdd1f08"} 
[2026-08-10 19:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 19:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275584001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:01:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275584001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":151733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:01:04] local.INFO: GPS data processed {"connection_id":151733,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:01:04] local.INFO: Acknowledgment sent {"connection_id":151733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:01:19] local.INFO: TCP Data received {"connection_id":154492,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febdca9d8012d181e000721ad70004e00dd23..."} 
[2026-08-10 19:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdca9d8012d181e000721ad70004e00dd23..."} 
[2026-08-10 19:01:19] local.INFO: Processing buffer {"connection_id":154492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdca9d8012d181e000721ad70004e00dd23..."} 
[2026-08-10 19:01:19] local.INFO: Packet analysis {"connection_id":154492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdc"} 
[2026-08-10 19:01:19] local.INFO: Extracted packet for processing {"connection_id":154492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdc"} 
[2026-08-10 19:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647600,"longitude_deg":75.6555264,"latitude_deg":11.96476,"altitude":78,"angle":221,"satellites":35,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-08-10 19:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310339584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544880681582592,"note":"Value kept but may cause issues"} 
[2026-08-10 19:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841375744,"note":"Value kept but may cause issues"} 
[2026-08-10 19:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786368535000,"timestamp_ms":1786368535000,"timestamp_seconds":1786368535,"priority":1,"record_length":96,"hex_timestamp":"0000019febdca9d8"} 
[2026-08-10 19:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-10 19:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310339584001,"66":12504,"120":206,"28":31744,"24":0,"16":11544880681582592,"45":1737826536841375744},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-10 19:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310339584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:01:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-10 19:01:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544880681582592,"km_value":11544880681582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841375744,"description":"Unknown IO ID 45"} 
[2026-08-10 19:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310339584001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841375744}} 
[2026-08-10 19:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":154492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:01:19] local.INFO: GPS data processed {"connection_id":154492,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:01:19] local.INFO: Acknowledgment sent {"connection_id":154492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:01:35] local.INFO: TCP Data received {"connection_id":151733,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:01:35] local.INFO: Processing buffer {"connection_id":151733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:01:35] local.INFO: Packet analysis {"connection_id":151733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:01:35] local.INFO: Extracted packet for processing {"connection_id":151733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786368565000,"timestamp_ms":1786368565000,"timestamp_seconds":1786368565,"priority":1,"record_length":96,"hex_timestamp":"0000019febdd1f08"} 
[2026-08-10 19:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 19:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275584001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:01:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275584001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":151733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:01:35] local.INFO: GPS data processed {"connection_id":151733,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:01:35] local.INFO: Acknowledgment sent {"connection_id":151733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:01:41] local.INFO: TCP Data received {"connection_id":153053,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:01:41] local.INFO: Processing buffer {"connection_id":153053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:01:41] local.INFO: IMEI packet received {"connection_id":153053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":153053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:01:42] local.INFO: TCP Data received {"connection_id":153053,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:01:42] local.INFO: Processing buffer {"connection_id":153053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:01:42] local.INFO: IMEI packet received {"connection_id":153053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":153053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:01:46] local.INFO: TCP Data received {"connection_id":153053,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:01:46] local.INFO: Processing buffer {"connection_id":153053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:01:46] local.INFO: IMEI packet received {"connection_id":153053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":153053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:01:48] local.INFO: TCP Data received {"connection_id":153053,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febde3460012d183440072197500051007123..."} 
[2026-08-10 19:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febde3460012d183440072197500051007123..."} 
[2026-08-10 19:01:48] local.INFO: Processing buffer {"connection_id":153053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febde3460012d183440072197500051007123..."} 
[2026-08-10 19:01:48] local.INFO: Packet analysis {"connection_id":153053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febde"} 
[2026-08-10 19:01:48] local.INFO: Extracted packet for processing {"connection_id":153053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febde"} 
[2026-08-10 19:01:48] local.INFO: GPS Element Parsed {"raw_longitude":756560960,"raw_latitude":119641936,"longitude_deg":75.656096,"latitude_deg":11.9641936,"altitude":81,"angle":113,"satellites":35,"speed":17,"hex_longitude":"2d183440","hex_latitude":"07219750","is_valid_coordinates":true} 
[2026-08-10 19:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310368256001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11545288703475712,"note":"Value kept but may cause issues"} 
[2026-08-10 19:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917863415808,"note":"Value kept but may cause issues"} 
[2026-08-10 19: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-08-10 19:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786368636000,"timestamp_ms":1786368636000,"timestamp_seconds":1786368636,"priority":1,"record_length":96,"hex_timestamp":"0000019febde3460"} 
[2026-08-10 19:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 19:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310368256001,"66":14233,"121":206,"28":31744,"24":17,"16":11545288703475712,"45":1740570917863415808},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 19:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310368256001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:01:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 19:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11545288703475712,"km_value":11545288703475.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917863415808,"description":"Unknown IO ID 45"} 
[2026-08-10 19:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310368256001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1740570917863415808}} 
[2026-08-10 19:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":153053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:01:48] local.INFO: GPS data processed {"connection_id":153053,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:01:48] local.INFO: Acknowledgment sent {"connection_id":153053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:01:58] local.INFO: TCP Data received {"connection_id":153054,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:01:58] local.INFO: Processing buffer {"connection_id":153054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:01:58] local.INFO: IMEI packet received {"connection_id":153054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":153054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:02:03] local.INFO: TCP Data received {"connection_id":153054,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:02:03] local.INFO: Processing buffer {"connection_id":153054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:02:03] local.INFO: IMEI packet received {"connection_id":153054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":153054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:02:04] local.INFO: TCP Data received {"connection_id":153054,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:02:04] local.INFO: Processing buffer {"connection_id":153054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:02:04] local.INFO: Packet analysis {"connection_id":153054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:02:04] local.INFO: Extracted packet for processing {"connection_id":153054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:02:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786368565000,"timestamp_ms":1786368565000,"timestamp_seconds":1786368565,"priority":1,"record_length":96,"hex_timestamp":"0000019febdd1f08"} 
[2026-08-10 19:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 19:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275584001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:02:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275584001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":153054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:02:04] local.INFO: GPS data processed {"connection_id":153054,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:02:04] local.INFO: Acknowledgment sent {"connection_id":153054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:02:20] local.INFO: TCP Data received {"connection_id":153053,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febdf1ad8012d18cb00072135500044009122..."} 
[2026-08-10 19:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdf1ad8012d18cb00072135500044009122..."} 
[2026-08-10 19:02:20] local.INFO: Processing buffer {"connection_id":153053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdf1ad8012d18cb00072135500044009122..."} 
[2026-08-10 19:02:20] local.INFO: Packet analysis {"connection_id":153053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdf"} 
[2026-08-10 19:02:20] local.INFO: Extracted packet for processing {"connection_id":153053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdf"} 
[2026-08-10 19:02:20] local.INFO: GPS Element Parsed {"raw_longitude":756599552,"raw_latitude":119616848,"longitude_deg":75.6599552,"latitude_deg":11.9616848,"altitude":68,"angle":145,"satellites":34,"speed":36,"hex_longitude":"2d18cb00","hex_latitude":"07213550","is_valid_coordinates":true} 
[2026-08-10 19:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310385408001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11547715359997952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785606914130548736,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786368695000,"timestamp_ms":1786368695000,"timestamp_seconds":1786368695,"priority":1,"record_length":96,"hex_timestamp":"0000019febdf1ad8"} 
[2026-08-10 19:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-10 19:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310385408001,"66":14048,"121":206,"28":31744,"24":36,"16":11547715359997952,"45":1785606914130548736},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 19:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310385408001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:02:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 19:02:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11547715359997952,"km_value":11547715359997.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785606914130548736,"description":"Unknown IO ID 45"} 
[2026-08-10 19:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310385408001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1785606914130548736}} 
[2026-08-10 19:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":153053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:02:20] local.INFO: GPS data processed {"connection_id":153053,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:02:20] local.INFO: Acknowledgment sent {"connection_id":153053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:02:35] local.INFO: TCP Data received {"connection_id":153054,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:02:35] local.INFO: Processing buffer {"connection_id":153054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:02:35] local.INFO: Packet analysis {"connection_id":153054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:02:35] local.INFO: Extracted packet for processing {"connection_id":153054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786368565000,"timestamp_ms":1786368565000,"timestamp_seconds":1786368565,"priority":1,"record_length":96,"hex_timestamp":"0000019febdd1f08"} 
[2026-08-10 19:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 19:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275584001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:02:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275584001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":153054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:02:35] local.INFO: GPS data processed {"connection_id":153054,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:02:35] local.INFO: Acknowledgment sent {"connection_id":153054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:02:41] local.INFO: TCP Data received {"connection_id":152131,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:02:41] local.INFO: Processing buffer {"connection_id":152131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:02:41] local.INFO: IMEI packet received {"connection_id":152131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":152131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:02:42] local.INFO: TCP Data received {"connection_id":152131,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:02:42] local.INFO: Processing buffer {"connection_id":152131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:02:42] local.INFO: IMEI packet received {"connection_id":152131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":152131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:02:44] local.INFO: TCP Data received {"connection_id":152131,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:02:44] local.INFO: Processing buffer {"connection_id":152131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:02:44] local.INFO: IMEI packet received {"connection_id":152131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":152131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:02:46] local.INFO: TCP Data received {"connection_id":152131,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:02:46] local.INFO: Processing buffer {"connection_id":152131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:02:46] local.INFO: IMEI packet received {"connection_id":152131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":152131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:02:47] local.INFO: TCP Data received {"connection_id":152131,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febdf2a78012d18d280072129400043009c23..."} 
[2026-08-10 19:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdf2a78012d18d280072129400043009c23..."} 
[2026-08-10 19:02:47] local.INFO: Processing buffer {"connection_id":152131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdf2a78012d18d280072129400043009c23..."} 
[2026-08-10 19:02:47] local.INFO: Packet analysis {"connection_id":152131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdf"} 
[2026-08-10 19:02:47] local.INFO: Extracted packet for processing {"connection_id":152131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdf"} 
[2026-08-10 19:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119613760,"longitude_deg":75.6601472,"latitude_deg":11.961376,"altitude":67,"angle":156,"satellites":35,"speed":35,"hex_longitude":"2d18d280","hex_latitude":"07212940","is_valid_coordinates":true} 
[2026-08-10 19:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310385920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11547891453657088,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786521707804446720,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02: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-08-10 19:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786368699000,"timestamp_ms":1786368699000,"timestamp_seconds":1786368699,"priority":1,"record_length":96,"hex_timestamp":"0000019febdf2a78"} 
[2026-08-10 19:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 19:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310385920001,"66":13939,"121":206,"28":31744,"24":35,"16":11547891453657088,"45":1786521707804446720},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 19:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310385920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:02:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 19:02:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11547891453657088,"km_value":11547891453657.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786521707804446720,"description":"Unknown IO ID 45"} 
[2026-08-10 19:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310385920001,"power":13939,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1786521707804446720}} 
[2026-08-10 19:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":152131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:02:47] local.INFO: GPS data processed {"connection_id":152131,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:02:47] local.INFO: Acknowledgment sent {"connection_id":152131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:02:52] local.INFO: TCP Data received {"connection_id":152131,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febdf2e60012d18d380072125c0004200a923..."} 
[2026-08-10 19:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdf2e60012d18d380072125c0004200a923..."} 
[2026-08-10 19:02:52] local.INFO: Processing buffer {"connection_id":152131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdf2e60012d18d380072125c0004200a923..."} 
[2026-08-10 19:02:52] local.INFO: Packet analysis {"connection_id":152131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdf"} 
[2026-08-10 19:02:52] local.INFO: Extracted packet for processing {"connection_id":152131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdf"} 
[2026-08-10 19:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119612864,"longitude_deg":75.6601728,"latitude_deg":11.9612864,"altitude":66,"angle":169,"satellites":35,"speed":35,"hex_longitude":"2d18d380","hex_latitude":"072125c0","is_valid_coordinates":true} 
[2026-08-10 19:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310386944001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11547934403330048,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128986112,"note":"Value kept but may cause issues"} 
[2026-08-10 19:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786368700000,"timestamp_ms":1786368700000,"timestamp_seconds":1786368700,"priority":1,"record_length":96,"hex_timestamp":"0000019febdf2e60"} 
[2026-08-10 19:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-10 19:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310386944001,"66":14189,"121":206,"28":31744,"24":35,"16":11547934403330048,"45":1788632770128986112},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 19:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310386944001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:02:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 19:02:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11547934403330048,"km_value":11547934403330.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128986112,"description":"Unknown IO ID 45"} 
[2026-08-10 19:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310386944001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1788632770128986112}} 
[2026-08-10 19:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":152131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:02:52] local.INFO: GPS data processed {"connection_id":152131,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:02:52] local.INFO: Acknowledgment sent {"connection_id":152131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:02:58] local.INFO: TCP Data received {"connection_id":151734,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:02:58] local.INFO: Processing buffer {"connection_id":151734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:02:58] local.INFO: IMEI packet received {"connection_id":151734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":151734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:03:03] local.INFO: TCP Data received {"connection_id":151734,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:03:03] local.INFO: Processing buffer {"connection_id":151734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:03:03] local.INFO: IMEI packet received {"connection_id":151734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":151734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:03:04] local.INFO: TCP Data received {"connection_id":151734,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:03:04] local.INFO: Processing buffer {"connection_id":151734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:03:04] local.INFO: Packet analysis {"connection_id":151734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:03:04] local.INFO: Extracted packet for processing {"connection_id":151734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786368565000,"timestamp_ms":1786368565000,"timestamp_seconds":1786368565,"priority":1,"record_length":96,"hex_timestamp":"0000019febdd1f08"} 
[2026-08-10 19:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 19:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275584001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:03:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275584001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":151734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:03:04] local.INFO: GPS data processed {"connection_id":151734,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:03:04] local.INFO: Acknowledgment sent {"connection_id":151734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:03:24] local.INFO: TCP Data received {"connection_id":152131,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febdf3630012d18d38007211ea0004100b623..."} 
[2026-08-10 19:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdf3630012d18d38007211ea0004100b623..."} 
[2026-08-10 19:03:24] local.INFO: Processing buffer {"connection_id":152131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdf3630012d18d38007211ea0004100b623..."} 
[2026-08-10 19:03:24] local.INFO: Packet analysis {"connection_id":152131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdf"} 
[2026-08-10 19:03:24] local.INFO: Extracted packet for processing {"connection_id":152131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdf"} 
[2026-08-10 19:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119611040,"longitude_deg":75.6601728,"latitude_deg":11.961104,"altitude":65,"angle":182,"satellites":35,"speed":37,"hex_longitude":"2d18d380","hex_latitude":"07211ea0","is_valid_coordinates":true} 
[2026-08-10 19:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310387200001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11548024597643264,"note":"Value kept but may cause issues"} 
[2026-08-10 19:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245105467392,"note":"Value kept but may cause issues"} 
[2026-08-10 19:03: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-08-10 19:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786368702000,"timestamp_ms":1786368702000,"timestamp_seconds":1786368702,"priority":1,"record_length":96,"hex_timestamp":"0000019febdf3630"} 
[2026-08-10 19:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 19:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310387200001,"66":14189,"121":206,"28":31744,"24":37,"16":11548024597643264,"45":1788914245105467392},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 19:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310387200001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:03:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 19:03:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11548024597643264,"km_value":11548024597643.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245105467392,"description":"Unknown IO ID 45"} 
[2026-08-10 19:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310387200001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1788914245105467392}} 
[2026-08-10 19:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":152131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:03:24] local.INFO: GPS data processed {"connection_id":152131,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:03:24] local.INFO: Acknowledgment sent {"connection_id":152131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:03:35] local.INFO: TCP Data received {"connection_id":151734,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:03:35] local.INFO: Processing buffer {"connection_id":151734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:03:35] local.INFO: Packet analysis {"connection_id":151734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:03:35] local.INFO: Extracted packet for processing {"connection_id":151734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786368565000,"timestamp_ms":1786368565000,"timestamp_seconds":1786368565,"priority":1,"record_length":96,"hex_timestamp":"0000019febdd1f08"} 
[2026-08-10 19:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 19:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275584001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:03:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275584001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":151734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:03:35] local.INFO: GPS data processed {"connection_id":151734,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:03:35] local.INFO: Acknowledgment sent {"connection_id":151734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:03:41] local.INFO: TCP Data received {"connection_id":152132,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:03:41] local.INFO: Processing buffer {"connection_id":152132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:03:41] local.INFO: IMEI packet received {"connection_id":152132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":152132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:03:45] local.INFO: TCP Data received {"connection_id":152132,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:03:45] local.INFO: Processing buffer {"connection_id":152132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:03:45] local.INFO: IMEI packet received {"connection_id":152132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":152132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:03:46] local.INFO: TCP Data received {"connection_id":152132,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:03:46] local.INFO: Processing buffer {"connection_id":152132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:03:46] local.INFO: IMEI packet received {"connection_id":152132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":152132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:03:48] local.INFO: TCP Data received {"connection_id":152132,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febe04f70012d1968c00720abc80031005521..."} 
[2026-08-10 19:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe04f70012d1968c00720abc80031005521..."} 
[2026-08-10 19:03:48] local.INFO: Processing buffer {"connection_id":152132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe04f70012d1968c00720abc80031005521..."} 
[2026-08-10 19:03:48] local.INFO: Packet analysis {"connection_id":152132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe0"} 
[2026-08-10 19:03:48] local.INFO: Extracted packet for processing {"connection_id":152132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe0"} 
[2026-08-10 19:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119581640,"longitude_deg":75.6639936,"latitude_deg":11.958164,"altitude":49,"angle":85,"satellites":33,"speed":24,"hex_longitude":"2d1968c0","hex_latitude":"0720abc8","is_valid_coordinates":true} 
[2026-08-10 19:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310400768001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11550571513249792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825224517093052416,"note":"Value kept but may cause issues"} 
[2026-08-10 19:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786368774000,"timestamp_ms":1786368774000,"timestamp_seconds":1786368774,"priority":1,"record_length":96,"hex_timestamp":"0000019febe04f70"} 
[2026-08-10 19:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 19:03: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-08-10 19:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310400768001,"66":14233,"121":206,"28":31744,"24":24,"16":11550571513249792,"45":1825224517093052416},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 19:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310400768001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:03:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 19:03:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11550571513249792,"km_value":11550571513249.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825224517093052416,"description":"Unknown IO ID 45"} 
[2026-08-10 19:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310400768001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1825224517093052416}} 
[2026-08-10 19:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":152132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:03:48] local.INFO: GPS data processed {"connection_id":152132,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:03:48] local.INFO: Acknowledgment sent {"connection_id":152132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:04:03] local.INFO: TCP Data received {"connection_id":154493,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:04:03] local.INFO: Processing buffer {"connection_id":154493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:04:03] local.INFO: IMEI packet received {"connection_id":154493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":154493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:04:08] local.INFO: TCP Data received {"connection_id":154493,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:04:08] local.INFO: Processing buffer {"connection_id":154493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:04:08] local.INFO: IMEI packet received {"connection_id":154493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":154493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:04:09] local.INFO: TCP Data received {"connection_id":154493,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:04:09] local.INFO: Processing buffer {"connection_id":154493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:04:09] local.INFO: Packet analysis {"connection_id":154493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:04:09] local.INFO: Extracted packet for processing {"connection_id":154493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786368565000,"timestamp_ms":1786368565000,"timestamp_seconds":1786368565,"priority":1,"record_length":96,"hex_timestamp":"0000019febdd1f08"} 
[2026-08-10 19:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 19:04: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-08-10 19:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275584001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:04:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275584001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":154493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:04:09] local.INFO: GPS data processed {"connection_id":154493,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:04:09] local.INFO: Acknowledgment sent {"connection_id":154493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:04:15] local.INFO: TCP Data received {"connection_id":154493,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:04:15] local.INFO: Processing buffer {"connection_id":154493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:04:15] local.INFO: Packet analysis {"connection_id":154493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:04:15] local.INFO: Extracted packet for processing {"connection_id":154493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786368565000,"timestamp_ms":1786368565000,"timestamp_seconds":1786368565,"priority":1,"record_length":96,"hex_timestamp":"0000019febdd1f08"} 
[2026-08-10 19:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:04: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-08-10 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 19:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275584001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:04:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275584001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":154493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:04:15] local.INFO: GPS data processed {"connection_id":154493,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:04:15] local.INFO: Acknowledgment sent {"connection_id":154493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:04:19] local.INFO: TCP Data received {"connection_id":152132,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febe05f10012d1973000720ae200031004720..."} 
[2026-08-10 19:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe05f10012d1973000720ae200031004720..."} 
[2026-08-10 19:04:19] local.INFO: Processing buffer {"connection_id":152132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe05f10012d1973000720ae200031004720..."} 
[2026-08-10 19:04:19] local.INFO: Packet analysis {"connection_id":152132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe0"} 
[2026-08-10 19:04:19] local.INFO: Extracted packet for processing {"connection_id":152132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe0"} 
[2026-08-10 19:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756642560,"raw_latitude":119582240,"longitude_deg":75.664256,"latitude_deg":11.958224,"altitude":49,"angle":71,"satellites":32,"speed":28,"hex_longitude":"2d197300","hex_latitude":"0720ae20","is_valid_coordinates":true} 
[2026-08-10 19:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310406144001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11550700362268672,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371539456,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786368778000,"timestamp_ms":1786368778000,"timestamp_seconds":1786368778,"priority":1,"record_length":96,"hex_timestamp":"0000019febe05f10"} 
[2026-08-10 19:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 19:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310406144001,"66":13439,"121":206,"28":31744,"24":28,"16":11550700362268672,"45":1830924385371539456},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 19:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310406144001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:04:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 19:04:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11550700362268672,"km_value":11550700362268.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371539456,"description":"Unknown IO ID 45"} 
[2026-08-10 19:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310406144001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1830924385371539456}} 
[2026-08-10 19:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":152132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:04:19] local.INFO: GPS data processed {"connection_id":152132,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:04:19] local.INFO: Acknowledgment sent {"connection_id":152132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:04:47] local.INFO: TCP Data received {"connection_id":153055,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:04:47] local.INFO: Processing buffer {"connection_id":153055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:04:47] local.INFO: IMEI packet received {"connection_id":153055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":153055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:04:47] local.INFO: TCP Data received {"connection_id":153055,"ip":"117.224.148.221","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-10 19:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153055,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-10 19:04:47] local.INFO: Processing buffer {"connection_id":153055,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-10 19:04:47] local.INFO: IMEI packet received {"connection_id":153055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":153055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:04:49] local.INFO: TCP Data received {"connection_id":153055,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febe0f768012d19af80072086b8002f00a924..."} 
[2026-08-10 19:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe0f768012d19af80072086b8002f00a924..."} 
[2026-08-10 19:04:49] local.INFO: Processing buffer {"connection_id":153055,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019feb..."} 
[2026-08-10 19:04:49] local.INFO: IMEI packet received {"connection_id":153055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":153055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:04:50] local.INFO: TCP Data received {"connection_id":153055,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febe10ed8012d19b6c007206d80002e009d25..."} 
[2026-08-10 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe10ed8012d19b6c007206d80002e009d25..."} 
[2026-08-10 19:04:50] local.INFO: Processing buffer {"connection_id":153055,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019febe0f768012d19af80072086b8002f00a924..."} 
[2026-08-10 19:04:50] local.INFO: Packet analysis {"connection_id":153055,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019febe0"} 
[2026-08-10 19:04:50] local.INFO: Extracted packet for processing {"connection_id":153055,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe0"} 
[2026-08-10 19:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756658048,"raw_latitude":119572152,"longitude_deg":75.6658048,"latitude_deg":11.9572152,"altitude":47,"angle":169,"satellites":36,"speed":37,"hex_longitude":"2d19af80","hex_latitude":"072086b8","is_valid_coordinates":true} 
[2026-08-10 19:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310416640001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552079046770688,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995127296,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04: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-08-10 19:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786368817000,"timestamp_ms":1786368817000,"timestamp_seconds":1786368817,"priority":1,"record_length":96,"hex_timestamp":"0000019febe0f768"} 
[2026-08-10 19:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:04: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":219,"data_length":795,"current_offset":136} 
[2026-08-10 19:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":153055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":153055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":153055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310416640001,"66":13439,"121":206,"28":31744,"24":37,"16":11552079046770688,"45":1850557264995127296},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 19:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310416640001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:04:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 19:04:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552079046770688,"km_value":11552079046770.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995127296,"description":"Unknown IO ID 45"} 
[2026-08-10 19:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310416640001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1850557264995127296}} 
[2026-08-10 19:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":153055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:04:50] local.INFO: GPS data processed {"connection_id":153055,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:04:50] local.INFO: Acknowledgment sent {"connection_id":153055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:04:50] local.INFO: Packet analysis {"connection_id":153055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:04:50] local.INFO: Extracted packet for processing {"connection_id":153055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756659904,"raw_latitude":119565696,"longitude_deg":75.6659904,"latitude_deg":11.9565696,"altitude":46,"angle":157,"satellites":37,"speed":45,"hex_longitude":"2d19b6c0","hex_latitude":"07206d80","is_valid_coordinates":true} 
[2026-08-10 19:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310417152001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552405464285184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850838739971389440,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04: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-08-10 19:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786368823000,"timestamp_ms":1786368823000,"timestamp_seconds":1786368823,"priority":1,"record_length":96,"hex_timestamp":"0000019febe10ed8"} 
[2026-08-10 19:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:04: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":127,"data_length":795,"current_offset":136} 
[2026-08-10 19:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":153055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":153055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":153055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310417152001,"66":13124,"121":206,"28":31744,"24":45,"16":11552405464285184,"45":1850838739971389440},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 19:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310417152001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:04:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 19:04:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552405464285184,"km_value":11552405464285.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850838739971389440,"description":"Unknown IO ID 45"} 
[2026-08-10 19:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310417152001,"power":13124,"unknown_121":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1850838739971389440}} 
[2026-08-10 19:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":153055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:04:50] local.INFO: GPS data processed {"connection_id":153055,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:04:50] local.INFO: Acknowledgment sent {"connection_id":153055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:04:52] local.INFO: TCP Data received {"connection_id":153055,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febe11e78012d19bb8007205c78002c00aa27..."} 
[2026-08-10 19:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe11e78012d19bb8007205c78002c00aa27..."} 
[2026-08-10 19:04:52] local.INFO: Processing buffer {"connection_id":153055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe11e78012d19bb8007205c78002c00aa27..."} 
[2026-08-10 19:04:52] local.INFO: Packet analysis {"connection_id":153055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:04:52] local.INFO: Extracted packet for processing {"connection_id":153055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:04:52] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119561336,"longitude_deg":75.666112,"latitude_deg":11.9561336,"altitude":44,"angle":170,"satellites":39,"speed":43,"hex_longitude":"2d19bb80","hex_latitude":"07205c78","is_valid_coordinates":true} 
[2026-08-10 19:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310418688001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552624507617280,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852879433550888960,"note":"Value kept but may cause issues"} 
[2026-08-10 19:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786368827000,"timestamp_ms":1786368827000,"timestamp_seconds":1786368827,"priority":1,"record_length":96,"hex_timestamp":"0000019febe11e78"} 
[2026-08-10 19:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-10 19:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310418688001,"66":13961,"121":206,"28":31744,"24":43,"16":11552624507617280,"45":1852879433550888960},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 19:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310418688001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:04:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 19:04:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552624507617280,"km_value":11552624507617.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852879433550888960,"description":"Unknown IO ID 45"} 
[2026-08-10 19:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310418688001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1852879433550888960}} 
[2026-08-10 19:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":153055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:04:52] local.INFO: GPS data processed {"connection_id":153055,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:04:52] local.INFO: Acknowledgment sent {"connection_id":153055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:05:01] local.INFO: TCP Data received {"connection_id":153056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:05:01] local.INFO: Processing buffer {"connection_id":153056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:05:01] local.INFO: IMEI packet received {"connection_id":153056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":153056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:05:03] local.INFO: TCP Data received {"connection_id":153056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:05:03] local.INFO: Processing buffer {"connection_id":153056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:05:03] local.INFO: IMEI packet received {"connection_id":153056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":153056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:05:04] local.INFO: TCP Data received {"connection_id":153056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:05:04] local.INFO: Processing buffer {"connection_id":153056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdd1f08012d34248006abc1900019007e25..."} 
[2026-08-10 19:05:04] local.INFO: Packet analysis {"connection_id":153056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:05:04] local.INFO: Extracted packet for processing {"connection_id":153056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febdd"} 
[2026-08-10 19:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310275584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786368565000,"timestamp_ms":1786368565000,"timestamp_seconds":1786368565,"priority":1,"record_length":96,"hex_timestamp":"0000019febdd1f08"} 
[2026-08-10 19:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 19:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310275584001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310275584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:05:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310275584001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":153056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:05:04] local.INFO: GPS data processed {"connection_id":153056,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:05:04] local.INFO: Acknowledgment sent {"connection_id":153056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:05:05] local.INFO: TCP Data received {"connection_id":153056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:05:05] local.INFO: Processing buffer {"connection_id":153056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:05:05] local.INFO: Packet analysis {"connection_id":153056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:05:05] local.INFO: Extracted packet for processing {"connection_id":153056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310352640001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786368866000,"timestamp_ms":1786368866000,"timestamp_seconds":1786368866,"priority":1,"record_length":96,"hex_timestamp":"0000019febe1b6d0"} 
[2026-08-10 19:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:05: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-08-10 19:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310352640001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310352640001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:05:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310352640001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":153056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:05:05] local.INFO: GPS data processed {"connection_id":153056,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:05:05] local.INFO: Acknowledgment sent {"connection_id":153056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:05:23] local.INFO: TCP Data received {"connection_id":153055,"ip":"117.224.148.221","data_length":795,"data_hex":"000000000000030f8e0a0000019febe141a0012d19bf40072039e8002d00a323..."} 
[2026-08-10 19:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe141a0012d19bf40072039e8002d00a323..."} 
[2026-08-10 19:05:23] local.INFO: Processing buffer {"connection_id":153055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe141a0012d19bf40072039e8002d00a323..."} 
[2026-08-10 19:05:23] local.INFO: Packet analysis {"connection_id":153055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:05:23] local.INFO: Extracted packet for processing {"connection_id":153055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756662080,"raw_latitude":119552488,"longitude_deg":75.666208,"latitude_deg":11.9552488,"altitude":45,"angle":163,"satellites":35,"speed":32,"hex_longitude":"2d19bf40","hex_latitude":"072039e8","is_valid_coordinates":true} 
[2026-08-10 19:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310419712001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11553058299314176,"note":"Value kept but may cause issues"} 
[2026-08-10 19:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439689148416,"note":"Value kept but may cause issues"} 
[2026-08-10 19: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-08-10 19:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786368836000,"timestamp_ms":1786368836000,"timestamp_seconds":1786368836,"priority":1,"record_length":96,"hex_timestamp":"0000019febe141a0"} 
[2026-08-10 19:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-10 19:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310419712001,"66":13993,"121":206,"28":31744,"24":32,"16":11553058299314176,"45":1854216439689148416},"client_ip":"117.224.148.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-10 19:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310419712001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:05:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-10 19:05:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-10 19:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11553058299314176,"km_value":11553058299314.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439689148416,"description":"Unknown IO ID 45"} 
[2026-08-10 19:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310419712001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1854216439689148416}} 
[2026-08-10 19:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":153055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:05:24] local.INFO: GPS data processed {"connection_id":153055,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:05:24] local.INFO: Acknowledgment sent {"connection_id":153055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:05:38] local.INFO: TCP Data received {"connection_id":153056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:05:38] local.INFO: Processing buffer {"connection_id":153056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:05:38] local.INFO: Packet analysis {"connection_id":153056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:05:38] local.INFO: Extracted packet for processing {"connection_id":153056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310352640001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786368866000,"timestamp_ms":1786368866000,"timestamp_seconds":1786368866,"priority":1,"record_length":96,"hex_timestamp":"0000019febe1b6d0"} 
[2026-08-10 19:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19: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-08-10 19:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310352640001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310352640001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:05:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310352640001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":153056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:05:38] local.INFO: GPS data processed {"connection_id":153056,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:05:38] local.INFO: Acknowledgment sent {"connection_id":153056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:05:41] local.INFO: TCP Data received {"connection_id":153057,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:05:41] local.INFO: Processing buffer {"connection_id":153057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:05:41] local.INFO: IMEI packet received {"connection_id":153057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":153057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:05:58] local.INFO: TCP Data received {"connection_id":154494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:05:58] local.INFO: Processing buffer {"connection_id":154494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:05:58] local.INFO: IMEI packet received {"connection_id":154494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":154494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:06:06] local.INFO: TCP Data received {"connection_id":154494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:06:06] local.INFO: Processing buffer {"connection_id":154494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:06:06] local.INFO: IMEI packet received {"connection_id":154494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":154494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:06:07] local.INFO: TCP Data received {"connection_id":154494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:06:07] local.INFO: Processing buffer {"connection_id":154494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:06:07] local.INFO: Packet analysis {"connection_id":154494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:06:07] local.INFO: Extracted packet for processing {"connection_id":154494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310352640001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786368866000,"timestamp_ms":1786368866000,"timestamp_seconds":1786368866,"priority":1,"record_length":96,"hex_timestamp":"0000019febe1b6d0"} 
[2026-08-10 19:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:06: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-08-10 19:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310352640001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310352640001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:06:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310352640001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":154494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:06:07] local.INFO: GPS data processed {"connection_id":154494,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:06:07] local.INFO: Acknowledgment sent {"connection_id":154494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:06:38] local.INFO: TCP Data received {"connection_id":154494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:06:38] local.INFO: Processing buffer {"connection_id":154494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:06:38] local.INFO: Packet analysis {"connection_id":154494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:06:38] local.INFO: Extracted packet for processing {"connection_id":154494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310352640001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786368866000,"timestamp_ms":1786368866000,"timestamp_seconds":1786368866,"priority":1,"record_length":96,"hex_timestamp":"0000019febe1b6d0"} 
[2026-08-10 19:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:06: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-08-10 19:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310352640001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310352640001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:06:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310352640001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":154494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:06:38] local.INFO: GPS data processed {"connection_id":154494,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:06:38] local.INFO: Acknowledgment sent {"connection_id":154494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:07:03] local.INFO: TCP Data received {"connection_id":154495,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:07:03] local.INFO: Processing buffer {"connection_id":154495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:07:03] local.INFO: IMEI packet received {"connection_id":154495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":154495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:07:08] local.INFO: TCP Data received {"connection_id":154495,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:07:08] local.INFO: Processing buffer {"connection_id":154495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:07:08] local.INFO: IMEI packet received {"connection_id":154495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":154495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:07:09] local.INFO: TCP Data received {"connection_id":154495,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:07:09] local.INFO: Processing buffer {"connection_id":154495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:07:09] local.INFO: Packet analysis {"connection_id":154495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:07:09] local.INFO: Extracted packet for processing {"connection_id":154495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310352640001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786368866000,"timestamp_ms":1786368866000,"timestamp_seconds":1786368866,"priority":1,"record_length":96,"hex_timestamp":"0000019febe1b6d0"} 
[2026-08-10 19:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310352640001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310352640001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:07:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310352640001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":154495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:07:09] local.INFO: GPS data processed {"connection_id":154495,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:07:09] local.INFO: Acknowledgment sent {"connection_id":154495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:07:30] local.INFO: TCP Data received {"connection_id":153057,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:07:30] local.INFO: Processing buffer {"connection_id":153057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:07:30] local.INFO: IMEI packet received {"connection_id":153057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":153057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:07:32] local.INFO: TCP Data received {"connection_id":153057,"ip":"117.224.148.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:07:32] local.INFO: Processing buffer {"connection_id":153057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:07:32] local.INFO: IMEI packet received {"connection_id":153057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":153057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:07:40] local.INFO: TCP Data received {"connection_id":154495,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:07:40] local.INFO: Processing buffer {"connection_id":154495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:07:40] local.INFO: Packet analysis {"connection_id":154495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:07:40] local.INFO: Extracted packet for processing {"connection_id":154495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:07:40] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310352640001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786368866000,"timestamp_ms":1786368866000,"timestamp_seconds":1786368866,"priority":1,"record_length":96,"hex_timestamp":"0000019febe1b6d0"} 
[2026-08-10 19:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310352640001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310352640001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:07:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:07:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310352640001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":154495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:07:40] local.INFO: GPS data processed {"connection_id":154495,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:07:40] local.INFO: Acknowledgment sent {"connection_id":154495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:07:58] local.INFO: TCP Data received {"connection_id":152133,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:07:58] local.INFO: Processing buffer {"connection_id":152133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:07:58] local.INFO: IMEI packet received {"connection_id":152133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":152133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:08:03] local.INFO: TCP Data received {"connection_id":152133,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:08:03] local.INFO: Processing buffer {"connection_id":152133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:08:03] local.INFO: IMEI packet received {"connection_id":152133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":152133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:08:04] local.INFO: TCP Data received {"connection_id":152133,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:08:04] local.INFO: Processing buffer {"connection_id":152133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:08:04] local.INFO: Packet analysis {"connection_id":152133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:08:04] local.INFO: Extracted packet for processing {"connection_id":152133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310352640001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786368866000,"timestamp_ms":1786368866000,"timestamp_seconds":1786368866,"priority":1,"record_length":96,"hex_timestamp":"0000019febe1b6d0"} 
[2026-08-10 19:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310352640001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310352640001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:08:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310352640001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":152133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:08:04] local.INFO: GPS data processed {"connection_id":152133,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:08:04] local.INFO: Acknowledgment sent {"connection_id":152133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:08:35] local.INFO: TCP Data received {"connection_id":152133,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:08:35] local.INFO: Processing buffer {"connection_id":152133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:08:35] local.INFO: Packet analysis {"connection_id":152133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:08:35] local.INFO: Extracted packet for processing {"connection_id":152133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310352640001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786368866000,"timestamp_ms":1786368866000,"timestamp_seconds":1786368866,"priority":1,"record_length":96,"hex_timestamp":"0000019febe1b6d0"} 
[2026-08-10 19:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310352640001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310352640001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:08:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310352640001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":152133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:08:35] local.INFO: GPS data processed {"connection_id":152133,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:08:35] local.INFO: Acknowledgment sent {"connection_id":152133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:08:56] local.INFO: TCP Data received {"connection_id":154496,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:08:56] local.INFO: Processing buffer {"connection_id":154496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:08:56] local.INFO: IMEI packet received {"connection_id":154496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":154496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:08:58] local.INFO: TCP Data received {"connection_id":154497,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:08:58] local.INFO: Processing buffer {"connection_id":154497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:08:58] local.INFO: IMEI packet received {"connection_id":154497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":154497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:09:03] local.INFO: TCP Data received {"connection_id":154497,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:09:03] local.INFO: Processing buffer {"connection_id":154497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:09:03] local.INFO: IMEI packet received {"connection_id":154497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":154497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:09:04] local.INFO: TCP Data received {"connection_id":154497,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:09:04] local.INFO: Processing buffer {"connection_id":154497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:09:04] local.INFO: Packet analysis {"connection_id":154497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:09:04] local.INFO: Extracted packet for processing {"connection_id":154497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310352640001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786368866000,"timestamp_ms":1786368866000,"timestamp_seconds":1786368866,"priority":1,"record_length":96,"hex_timestamp":"0000019febe1b6d0"} 
[2026-08-10 19:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310352640001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310352640001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:09:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310352640001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":154497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:09:04] local.INFO: GPS data processed {"connection_id":154497,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:09:04] local.INFO: Acknowledgment sent {"connection_id":154497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:09:35] local.INFO: TCP Data received {"connection_id":154497,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:09:35] local.INFO: Processing buffer {"connection_id":154497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:09:35] local.INFO: Packet analysis {"connection_id":154497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:09:35] local.INFO: Extracted packet for processing {"connection_id":154497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310352640001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786368866000,"timestamp_ms":1786368866000,"timestamp_seconds":1786368866,"priority":1,"record_length":96,"hex_timestamp":"0000019febe1b6d0"} 
[2026-08-10 19:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310352640001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310352640001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:09:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310352640001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":154497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:09:35] local.INFO: GPS data processed {"connection_id":154497,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:09:35] local.INFO: Acknowledgment sent {"connection_id":154497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:09:58] local.INFO: TCP Data received {"connection_id":151735,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:09:58] local.INFO: Processing buffer {"connection_id":151735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:09:58] local.INFO: IMEI packet received {"connection_id":151735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":151735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:10:03] local.INFO: TCP Data received {"connection_id":151735,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:10:03] local.INFO: Processing buffer {"connection_id":151735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:10:03] local.INFO: IMEI packet received {"connection_id":151735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":151735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:10:05] local.INFO: TCP Data received {"connection_id":151735,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:10:05] local.INFO: Processing buffer {"connection_id":151735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe1b6d0012d34248006abc1900019007e23..."} 
[2026-08-10 19:10:05] local.INFO: Packet analysis {"connection_id":151735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:10:05] local.INFO: Extracted packet for processing {"connection_id":151735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe1"} 
[2026-08-10 19:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":25,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310352640001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786368866000,"timestamp_ms":1786368866000,"timestamp_seconds":1786368866,"priority":1,"record_length":96,"hex_timestamp":"0000019febe1b6d0"} 
[2026-08-10 19:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:10: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-08-10 19:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310352640001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310352640001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:10:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310352640001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":151735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:10:05] local.INFO: GPS data processed {"connection_id":151735,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:10:05] local.INFO: Acknowledgment sent {"connection_id":151735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:10:44] local.INFO: TCP Data received {"connection_id":151735,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:10:44] local.INFO: Processing buffer {"connection_id":151735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:10:44] local.INFO: Packet analysis {"connection_id":151735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:10:44] local.INFO: Extracted packet for processing {"connection_id":151735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310429696001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786369167000,"timestamp_ms":1786369167000,"timestamp_seconds":1786369167,"priority":1,"record_length":96,"hex_timestamp":"0000019febe64e98"} 
[2026-08-10 19:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310429696001,"66":24343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310429696001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:10:44] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310429696001,"power":24343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":151735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:10:44] local.INFO: GPS data processed {"connection_id":151735,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:10:44] local.INFO: Acknowledgment sent {"connection_id":151735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:10:58] local.INFO: TCP Data received {"connection_id":154498,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:10:58] local.INFO: Processing buffer {"connection_id":154498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:10:58] local.INFO: IMEI packet received {"connection_id":154498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":154498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:11:03] local.INFO: TCP Data received {"connection_id":154498,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:11:03] local.INFO: Processing buffer {"connection_id":154498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:11:03] local.INFO: IMEI packet received {"connection_id":154498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":154498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:11:06] local.INFO: TCP Data received {"connection_id":154498,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:11:06] local.INFO: Processing buffer {"connection_id":154498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:11:06] local.INFO: Packet analysis {"connection_id":154498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:11:06] local.INFO: Extracted packet for processing {"connection_id":154498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310429696001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786369167000,"timestamp_ms":1786369167000,"timestamp_seconds":1786369167,"priority":1,"record_length":96,"hex_timestamp":"0000019febe64e98"} 
[2026-08-10 19:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310429696001,"66":24343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310429696001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:11:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310429696001,"power":24343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":154498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:11:06] local.INFO: GPS data processed {"connection_id":154498,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:11:06] local.INFO: Acknowledgment sent {"connection_id":154498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:11:37] local.INFO: TCP Data received {"connection_id":154498,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:11:37] local.INFO: Processing buffer {"connection_id":154498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:11:37] local.INFO: Packet analysis {"connection_id":154498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:11:37] local.INFO: Extracted packet for processing {"connection_id":154498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310429696001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786369167000,"timestamp_ms":1786369167000,"timestamp_seconds":1786369167,"priority":1,"record_length":96,"hex_timestamp":"0000019febe64e98"} 
[2026-08-10 19:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310429696001,"66":24343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310429696001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:11:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310429696001,"power":24343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":154498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:11:37] local.INFO: GPS data processed {"connection_id":154498,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:11:37] local.INFO: Acknowledgment sent {"connection_id":154498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:12:03] local.INFO: TCP Data received {"connection_id":152136,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:12:03] local.INFO: Processing buffer {"connection_id":152136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:12:03] local.INFO: IMEI packet received {"connection_id":152136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":152136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:12:08] local.INFO: TCP Data received {"connection_id":152136,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:12:08] local.INFO: Processing buffer {"connection_id":152136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:12:08] local.INFO: IMEI packet received {"connection_id":152136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":152136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:12:09] local.INFO: TCP Data received {"connection_id":152136,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:12:09] local.INFO: Processing buffer {"connection_id":152136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:12:09] local.INFO: Packet analysis {"connection_id":152136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:12:09] local.INFO: Extracted packet for processing {"connection_id":152136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310429696001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786369167000,"timestamp_ms":1786369167000,"timestamp_seconds":1786369167,"priority":1,"record_length":96,"hex_timestamp":"0000019febe64e98"} 
[2026-08-10 19:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310429696001,"66":24343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310429696001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:12:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310429696001,"power":24343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":152136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:12:09] local.INFO: GPS data processed {"connection_id":152136,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:12:09] local.INFO: Acknowledgment sent {"connection_id":152136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:12:13] local.INFO: TCP Data received {"connection_id":152136,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:12:13] local.INFO: Processing buffer {"connection_id":152136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:12:13] local.INFO: Packet analysis {"connection_id":152136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:12:13] local.INFO: Extracted packet for processing {"connection_id":152136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:12:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310429696001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786369167000,"timestamp_ms":1786369167000,"timestamp_seconds":1786369167,"priority":1,"record_length":96,"hex_timestamp":"0000019febe64e98"} 
[2026-08-10 19:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310429696001,"66":24343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310429696001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:12:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:12:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310429696001,"power":24343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":152136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:12:13] local.INFO: GPS data processed {"connection_id":152136,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:12:13] local.INFO: Acknowledgment sent {"connection_id":152136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:12:58] local.INFO: TCP Data received {"connection_id":153060,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:12:58] local.INFO: Processing buffer {"connection_id":153060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:12:58] local.INFO: IMEI packet received {"connection_id":153060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":153060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:13:03] local.INFO: TCP Data received {"connection_id":153060,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:13:03] local.INFO: Processing buffer {"connection_id":153060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:13:03] local.INFO: IMEI packet received {"connection_id":153060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":153060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:13:04] local.INFO: TCP Data received {"connection_id":153060,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:13:04] local.INFO: Processing buffer {"connection_id":153060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:13:04] local.INFO: Packet analysis {"connection_id":153060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:13:04] local.INFO: Extracted packet for processing {"connection_id":153060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310429696001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786369167000,"timestamp_ms":1786369167000,"timestamp_seconds":1786369167,"priority":1,"record_length":96,"hex_timestamp":"0000019febe64e98"} 
[2026-08-10 19:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310429696001,"66":24343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310429696001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:13:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310429696001,"power":24343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":153060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:13:04] local.INFO: GPS data processed {"connection_id":153060,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:13:04] local.INFO: Acknowledgment sent {"connection_id":153060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:13:35] local.INFO: TCP Data received {"connection_id":153060,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:13:35] local.INFO: Processing buffer {"connection_id":153060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:13:35] local.INFO: Packet analysis {"connection_id":153060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:13:35] local.INFO: Extracted packet for processing {"connection_id":153060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310429696001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786369167000,"timestamp_ms":1786369167000,"timestamp_seconds":1786369167,"priority":1,"record_length":96,"hex_timestamp":"0000019febe64e98"} 
[2026-08-10 19:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310429696001,"66":24343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310429696001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:13:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310429696001,"power":24343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":153060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:13:35] local.INFO: GPS data processed {"connection_id":153060,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:13:35] local.INFO: Acknowledgment sent {"connection_id":153060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:13:57] local.INFO: TCP Data received {"connection_id":152137,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:13:57] local.INFO: Processing buffer {"connection_id":152137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:13:57] local.INFO: IMEI packet received {"connection_id":152137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":152137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:13:58] local.INFO: TCP Data received {"connection_id":152137,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febe8e6a8012d19b7c00720ab480033013226..."} 
[2026-08-10 19:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe8e6a8012d19b7c00720ab480033013226..."} 
[2026-08-10 19:13:58] local.INFO: Processing buffer {"connection_id":152137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe8e6a8012d19b7c00720ab480033013226..."} 
[2026-08-10 19:13:58] local.INFO: Packet analysis {"connection_id":152137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe8"} 
[2026-08-10 19:13:58] local.INFO: Extracted packet for processing {"connection_id":152137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe8"} 
[2026-08-10 19:13:58] local.INFO: GPS Element Parsed {"raw_longitude":756660160,"raw_latitude":119581512,"longitude_deg":75.666016,"latitude_deg":11.9581512,"altitude":51,"angle":306,"satellites":38,"speed":19,"hex_longitude":"2d19b7c0","hex_latitude":"0720ab48","is_valid_coordinates":true} 
[2026-08-10 19:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310550016001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11561270276784128,"note":"Value kept but may cause issues"} 
[2026-08-10 19:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740824576,"note":"Value kept but may cause issues"} 
[2026-08-10 19:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786369337000,"timestamp_ms":1786369337000,"timestamp_seconds":1786369337,"priority":1,"record_length":96,"hex_timestamp":"0000019febe8e6a8"} 
[2026-08-10 19:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-10 19:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310550016001,"66":13580,"103":206,"83":41984,"24":19,"16":11561270276784128,"45":1853653489740824576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 19:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310550016001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:13:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 19:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11561270276784128,"km_value":11561270276784.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740824576,"description":"Unknown IO ID 45"} 
[2026-08-10 19:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310550016001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853653489740824576}} 
[2026-08-10 19:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":152137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:13:58] local.INFO: GPS data processed {"connection_id":152137,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:13:58] local.INFO: Acknowledgment sent {"connection_id":152137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:13:58] local.INFO: TCP Data received {"connection_id":154499,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:13:58] local.INFO: Processing buffer {"connection_id":154499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:13:58] local.INFO: IMEI packet received {"connection_id":154499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":154499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:14:03] local.INFO: TCP Data received {"connection_id":154499,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:14:03] local.INFO: Processing buffer {"connection_id":154499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:14:03] local.INFO: IMEI packet received {"connection_id":154499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":154499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:14:04] local.INFO: TCP Data received {"connection_id":154499,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:14:04] local.INFO: Processing buffer {"connection_id":154499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:14:04] local.INFO: Packet analysis {"connection_id":154499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:14:04] local.INFO: Extracted packet for processing {"connection_id":154499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310429696001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786369167000,"timestamp_ms":1786369167000,"timestamp_seconds":1786369167,"priority":1,"record_length":96,"hex_timestamp":"0000019febe64e98"} 
[2026-08-10 19:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310429696001,"66":24343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310429696001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:14:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310429696001,"power":24343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":154499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:14:04] local.INFO: GPS data processed {"connection_id":154499,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:14:04] local.INFO: Acknowledgment sent {"connection_id":154499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:14:35] local.INFO: TCP Data received {"connection_id":154499,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:14:35] local.INFO: Processing buffer {"connection_id":154499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:14:35] local.INFO: Packet analysis {"connection_id":154499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:14:35] local.INFO: Extracted packet for processing {"connection_id":154499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310429696001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786369167000,"timestamp_ms":1786369167000,"timestamp_seconds":1786369167,"priority":1,"record_length":96,"hex_timestamp":"0000019febe64e98"} 
[2026-08-10 19:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310429696001,"66":24343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310429696001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:14:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310429696001,"power":24343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":154499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:14:35] local.INFO: GPS data processed {"connection_id":154499,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:14:35] local.INFO: Acknowledgment sent {"connection_id":154499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:14:41] local.INFO: TCP Data received {"connection_id":152138,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:14:41] local.INFO: Processing buffer {"connection_id":152138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:14:41] local.INFO: IMEI packet received {"connection_id":152138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":152138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:14:42] local.INFO: TCP Data received {"connection_id":152138,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:14:42] local.INFO: Processing buffer {"connection_id":152138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:14:42] local.INFO: IMEI packet received {"connection_id":152138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":152138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:14:46] local.INFO: TCP Data received {"connection_id":152138,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:14:46] local.INFO: Processing buffer {"connection_id":152138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:14:46] local.INFO: IMEI packet received {"connection_id":152138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":152138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:14:47] local.INFO: TCP Data received {"connection_id":152138,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febea1758012d18e9800720e940003c014b25..."} 
[2026-08-10 19:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febea1758012d18e9800720e940003c014b25..."} 
[2026-08-10 19:14:48] local.INFO: Processing buffer {"connection_id":152138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febea1758012d18e9800720e940003c014b25..."} 
[2026-08-10 19:14:48] local.INFO: Packet analysis {"connection_id":152138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:14:48] local.INFO: Extracted packet for processing {"connection_id":152138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:14:48] local.INFO: GPS Element Parsed {"raw_longitude":756607360,"raw_latitude":119597376,"longitude_deg":75.660736,"latitude_deg":11.9597376,"altitude":60,"angle":331,"satellites":37,"speed":31,"hex_longitude":"2d18e980","hex_latitude":"0720e940","is_valid_coordinates":true} 
[2026-08-10 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-08-10 19:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310568960001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11564057710559232,"note":"Value kept but may cause issues"} 
[2026-08-10 19:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797569600634466304,"note":"Value kept but may cause issues"} 
[2026-08-10 19:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786369415000,"timestamp_ms":1786369415000,"timestamp_seconds":1786369415,"priority":1,"record_length":96,"hex_timestamp":"0000019febea1758"} 
[2026-08-10 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-08-10 19:14: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-08-10 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 19:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 19:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310568960001,"66":13580,"103":206,"83":41984,"24":31,"16":11564057710559232,"45":1797569600634466304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 19:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310568960001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:14:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 19:14:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11564057710559232,"km_value":11564057710559.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797569600634466304,"description":"Unknown IO ID 45"} 
[2026-08-10 19:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310568960001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1797569600634466304}} 
[2026-08-10 19:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":152138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:14:48] local.INFO: GPS data processed {"connection_id":152138,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:14:48] local.INFO: Acknowledgment sent {"connection_id":152138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:14:58] local.INFO: TCP Data received {"connection_id":151736,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:14:58] local.INFO: Processing buffer {"connection_id":151736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:14:58] local.INFO: IMEI packet received {"connection_id":151736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":151736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:15:03] local.INFO: TCP Data received {"connection_id":151736,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:15:03] local.INFO: Processing buffer {"connection_id":151736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:15:03] local.INFO: IMEI packet received {"connection_id":151736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":151736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:15:04] local.INFO: TCP Data received {"connection_id":151736,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:15:04] local.INFO: Processing buffer {"connection_id":151736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe64e98012d34248006abc190001c007e23..."} 
[2026-08-10 19:15:04] local.INFO: Packet analysis {"connection_id":151736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:15:04] local.INFO: Extracted packet for processing {"connection_id":151736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe6"} 
[2026-08-10 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310429696001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786369167000,"timestamp_ms":1786369167000,"timestamp_seconds":1786369167,"priority":1,"record_length":96,"hex_timestamp":"0000019febe64e98"} 
[2026-08-10 19:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310429696001,"66":24343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310429696001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:15:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310429696001,"power":24343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":151736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:15:04] local.INFO: GPS data processed {"connection_id":151736,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:15:04] local.INFO: Acknowledgment sent {"connection_id":151736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:15:18] local.INFO: TCP Data received {"connection_id":152138,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febea26f8012d18e2c00720f350003d013d24..."} 
[2026-08-10 19:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febea26f8012d18e2c00720f350003d013d24..."} 
[2026-08-10 19:15:18] local.INFO: Processing buffer {"connection_id":152138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febea26f8012d18e2c00720f350003d013d24..."} 
[2026-08-10 19:15:18] local.INFO: Packet analysis {"connection_id":152138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:15:18] local.INFO: Extracted packet for processing {"connection_id":152138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756605632,"raw_latitude":119599952,"longitude_deg":75.6605632,"latitude_deg":11.9599952,"altitude":61,"angle":317,"satellites":36,"speed":29,"hex_longitude":"2d18e2c0","hex_latitude":"0720f350","is_valid_coordinates":true} 
[2026-08-10 19:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310570240001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11564208034414592,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795106694589136896,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786369419000,"timestamp_ms":1786369419000,"timestamp_seconds":1786369419,"priority":1,"record_length":96,"hex_timestamp":"0000019febea26f8"} 
[2026-08-10 19:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751524115,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3957947160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2264924160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":513973440617644042,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3918950401,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2991587378,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937935463,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":8358906825407516243,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7403925624285298744,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755532585173233,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:18] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,21,159,3,45,64,219,59,37,10,66,216,201,55,20,173,192,1,240,56,227,235,32,4,113,205,34,138,70,176,239,52,2,41,7,53,33,25,164],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-10 19:15:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323819739540291584,"timestamp_seconds":4323819739540291.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310570240001,"66":13515,"103":206,"83":41984,"24":29,"16":11564208034414592,"45":1795106694589136896},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 19:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310570240001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:15:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 19:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11564208034414592,"km_value":11564208034414.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795106694589136896,"description":"Unknown IO ID 45"} 
[2026-08-10 19:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310570240001,"power":13515,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1795106694589136896}} 
[2026-08-10 19:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":152138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:15:18] local.INFO: GPS data processed {"connection_id":152138,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:15:18] local.INFO: Acknowledgment sent {"connection_id":152138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:15:36] local.INFO: TCP Data received {"connection_id":151736,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:15:36] local.INFO: Processing buffer {"connection_id":151736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:15:36] local.INFO: Packet analysis {"connection_id":151736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:15:36] local.INFO: Extracted packet for processing {"connection_id":151736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":19,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310506752001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786369468000,"timestamp_ms":1786369468000,"timestamp_seconds":1786369468,"priority":1,"record_length":96,"hex_timestamp":"0000019febeae660"} 
[2026-08-10 19:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-08-10 19:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310506752001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310506752001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:15:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310506752001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":151736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:15:36] local.INFO: GPS data processed {"connection_id":151736,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:15:36] local.INFO: Acknowledgment sent {"connection_id":151736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:15:41] local.INFO: TCP Data received {"connection_id":153061,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:15:41] local.INFO: Processing buffer {"connection_id":153061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:15:41] local.INFO: IMEI packet received {"connection_id":153061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":153061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:15:45] local.INFO: TCP Data received {"connection_id":153061,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:15:45] local.INFO: Processing buffer {"connection_id":153061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:15:45] local.INFO: IMEI packet received {"connection_id":153061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":153061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:15:46] local.INFO: TCP Data received {"connection_id":153061,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:15:46] local.INFO: Processing buffer {"connection_id":153061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:15:46] local.INFO: IMEI packet received {"connection_id":153061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":153061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:15:47] local.INFO: TCP Data received {"connection_id":153061,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febeb1928012d18a8c0072172c8004c012722..."} 
[2026-08-10 19:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeb1928012d18a8c0072172c8004c012722..."} 
[2026-08-10 19:15:47] local.INFO: Processing buffer {"connection_id":153061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeb1928012d18a8c0072172c8004c012722..."} 
[2026-08-10 19:15:47] local.INFO: Packet analysis {"connection_id":153061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febeb"} 
[2026-08-10 19:15:47] local.INFO: Extracted packet for processing {"connection_id":153061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febeb"} 
[2026-08-10 19:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119632584,"longitude_deg":75.6590784,"latitude_deg":11.9632584,"altitude":76,"angle":295,"satellites":34,"speed":26,"hex_longitude":"2d18a8c0","hex_latitude":"072172c8","is_valid_coordinates":true} 
[2026-08-10 19:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310586624001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11566011920678912,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458506981376,"note":"Value kept but may cause issues"} 
[2026-08-10 19:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786369481000,"timestamp_ms":1786369481000,"timestamp_seconds":1786369481,"priority":1,"record_length":96,"hex_timestamp":"0000019febeb1928"} 
[2026-08-10 19:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 19:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310586624001,"66":13646,"106":206,"83":41984,"24":26,"16":11566011920678912,"45":1778077458506981376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310586624001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:15:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11566011920678912,"km_value":11566011920678.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458506981376,"description":"Unknown IO ID 45"} 
[2026-08-10 19:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310586624001,"power":13646,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1778077458506981376}} 
[2026-08-10 19:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":153061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:15:47] local.INFO: GPS data processed {"connection_id":153061,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:15:47] local.INFO: Acknowledgment sent {"connection_id":153061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:15:58] local.INFO: TCP Data received {"connection_id":152139,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:15:58] local.INFO: Processing buffer {"connection_id":152139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:15:58] local.INFO: IMEI packet received {"connection_id":152139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":152139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:16:03] local.INFO: TCP Data received {"connection_id":152139,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:16:03] local.INFO: Processing buffer {"connection_id":152139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:16:03] local.INFO: IMEI packet received {"connection_id":152139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":152139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:16:05] local.INFO: TCP Data received {"connection_id":152139,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:16:05] local.INFO: Processing buffer {"connection_id":152139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:16:05] local.INFO: Packet analysis {"connection_id":152139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:16:05] local.INFO: Extracted packet for processing {"connection_id":152139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":19,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310506752001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786369468000,"timestamp_ms":1786369468000,"timestamp_seconds":1786369468,"priority":1,"record_length":96,"hex_timestamp":"0000019febeae660"} 
[2026-08-10 19:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-08-10 19:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310506752001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310506752001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:16:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:16:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310506752001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":152139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:16:05] local.INFO: GPS data processed {"connection_id":152139,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:16:05] local.INFO: Acknowledgment sent {"connection_id":152139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:16:18] local.INFO: TCP Data received {"connection_id":153061,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febeb53c0012d18874007217fe8004d011b23..."} 
[2026-08-10 19:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeb53c0012d18874007217fe8004d011b23..."} 
[2026-08-10 19:16:18] local.INFO: Processing buffer {"connection_id":153061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeb53c0012d18874007217fe8004d011b23..."} 
[2026-08-10 19:16:18] local.INFO: Packet analysis {"connection_id":153061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febeb"} 
[2026-08-10 19:16:18] local.INFO: Extracted packet for processing {"connection_id":153061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febeb"} 
[2026-08-10 19:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756582208,"raw_latitude":119635944,"longitude_deg":75.6582208,"latitude_deg":11.9635944,"altitude":77,"angle":283,"satellites":35,"speed":11,"hex_longitude":"2d188740","hex_latitude":"07217fe8","is_valid_coordinates":true} 
[2026-08-10 19:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310587136001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11566454302310400,"note":"Value kept but may cause issues"} 
[2026-08-10 19:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189856135168,"note":"Value kept but may cause issues"} 
[2026-08-10 19:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786369496000,"timestamp_ms":1786369496000,"timestamp_seconds":1786369496,"priority":1,"record_length":96,"hex_timestamp":"0000019febeb53c0"} 
[2026-08-10 19:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-10 19:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310587136001,"66":13156,"106":206,"83":41984,"24":11,"16":11566454302310400,"45":1776881189856135168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310587136001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:16:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11566454302310400,"km_value":11566454302310.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189856135168,"description":"Unknown IO ID 45"} 
[2026-08-10 19:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310587136001,"power":13156,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1776881189856135168}} 
[2026-08-10 19:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":153061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:16:18] local.INFO: GPS data processed {"connection_id":153061,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:16:18] local.INFO: Acknowledgment sent {"connection_id":153061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:16:36] local.INFO: TCP Data received {"connection_id":152139,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:16:36] local.INFO: Processing buffer {"connection_id":152139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:16:36] local.INFO: Packet analysis {"connection_id":152139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:16:36] local.INFO: Extracted packet for processing {"connection_id":152139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":19,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310506752001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786369468000,"timestamp_ms":1786369468000,"timestamp_seconds":1786369468,"priority":1,"record_length":96,"hex_timestamp":"0000019febeae660"} 
[2026-08-10 19:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-08-10 19:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310506752001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310506752001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:16:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310506752001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":152139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:16:36] local.INFO: GPS data processed {"connection_id":152139,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:16:36] local.INFO: Acknowledgment sent {"connection_id":152139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:16:41] local.INFO: TCP Data received {"connection_id":152140,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:16:41] local.INFO: Processing buffer {"connection_id":152140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:16:41] local.INFO: IMEI packet received {"connection_id":152140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":152140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:16:45] local.INFO: TCP Data received {"connection_id":152140,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:16:45] local.INFO: Processing buffer {"connection_id":152140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:16:45] local.INFO: IMEI packet received {"connection_id":152140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":152140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:16:46] local.INFO: TCP Data received {"connection_id":152140,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:16:46] local.INFO: Processing buffer {"connection_id":152140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:16:46] local.INFO: IMEI packet received {"connection_id":152140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":152140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:16:47] local.INFO: TCP Data received {"connection_id":152140,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febeb53c0012d18874007217fe8004d011b23..."} 
[2026-08-10 19:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeb53c0012d18874007217fe8004d011b23..."} 
[2026-08-10 19:16:47] local.INFO: Processing buffer {"connection_id":152140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeb53c0012d18874007217fe8004d011b23..."} 
[2026-08-10 19:16:47] local.INFO: Packet analysis {"connection_id":152140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febeb"} 
[2026-08-10 19:16:47] local.INFO: Extracted packet for processing {"connection_id":152140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febeb"} 
[2026-08-10 19:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756582208,"raw_latitude":119635944,"longitude_deg":75.6582208,"latitude_deg":11.9635944,"altitude":77,"angle":283,"satellites":35,"speed":11,"hex_longitude":"2d188740","hex_latitude":"07217fe8","is_valid_coordinates":true} 
[2026-08-10 19:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310590976001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11566454302310400,"note":"Value kept but may cause issues"} 
[2026-08-10 19:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767451778137188352,"note":"Value kept but may cause issues"} 
[2026-08-10 19:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786369496000,"timestamp_ms":1786369496000,"timestamp_seconds":1786369496,"priority":1,"record_length":96,"hex_timestamp":"0000019febeb53c0"} 
[2026-08-10 19:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-10 19:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310590976001,"66":13156,"106":206,"83":41984,"24":11,"16":11566454302310400,"45":1767451778137188352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310590976001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:16:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:16:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11566454302310400,"km_value":11566454302310.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767451778137188352,"description":"Unknown IO ID 45"} 
[2026-08-10 19:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310590976001,"power":13156,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1767451778137188352}} 
[2026-08-10 19:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":152140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:16:47] local.INFO: GPS data processed {"connection_id":152140,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:16:47] local.INFO: Acknowledgment sent {"connection_id":152140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:16:47] local.INFO: TCP Data received {"connection_id":152140,"ip":"42.106.6.38","data_length":93,"data_hex":"00000000000000518e010000019febeb7ad0012d187e8007218188004d011023..."} 
[2026-08-10 19:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152140,"packet_length":93,"packet_hex":"00000000000000518e010000019febeb7ad0012d187e8007218188004d011023..."} 
[2026-08-10 19:16:47] local.INFO: Processing buffer {"connection_id":152140,"buffer_length":93,"buffer_hex":"00000000000000518e010000019febeb7ad0012d187e8007218188004d011023..."} 
[2026-08-10 19:16:47] local.INFO: Packet analysis {"connection_id":152140,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019febeb"} 
[2026-08-10 19:16:47] local.INFO: Extracted packet for processing {"connection_id":152140,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019febeb"} 
[2026-08-10 19:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756579968,"raw_latitude":119636360,"longitude_deg":75.6579968,"latitude_deg":11.963636,"altitude":77,"angle":272,"satellites":35,"speed":13,"hex_longitude":"2d187e80","hex_latitude":"07218188","is_valid_coordinates":true} 
[2026-08-10 19:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-10 19:16: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-08-10 19:16: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-08-10 19:16:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:16:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-10 19:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152140,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-10 19:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152140,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-10 19:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152140,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-10 19:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-10 19:16:47] local.WARNING: DEBUG: No valid data to process  
[2026-08-10 19:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":152140,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-10 19:16:47] local.ERROR: GPS data processing failed {"connection_id":152140,"error":"No valid data to process"} 
[2026-08-10 19:16:47] local.INFO: Acknowledgment sent {"connection_id":152140,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-10 19:16:59] local.INFO: TCP Data received {"connection_id":151737,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:16:59] local.INFO: Processing buffer {"connection_id":151737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:16:59] local.INFO: IMEI packet received {"connection_id":151737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":151737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:17:04] local.INFO: TCP Data received {"connection_id":151737,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:17:04] local.INFO: Processing buffer {"connection_id":151737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:17:04] local.INFO: IMEI packet received {"connection_id":151737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":151737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:17:05] local.INFO: TCP Data received {"connection_id":151737,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:17:05] local.INFO: Processing buffer {"connection_id":151737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:17:05] local.INFO: Packet analysis {"connection_id":151737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:17:05] local.INFO: Extracted packet for processing {"connection_id":151737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":19,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310506752001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786369468000,"timestamp_ms":1786369468000,"timestamp_seconds":1786369468,"priority":1,"record_length":96,"hex_timestamp":"0000019febeae660"} 
[2026-08-10 19:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-08-10 19:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310506752001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310506752001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:17:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310506752001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":151737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:17:05] local.INFO: GPS data processed {"connection_id":151737,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:17:05] local.INFO: Acknowledgment sent {"connection_id":151737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:17:18] local.INFO: TCP Data received {"connection_id":152140,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febeba9b0012d18640007218230004d011e26..."} 
[2026-08-10 19:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeba9b0012d18640007218230004d011e26..."} 
[2026-08-10 19:17:18] local.INFO: Processing buffer {"connection_id":152140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeba9b0012d18640007218230004d011e26..."} 
[2026-08-10 19:17:18] local.INFO: Packet analysis {"connection_id":152140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febeb"} 
[2026-08-10 19:17:18] local.INFO: Extracted packet for processing {"connection_id":152140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febeb"} 
[2026-08-10 19:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756573184,"raw_latitude":119636528,"longitude_deg":75.6573184,"latitude_deg":11.9636528,"altitude":77,"angle":286,"satellites":38,"speed":27,"hex_longitude":"2d186400","hex_latitude":"07218230","is_valid_coordinates":true} 
[2026-08-10 19:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310593536001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11566883799040000,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764988872091076608,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786369518000,"timestamp_ms":1786369518000,"timestamp_seconds":1786369518,"priority":1,"record_length":96,"hex_timestamp":"0000019febeba9b0"} 
[2026-08-10 19:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-10 19:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310593536001,"66":13004,"106":206,"83":41984,"24":27,"16":11566883799040000,"45":1764988872091076608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310593536001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:17:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:17:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11566883799040000,"km_value":11566883799040,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764988872091076608,"description":"Unknown IO ID 45"} 
[2026-08-10 19:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310593536001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1764988872091076608}} 
[2026-08-10 19:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":152140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:17:18] local.INFO: GPS data processed {"connection_id":152140,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:17:18] local.INFO: Acknowledgment sent {"connection_id":152140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:17:22] local.INFO: TCP Data received {"connection_id":151738,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:17:22] local.INFO: Processing buffer {"connection_id":151738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:17:22] local.INFO: IMEI packet received {"connection_id":151738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 19:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":151738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:17:27] local.INFO: TCP Data received {"connection_id":151738,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:17:27] local.INFO: Processing buffer {"connection_id":151738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:17:27] local.INFO: IMEI packet received {"connection_id":151738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 19:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":151738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:17:28] local.INFO: TCP Data received {"connection_id":151738,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febd815f8012d7e3a8005d357100006011324..."} 
[2026-08-10 19:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febd815f8012d7e3a8005d357100006011324..."} 
[2026-08-10 19:17:28] local.INFO: Processing buffer {"connection_id":151738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febd815f8012d7e3a8005d357100006011324..."} 
[2026-08-10 19:17:28] local.INFO: Packet analysis {"connection_id":151738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 19:17:28] local.INFO: Extracted packet for processing {"connection_id":151738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febd8"} 
[2026-08-10 19:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 19:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310191104001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786368235000,"timestamp_ms":1786368235000,"timestamp_seconds":1786368235,"priority":1,"record_length":96,"hex_timestamp":"0000019febd815f8"} 
[2026-08-10 19:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-10 19:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":151738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":151738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":151738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310191104001,"66":2231,"109":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-10 19:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310191104001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:17:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-10 19:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 19:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310191104001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 19:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":151738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:17:28] local.INFO: GPS data processed {"connection_id":151738,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:17:28] local.INFO: Acknowledgment sent {"connection_id":151738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:17:37] local.INFO: TCP Data received {"connection_id":151737,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:17:37] local.INFO: Processing buffer {"connection_id":151737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:17:37] local.INFO: Packet analysis {"connection_id":151737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:17:37] local.INFO: Extracted packet for processing {"connection_id":151737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":19,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310506752001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786369468000,"timestamp_ms":1786369468000,"timestamp_seconds":1786369468,"priority":1,"record_length":96,"hex_timestamp":"0000019febeae660"} 
[2026-08-10 19:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-08-10 19:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310506752001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310506752001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:17:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310506752001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":151737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:17:37] local.INFO: GPS data processed {"connection_id":151737,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:17:37] local.INFO: Acknowledgment sent {"connection_id":151737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:17:42] local.INFO: TCP Data received {"connection_id":153063,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:17:42] local.INFO: Processing buffer {"connection_id":153063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:17:42] local.INFO: IMEI packet received {"connection_id":153063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":153063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:17:46] local.INFO: TCP Data received {"connection_id":153063,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:17:46] local.INFO: Processing buffer {"connection_id":153063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:17:46] local.INFO: IMEI packet received {"connection_id":153063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":153063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:17:47] local.INFO: TCP Data received {"connection_id":153063,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:17:47] local.INFO: Processing buffer {"connection_id":153063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:17:47] local.INFO: IMEI packet received {"connection_id":153063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":153063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:17:48] local.INFO: TCP Data received {"connection_id":153063,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febecab80012d18350007219578004f012c23..."} 
[2026-08-10 19:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febecab80012d18350007219578004f012c23..."} 
[2026-08-10 19:17:48] local.INFO: Processing buffer {"connection_id":153063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febecab80012d18350007219578004f012c23..."} 
[2026-08-10 19:17:48] local.INFO: Packet analysis {"connection_id":153063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febec"} 
[2026-08-10 19:17:48] local.INFO: Extracted packet for processing {"connection_id":153063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febec"} 
[2026-08-10 19:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756561152,"raw_latitude":119641464,"longitude_deg":75.6561152,"latitude_deg":11.9641464,"altitude":79,"angle":300,"satellites":35,"speed":4,"hex_longitude":"2d183500","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-08-10 19:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310613248001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567510864265216,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744370830048313344,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786369584000,"timestamp_ms":1786369584000,"timestamp_seconds":1786369584,"priority":1,"record_length":96,"hex_timestamp":"0000019febecab80"} 
[2026-08-10 19:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:17: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-08-10 19: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 19:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310613248001,"66":13472,"105":206,"83":41984,"24":4,"16":11567510864265216,"45":1744370830048313344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310613248001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:17:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567510864265216,"km_value":11567510864265.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744370830048313344,"description":"Unknown IO ID 45"} 
[2026-08-10 19:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310613248001,"power":13472,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1744370830048313344}} 
[2026-08-10 19:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":153063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:17:48] local.INFO: GPS data processed {"connection_id":153063,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:17:48] local.INFO: Acknowledgment sent {"connection_id":153063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:17:52] local.INFO: TCP Data received {"connection_id":153063,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febecfd88012d183480072195a8004f012c23..."} 
[2026-08-10 19:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febecfd88012d183480072195a8004f012c23..."} 
[2026-08-10 19:17:52] local.INFO: Processing buffer {"connection_id":153063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febecfd88012d183480072195a8004f012c23..."} 
[2026-08-10 19:17:52] local.INFO: Packet analysis {"connection_id":153063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febec"} 
[2026-08-10 19:17:52] local.INFO: Extracted packet for processing {"connection_id":153063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febec"} 
[2026-08-10 19:17:52] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119641512,"longitude_deg":75.6561024,"latitude_deg":11.9641512,"altitude":79,"angle":300,"satellites":35,"speed":0,"hex_longitude":"2d183480","hex_latitude":"072195a8","is_valid_coordinates":true} 
[2026-08-10 19:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310613504001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567515159232512,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744300461304150016,"note":"Value kept but may cause issues"} 
[2026-08-10 19:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786369605000,"timestamp_ms":1786369605000,"timestamp_seconds":1786369605,"priority":1,"record_length":96,"hex_timestamp":"0000019febecfd88"} 
[2026-08-10 19:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 19:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310613504001,"66":13504,"105":206,"83":41984,"24":0,"16":11567515159232512,"45":1744300461304150016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310613504001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:17:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:17:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567515159232512,"km_value":11567515159232.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744300461304150016,"description":"Unknown IO ID 45"} 
[2026-08-10 19:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310613504001,"power":13504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744300461304150016}} 
[2026-08-10 19:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":153063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:17:52] local.INFO: GPS data processed {"connection_id":153063,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:17:52] local.INFO: Acknowledgment sent {"connection_id":153063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:17:59] local.INFO: TCP Data received {"connection_id":151739,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:17:59] local.INFO: Processing buffer {"connection_id":151739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:17:59] local.INFO: IMEI packet received {"connection_id":151739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":151739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:18:03] local.INFO: TCP Data received {"connection_id":151739,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:18:03] local.INFO: Processing buffer {"connection_id":151739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:18:03] local.INFO: IMEI packet received {"connection_id":151739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":151739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:18:04] local.INFO: TCP Data received {"connection_id":151739,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:18:04] local.INFO: Processing buffer {"connection_id":151739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:18:04] local.INFO: Packet analysis {"connection_id":151739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:18:04] local.INFO: Extracted packet for processing {"connection_id":151739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":19,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310506752001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786369468000,"timestamp_ms":1786369468000,"timestamp_seconds":1786369468,"priority":1,"record_length":96,"hex_timestamp":"0000019febeae660"} 
[2026-08-10 19:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-08-10 19:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310506752001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310506752001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:18:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310506752001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":151739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:18:04] local.INFO: GPS data processed {"connection_id":151739,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:18:04] local.INFO: Acknowledgment sent {"connection_id":151739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:18:06] local.INFO: TCP Data received {"connection_id":151740,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:18:06] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:18:06] local.INFO: IMEI packet received {"connection_id":151740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 19:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":151740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:18:12] local.INFO: TCP Data received {"connection_id":151740,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:18:12] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:18:12] local.INFO: IMEI packet received {"connection_id":151740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 19:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":151740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:18:13] local.INFO: TCP Data received {"connection_id":151740,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febdeb930012d7e3a8005d357100006011327..."} 
[2026-08-10 19:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febdeb930012d7e3a8005d357100006011327..."} 
[2026-08-10 19:18:13] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febdeb930012d7e3a8005d357100006011327..."} 
[2026-08-10 19:18:13] local.INFO: Packet analysis {"connection_id":151740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febde"} 
[2026-08-10 19:18:13] local.INFO: Extracted packet for processing {"connection_id":151740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febde"} 
[2026-08-10 19:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 19:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310268160001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786368670000,"timestamp_ms":1786368670000,"timestamp_seconds":1786368670,"priority":1,"record_length":96,"hex_timestamp":"0000019febdeb930"} 
[2026-08-10 19:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 19:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310268160001,"66":2231,"116":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-10 19:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310268160001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:18:13] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-10 19:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 19:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310268160001,"power":2231,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 19:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":151740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:18:13] local.INFO: GPS data processed {"connection_id":151740,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:18:13] local.INFO: Acknowledgment sent {"connection_id":151740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:18:23] local.INFO: TCP Data received {"connection_id":153063,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febed43d8012d1828c007219d20004d013724..."} 
[2026-08-10 19:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febed43d8012d1828c007219d20004d013724..."} 
[2026-08-10 19:18:23] local.INFO: Processing buffer {"connection_id":153063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febed43d8012d1828c007219d20004d013724..."} 
[2026-08-10 19:18:23] local.INFO: Packet analysis {"connection_id":153063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:18:23] local.INFO: Extracted packet for processing {"connection_id":153063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643424,"longitude_deg":75.6558016,"latitude_deg":11.9643424,"altitude":77,"angle":311,"satellites":36,"speed":9,"hex_longitude":"2d1828c0","hex_latitude":"07219d20","is_valid_coordinates":true} 
[2026-08-10 19:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310618880001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567686957924352,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723815806976,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786369623000,"timestamp_ms":1786369623000,"timestamp_seconds":1786369623,"priority":1,"record_length":96,"hex_timestamp":"0000019febed43d8"} 
[2026-08-10 19:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:18: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-08-10 19:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-10 19:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310618880001,"66":13004,"105":206,"83":41984,"24":9,"16":11567686957924352,"45":1744159723815806976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310618880001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:18:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567686957924352,"km_value":11567686957924.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723815806976,"description":"Unknown IO ID 45"} 
[2026-08-10 19:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310618880001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1744159723815806976}} 
[2026-08-10 19:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":153063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:18:23] local.INFO: GPS data processed {"connection_id":153063,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:18:23] local.INFO: Acknowledgment sent {"connection_id":153063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:18:36] local.INFO: TCP Data received {"connection_id":151739,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:18:36] local.INFO: Processing buffer {"connection_id":151739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:18:36] local.INFO: Packet analysis {"connection_id":151739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:18:36] local.INFO: Extracted packet for processing {"connection_id":151739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":19,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310506752001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786369468000,"timestamp_ms":1786369468000,"timestamp_seconds":1786369468,"priority":1,"record_length":96,"hex_timestamp":"0000019febeae660"} 
[2026-08-10 19:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-08-10 19:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310506752001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310506752001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:18:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310506752001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":151739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:18:36] local.INFO: GPS data processed {"connection_id":151739,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:18:36] local.INFO: Acknowledgment sent {"connection_id":151739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:18:42] local.INFO: TCP Data received {"connection_id":153064,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:18:42] local.INFO: Processing buffer {"connection_id":153064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:18:42] local.INFO: IMEI packet received {"connection_id":153064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":153064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:18:44] local.INFO: TCP Data received {"connection_id":151740,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febe350f8012d7e3a8005d357100006011328..."} 
[2026-08-10 19:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe350f8012d7e3a8005d357100006011328..."} 
[2026-08-10 19:18:44] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe350f8012d7e3a8005d357100006011328..."} 
[2026-08-10 19:18:44] local.INFO: Packet analysis {"connection_id":151740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe3"} 
[2026-08-10 19:18:44] local.INFO: Extracted packet for processing {"connection_id":151740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe3"} 
[2026-08-10 19:18:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 19:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310379520001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:44] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-10 19:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786368971000,"timestamp_ms":1786368971000,"timestamp_seconds":1786368971,"priority":1,"record_length":96,"hex_timestamp":"0000019febe350f8"} 
[2026-08-10 19:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 19:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310379520001,"66":2231,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-10 19:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310379520001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:18:44] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457310379520001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 19:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":151740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:18:44] local.INFO: GPS data processed {"connection_id":151740,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:18:44] local.INFO: Acknowledgment sent {"connection_id":151740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:18:47] local.INFO: TCP Data received {"connection_id":153064,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:18:47] local.INFO: Processing buffer {"connection_id":153064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:18:47] local.INFO: IMEI packet received {"connection_id":153064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":153064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:18:47] local.INFO: TCP Data received {"connection_id":153064,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febed4ba8012d18278007219e80004c014325..."} 
[2026-08-10 19:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febed4ba8012d18278007219e80004c014325..."} 
[2026-08-10 19:18:47] local.INFO: Processing buffer {"connection_id":153064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febed4ba8012d18278007219e80004c014325..."} 
[2026-08-10 19:18:47] local.INFO: Packet analysis {"connection_id":153064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:18:47] local.INFO: Extracted packet for processing {"connection_id":153064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119643776,"longitude_deg":75.6557696,"latitude_deg":11.9643776,"altitude":76,"angle":323,"satellites":37,"speed":9,"hex_longitude":"2d182780","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-10 19:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310623488001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567708432760832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839946240,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786369625000,"timestamp_ms":1786369625000,"timestamp_seconds":1786369625,"priority":1,"record_length":96,"hex_timestamp":"0000019febed4ba8"} 
[2026-08-10 19:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-10 19:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310623488001,"66":13450,"105":206,"83":41984,"24":9,"16":11567708432760832,"45":1740852392839946240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310623488001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:18:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567708432760832,"km_value":11567708432760.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839946240,"description":"Unknown IO ID 45"} 
[2026-08-10 19:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310623488001,"power":13450,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1740852392839946240}} 
[2026-08-10 19:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":153064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:18:47] local.INFO: GPS data processed {"connection_id":153064,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:18:47] local.INFO: Acknowledgment sent {"connection_id":153064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:18:48] local.INFO: TCP Data received {"connection_id":153064,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febed5b48012d1824c00721a110004c013825..."} 
[2026-08-10 19:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febed5b48012d1824c00721a110004c013825..."} 
[2026-08-10 19:18:48] local.INFO: Processing buffer {"connection_id":153064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febed5b48012d1824c00721a110004c013825..."} 
[2026-08-10 19:18:48] local.INFO: Packet analysis {"connection_id":153064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:18:48] local.INFO: Extracted packet for processing {"connection_id":153064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:18:48] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644432,"longitude_deg":75.6556992,"latitude_deg":11.9644432,"altitude":76,"angle":312,"satellites":37,"speed":9,"hex_longitude":"2d1824c0","hex_latitude":"0721a110","is_valid_coordinates":true} 
[2026-08-10 19:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310624000001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567755677401088,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549119148032,"note":"Value kept but may cause issues"} 
[2026-08-10 19:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786369629000,"timestamp_ms":1786369629000,"timestamp_seconds":1786369629,"priority":1,"record_length":96,"hex_timestamp":"0000019febed5b48"} 
[2026-08-10 19:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:18: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-08-10 19:18: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-08-10 19:18: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-08-10 19:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310624000001,"66":13580,"105":206,"83":41984,"24":9,"16":11567755677401088,"45":1740500549119148032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310624000001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:18:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:18:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567755677401088,"km_value":11567755677401.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549119148032,"description":"Unknown IO ID 45"} 
[2026-08-10 19:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310624000001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1740500549119148032}} 
[2026-08-10 19:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":153064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:18:48] local.INFO: GPS data processed {"connection_id":153064,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:18:48] local.INFO: Acknowledgment sent {"connection_id":153064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:18:58] local.INFO: TCP Data received {"connection_id":152141,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:18:58] local.INFO: Processing buffer {"connection_id":152141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:18:58] local.INFO: IMEI packet received {"connection_id":152141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":152141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:19:03] local.INFO: TCP Data received {"connection_id":152141,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:19:03] local.INFO: Processing buffer {"connection_id":152141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:19:03] local.INFO: IMEI packet received {"connection_id":152141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":152141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:19:04] local.INFO: TCP Data received {"connection_id":152141,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:19:04] local.INFO: Processing buffer {"connection_id":152141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:19:04] local.INFO: Packet analysis {"connection_id":152141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:19:04] local.INFO: Extracted packet for processing {"connection_id":152141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":19,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310506752001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786369468000,"timestamp_ms":1786369468000,"timestamp_seconds":1786369468,"priority":1,"record_length":96,"hex_timestamp":"0000019febeae660"} 
[2026-08-10 19:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-08-10 19:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310506752001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310506752001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:19:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310506752001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":152141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:19:04] local.INFO: GPS data processed {"connection_id":152141,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:19:04] local.INFO: Acknowledgment sent {"connection_id":152141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:19:12] local.INFO: TCP Data received {"connection_id":153065,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:19:12] local.INFO: Processing buffer {"connection_id":153065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:19:12] local.INFO: IMEI packet received {"connection_id":153065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 19:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":153065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:19:17] local.INFO: TCP Data received {"connection_id":153065,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:19:17] local.INFO: Processing buffer {"connection_id":153065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:19:17] local.INFO: IMEI packet received {"connection_id":153065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 19:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":153065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:19:17] local.INFO: TCP Data received {"connection_id":153065,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febe7e8c0012d7e3a8005d357100006011325..."} 
[2026-08-10 19:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febe7e8c0012d7e3a8005d357100006011325..."} 
[2026-08-10 19:19:17] local.INFO: Processing buffer {"connection_id":153065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febe7e8c0012d7e3a8005d357100006011325..."} 
[2026-08-10 19:19:17] local.INFO: Packet analysis {"connection_id":153065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febe7"} 
[2026-08-10 19:19:17] local.INFO: Extracted packet for processing {"connection_id":153065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febe7"} 
[2026-08-10 19:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 19:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310456576001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:17] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-10 19:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786369272000,"timestamp_ms":1786369272000,"timestamp_seconds":1786369272,"priority":1,"record_length":96,"hex_timestamp":"0000019febe7e8c0"} 
[2026-08-10 19:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 19:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310456576001,"66":2231,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-10 19:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310456576001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:19:17] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457310456576001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 19:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":153065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:19:17] local.INFO: GPS data processed {"connection_id":153065,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:19:17] local.INFO: Acknowledgment sent {"connection_id":153065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:19:19] local.INFO: TCP Data received {"connection_id":153064,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febed7a88012d181f800721a510004b012c24..."} 
[2026-08-10 19:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febed7a88012d181f800721a510004b012c24..."} 
[2026-08-10 19:19:19] local.INFO: Processing buffer {"connection_id":153064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febed7a88012d181f800721a510004b012c24..."} 
[2026-08-10 19:19:19] local.INFO: Packet analysis {"connection_id":153064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:19:19] local.INFO: Extracted packet for processing {"connection_id":153064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645456,"longitude_deg":75.6555648,"latitude_deg":11.9645456,"altitude":75,"angle":300,"satellites":36,"speed":6,"hex_longitude":"2d181f80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-10 19:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310625024001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567837281779712,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933361664,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786369637000,"timestamp_ms":1786369637000,"timestamp_seconds":1786369637,"priority":1,"record_length":96,"hex_timestamp":"0000019febed7a88"} 
[2026-08-10 19:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751524120,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3999204309916450894,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3958153160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2531867441282154506,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3970662401,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2507669583,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634974052575849,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292489429463469,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:19] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,159,75,45,128,158,76,37,10,66,67,192,77,36,253,1,240,227,235,33,4,113,205,167,53,64,239,52,2,41,7,78,5,164],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 19:19:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476720353424769024,"timestamp_seconds":5476720353424769.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310625024001,"66":13254,"105":206,"83":41984,"24":6,"16":11567837281779712,"45":1739726492933361664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310625024001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:19:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567837281779712,"km_value":11567837281779.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933361664,"description":"Unknown IO ID 45"} 
[2026-08-10 19:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310625024001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739726492933361664}} 
[2026-08-10 19:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":153064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:19:19] local.INFO: GPS data processed {"connection_id":153064,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:19:19] local.INFO: Acknowledgment sent {"connection_id":153064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:19:22] local.INFO: TCP Data received {"connection_id":153065,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febec8088012d7e3a8005d357100006011329..."} 
[2026-08-10 19:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febec8088012d7e3a8005d357100006011329..."} 
[2026-08-10 19:19:22] local.INFO: Processing buffer {"connection_id":153065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febec8088012d7e3a8005d357100006011329..."} 
[2026-08-10 19:19:22] local.INFO: Packet analysis {"connection_id":153065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febec"} 
[2026-08-10 19:19:22] local.INFO: Extracted packet for processing {"connection_id":153065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febec"} 
[2026-08-10 19:19:22] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 19:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310533632001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:22] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-10 19:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786369573000,"timestamp_ms":1786369573000,"timestamp_seconds":1786369573,"priority":1,"record_length":96,"hex_timestamp":"0000019febec8088"} 
[2026-08-10 19:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7424,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:19: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":183,"data_length":795,"current_offset":136} 
[2026-08-10 19:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310533632001,"66":2231,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-10 19:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310533632001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:19:22] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457310533632001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 19:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":153065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:19:22] local.INFO: GPS data processed {"connection_id":153065,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:19:22] local.INFO: Acknowledgment sent {"connection_id":153065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:19:35] local.INFO: TCP Data received {"connection_id":152141,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:19:35] local.INFO: Processing buffer {"connection_id":152141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:19:35] local.INFO: Packet analysis {"connection_id":152141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:19:35] local.INFO: Extracted packet for processing {"connection_id":152141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":19,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310506752001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786369468000,"timestamp_ms":1786369468000,"timestamp_seconds":1786369468,"priority":1,"record_length":96,"hex_timestamp":"0000019febeae660"} 
[2026-08-10 19:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-08-10 19:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310506752001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310506752001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:19:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310506752001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":152141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:19:35] local.INFO: GPS data processed {"connection_id":152141,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:19:35] local.INFO: Acknowledgment sent {"connection_id":152141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:19:42] local.INFO: TCP Data received {"connection_id":151741,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:19:42] local.INFO: Processing buffer {"connection_id":151741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:19:42] local.INFO: IMEI packet received {"connection_id":151741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":151741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:19:47] local.INFO: TCP Data received {"connection_id":151741,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:19:47] local.INFO: Processing buffer {"connection_id":151741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:19:47] local.INFO: IMEI packet received {"connection_id":151741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":151741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:19:47] local.INFO: TCP Data received {"connection_id":151741,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febed8a28012d181dc00721a690004c013e23..."} 
[2026-08-10 19:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febed8a28012d181dc00721a690004c013e23..."} 
[2026-08-10 19:19:47] local.INFO: Processing buffer {"connection_id":151741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febed8a28012d181dc00721a690004c013e23..."} 
[2026-08-10 19:19:47] local.INFO: Packet analysis {"connection_id":151741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:19:47] local.INFO: Extracted packet for processing {"connection_id":151741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645840,"longitude_deg":75.65552,"latitude_deg":11.964584,"altitude":76,"angle":318,"satellites":35,"speed":5,"hex_longitude":"2d181dc0","hex_latitude":"0721a690","is_valid_coordinates":true} 
[2026-08-10 19:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310627072001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567867346550784,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305892864,"note":"Value kept but may cause issues"} 
[2026-08-10 19:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786369641000,"timestamp_ms":1786369641000,"timestamp_seconds":1786369641,"priority":1,"record_length":96,"hex_timestamp":"0000019febed8a28"} 
[2026-08-10 19:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 19:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310627072001,"66":12841,"105":206,"83":41984,"24":5,"16":11567867346550784,"45":1738248749305892864},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310627072001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:19:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:19:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567867346550784,"km_value":11567867346550.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305892864,"description":"Unknown IO ID 45"} 
[2026-08-10 19:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310627072001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738248749305892864}} 
[2026-08-10 19:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":151741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:19:47] local.INFO: GPS data processed {"connection_id":151741,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:19:47] local.INFO: Acknowledgment sent {"connection_id":151741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:19:58] local.INFO: TCP Data received {"connection_id":152142,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:19:58] local.INFO: Processing buffer {"connection_id":152142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:19:58] local.INFO: IMEI packet received {"connection_id":152142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":152142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:20:03] local.INFO: TCP Data received {"connection_id":152142,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:20:03] local.INFO: Processing buffer {"connection_id":152142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:20:03] local.INFO: IMEI packet received {"connection_id":152142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":152142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:20:05] local.INFO: TCP Data received {"connection_id":152142,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:20:05] local.INFO: Processing buffer {"connection_id":152142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febeae660012d34248006abc1900013007e23..."} 
[2026-08-10 19:20:05] local.INFO: Packet analysis {"connection_id":152142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:20:05] local.INFO: Extracted packet for processing {"connection_id":152142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febea"} 
[2026-08-10 19:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":19,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310506752001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786369468000,"timestamp_ms":1786369468000,"timestamp_seconds":1786369468,"priority":1,"record_length":96,"hex_timestamp":"0000019febeae660"} 
[2026-08-10 19:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-08-10 19:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310506752001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310506752001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:20:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310506752001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":152142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:20:05] local.INFO: GPS data processed {"connection_id":152142,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:20:05] local.INFO: Acknowledgment sent {"connection_id":152142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:20:06] local.INFO: TCP Data received {"connection_id":153066,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:20:06] local.INFO: Processing buffer {"connection_id":153066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:20:06] local.INFO: IMEI packet received {"connection_id":153066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 19:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":153066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:20:12] local.INFO: TCP Data received {"connection_id":153066,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:20:12] local.INFO: Processing buffer {"connection_id":153066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:20:12] local.INFO: IMEI packet received {"connection_id":153066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 19:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":153066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:20:18] local.INFO: TCP Data received {"connection_id":151741,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febed91f8012d181d000721a780004c014b24..."} 
[2026-08-10 19:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febed91f8012d181d000721a780004c014b24..."} 
[2026-08-10 19:20:18] local.INFO: Processing buffer {"connection_id":151741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febed91f8012d181d000721a780004c014b24..."} 
[2026-08-10 19:20:18] local.INFO: Packet analysis {"connection_id":151741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:20:18] local.INFO: Extracted packet for processing {"connection_id":151741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646080,"longitude_deg":75.6555008,"latitude_deg":11.964608,"altitude":76,"angle":331,"satellites":36,"speed":9,"hex_longitude":"2d181d00","hex_latitude":"0721a780","is_valid_coordinates":true} 
[2026-08-10 19:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310628096001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567880231452672,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096747520,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786369643000,"timestamp_ms":1786369643000,"timestamp_seconds":1786369643,"priority":1,"record_length":96,"hex_timestamp":"0000019febed91f8"} 
[2026-08-10 19:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 19:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310628096001,"66":12798,"105":206,"83":41984,"24":9,"16":11567880231452672,"45":1737756168096747520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310628096001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:20:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:20:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567880231452672,"km_value":11567880231452.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096747520,"description":"Unknown IO ID 45"} 
[2026-08-10 19:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310628096001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737756168096747520}} 
[2026-08-10 19:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":151741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:20:19] local.INFO: GPS data processed {"connection_id":151741,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:20:19] local.INFO: Acknowledgment sent {"connection_id":151741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:20:34] local.INFO: TCP Data received {"connection_id":153066,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febec9028012d7e3a8005d357100006011329..."} 
[2026-08-10 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febec9028012d7e3a8005d357100006011329..."} 
[2026-08-10 19:20:34] local.INFO: Processing buffer {"connection_id":153066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febec9028012d7e3a8005d357100006011329..."} 
[2026-08-10 19:20:34] local.INFO: Packet analysis {"connection_id":153066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febec"} 
[2026-08-10 19:20:34] local.INFO: Extracted packet for processing {"connection_id":153066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febec"} 
[2026-08-10 19:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 19:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310610688001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:34] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-10 19:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786369577000,"timestamp_ms":1786369577000,"timestamp_seconds":1786369577,"priority":1,"record_length":96,"hex_timestamp":"0000019febec9028"} 
[2026-08-10 19:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2560,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-10 19:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310610688001,"66":2209,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-10 19:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310610688001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:20:34] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457310610688001,"power":2209,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 19:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":153066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:20:34] local.INFO: GPS data processed {"connection_id":153066,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:20:34] local.INFO: Acknowledgment sent {"connection_id":153066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:20:35] local.INFO: TCP Data received {"connection_id":152142,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:20:35] local.INFO: Processing buffer {"connection_id":152142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:20:35] local.INFO: Packet analysis {"connection_id":152142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:20:35] local.INFO: Extracted packet for processing {"connection_id":152142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":21,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310583808001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786369769000,"timestamp_ms":1786369769000,"timestamp_seconds":1786369769,"priority":1,"record_length":96,"hex_timestamp":"0000019febef7e28"} 
[2026-08-10 19:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310583808001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310583808001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:20:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310583808001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":152142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:20:35] local.INFO: GPS data processed {"connection_id":152142,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:20:35] local.INFO: Acknowledgment sent {"connection_id":152142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:20:41] local.INFO: TCP Data received {"connection_id":153067,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:20:41] local.INFO: Processing buffer {"connection_id":153067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:20:41] local.INFO: IMEI packet received {"connection_id":153067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":153067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:20:46] local.INFO: TCP Data received {"connection_id":153067,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:20:46] local.INFO: Processing buffer {"connection_id":153067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:20:46] local.INFO: IMEI packet received {"connection_id":153067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":153067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:20:47] local.INFO: TCP Data received {"connection_id":153067,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febed95e0012d181cc00721a868004c015e24..."} 
[2026-08-10 19:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febed95e0012d181cc00721a868004c015e24..."} 
[2026-08-10 19:20:47] local.INFO: Processing buffer {"connection_id":153067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febed95e0012d181cc00721a868004c015e24..."} 
[2026-08-10 19:20:47] local.INFO: Packet analysis {"connection_id":153067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:20:47] local.INFO: Extracted packet for processing {"connection_id":153067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646312,"longitude_deg":75.6554944,"latitude_deg":11.9646312,"altitude":76,"angle":350,"satellites":36,"speed":11,"hex_longitude":"2d181cc0","hex_latitude":"0721a868","is_valid_coordinates":true} 
[2026-08-10 19:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310628608001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567893116354560,"note":"Value kept but may cause issues"} 
[2026-08-10 19:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864275968,"note":"Value kept but may cause issues"} 
[2026-08-10 19: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-08-10 19:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786369644000,"timestamp_ms":1786369644000,"timestamp_seconds":1786369644,"priority":1,"record_length":96,"hex_timestamp":"0000019febed95e0"} 
[2026-08-10 19:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-10 19:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310628608001,"66":13450,"105":206,"83":41984,"24":11,"16":11567893116354560,"45":1737545061864275968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310628608001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:20:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567893116354560,"km_value":11567893116354.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864275968,"description":"Unknown IO ID 45"} 
[2026-08-10 19:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310628608001,"power":13450,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737545061864275968}} 
[2026-08-10 19:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":153067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:20:47] local.INFO: GPS data processed {"connection_id":153067,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:20:47] local.INFO: Acknowledgment sent {"connection_id":153067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:20:58] local.INFO: TCP Data received {"connection_id":153068,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:20:58] local.INFO: Processing buffer {"connection_id":153068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:20:58] local.INFO: IMEI packet received {"connection_id":153068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":153068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:21:03] local.INFO: TCP Data received {"connection_id":153068,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:21:03] local.INFO: Processing buffer {"connection_id":153068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:21:03] local.INFO: IMEI packet received {"connection_id":153068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":153068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:21:04] local.INFO: TCP Data received {"connection_id":153068,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:21:04] local.INFO: Processing buffer {"connection_id":153068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:21:04] local.INFO: Packet analysis {"connection_id":153068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:21:04] local.INFO: Extracted packet for processing {"connection_id":153068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":21,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310583808001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786369769000,"timestamp_ms":1786369769000,"timestamp_seconds":1786369769,"priority":1,"record_length":96,"hex_timestamp":"0000019febef7e28"} 
[2026-08-10 19:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310583808001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310583808001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:21:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310583808001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":153068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:21:04] local.INFO: GPS data processed {"connection_id":153068,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:21:04] local.INFO: Acknowledgment sent {"connection_id":153068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:21:07] local.INFO: TCP Data received {"connection_id":152143,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:21:07] local.INFO: Processing buffer {"connection_id":152143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:21:07] local.INFO: IMEI packet received {"connection_id":152143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 19:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":152143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:21:12] local.INFO: TCP Data received {"connection_id":152143,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:21:12] local.INFO: Processing buffer {"connection_id":152143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:21:12] local.INFO: IMEI packet received {"connection_id":152143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 19:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":152143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:21:18] local.INFO: TCP Data received {"connection_id":153067,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febed99c8012d181cc00721a970004c000b24..."} 
[2026-08-10 19:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febed99c8012d181cc00721a970004c000b24..."} 
[2026-08-10 19:21:18] local.INFO: Processing buffer {"connection_id":153067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febed99c8012d181cc00721a970004c000b24..."} 
[2026-08-10 19:21:18] local.INFO: Packet analysis {"connection_id":153067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:21:18] local.INFO: Extracted packet for processing {"connection_id":153067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646576,"longitude_deg":75.6554944,"latitude_deg":11.9646576,"altitude":76,"angle":11,"satellites":36,"speed":11,"hex_longitude":"2d181cc0","hex_latitude":"0721a970","is_valid_coordinates":true} 
[2026-08-10 19:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310628864001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567906001256448,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120157696,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786369645000,"timestamp_ms":1786369645000,"timestamp_seconds":1786369645,"priority":1,"record_length":96,"hex_timestamp":"0000019febed99c8"} 
[2026-08-10 19:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 19:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310628864001,"66":13450,"105":206,"83":41984,"24":11,"16":11567906001256448,"45":1737474693120157696},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310628864001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:21:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567906001256448,"km_value":11567906001256.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120157696,"description":"Unknown IO ID 45"} 
[2026-08-10 19:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310628864001,"power":13450,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737474693120157696}} 
[2026-08-10 19:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":153067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:21:18] local.INFO: GPS data processed {"connection_id":153067,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:21:18] local.INFO: Acknowledgment sent {"connection_id":153067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:21:23] local.INFO: TCP Data received {"connection_id":152143,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febec9410012d7e3a8005d357100006011329..."} 
[2026-08-10 19:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febec9410012d7e3a8005d357100006011329..."} 
[2026-08-10 19:21:23] local.INFO: Processing buffer {"connection_id":152143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febec9410012d7e3a8005d357100006011329..."} 
[2026-08-10 19:21:23] local.INFO: Packet analysis {"connection_id":152143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febec"} 
[2026-08-10 19:21:23] local.INFO: Extracted packet for processing {"connection_id":152143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febec"} 
[2026-08-10 19:21:23] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 19:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310611712001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:23] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-10 19:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786369578000,"timestamp_ms":1786369578000,"timestamp_seconds":1786369578,"priority":1,"record_length":96,"hex_timestamp":"0000019febec9410"} 
[2026-08-10 19:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1024,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 19:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310611712001,"66":12722,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-10 19:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310611712001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:21:23] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457310611712001,"power":12722,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 19:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":152143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:21:23] local.INFO: GPS data processed {"connection_id":152143,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:21:23] local.INFO: Acknowledgment sent {"connection_id":152143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:21:35] local.INFO: TCP Data received {"connection_id":153068,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:21:35] local.INFO: Processing buffer {"connection_id":153068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:21:35] local.INFO: Packet analysis {"connection_id":153068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:21:35] local.INFO: Extracted packet for processing {"connection_id":153068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":21,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310583808001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786369769000,"timestamp_ms":1786369769000,"timestamp_seconds":1786369769,"priority":1,"record_length":96,"hex_timestamp":"0000019febef7e28"} 
[2026-08-10 19:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310583808001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310583808001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:21:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310583808001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":153068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:21:35] local.INFO: GPS data processed {"connection_id":153068,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:21:35] local.INFO: Acknowledgment sent {"connection_id":153068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:21:41] local.INFO: TCP Data received {"connection_id":154500,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:21:41] local.INFO: Processing buffer {"connection_id":154500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:21:41] local.INFO: IMEI packet received {"connection_id":154500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":154500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:21:47] local.INFO: TCP Data received {"connection_id":154500,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:21:47] local.INFO: Processing buffer {"connection_id":154500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:21:47] local.INFO: IMEI packet received {"connection_id":154500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":154500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:21:48] local.INFO: TCP Data received {"connection_id":154500,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febed9db0012d181d000721aa68004d001725..."} 
[2026-08-10 19:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febed9db0012d181d000721aa68004d001725..."} 
[2026-08-10 19:21:48] local.INFO: Processing buffer {"connection_id":154500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febed9db0012d181d000721aa68004d001725..."} 
[2026-08-10 19:21:48] local.INFO: Packet analysis {"connection_id":154500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:21:48] local.INFO: Extracted packet for processing {"connection_id":154500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:21:48] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646824,"longitude_deg":75.6555008,"latitude_deg":11.9646824,"altitude":77,"angle":23,"satellites":37,"speed":9,"hex_longitude":"2d181d00","hex_latitude":"0721aa68","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310629120001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567918886158336,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120225280,"note":"Value kept but may cause issues"} 
[2026-08-10 19:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786369646000,"timestamp_ms":1786369646000,"timestamp_seconds":1786369646,"priority":1,"record_length":96,"hex_timestamp":"0000019febed9db0"} 
[2026-08-10 19:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:21: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-08-10 19: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 19:21: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-08-10 19: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-08-10 19:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310629120001,"66":13493,"105":206,"83":41984,"24":9,"16":11567918886158336,"45":1737474693120225280},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310629120001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:21:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:21:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567918886158336,"km_value":11567918886158.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120225280,"description":"Unknown IO ID 45"} 
[2026-08-10 19:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310629120001,"power":13493,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737474693120225280}} 
[2026-08-10 19:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":154500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:21:48] local.INFO: GPS data processed {"connection_id":154500,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:21:48] local.INFO: Acknowledgment sent {"connection_id":154500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:21:58] local.INFO: TCP Data received {"connection_id":151742,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:21:58] local.INFO: Processing buffer {"connection_id":151742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:21:58] local.INFO: IMEI packet received {"connection_id":151742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":151742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:22:03] local.INFO: TCP Data received {"connection_id":151742,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:22:03] local.INFO: Processing buffer {"connection_id":151742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:22:03] local.INFO: IMEI packet received {"connection_id":151742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":151742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:22:04] local.INFO: TCP Data received {"connection_id":151742,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:22:04] local.INFO: Processing buffer {"connection_id":151742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:22:04] local.INFO: Packet analysis {"connection_id":151742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:22:04] local.INFO: Extracted packet for processing {"connection_id":151742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":21,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310583808001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786369769000,"timestamp_ms":1786369769000,"timestamp_seconds":1786369769,"priority":1,"record_length":96,"hex_timestamp":"0000019febef7e28"} 
[2026-08-10 19:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310583808001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310583808001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:22:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310583808001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":151742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:22:04] local.INFO: GPS data processed {"connection_id":151742,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:22:04] local.INFO: Acknowledgment sent {"connection_id":151742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:22:06] local.INFO: TCP Data received {"connection_id":152144,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:22:06] local.INFO: Processing buffer {"connection_id":152144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:22:06] local.INFO: IMEI packet received {"connection_id":152144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 19:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":152144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:22:12] local.INFO: TCP Data received {"connection_id":152144,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:22:12] local.INFO: Processing buffer {"connection_id":152144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:22:12] local.INFO: IMEI packet received {"connection_id":152144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 19:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":152144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:22:13] local.INFO: TCP Data received {"connection_id":152144,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febf156d0012d7e3a8005d357100006011324..."} 
[2026-08-10 19:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf156d0012d7e3a8005d357100006011324..."} 
[2026-08-10 19:22:13] local.INFO: Processing buffer {"connection_id":152144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf156d0012d7e3a8005d357100006011324..."} 
[2026-08-10 19:22:13] local.INFO: Packet analysis {"connection_id":152144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf1"} 
[2026-08-10 19:22:13] local.INFO: Extracted packet for processing {"connection_id":152144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf1"} 
[2026-08-10 19:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310611968001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786369890000,"timestamp_ms":1786369890000,"timestamp_seconds":1786369890,"priority":1,"record_length":96,"hex_timestamp":"0000019febf156d0"} 
[2026-08-10 19:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1024,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-10 19:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310611968001,"66":12287,"115":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 19:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310611968001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:22:13] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 19:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 19:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310611968001,"power":12287,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 19:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":152144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:22:13] local.INFO: GPS data processed {"connection_id":152144,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:22:13] local.INFO: Acknowledgment sent {"connection_id":152144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:22:19] local.INFO: TCP Data received {"connection_id":154500,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febedefb8012d1820000721ad50004a002126..."} 
[2026-08-10 19:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febedefb8012d1820000721ad50004a002126..."} 
[2026-08-10 19:22:19] local.INFO: Processing buffer {"connection_id":154500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febedefb8012d1820000721ad50004a002126..."} 
[2026-08-10 19:22:19] local.INFO: Packet analysis {"connection_id":154500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:22:19] local.INFO: Extracted packet for processing {"connection_id":154500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febed"} 
[2026-08-10 19:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119647568,"longitude_deg":75.6555776,"latitude_deg":11.9647568,"altitude":74,"angle":33,"satellites":38,"speed":13,"hex_longitude":"2d182000","hex_latitude":"0721ad50","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310629376001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567970425765888,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864466432,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786369667000,"timestamp_ms":1786369667000,"timestamp_seconds":1786369667,"priority":1,"record_length":96,"hex_timestamp":"0000019febedefb8"} 
[2026-08-10 19:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-10 19:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310629376001,"66":13080,"105":206,"83":41984,"24":13,"16":11567970425765888,"45":1737545061864466432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310629376001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:22:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:22:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567970425765888,"km_value":11567970425765.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864466432,"description":"Unknown IO ID 45"} 
[2026-08-10 19:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310629376001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737545061864466432}} 
[2026-08-10 19:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":154500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:22:19] local.INFO: GPS data processed {"connection_id":154500,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:22:19] local.INFO: Acknowledgment sent {"connection_id":154500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:22:35] local.INFO: TCP Data received {"connection_id":151742,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:22:35] local.INFO: Processing buffer {"connection_id":151742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:22:35] local.INFO: Packet analysis {"connection_id":151742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:22:35] local.INFO: Extracted packet for processing {"connection_id":151742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":21,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310583808001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786369769000,"timestamp_ms":1786369769000,"timestamp_seconds":1786369769,"priority":1,"record_length":96,"hex_timestamp":"0000019febef7e28"} 
[2026-08-10 19:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310583808001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310583808001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:22:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310583808001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":151742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:22:35] local.INFO: GPS data processed {"connection_id":151742,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:22:35] local.INFO: Acknowledgment sent {"connection_id":151742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:22:41] local.INFO: TCP Data received {"connection_id":152145,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:22:41] local.INFO: Processing buffer {"connection_id":152145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:22:41] local.INFO: IMEI packet received {"connection_id":152145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":152145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:22:44] local.INFO: TCP Data received {"connection_id":152144,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febf24900012d7e3a8005d357100006011326..."} 
[2026-08-10 19:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf24900012d7e3a8005d357100006011326..."} 
[2026-08-10 19:22:44] local.INFO: Processing buffer {"connection_id":152144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf24900012d7e3a8005d357100006011326..."} 
[2026-08-10 19:22:44] local.INFO: Packet analysis {"connection_id":152144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:22:44] local.INFO: Extracted packet for processing {"connection_id":152144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 19:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310691840001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786369952000,"timestamp_ms":1786369952000,"timestamp_seconds":1786369952,"priority":1,"record_length":96,"hex_timestamp":"0000019febf24900"} 
[2026-08-10 19:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7936,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 19:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310691840001,"66":12298,"115":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 19:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310691840001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:22:44] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 19:22:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 19:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310691840001,"power":12298,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 19:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":152144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:22:44] local.INFO: GPS data processed {"connection_id":152144,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:22:44] local.INFO: Acknowledgment sent {"connection_id":152144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:22:47] local.INFO: TCP Data received {"connection_id":152145,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:22:47] local.INFO: Processing buffer {"connection_id":152145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:22:47] local.INFO: IMEI packet received {"connection_id":152145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":152145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:22:47] local.INFO: TCP Data received {"connection_id":152145,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febee41c0012d1824400721b6c8004b001725..."} 
[2026-08-10 19:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febee41c0012d1824400721b6c8004b001725..."} 
[2026-08-10 19:22:47] local.INFO: Processing buffer {"connection_id":152145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febee41c0012d1824400721b6c8004b001725..."} 
[2026-08-10 19:22:47] local.INFO: Packet analysis {"connection_id":152145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febee"} 
[2026-08-10 19:22:47] local.INFO: Extracted packet for processing {"connection_id":152145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febee"} 
[2026-08-10 19:22:47] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119649992,"longitude_deg":75.6556864,"latitude_deg":11.9649992,"altitude":75,"angle":23,"satellites":37,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-08-10 19:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310634752001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568150814392320,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794788864,"note":"Value kept but may cause issues"} 
[2026-08-10 19:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786369688000,"timestamp_ms":1786369688000,"timestamp_seconds":1786369688,"priority":1,"record_length":96,"hex_timestamp":"0000019febee41c0"} 
[2026-08-10 19:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-10 19:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310634752001,"66":13015,"105":206,"83":41984,"24":0,"16":11568150814392320,"45":1738389486794788864},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310634752001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:22:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:22:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568150814392320,"km_value":11568150814392.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794788864,"description":"Unknown IO ID 45"} 
[2026-08-10 19:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310634752001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486794788864}} 
[2026-08-10 19:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":152145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:22:47] local.INFO: GPS data processed {"connection_id":152145,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:22:47] local.INFO: Acknowledgment sent {"connection_id":152145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:22:58] local.INFO: TCP Data received {"connection_id":153069,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:22:58] local.INFO: Processing buffer {"connection_id":153069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:22:58] local.INFO: IMEI packet received {"connection_id":153069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":153069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:23:03] local.INFO: TCP Data received {"connection_id":153069,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:23:03] local.INFO: Processing buffer {"connection_id":153069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:23:03] local.INFO: IMEI packet received {"connection_id":153069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":153069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:23:04] local.INFO: TCP Data received {"connection_id":153069,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:23:04] local.INFO: Processing buffer {"connection_id":153069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:23:04] local.INFO: Packet analysis {"connection_id":153069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:23:04] local.INFO: Extracted packet for processing {"connection_id":153069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":21,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310583808001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786369769000,"timestamp_ms":1786369769000,"timestamp_seconds":1786369769,"priority":1,"record_length":96,"hex_timestamp":"0000019febef7e28"} 
[2026-08-10 19:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310583808001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310583808001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:23:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310583808001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":153069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:23:04] local.INFO: GPS data processed {"connection_id":153069,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:23:04] local.INFO: Acknowledgment sent {"connection_id":153069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:23:07] local.INFO: TCP Data received {"connection_id":151743,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:23:07] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:23:07] local.INFO: IMEI packet received {"connection_id":151743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 19:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":151743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:23:07] local.INFO: TCP Data received {"connection_id":151743,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:23:07] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:23:07] local.INFO: IMEI packet received {"connection_id":151743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 19:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":151743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:23:11] local.INFO: TCP Data received {"connection_id":151743,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:23:11] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:23:11] local.INFO: IMEI packet received {"connection_id":151743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 19:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":151743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:23:12] local.INFO: TCP Data received {"connection_id":151743,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:23:12] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:23:12] local.INFO: IMEI packet received {"connection_id":151743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 19:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":151743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:23:13] local.INFO: TCP Data received {"connection_id":151743,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febf24900012d7e3a8005d357100006011326..."} 
[2026-08-10 19:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf24900012d7e3a8005d357100006011326..."} 
[2026-08-10 19:23:13] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf24900012d7e3a8005d357100006011326..."} 
[2026-08-10 19:23:13] local.INFO: Packet analysis {"connection_id":151743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:23:13] local.INFO: Extracted packet for processing {"connection_id":151743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736464,"longitude_deg":76.3247232,"latitude_deg":9.7736464,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-10 19:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310707712001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406693427511296,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786369952000,"timestamp_ms":1786369952000,"timestamp_seconds":1786369952,"priority":1,"record_length":96,"hex_timestamp":"0000019febf24900"} 
[2026-08-10 19:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":26388279067136,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":28,"raw_value":-4323455642275676159,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1450518414137393606,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419774916507074835,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":6,"raw_value":77449599060541440,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055333,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":66,"raw_value":627971553509769422,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3967846401,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3221302654,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2147865431,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3070283008,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545698304,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:13] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,115,85,24,241,157,16,28,159,86,45,128,87,6,36,10,66,148,41,144,240,161,235,211,1,4,113,205,232,58,37,239,8,2,5,39],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[]} 
[2026-08-10 19:23:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432648093133963503,"timestamp_seconds":432648093133963.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310707712001,"66":12298,"115":206,"85":15104,"24":0,"16":117406693427511296,"45":9095723159937028096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 19:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310707712001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:23:13] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 19:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 19:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406693427511296,"km_value":117406693427511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310707712001,"power":12298,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 19:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":151743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:23:13] local.INFO: GPS data processed {"connection_id":151743,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:23:13] local.INFO: Acknowledgment sent {"connection_id":151743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:23:14] local.INFO: TCP Data received {"connection_id":151743,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febf29338012d7e3b4005d357580003004f28..."} 
[2026-08-10 19:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf29338012d7e3b4005d357580003004f28..."} 
[2026-08-10 19:23:14] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf29338012d7e3b4005d357580003004f28..."} 
[2026-08-10 19:23:14] local.INFO: Packet analysis {"connection_id":151743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:23:14] local.INFO: Extracted packet for processing {"connection_id":151743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":763247424,"raw_latitude":97736536,"longitude_deg":76.3247424,"latitude_deg":9.7736536,"altitude":3,"angle":79,"satellites":40,"speed":2,"hex_longitude":"2d7e3b40","hex_latitude":"05d35758","is_valid_coordinates":true} 
[2026-08-10 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-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310707712001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117406706312413184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937028096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786369971000,"timestamp_ms":1786369971000,"timestamp_seconds":1786369971,"priority":1,"record_length":96,"hex_timestamp":"0000019febf29338"} 
[2026-08-10 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-08-10 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":26388279067136,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":28,"raw_value":-4323455642275676159,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1449225628981297606,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419774916507074835,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":6,"raw_value":77446300525658112,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055325,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":66,"raw_value":627971553509769422,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3968870401,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2147865431,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3070283008,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545698304,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:14] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,115,85,24,241,157,16,28,159,73,45,128,87,6,38,10,66,86,36,148,240,178,235,211,1,4,113,205,58,41,239,8,2,161,5,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[]} 
[2026-08-10 19:23:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432648093133963504,"timestamp_seconds":432648093133963.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 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-08-10 19:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310707712001,"66":11721,"115":206,"85":15104,"24":2,"16":117406706312413184,"45":9095723159937028096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 19:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310707712001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:23:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 19:23:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 19:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117406706312413184,"km_value":117406706312413.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937028096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310707712001,"power":11721,"unknown_115":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9095723159937028096}} 
[2026-08-10 19:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":151743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:23:14] local.INFO: GPS data processed {"connection_id":151743,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:23:14] local.INFO: Acknowledgment sent {"connection_id":151743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:23:19] local.INFO: TCP Data received {"connection_id":152145,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf21638012d181f800721b1f0004700e026..."} 
[2026-08-10 19:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf21638012d181f800721b1f0004700e026..."} 
[2026-08-10 19:23:19] local.INFO: Processing buffer {"connection_id":152145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf21638012d181f800721b1f0004700e026..."} 
[2026-08-10 19:23:19] local.INFO: Packet analysis {"connection_id":152145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:23:19] local.INFO: Extracted packet for processing {"connection_id":152145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648752,"longitude_deg":75.6555648,"latitude_deg":11.9648752,"altitude":71,"angle":224,"satellites":38,"speed":1,"hex_longitude":"2d181f80","hex_latitude":"0721b1f0","is_valid_coordinates":true} 
[2026-08-10 19:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310699264001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568245303672832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492731904,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786369939000,"timestamp_ms":1786369939000,"timestamp_seconds":1786369939,"priority":1,"record_length":96,"hex_timestamp":"0000019febf21638"} 
[2026-08-10 19:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-10 19:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310699264001,"66":12711,"105":206,"83":41984,"24":1,"16":11568245303672832,"45":1739022805492731904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310699264001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:23:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:23:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568245303672832,"km_value":11568245303672.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492731904,"description":"Unknown IO ID 45"} 
[2026-08-10 19:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310699264001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739022805492731904}} 
[2026-08-10 19:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":152145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:23:19] local.INFO: GPS data processed {"connection_id":152145,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:23:19] local.INFO: Acknowledgment sent {"connection_id":152145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:23:35] local.INFO: TCP Data received {"connection_id":153069,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:23:35] local.INFO: Processing buffer {"connection_id":153069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:23:35] local.INFO: Packet analysis {"connection_id":153069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:23:35] local.INFO: Extracted packet for processing {"connection_id":153069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":21,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310583808001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786369769000,"timestamp_ms":1786369769000,"timestamp_seconds":1786369769,"priority":1,"record_length":96,"hex_timestamp":"0000019febef7e28"} 
[2026-08-10 19:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310583808001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310583808001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:23:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310583808001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":153069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:23:35] local.INFO: GPS data processed {"connection_id":153069,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:23:35] local.INFO: Acknowledgment sent {"connection_id":153069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:23:44] local.INFO: TCP Data received {"connection_id":151743,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febf33f18012d7e35c005d34e780001006629..."} 
[2026-08-10 19:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf33f18012d7e35c005d34e780001006629..."} 
[2026-08-10 19:23:44] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf33f18012d7e35c005d34e780001006629..."} 
[2026-08-10 19:23:44] local.INFO: Packet analysis {"connection_id":151743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:23:44] local.INFO: Extracted packet for processing {"connection_id":151743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:23:44] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734264,"longitude_deg":76.3246016,"latitude_deg":9.7734264,"altitude":1,"angle":102,"satellites":41,"speed":8,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e78","is_valid_coordinates":true} 
[2026-08-10 19:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310723328001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407032729927680,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093963941332064256,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786370015000,"timestamp_ms":1786370015000,"timestamp_seconds":1786370015,"priority":1,"record_length":96,"hex_timestamp":"0000019febf33f18"} 
[2026-08-10 19:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-10 19:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1744,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310723328001,"66":10591,"115":206,"85":15104,"24":8,"16":117407032729927680,"45":9093963941332064256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 19:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310723328001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:23:44] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 19:23:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 19:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117407032729927680,"km_value":117407032729927.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093963941332064256,"description":"Unknown IO ID 45"} 
[2026-08-10 19:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310723328001,"power":10591,"unknown_115":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9093963941332064256}} 
[2026-08-10 19:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":151743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:23:45] local.INFO: GPS data processed {"connection_id":151743,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:23:45] local.INFO: Acknowledgment sent {"connection_id":151743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:23:47] local.INFO: TCP Data received {"connection_id":154501,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:23:47] local.INFO: Processing buffer {"connection_id":154501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:23:47] local.INFO: IMEI packet received {"connection_id":154501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":154501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:23:50] local.INFO: TCP Data received {"connection_id":154501,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:23:50] local.INFO: Processing buffer {"connection_id":154501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:23:50] local.INFO: IMEI packet received {"connection_id":154501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":154501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:23:50] local.INFO: TCP Data received {"connection_id":154501,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf21e08012d181f400721b188004700d426..."} 
[2026-08-10 19:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf21e08012d181f400721b188004700d426..."} 
[2026-08-10 19:23:50] local.INFO: Processing buffer {"connection_id":154501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf21e08012d181f400721b188004700d426..."} 
[2026-08-10 19:23:50] local.INFO: Packet analysis {"connection_id":154501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:23:50] local.INFO: Extracted packet for processing {"connection_id":154501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648648,"longitude_deg":75.6555584,"latitude_deg":11.9648648,"altitude":71,"angle":212,"satellites":38,"speed":2,"hex_longitude":"2d181f40","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-08-10 19:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310704384001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568253893607424,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306736640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786369941000,"timestamp_ms":1786369941000,"timestamp_seconds":1786369941,"priority":1,"record_length":96,"hex_timestamp":"0000019febf21e08"} 
[2026-08-10 19:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:23: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-08-10 19:23: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-08-10 19:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":154501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":154501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":154501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310704384001,"66":12711,"105":206,"83":41984,"24":2,"16":11568253893607424,"45":1738248749306736640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310704384001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:23:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568253893607424,"km_value":11568253893607.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306736640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310704384001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738248749306736640}} 
[2026-08-10 19:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":154501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:23:51] local.INFO: GPS data processed {"connection_id":154501,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:23:51] local.INFO: Acknowledgment sent {"connection_id":154501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:23:51] local.INFO: TCP Data received {"connection_id":154501,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf23d48012d181e400721af68004700c726..."} 
[2026-08-10 19:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf23d48012d181e400721af68004700c726..."} 
[2026-08-10 19:23:51] local.INFO: Processing buffer {"connection_id":154501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf23d48012d181e400721af68004700c726..."} 
[2026-08-10 19:23:51] local.INFO: Packet analysis {"connection_id":154501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:23:51] local.INFO: Extracted packet for processing {"connection_id":154501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648104,"longitude_deg":75.6555328,"latitude_deg":11.9648104,"altitude":71,"angle":199,"satellites":38,"speed":1,"hex_longitude":"2d181e40","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-08-10 19:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310704896001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568283958378496,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562532352,"note":"Value kept but may cause issues"} 
[2026-08-10 19:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786369949000,"timestamp_ms":1786369949000,"timestamp_seconds":1786369949,"priority":1,"record_length":96,"hex_timestamp":"0000019febf23d48"} 
[2026-08-10 19:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-10 19:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310704896001,"66":12667,"105":206,"83":41984,"24":1,"16":11568283958378496,"45":1738178380562532352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310704896001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:23:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568283958378496,"km_value":11568283958378.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562532352,"description":"Unknown IO ID 45"} 
[2026-08-10 19:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310704896001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738178380562532352}} 
[2026-08-10 19:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":154501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:23:52] local.INFO: GPS data processed {"connection_id":154501,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:23:52] local.INFO: Acknowledgment sent {"connection_id":154501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:24:03] local.INFO: TCP Data received {"connection_id":151744,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:24:03] local.INFO: Processing buffer {"connection_id":151744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:24:03] local.INFO: IMEI packet received {"connection_id":151744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":151744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:24:08] local.INFO: TCP Data received {"connection_id":151744,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:24:08] local.INFO: Processing buffer {"connection_id":151744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:24:08] local.INFO: IMEI packet received {"connection_id":151744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":151744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:24:09] local.INFO: TCP Data received {"connection_id":151744,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:24:09] local.INFO: Processing buffer {"connection_id":151744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:24:09] local.INFO: Packet analysis {"connection_id":151744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:24:09] local.INFO: Extracted packet for processing {"connection_id":151744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":21,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310583808001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786369769000,"timestamp_ms":1786369769000,"timestamp_seconds":1786369769,"priority":1,"record_length":96,"hex_timestamp":"0000019febef7e28"} 
[2026-08-10 19:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310583808001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310583808001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:24:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310583808001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":151744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:24:09] local.INFO: GPS data processed {"connection_id":151744,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:24:09] local.INFO: Acknowledgment sent {"connection_id":151744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:24:13] local.INFO: TCP Data received {"connection_id":152146,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:24:13] local.INFO: Processing buffer {"connection_id":152146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:24:13] local.INFO: IMEI packet received {"connection_id":152146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 19:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":152146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:24:14] local.INFO: TCP Data received {"connection_id":151744,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:24:14] local.INFO: Processing buffer {"connection_id":151744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:24:14] local.INFO: Packet analysis {"connection_id":151744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:24:14] local.INFO: Extracted packet for processing {"connection_id":151744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":21,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310583808001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786369769000,"timestamp_ms":1786369769000,"timestamp_seconds":1786369769,"priority":1,"record_length":96,"hex_timestamp":"0000019febef7e28"} 
[2026-08-10 19:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310583808001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310583808001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:24:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310583808001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":151744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:24:14] local.INFO: GPS data processed {"connection_id":151744,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:24:14] local.INFO: Acknowledgment sent {"connection_id":151744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:24:18] local.INFO: TCP Data received {"connection_id":152146,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:24:18] local.INFO: Processing buffer {"connection_id":152146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:24:18] local.INFO: IMEI packet received {"connection_id":152146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 19:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":152146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:24:19] local.INFO: TCP Data received {"connection_id":152146,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febf34300012d7e368005d34e780001005a29..."} 
[2026-08-10 19:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf34300012d7e368005d34e780001005a29..."} 
[2026-08-10 19:24:19] local.INFO: Processing buffer {"connection_id":152146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf34300012d7e368005d34e780001005a29..."} 
[2026-08-10 19:24:19] local.INFO: Packet analysis {"connection_id":152146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:24:19] local.INFO: Extracted packet for processing {"connection_id":152146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:24:19] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97734264,"longitude_deg":76.3246208,"latitude_deg":9.7734264,"altitude":1,"angle":90,"satellites":41,"speed":7,"hex_longitude":"2d7e3680","hex_latitude":"05d34e78","is_valid_coordinates":true} 
[2026-08-10 19:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310723840001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407045614829568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797089280,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786370016000,"timestamp_ms":1786370016000,"timestamp_seconds":1786370016,"priority":1,"record_length":96,"hex_timestamp":"0000019febf34300"} 
[2026-08-10 19:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":41,"n8_eight_byte":95,"data_length":795,"current_offset":136} 
[2026-08-10 19:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1258,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310723840001,"66":10591,"115":206,"85":15104,"24":7,"16":117407045614829568,"45":9094386153797089280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 19:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310723840001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:24:19] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 19:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 19:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117407045614829568,"km_value":117407045614829.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797089280,"description":"Unknown IO ID 45"} 
[2026-08-10 19:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310723840001,"power":10591,"unknown_115":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9094386153797089280}} 
[2026-08-10 19:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":152146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:24:19] local.INFO: GPS data processed {"connection_id":152146,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:24:19] local.INFO: Acknowledgment sent {"connection_id":152146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:24:22] local.INFO: TCP Data received {"connection_id":152146,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febf35688012d7e37c005d34eb00001011929..."} 
[2026-08-10 19:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf35688012d7e37c005d34eb00001011929..."} 
[2026-08-10 19:24:22] local.INFO: Processing buffer {"connection_id":152146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf35688012d7e37c005d34eb00001011929..."} 
[2026-08-10 19:24:22] local.INFO: Packet analysis {"connection_id":152146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:24:22] local.INFO: Extracted packet for processing {"connection_id":152146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:24:22] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734320,"longitude_deg":76.3246528,"latitude_deg":9.773432,"altitude":1,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34eb0","is_valid_coordinates":true} 
[2026-08-10 19:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310724096001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407062794698752,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029622272,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786370021000,"timestamp_ms":1786370021000,"timestamp_seconds":1786370021,"priority":1,"record_length":96,"hex_timestamp":"0000019febf35688"} 
[2026-08-10 19:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":95,"data_length":795,"current_offset":136} 
[2026-08-10 19:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1258,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310724096001,"66":10732,"115":206,"85":15104,"24":0,"16":117407062794698752,"45":9094597260029622272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 19:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310724096001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:24:22] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 19:24:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 19:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117407062794698752,"km_value":117407062794698.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029622272,"description":"Unknown IO ID 45"} 
[2026-08-10 19:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310724096001,"power":10732,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029622272}} 
[2026-08-10 19:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":152146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:24:22] local.INFO: GPS data processed {"connection_id":152146,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:24:22] local.INFO: Acknowledgment sent {"connection_id":152146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:24:23] local.INFO: TCP Data received {"connection_id":154501,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf28f50012d181e400721af30004800c724..."} 
[2026-08-10 19:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf28f50012d181e400721af30004800c724..."} 
[2026-08-10 19:24:23] local.INFO: Processing buffer {"connection_id":154501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf28f50012d181e400721af30004800c724..."} 
[2026-08-10 19:24:23] local.INFO: Packet analysis {"connection_id":154501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:24:23] local.INFO: Extracted packet for processing {"connection_id":154501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310706944001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585682432,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786369970000,"timestamp_ms":1786369970000,"timestamp_seconds":1786369970,"priority":1,"record_length":96,"hex_timestamp":"0000019febf28f50"} 
[2026-08-10 19:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:24: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-08-10 19:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 19:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310706944001,"66":12558,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585682432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310706944001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:24:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585682432,"description":"Unknown IO ID 45"} 
[2026-08-10 19:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310706944001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585682432}} 
[2026-08-10 19:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":154501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:24:23] local.INFO: GPS data processed {"connection_id":154501,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:24:23] local.INFO: Acknowledgment sent {"connection_id":154501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:24:41] local.INFO: TCP Data received {"connection_id":153070,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:24:41] local.INFO: Processing buffer {"connection_id":153070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:24:41] local.INFO: IMEI packet received {"connection_id":153070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":153070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:24:46] local.INFO: TCP Data received {"connection_id":153070,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:24:46] local.INFO: Processing buffer {"connection_id":153070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:24:46] local.INFO: IMEI packet received {"connection_id":153070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":153070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:24:47] local.INFO: TCP Data received {"connection_id":153070,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf2e158012d181e400721af30004800c723..."} 
[2026-08-10 19:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf2e158012d181e400721af30004800c723..."} 
[2026-08-10 19:24:47] local.INFO: Processing buffer {"connection_id":153070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf2e158012d181e400721af30004800c723..."} 
[2026-08-10 19:24:47] local.INFO: Packet analysis {"connection_id":153070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:24:47] local.INFO: Extracted packet for processing {"connection_id":153070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf2"} 
[2026-08-10 19:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":35,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310712320001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786369991000,"timestamp_ms":1786369991000,"timestamp_seconds":1786369991,"priority":1,"record_length":96,"hex_timestamp":"0000019febf2e158"} 
[2026-08-10 19:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":14,"data_length":795,"current_offset":136} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3958449160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713104,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4056422401,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2995781708,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465450,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-10 19:24:47] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,25,159,61,45,64,175,71,38,10,66,30,177,22,128,1,240,167,227,235,33,4,113,205,118,34,144,36,239,49,2,41,7,76,106,88,206],"length":575,"final_offset":705,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 19:24:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188365728163561472,"timestamp_seconds":5188365728163561.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310712320001,"66":12558,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585668096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310712320001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:24:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:24:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310712320001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-08-10 19:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":153070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:24:47] local.INFO: GPS data processed {"connection_id":153070,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:24:47] local.INFO: Acknowledgment sent {"connection_id":153070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:24:58] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:24:58] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:24:58] local.INFO: IMEI packet received {"connection_id":151745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":151745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:25:03] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:25:03] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:25:03] local.INFO: IMEI packet received {"connection_id":151745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":151745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:25:07] local.INFO: TCP Data received {"connection_id":151746,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:25:07] local.INFO: Processing buffer {"connection_id":151746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:25:07] local.INFO: IMEI packet received {"connection_id":151746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-10 19:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":151746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:25:09] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:25:09] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febef7e28012d34248006abc1900015007e26..."} 
[2026-08-10 19:25:09] local.INFO: Packet analysis {"connection_id":151745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:25:09] local.INFO: Extracted packet for processing {"connection_id":151745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febef"} 
[2026-08-10 19:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":21,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 19:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310583808001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786369769000,"timestamp_ms":1786369769000,"timestamp_seconds":1786369769,"priority":1,"record_length":96,"hex_timestamp":"0000019febef7e28"} 
[2026-08-10 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-08-10 19:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 19:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310583808001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310583808001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:25:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310583808001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":151745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:25:09] local.INFO: GPS data processed {"connection_id":151745,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:25:09] local.INFO: Acknowledgment sent {"connection_id":151745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:25:09] local.INFO: TCP Data received {"connection_id":151746,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:25:09] local.INFO: Processing buffer {"connection_id":151746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-10 19:25:09] local.INFO: IMEI packet received {"connection_id":151746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-10 19:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":151746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:25:10] local.INFO: TCP Data received {"connection_id":151746,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febf36240012d7e368005d34ed00000010a29..."} 
[2026-08-10 19:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf36240012d7e368005d34ed00000010a29..."} 
[2026-08-10 19:25:10] local.INFO: Processing buffer {"connection_id":151746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf36240012d7e368005d34ed00000010a29..."} 
[2026-08-10 19:25:10] local.INFO: Packet analysis {"connection_id":151746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:25:10] local.INFO: Extracted packet for processing {"connection_id":151746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97734352,"longitude_deg":76.3246208,"latitude_deg":9.7734352,"altitude":0,"angle":266,"satellites":41,"speed":3,"hex_longitude":"2d7e3680","hex_latitude":"05d34ed0","is_valid_coordinates":true} 
[2026-08-10 19:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310725376001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407075679600640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750524928,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786370024000,"timestamp_ms":1786370024000,"timestamp_seconds":1786370024,"priority":1,"record_length":96,"hex_timestamp":"0000019febf36240"} 
[2026-08-10 19:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-08-10 19:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2527,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:25: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-08-10 19:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310725376001,"66":10678,"115":206,"85":15104,"24":3,"16":117407075679600640,"45":9094949103750524928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 19:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310725376001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:25:10] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 19:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 19:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117407075679600640,"km_value":117407075679600.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750524928,"description":"Unknown IO ID 45"} 
[2026-08-10 19:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310725376001,"power":10678,"unknown_115":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9094949103750524928}} 
[2026-08-10 19:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":151746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:25:10] local.INFO: GPS data processed {"connection_id":151746,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:25:10] local.INFO: Acknowledgment sent {"connection_id":151746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:25:18] local.INFO: TCP Data received {"connection_id":153070,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf33360012d181e400721af30004800c724..."} 
[2026-08-10 19:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf33360012d181e400721af30004800c724..."} 
[2026-08-10 19:25:18] local.INFO: Processing buffer {"connection_id":153070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf33360012d181e400721af30004800c724..."} 
[2026-08-10 19:25:18] local.INFO: Packet analysis {"connection_id":153070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:25:18] local.INFO: Extracted packet for processing {"connection_id":153070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310717696001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786370012000,"timestamp_ms":1786370012000,"timestamp_seconds":1786370012,"priority":1,"record_length":96,"hex_timestamp":"0000019febf33360"} 
[2026-08-10 19:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3958470160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713104,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4061542401,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2985295943,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 19:25:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":402730264,"corrected_to":0} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718570,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,25,159,143,45,64,175,72,36,10,66,61,71,38,30,1,240,167,227,235,33,4,113,205,200,34,144,35,239,49,2,41,7,76,106,88,206],"length":575,"final_offset":705,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":402730264,"validated":0}]} 
[2026-08-10 19:25:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188365723868594176,"timestamp_seconds":5188365723868594.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310717696001,"66":12580,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585668096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310717696001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:25:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310717696001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-08-10 19:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":153070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:25:18] local.INFO: GPS data processed {"connection_id":153070,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:25:18] local.INFO: Acknowledgment sent {"connection_id":153070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:25:41] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:25:41] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:25:41] local.INFO: Packet analysis {"connection_id":151745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:25:41] local.INFO: Extracted packet for processing {"connection_id":151745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310660864001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786370070000,"timestamp_ms":1786370070000,"timestamp_seconds":1786370070,"priority":1,"record_length":96,"hex_timestamp":"0000019febf415f0"} 
[2026-08-10 19:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310660864001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310660864001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:25:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310660864001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":151745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:25:41] local.INFO: GPS data processed {"connection_id":151745,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:25:41] local.INFO: Acknowledgment sent {"connection_id":151745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:25:41] local.INFO: TCP Data received {"connection_id":151746,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019febf36df8012d7e35c005d34e90000000f729..."} 
[2026-08-10 19:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf36df8012d7e35c005d34e90000000f729..."} 
[2026-08-10 19:25:41] local.INFO: Processing buffer {"connection_id":151746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf36df8012d7e35c005d34e90000000f729..."} 
[2026-08-10 19:25:41] local.INFO: Packet analysis {"connection_id":151746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:25:41] local.INFO: Extracted packet for processing {"connection_id":151746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734288,"longitude_deg":76.3246016,"latitude_deg":9.7734288,"altitude":0,"angle":247,"satellites":41,"speed":3,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e90","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310726144001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407088564502528,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029644800,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786370027000,"timestamp_ms":1786370027000,"timestamp_seconds":1786370027,"priority":1,"record_length":96,"hex_timestamp":"0000019febf36df8"} 
[2026-08-10 19:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":41,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-10 19:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2041,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-10 19:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-10 19:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-10 19:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310726144001,"66":10276,"115":206,"85":15104,"24":3,"16":117407088564502528,"45":9094597260029644800},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-10 19:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-10 19:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-10 19:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310726144001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:25:41] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-10 19:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-10 19:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117407088564502528,"km_value":117407088564502.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029644800,"description":"Unknown IO ID 45"} 
[2026-08-10 19:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310726144001,"power":10276,"unknown_115":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9094597260029644800}} 
[2026-08-10 19:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":151746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:25:41] local.INFO: GPS data processed {"connection_id":151746,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:25:41] local.INFO: Acknowledgment sent {"connection_id":151746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:25:41] local.INFO: TCP Data received {"connection_id":151747,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:25:41] local.INFO: Processing buffer {"connection_id":151747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:25:41] local.INFO: IMEI packet received {"connection_id":151747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":151747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:25:47] local.INFO: TCP Data received {"connection_id":151747,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:25:47] local.INFO: Processing buffer {"connection_id":151747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:25:47] local.INFO: IMEI packet received {"connection_id":151747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":151747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:25:47] local.INFO: TCP Data received {"connection_id":151747,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf38568012d181e400721af30004800c725..."} 
[2026-08-10 19:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf38568012d181e400721af30004800c725..."} 
[2026-08-10 19:25:47] local.INFO: Processing buffer {"connection_id":151747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf38568012d181e400721af30004800c725..."} 
[2026-08-10 19:25:47] local.INFO: Packet analysis {"connection_id":151747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:25:47] local.INFO: Extracted packet for processing {"connection_id":151747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":37,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310723072001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370033000,"timestamp_ms":1786370033000,"timestamp_seconds":1786370033,"priority":1,"record_length":96,"hex_timestamp":"0000019febf38568"} 
[2026-08-10 19:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-10 19:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310723072001,"66":12504,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585668096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310723072001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:25:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310723072001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-08-10 19:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":151747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:25:47] local.INFO: GPS data processed {"connection_id":151747,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:25:47] local.INFO: Acknowledgment sent {"connection_id":151747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:25:58] local.INFO: TCP Data received {"connection_id":151748,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:25:58] local.INFO: Processing buffer {"connection_id":151748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:25:58] local.INFO: IMEI packet received {"connection_id":151748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":151748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:26:03] local.INFO: TCP Data received {"connection_id":151748,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:26:03] local.INFO: Processing buffer {"connection_id":151748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:26:03] local.INFO: IMEI packet received {"connection_id":151748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":151748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:26:04] local.INFO: TCP Data received {"connection_id":151748,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:26:04] local.INFO: Processing buffer {"connection_id":151748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:26:04] local.INFO: Packet analysis {"connection_id":151748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:26:04] local.INFO: Extracted packet for processing {"connection_id":151748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:26:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310660864001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370070000,"timestamp_ms":1786370070000,"timestamp_seconds":1786370070,"priority":1,"record_length":96,"hex_timestamp":"0000019febf415f0"} 
[2026-08-10 19:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310660864001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310660864001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:26:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:26:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310660864001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":151748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:26:04] local.INFO: GPS data processed {"connection_id":151748,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:26:04] local.INFO: Acknowledgment sent {"connection_id":151748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:26:18] local.INFO: TCP Data received {"connection_id":151747,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf3d770012d181e400721af30004800c724..."} 
[2026-08-10 19:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf3d770012d181e400721af30004800c724..."} 
[2026-08-10 19:26:18] local.INFO: Processing buffer {"connection_id":151747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf3d770012d181e400721af30004800c724..."} 
[2026-08-10 19:26:18] local.INFO: Packet analysis {"connection_id":151747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:26:18] local.INFO: Extracted packet for processing {"connection_id":151747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf3"} 
[2026-08-10 19:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310728448001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786370054000,"timestamp_ms":1786370054000,"timestamp_seconds":1786370054,"priority":1,"record_length":96,"hex_timestamp":"0000019febf3d770"} 
[2026-08-10 19:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 19:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310728448001,"66":12515,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585668096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310728448001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:26:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310728448001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-08-10 19:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":151747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:26:18] local.INFO: GPS data processed {"connection_id":151747,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:26:18] local.INFO: Acknowledgment sent {"connection_id":151747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:26:35] local.INFO: TCP Data received {"connection_id":151748,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:26:35] local.INFO: Processing buffer {"connection_id":151748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:26:35] local.INFO: Packet analysis {"connection_id":151748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:26:35] local.INFO: Extracted packet for processing {"connection_id":151748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310660864001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786370070000,"timestamp_ms":1786370070000,"timestamp_seconds":1786370070,"priority":1,"record_length":96,"hex_timestamp":"0000019febf415f0"} 
[2026-08-10 19:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310660864001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310660864001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:26:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310660864001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":151748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:26:35] local.INFO: GPS data processed {"connection_id":151748,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:26:35] local.INFO: Acknowledgment sent {"connection_id":151748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:26:41] local.INFO: TCP Data received {"connection_id":154503,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:26:41] local.INFO: Processing buffer {"connection_id":154503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:26:41] local.INFO: IMEI packet received {"connection_id":154503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":154503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:26:46] local.INFO: TCP Data received {"connection_id":154503,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:26:46] local.INFO: Processing buffer {"connection_id":154503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:26:46] local.INFO: IMEI packet received {"connection_id":154503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":154503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:26:47] local.INFO: TCP Data received {"connection_id":154503,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf42978012d181e400721af30004800c723..."} 
[2026-08-10 19:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf42978012d181e400721af30004800c723..."} 
[2026-08-10 19:26:47] local.INFO: Processing buffer {"connection_id":154503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf42978012d181e400721af30004800c723..."} 
[2026-08-10 19:26:47] local.INFO: Packet analysis {"connection_id":154503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:26:47] local.INFO: Extracted packet for processing {"connection_id":154503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":35,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310733824001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370075000,"timestamp_ms":1786370075000,"timestamp_seconds":1786370075,"priority":1,"record_length":96,"hex_timestamp":"0000019febf42978"} 
[2026-08-10 19:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-10 19:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310733824001,"66":12504,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585668096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310733824001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:26:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:26:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310733824001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-08-10 19:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":154503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:26:47] local.INFO: GPS data processed {"connection_id":154503,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:26:47] local.INFO: Acknowledgment sent {"connection_id":154503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:26:58] local.INFO: TCP Data received {"connection_id":152147,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:26:58] local.INFO: Processing buffer {"connection_id":152147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:26:58] local.INFO: IMEI packet received {"connection_id":152147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":152147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:27:03] local.INFO: TCP Data received {"connection_id":152147,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:27:03] local.INFO: Processing buffer {"connection_id":152147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:27:03] local.INFO: IMEI packet received {"connection_id":152147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":152147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:27:04] local.INFO: TCP Data received {"connection_id":152147,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:27:04] local.INFO: Processing buffer {"connection_id":152147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:27:04] local.INFO: Packet analysis {"connection_id":152147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:27:04] local.INFO: Extracted packet for processing {"connection_id":152147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310660864001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370070000,"timestamp_ms":1786370070000,"timestamp_seconds":1786370070,"priority":1,"record_length":96,"hex_timestamp":"0000019febf415f0"} 
[2026-08-10 19:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310660864001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310660864001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:27:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310660864001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":152147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:27:04] local.INFO: GPS data processed {"connection_id":152147,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:27:04] local.INFO: Acknowledgment sent {"connection_id":152147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:27:19] local.INFO: TCP Data received {"connection_id":154503,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf47b80012d181e400721af30004800c722..."} 
[2026-08-10 19:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf47b80012d181e400721af30004800c722..."} 
[2026-08-10 19:27:19] local.INFO: Processing buffer {"connection_id":154503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf47b80012d181e400721af30004800c722..."} 
[2026-08-10 19:27:19] local.INFO: Packet analysis {"connection_id":154503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:27:19] local.INFO: Extracted packet for processing {"connection_id":154503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":34,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310739200001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786370096000,"timestamp_ms":1786370096000,"timestamp_seconds":1786370096,"priority":1,"record_length":96,"hex_timestamp":"0000019febf47b80"} 
[2026-08-10 19:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 19:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310739200001,"66":12504,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585668096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310739200001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:27:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:27:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310739200001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-08-10 19:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":154503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:27:19] local.INFO: GPS data processed {"connection_id":154503,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:27:19] local.INFO: Acknowledgment sent {"connection_id":154503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:27:35] local.INFO: TCP Data received {"connection_id":152147,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:27:35] local.INFO: Processing buffer {"connection_id":152147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:27:35] local.INFO: Packet analysis {"connection_id":152147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:27:35] local.INFO: Extracted packet for processing {"connection_id":152147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310660864001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786370070000,"timestamp_ms":1786370070000,"timestamp_seconds":1786370070,"priority":1,"record_length":96,"hex_timestamp":"0000019febf415f0"} 
[2026-08-10 19:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310660864001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310660864001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:27:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310660864001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":152147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:27:35] local.INFO: GPS data processed {"connection_id":152147,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:27:35] local.INFO: Acknowledgment sent {"connection_id":152147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:27:40] local.INFO: TCP Data received {"connection_id":152148,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:27:40] local.INFO: Processing buffer {"connection_id":152148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:27:40] local.INFO: IMEI packet received {"connection_id":152148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":152148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:27:41] local.INFO: TCP Data received {"connection_id":152148,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:27:41] local.INFO: Processing buffer {"connection_id":152148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:27:41] local.INFO: IMEI packet received {"connection_id":152148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":152148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:27:46] local.INFO: TCP Data received {"connection_id":152148,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:27:46] local.INFO: Processing buffer {"connection_id":152148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:27:46] local.INFO: IMEI packet received {"connection_id":152148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":152148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:27:47] local.INFO: TCP Data received {"connection_id":152148,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf4cd88012d181e400721af30004800c725..."} 
[2026-08-10 19:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf4cd88012d181e400721af30004800c725..."} 
[2026-08-10 19:27:47] local.INFO: Processing buffer {"connection_id":152148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf4cd88012d181e400721af30004800c725..."} 
[2026-08-10 19:27:47] local.INFO: Packet analysis {"connection_id":152148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:27:47] local.INFO: Extracted packet for processing {"connection_id":152148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":37,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310744576001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370117000,"timestamp_ms":1786370117000,"timestamp_seconds":1786370117,"priority":1,"record_length":96,"hex_timestamp":"0000019febf4cd88"} 
[2026-08-10 19:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":216,"data_length":795,"current_offset":136} 
[2026-08-10 19:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310744576001,"66":12461,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585668096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310744576001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:27:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310744576001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-08-10 19:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":152148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:27:47] local.INFO: GPS data processed {"connection_id":152148,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:27:47] local.INFO: Acknowledgment sent {"connection_id":152148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:28:03] local.INFO: TCP Data received {"connection_id":153071,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:28:03] local.INFO: Processing buffer {"connection_id":153071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:28:03] local.INFO: IMEI packet received {"connection_id":153071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":153071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:28:08] local.INFO: TCP Data received {"connection_id":153071,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:28:08] local.INFO: Processing buffer {"connection_id":153071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:28:08] local.INFO: IMEI packet received {"connection_id":153071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":153071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:28:09] local.INFO: TCP Data received {"connection_id":153071,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:28:09] local.INFO: Processing buffer {"connection_id":153071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:28:09] local.INFO: Packet analysis {"connection_id":153071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:28:09] local.INFO: Extracted packet for processing {"connection_id":153071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310660864001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786370070000,"timestamp_ms":1786370070000,"timestamp_seconds":1786370070,"priority":1,"record_length":96,"hex_timestamp":"0000019febf415f0"} 
[2026-08-10 19:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310660864001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310660864001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:28:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310660864001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":153071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:28:09] local.INFO: GPS data processed {"connection_id":153071,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:28:09] local.INFO: Acknowledgment sent {"connection_id":153071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:28:14] local.INFO: TCP Data received {"connection_id":153071,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:28:14] local.INFO: Processing buffer {"connection_id":153071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:28:14] local.INFO: Packet analysis {"connection_id":153071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:28:14] local.INFO: Extracted packet for processing {"connection_id":153071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310660864001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786370070000,"timestamp_ms":1786370070000,"timestamp_seconds":1786370070,"priority":1,"record_length":96,"hex_timestamp":"0000019febf415f0"} 
[2026-08-10 19:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310660864001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310660864001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:28:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310660864001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":153071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:28:14] local.INFO: GPS data processed {"connection_id":153071,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:28:14] local.INFO: Acknowledgment sent {"connection_id":153071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:28:18] local.INFO: TCP Data received {"connection_id":152148,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf51f90012d181e400721af30004800c724..."} 
[2026-08-10 19:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf51f90012d181e400721af30004800c724..."} 
[2026-08-10 19:28:18] local.INFO: Processing buffer {"connection_id":152148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf51f90012d181e400721af30004800c724..."} 
[2026-08-10 19:28:18] local.INFO: Packet analysis {"connection_id":152148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf5"} 
[2026-08-10 19:28:18] local.INFO: Extracted packet for processing {"connection_id":152148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf5"} 
[2026-08-10 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310749952001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786370138000,"timestamp_ms":1786370138000,"timestamp_seconds":1786370138,"priority":1,"record_length":96,"hex_timestamp":"0000019febf51f90"} 
[2026-08-10 19:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 19:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310749952001,"66":12461,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585668096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310749952001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:28:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310749952001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-08-10 19:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":152148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:28:18] local.INFO: GPS data processed {"connection_id":152148,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:28:18] local.INFO: Acknowledgment sent {"connection_id":152148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:28:42] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:28:42] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:28:42] local.INFO: IMEI packet received {"connection_id":151749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":151749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:28:42] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:28:42] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:28:42] local.INFO: IMEI packet received {"connection_id":151749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":151749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:28:46] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:28:46] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:28:46] local.INFO: IMEI packet received {"connection_id":151749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":151749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:28:47] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf57198012d181e400721af30004800c723..."} 
[2026-08-10 19:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf57198012d181e400721af30004800c723..."} 
[2026-08-10 19:28:47] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf57198012d181e400721af30004800c723..."} 
[2026-08-10 19:28:47] local.INFO: Packet analysis {"connection_id":151749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf5"} 
[2026-08-10 19:28:47] local.INFO: Extracted packet for processing {"connection_id":151749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf5"} 
[2026-08-10 19:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":35,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310755328001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370159000,"timestamp_ms":1786370159000,"timestamp_seconds":1786370159,"priority":1,"record_length":96,"hex_timestamp":"0000019febf57198"} 
[2026-08-10 19:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 19:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310755328001,"66":12461,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585668096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310755328001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:28:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310755328001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-08-10 19:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":151749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:28:47] local.INFO: GPS data processed {"connection_id":151749,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:28:47] local.INFO: Acknowledgment sent {"connection_id":151749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:29:00] local.INFO: TCP Data received {"connection_id":153072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:29:00] local.INFO: Processing buffer {"connection_id":153072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:29:00] local.INFO: IMEI packet received {"connection_id":153072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":153072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:29:03] local.INFO: TCP Data received {"connection_id":153072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:29:03] local.INFO: Processing buffer {"connection_id":153072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:29:03] local.INFO: IMEI packet received {"connection_id":153072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":153072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:29:04] local.INFO: TCP Data received {"connection_id":153072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:29:04] local.INFO: Processing buffer {"connection_id":153072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:29:04] local.INFO: Packet analysis {"connection_id":153072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:29:04] local.INFO: Extracted packet for processing {"connection_id":153072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310660864001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370070000,"timestamp_ms":1786370070000,"timestamp_seconds":1786370070,"priority":1,"record_length":96,"hex_timestamp":"0000019febf415f0"} 
[2026-08-10 19:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310660864001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310660864001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:29:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310660864001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":153072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:29:04] local.INFO: GPS data processed {"connection_id":153072,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:29:04] local.INFO: Acknowledgment sent {"connection_id":153072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:29:09] local.INFO: TCP Data received {"connection_id":153072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:29:09] local.INFO: Processing buffer {"connection_id":153072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:29:09] local.INFO: Packet analysis {"connection_id":153072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:29:09] local.INFO: Extracted packet for processing {"connection_id":153072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 19:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310660864001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786370070000,"timestamp_ms":1786370070000,"timestamp_seconds":1786370070,"priority":1,"record_length":96,"hex_timestamp":"0000019febf415f0"} 
[2026-08-10 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-08-10 19:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 19:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310660864001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310660864001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:29:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310660864001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":153072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:29:09] local.INFO: GPS data processed {"connection_id":153072,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:29:09] local.INFO: Acknowledgment sent {"connection_id":153072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:29:18] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf5c3a0012d181e400721af30004800c724..."} 
[2026-08-10 19:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf5c3a0012d181e400721af30004800c724..."} 
[2026-08-10 19:29:18] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf5c3a0012d181e400721af30004800c724..."} 
[2026-08-10 19:29:18] local.INFO: Packet analysis {"connection_id":151749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf5"} 
[2026-08-10 19:29:18] local.INFO: Extracted packet for processing {"connection_id":151749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf5"} 
[2026-08-10 19:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310760704001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786370180000,"timestamp_ms":1786370180000,"timestamp_seconds":1786370180,"priority":1,"record_length":96,"hex_timestamp":"0000019febf5c3a0"} 
[2026-08-10 19:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-10 19:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310760704001,"66":12504,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585668096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310760704001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:29:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310760704001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-08-10 19:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":151749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:29:18] local.INFO: GPS data processed {"connection_id":151749,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:29:18] local.INFO: Acknowledgment sent {"connection_id":151749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:29:40] local.INFO: TCP Data received {"connection_id":153072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:29:40] local.INFO: Processing buffer {"connection_id":153072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:29:40] local.INFO: Packet analysis {"connection_id":153072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:29:40] local.INFO: Extracted packet for processing {"connection_id":153072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310660864001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786370070000,"timestamp_ms":1786370070000,"timestamp_seconds":1786370070,"priority":1,"record_length":96,"hex_timestamp":"0000019febf415f0"} 
[2026-08-10 19:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:29: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-08-10 19:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310660864001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310660864001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:29:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:29:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310660864001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":153072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:29:40] local.INFO: GPS data processed {"connection_id":153072,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:29:40] local.INFO: Acknowledgment sent {"connection_id":153072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:29:41] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:29:41] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:29:41] local.INFO: IMEI packet received {"connection_id":151750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":151750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:29:45] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:29:45] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:29:45] local.INFO: IMEI packet received {"connection_id":151750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":151750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:29:46] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:29:46] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:29:46] local.INFO: IMEI packet received {"connection_id":151750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":151750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:29:47] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf615a8012d181e400721af30004800c723..."} 
[2026-08-10 19:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf615a8012d181e400721af30004800c723..."} 
[2026-08-10 19:29:47] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf615a8012d181e400721af30004800c723..."} 
[2026-08-10 19:29:47] local.INFO: Packet analysis {"connection_id":151750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf6"} 
[2026-08-10 19:29:47] local.INFO: Extracted packet for processing {"connection_id":151750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf6"} 
[2026-08-10 19:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":35,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310766080001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370201000,"timestamp_ms":1786370201000,"timestamp_seconds":1786370201,"priority":1,"record_length":96,"hex_timestamp":"0000019febf615a8"} 
[2026-08-10 19:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 19:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310766080001,"66":12504,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585668096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310766080001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:29:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310766080001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-08-10 19:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":151750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:29:47] local.INFO: GPS data processed {"connection_id":151750,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:29:47] local.INFO: Acknowledgment sent {"connection_id":151750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:29:48] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf667b0012d181e400721af30004800c724..."} 
[2026-08-10 19:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf667b0012d181e400721af30004800c724..."} 
[2026-08-10 19:29:48] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf667b0012d181e400721af30004800c724..."} 
[2026-08-10 19:29:48] local.INFO: Packet analysis {"connection_id":151750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf6"} 
[2026-08-10 19:29:48] local.INFO: Extracted packet for processing {"connection_id":151750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf6"} 
[2026-08-10 19:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":72,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-10 19:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310771456001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11568288253345792,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786370222000,"timestamp_ms":1786370222000,"timestamp_seconds":1786370222,"priority":1,"record_length":96,"hex_timestamp":"0000019febf667b0"} 
[2026-08-10 19:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:29: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-08-10 19:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-10 19:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310771456001,"66":11254,"105":206,"83":41984,"24":0,"16":11568288253345792,"45":1737896905585668096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310771456001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:29:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:29:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11568288253345792,"km_value":11568288253345.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-08-10 19:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310771456001,"power":11254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-08-10 19:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":151750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:29:48] local.INFO: GPS data processed {"connection_id":151750,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:29:48] local.INFO: Acknowledgment sent {"connection_id":151750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:29:58] local.INFO: TCP Data received {"connection_id":154504,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:29:58] local.INFO: Processing buffer {"connection_id":154504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:29:58] local.INFO: IMEI packet received {"connection_id":154504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":154504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:30:03] local.INFO: TCP Data received {"connection_id":154504,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:30:03] local.INFO: Processing buffer {"connection_id":154504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:30:03] local.INFO: IMEI packet received {"connection_id":154504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":154504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:30:04] local.INFO: TCP Data received {"connection_id":154504,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:30:04] local.INFO: Processing buffer {"connection_id":154504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf415f0012d34248006abc190001c007e21..."} 
[2026-08-10 19:30:04] local.INFO: Packet analysis {"connection_id":154504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:30:04] local.INFO: Extracted packet for processing {"connection_id":154504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf4"} 
[2026-08-10 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":28,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310660864001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370070000,"timestamp_ms":1786370070000,"timestamp_seconds":1786370070,"priority":1,"record_length":96,"hex_timestamp":"0000019febf415f0"} 
[2026-08-10 19:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310660864001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310660864001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:30:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310660864001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":154504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:30:04] local.INFO: GPS data processed {"connection_id":154504,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:30:04] local.INFO: Acknowledgment sent {"connection_id":154504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:30:19] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf89648012d18b340072169d00049009120..."} 
[2026-08-10 19:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf89648012d18b340072169d00049009120..."} 
[2026-08-10 19:30:19] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf89648012d18b340072169d00049009120..."} 
[2026-08-10 19:30:19] local.INFO: Packet analysis {"connection_id":151750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:30:19] local.INFO: Extracted packet for processing {"connection_id":151750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756593472,"raw_latitude":119630288,"longitude_deg":75.6593472,"latitude_deg":11.9630288,"altitude":73,"angle":145,"satellites":32,"speed":43,"hex_longitude":"2d18b340","hex_latitude":"072169d0","is_valid_coordinates":true} 
[2026-08-10 19:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310812928001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11570414262157312,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778358933483708416,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786370365000,"timestamp_ms":1786370365000,"timestamp_seconds":1786370365,"priority":1,"record_length":96,"hex_timestamp":"0000019febf89648"} 
[2026-08-10 19:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-10 19:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310812928001,"66":12558,"106":206,"83":41984,"24":43,"16":11570414262157312,"45":1778358933483708416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310812928001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:30:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11570414262157312,"km_value":11570414262157.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778358933483708416,"description":"Unknown IO ID 45"} 
[2026-08-10 19:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310812928001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1778358933483708416}} 
[2026-08-10 19:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":151750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:30:19] local.INFO: GPS data processed {"connection_id":151750,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:30:19] local.INFO: Acknowledgment sent {"connection_id":151750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:30:35] local.INFO: TCP Data received {"connection_id":154504,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:30:35] local.INFO: Processing buffer {"connection_id":154504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:30:35] local.INFO: Packet analysis {"connection_id":154504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:30:35] local.INFO: Extracted packet for processing {"connection_id":154504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":36,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310737920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786370371000,"timestamp_ms":1786370371000,"timestamp_seconds":1786370371,"priority":1,"record_length":96,"hex_timestamp":"0000019febf8adb8"} 
[2026-08-10 19:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310737920001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310737920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:30:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310737920001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":154504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:30:35] local.INFO: GPS data processed {"connection_id":154504,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:30:35] local.INFO: Acknowledgment sent {"connection_id":154504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:30:41] local.INFO: TCP Data received {"connection_id":152149,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:30:41] local.INFO: Processing buffer {"connection_id":152149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:30:41] local.INFO: IMEI packet received {"connection_id":152149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":152149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:30:46] local.INFO: TCP Data received {"connection_id":152149,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:30:46] local.INFO: Processing buffer {"connection_id":152149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:30:46] local.INFO: IMEI packet received {"connection_id":152149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":152149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:30:46] local.INFO: TCP Data received {"connection_id":152149,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:30:46] local.INFO: Processing buffer {"connection_id":152149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:30:46] local.INFO: IMEI packet received {"connection_id":152149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":152149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:30:47] local.INFO: TCP Data received {"connection_id":152149,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf8b1a0012d18c40007215008004500a320..."} 
[2026-08-10 19:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf8b1a0012d18c40007215008004500a320..."} 
[2026-08-10 19:30:47] local.INFO: Processing buffer {"connection_id":152149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf8b1a0012d18c40007215008004500a320..."} 
[2026-08-10 19:30:47] local.INFO: Packet analysis {"connection_id":152149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:30:47] local.INFO: Extracted packet for processing {"connection_id":152149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119623688,"longitude_deg":75.659776,"latitude_deg":11.9623688,"altitude":69,"angle":163,"satellites":32,"speed":44,"hex_longitude":"2d18c400","hex_latitude":"07215008","is_valid_coordinates":true} 
[2026-08-10 19:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310813440001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11570796514246656,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779836677111009280,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370372000,"timestamp_ms":1786370372000,"timestamp_seconds":1786370372,"priority":1,"record_length":96,"hex_timestamp":"0000019febf8b1a0"} 
[2026-08-10 19:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3958912160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2180513867,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692802,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249398808313960920,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4166246401,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862826,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":38,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409223170,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,27,159,142,45,112,75,32,10,66,115,64,124,33,26,103,1,240,220,227,235,4,113,205,43,76,239,48,2,41,7,77,38,88,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-10 19:30:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260363931396538368,"timestamp_seconds":5260363931396538.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310813440001,"66":13559,"106":206,"83":41984,"24":44,"16":11570796514246656,"45":1779836677111009280},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310813440001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:30:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11570796514246656,"km_value":11570796514246.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779836677111009280,"description":"Unknown IO ID 45"} 
[2026-08-10 19:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310813440001,"power":13559,"unknown_106":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1779836677111009280}} 
[2026-08-10 19:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":152149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:30:47] local.INFO: GPS data processed {"connection_id":152149,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:30:47] local.INFO: Acknowledgment sent {"connection_id":152149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:30:48] local.INFO: TCP Data received {"connection_id":152149,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf8c910012d18ca40072137900041009423..."} 
[2026-08-10 19:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf8c910012d18ca40072137900041009423..."} 
[2026-08-10 19:30:48] local.INFO: Processing buffer {"connection_id":152149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf8c910012d18ca40072137900041009423..."} 
[2026-08-10 19:30:48] local.INFO: Packet analysis {"connection_id":152149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:30:48] local.INFO: Extracted packet for processing {"connection_id":152149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:30:48] local.INFO: GPS Element Parsed {"raw_longitude":756599360,"raw_latitude":119617424,"longitude_deg":75.659936,"latitude_deg":11.9617424,"altitude":65,"angle":148,"satellites":35,"speed":42,"hex_longitude":"2d18ca40","hex_latitude":"07213790","is_valid_coordinates":true} 
[2026-08-10 19:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310815232001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11571110046859264,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382969223168,"note":"Value kept but may cause issues"} 
[2026-08-10 19:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786370378000,"timestamp_ms":1786370378000,"timestamp_seconds":1786370378,"priority":1,"record_length":96,"hex_timestamp":"0000019febf8c910"} 
[2026-08-10 19:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:30: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-08-10 19:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 19:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310815232001,"66":13526,"106":206,"83":41984,"24":42,"16":11571110046859264,"45":1784551382969223168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310815232001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:30:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:30:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11571110046859264,"km_value":11571110046859.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382969223168,"description":"Unknown IO ID 45"} 
[2026-08-10 19:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310815232001,"power":13526,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1784551382969223168}} 
[2026-08-10 19:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":152149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:30:48] local.INFO: GPS data processed {"connection_id":152149,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:30:48] local.INFO: Acknowledgment sent {"connection_id":152149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:30:58] local.INFO: TCP Data received {"connection_id":153073,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:30:58] local.INFO: Processing buffer {"connection_id":153073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:30:58] local.INFO: IMEI packet received {"connection_id":153073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":153073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:31:03] local.INFO: TCP Data received {"connection_id":153073,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:31:03] local.INFO: Processing buffer {"connection_id":153073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:31:03] local.INFO: IMEI packet received {"connection_id":153073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":153073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:31:08] local.INFO: TCP Data received {"connection_id":153073,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:31:08] local.INFO: Processing buffer {"connection_id":153073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:31:08] local.INFO: Packet analysis {"connection_id":153073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:31:08] local.INFO: Extracted packet for processing {"connection_id":153073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":36,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310737920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786370371000,"timestamp_ms":1786370371000,"timestamp_seconds":1786370371,"priority":1,"record_length":96,"hex_timestamp":"0000019febf8adb8"} 
[2026-08-10 19:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310737920001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310737920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:31:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310737920001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":153073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:31:08] local.INFO: GPS data processed {"connection_id":153073,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:31:08] local.INFO: Acknowledgment sent {"connection_id":153073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:31:19] local.INFO: TCP Data received {"connection_id":152149,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf95998012d18f140072123b8003b000320..."} 
[2026-08-10 19:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf95998012d18f140072123b8003b000320..."} 
[2026-08-10 19:31:19] local.INFO: Processing buffer {"connection_id":152149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf95998012d18f140072123b8003b000320..."} 
[2026-08-10 19:31:19] local.INFO: Packet analysis {"connection_id":152149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf9"} 
[2026-08-10 19:31:19] local.INFO: Extracted packet for processing {"connection_id":152149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf9"} 
[2026-08-10 19:31:19] local.INFO: GPS Element Parsed {"raw_longitude":756609344,"raw_latitude":119612344,"longitude_deg":75.6609344,"latitude_deg":11.9612344,"altitude":59,"angle":3,"satellites":32,"speed":17,"hex_longitude":"2d18f140","hex_latitude":"072123b8","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310824960001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11571956155416576,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797006650685282304,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786370415000,"timestamp_ms":1786370415000,"timestamp_seconds":1786370415,"priority":1,"record_length":96,"hex_timestamp":"0000019febf95998"} 
[2026-08-10 19:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-10 19:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310824960001,"66":13135,"106":206,"83":41984,"24":17,"16":11571956155416576,"45":1797006650685282304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310824960001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:31:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:31:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11571956155416576,"km_value":11571956155416.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797006650685282304,"description":"Unknown IO ID 45"} 
[2026-08-10 19:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310824960001,"power":13135,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1797006650685282304}} 
[2026-08-10 19:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":152149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:31:19] local.INFO: GPS data processed {"connection_id":152149,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:31:19] local.INFO: Acknowledgment sent {"connection_id":152149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:31:39] local.INFO: TCP Data received {"connection_id":153073,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:31:39] local.INFO: Processing buffer {"connection_id":153073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:31:39] local.INFO: Packet analysis {"connection_id":153073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:31:39] local.INFO: Extracted packet for processing {"connection_id":153073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":36,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310737920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786370371000,"timestamp_ms":1786370371000,"timestamp_seconds":1786370371,"priority":1,"record_length":96,"hex_timestamp":"0000019febf8adb8"} 
[2026-08-10 19:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310737920001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310737920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:31:39] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:31:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310737920001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":153073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:31:39] local.INFO: GPS data processed {"connection_id":153073,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:31:39] local.INFO: Acknowledgment sent {"connection_id":153073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:31:46] local.INFO: TCP Data received {"connection_id":154505,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:31:46] local.INFO: Processing buffer {"connection_id":154505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:31:46] local.INFO: IMEI packet received {"connection_id":154505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":154505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:31:51] local.INFO: TCP Data received {"connection_id":154505,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:31:51] local.INFO: Processing buffer {"connection_id":154505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:31:51] local.INFO: IMEI packet received {"connection_id":154505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":154505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:31:52] local.INFO: TCP Data received {"connection_id":154505,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf96550012d18f24007212910003b000e21..."} 
[2026-08-10 19:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf96550012d18f24007212910003b000e21..."} 
[2026-08-10 19:31:52] local.INFO: Processing buffer {"connection_id":154505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf96550012d18f24007212910003b000e21..."} 
[2026-08-10 19:31:52] local.INFO: Packet analysis {"connection_id":154505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf9"} 
[2026-08-10 19:31:52] local.INFO: Extracted packet for processing {"connection_id":154505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf9"} 
[2026-08-10 19:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756609600,"raw_latitude":119613712,"longitude_deg":75.66096,"latitude_deg":11.9613712,"altitude":59,"angle":14,"satellites":33,"speed":15,"hex_longitude":"2d18f240","hex_latitude":"07212910","is_valid_coordinates":true} 
[2026-08-10 19:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310826240001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11572024874893312,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797288125662476288,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786370418000,"timestamp_ms":1786370418000,"timestamp_seconds":1786370418,"priority":1,"record_length":96,"hex_timestamp":"0000019febf96550"} 
[2026-08-10 19:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-10 19:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310826240001,"66":13135,"106":206,"83":41984,"24":15,"16":11572024874893312,"45":1797288125662476288},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310826240001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:31:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:31:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11572024874893312,"km_value":11572024874893.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797288125662476288,"description":"Unknown IO ID 45"} 
[2026-08-10 19:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310826240001,"power":13135,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1797288125662476288}} 
[2026-08-10 19:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":154505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:31:52] local.INFO: GPS data processed {"connection_id":154505,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:31:52] local.INFO: Acknowledgment sent {"connection_id":154505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:31:55] local.INFO: TCP Data received {"connection_id":154505,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf9b758012d18f34007212bf0003d001522..."} 
[2026-08-10 19:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf9b758012d18f34007212bf0003d001522..."} 
[2026-08-10 19:31:55] local.INFO: Processing buffer {"connection_id":154505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf9b758012d18f34007212bf0003d001522..."} 
[2026-08-10 19:31:55] local.INFO: Packet analysis {"connection_id":154505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf9"} 
[2026-08-10 19:31:55] local.INFO: Extracted packet for processing {"connection_id":154505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf9"} 
[2026-08-10 19:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756609856,"raw_latitude":119614448,"longitude_deg":75.6609856,"latitude_deg":11.9614448,"altitude":61,"angle":21,"satellites":34,"speed":0,"hex_longitude":"2d18f340","hex_latitude":"07212bf0","is_valid_coordinates":true} 
[2026-08-10 19:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310827008001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11572072119533568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797569600639537152,"note":"Value kept but may cause issues"} 
[2026-08-10 19:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786370439000,"timestamp_ms":1786370439000,"timestamp_seconds":1786370439,"priority":1,"record_length":96,"hex_timestamp":"0000019febf9b758"} 
[2026-08-10 19:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-10 19:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":154505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":154505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":154505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310827008001,"66":13602,"106":206,"83":41984,"24":0,"16":11572072119533568,"45":1797569600639537152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310827008001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:31:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11572072119533568,"km_value":11572072119533.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797569600639537152,"description":"Unknown IO ID 45"} 
[2026-08-10 19:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310827008001,"power":13602,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1797569600639537152}} 
[2026-08-10 19:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":154505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:31:55] local.INFO: GPS data processed {"connection_id":154505,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:31:55] local.INFO: Acknowledgment sent {"connection_id":154505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:31:58] local.INFO: TCP Data received {"connection_id":152150,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:31:58] local.INFO: Processing buffer {"connection_id":152150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:31:58] local.INFO: IMEI packet received {"connection_id":152150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":152150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:32:03] local.INFO: TCP Data received {"connection_id":152150,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:32:03] local.INFO: Processing buffer {"connection_id":152150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:32:03] local.INFO: IMEI packet received {"connection_id":152150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":152150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:32:04] local.INFO: TCP Data received {"connection_id":152150,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:32:04] local.INFO: Processing buffer {"connection_id":152150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:32:04] local.INFO: Packet analysis {"connection_id":152150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:32:04] local.INFO: Extracted packet for processing {"connection_id":152150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":36,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 19:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310737920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370371000,"timestamp_ms":1786370371000,"timestamp_seconds":1786370371,"priority":1,"record_length":96,"hex_timestamp":"0000019febf8adb8"} 
[2026-08-10 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-08-10 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 19:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310737920001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310737920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:32:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310737920001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":152150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:32:04] local.INFO: GPS data processed {"connection_id":152150,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:32:04] local.INFO: Acknowledgment sent {"connection_id":152150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:32:26] local.INFO: TCP Data received {"connection_id":154505,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febfa0960012d18f40007212db8003d001322..."} 
[2026-08-10 19:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfa0960012d18f40007212db8003d001322..."} 
[2026-08-10 19:32:26] local.INFO: Processing buffer {"connection_id":154505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfa0960012d18f40007212db8003d001322..."} 
[2026-08-10 19:32:26] local.INFO: Packet analysis {"connection_id":154505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfa"} 
[2026-08-10 19:32:26] local.INFO: Extracted packet for processing {"connection_id":154505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfa"} 
[2026-08-10 19:32:26] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119614904,"longitude_deg":75.6610048,"latitude_deg":11.9614904,"altitude":61,"angle":19,"satellites":34,"speed":8,"hex_longitude":"2d18f400","hex_latitude":"07212db8","is_valid_coordinates":true} 
[2026-08-10 19:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310832384001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11572093594370048,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797851075616436224,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786370460000,"timestamp_ms":1786370460000,"timestamp_seconds":1786370460,"priority":1,"record_length":96,"hex_timestamp":"0000019febfa0960"} 
[2026-08-10 19:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-10 19:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310832384001,"66":13493,"106":206,"83":41984,"24":8,"16":11572093594370048,"45":1797851075616436224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310832384001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:32:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:32:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11572093594370048,"km_value":11572093594370.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797851075616436224,"description":"Unknown IO ID 45"} 
[2026-08-10 19:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310832384001,"power":13493,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1797851075616436224}} 
[2026-08-10 19:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":154505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:32:26] local.INFO: GPS data processed {"connection_id":154505,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:32:26] local.INFO: Acknowledgment sent {"connection_id":154505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:32:35] local.INFO: TCP Data received {"connection_id":152150,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:32:35] local.INFO: Processing buffer {"connection_id":152150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:32:35] local.INFO: Packet analysis {"connection_id":152150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:32:35] local.INFO: Extracted packet for processing {"connection_id":152150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":36,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 19:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310737920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786370371000,"timestamp_ms":1786370371000,"timestamp_seconds":1786370371,"priority":1,"record_length":96,"hex_timestamp":"0000019febf8adb8"} 
[2026-08-10 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-08-10 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 19:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310737920001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310737920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:32:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310737920001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":152150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:32:35] local.INFO: GPS data processed {"connection_id":152150,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:32:35] local.INFO: Acknowledgment sent {"connection_id":152150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:32:41] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:32:41] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:32:41] local.INFO: IMEI packet received {"connection_id":151751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":151751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:32:42] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:32:42] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:32:42] local.INFO: IMEI packet received {"connection_id":151751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":151751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:32:46] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:32:46] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:32:46] local.INFO: IMEI packet received {"connection_id":151751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":151751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:32:46] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febfae420012d18d34007211a58004000ea23..."} 
[2026-08-10 19:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfae420012d18d34007211a58004000ea23..."} 
[2026-08-10 19:32:46] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfae420012d18d34007211a58004000ea23..."} 
[2026-08-10 19:32:46] local.INFO: Packet analysis {"connection_id":151751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfa"} 
[2026-08-10 19:32:46] local.INFO: Extracted packet for processing {"connection_id":151751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfa"} 
[2026-08-10 19:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119609944,"longitude_deg":75.6601664,"latitude_deg":11.9609944,"altitude":64,"angle":234,"satellites":35,"speed":9,"hex_longitude":"2d18d340","hex_latitude":"07211a58","is_valid_coordinates":true} 
[2026-08-10 19:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310851840001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11572802263973888,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613848928256,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786370516000,"timestamp_ms":1786370516000,"timestamp_seconds":1786370516,"priority":1,"record_length":96,"hex_timestamp":"0000019febfae420"} 
[2026-08-10 19:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 19:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310851840001,"66":12667,"103":206,"83":41984,"24":9,"16":11572802263973888,"45":1788984613848928256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 19:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310851840001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:32:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 19:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11572802263973888,"km_value":11572802263973.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613848928256,"description":"Unknown IO ID 45"} 
[2026-08-10 19:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310851840001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1788984613848928256}} 
[2026-08-10 19:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":151751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:32:47] local.INFO: GPS data processed {"connection_id":151751,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:32:47] local.INFO: Acknowledgment sent {"connection_id":151751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:32:47] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.38","data_length":1348,"data_hex":"000000000000030f8e0a0000019febfae808012d18d280072119b0004000c923..."} 
[2026-08-10 19:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019febfae808012d18d280072119b0004000c923..."} 
[2026-08-10 19:32:47] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019febfae808012d18d280072119b0004000c923..."} 
[2026-08-10 19:32:47] local.INFO: Packet analysis {"connection_id":151751,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019febfa"} 
[2026-08-10 19:32:47] local.INFO: Extracted packet for processing {"connection_id":151751,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019febfa"} 
[2026-08-10 19:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119609776,"longitude_deg":75.6601472,"latitude_deg":11.9609776,"altitude":64,"angle":201,"satellites":35,"speed":9,"hex_longitude":"2d18d280","hex_latitude":"072119b0","is_valid_coordinates":true} 
[2026-08-10 19:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310852096001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11572815148875776,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876360542208,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370517000,"timestamp_ms":1786370517000,"timestamp_seconds":1786370517,"priority":1,"record_length":96,"hex_timestamp":"0000019febfae808"} 
[2026-08-10 19:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 19:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310852096001,"66":12667,"103":206,"83":41984,"24":9,"16":11572815148875776,"45":1788843876360542208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 19:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310852096001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:32:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 19:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11572815148875776,"km_value":11572815148875.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876360542208,"description":"Unknown IO ID 45"} 
[2026-08-10 19:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310852096001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1788843876360542208}} 
[2026-08-10 19:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":151751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:32:47] local.INFO: GPS data processed {"connection_id":151751,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:32:47] local.INFO: Acknowledgment sent {"connection_id":151751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:32:47] local.INFO: Packet analysis {"connection_id":151751,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019febfa"} 
[2026-08-10 19:32:47] local.INFO: Incomplete packet, waiting for more data {"connection_id":151751,"needed":795,"available":553} 
[2026-08-10 19:32:48] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.38","data_length":242,"data_hex":"0000000000019febfaa5a0012d18f0c007211c30003e00d02100100000000a00..."} 
[2026-08-10 19:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":242,"packet_hex":"0000000000019febfaa5a0012d18f0c007211c30003e00d02100100000000a00..."} 
[2026-08-10 19:32:48] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfaebf0012d18d28007211890003f00b322..."} 
[2026-08-10 19:32:48] local.INFO: Packet analysis {"connection_id":151751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfa"} 
[2026-08-10 19:32:48] local.INFO: Extracted packet for processing {"connection_id":151751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfa"} 
[2026-08-10 19:32:48] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119609488,"longitude_deg":75.6601472,"latitude_deg":11.9609488,"altitude":63,"angle":179,"satellites":34,"speed":12,"hex_longitude":"2d18d280","hex_latitude":"07211890","is_valid_coordinates":true} 
[2026-08-10 19:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310852352001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11572828033777664,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770127966208,"note":"Value kept but may cause issues"} 
[2026-08-10 19:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786370518000,"timestamp_ms":1786370518000,"timestamp_seconds":1786370518,"priority":1,"record_length":96,"hex_timestamp":"0000019febfaebf0"} 
[2026-08-10 19:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:32: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-08-10 19:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 19:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310852352001,"66":11711,"103":206,"83":41984,"24":12,"16":11572828033777664,"45":1788632770127966208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 19:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310852352001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:32:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 19:32:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11572828033777664,"km_value":11572828033777.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770127966208,"description":"Unknown IO ID 45"} 
[2026-08-10 19:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310852352001,"power":11711,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1788632770127966208}} 
[2026-08-10 19:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":151751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:32:48] local.INFO: GPS data processed {"connection_id":151751,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:32:48] local.INFO: Acknowledgment sent {"connection_id":151751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:32:58] local.INFO: TCP Data received {"connection_id":152151,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:32:58] local.INFO: Processing buffer {"connection_id":152151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:32:58] local.INFO: IMEI packet received {"connection_id":152151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":152151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:33:03] local.INFO: TCP Data received {"connection_id":152151,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:33:03] local.INFO: Processing buffer {"connection_id":152151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:33:03] local.INFO: IMEI packet received {"connection_id":152151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":152151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:33:04] local.INFO: TCP Data received {"connection_id":152151,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:33:04] local.INFO: Processing buffer {"connection_id":152151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:33:04] local.INFO: Packet analysis {"connection_id":152151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:33:04] local.INFO: Extracted packet for processing {"connection_id":152151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":36,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310737920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370371000,"timestamp_ms":1786370371000,"timestamp_seconds":1786370371,"priority":1,"record_length":96,"hex_timestamp":"0000019febf8adb8"} 
[2026-08-10 19:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310737920001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310737920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:33:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310737920001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":152151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:33:04] local.INFO: GPS data processed {"connection_id":152151,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:33:04] local.INFO: Acknowledgment sent {"connection_id":152151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:33:19] local.INFO: TCP Data received {"connection_id":151751,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febfaff78012d18d38007210d48003d00a722..."} 
[2026-08-10 19:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfaff78012d18d38007210d48003d00a722..."} 
[2026-08-10 19:33:19] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfaff78012d18d38007210d48003d00a722..."} 
[2026-08-10 19:33:19] local.INFO: Packet analysis {"connection_id":151751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfa"} 
[2026-08-10 19:33:19] local.INFO: Extracted packet for processing {"connection_id":151751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfa"} 
[2026-08-10 19:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119606600,"longitude_deg":75.6601728,"latitude_deg":11.96066,"altitude":61,"angle":167,"satellites":34,"speed":32,"hex_longitude":"2d18d380","hex_latitude":"07210d48","is_valid_coordinates":true} 
[2026-08-10 19:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310852608001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11572969767698432,"note":"Value kept but may cause issues"} 
[2026-08-10 19:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770127892480,"note":"Value kept but may cause issues"} 
[2026-08-10 19:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786370523000,"timestamp_ms":1786370523000,"timestamp_seconds":1786370523,"priority":1,"record_length":96,"hex_timestamp":"0000019febfaff78"} 
[2026-08-10 19:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-10 19:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310852608001,"66":12689,"103":206,"83":41984,"24":32,"16":11572969767698432,"45":1788632770127892480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 19:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310852608001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:33:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 19:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11572969767698432,"km_value":11572969767698.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770127892480,"description":"Unknown IO ID 45"} 
[2026-08-10 19:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310852608001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1788632770127892480}} 
[2026-08-10 19:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":151751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:33:19] local.INFO: GPS data processed {"connection_id":151751,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:33:19] local.INFO: Acknowledgment sent {"connection_id":151751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:33:35] local.INFO: TCP Data received {"connection_id":152151,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:33:35] local.INFO: Processing buffer {"connection_id":152151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:33:35] local.INFO: Packet analysis {"connection_id":152151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:33:35] local.INFO: Extracted packet for processing {"connection_id":152151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":36,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310737920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786370371000,"timestamp_ms":1786370371000,"timestamp_seconds":1786370371,"priority":1,"record_length":96,"hex_timestamp":"0000019febf8adb8"} 
[2026-08-10 19:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310737920001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310737920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:33:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310737920001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":152151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:33:35] local.INFO: GPS data processed {"connection_id":152151,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:33:35] local.INFO: Acknowledgment sent {"connection_id":152151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:33:41] local.INFO: TCP Data received {"connection_id":153074,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:33:41] local.INFO: Processing buffer {"connection_id":153074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:33:41] local.INFO: IMEI packet received {"connection_id":153074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":153074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:33:46] local.INFO: TCP Data received {"connection_id":153074,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:33:46] local.INFO: Processing buffer {"connection_id":153074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:33:46] local.INFO: IMEI packet received {"connection_id":153074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":153074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:33:47] local.INFO: TCP Data received {"connection_id":153074,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febfb0f18012d18d8400720ff60003b00951f..."} 
[2026-08-10 19:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfb0f18012d18d8400720ff60003b00951f..."} 
[2026-08-10 19:33:47] local.INFO: Processing buffer {"connection_id":153074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfb0f18012d18d8400720ff60003b00951f..."} 
[2026-08-10 19:33:47] local.INFO: Packet analysis {"connection_id":153074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfb"} 
[2026-08-10 19:33:47] local.INFO: Extracted packet for processing {"connection_id":153074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfb"} 
[2026-08-10 19:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756602944,"raw_latitude":119603040,"longitude_deg":75.6602944,"latitude_deg":11.960304,"altitude":59,"angle":149,"satellites":31,"speed":41,"hex_longitude":"2d18d840","hex_latitude":"0720ff60","is_valid_coordinates":true} 
[2026-08-10 19:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310853888001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11573150156324864,"note":"Value kept but may cause issues"} 
[2026-08-10 19:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245103863808,"note":"Value kept but may cause issues"} 
[2026-08-10 19:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370527000,"timestamp_ms":1786370527000,"timestamp_seconds":1786370527,"priority":1,"record_length":96,"hex_timestamp":"0000019febfb0f18"} 
[2026-08-10 19:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-10 19:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310853888001,"66":13091,"103":206,"83":41984,"24":41,"16":11573150156324864,"45":1788914245103863808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 19:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310853888001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:33:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 19:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11573150156324864,"km_value":11573150156324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245103863808,"description":"Unknown IO ID 45"} 
[2026-08-10 19:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310853888001,"power":13091,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1788914245103863808}} 
[2026-08-10 19:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":153074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:33:47] local.INFO: GPS data processed {"connection_id":153074,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:33:47] local.INFO: Acknowledgment sent {"connection_id":153074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:34:03] local.INFO: TCP Data received {"connection_id":151752,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:34:03] local.INFO: Processing buffer {"connection_id":151752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:34:03] local.INFO: IMEI packet received {"connection_id":151752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":151752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:34:08] local.INFO: TCP Data received {"connection_id":151752,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:34:08] local.INFO: Processing buffer {"connection_id":151752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:34:08] local.INFO: IMEI packet received {"connection_id":151752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":151752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:34:09] local.INFO: TCP Data received {"connection_id":151752,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:34:09] local.INFO: Processing buffer {"connection_id":151752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:34:09] local.INFO: Packet analysis {"connection_id":151752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:34:09] local.INFO: Extracted packet for processing {"connection_id":151752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":36,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310737920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786370371000,"timestamp_ms":1786370371000,"timestamp_seconds":1786370371,"priority":1,"record_length":96,"hex_timestamp":"0000019febf8adb8"} 
[2026-08-10 19:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310737920001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310737920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:34:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310737920001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":151752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:34:09] local.INFO: GPS data processed {"connection_id":151752,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:34:09] local.INFO: Acknowledgment sent {"connection_id":151752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:34:18] local.INFO: TCP Data received {"connection_id":153074,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febfc3fc8012d1975c00720ae98003200fb20..."} 
[2026-08-10 19:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfc3fc8012d1975c00720ae98003200fb20..."} 
[2026-08-10 19:34:18] local.INFO: Processing buffer {"connection_id":153074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfc3fc8012d1975c00720ae98003200fb20..."} 
[2026-08-10 19:34:18] local.INFO: Packet analysis {"connection_id":153074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfc"} 
[2026-08-10 19:34:18] local.INFO: Extracted packet for processing {"connection_id":153074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfc"} 
[2026-08-10 19:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756643264,"raw_latitude":119582360,"longitude_deg":75.6643264,"latitude_deg":11.958236,"altitude":50,"angle":251,"satellites":32,"speed":19,"hex_longitude":"2d1975c0","hex_latitude":"0720ae98","is_valid_coordinates":true} 
[2026-08-10 19:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310874368001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575628352454656,"note":"Value kept but may cause issues"} 
[2026-08-10 19:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835427984999165952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786370605000,"timestamp_ms":1786370605000,"timestamp_seconds":1786370605,"priority":1,"record_length":96,"hex_timestamp":"0000019febfc3fc8"} 
[2026-08-10 19:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-10 19:34: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-08-10 19:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310874368001,"66":13526,"103":206,"83":41984,"24":19,"16":11575628352454656,"45":1835427984999165952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 19:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310874368001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:34:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 19:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575628352454656,"km_value":11575628352454.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835427984999165952,"description":"Unknown IO ID 45"} 
[2026-08-10 19:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310874368001,"power":13526,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1835427984999165952}} 
[2026-08-10 19:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":153074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:34:18] local.INFO: GPS data processed {"connection_id":153074,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:34:18] local.INFO: Acknowledgment sent {"connection_id":153074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:34:39] local.INFO: TCP Data received {"connection_id":151752,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:34:39] local.INFO: Processing buffer {"connection_id":151752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:34:39] local.INFO: Packet analysis {"connection_id":151752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:34:39] local.INFO: Extracted packet for processing {"connection_id":151752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":36,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310737920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786370371000,"timestamp_ms":1786370371000,"timestamp_seconds":1786370371,"priority":1,"record_length":96,"hex_timestamp":"0000019febf8adb8"} 
[2026-08-10 19:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310737920001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310737920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:34:39] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310737920001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":151752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:34:39] local.INFO: GPS data processed {"connection_id":151752,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:34:39] local.INFO: Acknowledgment sent {"connection_id":151752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:34:41] local.INFO: TCP Data received {"connection_id":152152,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:34:41] local.INFO: Processing buffer {"connection_id":152152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:34:41] local.INFO: IMEI packet received {"connection_id":152152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":152152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:34:42] local.INFO: TCP Data received {"connection_id":152152,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:34:42] local.INFO: Processing buffer {"connection_id":152152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:34:42] local.INFO: IMEI packet received {"connection_id":152152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":152152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:34:43] local.INFO: TCP Data received {"connection_id":152152,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:34:43] local.INFO: Processing buffer {"connection_id":152152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:34:43] local.INFO: IMEI packet received {"connection_id":152152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":152152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:34:46] local.INFO: TCP Data received {"connection_id":152152,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:34:46] local.INFO: Processing buffer {"connection_id":152152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:34:46] local.INFO: IMEI packet received {"connection_id":152152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":152152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:34:47] local.INFO: TCP Data received {"connection_id":152152,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febfc5738012d1965800720aaf80030010620..."} 
[2026-08-10 19:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfc5738012d1965800720aaf80030010620..."} 
[2026-08-10 19:34:47] local.INFO: Processing buffer {"connection_id":152152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfc5738012d1965800720aaf80030010620..."} 
[2026-08-10 19:34:47] local.INFO: Packet analysis {"connection_id":152152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfc"} 
[2026-08-10 19:34:47] local.INFO: Extracted packet for processing {"connection_id":152152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfc"} 
[2026-08-10 19:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119581432,"longitude_deg":75.6639104,"latitude_deg":11.9581432,"altitude":48,"angle":262,"satellites":32,"speed":30,"hex_longitude":"2d196580","hex_latitude":"0720aaf8","is_valid_coordinates":true} 
[2026-08-10 19:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310874880001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575834510884864,"note":"Value kept but may cause issues"} 
[2026-08-10 19:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834583560068962304,"note":"Value kept but may cause issues"} 
[2026-08-10 19:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370611000,"timestamp_ms":1786370611000,"timestamp_seconds":1786370611,"priority":1,"record_length":96,"hex_timestamp":"0000019febfc5738"} 
[2026-08-10 19:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 19:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310874880001,"66":13580,"103":206,"83":41984,"24":30,"16":11575834510884864,"45":1834583560068962304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 19:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310874880001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:34:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 19:34:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575834510884864,"km_value":11575834510884.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834583560068962304,"description":"Unknown IO ID 45"} 
[2026-08-10 19:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310874880001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1834583560068962304}} 
[2026-08-10 19:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":152152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:34:47] local.INFO: GPS data processed {"connection_id":152152,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:34:47] local.INFO: Acknowledgment sent {"connection_id":152152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:34:58] local.INFO: TCP Data received {"connection_id":153075,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:34:58] local.INFO: Processing buffer {"connection_id":153075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:34:58] local.INFO: IMEI packet received {"connection_id":153075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":153075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:35:03] local.INFO: TCP Data received {"connection_id":153075,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:35:03] local.INFO: Processing buffer {"connection_id":153075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:35:03] local.INFO: IMEI packet received {"connection_id":153075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":153075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:35:04] local.INFO: TCP Data received {"connection_id":153075,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:35:04] local.INFO: Processing buffer {"connection_id":153075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febf8adb8012d34248006abc1900024007e26..."} 
[2026-08-10 19:35:04] local.INFO: Packet analysis {"connection_id":153075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:35:04] local.INFO: Extracted packet for processing {"connection_id":153075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febf8"} 
[2026-08-10 19:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":36,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310737920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370371000,"timestamp_ms":1786370371000,"timestamp_seconds":1786370371,"priority":1,"record_length":96,"hex_timestamp":"0000019febf8adb8"} 
[2026-08-10 19:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310737920001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310737920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:35:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310737920001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":153075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:35:04] local.INFO: GPS data processed {"connection_id":153075,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:35:04] local.INFO: Acknowledgment sent {"connection_id":153075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:35:18] local.INFO: TCP Data received {"connection_id":152152,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd35e0012d18cfc007212c20003f014f22..."} 
[2026-08-10 19:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd35e0012d18cfc007212c20003f014f22..."} 
[2026-08-10 19:35:18] local.INFO: Processing buffer {"connection_id":152152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd35e0012d18cfc007212c20003f014f22..."} 
[2026-08-10 19:35:18] local.INFO: Packet analysis {"connection_id":152152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:35:18] local.INFO: Extracted packet for processing {"connection_id":152152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756600768,"raw_latitude":119614496,"longitude_deg":75.6600768,"latitude_deg":11.9614496,"altitude":63,"angle":335,"satellites":34,"speed":35,"hex_longitude":"2d18cfc0","hex_latitude":"07212c20","is_valid_coordinates":true} 
[2026-08-10 19:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310890752001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578523160412160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557663901696,"note":"Value kept but may cause issues"} 
[2026-08-10 19:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786370668000,"timestamp_ms":1786370668000,"timestamp_seconds":1786370668,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd35e0"} 
[2026-08-10 19:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 19:35: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-08-10 19:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310890752001,"66":13472,"103":206,"83":41984,"24":35,"16":11578523160412160,"45":1788210557663901696},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 19:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310890752001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:35:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 19:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578523160412160,"km_value":11578523160412.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557663901696,"description":"Unknown IO ID 45"} 
[2026-08-10 19:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310890752001,"power":13472,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1788210557663901696}} 
[2026-08-10 19:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":152152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:35:18] local.INFO: GPS data processed {"connection_id":152152,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:35:18] local.INFO: Acknowledgment sent {"connection_id":152152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:35:34] local.INFO: TCP Data received {"connection_id":153075,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:35:34] local.INFO: Processing buffer {"connection_id":153075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:35:34] local.INFO: Packet analysis {"connection_id":153075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:35:34] local.INFO: Extracted packet for processing {"connection_id":153075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310814976001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786370672000,"timestamp_ms":1786370672000,"timestamp_seconds":1786370672,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd4580"} 
[2026-08-10 19:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310814976001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310814976001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:35:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:35:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310814976001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":153075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:35:34] local.INFO: GPS data processed {"connection_id":153075,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:35:34] local.INFO: Acknowledgment sent {"connection_id":153075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:35:40] local.INFO: TCP Data received {"connection_id":153076,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:35:40] local.INFO: Processing buffer {"connection_id":153076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:35:40] local.INFO: IMEI packet received {"connection_id":153076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":153076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:35:41] local.INFO: TCP Data received {"connection_id":153076,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:35:41] local.INFO: Processing buffer {"connection_id":153076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:35:41] local.INFO: IMEI packet received {"connection_id":153076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":153076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:35:43] local.INFO: TCP Data received {"connection_id":153076,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:35:43] local.INFO: Processing buffer {"connection_id":153076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:35:43] local.INFO: IMEI packet received {"connection_id":153076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":153076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:35:46] local.INFO: TCP Data received {"connection_id":153076,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:35:46] local.INFO: Processing buffer {"connection_id":153076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:35:46] local.INFO: IMEI packet received {"connection_id":153076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":153076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:35:51] local.INFO: TCP Data received {"connection_id":153076,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd5138012d18c4c0072142280042016323..."} 
[2026-08-10 19:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd5138012d18c4c0072142280042016323..."} 
[2026-08-10 19:35:51] local.INFO: Processing buffer {"connection_id":153076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd5138012d18c4c0072142280042016323..."} 
[2026-08-10 19:35:51] local.INFO: Packet analysis {"connection_id":153076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:35:51] local.INFO: Extracted packet for processing {"connection_id":153076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119620136,"longitude_deg":75.6597952,"latitude_deg":11.9620136,"altitude":66,"angle":355,"satellites":35,"speed":36,"hex_longitude":"2d18c4c0","hex_latitude":"07214228","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310891008001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578832398057472,"note":"Value kept but may cause issues"} 
[2026-08-10 19:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713943220224,"note":"Value kept but may cause issues"} 
[2026-08-10 19:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786370675000,"timestamp_ms":1786370675000,"timestamp_seconds":1786370675,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd5138"} 
[2026-08-10 19:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 19:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310891008001,"66":13580,"106":206,"83":41984,"24":36,"16":11578832398057472,"45":1787858713943220224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310891008001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:35:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578832398057472,"km_value":11578832398057.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713943220224,"description":"Unknown IO ID 45"} 
[2026-08-10 19:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310891008001,"power":13580,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1787858713943220224}} 
[2026-08-10 19:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":153076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:35:51] local.INFO: GPS data processed {"connection_id":153076,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:35:51] local.INFO: Acknowledgment sent {"connection_id":153076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:35:58] local.INFO: TCP Data received {"connection_id":152153,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:35:58] local.INFO: Processing buffer {"connection_id":152153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:35:58] local.INFO: IMEI packet received {"connection_id":152153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":152153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:36:03] local.INFO: TCP Data received {"connection_id":152153,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:36:03] local.INFO: Processing buffer {"connection_id":152153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:36:03] local.INFO: IMEI packet received {"connection_id":152153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":152153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:36:05] local.INFO: TCP Data received {"connection_id":152153,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:36:05] local.INFO: Processing buffer {"connection_id":152153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:36:05] local.INFO: Packet analysis {"connection_id":152153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:36:05] local.INFO: Extracted packet for processing {"connection_id":152153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310814976001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786370672000,"timestamp_ms":1786370672000,"timestamp_seconds":1786370672,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd4580"} 
[2026-08-10 19:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:36: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-08-10 19:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:36: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-08-10 19:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310814976001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310814976001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:36:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310814976001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":152153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:36:05] local.INFO: GPS data processed {"connection_id":152153,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:36:05] local.INFO: Acknowledgment sent {"connection_id":152153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:36:23] local.INFO: TCP Data received {"connection_id":153076,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd60d8012d18c3c007214ff80043015622..."} 
[2026-08-10 19:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd60d8012d18c3c007214ff80043015622..."} 
[2026-08-10 19:36:23] local.INFO: Processing buffer {"connection_id":153076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd60d8012d18c3c007214ff80043015622..."} 
[2026-08-10 19:36:23] local.INFO: Packet analysis {"connection_id":153076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:36:23] local.INFO: Extracted packet for processing {"connection_id":153076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119623672,"longitude_deg":75.6597696,"latitude_deg":11.9623672,"altitude":67,"angle":342,"satellites":34,"speed":35,"hex_longitude":"2d18c3c0","hex_latitude":"07214ff8","is_valid_coordinates":true} 
[2026-08-10 19:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310892800001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11579004196749312,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489200846848,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786370679000,"timestamp_ms":1786370679000,"timestamp_seconds":1786370679,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd60d8"} 
[2026-08-10 19:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751524129,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-1242985659374239688,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3959224160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5125940976971415562,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13465703,"corrected_to":0} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4245862401,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959374439,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303110633206189,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755575534846193,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,34,159,53,45,192,44,63,10,66,103,49,40,30,1,240,203,227,235,33,4,113,205,37,7,214,168,239,52,2,41,59,164],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":203,"original":13465703,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-10 19:36:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4756191683457318912,"timestamp_seconds":4756191683457319.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310892800001,"66":13559,"106":206,"83":41984,"24":35,"16":11579004196749312,"45":1784762489200846848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310892800001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:36:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11579004196749312,"km_value":11579004196749.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489200846848,"description":"Unknown IO ID 45"} 
[2026-08-10 19:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310892800001,"power":13559,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784762489200846848}} 
[2026-08-10 19:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":153076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:36:23] local.INFO: GPS data processed {"connection_id":153076,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:36:23] local.INFO: Acknowledgment sent {"connection_id":153076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:36:36] local.INFO: TCP Data received {"connection_id":152153,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:36:36] local.INFO: Processing buffer {"connection_id":152153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:36:36] local.INFO: Packet analysis {"connection_id":152153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:36:36] local.INFO: Extracted packet for processing {"connection_id":152153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310814976001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786370672000,"timestamp_ms":1786370672000,"timestamp_seconds":1786370672,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd4580"} 
[2026-08-10 19:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310814976001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310814976001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:36:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310814976001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":152153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:36:36] local.INFO: GPS data processed {"connection_id":152153,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:36:36] local.INFO: Acknowledgment sent {"connection_id":152153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:36:41] local.INFO: TCP Data received {"connection_id":154506,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:36:41] local.INFO: Processing buffer {"connection_id":154506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:36:41] local.INFO: IMEI packet received {"connection_id":154506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":154506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:36:47] local.INFO: TCP Data received {"connection_id":154506,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:36:47] local.INFO: Processing buffer {"connection_id":154506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:36:47] local.INFO: IMEI packet received {"connection_id":154506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":154506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:36:47] local.INFO: TCP Data received {"connection_id":154506,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd68a8012d18c080072155e00044014624..."} 
[2026-08-10 19:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd68a8012d18c080072155e00044014624..."} 
[2026-08-10 19:36:47] local.INFO: Processing buffer {"connection_id":154506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd68a8012d18c080072155e00044014624..."} 
[2026-08-10 19:36:47] local.INFO: Packet analysis {"connection_id":154506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:36:47] local.INFO: Extracted packet for processing {"connection_id":154506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756596864,"raw_latitude":119625184,"longitude_deg":75.6596864,"latitude_deg":11.9625184,"altitude":68,"angle":326,"satellites":36,"speed":35,"hex_longitude":"2d18c080","hex_latitude":"072155e0","is_valid_coordinates":true} 
[2026-08-10 19:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310893824001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11579090096095232,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014225041408,"note":"Value kept but may cause issues"} 
[2026-08-10 19:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370681000,"timestamp_ms":1786370681000,"timestamp_seconds":1786370681,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd68a8"} 
[2026-08-10 19:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 19:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310893824001,"66":12613,"106":206,"83":41984,"24":35,"16":11579090096095232,"45":1784481014225041408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 19:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310893824001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:36:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 19:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11579090096095232,"km_value":11579090096095.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014225041408,"description":"Unknown IO ID 45"} 
[2026-08-10 19:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310893824001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784481014225041408}} 
[2026-08-10 19:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":154506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:36:47] local.INFO: GPS data processed {"connection_id":154506,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:36:47] local.INFO: Acknowledgment sent {"connection_id":154506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:36:58] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:36:58] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:36:58] local.INFO: IMEI packet received {"connection_id":153077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":153077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:37:03] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:37:03] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:37:03] local.INFO: IMEI packet received {"connection_id":153077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":153077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:37:04] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:37:04] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:37:04] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:37:04] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:37:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310814976001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370672000,"timestamp_ms":1786370672000,"timestamp_seconds":1786370672,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd4580"} 
[2026-08-10 19:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310814976001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310814976001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:37:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310814976001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:37:04] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:37:04] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:37:18] local.INFO: TCP Data received {"connection_id":154506,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febfecc20012d181b800721a9d8004d000923..."} 
[2026-08-10 19:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfecc20012d181b800721a9d8004d000923..."} 
[2026-08-10 19:37:18] local.INFO: Processing buffer {"connection_id":154506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfecc20012d181b800721a9d8004d000923..."} 
[2026-08-10 19:37:18] local.INFO: Packet analysis {"connection_id":154506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfe"} 
[2026-08-10 19:37:18] local.INFO: Extracted packet for processing {"connection_id":154506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfe"} 
[2026-08-10 19:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756554624,"raw_latitude":119646680,"longitude_deg":75.6554624,"latitude_deg":11.964668,"altitude":77,"angle":9,"satellites":35,"speed":9,"hex_longitude":"2d181b80","hex_latitude":"0721a9d8","is_valid_coordinates":true} 
[2026-08-10 19:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310917376001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11581456623075328,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399306240,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786370772000,"timestamp_ms":1786370772000,"timestamp_seconds":1786370772,"priority":1,"record_length":96,"hex_timestamp":"0000019febfecc20"} 
[2026-08-10 19:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 19:37: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-08-10 19:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310917376001,"66":13515,"105":206,"83":41984,"24":9,"16":11581456623075328,"45":1737122849399306240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310917376001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:37:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:37:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11581456623075328,"km_value":11581456623075.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399306240,"description":"Unknown IO ID 45"} 
[2026-08-10 19:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310917376001,"power":13515,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737122849399306240}} 
[2026-08-10 19:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":154506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:37:19] local.INFO: GPS data processed {"connection_id":154506,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:37:19] local.INFO: Acknowledgment sent {"connection_id":154506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:37:35] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:37:35] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:37:35] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:37:35] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310814976001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786370672000,"timestamp_ms":1786370672000,"timestamp_seconds":1786370672,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd4580"} 
[2026-08-10 19:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310814976001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310814976001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:37:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310814976001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:37:35] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:37:35] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:37:46] local.INFO: TCP Data received {"connection_id":151753,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:37:46] local.INFO: Processing buffer {"connection_id":151753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:37:46] local.INFO: IMEI packet received {"connection_id":151753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":151753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:37:51] local.INFO: TCP Data received {"connection_id":151753,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:37:51] local.INFO: Processing buffer {"connection_id":151753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:37:51] local.INFO: IMEI packet received {"connection_id":151753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":151753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:37:52] local.INFO: TCP Data received {"connection_id":151753,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febfed008012d181bc00721aa90004d002622..."} 
[2026-08-10 19:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfed008012d181bc00721aa90004d002622..."} 
[2026-08-10 19:37:52] local.INFO: Processing buffer {"connection_id":151753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfed008012d181bc00721aa90004d002622..."} 
[2026-08-10 19:37:52] local.INFO: Packet analysis {"connection_id":151753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfe"} 
[2026-08-10 19:37:52] local.INFO: Extracted packet for processing {"connection_id":151753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfe"} 
[2026-08-10 19:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119646864,"longitude_deg":75.6554688,"latitude_deg":11.9646864,"altitude":77,"angle":38,"satellites":34,"speed":6,"hex_longitude":"2d181bc0","hex_latitude":"0721aa90","is_valid_coordinates":true} 
[2026-08-10 19:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310917632001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11581465213009920,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399363584,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786370773000,"timestamp_ms":1786370773000,"timestamp_seconds":1786370773,"priority":1,"record_length":96,"hex_timestamp":"0000019febfed008"} 
[2026-08-10 19:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 19:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310917632001,"66":13515,"105":206,"83":41984,"24":6,"16":11581465213009920,"45":1737122849399363584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310917632001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:37:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11581465213009920,"km_value":11581465213009.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399363584,"description":"Unknown IO ID 45"} 
[2026-08-10 19:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310917632001,"power":13515,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737122849399363584}} 
[2026-08-10 19:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":151753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:37:52] local.INFO: GPS data processed {"connection_id":151753,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:37:52] local.INFO: Acknowledgment sent {"connection_id":151753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:37:57] local.INFO: TCP Data received {"connection_id":151753,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febff2210012d1820c00721b0e8004d001e24..."} 
[2026-08-10 19:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febff2210012d1820c00721b0e8004d001e24..."} 
[2026-08-10 19:37:57] local.INFO: Processing buffer {"connection_id":151753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febff2210012d1820c00721b0e8004d001e24..."} 
[2026-08-10 19:37:57] local.INFO: Packet analysis {"connection_id":151753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febff"} 
[2026-08-10 19:37:57] local.INFO: Extracted packet for processing {"connection_id":151753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febff"} 
[2026-08-10 19:37:57] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648488,"longitude_deg":75.6555968,"latitude_deg":11.9648488,"altitude":77,"angle":30,"satellites":36,"speed":17,"hex_longitude":"2d1820c0","hex_latitude":"0721b0e8","is_valid_coordinates":true} 
[2026-08-10 19:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310917888001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11581563997257728,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143588352,"note":"Value kept but may cause issues"} 
[2026-08-10 19:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786370794000,"timestamp_ms":1786370794000,"timestamp_seconds":1786370794,"priority":1,"record_length":96,"hex_timestamp":"0000019febff2210"} 
[2026-08-10 19:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-10 19:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310917888001,"66":13396,"105":206,"83":41984,"24":17,"16":11581563997257728,"45":1737193218143588352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310917888001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:37:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:37:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11581563997257728,"km_value":11581563997257.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143588352,"description":"Unknown IO ID 45"} 
[2026-08-10 19:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310917888001,"power":13396,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1737193218143588352}} 
[2026-08-10 19:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":151753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:37:57] local.INFO: GPS data processed {"connection_id":151753,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:37:57] local.INFO: Acknowledgment sent {"connection_id":151753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:37:58] local.INFO: TCP Data received {"connection_id":154507,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:37:58] local.INFO: Processing buffer {"connection_id":154507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:37:58] local.INFO: IMEI packet received {"connection_id":154507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":154507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:38:03] local.INFO: TCP Data received {"connection_id":154507,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:38:03] local.INFO: Processing buffer {"connection_id":154507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:38:03] local.INFO: IMEI packet received {"connection_id":154507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":154507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:38:04] local.INFO: TCP Data received {"connection_id":154507,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:38:04] local.INFO: Processing buffer {"connection_id":154507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:38:04] local.INFO: Packet analysis {"connection_id":154507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:38:04] local.INFO: Extracted packet for processing {"connection_id":154507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310814976001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370672000,"timestamp_ms":1786370672000,"timestamp_seconds":1786370672,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd4580"} 
[2026-08-10 19:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310814976001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310814976001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:38:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310814976001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":154507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:38:04] local.INFO: GPS data processed {"connection_id":154507,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:38:04] local.INFO: Acknowledgment sent {"connection_id":154507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:38:35] local.INFO: TCP Data received {"connection_id":154507,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:38:35] local.INFO: Processing buffer {"connection_id":154507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:38:35] local.INFO: Packet analysis {"connection_id":154507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:38:35] local.INFO: Extracted packet for processing {"connection_id":154507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310814976001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786370672000,"timestamp_ms":1786370672000,"timestamp_seconds":1786370672,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd4580"} 
[2026-08-10 19:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310814976001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310814976001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:38:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310814976001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":154507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:38:35] local.INFO: GPS data processed {"connection_id":154507,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:38:35] local.INFO: Acknowledgment sent {"connection_id":154507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:38:41] local.INFO: TCP Data received {"connection_id":152154,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:38:41] local.INFO: Processing buffer {"connection_id":152154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:38:41] local.INFO: IMEI packet received {"connection_id":152154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":152154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:38:42] local.INFO: TCP Data received {"connection_id":152154,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:38:42] local.INFO: Processing buffer {"connection_id":152154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:38:42] local.INFO: IMEI packet received {"connection_id":152154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":152154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:38:43] local.INFO: TCP Data received {"connection_id":152154,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febff58c0012d1834800721ce980051002224..."} 
[2026-08-10 19:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febff58c0012d1834800721ce980051002224..."} 
[2026-08-10 19:38:43] local.INFO: Processing buffer {"connection_id":152154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febff58c0012d1834800721ce980051002224..."} 
[2026-08-10 19:38:43] local.INFO: Packet analysis {"connection_id":152154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febff"} 
[2026-08-10 19:38:43] local.INFO: Extracted packet for processing {"connection_id":152154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febff"} 
[2026-08-10 19:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119656088,"longitude_deg":75.6561024,"latitude_deg":11.9656088,"altitude":81,"angle":34,"satellites":36,"speed":30,"hex_longitude":"2d183480","hex_latitude":"0721ce98","is_valid_coordinates":true} 
[2026-08-10 19:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310923264001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582006378889216,"note":"Value kept but may cause issues"} 
[2026-08-10 19:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027557376,"note":"Value kept but may cause issues"} 
[2026-08-10 19:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786370808000,"timestamp_ms":1786370808000,"timestamp_seconds":1786370808,"priority":1,"record_length":96,"hex_timestamp":"0000019febff58c0"} 
[2026-08-10 19:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-10 19:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310923264001,"66":12591,"105":206,"83":41984,"24":30,"16":11582006378889216,"45":1738600593027557376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310923264001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:38:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:38:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582006378889216,"km_value":11582006378889.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027557376,"description":"Unknown IO ID 45"} 
[2026-08-10 19:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310923264001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1738600593027557376}} 
[2026-08-10 19:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":152154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:38:43] local.INFO: GPS data processed {"connection_id":152154,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:38:43] local.INFO: Acknowledgment sent {"connection_id":152154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:38:47] local.INFO: TCP Data received {"connection_id":152154,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febff87a0012d1848800721eba80054002122..."} 
[2026-08-10 19:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febff87a0012d1848800721eba80054002122..."} 
[2026-08-10 19:38:47] local.INFO: Processing buffer {"connection_id":152154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febff87a0012d1848800721eba80054002122..."} 
[2026-08-10 19:38:47] local.INFO: Packet analysis {"connection_id":152154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febff"} 
[2026-08-10 19:38:47] local.INFO: Extracted packet for processing {"connection_id":152154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febff"} 
[2026-08-10 19:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756566144,"raw_latitude":119663528,"longitude_deg":75.6566144,"latitude_deg":11.9663528,"altitude":84,"angle":33,"satellites":34,"speed":30,"hex_longitude":"2d184880","hex_latitude":"0721eba8","is_valid_coordinates":true} 
[2026-08-10 19:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310926848001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582440170586112,"note":"Value kept but may cause issues"} 
[2026-08-10 19:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723819538432,"note":"Value kept but may cause issues"} 
[2026-08-10 19:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370820000,"timestamp_ms":1786370820000,"timestamp_seconds":1786370820,"priority":1,"record_length":96,"hex_timestamp":"0000019febff87a0"} 
[2026-08-10 19:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 19:38: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-08-10 19:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310926848001,"66":13396,"105":206,"83":41984,"24":30,"16":11582440170586112,"45":1744159723819538432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310926848001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:38:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582440170586112,"km_value":11582440170586.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723819538432,"description":"Unknown IO ID 45"} 
[2026-08-10 19:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310926848001,"power":13396,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1744159723819538432}} 
[2026-08-10 19:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":152154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:38:47] local.INFO: GPS data processed {"connection_id":152154,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:38:47] local.INFO: Acknowledgment sent {"connection_id":152154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:38:58] local.INFO: TCP Data received {"connection_id":151754,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:38:58] local.INFO: Processing buffer {"connection_id":151754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:38:58] local.INFO: IMEI packet received {"connection_id":151754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":151754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:39:03] local.INFO: TCP Data received {"connection_id":151754,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:39:03] local.INFO: Processing buffer {"connection_id":151754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:39:03] local.INFO: IMEI packet received {"connection_id":151754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":151754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:39:04] local.INFO: TCP Data received {"connection_id":151754,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:39:04] local.INFO: Processing buffer {"connection_id":151754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:39:04] local.INFO: Packet analysis {"connection_id":151754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:39:04] local.INFO: Extracted packet for processing {"connection_id":151754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 19:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310814976001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370672000,"timestamp_ms":1786370672000,"timestamp_seconds":1786370672,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd4580"} 
[2026-08-10 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-08-10 19:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 19:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310814976001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310814976001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:39:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310814976001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":151754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:39:04] local.INFO: GPS data processed {"connection_id":151754,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:39:04] local.INFO: Acknowledgment sent {"connection_id":151754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:39:18] local.INFO: TCP Data received {"connection_id":152154,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019febffd9a8012d185980072205100056002222..."} 
[2026-08-10 19:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febffd9a8012d185980072205100056002222..."} 
[2026-08-10 19:39:18] local.INFO: Processing buffer {"connection_id":152154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febffd9a8012d185980072205100056002222..."} 
[2026-08-10 19:39:18] local.INFO: Packet analysis {"connection_id":152154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febff"} 
[2026-08-10 19:39:18] local.INFO: Extracted packet for processing {"connection_id":152154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febff"} 
[2026-08-10 19:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119670032,"longitude_deg":75.6570496,"latitude_deg":11.9670032,"altitude":86,"angle":34,"satellites":34,"speed":0,"hex_longitude":"2d185980","hex_latitude":"07220510","is_valid_coordinates":true} 
[2026-08-10 19:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310929920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582818127708160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749789223355656192,"note":"Value kept but may cause issues"} 
[2026-08-10 19:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786370841000,"timestamp_ms":1786370841000,"timestamp_seconds":1786370841,"priority":1,"record_length":96,"hex_timestamp":"0000019febffd9a8"} 
[2026-08-10 19:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-10 19:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310929920001,"66":12993,"105":206,"83":41984,"24":0,"16":11582818127708160,"45":1749789223355656192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310929920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:39:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582818127708160,"km_value":11582818127708.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749789223355656192,"description":"Unknown IO ID 45"} 
[2026-08-10 19:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310929920001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1749789223355656192}} 
[2026-08-10 19:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":152154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:39:18] local.INFO: GPS data processed {"connection_id":152154,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:39:18] local.INFO: Acknowledgment sent {"connection_id":152154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:39:35] local.INFO: TCP Data received {"connection_id":151754,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:39:35] local.INFO: Processing buffer {"connection_id":151754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:39:35] local.INFO: Packet analysis {"connection_id":151754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:39:35] local.INFO: Extracted packet for processing {"connection_id":151754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310814976001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786370672000,"timestamp_ms":1786370672000,"timestamp_seconds":1786370672,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd4580"} 
[2026-08-10 19:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310814976001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310814976001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:39:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310814976001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":151754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:39:35] local.INFO: GPS data processed {"connection_id":151754,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:39:35] local.INFO: Acknowledgment sent {"connection_id":151754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:39:41] local.INFO: TCP Data received {"connection_id":153078,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:39:41] local.INFO: Processing buffer {"connection_id":153078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:39:41] local.INFO: IMEI packet received {"connection_id":153078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":153078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:39:46] local.INFO: TCP Data received {"connection_id":153078,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:39:46] local.INFO: Processing buffer {"connection_id":153078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:39:46] local.INFO: IMEI packet received {"connection_id":153078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":153078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:39:46] local.INFO: TCP Data received {"connection_id":153078,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec001440012d185ac007220500005500a322..."} 
[2026-08-10 19:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec001440012d185ac007220500005500a322..."} 
[2026-08-10 19:39:46] local.INFO: Processing buffer {"connection_id":153078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec001440012d185ac007220500005500a322..."} 
[2026-08-10 19:39:46] local.INFO: Packet analysis {"connection_id":153078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:39:46] local.INFO: Extracted packet for processing {"connection_id":153078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756570816,"raw_latitude":119670016,"longitude_deg":75.6570816,"latitude_deg":11.9670016,"altitude":85,"angle":163,"satellites":34,"speed":7,"hex_longitude":"2d185ac0","hex_latitude":"07220500","is_valid_coordinates":true} 
[2026-08-10 19:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310935296001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582839602544640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961402368,"note":"Value kept but may cause issues"} 
[2026-08-10 19:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786370856000,"timestamp_ms":1786370856000,"timestamp_seconds":1786370856,"priority":1,"record_length":96,"hex_timestamp":"0000019fec001440"} 
[2026-08-10 19:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:39: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-08-10 19:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-10 19:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310935296001,"66":12961,"105":206,"83":41984,"24":7,"16":11582839602544640,"45":1754574297961402368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310935296001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:39:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582839602544640,"km_value":11582839602544.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961402368,"description":"Unknown IO ID 45"} 
[2026-08-10 19:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310935296001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1754574297961402368}} 
[2026-08-10 19:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":153078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:39:46] local.INFO: GPS data processed {"connection_id":153078,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:39:46] local.INFO: Acknowledgment sent {"connection_id":153078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:39:58] local.INFO: TCP Data received {"connection_id":151755,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:39:58] local.INFO: Processing buffer {"connection_id":151755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:39:58] local.INFO: IMEI packet received {"connection_id":151755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":151755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:40:03] local.INFO: TCP Data received {"connection_id":151755,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:40:03] local.INFO: Processing buffer {"connection_id":151755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:40:03] local.INFO: IMEI packet received {"connection_id":151755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":151755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:40:06] local.INFO: TCP Data received {"connection_id":151755,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:40:06] local.INFO: Processing buffer {"connection_id":151755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019febfd4580012d34248006abc190001d007e1f..."} 
[2026-08-10 19:40:06] local.INFO: Packet analysis {"connection_id":151755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:40:06] local.INFO: Extracted packet for processing {"connection_id":151755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019febfd"} 
[2026-08-10 19:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":29,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310814976001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786370672000,"timestamp_ms":1786370672000,"timestamp_seconds":1786370672,"priority":1,"record_length":96,"hex_timestamp":"0000019febfd4580"} 
[2026-08-10 19:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310814976001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310814976001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:40:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310814976001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":151755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:40:06] local.INFO: GPS data processed {"connection_id":151755,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:40:06] local.INFO: Acknowledgment sent {"connection_id":151755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:40:17] local.INFO: TCP Data received {"connection_id":153078,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec001828012d185ac007220430005500c222..."} 
[2026-08-10 19:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec001828012d185ac007220430005500c222..."} 
[2026-08-10 19:40:17] local.INFO: Processing buffer {"connection_id":153078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec001828012d185ac007220430005500c222..."} 
[2026-08-10 19:40:17] local.INFO: Packet analysis {"connection_id":153078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:40:17] local.INFO: Extracted packet for processing {"connection_id":153078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756570816,"raw_latitude":119669808,"longitude_deg":75.6570816,"latitude_deg":11.9669808,"altitude":85,"angle":194,"satellites":34,"speed":8,"hex_longitude":"2d185ac0","hex_latitude":"07220430","is_valid_coordinates":true} 
[2026-08-10 19:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310939136001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582852487446528,"note":"Value kept but may cause issues"} 
[2026-08-10 19:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754926141682286592,"note":"Value kept but may cause issues"} 
[2026-08-10 19:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786370857000,"timestamp_ms":1786370857000,"timestamp_seconds":1786370857,"priority":1,"record_length":96,"hex_timestamp":"0000019fec001828"} 
[2026-08-10 19:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":161,"data_length":795,"current_offset":136} 
[2026-08-10 19:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310939136001,"66":12961,"105":206,"83":41984,"24":8,"16":11582852487446528,"45":1754926141682286592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310939136001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:40:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:40:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582852487446528,"km_value":11582852487446.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754926141682286592,"description":"Unknown IO ID 45"} 
[2026-08-10 19:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310939136001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1754926141682286592}} 
[2026-08-10 19:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":153078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:40:17] local.INFO: GPS data processed {"connection_id":153078,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:40:17] local.INFO: Acknowledgment sent {"connection_id":153078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:40:37] local.INFO: TCP Data received {"connection_id":151755,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:40:37] local.INFO: Processing buffer {"connection_id":151755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:40:37] local.INFO: Packet analysis {"connection_id":151755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:40:37] local.INFO: Extracted packet for processing {"connection_id":151755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310892032001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786370973000,"timestamp_ms":1786370973000,"timestamp_seconds":1786370973,"priority":1,"record_length":96,"hex_timestamp":"0000019fec01dd48"} 
[2026-08-10 19:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310892032001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310892032001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:40:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310892032001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":151755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:40:37] local.INFO: GPS data processed {"connection_id":151755,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:40:37] local.INFO: Acknowledgment sent {"connection_id":151755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:40:41] local.INFO: TCP Data received {"connection_id":154508,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:40:41] local.INFO: Processing buffer {"connection_id":154508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:40:41] local.INFO: IMEI packet received {"connection_id":154508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":154508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:40:46] local.INFO: TCP Data received {"connection_id":154508,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:40:46] local.INFO: Processing buffer {"connection_id":154508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:40:46] local.INFO: IMEI packet received {"connection_id":154508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":154508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:40:47] local.INFO: TCP Data received {"connection_id":154508,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec001c10012d185a8007220350005500ce23..."} 
[2026-08-10 19:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec001c10012d185a8007220350005500ce23..."} 
[2026-08-10 19:40:47] local.INFO: Processing buffer {"connection_id":154508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec001c10012d185a8007220350005500ce23..."} 
[2026-08-10 19:40:47] local.INFO: Packet analysis {"connection_id":154508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:40:47] local.INFO: Extracted packet for processing {"connection_id":154508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:40:47] local.INFO: GPS Element Parsed {"raw_longitude":756570752,"raw_latitude":119669584,"longitude_deg":75.6570752,"latitude_deg":11.9669584,"altitude":85,"angle":206,"satellites":35,"speed":10,"hex_longitude":"2d185a80","hex_latitude":"07220350","is_valid_coordinates":true} 
[2026-08-10 19:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310939392001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582865372348416,"note":"Value kept but may cause issues"} 
[2026-08-10 19:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754926141682233344,"note":"Value kept but may cause issues"} 
[2026-08-10 19:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370858000,"timestamp_ms":1786370858000,"timestamp_seconds":1786370858,"priority":1,"record_length":96,"hex_timestamp":"0000019fec001c10"} 
[2026-08-10 19:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-10 19:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310939392001,"66":12939,"105":206,"83":41984,"24":10,"16":11582865372348416,"45":1754926141682233344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310939392001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:40:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:40:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582865372348416,"km_value":11582865372348.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754926141682233344,"description":"Unknown IO ID 45"} 
[2026-08-10 19:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310939392001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1754926141682233344}} 
[2026-08-10 19:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":154508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:40:47] local.INFO: GPS data processed {"connection_id":154508,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:40:47] local.INFO: Acknowledgment sent {"connection_id":154508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:40:58] local.INFO: TCP Data received {"connection_id":152155,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:40:58] local.INFO: Processing buffer {"connection_id":152155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:40:58] local.INFO: IMEI packet received {"connection_id":152155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":152155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:41:03] local.INFO: TCP Data received {"connection_id":152155,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:41:03] local.INFO: Processing buffer {"connection_id":152155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:41:03] local.INFO: IMEI packet received {"connection_id":152155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":152155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:41:04] local.INFO: TCP Data received {"connection_id":152155,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:41:04] local.INFO: Processing buffer {"connection_id":152155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:41:04] local.INFO: Packet analysis {"connection_id":152155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:41:04] local.INFO: Extracted packet for processing {"connection_id":152155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310892032001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370973000,"timestamp_ms":1786370973000,"timestamp_seconds":1786370973,"priority":1,"record_length":96,"hex_timestamp":"0000019fec01dd48"} 
[2026-08-10 19:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310892032001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310892032001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:41:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310892032001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":152155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:41:04] local.INFO: GPS data processed {"connection_id":152155,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:41:04] local.INFO: Acknowledgment sent {"connection_id":152155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:41:19] local.INFO: TCP Data received {"connection_id":154508,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0027c8012d1858c007220080005500bf23..."} 
[2026-08-10 19:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0027c8012d1858c007220080005500bf23..."} 
[2026-08-10 19:41:19] local.INFO: Processing buffer {"connection_id":154508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0027c8012d1858c007220080005500bf23..."} 
[2026-08-10 19:41:19] local.INFO: Packet analysis {"connection_id":154508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:41:19] local.INFO: Extracted packet for processing {"connection_id":154508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756570304,"raw_latitude":119668864,"longitude_deg":75.6570304,"latitude_deg":11.9668864,"altitude":85,"angle":191,"satellites":35,"speed":10,"hex_longitude":"2d1858c0","hex_latitude":"07220080","is_valid_coordinates":true} 
[2026-08-10 19:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310939648001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582904027054080,"note":"Value kept but may cause issues"} 
[2026-08-10 19:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754855772937998336,"note":"Value kept but may cause issues"} 
[2026-08-10 19:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786370861000,"timestamp_ms":1786370861000,"timestamp_seconds":1786370861,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0027c8"} 
[2026-08-10 19:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 19:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310939648001,"66":12972,"105":206,"83":41984,"24":10,"16":11582904027054080,"45":1754855772937998336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310939648001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:41:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:41:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582904027054080,"km_value":11582904027054.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754855772937998336,"description":"Unknown IO ID 45"} 
[2026-08-10 19:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310939648001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1754855772937998336}} 
[2026-08-10 19:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":154508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:41:19] local.INFO: GPS data processed {"connection_id":154508,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:41:19] local.INFO: Acknowledgment sent {"connection_id":154508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:41:35] local.INFO: TCP Data received {"connection_id":152155,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:41:35] local.INFO: Processing buffer {"connection_id":152155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:41:35] local.INFO: Packet analysis {"connection_id":152155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:41:35] local.INFO: Extracted packet for processing {"connection_id":152155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310892032001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786370973000,"timestamp_ms":1786370973000,"timestamp_seconds":1786370973,"priority":1,"record_length":96,"hex_timestamp":"0000019fec01dd48"} 
[2026-08-10 19:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310892032001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310892032001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:41:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310892032001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":152155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:41:35] local.INFO: GPS data processed {"connection_id":152155,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:41:35] local.INFO: Acknowledgment sent {"connection_id":152155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:41:41] local.INFO: TCP Data received {"connection_id":154509,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:41:41] local.INFO: Processing buffer {"connection_id":154509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:41:41] local.INFO: IMEI packet received {"connection_id":154509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":154509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:41:46] local.INFO: TCP Data received {"connection_id":154509,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:41:46] local.INFO: Processing buffer {"connection_id":154509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:41:46] local.INFO: IMEI packet received {"connection_id":154509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":154509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:41:47] local.INFO: TCP Data received {"connection_id":154509,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec002f98012d1858400721ff28005500d622..."} 
[2026-08-10 19:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec002f98012d1858400721ff28005500d622..."} 
[2026-08-10 19:41:47] local.INFO: Processing buffer {"connection_id":154509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec002f98012d1858400721ff28005500d622..."} 
[2026-08-10 19:41:47] local.INFO: Packet analysis {"connection_id":154509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:41:47] local.INFO: Extracted packet for processing {"connection_id":154509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756570176,"raw_latitude":119668520,"longitude_deg":75.6570176,"latitude_deg":11.966852,"altitude":85,"angle":214,"satellites":34,"speed":5,"hex_longitude":"2d185840","hex_latitude":"0721ff28","is_valid_coordinates":true} 
[2026-08-10 19:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310940416001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582921206923264,"note":"Value kept but may cause issues"} 
[2026-08-10 19:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754363191728570368,"note":"Value kept but may cause issues"} 
[2026-08-10 19:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370863000,"timestamp_ms":1786370863000,"timestamp_seconds":1786370863,"priority":1,"record_length":96,"hex_timestamp":"0000019fec002f98"} 
[2026-08-10 19:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-10 19:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310940416001,"66":12776,"105":206,"83":41984,"24":5,"16":11582921206923264,"45":1754363191728570368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310940416001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:41:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582921206923264,"km_value":11582921206923.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754363191728570368,"description":"Unknown IO ID 45"} 
[2026-08-10 19:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310940416001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1754363191728570368}} 
[2026-08-10 19:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":154509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:41:47] local.INFO: GPS data processed {"connection_id":154509,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:41:47] local.INFO: Acknowledgment sent {"connection_id":154509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:41:58] local.INFO: TCP Data received {"connection_id":153079,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:41:58] local.INFO: Processing buffer {"connection_id":153079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:41:58] local.INFO: IMEI packet received {"connection_id":153079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":153079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:42:03] local.INFO: TCP Data received {"connection_id":153079,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:42:03] local.INFO: Processing buffer {"connection_id":153079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:42:03] local.INFO: IMEI packet received {"connection_id":153079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":153079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:42:04] local.INFO: TCP Data received {"connection_id":153079,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:42:04] local.INFO: Processing buffer {"connection_id":153079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:42:04] local.INFO: Packet analysis {"connection_id":153079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:42:04] local.INFO: Extracted packet for processing {"connection_id":153079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310892032001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370973000,"timestamp_ms":1786370973000,"timestamp_seconds":1786370973,"priority":1,"record_length":96,"hex_timestamp":"0000019fec01dd48"} 
[2026-08-10 19:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310892032001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310892032001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:42:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310892032001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":153079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:42:04] local.INFO: GPS data processed {"connection_id":153079,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:42:04] local.INFO: Acknowledgment sent {"connection_id":153079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:42:18] local.INFO: TCP Data received {"connection_id":154509,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0081a0012d1858000721fed8005500d620..."} 
[2026-08-10 19:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0081a0012d1858000721fed8005500d620..."} 
[2026-08-10 19:42:18] local.INFO: Processing buffer {"connection_id":154509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0081a0012d1858000721fed8005500d620..."} 
[2026-08-10 19:42:18] local.INFO: Packet analysis {"connection_id":154509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:42:18] local.INFO: Extracted packet for processing {"connection_id":154509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:42:18] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":32,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310940928001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754222454240126976,"note":"Value kept but may cause issues"} 
[2026-08-10 19:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786370884000,"timestamp_ms":1786370884000,"timestamp_seconds":1786370884,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0081a0"} 
[2026-08-10 19:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-10 19:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310940928001,"66":12885,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754222454240126976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310940928001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:42:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:42:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754222454240126976,"description":"Unknown IO ID 45"} 
[2026-08-10 19:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310940928001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754222454240126976}} 
[2026-08-10 19:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":154509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:42:18] local.INFO: GPS data processed {"connection_id":154509,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:42:18] local.INFO: Acknowledgment sent {"connection_id":154509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:42:35] local.INFO: TCP Data received {"connection_id":153079,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:42:35] local.INFO: Processing buffer {"connection_id":153079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:42:35] local.INFO: Packet analysis {"connection_id":153079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:42:35] local.INFO: Extracted packet for processing {"connection_id":153079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310892032001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786370973000,"timestamp_ms":1786370973000,"timestamp_seconds":1786370973,"priority":1,"record_length":96,"hex_timestamp":"0000019fec01dd48"} 
[2026-08-10 19:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310892032001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310892032001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:42:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310892032001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":153079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:42:35] local.INFO: GPS data processed {"connection_id":153079,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:42:35] local.INFO: Acknowledgment sent {"connection_id":153079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:42:41] local.INFO: TCP Data received {"connection_id":154510,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:42:41] local.INFO: Processing buffer {"connection_id":154510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:42:41] local.INFO: IMEI packet received {"connection_id":154510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":154510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:42:46] local.INFO: TCP Data received {"connection_id":154510,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:42:46] local.INFO: Processing buffer {"connection_id":154510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:42:46] local.INFO: IMEI packet received {"connection_id":154510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":154510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:42:47] local.INFO: TCP Data received {"connection_id":154510,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec00d3a8012d1858000721fed8005500d622..."} 
[2026-08-10 19:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec00d3a8012d1858000721fed8005500d622..."} 
[2026-08-10 19:42:47] local.INFO: Processing buffer {"connection_id":154510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec00d3a8012d1858000721fed8005500d622..."} 
[2026-08-10 19:42:47] local.INFO: Packet analysis {"connection_id":154510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:42:47] local.INFO: Extracted packet for processing {"connection_id":154510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec00"} 
[2026-08-10 19:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":34,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310946304001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370905000,"timestamp_ms":1786370905000,"timestamp_seconds":1786370905,"priority":1,"record_length":96,"hex_timestamp":"0000019fec00d3a8"} 
[2026-08-10 19:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 19:42: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-08-10 19:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310946304001,"66":12950,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310946304001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:42:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310946304001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":154510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:42:47] local.INFO: GPS data processed {"connection_id":154510,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:42:47] local.INFO: Acknowledgment sent {"connection_id":154510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:42:58] local.INFO: TCP Data received {"connection_id":153080,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:42:58] local.INFO: Processing buffer {"connection_id":153080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:42:58] local.INFO: IMEI packet received {"connection_id":153080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":153080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:43:03] local.INFO: TCP Data received {"connection_id":153080,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:43:03] local.INFO: Processing buffer {"connection_id":153080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:43:03] local.INFO: IMEI packet received {"connection_id":153080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":153080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:43:04] local.INFO: TCP Data received {"connection_id":153080,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:43:04] local.INFO: Processing buffer {"connection_id":153080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:43:04] local.INFO: Packet analysis {"connection_id":153080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:43:04] local.INFO: Extracted packet for processing {"connection_id":153080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310892032001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370973000,"timestamp_ms":1786370973000,"timestamp_seconds":1786370973,"priority":1,"record_length":96,"hex_timestamp":"0000019fec01dd48"} 
[2026-08-10 19:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310892032001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310892032001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:43:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310892032001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":153080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:43:04] local.INFO: GPS data processed {"connection_id":153080,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:43:04] local.INFO: Acknowledgment sent {"connection_id":153080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:43:18] local.INFO: TCP Data received {"connection_id":154510,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0125b0012d1858000721fed8005500d623..."} 
[2026-08-10 19:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0125b0012d1858000721fed8005500d623..."} 
[2026-08-10 19:43:18] local.INFO: Processing buffer {"connection_id":154510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0125b0012d1858000721fed8005500d623..."} 
[2026-08-10 19:43:18] local.INFO: Packet analysis {"connection_id":154510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:43:18] local.INFO: Extracted packet for processing {"connection_id":154510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":35,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310951680001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786370926000,"timestamp_ms":1786370926000,"timestamp_seconds":1786370926,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0125b0"} 
[2026-08-10 19:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 19:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310951680001,"66":12917,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310951680001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:43:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310951680001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":154510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:43:18] local.INFO: GPS data processed {"connection_id":154510,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:43:18] local.INFO: Acknowledgment sent {"connection_id":154510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:43:35] local.INFO: TCP Data received {"connection_id":153080,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:43:35] local.INFO: Processing buffer {"connection_id":153080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:43:35] local.INFO: Packet analysis {"connection_id":153080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:43:35] local.INFO: Extracted packet for processing {"connection_id":153080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310892032001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786370973000,"timestamp_ms":1786370973000,"timestamp_seconds":1786370973,"priority":1,"record_length":96,"hex_timestamp":"0000019fec01dd48"} 
[2026-08-10 19:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310892032001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310892032001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:43:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310892032001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":153080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:43:35] local.INFO: GPS data processed {"connection_id":153080,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:43:35] local.INFO: Acknowledgment sent {"connection_id":153080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:43:41] local.INFO: TCP Data received {"connection_id":152156,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:43:41] local.INFO: Processing buffer {"connection_id":152156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:43:41] local.INFO: IMEI packet received {"connection_id":152156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":152156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:43:46] local.INFO: TCP Data received {"connection_id":152156,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:43:46] local.INFO: Processing buffer {"connection_id":152156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:43:46] local.INFO: IMEI packet received {"connection_id":152156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":152156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:43:47] local.INFO: TCP Data received {"connection_id":152156,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0177b8012d1858000721fed8005500d623..."} 
[2026-08-10 19:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0177b8012d1858000721fed8005500d623..."} 
[2026-08-10 19:43:47] local.INFO: Processing buffer {"connection_id":152156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0177b8012d1858000721fed8005500d623..."} 
[2026-08-10 19:43:47] local.INFO: Packet analysis {"connection_id":152156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:43:47] local.INFO: Extracted packet for processing {"connection_id":152156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":35,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310957056001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786370947000,"timestamp_ms":1786370947000,"timestamp_seconds":1786370947,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0177b8"} 
[2026-08-10 19:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-10 19:43: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-08-10 19:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310957056001,"66":12885,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310957056001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:43:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310957056001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":152156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:43:47] local.INFO: GPS data processed {"connection_id":152156,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:43:47] local.INFO: Acknowledgment sent {"connection_id":152156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:43:52] local.INFO: TCP Data received {"connection_id":152156,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec01c9c0012d1858000721fed8005500d625..."} 
[2026-08-10 19:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec01c9c0012d1858000721fed8005500d625..."} 
[2026-08-10 19:43:52] local.INFO: Processing buffer {"connection_id":152156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec01c9c0012d1858000721fed8005500d625..."} 
[2026-08-10 19:43:52] local.INFO: Packet analysis {"connection_id":152156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:43:52] local.INFO: Extracted packet for processing {"connection_id":152156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:43:52] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310962432001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786370968000,"timestamp_ms":1786370968000,"timestamp_seconds":1786370968,"priority":1,"record_length":96,"hex_timestamp":"0000019fec01c9c0"} 
[2026-08-10 19:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-10 19:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310962432001,"66":12874,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310962432001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:43:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:43:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310962432001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":152156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:43:52] local.INFO: GPS data processed {"connection_id":152156,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:43:52] local.INFO: Acknowledgment sent {"connection_id":152156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:43:58] local.INFO: TCP Data received {"connection_id":154511,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:43:58] local.INFO: Processing buffer {"connection_id":154511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:43:58] local.INFO: IMEI packet received {"connection_id":154511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":154511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:44:03] local.INFO: TCP Data received {"connection_id":154511,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:44:03] local.INFO: Processing buffer {"connection_id":154511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:44:03] local.INFO: IMEI packet received {"connection_id":154511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":154511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:44:04] local.INFO: TCP Data received {"connection_id":154511,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:44:04] local.INFO: Processing buffer {"connection_id":154511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:44:04] local.INFO: Packet analysis {"connection_id":154511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:44:04] local.INFO: Extracted packet for processing {"connection_id":154511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310892032001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370973000,"timestamp_ms":1786370973000,"timestamp_seconds":1786370973,"priority":1,"record_length":96,"hex_timestamp":"0000019fec01dd48"} 
[2026-08-10 19:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310892032001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310892032001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:44:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310892032001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":154511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:44:04] local.INFO: GPS data processed {"connection_id":154511,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:44:04] local.INFO: Acknowledgment sent {"connection_id":154511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:44:23] local.INFO: TCP Data received {"connection_id":152156,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec021bc8012d1858000721fed8005500d626..."} 
[2026-08-10 19:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec021bc8012d1858000721fed8005500d626..."} 
[2026-08-10 19:44:23] local.INFO: Processing buffer {"connection_id":152156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec021bc8012d1858000721fed8005500d626..."} 
[2026-08-10 19:44:23] local.INFO: Packet analysis {"connection_id":152156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec02"} 
[2026-08-10 19:44:23] local.INFO: Extracted packet for processing {"connection_id":152156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec02"} 
[2026-08-10 19:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310967808001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786370989000,"timestamp_ms":1786370989000,"timestamp_seconds":1786370989,"priority":1,"record_length":96,"hex_timestamp":"0000019fec021bc8"} 
[2026-08-10 19:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-10 19:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310967808001,"66":12841,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310967808001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:44:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310967808001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":152156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:44:23] local.INFO: GPS data processed {"connection_id":152156,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:44:23] local.INFO: Acknowledgment sent {"connection_id":152156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:44:35] local.INFO: TCP Data received {"connection_id":154511,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:44:35] local.INFO: Processing buffer {"connection_id":154511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:44:35] local.INFO: Packet analysis {"connection_id":154511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:44:35] local.INFO: Extracted packet for processing {"connection_id":154511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310892032001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786370973000,"timestamp_ms":1786370973000,"timestamp_seconds":1786370973,"priority":1,"record_length":96,"hex_timestamp":"0000019fec01dd48"} 
[2026-08-10 19:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310892032001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310892032001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:44:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310892032001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":154511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:44:35] local.INFO: GPS data processed {"connection_id":154511,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:44:35] local.INFO: Acknowledgment sent {"connection_id":154511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:44:41] local.INFO: TCP Data received {"connection_id":151756,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:44:41] local.INFO: Processing buffer {"connection_id":151756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:44:41] local.INFO: IMEI packet received {"connection_id":151756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":151756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:44:46] local.INFO: TCP Data received {"connection_id":151756,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:44:46] local.INFO: Processing buffer {"connection_id":151756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:44:46] local.INFO: IMEI packet received {"connection_id":151756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":151756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:44:47] local.INFO: TCP Data received {"connection_id":151756,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec026dd0012d1858000721fed8005500d626..."} 
[2026-08-10 19:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec026dd0012d1858000721fed8005500d626..."} 
[2026-08-10 19:44:47] local.INFO: Processing buffer {"connection_id":151756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec026dd0012d1858000721fed8005500d626..."} 
[2026-08-10 19:44:47] local.INFO: Packet analysis {"connection_id":151756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec02"} 
[2026-08-10 19:44:47] local.INFO: Extracted packet for processing {"connection_id":151756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec02"} 
[2026-08-10 19:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310973184001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371010000,"timestamp_ms":1786371010000,"timestamp_seconds":1786371010,"priority":1,"record_length":96,"hex_timestamp":"0000019fec026dd0"} 
[2026-08-10 19:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 19:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310973184001,"66":12819,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310973184001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:44:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310973184001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":151756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:44:47] local.INFO: GPS data processed {"connection_id":151756,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:44:47] local.INFO: Acknowledgment sent {"connection_id":151756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:44:58] local.INFO: TCP Data received {"connection_id":151757,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:44:58] local.INFO: Processing buffer {"connection_id":151757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:44:58] local.INFO: IMEI packet received {"connection_id":151757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":151757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:45:03] local.INFO: TCP Data received {"connection_id":151757,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:45:03] local.INFO: Processing buffer {"connection_id":151757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:45:03] local.INFO: IMEI packet received {"connection_id":151757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":151757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:45:04] local.INFO: TCP Data received {"connection_id":151757,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:45:04] local.INFO: Processing buffer {"connection_id":151757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec01dd48012d34248006abc1900016007e24..."} 
[2026-08-10 19:45:04] local.INFO: Packet analysis {"connection_id":151757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:45:04] local.INFO: Extracted packet for processing {"connection_id":151757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec01"} 
[2026-08-10 19:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310892032001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786370973000,"timestamp_ms":1786370973000,"timestamp_seconds":1786370973,"priority":1,"record_length":96,"hex_timestamp":"0000019fec01dd48"} 
[2026-08-10 19:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310892032001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310892032001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:45:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310892032001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":151757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:45:04] local.INFO: GPS data processed {"connection_id":151757,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:45:04] local.INFO: Acknowledgment sent {"connection_id":151757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:45:18] local.INFO: TCP Data received {"connection_id":151756,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec02bfd8012d1858000721fed8005500d626..."} 
[2026-08-10 19:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec02bfd8012d1858000721fed8005500d626..."} 
[2026-08-10 19:45:18] local.INFO: Processing buffer {"connection_id":151756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec02bfd8012d1858000721fed8005500d626..."} 
[2026-08-10 19:45:18] local.INFO: Packet analysis {"connection_id":151756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec02"} 
[2026-08-10 19:45:18] local.INFO: Extracted packet for processing {"connection_id":151756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec02"} 
[2026-08-10 19:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310978560001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786371031000,"timestamp_ms":1786371031000,"timestamp_seconds":1786371031,"priority":1,"record_length":96,"hex_timestamp":"0000019fec02bfd8"} 
[2026-08-10 19:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3959456160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503776368721920,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":236,"raw_value":13396454724360256,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4275568725,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2449720704204068386,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195005952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84750737447789056,"corrected_to":0} 
[2026-08-10 19:45:18] local.WARNING: Large IO value detected {"io_id":128,"raw_value":23926193946364416,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:18] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,38,159,27,45,254,85,10,66,201,37,119,1,240,227,236,33,4,113,205,211,88,216,34,239,50,2,41,7,164,69,200,128],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0},{"io_id":200,"original":84750737447789056,"validated":0}]} 
[2026-08-10 19:45:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6125130951920975872,"timestamp_seconds":6125130951920976.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310978560001,"66":12841,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310978560001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:45:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310978560001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":151756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:45:18] local.INFO: GPS data processed {"connection_id":151756,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:45:18] local.INFO: Acknowledgment sent {"connection_id":151756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:45:38] local.INFO: TCP Data received {"connection_id":151757,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:45:38] local.INFO: Processing buffer {"connection_id":151757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:45:38] local.INFO: Packet analysis {"connection_id":151757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:45:38] local.INFO: Extracted packet for processing {"connection_id":151757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":27,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310969088001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786371274000,"timestamp_ms":1786371274000,"timestamp_seconds":1786371274,"priority":1,"record_length":96,"hex_timestamp":"0000019fec067510"} 
[2026-08-10 19:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310969088001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310969088001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:45:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310969088001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":151757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:45:38] local.INFO: GPS data processed {"connection_id":151757,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:45:38] local.INFO: Acknowledgment sent {"connection_id":151757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:45:41] local.INFO: TCP Data received {"connection_id":151758,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:45:41] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:45:41] local.INFO: IMEI packet received {"connection_id":151758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":151758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:45:42] local.INFO: TCP Data received {"connection_id":151758,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:45:42] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:45:42] local.INFO: IMEI packet received {"connection_id":151758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":151758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:45:46] local.INFO: TCP Data received {"connection_id":151758,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:45:46] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:45:46] local.INFO: IMEI packet received {"connection_id":151758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":151758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:45:47] local.INFO: TCP Data received {"connection_id":151758,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec064630012d1858000721fed8005500d623..."} 
[2026-08-10 19:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec064630012d1858000721fed8005500d623..."} 
[2026-08-10 19:45:47] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec064630012d1858000721fed8005500d623..."} 
[2026-08-10 19:45:47] local.INFO: Packet analysis {"connection_id":151758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:45:47] local.INFO: Extracted packet for processing {"connection_id":151758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":35,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311037696001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371262000,"timestamp_ms":1786371262000,"timestamp_seconds":1786371262,"priority":1,"record_length":96,"hex_timestamp":"0000019fec064630"} 
[2026-08-10 19:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-10 19:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311037696001,"66":12667,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311037696001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:45:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:45:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311037696001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":151758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:45:47] local.INFO: GPS data processed {"connection_id":151758,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:45:47] local.INFO: Acknowledgment sent {"connection_id":151758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:45:58] local.INFO: TCP Data received {"connection_id":154512,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:45:58] local.INFO: Processing buffer {"connection_id":154512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:45:58] local.INFO: IMEI packet received {"connection_id":154512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":154512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:46:03] local.INFO: TCP Data received {"connection_id":154512,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:46:03] local.INFO: Processing buffer {"connection_id":154512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:46:03] local.INFO: IMEI packet received {"connection_id":154512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":154512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:46:04] local.INFO: TCP Data received {"connection_id":154512,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:46:04] local.INFO: Processing buffer {"connection_id":154512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:46:04] local.INFO: Packet analysis {"connection_id":154512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:46:04] local.INFO: Extracted packet for processing {"connection_id":154512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":27,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310969088001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786371274000,"timestamp_ms":1786371274000,"timestamp_seconds":1786371274,"priority":1,"record_length":96,"hex_timestamp":"0000019fec067510"} 
[2026-08-10 19:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310969088001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310969088001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:46:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310969088001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":154512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:46:04] local.INFO: GPS data processed {"connection_id":154512,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:46:04] local.INFO: Acknowledgment sent {"connection_id":154512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:46:18] local.INFO: TCP Data received {"connection_id":151758,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec069838012d1858000721fed8005500d624..."} 
[2026-08-10 19:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec069838012d1858000721fed8005500d624..."} 
[2026-08-10 19:46:18] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec069838012d1858000721fed8005500d624..."} 
[2026-08-10 19:46:18] local.INFO: Packet analysis {"connection_id":151758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:46:18] local.INFO: Extracted packet for processing {"connection_id":151758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311043072001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786371283000,"timestamp_ms":1786371283000,"timestamp_seconds":1786371283,"priority":1,"record_length":96,"hex_timestamp":"0000019fec069838"} 
[2026-08-10 19:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 19:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311043072001,"66":12667,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311043072001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:46:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311043072001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":151758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:46:18] local.INFO: GPS data processed {"connection_id":151758,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:46:18] local.INFO: Acknowledgment sent {"connection_id":151758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:46:35] local.INFO: TCP Data received {"connection_id":154512,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:46:35] local.INFO: Processing buffer {"connection_id":154512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:46:35] local.INFO: Packet analysis {"connection_id":154512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:46:35] local.INFO: Extracted packet for processing {"connection_id":154512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":27,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310969088001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786371274000,"timestamp_ms":1786371274000,"timestamp_seconds":1786371274,"priority":1,"record_length":96,"hex_timestamp":"0000019fec067510"} 
[2026-08-10 19:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310969088001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310969088001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:46:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310969088001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":154512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:46:35] local.INFO: GPS data processed {"connection_id":154512,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:46:35] local.INFO: Acknowledgment sent {"connection_id":154512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:46:41] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:46:41] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:46:41] local.INFO: IMEI packet received {"connection_id":151759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":151759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:46:46] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:46:46] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:46:46] local.INFO: IMEI packet received {"connection_id":151759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":151759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:46:46] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:46:46] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:46:46] local.INFO: IMEI packet received {"connection_id":151759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":151759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:46:47] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec06ea40012d1858000721fed8005500d625..."} 
[2026-08-10 19:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec06ea40012d1858000721fed8005500d625..."} 
[2026-08-10 19:46:47] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec06ea40012d1858000721fed8005500d625..."} 
[2026-08-10 19:46:47] local.INFO: Packet analysis {"connection_id":151759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:46:47] local.INFO: Extracted packet for processing {"connection_id":151759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311048448001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371304000,"timestamp_ms":1786371304000,"timestamp_seconds":1786371304,"priority":1,"record_length":96,"hex_timestamp":"0000019fec06ea40"} 
[2026-08-10 19:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 19:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311048448001,"66":12613,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311048448001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:46:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311048448001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":151759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:46:47] local.INFO: GPS data processed {"connection_id":151759,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:46:47] local.INFO: Acknowledgment sent {"connection_id":151759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:46:58] local.INFO: TCP Data received {"connection_id":154513,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:46:58] local.INFO: Processing buffer {"connection_id":154513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:46:58] local.INFO: IMEI packet received {"connection_id":154513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":154513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:47:03] local.INFO: TCP Data received {"connection_id":154513,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:47:03] local.INFO: Processing buffer {"connection_id":154513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:47:03] local.INFO: IMEI packet received {"connection_id":154513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":154513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:47:05] local.INFO: TCP Data received {"connection_id":154513,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:47:05] local.INFO: Processing buffer {"connection_id":154513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:47:05] local.INFO: Packet analysis {"connection_id":154513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:47:05] local.INFO: Extracted packet for processing {"connection_id":154513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":27,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310969088001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786371274000,"timestamp_ms":1786371274000,"timestamp_seconds":1786371274,"priority":1,"record_length":96,"hex_timestamp":"0000019fec067510"} 
[2026-08-10 19:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:47: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-08-10 19:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310969088001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310969088001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:47:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310969088001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":154513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:47:05] local.INFO: GPS data processed {"connection_id":154513,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:47:05] local.INFO: Acknowledgment sent {"connection_id":154513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:47:18] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec073c48012d1858000721fed8005500d624..."} 
[2026-08-10 19:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec073c48012d1858000721fed8005500d624..."} 
[2026-08-10 19:47:18] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec073c48012d1858000721fed8005500d624..."} 
[2026-08-10 19:47:18] local.INFO: Packet analysis {"connection_id":151759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec07"} 
[2026-08-10 19:47:18] local.INFO: Extracted packet for processing {"connection_id":151759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec07"} 
[2026-08-10 19:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311053824001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786371325000,"timestamp_ms":1786371325000,"timestamp_seconds":1786371325,"priority":1,"record_length":96,"hex_timestamp":"0000019fec073c48"} 
[2026-08-10 19:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 19:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311053824001,"66":12667,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311053824001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:47:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:47:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311053824001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":151759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:47:18] local.INFO: GPS data processed {"connection_id":151759,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:47:18] local.INFO: Acknowledgment sent {"connection_id":151759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:47:38] local.INFO: TCP Data received {"connection_id":154513,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:47:38] local.INFO: Processing buffer {"connection_id":154513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:47:38] local.INFO: Packet analysis {"connection_id":154513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:47:38] local.INFO: Extracted packet for processing {"connection_id":154513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":27,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310969088001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786371274000,"timestamp_ms":1786371274000,"timestamp_seconds":1786371274,"priority":1,"record_length":96,"hex_timestamp":"0000019fec067510"} 
[2026-08-10 19:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310969088001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310969088001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:47:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310969088001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":154513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:47:38] local.INFO: GPS data processed {"connection_id":154513,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:47:38] local.INFO: Acknowledgment sent {"connection_id":154513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:47:41] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:47:41] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:47:41] local.INFO: IMEI packet received {"connection_id":151760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":151760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:47:46] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:47:46] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:47:46] local.INFO: IMEI packet received {"connection_id":151760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":151760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:47:47] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec078e50012d1858000721fed8005500d622..."} 
[2026-08-10 19:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec078e50012d1858000721fed8005500d622..."} 
[2026-08-10 19:47:47] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec078e50012d1858000721fed8005500d622..."} 
[2026-08-10 19:47:47] local.INFO: Packet analysis {"connection_id":151760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec07"} 
[2026-08-10 19:47:47] local.INFO: Extracted packet for processing {"connection_id":151760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec07"} 
[2026-08-10 19:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":34,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311059200001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371346000,"timestamp_ms":1786371346000,"timestamp_seconds":1786371346,"priority":1,"record_length":96,"hex_timestamp":"0000019fec078e50"} 
[2026-08-10 19:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-10 19:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311059200001,"66":12613,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311059200001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:47:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311059200001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":151760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:47:47] local.INFO: GPS data processed {"connection_id":151760,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:47:47] local.INFO: Acknowledgment sent {"connection_id":151760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:47:48] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec07e058012d1858000721fed8005500d622..."} 
[2026-08-10 19:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec07e058012d1858000721fed8005500d622..."} 
[2026-08-10 19:47:48] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec07e058012d1858000721fed8005500d622..."} 
[2026-08-10 19:47:48] local.INFO: Packet analysis {"connection_id":151760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec07"} 
[2026-08-10 19:47:48] local.INFO: Extracted packet for processing {"connection_id":151760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec07"} 
[2026-08-10 19:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":34,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311064576001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786371367000,"timestamp_ms":1786371367000,"timestamp_seconds":1786371367,"priority":1,"record_length":96,"hex_timestamp":"0000019fec07e058"} 
[2026-08-10 19:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 19:47: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-08-10 19:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311064576001,"66":12591,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311064576001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:47:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311064576001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":151760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:47:48] local.INFO: GPS data processed {"connection_id":151760,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:47:48] local.INFO: Acknowledgment sent {"connection_id":151760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:47:58] local.INFO: TCP Data received {"connection_id":152157,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:47:58] local.INFO: Processing buffer {"connection_id":152157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:47:58] local.INFO: IMEI packet received {"connection_id":152157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":152157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:48:03] local.INFO: TCP Data received {"connection_id":152157,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:48:03] local.INFO: Processing buffer {"connection_id":152157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:48:03] local.INFO: IMEI packet received {"connection_id":152157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":152157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:48:04] local.INFO: TCP Data received {"connection_id":152157,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:48:04] local.INFO: Processing buffer {"connection_id":152157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:48:04] local.INFO: Packet analysis {"connection_id":152157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:48:04] local.INFO: Extracted packet for processing {"connection_id":152157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":27,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310969088001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786371274000,"timestamp_ms":1786371274000,"timestamp_seconds":1786371274,"priority":1,"record_length":96,"hex_timestamp":"0000019fec067510"} 
[2026-08-10 19:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310969088001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310969088001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:48:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310969088001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":152157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:48:04] local.INFO: GPS data processed {"connection_id":152157,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:48:04] local.INFO: Acknowledgment sent {"connection_id":152157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:48:20] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec083260012d1858000721fed8005500d624..."} 
[2026-08-10 19:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec083260012d1858000721fed8005500d624..."} 
[2026-08-10 19:48:20] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec083260012d1858000721fed8005500d624..."} 
[2026-08-10 19:48:20] local.INFO: Packet analysis {"connection_id":151760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec08"} 
[2026-08-10 19:48:20] local.INFO: Extracted packet for processing {"connection_id":151760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec08"} 
[2026-08-10 19:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311069952001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786371388000,"timestamp_ms":1786371388000,"timestamp_seconds":1786371388,"priority":1,"record_length":96,"hex_timestamp":"0000019fec083260"} 
[2026-08-10 19:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-10 19:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311069952001,"66":12613,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311069952001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:48:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:48:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311069952001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":151760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:48:20] local.INFO: GPS data processed {"connection_id":151760,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:48:20] local.INFO: Acknowledgment sent {"connection_id":151760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:48:35] local.INFO: TCP Data received {"connection_id":152157,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:48:35] local.INFO: Processing buffer {"connection_id":152157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:48:35] local.INFO: Packet analysis {"connection_id":152157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:48:35] local.INFO: Extracted packet for processing {"connection_id":152157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":27,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310969088001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786371274000,"timestamp_ms":1786371274000,"timestamp_seconds":1786371274,"priority":1,"record_length":96,"hex_timestamp":"0000019fec067510"} 
[2026-08-10 19:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310969088001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310969088001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:48:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310969088001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":152157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:48:35] local.INFO: GPS data processed {"connection_id":152157,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:48:35] local.INFO: Acknowledgment sent {"connection_id":152157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:48:41] local.INFO: TCP Data received {"connection_id":154514,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:48:41] local.INFO: Processing buffer {"connection_id":154514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:48:41] local.INFO: IMEI packet received {"connection_id":154514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":154514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:48:46] local.INFO: TCP Data received {"connection_id":154514,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:48:46] local.INFO: Processing buffer {"connection_id":154514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:48:46] local.INFO: IMEI packet received {"connection_id":154514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":154514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:48:47] local.INFO: TCP Data received {"connection_id":154514,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec088468012d1858000721fed8005500d624..."} 
[2026-08-10 19:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec088468012d1858000721fed8005500d624..."} 
[2026-08-10 19:48:47] local.INFO: Processing buffer {"connection_id":154514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec088468012d1858000721fed8005500d624..."} 
[2026-08-10 19:48:47] local.INFO: Packet analysis {"connection_id":154514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec08"} 
[2026-08-10 19:48:47] local.INFO: Extracted packet for processing {"connection_id":154514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec08"} 
[2026-08-10 19:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311075328001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371409000,"timestamp_ms":1786371409000,"timestamp_seconds":1786371409,"priority":1,"record_length":96,"hex_timestamp":"0000019fec088468"} 
[2026-08-10 19:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-10 19:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311075328001,"66":12602,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311075328001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:48:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311075328001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":154514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:48:47] local.INFO: GPS data processed {"connection_id":154514,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:48:47] local.INFO: Acknowledgment sent {"connection_id":154514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:48:52] local.INFO: TCP Data received {"connection_id":154514,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec08d670012d1858000721fed8005500d620..."} 
[2026-08-10 19:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec08d670012d1858000721fed8005500d620..."} 
[2026-08-10 19:48:52] local.INFO: Processing buffer {"connection_id":154514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec08d670012d1858000721fed8005500d620..."} 
[2026-08-10 19:48:52] local.INFO: Packet analysis {"connection_id":154514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec08"} 
[2026-08-10 19:48:52] local.INFO: Extracted packet for processing {"connection_id":154514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec08"} 
[2026-08-10 19:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":32,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311080704001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786371430000,"timestamp_ms":1786371430000,"timestamp_seconds":1786371430,"priority":1,"record_length":96,"hex_timestamp":"0000019fec08d670"} 
[2026-08-10 19:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-10 19:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311080704001,"66":12558,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311080704001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:48:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311080704001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":154514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:48:52] local.INFO: GPS data processed {"connection_id":154514,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:48:52] local.INFO: Acknowledgment sent {"connection_id":154514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:48:58] local.INFO: TCP Data received {"connection_id":152158,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:48:58] local.INFO: Processing buffer {"connection_id":152158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:48:58] local.INFO: IMEI packet received {"connection_id":152158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":152158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:49:03] local.INFO: TCP Data received {"connection_id":152158,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:49:03] local.INFO: Processing buffer {"connection_id":152158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:49:03] local.INFO: IMEI packet received {"connection_id":152158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":152158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:49:04] local.INFO: TCP Data received {"connection_id":152158,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:49:04] local.INFO: Processing buffer {"connection_id":152158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:49:04] local.INFO: Packet analysis {"connection_id":152158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:49:04] local.INFO: Extracted packet for processing {"connection_id":152158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":27,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310969088001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786371274000,"timestamp_ms":1786371274000,"timestamp_seconds":1786371274,"priority":1,"record_length":96,"hex_timestamp":"0000019fec067510"} 
[2026-08-10 19:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310969088001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310969088001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:49:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310969088001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":152158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:49:04] local.INFO: GPS data processed {"connection_id":152158,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:49:04] local.INFO: Acknowledgment sent {"connection_id":152158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:49:23] local.INFO: TCP Data received {"connection_id":154514,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec092878012d1858000721fed8005500d625..."} 
[2026-08-10 19:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec092878012d1858000721fed8005500d625..."} 
[2026-08-10 19:49:23] local.INFO: Processing buffer {"connection_id":154514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec092878012d1858000721fed8005500d625..."} 
[2026-08-10 19:49:23] local.INFO: Packet analysis {"connection_id":154514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec09"} 
[2026-08-10 19:49:23] local.INFO: Extracted packet for processing {"connection_id":154514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec09"} 
[2026-08-10 19:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311086080001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786371451000,"timestamp_ms":1786371451000,"timestamp_seconds":1786371451,"priority":1,"record_length":96,"hex_timestamp":"0000019fec092878"} 
[2026-08-10 19:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3959876160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249443888290725592,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4275568725,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,38,159,132,45,254,85,36,10,66,50,224,1,240,47,227,236,33,4,113,205,60,88,216,239,49,2,41,7,106,90,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 19:49:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6125130926151172096,"timestamp_seconds":6125130926151172.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311086080001,"66":12037,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311086080001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:49:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311086080001,"power":12037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":154514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:49:23] local.INFO: GPS data processed {"connection_id":154514,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:49:23] local.INFO: Acknowledgment sent {"connection_id":154514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:49:35] local.INFO: TCP Data received {"connection_id":152158,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:49:35] local.INFO: Processing buffer {"connection_id":152158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:49:35] local.INFO: Packet analysis {"connection_id":152158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:49:35] local.INFO: Extracted packet for processing {"connection_id":152158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":27,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310969088001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786371274000,"timestamp_ms":1786371274000,"timestamp_seconds":1786371274,"priority":1,"record_length":96,"hex_timestamp":"0000019fec067510"} 
[2026-08-10 19:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310969088001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310969088001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:49:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310969088001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":152158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:49:35] local.INFO: GPS data processed {"connection_id":152158,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:49:35] local.INFO: Acknowledgment sent {"connection_id":152158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:49:41] local.INFO: TCP Data received {"connection_id":154515,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:49:41] local.INFO: Processing buffer {"connection_id":154515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:49:41] local.INFO: IMEI packet received {"connection_id":154515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":154515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:49:46] local.INFO: TCP Data received {"connection_id":154515,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:49:46] local.INFO: Processing buffer {"connection_id":154515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:49:46] local.INFO: IMEI packet received {"connection_id":154515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":154515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:49:47] local.INFO: TCP Data received {"connection_id":154515,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec097a80012d1858000721fed8005500d624..."} 
[2026-08-10 19:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec097a80012d1858000721fed8005500d624..."} 
[2026-08-10 19:49:47] local.INFO: Processing buffer {"connection_id":154515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec097a80012d1858000721fed8005500d624..."} 
[2026-08-10 19:49:47] local.INFO: Packet analysis {"connection_id":154515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec09"} 
[2026-08-10 19:49:47] local.INFO: Extracted packet for processing {"connection_id":154515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec09"} 
[2026-08-10 19:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119668440,"longitude_deg":75.6570112,"latitude_deg":11.966844,"altitude":85,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d185800","hex_latitude":"0721fed8","is_valid_coordinates":true} 
[2026-08-10 19:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311091456001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582929796857856,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371472000,"timestamp_ms":1786371472000,"timestamp_seconds":1786371472,"priority":1,"record_length":96,"hex_timestamp":"0000019fec097a80"} 
[2026-08-10 19:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 19:49:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:47] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3959897160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:47] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194978048,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4275568725,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-10 19:49:47] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2449632743273846308,"note":"Value kept but may cause issues"} 
[2026-08-10 19:49:47] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,38,159,214,45,254,85,32,10,66,132,36,50,1,240,69,227,236,33,4,113,205,142,88,216,34,239,49,2,41,7],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-08-10 19:49:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6125130947626008576,"timestamp_seconds":6125130947626009.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311091456001,"66":11765,"105":206,"83":41984,"24":0,"16":11582929796857856,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311091456001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:49:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582929796857856,"km_value":11582929796857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311091456001,"power":11765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":154515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:49:47] local.INFO: GPS data processed {"connection_id":154515,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:49:47] local.INFO: Acknowledgment sent {"connection_id":154515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:49:58] local.INFO: TCP Data received {"connection_id":152159,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:49:58] local.INFO: Processing buffer {"connection_id":152159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:49:58] local.INFO: IMEI packet received {"connection_id":152159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":152159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:50:03] local.INFO: TCP Data received {"connection_id":152159,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:50:03] local.INFO: Processing buffer {"connection_id":152159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:50:03] local.INFO: IMEI packet received {"connection_id":152159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":152159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:50:04] local.INFO: TCP Data received {"connection_id":152159,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:50:04] local.INFO: Processing buffer {"connection_id":152159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec067510012d34248006abc190001b007e21..."} 
[2026-08-10 19:50:04] local.INFO: Packet analysis {"connection_id":152159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:50:04] local.INFO: Extracted packet for processing {"connection_id":152159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec06"} 
[2026-08-10 19:50:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":27,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457310969088001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786371274000,"timestamp_ms":1786371274000,"timestamp_seconds":1786371274,"priority":1,"record_length":96,"hex_timestamp":"0000019fec067510"} 
[2026-08-10 19:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457310969088001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457310969088001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:50:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:50:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457310969088001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":152159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:50:04] local.INFO: GPS data processed {"connection_id":152159,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:50:04] local.INFO: Acknowledgment sent {"connection_id":152159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:50:18] local.INFO: TCP Data received {"connection_id":154515,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec09cc88012d1854400721f910005000d723..."} 
[2026-08-10 19:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec09cc88012d1854400721f910005000d723..."} 
[2026-08-10 19:50:18] local.INFO: Processing buffer {"connection_id":154515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec09cc88012d1854400721f910005000d723..."} 
[2026-08-10 19:50:18] local.INFO: Packet analysis {"connection_id":154515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec09"} 
[2026-08-10 19:50:18] local.INFO: Extracted packet for processing {"connection_id":154515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec09"} 
[2026-08-10 19:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756569152,"raw_latitude":119666960,"longitude_deg":75.6569152,"latitude_deg":11.966696,"altitude":80,"angle":215,"satellites":35,"speed":10,"hex_longitude":"2d185440","hex_latitude":"0721f910","is_valid_coordinates":true} 
[2026-08-10 19:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311096832001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11583015696203776,"note":"Value kept but may cause issues"} 
[2026-08-10 19:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495928832,"note":"Value kept but may cause issues"} 
[2026-08-10 19:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786371493000,"timestamp_ms":1786371493000,"timestamp_seconds":1786371493,"priority":1,"record_length":96,"hex_timestamp":"0000019fec09cc88"} 
[2026-08-10 19:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-10 19:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311096832001,"66":11656,"105":206,"83":41984,"24":10,"16":11583015696203776,"45":1754152085495928832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311096832001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:50:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11583015696203776,"km_value":11583015696203.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495928832,"description":"Unknown IO ID 45"} 
[2026-08-10 19:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311096832001,"power":11656,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1754152085495928832}} 
[2026-08-10 19:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":154515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:50:18] local.INFO: GPS data processed {"connection_id":154515,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:50:18] local.INFO: Acknowledgment sent {"connection_id":154515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:50:35] local.INFO: TCP Data received {"connection_id":152159,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:50:35] local.INFO: Processing buffer {"connection_id":152159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:50:35] local.INFO: Packet analysis {"connection_id":152159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:50:35] local.INFO: Extracted packet for processing {"connection_id":152159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":24,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311046144001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786371575000,"timestamp_ms":1786371575000,"timestamp_seconds":1786371575,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0b0cd8"} 
[2026-08-10 19:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311046144001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311046144001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:50:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311046144001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":152159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:50:35] local.INFO: GPS data processed {"connection_id":152159,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:50:35] local.INFO: Acknowledgment sent {"connection_id":152159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:50:41] local.INFO: TCP Data received {"connection_id":151761,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:50:41] local.INFO: Processing buffer {"connection_id":151761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:50:41] local.INFO: IMEI packet received {"connection_id":151761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":151761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:50:46] local.INFO: TCP Data received {"connection_id":151761,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:50:46] local.INFO: Processing buffer {"connection_id":151761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:50:46] local.INFO: IMEI packet received {"connection_id":151761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":151761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:50:47] local.INFO: TCP Data received {"connection_id":151761,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0a1e90012d183fc00721dbb0004d00d523..."} 
[2026-08-10 19:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0a1e90012d183fc00721dbb0004d00d523..."} 
[2026-08-10 19:50:47] local.INFO: Processing buffer {"connection_id":151761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0a1e90012d183fc00721dbb0004d00d523..."} 
[2026-08-10 19:50:47] local.INFO: Packet analysis {"connection_id":151761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0a"} 
[2026-08-10 19:50:47] local.INFO: Extracted packet for processing {"connection_id":151761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0a"} 
[2026-08-10 19:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119659440,"longitude_deg":75.6563904,"latitude_deg":11.965944,"altitude":77,"angle":213,"satellites":35,"speed":23,"hex_longitude":"2d183fc0","hex_latitude":"0721dbb0","is_valid_coordinates":true} 
[2026-08-10 19:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311102208001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11583458077835264,"note":"Value kept but may cause issues"} 
[2026-08-10 19:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753096554332884992,"note":"Value kept but may cause issues"} 
[2026-08-10 19:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371514000,"timestamp_ms":1786371514000,"timestamp_seconds":1786371514,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0a1e90"} 
[2026-08-10 19:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-10 19:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311102208001,"66":11798,"105":206,"83":41984,"24":23,"16":11583458077835264,"45":1753096554332884992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311102208001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:50:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:50:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11583458077835264,"km_value":11583458077835.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753096554332884992,"description":"Unknown IO ID 45"} 
[2026-08-10 19:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311102208001,"power":11798,"unknown_105":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1753096554332884992}} 
[2026-08-10 19:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":151761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:50:47] local.INFO: GPS data processed {"connection_id":151761,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:50:47] local.INFO: Acknowledgment sent {"connection_id":151761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:50:58] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:50:58] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:50:58] local.INFO: IMEI packet received {"connection_id":151762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":151762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:51:03] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:51:03] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:51:03] local.INFO: IMEI packet received {"connection_id":151762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":151762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:51:04] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:51:04] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:51:04] local.INFO: Packet analysis {"connection_id":151762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:51:04] local.INFO: Extracted packet for processing {"connection_id":151762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":24,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311046144001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786371575000,"timestamp_ms":1786371575000,"timestamp_seconds":1786371575,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0b0cd8"} 
[2026-08-10 19:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311046144001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311046144001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:51:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:51:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311046144001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":151762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:51:04] local.INFO: GPS data processed {"connection_id":151762,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:51:04] local.INFO: Acknowledgment sent {"connection_id":151762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:51:18] local.INFO: TCP Data received {"connection_id":151761,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0a1e90012d183fc00721dbb0004d00d523..."} 
[2026-08-10 19:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0a1e90012d183fc00721dbb0004d00d523..."} 
[2026-08-10 19:51:18] local.INFO: Processing buffer {"connection_id":151761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0a1e90012d183fc00721dbb0004d00d523..."} 
[2026-08-10 19:51:18] local.INFO: Packet analysis {"connection_id":151761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0a"} 
[2026-08-10 19:51:18] local.INFO: Extracted packet for processing {"connection_id":151761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0a"} 
[2026-08-10 19:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119659440,"longitude_deg":75.6563904,"latitude_deg":11.965944,"altitude":77,"angle":213,"satellites":35,"speed":23,"hex_longitude":"2d183fc0","hex_latitude":"0721dbb0","is_valid_coordinates":true} 
[2026-08-10 19:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311107584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11583458077835264,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317308391424,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786371514000,"timestamp_ms":1786371514000,"timestamp_seconds":1786371514,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0a1e90"} 
[2026-08-10 19:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3959960160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-83316228020100608,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847198448,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2007703266284800,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2782380144784834560,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2449958197289552384,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":47,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":-8192046428993355769,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:18] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,39,159,204,45,64,249,80,35,10,66,38,122,254,85,36,40,1,240,5,227,236,33,4,113,205,132,88,216,239,49,2,41,90,206,214,47,7],"length":632,"final_offset":762,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 19:51:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548669087222530048,"timestamp_seconds":5548669087222530.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311107584001,"66":11798,"105":206,"83":41984,"24":23,"16":11583458077835264,"45":1747326317308391424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311107584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:51:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11583458077835264,"km_value":11583458077835.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317308391424,"description":"Unknown IO ID 45"} 
[2026-08-10 19:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311107584001,"power":11798,"unknown_105":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1747326317308391424}} 
[2026-08-10 19:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":151761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:51:18] local.INFO: GPS data processed {"connection_id":151761,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:51:18] local.INFO: Acknowledgment sent {"connection_id":151761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:51:35] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:51:35] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:51:35] local.INFO: Packet analysis {"connection_id":151762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:51:35] local.INFO: Extracted packet for processing {"connection_id":151762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":24,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311046144001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786371575000,"timestamp_ms":1786371575000,"timestamp_seconds":1786371575,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0b0cd8"} 
[2026-08-10 19:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311046144001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311046144001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:51:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311046144001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":151762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:51:35] local.INFO: GPS data processed {"connection_id":151762,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:51:35] local.INFO: Acknowledgment sent {"connection_id":151762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:51:41] local.INFO: TCP Data received {"connection_id":153081,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:51:41] local.INFO: Processing buffer {"connection_id":153081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:51:41] local.INFO: IMEI packet received {"connection_id":153081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":153081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:51:46] local.INFO: TCP Data received {"connection_id":153081,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:51:46] local.INFO: Processing buffer {"connection_id":153081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:51:46] local.INFO: IMEI packet received {"connection_id":153081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":153081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:51:47] local.INFO: TCP Data received {"connection_id":153081,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0a5540012d182a800721be98004800d920..."} 
[2026-08-10 19:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0a5540012d182a800721be98004800d920..."} 
[2026-08-10 19:51:47] local.INFO: Processing buffer {"connection_id":153081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0a5540012d182a800721be98004800d920..."} 
[2026-08-10 19:51:47] local.INFO: Packet analysis {"connection_id":153081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0a"} 
[2026-08-10 19:51:47] local.INFO: Extracted packet for processing {"connection_id":153081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0a"} 
[2026-08-10 19:51:47] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119651992,"longitude_deg":75.6558464,"latitude_deg":11.9651992,"altitude":72,"angle":217,"satellites":32,"speed":26,"hex_longitude":"2d182a80","hex_latitude":"0721be98","is_valid_coordinates":true} 
[2026-08-10 19:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311107584001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11583904754434048,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317308391424,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371528000,"timestamp_ms":1786371528000,"timestamp_seconds":1786371528,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0a5540"} 
[2026-08-10 19:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3959981160,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-83316228020100608,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847198448,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2594073385365408256,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2007703266284800,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2782380144784834560,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":69,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":-2281071918069579769,"note":"Value kept but may cause issues"} 
[2026-08-10 19:51:47] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,39,159,30,45,192,219,77,35,10,66,204,64,249,80,38,122,1,240,245,227,236,33,4,113,205,214,88,216,32,239,49,2,41,90,206,69,7],"length":632,"final_offset":762,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 19:51:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548669087222530048,"timestamp_seconds":5548669087222530.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311107584001,"66":12254,"105":206,"83":41984,"24":26,"16":11583904754434048,"45":1747326317308391424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311107584001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:51:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:51:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11583904754434048,"km_value":11583904754434.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317308391424,"description":"Unknown IO ID 45"} 
[2026-08-10 19:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311107584001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1747326317308391424}} 
[2026-08-10 19:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":153081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:51:47] local.INFO: GPS data processed {"connection_id":153081,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:51:47] local.INFO: Acknowledgment sent {"connection_id":153081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:51:58] local.INFO: TCP Data received {"connection_id":152160,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:51:58] local.INFO: Processing buffer {"connection_id":152160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:51:58] local.INFO: IMEI packet received {"connection_id":152160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":152160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:52:03] local.INFO: TCP Data received {"connection_id":152160,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:52:03] local.INFO: Processing buffer {"connection_id":152160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:52:03] local.INFO: IMEI packet received {"connection_id":152160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":152160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:52:04] local.INFO: TCP Data received {"connection_id":152160,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:52:04] local.INFO: Processing buffer {"connection_id":152160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:52:04] local.INFO: Packet analysis {"connection_id":152160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:52:04] local.INFO: Extracted packet for processing {"connection_id":152160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":24,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311046144001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786371575000,"timestamp_ms":1786371575000,"timestamp_seconds":1786371575,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0b0cd8"} 
[2026-08-10 19:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311046144001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311046144001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:52:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311046144001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":152160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:52:04] local.INFO: GPS data processed {"connection_id":152160,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:52:04] local.INFO: Acknowledgment sent {"connection_id":152160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:52:18] local.INFO: TCP Data received {"connection_id":153081,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0aa748012d1820000721b0a0004700d221..."} 
[2026-08-10 19:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0aa748012d1820000721b0a0004700d221..."} 
[2026-08-10 19:52:18] local.INFO: Processing buffer {"connection_id":153081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0aa748012d1820000721b0a0004700d221..."} 
[2026-08-10 19:52:18] local.INFO: Packet analysis {"connection_id":153081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0a"} 
[2026-08-10 19:52:18] local.INFO: Extracted packet for processing {"connection_id":153081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0a"} 
[2026-08-10 19:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648416,"longitude_deg":75.6555776,"latitude_deg":11.9648416,"altitude":71,"angle":210,"satellites":33,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-10 19:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311111168001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584119502798848,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974051383296,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786371549000,"timestamp_ms":1786371549000,"timestamp_seconds":1786371549,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0aa748"} 
[2026-08-10 19:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-10 19:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311111168001,"66":12298,"105":206,"83":41984,"24":0,"16":11584119502798848,"45":1741344974051383296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311111168001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:52:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584119502798848,"km_value":11584119502798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974051383296,"description":"Unknown IO ID 45"} 
[2026-08-10 19:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311111168001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974051383296}} 
[2026-08-10 19:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":153081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:52:18] local.INFO: GPS data processed {"connection_id":153081,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:52:18] local.INFO: Acknowledgment sent {"connection_id":153081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:52:35] local.INFO: TCP Data received {"connection_id":152160,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:52:35] local.INFO: Processing buffer {"connection_id":152160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:52:35] local.INFO: Packet analysis {"connection_id":152160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:52:35] local.INFO: Extracted packet for processing {"connection_id":152160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":24,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311046144001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786371575000,"timestamp_ms":1786371575000,"timestamp_seconds":1786371575,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0b0cd8"} 
[2026-08-10 19:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311046144001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311046144001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:52:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311046144001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":152160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:52:35] local.INFO: GPS data processed {"connection_id":152160,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:52:35] local.INFO: Acknowledgment sent {"connection_id":152160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:52:41] local.INFO: TCP Data received {"connection_id":153082,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:52:41] local.INFO: Processing buffer {"connection_id":153082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:52:41] local.INFO: IMEI packet received {"connection_id":153082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":153082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:52:46] local.INFO: TCP Data received {"connection_id":153082,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:52:46] local.INFO: Processing buffer {"connection_id":153082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:52:46] local.INFO: IMEI packet received {"connection_id":153082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":153082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:52:47] local.INFO: TCP Data received {"connection_id":153082,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0af950012d1820000721b0a0004700d223..."} 
[2026-08-10 19:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0af950012d1820000721b0a0004700d223..."} 
[2026-08-10 19:52:47] local.INFO: Processing buffer {"connection_id":153082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0af950012d1820000721b0a0004700d223..."} 
[2026-08-10 19:52:47] local.INFO: Packet analysis {"connection_id":153082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0a"} 
[2026-08-10 19:52:47] local.INFO: Extracted packet for processing {"connection_id":153082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0a"} 
[2026-08-10 19:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648416,"longitude_deg":75.6555776,"latitude_deg":11.9648416,"altitude":71,"angle":210,"satellites":35,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-10 19:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311116544001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584119502798848,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795005952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371570000,"timestamp_ms":1786371570000,"timestamp_seconds":1786371570,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0af950"} 
[2026-08-10 19:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513972036168909014,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185641,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1438664304400459688,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":85,"raw_value":60276326946308096,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4110470506,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3388115176919728334,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4178575440,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.WARNING: Large IO value detected {"io_id":38,"raw_value":-7133701809754865663,"note":"Value kept but may cause issues"} 
[2026-08-10 19:52:47] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,39,159,85,45,128,190,72,32,10,66,30,192,219,77,35,1,240,22,227,236,33,4,113,205,122,88,216,36,239,2,41,7,38],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 19:52:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116320215868637184,"timestamp_seconds":5116320215868637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 19:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311116544001,"66":12341,"105":206,"83":41984,"24":0,"16":11584119502798848,"45":1738389486795005952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311116544001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:52:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:52:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584119502798848,"km_value":11584119502798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795005952,"description":"Unknown IO ID 45"} 
[2026-08-10 19:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311116544001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795005952}} 
[2026-08-10 19:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":153082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:52:47] local.INFO: GPS data processed {"connection_id":153082,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:52:47] local.INFO: Acknowledgment sent {"connection_id":153082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:52:58] local.INFO: TCP Data received {"connection_id":152161,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:52:58] local.INFO: Processing buffer {"connection_id":152161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:52:58] local.INFO: IMEI packet received {"connection_id":152161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":152161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:53:03] local.INFO: TCP Data received {"connection_id":152161,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:53:03] local.INFO: Processing buffer {"connection_id":152161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:53:03] local.INFO: IMEI packet received {"connection_id":152161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":152161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:53:04] local.INFO: TCP Data received {"connection_id":152161,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:53:04] local.INFO: Processing buffer {"connection_id":152161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:53:04] local.INFO: Packet analysis {"connection_id":152161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:53:04] local.INFO: Extracted packet for processing {"connection_id":152161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":24,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311046144001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786371575000,"timestamp_ms":1786371575000,"timestamp_seconds":1786371575,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0b0cd8"} 
[2026-08-10 19:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311046144001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311046144001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:53:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311046144001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":152161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:53:04] local.INFO: GPS data processed {"connection_id":152161,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:53:04] local.INFO: Acknowledgment sent {"connection_id":152161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:53:18] local.INFO: TCP Data received {"connection_id":153082,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0b4b58012d1820000721b0a0004700d220..."} 
[2026-08-10 19:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0b4b58012d1820000721b0a0004700d220..."} 
[2026-08-10 19:53:18] local.INFO: Processing buffer {"connection_id":153082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0b4b58012d1820000721b0a0004700d220..."} 
[2026-08-10 19:53:18] local.INFO: Packet analysis {"connection_id":153082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:53:18] local.INFO: Extracted packet for processing {"connection_id":153082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648416,"longitude_deg":75.6555776,"latitude_deg":11.9648416,"altitude":71,"angle":210,"satellites":32,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-10 19:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311121920001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584119502798848,"note":"Value kept but may cause issues"} 
[2026-08-10 19:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795005952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786371591000,"timestamp_ms":1786371591000,"timestamp_seconds":1786371591,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0b4b58"} 
[2026-08-10 19:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311121920001,"66":12341,"105":206,"83":41984,"24":0,"16":11584119502798848,"45":1738389486795005952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311121920001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:53:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:53:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584119502798848,"km_value":11584119502798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795005952,"description":"Unknown IO ID 45"} 
[2026-08-10 19:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311121920001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795005952}} 
[2026-08-10 19:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":153082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:53:18] local.INFO: GPS data processed {"connection_id":153082,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:53:18] local.INFO: Acknowledgment sent {"connection_id":153082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:53:35] local.INFO: TCP Data received {"connection_id":152161,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:53:35] local.INFO: Processing buffer {"connection_id":152161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:53:35] local.INFO: Packet analysis {"connection_id":152161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:53:35] local.INFO: Extracted packet for processing {"connection_id":152161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":24,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311046144001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786371575000,"timestamp_ms":1786371575000,"timestamp_seconds":1786371575,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0b0cd8"} 
[2026-08-10 19:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311046144001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311046144001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:53:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311046144001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":152161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:53:35] local.INFO: GPS data processed {"connection_id":152161,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:53:35] local.INFO: Acknowledgment sent {"connection_id":152161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:53:41] local.INFO: TCP Data received {"connection_id":153083,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:53:41] local.INFO: Processing buffer {"connection_id":153083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:53:41] local.INFO: IMEI packet received {"connection_id":153083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":153083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:53:46] local.INFO: TCP Data received {"connection_id":153083,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:53:46] local.INFO: Processing buffer {"connection_id":153083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:53:46] local.INFO: IMEI packet received {"connection_id":153083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":153083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:53:47] local.INFO: TCP Data received {"connection_id":153083,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0b9d60012d1820000721b0a0004700d221..."} 
[2026-08-10 19:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0b9d60012d1820000721b0a0004700d221..."} 
[2026-08-10 19:53:47] local.INFO: Processing buffer {"connection_id":153083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0b9d60012d1820000721b0a0004700d221..."} 
[2026-08-10 19:53:47] local.INFO: Packet analysis {"connection_id":153083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:53:47] local.INFO: Extracted packet for processing {"connection_id":153083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:53:47] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648416,"longitude_deg":75.6555776,"latitude_deg":11.9648416,"altitude":71,"angle":210,"satellites":33,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-10 19:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311127296001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584119502798848,"note":"Value kept but may cause issues"} 
[2026-08-10 19:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795005952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371612000,"timestamp_ms":1786371612000,"timestamp_seconds":1786371612,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0b9d60"} 
[2026-08-10 19:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 19:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311127296001,"66":12385,"105":206,"83":41984,"24":0,"16":11584119502798848,"45":1738389486795005952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311127296001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:53:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:53:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584119502798848,"km_value":11584119502798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795005952,"description":"Unknown IO ID 45"} 
[2026-08-10 19:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311127296001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795005952}} 
[2026-08-10 19:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":153083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:53:47] local.INFO: GPS data processed {"connection_id":153083,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:53:47] local.INFO: Acknowledgment sent {"connection_id":153083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:53:58] local.INFO: TCP Data received {"connection_id":151763,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:53:58] local.INFO: Processing buffer {"connection_id":151763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:53:58] local.INFO: IMEI packet received {"connection_id":151763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":151763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:54:03] local.INFO: TCP Data received {"connection_id":151763,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:54:03] local.INFO: Processing buffer {"connection_id":151763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:54:03] local.INFO: IMEI packet received {"connection_id":151763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":151763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:54:04] local.INFO: TCP Data received {"connection_id":151763,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:54:04] local.INFO: Processing buffer {"connection_id":151763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:54:04] local.INFO: Packet analysis {"connection_id":151763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:54:04] local.INFO: Extracted packet for processing {"connection_id":151763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":24,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311046144001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786371575000,"timestamp_ms":1786371575000,"timestamp_seconds":1786371575,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0b0cd8"} 
[2026-08-10 19:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311046144001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311046144001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:54:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311046144001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":151763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:54:04] local.INFO: GPS data processed {"connection_id":151763,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:54:04] local.INFO: Acknowledgment sent {"connection_id":151763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:54:18] local.INFO: TCP Data received {"connection_id":153083,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0bef68012d1820000721b0a0004700d226..."} 
[2026-08-10 19:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0bef68012d1820000721b0a0004700d226..."} 
[2026-08-10 19:54:18] local.INFO: Processing buffer {"connection_id":153083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0bef68012d1820000721b0a0004700d226..."} 
[2026-08-10 19:54:18] local.INFO: Packet analysis {"connection_id":153083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:54:18] local.INFO: Extracted packet for processing {"connection_id":153083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648416,"longitude_deg":75.6555776,"latitude_deg":11.9648416,"altitude":71,"angle":210,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-10 19:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311132672001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584119502798848,"note":"Value kept but may cause issues"} 
[2026-08-10 19:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795005952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786371633000,"timestamp_ms":1786371633000,"timestamp_seconds":1786371633,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0bef68"} 
[2026-08-10 19:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 19:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311132672001,"66":12385,"105":206,"83":41984,"24":0,"16":11584119502798848,"45":1738389486795005952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311132672001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:54:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584119502798848,"km_value":11584119502798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795005952,"description":"Unknown IO ID 45"} 
[2026-08-10 19:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311132672001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795005952}} 
[2026-08-10 19:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":153083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:54:18] local.INFO: GPS data processed {"connection_id":153083,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:54:18] local.INFO: Acknowledgment sent {"connection_id":153083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:54:36] local.INFO: TCP Data received {"connection_id":151763,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:54:36] local.INFO: Processing buffer {"connection_id":151763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:54:36] local.INFO: Packet analysis {"connection_id":151763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:54:36] local.INFO: Extracted packet for processing {"connection_id":151763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":24,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311046144001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786371575000,"timestamp_ms":1786371575000,"timestamp_seconds":1786371575,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0b0cd8"} 
[2026-08-10 19:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311046144001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311046144001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:54:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311046144001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":151763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:54:36] local.INFO: GPS data processed {"connection_id":151763,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:54:36] local.INFO: Acknowledgment sent {"connection_id":151763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:54:41] local.INFO: TCP Data received {"connection_id":153084,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:54:41] local.INFO: Processing buffer {"connection_id":153084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:54:41] local.INFO: IMEI packet received {"connection_id":153084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":153084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:54:42] local.INFO: TCP Data received {"connection_id":153084,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:54:42] local.INFO: Processing buffer {"connection_id":153084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:54:42] local.INFO: IMEI packet received {"connection_id":153084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":153084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:54:46] local.INFO: TCP Data received {"connection_id":153084,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:54:46] local.INFO: Processing buffer {"connection_id":153084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:54:46] local.INFO: IMEI packet received {"connection_id":153084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":153084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:54:47] local.INFO: TCP Data received {"connection_id":153084,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0c4170012d1820000721b0a0004700d224..."} 
[2026-08-10 19:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0c4170012d1820000721b0a0004700d224..."} 
[2026-08-10 19:54:47] local.INFO: Processing buffer {"connection_id":153084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0c4170012d1820000721b0a0004700d224..."} 
[2026-08-10 19:54:47] local.INFO: Packet analysis {"connection_id":153084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0c"} 
[2026-08-10 19:54:47] local.INFO: Extracted packet for processing {"connection_id":153084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0c"} 
[2026-08-10 19:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648416,"longitude_deg":75.6555776,"latitude_deg":11.9648416,"altitude":71,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-10 19:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311138048001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584119502798848,"note":"Value kept but may cause issues"} 
[2026-08-10 19:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795005952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371654000,"timestamp_ms":1786371654000,"timestamp_seconds":1786371654,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0c4170"} 
[2026-08-10 19:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 19:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311138048001,"66":12385,"105":206,"83":41984,"24":0,"16":11584119502798848,"45":1738389486795005952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311138048001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:54:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:54:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584119502798848,"km_value":11584119502798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795005952,"description":"Unknown IO ID 45"} 
[2026-08-10 19:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311138048001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795005952}} 
[2026-08-10 19:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":153084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:54:47] local.INFO: GPS data processed {"connection_id":153084,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:54:47] local.INFO: Acknowledgment sent {"connection_id":153084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:54:58] local.INFO: TCP Data received {"connection_id":153085,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:54:58] local.INFO: Processing buffer {"connection_id":153085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:54:58] local.INFO: IMEI packet received {"connection_id":153085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":153085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:55:03] local.INFO: TCP Data received {"connection_id":153085,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:55:03] local.INFO: Processing buffer {"connection_id":153085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:55:03] local.INFO: IMEI packet received {"connection_id":153085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":153085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:55:04] local.INFO: TCP Data received {"connection_id":153085,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:55:04] local.INFO: Processing buffer {"connection_id":153085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0b0cd8012d34248006abc1900018007e22..."} 
[2026-08-10 19:55:04] local.INFO: Packet analysis {"connection_id":153085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:55:04] local.INFO: Extracted packet for processing {"connection_id":153085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0b"} 
[2026-08-10 19:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":24,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311046144001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786371575000,"timestamp_ms":1786371575000,"timestamp_seconds":1786371575,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0b0cd8"} 
[2026-08-10 19:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311046144001,"66":25419,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311046144001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:55:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311046144001,"power":25419,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":153085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:55:04] local.INFO: GPS data processed {"connection_id":153085,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:55:04] local.INFO: Acknowledgment sent {"connection_id":153085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:55:18] local.INFO: TCP Data received {"connection_id":153084,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0c9378012d1820000721b0a0004700d222..."} 
[2026-08-10 19:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0c9378012d1820000721b0a0004700d222..."} 
[2026-08-10 19:55:18] local.INFO: Processing buffer {"connection_id":153084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0c9378012d1820000721b0a0004700d222..."} 
[2026-08-10 19:55:18] local.INFO: Packet analysis {"connection_id":153084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0c"} 
[2026-08-10 19:55:18] local.INFO: Extracted packet for processing {"connection_id":153084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0c"} 
[2026-08-10 19:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648416,"longitude_deg":75.6555776,"latitude_deg":11.9648416,"altitude":71,"angle":210,"satellites":34,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-10 19: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-08-10 19:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311143424001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584119502798848,"note":"Value kept but may cause issues"} 
[2026-08-10 19:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795005952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786371675000,"timestamp_ms":1786371675000,"timestamp_seconds":1786371675,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0c9378"} 
[2026-08-10 19:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 19:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19: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-08-10 19:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311143424001,"66":12406,"105":206,"83":41984,"24":0,"16":11584119502798848,"45":1738389486795005952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311143424001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:55:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584119502798848,"km_value":11584119502798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795005952,"description":"Unknown IO ID 45"} 
[2026-08-10 19:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311143424001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795005952}} 
[2026-08-10 19:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":153084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:55:18] local.INFO: GPS data processed {"connection_id":153084,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:55:18] local.INFO: Acknowledgment sent {"connection_id":153084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:55:34] local.INFO: TCP Data received {"connection_id":153085,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:55:34] local.INFO: Processing buffer {"connection_id":153085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:55:34] local.INFO: Packet analysis {"connection_id":153085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:55:34] local.INFO: Extracted packet for processing {"connection_id":153085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":26,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311123200001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786371876000,"timestamp_ms":1786371876000,"timestamp_seconds":1786371876,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0fa4a0"} 
[2026-08-10 19:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 19:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311123200001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311123200001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:55:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311123200001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":153085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:55:34] local.INFO: GPS data processed {"connection_id":153085,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:55:34] local.INFO: Acknowledgment sent {"connection_id":153085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:55:41] local.INFO: TCP Data received {"connection_id":153086,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:55:41] local.INFO: Processing buffer {"connection_id":153086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:55:41] local.INFO: IMEI packet received {"connection_id":153086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":153086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:55:44] local.INFO: TCP Data received {"connection_id":153086,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:55:44] local.INFO: Processing buffer {"connection_id":153086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:55:44] local.INFO: IMEI packet received {"connection_id":153086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":153086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:55:46] local.INFO: TCP Data received {"connection_id":153086,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:55:46] local.INFO: Processing buffer {"connection_id":153086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:55:46] local.INFO: IMEI packet received {"connection_id":153086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":153086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:55:47] local.INFO: TCP Data received {"connection_id":153086,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0ce580012d1820000721b0a0004700d224..."} 
[2026-08-10 19:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0ce580012d1820000721b0a0004700d224..."} 
[2026-08-10 19:55:47] local.INFO: Processing buffer {"connection_id":153086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0ce580012d1820000721b0a0004700d224..."} 
[2026-08-10 19:55:47] local.INFO: Packet analysis {"connection_id":153086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0c"} 
[2026-08-10 19:55:47] local.INFO: Extracted packet for processing {"connection_id":153086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0c"} 
[2026-08-10 19:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648416,"longitude_deg":75.6555776,"latitude_deg":11.9648416,"altitude":71,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-10 19:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311148800001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584119502798848,"note":"Value kept but may cause issues"} 
[2026-08-10 19:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795005952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371696000,"timestamp_ms":1786371696000,"timestamp_seconds":1786371696,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0ce580"} 
[2026-08-10 19:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19: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-08-10 19:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 19:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311148800001,"66":12406,"105":206,"83":41984,"24":0,"16":11584119502798848,"45":1738389486795005952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311148800001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:55:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:55:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584119502798848,"km_value":11584119502798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795005952,"description":"Unknown IO ID 45"} 
[2026-08-10 19:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311148800001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795005952}} 
[2026-08-10 19:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":153086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:55:47] local.INFO: GPS data processed {"connection_id":153086,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:55:47] local.INFO: Acknowledgment sent {"connection_id":153086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:55:58] local.INFO: TCP Data received {"connection_id":152162,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:55:58] local.INFO: Processing buffer {"connection_id":152162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:55:58] local.INFO: IMEI packet received {"connection_id":152162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":152162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:56:03] local.INFO: TCP Data received {"connection_id":152162,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:56:03] local.INFO: Processing buffer {"connection_id":152162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:56:03] local.INFO: IMEI packet received {"connection_id":152162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":152162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:56:04] local.INFO: TCP Data received {"connection_id":152162,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:56:04] local.INFO: Processing buffer {"connection_id":152162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:56:04] local.INFO: Packet analysis {"connection_id":152162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:56:04] local.INFO: Extracted packet for processing {"connection_id":152162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":26,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311123200001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786371876000,"timestamp_ms":1786371876000,"timestamp_seconds":1786371876,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0fa4a0"} 
[2026-08-10 19:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 19:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311123200001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311123200001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:56:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311123200001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":152162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:56:04] local.INFO: GPS data processed {"connection_id":152162,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:56:04] local.INFO: Acknowledgment sent {"connection_id":152162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:56:18] local.INFO: TCP Data received {"connection_id":153086,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0d3788012d1820000721b0a0004700d222..."} 
[2026-08-10 19:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0d3788012d1820000721b0a0004700d222..."} 
[2026-08-10 19:56:18] local.INFO: Processing buffer {"connection_id":153086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0d3788012d1820000721b0a0004700d222..."} 
[2026-08-10 19:56:18] local.INFO: Packet analysis {"connection_id":153086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0d"} 
[2026-08-10 19:56:18] local.INFO: Extracted packet for processing {"connection_id":153086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0d"} 
[2026-08-10 19:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648416,"longitude_deg":75.6555776,"latitude_deg":11.9648416,"altitude":71,"angle":210,"satellites":34,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-10 19:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311154176001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584119502798848,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795005952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786371717000,"timestamp_ms":1786371717000,"timestamp_seconds":1786371717,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0d3788"} 
[2026-08-10 19:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 19:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311154176001,"66":12428,"105":206,"83":41984,"24":0,"16":11584119502798848,"45":1738389486795005952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311154176001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:56:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:56:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584119502798848,"km_value":11584119502798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795005952,"description":"Unknown IO ID 45"} 
[2026-08-10 19:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311154176001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795005952}} 
[2026-08-10 19:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":153086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:56:18] local.INFO: GPS data processed {"connection_id":153086,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:56:18] local.INFO: Acknowledgment sent {"connection_id":153086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:56:36] local.INFO: TCP Data received {"connection_id":152162,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:56:36] local.INFO: Processing buffer {"connection_id":152162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:56:36] local.INFO: Packet analysis {"connection_id":152162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:56:36] local.INFO: Extracted packet for processing {"connection_id":152162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":26,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311123200001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786371876000,"timestamp_ms":1786371876000,"timestamp_seconds":1786371876,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0fa4a0"} 
[2026-08-10 19:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 19:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311123200001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311123200001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:56:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311123200001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":152162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:56:36] local.INFO: GPS data processed {"connection_id":152162,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:56:36] local.INFO: Acknowledgment sent {"connection_id":152162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:56:46] local.INFO: TCP Data received {"connection_id":154516,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:56:46] local.INFO: Processing buffer {"connection_id":154516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:56:46] local.INFO: IMEI packet received {"connection_id":154516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":154516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:56:47] local.INFO: TCP Data received {"connection_id":154516,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:56:47] local.INFO: Processing buffer {"connection_id":154516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:56:47] local.INFO: IMEI packet received {"connection_id":154516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":154516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:56:48] local.INFO: TCP Data received {"connection_id":154516,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0d8990012d1820000721b0a0004700d224..."} 
[2026-08-10 19:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0d8990012d1820000721b0a0004700d224..."} 
[2026-08-10 19:56:48] local.INFO: Processing buffer {"connection_id":154516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0d8990012d1820000721b0a0004700d224..."} 
[2026-08-10 19:56:48] local.INFO: Packet analysis {"connection_id":154516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0d"} 
[2026-08-10 19:56:48] local.INFO: Extracted packet for processing {"connection_id":154516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0d"} 
[2026-08-10 19:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648416,"longitude_deg":75.6555776,"latitude_deg":11.9648416,"altitude":71,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-10 19:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311159552001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584119502798848,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795005952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786371738000,"timestamp_ms":1786371738000,"timestamp_seconds":1786371738,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0d8990"} 
[2026-08-10 19:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:56: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-08-10 19:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 19:56: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-08-10 19:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311159552001,"66":12374,"105":206,"83":41984,"24":0,"16":11584119502798848,"45":1738389486795005952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311159552001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:56:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584119502798848,"km_value":11584119502798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795005952,"description":"Unknown IO ID 45"} 
[2026-08-10 19:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311159552001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795005952}} 
[2026-08-10 19:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":154516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:56:48] local.INFO: GPS data processed {"connection_id":154516,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:56:48] local.INFO: Acknowledgment sent {"connection_id":154516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:56:52] local.INFO: TCP Data received {"connection_id":154516,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0ddb98012d1820000721b0a0004700d225..."} 
[2026-08-10 19:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0ddb98012d1820000721b0a0004700d225..."} 
[2026-08-10 19:56:52] local.INFO: Processing buffer {"connection_id":154516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0ddb98012d1820000721b0a0004700d225..."} 
[2026-08-10 19:56:52] local.INFO: Packet analysis {"connection_id":154516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0d"} 
[2026-08-10 19:56:52] local.INFO: Extracted packet for processing {"connection_id":154516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0d"} 
[2026-08-10 19:56:52] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648416,"longitude_deg":75.6555776,"latitude_deg":11.9648416,"altitude":71,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-10 19:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311164928001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584119502798848,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795005952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786371759000,"timestamp_ms":1786371759000,"timestamp_seconds":1786371759,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0ddb98"} 
[2026-08-10 19:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 19:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311164928001,"66":12406,"105":206,"83":41984,"24":0,"16":11584119502798848,"45":1738389486795005952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311164928001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:56:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:56:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584119502798848,"km_value":11584119502798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795005952,"description":"Unknown IO ID 45"} 
[2026-08-10 19:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311164928001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795005952}} 
[2026-08-10 19:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":154516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:56:52] local.INFO: GPS data processed {"connection_id":154516,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:56:52] local.INFO: Acknowledgment sent {"connection_id":154516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:56:58] local.INFO: TCP Data received {"connection_id":152163,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:56:58] local.INFO: Processing buffer {"connection_id":152163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:56:58] local.INFO: IMEI packet received {"connection_id":152163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":152163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:57:03] local.INFO: TCP Data received {"connection_id":152163,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:57:03] local.INFO: Processing buffer {"connection_id":152163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:57:03] local.INFO: IMEI packet received {"connection_id":152163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":152163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:57:04] local.INFO: TCP Data received {"connection_id":152163,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:57:04] local.INFO: Processing buffer {"connection_id":152163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:57:04] local.INFO: Packet analysis {"connection_id":152163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:57:04] local.INFO: Extracted packet for processing {"connection_id":152163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":26,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311123200001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786371876000,"timestamp_ms":1786371876000,"timestamp_seconds":1786371876,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0fa4a0"} 
[2026-08-10 19:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 19:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311123200001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311123200001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:57:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311123200001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":152163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:57:04] local.INFO: GPS data processed {"connection_id":152163,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:57:04] local.INFO: Acknowledgment sent {"connection_id":152163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:57:23] local.INFO: TCP Data received {"connection_id":154516,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0e2da0012d181e000721add0004d00d224..."} 
[2026-08-10 19:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0e2da0012d181e000721add0004d00d224..."} 
[2026-08-10 19:57:23] local.INFO: Processing buffer {"connection_id":154516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0e2da0012d181e000721add0004d00d224..."} 
[2026-08-10 19:57:23] local.INFO: Packet analysis {"connection_id":154516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0e"} 
[2026-08-10 19:57:23] local.INFO: Extracted packet for processing {"connection_id":154516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0e"} 
[2026-08-10 19:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 19:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311170304001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795005952,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786371780000,"timestamp_ms":1786371780000,"timestamp_seconds":1786371780,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0e2da0"} 
[2026-08-10 19:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 19:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311170304001,"66":12385,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1738389486795005952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311170304001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:57:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795005952,"description":"Unknown IO ID 45"} 
[2026-08-10 19:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311170304001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795005952}} 
[2026-08-10 19:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":154516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:57:23] local.INFO: GPS data processed {"connection_id":154516,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:57:23] local.INFO: Acknowledgment sent {"connection_id":154516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:57:35] local.INFO: TCP Data received {"connection_id":152163,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:57:35] local.INFO: Processing buffer {"connection_id":152163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:57:35] local.INFO: Packet analysis {"connection_id":152163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:57:35] local.INFO: Extracted packet for processing {"connection_id":152163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":26,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311123200001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786371876000,"timestamp_ms":1786371876000,"timestamp_seconds":1786371876,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0fa4a0"} 
[2026-08-10 19:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 19:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311123200001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311123200001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:57:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311123200001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":152163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:57:35] local.INFO: GPS data processed {"connection_id":152163,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:57:35] local.INFO: Acknowledgment sent {"connection_id":152163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:57:41] local.INFO: TCP Data received {"connection_id":153087,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:57:41] local.INFO: Processing buffer {"connection_id":153087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:57:41] local.INFO: IMEI packet received {"connection_id":153087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":153087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:57:46] local.INFO: TCP Data received {"connection_id":153087,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:57:46] local.INFO: Processing buffer {"connection_id":153087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:57:46] local.INFO: IMEI packet received {"connection_id":153087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":153087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:57:47] local.INFO: TCP Data received {"connection_id":153087,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0e7fa8012d181e000721add0004d00d225..."} 
[2026-08-10 19:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0e7fa8012d181e000721add0004d00d225..."} 
[2026-08-10 19:57:47] local.INFO: Processing buffer {"connection_id":153087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0e7fa8012d181e000721add0004d00d225..."} 
[2026-08-10 19:57:47] local.INFO: Packet analysis {"connection_id":153087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0e"} 
[2026-08-10 19:57:47] local.INFO: Extracted packet for processing {"connection_id":153087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0e"} 
[2026-08-10 19:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 19:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311175680001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371801000,"timestamp_ms":1786371801000,"timestamp_seconds":1786371801,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0e7fa8"} 
[2026-08-10 19:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 19:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311175680001,"66":12385,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311175680001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:57:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 19:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311175680001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 19:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":153087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:57:47] local.INFO: GPS data processed {"connection_id":153087,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:57:47] local.INFO: Acknowledgment sent {"connection_id":153087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:57:51] local.INFO: TCP Data received {"connection_id":153087,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0ed1b0012d181e000721add0004d00d225..."} 
[2026-08-10 19:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0ed1b0012d181e000721add0004d00d225..."} 
[2026-08-10 19:57:51] local.INFO: Processing buffer {"connection_id":153087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0ed1b0012d181e000721add0004d00d225..."} 
[2026-08-10 19:57:51] local.INFO: Packet analysis {"connection_id":153087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0e"} 
[2026-08-10 19:57:51] local.INFO: Extracted packet for processing {"connection_id":153087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0e"} 
[2026-08-10 19:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 19:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311181056001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 19:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786371822000,"timestamp_ms":1786371822000,"timestamp_seconds":1786371822,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0ed1b0"} 
[2026-08-10 19:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 19:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311181056001,"66":12406,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311181056001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:57:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 19:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311181056001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 19:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":153087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:57:51] local.INFO: GPS data processed {"connection_id":153087,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:57:51] local.INFO: Acknowledgment sent {"connection_id":153087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:57:58] local.INFO: TCP Data received {"connection_id":153088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:57:58] local.INFO: Processing buffer {"connection_id":153088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:57:58] local.INFO: IMEI packet received {"connection_id":153088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":153088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:58:03] local.INFO: TCP Data received {"connection_id":153088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:58:03] local.INFO: Processing buffer {"connection_id":153088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:58:03] local.INFO: IMEI packet received {"connection_id":153088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":153088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:58:05] local.INFO: TCP Data received {"connection_id":153088,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:58:05] local.INFO: Processing buffer {"connection_id":153088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:58:05] local.INFO: Packet analysis {"connection_id":153088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:58:05] local.INFO: Extracted packet for processing {"connection_id":153088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":26,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311123200001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786371876000,"timestamp_ms":1786371876000,"timestamp_seconds":1786371876,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0fa4a0"} 
[2026-08-10 19:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 19:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311123200001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311123200001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:58:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311123200001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":153088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:58:05] local.INFO: GPS data processed {"connection_id":153088,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:58:05] local.INFO: Acknowledgment sent {"connection_id":153088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:58:22] local.INFO: TCP Data received {"connection_id":153087,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0f23b8012d181e000721add0004d00d225..."} 
[2026-08-10 19:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0f23b8012d181e000721add0004d00d225..."} 
[2026-08-10 19:58:22] local.INFO: Processing buffer {"connection_id":153087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0f23b8012d181e000721add0004d00d225..."} 
[2026-08-10 19:58:22] local.INFO: Packet analysis {"connection_id":153087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:58:22] local.INFO: Extracted packet for processing {"connection_id":153087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 19:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311186432001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 19:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 19:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786371843000,"timestamp_ms":1786371843000,"timestamp_seconds":1786371843,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0f23b8"} 
[2026-08-10 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-08-10 19:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 19:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 19:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311186432001,"66":12428,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311186432001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:58:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 19:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311186432001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 19:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":153087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:58:22] local.INFO: GPS data processed {"connection_id":153087,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:58:22] local.INFO: Acknowledgment sent {"connection_id":153087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:58:40] local.INFO: TCP Data received {"connection_id":153088,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:58:40] local.INFO: Processing buffer {"connection_id":153088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:58:40] local.INFO: Packet analysis {"connection_id":153088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:58:40] local.INFO: Extracted packet for processing {"connection_id":153088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":26,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311123200001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786371876000,"timestamp_ms":1786371876000,"timestamp_seconds":1786371876,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0fa4a0"} 
[2026-08-10 19:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 19:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311123200001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311123200001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:58:40] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311123200001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":153088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:58:40] local.INFO: GPS data processed {"connection_id":153088,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:58:40] local.INFO: Acknowledgment sent {"connection_id":153088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:58:41] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:58:41] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:58:41] local.INFO: IMEI packet received {"connection_id":151764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":151764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:58:46] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:58:46] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:58:46] local.INFO: IMEI packet received {"connection_id":151764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":151764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:58:47] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0f75c0012d181e000721add0004d00d221..."} 
[2026-08-10 19:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0f75c0012d181e000721add0004d00d221..."} 
[2026-08-10 19:58:47] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0f75c0012d181e000721add0004d00d221..."} 
[2026-08-10 19:58:47] local.INFO: Packet analysis {"connection_id":151764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:58:47] local.INFO: Extracted packet for processing {"connection_id":151764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":33,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 19:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311191808001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 19:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 19:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371864000,"timestamp_ms":1786371864000,"timestamp_seconds":1786371864,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0f75c0"} 
[2026-08-10 19:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 19:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311191808001,"66":12428,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311191808001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:58:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:58:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 19:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311191808001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 19:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":151764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:58:47] local.INFO: GPS data processed {"connection_id":151764,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:58:47] local.INFO: Acknowledgment sent {"connection_id":151764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:58:58] local.INFO: TCP Data received {"connection_id":153089,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:58:58] local.INFO: Processing buffer {"connection_id":153089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:58:58] local.INFO: IMEI packet received {"connection_id":153089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":153089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:59:03] local.INFO: TCP Data received {"connection_id":153089,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:59:03] local.INFO: Processing buffer {"connection_id":153089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:59:03] local.INFO: IMEI packet received {"connection_id":153089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":153089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:59:05] local.INFO: TCP Data received {"connection_id":153089,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:59:05] local.INFO: Processing buffer {"connection_id":153089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:59:05] local.INFO: Packet analysis {"connection_id":153089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:59:05] local.INFO: Extracted packet for processing {"connection_id":153089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":26,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 19:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311123200001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786371876000,"timestamp_ms":1786371876000,"timestamp_seconds":1786371876,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0fa4a0"} 
[2026-08-10 19:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 19:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311123200001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311123200001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:59:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311123200001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":153089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:59:05] local.INFO: GPS data processed {"connection_id":153089,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:59:05] local.INFO: Acknowledgment sent {"connection_id":153089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:59:18] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0fc7c8012d181e000721add0004d00d224..."} 
[2026-08-10 19:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0fc7c8012d181e000721add0004d00d224..."} 
[2026-08-10 19:59:18] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0fc7c8012d181e000721add0004d00d224..."} 
[2026-08-10 19:59:18] local.INFO: Packet analysis {"connection_id":151764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:59:18] local.INFO: Extracted packet for processing {"connection_id":151764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 19:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311197184001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 19:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 19:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786371885000,"timestamp_ms":1786371885000,"timestamp_seconds":1786371885,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0fc7c8"} 
[2026-08-10 19:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 19:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 19:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311197184001,"66":12406,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311197184001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:59:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 19:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311197184001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 19:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":151764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:59:18] local.INFO: GPS data processed {"connection_id":151764,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:59:18] local.INFO: Acknowledgment sent {"connection_id":151764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:59:33] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:59:33] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:59:33] local.INFO: IMEI packet received {"connection_id":151765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 19:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":151765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:59:38] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:59:38] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 19:59:38] local.INFO: IMEI packet received {"connection_id":151765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 19:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":151765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:59:39] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:59:39] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 19:59:39] local.INFO: Packet analysis {"connection_id":151765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:59:39] local.INFO: Extracted packet for processing {"connection_id":151765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 19:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":26,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 19:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311123200001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 19:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 19:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786371876000,"timestamp_ms":1786371876000,"timestamp_seconds":1786371876,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0fa4a0"} 
[2026-08-10 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-08-10 19:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 19:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 19:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 19:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 19:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 19:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311123200001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 19:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 19:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 19:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311123200001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:59:39] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 19:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 19:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 19:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311123200001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 19:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":151765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:59:39] local.INFO: GPS data processed {"connection_id":151765,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:59:39] local.INFO: Acknowledgment sent {"connection_id":151765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 19:59:41] local.INFO: TCP Data received {"connection_id":151766,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:59:41] local.INFO: Processing buffer {"connection_id":151766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:59:41] local.INFO: IMEI packet received {"connection_id":151766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 19:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":151766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 19:59:46] local.INFO: TCP Data received {"connection_id":151766,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:59:46] local.INFO: Processing buffer {"connection_id":151766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 19:59:46] local.INFO: IMEI packet received {"connection_id":151766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 19:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":151766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 19:59:47] local.INFO: TCP Data received {"connection_id":151766,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1019d0012d181e000721add0004d00d225..."} 
[2026-08-10 19:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1019d0012d181e000721add0004d00d225..."} 
[2026-08-10 19:59:47] local.INFO: Processing buffer {"connection_id":151766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1019d0012d181e000721add0004d00d225..."} 
[2026-08-10 19:59:47] local.INFO: Packet analysis {"connection_id":151766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec10"} 
[2026-08-10 19:59:47] local.INFO: Extracted packet for processing {"connection_id":151766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec10"} 
[2026-08-10 19:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 19:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 19:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311202560001,"note":"Value kept but may cause issues"} 
[2026-08-10 19:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 19:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 19:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 19:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786371906000,"timestamp_ms":1786371906000,"timestamp_seconds":1786371906,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1019d0"} 
[2026-08-10 19:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 19: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-08-10 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 19:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 19:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 19:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 19:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 19:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 19:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 19:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 19:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 19:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 19:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311202560001,"66":12406,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 19:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 19:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 19:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311202560001,"description":"Unknown IO ID 0"} 
[2026-08-10 19:59:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 19:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 19:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 19:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 19:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311202560001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 19:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":151766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 19:59:47] local.INFO: GPS data processed {"connection_id":151766,"processed":1,"errors":0,"total":1} 
[2026-08-10 19:59:47] local.INFO: Acknowledgment sent {"connection_id":151766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:00:08] local.INFO: TCP Data received {"connection_id":151767,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:00:08] local.INFO: Processing buffer {"connection_id":151767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:00:08] local.INFO: IMEI packet received {"connection_id":151767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":151767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:00:13] local.INFO: TCP Data received {"connection_id":151767,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:00:13] local.INFO: Processing buffer {"connection_id":151767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:00:13] local.INFO: IMEI packet received {"connection_id":151767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":151767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:00:14] local.INFO: TCP Data received {"connection_id":151767,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 20:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 20:00:14] local.INFO: Processing buffer {"connection_id":151767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec0fa4a0012d34248006abc190001a007e27..."} 
[2026-08-10 20:00:14] local.INFO: Packet analysis {"connection_id":151767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 20:00:14] local.INFO: Extracted packet for processing {"connection_id":151767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec0f"} 
[2026-08-10 20:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":26,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311123200001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786371876000,"timestamp_ms":1786371876000,"timestamp_seconds":1786371876,"priority":1,"record_length":96,"hex_timestamp":"0000019fec0fa4a0"} 
[2026-08-10 20:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-10 20:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311123200001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311123200001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:00:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311123200001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":151767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:00:14] local.INFO: GPS data processed {"connection_id":151767,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:00:14] local.INFO: Acknowledgment sent {"connection_id":151767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:00:15] local.INFO: TCP Data received {"connection_id":151767,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:00:15] local.INFO: Processing buffer {"connection_id":151767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:00:15] local.INFO: Packet analysis {"connection_id":151767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:00:15] local.INFO: Extracted packet for processing {"connection_id":151767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":20,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 20:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311200256001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786372177000,"timestamp_ms":1786372177000,"timestamp_seconds":1786372177,"priority":1,"record_length":96,"hex_timestamp":"0000019fec143c68"} 
[2026-08-10 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-08-10 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-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 20:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311200256001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311200256001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:00:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311200256001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":151767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:00:15] local.INFO: GPS data processed {"connection_id":151767,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:00:15] local.INFO: Acknowledgment sent {"connection_id":151767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:00:18] local.INFO: TCP Data received {"connection_id":151766,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec13a028012d181e000721add0004d00d225..."} 
[2026-08-10 20:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec13a028012d181e000721add0004d00d225..."} 
[2026-08-10 20:00:18] local.INFO: Processing buffer {"connection_id":151766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec13a028012d181e000721add0004d00d225..."} 
[2026-08-10 20:00:18] local.INFO: Packet analysis {"connection_id":151766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec13"} 
[2026-08-10 20:00:18] local.INFO: Extracted packet for processing {"connection_id":151766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec13"} 
[2026-08-10 20:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311261696001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786372137000,"timestamp_ms":1786372137000,"timestamp_seconds":1786372137,"priority":1,"record_length":96,"hex_timestamp":"0000019fec13a028"} 
[2026-08-10 20:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 20:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311261696001,"66":12428,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311261696001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:00:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311261696001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":151766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:00:18] local.INFO: GPS data processed {"connection_id":151766,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:00:18] local.INFO: Acknowledgment sent {"connection_id":151766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:00:41] local.INFO: TCP Data received {"connection_id":154517,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:00:41] local.INFO: Processing buffer {"connection_id":154517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:00:41] local.INFO: IMEI packet received {"connection_id":154517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":154517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:00:46] local.INFO: TCP Data received {"connection_id":154517,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:00:46] local.INFO: Processing buffer {"connection_id":154517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:00:46] local.INFO: IMEI packet received {"connection_id":154517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":154517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:00:47] local.INFO: TCP Data received {"connection_id":154517,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec13f230012d181e000721add0004d00d226..."} 
[2026-08-10 20:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec13f230012d181e000721add0004d00d226..."} 
[2026-08-10 20:00:47] local.INFO: Processing buffer {"connection_id":154517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec13f230012d181e000721add0004d00d226..."} 
[2026-08-10 20:00:47] local.INFO: Packet analysis {"connection_id":154517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec13"} 
[2026-08-10 20:00:47] local.INFO: Extracted packet for processing {"connection_id":154517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec13"} 
[2026-08-10 20:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311267072001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786372158000,"timestamp_ms":1786372158000,"timestamp_seconds":1786372158,"priority":1,"record_length":96,"hex_timestamp":"0000019fec13f230"} 
[2026-08-10 20:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 20:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311267072001,"66":12156,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311267072001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:00:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311267072001,"power":12156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":154517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:00:47] local.INFO: GPS data processed {"connection_id":154517,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:00:47] local.INFO: Acknowledgment sent {"connection_id":154517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:00:58] local.INFO: TCP Data received {"connection_id":151768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:00:58] local.INFO: Processing buffer {"connection_id":151768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:00:58] local.INFO: IMEI packet received {"connection_id":151768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":151768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:01:03] local.INFO: TCP Data received {"connection_id":151768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:01:03] local.INFO: Processing buffer {"connection_id":151768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:01:03] local.INFO: IMEI packet received {"connection_id":151768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":151768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:01:04] local.INFO: TCP Data received {"connection_id":151768,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:01:04] local.INFO: Processing buffer {"connection_id":151768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:01:04] local.INFO: Packet analysis {"connection_id":151768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:01:04] local.INFO: Extracted packet for processing {"connection_id":151768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":20,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311200256001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786372177000,"timestamp_ms":1786372177000,"timestamp_seconds":1786372177,"priority":1,"record_length":96,"hex_timestamp":"0000019fec143c68"} 
[2026-08-10 20:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311200256001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311200256001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:01:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311200256001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":151768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:01:04] local.INFO: GPS data processed {"connection_id":151768,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:01:04] local.INFO: Acknowledgment sent {"connection_id":151768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:01:18] local.INFO: TCP Data received {"connection_id":154517,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec144438012d181e000721add0004d00d226..."} 
[2026-08-10 20:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec144438012d181e000721add0004d00d226..."} 
[2026-08-10 20:01:18] local.INFO: Processing buffer {"connection_id":154517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec144438012d181e000721add0004d00d226..."} 
[2026-08-10 20:01:18] local.INFO: Packet analysis {"connection_id":154517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:01:18] local.INFO: Extracted packet for processing {"connection_id":154517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311272448001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786372179000,"timestamp_ms":1786372179000,"timestamp_seconds":1786372179,"priority":1,"record_length":96,"hex_timestamp":"0000019fec144438"} 
[2026-08-10 20:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-10 20:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311272448001,"66":12385,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311272448001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:01:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:01:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311272448001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":154517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:01:18] local.INFO: GPS data processed {"connection_id":154517,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:01:18] local.INFO: Acknowledgment sent {"connection_id":154517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:01:34] local.INFO: TCP Data received {"connection_id":151768,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:01:34] local.INFO: Processing buffer {"connection_id":151768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:01:34] local.INFO: Packet analysis {"connection_id":151768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:01:34] local.INFO: Extracted packet for processing {"connection_id":151768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":20,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311200256001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786372177000,"timestamp_ms":1786372177000,"timestamp_seconds":1786372177,"priority":1,"record_length":96,"hex_timestamp":"0000019fec143c68"} 
[2026-08-10 20:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:01: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-08-10 20:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311200256001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311200256001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:01:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311200256001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":151768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:01:34] local.INFO: GPS data processed {"connection_id":151768,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:01:34] local.INFO: Acknowledgment sent {"connection_id":151768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:01:41] local.INFO: TCP Data received {"connection_id":154518,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:01:42] local.INFO: Processing buffer {"connection_id":154518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:01:42] local.INFO: IMEI packet received {"connection_id":154518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":154518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:01:42] local.INFO: TCP Data received {"connection_id":154518,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:01:42] local.INFO: Processing buffer {"connection_id":154518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:01:42] local.INFO: IMEI packet received {"connection_id":154518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":154518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:01:46] local.INFO: TCP Data received {"connection_id":154518,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:01:46] local.INFO: Processing buffer {"connection_id":154518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:01:46] local.INFO: IMEI packet received {"connection_id":154518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":154518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:01:47] local.INFO: TCP Data received {"connection_id":154518,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec149640012d181e000721add0004d00d225..."} 
[2026-08-10 20:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec149640012d181e000721add0004d00d225..."} 
[2026-08-10 20:01:47] local.INFO: Processing buffer {"connection_id":154518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec149640012d181e000721add0004d00d225..."} 
[2026-08-10 20:01:47] local.INFO: Packet analysis {"connection_id":154518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:01:47] local.INFO: Extracted packet for processing {"connection_id":154518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311277824001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786372200000,"timestamp_ms":1786372200000,"timestamp_seconds":1786372200,"priority":1,"record_length":96,"hex_timestamp":"0000019fec149640"} 
[2026-08-10 20:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 20:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311277824001,"66":12385,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311277824001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:01:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311277824001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":154518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:01:47] local.INFO: GPS data processed {"connection_id":154518,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:01:47] local.INFO: Acknowledgment sent {"connection_id":154518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:01:58] local.INFO: TCP Data received {"connection_id":152164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:01:58] local.INFO: Processing buffer {"connection_id":152164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:01:58] local.INFO: IMEI packet received {"connection_id":152164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":152164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:02:03] local.INFO: TCP Data received {"connection_id":152164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:02:03] local.INFO: Processing buffer {"connection_id":152164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:02:03] local.INFO: IMEI packet received {"connection_id":152164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":152164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:02:03] local.INFO: TCP Data received {"connection_id":152164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:02:03] local.INFO: Processing buffer {"connection_id":152164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:02:03] local.INFO: Packet analysis {"connection_id":152164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:02:03] local.INFO: Extracted packet for processing {"connection_id":152164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":20,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311200256001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786372177000,"timestamp_ms":1786372177000,"timestamp_seconds":1786372177,"priority":1,"record_length":96,"hex_timestamp":"0000019fec143c68"} 
[2026-08-10 20:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20: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-08-10 20:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311200256001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311200256001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:02:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311200256001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":152164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:02:03] local.INFO: GPS data processed {"connection_id":152164,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:02:03] local.INFO: Acknowledgment sent {"connection_id":152164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:02:18] local.INFO: TCP Data received {"connection_id":154518,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec14e848012d181e000721add0004d00d225..."} 
[2026-08-10 20:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec14e848012d181e000721add0004d00d225..."} 
[2026-08-10 20:02:18] local.INFO: Processing buffer {"connection_id":154518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec14e848012d181e000721add0004d00d225..."} 
[2026-08-10 20:02:18] local.INFO: Packet analysis {"connection_id":154518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:02:18] local.INFO: Extracted packet for processing {"connection_id":154518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311283200001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786372221000,"timestamp_ms":1786372221000,"timestamp_seconds":1786372221,"priority":1,"record_length":96,"hex_timestamp":"0000019fec14e848"} 
[2026-08-10 20:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 20:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311283200001,"66":12287,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311283200001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:02:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311283200001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":154518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:02:18] local.INFO: GPS data processed {"connection_id":154518,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:02:18] local.INFO: Acknowledgment sent {"connection_id":154518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:02:35] local.INFO: TCP Data received {"connection_id":152164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:02:35] local.INFO: Processing buffer {"connection_id":152164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:02:35] local.INFO: Packet analysis {"connection_id":152164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:02:35] local.INFO: Extracted packet for processing {"connection_id":152164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":20,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 20:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311200256001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786372177000,"timestamp_ms":1786372177000,"timestamp_seconds":1786372177,"priority":1,"record_length":96,"hex_timestamp":"0000019fec143c68"} 
[2026-08-10 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-08-10 20:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 20:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311200256001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311200256001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:02:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311200256001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":152164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:02:35] local.INFO: GPS data processed {"connection_id":152164,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:02:35] local.INFO: Acknowledgment sent {"connection_id":152164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:02:46] local.INFO: TCP Data received {"connection_id":152165,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:02:46] local.INFO: Processing buffer {"connection_id":152165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:02:46] local.INFO: IMEI packet received {"connection_id":152165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":152165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:02:51] local.INFO: TCP Data received {"connection_id":152165,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:02:51] local.INFO: Processing buffer {"connection_id":152165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:02:51] local.INFO: IMEI packet received {"connection_id":152165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":152165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:02:52] local.INFO: TCP Data received {"connection_id":152165,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec153a50012d181e000721add0004d00d226..."} 
[2026-08-10 20:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec153a50012d181e000721add0004d00d226..."} 
[2026-08-10 20:02:52] local.INFO: Processing buffer {"connection_id":152165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec153a50012d181e000721add0004d00d226..."} 
[2026-08-10 20:02:52] local.INFO: Packet analysis {"connection_id":152165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec15"} 
[2026-08-10 20:02:52] local.INFO: Extracted packet for processing {"connection_id":152165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec15"} 
[2026-08-10 20:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311288576001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786372242000,"timestamp_ms":1786372242000,"timestamp_seconds":1786372242,"priority":1,"record_length":96,"hex_timestamp":"0000019fec153a50"} 
[2026-08-10 20:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:02: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 20:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311288576001,"66":12428,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311288576001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:02:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:02:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311288576001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":152165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:02:52] local.INFO: GPS data processed {"connection_id":152165,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:02:52] local.INFO: Acknowledgment sent {"connection_id":152165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:02:58] local.INFO: TCP Data received {"connection_id":151769,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:02:58] local.INFO: Processing buffer {"connection_id":151769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:02:58] local.INFO: IMEI packet received {"connection_id":151769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":151769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:03:03] local.INFO: TCP Data received {"connection_id":151769,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:03:03] local.INFO: Processing buffer {"connection_id":151769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:03:03] local.INFO: IMEI packet received {"connection_id":151769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":151769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:03:04] local.INFO: TCP Data received {"connection_id":151769,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:03:04] local.INFO: Processing buffer {"connection_id":151769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:03:04] local.INFO: Packet analysis {"connection_id":151769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:03:04] local.INFO: Extracted packet for processing {"connection_id":151769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":20,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311200256001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786372177000,"timestamp_ms":1786372177000,"timestamp_seconds":1786372177,"priority":1,"record_length":96,"hex_timestamp":"0000019fec143c68"} 
[2026-08-10 20:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311200256001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311200256001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:03:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311200256001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":151769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:03:04] local.INFO: GPS data processed {"connection_id":151769,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:03:04] local.INFO: Acknowledgment sent {"connection_id":151769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:03:23] local.INFO: TCP Data received {"connection_id":152165,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec158c58012d181e000721add0004d00d226..."} 
[2026-08-10 20:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec158c58012d181e000721add0004d00d226..."} 
[2026-08-10 20:03:23] local.INFO: Processing buffer {"connection_id":152165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec158c58012d181e000721add0004d00d226..."} 
[2026-08-10 20:03:23] local.INFO: Packet analysis {"connection_id":152165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec15"} 
[2026-08-10 20:03:23] local.INFO: Extracted packet for processing {"connection_id":152165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec15"} 
[2026-08-10 20:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311293952001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786372263000,"timestamp_ms":1786372263000,"timestamp_seconds":1786372263,"priority":1,"record_length":96,"hex_timestamp":"0000019fec158c58"} 
[2026-08-10 20:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 20:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311293952001,"66":12374,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311293952001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:03:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311293952001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":152165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:03:23] local.INFO: GPS data processed {"connection_id":152165,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:03:23] local.INFO: Acknowledgment sent {"connection_id":152165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:03:35] local.INFO: TCP Data received {"connection_id":151769,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:03:35] local.INFO: Processing buffer {"connection_id":151769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:03:35] local.INFO: Packet analysis {"connection_id":151769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:03:35] local.INFO: Extracted packet for processing {"connection_id":151769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":20,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311200256001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786372177000,"timestamp_ms":1786372177000,"timestamp_seconds":1786372177,"priority":1,"record_length":96,"hex_timestamp":"0000019fec143c68"} 
[2026-08-10 20:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311200256001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311200256001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:03:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311200256001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":151769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:03:35] local.INFO: GPS data processed {"connection_id":151769,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:03:35] local.INFO: Acknowledgment sent {"connection_id":151769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:03:46] local.INFO: TCP Data received {"connection_id":153090,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:03:46] local.INFO: Processing buffer {"connection_id":153090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:03:46] local.INFO: IMEI packet received {"connection_id":153090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":153090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:03:47] local.INFO: TCP Data received {"connection_id":153090,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:03:47] local.INFO: Processing buffer {"connection_id":153090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:03:47] local.INFO: IMEI packet received {"connection_id":153090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":153090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:03:48] local.INFO: TCP Data received {"connection_id":153090,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec15de60012d181e000721add0004d00d226..."} 
[2026-08-10 20:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec15de60012d181e000721add0004d00d226..."} 
[2026-08-10 20:03:48] local.INFO: Processing buffer {"connection_id":153090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec15de60012d181e000721add0004d00d226..."} 
[2026-08-10 20:03:48] local.INFO: Packet analysis {"connection_id":153090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec15"} 
[2026-08-10 20:03:48] local.INFO: Extracted packet for processing {"connection_id":153090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec15"} 
[2026-08-10 20:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311299328001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786372284000,"timestamp_ms":1786372284000,"timestamp_seconds":1786372284,"priority":1,"record_length":96,"hex_timestamp":"0000019fec15de60"} 
[2026-08-10 20:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:03: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-08-10 20:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311299328001,"66":12406,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311299328001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:03:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311299328001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":153090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:03:48] local.INFO: GPS data processed {"connection_id":153090,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:03:48] local.INFO: Acknowledgment sent {"connection_id":153090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:03:52] local.INFO: TCP Data received {"connection_id":153090,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec163068012d181e000721add0004d00d224..."} 
[2026-08-10 20:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec163068012d181e000721add0004d00d224..."} 
[2026-08-10 20:03:52] local.INFO: Processing buffer {"connection_id":153090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec163068012d181e000721add0004d00d224..."} 
[2026-08-10 20:03:52] local.INFO: Packet analysis {"connection_id":153090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec16"} 
[2026-08-10 20:03:52] local.INFO: Extracted packet for processing {"connection_id":153090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec16"} 
[2026-08-10 20:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311304704001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786372305000,"timestamp_ms":1786372305000,"timestamp_seconds":1786372305,"priority":1,"record_length":96,"hex_timestamp":"0000019fec163068"} 
[2026-08-10 20:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311304704001,"66":12406,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311304704001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:03:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311304704001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":153090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:03:52] local.INFO: GPS data processed {"connection_id":153090,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:03:52] local.INFO: Acknowledgment sent {"connection_id":153090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:03:58] local.INFO: TCP Data received {"connection_id":154519,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:03:58] local.INFO: Processing buffer {"connection_id":154519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:03:58] local.INFO: IMEI packet received {"connection_id":154519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":154519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:04:03] local.INFO: TCP Data received {"connection_id":154519,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:04:03] local.INFO: Processing buffer {"connection_id":154519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:04:03] local.INFO: IMEI packet received {"connection_id":154519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":154519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:04:04] local.INFO: TCP Data received {"connection_id":154519,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:04:04] local.INFO: Processing buffer {"connection_id":154519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:04:04] local.INFO: Packet analysis {"connection_id":154519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:04:04] local.INFO: Extracted packet for processing {"connection_id":154519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":20,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311200256001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786372177000,"timestamp_ms":1786372177000,"timestamp_seconds":1786372177,"priority":1,"record_length":96,"hex_timestamp":"0000019fec143c68"} 
[2026-08-10 20:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311200256001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311200256001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:04:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311200256001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":154519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:04:04] local.INFO: GPS data processed {"connection_id":154519,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:04:04] local.INFO: Acknowledgment sent {"connection_id":154519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:04:23] local.INFO: TCP Data received {"connection_id":153090,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec168270012d181e000721add0004d00d226..."} 
[2026-08-10 20:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec168270012d181e000721add0004d00d226..."} 
[2026-08-10 20:04:23] local.INFO: Processing buffer {"connection_id":153090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec168270012d181e000721add0004d00d226..."} 
[2026-08-10 20:04:23] local.INFO: Packet analysis {"connection_id":153090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec16"} 
[2026-08-10 20:04:23] local.INFO: Extracted packet for processing {"connection_id":153090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec16"} 
[2026-08-10 20:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311310080001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786372326000,"timestamp_ms":1786372326000,"timestamp_seconds":1786372326,"priority":1,"record_length":96,"hex_timestamp":"0000019fec168270"} 
[2026-08-10 20:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311310080001,"66":12385,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311310080001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:04:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311310080001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":153090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:04:23] local.INFO: GPS data processed {"connection_id":153090,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:04:23] local.INFO: Acknowledgment sent {"connection_id":153090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:04:35] local.INFO: TCP Data received {"connection_id":154519,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:04:35] local.INFO: Processing buffer {"connection_id":154519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:04:35] local.INFO: Packet analysis {"connection_id":154519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:04:35] local.INFO: Extracted packet for processing {"connection_id":154519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":20,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311200256001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786372177000,"timestamp_ms":1786372177000,"timestamp_seconds":1786372177,"priority":1,"record_length":96,"hex_timestamp":"0000019fec143c68"} 
[2026-08-10 20:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311200256001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311200256001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:04:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311200256001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":154519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:04:35] local.INFO: GPS data processed {"connection_id":154519,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:04:35] local.INFO: Acknowledgment sent {"connection_id":154519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:04:41] local.INFO: TCP Data received {"connection_id":153091,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:04:41] local.INFO: Processing buffer {"connection_id":153091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:04:41] local.INFO: IMEI packet received {"connection_id":153091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":153091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:04:46] local.INFO: TCP Data received {"connection_id":153091,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:04:46] local.INFO: Processing buffer {"connection_id":153091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:04:46] local.INFO: IMEI packet received {"connection_id":153091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":153091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:04:47] local.INFO: TCP Data received {"connection_id":153091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec16d478012d181e000721add0004d00d225..."} 
[2026-08-10 20:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec16d478012d181e000721add0004d00d225..."} 
[2026-08-10 20:04:47] local.INFO: Processing buffer {"connection_id":153091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec16d478012d181e000721add0004d00d225..."} 
[2026-08-10 20:04:47] local.INFO: Packet analysis {"connection_id":153091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec16"} 
[2026-08-10 20:04:47] local.INFO: Extracted packet for processing {"connection_id":153091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec16"} 
[2026-08-10 20:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311315456001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786372347000,"timestamp_ms":1786372347000,"timestamp_seconds":1786372347,"priority":1,"record_length":96,"hex_timestamp":"0000019fec16d478"} 
[2026-08-10 20:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 20:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311315456001,"66":12406,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311315456001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:04:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311315456001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":153091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:04:47] local.INFO: GPS data processed {"connection_id":153091,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:04:47] local.INFO: Acknowledgment sent {"connection_id":153091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:04:58] local.INFO: TCP Data received {"connection_id":152166,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:04:58] local.INFO: Processing buffer {"connection_id":152166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:04:58] local.INFO: IMEI packet received {"connection_id":152166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":152166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:05:03] local.INFO: TCP Data received {"connection_id":152166,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:05:03] local.INFO: Processing buffer {"connection_id":152166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:05:03] local.INFO: IMEI packet received {"connection_id":152166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":152166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:05:04] local.INFO: TCP Data received {"connection_id":152166,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:05:04] local.INFO: Processing buffer {"connection_id":152166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec143c68012d34248006abc1900014007e22..."} 
[2026-08-10 20:05:04] local.INFO: Packet analysis {"connection_id":152166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:05:04] local.INFO: Extracted packet for processing {"connection_id":152166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec14"} 
[2026-08-10 20:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":20,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311200256001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786372177000,"timestamp_ms":1786372177000,"timestamp_seconds":1786372177,"priority":1,"record_length":96,"hex_timestamp":"0000019fec143c68"} 
[2026-08-10 20:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311200256001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311200256001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:05:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311200256001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":152166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:05:04] local.INFO: GPS data processed {"connection_id":152166,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:05:04] local.INFO: Acknowledgment sent {"connection_id":152166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:05:18] local.INFO: TCP Data received {"connection_id":153091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec172680012d181e000721add0004d00d225..."} 
[2026-08-10 20:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec172680012d181e000721add0004d00d225..."} 
[2026-08-10 20:05:18] local.INFO: Processing buffer {"connection_id":153091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec172680012d181e000721add0004d00d225..."} 
[2026-08-10 20:05:18] local.INFO: Packet analysis {"connection_id":153091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec17"} 
[2026-08-10 20:05:18] local.INFO: Extracted packet for processing {"connection_id":153091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec17"} 
[2026-08-10 20:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311320832001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786372368000,"timestamp_ms":1786372368000,"timestamp_seconds":1786372368,"priority":1,"record_length":96,"hex_timestamp":"0000019fec172680"} 
[2026-08-10 20:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:05: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-08-10 20:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311320832001,"66":12439,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311320832001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:05:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311320832001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":153091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:05:18] local.INFO: GPS data processed {"connection_id":153091,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:05:18] local.INFO: Acknowledgment sent {"connection_id":153091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:05:35] local.INFO: TCP Data received {"connection_id":152166,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:05:35] local.INFO: Processing buffer {"connection_id":152166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:05:35] local.INFO: Packet analysis {"connection_id":152166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:05:35] local.INFO: Extracted packet for processing {"connection_id":152166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":14,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311277312001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786372478000,"timestamp_ms":1786372478000,"timestamp_seconds":1786372478,"priority":1,"record_length":96,"hex_timestamp":"0000019fec18d430"} 
[2026-08-10 20:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311277312001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311277312001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:05:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311277312001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":152166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:05:35] local.INFO: GPS data processed {"connection_id":152166,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:05:35] local.INFO: Acknowledgment sent {"connection_id":152166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:05:41] local.INFO: TCP Data received {"connection_id":151770,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:05:41] local.INFO: Processing buffer {"connection_id":151770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:05:41] local.INFO: IMEI packet received {"connection_id":151770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":151770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:05:46] local.INFO: TCP Data received {"connection_id":151770,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:05:46] local.INFO: Processing buffer {"connection_id":151770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:05:46] local.INFO: IMEI packet received {"connection_id":151770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":151770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:05:46] local.INFO: TCP Data received {"connection_id":151770,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec177888012d181e000721add0004d00d225..."} 
[2026-08-10 20:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec177888012d181e000721add0004d00d225..."} 
[2026-08-10 20:05:46] local.INFO: Processing buffer {"connection_id":151770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec177888012d181e000721add0004d00d225..."} 
[2026-08-10 20:05:46] local.INFO: Packet analysis {"connection_id":151770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec17"} 
[2026-08-10 20:05:46] local.INFO: Extracted packet for processing {"connection_id":151770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec17"} 
[2026-08-10 20:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311326208001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786372389000,"timestamp_ms":1786372389000,"timestamp_seconds":1786372389,"priority":1,"record_length":96,"hex_timestamp":"0000019fec177888"} 
[2026-08-10 20:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:05: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-08-10 20:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-10 20:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311326208001,"66":12428,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311326208001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:05:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311326208001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":151770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:05:46] local.INFO: GPS data processed {"connection_id":151770,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:05:46] local.INFO: Acknowledgment sent {"connection_id":151770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:05:58] local.INFO: TCP Data received {"connection_id":151771,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:05:58] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:05:58] local.INFO: IMEI packet received {"connection_id":151771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":151771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:06:03] local.INFO: TCP Data received {"connection_id":151771,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:06:03] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:06:03] local.INFO: IMEI packet received {"connection_id":151771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":151771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:06:04] local.INFO: TCP Data received {"connection_id":151771,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:06:04] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:06:04] local.INFO: Packet analysis {"connection_id":151771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:06:04] local.INFO: Extracted packet for processing {"connection_id":151771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":14,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311277312001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786372478000,"timestamp_ms":1786372478000,"timestamp_seconds":1786372478,"priority":1,"record_length":96,"hex_timestamp":"0000019fec18d430"} 
[2026-08-10 20:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311277312001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311277312001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:06:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311277312001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":151771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:06:04] local.INFO: GPS data processed {"connection_id":151771,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:06:04] local.INFO: Acknowledgment sent {"connection_id":151771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:06:17] local.INFO: TCP Data received {"connection_id":151770,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec17ca90012d181e000721add0004d00d223..."} 
[2026-08-10 20:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec17ca90012d181e000721add0004d00d223..."} 
[2026-08-10 20:06:17] local.INFO: Processing buffer {"connection_id":151770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec17ca90012d181e000721add0004d00d223..."} 
[2026-08-10 20:06:17] local.INFO: Packet analysis {"connection_id":151770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec17"} 
[2026-08-10 20:06:17] local.INFO: Extracted packet for processing {"connection_id":151770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec17"} 
[2026-08-10 20:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":210,"satellites":35,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-08-10 20:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311331584001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584171042406400,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786372410000,"timestamp_ms":1786372410000,"timestamp_seconds":1786372410,"priority":1,"record_length":96,"hex_timestamp":"0000019fec17ca90"} 
[2026-08-10 20:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-10 20:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311331584001,"66":12406,"105":206,"83":41984,"24":0,"16":11584171042406400,"45":1737826536841400320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-10 20:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311331584001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:06:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-10 20:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584171042406400,"km_value":11584171042406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-08-10 20:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311331584001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-08-10 20:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":151770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:06:17] local.INFO: GPS data processed {"connection_id":151770,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:06:17] local.INFO: Acknowledgment sent {"connection_id":151770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:06:35] local.INFO: TCP Data received {"connection_id":151771,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:06:35] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:06:35] local.INFO: Packet analysis {"connection_id":151771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:06:35] local.INFO: Extracted packet for processing {"connection_id":151771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":14,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311277312001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786372478000,"timestamp_ms":1786372478000,"timestamp_seconds":1786372478,"priority":1,"record_length":96,"hex_timestamp":"0000019fec18d430"} 
[2026-08-10 20:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311277312001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311277312001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:06:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311277312001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":151771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:06:35] local.INFO: GPS data processed {"connection_id":151771,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:06:35] local.INFO: Acknowledgment sent {"connection_id":151771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:06:41] local.INFO: TCP Data received {"connection_id":153092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:06:41] local.INFO: Processing buffer {"connection_id":153092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:06:41] local.INFO: IMEI packet received {"connection_id":153092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":153092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:06:41] local.INFO: TCP Data received {"connection_id":153092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:06:41] local.INFO: Processing buffer {"connection_id":153092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:06:41] local.INFO: IMEI packet received {"connection_id":153092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":153092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:06:43] local.INFO: TCP Data received {"connection_id":153092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:06:43] local.INFO: Processing buffer {"connection_id":153092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:06:43] local.INFO: IMEI packet received {"connection_id":153092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":153092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:06:46] local.INFO: TCP Data received {"connection_id":153092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:06:46] local.INFO: Processing buffer {"connection_id":153092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:06:46] local.INFO: IMEI packet received {"connection_id":153092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":153092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:06:47] local.INFO: TCP Data received {"connection_id":153092,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec19fd10012d18520007218bc8004b007223..."} 
[2026-08-10 20:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec19fd10012d18520007218bc8004b007223..."} 
[2026-08-10 20:06:47] local.INFO: Processing buffer {"connection_id":153092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec19fd10012d18520007218bc8004b007223..."} 
[2026-08-10 20:06:47] local.INFO: Packet analysis {"connection_id":153092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec19"} 
[2026-08-10 20:06:47] local.INFO: Extracted packet for processing {"connection_id":153092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec19"} 
[2026-08-10 20:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756568576,"raw_latitude":119638984,"longitude_deg":75.6568576,"latitude_deg":11.9638984,"altitude":75,"angle":114,"satellites":35,"speed":25,"hex_longitude":"2d185200","hex_latitude":"07218bc8","is_valid_coordinates":true} 
[2026-08-10 20:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311368960001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11584974201290752,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742963455165077504,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786372554000,"timestamp_ms":1786372554000,"timestamp_seconds":1786372554,"priority":1,"record_length":96,"hex_timestamp":"0000019fec19fd10"} 
[2026-08-10 20:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751524135,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2161735662369243213,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3961066160,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2872574026,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275777129,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":720801797291167315,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,40,159,104,45,64,168,74,37,10,66,39,92,169,38,77,1,240,160,227,236,33,4,113,205,3,69,29,239,53,2,41,7,48,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 20:06:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404448350324654080,"timestamp_seconds":5404448350324654.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 20:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311368960001,"66":13319,"106":206,"83":41984,"24":25,"16":11584974201290752,"45":1742963455165077504},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 20:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311368960001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:06:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 20:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11584974201290752,"km_value":11584974201290.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742963455165077504,"description":"Unknown IO ID 45"} 
[2026-08-10 20:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311368960001,"power":13319,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1742963455165077504}} 
[2026-08-10 20:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":153092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:06:47] local.INFO: GPS data processed {"connection_id":153092,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:06:47] local.INFO: Acknowledgment sent {"connection_id":153092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:06:51] local.INFO: TCP Data received {"connection_id":153092,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1a1c50012d1866c0072183200047006523..."} 
[2026-08-10 20:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1a1c50012d1866c0072183200047006523..."} 
[2026-08-10 20:06:51] local.INFO: Processing buffer {"connection_id":153092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1a1c50012d1866c0072183200047006523..."} 
[2026-08-10 20:06:51] local.INFO: Packet analysis {"connection_id":153092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1a"} 
[2026-08-10 20:06:51] local.INFO: Extracted packet for processing {"connection_id":153092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1a"} 
[2026-08-10 20:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756573888,"raw_latitude":119636768,"longitude_deg":75.6573888,"latitude_deg":11.9636768,"altitude":71,"angle":101,"satellites":35,"speed":30,"hex_longitude":"2d1866c0","hex_latitude":"07218320","is_valid_coordinates":true} 
[2026-08-10 20:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311373824001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11585249079197696,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752463235628124160,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786372562000,"timestamp_ms":1786372562000,"timestamp_seconds":1786372562,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1a1c50"} 
[2026-08-10 20:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:06: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":7,"data_length":795,"current_offset":136} 
[2026-08-10 20:06:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3961079160,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:51] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-5922233179265948416,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-10 20:06:51] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407146,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:51] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:51] local.WARNING: Large IO value detected {"io_id":25,"raw_value":1346577581773553671,"note":"Value kept but may cause issues"} 
[2026-08-10 20:06:51] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,40,159,178,45,64,154,75,36,10,66,105,104,168,74,37,39,92,1,240,56,227,236,33,4,113,205,73,29,239,52,2,41,7,3,12,25],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-10 20:06:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404445047495655424,"timestamp_seconds":5404445047495655.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 20:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311373824001,"66":13102,"106":206,"83":41984,"24":30,"16":11585249079197696,"45":1752463235628124160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 20:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311373824001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:06:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 20:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11585249079197696,"km_value":11585249079197.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752463235628124160,"description":"Unknown IO ID 45"} 
[2026-08-10 20:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311373824001,"power":13102,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1752463235628124160}} 
[2026-08-10 20:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":153092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:06:51] local.INFO: GPS data processed {"connection_id":153092,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:06:51] local.INFO: Acknowledgment sent {"connection_id":153092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:06:58] local.INFO: TCP Data received {"connection_id":152167,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:06:58] local.INFO: Processing buffer {"connection_id":152167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:06:58] local.INFO: IMEI packet received {"connection_id":152167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":152167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:07:03] local.INFO: TCP Data received {"connection_id":152167,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:07:03] local.INFO: Processing buffer {"connection_id":152167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:07:03] local.INFO: IMEI packet received {"connection_id":152167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":152167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:07:04] local.INFO: TCP Data received {"connection_id":152167,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:07:04] local.INFO: Processing buffer {"connection_id":152167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:07:04] local.INFO: Packet analysis {"connection_id":152167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:07:04] local.INFO: Extracted packet for processing {"connection_id":152167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":14,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311277312001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786372478000,"timestamp_ms":1786372478000,"timestamp_seconds":1786372478,"priority":1,"record_length":96,"hex_timestamp":"0000019fec18d430"} 
[2026-08-10 20:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311277312001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311277312001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:07:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:07:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311277312001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":152167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:07:04] local.INFO: GPS data processed {"connection_id":152167,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:07:04] local.INFO: Acknowledgment sent {"connection_id":152167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:07:22] local.INFO: TCP Data received {"connection_id":153092,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1a2808012d186f80072182780046005724..."} 
[2026-08-10 20:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1a2808012d186f80072182780046005724..."} 
[2026-08-10 20:07:22] local.INFO: Processing buffer {"connection_id":153092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1a2808012d186f80072182780046005724..."} 
[2026-08-10 20:07:22] local.INFO: Packet analysis {"connection_id":153092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1a"} 
[2026-08-10 20:07:22] local.INFO: Extracted packet for processing {"connection_id":153092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1a"} 
[2026-08-10 20:07:22] local.INFO: GPS Element Parsed {"raw_longitude":756576128,"raw_latitude":119636600,"longitude_deg":75.6576128,"latitude_deg":11.96366,"altitude":70,"angle":87,"satellites":36,"speed":28,"hex_longitude":"2d186f80","hex_latitude":"07218278","is_valid_coordinates":true} 
[2026-08-10 20:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311375872001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11585356453380096,"note":"Value kept but may cause issues"} 
[2026-08-10 20:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758303841394302976,"note":"Value kept but may cause issues"} 
[2026-08-10 20:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786372565000,"timestamp_ms":1786372565000,"timestamp_seconds":1786372565,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1a2808"} 
[2026-08-10 20:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:07: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-08-10 20:07: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-10 20:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311375872001,"66":13135,"106":206,"83":41984,"24":28,"16":11585356453380096,"45":1758303841394302976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 20:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311375872001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:07:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 20:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11585356453380096,"km_value":11585356453380.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758303841394302976,"description":"Unknown IO ID 45"} 
[2026-08-10 20:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311375872001,"power":13135,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1758303841394302976}} 
[2026-08-10 20:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":153092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:07:22] local.INFO: GPS data processed {"connection_id":153092,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:07:22] local.INFO: Acknowledgment sent {"connection_id":153092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:07:35] local.INFO: TCP Data received {"connection_id":152167,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:07:35] local.INFO: Processing buffer {"connection_id":152167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:07:35] local.INFO: Packet analysis {"connection_id":152167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:07:35] local.INFO: Extracted packet for processing {"connection_id":152167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":14,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311277312001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786372478000,"timestamp_ms":1786372478000,"timestamp_seconds":1786372478,"priority":1,"record_length":96,"hex_timestamp":"0000019fec18d430"} 
[2026-08-10 20:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311277312001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311277312001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:07:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311277312001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":152167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:07:35] local.INFO: GPS data processed {"connection_id":152167,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:07:35] local.INFO: Acknowledgment sent {"connection_id":152167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:07:42] local.INFO: TCP Data received {"connection_id":151772,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:07:42] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:07:42] local.INFO: IMEI packet received {"connection_id":151772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":151772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:07:43] local.INFO: TCP Data received {"connection_id":151772,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:07:43] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:07:43] local.INFO: IMEI packet received {"connection_id":151772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":151772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:07:45] local.INFO: TCP Data received {"connection_id":151772,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:07:45] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:07:45] local.INFO: IMEI packet received {"connection_id":151772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":151772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:07:46] local.INFO: TCP Data received {"connection_id":151772,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1aeb58012d18d2c007212270003c00b323..."} 
[2026-08-10 20:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1aeb58012d18d2c007212270003c00b323..."} 
[2026-08-10 20:07:46] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1aeb58012d18d2c007212270003c00b323..."} 
[2026-08-10 20:07:46] local.INFO: Packet analysis {"connection_id":151772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1a"} 
[2026-08-10 20:07:46] local.INFO: Extracted packet for processing {"connection_id":151772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1a"} 
[2026-08-10 20:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119612016,"longitude_deg":75.6601536,"latitude_deg":11.9612016,"altitude":60,"angle":179,"satellites":35,"speed":33,"hex_longitude":"2d18d2c0","hex_latitude":"07212270","is_valid_coordinates":true} 
[2026-08-10 20:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311388928001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11587272008794112,"note":"Value kept but may cause issues"} 
[2026-08-10 20:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384781824,"note":"Value kept but may cause issues"} 
[2026-08-10 20:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786372615000,"timestamp_ms":1786372615000,"timestamp_seconds":1786372615,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1aeb58"} 
[2026-08-10 20:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 20:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311388928001,"66":12385,"103":206,"83":41984,"24":33,"16":11587272008794112,"45":1788562401384781824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 20:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311388928001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:07:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 20:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11587272008794112,"km_value":11587272008794.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384781824,"description":"Unknown IO ID 45"} 
[2026-08-10 20:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311388928001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1788562401384781824}} 
[2026-08-10 20:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":151772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:07:46] local.INFO: GPS data processed {"connection_id":151772,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:07:46] local.INFO: Acknowledgment sent {"connection_id":151772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:07:58] local.INFO: TCP Data received {"connection_id":152168,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:07:58] local.INFO: Processing buffer {"connection_id":152168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:07:58] local.INFO: IMEI packet received {"connection_id":152168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":152168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:08:03] local.INFO: TCP Data received {"connection_id":152168,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:08:03] local.INFO: Processing buffer {"connection_id":152168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:08:03] local.INFO: IMEI packet received {"connection_id":152168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":152168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:08:04] local.INFO: TCP Data received {"connection_id":152168,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:08:04] local.INFO: Processing buffer {"connection_id":152168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:08:04] local.INFO: Packet analysis {"connection_id":152168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:08:04] local.INFO: Extracted packet for processing {"connection_id":152168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":14,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311277312001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786372478000,"timestamp_ms":1786372478000,"timestamp_seconds":1786372478,"priority":1,"record_length":96,"hex_timestamp":"0000019fec18d430"} 
[2026-08-10 20:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311277312001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311277312001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:08:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311277312001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":152168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:08:04] local.INFO: GPS data processed {"connection_id":152168,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:08:04] local.INFO: Acknowledgment sent {"connection_id":152168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:08:17] local.INFO: TCP Data received {"connection_id":151772,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1b02c8012d18d38007210d38003900a722..."} 
[2026-08-10 20:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1b02c8012d18d38007210d38003900a722..."} 
[2026-08-10 20:08:17] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1b02c8012d18d38007210d38003900a722..."} 
[2026-08-10 20:08:17] local.INFO: Packet analysis {"connection_id":151772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1b"} 
[2026-08-10 20:08:17] local.INFO: Extracted packet for processing {"connection_id":151772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1b"} 
[2026-08-10 20:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119606584,"longitude_deg":75.6601728,"latitude_deg":11.9606584,"altitude":57,"angle":167,"satellites":34,"speed":37,"hex_longitude":"2d18d380","hex_latitude":"07210d38","is_valid_coordinates":true} 
[2026-08-10 20:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311389440001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11587538296766464,"note":"Value kept but may cause issues"} 
[2026-08-10 20:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138872717312,"note":"Value kept but may cause issues"} 
[2026-08-10 20:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786372621000,"timestamp_ms":1786372621000,"timestamp_seconds":1786372621,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1b02c8"} 
[2026-08-10 20:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:08: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-08-10 20:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-10 20:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311389440001,"66":13559,"103":206,"83":41984,"24":37,"16":11587538296766464,"45":1788703138872717312},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 20:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311389440001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:08:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 20:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11587538296766464,"km_value":11587538296766.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138872717312,"description":"Unknown IO ID 45"} 
[2026-08-10 20:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311389440001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788703138872717312}} 
[2026-08-10 20:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":151772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:08:17] local.INFO: GPS data processed {"connection_id":151772,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:08:17] local.INFO: Acknowledgment sent {"connection_id":151772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:08:35] local.INFO: TCP Data received {"connection_id":152168,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:08:35] local.INFO: Processing buffer {"connection_id":152168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:08:35] local.INFO: Packet analysis {"connection_id":152168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:08:35] local.INFO: Extracted packet for processing {"connection_id":152168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":14,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311277312001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786372478000,"timestamp_ms":1786372478000,"timestamp_seconds":1786372478,"priority":1,"record_length":96,"hex_timestamp":"0000019fec18d430"} 
[2026-08-10 20:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:08: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-08-10 20:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311277312001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311277312001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:08:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311277312001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":152168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:08:35] local.INFO: GPS data processed {"connection_id":152168,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:08:35] local.INFO: Acknowledgment sent {"connection_id":152168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:08:41] local.INFO: TCP Data received {"connection_id":154520,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:08:41] local.INFO: Processing buffer {"connection_id":154520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:08:41] local.INFO: IMEI packet received {"connection_id":154520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":154520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:08:44] local.INFO: TCP Data received {"connection_id":154520,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:08:44] local.INFO: Processing buffer {"connection_id":154520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:08:44] local.INFO: IMEI packet received {"connection_id":154520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":154520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:08:46] local.INFO: TCP Data received {"connection_id":154520,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:08:46] local.INFO: Processing buffer {"connection_id":154520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:08:46] local.INFO: IMEI packet received {"connection_id":154520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":154520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:08:47] local.INFO: TCP Data received {"connection_id":154520,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1b1268012d18d8000720ff780036009823..."} 
[2026-08-10 20:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1b1268012d18d8000720ff780036009823..."} 
[2026-08-10 20:08:47] local.INFO: Processing buffer {"connection_id":154520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1b1268012d18d8000720ff780036009823..."} 
[2026-08-10 20:08:47] local.INFO: Packet analysis {"connection_id":154520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1b"} 
[2026-08-10 20:08:47] local.INFO: Extracted packet for processing {"connection_id":154520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1b"} 
[2026-08-10 20:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756602880,"raw_latitude":119603064,"longitude_deg":75.660288,"latitude_deg":11.9603064,"altitude":54,"angle":152,"satellites":35,"speed":37,"hex_longitude":"2d18d800","hex_latitude":"0720ff78","is_valid_coordinates":true} 
[2026-08-10 20:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311390976001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11587718685392896,"note":"Value kept but may cause issues"} 
[2026-08-10 20:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245103859712,"note":"Value kept but may cause issues"} 
[2026-08-10 20:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786372625000,"timestamp_ms":1786372625000,"timestamp_seconds":1786372625,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1b1268"} 
[2026-08-10 20:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-10 20:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311390976001,"66":13472,"103":206,"83":41984,"24":37,"16":11587718685392896,"45":1788914245103859712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 20:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311390976001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:08:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 20:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11587718685392896,"km_value":11587718685392.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245103859712,"description":"Unknown IO ID 45"} 
[2026-08-10 20:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311390976001,"power":13472,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788914245103859712}} 
[2026-08-10 20:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":154520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:08:47] local.INFO: GPS data processed {"connection_id":154520,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:08:47] local.INFO: Acknowledgment sent {"connection_id":154520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:08:58] local.INFO: TCP Data received {"connection_id":153093,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:08:58] local.INFO: Processing buffer {"connection_id":153093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:08:58] local.INFO: IMEI packet received {"connection_id":153093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":153093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:09:03] local.INFO: TCP Data received {"connection_id":153093,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:09:03] local.INFO: Processing buffer {"connection_id":153093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:09:03] local.INFO: IMEI packet received {"connection_id":153093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":153093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:09:04] local.INFO: TCP Data received {"connection_id":153093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:09:04] local.INFO: Processing buffer {"connection_id":153093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:09:04] local.INFO: Packet analysis {"connection_id":153093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:09:04] local.INFO: Extracted packet for processing {"connection_id":153093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":14,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311277312001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786372478000,"timestamp_ms":1786372478000,"timestamp_seconds":1786372478,"priority":1,"record_length":96,"hex_timestamp":"0000019fec18d430"} 
[2026-08-10 20:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311277312001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311277312001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:09:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311277312001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":153093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:09:04] local.INFO: GPS data processed {"connection_id":153093,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:09:04] local.INFO: Acknowledgment sent {"connection_id":153093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:09:18] local.INFO: TCP Data received {"connection_id":154520,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1c6258012d19af0007209158002d00bd24..."} 
[2026-08-10 20:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1c6258012d19af0007209158002d00bd24..."} 
[2026-08-10 20:09:18] local.INFO: Processing buffer {"connection_id":154520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1c6258012d19af0007209158002d00bd24..."} 
[2026-08-10 20:09:18] local.INFO: Packet analysis {"connection_id":154520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1c"} 
[2026-08-10 20:09:18] local.INFO: Extracted packet for processing {"connection_id":154520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1c"} 
[2026-08-10 20:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119574872,"longitude_deg":75.665792,"latitude_deg":11.9574872,"altitude":45,"angle":189,"satellites":36,"speed":29,"hex_longitude":"2d19af00","hex_latitude":"07209158","is_valid_coordinates":true} 
[2026-08-10 20:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311411968001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11591262033412096,"note":"Value kept but may cause issues"} 
[2026-08-10 20:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205431808,"note":"Value kept but may cause issues"} 
[2026-08-10 20:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786372711000,"timestamp_ms":1786372711000,"timestamp_seconds":1786372711,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1c6258"} 
[2026-08-10 20:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:09: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-08-10 20:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-10 20:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311411968001,"66":13450,"103":206,"83":41984,"24":29,"16":11591262033412096,"45":1854075702205431808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 20:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311411968001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:09:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 20:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11591262033412096,"km_value":11591262033412.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205431808,"description":"Unknown IO ID 45"} 
[2026-08-10 20:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311411968001,"power":13450,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1854075702205431808}} 
[2026-08-10 20:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":154520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:09:18] local.INFO: GPS data processed {"connection_id":154520,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:09:18] local.INFO: Acknowledgment sent {"connection_id":154520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:09:35] local.INFO: TCP Data received {"connection_id":153093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:09:35] local.INFO: Processing buffer {"connection_id":153093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:09:35] local.INFO: Packet analysis {"connection_id":153093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:09:35] local.INFO: Extracted packet for processing {"connection_id":153093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":14,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311277312001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786372478000,"timestamp_ms":1786372478000,"timestamp_seconds":1786372478,"priority":1,"record_length":96,"hex_timestamp":"0000019fec18d430"} 
[2026-08-10 20:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311277312001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311277312001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:09:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311277312001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":153093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:09:35] local.INFO: GPS data processed {"connection_id":153093,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:09:35] local.INFO: Acknowledgment sent {"connection_id":153093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:09:41] local.INFO: TCP Data received {"connection_id":151773,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:09:41] local.INFO: Processing buffer {"connection_id":151773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:09:41] local.INFO: IMEI packet received {"connection_id":151773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":151773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:09:46] local.INFO: TCP Data received {"connection_id":151773,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:09:46] local.INFO: Processing buffer {"connection_id":151773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:09:46] local.INFO: IMEI packet received {"connection_id":151773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":151773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:09:47] local.INFO: TCP Data received {"connection_id":151773,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1c6640012d19aec007208e68002c00b125..."} 
[2026-08-10 20:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1c6640012d19aec007208e68002c00b125..."} 
[2026-08-10 20:09:47] local.INFO: Processing buffer {"connection_id":151773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1c6640012d19aec007208e68002c00b125..."} 
[2026-08-10 20:09:47] local.INFO: Packet analysis {"connection_id":151773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1c"} 
[2026-08-10 20:09:47] local.INFO: Extracted packet for processing {"connection_id":151773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1c"} 
[2026-08-10 20:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119574120,"longitude_deg":75.6657856,"latitude_deg":11.957412,"altitude":44,"angle":177,"satellites":37,"speed":30,"hex_longitude":"2d19aec0","hex_latitude":"07208e68","is_valid_coordinates":true} 
[2026-08-10 20:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311414016001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11591296393150464,"note":"Value kept but may cause issues"} 
[2026-08-10 20:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002483730432,"note":"Value kept but may cause issues"} 
[2026-08-10 20:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786372712000,"timestamp_ms":1786372712000,"timestamp_seconds":1786372712,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1c6640"} 
[2026-08-10 20:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-10 20:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311414016001,"66":13243,"103":206,"83":41984,"24":30,"16":11591296393150464,"45":1850698002483730432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 20:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311414016001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:09:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 20:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11591296393150464,"km_value":11591296393150.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002483730432,"description":"Unknown IO ID 45"} 
[2026-08-10 20:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311414016001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1850698002483730432}} 
[2026-08-10 20:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":151773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:09:47] local.INFO: GPS data processed {"connection_id":151773,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:09:47] local.INFO: Acknowledgment sent {"connection_id":151773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:09:58] local.INFO: TCP Data received {"connection_id":153094,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:09:58] local.INFO: Processing buffer {"connection_id":153094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:09:58] local.INFO: IMEI packet received {"connection_id":153094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":153094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:10:03] local.INFO: TCP Data received {"connection_id":153094,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:10:03] local.INFO: Processing buffer {"connection_id":153094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:10:03] local.INFO: IMEI packet received {"connection_id":153094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":153094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:10:04] local.INFO: TCP Data received {"connection_id":153094,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:10:04] local.INFO: Processing buffer {"connection_id":153094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec18d430012d34248006abc190000e007e27..."} 
[2026-08-10 20:10:04] local.INFO: Packet analysis {"connection_id":153094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:10:04] local.INFO: Extracted packet for processing {"connection_id":153094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec18"} 
[2026-08-10 20:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":14,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311277312001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786372478000,"timestamp_ms":1786372478000,"timestamp_seconds":1786372478,"priority":1,"record_length":96,"hex_timestamp":"0000019fec18d430"} 
[2026-08-10 20:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311277312001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311277312001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:10:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311277312001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":153094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:10:04] local.INFO: GPS data processed {"connection_id":153094,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:10:04] local.INFO: Acknowledgment sent {"connection_id":153094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:10:19] local.INFO: TCP Data received {"connection_id":151773,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1c7db0012d19b24007207c08002c00a425..."} 
[2026-08-10 20:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1c7db0012d19b24007207c08002c00a425..."} 
[2026-08-10 20:10:19] local.INFO: Processing buffer {"connection_id":151773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1c7db0012d19b24007207c08002c00a425..."} 
[2026-08-10 20:10:19] local.INFO: Packet analysis {"connection_id":151773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1c"} 
[2026-08-10 20:10:19] local.INFO: Extracted packet for processing {"connection_id":151773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1c"} 
[2026-08-10 20:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756658752,"raw_latitude":119569416,"longitude_deg":75.6658752,"latitude_deg":11.9569416,"altitude":44,"angle":164,"satellites":37,"speed":33,"hex_longitude":"2d19b240","hex_latitude":"07207c08","is_valid_coordinates":true} 
[2026-08-10 20:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311414272001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11591532616351744,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739360256,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786372718000,"timestamp_ms":1786372718000,"timestamp_seconds":1786372718,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1c7db0"} 
[2026-08-10 20:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-10 20:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311414272001,"66":13472,"103":206,"83":41984,"24":33,"16":11591532616351744,"45":1850627633739360256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 20:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311414272001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:10:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 20:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11591532616351744,"km_value":11591532616351.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739360256,"description":"Unknown IO ID 45"} 
[2026-08-10 20:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311414272001,"power":13472,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1850627633739360256}} 
[2026-08-10 20:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":151773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:10:19] local.INFO: GPS data processed {"connection_id":151773,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:10:19] local.INFO: Acknowledgment sent {"connection_id":151773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:10:35] local.INFO: TCP Data received {"connection_id":153094,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:10:35] local.INFO: Processing buffer {"connection_id":153094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:10:35] local.INFO: Packet analysis {"connection_id":153094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:10:35] local.INFO: Extracted packet for processing {"connection_id":153094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":15,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 20:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311354368001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786372779000,"timestamp_ms":1786372779000,"timestamp_seconds":1786372779,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1d6bf8"} 
[2026-08-10 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-08-10 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 20:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311354368001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311354368001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:10:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311354368001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":153094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:10:35] local.INFO: GPS data processed {"connection_id":153094,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:10:35] local.INFO: Acknowledgment sent {"connection_id":153094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:10:46] local.INFO: TCP Data received {"connection_id":153095,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:10:46] local.INFO: Processing buffer {"connection_id":153095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:10:46] local.INFO: IMEI packet received {"connection_id":153095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":153095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:10:51] local.INFO: TCP Data received {"connection_id":153095,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:10:51] local.INFO: Processing buffer {"connection_id":153095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:10:51] local.INFO: IMEI packet received {"connection_id":153095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":153095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:10:52] local.INFO: TCP Data received {"connection_id":153095,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1ca8a8012d19bc80072059d8002900aa25..."} 
[2026-08-10 20:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1ca8a8012d19bc80072059d8002900aa25..."} 
[2026-08-10 20:10:52] local.INFO: Processing buffer {"connection_id":153095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1ca8a8012d19bc80072059d8002900aa25..."} 
[2026-08-10 20:10:52] local.INFO: Packet analysis {"connection_id":153095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1c"} 
[2026-08-10 20:10:52] local.INFO: Extracted packet for processing {"connection_id":153095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1c"} 
[2026-08-10 20:10:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119560664,"longitude_deg":75.6661376,"latitude_deg":11.9560664,"altitude":41,"angle":170,"satellites":37,"speed":34,"hex_longitude":"2d19bc80","hex_latitude":"072059d8","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311415808001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11591974997983232,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851612796156643328,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786372729000,"timestamp_ms":1786372729000,"timestamp_seconds":1786372729,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1ca8a8"} 
[2026-08-10 20:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:10: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-08-10 20: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-10 20:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20: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-08-10 20:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311415808001,"66":12841,"103":206,"83":41984,"24":34,"16":11591974997983232,"45":1851612796156643328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 20:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311415808001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:10:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 20:10:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11591974997983232,"km_value":11591974997983.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851612796156643328,"description":"Unknown IO ID 45"} 
[2026-08-10 20:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311415808001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1851612796156643328}} 
[2026-08-10 20:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":153095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:10:53] local.INFO: GPS data processed {"connection_id":153095,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:10:53] local.INFO: Acknowledgment sent {"connection_id":153095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:10:54] local.INFO: TCP Data received {"connection_id":153095,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1ccfb8012d19c0c0072037d00027009e1f..."} 
[2026-08-10 20:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1ccfb8012d19c0c0072037d00027009e1f..."} 
[2026-08-10 20:10:54] local.INFO: Processing buffer {"connection_id":153095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1ccfb8012d19c0c0072037d00027009e1f..."} 
[2026-08-10 20:10:54] local.INFO: Packet analysis {"connection_id":153095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1c"} 
[2026-08-10 20:10:54] local.INFO: Extracted packet for processing {"connection_id":153095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1c"} 
[2026-08-10 20:10:54] local.INFO: GPS Element Parsed {"raw_longitude":756662464,"raw_latitude":119551952,"longitude_deg":75.6662464,"latitude_deg":11.9551952,"altitude":39,"angle":158,"satellites":31,"speed":34,"hex_longitude":"2d19c0c0","hex_latitude":"072037d0","is_valid_coordinates":true} 
[2026-08-10 20:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311418624001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11592400199745536,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914665687040,"note":"Value kept but may cause issues"} 
[2026-08-10 20:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786372739000,"timestamp_ms":1786372739000,"timestamp_seconds":1786372739,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1ccfb8"} 
[2026-08-10 20:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 20:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311418624001,"66":13254,"103":206,"83":41984,"24":34,"16":11592400199745536,"45":1854497914665687040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-10 20:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311418624001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:10:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-10 20:10:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11592400199745536,"km_value":11592400199745.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914665687040,"description":"Unknown IO ID 45"} 
[2026-08-10 20:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311418624001,"power":13254,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1854497914665687040}} 
[2026-08-10 20:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":153095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:10:54] local.INFO: GPS data processed {"connection_id":153095,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:10:54] local.INFO: Acknowledgment sent {"connection_id":153095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:10:58] local.INFO: TCP Data received {"connection_id":152169,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:10:58] local.INFO: Processing buffer {"connection_id":152169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:10:58] local.INFO: IMEI packet received {"connection_id":152169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":152169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:11:03] local.INFO: TCP Data received {"connection_id":152169,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:11:03] local.INFO: Processing buffer {"connection_id":152169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:11:03] local.INFO: IMEI packet received {"connection_id":152169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":152169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:11:04] local.INFO: TCP Data received {"connection_id":152169,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:11:04] local.INFO: Processing buffer {"connection_id":152169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:11:04] local.INFO: Packet analysis {"connection_id":152169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:11:04] local.INFO: Extracted packet for processing {"connection_id":152169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":15,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311354368001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786372779000,"timestamp_ms":1786372779000,"timestamp_seconds":1786372779,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1d6bf8"} 
[2026-08-10 20:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311354368001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311354368001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:11:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311354368001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":152169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:11:04] local.INFO: GPS data processed {"connection_id":152169,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:11:04] local.INFO: Acknowledgment sent {"connection_id":152169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:11:26] local.INFO: TCP Data received {"connection_id":153095,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1cfe98012d19cd4007201b480028009122..."} 
[2026-08-10 20:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1cfe98012d19cd4007201b480028009122..."} 
[2026-08-10 20:11:26] local.INFO: Processing buffer {"connection_id":153095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1cfe98012d19cd4007201b480028009122..."} 
[2026-08-10 20:11:26] local.INFO: Packet analysis {"connection_id":153095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1c"} 
[2026-08-10 20:11:26] local.INFO: Extracted packet for processing {"connection_id":153095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1c"} 
[2026-08-10 20:11:26] local.INFO: GPS Element Parsed {"raw_longitude":756665664,"raw_latitude":119544648,"longitude_deg":75.6665664,"latitude_deg":11.9544648,"altitude":40,"angle":145,"satellites":34,"speed":11,"hex_longitude":"2d19cd40","hex_latitude":"07201b48","is_valid_coordinates":true} 
[2026-08-10 20:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311421184001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11592786746802176,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855694183314477056,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786372751000,"timestamp_ms":1786372751000,"timestamp_seconds":1786372751,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1cfe98"} 
[2026-08-10 20:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-10 20:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311421184001,"66":12809,"106":206,"83":41984,"24":11,"16":11592786746802176,"45":1855694183314477056},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 20:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311421184001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:11:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 20:11:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11592786746802176,"km_value":11592786746802.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855694183314477056,"description":"Unknown IO ID 45"} 
[2026-08-10 20:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311421184001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1855694183314477056}} 
[2026-08-10 20:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":153095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:11:26] local.INFO: GPS data processed {"connection_id":153095,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:11:26] local.INFO: Acknowledgment sent {"connection_id":153095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:11:35] local.INFO: TCP Data received {"connection_id":152169,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:11:35] local.INFO: Processing buffer {"connection_id":152169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:11:35] local.INFO: Packet analysis {"connection_id":152169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:11:35] local.INFO: Extracted packet for processing {"connection_id":152169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":15,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311354368001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786372779000,"timestamp_ms":1786372779000,"timestamp_seconds":1786372779,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1d6bf8"} 
[2026-08-10 20:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:11: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-08-10 20:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311354368001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311354368001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:11:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311354368001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":152169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:11:35] local.INFO: GPS data processed {"connection_id":152169,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:11:35] local.INFO: Acknowledgment sent {"connection_id":152169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:11:41] local.INFO: TCP Data received {"connection_id":151774,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:11:41] local.INFO: Processing buffer {"connection_id":151774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:11:41] local.INFO: IMEI packet received {"connection_id":151774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":151774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:11:46] local.INFO: TCP Data received {"connection_id":151774,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:11:46] local.INFO: Processing buffer {"connection_id":151774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:11:46] local.INFO: IMEI packet received {"connection_id":151774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":151774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:11:52] local.INFO: TCP Data received {"connection_id":151774,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1d0668012d19ce8007201a100029007f22..."} 
[2026-08-10 20:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1d0668012d19ce8007201a100029007f22..."} 
[2026-08-10 20:11:52] local.INFO: Processing buffer {"connection_id":151774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1d0668012d19ce8007201a100029007f22..."} 
[2026-08-10 20:11:52] local.INFO: Packet analysis {"connection_id":151774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:11:52] local.INFO: Extracted packet for processing {"connection_id":151774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:11:52] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544336,"longitude_deg":75.6665984,"latitude_deg":11.9544336,"altitude":41,"angle":127,"satellites":34,"speed":7,"hex_longitude":"2d19ce80","hex_latitude":"07201a10","is_valid_coordinates":true} 
[2026-08-10 20:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311424256001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11592808221638656,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620521490432,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786372753000,"timestamp_ms":1786372753000,"timestamp_seconds":1786372753,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1d0668"} 
[2026-08-10 20:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:11: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-08-10 20:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1297036692850476032,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3961275160,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2035398338204515392,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2389180460,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308408,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2352321565447733540,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847468357530029,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-10 20:11:52] local.INFO: IO Element Parsed {"io_data_count":49,"io_data_keys":[0,106,83,24,241,157,16,47,159,207,45,192,55,39,31,10,66,103,168,128,89,41,37,46,125,64,1,240,160,227,236,32,4,113,205,30,98,175,88,36,239,52,2,7,43,21,51,164,242],"length":535,"final_offset":665,"validated_count":49,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-10 20:11:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882463336732753920,"timestamp_seconds":2882463336732754.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 20:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311424256001,"66":13135,"106":206,"83":41984,"24":7,"16":11592808221638656,"45":1859212620521490432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 20:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311424256001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:11:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 20:11:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11592808221638656,"km_value":11592808221638.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620521490432,"description":"Unknown IO ID 45"} 
[2026-08-10 20:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311424256001,"power":13135,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1859212620521490432}} 
[2026-08-10 20:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":151774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:11:52] local.INFO: GPS data processed {"connection_id":151774,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:11:52] local.INFO: Acknowledgment sent {"connection_id":151774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:11:58] local.INFO: TCP Data received {"connection_id":152170,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:11:58] local.INFO: Processing buffer {"connection_id":152170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:11:58] local.INFO: IMEI packet received {"connection_id":152170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":152170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:12:03] local.INFO: TCP Data received {"connection_id":152170,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:12:03] local.INFO: Processing buffer {"connection_id":152170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:12:03] local.INFO: IMEI packet received {"connection_id":152170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":152170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:12:04] local.INFO: TCP Data received {"connection_id":152170,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:12:04] local.INFO: Processing buffer {"connection_id":152170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:12:04] local.INFO: Packet analysis {"connection_id":152170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:12:04] local.INFO: Extracted packet for processing {"connection_id":152170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":15,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311354368001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786372779000,"timestamp_ms":1786372779000,"timestamp_seconds":1786372779,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1d6bf8"} 
[2026-08-10 20:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311354368001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311354368001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:12:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311354368001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":152170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:12:04] local.INFO: GPS data processed {"connection_id":152170,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:12:04] local.INFO: Acknowledgment sent {"connection_id":152170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:12:23] local.INFO: TCP Data received {"connection_id":151774,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1d5870012d19d000072018a80029007e22..."} 
[2026-08-10 20:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1d5870012d19d000072018a80029007e22..."} 
[2026-08-10 20:12:23] local.INFO: Processing buffer {"connection_id":151774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1d5870012d19d000072018a80029007e22..."} 
[2026-08-10 20:12:23] local.INFO: Packet analysis {"connection_id":151774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:12:23] local.INFO: Extracted packet for processing {"connection_id":151774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756666368,"raw_latitude":119543976,"longitude_deg":75.6666368,"latitude_deg":11.9543976,"altitude":41,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d19d000","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-08-10 20:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311424768001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11592838286409728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242298880,"note":"Value kept but may cause issues"} 
[2026-08-10 20:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786372774000,"timestamp_ms":1786372774000,"timestamp_seconds":1786372774,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1d5870"} 
[2026-08-10 20:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-10 20:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311424768001,"66":13015,"106":206,"83":41984,"24":0,"16":11592838286409728,"45":1859564464242298880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 20:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311424768001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:12:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 20:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11592838286409728,"km_value":11592838286409.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242298880,"description":"Unknown IO ID 45"} 
[2026-08-10 20:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311424768001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242298880}} 
[2026-08-10 20:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":151774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:12:23] local.INFO: GPS data processed {"connection_id":151774,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:12:23] local.INFO: Acknowledgment sent {"connection_id":151774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:12:35] local.INFO: TCP Data received {"connection_id":152170,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:12:35] local.INFO: Processing buffer {"connection_id":152170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:12:35] local.INFO: Packet analysis {"connection_id":152170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:12:35] local.INFO: Extracted packet for processing {"connection_id":152170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":15,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311354368001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786372779000,"timestamp_ms":1786372779000,"timestamp_seconds":1786372779,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1d6bf8"} 
[2026-08-10 20:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20: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-08-10 20:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311354368001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311354368001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:12:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311354368001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":152170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:12:35] local.INFO: GPS data processed {"connection_id":152170,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:12:35] local.INFO: Acknowledgment sent {"connection_id":152170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:12:39] local.INFO: TCP Data received {"connection_id":153096,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:12:39] local.INFO: Processing buffer {"connection_id":153096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:12:39] local.INFO: IMEI packet received {"connection_id":153096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":153096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:12:42] local.INFO: TCP Data received {"connection_id":153096,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:12:42] local.INFO: Processing buffer {"connection_id":153096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:12:42] local.INFO: IMEI packet received {"connection_id":153096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":153096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:12:46] local.INFO: TCP Data received {"connection_id":153096,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:12:46] local.INFO: Processing buffer {"connection_id":153096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:12:46] local.INFO: IMEI packet received {"connection_id":153096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":153096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:12:47] local.INFO: TCP Data received {"connection_id":153096,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1daa78012d19d000072018a80029007e21..."} 
[2026-08-10 20:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1daa78012d19d000072018a80029007e21..."} 
[2026-08-10 20:12:47] local.INFO: Processing buffer {"connection_id":153096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1daa78012d19d000072018a80029007e21..."} 
[2026-08-10 20:12:47] local.INFO: Packet analysis {"connection_id":153096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:12:47] local.INFO: Extracted packet for processing {"connection_id":153096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756666368,"raw_latitude":119543976,"longitude_deg":75.6666368,"latitude_deg":11.9543976,"altitude":41,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d19d000","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-08-10 20:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311430144001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11592838286409728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859986676707272704,"note":"Value kept but may cause issues"} 
[2026-08-10 20:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786372795000,"timestamp_ms":1786372795000,"timestamp_seconds":1786372795,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1daa78"} 
[2026-08-10 20:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-10 20:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311430144001,"66":12950,"106":206,"83":41984,"24":0,"16":11592838286409728,"45":1859986676707272704},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 20:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311430144001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:12:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 20:12:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11592838286409728,"km_value":11592838286409.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859986676707272704,"description":"Unknown IO ID 45"} 
[2026-08-10 20:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311430144001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859986676707272704}} 
[2026-08-10 20:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":153096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:12:47] local.INFO: GPS data processed {"connection_id":153096,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:12:47] local.INFO: Acknowledgment sent {"connection_id":153096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:12:58] local.INFO: TCP Data received {"connection_id":152171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:12:58] local.INFO: Processing buffer {"connection_id":152171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:12:58] local.INFO: IMEI packet received {"connection_id":152171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":152171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:13:03] local.INFO: TCP Data received {"connection_id":152171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:13:03] local.INFO: Processing buffer {"connection_id":152171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:13:03] local.INFO: IMEI packet received {"connection_id":152171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":152171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:13:03] local.INFO: TCP Data received {"connection_id":152171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:13:03] local.INFO: Processing buffer {"connection_id":152171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:13:03] local.INFO: Packet analysis {"connection_id":152171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:13:03] local.INFO: Extracted packet for processing {"connection_id":152171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":15,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 20:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311354368001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786372779000,"timestamp_ms":1786372779000,"timestamp_seconds":1786372779,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1d6bf8"} 
[2026-08-10 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-08-10 20:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 20:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311354368001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311354368001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:13:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311354368001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":152171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:13:03] local.INFO: GPS data processed {"connection_id":152171,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:13:03] local.INFO: Acknowledgment sent {"connection_id":152171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:13:18] local.INFO: TCP Data received {"connection_id":153096,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1dfc80012d19d000072018a80029007e22..."} 
[2026-08-10 20:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1dfc80012d19d000072018a80029007e22..."} 
[2026-08-10 20:13:18] local.INFO: Processing buffer {"connection_id":153096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1dfc80012d19d000072018a80029007e22..."} 
[2026-08-10 20:13:18] local.INFO: Packet analysis {"connection_id":153096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:13:18] local.INFO: Extracted packet for processing {"connection_id":153096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756666368,"raw_latitude":119543976,"longitude_deg":75.6666368,"latitude_deg":11.9543976,"altitude":41,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d19d000","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-08-10 20:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311435520001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11592838286409728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859986676707272704,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786372816000,"timestamp_ms":1786372816000,"timestamp_seconds":1786372816,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1dfc80"} 
[2026-08-10 20:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20: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-08-10 20: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 20:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311435520001,"66":12939,"106":206,"83":41984,"24":0,"16":11592838286409728,"45":1859986676707272704},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-10 20:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311435520001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:13:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-10 20:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11592838286409728,"km_value":11592838286409.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859986676707272704,"description":"Unknown IO ID 45"} 
[2026-08-10 20:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311435520001,"power":12939,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859986676707272704}} 
[2026-08-10 20:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":153096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:13:18] local.INFO: GPS data processed {"connection_id":153096,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:13:18] local.INFO: Acknowledgment sent {"connection_id":153096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:13:34] local.INFO: TCP Data received {"connection_id":152171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:13:34] local.INFO: Processing buffer {"connection_id":152171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:13:34] local.INFO: Packet analysis {"connection_id":152171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:13:34] local.INFO: Extracted packet for processing {"connection_id":152171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:13:34] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":15,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311354368001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786372779000,"timestamp_ms":1786372779000,"timestamp_seconds":1786372779,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1d6bf8"} 
[2026-08-10 20:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:13: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-08-10 20:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311354368001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311354368001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:13:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:13:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311354368001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":152171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:13:34] local.INFO: GPS data processed {"connection_id":152171,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:13:34] local.INFO: Acknowledgment sent {"connection_id":152171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:13:41] local.INFO: TCP Data received {"connection_id":152172,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:13:41] local.INFO: Processing buffer {"connection_id":152172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:13:41] local.INFO: IMEI packet received {"connection_id":152172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":152172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:13:42] local.INFO: TCP Data received {"connection_id":152172,"ip":"42.106.6.38","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-10 20:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152172,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-10 20:13:42] local.INFO: Processing buffer {"connection_id":152172,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-10 20:13:42] local.INFO: IMEI packet received {"connection_id":152172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":152172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:13:44] local.INFO: TCP Data received {"connection_id":152172,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:13:44] local.INFO: Processing buffer {"connection_id":152172,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-10 20:13:44] local.INFO: IMEI packet received {"connection_id":152172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":152172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:13:45] local.INFO: TCP Data received {"connection_id":152172,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec203ea0012d19df4007200bc0002b00b725..."} 
[2026-08-10 20:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec203ea0012d19df4007200bc0002b00b725..."} 
[2026-08-10 20:13:45] local.INFO: Processing buffer {"connection_id":152172,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fec..."} 
[2026-08-10 20:13:45] local.INFO: IMEI packet received {"connection_id":152172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":152172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:13:46] local.INFO: TCP Data received {"connection_id":152172,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec204288012d19df4007200b00002c00c325..."} 
[2026-08-10 20:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec204288012d19df4007200b00002c00c325..."} 
[2026-08-10 20:13:46] local.INFO: Processing buffer {"connection_id":152172,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fec203ea0012d19df4007200bc0002b00b725..."} 
[2026-08-10 20:13:46] local.INFO: Packet analysis {"connection_id":152172,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fec20"} 
[2026-08-10 20:13:46] local.INFO: Extracted packet for processing {"connection_id":152172,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec20"} 
[2026-08-10 20:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756670272,"raw_latitude":119540672,"longitude_deg":75.6670272,"latitude_deg":11.9540672,"altitude":43,"angle":183,"satellites":37,"speed":6,"hex_longitude":"2d19df40","hex_latitude":"07200bc0","is_valid_coordinates":true} 
[2026-08-10 20:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311478528001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11593104574382080,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864279170101307392,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13: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-08-10 20:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786372964000,"timestamp_ms":1786372964000,"timestamp_seconds":1786372964,"priority":1,"record_length":96,"hex_timestamp":"0000019fec203ea0"} 
[2026-08-10 20:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:13: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-08-10 20:13: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":19,"data_length":795,"current_offset":136} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3961518160,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503776520044544,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2299281128870760448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675341143365648408,"corrected_to":0} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-5620266417984057773,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2312783127296114210,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195005952,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84752349134266392,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":168,"raw_value":11541015781441536,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,47,159,54,45,13,44,36,10,66,50,192,43,35,1,240,88,227,236,32,4,113,205,12,208,239,49,2,41,7,164,161,69,144,168],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":8675341143365648408,"validated":0}]} 
[2026-08-10 20:13:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098661416203583488,"timestamp_seconds":3098661416203583.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 20:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311478528001,"66":13624,"101":206,"83":41984,"24":6,"16":11593104574382080,"45":1864279170101307392},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 20:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311478528001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:13:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 20:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11593104574382080,"km_value":11593104574382.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864279170101307392,"description":"Unknown IO ID 45"} 
[2026-08-10 20:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311478528001,"power":13624,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1864279170101307392}} 
[2026-08-10 20:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":152172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:13:46] local.INFO: GPS data processed {"connection_id":152172,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:13:46] local.INFO: Acknowledgment sent {"connection_id":152172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:13:46] local.INFO: Packet analysis {"connection_id":152172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec20"} 
[2026-08-10 20:13:46] local.INFO: Extracted packet for processing {"connection_id":152172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec20"} 
[2026-08-10 20:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756670272,"raw_latitude":119540480,"longitude_deg":75.6670272,"latitude_deg":11.954048,"altitude":44,"angle":195,"satellites":37,"speed":8,"hex_longitude":"2d19df40","hex_latitude":"07200b00","is_valid_coordinates":true} 
[2026-08-10 20:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311478784001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11593113164316672,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864279170101264384,"note":"Value kept but may cause issues"} 
[2026-08-10 20:13: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-08-10 20:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786372965000,"timestamp_ms":1786372965000,"timestamp_seconds":1786372965,"priority":1,"record_length":96,"hex_timestamp":"0000019fec204288"} 
[2026-08-10 20:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:13: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-08-10 20:13: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-08-10 20:13: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-08-10 20:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311478784001,"66":13624,"101":206,"83":41984,"24":8,"16":11593113164316672,"45":1864279170101264384},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 20:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311478784001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:13:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 20:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11593113164316672,"km_value":11593113164316.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864279170101264384,"description":"Unknown IO ID 45"} 
[2026-08-10 20:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311478784001,"power":13624,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1864279170101264384}} 
[2026-08-10 20:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":152172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:13:46] local.INFO: GPS data processed {"connection_id":152172,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:13:46] local.INFO: Acknowledgment sent {"connection_id":152172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:13:58] local.INFO: TCP Data received {"connection_id":152173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:13:58] local.INFO: Processing buffer {"connection_id":152173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:13:58] local.INFO: IMEI packet received {"connection_id":152173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":152173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:14:03] local.INFO: TCP Data received {"connection_id":152173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:14:03] local.INFO: Processing buffer {"connection_id":152173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:14:03] local.INFO: IMEI packet received {"connection_id":152173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":152173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:14:03] local.INFO: TCP Data received {"connection_id":152173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:14:03] local.INFO: Processing buffer {"connection_id":152173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:14:03] local.INFO: Packet analysis {"connection_id":152173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:14:03] local.INFO: Extracted packet for processing {"connection_id":152173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":15,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311354368001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786372779000,"timestamp_ms":1786372779000,"timestamp_seconds":1786372779,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1d6bf8"} 
[2026-08-10 20:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311354368001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311354368001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:14:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311354368001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":152173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:14:03] local.INFO: GPS data processed {"connection_id":152173,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:14:03] local.INFO: Acknowledgment sent {"connection_id":152173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:14:18] local.INFO: TCP Data received {"connection_id":152172,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec20fe08012d19a400071ff128003300ec22..."} 
[2026-08-10 20:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec20fe08012d19a400071ff128003300ec22..."} 
[2026-08-10 20:14:18] local.INFO: Processing buffer {"connection_id":152172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec20fe08012d19a400071ff128003300ec22..."} 
[2026-08-10 20:14:18] local.INFO: Packet analysis {"connection_id":152172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec20"} 
[2026-08-10 20:14:18] local.INFO: Extracted packet for processing {"connection_id":152172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec20"} 
[2026-08-10 20:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119533864,"longitude_deg":75.6655104,"latitude_deg":11.9533864,"altitude":51,"angle":236,"satellites":34,"speed":6,"hex_longitude":"2d19a400","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-10 20:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311490816001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11593989337645056,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252706166784,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786373013000,"timestamp_ms":1786373013000,"timestamp_seconds":1786373013,"priority":1,"record_length":96,"hex_timestamp":"0000019fec20fe08"} 
[2026-08-10 20:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:14: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-08-10 20:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-10 20:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311490816001,"66":12809,"101":206,"83":41984,"24":6,"16":11593989337645056,"45":1847883252706166784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 20:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311490816001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:14:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 20:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11593989337645056,"km_value":11593989337645.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252706166784,"description":"Unknown IO ID 45"} 
[2026-08-10 20:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311490816001,"power":12809,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1847883252706166784}} 
[2026-08-10 20:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":152172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:14:18] local.INFO: GPS data processed {"connection_id":152172,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:14:18] local.INFO: Acknowledgment sent {"connection_id":152172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:14:34] local.INFO: TCP Data received {"connection_id":152173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:14:34] local.INFO: Processing buffer {"connection_id":152173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:14:34] local.INFO: Packet analysis {"connection_id":152173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:14:34] local.INFO: Extracted packet for processing {"connection_id":152173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":15,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311354368001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786372779000,"timestamp_ms":1786372779000,"timestamp_seconds":1786372779,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1d6bf8"} 
[2026-08-10 20:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20: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-08-10 20:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311354368001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311354368001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:14:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311354368001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":152173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:14:34] local.INFO: GPS data processed {"connection_id":152173,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:14:34] local.INFO: Acknowledgment sent {"connection_id":152173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:14:39] local.INFO: TCP Data received {"connection_id":151775,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:14:39] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:14:39] local.INFO: IMEI packet received {"connection_id":151775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":151775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:14:41] local.INFO: TCP Data received {"connection_id":151775,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:14:41] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:14:41] local.INFO: IMEI packet received {"connection_id":151775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":151775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:14:44] local.INFO: TCP Data received {"connection_id":151775,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:14:44] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:14:44] local.INFO: IMEI packet received {"connection_id":151775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":151775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:14:45] local.INFO: TCP Data received {"connection_id":151775,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2109c0012d19a200071feff8003400fe22..."} 
[2026-08-10 20:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2109c0012d19a200071feff8003400fe22..."} 
[2026-08-10 20:14:45] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2109c0012d19a200071feff8003400fe22..."} 
[2026-08-10 20:14:45] local.INFO: Packet analysis {"connection_id":151775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:14:45] local.INFO: Extracted packet for processing {"connection_id":151775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756654592,"raw_latitude":119533560,"longitude_deg":75.6654592,"latitude_deg":11.953356,"altitude":52,"angle":254,"satellites":34,"speed":10,"hex_longitude":"2d19a200","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311491328001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594019402416128,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777729415168,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786373016000,"timestamp_ms":1786373016000,"timestamp_seconds":1786373016,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2109c0"} 
[2026-08-10 20:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20: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-08-10 20: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":792633534584980480,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3961559160,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":14337,"corrected_to":0} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2347659640492903296,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4052746288,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-10 20:14:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3080437,"corrected_to":0} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2302650028235216677,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826567035859373,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-08-10 20:14:45] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,48,159,246,45,50,33,10,66,226,64,240,32,214,1,12,227,236,31,4,113,205,15,160,200,37,239,49,2,41,7,47,52,164,60],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":246,"original":14337,"validated":0},{"io_id":205,"original":2019885262,"validated":0},{"io_id":200,"original":3080437,"validated":0}]} 
[2026-08-10 20:14:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675196926707761152,"timestamp_seconds":3675196926707761.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-10 20:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311491328001,"66":13559,"101":206,"83":41984,"24":10,"16":11594019402416128,"45":1847601777729415168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-10 20:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311491328001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:14:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 20:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594019402416128,"km_value":11594019402416.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777729415168,"description":"Unknown IO ID 45"} 
[2026-08-10 20:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311491328001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1847601777729415168}} 
[2026-08-10 20:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":151775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:14:45] local.INFO: GPS data processed {"connection_id":151775,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:14:45] local.INFO: Acknowledgment sent {"connection_id":151775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:14:58] local.INFO: TCP Data received {"connection_id":153097,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:14:58] local.INFO: Processing buffer {"connection_id":153097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:14:58] local.INFO: IMEI packet received {"connection_id":153097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":153097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:15:03] local.INFO: TCP Data received {"connection_id":153097,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:15:03] local.INFO: Processing buffer {"connection_id":153097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:15:03] local.INFO: IMEI packet received {"connection_id":153097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":153097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:15:04] local.INFO: TCP Data received {"connection_id":153097,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:15:04] local.INFO: Processing buffer {"connection_id":153097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec1d6bf8012d34248006abc190000f007e25..."} 
[2026-08-10 20:15:04] local.INFO: Packet analysis {"connection_id":153097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:15:04] local.INFO: Extracted packet for processing {"connection_id":153097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec1d"} 
[2026-08-10 20:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":15,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311354368001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786372779000,"timestamp_ms":1786372779000,"timestamp_seconds":1786372779,"priority":1,"record_length":96,"hex_timestamp":"0000019fec1d6bf8"} 
[2026-08-10 20:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311354368001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311354368001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:15:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311354368001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":153097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:15:04] local.INFO: GPS data processed {"connection_id":153097,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:15:04] local.INFO: Acknowledgment sent {"connection_id":153097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:15:16] local.INFO: TCP Data received {"connection_id":151775,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:15:16] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:15:16] local.INFO: Packet analysis {"connection_id":151775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:15:16] local.INFO: Extracted packet for processing {"connection_id":151775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533008,"longitude_deg":75.6639808,"latitude_deg":11.9533008,"altitude":57,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-08-10 20:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311503872001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359028224,"note":"Value kept but may cause issues"} 
[2026-08-10 20:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786373073000,"timestamp_ms":1786373073000,"timestamp_seconds":1786373073,"priority":1,"record_length":96,"hex_timestamp":"0000019fec21e868"} 
[2026-08-10 20:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 20:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-10 20:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311503872001,"66":12939,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830924385359028224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311503872001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:15:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:15:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359028224,"description":"Unknown IO ID 45"} 
[2026-08-10 20:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311503872001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359028224}} 
[2026-08-10 20:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":151775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:15:17] local.INFO: GPS data processed {"connection_id":151775,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:15:17] local.INFO: Acknowledgment sent {"connection_id":151775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:15:35] local.INFO: TCP Data received {"connection_id":153097,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:15:35] local.INFO: Processing buffer {"connection_id":153097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:15:35] local.INFO: Packet analysis {"connection_id":153097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:15:35] local.INFO: Extracted packet for processing {"connection_id":153097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":6,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311431424001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373080000,"timestamp_ms":1786373080000,"timestamp_seconds":1786373080,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2203c0"} 
[2026-08-10 20:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311431424001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311431424001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:15:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311431424001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":153097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:15:35] local.INFO: GPS data processed {"connection_id":153097,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:15:35] local.INFO: Acknowledgment sent {"connection_id":153097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:15:41] local.INFO: TCP Data received {"connection_id":154521,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:15:41] local.INFO: Processing buffer {"connection_id":154521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:15:41] local.INFO: IMEI packet received {"connection_id":154521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":154521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:15:46] local.INFO: TCP Data received {"connection_id":154521,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:15:46] local.INFO: Processing buffer {"connection_id":154521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:15:46] local.INFO: IMEI packet received {"connection_id":154521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":154521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:15:47] local.INFO: TCP Data received {"connection_id":154521,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:15:47] local.INFO: Processing buffer {"connection_id":154521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:15:47] local.INFO: Packet analysis {"connection_id":154521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:15:47] local.INFO: Extracted packet for processing {"connection_id":154521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533008,"longitude_deg":75.6639808,"latitude_deg":11.9533008,"altitude":57,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-08-10 20:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373073000,"timestamp_ms":1786373073000,"timestamp_seconds":1786373073,"priority":1,"record_length":96,"hex_timestamp":"0000019fec21e868"} 
[2026-08-10 20:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:15: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-08-10 20:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":12939,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:15:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":154521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:15:47] local.INFO: GPS data processed {"connection_id":154521,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:15:47] local.INFO: Acknowledgment sent {"connection_id":154521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:16:03] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:16:03] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:16:03] local.INFO: IMEI packet received {"connection_id":151776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":151776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:16:08] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:16:08] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:16:08] local.INFO: IMEI packet received {"connection_id":151776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":151776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:16:09] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:16:09] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:16:09] local.INFO: Packet analysis {"connection_id":151776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:16:09] local.INFO: Extracted packet for processing {"connection_id":151776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":6,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311431424001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786373080000,"timestamp_ms":1786373080000,"timestamp_seconds":1786373080,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2203c0"} 
[2026-08-10 20:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20: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-08-10 20:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:16: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-08-10 20:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311431424001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311431424001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:16:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311431424001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":151776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:16:09] local.INFO: GPS data processed {"connection_id":151776,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:16:09] local.INFO: Acknowledgment sent {"connection_id":151776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:16:13] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:16:13] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:16:13] local.INFO: Packet analysis {"connection_id":151776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:16:13] local.INFO: Extracted packet for processing {"connection_id":151776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:16:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":6,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311431424001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786373080000,"timestamp_ms":1786373080000,"timestamp_seconds":1786373080,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2203c0"} 
[2026-08-10 20:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20: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-08-10 20:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311431424001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311431424001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:16:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:16:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311431424001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":151776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:16:13] local.INFO: GPS data processed {"connection_id":151776,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:16:13] local.INFO: Acknowledgment sent {"connection_id":151776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:16:19] local.INFO: TCP Data received {"connection_id":154521,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:16:19] local.INFO: Processing buffer {"connection_id":154521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:16:19] local.INFO: Packet analysis {"connection_id":154521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:16:19] local.INFO: Extracted packet for processing {"connection_id":154521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533008,"longitude_deg":75.6639808,"latitude_deg":11.9533008,"altitude":57,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-08-10 20:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786373073000,"timestamp_ms":1786373073000,"timestamp_seconds":1786373073,"priority":1,"record_length":96,"hex_timestamp":"0000019fec21e868"} 
[2026-08-10 20:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":12939,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:16:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:16:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":154521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:16:19] local.INFO: GPS data processed {"connection_id":154521,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:16:19] local.INFO: Acknowledgment sent {"connection_id":154521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:16:41] local.INFO: TCP Data received {"connection_id":154522,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:16:41] local.INFO: Processing buffer {"connection_id":154522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:16:41] local.INFO: IMEI packet received {"connection_id":154522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":154522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:16:46] local.INFO: TCP Data received {"connection_id":154522,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:16:46] local.INFO: Processing buffer {"connection_id":154522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:16:46] local.INFO: IMEI packet received {"connection_id":154522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":154522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:16:47] local.INFO: TCP Data received {"connection_id":154522,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:16:47] local.INFO: Processing buffer {"connection_id":154522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:16:47] local.INFO: Packet analysis {"connection_id":154522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:16:47] local.INFO: Extracted packet for processing {"connection_id":154522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533008,"longitude_deg":75.6639808,"latitude_deg":11.9533008,"altitude":57,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-08-10 20:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373073000,"timestamp_ms":1786373073000,"timestamp_seconds":1786373073,"priority":1,"record_length":96,"hex_timestamp":"0000019fec21e868"} 
[2026-08-10 20:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:16: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-08-10 20:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":12939,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:16:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:16:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":154522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:16:47] local.INFO: GPS data processed {"connection_id":154522,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:16:47] local.INFO: Acknowledgment sent {"connection_id":154522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:16:58] local.INFO: TCP Data received {"connection_id":154523,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:16:58] local.INFO: Processing buffer {"connection_id":154523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:16:58] local.INFO: IMEI packet received {"connection_id":154523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":154523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:17:03] local.INFO: TCP Data received {"connection_id":154523,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:17:03] local.INFO: Processing buffer {"connection_id":154523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:17:03] local.INFO: IMEI packet received {"connection_id":154523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":154523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:17:04] local.INFO: TCP Data received {"connection_id":154523,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:17:04] local.INFO: Processing buffer {"connection_id":154523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:17:04] local.INFO: Packet analysis {"connection_id":154523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:17:04] local.INFO: Extracted packet for processing {"connection_id":154523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:17:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":6,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311431424001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786373080000,"timestamp_ms":1786373080000,"timestamp_seconds":1786373080,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2203c0"} 
[2026-08-10 20:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311431424001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311431424001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:17:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311431424001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":154523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:17:04] local.INFO: GPS data processed {"connection_id":154523,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:17:04] local.INFO: Acknowledgment sent {"connection_id":154523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:17:18] local.INFO: TCP Data received {"connection_id":154522,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:17:18] local.INFO: Processing buffer {"connection_id":154522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:17:18] local.INFO: Packet analysis {"connection_id":154522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:17:18] local.INFO: Extracted packet for processing {"connection_id":154522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533008,"longitude_deg":75.6639808,"latitude_deg":11.9533008,"altitude":57,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-08-10 20:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786373073000,"timestamp_ms":1786373073000,"timestamp_seconds":1786373073,"priority":1,"record_length":96,"hex_timestamp":"0000019fec21e868"} 
[2026-08-10 20:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:17: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":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":12939,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:17:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:17:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":154522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:17:18] local.INFO: GPS data processed {"connection_id":154522,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:17:18] local.INFO: Acknowledgment sent {"connection_id":154522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:17:35] local.INFO: TCP Data received {"connection_id":154523,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:17:35] local.INFO: Processing buffer {"connection_id":154523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:17:35] local.INFO: Packet analysis {"connection_id":154523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:17:35] local.INFO: Extracted packet for processing {"connection_id":154523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":6,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311431424001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373080000,"timestamp_ms":1786373080000,"timestamp_seconds":1786373080,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2203c0"} 
[2026-08-10 20:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311431424001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311431424001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:17:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311431424001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":154523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:17:35] local.INFO: GPS data processed {"connection_id":154523,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:17:35] local.INFO: Acknowledgment sent {"connection_id":154523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:17:46] local.INFO: TCP Data received {"connection_id":152174,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:17:46] local.INFO: Processing buffer {"connection_id":152174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:17:46] local.INFO: IMEI packet received {"connection_id":152174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":152174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:17:51] local.INFO: TCP Data received {"connection_id":152174,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:17:51] local.INFO: Processing buffer {"connection_id":152174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:17:51] local.INFO: IMEI packet received {"connection_id":152174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":152174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:17:52] local.INFO: TCP Data received {"connection_id":152174,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:17:52] local.INFO: Processing buffer {"connection_id":152174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:17:52] local.INFO: Packet analysis {"connection_id":152174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:17:52] local.INFO: Extracted packet for processing {"connection_id":152174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:17:52] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533008,"longitude_deg":75.6639808,"latitude_deg":11.9533008,"altitude":57,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-08-10 20:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786373073000,"timestamp_ms":1786373073000,"timestamp_seconds":1786373073,"priority":1,"record_length":96,"hex_timestamp":"0000019fec21e868"} 
[2026-08-10 20:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":12939,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:17:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:17:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":152174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:17:52] local.INFO: GPS data processed {"connection_id":152174,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:17:52] local.INFO: Acknowledgment sent {"connection_id":152174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:17:58] local.INFO: TCP Data received {"connection_id":154524,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:17:58] local.INFO: Processing buffer {"connection_id":154524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:17:58] local.INFO: IMEI packet received {"connection_id":154524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":154524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:18:03] local.INFO: TCP Data received {"connection_id":154524,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:18:03] local.INFO: Processing buffer {"connection_id":154524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:18:03] local.INFO: IMEI packet received {"connection_id":154524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":154524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:18:04] local.INFO: TCP Data received {"connection_id":154524,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:18:04] local.INFO: Processing buffer {"connection_id":154524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:18:04] local.INFO: Packet analysis {"connection_id":154524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:18:04] local.INFO: Extracted packet for processing {"connection_id":154524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":6,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311431424001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786373080000,"timestamp_ms":1786373080000,"timestamp_seconds":1786373080,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2203c0"} 
[2026-08-10 20:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311431424001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311431424001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:18:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311431424001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":154524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:18:04] local.INFO: GPS data processed {"connection_id":154524,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:18:04] local.INFO: Acknowledgment sent {"connection_id":154524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:18:23] local.INFO: TCP Data received {"connection_id":152174,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:18:23] local.INFO: Processing buffer {"connection_id":152174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:18:23] local.INFO: Packet analysis {"connection_id":152174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:18:23] local.INFO: Extracted packet for processing {"connection_id":152174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533008,"longitude_deg":75.6639808,"latitude_deg":11.9533008,"altitude":57,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-08-10 20:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786373073000,"timestamp_ms":1786373073000,"timestamp_seconds":1786373073,"priority":1,"record_length":96,"hex_timestamp":"0000019fec21e868"} 
[2026-08-10 20:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":12939,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:18:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":152174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:18:23] local.INFO: GPS data processed {"connection_id":152174,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:18:23] local.INFO: Acknowledgment sent {"connection_id":152174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:18:35] local.INFO: TCP Data received {"connection_id":154524,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:18:35] local.INFO: Processing buffer {"connection_id":154524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:18:35] local.INFO: Packet analysis {"connection_id":154524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:18:35] local.INFO: Extracted packet for processing {"connection_id":154524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":6,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311431424001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373080000,"timestamp_ms":1786373080000,"timestamp_seconds":1786373080,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2203c0"} 
[2026-08-10 20:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311431424001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311431424001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:18:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311431424001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":154524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:18:35] local.INFO: GPS data processed {"connection_id":154524,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:18:35] local.INFO: Acknowledgment sent {"connection_id":154524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:18:41] local.INFO: TCP Data received {"connection_id":151777,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:18:41] local.INFO: Processing buffer {"connection_id":151777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:18:41] local.INFO: IMEI packet received {"connection_id":151777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":151777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:18:46] local.INFO: TCP Data received {"connection_id":151777,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:18:46] local.INFO: Processing buffer {"connection_id":151777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:18:46] local.INFO: IMEI packet received {"connection_id":151777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":151777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:18:47] local.INFO: TCP Data received {"connection_id":151777,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:18:47] local.INFO: Processing buffer {"connection_id":151777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:18:47] local.INFO: Packet analysis {"connection_id":151777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:18:47] local.INFO: Extracted packet for processing {"connection_id":151777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533008,"longitude_deg":75.6639808,"latitude_deg":11.9533008,"altitude":57,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-08-10 20:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373073000,"timestamp_ms":1786373073000,"timestamp_seconds":1786373073,"priority":1,"record_length":96,"hex_timestamp":"0000019fec21e868"} 
[2026-08-10 20:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:18: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-08-10 20:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":12939,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:18:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":151777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:18:47] local.INFO: GPS data processed {"connection_id":151777,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:18:47] local.INFO: Acknowledgment sent {"connection_id":151777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:18:58] local.INFO: TCP Data received {"connection_id":154525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:18:58] local.INFO: Processing buffer {"connection_id":154525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:18:58] local.INFO: IMEI packet received {"connection_id":154525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":154525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:19:03] local.INFO: TCP Data received {"connection_id":154525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:19:03] local.INFO: Processing buffer {"connection_id":154525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:19:03] local.INFO: IMEI packet received {"connection_id":154525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":154525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:19:03] local.INFO: TCP Data received {"connection_id":154525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:19:03] local.INFO: Processing buffer {"connection_id":154525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:19:03] local.INFO: Packet analysis {"connection_id":154525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:19:03] local.INFO: Extracted packet for processing {"connection_id":154525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":6,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311431424001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786373080000,"timestamp_ms":1786373080000,"timestamp_seconds":1786373080,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2203c0"} 
[2026-08-10 20:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311431424001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311431424001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:19:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311431424001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":154525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:19:03] local.INFO: GPS data processed {"connection_id":154525,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:19:03] local.INFO: Acknowledgment sent {"connection_id":154525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:19:19] local.INFO: TCP Data received {"connection_id":151777,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:19:19] local.INFO: Processing buffer {"connection_id":151777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:19:19] local.INFO: Packet analysis {"connection_id":151777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:19:19] local.INFO: Extracted packet for processing {"connection_id":151777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533008,"longitude_deg":75.6639808,"latitude_deg":11.9533008,"altitude":57,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-08-10 20:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786373073000,"timestamp_ms":1786373073000,"timestamp_seconds":1786373073,"priority":1,"record_length":96,"hex_timestamp":"0000019fec21e868"} 
[2026-08-10 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-08-10 20:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 20:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":12939,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:19:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":151777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:19:19] local.INFO: GPS data processed {"connection_id":151777,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:19:19] local.INFO: Acknowledgment sent {"connection_id":151777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:19:34] local.INFO: TCP Data received {"connection_id":154525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:19:34] local.INFO: Processing buffer {"connection_id":154525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:19:34] local.INFO: Packet analysis {"connection_id":154525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:19:34] local.INFO: Extracted packet for processing {"connection_id":154525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":6,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311431424001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786373080000,"timestamp_ms":1786373080000,"timestamp_seconds":1786373080,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2203c0"} 
[2026-08-10 20:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":154525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":154525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":154525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311431424001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311431424001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:19:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311431424001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":154525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:19:34] local.INFO: GPS data processed {"connection_id":154525,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:19:34] local.INFO: Acknowledgment sent {"connection_id":154525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:19:41] local.INFO: TCP Data received {"connection_id":153098,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:19:41] local.INFO: Processing buffer {"connection_id":153098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:19:41] local.INFO: IMEI packet received {"connection_id":153098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":153098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:19:46] local.INFO: TCP Data received {"connection_id":153098,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:19:46] local.INFO: Processing buffer {"connection_id":153098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:19:46] local.INFO: IMEI packet received {"connection_id":153098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":153098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:19:47] local.INFO: TCP Data received {"connection_id":153098,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:19:47] local.INFO: Processing buffer {"connection_id":153098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec21e868012d196840071fedd00039014225..."} 
[2026-08-10 20:19:47] local.INFO: Packet analysis {"connection_id":153098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:19:47] local.INFO: Extracted packet for processing {"connection_id":153098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec21"} 
[2026-08-10 20:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533008,"longitude_deg":75.6639808,"latitude_deg":11.9533008,"altitude":57,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-08-10 20:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373073000,"timestamp_ms":1786373073000,"timestamp_seconds":1786373073,"priority":1,"record_length":96,"hex_timestamp":"0000019fec21e868"} 
[2026-08-10 20:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:19: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-08-10 20: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":12939,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:19:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:19:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":153098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:19:47] local.INFO: GPS data processed {"connection_id":153098,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:19:47] local.INFO: Acknowledgment sent {"connection_id":153098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:19:58] local.INFO: TCP Data received {"connection_id":154526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:19:58] local.INFO: Processing buffer {"connection_id":154526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:19:58] local.INFO: IMEI packet received {"connection_id":154526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":154526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:20:03] local.INFO: TCP Data received {"connection_id":154526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:20:03] local.INFO: Processing buffer {"connection_id":154526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:20:03] local.INFO: IMEI packet received {"connection_id":154526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":154526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:20:03] local.INFO: TCP Data received {"connection_id":154526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:20:03] local.INFO: Processing buffer {"connection_id":154526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2203c0012d34248006abc1900006007e27..."} 
[2026-08-10 20:20:03] local.INFO: Packet analysis {"connection_id":154526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:20:03] local.INFO: Extracted packet for processing {"connection_id":154526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec22"} 
[2026-08-10 20:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":6,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311431424001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786373080000,"timestamp_ms":1786373080000,"timestamp_seconds":1786373080,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2203c0"} 
[2026-08-10 20:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311431424001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311431424001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:20:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311431424001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":154526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:20:03] local.INFO: GPS data processed {"connection_id":154526,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:20:03] local.INFO: Acknowledgment sent {"connection_id":154526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:20:18] local.INFO: TCP Data received {"connection_id":153098,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:20:18] local.INFO: Processing buffer {"connection_id":153098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:20:18] local.INFO: Packet analysis {"connection_id":153098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:20:18] local.INFO: Extracted packet for processing {"connection_id":153098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786373379000,"timestamp_ms":1786373379000,"timestamp_seconds":1786373379,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2693b8"} 
[2026-08-10 20:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:20:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:20:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":153098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:20:18] local.INFO: GPS data processed {"connection_id":153098,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:20:18] local.INFO: Acknowledgment sent {"connection_id":153098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:20:35] local.INFO: TCP Data received {"connection_id":154526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:20:35] local.INFO: Processing buffer {"connection_id":154526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:20:35] local.INFO: Packet analysis {"connection_id":154526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:20:35] local.INFO: Extracted packet for processing {"connection_id":154526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311508480001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373381000,"timestamp_ms":1786373381000,"timestamp_seconds":1786373381,"priority":1,"record_length":96,"hex_timestamp":"0000019fec269b88"} 
[2026-08-10 20:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311508480001,"66":25343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311508480001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:20:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311508480001,"power":25343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":154526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:20:35] local.INFO: GPS data processed {"connection_id":154526,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:20:35] local.INFO: Acknowledgment sent {"connection_id":154526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:20:46] local.INFO: TCP Data received {"connection_id":152175,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:20:46] local.INFO: Processing buffer {"connection_id":152175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:20:46] local.INFO: IMEI packet received {"connection_id":152175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":152175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:20:47] local.INFO: TCP Data received {"connection_id":152175,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:20:47] local.INFO: Processing buffer {"connection_id":152175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:20:47] local.INFO: Packet analysis {"connection_id":152175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:20:47] local.INFO: Extracted packet for processing {"connection_id":152175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373379000,"timestamp_ms":1786373379000,"timestamp_seconds":1786373379,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2693b8"} 
[2026-08-10 20:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:20: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-08-10 20: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":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:20:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":152175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:20:48] local.INFO: GPS data processed {"connection_id":152175,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:20:48] local.INFO: Acknowledgment sent {"connection_id":152175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:20:58] local.INFO: TCP Data received {"connection_id":152176,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:20:58] local.INFO: Processing buffer {"connection_id":152176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:20:58] local.INFO: IMEI packet received {"connection_id":152176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":152176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:21:03] local.INFO: TCP Data received {"connection_id":152176,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:21:03] local.INFO: Processing buffer {"connection_id":152176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:21:03] local.INFO: IMEI packet received {"connection_id":152176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":152176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:21:04] local.INFO: TCP Data received {"connection_id":152176,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:21:04] local.INFO: Processing buffer {"connection_id":152176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:21:04] local.INFO: Packet analysis {"connection_id":152176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:21:04] local.INFO: Extracted packet for processing {"connection_id":152176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311508480001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786373381000,"timestamp_ms":1786373381000,"timestamp_seconds":1786373381,"priority":1,"record_length":96,"hex_timestamp":"0000019fec269b88"} 
[2026-08-10 20:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311508480001,"66":25343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311508480001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:21:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311508480001,"power":25343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":152176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:21:04] local.INFO: GPS data processed {"connection_id":152176,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:21:04] local.INFO: Acknowledgment sent {"connection_id":152176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:21:19] local.INFO: TCP Data received {"connection_id":152175,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:21:19] local.INFO: Processing buffer {"connection_id":152175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:21:19] local.INFO: Packet analysis {"connection_id":152175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:21:19] local.INFO: Extracted packet for processing {"connection_id":152175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786373379000,"timestamp_ms":1786373379000,"timestamp_seconds":1786373379,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2693b8"} 
[2026-08-10 20:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:21:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:21:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":152175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:21:19] local.INFO: GPS data processed {"connection_id":152175,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:21:19] local.INFO: Acknowledgment sent {"connection_id":152175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:21:35] local.INFO: TCP Data received {"connection_id":152176,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:21:35] local.INFO: Processing buffer {"connection_id":152176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:21:35] local.INFO: Packet analysis {"connection_id":152176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:21:35] local.INFO: Extracted packet for processing {"connection_id":152176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311508480001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373381000,"timestamp_ms":1786373381000,"timestamp_seconds":1786373381,"priority":1,"record_length":96,"hex_timestamp":"0000019fec269b88"} 
[2026-08-10 20:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311508480001,"66":25343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311508480001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:21:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311508480001,"power":25343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":152176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:21:35] local.INFO: GPS data processed {"connection_id":152176,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:21:35] local.INFO: Acknowledgment sent {"connection_id":152176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:21:41] local.INFO: TCP Data received {"connection_id":151778,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:21:41] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:21:41] local.INFO: IMEI packet received {"connection_id":151778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":151778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:21:46] local.INFO: TCP Data received {"connection_id":151778,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:21:46] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:21:46] local.INFO: IMEI packet received {"connection_id":151778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":151778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:21:47] local.INFO: TCP Data received {"connection_id":151778,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:21:47] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:21:47] local.INFO: Packet analysis {"connection_id":151778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:21:47] local.INFO: Extracted packet for processing {"connection_id":151778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373379000,"timestamp_ms":1786373379000,"timestamp_seconds":1786373379,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2693b8"} 
[2026-08-10 20:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:21: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-08-10 20:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:21:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":151778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:21:47] local.INFO: GPS data processed {"connection_id":151778,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:21:47] local.INFO: Acknowledgment sent {"connection_id":151778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:21:52] local.INFO: TCP Data received {"connection_id":151778,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:21:52] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:21:52] local.INFO: Packet analysis {"connection_id":151778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:21:52] local.INFO: Extracted packet for processing {"connection_id":151778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:21:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786373379000,"timestamp_ms":1786373379000,"timestamp_seconds":1786373379,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2693b8"} 
[2026-08-10 20:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:21:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:21:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":151778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:21:52] local.INFO: GPS data processed {"connection_id":151778,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:21:52] local.INFO: Acknowledgment sent {"connection_id":151778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:22:03] local.INFO: TCP Data received {"connection_id":151779,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:22:03] local.INFO: Processing buffer {"connection_id":151779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:22:03] local.INFO: IMEI packet received {"connection_id":151779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":151779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:22:08] local.INFO: TCP Data received {"connection_id":151779,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:22:08] local.INFO: Processing buffer {"connection_id":151779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:22:08] local.INFO: IMEI packet received {"connection_id":151779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":151779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:22:09] local.INFO: TCP Data received {"connection_id":151779,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:22:09] local.INFO: Processing buffer {"connection_id":151779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:22:09] local.INFO: Packet analysis {"connection_id":151779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:22:09] local.INFO: Extracted packet for processing {"connection_id":151779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311508480001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786373381000,"timestamp_ms":1786373381000,"timestamp_seconds":1786373381,"priority":1,"record_length":96,"hex_timestamp":"0000019fec269b88"} 
[2026-08-10 20:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:22:09] 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-08-10 20:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311508480001,"66":25343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311508480001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:22:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311508480001,"power":25343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":151779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:22:09] local.INFO: GPS data processed {"connection_id":151779,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:22:09] local.INFO: Acknowledgment sent {"connection_id":151779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:22:13] local.INFO: TCP Data received {"connection_id":151779,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:22:13] local.INFO: Processing buffer {"connection_id":151779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:22:13] local.INFO: Packet analysis {"connection_id":151779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:22:13] local.INFO: Extracted packet for processing {"connection_id":151779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311508480001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786373381000,"timestamp_ms":1786373381000,"timestamp_seconds":1786373381,"priority":1,"record_length":96,"hex_timestamp":"0000019fec269b88"} 
[2026-08-10 20:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20: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-08-10 20:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:22:13] 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-08-10 20:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311508480001,"66":25343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311508480001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:22:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311508480001,"power":25343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":151779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:22:13] local.INFO: GPS data processed {"connection_id":151779,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:22:13] local.INFO: Acknowledgment sent {"connection_id":151779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:22:23] local.INFO: TCP Data received {"connection_id":151778,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:22:23] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:22:23] local.INFO: Packet analysis {"connection_id":151778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:22:23] local.INFO: Extracted packet for processing {"connection_id":151778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:22:23] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786373379000,"timestamp_ms":1786373379000,"timestamp_seconds":1786373379,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2693b8"} 
[2026-08-10 20:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:22:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:22:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":151778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:22:23] local.INFO: GPS data processed {"connection_id":151778,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:22:23] local.INFO: Acknowledgment sent {"connection_id":151778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:22:41] local.INFO: TCP Data received {"connection_id":153099,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:22:41] local.INFO: Processing buffer {"connection_id":153099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:22:41] local.INFO: IMEI packet received {"connection_id":153099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":153099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:22:49] local.INFO: TCP Data received {"connection_id":153099,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:22:49] local.INFO: Processing buffer {"connection_id":153099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:22:49] local.INFO: IMEI packet received {"connection_id":153099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":153099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:22:57] local.INFO: TCP Data received {"connection_id":153099,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:22:57] local.INFO: Processing buffer {"connection_id":153099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:22:57] local.INFO: Packet analysis {"connection_id":153099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:22:57] local.INFO: Extracted packet for processing {"connection_id":153099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786373379000,"timestamp_ms":1786373379000,"timestamp_seconds":1786373379,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2693b8"} 
[2026-08-10 20:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:22:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":153099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:22:57] local.INFO: GPS data processed {"connection_id":153099,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:22:57] local.INFO: Acknowledgment sent {"connection_id":153099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:22:58] local.INFO: TCP Data received {"connection_id":154527,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:22:58] local.INFO: Processing buffer {"connection_id":154527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:22:58] local.INFO: IMEI packet received {"connection_id":154527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":154527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:23:03] local.INFO: TCP Data received {"connection_id":154527,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:23:03] local.INFO: Processing buffer {"connection_id":154527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:23:03] local.INFO: IMEI packet received {"connection_id":154527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":154527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:23:04] local.INFO: TCP Data received {"connection_id":154527,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:23:04] local.INFO: Processing buffer {"connection_id":154527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:23:04] local.INFO: Packet analysis {"connection_id":154527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:23:04] local.INFO: Extracted packet for processing {"connection_id":154527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311508480001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786373381000,"timestamp_ms":1786373381000,"timestamp_seconds":1786373381,"priority":1,"record_length":96,"hex_timestamp":"0000019fec269b88"} 
[2026-08-10 20:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311508480001,"66":25343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311508480001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:23:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311508480001,"power":25343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":154527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:23:04] local.INFO: GPS data processed {"connection_id":154527,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:23:04] local.INFO: Acknowledgment sent {"connection_id":154527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:23:35] local.INFO: TCP Data received {"connection_id":154527,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:23:35] local.INFO: Processing buffer {"connection_id":154527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:23:35] local.INFO: Packet analysis {"connection_id":154527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:23:35] local.INFO: Extracted packet for processing {"connection_id":154527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311508480001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373381000,"timestamp_ms":1786373381000,"timestamp_seconds":1786373381,"priority":1,"record_length":96,"hex_timestamp":"0000019fec269b88"} 
[2026-08-10 20:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311508480001,"66":25343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311508480001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:23:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311508480001,"power":25343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":154527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:23:35] local.INFO: GPS data processed {"connection_id":154527,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:23:35] local.INFO: Acknowledgment sent {"connection_id":154527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:23:41] local.INFO: TCP Data received {"connection_id":151780,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:23:41] local.INFO: Processing buffer {"connection_id":151780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:23:41] local.INFO: IMEI packet received {"connection_id":151780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":151780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:23:46] local.INFO: TCP Data received {"connection_id":151780,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:23:46] local.INFO: Processing buffer {"connection_id":151780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:23:46] local.INFO: IMEI packet received {"connection_id":151780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":151780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:23:47] local.INFO: TCP Data received {"connection_id":151780,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:23:47] local.INFO: Processing buffer {"connection_id":151780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:23:47] local.INFO: Packet analysis {"connection_id":151780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:23:47] local.INFO: Extracted packet for processing {"connection_id":151780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373379000,"timestamp_ms":1786373379000,"timestamp_seconds":1786373379,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2693b8"} 
[2026-08-10 20:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:23: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-08-10 20:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:23:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":151780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:23:47] local.INFO: GPS data processed {"connection_id":151780,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:23:47] local.INFO: Acknowledgment sent {"connection_id":151780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:23:58] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:23:58] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:23:58] local.INFO: IMEI packet received {"connection_id":151781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":151781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:24:03] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:24:03] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:24:03] local.INFO: IMEI packet received {"connection_id":151781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":151781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:24:04] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:24:04] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:24:04] local.INFO: Packet analysis {"connection_id":151781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:24:04] local.INFO: Extracted packet for processing {"connection_id":151781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311508480001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786373381000,"timestamp_ms":1786373381000,"timestamp_seconds":1786373381,"priority":1,"record_length":96,"hex_timestamp":"0000019fec269b88"} 
[2026-08-10 20:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311508480001,"66":25343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311508480001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:24:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311508480001,"power":25343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":151781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:24:04] local.INFO: GPS data processed {"connection_id":151781,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:24:04] local.INFO: Acknowledgment sent {"connection_id":151781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:24:18] local.INFO: TCP Data received {"connection_id":151780,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:24:18] local.INFO: Processing buffer {"connection_id":151780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:24:18] local.INFO: Packet analysis {"connection_id":151780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:24:18] local.INFO: Extracted packet for processing {"connection_id":151780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786373379000,"timestamp_ms":1786373379000,"timestamp_seconds":1786373379,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2693b8"} 
[2026-08-10 20:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:24:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":151780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:24:19] local.INFO: GPS data processed {"connection_id":151780,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:24:19] local.INFO: Acknowledgment sent {"connection_id":151780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:24:35] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:24:35] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:24:35] local.INFO: Packet analysis {"connection_id":151781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:24:35] local.INFO: Extracted packet for processing {"connection_id":151781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311508480001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373381000,"timestamp_ms":1786373381000,"timestamp_seconds":1786373381,"priority":1,"record_length":96,"hex_timestamp":"0000019fec269b88"} 
[2026-08-10 20:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311508480001,"66":25343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311508480001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:24:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311508480001,"power":25343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":151781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:24:35] local.INFO: GPS data processed {"connection_id":151781,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:24:35] local.INFO: Acknowledgment sent {"connection_id":151781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:24:41] local.INFO: TCP Data received {"connection_id":154528,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:24:41] local.INFO: Processing buffer {"connection_id":154528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:24:41] local.INFO: IMEI packet received {"connection_id":154528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":154528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:24:46] local.INFO: TCP Data received {"connection_id":154528,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:24:46] local.INFO: Processing buffer {"connection_id":154528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:24:46] local.INFO: IMEI packet received {"connection_id":154528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":154528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:24:47] local.INFO: TCP Data received {"connection_id":154528,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:24:47] local.INFO: Processing buffer {"connection_id":154528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:24:47] local.INFO: Packet analysis {"connection_id":154528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:24:47] local.INFO: Extracted packet for processing {"connection_id":154528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373379000,"timestamp_ms":1786373379000,"timestamp_seconds":1786373379,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2693b8"} 
[2026-08-10 20:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:24: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-08-10 20: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:24:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:24:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":154528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:24:47] local.INFO: GPS data processed {"connection_id":154528,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:24:47] local.INFO: Acknowledgment sent {"connection_id":154528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:24:58] local.INFO: TCP Data received {"connection_id":154529,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:24:58] local.INFO: Processing buffer {"connection_id":154529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:24:58] local.INFO: IMEI packet received {"connection_id":154529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":154529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:25:03] local.INFO: TCP Data received {"connection_id":154529,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:25:03] local.INFO: Processing buffer {"connection_id":154529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:25:03] local.INFO: IMEI packet received {"connection_id":154529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":154529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:25:04] local.INFO: TCP Data received {"connection_id":154529,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:25:04] local.INFO: Processing buffer {"connection_id":154529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec269b88012d34248006abc1900009007e27..."} 
[2026-08-10 20:25:04] local.INFO: Packet analysis {"connection_id":154529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:25:04] local.INFO: Extracted packet for processing {"connection_id":154529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311508480001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786373381000,"timestamp_ms":1786373381000,"timestamp_seconds":1786373381,"priority":1,"record_length":96,"hex_timestamp":"0000019fec269b88"} 
[2026-08-10 20:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311508480001,"66":25343,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311508480001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:25:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311508480001,"power":25343,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":154529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:25:04] local.INFO: GPS data processed {"connection_id":154529,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:25:04] local.INFO: Acknowledgment sent {"connection_id":154529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:25:18] local.INFO: TCP Data received {"connection_id":154528,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:25:18] local.INFO: Processing buffer {"connection_id":154528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2693b8012d196580071ff0380043014226..."} 
[2026-08-10 20:25:18] local.INFO: Packet analysis {"connection_id":154528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:25:18] local.INFO: Extracted packet for processing {"connection_id":154528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec26"} 
[2026-08-10 20:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311506688001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870734336,"note":"Value kept but may cause issues"} 
[2026-08-10 20:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786373379000,"timestamp_ms":1786373379000,"timestamp_seconds":1786373379,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2693b8"} 
[2026-08-10 20:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-10 20:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311506688001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830783647870734336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311506688001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:25:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870734336,"description":"Unknown IO ID 45"} 
[2026-08-10 20:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311506688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870734336}} 
[2026-08-10 20:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":154528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:25:18] local.INFO: GPS data processed {"connection_id":154528,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:25:18] local.INFO: Acknowledgment sent {"connection_id":154528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:25:35] local.INFO: TCP Data received {"connection_id":154529,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:25:35] local.INFO: Processing buffer {"connection_id":154529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:25:35] local.INFO: Packet analysis {"connection_id":154529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:25:35] local.INFO: Extracted packet for processing {"connection_id":154529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585536001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373682000,"timestamp_ms":1786373682000,"timestamp_seconds":1786373682,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b3350"} 
[2026-08-10 20:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 20:25: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-08-10 20:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585536001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585536001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:25:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585536001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":154529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:25:35] local.INFO: GPS data processed {"connection_id":154529,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:25:35] local.INFO: Acknowledgment sent {"connection_id":154529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:25:41] local.INFO: TCP Data received {"connection_id":152177,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:25:41] local.INFO: Processing buffer {"connection_id":152177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:25:41] local.INFO: IMEI packet received {"connection_id":152177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":152177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:25:46] local.INFO: TCP Data received {"connection_id":152177,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:25:46] local.INFO: Processing buffer {"connection_id":152177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:25:46] local.INFO: IMEI packet received {"connection_id":152177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":152177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:25:47] local.INFO: TCP Data received {"connection_id":152177,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:25:47] local.INFO: Processing buffer {"connection_id":152177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:25:47] local.INFO: Packet analysis {"connection_id":152177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:25:47] local.INFO: Extracted packet for processing {"connection_id":152177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585024001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373680000,"timestamp_ms":1786373680000,"timestamp_seconds":1786373680,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b2b80"} 
[2026-08-10 20:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585024001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585024001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:25:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":152177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:25:47] local.INFO: GPS data processed {"connection_id":152177,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:25:47] local.INFO: Acknowledgment sent {"connection_id":152177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:25:58] local.INFO: TCP Data received {"connection_id":153100,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:25:58] local.INFO: Processing buffer {"connection_id":153100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:25:58] local.INFO: IMEI packet received {"connection_id":153100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":153100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:26:03] local.INFO: TCP Data received {"connection_id":153100,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:26:03] local.INFO: Processing buffer {"connection_id":153100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:26:03] local.INFO: IMEI packet received {"connection_id":153100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":153100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:26:04] local.INFO: TCP Data received {"connection_id":153100,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:26:04] local.INFO: Processing buffer {"connection_id":153100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:26:04] local.INFO: Packet analysis {"connection_id":153100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:26:04] local.INFO: Extracted packet for processing {"connection_id":153100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:26:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585536001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786373682000,"timestamp_ms":1786373682000,"timestamp_seconds":1786373682,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b3350"} 
[2026-08-10 20:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 20:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585536001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585536001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:26:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:26:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585536001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":153100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:26:04] local.INFO: GPS data processed {"connection_id":153100,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:26:04] local.INFO: Acknowledgment sent {"connection_id":153100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:26:18] local.INFO: TCP Data received {"connection_id":152177,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:26:18] local.INFO: Processing buffer {"connection_id":152177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:26:18] local.INFO: Packet analysis {"connection_id":152177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:26:18] local.INFO: Extracted packet for processing {"connection_id":152177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585024001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786373680000,"timestamp_ms":1786373680000,"timestamp_seconds":1786373680,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b2b80"} 
[2026-08-10 20:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20: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-08-10 20:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585024001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585024001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:26:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":152177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:26:18] local.INFO: GPS data processed {"connection_id":152177,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:26:18] local.INFO: Acknowledgment sent {"connection_id":152177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:26:35] local.INFO: TCP Data received {"connection_id":153100,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:26:35] local.INFO: Processing buffer {"connection_id":153100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:26:35] local.INFO: Packet analysis {"connection_id":153100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:26:35] local.INFO: Extracted packet for processing {"connection_id":153100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585536001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373682000,"timestamp_ms":1786373682000,"timestamp_seconds":1786373682,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b3350"} 
[2026-08-10 20:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 20:26: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-08-10 20:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585536001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585536001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:26:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585536001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":153100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:26:35] local.INFO: GPS data processed {"connection_id":153100,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:26:35] local.INFO: Acknowledgment sent {"connection_id":153100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:26:46] local.INFO: TCP Data received {"connection_id":151782,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:26:46] local.INFO: Processing buffer {"connection_id":151782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:26:46] local.INFO: IMEI packet received {"connection_id":151782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":151782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:26:51] local.INFO: TCP Data received {"connection_id":151782,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:26:51] local.INFO: Processing buffer {"connection_id":151782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:26:51] local.INFO: IMEI packet received {"connection_id":151782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":151782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:26:52] local.INFO: TCP Data received {"connection_id":151782,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:26:52] local.INFO: Processing buffer {"connection_id":151782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:26:52] local.INFO: Packet analysis {"connection_id":151782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:26:52] local.INFO: Extracted packet for processing {"connection_id":151782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585024001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786373680000,"timestamp_ms":1786373680000,"timestamp_seconds":1786373680,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b2b80"} 
[2026-08-10 20:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585024001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585024001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:26:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":151782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:26:52] local.INFO: GPS data processed {"connection_id":151782,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:26:52] local.INFO: Acknowledgment sent {"connection_id":151782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:26:57] local.INFO: TCP Data received {"connection_id":151782,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:26:57] local.INFO: Processing buffer {"connection_id":151782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:26:57] local.INFO: Packet analysis {"connection_id":151782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:26:57] local.INFO: Extracted packet for processing {"connection_id":151782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585024001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786373680000,"timestamp_ms":1786373680000,"timestamp_seconds":1786373680,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b2b80"} 
[2026-08-10 20:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:26: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-08-10 20:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585024001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585024001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:26:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":151782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:26:57] local.INFO: GPS data processed {"connection_id":151782,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:26:57] local.INFO: Acknowledgment sent {"connection_id":151782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:27:03] local.INFO: TCP Data received {"connection_id":154530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:27:03] local.INFO: Processing buffer {"connection_id":154530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:27:03] local.INFO: IMEI packet received {"connection_id":154530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":154530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:27:08] local.INFO: TCP Data received {"connection_id":154530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:27:08] local.INFO: Processing buffer {"connection_id":154530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:27:08] local.INFO: IMEI packet received {"connection_id":154530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":154530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:27:10] local.INFO: TCP Data received {"connection_id":154530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:27:10] local.INFO: Processing buffer {"connection_id":154530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:27:10] local.INFO: Packet analysis {"connection_id":154530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:27:10] local.INFO: Extracted packet for processing {"connection_id":154530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585536001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786373682000,"timestamp_ms":1786373682000,"timestamp_seconds":1786373682,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b3350"} 
[2026-08-10 20:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 20:27: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-08-10 20: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-08-10 20:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:27: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-08-10 20:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585536001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585536001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:27:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585536001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":154530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:27:10] local.INFO: GPS data processed {"connection_id":154530,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:27:10] local.INFO: Acknowledgment sent {"connection_id":154530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:27:15] local.INFO: TCP Data received {"connection_id":154530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:27:15] local.INFO: Processing buffer {"connection_id":154530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:27:15] local.INFO: Packet analysis {"connection_id":154530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:27:15] local.INFO: Extracted packet for processing {"connection_id":154530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585536001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786373682000,"timestamp_ms":1786373682000,"timestamp_seconds":1786373682,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b3350"} 
[2026-08-10 20:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:27: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-08-10 20:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 20:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585536001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585536001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:27:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585536001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":154530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:27:15] local.INFO: GPS data processed {"connection_id":154530,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:27:15] local.INFO: Acknowledgment sent {"connection_id":154530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:27:41] local.INFO: TCP Data received {"connection_id":151783,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:27:41] local.INFO: Processing buffer {"connection_id":151783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:27:41] local.INFO: IMEI packet received {"connection_id":151783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":151783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:27:46] local.INFO: TCP Data received {"connection_id":151783,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:27:46] local.INFO: Processing buffer {"connection_id":151783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:27:46] local.INFO: IMEI packet received {"connection_id":151783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":151783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:27:47] local.INFO: TCP Data received {"connection_id":151783,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:27:47] local.INFO: Processing buffer {"connection_id":151783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:27:47] local.INFO: Packet analysis {"connection_id":151783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:27:47] local.INFO: Extracted packet for processing {"connection_id":151783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 20:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585024001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373680000,"timestamp_ms":1786373680000,"timestamp_seconds":1786373680,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b2b80"} 
[2026-08-10 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-08-10 20:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 20:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585024001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585024001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:27:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":151783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:27:47] local.INFO: GPS data processed {"connection_id":151783,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:27:47] local.INFO: Acknowledgment sent {"connection_id":151783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:27:58] local.INFO: TCP Data received {"connection_id":154531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:27:58] local.INFO: Processing buffer {"connection_id":154531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:27:58] local.INFO: IMEI packet received {"connection_id":154531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":154531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:28:03] local.INFO: TCP Data received {"connection_id":154531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:28:03] local.INFO: Processing buffer {"connection_id":154531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:28:03] local.INFO: IMEI packet received {"connection_id":154531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":154531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:28:04] local.INFO: TCP Data received {"connection_id":154531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:28:04] local.INFO: Processing buffer {"connection_id":154531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:28:04] local.INFO: Packet analysis {"connection_id":154531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:28:04] local.INFO: Extracted packet for processing {"connection_id":154531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585536001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786373682000,"timestamp_ms":1786373682000,"timestamp_seconds":1786373682,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b3350"} 
[2026-08-10 20:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 20:28: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-08-10 20:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585536001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585536001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:28:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585536001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":154531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:28:04] local.INFO: GPS data processed {"connection_id":154531,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:28:04] local.INFO: Acknowledgment sent {"connection_id":154531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:28:18] local.INFO: TCP Data received {"connection_id":151783,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:28:18] local.INFO: Processing buffer {"connection_id":151783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:28:18] local.INFO: Packet analysis {"connection_id":151783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:28:18] local.INFO: Extracted packet for processing {"connection_id":151783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585024001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786373680000,"timestamp_ms":1786373680000,"timestamp_seconds":1786373680,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b2b80"} 
[2026-08-10 20:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585024001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585024001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:28:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":151783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:28:19] local.INFO: GPS data processed {"connection_id":151783,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:28:19] local.INFO: Acknowledgment sent {"connection_id":151783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:28:35] local.INFO: TCP Data received {"connection_id":154531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:28:35] local.INFO: Processing buffer {"connection_id":154531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:28:35] local.INFO: Packet analysis {"connection_id":154531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:28:35] local.INFO: Extracted packet for processing {"connection_id":154531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585536001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373682000,"timestamp_ms":1786373682000,"timestamp_seconds":1786373682,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b3350"} 
[2026-08-10 20:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 20:28: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-08-10 20:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585536001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585536001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:28:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585536001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":154531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:28:35] local.INFO: GPS data processed {"connection_id":154531,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:28:35] local.INFO: Acknowledgment sent {"connection_id":154531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:28:41] local.INFO: TCP Data received {"connection_id":152178,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:28:41] local.INFO: Processing buffer {"connection_id":152178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:28:41] local.INFO: IMEI packet received {"connection_id":152178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":152178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:28:46] local.INFO: TCP Data received {"connection_id":152178,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:28:46] local.INFO: Processing buffer {"connection_id":152178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:28:46] local.INFO: IMEI packet received {"connection_id":152178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":152178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:28:47] local.INFO: TCP Data received {"connection_id":152178,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:28:47] local.INFO: Processing buffer {"connection_id":152178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:28:47] local.INFO: Packet analysis {"connection_id":152178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:28:47] local.INFO: Extracted packet for processing {"connection_id":152178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585024001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373680000,"timestamp_ms":1786373680000,"timestamp_seconds":1786373680,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b2b80"} 
[2026-08-10 20:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585024001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585024001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:28:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":152178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:28:47] local.INFO: GPS data processed {"connection_id":152178,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:28:47] local.INFO: Acknowledgment sent {"connection_id":152178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:28:58] local.INFO: TCP Data received {"connection_id":153101,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:28:58] local.INFO: Processing buffer {"connection_id":153101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:28:58] local.INFO: IMEI packet received {"connection_id":153101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":153101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:29:03] local.INFO: TCP Data received {"connection_id":153101,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:29:03] local.INFO: Processing buffer {"connection_id":153101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:29:03] local.INFO: IMEI packet received {"connection_id":153101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":153101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:29:04] local.INFO: TCP Data received {"connection_id":153101,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:29:04] local.INFO: Processing buffer {"connection_id":153101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:29:04] local.INFO: Packet analysis {"connection_id":153101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:29:04] local.INFO: Extracted packet for processing {"connection_id":153101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585536001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786373682000,"timestamp_ms":1786373682000,"timestamp_seconds":1786373682,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b3350"} 
[2026-08-10 20:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 20:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585536001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585536001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:29:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585536001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":153101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:29:04] local.INFO: GPS data processed {"connection_id":153101,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:29:04] local.INFO: Acknowledgment sent {"connection_id":153101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:29:18] local.INFO: TCP Data received {"connection_id":152178,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:29:18] local.INFO: Processing buffer {"connection_id":152178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:29:18] local.INFO: Packet analysis {"connection_id":152178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:29:18] local.INFO: Extracted packet for processing {"connection_id":152178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585024001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786373680000,"timestamp_ms":1786373680000,"timestamp_seconds":1786373680,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b2b80"} 
[2026-08-10 20:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585024001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585024001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:29:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":152178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:29:18] local.INFO: GPS data processed {"connection_id":152178,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:29:18] local.INFO: Acknowledgment sent {"connection_id":152178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:29:35] local.INFO: TCP Data received {"connection_id":153101,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:29:35] local.INFO: Processing buffer {"connection_id":153101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:29:35] local.INFO: Packet analysis {"connection_id":153101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:29:35] local.INFO: Extracted packet for processing {"connection_id":153101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585536001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373682000,"timestamp_ms":1786373682000,"timestamp_seconds":1786373682,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b3350"} 
[2026-08-10 20:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 20:29: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-08-10 20:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585536001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585536001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:29:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585536001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":153101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:29:35] local.INFO: GPS data processed {"connection_id":153101,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:29:35] local.INFO: Acknowledgment sent {"connection_id":153101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:29:41] local.INFO: TCP Data received {"connection_id":151784,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:29:41] local.INFO: Processing buffer {"connection_id":151784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:29:41] local.INFO: IMEI packet received {"connection_id":151784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":151784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:29:46] local.INFO: TCP Data received {"connection_id":151784,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:29:46] local.INFO: Processing buffer {"connection_id":151784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:29:46] local.INFO: IMEI packet received {"connection_id":151784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":151784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:29:47] local.INFO: TCP Data received {"connection_id":151784,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:29:47] local.INFO: Processing buffer {"connection_id":151784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:29:47] local.INFO: Packet analysis {"connection_id":151784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:29:47] local.INFO: Extracted packet for processing {"connection_id":151784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585024001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373680000,"timestamp_ms":1786373680000,"timestamp_seconds":1786373680,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b2b80"} 
[2026-08-10 20:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20: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-08-10 20:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585024001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585024001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:29:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":151784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:29:47] local.INFO: GPS data processed {"connection_id":151784,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:29:47] local.INFO: Acknowledgment sent {"connection_id":151784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:30:00] local.INFO: TCP Data received {"connection_id":152179,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:30:00] local.INFO: Processing buffer {"connection_id":152179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:30:00] local.INFO: IMEI packet received {"connection_id":152179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":152179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:30:03] local.INFO: TCP Data received {"connection_id":152179,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:30:03] local.INFO: Processing buffer {"connection_id":152179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:30:03] local.INFO: IMEI packet received {"connection_id":152179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":152179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:30:03] local.INFO: TCP Data received {"connection_id":152179,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:30:03] local.INFO: Processing buffer {"connection_id":152179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:30:03] local.INFO: Packet analysis {"connection_id":152179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:30:03] local.INFO: Extracted packet for processing {"connection_id":152179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585536001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786373682000,"timestamp_ms":1786373682000,"timestamp_seconds":1786373682,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b3350"} 
[2026-08-10 20:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-10 20:30: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-08-10 20:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585536001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585536001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:30:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585536001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":152179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:30:03] local.INFO: GPS data processed {"connection_id":152179,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:30:03] local.INFO: Acknowledgment sent {"connection_id":152179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:30:08] local.INFO: TCP Data received {"connection_id":152179,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:30:08] local.INFO: Processing buffer {"connection_id":152179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b3350012d34248006abc1900004007e27..."} 
[2026-08-10 20:30:08] local.INFO: Packet analysis {"connection_id":152179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:30:08] local.INFO: Extracted packet for processing {"connection_id":152179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585536001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786373682000,"timestamp_ms":1786373682000,"timestamp_seconds":1786373682,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b3350"} 
[2026-08-10 20:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":255,"data_length":795,"current_offset":136} 
[2026-08-10 20:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585536001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585536001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:30:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585536001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":152179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:30:08] local.INFO: GPS data processed {"connection_id":152179,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:30:08] local.INFO: Acknowledgment sent {"connection_id":152179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:30:18] local.INFO: TCP Data received {"connection_id":151784,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:30:18] local.INFO: Processing buffer {"connection_id":151784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2b2b80012d196580071ff0380043014226..."} 
[2026-08-10 20:30:18] local.INFO: Packet analysis {"connection_id":151784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:30:18] local.INFO: Extracted packet for processing {"connection_id":151784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2b"} 
[2026-08-10 20:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311585024001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786373680000,"timestamp_ms":1786373680000,"timestamp_seconds":1786373680,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2b2b80"} 
[2026-08-10 20:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311585024001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311585024001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:30:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311585024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":151784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:30:18] local.INFO: GPS data processed {"connection_id":151784,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:30:18] local.INFO: Acknowledgment sent {"connection_id":151784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:30:44] local.INFO: TCP Data received {"connection_id":152179,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:30:44] local.INFO: Processing buffer {"connection_id":152179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:30:44] local.INFO: Packet analysis {"connection_id":152179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:30:44] local.INFO: Extracted packet for processing {"connection_id":152179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662592001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786373983000,"timestamp_ms":1786373983000,"timestamp_seconds":1786373983,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fcb18"} 
[2026-08-10 20:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662592001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662592001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:30:44] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662592001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":152179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:30:44] local.INFO: GPS data processed {"connection_id":152179,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:30:44] local.INFO: Acknowledgment sent {"connection_id":152179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:30:46] local.INFO: TCP Data received {"connection_id":152180,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:30:46] local.INFO: Processing buffer {"connection_id":152180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:30:46] local.INFO: IMEI packet received {"connection_id":152180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":152180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:30:51] local.INFO: TCP Data received {"connection_id":152180,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:30:51] local.INFO: Processing buffer {"connection_id":152180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:30:51] local.INFO: IMEI packet received {"connection_id":152180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":152180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:30:52] local.INFO: TCP Data received {"connection_id":152180,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:30:52] local.INFO: Processing buffer {"connection_id":152180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:30:52] local.INFO: Packet analysis {"connection_id":152180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:30:52] local.INFO: Extracted packet for processing {"connection_id":152180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662080001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786373981000,"timestamp_ms":1786373981000,"timestamp_seconds":1786373981,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fc348"} 
[2026-08-10 20:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662080001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662080001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:30:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:30:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":152180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:30:52] local.INFO: GPS data processed {"connection_id":152180,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:30:52] local.INFO: Acknowledgment sent {"connection_id":152180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:30:57] local.INFO: TCP Data received {"connection_id":152180,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:30:57] local.INFO: Processing buffer {"connection_id":152180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:30:57] local.INFO: Packet analysis {"connection_id":152180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:30:57] local.INFO: Extracted packet for processing {"connection_id":152180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662080001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786373981000,"timestamp_ms":1786373981000,"timestamp_seconds":1786373981,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fc348"} 
[2026-08-10 20:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662080001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662080001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:30:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":152180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:30:57] local.INFO: GPS data processed {"connection_id":152180,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:30:57] local.INFO: Acknowledgment sent {"connection_id":152180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:30:58] local.INFO: TCP Data received {"connection_id":151785,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:30:58] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:30:58] local.INFO: IMEI packet received {"connection_id":151785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":151785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:31:03] local.INFO: TCP Data received {"connection_id":151785,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:31:03] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:31:03] local.INFO: IMEI packet received {"connection_id":151785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":151785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:31:04] local.INFO: TCP Data received {"connection_id":151785,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:31:04] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:31:04] local.INFO: Packet analysis {"connection_id":151785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:31:04] local.INFO: Extracted packet for processing {"connection_id":151785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662592001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786373983000,"timestamp_ms":1786373983000,"timestamp_seconds":1786373983,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fcb18"} 
[2026-08-10 20:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662592001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662592001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:31:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662592001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":151785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:31:04] local.INFO: GPS data processed {"connection_id":151785,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:31:04] local.INFO: Acknowledgment sent {"connection_id":151785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:31:35] local.INFO: TCP Data received {"connection_id":151785,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:31:35] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:31:35] local.INFO: Packet analysis {"connection_id":151785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:31:35] local.INFO: Extracted packet for processing {"connection_id":151785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662592001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373983000,"timestamp_ms":1786373983000,"timestamp_seconds":1786373983,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fcb18"} 
[2026-08-10 20:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662592001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662592001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:31:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662592001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":151785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:31:35] local.INFO: GPS data processed {"connection_id":151785,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:31:35] local.INFO: Acknowledgment sent {"connection_id":151785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:31:41] local.INFO: TCP Data received {"connection_id":152181,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:31:41] local.INFO: Processing buffer {"connection_id":152181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:31:41] local.INFO: IMEI packet received {"connection_id":152181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":152181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:31:46] local.INFO: TCP Data received {"connection_id":152181,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:31:46] local.INFO: Processing buffer {"connection_id":152181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:31:46] local.INFO: IMEI packet received {"connection_id":152181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":152181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:31:47] local.INFO: TCP Data received {"connection_id":152181,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:31:47] local.INFO: Processing buffer {"connection_id":152181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:31:47] local.INFO: Packet analysis {"connection_id":152181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:31:47] local.INFO: Extracted packet for processing {"connection_id":152181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:31:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 20:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662080001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373981000,"timestamp_ms":1786373981000,"timestamp_seconds":1786373981,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fc348"} 
[2026-08-10 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-08-10 20:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 20:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662080001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662080001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:31:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:31:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":152181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:31:47] local.INFO: GPS data processed {"connection_id":152181,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:31:47] local.INFO: Acknowledgment sent {"connection_id":152181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:32:03] local.INFO: TCP Data received {"connection_id":154532,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:32:03] local.INFO: Processing buffer {"connection_id":154532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:32:03] local.INFO: IMEI packet received {"connection_id":154532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":154532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:32:10] local.INFO: TCP Data received {"connection_id":154532,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:32:10] local.INFO: Processing buffer {"connection_id":154532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:32:10] local.INFO: IMEI packet received {"connection_id":154532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":154532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:32:11] local.INFO: TCP Data received {"connection_id":154532,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:32:11] local.INFO: Processing buffer {"connection_id":154532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:32:11] local.INFO: Packet analysis {"connection_id":154532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:32:11] local.INFO: Extracted packet for processing {"connection_id":154532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:32:11] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662592001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786373983000,"timestamp_ms":1786373983000,"timestamp_seconds":1786373983,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fcb18"} 
[2026-08-10 20:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:32: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-08-10 20: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":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20: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-08-10 20:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":154532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":154532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":154532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662592001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662592001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:32:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:32:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662592001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":154532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:32:11] local.INFO: GPS data processed {"connection_id":154532,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:32:11] local.INFO: Acknowledgment sent {"connection_id":154532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:32:13] local.INFO: TCP Data received {"connection_id":154532,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:32:13] local.INFO: Processing buffer {"connection_id":154532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:32:13] local.INFO: Packet analysis {"connection_id":154532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:32:13] local.INFO: Extracted packet for processing {"connection_id":154532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:32:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662592001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786373983000,"timestamp_ms":1786373983000,"timestamp_seconds":1786373983,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fcb18"} 
[2026-08-10 20:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662592001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662592001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:32:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:32:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662592001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":154532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:32:13] local.INFO: GPS data processed {"connection_id":154532,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:32:13] local.INFO: Acknowledgment sent {"connection_id":154532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:32:18] local.INFO: TCP Data received {"connection_id":152181,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:32:18] local.INFO: Processing buffer {"connection_id":152181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:32:18] local.INFO: Packet analysis {"connection_id":152181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:32:18] local.INFO: Extracted packet for processing {"connection_id":152181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662080001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786373981000,"timestamp_ms":1786373981000,"timestamp_seconds":1786373981,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fc348"} 
[2026-08-10 20:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662080001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662080001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:32:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":152181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:32:18] local.INFO: GPS data processed {"connection_id":152181,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:32:18] local.INFO: Acknowledgment sent {"connection_id":152181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:32:41] local.INFO: TCP Data received {"connection_id":153105,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:32:41] local.INFO: Processing buffer {"connection_id":153105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:32:41] local.INFO: IMEI packet received {"connection_id":153105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":153105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:32:46] local.INFO: TCP Data received {"connection_id":153105,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:32:46] local.INFO: Processing buffer {"connection_id":153105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:32:46] local.INFO: IMEI packet received {"connection_id":153105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":153105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:32:47] local.INFO: TCP Data received {"connection_id":153105,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:32:47] local.INFO: Processing buffer {"connection_id":153105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:32:47] local.INFO: Packet analysis {"connection_id":153105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:32:47] local.INFO: Extracted packet for processing {"connection_id":153105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662080001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373981000,"timestamp_ms":1786373981000,"timestamp_seconds":1786373981,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fc348"} 
[2026-08-10 20:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662080001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662080001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:32:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":153105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:32:47] local.INFO: GPS data processed {"connection_id":153105,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:32:47] local.INFO: Acknowledgment sent {"connection_id":153105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:33:03] local.INFO: TCP Data received {"connection_id":154533,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:33:03] local.INFO: Processing buffer {"connection_id":154533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:33:03] local.INFO: IMEI packet received {"connection_id":154533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":154533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:33:03] local.INFO: TCP Data received {"connection_id":154533,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:33:03] local.INFO: Processing buffer {"connection_id":154533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:33:03] local.INFO: IMEI packet received {"connection_id":154533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":154533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:33:18] local.INFO: TCP Data received {"connection_id":153105,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:33:18] local.INFO: Processing buffer {"connection_id":153105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:33:18] local.INFO: Packet analysis {"connection_id":153105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:33:18] local.INFO: Extracted packet for processing {"connection_id":153105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662080001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786373981000,"timestamp_ms":1786373981000,"timestamp_seconds":1786373981,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fc348"} 
[2026-08-10 20:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662080001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662080001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:33:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":153105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:33:18] local.INFO: GPS data processed {"connection_id":153105,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:33:18] local.INFO: Acknowledgment sent {"connection_id":153105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:33:36] local.INFO: TCP Data received {"connection_id":154533,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:33:36] local.INFO: Processing buffer {"connection_id":154533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:33:36] local.INFO: Packet analysis {"connection_id":154533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:33:36] local.INFO: Extracted packet for processing {"connection_id":154533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662592001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786373983000,"timestamp_ms":1786373983000,"timestamp_seconds":1786373983,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fcb18"} 
[2026-08-10 20:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20: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-08-10 20:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662592001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662592001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:33:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662592001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":154533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:33:36] local.INFO: GPS data processed {"connection_id":154533,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:33:36] local.INFO: Acknowledgment sent {"connection_id":154533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:33:37] local.INFO: TCP Data received {"connection_id":154533,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:33:37] local.INFO: Processing buffer {"connection_id":154533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:33:37] local.INFO: Packet analysis {"connection_id":154533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:33:37] local.INFO: Extracted packet for processing {"connection_id":154533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662592001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786373983000,"timestamp_ms":1786373983000,"timestamp_seconds":1786373983,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fcb18"} 
[2026-08-10 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-08-10 20:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 20:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662592001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662592001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:33:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662592001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":154533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:33:37] local.INFO: GPS data processed {"connection_id":154533,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:33:37] local.INFO: Acknowledgment sent {"connection_id":154533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:33:41] local.INFO: TCP Data received {"connection_id":154534,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:33:41] local.INFO: Processing buffer {"connection_id":154534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:33:41] local.INFO: IMEI packet received {"connection_id":154534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":154534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:33:46] local.INFO: TCP Data received {"connection_id":154534,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:33:46] local.INFO: Processing buffer {"connection_id":154534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:33:46] local.INFO: IMEI packet received {"connection_id":154534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":154534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:33:47] local.INFO: TCP Data received {"connection_id":154534,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:33:47] local.INFO: Processing buffer {"connection_id":154534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:33:47] local.INFO: Packet analysis {"connection_id":154534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:33:47] local.INFO: Extracted packet for processing {"connection_id":154534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662080001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786373981000,"timestamp_ms":1786373981000,"timestamp_seconds":1786373981,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fc348"} 
[2026-08-10 20:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662080001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662080001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:33:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":154534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:33:47] local.INFO: GPS data processed {"connection_id":154534,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:33:47] local.INFO: Acknowledgment sent {"connection_id":154534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:33:58] local.INFO: TCP Data received {"connection_id":152183,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:33:58] local.INFO: Processing buffer {"connection_id":152183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:33:58] local.INFO: IMEI packet received {"connection_id":152183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":152183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:34:03] local.INFO: TCP Data received {"connection_id":152183,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:34:03] local.INFO: Processing buffer {"connection_id":152183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:34:03] local.INFO: IMEI packet received {"connection_id":152183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":152183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:34:04] local.INFO: TCP Data received {"connection_id":152183,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:34:04] local.INFO: Processing buffer {"connection_id":152183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:34:04] local.INFO: Packet analysis {"connection_id":152183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:34:04] local.INFO: Extracted packet for processing {"connection_id":152183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662592001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786373983000,"timestamp_ms":1786373983000,"timestamp_seconds":1786373983,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fcb18"} 
[2026-08-10 20:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662592001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662592001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:34:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662592001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":152183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:34:04] local.INFO: GPS data processed {"connection_id":152183,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:34:04] local.INFO: Acknowledgment sent {"connection_id":152183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:34:18] local.INFO: TCP Data received {"connection_id":154534,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:34:18] local.INFO: Processing buffer {"connection_id":154534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:34:18] local.INFO: Packet analysis {"connection_id":154534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:34:18] local.INFO: Extracted packet for processing {"connection_id":154534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662080001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786373981000,"timestamp_ms":1786373981000,"timestamp_seconds":1786373981,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fc348"} 
[2026-08-10 20:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662080001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662080001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:34:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":154534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:34:18] local.INFO: GPS data processed {"connection_id":154534,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:34:18] local.INFO: Acknowledgment sent {"connection_id":154534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:34:35] local.INFO: TCP Data received {"connection_id":152183,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:34:35] local.INFO: Processing buffer {"connection_id":152183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:34:35] local.INFO: Packet analysis {"connection_id":152183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:34:35] local.INFO: Extracted packet for processing {"connection_id":152183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662592001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786373983000,"timestamp_ms":1786373983000,"timestamp_seconds":1786373983,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fcb18"} 
[2026-08-10 20:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662592001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662592001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:34:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662592001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":152183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:34:35] local.INFO: GPS data processed {"connection_id":152183,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:34:35] local.INFO: Acknowledgment sent {"connection_id":152183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:34:42] local.INFO: TCP Data received {"connection_id":153106,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:34:42] local.INFO: Processing buffer {"connection_id":153106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:34:42] local.INFO: IMEI packet received {"connection_id":153106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":153106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:34:47] local.INFO: TCP Data received {"connection_id":153106,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:34:47] local.INFO: Processing buffer {"connection_id":153106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:34:47] local.INFO: IMEI packet received {"connection_id":153106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":153106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:34:48] local.INFO: TCP Data received {"connection_id":153106,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:34:48] local.INFO: Processing buffer {"connection_id":153106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:34:48] local.INFO: Packet analysis {"connection_id":153106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:34:48] local.INFO: Extracted packet for processing {"connection_id":153106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662080001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786373981000,"timestamp_ms":1786373981000,"timestamp_seconds":1786373981,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fc348"} 
[2026-08-10 20:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:34: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-08-10 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662080001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662080001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:34:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":153106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:34:48] local.INFO: GPS data processed {"connection_id":153106,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:34:48] local.INFO: Acknowledgment sent {"connection_id":153106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:34:58] local.INFO: TCP Data received {"connection_id":154535,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:34:58] local.INFO: Processing buffer {"connection_id":154535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:34:58] local.INFO: IMEI packet received {"connection_id":154535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":154535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:35:03] local.INFO: TCP Data received {"connection_id":154535,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:35:03] local.INFO: Processing buffer {"connection_id":154535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:35:03] local.INFO: IMEI packet received {"connection_id":154535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":154535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:35:04] local.INFO: TCP Data received {"connection_id":154535,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:35:04] local.INFO: Processing buffer {"connection_id":154535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fcb18012d34248006abc1900005007e28..."} 
[2026-08-10 20:35:04] local.INFO: Packet analysis {"connection_id":154535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:35:04] local.INFO: Extracted packet for processing {"connection_id":154535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662592001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786373983000,"timestamp_ms":1786373983000,"timestamp_seconds":1786373983,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fcb18"} 
[2026-08-10 20:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662592001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662592001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:35:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662592001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":154535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:35:04] local.INFO: GPS data processed {"connection_id":154535,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:35:04] local.INFO: Acknowledgment sent {"connection_id":154535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:35:19] local.INFO: TCP Data received {"connection_id":153106,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:35:19] local.INFO: Processing buffer {"connection_id":153106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec2fc348012d196580071ff0380043014222..."} 
[2026-08-10 20:35:19] local.INFO: Packet analysis {"connection_id":153106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:35:19] local.INFO: Extracted packet for processing {"connection_id":153106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec2f"} 
[2026-08-10 20:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311662080001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786373981000,"timestamp_ms":1786373981000,"timestamp_seconds":1786373981,"priority":1,"record_length":96,"hex_timestamp":"0000019fec2fc348"} 
[2026-08-10 20:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311662080001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311662080001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:35:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311662080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":153106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:35:19] local.INFO: GPS data processed {"connection_id":153106,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:35:19] local.INFO: Acknowledgment sent {"connection_id":153106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:35:35] local.INFO: TCP Data received {"connection_id":154535,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:35:35] local.INFO: Processing buffer {"connection_id":154535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:35:35] local.INFO: Packet analysis {"connection_id":154535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:35:35] local.INFO: Extracted packet for processing {"connection_id":154535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739648001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786374284000,"timestamp_ms":1786374284000,"timestamp_seconds":1786374284,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3462e0"} 
[2026-08-10 20:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739648001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739648001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:35:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739648001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":154535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:35:35] local.INFO: GPS data processed {"connection_id":154535,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:35:35] local.INFO: Acknowledgment sent {"connection_id":154535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:35:46] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:35:46] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:35:46] local.INFO: IMEI packet received {"connection_id":151787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":151787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:35:51] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:35:51] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:35:51] local.INFO: IMEI packet received {"connection_id":151787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":151787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:35:52] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:35:52] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:35:52] local.INFO: Packet analysis {"connection_id":151787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:35:52] local.INFO: Extracted packet for processing {"connection_id":151787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:35:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739136001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786374282000,"timestamp_ms":1786374282000,"timestamp_seconds":1786374282,"priority":1,"record_length":96,"hex_timestamp":"0000019fec345b10"} 
[2026-08-10 20:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739136001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739136001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:35:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:35:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":151787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:35:52] local.INFO: GPS data processed {"connection_id":151787,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:35:52] local.INFO: Acknowledgment sent {"connection_id":151787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:35:57] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:35:57] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:35:57] local.INFO: Packet analysis {"connection_id":151787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:35:57] local.INFO: Extracted packet for processing {"connection_id":151787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739136001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786374282000,"timestamp_ms":1786374282000,"timestamp_seconds":1786374282,"priority":1,"record_length":96,"hex_timestamp":"0000019fec345b10"} 
[2026-08-10 20:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739136001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739136001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:35:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":151787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:35:57] local.INFO: GPS data processed {"connection_id":151787,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:35:57] local.INFO: Acknowledgment sent {"connection_id":151787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:35:58] local.INFO: TCP Data received {"connection_id":152184,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:35:58] local.INFO: Processing buffer {"connection_id":152184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:35:58] local.INFO: IMEI packet received {"connection_id":152184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":152184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:36:03] local.INFO: TCP Data received {"connection_id":152184,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:36:03] local.INFO: Processing buffer {"connection_id":152184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:36:03] local.INFO: IMEI packet received {"connection_id":152184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":152184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:36:04] local.INFO: TCP Data received {"connection_id":152184,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:36:04] local.INFO: Processing buffer {"connection_id":152184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:36:04] local.INFO: Packet analysis {"connection_id":152184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:36:04] local.INFO: Extracted packet for processing {"connection_id":152184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:36:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739648001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786374284000,"timestamp_ms":1786374284000,"timestamp_seconds":1786374284,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3462e0"} 
[2026-08-10 20:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739648001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739648001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:36:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739648001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":152184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:36:04] local.INFO: GPS data processed {"connection_id":152184,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:36:04] local.INFO: Acknowledgment sent {"connection_id":152184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:36:35] local.INFO: TCP Data received {"connection_id":152184,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:36:35] local.INFO: Processing buffer {"connection_id":152184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:36:35] local.INFO: Packet analysis {"connection_id":152184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:36:35] local.INFO: Extracted packet for processing {"connection_id":152184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739648001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786374284000,"timestamp_ms":1786374284000,"timestamp_seconds":1786374284,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3462e0"} 
[2026-08-10 20:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739648001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739648001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:36:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739648001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":152184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:36:35] local.INFO: GPS data processed {"connection_id":152184,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:36:35] local.INFO: Acknowledgment sent {"connection_id":152184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:36:41] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:36:41] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:36:41] local.INFO: IMEI packet received {"connection_id":151788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":151788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:36:46] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:36:46] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:36:46] local.INFO: IMEI packet received {"connection_id":151788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":151788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:36:47] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:36:47] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:36:47] local.INFO: Packet analysis {"connection_id":151788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:36:47] local.INFO: Extracted packet for processing {"connection_id":151788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739136001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786374282000,"timestamp_ms":1786374282000,"timestamp_seconds":1786374282,"priority":1,"record_length":96,"hex_timestamp":"0000019fec345b10"} 
[2026-08-10 20:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739136001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739136001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:36:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":151788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:36:47] local.INFO: GPS data processed {"connection_id":151788,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:36:47] local.INFO: Acknowledgment sent {"connection_id":151788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:37:03] local.INFO: TCP Data received {"connection_id":153107,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:37:03] local.INFO: Processing buffer {"connection_id":153107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:37:03] local.INFO: IMEI packet received {"connection_id":153107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":153107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:37:08] local.INFO: TCP Data received {"connection_id":153107,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:37:08] local.INFO: Processing buffer {"connection_id":153107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:37:08] local.INFO: IMEI packet received {"connection_id":153107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":153107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:37:09] local.INFO: TCP Data received {"connection_id":153107,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:37:09] local.INFO: Processing buffer {"connection_id":153107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:37:09] local.INFO: Packet analysis {"connection_id":153107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:37:09] local.INFO: Extracted packet for processing {"connection_id":153107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739648001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786374284000,"timestamp_ms":1786374284000,"timestamp_seconds":1786374284,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3462e0"} 
[2026-08-10 20:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20: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-08-10 20:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739648001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739648001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:37:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739648001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":153107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:37:09] local.INFO: GPS data processed {"connection_id":153107,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:37:09] local.INFO: Acknowledgment sent {"connection_id":153107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:37:13] local.INFO: TCP Data received {"connection_id":153107,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:37:13] local.INFO: Processing buffer {"connection_id":153107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:37:13] local.INFO: Packet analysis {"connection_id":153107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:37:13] local.INFO: Extracted packet for processing {"connection_id":153107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739648001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786374284000,"timestamp_ms":1786374284000,"timestamp_seconds":1786374284,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3462e0"} 
[2026-08-10 20:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739648001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739648001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:37:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:37:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739648001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":153107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:37:13] local.INFO: GPS data processed {"connection_id":153107,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:37:13] local.INFO: Acknowledgment sent {"connection_id":153107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:37:18] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:37:18] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:37:18] local.INFO: Packet analysis {"connection_id":151788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:37:18] local.INFO: Extracted packet for processing {"connection_id":151788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739136001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786374282000,"timestamp_ms":1786374282000,"timestamp_seconds":1786374282,"priority":1,"record_length":96,"hex_timestamp":"0000019fec345b10"} 
[2026-08-10 20:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739136001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739136001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:37:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:37:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":151788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:37:18] local.INFO: GPS data processed {"connection_id":151788,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:37:18] local.INFO: Acknowledgment sent {"connection_id":151788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:37:41] local.INFO: TCP Data received {"connection_id":152185,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:37:41] local.INFO: Processing buffer {"connection_id":152185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:37:41] local.INFO: IMEI packet received {"connection_id":152185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":152185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:37:46] local.INFO: TCP Data received {"connection_id":152185,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:37:46] local.INFO: Processing buffer {"connection_id":152185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:37:46] local.INFO: IMEI packet received {"connection_id":152185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":152185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:37:47] local.INFO: TCP Data received {"connection_id":152185,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:37:47] local.INFO: Processing buffer {"connection_id":152185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:37:47] local.INFO: Packet analysis {"connection_id":152185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:37:47] local.INFO: Extracted packet for processing {"connection_id":152185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739136001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786374282000,"timestamp_ms":1786374282000,"timestamp_seconds":1786374282,"priority":1,"record_length":96,"hex_timestamp":"0000019fec345b10"} 
[2026-08-10 20:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739136001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739136001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:37:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:37:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":152185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:37:47] local.INFO: GPS data processed {"connection_id":152185,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:37:47] local.INFO: Acknowledgment sent {"connection_id":152185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:37:58] local.INFO: TCP Data received {"connection_id":151789,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:37:58] local.INFO: Processing buffer {"connection_id":151789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:37:58] local.INFO: IMEI packet received {"connection_id":151789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":151789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:38:03] local.INFO: TCP Data received {"connection_id":151789,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:38:03] local.INFO: Processing buffer {"connection_id":151789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:38:03] local.INFO: IMEI packet received {"connection_id":151789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":151789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:38:04] local.INFO: TCP Data received {"connection_id":151789,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:38:04] local.INFO: Processing buffer {"connection_id":151789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:38:04] local.INFO: Packet analysis {"connection_id":151789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:38:04] local.INFO: Extracted packet for processing {"connection_id":151789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739648001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786374284000,"timestamp_ms":1786374284000,"timestamp_seconds":1786374284,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3462e0"} 
[2026-08-10 20:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739648001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739648001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:38:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739648001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":151789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:38:04] local.INFO: GPS data processed {"connection_id":151789,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:38:04] local.INFO: Acknowledgment sent {"connection_id":151789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:38:19] local.INFO: TCP Data received {"connection_id":152185,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:38:19] local.INFO: Processing buffer {"connection_id":152185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:38:19] local.INFO: Packet analysis {"connection_id":152185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:38:19] local.INFO: Extracted packet for processing {"connection_id":152185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739136001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786374282000,"timestamp_ms":1786374282000,"timestamp_seconds":1786374282,"priority":1,"record_length":96,"hex_timestamp":"0000019fec345b10"} 
[2026-08-10 20:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739136001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739136001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:38:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:38:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":152185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:38:19] local.INFO: GPS data processed {"connection_id":152185,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:38:19] local.INFO: Acknowledgment sent {"connection_id":152185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:38:35] local.INFO: TCP Data received {"connection_id":151789,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:38:35] local.INFO: Processing buffer {"connection_id":151789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:38:35] local.INFO: Packet analysis {"connection_id":151789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:38:35] local.INFO: Extracted packet for processing {"connection_id":151789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739648001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786374284000,"timestamp_ms":1786374284000,"timestamp_seconds":1786374284,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3462e0"} 
[2026-08-10 20:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739648001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739648001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:38:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739648001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":151789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:38:35] local.INFO: GPS data processed {"connection_id":151789,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:38:35] local.INFO: Acknowledgment sent {"connection_id":151789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:38:41] local.INFO: TCP Data received {"connection_id":152186,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:38:41] local.INFO: Processing buffer {"connection_id":152186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:38:41] local.INFO: IMEI packet received {"connection_id":152186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":152186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:38:46] local.INFO: TCP Data received {"connection_id":152186,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:38:46] local.INFO: Processing buffer {"connection_id":152186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:38:46] local.INFO: IMEI packet received {"connection_id":152186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":152186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:38:47] local.INFO: TCP Data received {"connection_id":152186,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:38:47] local.INFO: Processing buffer {"connection_id":152186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:38:47] local.INFO: Packet analysis {"connection_id":152186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:38:47] local.INFO: Extracted packet for processing {"connection_id":152186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739136001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786374282000,"timestamp_ms":1786374282000,"timestamp_seconds":1786374282,"priority":1,"record_length":96,"hex_timestamp":"0000019fec345b10"} 
[2026-08-10 20:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739136001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739136001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:38:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":152186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:38:48] local.INFO: GPS data processed {"connection_id":152186,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:38:48] local.INFO: Acknowledgment sent {"connection_id":152186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:38:58] local.INFO: TCP Data received {"connection_id":152187,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:38:58] local.INFO: Processing buffer {"connection_id":152187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:38:58] local.INFO: IMEI packet received {"connection_id":152187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":152187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:39:03] local.INFO: TCP Data received {"connection_id":152187,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:39:03] local.INFO: Processing buffer {"connection_id":152187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:39:03] local.INFO: IMEI packet received {"connection_id":152187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":152187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:39:04] local.INFO: TCP Data received {"connection_id":152187,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:39:04] local.INFO: Processing buffer {"connection_id":152187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:39:04] local.INFO: Packet analysis {"connection_id":152187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:39:04] local.INFO: Extracted packet for processing {"connection_id":152187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739648001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786374284000,"timestamp_ms":1786374284000,"timestamp_seconds":1786374284,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3462e0"} 
[2026-08-10 20:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739648001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739648001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:39:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739648001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":152187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:39:04] local.INFO: GPS data processed {"connection_id":152187,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:39:04] local.INFO: Acknowledgment sent {"connection_id":152187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:39:19] local.INFO: TCP Data received {"connection_id":152186,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:39:19] local.INFO: Processing buffer {"connection_id":152186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:39:19] local.INFO: Packet analysis {"connection_id":152186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:39:19] local.INFO: Extracted packet for processing {"connection_id":152186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739136001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786374282000,"timestamp_ms":1786374282000,"timestamp_seconds":1786374282,"priority":1,"record_length":96,"hex_timestamp":"0000019fec345b10"} 
[2026-08-10 20:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739136001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739136001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:39:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:39:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":152186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:39:19] local.INFO: GPS data processed {"connection_id":152186,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:39:19] local.INFO: Acknowledgment sent {"connection_id":152186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:39:35] local.INFO: TCP Data received {"connection_id":152187,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:39:35] local.INFO: Processing buffer {"connection_id":152187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:39:35] local.INFO: Packet analysis {"connection_id":152187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:39:35] local.INFO: Extracted packet for processing {"connection_id":152187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739648001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786374284000,"timestamp_ms":1786374284000,"timestamp_seconds":1786374284,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3462e0"} 
[2026-08-10 20:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739648001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739648001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:39:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739648001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":152187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:39:35] local.INFO: GPS data processed {"connection_id":152187,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:39:35] local.INFO: Acknowledgment sent {"connection_id":152187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:39:41] local.INFO: TCP Data received {"connection_id":151790,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:39:41] local.INFO: Processing buffer {"connection_id":151790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:39:41] local.INFO: IMEI packet received {"connection_id":151790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":151790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:39:46] local.INFO: TCP Data received {"connection_id":151790,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:39:46] local.INFO: Processing buffer {"connection_id":151790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:39:46] local.INFO: IMEI packet received {"connection_id":151790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":151790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:39:47] local.INFO: TCP Data received {"connection_id":151790,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:39:47] local.INFO: Processing buffer {"connection_id":151790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:39:47] local.INFO: Packet analysis {"connection_id":151790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:39:47] local.INFO: Extracted packet for processing {"connection_id":151790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739136001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786374282000,"timestamp_ms":1786374282000,"timestamp_seconds":1786374282,"priority":1,"record_length":96,"hex_timestamp":"0000019fec345b10"} 
[2026-08-10 20:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739136001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739136001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:39:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":151790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:39:47] local.INFO: GPS data processed {"connection_id":151790,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:39:47] local.INFO: Acknowledgment sent {"connection_id":151790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:39:58] local.INFO: TCP Data received {"connection_id":151791,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:39:58] local.INFO: Processing buffer {"connection_id":151791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:39:58] local.INFO: IMEI packet received {"connection_id":151791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":151791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:40:03] local.INFO: TCP Data received {"connection_id":151791,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:40:03] local.INFO: Processing buffer {"connection_id":151791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:40:03] local.INFO: IMEI packet received {"connection_id":151791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":151791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:40:04] local.INFO: TCP Data received {"connection_id":151791,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:40:04] local.INFO: Processing buffer {"connection_id":151791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3462e0012d34248006abc1900005007e26..."} 
[2026-08-10 20:40:04] local.INFO: Packet analysis {"connection_id":151791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:40:04] local.INFO: Extracted packet for processing {"connection_id":151791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":5,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739648001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786374284000,"timestamp_ms":1786374284000,"timestamp_seconds":1786374284,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3462e0"} 
[2026-08-10 20:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739648001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739648001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:40:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739648001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":151791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:40:04] local.INFO: GPS data processed {"connection_id":151791,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:40:04] local.INFO: Acknowledgment sent {"connection_id":151791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:40:18] local.INFO: TCP Data received {"connection_id":151790,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:40:18] local.INFO: Processing buffer {"connection_id":151790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec345b10012d196580071ff0380043014224..."} 
[2026-08-10 20:40:18] local.INFO: Packet analysis {"connection_id":151790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:40:18] local.INFO: Extracted packet for processing {"connection_id":151790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec34"} 
[2026-08-10 20:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311739136001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786374282000,"timestamp_ms":1786374282000,"timestamp_seconds":1786374282,"priority":1,"record_length":96,"hex_timestamp":"0000019fec345b10"} 
[2026-08-10 20:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311739136001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311739136001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:40:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311739136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":151790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:40:18] local.INFO: GPS data processed {"connection_id":151790,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:40:18] local.INFO: Acknowledgment sent {"connection_id":151790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:40:35] local.INFO: TCP Data received {"connection_id":151791,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:40:35] local.INFO: Processing buffer {"connection_id":151791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:40:35] local.INFO: Packet analysis {"connection_id":151791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:40:35] local.INFO: Extracted packet for processing {"connection_id":151791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":10,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816704001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786374585000,"timestamp_ms":1786374585000,"timestamp_seconds":1786374585,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38faa8"} 
[2026-08-10 20:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816704001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816704001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:40:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816704001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":151791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:40:35] local.INFO: GPS data processed {"connection_id":151791,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:40:35] local.INFO: Acknowledgment sent {"connection_id":151791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:40:46] local.INFO: TCP Data received {"connection_id":152188,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:40:46] local.INFO: Processing buffer {"connection_id":152188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:40:46] local.INFO: IMEI packet received {"connection_id":152188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":152188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:40:51] local.INFO: TCP Data received {"connection_id":152188,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:40:51] local.INFO: Processing buffer {"connection_id":152188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:40:51] local.INFO: IMEI packet received {"connection_id":152188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":152188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:40:52] local.INFO: TCP Data received {"connection_id":152188,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:40:52] local.INFO: Processing buffer {"connection_id":152188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:40:52] local.INFO: Packet analysis {"connection_id":152188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:40:52] local.INFO: Extracted packet for processing {"connection_id":152188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816192001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786374583000,"timestamp_ms":1786374583000,"timestamp_seconds":1786374583,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38f2d8"} 
[2026-08-10 20:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816192001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816192001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:40:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":152188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:40:52] local.INFO: GPS data processed {"connection_id":152188,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:40:52] local.INFO: Acknowledgment sent {"connection_id":152188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:40:58] local.INFO: TCP Data received {"connection_id":152189,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:40:58] local.INFO: Processing buffer {"connection_id":152189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:40:58] local.INFO: IMEI packet received {"connection_id":152189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":152189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:41:03] local.INFO: TCP Data received {"connection_id":152189,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:41:03] local.INFO: Processing buffer {"connection_id":152189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:41:03] local.INFO: IMEI packet received {"connection_id":152189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":152189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:41:04] local.INFO: TCP Data received {"connection_id":152189,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:41:04] local.INFO: Processing buffer {"connection_id":152189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:41:04] local.INFO: Packet analysis {"connection_id":152189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:41:04] local.INFO: Extracted packet for processing {"connection_id":152189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":10,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816704001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786374585000,"timestamp_ms":1786374585000,"timestamp_seconds":1786374585,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38faa8"} 
[2026-08-10 20:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816704001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816704001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:41:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816704001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":152189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:41:04] local.INFO: GPS data processed {"connection_id":152189,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:41:04] local.INFO: Acknowledgment sent {"connection_id":152189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:41:23] local.INFO: TCP Data received {"connection_id":152188,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:41:23] local.INFO: Processing buffer {"connection_id":152188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:41:23] local.INFO: Packet analysis {"connection_id":152188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:41:23] local.INFO: Extracted packet for processing {"connection_id":152188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816192001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786374583000,"timestamp_ms":1786374583000,"timestamp_seconds":1786374583,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38f2d8"} 
[2026-08-10 20:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816192001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816192001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:41:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":152188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:41:23] local.INFO: GPS data processed {"connection_id":152188,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:41:23] local.INFO: Acknowledgment sent {"connection_id":152188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:41:35] local.INFO: TCP Data received {"connection_id":152189,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:41:35] local.INFO: Processing buffer {"connection_id":152189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:41:35] local.INFO: Packet analysis {"connection_id":152189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:41:35] local.INFO: Extracted packet for processing {"connection_id":152189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":10,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816704001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786374585000,"timestamp_ms":1786374585000,"timestamp_seconds":1786374585,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38faa8"} 
[2026-08-10 20:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816704001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816704001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:41:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816704001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":152189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:41:35] local.INFO: GPS data processed {"connection_id":152189,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:41:35] local.INFO: Acknowledgment sent {"connection_id":152189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:41:41] local.INFO: TCP Data received {"connection_id":154536,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:41:41] local.INFO: Processing buffer {"connection_id":154536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:41:41] local.INFO: IMEI packet received {"connection_id":154536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":154536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:41:46] local.INFO: TCP Data received {"connection_id":154536,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:41:46] local.INFO: Processing buffer {"connection_id":154536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:41:46] local.INFO: IMEI packet received {"connection_id":154536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":154536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:41:47] local.INFO: TCP Data received {"connection_id":154536,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:41:47] local.INFO: Processing buffer {"connection_id":154536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:41:47] local.INFO: Packet analysis {"connection_id":154536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:41:47] local.INFO: Extracted packet for processing {"connection_id":154536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816192001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786374583000,"timestamp_ms":1786374583000,"timestamp_seconds":1786374583,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38f2d8"} 
[2026-08-10 20:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816192001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816192001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:41:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":154536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:41:47] local.INFO: GPS data processed {"connection_id":154536,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:41:47] local.INFO: Acknowledgment sent {"connection_id":154536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:42:03] local.INFO: TCP Data received {"connection_id":151792,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:42:03] local.INFO: Processing buffer {"connection_id":151792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:42:03] local.INFO: IMEI packet received {"connection_id":151792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":151792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:42:08] local.INFO: TCP Data received {"connection_id":151792,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:42:08] local.INFO: Processing buffer {"connection_id":151792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:42:08] local.INFO: IMEI packet received {"connection_id":151792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":151792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:42:09] local.INFO: TCP Data received {"connection_id":151792,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:42:09] local.INFO: Processing buffer {"connection_id":151792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:42:09] local.INFO: Packet analysis {"connection_id":151792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:42:09] local.INFO: Extracted packet for processing {"connection_id":151792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":10,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816704001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786374585000,"timestamp_ms":1786374585000,"timestamp_seconds":1786374585,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38faa8"} 
[2026-08-10 20:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816704001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816704001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:42:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816704001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":151792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:42:09] local.INFO: GPS data processed {"connection_id":151792,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:42:09] local.INFO: Acknowledgment sent {"connection_id":151792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:42:13] local.INFO: TCP Data received {"connection_id":151792,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:42:13] local.INFO: Processing buffer {"connection_id":151792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:42:13] local.INFO: Packet analysis {"connection_id":151792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:42:13] local.INFO: Extracted packet for processing {"connection_id":151792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":10,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816704001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786374585000,"timestamp_ms":1786374585000,"timestamp_seconds":1786374585,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38faa8"} 
[2026-08-10 20:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20: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-08-10 20:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816704001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816704001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:42:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:42:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816704001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":151792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:42:13] local.INFO: GPS data processed {"connection_id":151792,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:42:13] local.INFO: Acknowledgment sent {"connection_id":151792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:42:19] local.INFO: TCP Data received {"connection_id":154536,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:42:19] local.INFO: Processing buffer {"connection_id":154536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:42:19] local.INFO: Packet analysis {"connection_id":154536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:42:19] local.INFO: Extracted packet for processing {"connection_id":154536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816192001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786374583000,"timestamp_ms":1786374583000,"timestamp_seconds":1786374583,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38f2d8"} 
[2026-08-10 20:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816192001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816192001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:42:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:42:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":154536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:42:19] local.INFO: GPS data processed {"connection_id":154536,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:42:19] local.INFO: Acknowledgment sent {"connection_id":154536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:42:41] local.INFO: TCP Data received {"connection_id":153108,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:42:41] local.INFO: Processing buffer {"connection_id":153108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:42:41] local.INFO: IMEI packet received {"connection_id":153108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":153108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:42:46] local.INFO: TCP Data received {"connection_id":153108,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:42:46] local.INFO: Processing buffer {"connection_id":153108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:42:46] local.INFO: IMEI packet received {"connection_id":153108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":153108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:42:47] local.INFO: TCP Data received {"connection_id":153108,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:42:47] local.INFO: Processing buffer {"connection_id":153108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:42:47] local.INFO: Packet analysis {"connection_id":153108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:42:47] local.INFO: Extracted packet for processing {"connection_id":153108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816192001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786374583000,"timestamp_ms":1786374583000,"timestamp_seconds":1786374583,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38f2d8"} 
[2026-08-10 20:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816192001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816192001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:42:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":153108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:42:47] local.INFO: GPS data processed {"connection_id":153108,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:42:47] local.INFO: Acknowledgment sent {"connection_id":153108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:42:58] local.INFO: TCP Data received {"connection_id":154537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:42:58] local.INFO: Processing buffer {"connection_id":154537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:42:58] local.INFO: IMEI packet received {"connection_id":154537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":154537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:43:03] local.INFO: TCP Data received {"connection_id":154537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:43:03] local.INFO: Processing buffer {"connection_id":154537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:43:03] local.INFO: IMEI packet received {"connection_id":154537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":154537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:43:03] local.INFO: TCP Data received {"connection_id":154537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:43:03] local.INFO: Processing buffer {"connection_id":154537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:43:03] local.INFO: Packet analysis {"connection_id":154537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:43:03] local.INFO: Extracted packet for processing {"connection_id":154537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":10,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816704001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786374585000,"timestamp_ms":1786374585000,"timestamp_seconds":1786374585,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38faa8"} 
[2026-08-10 20:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816704001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816704001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:43:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816704001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":154537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:43:03] local.INFO: GPS data processed {"connection_id":154537,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:43:03] local.INFO: Acknowledgment sent {"connection_id":154537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:43:19] local.INFO: TCP Data received {"connection_id":153108,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:43:19] local.INFO: Processing buffer {"connection_id":153108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:43:19] local.INFO: Packet analysis {"connection_id":153108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:43:19] local.INFO: Extracted packet for processing {"connection_id":153108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816192001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786374583000,"timestamp_ms":1786374583000,"timestamp_seconds":1786374583,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38f2d8"} 
[2026-08-10 20:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816192001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816192001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:43:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":153108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:43:19] local.INFO: GPS data processed {"connection_id":153108,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:43:19] local.INFO: Acknowledgment sent {"connection_id":153108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:43:34] local.INFO: TCP Data received {"connection_id":154537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:43:34] local.INFO: Processing buffer {"connection_id":154537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:43:34] local.INFO: Packet analysis {"connection_id":154537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:43:34] local.INFO: Extracted packet for processing {"connection_id":154537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":10,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816704001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786374585000,"timestamp_ms":1786374585000,"timestamp_seconds":1786374585,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38faa8"} 
[2026-08-10 20:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":154537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":154537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":154537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816704001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816704001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:43:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816704001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":154537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:43:34] local.INFO: GPS data processed {"connection_id":154537,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:43:34] local.INFO: Acknowledgment sent {"connection_id":154537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:43:41] local.INFO: TCP Data received {"connection_id":151793,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:43:41] local.INFO: Processing buffer {"connection_id":151793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:43:41] local.INFO: IMEI packet received {"connection_id":151793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":151793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:43:46] local.INFO: TCP Data received {"connection_id":151793,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:43:46] local.INFO: Processing buffer {"connection_id":151793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:43:46] local.INFO: IMEI packet received {"connection_id":151793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":151793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:43:47] local.INFO: TCP Data received {"connection_id":151793,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:43:47] local.INFO: Processing buffer {"connection_id":151793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:43:47] local.INFO: Packet analysis {"connection_id":151793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:43:47] local.INFO: Extracted packet for processing {"connection_id":151793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816192001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786374583000,"timestamp_ms":1786374583000,"timestamp_seconds":1786374583,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38f2d8"} 
[2026-08-10 20:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816192001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816192001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:43:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":151793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:43:47] local.INFO: GPS data processed {"connection_id":151793,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:43:47] local.INFO: Acknowledgment sent {"connection_id":151793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:43:58] local.INFO: TCP Data received {"connection_id":152190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:43:58] local.INFO: Processing buffer {"connection_id":152190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:43:58] local.INFO: IMEI packet received {"connection_id":152190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":152190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:44:03] local.INFO: TCP Data received {"connection_id":152190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:44:03] local.INFO: Processing buffer {"connection_id":152190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:44:03] local.INFO: IMEI packet received {"connection_id":152190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":152190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:44:03] local.INFO: TCP Data received {"connection_id":152190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:44:03] local.INFO: Processing buffer {"connection_id":152190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:44:03] local.INFO: Packet analysis {"connection_id":152190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:44:03] local.INFO: Extracted packet for processing {"connection_id":152190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":10,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816704001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786374585000,"timestamp_ms":1786374585000,"timestamp_seconds":1786374585,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38faa8"} 
[2026-08-10 20:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816704001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816704001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:44:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816704001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":152190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:44:03] local.INFO: GPS data processed {"connection_id":152190,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:44:03] local.INFO: Acknowledgment sent {"connection_id":152190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:44:22] local.INFO: TCP Data received {"connection_id":151793,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:44:22] local.INFO: Processing buffer {"connection_id":151793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:44:22] local.INFO: Packet analysis {"connection_id":151793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:44:22] local.INFO: Extracted packet for processing {"connection_id":151793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816192001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786374583000,"timestamp_ms":1786374583000,"timestamp_seconds":1786374583,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38f2d8"} 
[2026-08-10 20:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816192001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816192001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:44:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":151793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:44:22] local.INFO: GPS data processed {"connection_id":151793,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:44:22] local.INFO: Acknowledgment sent {"connection_id":151793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:44:35] local.INFO: TCP Data received {"connection_id":152190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:44:35] local.INFO: Processing buffer {"connection_id":152190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:44:35] local.INFO: Packet analysis {"connection_id":152190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:44:35] local.INFO: Extracted packet for processing {"connection_id":152190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":10,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816704001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786374585000,"timestamp_ms":1786374585000,"timestamp_seconds":1786374585,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38faa8"} 
[2026-08-10 20:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816704001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816704001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:44:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816704001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":152190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:44:35] local.INFO: GPS data processed {"connection_id":152190,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:44:35] local.INFO: Acknowledgment sent {"connection_id":152190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:44:46] local.INFO: TCP Data received {"connection_id":151794,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:44:46] local.INFO: Processing buffer {"connection_id":151794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:44:46] local.INFO: IMEI packet received {"connection_id":151794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":151794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:44:51] local.INFO: TCP Data received {"connection_id":151794,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:44:51] local.INFO: Processing buffer {"connection_id":151794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:44:51] local.INFO: IMEI packet received {"connection_id":151794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":151794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:44:52] local.INFO: TCP Data received {"connection_id":151794,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:44:52] local.INFO: Processing buffer {"connection_id":151794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:44:52] local.INFO: Packet analysis {"connection_id":151794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:44:52] local.INFO: Extracted packet for processing {"connection_id":151794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816192001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786374583000,"timestamp_ms":1786374583000,"timestamp_seconds":1786374583,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38f2d8"} 
[2026-08-10 20:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816192001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816192001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:44:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":151794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:44:53] local.INFO: GPS data processed {"connection_id":151794,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:44:53] local.INFO: Acknowledgment sent {"connection_id":151794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:44:57] local.INFO: TCP Data received {"connection_id":151794,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:44:57] local.INFO: Processing buffer {"connection_id":151794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38f2d8012d196580071ff0380043014222..."} 
[2026-08-10 20:44:57] local.INFO: Packet analysis {"connection_id":151794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:44:57] local.INFO: Extracted packet for processing {"connection_id":151794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:44:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816192001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786374583000,"timestamp_ms":1786374583000,"timestamp_seconds":1786374583,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38f2d8"} 
[2026-08-10 20:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816192001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816192001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:44:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:44:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":151794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:44:57] local.INFO: GPS data processed {"connection_id":151794,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:44:57] local.INFO: Acknowledgment sent {"connection_id":151794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:44:58] local.INFO: TCP Data received {"connection_id":154538,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:44:58] local.INFO: Processing buffer {"connection_id":154538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:44:58] local.INFO: IMEI packet received {"connection_id":154538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":154538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:45:03] local.INFO: TCP Data received {"connection_id":154538,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:45:03] local.INFO: Processing buffer {"connection_id":154538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:45:03] local.INFO: IMEI packet received {"connection_id":154538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":154538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:45:04] local.INFO: TCP Data received {"connection_id":154538,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:45:04] local.INFO: Processing buffer {"connection_id":154538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec38faa8012d34248006abc190000a007e21..."} 
[2026-08-10 20:45:04] local.INFO: Packet analysis {"connection_id":154538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:45:04] local.INFO: Extracted packet for processing {"connection_id":154538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec38"} 
[2026-08-10 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":10,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311816704001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786374585000,"timestamp_ms":1786374585000,"timestamp_seconds":1786374585,"priority":1,"record_length":96,"hex_timestamp":"0000019fec38faa8"} 
[2026-08-10 20:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311816704001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311816704001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:45:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311816704001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":154538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:45:04] local.INFO: GPS data processed {"connection_id":154538,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:45:04] local.INFO: Acknowledgment sent {"connection_id":154538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:45:35] local.INFO: TCP Data received {"connection_id":154538,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:45:35] local.INFO: Processing buffer {"connection_id":154538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:45:35] local.INFO: Packet analysis {"connection_id":154538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:45:35] local.INFO: Extracted packet for processing {"connection_id":154538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893760001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786374886000,"timestamp_ms":1786374886000,"timestamp_seconds":1786374886,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d9270"} 
[2026-08-10 20:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893760001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893760001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:45:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893760001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":154538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:45:35] local.INFO: GPS data processed {"connection_id":154538,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:45:35] local.INFO: Acknowledgment sent {"connection_id":154538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:45:41] local.INFO: TCP Data received {"connection_id":153109,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:45:41] local.INFO: Processing buffer {"connection_id":153109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:45:41] local.INFO: IMEI packet received {"connection_id":153109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":153109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:45:46] local.INFO: TCP Data received {"connection_id":153109,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:45:46] local.INFO: Processing buffer {"connection_id":153109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:45:46] local.INFO: IMEI packet received {"connection_id":153109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":153109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:45:58] local.INFO: TCP Data received {"connection_id":151795,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:45:58] local.INFO: Processing buffer {"connection_id":151795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:45:58] local.INFO: IMEI packet received {"connection_id":151795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":151795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:45:59] local.INFO: TCP Data received {"connection_id":153109,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:45:59] local.INFO: Processing buffer {"connection_id":153109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:45:59] local.INFO: Packet analysis {"connection_id":153109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:45:59] local.INFO: Extracted packet for processing {"connection_id":153109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893248001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786374884000,"timestamp_ms":1786374884000,"timestamp_seconds":1786374884,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d8aa0"} 
[2026-08-10 20:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893248001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893248001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:45:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":153109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:45:59] local.INFO: GPS data processed {"connection_id":153109,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:45:59] local.INFO: Acknowledgment sent {"connection_id":153109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:46:03] local.INFO: TCP Data received {"connection_id":151795,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:46:03] local.INFO: Processing buffer {"connection_id":151795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:46:03] local.INFO: IMEI packet received {"connection_id":151795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":151795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:46:04] local.INFO: TCP Data received {"connection_id":151795,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:46:04] local.INFO: Processing buffer {"connection_id":151795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:46:04] local.INFO: Packet analysis {"connection_id":151795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:46:04] local.INFO: Extracted packet for processing {"connection_id":151795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893760001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786374886000,"timestamp_ms":1786374886000,"timestamp_seconds":1786374886,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d9270"} 
[2026-08-10 20:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893760001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893760001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:46:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893760001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":151795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:46:04] local.INFO: GPS data processed {"connection_id":151795,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:46:04] local.INFO: Acknowledgment sent {"connection_id":151795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:46:35] local.INFO: TCP Data received {"connection_id":151795,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:46:35] local.INFO: Processing buffer {"connection_id":151795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:46:35] local.INFO: Packet analysis {"connection_id":151795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:46:35] local.INFO: Extracted packet for processing {"connection_id":151795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893760001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786374886000,"timestamp_ms":1786374886000,"timestamp_seconds":1786374886,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d9270"} 
[2026-08-10 20:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893760001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893760001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:46:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893760001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":151795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:46:35] local.INFO: GPS data processed {"connection_id":151795,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:46:35] local.INFO: Acknowledgment sent {"connection_id":151795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:46:41] local.INFO: TCP Data received {"connection_id":152191,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:46:41] local.INFO: Processing buffer {"connection_id":152191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:46:41] local.INFO: IMEI packet received {"connection_id":152191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":152191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:46:46] local.INFO: TCP Data received {"connection_id":152191,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:46:46] local.INFO: Processing buffer {"connection_id":152191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:46:46] local.INFO: IMEI packet received {"connection_id":152191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":152191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:46:47] local.INFO: TCP Data received {"connection_id":152191,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:46:47] local.INFO: Processing buffer {"connection_id":152191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:46:47] local.INFO: Packet analysis {"connection_id":152191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:46:47] local.INFO: Extracted packet for processing {"connection_id":152191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893248001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786374884000,"timestamp_ms":1786374884000,"timestamp_seconds":1786374884,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d8aa0"} 
[2026-08-10 20:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893248001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893248001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:46:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":152191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:46:47] local.INFO: GPS data processed {"connection_id":152191,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:46:47] local.INFO: Acknowledgment sent {"connection_id":152191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:47:03] local.INFO: TCP Data received {"connection_id":151796,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:47:03] local.INFO: Processing buffer {"connection_id":151796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:47:03] local.INFO: IMEI packet received {"connection_id":151796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":151796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:47:08] local.INFO: TCP Data received {"connection_id":151796,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:47:08] local.INFO: Processing buffer {"connection_id":151796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:47:08] local.INFO: IMEI packet received {"connection_id":151796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":151796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:47:09] local.INFO: TCP Data received {"connection_id":151796,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:47:09] local.INFO: Processing buffer {"connection_id":151796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:47:09] local.INFO: Packet analysis {"connection_id":151796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:47:09] local.INFO: Extracted packet for processing {"connection_id":151796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893760001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786374886000,"timestamp_ms":1786374886000,"timestamp_seconds":1786374886,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d9270"} 
[2026-08-10 20:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893760001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893760001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:47:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893760001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":151796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:47:09] local.INFO: GPS data processed {"connection_id":151796,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:47:09] local.INFO: Acknowledgment sent {"connection_id":151796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:47:13] local.INFO: TCP Data received {"connection_id":151796,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:47:13] local.INFO: Processing buffer {"connection_id":151796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:47:13] local.INFO: Packet analysis {"connection_id":151796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:47:13] local.INFO: Extracted packet for processing {"connection_id":151796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893760001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786374886000,"timestamp_ms":1786374886000,"timestamp_seconds":1786374886,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d9270"} 
[2026-08-10 20:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893760001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893760001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:47:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893760001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":151796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:47:13] local.INFO: GPS data processed {"connection_id":151796,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:47:13] local.INFO: Acknowledgment sent {"connection_id":151796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:47:18] local.INFO: TCP Data received {"connection_id":152191,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:47:18] local.INFO: Processing buffer {"connection_id":152191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:47:18] local.INFO: Packet analysis {"connection_id":152191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:47:18] local.INFO: Extracted packet for processing {"connection_id":152191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893248001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786374884000,"timestamp_ms":1786374884000,"timestamp_seconds":1786374884,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d8aa0"} 
[2026-08-10 20:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20: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-08-10 20:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893248001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893248001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:47:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:47:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":152191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:47:18] local.INFO: GPS data processed {"connection_id":152191,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:47:18] local.INFO: Acknowledgment sent {"connection_id":152191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:47:41] local.INFO: TCP Data received {"connection_id":153110,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:47:41] local.INFO: Processing buffer {"connection_id":153110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:47:41] local.INFO: IMEI packet received {"connection_id":153110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":153110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:47:46] local.INFO: TCP Data received {"connection_id":153110,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:47:46] local.INFO: Processing buffer {"connection_id":153110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:47:46] local.INFO: IMEI packet received {"connection_id":153110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":153110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:47:47] local.INFO: TCP Data received {"connection_id":153110,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:47:47] local.INFO: Processing buffer {"connection_id":153110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:47:47] local.INFO: Packet analysis {"connection_id":153110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:47:47] local.INFO: Extracted packet for processing {"connection_id":153110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893248001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786374884000,"timestamp_ms":1786374884000,"timestamp_seconds":1786374884,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d8aa0"} 
[2026-08-10 20:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893248001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893248001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:47:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":153110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:47:47] local.INFO: GPS data processed {"connection_id":153110,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:47:47] local.INFO: Acknowledgment sent {"connection_id":153110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:47:58] local.INFO: TCP Data received {"connection_id":152192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:47:58] local.INFO: Processing buffer {"connection_id":152192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:47:58] local.INFO: IMEI packet received {"connection_id":152192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":152192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:48:03] local.INFO: TCP Data received {"connection_id":152192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:48:03] local.INFO: Processing buffer {"connection_id":152192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:48:03] local.INFO: IMEI packet received {"connection_id":152192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":152192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:48:04] local.INFO: TCP Data received {"connection_id":152192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:48:04] local.INFO: Processing buffer {"connection_id":152192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:48:04] local.INFO: Packet analysis {"connection_id":152192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:48:04] local.INFO: Extracted packet for processing {"connection_id":152192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893760001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786374886000,"timestamp_ms":1786374886000,"timestamp_seconds":1786374886,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d9270"} 
[2026-08-10 20:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893760001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893760001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:48:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893760001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":152192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:48:04] local.INFO: GPS data processed {"connection_id":152192,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:48:04] local.INFO: Acknowledgment sent {"connection_id":152192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:48:18] local.INFO: TCP Data received {"connection_id":153110,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:48:18] local.INFO: Processing buffer {"connection_id":153110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:48:18] local.INFO: Packet analysis {"connection_id":153110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:48:18] local.INFO: Extracted packet for processing {"connection_id":153110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893248001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786374884000,"timestamp_ms":1786374884000,"timestamp_seconds":1786374884,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d8aa0"} 
[2026-08-10 20:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20: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-08-10 20:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893248001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893248001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:48:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":153110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:48:19] local.INFO: GPS data processed {"connection_id":153110,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:48:19] local.INFO: Acknowledgment sent {"connection_id":153110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:48:35] local.INFO: TCP Data received {"connection_id":152192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:48:35] local.INFO: Processing buffer {"connection_id":152192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:48:35] local.INFO: Packet analysis {"connection_id":152192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:48:35] local.INFO: Extracted packet for processing {"connection_id":152192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893760001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786374886000,"timestamp_ms":1786374886000,"timestamp_seconds":1786374886,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d9270"} 
[2026-08-10 20:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893760001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893760001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:48:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893760001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":152192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:48:35] local.INFO: GPS data processed {"connection_id":152192,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:48:35] local.INFO: Acknowledgment sent {"connection_id":152192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:48:41] local.INFO: TCP Data received {"connection_id":153111,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:48:41] local.INFO: Processing buffer {"connection_id":153111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:48:41] local.INFO: IMEI packet received {"connection_id":153111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":153111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:48:46] local.INFO: TCP Data received {"connection_id":153111,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:48:46] local.INFO: Processing buffer {"connection_id":153111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:48:46] local.INFO: IMEI packet received {"connection_id":153111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":153111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:48:47] local.INFO: TCP Data received {"connection_id":153111,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:48:47] local.INFO: Processing buffer {"connection_id":153111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:48:47] local.INFO: Packet analysis {"connection_id":153111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:48:47] local.INFO: Extracted packet for processing {"connection_id":153111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 20:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893248001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786374884000,"timestamp_ms":1786374884000,"timestamp_seconds":1786374884,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d8aa0"} 
[2026-08-10 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-08-10 20:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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-08-10 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-08-10 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-08-10 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-08-10 20:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893248001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893248001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:48:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":153111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:48:47] local.INFO: GPS data processed {"connection_id":153111,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:48:47] local.INFO: Acknowledgment sent {"connection_id":153111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:48:58] local.INFO: TCP Data received {"connection_id":151797,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:48:58] local.INFO: Processing buffer {"connection_id":151797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:48:58] local.INFO: IMEI packet received {"connection_id":151797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":151797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:49:03] local.INFO: TCP Data received {"connection_id":151797,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:49:03] local.INFO: Processing buffer {"connection_id":151797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:49:03] local.INFO: IMEI packet received {"connection_id":151797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":151797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:49:04] local.INFO: TCP Data received {"connection_id":151797,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:49:04] local.INFO: Processing buffer {"connection_id":151797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:49:04] local.INFO: Packet analysis {"connection_id":151797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:49:04] local.INFO: Extracted packet for processing {"connection_id":151797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893760001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786374886000,"timestamp_ms":1786374886000,"timestamp_seconds":1786374886,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d9270"} 
[2026-08-10 20:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893760001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893760001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:49:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893760001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":151797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:49:04] local.INFO: GPS data processed {"connection_id":151797,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:49:04] local.INFO: Acknowledgment sent {"connection_id":151797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:49:18] local.INFO: TCP Data received {"connection_id":153111,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:49:18] local.INFO: Processing buffer {"connection_id":153111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:49:18] local.INFO: Packet analysis {"connection_id":153111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:49:18] local.INFO: Extracted packet for processing {"connection_id":153111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893248001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786374884000,"timestamp_ms":1786374884000,"timestamp_seconds":1786374884,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d8aa0"} 
[2026-08-10 20:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893248001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893248001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:49:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:49:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":153111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:49:19] local.INFO: GPS data processed {"connection_id":153111,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:49:19] local.INFO: Acknowledgment sent {"connection_id":153111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:49:35] local.INFO: TCP Data received {"connection_id":151797,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:49:35] local.INFO: Processing buffer {"connection_id":151797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:49:35] local.INFO: Packet analysis {"connection_id":151797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:49:35] local.INFO: Extracted packet for processing {"connection_id":151797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893760001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786374886000,"timestamp_ms":1786374886000,"timestamp_seconds":1786374886,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d9270"} 
[2026-08-10 20:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893760001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893760001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:49:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893760001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":151797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:49:35] local.INFO: GPS data processed {"connection_id":151797,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:49:35] local.INFO: Acknowledgment sent {"connection_id":151797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:49:46] local.INFO: TCP Data received {"connection_id":153112,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:49:46] local.INFO: Processing buffer {"connection_id":153112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:49:46] local.INFO: IMEI packet received {"connection_id":153112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":153112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:49:51] local.INFO: TCP Data received {"connection_id":153112,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:49:51] local.INFO: Processing buffer {"connection_id":153112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:49:51] local.INFO: IMEI packet received {"connection_id":153112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":153112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:49:52] local.INFO: TCP Data received {"connection_id":153112,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:49:52] local.INFO: Processing buffer {"connection_id":153112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:49:52] local.INFO: Packet analysis {"connection_id":153112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:49:52] local.INFO: Extracted packet for processing {"connection_id":153112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:49:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893248001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786374884000,"timestamp_ms":1786374884000,"timestamp_seconds":1786374884,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d8aa0"} 
[2026-08-10 20:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893248001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893248001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:49:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:49:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":153112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:49:52] local.INFO: GPS data processed {"connection_id":153112,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:49:52] local.INFO: Acknowledgment sent {"connection_id":153112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:49:57] local.INFO: TCP Data received {"connection_id":153112,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:49:57] local.INFO: Processing buffer {"connection_id":153112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d8aa0012d196580071ff0380043014226..."} 
[2026-08-10 20:49:57] local.INFO: Packet analysis {"connection_id":153112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:49:57] local.INFO: Extracted packet for processing {"connection_id":153112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893248001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786374884000,"timestamp_ms":1786374884000,"timestamp_seconds":1786374884,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d8aa0"} 
[2026-08-10 20:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 20:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893248001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893248001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:49:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":153112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:49:57] local.INFO: GPS data processed {"connection_id":153112,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:49:57] local.INFO: Acknowledgment sent {"connection_id":153112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:49:58] local.INFO: TCP Data received {"connection_id":153113,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:49:58] local.INFO: Processing buffer {"connection_id":153113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:49:58] local.INFO: IMEI packet received {"connection_id":153113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":153113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:50:03] local.INFO: TCP Data received {"connection_id":153113,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:50:03] local.INFO: Processing buffer {"connection_id":153113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:50:03] local.INFO: IMEI packet received {"connection_id":153113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":153113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:50:04] local.INFO: TCP Data received {"connection_id":153113,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:50:04] local.INFO: Processing buffer {"connection_id":153113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec3d9270012d34248006abc1900009007e25..."} 
[2026-08-10 20:50:04] local.INFO: Packet analysis {"connection_id":153113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:50:04] local.INFO: Extracted packet for processing {"connection_id":153113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec3d"} 
[2026-08-10 20:50:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":9,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311893760001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786374886000,"timestamp_ms":1786374886000,"timestamp_seconds":1786374886,"priority":1,"record_length":96,"hex_timestamp":"0000019fec3d9270"} 
[2026-08-10 20:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311893760001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311893760001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:50:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:50:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311893760001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":153113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:50:04] local.INFO: GPS data processed {"connection_id":153113,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:50:04] local.INFO: Acknowledgment sent {"connection_id":153113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:50:35] local.INFO: TCP Data received {"connection_id":153113,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:50:35] local.INFO: Processing buffer {"connection_id":153113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:50:35] local.INFO: Packet analysis {"connection_id":153113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:50:35] local.INFO: Extracted packet for processing {"connection_id":153113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970816001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786375187000,"timestamp_ms":1786375187000,"timestamp_seconds":1786375187,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422a38"} 
[2026-08-10 20:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970816001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970816001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:50:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970816001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":153113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:50:35] local.INFO: GPS data processed {"connection_id":153113,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:50:35] local.INFO: Acknowledgment sent {"connection_id":153113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:50:41] local.INFO: TCP Data received {"connection_id":154539,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:50:41] local.INFO: Processing buffer {"connection_id":154539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:50:41] local.INFO: IMEI packet received {"connection_id":154539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":154539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:50:46] local.INFO: TCP Data received {"connection_id":154539,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:50:46] local.INFO: Processing buffer {"connection_id":154539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:50:46] local.INFO: IMEI packet received {"connection_id":154539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":154539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:50:47] local.INFO: TCP Data received {"connection_id":154539,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:50:47] local.INFO: Processing buffer {"connection_id":154539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:50:47] local.INFO: Packet analysis {"connection_id":154539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:50:47] local.INFO: Extracted packet for processing {"connection_id":154539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970304001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786375185000,"timestamp_ms":1786375185000,"timestamp_seconds":1786375185,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422268"} 
[2026-08-10 20:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:50: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-08-10 20:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970304001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970304001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:50:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:50:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":154539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:50:47] local.INFO: GPS data processed {"connection_id":154539,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:50:47] local.INFO: Acknowledgment sent {"connection_id":154539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:50:58] local.INFO: TCP Data received {"connection_id":152193,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:50:58] local.INFO: Processing buffer {"connection_id":152193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:50:58] local.INFO: IMEI packet received {"connection_id":152193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":152193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:51:03] local.INFO: TCP Data received {"connection_id":152193,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:51:03] local.INFO: Processing buffer {"connection_id":152193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:51:03] local.INFO: IMEI packet received {"connection_id":152193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":152193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:51:04] local.INFO: TCP Data received {"connection_id":152193,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:51:04] local.INFO: Processing buffer {"connection_id":152193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:51:04] local.INFO: Packet analysis {"connection_id":152193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:51:04] local.INFO: Extracted packet for processing {"connection_id":152193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970816001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786375187000,"timestamp_ms":1786375187000,"timestamp_seconds":1786375187,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422a38"} 
[2026-08-10 20:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970816001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970816001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:51:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:51:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970816001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":152193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:51:04] local.INFO: GPS data processed {"connection_id":152193,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:51:04] local.INFO: Acknowledgment sent {"connection_id":152193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:51:18] local.INFO: TCP Data received {"connection_id":154539,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:51:18] local.INFO: Processing buffer {"connection_id":154539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:51:18] local.INFO: Packet analysis {"connection_id":154539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:51:18] local.INFO: Extracted packet for processing {"connection_id":154539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970304001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786375185000,"timestamp_ms":1786375185000,"timestamp_seconds":1786375185,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422268"} 
[2026-08-10 20:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970304001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970304001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:51:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":154539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:51:18] local.INFO: GPS data processed {"connection_id":154539,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:51:18] local.INFO: Acknowledgment sent {"connection_id":154539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:51:35] local.INFO: TCP Data received {"connection_id":152193,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:51:35] local.INFO: Processing buffer {"connection_id":152193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:51:35] local.INFO: Packet analysis {"connection_id":152193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:51:35] local.INFO: Extracted packet for processing {"connection_id":152193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970816001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786375187000,"timestamp_ms":1786375187000,"timestamp_seconds":1786375187,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422a38"} 
[2026-08-10 20:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970816001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970816001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:51:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970816001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":152193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:51:35] local.INFO: GPS data processed {"connection_id":152193,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:51:35] local.INFO: Acknowledgment sent {"connection_id":152193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:51:41] local.INFO: TCP Data received {"connection_id":154540,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:51:41] local.INFO: Processing buffer {"connection_id":154540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:51:41] local.INFO: IMEI packet received {"connection_id":154540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":154540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:51:46] local.INFO: TCP Data received {"connection_id":154540,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:51:46] local.INFO: Processing buffer {"connection_id":154540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:51:46] local.INFO: IMEI packet received {"connection_id":154540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":154540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:51:47] local.INFO: TCP Data received {"connection_id":154540,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:51:47] local.INFO: Processing buffer {"connection_id":154540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:51:47] local.INFO: Packet analysis {"connection_id":154540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:51:47] local.INFO: Extracted packet for processing {"connection_id":154540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:51:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970304001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786375185000,"timestamp_ms":1786375185000,"timestamp_seconds":1786375185,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422268"} 
[2026-08-10 20:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:51: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-08-10 20:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970304001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970304001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:51:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:51:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":154540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:51:47] local.INFO: GPS data processed {"connection_id":154540,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:51:47] local.INFO: Acknowledgment sent {"connection_id":154540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:51:58] local.INFO: TCP Data received {"connection_id":153114,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:51:58] local.INFO: Processing buffer {"connection_id":153114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:51:58] local.INFO: IMEI packet received {"connection_id":153114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":153114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:52:03] local.INFO: TCP Data received {"connection_id":153114,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:52:03] local.INFO: Processing buffer {"connection_id":153114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:52:03] local.INFO: IMEI packet received {"connection_id":153114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":153114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:52:04] local.INFO: TCP Data received {"connection_id":153114,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:52:04] local.INFO: Processing buffer {"connection_id":153114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:52:04] local.INFO: Packet analysis {"connection_id":153114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:52:04] local.INFO: Extracted packet for processing {"connection_id":153114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970816001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786375187000,"timestamp_ms":1786375187000,"timestamp_seconds":1786375187,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422a38"} 
[2026-08-10 20:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970816001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970816001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:52:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970816001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":153114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:52:04] local.INFO: GPS data processed {"connection_id":153114,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:52:04] local.INFO: Acknowledgment sent {"connection_id":153114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:52:27] local.INFO: TCP Data received {"connection_id":154540,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:52:27] local.INFO: Processing buffer {"connection_id":154540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:52:27] local.INFO: Packet analysis {"connection_id":154540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:52:27] local.INFO: Extracted packet for processing {"connection_id":154540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970304001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786375185000,"timestamp_ms":1786375185000,"timestamp_seconds":1786375185,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422268"} 
[2026-08-10 20:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:52: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-08-10 20:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":154540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":154540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":154540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970304001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970304001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:52:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":154540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:52:27] local.INFO: GPS data processed {"connection_id":154540,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:52:27] local.INFO: Acknowledgment sent {"connection_id":154540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:52:35] local.INFO: TCP Data received {"connection_id":153114,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:52:35] local.INFO: Processing buffer {"connection_id":153114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:52:35] local.INFO: Packet analysis {"connection_id":153114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:52:35] local.INFO: Extracted packet for processing {"connection_id":153114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970816001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786375187000,"timestamp_ms":1786375187000,"timestamp_seconds":1786375187,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422a38"} 
[2026-08-10 20:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970816001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970816001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:52:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970816001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":153114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:52:35] local.INFO: GPS data processed {"connection_id":153114,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:52:35] local.INFO: Acknowledgment sent {"connection_id":153114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:52:41] local.INFO: TCP Data received {"connection_id":154541,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:52:41] local.INFO: Processing buffer {"connection_id":154541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:52:41] local.INFO: IMEI packet received {"connection_id":154541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":154541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:52:46] local.INFO: TCP Data received {"connection_id":154541,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:52:46] local.INFO: Processing buffer {"connection_id":154541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:52:46] local.INFO: IMEI packet received {"connection_id":154541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":154541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:52:51] local.INFO: TCP Data received {"connection_id":154541,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:52:51] local.INFO: Processing buffer {"connection_id":154541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:52:51] local.INFO: Packet analysis {"connection_id":154541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:52:51] local.INFO: Extracted packet for processing {"connection_id":154541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970304001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786375185000,"timestamp_ms":1786375185000,"timestamp_seconds":1786375185,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422268"} 
[2026-08-10 20:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:52: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-08-10 20:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970304001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970304001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:52:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":154541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:52:51] local.INFO: GPS data processed {"connection_id":154541,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:52:51] local.INFO: Acknowledgment sent {"connection_id":154541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:53:03] local.INFO: TCP Data received {"connection_id":151798,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:53:03] local.INFO: Processing buffer {"connection_id":151798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:53:03] local.INFO: IMEI packet received {"connection_id":151798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":151798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:53:09] local.INFO: TCP Data received {"connection_id":151798,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:53:09] local.INFO: Processing buffer {"connection_id":151798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:53:09] local.INFO: IMEI packet received {"connection_id":151798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":151798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:53:10] local.INFO: TCP Data received {"connection_id":151798,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:53:10] local.INFO: Processing buffer {"connection_id":151798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:53:10] local.INFO: Packet analysis {"connection_id":151798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:53:10] local.INFO: Extracted packet for processing {"connection_id":151798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20: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-08-10 20:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970816001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786375187000,"timestamp_ms":1786375187000,"timestamp_seconds":1786375187,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422a38"} 
[2026-08-10 20:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:53: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-08-10 20: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-08-10 20:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970816001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970816001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:53:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970816001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":151798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:53:10] local.INFO: GPS data processed {"connection_id":151798,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:53:10] local.INFO: Acknowledgment sent {"connection_id":151798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:53:13] local.INFO: TCP Data received {"connection_id":151798,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:53:13] local.INFO: Processing buffer {"connection_id":151798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:53:13] local.INFO: Packet analysis {"connection_id":151798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:53:13] local.INFO: Extracted packet for processing {"connection_id":151798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:53:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970816001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786375187000,"timestamp_ms":1786375187000,"timestamp_seconds":1786375187,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422a38"} 
[2026-08-10 20:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970816001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970816001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:53:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970816001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":151798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:53:13] local.INFO: GPS data processed {"connection_id":151798,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:53:13] local.INFO: Acknowledgment sent {"connection_id":151798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:53:26] local.INFO: TCP Data received {"connection_id":154541,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:53:26] local.INFO: Processing buffer {"connection_id":154541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:53:26] local.INFO: Packet analysis {"connection_id":154541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:53:26] local.INFO: Extracted packet for processing {"connection_id":154541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:53:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970304001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786375185000,"timestamp_ms":1786375185000,"timestamp_seconds":1786375185,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422268"} 
[2026-08-10 20:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970304001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970304001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:53:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:53:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":154541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:53:26] local.INFO: GPS data processed {"connection_id":154541,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:53:26] local.INFO: Acknowledgment sent {"connection_id":154541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:53:41] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:53:41] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:53:41] local.INFO: IMEI packet received {"connection_id":151799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":151799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:53:46] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:53:46] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:53:46] local.INFO: IMEI packet received {"connection_id":151799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":151799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:53:47] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:53:47] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:53:47] local.INFO: Packet analysis {"connection_id":151799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:53:47] local.INFO: Extracted packet for processing {"connection_id":151799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:53:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970304001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786375185000,"timestamp_ms":1786375185000,"timestamp_seconds":1786375185,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422268"} 
[2026-08-10 20:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:53: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-08-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970304001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970304001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:53:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:53:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":151799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:53:47] local.INFO: GPS data processed {"connection_id":151799,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:53:47] local.INFO: Acknowledgment sent {"connection_id":151799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:53:58] local.INFO: TCP Data received {"connection_id":152194,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:53:58] local.INFO: Processing buffer {"connection_id":152194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:53:58] local.INFO: IMEI packet received {"connection_id":152194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":152194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:54:03] local.INFO: TCP Data received {"connection_id":152194,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:54:03] local.INFO: Processing buffer {"connection_id":152194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:54:03] local.INFO: IMEI packet received {"connection_id":152194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":152194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:54:04] local.INFO: TCP Data received {"connection_id":152194,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:54:04] local.INFO: Processing buffer {"connection_id":152194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:54:04] local.INFO: Packet analysis {"connection_id":152194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:54:04] local.INFO: Extracted packet for processing {"connection_id":152194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970816001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786375187000,"timestamp_ms":1786375187000,"timestamp_seconds":1786375187,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422a38"} 
[2026-08-10 20:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970816001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970816001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:54:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970816001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":152194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:54:04] local.INFO: GPS data processed {"connection_id":152194,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:54:04] local.INFO: Acknowledgment sent {"connection_id":152194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:54:18] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:54:18] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:54:18] local.INFO: Packet analysis {"connection_id":151799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:54:18] local.INFO: Extracted packet for processing {"connection_id":151799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970304001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786375185000,"timestamp_ms":1786375185000,"timestamp_seconds":1786375185,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422268"} 
[2026-08-10 20:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970304001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970304001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:54:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":151799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:54:18] local.INFO: GPS data processed {"connection_id":151799,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:54:18] local.INFO: Acknowledgment sent {"connection_id":151799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:54:35] local.INFO: TCP Data received {"connection_id":152194,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:54:35] local.INFO: Processing buffer {"connection_id":152194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:54:35] local.INFO: Packet analysis {"connection_id":152194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:54:35] local.INFO: Extracted packet for processing {"connection_id":152194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970816001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786375187000,"timestamp_ms":1786375187000,"timestamp_seconds":1786375187,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422a38"} 
[2026-08-10 20:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970816001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970816001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:54:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970816001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":152194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:54:35] local.INFO: GPS data processed {"connection_id":152194,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:54:35] local.INFO: Acknowledgment sent {"connection_id":152194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:54:46] local.INFO: TCP Data received {"connection_id":154542,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:54:46] local.INFO: Processing buffer {"connection_id":154542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:54:46] local.INFO: IMEI packet received {"connection_id":154542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":154542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:54:51] local.INFO: TCP Data received {"connection_id":154542,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:54:51] local.INFO: Processing buffer {"connection_id":154542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:54:51] local.INFO: IMEI packet received {"connection_id":154542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":154542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:54:52] local.INFO: TCP Data received {"connection_id":154542,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:54:52] local.INFO: Processing buffer {"connection_id":154542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:54:52] local.INFO: Packet analysis {"connection_id":154542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:54:52] local.INFO: Extracted packet for processing {"connection_id":154542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970304001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786375185000,"timestamp_ms":1786375185000,"timestamp_seconds":1786375185,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422268"} 
[2026-08-10 20:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970304001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970304001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:54:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":154542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:54:52] local.INFO: GPS data processed {"connection_id":154542,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:54:52] local.INFO: Acknowledgment sent {"connection_id":154542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:54:57] local.INFO: TCP Data received {"connection_id":154542,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:54:57] local.INFO: Processing buffer {"connection_id":154542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422268012d196580071ff0380043014225..."} 
[2026-08-10 20:54:57] local.INFO: Packet analysis {"connection_id":154542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:54:57] local.INFO: Extracted packet for processing {"connection_id":154542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970304001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786375185000,"timestamp_ms":1786375185000,"timestamp_seconds":1786375185,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422268"} 
[2026-08-10 20:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970304001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970304001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:54:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":154542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:54:57] local.INFO: GPS data processed {"connection_id":154542,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:54:57] local.INFO: Acknowledgment sent {"connection_id":154542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:54:58] local.INFO: TCP Data received {"connection_id":151800,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:54:58] local.INFO: Processing buffer {"connection_id":151800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:54:58] local.INFO: IMEI packet received {"connection_id":151800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":151800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:55:03] local.INFO: TCP Data received {"connection_id":151800,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:55:03] local.INFO: Processing buffer {"connection_id":151800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:55:03] local.INFO: IMEI packet received {"connection_id":151800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":151800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:55:04] local.INFO: TCP Data received {"connection_id":151800,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:55:04] local.INFO: Processing buffer {"connection_id":151800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec422a38012d34248006abc1900004007e21..."} 
[2026-08-10 20:55:04] local.INFO: Packet analysis {"connection_id":151800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:55:04] local.INFO: Extracted packet for processing {"connection_id":151800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec42"} 
[2026-08-10 20:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":4,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457311970816001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786375187000,"timestamp_ms":1786375187000,"timestamp_seconds":1786375187,"priority":1,"record_length":96,"hex_timestamp":"0000019fec422a38"} 
[2026-08-10 20:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 20:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457311970816001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457311970816001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:55:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457311970816001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":151800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:55:04] local.INFO: GPS data processed {"connection_id":151800,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:55:04] local.INFO: Acknowledgment sent {"connection_id":151800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:55:35] local.INFO: TCP Data received {"connection_id":151800,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:55:35] local.INFO: Processing buffer {"connection_id":151800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:55:35] local.INFO: Packet analysis {"connection_id":151800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:55:35] local.INFO: Extracted packet for processing {"connection_id":151800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047872001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786375488000,"timestamp_ms":1786375488000,"timestamp_seconds":1786375488,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46c200"} 
[2026-08-10 20:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047872001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047872001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:55:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:55:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047872001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":151800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:55:35] local.INFO: GPS data processed {"connection_id":151800,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:55:35] local.INFO: Acknowledgment sent {"connection_id":151800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:55:41] local.INFO: TCP Data received {"connection_id":153115,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:55:41] local.INFO: Processing buffer {"connection_id":153115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:55:41] local.INFO: IMEI packet received {"connection_id":153115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":153115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:55:46] local.INFO: TCP Data received {"connection_id":153115,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:55:46] local.INFO: Processing buffer {"connection_id":153115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:55:46] local.INFO: IMEI packet received {"connection_id":153115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":153115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:55:47] local.INFO: TCP Data received {"connection_id":153115,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:55:47] local.INFO: Processing buffer {"connection_id":153115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:55:47] local.INFO: Packet analysis {"connection_id":153115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:55:47] local.INFO: Extracted packet for processing {"connection_id":153115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047360001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786375486000,"timestamp_ms":1786375486000,"timestamp_seconds":1786375486,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46ba30"} 
[2026-08-10 20:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047360001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047360001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:55:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:55:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":153115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:55:47] local.INFO: GPS data processed {"connection_id":153115,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:55:47] local.INFO: Acknowledgment sent {"connection_id":153115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:55:58] local.INFO: TCP Data received {"connection_id":153116,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:55:58] local.INFO: Processing buffer {"connection_id":153116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:55:58] local.INFO: IMEI packet received {"connection_id":153116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":153116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:56:03] local.INFO: TCP Data received {"connection_id":153116,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:56:03] local.INFO: Processing buffer {"connection_id":153116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:56:03] local.INFO: IMEI packet received {"connection_id":153116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":153116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:56:04] local.INFO: TCP Data received {"connection_id":153116,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:56:04] local.INFO: Processing buffer {"connection_id":153116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:56:04] local.INFO: Packet analysis {"connection_id":153116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:56:04] local.INFO: Extracted packet for processing {"connection_id":153116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047872001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786375488000,"timestamp_ms":1786375488000,"timestamp_seconds":1786375488,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46c200"} 
[2026-08-10 20:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047872001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047872001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:56:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047872001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":153116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:56:04] local.INFO: GPS data processed {"connection_id":153116,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:56:04] local.INFO: Acknowledgment sent {"connection_id":153116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:56:18] local.INFO: TCP Data received {"connection_id":153115,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:56:18] local.INFO: Processing buffer {"connection_id":153115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:56:18] local.INFO: Packet analysis {"connection_id":153115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:56:18] local.INFO: Extracted packet for processing {"connection_id":153115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047360001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786375486000,"timestamp_ms":1786375486000,"timestamp_seconds":1786375486,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46ba30"} 
[2026-08-10 20:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047360001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047360001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:56:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:56:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":153115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:56:18] local.INFO: GPS data processed {"connection_id":153115,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:56:18] local.INFO: Acknowledgment sent {"connection_id":153115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:56:35] local.INFO: TCP Data received {"connection_id":153116,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:56:35] local.INFO: Processing buffer {"connection_id":153116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:56:35] local.INFO: Packet analysis {"connection_id":153116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:56:35] local.INFO: Extracted packet for processing {"connection_id":153116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047872001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786375488000,"timestamp_ms":1786375488000,"timestamp_seconds":1786375488,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46c200"} 
[2026-08-10 20:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047872001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047872001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:56:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047872001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":153116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:56:35] local.INFO: GPS data processed {"connection_id":153116,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:56:35] local.INFO: Acknowledgment sent {"connection_id":153116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:56:41] local.INFO: TCP Data received {"connection_id":154543,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:56:41] local.INFO: Processing buffer {"connection_id":154543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:56:41] local.INFO: IMEI packet received {"connection_id":154543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":154543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:56:46] local.INFO: TCP Data received {"connection_id":154543,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:56:46] local.INFO: Processing buffer {"connection_id":154543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:56:46] local.INFO: IMEI packet received {"connection_id":154543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":154543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:56:47] local.INFO: TCP Data received {"connection_id":154543,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:56:47] local.INFO: Processing buffer {"connection_id":154543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:56:47] local.INFO: Packet analysis {"connection_id":154543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:56:47] local.INFO: Extracted packet for processing {"connection_id":154543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047360001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786375486000,"timestamp_ms":1786375486000,"timestamp_seconds":1786375486,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46ba30"} 
[2026-08-10 20:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047360001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047360001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:56:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":154543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:56:47] local.INFO: GPS data processed {"connection_id":154543,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:56:47] local.INFO: Acknowledgment sent {"connection_id":154543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:56:58] local.INFO: TCP Data received {"connection_id":153117,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:56:58] local.INFO: Processing buffer {"connection_id":153117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:56:58] local.INFO: IMEI packet received {"connection_id":153117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":153117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:57:03] local.INFO: TCP Data received {"connection_id":153117,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:57:03] local.INFO: Processing buffer {"connection_id":153117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:57:03] local.INFO: IMEI packet received {"connection_id":153117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":153117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:57:18] local.INFO: TCP Data received {"connection_id":154543,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:57:18] local.INFO: Processing buffer {"connection_id":154543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:57:18] local.INFO: Packet analysis {"connection_id":154543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:57:18] local.INFO: Extracted packet for processing {"connection_id":154543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047360001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786375486000,"timestamp_ms":1786375486000,"timestamp_seconds":1786375486,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46ba30"} 
[2026-08-10 20:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047360001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047360001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:57:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:57:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":154543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:57:18] local.INFO: GPS data processed {"connection_id":154543,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:57:18] local.INFO: Acknowledgment sent {"connection_id":154543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:57:42] local.INFO: TCP Data received {"connection_id":153118,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:57:42] local.INFO: Processing buffer {"connection_id":153118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:57:42] local.INFO: IMEI packet received {"connection_id":153118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":153118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:57:46] local.INFO: TCP Data received {"connection_id":153118,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:57:46] local.INFO: Processing buffer {"connection_id":153118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:57:46] local.INFO: IMEI packet received {"connection_id":153118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":153118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:57:47] local.INFO: TCP Data received {"connection_id":153118,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:57:47] local.INFO: Processing buffer {"connection_id":153118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:57:47] local.INFO: Packet analysis {"connection_id":153118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:57:47] local.INFO: Extracted packet for processing {"connection_id":153118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047360001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786375486000,"timestamp_ms":1786375486000,"timestamp_seconds":1786375486,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46ba30"} 
[2026-08-10 20:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047360001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047360001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:57:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":153118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:57:47] local.INFO: GPS data processed {"connection_id":153118,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:57:47] local.INFO: Acknowledgment sent {"connection_id":153118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:58:03] local.INFO: TCP Data received {"connection_id":154544,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:58:03] local.INFO: Processing buffer {"connection_id":154544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:58:03] local.INFO: IMEI packet received {"connection_id":154544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":154544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:58:06] local.INFO: TCP Data received {"connection_id":153117,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:58:06] local.INFO: Processing buffer {"connection_id":153117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:58:06] local.INFO: Packet analysis {"connection_id":153117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:58:06] local.INFO: Extracted packet for processing {"connection_id":153117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047872001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786375488000,"timestamp_ms":1786375488000,"timestamp_seconds":1786375488,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46c200"} 
[2026-08-10 20:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047872001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047872001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:58:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047872001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":153117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:58:06] local.INFO: GPS data processed {"connection_id":153117,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:58:06] local.INFO: Acknowledgment sent {"connection_id":153117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:58:08] local.INFO: TCP Data received {"connection_id":154544,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:58:08] local.INFO: Processing buffer {"connection_id":154544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:58:08] local.INFO: IMEI packet received {"connection_id":154544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":154544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:58:08] local.INFO: TCP Data received {"connection_id":154544,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:58:08] local.INFO: Processing buffer {"connection_id":154544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:58:08] local.INFO: Packet analysis {"connection_id":154544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:58:08] local.INFO: Extracted packet for processing {"connection_id":154544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 20:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047872001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786375488000,"timestamp_ms":1786375488000,"timestamp_seconds":1786375488,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46c200"} 
[2026-08-10 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-08-10 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 20:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:58: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-08-10 20:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047872001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047872001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:58:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047872001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":154544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:58:08] local.INFO: GPS data processed {"connection_id":154544,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:58:08] local.INFO: Acknowledgment sent {"connection_id":154544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:58:13] local.INFO: TCP Data received {"connection_id":154544,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:58:13] local.INFO: Processing buffer {"connection_id":154544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:58:13] local.INFO: Packet analysis {"connection_id":154544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:58:13] local.INFO: Extracted packet for processing {"connection_id":154544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:58:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047872001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786375488000,"timestamp_ms":1786375488000,"timestamp_seconds":1786375488,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46c200"} 
[2026-08-10 20:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047872001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047872001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:58:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:58:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047872001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":154544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:58:13] local.INFO: GPS data processed {"connection_id":154544,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:58:13] local.INFO: Acknowledgment sent {"connection_id":154544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:58:18] local.INFO: TCP Data received {"connection_id":153118,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:58:18] local.INFO: Processing buffer {"connection_id":153118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:58:18] local.INFO: Packet analysis {"connection_id":153118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:58:18] local.INFO: Extracted packet for processing {"connection_id":153118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047360001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786375486000,"timestamp_ms":1786375486000,"timestamp_seconds":1786375486,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46ba30"} 
[2026-08-10 20:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047360001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047360001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:58:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":153118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:58:19] local.INFO: GPS data processed {"connection_id":153118,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:58:19] local.INFO: Acknowledgment sent {"connection_id":153118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:58:41] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:58:41] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:58:41] local.INFO: IMEI packet received {"connection_id":151801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":151801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:58:46] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:58:46] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:58:46] local.INFO: IMEI packet received {"connection_id":151801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":151801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:58:47] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:58:47] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:58:47] local.INFO: Packet analysis {"connection_id":151801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:58:47] local.INFO: Extracted packet for processing {"connection_id":151801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047360001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786375486000,"timestamp_ms":1786375486000,"timestamp_seconds":1786375486,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46ba30"} 
[2026-08-10 20:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047360001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047360001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:58:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:58:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":151801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:58:47] local.INFO: GPS data processed {"connection_id":151801,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:58:47] local.INFO: Acknowledgment sent {"connection_id":151801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:58:58] local.INFO: TCP Data received {"connection_id":151802,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:58:58] local.INFO: Processing buffer {"connection_id":151802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:58:58] local.INFO: IMEI packet received {"connection_id":151802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":151802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:59:03] local.INFO: TCP Data received {"connection_id":151802,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:59:03] local.INFO: Processing buffer {"connection_id":151802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:59:03] local.INFO: IMEI packet received {"connection_id":151802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 20:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":151802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:59:04] local.INFO: TCP Data received {"connection_id":151802,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:59:04] local.INFO: Processing buffer {"connection_id":151802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:59:04] local.INFO: Packet analysis {"connection_id":151802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:59:04] local.INFO: Extracted packet for processing {"connection_id":151802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047872001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786375488000,"timestamp_ms":1786375488000,"timestamp_seconds":1786375488,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46c200"} 
[2026-08-10 20:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047872001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047872001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:59:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047872001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":151802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:59:04] local.INFO: GPS data processed {"connection_id":151802,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:59:04] local.INFO: Acknowledgment sent {"connection_id":151802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:59:18] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:59:18] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:59:18] local.INFO: Packet analysis {"connection_id":151801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:59:18] local.INFO: Extracted packet for processing {"connection_id":151801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047360001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786375486000,"timestamp_ms":1786375486000,"timestamp_seconds":1786375486,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46ba30"} 
[2026-08-10 20:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047360001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047360001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:59:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":151801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:59:18] local.INFO: GPS data processed {"connection_id":151801,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:59:18] local.INFO: Acknowledgment sent {"connection_id":151801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:59:35] local.INFO: TCP Data received {"connection_id":151802,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:59:35] local.INFO: Processing buffer {"connection_id":151802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 20:59:35] local.INFO: Packet analysis {"connection_id":151802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:59:35] local.INFO: Extracted packet for processing {"connection_id":151802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 20:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047872001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 20:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 20:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786375488000,"timestamp_ms":1786375488000,"timestamp_seconds":1786375488,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46c200"} 
[2026-08-10 20:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 20:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 20:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 20:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 20:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047872001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 20:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 20:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 20:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047872001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:59:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 20:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 20:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 20:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047872001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 20:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":151802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:59:35] local.INFO: GPS data processed {"connection_id":151802,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:59:35] local.INFO: Acknowledgment sent {"connection_id":151802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:59:41] local.INFO: TCP Data received {"connection_id":153119,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:59:41] local.INFO: Processing buffer {"connection_id":153119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:59:41] local.INFO: IMEI packet received {"connection_id":153119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 20:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":153119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 20:59:46] local.INFO: TCP Data received {"connection_id":153119,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:59:46] local.INFO: Processing buffer {"connection_id":153119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 20:59:46] local.INFO: IMEI packet received {"connection_id":153119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 20:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":153119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 20:59:47] local.INFO: TCP Data received {"connection_id":153119,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:59:47] local.INFO: Processing buffer {"connection_id":153119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 20:59:47] local.INFO: Packet analysis {"connection_id":153119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:59:47] local.INFO: Extracted packet for processing {"connection_id":153119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 20:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 20:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 20:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047360001,"note":"Value kept but may cause issues"} 
[2026-08-10 20:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 20:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 20:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 20:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786375486000,"timestamp_ms":1786375486000,"timestamp_seconds":1786375486,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46ba30"} 
[2026-08-10 20:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 20:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 20:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 20:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 20:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 20:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 20:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 20:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 20:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 20:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 20:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 20:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047360001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 20:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 20:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 20:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047360001,"description":"Unknown IO ID 0"} 
[2026-08-10 20:59:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 20:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 20:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 20:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 20:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 20:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":153119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 20:59:47] local.INFO: GPS data processed {"connection_id":153119,"processed":1,"errors":0,"total":1} 
[2026-08-10 20:59:47] local.INFO: Acknowledgment sent {"connection_id":153119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 20:59:58] local.INFO: TCP Data received {"connection_id":154545,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:59:58] local.INFO: Processing buffer {"connection_id":154545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 20:59:58] local.INFO: IMEI packet received {"connection_id":154545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 20:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":154545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:00:03] local.INFO: TCP Data received {"connection_id":154545,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:00:03] local.INFO: Processing buffer {"connection_id":154545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:00:03] local.INFO: IMEI packet received {"connection_id":154545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":154545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:00:04] local.INFO: TCP Data received {"connection_id":154545,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 21:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 21:00:04] local.INFO: Processing buffer {"connection_id":154545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46c200012d34248006abc1900001007e26..."} 
[2026-08-10 21:00:04] local.INFO: Packet analysis {"connection_id":154545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 21:00:04] local.INFO: Extracted packet for processing {"connection_id":154545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 21:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047872001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786375488000,"timestamp_ms":1786375488000,"timestamp_seconds":1786375488,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46c200"} 
[2026-08-10 21:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047872001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047872001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:00:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047872001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":154545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:00:04] local.INFO: GPS data processed {"connection_id":154545,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:00:04] local.INFO: Acknowledgment sent {"connection_id":154545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:00:18] local.INFO: TCP Data received {"connection_id":153119,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 21:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 21:00:18] local.INFO: Processing buffer {"connection_id":153119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec46ba30012d196580071ff038003b014226..."} 
[2026-08-10 21:00:18] local.INFO: Packet analysis {"connection_id":153119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 21:00:18] local.INFO: Extracted packet for processing {"connection_id":153119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec46"} 
[2026-08-10 21:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312047360001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786375486000,"timestamp_ms":1786375486000,"timestamp_seconds":1786375486,"priority":1,"record_length":96,"hex_timestamp":"0000019fec46ba30"} 
[2026-08-10 21:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312047360001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312047360001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:00:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312047360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":153119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:00:18] local.INFO: GPS data processed {"connection_id":153119,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:00:18] local.INFO: Acknowledgment sent {"connection_id":153119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:00:35] local.INFO: TCP Data received {"connection_id":154545,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:00:35] local.INFO: Processing buffer {"connection_id":154545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:00:35] local.INFO: Packet analysis {"connection_id":154545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:00:35] local.INFO: Extracted packet for processing {"connection_id":154545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124928001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786375789000,"timestamp_ms":1786375789000,"timestamp_seconds":1786375789,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b59c8"} 
[2026-08-10 21:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124928001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124928001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:00:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124928001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":154545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:00:35] local.INFO: GPS data processed {"connection_id":154545,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:00:35] local.INFO: Acknowledgment sent {"connection_id":154545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:00:46] local.INFO: TCP Data received {"connection_id":151803,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:00:46] local.INFO: Processing buffer {"connection_id":151803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:00:46] local.INFO: IMEI packet received {"connection_id":151803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":151803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:00:51] local.INFO: TCP Data received {"connection_id":151803,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:00:51] local.INFO: Processing buffer {"connection_id":151803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:00:51] local.INFO: IMEI packet received {"connection_id":151803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":151803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:00:52] local.INFO: TCP Data received {"connection_id":151803,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:00:52] local.INFO: Processing buffer {"connection_id":151803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:00:52] local.INFO: Packet analysis {"connection_id":151803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:00:52] local.INFO: Extracted packet for processing {"connection_id":151803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:00:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124416001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786375787000,"timestamp_ms":1786375787000,"timestamp_seconds":1786375787,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b51f8"} 
[2026-08-10 21:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124416001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124416001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:00:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:00:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":151803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:00:52] local.INFO: GPS data processed {"connection_id":151803,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:00:52] local.INFO: Acknowledgment sent {"connection_id":151803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:00:58] local.INFO: TCP Data received {"connection_id":153120,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:00:58] local.INFO: Processing buffer {"connection_id":153120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:00:58] local.INFO: IMEI packet received {"connection_id":153120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":153120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:01:03] local.INFO: TCP Data received {"connection_id":153120,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:01:03] local.INFO: Processing buffer {"connection_id":153120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:01:03] local.INFO: IMEI packet received {"connection_id":153120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":153120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:01:04] local.INFO: TCP Data received {"connection_id":153120,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:01:04] local.INFO: Processing buffer {"connection_id":153120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:01:04] local.INFO: Packet analysis {"connection_id":153120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:01:04] local.INFO: Extracted packet for processing {"connection_id":153120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124928001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786375789000,"timestamp_ms":1786375789000,"timestamp_seconds":1786375789,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b59c8"} 
[2026-08-10 21:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124928001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124928001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:01:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124928001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":153120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:01:04] local.INFO: GPS data processed {"connection_id":153120,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:01:04] local.INFO: Acknowledgment sent {"connection_id":153120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:01:23] local.INFO: TCP Data received {"connection_id":151803,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:01:23] local.INFO: Processing buffer {"connection_id":151803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:01:23] local.INFO: Packet analysis {"connection_id":151803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:01:23] local.INFO: Extracted packet for processing {"connection_id":151803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124416001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786375787000,"timestamp_ms":1786375787000,"timestamp_seconds":1786375787,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b51f8"} 
[2026-08-10 21:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124416001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124416001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:01:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":151803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:01:23] local.INFO: GPS data processed {"connection_id":151803,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:01:23] local.INFO: Acknowledgment sent {"connection_id":151803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:01:35] local.INFO: TCP Data received {"connection_id":153120,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:01:35] local.INFO: Processing buffer {"connection_id":153120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:01:35] local.INFO: Packet analysis {"connection_id":153120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:01:35] local.INFO: Extracted packet for processing {"connection_id":153120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124928001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786375789000,"timestamp_ms":1786375789000,"timestamp_seconds":1786375789,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b59c8"} 
[2026-08-10 21:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124928001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124928001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:01:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124928001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":153120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:01:35] local.INFO: GPS data processed {"connection_id":153120,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:01:35] local.INFO: Acknowledgment sent {"connection_id":153120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:01:41] local.INFO: TCP Data received {"connection_id":154546,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:01:41] local.INFO: Processing buffer {"connection_id":154546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:01:41] local.INFO: IMEI packet received {"connection_id":154546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":154546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:01:46] local.INFO: TCP Data received {"connection_id":154546,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:01:46] local.INFO: Processing buffer {"connection_id":154546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:01:46] local.INFO: IMEI packet received {"connection_id":154546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":154546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:01:47] local.INFO: TCP Data received {"connection_id":154546,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:01:47] local.INFO: Processing buffer {"connection_id":154546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:01:47] local.INFO: Packet analysis {"connection_id":154546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:01:47] local.INFO: Extracted packet for processing {"connection_id":154546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124416001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786375787000,"timestamp_ms":1786375787000,"timestamp_seconds":1786375787,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b51f8"} 
[2026-08-10 21:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:01: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-08-10 21:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124416001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124416001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:01:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":154546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:01:47] local.INFO: GPS data processed {"connection_id":154546,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:01:47] local.INFO: Acknowledgment sent {"connection_id":154546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:02:03] local.INFO: TCP Data received {"connection_id":153121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:02:03] local.INFO: Processing buffer {"connection_id":153121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:02:03] local.INFO: IMEI packet received {"connection_id":153121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":153121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:02:08] local.INFO: TCP Data received {"connection_id":153121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:02:08] local.INFO: Processing buffer {"connection_id":153121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:02:08] local.INFO: IMEI packet received {"connection_id":153121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":153121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:02:18] local.INFO: TCP Data received {"connection_id":154546,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:02:18] local.INFO: Processing buffer {"connection_id":154546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:02:18] local.INFO: Packet analysis {"connection_id":154546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:02:18] local.INFO: Extracted packet for processing {"connection_id":154546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124416001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786375787000,"timestamp_ms":1786375787000,"timestamp_seconds":1786375787,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b51f8"} 
[2026-08-10 21:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124416001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124416001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:02:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":154546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:02:18] local.INFO: GPS data processed {"connection_id":154546,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:02:18] local.INFO: Acknowledgment sent {"connection_id":154546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:02:20] local.INFO: TCP Data received {"connection_id":153121,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:02:20] local.INFO: Processing buffer {"connection_id":153121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:02:20] local.INFO: Packet analysis {"connection_id":153121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:02:20] local.INFO: Extracted packet for processing {"connection_id":153121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124928001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786375789000,"timestamp_ms":1786375789000,"timestamp_seconds":1786375789,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b59c8"} 
[2026-08-10 21:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:02: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-08-10 21:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124928001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124928001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:02:20] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124928001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":153121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:02:20] local.INFO: GPS data processed {"connection_id":153121,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:02:20] local.INFO: Acknowledgment sent {"connection_id":153121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:02:20] local.INFO: TCP Data received {"connection_id":153121,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:02:20] local.INFO: Processing buffer {"connection_id":153121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:02:20] local.INFO: Packet analysis {"connection_id":153121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:02:20] local.INFO: Extracted packet for processing {"connection_id":153121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124928001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786375789000,"timestamp_ms":1786375789000,"timestamp_seconds":1786375789,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b59c8"} 
[2026-08-10 21:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:02: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-08-10 21:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124928001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124928001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:02:20] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124928001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":153121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:02:20] local.INFO: GPS data processed {"connection_id":153121,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:02:20] local.INFO: Acknowledgment sent {"connection_id":153121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:02:41] local.INFO: TCP Data received {"connection_id":152195,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:02:41] local.INFO: Processing buffer {"connection_id":152195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:02:41] local.INFO: IMEI packet received {"connection_id":152195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":152195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:02:46] local.INFO: TCP Data received {"connection_id":152195,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:02:46] local.INFO: Processing buffer {"connection_id":152195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:02:46] local.INFO: IMEI packet received {"connection_id":152195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":152195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:02:47] local.INFO: TCP Data received {"connection_id":152195,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:02:47] local.INFO: Processing buffer {"connection_id":152195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:02:47] local.INFO: Packet analysis {"connection_id":152195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:02:47] local.INFO: Extracted packet for processing {"connection_id":152195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124416001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786375787000,"timestamp_ms":1786375787000,"timestamp_seconds":1786375787,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b51f8"} 
[2026-08-10 21:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:02: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-08-10 21:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124416001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124416001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:02:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:02:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":152195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:02:47] local.INFO: GPS data processed {"connection_id":152195,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:02:47] local.INFO: Acknowledgment sent {"connection_id":152195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:02:58] local.INFO: TCP Data received {"connection_id":153122,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:02:58] local.INFO: Processing buffer {"connection_id":153122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:02:58] local.INFO: IMEI packet received {"connection_id":153122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":153122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:03:03] local.INFO: TCP Data received {"connection_id":153122,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:03:03] local.INFO: Processing buffer {"connection_id":153122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:03:03] local.INFO: IMEI packet received {"connection_id":153122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":153122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:03:04] local.INFO: TCP Data received {"connection_id":153122,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:03:04] local.INFO: Processing buffer {"connection_id":153122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:03:04] local.INFO: Packet analysis {"connection_id":153122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:03:04] local.INFO: Extracted packet for processing {"connection_id":153122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124928001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786375789000,"timestamp_ms":1786375789000,"timestamp_seconds":1786375789,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b59c8"} 
[2026-08-10 21:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124928001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124928001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:03:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124928001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":153122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:03:04] local.INFO: GPS data processed {"connection_id":153122,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:03:04] local.INFO: Acknowledgment sent {"connection_id":153122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:03:18] local.INFO: TCP Data received {"connection_id":152195,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:03:18] local.INFO: Processing buffer {"connection_id":152195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:03:18] local.INFO: Packet analysis {"connection_id":152195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:03:18] local.INFO: Extracted packet for processing {"connection_id":152195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124416001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786375787000,"timestamp_ms":1786375787000,"timestamp_seconds":1786375787,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b51f8"} 
[2026-08-10 21:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124416001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124416001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:03:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":152195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:03:18] local.INFO: GPS data processed {"connection_id":152195,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:03:18] local.INFO: Acknowledgment sent {"connection_id":152195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:03:35] local.INFO: TCP Data received {"connection_id":153122,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:03:35] local.INFO: Processing buffer {"connection_id":153122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:03:35] local.INFO: Packet analysis {"connection_id":153122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:03:35] local.INFO: Extracted packet for processing {"connection_id":153122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124928001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786375789000,"timestamp_ms":1786375789000,"timestamp_seconds":1786375789,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b59c8"} 
[2026-08-10 21:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124928001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124928001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:03:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124928001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":153122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:03:35] local.INFO: GPS data processed {"connection_id":153122,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:03:35] local.INFO: Acknowledgment sent {"connection_id":153122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:03:41] local.INFO: TCP Data received {"connection_id":152196,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:03:41] local.INFO: Processing buffer {"connection_id":152196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:03:41] local.INFO: IMEI packet received {"connection_id":152196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":152196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:03:46] local.INFO: TCP Data received {"connection_id":152196,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:03:46] local.INFO: Processing buffer {"connection_id":152196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:03:46] local.INFO: IMEI packet received {"connection_id":152196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":152196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:03:47] local.INFO: TCP Data received {"connection_id":152196,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:03:47] local.INFO: Processing buffer {"connection_id":152196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:03:47] local.INFO: Packet analysis {"connection_id":152196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:03:47] local.INFO: Extracted packet for processing {"connection_id":152196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124416001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786375787000,"timestamp_ms":1786375787000,"timestamp_seconds":1786375787,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b51f8"} 
[2026-08-10 21:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:03: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-08-10 21:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124416001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124416001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:03:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:03:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":152196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:03:47] local.INFO: GPS data processed {"connection_id":152196,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:03:47] local.INFO: Acknowledgment sent {"connection_id":152196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:03:58] local.INFO: TCP Data received {"connection_id":154547,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:03:58] local.INFO: Processing buffer {"connection_id":154547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:03:58] local.INFO: IMEI packet received {"connection_id":154547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":154547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:04:03] local.INFO: TCP Data received {"connection_id":154547,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:04:03] local.INFO: Processing buffer {"connection_id":154547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:04:03] local.INFO: IMEI packet received {"connection_id":154547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":154547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:04:04] local.INFO: TCP Data received {"connection_id":154547,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:04:04] local.INFO: Processing buffer {"connection_id":154547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:04:04] local.INFO: Packet analysis {"connection_id":154547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:04:04] local.INFO: Extracted packet for processing {"connection_id":154547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124928001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786375789000,"timestamp_ms":1786375789000,"timestamp_seconds":1786375789,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b59c8"} 
[2026-08-10 21:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124928001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124928001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:04:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124928001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":154547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:04:04] local.INFO: GPS data processed {"connection_id":154547,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:04:04] local.INFO: Acknowledgment sent {"connection_id":154547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:04:18] local.INFO: TCP Data received {"connection_id":152196,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:04:18] local.INFO: Processing buffer {"connection_id":152196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:04:18] local.INFO: Packet analysis {"connection_id":152196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:04:18] local.INFO: Extracted packet for processing {"connection_id":152196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124416001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786375787000,"timestamp_ms":1786375787000,"timestamp_seconds":1786375787,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b51f8"} 
[2026-08-10 21:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124416001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124416001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:04:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":152196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:04:18] local.INFO: GPS data processed {"connection_id":152196,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:04:18] local.INFO: Acknowledgment sent {"connection_id":152196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:04:35] local.INFO: TCP Data received {"connection_id":154547,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:04:35] local.INFO: Processing buffer {"connection_id":154547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:04:35] local.INFO: Packet analysis {"connection_id":154547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:04:35] local.INFO: Extracted packet for processing {"connection_id":154547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124928001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786375789000,"timestamp_ms":1786375789000,"timestamp_seconds":1786375789,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b59c8"} 
[2026-08-10 21:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124928001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124928001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:04:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124928001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":154547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:04:35] local.INFO: GPS data processed {"connection_id":154547,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:04:35] local.INFO: Acknowledgment sent {"connection_id":154547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:04:46] local.INFO: TCP Data received {"connection_id":154548,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:04:46] local.INFO: Processing buffer {"connection_id":154548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:04:46] local.INFO: IMEI packet received {"connection_id":154548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":154548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:04:51] local.INFO: TCP Data received {"connection_id":154548,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:04:51] local.INFO: Processing buffer {"connection_id":154548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:04:51] local.INFO: IMEI packet received {"connection_id":154548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":154548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:04:52] local.INFO: TCP Data received {"connection_id":154548,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:04:52] local.INFO: Processing buffer {"connection_id":154548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:04:52] local.INFO: Packet analysis {"connection_id":154548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:04:52] local.INFO: Extracted packet for processing {"connection_id":154548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:04:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124416001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786375787000,"timestamp_ms":1786375787000,"timestamp_seconds":1786375787,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b51f8"} 
[2026-08-10 21:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124416001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124416001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:04:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:04:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":154548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:04:52] local.INFO: GPS data processed {"connection_id":154548,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:04:52] local.INFO: Acknowledgment sent {"connection_id":154548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:04:57] local.INFO: TCP Data received {"connection_id":154548,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:04:57] local.INFO: Processing buffer {"connection_id":154548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b51f8012d196580071ff038003b014226..."} 
[2026-08-10 21:04:57] local.INFO: Packet analysis {"connection_id":154548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:04:57] local.INFO: Extracted packet for processing {"connection_id":154548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124416001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786375787000,"timestamp_ms":1786375787000,"timestamp_seconds":1786375787,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b51f8"} 
[2026-08-10 21:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124416001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124416001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:04:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":154548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:04:57] local.INFO: GPS data processed {"connection_id":154548,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:04:57] local.INFO: Acknowledgment sent {"connection_id":154548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:04:58] local.INFO: TCP Data received {"connection_id":151804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:04:58] local.INFO: Processing buffer {"connection_id":151804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:04:58] local.INFO: IMEI packet received {"connection_id":151804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":151804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:05:03] local.INFO: TCP Data received {"connection_id":151804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:05:03] local.INFO: Processing buffer {"connection_id":151804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:05:03] local.INFO: IMEI packet received {"connection_id":151804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":151804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:05:03] local.INFO: TCP Data received {"connection_id":151804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:05:03] local.INFO: Processing buffer {"connection_id":151804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4b59c8012d34248006abc1900001007e25..."} 
[2026-08-10 21:05:03] local.INFO: Packet analysis {"connection_id":151804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:05:03] local.INFO: Extracted packet for processing {"connection_id":151804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4b"} 
[2026-08-10 21:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312124928001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786375789000,"timestamp_ms":1786375789000,"timestamp_seconds":1786375789,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4b59c8"} 
[2026-08-10 21:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312124928001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312124928001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:05:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312124928001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":151804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:05:03] local.INFO: GPS data processed {"connection_id":151804,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:05:03] local.INFO: Acknowledgment sent {"connection_id":151804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:05:34] local.INFO: TCP Data received {"connection_id":151804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:05:34] local.INFO: Processing buffer {"connection_id":151804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:05:34] local.INFO: Packet analysis {"connection_id":151804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:05:34] local.INFO: Extracted packet for processing {"connection_id":151804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:05:34] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201984001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786376090000,"timestamp_ms":1786376090000,"timestamp_seconds":1786376090,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4ff190"} 
[2026-08-10 21:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:05: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-08-10 21:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201984001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201984001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:05:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:05:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201984001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":151804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:05:34] local.INFO: GPS data processed {"connection_id":151804,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:05:34] local.INFO: Acknowledgment sent {"connection_id":151804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:05:41] local.INFO: TCP Data received {"connection_id":152197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:05:41] local.INFO: Processing buffer {"connection_id":152197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:05:41] local.INFO: IMEI packet received {"connection_id":152197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":152197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:05:46] local.INFO: TCP Data received {"connection_id":152197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:05:46] local.INFO: Processing buffer {"connection_id":152197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:05:46] local.INFO: IMEI packet received {"connection_id":152197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":152197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:05:47] local.INFO: TCP Data received {"connection_id":152197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:05:47] local.INFO: Processing buffer {"connection_id":152197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:05:47] local.INFO: Packet analysis {"connection_id":152197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:05:47] local.INFO: Extracted packet for processing {"connection_id":152197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201472001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376088000,"timestamp_ms":1786376088000,"timestamp_seconds":1786376088,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4fe9c0"} 
[2026-08-10 21:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201472001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201472001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:05:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:05:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":152197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:05:47] local.INFO: GPS data processed {"connection_id":152197,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:05:47] local.INFO: Acknowledgment sent {"connection_id":152197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:05:57] local.INFO: TCP Data received {"connection_id":153123,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:05:57] local.INFO: Processing buffer {"connection_id":153123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:05:57] local.INFO: IMEI packet received {"connection_id":153123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":153123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:06:03] local.INFO: TCP Data received {"connection_id":153123,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:06:03] local.INFO: Processing buffer {"connection_id":153123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:06:03] local.INFO: IMEI packet received {"connection_id":153123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":153123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:06:04] local.INFO: TCP Data received {"connection_id":153123,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:06:04] local.INFO: Processing buffer {"connection_id":153123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:06:04] local.INFO: Packet analysis {"connection_id":153123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:06:04] local.INFO: Extracted packet for processing {"connection_id":153123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201984001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786376090000,"timestamp_ms":1786376090000,"timestamp_seconds":1786376090,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4ff190"} 
[2026-08-10 21:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201984001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201984001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:06:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201984001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":153123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:06:04] local.INFO: GPS data processed {"connection_id":153123,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:06:04] local.INFO: Acknowledgment sent {"connection_id":153123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:06:18] local.INFO: TCP Data received {"connection_id":152197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:06:18] local.INFO: Processing buffer {"connection_id":152197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:06:18] local.INFO: Packet analysis {"connection_id":152197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:06:18] local.INFO: Extracted packet for processing {"connection_id":152197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201472001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376088000,"timestamp_ms":1786376088000,"timestamp_seconds":1786376088,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4fe9c0"} 
[2026-08-10 21:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201472001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201472001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:06:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:06:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":152197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:06:18] local.INFO: GPS data processed {"connection_id":152197,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:06:18] local.INFO: Acknowledgment sent {"connection_id":152197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:06:35] local.INFO: TCP Data received {"connection_id":153123,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:06:35] local.INFO: Processing buffer {"connection_id":153123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:06:35] local.INFO: Packet analysis {"connection_id":153123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:06:35] local.INFO: Extracted packet for processing {"connection_id":153123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201984001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786376090000,"timestamp_ms":1786376090000,"timestamp_seconds":1786376090,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4ff190"} 
[2026-08-10 21:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201984001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201984001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:06:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201984001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":153123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:06:35] local.INFO: GPS data processed {"connection_id":153123,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:06:35] local.INFO: Acknowledgment sent {"connection_id":153123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:06:41] local.INFO: TCP Data received {"connection_id":154549,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:06:41] local.INFO: Processing buffer {"connection_id":154549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:06:41] local.INFO: IMEI packet received {"connection_id":154549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":154549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:06:46] local.INFO: TCP Data received {"connection_id":154549,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:06:46] local.INFO: Processing buffer {"connection_id":154549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:06:46] local.INFO: IMEI packet received {"connection_id":154549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":154549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:06:47] local.INFO: TCP Data received {"connection_id":154549,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:06:47] local.INFO: Processing buffer {"connection_id":154549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:06:47] local.INFO: Packet analysis {"connection_id":154549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:06:47] local.INFO: Extracted packet for processing {"connection_id":154549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201472001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21: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-08-10 21:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376088000,"timestamp_ms":1786376088000,"timestamp_seconds":1786376088,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4fe9c0"} 
[2026-08-10 21:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201472001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201472001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:06:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":154549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:06:47] local.INFO: GPS data processed {"connection_id":154549,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:06:47] local.INFO: Acknowledgment sent {"connection_id":154549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:06:58] local.INFO: TCP Data received {"connection_id":151805,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:06:58] local.INFO: Processing buffer {"connection_id":151805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:06:58] local.INFO: IMEI packet received {"connection_id":151805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":151805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:07:03] local.INFO: TCP Data received {"connection_id":151805,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:07:03] local.INFO: Processing buffer {"connection_id":151805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:07:03] local.INFO: IMEI packet received {"connection_id":151805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":151805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:07:04] local.INFO: TCP Data received {"connection_id":151805,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:07:04] local.INFO: Processing buffer {"connection_id":151805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:07:04] local.INFO: Packet analysis {"connection_id":151805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:07:04] local.INFO: Extracted packet for processing {"connection_id":151805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201984001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786376090000,"timestamp_ms":1786376090000,"timestamp_seconds":1786376090,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4ff190"} 
[2026-08-10 21:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201984001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201984001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:07:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:07:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201984001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":151805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:07:04] local.INFO: GPS data processed {"connection_id":151805,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:07:04] local.INFO: Acknowledgment sent {"connection_id":151805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:07:18] local.INFO: TCP Data received {"connection_id":154549,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:07:18] local.INFO: Processing buffer {"connection_id":154549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:07:18] local.INFO: Packet analysis {"connection_id":154549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:07:18] local.INFO: Extracted packet for processing {"connection_id":154549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201472001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376088000,"timestamp_ms":1786376088000,"timestamp_seconds":1786376088,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4fe9c0"} 
[2026-08-10 21:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201472001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201472001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:07:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":154549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:07:18] local.INFO: GPS data processed {"connection_id":154549,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:07:18] local.INFO: Acknowledgment sent {"connection_id":154549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:07:35] local.INFO: TCP Data received {"connection_id":151805,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:07:35] local.INFO: Processing buffer {"connection_id":151805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:07:35] local.INFO: Packet analysis {"connection_id":151805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:07:35] local.INFO: Extracted packet for processing {"connection_id":151805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201984001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786376090000,"timestamp_ms":1786376090000,"timestamp_seconds":1786376090,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4ff190"} 
[2026-08-10 21:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201984001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201984001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:07:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201984001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":151805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:07:35] local.INFO: GPS data processed {"connection_id":151805,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:07:35] local.INFO: Acknowledgment sent {"connection_id":151805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:07:42] local.INFO: TCP Data received {"connection_id":153124,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:07:42] local.INFO: Processing buffer {"connection_id":153124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:07:42] local.INFO: IMEI packet received {"connection_id":153124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":153124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:07:46] local.INFO: TCP Data received {"connection_id":153124,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:07:46] local.INFO: Processing buffer {"connection_id":153124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:07:46] local.INFO: IMEI packet received {"connection_id":153124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":153124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:07:47] local.INFO: TCP Data received {"connection_id":153124,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:07:47] local.INFO: Processing buffer {"connection_id":153124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:07:47] local.INFO: Packet analysis {"connection_id":153124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:07:47] local.INFO: Extracted packet for processing {"connection_id":153124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201472001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376088000,"timestamp_ms":1786376088000,"timestamp_seconds":1786376088,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4fe9c0"} 
[2026-08-10 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-08-10 21:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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-08-10 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-08-10 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-08-10 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-08-10 21:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201472001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201472001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:07:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:07:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":153124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:07:47] local.INFO: GPS data processed {"connection_id":153124,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:07:47] local.INFO: Acknowledgment sent {"connection_id":153124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:08:03] local.INFO: TCP Data received {"connection_id":152198,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:08:03] local.INFO: Processing buffer {"connection_id":152198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:08:03] local.INFO: IMEI packet received {"connection_id":152198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":152198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:08:08] local.INFO: TCP Data received {"connection_id":152198,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:08:08] local.INFO: Processing buffer {"connection_id":152198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:08:08] local.INFO: IMEI packet received {"connection_id":152198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":152198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:08:09] local.INFO: TCP Data received {"connection_id":152198,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:08:09] local.INFO: Processing buffer {"connection_id":152198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:08:09] local.INFO: Packet analysis {"connection_id":152198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:08:09] local.INFO: Extracted packet for processing {"connection_id":152198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201984001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786376090000,"timestamp_ms":1786376090000,"timestamp_seconds":1786376090,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4ff190"} 
[2026-08-10 21:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201984001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201984001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:08:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201984001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":152198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:08:09] local.INFO: GPS data processed {"connection_id":152198,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:08:09] local.INFO: Acknowledgment sent {"connection_id":152198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:08:13] local.INFO: TCP Data received {"connection_id":152198,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:08:13] local.INFO: Processing buffer {"connection_id":152198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:08:13] local.INFO: Packet analysis {"connection_id":152198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:08:13] local.INFO: Extracted packet for processing {"connection_id":152198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:08:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201984001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786376090000,"timestamp_ms":1786376090000,"timestamp_seconds":1786376090,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4ff190"} 
[2026-08-10 21:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201984001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201984001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:08:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:08:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201984001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":152198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:08:13] local.INFO: GPS data processed {"connection_id":152198,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:08:13] local.INFO: Acknowledgment sent {"connection_id":152198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:08:18] local.INFO: TCP Data received {"connection_id":152198,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:08:18] local.INFO: Processing buffer {"connection_id":152198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:08:18] local.INFO: Packet analysis {"connection_id":152198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:08:18] local.INFO: Extracted packet for processing {"connection_id":152198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201984001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376090000,"timestamp_ms":1786376090000,"timestamp_seconds":1786376090,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4ff190"} 
[2026-08-10 21:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201984001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201984001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:08:18] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201984001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":152198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:08:18] local.INFO: GPS data processed {"connection_id":152198,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:08:18] local.INFO: Acknowledgment sent {"connection_id":152198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:08:18] local.INFO: TCP Data received {"connection_id":153124,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:08:18] local.INFO: Processing buffer {"connection_id":153124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:08:18] local.INFO: Packet analysis {"connection_id":153124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:08:18] local.INFO: Extracted packet for processing {"connection_id":153124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:08:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201472001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376088000,"timestamp_ms":1786376088000,"timestamp_seconds":1786376088,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4fe9c0"} 
[2026-08-10 21:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201472001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201472001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:08:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:08:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":153124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:08:19] local.INFO: GPS data processed {"connection_id":153124,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:08:19] local.INFO: Acknowledgment sent {"connection_id":153124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:08:41] local.INFO: TCP Data received {"connection_id":154550,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:08:41] local.INFO: Processing buffer {"connection_id":154550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:08:41] local.INFO: IMEI packet received {"connection_id":154550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":154550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:08:46] local.INFO: TCP Data received {"connection_id":154550,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:08:46] local.INFO: Processing buffer {"connection_id":154550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:08:46] local.INFO: IMEI packet received {"connection_id":154550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":154550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:08:47] local.INFO: TCP Data received {"connection_id":154550,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:08:47] local.INFO: Processing buffer {"connection_id":154550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:08:47] local.INFO: Packet analysis {"connection_id":154550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:08:47] local.INFO: Extracted packet for processing {"connection_id":154550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201472001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376088000,"timestamp_ms":1786376088000,"timestamp_seconds":1786376088,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4fe9c0"} 
[2026-08-10 21:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201472001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201472001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:08:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":154550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:08:47] local.INFO: GPS data processed {"connection_id":154550,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:08:47] local.INFO: Acknowledgment sent {"connection_id":154550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:08:57] local.INFO: TCP Data received {"connection_id":154551,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:08:57] local.INFO: Processing buffer {"connection_id":154551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:08:57] local.INFO: IMEI packet received {"connection_id":154551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":154551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:09:03] local.INFO: TCP Data received {"connection_id":154551,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:09:03] local.INFO: Processing buffer {"connection_id":154551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:09:03] local.INFO: IMEI packet received {"connection_id":154551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":154551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:09:04] local.INFO: TCP Data received {"connection_id":154551,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:09:04] local.INFO: Processing buffer {"connection_id":154551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:09:04] local.INFO: Packet analysis {"connection_id":154551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:09:04] local.INFO: Extracted packet for processing {"connection_id":154551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201984001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786376090000,"timestamp_ms":1786376090000,"timestamp_seconds":1786376090,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4ff190"} 
[2026-08-10 21:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201984001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201984001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:09:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201984001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":154551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:09:04] local.INFO: GPS data processed {"connection_id":154551,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:09:04] local.INFO: Acknowledgment sent {"connection_id":154551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:09:18] local.INFO: TCP Data received {"connection_id":154550,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:09:18] local.INFO: Processing buffer {"connection_id":154550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:09:18] local.INFO: Packet analysis {"connection_id":154550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:09:18] local.INFO: Extracted packet for processing {"connection_id":154550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201472001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376088000,"timestamp_ms":1786376088000,"timestamp_seconds":1786376088,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4fe9c0"} 
[2026-08-10 21:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201472001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201472001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:09:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":154550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:09:18] local.INFO: GPS data processed {"connection_id":154550,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:09:18] local.INFO: Acknowledgment sent {"connection_id":154550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:09:35] local.INFO: TCP Data received {"connection_id":154551,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:09:35] local.INFO: Processing buffer {"connection_id":154551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:09:35] local.INFO: Packet analysis {"connection_id":154551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:09:35] local.INFO: Extracted packet for processing {"connection_id":154551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201984001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786376090000,"timestamp_ms":1786376090000,"timestamp_seconds":1786376090,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4ff190"} 
[2026-08-10 21:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201984001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201984001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:09:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201984001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":154551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:09:35] local.INFO: GPS data processed {"connection_id":154551,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:09:35] local.INFO: Acknowledgment sent {"connection_id":154551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:09:41] local.INFO: TCP Data received {"connection_id":151806,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:09:41] local.INFO: Processing buffer {"connection_id":151806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:09:41] local.INFO: IMEI packet received {"connection_id":151806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":151806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:09:46] local.INFO: TCP Data received {"connection_id":151806,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:09:46] local.INFO: Processing buffer {"connection_id":151806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:09:46] local.INFO: IMEI packet received {"connection_id":151806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":151806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:09:47] local.INFO: TCP Data received {"connection_id":151806,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:09:47] local.INFO: Processing buffer {"connection_id":151806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:09:47] local.INFO: Packet analysis {"connection_id":151806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:09:47] local.INFO: Extracted packet for processing {"connection_id":151806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201472001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376088000,"timestamp_ms":1786376088000,"timestamp_seconds":1786376088,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4fe9c0"} 
[2026-08-10 21:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201472001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201472001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:09:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":151806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:09:47] local.INFO: GPS data processed {"connection_id":151806,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:09:47] local.INFO: Acknowledgment sent {"connection_id":151806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:09:58] local.INFO: TCP Data received {"connection_id":153125,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:09:58] local.INFO: Processing buffer {"connection_id":153125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:09:58] local.INFO: IMEI packet received {"connection_id":153125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":153125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:10:03] local.INFO: TCP Data received {"connection_id":153125,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:10:03] local.INFO: Processing buffer {"connection_id":153125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:10:03] local.INFO: IMEI packet received {"connection_id":153125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":153125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:10:04] local.INFO: TCP Data received {"connection_id":153125,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:10:04] local.INFO: Processing buffer {"connection_id":153125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4ff190012d34248006abc1900001007e22..."} 
[2026-08-10 21:10:04] local.INFO: Packet analysis {"connection_id":153125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:10:04] local.INFO: Extracted packet for processing {"connection_id":153125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201984001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786376090000,"timestamp_ms":1786376090000,"timestamp_seconds":1786376090,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4ff190"} 
[2026-08-10 21:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201984001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201984001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:10:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201984001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":153125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:10:04] local.INFO: GPS data processed {"connection_id":153125,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:10:04] local.INFO: Acknowledgment sent {"connection_id":153125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:10:18] local.INFO: TCP Data received {"connection_id":151806,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:10:18] local.INFO: Processing buffer {"connection_id":151806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec4fe9c0012d196580071ff038003b014227..."} 
[2026-08-10 21:10:18] local.INFO: Packet analysis {"connection_id":151806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:10:18] local.INFO: Extracted packet for processing {"connection_id":151806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec4f"} 
[2026-08-10 21:10:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312201472001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376088000,"timestamp_ms":1786376088000,"timestamp_seconds":1786376088,"priority":1,"record_length":96,"hex_timestamp":"0000019fec4fe9c0"} 
[2026-08-10 21:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312201472001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312201472001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:10:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:10:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312201472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":151806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:10:18] local.INFO: GPS data processed {"connection_id":151806,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:10:18] local.INFO: Acknowledgment sent {"connection_id":151806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:10:34] local.INFO: TCP Data received {"connection_id":153125,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:10:34] local.INFO: Processing buffer {"connection_id":153125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:10:34] local.INFO: Packet analysis {"connection_id":153125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:10:34] local.INFO: Extracted packet for processing {"connection_id":153125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312279040001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786376391000,"timestamp_ms":1786376391000,"timestamp_seconds":1786376391,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548958"} 
[2026-08-10 21:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 21:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312279040001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312279040001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:10:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312279040001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":153125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:10:35] local.INFO: GPS data processed {"connection_id":153125,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:10:35] local.INFO: Acknowledgment sent {"connection_id":153125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:10:46] local.INFO: TCP Data received {"connection_id":154552,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:10:46] local.INFO: Processing buffer {"connection_id":154552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:10:46] local.INFO: IMEI packet received {"connection_id":154552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":154552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:10:51] local.INFO: TCP Data received {"connection_id":154552,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:10:51] local.INFO: Processing buffer {"connection_id":154552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:10:51] local.INFO: IMEI packet received {"connection_id":154552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":154552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:10:52] local.INFO: TCP Data received {"connection_id":154552,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:10:52] local.INFO: Processing buffer {"connection_id":154552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:10:52] local.INFO: Packet analysis {"connection_id":154552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:10:52] local.INFO: Extracted packet for processing {"connection_id":154552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:10:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312278528001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786376389000,"timestamp_ms":1786376389000,"timestamp_seconds":1786376389,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548188"} 
[2026-08-10 21:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312278528001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312278528001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:10:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:10:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312278528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":154552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:10:52] local.INFO: GPS data processed {"connection_id":154552,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:10:52] local.INFO: Acknowledgment sent {"connection_id":154552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:10:57] local.INFO: TCP Data received {"connection_id":154552,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:10:57] local.INFO: Processing buffer {"connection_id":154552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:10:57] local.INFO: Packet analysis {"connection_id":154552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:10:57] local.INFO: Extracted packet for processing {"connection_id":154552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312278528001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786376389000,"timestamp_ms":1786376389000,"timestamp_seconds":1786376389,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548188"} 
[2026-08-10 21:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312278528001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312278528001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:10:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312278528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":154552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:10:57] local.INFO: GPS data processed {"connection_id":154552,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:10:57] local.INFO: Acknowledgment sent {"connection_id":154552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:10:57] local.INFO: TCP Data received {"connection_id":151807,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:10:57] local.INFO: Processing buffer {"connection_id":151807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:10:57] local.INFO: IMEI packet received {"connection_id":151807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":151807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:11:03] local.INFO: TCP Data received {"connection_id":151807,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:11:03] local.INFO: Processing buffer {"connection_id":151807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:11:03] local.INFO: IMEI packet received {"connection_id":151807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":151807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:11:04] local.INFO: TCP Data received {"connection_id":151807,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:11:04] local.INFO: Processing buffer {"connection_id":151807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:11:04] local.INFO: Packet analysis {"connection_id":151807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:11:04] local.INFO: Extracted packet for processing {"connection_id":151807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312279040001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786376391000,"timestamp_ms":1786376391000,"timestamp_seconds":1786376391,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548958"} 
[2026-08-10 21:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 21:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312279040001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312279040001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:11:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312279040001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":151807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:11:04] local.INFO: GPS data processed {"connection_id":151807,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:11:04] local.INFO: Acknowledgment sent {"connection_id":151807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:11:34] local.INFO: TCP Data received {"connection_id":151807,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:11:34] local.INFO: Processing buffer {"connection_id":151807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:11:34] local.INFO: Packet analysis {"connection_id":151807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:11:34] local.INFO: Extracted packet for processing {"connection_id":151807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312279040001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786376391000,"timestamp_ms":1786376391000,"timestamp_seconds":1786376391,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548958"} 
[2026-08-10 21:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 21:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312279040001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312279040001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:11:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312279040001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":151807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:11:34] local.INFO: GPS data processed {"connection_id":151807,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:11:34] local.INFO: Acknowledgment sent {"connection_id":151807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:11:41] local.INFO: TCP Data received {"connection_id":152199,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:11:41] local.INFO: Processing buffer {"connection_id":152199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:11:41] local.INFO: IMEI packet received {"connection_id":152199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":152199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:11:46] local.INFO: TCP Data received {"connection_id":152199,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:11:46] local.INFO: Processing buffer {"connection_id":152199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:11:46] local.INFO: IMEI packet received {"connection_id":152199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":152199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:11:47] local.INFO: TCP Data received {"connection_id":152199,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:11:47] local.INFO: Processing buffer {"connection_id":152199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:11:47] local.INFO: Packet analysis {"connection_id":152199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:11:47] local.INFO: Extracted packet for processing {"connection_id":152199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312278528001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376389000,"timestamp_ms":1786376389000,"timestamp_seconds":1786376389,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548188"} 
[2026-08-10 21:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312278528001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312278528001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:11:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312278528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":152199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:11:47] local.INFO: GPS data processed {"connection_id":152199,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:11:47] local.INFO: Acknowledgment sent {"connection_id":152199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:11:57] local.INFO: TCP Data received {"connection_id":153126,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:11:57] local.INFO: Processing buffer {"connection_id":153126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:11:57] local.INFO: IMEI packet received {"connection_id":153126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":153126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:12:03] local.INFO: TCP Data received {"connection_id":153126,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:12:03] local.INFO: Processing buffer {"connection_id":153126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:12:03] local.INFO: IMEI packet received {"connection_id":153126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":153126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:12:04] local.INFO: TCP Data received {"connection_id":153126,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:12:04] local.INFO: Processing buffer {"connection_id":153126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:12:04] local.INFO: Packet analysis {"connection_id":153126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:12:04] local.INFO: Extracted packet for processing {"connection_id":153126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312279040001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786376391000,"timestamp_ms":1786376391000,"timestamp_seconds":1786376391,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548958"} 
[2026-08-10 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-08-10 21:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 21:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312279040001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312279040001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:12:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312279040001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":153126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:12:04] local.INFO: GPS data processed {"connection_id":153126,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:12:04] local.INFO: Acknowledgment sent {"connection_id":153126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:12:18] local.INFO: TCP Data received {"connection_id":152199,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:12:18] local.INFO: Processing buffer {"connection_id":152199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:12:18] local.INFO: Packet analysis {"connection_id":152199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:12:18] local.INFO: Extracted packet for processing {"connection_id":152199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312278528001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376389000,"timestamp_ms":1786376389000,"timestamp_seconds":1786376389,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548188"} 
[2026-08-10 21:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:12: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-08-10 21:12: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312278528001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312278528001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:12:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312278528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":152199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:12:18] local.INFO: GPS data processed {"connection_id":152199,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:12:18] local.INFO: Acknowledgment sent {"connection_id":152199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:12:35] local.INFO: TCP Data received {"connection_id":153126,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:12:35] local.INFO: Processing buffer {"connection_id":153126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:12:35] local.INFO: Packet analysis {"connection_id":153126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:12:35] local.INFO: Extracted packet for processing {"connection_id":153126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312279040001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786376391000,"timestamp_ms":1786376391000,"timestamp_seconds":1786376391,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548958"} 
[2026-08-10 21:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":31,"data_length":795,"current_offset":136} 
[2026-08-10 21:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312279040001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312279040001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:12:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312279040001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":153126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:12:35] local.INFO: GPS data processed {"connection_id":153126,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:12:35] local.INFO: Acknowledgment sent {"connection_id":153126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:12:41] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:12:41] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:12:41] local.INFO: IMEI packet received {"connection_id":151808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":151808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:12:46] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:12:46] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:12:46] local.INFO: IMEI packet received {"connection_id":151808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":151808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:12:47] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:12:47] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:12:47] local.INFO: Packet analysis {"connection_id":151808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:12:47] local.INFO: Extracted packet for processing {"connection_id":151808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312278528001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376389000,"timestamp_ms":1786376389000,"timestamp_seconds":1786376389,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548188"} 
[2026-08-10 21:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312278528001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312278528001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:12:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:12:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312278528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":151808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:12:47] local.INFO: GPS data processed {"connection_id":151808,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:12:47] local.INFO: Acknowledgment sent {"connection_id":151808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:12:58] local.INFO: TCP Data received {"connection_id":151809,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:12:58] local.INFO: Processing buffer {"connection_id":151809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:12:58] local.INFO: IMEI packet received {"connection_id":151809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":151809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:13:03] local.INFO: TCP Data received {"connection_id":151809,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:13:03] local.INFO: Processing buffer {"connection_id":151809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:13:03] local.INFO: IMEI packet received {"connection_id":151809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":151809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:13:04] local.INFO: TCP Data received {"connection_id":151809,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:13:04] local.INFO: Processing buffer {"connection_id":151809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:13:04] local.INFO: Packet analysis {"connection_id":151809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:13:04] local.INFO: Extracted packet for processing {"connection_id":151809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312279040001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786376391000,"timestamp_ms":1786376391000,"timestamp_seconds":1786376391,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548958"} 
[2026-08-10 21:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 21:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312279040001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312279040001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:13:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312279040001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":151809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:13:04] local.INFO: GPS data processed {"connection_id":151809,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:13:04] local.INFO: Acknowledgment sent {"connection_id":151809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:13:19] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:13:19] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:13:19] local.INFO: Packet analysis {"connection_id":151808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:13:19] local.INFO: Extracted packet for processing {"connection_id":151808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312278528001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786376389000,"timestamp_ms":1786376389000,"timestamp_seconds":1786376389,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548188"} 
[2026-08-10 21:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312278528001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312278528001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:13:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312278528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":151808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:13:19] local.INFO: GPS data processed {"connection_id":151808,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:13:19] local.INFO: Acknowledgment sent {"connection_id":151808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:13:35] local.INFO: TCP Data received {"connection_id":151809,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:13:35] local.INFO: Processing buffer {"connection_id":151809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:13:35] local.INFO: Packet analysis {"connection_id":151809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:13:35] local.INFO: Extracted packet for processing {"connection_id":151809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312279040001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786376391000,"timestamp_ms":1786376391000,"timestamp_seconds":1786376391,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548958"} 
[2026-08-10 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-08-10 21:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 21:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312279040001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312279040001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:13:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312279040001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":151809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:13:35] local.INFO: GPS data processed {"connection_id":151809,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:13:35] local.INFO: Acknowledgment sent {"connection_id":151809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:13:41] local.INFO: TCP Data received {"connection_id":153127,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:13:41] local.INFO: Processing buffer {"connection_id":153127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:13:41] local.INFO: IMEI packet received {"connection_id":153127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":153127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:13:46] local.INFO: TCP Data received {"connection_id":153127,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:13:46] local.INFO: Processing buffer {"connection_id":153127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:13:46] local.INFO: IMEI packet received {"connection_id":153127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":153127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:13:47] local.INFO: TCP Data received {"connection_id":153127,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:13:47] local.INFO: Processing buffer {"connection_id":153127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:13:47] local.INFO: Packet analysis {"connection_id":153127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:13:47] local.INFO: Extracted packet for processing {"connection_id":153127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312278528001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376389000,"timestamp_ms":1786376389000,"timestamp_seconds":1786376389,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548188"} 
[2026-08-10 21:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312278528001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312278528001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:13:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:13:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312278528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":153127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:13:47] local.INFO: GPS data processed {"connection_id":153127,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:13:47] local.INFO: Acknowledgment sent {"connection_id":153127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:14:03] local.INFO: TCP Data received {"connection_id":151810,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:14:03] local.INFO: Processing buffer {"connection_id":151810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:14:03] local.INFO: IMEI packet received {"connection_id":151810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":151810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:14:08] local.INFO: TCP Data received {"connection_id":151810,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:14:08] local.INFO: Processing buffer {"connection_id":151810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:14:08] local.INFO: IMEI packet received {"connection_id":151810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":151810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:14:09] local.INFO: TCP Data received {"connection_id":151810,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:14:09] local.INFO: Processing buffer {"connection_id":151810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:14:09] local.INFO: Packet analysis {"connection_id":151810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:14:09] local.INFO: Extracted packet for processing {"connection_id":151810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312279040001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786376391000,"timestamp_ms":1786376391000,"timestamp_seconds":1786376391,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548958"} 
[2026-08-10 21:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 21:14: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-08-10 21:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312279040001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312279040001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:14:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312279040001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":151810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:14:09] local.INFO: GPS data processed {"connection_id":151810,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:14:09] local.INFO: Acknowledgment sent {"connection_id":151810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:14:13] local.INFO: TCP Data received {"connection_id":151810,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:14:13] local.INFO: Processing buffer {"connection_id":151810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:14:13] local.INFO: Packet analysis {"connection_id":151810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:14:13] local.INFO: Extracted packet for processing {"connection_id":151810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:14:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312279040001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786376391000,"timestamp_ms":1786376391000,"timestamp_seconds":1786376391,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548958"} 
[2026-08-10 21:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 21:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312279040001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312279040001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:14:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:14:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312279040001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":151810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:14:13] local.INFO: GPS data processed {"connection_id":151810,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:14:13] local.INFO: Acknowledgment sent {"connection_id":151810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:14:18] local.INFO: TCP Data received {"connection_id":153127,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:14:18] local.INFO: Processing buffer {"connection_id":153127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:14:18] local.INFO: Packet analysis {"connection_id":153127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:14:18] local.INFO: Extracted packet for processing {"connection_id":153127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312278528001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376389000,"timestamp_ms":1786376389000,"timestamp_seconds":1786376389,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548188"} 
[2026-08-10 21:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:14: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-08-10 21:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312278528001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312278528001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:14:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312278528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":153127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:14:18] local.INFO: GPS data processed {"connection_id":153127,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:14:18] local.INFO: Acknowledgment sent {"connection_id":153127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:14:41] local.INFO: TCP Data received {"connection_id":151811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:14:41] local.INFO: Processing buffer {"connection_id":151811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:14:41] local.INFO: IMEI packet received {"connection_id":151811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":151811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:14:46] local.INFO: TCP Data received {"connection_id":151811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:14:46] local.INFO: Processing buffer {"connection_id":151811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:14:46] local.INFO: IMEI packet received {"connection_id":151811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":151811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:14:47] local.INFO: TCP Data received {"connection_id":151811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:14:47] local.INFO: Processing buffer {"connection_id":151811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:14:47] local.INFO: Packet analysis {"connection_id":151811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:14:47] local.INFO: Extracted packet for processing {"connection_id":151811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312278528001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376389000,"timestamp_ms":1786376389000,"timestamp_seconds":1786376389,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548188"} 
[2026-08-10 21:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312278528001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312278528001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:14:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312278528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":151811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:14:47] local.INFO: GPS data processed {"connection_id":151811,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:14:47] local.INFO: Acknowledgment sent {"connection_id":151811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:14:57] local.INFO: TCP Data received {"connection_id":152200,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:14:57] local.INFO: Processing buffer {"connection_id":152200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:14:57] local.INFO: IMEI packet received {"connection_id":152200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":152200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:15:03] local.INFO: TCP Data received {"connection_id":152200,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:15:03] local.INFO: Processing buffer {"connection_id":152200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:15:03] local.INFO: IMEI packet received {"connection_id":152200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":152200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:15:04] local.INFO: TCP Data received {"connection_id":152200,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:15:04] local.INFO: Processing buffer {"connection_id":152200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548958012d34248006abc1900001007e26..."} 
[2026-08-10 21:15:04] local.INFO: Packet analysis {"connection_id":152200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:15:04] local.INFO: Extracted packet for processing {"connection_id":152200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":1,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312279040001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786376391000,"timestamp_ms":1786376391000,"timestamp_seconds":1786376391,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548958"} 
[2026-08-10 21:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 21:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312279040001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312279040001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:15:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312279040001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":152200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:15:04] local.INFO: GPS data processed {"connection_id":152200,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:15:04] local.INFO: Acknowledgment sent {"connection_id":152200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:15:18] local.INFO: TCP Data received {"connection_id":151811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:15:18] local.INFO: Processing buffer {"connection_id":151811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec548188012d196580071ff038003b014227..."} 
[2026-08-10 21:15:18] local.INFO: Packet analysis {"connection_id":151811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:15:18] local.INFO: Extracted packet for processing {"connection_id":151811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec54"} 
[2026-08-10 21:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312278528001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376389000,"timestamp_ms":1786376389000,"timestamp_seconds":1786376389,"priority":1,"record_length":96,"hex_timestamp":"0000019fec548188"} 
[2026-08-10 21:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:15: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-08-10 21:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312278528001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312278528001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:15:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312278528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":151811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:15:18] local.INFO: GPS data processed {"connection_id":151811,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:15:18] local.INFO: Acknowledgment sent {"connection_id":151811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:15:35] local.INFO: TCP Data received {"connection_id":152200,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:15:35] local.INFO: Processing buffer {"connection_id":152200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:15:35] local.INFO: Packet analysis {"connection_id":152200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:15:35] local.INFO: Extracted packet for processing {"connection_id":152200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312356096001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786376692000,"timestamp_ms":1786376692000,"timestamp_seconds":1786376692,"priority":1,"record_length":96,"hex_timestamp":"0000019fec592120"} 
[2026-08-10 21:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 21:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312356096001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312356096001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:15:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312356096001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":152200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:15:35] local.INFO: GPS data processed {"connection_id":152200,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:15:35] local.INFO: Acknowledgment sent {"connection_id":152200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:15:46] local.INFO: TCP Data received {"connection_id":151812,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:15:46] local.INFO: Processing buffer {"connection_id":151812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:15:46] local.INFO: IMEI packet received {"connection_id":151812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":151812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:15:51] local.INFO: TCP Data received {"connection_id":151812,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:15:51] local.INFO: Processing buffer {"connection_id":151812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:15:51] local.INFO: IMEI packet received {"connection_id":151812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":151812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:15:52] local.INFO: TCP Data received {"connection_id":151812,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:15:52] local.INFO: Processing buffer {"connection_id":151812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:15:52] local.INFO: Packet analysis {"connection_id":151812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:15:52] local.INFO: Extracted packet for processing {"connection_id":151812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:15:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312355584001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786376690000,"timestamp_ms":1786376690000,"timestamp_seconds":1786376690,"priority":1,"record_length":96,"hex_timestamp":"0000019fec591950"} 
[2026-08-10 21:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312355584001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312355584001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:15:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:15:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312355584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":151812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:15:52] local.INFO: GPS data processed {"connection_id":151812,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:15:52] local.INFO: Acknowledgment sent {"connection_id":151812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:15:58] local.INFO: TCP Data received {"connection_id":151813,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:15:58] local.INFO: Processing buffer {"connection_id":151813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:15:58] local.INFO: IMEI packet received {"connection_id":151813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":151813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:16:03] local.INFO: TCP Data received {"connection_id":151813,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:16:03] local.INFO: Processing buffer {"connection_id":151813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:16:03] local.INFO: IMEI packet received {"connection_id":151813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":151813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:16:04] local.INFO: TCP Data received {"connection_id":151813,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:16:04] local.INFO: Processing buffer {"connection_id":151813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:16:04] local.INFO: Packet analysis {"connection_id":151813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:16:04] local.INFO: Extracted packet for processing {"connection_id":151813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312356096001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786376692000,"timestamp_ms":1786376692000,"timestamp_seconds":1786376692,"priority":1,"record_length":96,"hex_timestamp":"0000019fec592120"} 
[2026-08-10 21:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 21:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312356096001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312356096001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:16:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312356096001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":151813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:16:04] local.INFO: GPS data processed {"connection_id":151813,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:16:04] local.INFO: Acknowledgment sent {"connection_id":151813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:16:23] local.INFO: TCP Data received {"connection_id":151812,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:16:23] local.INFO: Processing buffer {"connection_id":151812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:16:23] local.INFO: Packet analysis {"connection_id":151812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:16:23] local.INFO: Extracted packet for processing {"connection_id":151812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312355584001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786376690000,"timestamp_ms":1786376690000,"timestamp_seconds":1786376690,"priority":1,"record_length":96,"hex_timestamp":"0000019fec591950"} 
[2026-08-10 21:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312355584001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312355584001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:16:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312355584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":151812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:16:23] local.INFO: GPS data processed {"connection_id":151812,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:16:23] local.INFO: Acknowledgment sent {"connection_id":151812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:16:35] local.INFO: TCP Data received {"connection_id":151813,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:16:35] local.INFO: Processing buffer {"connection_id":151813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:16:35] local.INFO: Packet analysis {"connection_id":151813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:16:35] local.INFO: Extracted packet for processing {"connection_id":151813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312356096001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786376692000,"timestamp_ms":1786376692000,"timestamp_seconds":1786376692,"priority":1,"record_length":96,"hex_timestamp":"0000019fec592120"} 
[2026-08-10 21:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 21:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312356096001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312356096001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:16:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312356096001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":151813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:16:35] local.INFO: GPS data processed {"connection_id":151813,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:16:35] local.INFO: Acknowledgment sent {"connection_id":151813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:16:41] local.INFO: TCP Data received {"connection_id":152201,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:16:41] local.INFO: Processing buffer {"connection_id":152201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:16:41] local.INFO: IMEI packet received {"connection_id":152201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":152201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:16:46] local.INFO: TCP Data received {"connection_id":152201,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:16:46] local.INFO: Processing buffer {"connection_id":152201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:16:46] local.INFO: IMEI packet received {"connection_id":152201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":152201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:16:47] local.INFO: TCP Data received {"connection_id":152201,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:16:47] local.INFO: Processing buffer {"connection_id":152201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:16:47] local.INFO: Packet analysis {"connection_id":152201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:16:47] local.INFO: Extracted packet for processing {"connection_id":152201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312355584001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376690000,"timestamp_ms":1786376690000,"timestamp_seconds":1786376690,"priority":1,"record_length":96,"hex_timestamp":"0000019fec591950"} 
[2026-08-10 21:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312355584001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312355584001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:16:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:16:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312355584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":152201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:16:47] local.INFO: GPS data processed {"connection_id":152201,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:16:47] local.INFO: Acknowledgment sent {"connection_id":152201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:16:57] local.INFO: TCP Data received {"connection_id":153128,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:16:57] local.INFO: Processing buffer {"connection_id":153128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:16:57] local.INFO: IMEI packet received {"connection_id":153128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":153128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:17:03] local.INFO: TCP Data received {"connection_id":153128,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:17:03] local.INFO: Processing buffer {"connection_id":153128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:17:03] local.INFO: IMEI packet received {"connection_id":153128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":153128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:17:04] local.INFO: TCP Data received {"connection_id":153128,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:17:04] local.INFO: Processing buffer {"connection_id":153128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:17:04] local.INFO: Packet analysis {"connection_id":153128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:17:04] local.INFO: Extracted packet for processing {"connection_id":153128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:17:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312356096001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786376692000,"timestamp_ms":1786376692000,"timestamp_seconds":1786376692,"priority":1,"record_length":96,"hex_timestamp":"0000019fec592120"} 
[2026-08-10 21:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 21:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312356096001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312356096001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:17:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312356096001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":153128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:17:04] local.INFO: GPS data processed {"connection_id":153128,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:17:04] local.INFO: Acknowledgment sent {"connection_id":153128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:17:18] local.INFO: TCP Data received {"connection_id":152201,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:17:18] local.INFO: Processing buffer {"connection_id":152201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:17:18] local.INFO: Packet analysis {"connection_id":152201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:17:18] local.INFO: Extracted packet for processing {"connection_id":152201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312355584001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376690000,"timestamp_ms":1786376690000,"timestamp_seconds":1786376690,"priority":1,"record_length":96,"hex_timestamp":"0000019fec591950"} 
[2026-08-10 21:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:17: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312355584001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312355584001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:17:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:17:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312355584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":152201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:17:18] local.INFO: GPS data processed {"connection_id":152201,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:17:18] local.INFO: Acknowledgment sent {"connection_id":152201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:17:35] local.INFO: TCP Data received {"connection_id":153128,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:17:35] local.INFO: Processing buffer {"connection_id":153128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:17:35] local.INFO: Packet analysis {"connection_id":153128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:17:35] local.INFO: Extracted packet for processing {"connection_id":153128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312356096001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786376692000,"timestamp_ms":1786376692000,"timestamp_seconds":1786376692,"priority":1,"record_length":96,"hex_timestamp":"0000019fec592120"} 
[2026-08-10 21:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 21:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312356096001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312356096001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:17:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312356096001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":153128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:17:35] local.INFO: GPS data processed {"connection_id":153128,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:17:35] local.INFO: Acknowledgment sent {"connection_id":153128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:17:41] local.INFO: TCP Data received {"connection_id":151814,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:17:41] local.INFO: Processing buffer {"connection_id":151814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:17:41] local.INFO: IMEI packet received {"connection_id":151814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":151814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:17:46] local.INFO: TCP Data received {"connection_id":151814,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:17:46] local.INFO: Processing buffer {"connection_id":151814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:17:46] local.INFO: IMEI packet received {"connection_id":151814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":151814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:17:47] local.INFO: TCP Data received {"connection_id":151814,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:17:47] local.INFO: Processing buffer {"connection_id":151814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:17:47] local.INFO: Packet analysis {"connection_id":151814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:17:47] local.INFO: Extracted packet for processing {"connection_id":151814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312355584001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376690000,"timestamp_ms":1786376690000,"timestamp_seconds":1786376690,"priority":1,"record_length":96,"hex_timestamp":"0000019fec591950"} 
[2026-08-10 21:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312355584001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312355584001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:17:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:17:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312355584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":151814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:17:47] local.INFO: GPS data processed {"connection_id":151814,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:17:47] local.INFO: Acknowledgment sent {"connection_id":151814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:17:58] local.INFO: TCP Data received {"connection_id":152202,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:17:58] local.INFO: Processing buffer {"connection_id":152202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:17:58] local.INFO: IMEI packet received {"connection_id":152202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":152202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:18:03] local.INFO: TCP Data received {"connection_id":152202,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:18:03] local.INFO: Processing buffer {"connection_id":152202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:18:03] local.INFO: IMEI packet received {"connection_id":152202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":152202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:18:04] local.INFO: TCP Data received {"connection_id":152202,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:18:04] local.INFO: Processing buffer {"connection_id":152202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:18:04] local.INFO: Packet analysis {"connection_id":152202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:18:04] local.INFO: Extracted packet for processing {"connection_id":152202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312356096001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786376692000,"timestamp_ms":1786376692000,"timestamp_seconds":1786376692,"priority":1,"record_length":96,"hex_timestamp":"0000019fec592120"} 
[2026-08-10 21:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 21:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312356096001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312356096001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:18:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312356096001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":152202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:18:04] local.INFO: GPS data processed {"connection_id":152202,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:18:04] local.INFO: Acknowledgment sent {"connection_id":152202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:18:18] local.INFO: TCP Data received {"connection_id":151814,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:18:18] local.INFO: Processing buffer {"connection_id":151814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:18:18] local.INFO: Packet analysis {"connection_id":151814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:18:18] local.INFO: Extracted packet for processing {"connection_id":151814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312355584001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376690000,"timestamp_ms":1786376690000,"timestamp_seconds":1786376690,"priority":1,"record_length":96,"hex_timestamp":"0000019fec591950"} 
[2026-08-10 21:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312355584001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312355584001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:18:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312355584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":151814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:18:18] local.INFO: GPS data processed {"connection_id":151814,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:18:18] local.INFO: Acknowledgment sent {"connection_id":151814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:18:35] local.INFO: TCP Data received {"connection_id":152202,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:18:35] local.INFO: Processing buffer {"connection_id":152202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:18:35] local.INFO: Packet analysis {"connection_id":152202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:18:35] local.INFO: Extracted packet for processing {"connection_id":152202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312356096001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786376692000,"timestamp_ms":1786376692000,"timestamp_seconds":1786376692,"priority":1,"record_length":96,"hex_timestamp":"0000019fec592120"} 
[2026-08-10 21:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 21:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312356096001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312356096001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:18:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312356096001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":152202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:18:35] local.INFO: GPS data processed {"connection_id":152202,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:18:35] local.INFO: Acknowledgment sent {"connection_id":152202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:18:41] local.INFO: TCP Data received {"connection_id":153129,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:18:41] local.INFO: Processing buffer {"connection_id":153129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:18:41] local.INFO: IMEI packet received {"connection_id":153129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":153129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:18:46] local.INFO: TCP Data received {"connection_id":153129,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:18:46] local.INFO: Processing buffer {"connection_id":153129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:18:46] local.INFO: IMEI packet received {"connection_id":153129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":153129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:18:47] local.INFO: TCP Data received {"connection_id":153129,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:18:47] local.INFO: Processing buffer {"connection_id":153129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:18:47] local.INFO: Packet analysis {"connection_id":153129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:18:47] local.INFO: Extracted packet for processing {"connection_id":153129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312355584001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376690000,"timestamp_ms":1786376690000,"timestamp_seconds":1786376690,"priority":1,"record_length":96,"hex_timestamp":"0000019fec591950"} 
[2026-08-10 21:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312355584001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312355584001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:18:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312355584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":153129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:18:47] local.INFO: GPS data processed {"connection_id":153129,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:18:47] local.INFO: Acknowledgment sent {"connection_id":153129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:18:57] local.INFO: TCP Data received {"connection_id":151815,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:18:57] local.INFO: Processing buffer {"connection_id":151815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:18:57] local.INFO: IMEI packet received {"connection_id":151815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":151815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:19:03] local.INFO: TCP Data received {"connection_id":151815,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:19:03] local.INFO: Processing buffer {"connection_id":151815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:19:03] local.INFO: IMEI packet received {"connection_id":151815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":151815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:19:03] local.INFO: TCP Data received {"connection_id":151815,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:19:03] local.INFO: Processing buffer {"connection_id":151815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:19:03] local.INFO: Packet analysis {"connection_id":151815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:19:03] local.INFO: Extracted packet for processing {"connection_id":151815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312356096001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786376692000,"timestamp_ms":1786376692000,"timestamp_seconds":1786376692,"priority":1,"record_length":96,"hex_timestamp":"0000019fec592120"} 
[2026-08-10 21:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 21:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312356096001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312356096001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:19:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312356096001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":151815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:19:04] local.INFO: GPS data processed {"connection_id":151815,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:19:04] local.INFO: Acknowledgment sent {"connection_id":151815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:19:18] local.INFO: TCP Data received {"connection_id":153129,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:19:18] local.INFO: Processing buffer {"connection_id":153129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:19:18] local.INFO: Packet analysis {"connection_id":153129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:19:18] local.INFO: Extracted packet for processing {"connection_id":153129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312355584001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376690000,"timestamp_ms":1786376690000,"timestamp_seconds":1786376690,"priority":1,"record_length":96,"hex_timestamp":"0000019fec591950"} 
[2026-08-10 21:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312355584001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312355584001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:19:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:19:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312355584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":153129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:19:18] local.INFO: GPS data processed {"connection_id":153129,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:19:18] local.INFO: Acknowledgment sent {"connection_id":153129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:19:34] local.INFO: TCP Data received {"connection_id":151815,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:19:34] local.INFO: Processing buffer {"connection_id":151815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:19:34] local.INFO: Packet analysis {"connection_id":151815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:19:34] local.INFO: Extracted packet for processing {"connection_id":151815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312356096001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786376692000,"timestamp_ms":1786376692000,"timestamp_seconds":1786376692,"priority":1,"record_length":96,"hex_timestamp":"0000019fec592120"} 
[2026-08-10 21:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 21:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312356096001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312356096001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:19:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312356096001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":151815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:19:35] local.INFO: GPS data processed {"connection_id":151815,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:19:35] local.INFO: Acknowledgment sent {"connection_id":151815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:19:46] local.INFO: TCP Data received {"connection_id":151816,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:19:46] local.INFO: Processing buffer {"connection_id":151816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:19:46] local.INFO: IMEI packet received {"connection_id":151816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":151816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:19:51] local.INFO: TCP Data received {"connection_id":151816,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:19:51] local.INFO: Processing buffer {"connection_id":151816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:19:51] local.INFO: IMEI packet received {"connection_id":151816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":151816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:19:52] local.INFO: TCP Data received {"connection_id":151816,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:19:52] local.INFO: Processing buffer {"connection_id":151816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:19:52] local.INFO: Packet analysis {"connection_id":151816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:19:52] local.INFO: Extracted packet for processing {"connection_id":151816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312355584001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786376690000,"timestamp_ms":1786376690000,"timestamp_seconds":1786376690,"priority":1,"record_length":96,"hex_timestamp":"0000019fec591950"} 
[2026-08-10 21:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312355584001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312355584001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:19:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312355584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":151816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:19:52] local.INFO: GPS data processed {"connection_id":151816,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:19:52] local.INFO: Acknowledgment sent {"connection_id":151816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:19:57] local.INFO: TCP Data received {"connection_id":151816,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:19:57] local.INFO: Processing buffer {"connection_id":151816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec591950012d196580071ff038003b014225..."} 
[2026-08-10 21:19:57] local.INFO: Packet analysis {"connection_id":151816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:19:57] local.INFO: Extracted packet for processing {"connection_id":151816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312355584001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786376690000,"timestamp_ms":1786376690000,"timestamp_seconds":1786376690,"priority":1,"record_length":96,"hex_timestamp":"0000019fec591950"} 
[2026-08-10 21:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312355584001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312355584001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:19:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312355584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":151816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:19:57] local.INFO: GPS data processed {"connection_id":151816,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:19:57] local.INFO: Acknowledgment sent {"connection_id":151816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:20:03] local.INFO: TCP Data received {"connection_id":151817,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:20:03] local.INFO: Processing buffer {"connection_id":151817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:20:03] local.INFO: IMEI packet received {"connection_id":151817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":151817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:20:08] local.INFO: TCP Data received {"connection_id":151817,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:20:08] local.INFO: Processing buffer {"connection_id":151817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:20:08] local.INFO: IMEI packet received {"connection_id":151817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":151817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:20:09] local.INFO: TCP Data received {"connection_id":151817,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:20:09] local.INFO: Processing buffer {"connection_id":151817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:20:09] local.INFO: Packet analysis {"connection_id":151817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:20:09] local.INFO: Extracted packet for processing {"connection_id":151817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312356096001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786376692000,"timestamp_ms":1786376692000,"timestamp_seconds":1786376692,"priority":1,"record_length":96,"hex_timestamp":"0000019fec592120"} 
[2026-08-10 21:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 21:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312356096001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312356096001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:20:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312356096001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":151817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:20:09] local.INFO: GPS data processed {"connection_id":151817,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:20:09] local.INFO: Acknowledgment sent {"connection_id":151817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:20:13] local.INFO: TCP Data received {"connection_id":151817,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:20:13] local.INFO: Processing buffer {"connection_id":151817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec592120012d34248006abc1900016007e22..."} 
[2026-08-10 21:20:13] local.INFO: Packet analysis {"connection_id":151817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:20:13] local.INFO: Extracted packet for processing {"connection_id":151817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec59"} 
[2026-08-10 21:20:13] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":22,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312356096001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786376692000,"timestamp_ms":1786376692000,"timestamp_seconds":1786376692,"priority":1,"record_length":96,"hex_timestamp":"0000019fec592120"} 
[2026-08-10 21:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 21:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312356096001,"66":25430,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312356096001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:20:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:20:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312356096001,"power":25430,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":151817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:20:13] local.INFO: GPS data processed {"connection_id":151817,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:20:13] local.INFO: Acknowledgment sent {"connection_id":151817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:20:41] local.INFO: TCP Data received {"connection_id":152203,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:20:41] local.INFO: Processing buffer {"connection_id":152203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:20:41] local.INFO: IMEI packet received {"connection_id":152203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":152203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:20:46] local.INFO: TCP Data received {"connection_id":152203,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:20:46] local.INFO: Processing buffer {"connection_id":152203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:20:46] local.INFO: IMEI packet received {"connection_id":152203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":152203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:20:47] local.INFO: TCP Data received {"connection_id":152203,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:20:47] local.INFO: Processing buffer {"connection_id":152203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:20:47] local.INFO: Packet analysis {"connection_id":152203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:20:47] local.INFO: Extracted packet for processing {"connection_id":152203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312432640001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376991000,"timestamp_ms":1786376991000,"timestamp_seconds":1786376991,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db118"} 
[2026-08-10 21:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312432640001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312432640001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:20:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312432640001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":152203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:20:47] local.INFO: GPS data processed {"connection_id":152203,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:20:47] local.INFO: Acknowledgment sent {"connection_id":152203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:20:57] local.INFO: TCP Data received {"connection_id":151818,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:20:57] local.INFO: Processing buffer {"connection_id":151818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:20:57] local.INFO: IMEI packet received {"connection_id":151818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":151818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:21:03] local.INFO: TCP Data received {"connection_id":151818,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:21:03] local.INFO: Processing buffer {"connection_id":151818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:21:03] local.INFO: IMEI packet received {"connection_id":151818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":151818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:21:03] local.INFO: TCP Data received {"connection_id":151818,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db8e8012d34248006abc190000d007e23..."} 
[2026-08-10 21:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db8e8012d34248006abc190000d007e23..."} 
[2026-08-10 21:21:03] local.INFO: Processing buffer {"connection_id":151818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db8e8012d34248006abc190000d007e23..."} 
[2026-08-10 21:21:03] local.INFO: Packet analysis {"connection_id":151818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:21:03] local.INFO: Extracted packet for processing {"connection_id":151818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":13,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312433152001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786376993000,"timestamp_ms":1786376993000,"timestamp_seconds":1786376993,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db8e8"} 
[2026-08-10 21:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312433152001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312433152001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:21:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312433152001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":151818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:21:04] local.INFO: GPS data processed {"connection_id":151818,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:21:04] local.INFO: Acknowledgment sent {"connection_id":151818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:21:18] local.INFO: TCP Data received {"connection_id":152203,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:21:18] local.INFO: Processing buffer {"connection_id":152203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:21:18] local.INFO: Packet analysis {"connection_id":152203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:21:18] local.INFO: Extracted packet for processing {"connection_id":152203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312432640001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376991000,"timestamp_ms":1786376991000,"timestamp_seconds":1786376991,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db118"} 
[2026-08-10 21:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:21: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-08-10 21:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312432640001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312432640001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:21:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312432640001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":152203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:21:18] local.INFO: GPS data processed {"connection_id":152203,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:21:18] local.INFO: Acknowledgment sent {"connection_id":152203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:21:34] local.INFO: TCP Data received {"connection_id":151818,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db8e8012d34248006abc190000d007e23..."} 
[2026-08-10 21:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db8e8012d34248006abc190000d007e23..."} 
[2026-08-10 21:21:34] local.INFO: Processing buffer {"connection_id":151818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db8e8012d34248006abc190000d007e23..."} 
[2026-08-10 21:21:34] local.INFO: Packet analysis {"connection_id":151818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:21:34] local.INFO: Extracted packet for processing {"connection_id":151818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":13,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312433152001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786376993000,"timestamp_ms":1786376993000,"timestamp_seconds":1786376993,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db8e8"} 
[2026-08-10 21:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312433152001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312433152001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:21:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312433152001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":151818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:21:34] local.INFO: GPS data processed {"connection_id":151818,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:21:34] local.INFO: Acknowledgment sent {"connection_id":151818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:21:41] local.INFO: TCP Data received {"connection_id":152204,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:21:41] local.INFO: Processing buffer {"connection_id":152204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:21:41] local.INFO: IMEI packet received {"connection_id":152204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":152204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:21:46] local.INFO: TCP Data received {"connection_id":152204,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:21:46] local.INFO: Processing buffer {"connection_id":152204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:21:46] local.INFO: IMEI packet received {"connection_id":152204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":152204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:21:47] local.INFO: TCP Data received {"connection_id":152204,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:21:47] local.INFO: Processing buffer {"connection_id":152204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:21:47] local.INFO: Packet analysis {"connection_id":152204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:21:47] local.INFO: Extracted packet for processing {"connection_id":152204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312432640001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376991000,"timestamp_ms":1786376991000,"timestamp_seconds":1786376991,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db118"} 
[2026-08-10 21:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312432640001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312432640001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:21:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312432640001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":152204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:21:47] local.INFO: GPS data processed {"connection_id":152204,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:21:47] local.INFO: Acknowledgment sent {"connection_id":152204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:21:58] local.INFO: TCP Data received {"connection_id":153130,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:21:58] local.INFO: Processing buffer {"connection_id":153130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:21:58] local.INFO: IMEI packet received {"connection_id":153130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":153130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:22:03] local.INFO: TCP Data received {"connection_id":153130,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:22:03] local.INFO: Processing buffer {"connection_id":153130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:22:03] local.INFO: IMEI packet received {"connection_id":153130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":153130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:22:04] local.INFO: TCP Data received {"connection_id":153130,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db8e8012d34248006abc190000d007e23..."} 
[2026-08-10 21:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db8e8012d34248006abc190000d007e23..."} 
[2026-08-10 21:22:04] local.INFO: Processing buffer {"connection_id":153130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db8e8012d34248006abc190000d007e23..."} 
[2026-08-10 21:22:04] local.INFO: Packet analysis {"connection_id":153130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:22:04] local.INFO: Extracted packet for processing {"connection_id":153130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":13,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312433152001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786376993000,"timestamp_ms":1786376993000,"timestamp_seconds":1786376993,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db8e8"} 
[2026-08-10 21:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":86,"data_length":795,"current_offset":136} 
[2026-08-10 21:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312433152001,"66":25375,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312433152001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:22:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312433152001,"power":25375,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":153130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:22:04] local.INFO: GPS data processed {"connection_id":153130,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:22:04] local.INFO: Acknowledgment sent {"connection_id":153130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:22:18] local.INFO: TCP Data received {"connection_id":152204,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:22:18] local.INFO: Processing buffer {"connection_id":152204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:22:18] local.INFO: Packet analysis {"connection_id":152204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:22:18] local.INFO: Extracted packet for processing {"connection_id":152204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312432640001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376991000,"timestamp_ms":1786376991000,"timestamp_seconds":1786376991,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db118"} 
[2026-08-10 21:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:22: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-08-10 21:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312432640001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312432640001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:22:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312432640001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":152204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:22:18] local.INFO: GPS data processed {"connection_id":152204,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:22:18] local.INFO: Acknowledgment sent {"connection_id":152204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:22:35] local.INFO: TCP Data received {"connection_id":153130,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5f3f88012d34248006abc190000d007e26..."} 
[2026-08-10 21:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5f3f88012d34248006abc190000d007e26..."} 
[2026-08-10 21:22:35] local.INFO: Processing buffer {"connection_id":153130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5f3f88012d34248006abc190000d007e26..."} 
[2026-08-10 21:22:35] local.INFO: Packet analysis {"connection_id":153130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5f"} 
[2026-08-10 21:22:35] local.INFO: Extracted packet for processing {"connection_id":153130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5f"} 
[2026-08-10 21:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758391936,"raw_latitude":111919504,"longitude_deg":75.8391936,"latitude_deg":11.1919504,"altitude":13,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d342480","hex_latitude":"06abc190","is_valid_coordinates":true} 
[2026-08-10 21:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312510208001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786377093000,"timestamp_ms":1786377093000,"timestamp_seconds":1786377093,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5f3f88"} 
[2026-08-10 21:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-10 21:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312510208001,"66":25397,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312510208001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:22:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312510208001,"power":25397,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":153130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:22:35] local.INFO: GPS data processed {"connection_id":153130,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:22:35] local.INFO: Acknowledgment sent {"connection_id":153130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:22:42] local.INFO: TCP Data received {"connection_id":151819,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:22:42] local.INFO: Processing buffer {"connection_id":151819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:22:42] local.INFO: IMEI packet received {"connection_id":151819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":151819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:22:46] local.INFO: TCP Data received {"connection_id":151819,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:22:46] local.INFO: Processing buffer {"connection_id":151819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:22:46] local.INFO: IMEI packet received {"connection_id":151819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":151819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:22:47] local.INFO: TCP Data received {"connection_id":151819,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:22:47] local.INFO: Processing buffer {"connection_id":151819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:22:47] local.INFO: Packet analysis {"connection_id":151819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:22:47] local.INFO: Extracted packet for processing {"connection_id":151819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:22:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312432640001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376991000,"timestamp_ms":1786376991000,"timestamp_seconds":1786376991,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db118"} 
[2026-08-10 21:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312432640001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312432640001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:22:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:22:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312432640001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":151819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:22:47] local.INFO: GPS data processed {"connection_id":151819,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:22:47] local.INFO: Acknowledgment sent {"connection_id":151819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:22:57] local.INFO: TCP Data received {"connection_id":151820,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:22:57] local.INFO: Processing buffer {"connection_id":151820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:22:57] local.INFO: IMEI packet received {"connection_id":151820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":151820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:23:01] local.INFO: TCP Data received {"connection_id":151820,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:23:01] local.INFO: Processing buffer {"connection_id":151820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:23:01] local.INFO: IMEI packet received {"connection_id":151820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":151820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:23:02] local.INFO: TCP Data received {"connection_id":151820,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:23:02] local.INFO: Processing buffer {"connection_id":151820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:23:02] local.INFO: IMEI packet received {"connection_id":151820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":151820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:23:02] local.INFO: TCP Data received {"connection_id":151820,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5f4b40012d342c0006abc1b8000d011f26..."} 
[2026-08-10 21:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5f4b40012d342c0006abc1b8000d011f26..."} 
[2026-08-10 21:23:02] local.INFO: Processing buffer {"connection_id":151820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5f4b40012d342c0006abc1b8000d011f26..."} 
[2026-08-10 21:23:02] local.INFO: Packet analysis {"connection_id":151820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5f"} 
[2026-08-10 21:23:02] local.INFO: Extracted packet for processing {"connection_id":151820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5f"} 
[2026-08-10 21:23:02] local.INFO: GPS Element Parsed {"raw_longitude":758393856,"raw_latitude":111919544,"longitude_deg":75.8393856,"latitude_deg":11.1919544,"altitude":13,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d342c00","hex_latitude":"06abc1b8","is_valid_coordinates":true} 
[2026-08-10 21:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312535808001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456048157917184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757268755273584640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786377096000,"timestamp_ms":1786377096000,"timestamp_seconds":1786377096,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5f4b40"} 
[2026-08-10 21:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:23: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-08-10 21:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-10 21:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":151820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":151820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":151820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312535808001,"66":22321,"75":206,"81":23296,"24":0,"16":376456048157917184,"45":3757268755273584640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312535808001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:23:02] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:23:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456048157917184,"km_value":376456048157917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757268755273584640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312535808001,"power":22321,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3757268755273584640}} 
[2026-08-10 21:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":151820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:23:02] local.INFO: GPS data processed {"connection_id":151820,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:23:02] local.INFO: Acknowledgment sent {"connection_id":151820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:23:03] local.INFO: TCP Data received {"connection_id":151820,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5f9d48012d342c8006abc168000d011f26..."} 
[2026-08-10 21:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5f9d48012d342c8006abc168000d011f26..."} 
[2026-08-10 21:23:03] local.INFO: Processing buffer {"connection_id":151820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5f9d48012d342c8006abc168000d011f26..."} 
[2026-08-10 21:23:03] local.INFO: Packet analysis {"connection_id":151820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5f"} 
[2026-08-10 21:23:03] local.INFO: Extracted packet for processing {"connection_id":151820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5f"} 
[2026-08-10 21:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758393984,"raw_latitude":111919464,"longitude_deg":75.8393984,"latitude_deg":11.1919464,"altitude":13,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d342c80","hex_latitude":"06abc168","is_valid_coordinates":true} 
[2026-08-10 21:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312536576001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456061042819072,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3759379817598924800,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786377117000,"timestamp_ms":1786377117000,"timestamp_seconds":1786377117,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5f9d48"} 
[2026-08-10 21:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":87,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-10 21:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1074,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312536576001,"66":27234,"75":206,"81":23296,"24":0,"16":376456061042819072,"45":3759379817598924800},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312536576001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:23:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456061042819072,"km_value":376456061042819.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3759379817598924800,"description":"Unknown IO ID 45"} 
[2026-08-10 21:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312536576001,"power":27234,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3759379817598924800}} 
[2026-08-10 21:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":151820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:23:03] local.INFO: GPS data processed {"connection_id":151820,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:23:03] local.INFO: Acknowledgment sent {"connection_id":151820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:23:18] local.INFO: TCP Data received {"connection_id":151819,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:23:18] local.INFO: Processing buffer {"connection_id":151819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:23:18] local.INFO: Packet analysis {"connection_id":151819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:23:18] local.INFO: Extracted packet for processing {"connection_id":151819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312432640001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376991000,"timestamp_ms":1786376991000,"timestamp_seconds":1786376991,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db118"} 
[2026-08-10 21:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:23: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-08-10 21:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312432640001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312432640001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:23:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312432640001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":151819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:23:18] local.INFO: GPS data processed {"connection_id":151819,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:23:18] local.INFO: Acknowledgment sent {"connection_id":151819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:23:34] local.INFO: TCP Data received {"connection_id":151820,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6050f8012d341e4006abc040000e00b327..."} 
[2026-08-10 21:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6050f8012d341e4006abc040000e00b327..."} 
[2026-08-10 21:23:34] local.INFO: Processing buffer {"connection_id":151820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6050f8012d341e4006abc040000e00b327..."} 
[2026-08-10 21:23:34] local.INFO: Packet analysis {"connection_id":151820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec60"} 
[2026-08-10 21:23:34] local.INFO: Extracted packet for processing {"connection_id":151820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec60"} 
[2026-08-10 21:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758390336,"raw_latitude":111919168,"longitude_deg":75.8390336,"latitude_deg":11.1919168,"altitude":14,"angle":179,"satellites":39,"speed":9,"hex_longitude":"2d341e40","hex_latitude":"06abc040","is_valid_coordinates":true} 
[2026-08-10 21:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312553472001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456267201249280,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755579905413292032,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786377163000,"timestamp_ms":1786377163000,"timestamp_seconds":1786377163,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6050f8"} 
[2026-08-10 21:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 21:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312553472001,"66":27321,"75":206,"81":23296,"24":9,"16":376456267201249280,"45":3755579905413292032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312553472001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:23:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456267201249280,"km_value":376456267201249.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755579905413292032,"description":"Unknown IO ID 45"} 
[2026-08-10 21:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312553472001,"power":27321,"unknown_75":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":3755579905413292032}} 
[2026-08-10 21:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":151820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:23:34] local.INFO: GPS data processed {"connection_id":151820,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:23:34] local.INFO: Acknowledgment sent {"connection_id":151820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:23:41] local.INFO: TCP Data received {"connection_id":154553,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:23:41] local.INFO: Processing buffer {"connection_id":154553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:23:41] local.INFO: IMEI packet received {"connection_id":154553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":154553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:23:46] local.INFO: TCP Data received {"connection_id":154553,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:23:46] local.INFO: Processing buffer {"connection_id":154553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:23:46] local.INFO: IMEI packet received {"connection_id":154553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":154553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:23:47] local.INFO: TCP Data received {"connection_id":154553,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:23:47] local.INFO: Processing buffer {"connection_id":154553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:23:47] local.INFO: Packet analysis {"connection_id":154553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:23:47] local.INFO: Extracted packet for processing {"connection_id":154553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312432640001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786376991000,"timestamp_ms":1786376991000,"timestamp_seconds":1786376991,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db118"} 
[2026-08-10 21:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312432640001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312432640001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:23:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312432640001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":154553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:23:47] local.INFO: GPS data processed {"connection_id":154553,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:23:47] local.INFO: Acknowledgment sent {"connection_id":154553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:24:03] local.INFO: TCP Data received {"connection_id":153131,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:24:03] local.INFO: Processing buffer {"connection_id":153131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:24:03] local.INFO: IMEI packet received {"connection_id":153131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":153131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:24:04] local.INFO: TCP Data received {"connection_id":153131,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:24:04] local.INFO: Processing buffer {"connection_id":153131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:24:04] local.INFO: IMEI packet received {"connection_id":153131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":153131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:24:08] local.INFO: TCP Data received {"connection_id":153131,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:24:08] local.INFO: Processing buffer {"connection_id":153131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:24:08] local.INFO: IMEI packet received {"connection_id":153131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":153131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:24:12] local.INFO: TCP Data received {"connection_id":153131,"ip":"42.106.6.16","data_length":1348,"data_hex":"000000000000030f8e0a0000019fec6058c8012d341f0006abbe58000e009827..."} 
[2026-08-10 21:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153131,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fec6058c8012d341f0006abbe58000e009827..."} 
[2026-08-10 21:24:12] local.INFO: Processing buffer {"connection_id":153131,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019fec6058c8012d341f0006abbe58000e009827..."} 
[2026-08-10 21:24:12] local.INFO: Packet analysis {"connection_id":153131,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019fec60"} 
[2026-08-10 21:24:12] local.INFO: Extracted packet for processing {"connection_id":153131,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fec60"} 
[2026-08-10 21:24:12] local.INFO: GPS Element Parsed {"raw_longitude":758390528,"raw_latitude":111918680,"longitude_deg":75.8390528,"latitude_deg":11.191868,"altitude":14,"angle":152,"satellites":39,"speed":10,"hex_longitude":"2d341f00","hex_latitude":"06abbe58","is_valid_coordinates":true} 
[2026-08-10 21:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312553728001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456292971053056,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755509536669057024,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786377165000,"timestamp_ms":1786377165000,"timestamp_seconds":1786377165,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6058c8"} 
[2026-08-10 21:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 21:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312553728001,"66":27332,"75":206,"81":23296,"24":10,"16":376456292971053056,"45":3755509536669057024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312553728001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:24:12] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:24:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456292971053056,"km_value":376456292971053.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755509536669057024,"description":"Unknown IO ID 45"} 
[2026-08-10 21:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312553728001,"power":27332,"unknown_75":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3755509536669057024}} 
[2026-08-10 21:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":153131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:24:12] local.INFO: GPS data processed {"connection_id":153131,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:24:12] local.INFO: Acknowledgment sent {"connection_id":153131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:24:12] local.INFO: Packet analysis {"connection_id":153131,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fec60"} 
[2026-08-10 21:24:12] local.INFO: Incomplete packet, waiting for more data {"connection_id":153131,"needed":795,"available":553} 
[2026-08-10 21:24:18] local.INFO: TCP Data received {"connection_id":154553,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:24:18] local.INFO: Processing buffer {"connection_id":154553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:24:18] local.INFO: Packet analysis {"connection_id":154553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:24:18] local.INFO: Extracted packet for processing {"connection_id":154553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312432640001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786376991000,"timestamp_ms":1786376991000,"timestamp_seconds":1786376991,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db118"} 
[2026-08-10 21:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:24: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-08-10 21:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312432640001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312432640001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:24:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312432640001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":154553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:24:18] local.INFO: GPS data processed {"connection_id":154553,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:24:18] local.INFO: Acknowledgment sent {"connection_id":154553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:24:31] local.INFO: TCP Data received {"connection_id":153131,"ip":"42.106.6.16","data_length":1037,"data_hex":"0000000000019fec6035a0012d34214006abc3a8000c00f52700070000000a00..."} 
[2026-08-10 21:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153131,"packet_length":1037,"packet_hex":"0000000000019fec6035a0012d34214006abc3a8000c00f52700070000000a00..."} 
[2026-08-10 21:24:31] local.INFO: Processing buffer {"connection_id":153131,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fec606c50012d34210006abb828000e00a427..."} 
[2026-08-10 21:24:31] local.INFO: Packet analysis {"connection_id":153131,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fec60"} 
[2026-08-10 21:24:31] local.INFO: Extracted packet for processing {"connection_id":153131,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec60"} 
[2026-08-10 21:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758391040,"raw_latitude":111917096,"longitude_deg":75.839104,"latitude_deg":11.1917096,"altitude":14,"angle":164,"satellites":39,"speed":14,"hex_longitude":"2d342100","hex_latitude":"06abb828","is_valid_coordinates":true} 
[2026-08-10 21:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312554240001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456374575431680,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755720642901465088,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786377170000,"timestamp_ms":1786377170000,"timestamp_seconds":1786377170,"priority":1,"record_length":96,"hex_timestamp":"0000019fec606c50"} 
[2026-08-10 21:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:24: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-08-10 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 21:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312554240001,"66":27343,"75":206,"81":23296,"24":14,"16":376456374575431680,"45":3755720642901465088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312554240001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:24:31] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456374575431680,"km_value":376456374575431.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755720642901465088,"description":"Unknown IO ID 45"} 
[2026-08-10 21:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312554240001,"power":27343,"unknown_75":206,"unknown_81":23296,"ignition":14,"odometer":null,"unknown_45":3755720642901465088}} 
[2026-08-10 21:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":153131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:24:31] local.INFO: GPS data processed {"connection_id":153131,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:24:31] local.INFO: Acknowledgment sent {"connection_id":153131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:24:31] local.INFO: Packet analysis {"connection_id":153131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec60"} 
[2026-08-10 21:24:31] local.INFO: Extracted packet for processing {"connection_id":153131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec60"} 
[2026-08-10 21:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758393536,"raw_latitude":111908360,"longitude_deg":75.8393536,"latitude_deg":11.190836,"altitude":9,"angle":160,"satellites":39,"speed":25,"hex_longitude":"2d342ac0","hex_latitude":"06ab9608","is_valid_coordinates":true} 
[2026-08-10 21:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312555520001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376456812662095872,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3756283592854480896,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786377187000,"timestamp_ms":1786377187000,"timestamp_seconds":1786377187,"priority":1,"record_length":96,"hex_timestamp":"0000019fec60aeb8"} 
[2026-08-10 21:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:24: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-08-10 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 21:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312555520001,"66":27245,"75":206,"81":23296,"24":25,"16":376456812662095872,"45":3756283592854480896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312555520001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:24:31] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376456812662095872,"km_value":376456812662095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3756283592854480896,"description":"Unknown IO ID 45"} 
[2026-08-10 21:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312555520001,"power":27245,"unknown_75":206,"unknown_81":23296,"ignition":25,"odometer":null,"unknown_45":3756283592854480896}} 
[2026-08-10 21:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":153131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:24:31] local.INFO: GPS data processed {"connection_id":153131,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:24:31] local.INFO: Acknowledgment sent {"connection_id":153131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:24:46] local.INFO: TCP Data received {"connection_id":151821,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:24:46] local.INFO: Processing buffer {"connection_id":151821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:24:46] local.INFO: IMEI packet received {"connection_id":151821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":151821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:24:51] local.INFO: TCP Data received {"connection_id":151821,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:24:51] local.INFO: Processing buffer {"connection_id":151821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:24:51] local.INFO: IMEI packet received {"connection_id":151821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":151821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:24:52] local.INFO: TCP Data received {"connection_id":151821,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:24:52] local.INFO: Processing buffer {"connection_id":151821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:24:52] local.INFO: Packet analysis {"connection_id":151821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:24:52] local.INFO: Extracted packet for processing {"connection_id":151821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:24:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312432640001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786376991000,"timestamp_ms":1786376991000,"timestamp_seconds":1786376991,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db118"} 
[2026-08-10 21:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312432640001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312432640001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:24:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:24:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312432640001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":151821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:24:52] local.INFO: GPS data processed {"connection_id":151821,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:24:52] local.INFO: Acknowledgment sent {"connection_id":151821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:24:56] local.INFO: TCP Data received {"connection_id":151821,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:24:56] local.INFO: Processing buffer {"connection_id":151821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec5db118012d196580071ff038003b014225..."} 
[2026-08-10 21:24:56] local.INFO: Packet analysis {"connection_id":151821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:24:56] local.INFO: Extracted packet for processing {"connection_id":151821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec5d"} 
[2026-08-10 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312432640001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786376991000,"timestamp_ms":1786376991000,"timestamp_seconds":1786376991,"priority":1,"record_length":96,"hex_timestamp":"0000019fec5db118"} 
[2026-08-10 21:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312432640001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312432640001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:24:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312432640001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":151821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:24:57] local.INFO: GPS data processed {"connection_id":151821,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:24:57] local.INFO: Acknowledgment sent {"connection_id":151821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:24:58] local.INFO: TCP Data received {"connection_id":153132,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:24:58] local.INFO: Processing buffer {"connection_id":153132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:24:58] local.INFO: IMEI packet received {"connection_id":153132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":153132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:25:03] local.INFO: TCP Data received {"connection_id":153132,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:25:03] local.INFO: Processing buffer {"connection_id":153132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:25:03] local.INFO: IMEI packet received {"connection_id":153132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":153132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:25:04] local.INFO: TCP Data received {"connection_id":153132,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6175f0012d34384006ab1f50000600a428..."} 
[2026-08-10 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6175f0012d34384006ab1f50000600a428..."} 
[2026-08-10 21:25:04] local.INFO: Processing buffer {"connection_id":153132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6175f0012d34384006ab1f50000600a428..."} 
[2026-08-10 21:25:04] local.INFO: Packet analysis {"connection_id":153132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec61"} 
[2026-08-10 21:25:04] local.INFO: Extracted packet for processing {"connection_id":153132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec61"} 
[2026-08-10 21:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758396992,"raw_latitude":111877968,"longitude_deg":75.8396992,"latitude_deg":11.1877968,"altitude":6,"angle":164,"satellites":40,"speed":19,"hex_longitude":"2d343840","hex_latitude":"06ab1f50","is_valid_coordinates":true} 
[2026-08-10 21:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312571904001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376458337375485952,"note":"Value kept but may cause issues"} 
[2026-08-10 21:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3761913092379193344,"note":"Value kept but may cause issues"} 
[2026-08-10 21:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786377238000,"timestamp_ms":1786377238000,"timestamp_seconds":1786377238,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6175f0"} 
[2026-08-10 21:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-10 21:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312571904001,"66":27234,"75":206,"81":23296,"24":19,"16":376458337375485952,"45":3761913092379193344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312571904001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:25:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376458337375485952,"km_value":376458337375485.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3761913092379193344,"description":"Unknown IO ID 45"} 
[2026-08-10 21:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312571904001,"power":27234,"unknown_75":206,"unknown_81":23296,"ignition":19,"odometer":null,"unknown_45":3761913092379193344}} 
[2026-08-10 21:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":153132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:25:04] local.INFO: GPS data processed {"connection_id":153132,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:25:04] local.INFO: Acknowledgment sent {"connection_id":153132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:25:35] local.INFO: TCP Data received {"connection_id":153132,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec619530012d343b8006ab0e70000700b629..."} 
[2026-08-10 21:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec619530012d343b8006ab0e70000700b629..."} 
[2026-08-10 21:25:35] local.INFO: Processing buffer {"connection_id":153132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec619530012d343b8006ab0e70000700b629..."} 
[2026-08-10 21:25:35] local.INFO: Packet analysis {"connection_id":153132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec61"} 
[2026-08-10 21:25:35] local.INFO: Extracted packet for processing {"connection_id":153132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec61"} 
[2026-08-10 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758397824,"raw_latitude":111873648,"longitude_deg":75.8397824,"latitude_deg":11.1873648,"altitude":7,"angle":182,"satellites":41,"speed":22,"hex_longitude":"2d343b80","hex_latitude":"06ab0e70","is_valid_coordinates":true} 
[2026-08-10 21:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312572928001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376458552123850752,"note":"Value kept but may cause issues"} 
[2026-08-10 21:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3762827886052986880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786377246000,"timestamp_ms":1786377246000,"timestamp_seconds":1786377246,"priority":1,"record_length":96,"hex_timestamp":"0000019fec619530"} 
[2026-08-10 21:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 21:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312572928001,"66":27332,"75":206,"81":23296,"24":22,"16":376458552123850752,"45":3762827886052986880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312572928001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:25:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376458552123850752,"km_value":376458552123850.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3762827886052986880,"description":"Unknown IO ID 45"} 
[2026-08-10 21:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312572928001,"power":27332,"unknown_75":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3762827886052986880}} 
[2026-08-10 21:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":153132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:25:35] local.INFO: GPS data processed {"connection_id":153132,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:25:35] local.INFO: Acknowledgment sent {"connection_id":153132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:25:41] local.INFO: TCP Data received {"connection_id":153133,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:25:41] local.INFO: Processing buffer {"connection_id":153133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:25:41] local.INFO: IMEI packet received {"connection_id":153133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":153133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:25:46] local.INFO: TCP Data received {"connection_id":153133,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:25:46] local.INFO: Processing buffer {"connection_id":153133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:25:46] local.INFO: IMEI packet received {"connection_id":153133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":153133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:25:47] local.INFO: TCP Data received {"connection_id":153133,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:25:47] local.INFO: Processing buffer {"connection_id":153133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:25:47] local.INFO: Packet analysis {"connection_id":153133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:25:47] local.INFO: Extracted packet for processing {"connection_id":153133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312509696001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786377292000,"timestamp_ms":1786377292000,"timestamp_seconds":1786377292,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6248e0"} 
[2026-08-10 21:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 21:25: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-08-10 21:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312509696001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312509696001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:25:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312509696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":153133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:25:47] local.INFO: GPS data processed {"connection_id":153133,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:25:47] local.INFO: Acknowledgment sent {"connection_id":153133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:25:57] local.INFO: TCP Data received {"connection_id":152205,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:25:57] local.INFO: Processing buffer {"connection_id":152205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:25:57] local.INFO: IMEI packet received {"connection_id":152205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":152205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:26:02] local.INFO: TCP Data received {"connection_id":152205,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:26:02] local.INFO: Processing buffer {"connection_id":152205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:26:02] local.INFO: IMEI packet received {"connection_id":152205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":152205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:26:03] local.INFO: TCP Data received {"connection_id":152205,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec619d00012d343a8006ab0a30000800cc29..."} 
[2026-08-10 21:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec619d00012d343a8006ab0a30000800cc29..."} 
[2026-08-10 21:26:03] local.INFO: Processing buffer {"connection_id":152205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec619d00012d343a8006ab0a30000800cc29..."} 
[2026-08-10 21:26:03] local.INFO: Packet analysis {"connection_id":152205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec61"} 
[2026-08-10 21:26:03] local.INFO: Extracted packet for processing {"connection_id":152205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec61"} 
[2026-08-10 21:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758397568,"raw_latitude":111872560,"longitude_deg":75.8397568,"latitude_deg":11.187256,"altitude":8,"angle":204,"satellites":41,"speed":22,"hex_longitude":"2d343a80","hex_latitude":"06ab0a30","is_valid_coordinates":true} 
[2026-08-10 21:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312574976001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376458607958425600,"note":"Value kept but may cause issues"} 
[2026-08-10 21:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3763742679726190592,"note":"Value kept but may cause issues"} 
[2026-08-10 21:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786377248000,"timestamp_ms":1786377248000,"timestamp_seconds":1786377248,"priority":1,"record_length":96,"hex_timestamp":"0000019fec619d00"} 
[2026-08-10 21:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 21:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312574976001,"66":27267,"75":206,"81":23296,"24":22,"16":376458607958425600,"45":3763742679726190592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-10 21:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312574976001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:26:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-10 21:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376458607958425600,"km_value":376458607958425.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3763742679726190592,"description":"Unknown IO ID 45"} 
[2026-08-10 21:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312574976001,"power":27267,"unknown_75":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3763742679726190592}} 
[2026-08-10 21:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":152205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:26:03] local.INFO: GPS data processed {"connection_id":152205,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:26:03] local.INFO: Acknowledgment sent {"connection_id":152205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:26:18] local.INFO: TCP Data received {"connection_id":153133,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:26:18] local.INFO: Processing buffer {"connection_id":153133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:26:18] local.INFO: Packet analysis {"connection_id":153133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:26:18] local.INFO: Extracted packet for processing {"connection_id":153133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312509696001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786377292000,"timestamp_ms":1786377292000,"timestamp_seconds":1786377292,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6248e0"} 
[2026-08-10 21:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:26: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-08-10 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 21:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312509696001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312509696001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:26:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312509696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":153133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:26:18] local.INFO: GPS data processed {"connection_id":153133,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:26:18] local.INFO: Acknowledgment sent {"connection_id":153133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:26:37] local.INFO: TCP Data received {"connection_id":152205,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec62e138012d341d0006aaa8f0000a00c629..."} 
[2026-08-10 21:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec62e138012d341d0006aaa8f0000a00c629..."} 
[2026-08-10 21:26:37] local.INFO: Processing buffer {"connection_id":152205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec62e138012d341d0006aaa8f0000a00c629..."} 
[2026-08-10 21:26:37] local.INFO: Packet analysis {"connection_id":152205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:26:37] local.INFO: Extracted packet for processing {"connection_id":152205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758390016,"raw_latitude":111847664,"longitude_deg":75.8390016,"latitude_deg":11.1847664,"altitude":10,"angle":198,"satellites":41,"speed":14,"hex_longitude":"2d341d00","hex_latitude":"06aaa8f0","is_valid_coordinates":true} 
[2026-08-10 21:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312596224001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376459969463058432,"note":"Value kept but may cause issues"} 
[2026-08-10 21:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755509536650934272,"note":"Value kept but may cause issues"} 
[2026-08-10 21:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786377331000,"timestamp_ms":1786377331000,"timestamp_seconds":1786377331,"priority":1,"record_length":96,"hex_timestamp":"0000019fec62e138"} 
[2026-08-10 21:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 21:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312596224001,"66":27082,"34":206,"81":23296,"24":14,"16":376459969463058432,"45":3755509536650934272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312596224001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:26:37] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376459969463058432,"km_value":376459969463058.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755509536650934272,"description":"Unknown IO ID 45"} 
[2026-08-10 21:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312596224001,"power":27082,"unknown_34":206,"unknown_81":23296,"ignition":14,"odometer":null,"unknown_45":3755509536650934272}} 
[2026-08-10 21:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":152205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:26:37] local.INFO: GPS data processed {"connection_id":152205,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:26:37] local.INFO: Acknowledgment sent {"connection_id":152205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:26:41] local.INFO: TCP Data received {"connection_id":151822,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:26:41] local.INFO: Processing buffer {"connection_id":151822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:26:41] local.INFO: IMEI packet received {"connection_id":151822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":151822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:26:46] local.INFO: TCP Data received {"connection_id":151822,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:26:46] local.INFO: Processing buffer {"connection_id":151822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:26:46] local.INFO: IMEI packet received {"connection_id":151822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":151822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:26:47] local.INFO: TCP Data received {"connection_id":151822,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:26:47] local.INFO: Processing buffer {"connection_id":151822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:26:47] local.INFO: Packet analysis {"connection_id":151822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:26:47] local.INFO: Extracted packet for processing {"connection_id":151822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312509696001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786377292000,"timestamp_ms":1786377292000,"timestamp_seconds":1786377292,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6248e0"} 
[2026-08-10 21:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 21:26: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-08-10 21:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312509696001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312509696001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:26:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:26:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312509696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":151822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:26:47] local.INFO: GPS data processed {"connection_id":151822,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:26:47] local.INFO: Acknowledgment sent {"connection_id":151822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:26:57] local.INFO: TCP Data received {"connection_id":153134,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:26:57] local.INFO: Processing buffer {"connection_id":153134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:26:57] local.INFO: IMEI packet received {"connection_id":153134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":153134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:26:58] local.INFO: TCP Data received {"connection_id":153134,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:26:58] local.INFO: Processing buffer {"connection_id":153134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:26:58] local.INFO: IMEI packet received {"connection_id":153134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":153134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:27:03] local.INFO: TCP Data received {"connection_id":153134,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:27:03] local.INFO: Processing buffer {"connection_id":153134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:27:03] local.INFO: IMEI packet received {"connection_id":153134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":153134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:27:04] local.INFO: TCP Data received {"connection_id":153134,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec62ecf0012d341c4006aaa470000a00b829..."} 
[2026-08-10 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec62ecf0012d341c4006aaa470000a00b829..."} 
[2026-08-10 21:27:04] local.INFO: Processing buffer {"connection_id":153134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec62ecf0012d341c4006aaa470000a00b829..."} 
[2026-08-10 21:27:04] local.INFO: Packet analysis {"connection_id":153134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:27:04] local.INFO: Extracted packet for processing {"connection_id":153134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758389824,"raw_latitude":111846512,"longitude_deg":75.8389824,"latitude_deg":11.1846512,"altitude":10,"angle":184,"satellites":41,"speed":17,"hex_longitude":"2d341c40","hex_latitude":"06aaa470","is_valid_coordinates":true} 
[2026-08-10 21:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312596736001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376460025297633280,"note":"Value kept but may cause issues"} 
[2026-08-10 21:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755157692929863680,"note":"Value kept but may cause issues"} 
[2026-08-10 21:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786377334000,"timestamp_ms":1786377334000,"timestamp_seconds":1786377334,"priority":1,"record_length":96,"hex_timestamp":"0000019fec62ecf0"} 
[2026-08-10 21:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-10 21:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312596736001,"66":27267,"34":206,"81":23296,"24":17,"16":376460025297633280,"45":3755157692929863680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312596736001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:27:04] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376460025297633280,"km_value":376460025297633.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755157692929863680,"description":"Unknown IO ID 45"} 
[2026-08-10 21:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312596736001,"power":27267,"unknown_34":206,"unknown_81":23296,"ignition":17,"odometer":null,"unknown_45":3755157692929863680}} 
[2026-08-10 21:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":153134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:27:04] local.INFO: GPS data processed {"connection_id":153134,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:27:04] local.INFO: Acknowledgment sent {"connection_id":153134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:27:18] local.INFO: TCP Data received {"connection_id":151822,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:27:18] local.INFO: Processing buffer {"connection_id":151822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:27:18] local.INFO: Packet analysis {"connection_id":151822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:27:18] local.INFO: Extracted packet for processing {"connection_id":151822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312509696001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786377292000,"timestamp_ms":1786377292000,"timestamp_seconds":1786377292,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6248e0"} 
[2026-08-10 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-08-10 21:27: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-08-10 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 21:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312509696001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312509696001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:27:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312509696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":151822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:27:18] local.INFO: GPS data processed {"connection_id":151822,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:27:18] local.INFO: Acknowledgment sent {"connection_id":151822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:27:35] local.INFO: TCP Data received {"connection_id":153134,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec62f8a8012d341c4006aa9f00000a00ad29..."} 
[2026-08-10 21:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec62f8a8012d341c4006aa9f00000a00ad29..."} 
[2026-08-10 21:27:35] local.INFO: Processing buffer {"connection_id":153134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec62f8a8012d341c4006aa9f00000a00ad29..."} 
[2026-08-10 21:27:35] local.INFO: Packet analysis {"connection_id":153134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:27:35] local.INFO: Extracted packet for processing {"connection_id":153134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758389824,"raw_latitude":111845120,"longitude_deg":75.8389824,"latitude_deg":11.184512,"altitude":10,"angle":173,"satellites":41,"speed":19,"hex_longitude":"2d341c40","hex_latitude":"06aa9f00","is_valid_coordinates":true} 
[2026-08-10 21:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312597504001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376460094017110016,"note":"Value kept but may cause issues"} 
[2026-08-10 21:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3754946586697035776,"note":"Value kept but may cause issues"} 
[2026-08-10 21:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786377337000,"timestamp_ms":1786377337000,"timestamp_seconds":1786377337,"priority":1,"record_length":96,"hex_timestamp":"0000019fec62f8a8"} 
[2026-08-10 21:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 21:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312597504001,"66":27376,"34":206,"81":23296,"24":19,"16":376460094017110016,"45":3754946586697035776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312597504001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:27:35] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376460094017110016,"km_value":376460094017110.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3754946586697035776,"description":"Unknown IO ID 45"} 
[2026-08-10 21:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312597504001,"power":27376,"unknown_34":206,"unknown_81":23296,"ignition":19,"odometer":null,"unknown_45":3754946586697035776}} 
[2026-08-10 21:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":153134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:27:35] local.INFO: GPS data processed {"connection_id":153134,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:27:35] local.INFO: Acknowledgment sent {"connection_id":153134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:27:42] local.INFO: TCP Data received {"connection_id":151823,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:27:42] local.INFO: Processing buffer {"connection_id":151823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:27:42] local.INFO: IMEI packet received {"connection_id":151823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":151823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:27:46] local.INFO: TCP Data received {"connection_id":151823,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:27:46] local.INFO: Processing buffer {"connection_id":151823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:27:46] local.INFO: IMEI packet received {"connection_id":151823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":151823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:27:47] local.INFO: TCP Data received {"connection_id":151823,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:27:47] local.INFO: Processing buffer {"connection_id":151823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:27:47] local.INFO: Packet analysis {"connection_id":151823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:27:47] local.INFO: Extracted packet for processing {"connection_id":151823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312509696001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786377292000,"timestamp_ms":1786377292000,"timestamp_seconds":1786377292,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6248e0"} 
[2026-08-10 21:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 21:27: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-08-10 21:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312509696001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312509696001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:27:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312509696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":151823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:27:47] local.INFO: GPS data processed {"connection_id":151823,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:27:47] local.INFO: Acknowledgment sent {"connection_id":151823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:27:58] local.INFO: TCP Data received {"connection_id":151824,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:27:58] local.INFO: Processing buffer {"connection_id":151824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:27:58] local.INFO: IMEI packet received {"connection_id":151824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":151824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:27:59] local.INFO: TCP Data received {"connection_id":151824,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:27:59] local.INFO: Processing buffer {"connection_id":151824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:27:59] local.INFO: IMEI packet received {"connection_id":151824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":151824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:28:03] local.INFO: TCP Data received {"connection_id":151824,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:28:03] local.INFO: Processing buffer {"connection_id":151824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:28:03] local.INFO: IMEI packet received {"connection_id":151824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":151824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:28:04] local.INFO: TCP Data received {"connection_id":151824,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec634ab0012d341d8006aa8f98000b00ab2a..."} 
[2026-08-10 21:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec634ab0012d341d8006aa8f98000b00ab2a..."} 
[2026-08-10 21:28:04] local.INFO: Processing buffer {"connection_id":151824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec634ab0012d341d8006aa8f98000b00ab2a..."} 
[2026-08-10 21:28:04] local.INFO: Packet analysis {"connection_id":151824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec63"} 
[2026-08-10 21:28:04] local.INFO: Extracted packet for processing {"connection_id":151824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec63"} 
[2026-08-10 21:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758390144,"raw_latitude":111841176,"longitude_deg":75.8390144,"latitude_deg":11.1841176,"altitude":11,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d341d80","hex_latitude":"06aa8f98","is_valid_coordinates":true} 
[2026-08-10 21:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312598272001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376460287290638336,"note":"Value kept but may cause issues"} 
[2026-08-10 21:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3754946586696679424,"note":"Value kept but may cause issues"} 
[2026-08-10 21:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786377358000,"timestamp_ms":1786377358000,"timestamp_seconds":1786377358,"priority":1,"record_length":96,"hex_timestamp":"0000019fec634ab0"} 
[2026-08-10 21:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-10 21:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312598272001,"66":27463,"34":206,"81":23296,"24":0,"16":376460287290638336,"45":3754946586696679424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312598272001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:28:04] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376460287290638336,"km_value":376460287290638.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3754946586696679424,"description":"Unknown IO ID 45"} 
[2026-08-10 21:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312598272001,"power":27463,"unknown_34":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3754946586696679424}} 
[2026-08-10 21:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":151824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:28:04] local.INFO: GPS data processed {"connection_id":151824,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:28:04] local.INFO: Acknowledgment sent {"connection_id":151824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:28:18] local.INFO: TCP Data received {"connection_id":151823,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:28:18] local.INFO: Processing buffer {"connection_id":151823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:28:18] local.INFO: Packet analysis {"connection_id":151823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:28:18] local.INFO: Extracted packet for processing {"connection_id":151823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312509696001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786377292000,"timestamp_ms":1786377292000,"timestamp_seconds":1786377292,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6248e0"} 
[2026-08-10 21:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:28: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-08-10 21:28: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 21:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312509696001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312509696001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:28:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312509696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":151823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:28:18] local.INFO: GPS data processed {"connection_id":151823,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:28:18] local.INFO: Acknowledgment sent {"connection_id":151823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:28:41] local.INFO: TCP Data received {"connection_id":153135,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:28:41] local.INFO: Processing buffer {"connection_id":153135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:28:41] local.INFO: IMEI packet received {"connection_id":153135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":153135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:28:44] local.INFO: TCP Data received {"connection_id":151824,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec639cb8012d341d8006aa8f98000b00ab2b..."} 
[2026-08-10 21:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec639cb8012d341d8006aa8f98000b00ab2b..."} 
[2026-08-10 21:28:44] local.INFO: Processing buffer {"connection_id":151824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec639cb8012d341d8006aa8f98000b00ab2b..."} 
[2026-08-10 21:28:44] local.INFO: Packet analysis {"connection_id":151824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec63"} 
[2026-08-10 21:28:44] local.INFO: Extracted packet for processing {"connection_id":151824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec63"} 
[2026-08-10 21:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758390144,"raw_latitude":111841176,"longitude_deg":75.8390144,"latitude_deg":11.1841176,"altitude":11,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d341d80","hex_latitude":"06aa8f98","is_valid_coordinates":true} 
[2026-08-10 21:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312603648001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376460287290638336,"note":"Value kept but may cause issues"} 
[2026-08-10 21:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755298430416558080,"note":"Value kept but may cause issues"} 
[2026-08-10 21:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786377379000,"timestamp_ms":1786377379000,"timestamp_seconds":1786377379,"priority":1,"record_length":96,"hex_timestamp":"0000019fec639cb8"} 
[2026-08-10 21:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 21:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312603648001,"66":27376,"34":206,"81":23296,"24":0,"16":376460287290638336,"45":3755298430416558080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312603648001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:28:44] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376460287290638336,"km_value":376460287290638.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755298430416558080,"description":"Unknown IO ID 45"} 
[2026-08-10 21:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312603648001,"power":27376,"unknown_34":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3755298430416558080}} 
[2026-08-10 21:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":151824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:28:44] local.INFO: GPS data processed {"connection_id":151824,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:28:44] local.INFO: Acknowledgment sent {"connection_id":151824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:28:46] local.INFO: TCP Data received {"connection_id":153135,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:28:46] local.INFO: Processing buffer {"connection_id":153135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:28:46] local.INFO: IMEI packet received {"connection_id":153135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":153135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:28:47] local.INFO: TCP Data received {"connection_id":153135,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:28:47] local.INFO: Processing buffer {"connection_id":153135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:28:47] local.INFO: Packet analysis {"connection_id":153135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:28:47] local.INFO: Extracted packet for processing {"connection_id":153135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312509696001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786377292000,"timestamp_ms":1786377292000,"timestamp_seconds":1786377292,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6248e0"} 
[2026-08-10 21:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 21:28: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-08-10 21:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312509696001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312509696001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:28:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312509696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":153135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:28:47] local.INFO: GPS data processed {"connection_id":153135,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:28:47] local.INFO: Acknowledgment sent {"connection_id":153135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:29:03] local.INFO: TCP Data received {"connection_id":154554,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:29:03] local.INFO: Processing buffer {"connection_id":154554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:29:03] local.INFO: IMEI packet received {"connection_id":154554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":154554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:29:08] local.INFO: TCP Data received {"connection_id":154554,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:29:08] local.INFO: Processing buffer {"connection_id":154554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:29:08] local.INFO: IMEI packet received {"connection_id":154554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":154554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:29:10] local.INFO: TCP Data received {"connection_id":154554,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec63eec0012d341d8006aa8f98000b00ab2a..."} 
[2026-08-10 21:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec63eec0012d341d8006aa8f98000b00ab2a..."} 
[2026-08-10 21:29:10] local.INFO: Processing buffer {"connection_id":154554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec63eec0012d341d8006aa8f98000b00ab2a..."} 
[2026-08-10 21:29:10] local.INFO: Packet analysis {"connection_id":154554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec63"} 
[2026-08-10 21:29:10] local.INFO: Extracted packet for processing {"connection_id":154554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec63"} 
[2026-08-10 21:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758390144,"raw_latitude":111841176,"longitude_deg":75.8390144,"latitude_deg":11.1841176,"altitude":11,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d341d80","hex_latitude":"06aa8f98","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312609024001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376460287290638336,"note":"Value kept but may cause issues"} 
[2026-08-10 21:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755298430416558080,"note":"Value kept but may cause issues"} 
[2026-08-10 21:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786377400000,"timestamp_ms":1786377400000,"timestamp_seconds":1786377400,"priority":1,"record_length":96,"hex_timestamp":"0000019fec63eec0"} 
[2026-08-10 21:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-10 21:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:29: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-08-10 21:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312609024001,"66":27169,"34":206,"81":23296,"24":0,"16":376460287290638336,"45":3755298430416558080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312609024001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:29:10] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376460287290638336,"km_value":376460287290638.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755298430416558080,"description":"Unknown IO ID 45"} 
[2026-08-10 21:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312609024001,"power":27169,"unknown_34":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3755298430416558080}} 
[2026-08-10 21:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":154554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:29:10] local.INFO: GPS data processed {"connection_id":154554,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:29:10] local.INFO: Acknowledgment sent {"connection_id":154554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:29:18] local.INFO: TCP Data received {"connection_id":153135,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:29:18] local.INFO: Processing buffer {"connection_id":153135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:29:18] local.INFO: Packet analysis {"connection_id":153135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:29:18] local.INFO: Extracted packet for processing {"connection_id":153135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312509696001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786377292000,"timestamp_ms":1786377292000,"timestamp_seconds":1786377292,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6248e0"} 
[2026-08-10 21:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:29: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-08-10 21:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 21:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312509696001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312509696001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:29:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312509696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":153135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:29:18] local.INFO: GPS data processed {"connection_id":153135,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:29:18] local.INFO: Acknowledgment sent {"connection_id":153135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:29:41] local.INFO: TCP Data received {"connection_id":152206,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:29:41] local.INFO: Processing buffer {"connection_id":152206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:29:41] local.INFO: IMEI packet received {"connection_id":152206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":152206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:29:41] local.INFO: TCP Data received {"connection_id":154554,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6440c8012d341cc006aa8bd8001200ab2c..."} 
[2026-08-10 21:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6440c8012d341cc006aa8bd8001200ab2c..."} 
[2026-08-10 21:29:41] local.INFO: Processing buffer {"connection_id":154554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6440c8012d341cc006aa8bd8001200ab2c..."} 
[2026-08-10 21:29:41] local.INFO: Packet analysis {"connection_id":154554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:29:41] local.INFO: Extracted packet for processing {"connection_id":154554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758389952,"raw_latitude":111840216,"longitude_deg":75.8389952,"latitude_deg":11.1840216,"altitude":18,"angle":171,"satellites":44,"speed":0,"hex_longitude":"2d341cc0","hex_latitude":"06aa8bd8","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312614400001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376460334535278592,"note":"Value kept but may cause issues"} 
[2026-08-10 21:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755298430416558080,"note":"Value kept but may cause issues"} 
[2026-08-10 21:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786377421000,"timestamp_ms":1786377421000,"timestamp_seconds":1786377421,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6440c8"} 
[2026-08-10 21:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-10 21:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312614400001,"66":27321,"34":206,"81":23296,"24":0,"16":376460334535278592,"45":3755298430416558080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312614400001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:29:41] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:29:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376460334535278592,"km_value":376460334535278.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755298430416558080,"description":"Unknown IO ID 45"} 
[2026-08-10 21:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312614400001,"power":27321,"unknown_34":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3755298430416558080}} 
[2026-08-10 21:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":154554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:29:41] local.INFO: GPS data processed {"connection_id":154554,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:29:41] local.INFO: Acknowledgment sent {"connection_id":154554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:29:46] local.INFO: TCP Data received {"connection_id":152206,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:29:46] local.INFO: Processing buffer {"connection_id":152206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:29:46] local.INFO: IMEI packet received {"connection_id":152206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":152206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:29:47] local.INFO: TCP Data received {"connection_id":152206,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:29:47] local.INFO: Processing buffer {"connection_id":152206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:29:47] local.INFO: Packet analysis {"connection_id":152206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:29:47] local.INFO: Extracted packet for processing {"connection_id":152206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312509696001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786377292000,"timestamp_ms":1786377292000,"timestamp_seconds":1786377292,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6248e0"} 
[2026-08-10 21:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 21:29: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-08-10 21:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312509696001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312509696001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:29:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312509696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":152206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:29:47] local.INFO: GPS data processed {"connection_id":152206,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:29:47] local.INFO: Acknowledgment sent {"connection_id":152206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:30:03] local.INFO: TCP Data received {"connection_id":154555,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:30:03] local.INFO: Processing buffer {"connection_id":154555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:30:03] local.INFO: IMEI packet received {"connection_id":154555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":154555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:30:18] local.INFO: TCP Data received {"connection_id":154555,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:30:18] local.INFO: Processing buffer {"connection_id":154555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:30:18] local.INFO: IMEI packet received {"connection_id":154555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":154555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:30:18] local.INFO: TCP Data received {"connection_id":152206,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:30:18] local.INFO: Processing buffer {"connection_id":152206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6248e0012d196580071ff038003b014229..."} 
[2026-08-10 21:30:18] local.INFO: Packet analysis {"connection_id":152206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:30:18] local.INFO: Extracted packet for processing {"connection_id":152206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec62"} 
[2026-08-10 21:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312509696001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786377292000,"timestamp_ms":1786377292000,"timestamp_seconds":1786377292,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6248e0"} 
[2026-08-10 21:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:30: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-08-10 21:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 21:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312509696001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312509696001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:30:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312509696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":152206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:30:18] local.INFO: GPS data processed {"connection_id":152206,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:30:18] local.INFO: Acknowledgment sent {"connection_id":152206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:30:19] local.INFO: TCP Data received {"connection_id":154555,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec647f48012d341e4006aa83d0001200d22c..."} 
[2026-08-10 21:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec647f48012d341e4006aa83d0001200d22c..."} 
[2026-08-10 21:30:19] local.INFO: Processing buffer {"connection_id":154555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec647f48012d341e4006aa83d0001200d22c..."} 
[2026-08-10 21:30:19] local.INFO: Packet analysis {"connection_id":154555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:30:19] local.INFO: Extracted packet for processing {"connection_id":154555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758390336,"raw_latitude":111838160,"longitude_deg":75.8390336,"latitude_deg":11.183816,"altitude":18,"angle":210,"satellites":44,"speed":7,"hex_longitude":"2d341e40","hex_latitude":"06aa83d0","is_valid_coordinates":true} 
[2026-08-10 21:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312619776001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376460441909460992,"note":"Value kept but may cause issues"} 
[2026-08-10 21:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755087324183779328,"note":"Value kept but may cause issues"} 
[2026-08-10 21:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786377437000,"timestamp_ms":1786377437000,"timestamp_seconds":1786377437,"priority":1,"record_length":96,"hex_timestamp":"0000019fec647f48"} 
[2026-08-10 21:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 21:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312619776001,"66":27267,"34":206,"81":23296,"24":7,"16":376460441909460992,"45":3755087324183779328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312619776001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:30:19] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376460441909460992,"km_value":376460441909461.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755087324183779328,"description":"Unknown IO ID 45"} 
[2026-08-10 21:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312619776001,"power":27267,"unknown_34":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3755087324183779328}} 
[2026-08-10 21:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":154555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:30:19] local.INFO: GPS data processed {"connection_id":154555,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:30:19] local.INFO: Acknowledgment sent {"connection_id":154555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:30:46] local.INFO: TCP Data received {"connection_id":153136,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:30:46] local.INFO: Processing buffer {"connection_id":153136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:30:46] local.INFO: IMEI packet received {"connection_id":153136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":153136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:30:51] local.INFO: TCP Data received {"connection_id":153136,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:30:51] local.INFO: Processing buffer {"connection_id":153136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:30:51] local.INFO: IMEI packet received {"connection_id":153136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":153136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:30:52] local.INFO: TCP Data received {"connection_id":153136,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:30:52] local.INFO: Processing buffer {"connection_id":153136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:30:52] local.INFO: Packet analysis {"connection_id":153136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:30:52] local.INFO: Extracted packet for processing {"connection_id":153136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312586752001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786377593000,"timestamp_ms":1786377593000,"timestamp_seconds":1786377593,"priority":1,"record_length":96,"hex_timestamp":"0000019fec66e0a8"} 
[2026-08-10 21:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312586752001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312586752001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:30:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:30:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312586752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":153136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:30:52] local.INFO: GPS data processed {"connection_id":153136,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:30:52] local.INFO: Acknowledgment sent {"connection_id":153136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:30:58] local.INFO: TCP Data received {"connection_id":153137,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:30:58] local.INFO: Processing buffer {"connection_id":153137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:30:58] local.INFO: IMEI packet received {"connection_id":153137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":153137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:31:03] local.INFO: TCP Data received {"connection_id":153137,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:31:03] local.INFO: Processing buffer {"connection_id":153137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:31:03] local.INFO: IMEI packet received {"connection_id":153137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":153137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:31:04] local.INFO: TCP Data received {"connection_id":153137,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec648330012d341dc006aa8330001200e12c..."} 
[2026-08-10 21:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec648330012d341dc006aa8330001200e12c..."} 
[2026-08-10 21:31:04] local.INFO: Processing buffer {"connection_id":153137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec648330012d341dc006aa8330001200e12c..."} 
[2026-08-10 21:31:04] local.INFO: Packet analysis {"connection_id":153137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:31:04] local.INFO: Extracted packet for processing {"connection_id":153137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758390208,"raw_latitude":111838000,"longitude_deg":75.8390208,"latitude_deg":11.1838,"altitude":18,"angle":225,"satellites":44,"speed":8,"hex_longitude":"2d341dc0","hex_latitude":"06aa8330","is_valid_coordinates":true} 
[2026-08-10 21:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312623872001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376460450499395584,"note":"Value kept but may cause issues"} 
[2026-08-10 21:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755509536648318976,"note":"Value kept but may cause issues"} 
[2026-08-10 21:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786377438000,"timestamp_ms":1786377438000,"timestamp_seconds":1786377438,"priority":1,"record_length":96,"hex_timestamp":"0000019fec648330"} 
[2026-08-10 21:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 21:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312623872001,"66":27267,"34":206,"81":23296,"24":8,"16":376460450499395584,"45":3755509536648318976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312623872001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:31:04] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376460450499395584,"km_value":376460450499395.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755509536648318976,"description":"Unknown IO ID 45"} 
[2026-08-10 21:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312623872001,"power":27267,"unknown_34":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3755509536648318976}} 
[2026-08-10 21:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":153137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:31:04] local.INFO: GPS data processed {"connection_id":153137,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:31:04] local.INFO: Acknowledgment sent {"connection_id":153137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:31:23] local.INFO: TCP Data received {"connection_id":153136,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:31:23] local.INFO: Processing buffer {"connection_id":153136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:31:23] local.INFO: Packet analysis {"connection_id":153136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:31:23] local.INFO: Extracted packet for processing {"connection_id":153136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312586752001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786377593000,"timestamp_ms":1786377593000,"timestamp_seconds":1786377593,"priority":1,"record_length":96,"hex_timestamp":"0000019fec66e0a8"} 
[2026-08-10 21:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312586752001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312586752001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:31:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312586752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":153136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:31:23] local.INFO: GPS data processed {"connection_id":153136,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:31:23] local.INFO: Acknowledgment sent {"connection_id":153136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:31:36] local.INFO: TCP Data received {"connection_id":153137,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec648718012d341d0006aa82a0001200f12c..."} 
[2026-08-10 21:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec648718012d341d0006aa82a0001200f12c..."} 
[2026-08-10 21:31:36] local.INFO: Processing buffer {"connection_id":153137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec648718012d341d0006aa82a0001200f12c..."} 
[2026-08-10 21:31:36] local.INFO: Packet analysis {"connection_id":153137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:31:36] local.INFO: Extracted packet for processing {"connection_id":153137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758390016,"raw_latitude":111837856,"longitude_deg":75.8390016,"latitude_deg":11.1837856,"altitude":18,"angle":241,"satellites":44,"speed":10,"hex_longitude":"2d341d00","hex_latitude":"06aa82a0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312624128001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376460459089330176,"note":"Value kept but may cause issues"} 
[2026-08-10 21:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755368799159922688,"note":"Value kept but may cause issues"} 
[2026-08-10 21:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786377439000,"timestamp_ms":1786377439000,"timestamp_seconds":1786377439,"priority":1,"record_length":96,"hex_timestamp":"0000019fec648718"} 
[2026-08-10 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-08-10 21:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 21:31: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-08-10 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-08-10 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-08-10 21:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312624128001,"66":27245,"34":206,"81":23296,"24":10,"16":376460459089330176,"45":3755368799159922688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312624128001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:31:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376460459089330176,"km_value":376460459089330.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755368799159922688,"description":"Unknown IO ID 45"} 
[2026-08-10 21:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312624128001,"power":27245,"unknown_34":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3755368799159922688}} 
[2026-08-10 21:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":153137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:31:36] local.INFO: GPS data processed {"connection_id":153137,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:31:36] local.INFO: Acknowledgment sent {"connection_id":153137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:31:41] local.INFO: TCP Data received {"connection_id":154556,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:31:41] local.INFO: Processing buffer {"connection_id":154556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:31:41] local.INFO: IMEI packet received {"connection_id":154556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":154556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:31:46] local.INFO: TCP Data received {"connection_id":154556,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:31:46] local.INFO: Processing buffer {"connection_id":154556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:31:46] local.INFO: IMEI packet received {"connection_id":154556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":154556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:31:47] local.INFO: TCP Data received {"connection_id":154556,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:31:47] local.INFO: Processing buffer {"connection_id":154556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:31:47] local.INFO: Packet analysis {"connection_id":154556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:31:47] local.INFO: Extracted packet for processing {"connection_id":154556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:31:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312586752001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786377593000,"timestamp_ms":1786377593000,"timestamp_seconds":1786377593,"priority":1,"record_length":96,"hex_timestamp":"0000019fec66e0a8"} 
[2026-08-10 21:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312586752001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312586752001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:31:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:31:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312586752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":154556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:31:47] local.INFO: GPS data processed {"connection_id":154556,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:31:47] local.INFO: Acknowledgment sent {"connection_id":154556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:31:57] local.INFO: TCP Data received {"connection_id":151825,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:31:57] local.INFO: Processing buffer {"connection_id":151825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:31:57] local.INFO: IMEI packet received {"connection_id":151825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":151825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:32:03] local.INFO: TCP Data received {"connection_id":151825,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:32:03] local.INFO: Processing buffer {"connection_id":151825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:32:03] local.INFO: IMEI packet received {"connection_id":151825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":151825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:32:04] local.INFO: TCP Data received {"connection_id":151825,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fec648ee8012d341ac006aa81e8001100fe2c..."} 
[2026-08-10 21:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec648ee8012d341ac006aa81e8001100fe2c..."} 
[2026-08-10 21:32:04] local.INFO: Processing buffer {"connection_id":151825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec648ee8012d341ac006aa81e8001100fe2c..."} 
[2026-08-10 21:32:04] local.INFO: Packet analysis {"connection_id":151825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:32:04] local.INFO: Extracted packet for processing {"connection_id":151825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758389440,"raw_latitude":111837672,"longitude_deg":75.838944,"latitude_deg":11.1837672,"altitude":17,"angle":254,"satellites":44,"speed":15,"hex_longitude":"2d341ac0","hex_latitude":"06aa81e8","is_valid_coordinates":true} 
[2026-08-10 21:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312624384001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376460489154101248,"note":"Value kept but may cause issues"} 
[2026-08-10 21:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755157692927352832,"note":"Value kept but may cause issues"} 
[2026-08-10 21:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786377441000,"timestamp_ms":1786377441000,"timestamp_seconds":1786377441,"priority":1,"record_length":96,"hex_timestamp":"0000019fec648ee8"} 
[2026-08-10 21:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 21:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312624384001,"66":27245,"34":206,"81":23296,"24":15,"16":376460489154101248,"45":3755157692927352832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312624384001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:32:04] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376460489154101248,"km_value":376460489154101.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755157692927352832,"description":"Unknown IO ID 45"} 
[2026-08-10 21:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312624384001,"power":27245,"unknown_34":206,"unknown_81":23296,"ignition":15,"odometer":null,"unknown_45":3755157692927352832}} 
[2026-08-10 21:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":151825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:32:04] local.INFO: GPS data processed {"connection_id":151825,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:32:04] local.INFO: Acknowledgment sent {"connection_id":151825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:32:18] local.INFO: TCP Data received {"connection_id":154556,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:32:18] local.INFO: Processing buffer {"connection_id":154556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:32:18] local.INFO: Packet analysis {"connection_id":154556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:32:18] local.INFO: Extracted packet for processing {"connection_id":154556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312586752001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786377593000,"timestamp_ms":1786377593000,"timestamp_seconds":1786377593,"priority":1,"record_length":96,"hex_timestamp":"0000019fec66e0a8"} 
[2026-08-10 21:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:32: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-08-10 21:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312586752001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312586752001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:32:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312586752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":154556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:32:18] local.INFO: GPS data processed {"connection_id":154556,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:32:18] local.INFO: Acknowledgment sent {"connection_id":154556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:32:37] local.INFO: TCP Data received {"connection_id":151825,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fec64cd68012d33f8c006aa77d0001200f52a..."} 
[2026-08-10 21:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec64cd68012d33f8c006aa77d0001200f52a..."} 
[2026-08-10 21:32:37] local.INFO: Processing buffer {"connection_id":151825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec64cd68012d33f8c006aa77d0001200f52a..."} 
[2026-08-10 21:32:37] local.INFO: Packet analysis {"connection_id":151825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:32:37] local.INFO: Extracted packet for processing {"connection_id":151825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758380736,"raw_latitude":111835088,"longitude_deg":75.8380736,"latitude_deg":11.1835088,"altitude":18,"angle":245,"satellites":42,"speed":29,"hex_longitude":"2d33f8c0","hex_latitude":"06aa77d0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312624896001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376460922945798144,"note":"Value kept but may cause issues"} 
[2026-08-10 21:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3754524374229706752,"note":"Value kept but may cause issues"} 
[2026-08-10 21:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786377457000,"timestamp_ms":1786377457000,"timestamp_seconds":1786377457,"priority":1,"record_length":96,"hex_timestamp":"0000019fec64cd68"} 
[2026-08-10 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-08-10 21:32: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-08-10 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 21:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312624896001,"66":27267,"34":206,"81":23296,"24":29,"16":376460922945798144,"45":3754524374229706752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312624896001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:32:37] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376460922945798144,"km_value":376460922945798.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3754524374229706752,"description":"Unknown IO ID 45"} 
[2026-08-10 21:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312624896001,"power":27267,"unknown_34":206,"unknown_81":23296,"ignition":29,"odometer":null,"unknown_45":3754524374229706752}} 
[2026-08-10 21:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":151825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:32:37] local.INFO: GPS data processed {"connection_id":151825,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:32:37] local.INFO: Acknowledgment sent {"connection_id":151825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:32:42] local.INFO: TCP Data received {"connection_id":153138,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:32:42] local.INFO: Processing buffer {"connection_id":153138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:32:42] local.INFO: IMEI packet received {"connection_id":153138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":153138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:32:46] local.INFO: TCP Data received {"connection_id":153138,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:32:46] local.INFO: Processing buffer {"connection_id":153138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:32:46] local.INFO: IMEI packet received {"connection_id":153138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":153138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:32:47] local.INFO: TCP Data received {"connection_id":153138,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:32:47] local.INFO: Processing buffer {"connection_id":153138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:32:47] local.INFO: Packet analysis {"connection_id":153138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:32:47] local.INFO: Extracted packet for processing {"connection_id":153138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312586752001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786377593000,"timestamp_ms":1786377593000,"timestamp_seconds":1786377593,"priority":1,"record_length":96,"hex_timestamp":"0000019fec66e0a8"} 
[2026-08-10 21:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312586752001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312586752001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:32:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312586752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":153138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:32:47] local.INFO: GPS data processed {"connection_id":153138,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:32:47] local.INFO: Acknowledgment sent {"connection_id":153138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:32:57] local.INFO: TCP Data received {"connection_id":152207,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:32:58] local.INFO: Processing buffer {"connection_id":152207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:32:58] local.INFO: IMEI packet received {"connection_id":152207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":152207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:33:03] local.INFO: TCP Data received {"connection_id":152207,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:33:03] local.INFO: Processing buffer {"connection_id":152207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:33:03] local.INFO: IMEI packet received {"connection_id":152207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":152207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:33:04] local.INFO: TCP Data received {"connection_id":152207,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec64d920012d33f10006aa7390001100ea2b..."} 
[2026-08-10 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec64d920012d33f10006aa7390001100ea2b..."} 
[2026-08-10 21:33:04] local.INFO: Processing buffer {"connection_id":152207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec64d920012d33f10006aa7390001100ea2b..."} 
[2026-08-10 21:33:04] local.INFO: Packet analysis {"connection_id":152207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:33:04] local.INFO: Extracted packet for processing {"connection_id":152207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec64"} 
[2026-08-10 21:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758378752,"raw_latitude":111834000,"longitude_deg":75.8378752,"latitude_deg":11.1834,"altitude":17,"angle":234,"satellites":43,"speed":29,"hex_longitude":"2d33f100","hex_latitude":"06aa7390","is_valid_coordinates":true} 
[2026-08-10 21:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312628992001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376461030319980544,"note":"Value kept but may cause issues"} 
[2026-08-10 21:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3744954225020882944,"note":"Value kept but may cause issues"} 
[2026-08-10 21:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786377460000,"timestamp_ms":1786377460000,"timestamp_seconds":1786377460,"priority":1,"record_length":96,"hex_timestamp":"0000019fec64d920"} 
[2026-08-10 21:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 21:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312628992001,"66":27115,"34":206,"81":23296,"24":29,"16":376461030319980544,"45":3744954225020882944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312628992001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:33:04] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376461030319980544,"km_value":376461030319980.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3744954225020882944,"description":"Unknown IO ID 45"} 
[2026-08-10 21:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312628992001,"power":27115,"unknown_34":206,"unknown_81":23296,"ignition":29,"odometer":null,"unknown_45":3744954225020882944}} 
[2026-08-10 21:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":152207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:33:04] local.INFO: GPS data processed {"connection_id":152207,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:33:04] local.INFO: Acknowledgment sent {"connection_id":152207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:33:18] local.INFO: TCP Data received {"connection_id":153138,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:33:18] local.INFO: Processing buffer {"connection_id":153138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:33:18] local.INFO: Packet analysis {"connection_id":153138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:33:18] local.INFO: Extracted packet for processing {"connection_id":153138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312586752001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786377593000,"timestamp_ms":1786377593000,"timestamp_seconds":1786377593,"priority":1,"record_length":96,"hex_timestamp":"0000019fec66e0a8"} 
[2026-08-10 21:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:33: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-08-10 21:33: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312586752001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312586752001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:33:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312586752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":153138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:33:18] local.INFO: GPS data processed {"connection_id":153138,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:33:18] local.INFO: Acknowledgment sent {"connection_id":153138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:33:36] local.INFO: TCP Data received {"connection_id":152207,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec650fd0012d33d88006aa5d28000b00dd2b..."} 
[2026-08-10 21:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec650fd0012d33d88006aa5d28000b00dd2b..."} 
[2026-08-10 21:33:36] local.INFO: Processing buffer {"connection_id":152207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec650fd0012d33d88006aa5d28000b00dd2b..."} 
[2026-08-10 21:33:36] local.INFO: Packet analysis {"connection_id":152207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec65"} 
[2026-08-10 21:33:36] local.INFO: Extracted packet for processing {"connection_id":152207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec65"} 
[2026-08-10 21:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758372480,"raw_latitude":111828264,"longitude_deg":75.837248,"latitude_deg":11.1828264,"altitude":11,"angle":221,"satellites":43,"speed":17,"hex_longitude":"2d33d880","hex_latitude":"06aa5d28","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312629760001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376461438341873664,"note":"Value kept but may cause issues"} 
[2026-08-10 21:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3742772793951096832,"note":"Value kept but may cause issues"} 
[2026-08-10 21:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786377474000,"timestamp_ms":1786377474000,"timestamp_seconds":1786377474,"priority":1,"record_length":96,"hex_timestamp":"0000019fec650fd0"} 
[2026-08-10 21:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-10 21:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312629760001,"66":27484,"34":206,"81":23296,"24":17,"16":376461438341873664,"45":3742772793951096832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312629760001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:33:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376461438341873664,"km_value":376461438341873.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3742772793951096832,"description":"Unknown IO ID 45"} 
[2026-08-10 21:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312629760001,"power":27484,"unknown_34":206,"unknown_81":23296,"ignition":17,"odometer":null,"unknown_45":3742772793951096832}} 
[2026-08-10 21:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":152207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:33:36] local.INFO: GPS data processed {"connection_id":152207,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:33:36] local.INFO: Acknowledgment sent {"connection_id":152207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:33:41] local.INFO: TCP Data received {"connection_id":151826,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:33:41] local.INFO: Processing buffer {"connection_id":151826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:33:41] local.INFO: IMEI packet received {"connection_id":151826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":151826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:33:46] local.INFO: TCP Data received {"connection_id":151826,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:33:46] local.INFO: Processing buffer {"connection_id":151826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:33:46] local.INFO: IMEI packet received {"connection_id":151826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":151826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:33:47] local.INFO: TCP Data received {"connection_id":151826,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:33:47] local.INFO: Processing buffer {"connection_id":151826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:33:47] local.INFO: Packet analysis {"connection_id":151826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:33:47] local.INFO: Extracted packet for processing {"connection_id":151826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312586752001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786377593000,"timestamp_ms":1786377593000,"timestamp_seconds":1786377593,"priority":1,"record_length":96,"hex_timestamp":"0000019fec66e0a8"} 
[2026-08-10 21:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312586752001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312586752001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:33:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312586752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":151826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:33:47] local.INFO: GPS data processed {"connection_id":151826,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:33:47] local.INFO: Acknowledgment sent {"connection_id":151826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:33:59] local.INFO: TCP Data received {"connection_id":151827,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:33:59] local.INFO: Processing buffer {"connection_id":151827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:33:59] local.INFO: IMEI packet received {"connection_id":151827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":151827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:34:03] local.INFO: TCP Data received {"connection_id":151827,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:34:03] local.INFO: Processing buffer {"connection_id":151827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:34:03] local.INFO: IMEI packet received {"connection_id":151827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":151827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:34:08] local.INFO: TCP Data received {"connection_id":151827,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:34:08] local.INFO: Processing buffer {"connection_id":151827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:34:08] local.INFO: IMEI packet received {"connection_id":151827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":151827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:34:09] local.INFO: TCP Data received {"connection_id":151827,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fec654e50012d33bf0006aa41e8000a00d52b..."} 
[2026-08-10 21:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec654e50012d33bf0006aa41e8000a00d52b..."} 
[2026-08-10 21:34:09] local.INFO: Processing buffer {"connection_id":151827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec654e50012d33bf0006aa41e8000a00d52b..."} 
[2026-08-10 21:34:09] local.INFO: Packet analysis {"connection_id":151827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec65"} 
[2026-08-10 21:34:09] local.INFO: Extracted packet for processing {"connection_id":151827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec65"} 
[2026-08-10 21:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758365952,"raw_latitude":111821288,"longitude_deg":75.8365952,"latitude_deg":11.1821288,"altitude":10,"angle":213,"satellites":43,"speed":27,"hex_longitude":"2d33bf00","hex_latitude":"06aa41e8","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312633344001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376461902198341632,"note":"Value kept but may cause issues"} 
[2026-08-10 21:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3735876657020217344,"note":"Value kept but may cause issues"} 
[2026-08-10 21:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786377490000,"timestamp_ms":1786377490000,"timestamp_seconds":1786377490,"priority":1,"record_length":96,"hex_timestamp":"0000019fec654e50"} 
[2026-08-10 21:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 21:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312633344001,"66":27919,"34":206,"81":23296,"24":27,"16":376461902198341632,"45":3735876657020217344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312633344001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:34:09] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376461902198341632,"km_value":376461902198341.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3735876657020217344,"description":"Unknown IO ID 45"} 
[2026-08-10 21:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312633344001,"power":27919,"unknown_34":206,"unknown_81":23296,"ignition":27,"odometer":null,"unknown_45":3735876657020217344}} 
[2026-08-10 21:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":151827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:34:09] local.INFO: GPS data processed {"connection_id":151827,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:34:09] local.INFO: Acknowledgment sent {"connection_id":151827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:34:13] local.INFO: TCP Data received {"connection_id":151827,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6561d8012d33b88006aa3648000c00ce2c..."} 
[2026-08-10 21:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6561d8012d33b88006aa3648000c00ce2c..."} 
[2026-08-10 21:34:13] local.INFO: Processing buffer {"connection_id":151827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6561d8012d33b88006aa3648000c00ce2c..."} 
[2026-08-10 21:34:13] local.INFO: Packet analysis {"connection_id":151827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec65"} 
[2026-08-10 21:34:13] local.INFO: Extracted packet for processing {"connection_id":151827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec65"} 
[2026-08-10 21:34:13] local.INFO: GPS Element Parsed {"raw_longitude":758364288,"raw_latitude":111818312,"longitude_deg":75.8364288,"latitude_deg":11.1818312,"altitude":12,"angle":206,"satellites":44,"speed":25,"hex_longitude":"2d33b880","hex_latitude":"06aa3648","is_valid_coordinates":true} 
[2026-08-10 21:34: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-08-10 21:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312637440001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3728699045112309760,"note":"Value kept but may cause issues"} 
[2026-08-10 21:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786377495000,"timestamp_ms":1786377495000,"timestamp_seconds":1786377495,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6561d8"} 
[2026-08-10 21:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 21:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312637440001,"66":27865,"34":206,"81":23296,"24":25,"16":376462065407098880,"45":3728699045112309760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312637440001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:34:13] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:34:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3728699045112309760,"description":"Unknown IO ID 45"} 
[2026-08-10 21:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312637440001,"power":27865,"unknown_34":206,"unknown_81":23296,"ignition":25,"odometer":null,"unknown_45":3728699045112309760}} 
[2026-08-10 21:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":151827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:34:13] local.INFO: GPS data processed {"connection_id":151827,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:34:13] local.INFO: Acknowledgment sent {"connection_id":151827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:34:18] local.INFO: TCP Data received {"connection_id":151826,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:34:18] local.INFO: Processing buffer {"connection_id":151826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:34:18] local.INFO: Packet analysis {"connection_id":151826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:34:18] local.INFO: Extracted packet for processing {"connection_id":151826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312586752001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786377593000,"timestamp_ms":1786377593000,"timestamp_seconds":1786377593,"priority":1,"record_length":96,"hex_timestamp":"0000019fec66e0a8"} 
[2026-08-10 21:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:34: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-08-10 21:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312586752001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312586752001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:34:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312586752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":151826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:34:18] local.INFO: GPS data processed {"connection_id":151826,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:34:18] local.INFO: Acknowledgment sent {"connection_id":151826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:34:41] local.INFO: TCP Data received {"connection_id":152208,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:34:41] local.INFO: Processing buffer {"connection_id":152208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:34:41] local.INFO: IMEI packet received {"connection_id":152208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":152208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:34:46] local.INFO: TCP Data received {"connection_id":152208,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:34:46] local.INFO: Processing buffer {"connection_id":152208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:34:46] local.INFO: IMEI packet received {"connection_id":152208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":152208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:34:47] local.INFO: TCP Data received {"connection_id":152208,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:34:47] local.INFO: Processing buffer {"connection_id":152208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:34:47] local.INFO: Packet analysis {"connection_id":152208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:34:47] local.INFO: Extracted packet for processing {"connection_id":152208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312586752001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786377593000,"timestamp_ms":1786377593000,"timestamp_seconds":1786377593,"priority":1,"record_length":96,"hex_timestamp":"0000019fec66e0a8"} 
[2026-08-10 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-08-10 21:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312586752001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312586752001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:34:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:34:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312586752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":152208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:34:47] local.INFO: GPS data processed {"connection_id":152208,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:34:47] local.INFO: Acknowledgment sent {"connection_id":152208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:34:57] local.INFO: TCP Data received {"connection_id":154557,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:34:57] local.INFO: Processing buffer {"connection_id":154557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:34:57] local.INFO: IMEI packet received {"connection_id":154557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":154557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:35:03] local.INFO: TCP Data received {"connection_id":154557,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:35:03] local.INFO: Processing buffer {"connection_id":154557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:35:03] local.INFO: IMEI packet received {"connection_id":154557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":154557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:35:04] local.INFO: TCP Data received {"connection_id":154557,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:35:04] local.INFO: Processing buffer {"connection_id":154557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:35:04] local.INFO: Packet analysis {"connection_id":154557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:35:04] local.INFO: Extracted packet for processing {"connection_id":154557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111812192,"longitude_deg":75.8362368,"latitude_deg":11.1812192,"altitude":5,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d33b100","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-08-10 21:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312638720001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726869457762928640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786377801000,"timestamp_ms":1786377801000,"timestamp_seconds":1786377801,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6a0d28"} 
[2026-08-10 21:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-10 21:35: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-08-10 21:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312638720001,"66":26136,"101":206,"81":23296,"24":0,"16":376462065407098880,"45":3726869457762928640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-10 21:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312638720001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:35:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 21:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726869457762928640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312638720001,"power":26136,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3726869457762928640}} 
[2026-08-10 21:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":154557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:35:04] local.INFO: GPS data processed {"connection_id":154557,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:35:04] local.INFO: Acknowledgment sent {"connection_id":154557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:35:18] local.INFO: TCP Data received {"connection_id":152208,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:35:18] local.INFO: Processing buffer {"connection_id":152208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec66e0a8012d196580071ff038003b014225..."} 
[2026-08-10 21:35:18] local.INFO: Packet analysis {"connection_id":152208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:35:18] local.INFO: Extracted packet for processing {"connection_id":152208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec66"} 
[2026-08-10 21:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":59,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312586752001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786377593000,"timestamp_ms":1786377593000,"timestamp_seconds":1786377593,"priority":1,"record_length":96,"hex_timestamp":"0000019fec66e0a8"} 
[2026-08-10 21:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:35: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-08-10 21:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312586752001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312586752001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:35:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312586752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":152208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:35:18] local.INFO: GPS data processed {"connection_id":152208,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:35:18] local.INFO: Acknowledgment sent {"connection_id":152208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:35:36] local.INFO: TCP Data received {"connection_id":154557,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:35:36] local.INFO: Processing buffer {"connection_id":154557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:35:36] local.INFO: Packet analysis {"connection_id":154557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:35:36] local.INFO: Extracted packet for processing {"connection_id":154557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111812192,"longitude_deg":75.8362368,"latitude_deg":11.1812192,"altitude":5,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d33b100","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-08-10 21:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312638720001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726869457762928640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786377801000,"timestamp_ms":1786377801000,"timestamp_seconds":1786377801,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6a0d28"} 
[2026-08-10 21:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-10 21:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312638720001,"66":26136,"101":206,"81":23296,"24":0,"16":376462065407098880,"45":3726869457762928640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-10 21:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312638720001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:35:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 21:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726869457762928640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312638720001,"power":26136,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3726869457762928640}} 
[2026-08-10 21:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":154557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:35:36] local.INFO: GPS data processed {"connection_id":154557,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:35:36] local.INFO: Acknowledgment sent {"connection_id":154557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:35:46] local.INFO: TCP Data received {"connection_id":153139,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:35:46] local.INFO: Processing buffer {"connection_id":153139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:35:46] local.INFO: IMEI packet received {"connection_id":153139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":153139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:35:51] local.INFO: TCP Data received {"connection_id":153139,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:35:51] local.INFO: Processing buffer {"connection_id":153139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:35:51] local.INFO: IMEI packet received {"connection_id":153139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":153139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:35:52] local.INFO: TCP Data received {"connection_id":153139,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:35:52] local.INFO: Processing buffer {"connection_id":153139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:35:52] local.INFO: Packet analysis {"connection_id":153139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:35:52] local.INFO: Extracted packet for processing {"connection_id":153139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:35:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312663808001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786377894000,"timestamp_ms":1786377894000,"timestamp_seconds":1786377894,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6b7870"} 
[2026-08-10 21:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312663808001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312663808001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:35:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:35:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312663808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":153139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:35:52] local.INFO: GPS data processed {"connection_id":153139,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:35:52] local.INFO: Acknowledgment sent {"connection_id":153139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:36:03] local.INFO: TCP Data received {"connection_id":153140,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:36:03] local.INFO: Processing buffer {"connection_id":153140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:36:03] local.INFO: IMEI packet received {"connection_id":153140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":153140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:36:08] local.INFO: TCP Data received {"connection_id":153140,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:36:08] local.INFO: Processing buffer {"connection_id":153140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:36:08] local.INFO: IMEI packet received {"connection_id":153140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":153140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:36:09] local.INFO: TCP Data received {"connection_id":153140,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:36:09] local.INFO: Processing buffer {"connection_id":153140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:36:09] local.INFO: Packet analysis {"connection_id":153140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:36:09] local.INFO: Extracted packet for processing {"connection_id":153140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111812192,"longitude_deg":75.8362368,"latitude_deg":11.1812192,"altitude":5,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d33b100","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312638720001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726869457762928640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786377801000,"timestamp_ms":1786377801000,"timestamp_seconds":1786377801,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6a0d28"} 
[2026-08-10 21:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-10 21:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312638720001,"66":26136,"101":206,"81":23296,"24":0,"16":376462065407098880,"45":3726869457762928640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-10 21:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312638720001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:36:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 21:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726869457762928640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312638720001,"power":26136,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3726869457762928640}} 
[2026-08-10 21:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":153140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:36:09] local.INFO: GPS data processed {"connection_id":153140,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:36:09] local.INFO: Acknowledgment sent {"connection_id":153140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:36:23] local.INFO: TCP Data received {"connection_id":153139,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:36:23] local.INFO: Processing buffer {"connection_id":153139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:36:23] local.INFO: Packet analysis {"connection_id":153139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:36:23] local.INFO: Extracted packet for processing {"connection_id":153139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312663808001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786377894000,"timestamp_ms":1786377894000,"timestamp_seconds":1786377894,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6b7870"} 
[2026-08-10 21:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:36: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-08-10 21:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312663808001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312663808001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:36:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312663808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":153139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:36:23] local.INFO: GPS data processed {"connection_id":153139,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:36:23] local.INFO: Acknowledgment sent {"connection_id":153139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:36:41] local.INFO: TCP Data received {"connection_id":153140,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:36:41] local.INFO: Processing buffer {"connection_id":153140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:36:41] local.INFO: Packet analysis {"connection_id":153140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:36:41] local.INFO: Extracted packet for processing {"connection_id":153140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:36:41] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111812192,"longitude_deg":75.8362368,"latitude_deg":11.1812192,"altitude":5,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d33b100","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312638720001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726869457762928640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786377801000,"timestamp_ms":1786377801000,"timestamp_seconds":1786377801,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6a0d28"} 
[2026-08-10 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-08-10 21:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-10 21:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312638720001,"66":26136,"101":206,"81":23296,"24":0,"16":376462065407098880,"45":3726869457762928640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-10 21:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312638720001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:36:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 21:36:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726869457762928640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312638720001,"power":26136,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3726869457762928640}} 
[2026-08-10 21:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":153140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:36:41] local.INFO: GPS data processed {"connection_id":153140,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:36:41] local.INFO: Acknowledgment sent {"connection_id":153140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:36:41] local.INFO: TCP Data received {"connection_id":151828,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:36:41] local.INFO: Processing buffer {"connection_id":151828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:36:41] local.INFO: IMEI packet received {"connection_id":151828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":151828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:36:46] local.INFO: TCP Data received {"connection_id":151828,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:36:46] local.INFO: Processing buffer {"connection_id":151828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:36:46] local.INFO: IMEI packet received {"connection_id":151828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":151828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:36:47] local.INFO: TCP Data received {"connection_id":151828,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:36:47] local.INFO: Processing buffer {"connection_id":151828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:36:47] local.INFO: Packet analysis {"connection_id":151828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:36:47] local.INFO: Extracted packet for processing {"connection_id":151828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312663808001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786377894000,"timestamp_ms":1786377894000,"timestamp_seconds":1786377894,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6b7870"} 
[2026-08-10 21:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:36: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-08-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312663808001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312663808001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:36:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312663808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":151828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:36:47] local.INFO: GPS data processed {"connection_id":151828,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:36:47] local.INFO: Acknowledgment sent {"connection_id":151828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:36:58] local.INFO: TCP Data received {"connection_id":152209,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:36:58] local.INFO: Processing buffer {"connection_id":152209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:36:58] local.INFO: IMEI packet received {"connection_id":152209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":152209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:37:03] local.INFO: TCP Data received {"connection_id":152209,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:37:03] local.INFO: Processing buffer {"connection_id":152209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:37:03] local.INFO: IMEI packet received {"connection_id":152209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":152209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:37:04] local.INFO: TCP Data received {"connection_id":152209,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:37:04] local.INFO: Processing buffer {"connection_id":152209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:37:04] local.INFO: Packet analysis {"connection_id":152209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:37:04] local.INFO: Extracted packet for processing {"connection_id":152209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111812192,"longitude_deg":75.8362368,"latitude_deg":11.1812192,"altitude":5,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d33b100","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-08-10 21:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312638720001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726869457762928640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786377801000,"timestamp_ms":1786377801000,"timestamp_seconds":1786377801,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6a0d28"} 
[2026-08-10 21:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-10 21:37: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-08-10 21:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312638720001,"66":26136,"101":206,"81":23296,"24":0,"16":376462065407098880,"45":3726869457762928640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-10 21:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312638720001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:37:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 21:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726869457762928640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312638720001,"power":26136,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3726869457762928640}} 
[2026-08-10 21:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":152209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:37:04] local.INFO: GPS data processed {"connection_id":152209,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:37:04] local.INFO: Acknowledgment sent {"connection_id":152209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:37:18] local.INFO: TCP Data received {"connection_id":151828,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:37:18] local.INFO: Processing buffer {"connection_id":151828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:37:18] local.INFO: Packet analysis {"connection_id":151828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:37:18] local.INFO: Extracted packet for processing {"connection_id":151828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312663808001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786377894000,"timestamp_ms":1786377894000,"timestamp_seconds":1786377894,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6b7870"} 
[2026-08-10 21:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312663808001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312663808001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:37:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:37:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312663808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":151828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:37:18] local.INFO: GPS data processed {"connection_id":151828,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:37:18] local.INFO: Acknowledgment sent {"connection_id":151828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:37:36] local.INFO: TCP Data received {"connection_id":152209,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:37:36] local.INFO: Processing buffer {"connection_id":152209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:37:36] local.INFO: Packet analysis {"connection_id":152209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:37:36] local.INFO: Extracted packet for processing {"connection_id":152209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111812192,"longitude_deg":75.8362368,"latitude_deg":11.1812192,"altitude":5,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d33b100","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312638720001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726869457762928640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786377801000,"timestamp_ms":1786377801000,"timestamp_seconds":1786377801,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6a0d28"} 
[2026-08-10 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-08-10 21:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-10 21:37: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-08-10 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-08-10 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-08-10 21:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312638720001,"66":26136,"101":206,"81":23296,"24":0,"16":376462065407098880,"45":3726869457762928640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-10 21:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312638720001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:37:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 21:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726869457762928640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312638720001,"power":26136,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3726869457762928640}} 
[2026-08-10 21:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":152209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:37:36] local.INFO: GPS data processed {"connection_id":152209,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:37:36] local.INFO: Acknowledgment sent {"connection_id":152209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:37:42] local.INFO: TCP Data received {"connection_id":153141,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:37:42] local.INFO: Processing buffer {"connection_id":153141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:37:42] local.INFO: IMEI packet received {"connection_id":153141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":153141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:37:46] local.INFO: TCP Data received {"connection_id":153141,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:37:46] local.INFO: Processing buffer {"connection_id":153141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:37:46] local.INFO: IMEI packet received {"connection_id":153141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":153141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:37:47] local.INFO: TCP Data received {"connection_id":153141,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:37:47] local.INFO: Processing buffer {"connection_id":153141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:37:47] local.INFO: Packet analysis {"connection_id":153141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:37:47] local.INFO: Extracted packet for processing {"connection_id":153141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312663808001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786377894000,"timestamp_ms":1786377894000,"timestamp_seconds":1786377894,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6b7870"} 
[2026-08-10 21:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:37: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-08-10 21:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312663808001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312663808001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:37:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:37:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312663808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":153141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:37:47] local.INFO: GPS data processed {"connection_id":153141,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:37:47] local.INFO: Acknowledgment sent {"connection_id":153141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:38:08] local.INFO: TCP Data received {"connection_id":151829,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:38:08] local.INFO: Processing buffer {"connection_id":151829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:38:08] local.INFO: IMEI packet received {"connection_id":151829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":151829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:38:13] local.INFO: TCP Data received {"connection_id":151829,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:38:13] local.INFO: Processing buffer {"connection_id":151829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:38:13] local.INFO: IMEI packet received {"connection_id":151829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":151829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:38:18] local.INFO: TCP Data received {"connection_id":153141,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:38:18] local.INFO: Processing buffer {"connection_id":153141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:38:18] local.INFO: Packet analysis {"connection_id":153141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:38:18] local.INFO: Extracted packet for processing {"connection_id":153141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312663808001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786377894000,"timestamp_ms":1786377894000,"timestamp_seconds":1786377894,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6b7870"} 
[2026-08-10 21:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312663808001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312663808001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:38:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312663808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":153141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:38:18] local.INFO: GPS data processed {"connection_id":153141,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:38:18] local.INFO: Acknowledgment sent {"connection_id":153141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:38:25] local.INFO: TCP Data received {"connection_id":151829,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:38:25] local.INFO: Processing buffer {"connection_id":151829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6a0d28012d33b10006aa1e60000500cb29..."} 
[2026-08-10 21:38:25] local.INFO: Packet analysis {"connection_id":151829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:38:25] local.INFO: Extracted packet for processing {"connection_id":151829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6a"} 
[2026-08-10 21:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111812192,"longitude_deg":75.8362368,"latitude_deg":11.1812192,"altitude":5,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d33b100","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-08-10 21:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312638720001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726869457762928640,"note":"Value kept but may cause issues"} 
[2026-08-10 21:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786377801000,"timestamp_ms":1786377801000,"timestamp_seconds":1786377801,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6a0d28"} 
[2026-08-10 21:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-10 21:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312638720001,"66":26136,"101":206,"81":23296,"24":0,"16":376462065407098880,"45":3726869457762928640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-10 21:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312638720001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:38:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 21:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726869457762928640,"description":"Unknown IO ID 45"} 
[2026-08-10 21:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312638720001,"power":26136,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3726869457762928640}} 
[2026-08-10 21:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":151829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:38:25] local.INFO: GPS data processed {"connection_id":151829,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:38:25] local.INFO: Acknowledgment sent {"connection_id":151829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:38:41] local.INFO: TCP Data received {"connection_id":153142,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:38:41] local.INFO: Processing buffer {"connection_id":153142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:38:41] local.INFO: IMEI packet received {"connection_id":153142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":153142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:38:46] local.INFO: TCP Data received {"connection_id":153142,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:38:46] local.INFO: Processing buffer {"connection_id":153142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:38:46] local.INFO: IMEI packet received {"connection_id":153142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":153142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:38:47] local.INFO: TCP Data received {"connection_id":153142,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:38:47] local.INFO: Processing buffer {"connection_id":153142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:38:47] local.INFO: Packet analysis {"connection_id":153142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:38:47] local.INFO: Extracted packet for processing {"connection_id":153142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312663808001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786377894000,"timestamp_ms":1786377894000,"timestamp_seconds":1786377894,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6b7870"} 
[2026-08-10 21:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:38: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-08-10 21:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312663808001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312663808001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:38:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312663808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":153142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:38:47] local.INFO: GPS data processed {"connection_id":153142,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:38:47] local.INFO: Acknowledgment sent {"connection_id":153142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:38:59] local.INFO: TCP Data received {"connection_id":152210,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:38:59] local.INFO: Processing buffer {"connection_id":152210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:38:59] local.INFO: IMEI packet received {"connection_id":152210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":152210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:39:03] local.INFO: TCP Data received {"connection_id":152210,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:39:03] local.INFO: Processing buffer {"connection_id":152210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:39:03] local.INFO: IMEI packet received {"connection_id":152210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":152210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:39:08] local.INFO: TCP Data received {"connection_id":152210,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:39:08] local.INFO: Processing buffer {"connection_id":152210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:39:08] local.INFO: IMEI packet received {"connection_id":152210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":152210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:39:09] local.INFO: TCP Data received {"connection_id":152210,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6ea4f0012d33b10006aa1e60000600cb29..."} 
[2026-08-10 21:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6ea4f0012d33b10006aa1e60000600cb29..."} 
[2026-08-10 21:39:09] local.INFO: Processing buffer {"connection_id":152210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6ea4f0012d33b10006aa1e60000600cb29..."} 
[2026-08-10 21:39:09] local.INFO: Packet analysis {"connection_id":152210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6e"} 
[2026-08-10 21:39:09] local.INFO: Extracted packet for processing {"connection_id":152210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6e"} 
[2026-08-10 21:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111812192,"longitude_deg":75.8362368,"latitude_deg":11.1812192,"altitude":6,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d33b100","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-08-10 21:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312717056001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724758395436032000,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786378102000,"timestamp_ms":1786378102000,"timestamp_seconds":1786378102,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6ea4f0"} 
[2026-08-10 21:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-10 21:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312717056001,"66":26006,"101":206,"81":23296,"24":0,"16":376462065407098880,"45":3724758395436032000},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-10 21:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312717056001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:39:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 21:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724758395436032000,"description":"Unknown IO ID 45"} 
[2026-08-10 21:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312717056001,"power":26006,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724758395436032000}} 
[2026-08-10 21:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":152210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:39:09] local.INFO: GPS data processed {"connection_id":152210,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:39:09] local.INFO: Acknowledgment sent {"connection_id":152210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:39:13] local.INFO: TCP Data received {"connection_id":152210,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6ea4f0012d33b10006aa1e60000600cb29..."} 
[2026-08-10 21:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6ea4f0012d33b10006aa1e60000600cb29..."} 
[2026-08-10 21:39:13] local.INFO: Processing buffer {"connection_id":152210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6ea4f0012d33b10006aa1e60000600cb29..."} 
[2026-08-10 21:39:13] local.INFO: Packet analysis {"connection_id":152210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6e"} 
[2026-08-10 21:39:13] local.INFO: Extracted packet for processing {"connection_id":152210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6e"} 
[2026-08-10 21:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111812192,"longitude_deg":75.8362368,"latitude_deg":11.1812192,"altitude":6,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d33b100","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312717056001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724758395436032000,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786378102000,"timestamp_ms":1786378102000,"timestamp_seconds":1786378102,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6ea4f0"} 
[2026-08-10 21:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-10 21:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312717056001,"66":26006,"101":206,"81":23296,"24":0,"16":376462065407098880,"45":3724758395436032000},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-10 21:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312717056001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:39:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 21:39:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724758395436032000,"description":"Unknown IO ID 45"} 
[2026-08-10 21:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312717056001,"power":26006,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724758395436032000}} 
[2026-08-10 21:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":152210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:39:13] local.INFO: GPS data processed {"connection_id":152210,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:39:13] local.INFO: Acknowledgment sent {"connection_id":152210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:39:18] local.INFO: TCP Data received {"connection_id":153142,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:39:18] local.INFO: Processing buffer {"connection_id":153142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:39:18] local.INFO: Packet analysis {"connection_id":153142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:39:18] local.INFO: Extracted packet for processing {"connection_id":153142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312663808001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786377894000,"timestamp_ms":1786377894000,"timestamp_seconds":1786377894,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6b7870"} 
[2026-08-10 21:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312663808001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312663808001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:39:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312663808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":153142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:39:18] local.INFO: GPS data processed {"connection_id":153142,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:39:18] local.INFO: Acknowledgment sent {"connection_id":153142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:39:46] local.INFO: TCP Data received {"connection_id":154558,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:39:46] local.INFO: Processing buffer {"connection_id":154558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:39:46] local.INFO: IMEI packet received {"connection_id":154558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":154558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:39:51] local.INFO: TCP Data received {"connection_id":154558,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:39:51] local.INFO: Processing buffer {"connection_id":154558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:39:51] local.INFO: IMEI packet received {"connection_id":154558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":154558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:39:52] local.INFO: TCP Data received {"connection_id":154558,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:39:52] local.INFO: Processing buffer {"connection_id":154558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:39:52] local.INFO: Packet analysis {"connection_id":154558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:39:52] local.INFO: Extracted packet for processing {"connection_id":154558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312663808001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786377894000,"timestamp_ms":1786377894000,"timestamp_seconds":1786377894,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6b7870"} 
[2026-08-10 21:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312663808001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312663808001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:39:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:39:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312663808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":154558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:39:52] local.INFO: GPS data processed {"connection_id":154558,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:39:52] local.INFO: Acknowledgment sent {"connection_id":154558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:39:56] local.INFO: TCP Data received {"connection_id":154558,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:39:56] local.INFO: Processing buffer {"connection_id":154558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6b7870012d196580071ff0380043014227..."} 
[2026-08-10 21:39:56] local.INFO: Packet analysis {"connection_id":154558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:39:56] local.INFO: Extracted packet for processing {"connection_id":154558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6b"} 
[2026-08-10 21:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312663808001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786377894000,"timestamp_ms":1786377894000,"timestamp_seconds":1786377894,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6b7870"} 
[2026-08-10 21:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:39: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-08-10 21:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312663808001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312663808001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:39:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312663808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":154558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:39:57] local.INFO: GPS data processed {"connection_id":154558,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:39:57] local.INFO: Acknowledgment sent {"connection_id":154558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:40:03] local.INFO: TCP Data received {"connection_id":151830,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:03] local.INFO: Processing buffer {"connection_id":151830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:03] local.INFO: IMEI packet received {"connection_id":151830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":151830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:40:08] local.INFO: TCP Data received {"connection_id":151830,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:08] local.INFO: Processing buffer {"connection_id":151830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:08] local.INFO: IMEI packet received {"connection_id":151830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":151830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:40:09] local.INFO: TCP Data received {"connection_id":151830,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6f1e08012d33b10006aa1e60000600cb29..."} 
[2026-08-10 21:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6f1e08012d33b10006aa1e60000600cb29..."} 
[2026-08-10 21:40:09] local.INFO: Processing buffer {"connection_id":151830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6f1e08012d33b10006aa1e60000600cb29..."} 
[2026-08-10 21:40:09] local.INFO: Packet analysis {"connection_id":151830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6f"} 
[2026-08-10 21:40:09] local.INFO: Extracted packet for processing {"connection_id":151830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6f"} 
[2026-08-10 21:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111812192,"longitude_deg":75.8362368,"latitude_deg":11.1812192,"altitude":6,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d33b100","hex_latitude":"06aa1e60","is_valid_coordinates":true} 
[2026-08-10 21:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312794112001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724758395436032000,"note":"Value kept but may cause issues"} 
[2026-08-10 21:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786378133000,"timestamp_ms":1786378133000,"timestamp_seconds":1786378133,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6f1e08"} 
[2026-08-10 21:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 21:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312794112001,"66":26006,"101":206,"81":23296,"24":0,"16":376462065407098880,"45":3724758395436032000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-10 21:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312794112001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:40:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 21:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724758395436032000,"description":"Unknown IO ID 45"} 
[2026-08-10 21:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312794112001,"power":26006,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724758395436032000}} 
[2026-08-10 21:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":151830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:40:09] local.INFO: GPS data processed {"connection_id":151830,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:40:09] local.INFO: Acknowledgment sent {"connection_id":151830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:40:15] local.INFO: TCP Data received {"connection_id":151830,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6f29c0012d33aa4006aa1c88000600de29..."} 
[2026-08-10 21:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6f29c0012d33aa4006aa1c88000600de29..."} 
[2026-08-10 21:40:15] local.INFO: Processing buffer {"connection_id":151830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6f29c0012d33aa4006aa1c88000600de29..."} 
[2026-08-10 21:40:15] local.INFO: Packet analysis {"connection_id":151830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6f"} 
[2026-08-10 21:40:15] local.INFO: Extracted packet for processing {"connection_id":151830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6f"} 
[2026-08-10 21:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758360640,"raw_latitude":111811720,"longitude_deg":75.836064,"latitude_deg":11.181172,"altitude":6,"angle":222,"satellites":41,"speed":0,"hex_longitude":"2d33aa40","hex_latitude":"06aa1c88","is_valid_coordinates":true} 
[2026-08-10 21:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312802048001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724758395436032000,"note":"Value kept but may cause issues"} 
[2026-08-10 21:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786378136000,"timestamp_ms":1786378136000,"timestamp_seconds":1786378136,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6f29c0"} 
[2026-08-10 21:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 21:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312802048001,"66":25875,"101":206,"81":23296,"24":0,"16":376462065407098880,"45":3724758395436032000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-10 21:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312802048001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:40:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 21:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724758395436032000,"description":"Unknown IO ID 45"} 
[2026-08-10 21:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312802048001,"power":25875,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724758395436032000}} 
[2026-08-10 21:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":151830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:40:15] local.INFO: GPS data processed {"connection_id":151830,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:40:15] local.INFO: Acknowledgment sent {"connection_id":151830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:40:43] local.INFO: TCP Data received {"connection_id":154559,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:40:43] local.INFO: Processing buffer {"connection_id":154559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:40:43] local.INFO: IMEI packet received {"connection_id":154559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":154559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:40:46] local.INFO: TCP Data received {"connection_id":154559,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:40:46] local.INFO: Processing buffer {"connection_id":154559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:40:46] local.INFO: IMEI packet received {"connection_id":154559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":154559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:40:55] local.INFO: TCP Data received {"connection_id":153143,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:55] local.INFO: Processing buffer {"connection_id":153143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:55] local.INFO: IMEI packet received {"connection_id":153143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":153143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:40:56] local.INFO: TCP Data received {"connection_id":153143,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:56] local.INFO: Processing buffer {"connection_id":153143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:56] local.INFO: IMEI packet received {"connection_id":153143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":153143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:40:58] local.INFO: TCP Data received {"connection_id":153143,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:58] local.INFO: Processing buffer {"connection_id":153143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:40:58] local.INFO: IMEI packet received {"connection_id":153143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":153143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:41:00] local.INFO: TCP Data received {"connection_id":153143,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:41:00] local.INFO: Processing buffer {"connection_id":153143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:41:00] local.INFO: IMEI packet received {"connection_id":153143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":153143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:41:01] local.INFO: TCP Data received {"connection_id":153143,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec6f7bc8012d33aa4006aa1c88000600de29..."} 
[2026-08-10 21:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec6f7bc8012d33aa4006aa1c88000600de29..."} 
[2026-08-10 21:41:01] local.INFO: Processing buffer {"connection_id":153143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec6f7bc8012d33aa4006aa1c88000600de29..."} 
[2026-08-10 21:41:01] local.INFO: Packet analysis {"connection_id":153143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec6f"} 
[2026-08-10 21:41:01] local.INFO: Extracted packet for processing {"connection_id":153143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec6f"} 
[2026-08-10 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":758360640,"raw_latitude":111811720,"longitude_deg":75.836064,"latitude_deg":11.181172,"altitude":6,"angle":222,"satellites":41,"speed":0,"hex_longitude":"2d33aa40","hex_latitude":"06aa1c88","is_valid_coordinates":true} 
[2026-08-10 21:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312802816001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462065407098880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3722858439343114240,"note":"Value kept but may cause issues"} 
[2026-08-10 21:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786378157000,"timestamp_ms":1786378157000,"timestamp_seconds":1786378157,"priority":1,"record_length":96,"hex_timestamp":"0000019fec6f7bc8"} 
[2026-08-10 21:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:41: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-08-10 21:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-10 21:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312802816001,"66":27365,"101":206,"81":23296,"24":0,"16":376462065407098880,"45":3722858439343114240},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-10 21:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312802816001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:41:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-10 21:41:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462065407098880,"km_value":376462065407098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3722858439343114240,"description":"Unknown IO ID 45"} 
[2026-08-10 21:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312802816001,"power":27365,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3722858439343114240}} 
[2026-08-10 21:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":153143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:41:01] local.INFO: GPS data processed {"connection_id":153143,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:41:01] local.INFO: Acknowledgment sent {"connection_id":153143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:41:32] local.INFO: TCP Data received {"connection_id":153143,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec708950012d33af4006aa2870000a00222c..."} 
[2026-08-10 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec708950012d33af4006aa2870000a00222c..."} 
[2026-08-10 21:41:32] local.INFO: Processing buffer {"connection_id":153143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec708950012d33af4006aa2870000a00222c..."} 
[2026-08-10 21:41:32] local.INFO: Packet analysis {"connection_id":153143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:41:32] local.INFO: Extracted packet for processing {"connection_id":153143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:41:32] local.INFO: GPS Element Parsed {"raw_longitude":758361920,"raw_latitude":111814768,"longitude_deg":75.836192,"latitude_deg":11.1814768,"altitude":10,"angle":34,"satellites":44,"speed":16,"hex_longitude":"2d33af40","hex_latitude":"06aa2870","is_valid_coordinates":true} 
[2026-08-10 21:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312824832001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462284450430976,"note":"Value kept but may cause issues"} 
[2026-08-10 21:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3722999176831971328,"note":"Value kept but may cause issues"} 
[2026-08-10 21:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786378226000,"timestamp_ms":1786378226000,"timestamp_seconds":1786378226,"priority":1,"record_length":96,"hex_timestamp":"0000019fec708950"} 
[2026-08-10 21:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21: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-08-10 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 21:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":153143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":153143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":153143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312824832001,"66":27300,"34":206,"81":23296,"24":16,"16":376462284450430976,"45":3722999176831971328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312824832001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:41:32] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:41:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462284450430976,"km_value":376462284450431.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3722999176831971328,"description":"Unknown IO ID 45"} 
[2026-08-10 21:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312824832001,"power":27300,"unknown_34":206,"unknown_81":23296,"ignition":16,"odometer":null,"unknown_45":3722999176831971328}} 
[2026-08-10 21:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":153143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:41:32] local.INFO: GPS data processed {"connection_id":153143,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:41:32] local.INFO: Acknowledgment sent {"connection_id":153143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:41:32] local.INFO: TCP Data received {"connection_id":154559,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:41:32] local.INFO: Processing buffer {"connection_id":154559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:41:32] local.INFO: Packet analysis {"connection_id":154559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:41:32] local.INFO: Extracted packet for processing {"connection_id":154559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312740864001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786378195000,"timestamp_ms":1786378195000,"timestamp_seconds":1786378195,"priority":1,"record_length":96,"hex_timestamp":"0000019fec701038"} 
[2026-08-10 21:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312740864001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312740864001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:41:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312740864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":154559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:41:32] local.INFO: GPS data processed {"connection_id":154559,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:41:32] local.INFO: Acknowledgment sent {"connection_id":154559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:41:42] local.INFO: TCP Data received {"connection_id":151831,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:41:42] local.INFO: Processing buffer {"connection_id":151831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:41:42] local.INFO: IMEI packet received {"connection_id":151831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":151831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:41:46] local.INFO: TCP Data received {"connection_id":151831,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:41:46] local.INFO: Processing buffer {"connection_id":151831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:41:46] local.INFO: IMEI packet received {"connection_id":151831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":151831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:41:47] local.INFO: TCP Data received {"connection_id":151831,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:41:47] local.INFO: Processing buffer {"connection_id":151831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:41:47] local.INFO: Packet analysis {"connection_id":151831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:41:47] local.INFO: Extracted packet for processing {"connection_id":151831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312740864001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786378195000,"timestamp_ms":1786378195000,"timestamp_seconds":1786378195,"priority":1,"record_length":96,"hex_timestamp":"0000019fec701038"} 
[2026-08-10 21:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:41: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-08-10 21:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312740864001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312740864001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:41:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312740864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":151831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:41:47] local.INFO: GPS data processed {"connection_id":151831,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:41:47] local.INFO: Acknowledgment sent {"connection_id":151831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:42:03] local.INFO: TCP Data received {"connection_id":152211,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:42:03] local.INFO: Processing buffer {"connection_id":152211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:42:03] local.INFO: IMEI packet received {"connection_id":152211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":152211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:42:08] local.INFO: TCP Data received {"connection_id":152211,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:42:08] local.INFO: Processing buffer {"connection_id":152211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:42:08] local.INFO: IMEI packet received {"connection_id":152211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":152211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:42:09] local.INFO: TCP Data received {"connection_id":152211,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec70c3e8012d33c14006aa4748000900262c..."} 
[2026-08-10 21:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec70c3e8012d33c14006aa4748000900262c..."} 
[2026-08-10 21:42:09] local.INFO: Processing buffer {"connection_id":152211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec70c3e8012d33c14006aa4748000900262c..."} 
[2026-08-10 21:42:09] local.INFO: Packet analysis {"connection_id":152211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:42:09] local.INFO: Extracted packet for processing {"connection_id":152211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758366528,"raw_latitude":111822664,"longitude_deg":75.8366528,"latitude_deg":11.1822664,"altitude":9,"angle":38,"satellites":44,"speed":26,"hex_longitude":"2d33c140","hex_latitude":"06aa4748","is_valid_coordinates":true} 
[2026-08-10 21:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312825856001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376462726832062464,"note":"Value kept but may cause issues"} 
[2026-08-10 21:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724265814227447808,"note":"Value kept but may cause issues"} 
[2026-08-10 21:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786378241000,"timestamp_ms":1786378241000,"timestamp_seconds":1786378241,"priority":1,"record_length":96,"hex_timestamp":"0000019fec70c3e8"} 
[2026-08-10 21:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 21:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312825856001,"66":27376,"34":206,"81":23296,"24":26,"16":376462726832062464,"45":3724265814227447808},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312825856001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:42:09] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376462726832062464,"km_value":376462726832062.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724265814227447808,"description":"Unknown IO ID 45"} 
[2026-08-10 21:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312825856001,"power":27376,"unknown_34":206,"unknown_81":23296,"ignition":26,"odometer":null,"unknown_45":3724265814227447808}} 
[2026-08-10 21:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":152211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:42:09] local.INFO: GPS data processed {"connection_id":152211,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:42:09] local.INFO: Acknowledgment sent {"connection_id":152211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:42:19] local.INFO: TCP Data received {"connection_id":151831,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:42:19] local.INFO: Processing buffer {"connection_id":151831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:42:19] local.INFO: Packet analysis {"connection_id":151831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:42:19] local.INFO: Extracted packet for processing {"connection_id":151831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312740864001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786378195000,"timestamp_ms":1786378195000,"timestamp_seconds":1786378195,"priority":1,"record_length":96,"hex_timestamp":"0000019fec701038"} 
[2026-08-10 21:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312740864001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312740864001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:42:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:42:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312740864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":151831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:42:19] local.INFO: GPS data processed {"connection_id":151831,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:42:19] local.INFO: Acknowledgment sent {"connection_id":151831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:42:41] local.INFO: TCP Data received {"connection_id":153144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:42:41] local.INFO: Processing buffer {"connection_id":153144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:42:41] local.INFO: IMEI packet received {"connection_id":153144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":153144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:42:42] local.INFO: TCP Data received {"connection_id":152211,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec70eee0012d33d30006aa5938000800312c..."} 
[2026-08-10 21:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec70eee0012d33d30006aa5938000800312c..."} 
[2026-08-10 21:42:42] local.INFO: Processing buffer {"connection_id":152211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec70eee0012d33d30006aa5938000800312c..."} 
[2026-08-10 21:42:42] local.INFO: Packet analysis {"connection_id":152211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:42:42] local.INFO: Extracted packet for processing {"connection_id":152211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758371072,"raw_latitude":111827256,"longitude_deg":75.8371072,"latitude_deg":11.1827256,"altitude":8,"angle":49,"satellites":44,"speed":18,"hex_longitude":"2d33d300","hex_latitude":"06aa5938","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312829696001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376463036069707776,"note":"Value kept but may cause issues"} 
[2026-08-10 21:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3729332363810260992,"note":"Value kept but may cause issues"} 
[2026-08-10 21:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786378252000,"timestamp_ms":1786378252000,"timestamp_seconds":1786378252,"priority":1,"record_length":96,"hex_timestamp":"0000019fec70eee0"} 
[2026-08-10 21:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-10 21:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312829696001,"66":27365,"34":206,"81":23296,"24":18,"16":376463036069707776,"45":3729332363810260992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312829696001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:42:42] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376463036069707776,"km_value":376463036069707.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3729332363810260992,"description":"Unknown IO ID 45"} 
[2026-08-10 21:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312829696001,"power":27365,"unknown_34":206,"unknown_81":23296,"ignition":18,"odometer":null,"unknown_45":3729332363810260992}} 
[2026-08-10 21:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":152211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:42:42] local.INFO: GPS data processed {"connection_id":152211,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:42:42] local.INFO: Acknowledgment sent {"connection_id":152211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:42:46] local.INFO: TCP Data received {"connection_id":153144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:42:46] local.INFO: Processing buffer {"connection_id":153144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:42:46] local.INFO: IMEI packet received {"connection_id":153144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":153144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:42:47] local.INFO: TCP Data received {"connection_id":153144,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:42:47] local.INFO: Processing buffer {"connection_id":153144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:42:47] local.INFO: Packet analysis {"connection_id":153144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:42:47] local.INFO: Extracted packet for processing {"connection_id":153144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312740864001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786378195000,"timestamp_ms":1786378195000,"timestamp_seconds":1786378195,"priority":1,"record_length":96,"hex_timestamp":"0000019fec701038"} 
[2026-08-10 21:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:42: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-08-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312740864001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312740864001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:42:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312740864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":153144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:42:47] local.INFO: GPS data processed {"connection_id":153144,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:42:47] local.INFO: Acknowledgment sent {"connection_id":153144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:42:58] local.INFO: TCP Data received {"connection_id":151832,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:42:58] local.INFO: Processing buffer {"connection_id":151832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:42:58] local.INFO: IMEI packet received {"connection_id":151832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":151832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:42:59] local.INFO: TCP Data received {"connection_id":151832,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:42:59] local.INFO: Processing buffer {"connection_id":151832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:42:59] local.INFO: IMEI packet received {"connection_id":151832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":151832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:43:02] local.INFO: TCP Data received {"connection_id":151832,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:43:02] local.INFO: Processing buffer {"connection_id":151832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:43:02] local.INFO: IMEI packet received {"connection_id":151832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":151832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:43:03] local.INFO: TCP Data received {"connection_id":151832,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec713d00012d33edc006aa71a0000d00332c..."} 
[2026-08-10 21:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec713d00012d33edc006aa71a0000d00332c..."} 
[2026-08-10 21:43:03] local.INFO: Processing buffer {"connection_id":151832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec713d00012d33edc006aa71a0000d00332c..."} 
[2026-08-10 21:43:03] local.INFO: Packet analysis {"connection_id":151832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec71"} 
[2026-08-10 21:43:03] local.INFO: Extracted packet for processing {"connection_id":151832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec71"} 
[2026-08-10 21:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758377920,"raw_latitude":111833504,"longitude_deg":75.837792,"latitude_deg":11.1833504,"altitude":13,"angle":51,"satellites":44,"speed":22,"hex_longitude":"2d33edc0","hex_latitude":"06aa71a0","is_valid_coordinates":true} 
[2026-08-10 21:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312832512001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376463482746306560,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3734328544648050688,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786378272000,"timestamp_ms":1786378272000,"timestamp_seconds":1786378272,"priority":1,"record_length":96,"hex_timestamp":"0000019fec713d00"} 
[2026-08-10 21:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 21:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312832512001,"66":27332,"34":206,"81":23296,"24":22,"16":376463482746306560,"45":3734328544648050688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312832512001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:43:03] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376463482746306560,"km_value":376463482746306.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3734328544648050688,"description":"Unknown IO ID 45"} 
[2026-08-10 21:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312832512001,"power":27332,"unknown_34":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3734328544648050688}} 
[2026-08-10 21:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":151832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:43:03] local.INFO: GPS data processed {"connection_id":151832,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:43:03] local.INFO: Acknowledgment sent {"connection_id":151832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:43:08] local.INFO: TCP Data received {"connection_id":151832,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec714ca0012d33f58006aa7680000e00422c..."} 
[2026-08-10 21:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec714ca0012d33f58006aa7680000e00422c..."} 
[2026-08-10 21:43:08] local.INFO: Processing buffer {"connection_id":151832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec714ca0012d33f58006aa7680000e00422c..."} 
[2026-08-10 21:43:08] local.INFO: Packet analysis {"connection_id":151832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec71"} 
[2026-08-10 21:43:08] local.INFO: Extracted packet for processing {"connection_id":151832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec71"} 
[2026-08-10 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758379904,"raw_latitude":111834752,"longitude_deg":75.8379904,"latitude_deg":11.1834752,"altitude":14,"angle":66,"satellites":44,"speed":22,"hex_longitude":"2d33f580","hex_latitude":"06aa7680","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312837632001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376463594415456256,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3741858000276660224,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786378276000,"timestamp_ms":1786378276000,"timestamp_seconds":1786378276,"priority":1,"record_length":96,"hex_timestamp":"0000019fec714ca0"} 
[2026-08-10 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-08-10 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 21:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312837632001,"66":27397,"34":206,"81":23296,"24":22,"16":376463594415456256,"45":3741858000276660224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312837632001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:43:08] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376463594415456256,"km_value":376463594415456.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3741858000276660224,"description":"Unknown IO ID 45"} 
[2026-08-10 21:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312837632001,"power":27397,"unknown_34":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3741858000276660224}} 
[2026-08-10 21:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":151832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:43:08] local.INFO: GPS data processed {"connection_id":151832,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:43:08] local.INFO: Acknowledgment sent {"connection_id":151832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:43:18] local.INFO: TCP Data received {"connection_id":153144,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:43:18] local.INFO: Processing buffer {"connection_id":153144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:43:18] local.INFO: Packet analysis {"connection_id":153144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:43:18] local.INFO: Extracted packet for processing {"connection_id":153144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312740864001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786378195000,"timestamp_ms":1786378195000,"timestamp_seconds":1786378195,"priority":1,"record_length":96,"hex_timestamp":"0000019fec701038"} 
[2026-08-10 21:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312740864001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312740864001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:43:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312740864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":153144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:43:18] local.INFO: GPS data processed {"connection_id":153144,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:43:18] local.INFO: Acknowledgment sent {"connection_id":153144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:43:40] local.INFO: TCP Data received {"connection_id":151832,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec717f68012d34168006aa82b8000d00472c..."} 
[2026-08-10 21:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec717f68012d34168006aa82b8000d00472c..."} 
[2026-08-10 21:43:40] local.INFO: Processing buffer {"connection_id":151832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec717f68012d34168006aa82b8000d00472c..."} 
[2026-08-10 21:43:40] local.INFO: Packet analysis {"connection_id":151832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec71"} 
[2026-08-10 21:43:40] local.INFO: Extracted packet for processing {"connection_id":151832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec71"} 
[2026-08-10 21:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758388352,"raw_latitude":111837880,"longitude_deg":75.8388352,"latitude_deg":11.183788,"altitude":13,"angle":71,"satellites":44,"speed":30,"hex_longitude":"2d341680","hex_latitude":"06aa82b8","is_valid_coordinates":true} 
[2026-08-10 21:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312838656001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376464028207153152,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3744039431346487296,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786378289000,"timestamp_ms":1786378289000,"timestamp_seconds":1786378289,"priority":1,"record_length":96,"hex_timestamp":"0000019fec717f68"} 
[2026-08-10 21:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 21:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312838656001,"66":27397,"34":206,"81":23296,"24":30,"16":376464028207153152,"45":3744039431346487296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-10 21:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312838656001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:43:40] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-10 21:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376464028207153152,"km_value":376464028207153.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3744039431346487296,"description":"Unknown IO ID 45"} 
[2026-08-10 21:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312838656001,"power":27397,"unknown_34":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":3744039431346487296}} 
[2026-08-10 21:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":151832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:43:40] local.INFO: GPS data processed {"connection_id":151832,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:43:40] local.INFO: Acknowledgment sent {"connection_id":151832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:43:41] local.INFO: TCP Data received {"connection_id":153145,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:43:41] local.INFO: Processing buffer {"connection_id":153145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:43:41] local.INFO: IMEI packet received {"connection_id":153145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":153145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:43:46] local.INFO: TCP Data received {"connection_id":153145,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:43:46] local.INFO: Processing buffer {"connection_id":153145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:43:46] local.INFO: IMEI packet received {"connection_id":153145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":153145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:43:47] local.INFO: TCP Data received {"connection_id":153145,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:43:47] local.INFO: Processing buffer {"connection_id":153145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:43:47] local.INFO: Packet analysis {"connection_id":153145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:43:47] local.INFO: Extracted packet for processing {"connection_id":153145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312740864001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786378195000,"timestamp_ms":1786378195000,"timestamp_seconds":1786378195,"priority":1,"record_length":96,"hex_timestamp":"0000019fec701038"} 
[2026-08-10 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-08-10 21:43: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-08-10 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312740864001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312740864001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:43:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312740864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":153145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:43:47] local.INFO: GPS data processed {"connection_id":153145,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:43:47] local.INFO: Acknowledgment sent {"connection_id":153145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:43:58] local.INFO: TCP Data received {"connection_id":153146,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:43:58] local.INFO: Processing buffer {"connection_id":153146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:43:58] local.INFO: IMEI packet received {"connection_id":153146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":153146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:44:04] local.INFO: TCP Data received {"connection_id":153146,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:44:04] local.INFO: Processing buffer {"connection_id":153146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:44:04] local.INFO: IMEI packet received {"connection_id":153146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":153146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:44:05] local.INFO: TCP Data received {"connection_id":153146,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec71ae48012d343b8006aa8c28000e00492b..."} 
[2026-08-10 21:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec71ae48012d343b8006aa8c28000e00492b..."} 
[2026-08-10 21:44:05] local.INFO: Processing buffer {"connection_id":153146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec71ae48012d343b8006aa8c28000e00492b..."} 
[2026-08-10 21:44:05] local.INFO: Packet analysis {"connection_id":153146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec71"} 
[2026-08-10 21:44:05] local.INFO: Extracted packet for processing {"connection_id":153146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec71"} 
[2026-08-10 21:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758397824,"raw_latitude":111840296,"longitude_deg":75.8397824,"latitude_deg":11.1840296,"altitude":14,"angle":73,"satellites":43,"speed":30,"hex_longitude":"2d343b80","hex_latitude":"06aa8c28","is_valid_coordinates":true} 
[2026-08-10 21:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312841984001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376464492063621120,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3753328105578739712,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786378301000,"timestamp_ms":1786378301000,"timestamp_seconds":1786378301,"priority":1,"record_length":96,"hex_timestamp":"0000019fec71ae48"} 
[2026-08-10 21:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 21:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312841984001,"66":27463,"9":206,"81":23296,"24":30,"16":376464492063621120,"45":3753328105578739712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-08-10 21:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312841984001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:44:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-10 21:44:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376464492063621120,"km_value":376464492063621.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3753328105578739712,"description":"Unknown IO ID 45"} 
[2026-08-10 21:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312841984001,"power":27463,"unknown_9":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":3753328105578739712}} 
[2026-08-10 21:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":153146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:44:05] local.INFO: GPS data processed {"connection_id":153146,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:44:05] local.INFO: Acknowledgment sent {"connection_id":153146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:44:18] local.INFO: TCP Data received {"connection_id":153145,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:44:18] local.INFO: Processing buffer {"connection_id":153145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:44:18] local.INFO: Packet analysis {"connection_id":153145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:44:18] local.INFO: Extracted packet for processing {"connection_id":153145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312740864001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786378195000,"timestamp_ms":1786378195000,"timestamp_seconds":1786378195,"priority":1,"record_length":96,"hex_timestamp":"0000019fec701038"} 
[2026-08-10 21:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312740864001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312740864001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:44:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312740864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":153145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:44:18] local.INFO: GPS data processed {"connection_id":153145,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:44:18] local.INFO: Acknowledgment sent {"connection_id":153145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:44:38] local.INFO: TCP Data received {"connection_id":153146,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec737368012d35934006aa3050000b00712a..."} 
[2026-08-10 21:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec737368012d35934006aa3050000b00712a..."} 
[2026-08-10 21:44:38] local.INFO: Processing buffer {"connection_id":153146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec737368012d35934006aa3050000b00712a..."} 
[2026-08-10 21:44:38] local.INFO: Packet analysis {"connection_id":153146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec73"} 
[2026-08-10 21:44:38] local.INFO: Extracted packet for processing {"connection_id":153146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec73"} 
[2026-08-10 21:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758485824,"raw_latitude":111816784,"longitude_deg":75.8485824,"latitude_deg":11.1816784,"altitude":11,"angle":113,"satellites":42,"speed":35,"hex_longitude":"2d359340","hex_latitude":"06aa3050","is_valid_coordinates":true} 
[2026-08-10 21:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312872192001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376468954534641664,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3851351766213718016,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786378417000,"timestamp_ms":1786378417000,"timestamp_seconds":1786378417,"priority":1,"record_length":96,"hex_timestamp":"0000019fec737368"} 
[2026-08-10 21:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:44: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-08-10 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 21:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312872192001,"66":27245,"142":206,"81":23296,"24":35,"16":376468954534641664,"45":3851351766213718016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-10 21:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312872192001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:44:38] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-10 21:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376468954534641664,"km_value":376468954534641.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3851351766213718016,"description":"Unknown IO ID 45"} 
[2026-08-10 21:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312872192001,"power":27245,"unknown_142":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3851351766213718016}} 
[2026-08-10 21:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":153146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:44:38] local.INFO: GPS data processed {"connection_id":153146,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:44:38] local.INFO: Acknowledgment sent {"connection_id":153146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:44:46] local.INFO: TCP Data received {"connection_id":151833,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:44:46] local.INFO: Processing buffer {"connection_id":151833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:44:46] local.INFO: IMEI packet received {"connection_id":151833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":151833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:44:51] local.INFO: TCP Data received {"connection_id":151833,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:44:51] local.INFO: Processing buffer {"connection_id":151833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:44:51] local.INFO: IMEI packet received {"connection_id":151833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":151833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:44:52] local.INFO: TCP Data received {"connection_id":151833,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:44:52] local.INFO: Processing buffer {"connection_id":151833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:44:52] local.INFO: Packet analysis {"connection_id":151833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:44:52] local.INFO: Extracted packet for processing {"connection_id":151833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312740864001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786378195000,"timestamp_ms":1786378195000,"timestamp_seconds":1786378195,"priority":1,"record_length":96,"hex_timestamp":"0000019fec701038"} 
[2026-08-10 21:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312740864001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312740864001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:44:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312740864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":151833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:44:52] local.INFO: GPS data processed {"connection_id":151833,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:44:52] local.INFO: Acknowledgment sent {"connection_id":151833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:44:56] local.INFO: TCP Data received {"connection_id":151833,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:44:56] local.INFO: Processing buffer {"connection_id":151833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec701038012d196580071ff0380043014227..."} 
[2026-08-10 21:44:56] local.INFO: Packet analysis {"connection_id":151833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:44:56] local.INFO: Extracted packet for processing {"connection_id":151833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec70"} 
[2026-08-10 21:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312740864001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786378195000,"timestamp_ms":1786378195000,"timestamp_seconds":1786378195,"priority":1,"record_length":96,"hex_timestamp":"0000019fec701038"} 
[2026-08-10 21:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:44: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-08-10 21:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 21:44: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-08-10 21:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312740864001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312740864001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:44:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:44:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312740864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":151833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:44:57] local.INFO: GPS data processed {"connection_id":151833,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:44:57] local.INFO: Acknowledgment sent {"connection_id":151833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:44:58] local.INFO: TCP Data received {"connection_id":153147,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:44:58] local.INFO: Processing buffer {"connection_id":153147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:44:58] local.INFO: IMEI packet received {"connection_id":153147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":153147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:45:01] local.INFO: TCP Data received {"connection_id":153147,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:45:01] local.INFO: Processing buffer {"connection_id":153147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:45:01] local.INFO: IMEI packet received {"connection_id":153147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":153147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:45:04] local.INFO: TCP Data received {"connection_id":153147,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec739a78012d35b4c006aa2240000900702b..."} 
[2026-08-10 21:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec739a78012d35b4c006aa2240000900702b..."} 
[2026-08-10 21:45:04] local.INFO: Processing buffer {"connection_id":153147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec739a78012d35b4c006aa2240000900702b..."} 
[2026-08-10 21:45:04] local.INFO: Packet analysis {"connection_id":153147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec73"} 
[2026-08-10 21:45:04] local.INFO: Extracted packet for processing {"connection_id":153147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec73"} 
[2026-08-10 21:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758494400,"raw_latitude":111813184,"longitude_deg":75.84944,"latitude_deg":11.1813184,"altitude":9,"angle":112,"satellites":43,"speed":38,"hex_longitude":"2d35b4c0","hex_latitude":"06aa2240","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312874752001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376469396916273152,"note":"Value kept but may cause issues"} 
[2026-08-10 21:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3860499702955921408,"note":"Value kept but may cause issues"} 
[2026-08-10 21:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786378427000,"timestamp_ms":1786378427000,"timestamp_seconds":1786378427,"priority":1,"record_length":96,"hex_timestamp":"0000019fec739a78"} 
[2026-08-10 21:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 21:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312874752001,"66":27300,"142":206,"81":23296,"24":38,"16":376469396916273152,"45":3860499702955921408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-10 21:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312874752001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:45:04] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-10 21:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376469396916273152,"km_value":376469396916273.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3860499702955921408,"description":"Unknown IO ID 45"} 
[2026-08-10 21:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312874752001,"power":27300,"unknown_142":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3860499702955921408}} 
[2026-08-10 21:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":153147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:45:04] local.INFO: GPS data processed {"connection_id":153147,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:45:04] local.INFO: Acknowledgment sent {"connection_id":153147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:45:35] local.INFO: TCP Data received {"connection_id":153147,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec73bda0012d35d58006aa14a0000900702b..."} 
[2026-08-10 21:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec73bda0012d35d58006aa14a0000900702b..."} 
[2026-08-10 21:45:35] local.INFO: Processing buffer {"connection_id":153147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec73bda0012d35d58006aa14a0000900702b..."} 
[2026-08-10 21:45:35] local.INFO: Packet analysis {"connection_id":153147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec73"} 
[2026-08-10 21:45:35] local.INFO: Extracted packet for processing {"connection_id":153147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec73"} 
[2026-08-10 21:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758502784,"raw_latitude":111809696,"longitude_deg":75.8502784,"latitude_deg":11.1809696,"altitude":9,"angle":112,"satellites":43,"speed":41,"hex_longitude":"2d35d580","hex_latitude":"06aa14a0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312877312001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376469830707970048,"note":"Value kept but may cause issues"} 
[2026-08-10 21:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3869929114674806784,"note":"Value kept but may cause issues"} 
[2026-08-10 21:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786378436000,"timestamp_ms":1786378436000,"timestamp_seconds":1786378436,"priority":1,"record_length":96,"hex_timestamp":"0000019fec73bda0"} 
[2026-08-10 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-08-10 21:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 21:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312877312001,"66":27267,"142":206,"81":23296,"24":41,"16":376469830707970048,"45":3869929114674806784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-10 21:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312877312001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:45:35] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-10 21:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376469830707970048,"km_value":376469830707970.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3869929114674806784,"description":"Unknown IO ID 45"} 
[2026-08-10 21:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312877312001,"power":27267,"unknown_142":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3869929114674806784}} 
[2026-08-10 21:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":153147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:45:35] local.INFO: GPS data processed {"connection_id":153147,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:45:35] local.INFO: Acknowledgment sent {"connection_id":153147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:45:41] local.INFO: TCP Data received {"connection_id":154560,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:45:41] local.INFO: Processing buffer {"connection_id":154560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:45:41] local.INFO: IMEI packet received {"connection_id":154560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":154560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:45:46] local.INFO: TCP Data received {"connection_id":154560,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:45:46] local.INFO: Processing buffer {"connection_id":154560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:45:46] local.INFO: IMEI packet received {"connection_id":154560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":154560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:45:47] local.INFO: TCP Data received {"connection_id":154560,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:45:47] local.INFO: Processing buffer {"connection_id":154560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:45:47] local.INFO: Packet analysis {"connection_id":154560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:45:47] local.INFO: Extracted packet for processing {"connection_id":154560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312817920001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786378496000,"timestamp_ms":1786378496000,"timestamp_seconds":1786378496,"priority":1,"record_length":96,"hex_timestamp":"0000019fec74a800"} 
[2026-08-10 21:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:45: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-08-10 21:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:45: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-08-10 21:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312817920001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312817920001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:45:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:45:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312817920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":154560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:45:47] local.INFO: GPS data processed {"connection_id":154560,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:45:47] local.INFO: Acknowledgment sent {"connection_id":154560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:45:58] local.INFO: TCP Data received {"connection_id":152212,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:45:58] local.INFO: Processing buffer {"connection_id":152212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:45:58] local.INFO: IMEI packet received {"connection_id":152212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":152212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:46:03] local.INFO: TCP Data received {"connection_id":152212,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:46:03] local.INFO: Processing buffer {"connection_id":152212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:46:03] local.INFO: IMEI packet received {"connection_id":152212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":152212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:46:04] local.INFO: TCP Data received {"connection_id":152212,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec73e0c8012d35f7c006aa0638000900712a..."} 
[2026-08-10 21:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec73e0c8012d35f7c006aa0638000900712a..."} 
[2026-08-10 21:46:04] local.INFO: Processing buffer {"connection_id":152212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec73e0c8012d35f7c006aa0638000900712a..."} 
[2026-08-10 21:46:04] local.INFO: Packet analysis {"connection_id":152212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec73"} 
[2026-08-10 21:46:04] local.INFO: Extracted packet for processing {"connection_id":152212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec73"} 
[2026-08-10 21:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758511552,"raw_latitude":111806008,"longitude_deg":75.8511552,"latitude_deg":11.1806008,"altitude":9,"angle":113,"satellites":42,"speed":40,"hex_longitude":"2d35f7c0","hex_latitude":"06aa0638","is_valid_coordinates":true} 
[2026-08-10 21:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312879616001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376470285974503424,"note":"Value kept but may cause issues"} 
[2026-08-10 21:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3879147420161187840,"note":"Value kept but may cause issues"} 
[2026-08-10 21:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786378445000,"timestamp_ms":1786378445000,"timestamp_seconds":1786378445,"priority":1,"record_length":96,"hex_timestamp":"0000019fec73e0c8"} 
[2026-08-10 21:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 21:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312879616001,"66":27300,"78":206,"81":23296,"24":40,"16":376470285974503424,"45":3879147420161187840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-08-10 21:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312879616001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:46:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-10 21:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376470285974503424,"km_value":376470285974503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3879147420161187840,"description":"Unknown IO ID 45"} 
[2026-08-10 21:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312879616001,"power":27300,"unknown_78":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":3879147420161187840}} 
[2026-08-10 21:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":152212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:46:04] local.INFO: GPS data processed {"connection_id":152212,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:46:04] local.INFO: Acknowledgment sent {"connection_id":152212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:46:18] local.INFO: TCP Data received {"connection_id":154560,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:46:18] local.INFO: Processing buffer {"connection_id":154560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:46:18] local.INFO: Packet analysis {"connection_id":154560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:46:18] local.INFO: Extracted packet for processing {"connection_id":154560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312817920001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786378496000,"timestamp_ms":1786378496000,"timestamp_seconds":1786378496,"priority":1,"record_length":96,"hex_timestamp":"0000019fec74a800"} 
[2026-08-10 21:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312817920001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312817920001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:46:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312817920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":154560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:46:18] local.INFO: GPS data processed {"connection_id":154560,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:46:18] local.INFO: Acknowledgment sent {"connection_id":154560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:46:36] local.INFO: TCP Data received {"connection_id":152212,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7403f0012d36198006a9f830000b00712b..."} 
[2026-08-10 21:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7403f0012d36198006a9f830000b00712b..."} 
[2026-08-10 21:46:36] local.INFO: Processing buffer {"connection_id":152212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7403f0012d36198006a9f830000b00712b..."} 
[2026-08-10 21:46:36] local.INFO: Packet analysis {"connection_id":152212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:46:36] local.INFO: Extracted packet for processing {"connection_id":152212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758520192,"raw_latitude":111802416,"longitude_deg":75.8520192,"latitude_deg":11.1802416,"altitude":11,"angle":113,"satellites":43,"speed":40,"hex_longitude":"2d361980","hex_latitude":"06a9f830","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312881920001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376470732651102208,"note":"Value kept but may cause issues"} 
[2026-08-10 21:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3888787938112583680,"note":"Value kept but may cause issues"} 
[2026-08-10 21:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786378454000,"timestamp_ms":1786378454000,"timestamp_seconds":1786378454,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7403f0"} 
[2026-08-10 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-08-10 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 21:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312881920001,"66":27343,"78":206,"81":23296,"24":40,"16":376470732651102208,"45":3888787938112583680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-08-10 21:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312881920001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:46:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-10 21:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376470732651102208,"km_value":376470732651102.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3888787938112583680,"description":"Unknown IO ID 45"} 
[2026-08-10 21:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312881920001,"power":27343,"unknown_78":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":3888787938112583680}} 
[2026-08-10 21:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":152212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:46:36] local.INFO: GPS data processed {"connection_id":152212,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:46:36] local.INFO: Acknowledgment sent {"connection_id":152212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:46:42] local.INFO: TCP Data received {"connection_id":153148,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:46:42] local.INFO: Processing buffer {"connection_id":153148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:46:42] local.INFO: IMEI packet received {"connection_id":153148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":153148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:46:46] local.INFO: TCP Data received {"connection_id":153148,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:46:46] local.INFO: Processing buffer {"connection_id":153148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:46:46] local.INFO: IMEI packet received {"connection_id":153148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":153148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:46:47] local.INFO: TCP Data received {"connection_id":153148,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:46:47] local.INFO: Processing buffer {"connection_id":153148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:46:47] local.INFO: Packet analysis {"connection_id":153148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:46:47] local.INFO: Extracted packet for processing {"connection_id":153148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312817920001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786378496000,"timestamp_ms":1786378496000,"timestamp_seconds":1786378496,"priority":1,"record_length":96,"hex_timestamp":"0000019fec74a800"} 
[2026-08-10 21:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:46: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-08-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:46: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-08-10 21:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312817920001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312817920001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:46:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312817920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":153148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:46:47] local.INFO: GPS data processed {"connection_id":153148,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:46:47] local.INFO: Acknowledgment sent {"connection_id":153148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:46:58] local.INFO: TCP Data received {"connection_id":153149,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:46:58] local.INFO: Processing buffer {"connection_id":153149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:46:58] local.INFO: IMEI packet received {"connection_id":153149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":153149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:47:00] local.INFO: TCP Data received {"connection_id":153149,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:47:00] local.INFO: Processing buffer {"connection_id":153149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:47:00] local.INFO: IMEI packet received {"connection_id":153149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":153149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:47:03] local.INFO: TCP Data received {"connection_id":153149,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:47:03] local.INFO: Processing buffer {"connection_id":153149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:47:03] local.INFO: IMEI packet received {"connection_id":153149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":153149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:47:04] local.INFO: TCP Data received {"connection_id":153149,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7582c0012d376a8006a989a8000d00582c..."} 
[2026-08-10 21:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7582c0012d376a8006a989a8000d00582c..."} 
[2026-08-10 21:47:04] local.INFO: Processing buffer {"connection_id":153149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7582c0012d376a8006a989a8000d00582c..."} 
[2026-08-10 21:47:04] local.INFO: Packet analysis {"connection_id":153149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec75"} 
[2026-08-10 21:47:04] local.INFO: Extracted packet for processing {"connection_id":153149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec75"} 
[2026-08-10 21:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758606464,"raw_latitude":111774120,"longitude_deg":75.8606464,"latitude_deg":11.177412,"altitude":13,"angle":88,"satellites":44,"speed":38,"hex_longitude":"2d376a80","hex_latitude":"06a989a8","is_valid_coordinates":true} 
[2026-08-10 21:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312907264001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376475126402646016,"note":"Value kept but may cause issues"} 
[2026-08-10 21:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3984630167674628096,"note":"Value kept but may cause issues"} 
[2026-08-10 21:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786378552000,"timestamp_ms":1786378552000,"timestamp_seconds":1786378552,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7582c0"} 
[2026-08-10 21:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 21:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312907264001,"66":27332,"77":206,"81":23296,"24":38,"16":376475126402646016,"45":3984630167674628096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-08-10 21:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312907264001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:47:04] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-10 21:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376475126402646016,"km_value":376475126402646.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3984630167674628096,"description":"Unknown IO ID 45"} 
[2026-08-10 21:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312907264001,"power":27332,"unknown_77":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3984630167674628096}} 
[2026-08-10 21:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":153149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:47:04] local.INFO: GPS data processed {"connection_id":153149,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:47:04] local.INFO: Acknowledgment sent {"connection_id":153149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:47:18] local.INFO: TCP Data received {"connection_id":153148,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:47:18] local.INFO: Processing buffer {"connection_id":153148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:47:18] local.INFO: Packet analysis {"connection_id":153148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:47:18] local.INFO: Extracted packet for processing {"connection_id":153148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312817920001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786378496000,"timestamp_ms":1786378496000,"timestamp_seconds":1786378496,"priority":1,"record_length":96,"hex_timestamp":"0000019fec74a800"} 
[2026-08-10 21:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312817920001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312817920001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:47:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:47:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312817920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":153148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:47:18] local.INFO: GPS data processed {"connection_id":153148,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:47:18] local.INFO: Acknowledgment sent {"connection_id":153148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:47:36] local.INFO: TCP Data received {"connection_id":153149,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec75a9d0012d378f8006a98d20000e00542c..."} 
[2026-08-10 21:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec75a9d0012d378f8006a98d20000e00542c..."} 
[2026-08-10 21:47:36] local.INFO: Processing buffer {"connection_id":153149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec75a9d0012d378f8006a98d20000e00542c..."} 
[2026-08-10 21:47:36] local.INFO: Packet analysis {"connection_id":153149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec75"} 
[2026-08-10 21:47:36] local.INFO: Extracted packet for processing {"connection_id":153149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec75"} 
[2026-08-10 21:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758615936,"raw_latitude":111775008,"longitude_deg":75.8615936,"latitude_deg":11.1775008,"altitude":14,"angle":84,"satellites":44,"speed":39,"hex_longitude":"2d378f80","hex_latitude":"06a98d20","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312909312001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376475577374212096,"note":"Value kept but may cause issues"} 
[2026-08-10 21:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3993144785719896064,"note":"Value kept but may cause issues"} 
[2026-08-10 21:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786378562000,"timestamp_ms":1786378562000,"timestamp_seconds":1786378562,"priority":1,"record_length":96,"hex_timestamp":"0000019fec75a9d0"} 
[2026-08-10 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-08-10 21:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 21:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312909312001,"66":27376,"77":206,"81":23296,"24":39,"16":376475577374212096,"45":3993144785719896064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-08-10 21:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312909312001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:47:36] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-10 21:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376475577374212096,"km_value":376475577374212.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3993144785719896064,"description":"Unknown IO ID 45"} 
[2026-08-10 21:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312909312001,"power":27376,"unknown_77":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":3993144785719896064}} 
[2026-08-10 21:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":153149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:47:36] local.INFO: GPS data processed {"connection_id":153149,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:47:36] local.INFO: Acknowledgment sent {"connection_id":153149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:47:41] local.INFO: TCP Data received {"connection_id":151834,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:47:41] local.INFO: Processing buffer {"connection_id":151834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:47:41] local.INFO: IMEI packet received {"connection_id":151834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":151834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:47:46] local.INFO: TCP Data received {"connection_id":151834,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:47:46] local.INFO: Processing buffer {"connection_id":151834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:47:46] local.INFO: IMEI packet received {"connection_id":151834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":151834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:47:47] local.INFO: TCP Data received {"connection_id":151834,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:47:47] local.INFO: Processing buffer {"connection_id":151834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:47:47] local.INFO: Packet analysis {"connection_id":151834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:47:47] local.INFO: Extracted packet for processing {"connection_id":151834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312817920001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786378496000,"timestamp_ms":1786378496000,"timestamp_seconds":1786378496,"priority":1,"record_length":96,"hex_timestamp":"0000019fec74a800"} 
[2026-08-10 21:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:47: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-08-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:47: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-08-10 21:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312817920001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312817920001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:47:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312817920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":151834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:47:47] local.INFO: GPS data processed {"connection_id":151834,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:47:47] local.INFO: Acknowledgment sent {"connection_id":151834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:47:58] local.INFO: TCP Data received {"connection_id":152213,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:47:58] local.INFO: Processing buffer {"connection_id":152213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:47:58] local.INFO: IMEI packet received {"connection_id":152213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":152213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:48:01] local.INFO: TCP Data received {"connection_id":152213,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:48:01] local.INFO: Processing buffer {"connection_id":152213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:48:01] local.INFO: IMEI packet received {"connection_id":152213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":152213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:48:02] local.INFO: TCP Data received {"connection_id":152213,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:48:02] local.INFO: Processing buffer {"connection_id":152213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:48:02] local.INFO: IMEI packet received {"connection_id":152213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":152213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:48:03] local.INFO: TCP Data received {"connection_id":152213,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec75ccf8012d37b30006a990c8000d00542c..."} 
[2026-08-10 21:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec75ccf8012d37b30006a990c8000d00542c..."} 
[2026-08-10 21:48:03] local.INFO: Processing buffer {"connection_id":152213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec75ccf8012d37b30006a990c8000d00542c..."} 
[2026-08-10 21:48:03] local.INFO: Packet analysis {"connection_id":152213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec75"} 
[2026-08-10 21:48:03] local.INFO: Extracted packet for processing {"connection_id":152213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec75"} 
[2026-08-10 21:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758625024,"raw_latitude":111775944,"longitude_deg":75.8625024,"latitude_deg":11.1775944,"altitude":13,"angle":84,"satellites":44,"speed":37,"hex_longitude":"2d37b300","hex_latitude":"06a990c8","is_valid_coordinates":true} 
[2026-08-10 21:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312911872001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376476011165908992,"note":"Value kept but may cause issues"} 
[2026-08-10 21:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4003559359858417664,"note":"Value kept but may cause issues"} 
[2026-08-10 21:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786378571000,"timestamp_ms":1786378571000,"timestamp_seconds":1786378571,"priority":1,"record_length":96,"hex_timestamp":"0000019fec75ccf8"} 
[2026-08-10 21:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-10 21:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312911872001,"66":27300,"46":206,"81":23296,"24":37,"16":376476011165908992,"45":4003559359858417664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-10 21:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312911872001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:48:03] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-10 21:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376476011165908992,"km_value":376476011165909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4003559359858417664,"description":"Unknown IO ID 45"} 
[2026-08-10 21:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312911872001,"power":27300,"unknown_46":206,"unknown_81":23296,"ignition":37,"odometer":null,"unknown_45":4003559359858417664}} 
[2026-08-10 21:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":152213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:48:03] local.INFO: GPS data processed {"connection_id":152213,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:48:03] local.INFO: Acknowledgment sent {"connection_id":152213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:48:20] local.INFO: TCP Data received {"connection_id":151834,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:48:20] local.INFO: Processing buffer {"connection_id":151834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:48:20] local.INFO: Packet analysis {"connection_id":151834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:48:20] local.INFO: Extracted packet for processing {"connection_id":151834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312817920001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786378496000,"timestamp_ms":1786378496000,"timestamp_seconds":1786378496,"priority":1,"record_length":96,"hex_timestamp":"0000019fec74a800"} 
[2026-08-10 21:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:48: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-08-10 21:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312817920001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312817920001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:48:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:48:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312817920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":151834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:48:20] local.INFO: GPS data processed {"connection_id":151834,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:48:20] local.INFO: Acknowledgment sent {"connection_id":151834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:48:36] local.INFO: TCP Data received {"connection_id":152213,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec75f7f0012d37d6c006a99418000d00562c..."} 
[2026-08-10 21:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec75f7f0012d37d6c006a99418000d00562c..."} 
[2026-08-10 21:48:36] local.INFO: Processing buffer {"connection_id":152213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec75f7f0012d37d6c006a99418000d00562c..."} 
[2026-08-10 21:48:36] local.INFO: Packet analysis {"connection_id":152213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec75"} 
[2026-08-10 21:48:36] local.INFO: Extracted packet for processing {"connection_id":152213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec75"} 
[2026-08-10 21:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758634176,"raw_latitude":111776792,"longitude_deg":75.8634176,"latitude_deg":11.1776792,"altitude":13,"angle":86,"satellites":44,"speed":26,"hex_longitude":"2d37d6c0","hex_latitude":"06a99418","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312914176001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376476449252573184,"note":"Value kept but may cause issues"} 
[2026-08-10 21:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4013551721531885568,"note":"Value kept but may cause issues"} 
[2026-08-10 21:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786378582000,"timestamp_ms":1786378582000,"timestamp_seconds":1786378582,"priority":1,"record_length":96,"hex_timestamp":"0000019fec75f7f0"} 
[2026-08-10 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-08-10 21:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 21:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312914176001,"66":27321,"46":206,"81":23296,"24":26,"16":376476449252573184,"45":4013551721531885568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-10 21:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312914176001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:48:36] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-10 21:48:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376476449252573184,"km_value":376476449252573.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4013551721531885568,"description":"Unknown IO ID 45"} 
[2026-08-10 21:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312914176001,"power":27321,"unknown_46":206,"unknown_81":23296,"ignition":26,"odometer":null,"unknown_45":4013551721531885568}} 
[2026-08-10 21:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":152213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:48:36] local.INFO: GPS data processed {"connection_id":152213,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:48:36] local.INFO: Acknowledgment sent {"connection_id":152213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:48:41] local.INFO: TCP Data received {"connection_id":151835,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:48:41] local.INFO: Processing buffer {"connection_id":151835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:48:41] local.INFO: IMEI packet received {"connection_id":151835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":151835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:48:46] local.INFO: TCP Data received {"connection_id":151835,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:48:46] local.INFO: Processing buffer {"connection_id":151835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:48:46] local.INFO: IMEI packet received {"connection_id":151835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":151835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:48:47] local.INFO: TCP Data received {"connection_id":151835,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:48:47] local.INFO: Processing buffer {"connection_id":151835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:48:47] local.INFO: Packet analysis {"connection_id":151835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:48:47] local.INFO: Extracted packet for processing {"connection_id":151835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312817920001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786378496000,"timestamp_ms":1786378496000,"timestamp_seconds":1786378496,"priority":1,"record_length":96,"hex_timestamp":"0000019fec74a800"} 
[2026-08-10 21:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21: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-08-10 21: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":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:48: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-08-10 21:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312817920001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312817920001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:48:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312817920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":151835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:48:47] local.INFO: GPS data processed {"connection_id":151835,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:48:47] local.INFO: Acknowledgment sent {"connection_id":151835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:49:03] local.INFO: TCP Data received {"connection_id":154561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:49:03] local.INFO: Processing buffer {"connection_id":154561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:49:03] local.INFO: IMEI packet received {"connection_id":154561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":154561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:49:08] local.INFO: TCP Data received {"connection_id":154561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:49:08] local.INFO: Processing buffer {"connection_id":154561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:49:08] local.INFO: IMEI packet received {"connection_id":154561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":154561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:49:09] local.INFO: TCP Data received {"connection_id":154561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec762ab8012d37fa4006a99738000b00552e..."} 
[2026-08-10 21:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec762ab8012d37fa4006a99738000b00552e..."} 
[2026-08-10 21:49:09] local.INFO: Processing buffer {"connection_id":154561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec762ab8012d37fa4006a99738000b00552e..."} 
[2026-08-10 21:49:09] local.INFO: Packet analysis {"connection_id":154561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec76"} 
[2026-08-10 21:49:09] local.INFO: Extracted packet for processing {"connection_id":154561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec76"} 
[2026-08-10 21:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758643264,"raw_latitude":111777592,"longitude_deg":75.8643264,"latitude_deg":11.1777592,"altitude":11,"angle":85,"satellites":46,"speed":27,"hex_longitude":"2d37fa40","hex_latitude":"06a99738","is_valid_coordinates":true} 
[2026-08-10 21:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312916992001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376476883044270080,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4023614451949508608,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786378595000,"timestamp_ms":1786378595000,"timestamp_seconds":1786378595,"priority":1,"record_length":96,"hex_timestamp":"0000019fec762ab8"} 
[2026-08-10 21:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 21:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312916992001,"66":27104,"46":206,"81":23296,"24":27,"16":376476883044270080,"45":4023614451949508608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-10 21:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312916992001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:49:09] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-10 21:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376476883044270080,"km_value":376476883044270.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4023614451949508608,"description":"Unknown IO ID 45"} 
[2026-08-10 21:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312916992001,"power":27104,"unknown_46":206,"unknown_81":23296,"ignition":27,"odometer":null,"unknown_45":4023614451949508608}} 
[2026-08-10 21:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":154561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:49:09] local.INFO: GPS data processed {"connection_id":154561,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:49:09] local.INFO: Acknowledgment sent {"connection_id":154561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:49:10] local.INFO: TCP Data received {"connection_id":154561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec766168012d381f0006a99960000f005a2e..."} 
[2026-08-10 21:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec766168012d381f0006a99960000f005a2e..."} 
[2026-08-10 21:49:10] local.INFO: Processing buffer {"connection_id":154561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec766168012d381f0006a99960000f005a2e..."} 
[2026-08-10 21:49:10] local.INFO: Packet analysis {"connection_id":154561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec76"} 
[2026-08-10 21:49:10] local.INFO: Extracted packet for processing {"connection_id":154561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec76"} 
[2026-08-10 21:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758652672,"raw_latitude":111778144,"longitude_deg":75.8652672,"latitude_deg":11.1778144,"altitude":15,"angle":90,"satellites":46,"speed":25,"hex_longitude":"2d381f00","hex_latitude":"06a99960","is_valid_coordinates":true} 
[2026-08-10 21:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312920320001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376477329720868864,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4033606813622941696,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786378609000,"timestamp_ms":1786378609000,"timestamp_seconds":1786378609,"priority":1,"record_length":96,"hex_timestamp":"0000019fec766168"} 
[2026-08-10 21:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 21:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312920320001,"66":27289,"46":206,"81":23296,"24":25,"16":376477329720868864,"45":4033606813622941696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-10 21:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312920320001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:49:10] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-10 21:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376477329720868864,"km_value":376477329720868.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4033606813622941696,"description":"Unknown IO ID 45"} 
[2026-08-10 21:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312920320001,"power":27289,"unknown_46":206,"unknown_81":23296,"ignition":25,"odometer":null,"unknown_45":4033606813622941696}} 
[2026-08-10 21:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":154561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:49:10] local.INFO: GPS data processed {"connection_id":154561,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:49:10] local.INFO: Acknowledgment sent {"connection_id":154561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:49:18] local.INFO: TCP Data received {"connection_id":151835,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:49:18] local.INFO: Processing buffer {"connection_id":151835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:49:18] local.INFO: Packet analysis {"connection_id":151835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:49:18] local.INFO: Extracted packet for processing {"connection_id":151835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312817920001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786378496000,"timestamp_ms":1786378496000,"timestamp_seconds":1786378496,"priority":1,"record_length":96,"hex_timestamp":"0000019fec74a800"} 
[2026-08-10 21:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312817920001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312817920001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:49:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:49:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312817920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":151835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:49:18] local.INFO: GPS data processed {"connection_id":151835,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:49:18] local.INFO: Acknowledgment sent {"connection_id":151835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:49:41] local.INFO: TCP Data received {"connection_id":154561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec769430012d3842c006a996a8000e00612d..."} 
[2026-08-10 21:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec769430012d3842c006a996a8000e00612d..."} 
[2026-08-10 21:49:41] local.INFO: Processing buffer {"connection_id":154561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec769430012d3842c006a996a8000e00612d..."} 
[2026-08-10 21:49:41] local.INFO: Packet analysis {"connection_id":154561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec76"} 
[2026-08-10 21:49:41] local.INFO: Extracted packet for processing {"connection_id":154561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec76"} 
[2026-08-10 21:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758661824,"raw_latitude":111777448,"longitude_deg":75.8661824,"latitude_deg":11.1777448,"altitude":14,"angle":97,"satellites":45,"speed":27,"hex_longitude":"2d3842c0","hex_latitude":"06a996a8","is_valid_coordinates":true} 
[2026-08-10 21:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312923904001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376477767807533056,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4043951019017199616,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786378622000,"timestamp_ms":1786378622000,"timestamp_seconds":1786378622,"priority":1,"record_length":96,"hex_timestamp":"0000019fec769430"} 
[2026-08-10 21:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-10 21:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312923904001,"66":27343,"46":206,"81":23296,"24":27,"16":376477767807533056,"45":4043951019017199616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-10 21:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312923904001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:49:41] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-10 21:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376477767807533056,"km_value":376477767807533.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4043951019017199616,"description":"Unknown IO ID 45"} 
[2026-08-10 21:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312923904001,"power":27343,"unknown_46":206,"unknown_81":23296,"ignition":27,"odometer":null,"unknown_45":4043951019017199616}} 
[2026-08-10 21:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":154561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:49:41] local.INFO: GPS data processed {"connection_id":154561,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:49:41] local.INFO: Acknowledgment sent {"connection_id":154561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:49:46] local.INFO: TCP Data received {"connection_id":151836,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:49:46] local.INFO: Processing buffer {"connection_id":151836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:49:46] local.INFO: IMEI packet received {"connection_id":151836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":151836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:49:51] local.INFO: TCP Data received {"connection_id":151836,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:49:51] local.INFO: Processing buffer {"connection_id":151836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:49:51] local.INFO: IMEI packet received {"connection_id":151836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":151836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:49:52] local.INFO: TCP Data received {"connection_id":151836,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:49:52] local.INFO: Processing buffer {"connection_id":151836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:49:52] local.INFO: Packet analysis {"connection_id":151836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:49:52] local.INFO: Extracted packet for processing {"connection_id":151836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:49:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312817920001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786378496000,"timestamp_ms":1786378496000,"timestamp_seconds":1786378496,"priority":1,"record_length":96,"hex_timestamp":"0000019fec74a800"} 
[2026-08-10 21:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312817920001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312817920001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:49:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:49:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312817920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":151836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:49:52] local.INFO: GPS data processed {"connection_id":151836,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:49:52] local.INFO: Acknowledgment sent {"connection_id":151836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:49:56] local.INFO: TCP Data received {"connection_id":151836,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:49:56] local.INFO: Processing buffer {"connection_id":151836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec74a800012d196580071ff0380043014226..."} 
[2026-08-10 21:49:56] local.INFO: Packet analysis {"connection_id":151836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:49:56] local.INFO: Extracted packet for processing {"connection_id":151836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec74"} 
[2026-08-10 21:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312817920001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786378496000,"timestamp_ms":1786378496000,"timestamp_seconds":1786378496,"priority":1,"record_length":96,"hex_timestamp":"0000019fec74a800"} 
[2026-08-10 21:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21: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-08-10 21: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":96,"data_length":795,"current_offset":136} 
[2026-08-10 21:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312817920001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312817920001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:49:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:49:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312817920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":151836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:49:57] local.INFO: GPS data processed {"connection_id":151836,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:49:57] local.INFO: Acknowledgment sent {"connection_id":151836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:49:58] local.INFO: TCP Data received {"connection_id":153150,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:49:58] local.INFO: Processing buffer {"connection_id":153150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:49:58] local.INFO: IMEI packet received {"connection_id":153150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":153150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:50:03] local.INFO: TCP Data received {"connection_id":153150,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:50:03] local.INFO: Processing buffer {"connection_id":153150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:50:03] local.INFO: IMEI packet received {"connection_id":153150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":153150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:50:04] local.INFO: TCP Data received {"connection_id":153150,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec76e638012d38574006a992e8000d00622e..."} 
[2026-08-10 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec76e638012d38574006a992e8000d00622e..."} 
[2026-08-10 21:50:04] local.INFO: Processing buffer {"connection_id":153150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec76e638012d38574006a992e8000d00622e..."} 
[2026-08-10 21:50:04] local.INFO: Packet analysis {"connection_id":153150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec76"} 
[2026-08-10 21:50:04] local.INFO: Extracted packet for processing {"connection_id":153150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec76"} 
[2026-08-10 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":758667072,"raw_latitude":111776488,"longitude_deg":75.8667072,"latitude_deg":11.1776488,"altitude":13,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d385740","hex_latitude":"06a992e8","is_valid_coordinates":true} 
[2026-08-10 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312927232001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376478025505570816,"note":"Value kept but may cause issues"} 
[2026-08-10 21:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4054013749434427392,"note":"Value kept but may cause issues"} 
[2026-08-10 21:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786378643000,"timestamp_ms":1786378643000,"timestamp_seconds":1786378643,"priority":1,"record_length":96,"hex_timestamp":"0000019fec76e638"} 
[2026-08-10 21:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 21:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312927232001,"66":27365,"46":206,"81":23296,"24":0,"16":376478025505570816,"45":4054013749434427392},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-10 21:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312927232001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:50:04] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-10 21:50:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376478025505570816,"km_value":376478025505570.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4054013749434427392,"description":"Unknown IO ID 45"} 
[2026-08-10 21:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312927232001,"power":27365,"unknown_46":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":4054013749434427392}} 
[2026-08-10 21:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":153150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:50:04] local.INFO: GPS data processed {"connection_id":153150,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:50:04] local.INFO: Acknowledgment sent {"connection_id":153150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:50:08] local.INFO: TCP Data received {"connection_id":153150,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec773840012d38714006a98cf0000c00692d..."} 
[2026-08-10 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec773840012d38714006a98cf0000c00692d..."} 
[2026-08-10 21:50:08] local.INFO: Processing buffer {"connection_id":153150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec773840012d38714006a98cf0000c00692d..."} 
[2026-08-10 21:50:08] local.INFO: Packet analysis {"connection_id":153150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec77"} 
[2026-08-10 21:50:08] local.INFO: Extracted packet for processing {"connection_id":153150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec77"} 
[2026-08-10 21:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758673728,"raw_latitude":111774960,"longitude_deg":75.8673728,"latitude_deg":11.177496,"altitude":12,"angle":105,"satellites":45,"speed":21,"hex_longitude":"2d387140","hex_latitude":"06a98cf0","is_valid_coordinates":true} 
[2026-08-10 21:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312932608001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376478347628118016,"note":"Value kept but may cause issues"} 
[2026-08-10 21:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4059783986456750080,"note":"Value kept but may cause issues"} 
[2026-08-10 21:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786378664000,"timestamp_ms":1786378664000,"timestamp_seconds":1786378664,"priority":1,"record_length":96,"hex_timestamp":"0000019fec773840"} 
[2026-08-10 21:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 21:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312932608001,"66":27300,"46":206,"81":23296,"24":21,"16":376478347628118016,"45":4059783986456750080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-10 21:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312932608001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:50:08] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-10 21:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376478347628118016,"km_value":376478347628118.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4059783986456750080,"description":"Unknown IO ID 45"} 
[2026-08-10 21:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312932608001,"power":27300,"unknown_46":206,"unknown_81":23296,"ignition":21,"odometer":null,"unknown_45":4059783986456750080}} 
[2026-08-10 21:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":153150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:50:08] local.INFO: GPS data processed {"connection_id":153150,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:50:08] local.INFO: Acknowledgment sent {"connection_id":153150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:50:40] local.INFO: TCP Data received {"connection_id":153150,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7910e8012d39628006a95298000a00ae2d..."} 
[2026-08-10 21:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7910e8012d39628006a95298000a00ae2d..."} 
[2026-08-10 21:50:40] local.INFO: Processing buffer {"connection_id":153150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7910e8012d39628006a95298000a00ae2d..."} 
[2026-08-10 21:50:40] local.INFO: Packet analysis {"connection_id":153150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:50:40] local.INFO: Extracted packet for processing {"connection_id":153150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758735488,"raw_latitude":111760024,"longitude_deg":75.8735488,"latitude_deg":11.1760024,"altitude":10,"angle":174,"satellites":45,"speed":8,"hex_longitude":"2d396280","hex_latitude":"06a95298","is_valid_coordinates":true} 
[2026-08-10 21:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312968704001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134937805234339840,"note":"Value kept but may cause issues"} 
[2026-08-10 21:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376481392759930880,"note":"Value kept but may cause issues"} 
[2026-08-10 21:50:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 21:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786378785000,"timestamp_ms":1786378785000,"timestamp_seconds":1786378785,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7910e8"} 
[2026-08-10 21:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 21:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312968704001,"66":27321,"45":4134937805234339840,"81":23296,"24":8,"16":376481392759930880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-10 21:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312968704001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134937805234339840,"description":"Unknown IO ID 45"} 
[2026-08-10 21:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376481392759930880,"km_value":376481392759930.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:50:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457312968704001,"power":27321,"unknown_45":4134937805234339840,"unknown_81":23296,"ignition":8,"odometer":null}} 
[2026-08-10 21:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":153150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:50:40] local.INFO: GPS data processed {"connection_id":153150,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:50:40] local.INFO: Acknowledgment sent {"connection_id":153150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:50:41] local.INFO: TCP Data received {"connection_id":154562,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:50:41] local.INFO: Processing buffer {"connection_id":154562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:50:41] local.INFO: IMEI packet received {"connection_id":154562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":154562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:50:46] local.INFO: TCP Data received {"connection_id":154562,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:50:46] local.INFO: Processing buffer {"connection_id":154562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:50:46] local.INFO: IMEI packet received {"connection_id":154562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":154562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:50:47] local.INFO: TCP Data received {"connection_id":154562,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:50:47] local.INFO: Processing buffer {"connection_id":154562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:50:47] local.INFO: Packet analysis {"connection_id":154562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:50:47] local.INFO: Extracted packet for processing {"connection_id":154562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312894976001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786378797000,"timestamp_ms":1786378797000,"timestamp_seconds":1786378797,"priority":1,"record_length":96,"hex_timestamp":"0000019fec793fc8"} 
[2026-08-10 21:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312894976001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312894976001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:50:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:50:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312894976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":154562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:50:47] local.INFO: GPS data processed {"connection_id":154562,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:50:47] local.INFO: Acknowledgment sent {"connection_id":154562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:50:58] local.INFO: TCP Data received {"connection_id":153151,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:50:58] local.INFO: Processing buffer {"connection_id":153151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:50:58] local.INFO: IMEI packet received {"connection_id":153151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":153151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:51:03] local.INFO: TCP Data received {"connection_id":153151,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:51:03] local.INFO: Processing buffer {"connection_id":153151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:51:03] local.INFO: IMEI packet received {"connection_id":153151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":153151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:51:04] local.INFO: TCP Data received {"connection_id":153151,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7918b8012d3962c006a950d0000900ba2e..."} 
[2026-08-10 21:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7918b8012d3962c006a950d0000900ba2e..."} 
[2026-08-10 21:51:04] local.INFO: Processing buffer {"connection_id":153151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7918b8012d3962c006a950d0000900ba2e..."} 
[2026-08-10 21:51:04] local.INFO: Packet analysis {"connection_id":153151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:51:04] local.INFO: Extracted packet for processing {"connection_id":153151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758735552,"raw_latitude":111759568,"longitude_deg":75.8735552,"latitude_deg":11.1759568,"altitude":9,"angle":186,"satellites":46,"speed":10,"hex_longitude":"2d3962c0","hex_latitude":"06a950d0","is_valid_coordinates":true} 
[2026-08-10 21:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312968960001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135008173978458112,"note":"Value kept but may cause issues"} 
[2026-08-10 21:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376481414234767360,"note":"Value kept but may cause issues"} 
[2026-08-10 21:51:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 21:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786378787000,"timestamp_ms":1786378787000,"timestamp_seconds":1786378787,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7918b8"} 
[2026-08-10 21:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 21:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312968960001,"66":27234,"45":4135008173978458112,"81":23296,"24":10,"16":376481414234767360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-10 21:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312968960001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135008173978458112,"description":"Unknown IO ID 45"} 
[2026-08-10 21:51:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376481414234767360,"km_value":376481414234767.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:51:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457312968960001,"power":27234,"unknown_45":4135008173978458112,"unknown_81":23296,"ignition":10,"odometer":null}} 
[2026-08-10 21:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":153151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:51:04] local.INFO: GPS data processed {"connection_id":153151,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:51:04] local.INFO: Acknowledgment sent {"connection_id":153151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:51:18] local.INFO: TCP Data received {"connection_id":154562,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:51:18] local.INFO: Processing buffer {"connection_id":154562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:51:18] local.INFO: Packet analysis {"connection_id":154562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:51:18] local.INFO: Extracted packet for processing {"connection_id":154562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312894976001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786378797000,"timestamp_ms":1786378797000,"timestamp_seconds":1786378797,"priority":1,"record_length":96,"hex_timestamp":"0000019fec793fc8"} 
[2026-08-10 21:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312894976001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312894976001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:51:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312894976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":154562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:51:18] local.INFO: GPS data processed {"connection_id":154562,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:51:18] local.INFO: Acknowledgment sent {"connection_id":154562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:51:35] local.INFO: TCP Data received {"connection_id":153151,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec792858012d39638006a94b90000600ab2e..."} 
[2026-08-10 21:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec792858012d39638006a94b90000600ab2e..."} 
[2026-08-10 21:51:35] local.INFO: Processing buffer {"connection_id":153151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec792858012d39638006a94b90000600ab2e..."} 
[2026-08-10 21:51:35] local.INFO: Packet analysis {"connection_id":153151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:51:35] local.INFO: Extracted packet for processing {"connection_id":153151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758735744,"raw_latitude":111758224,"longitude_deg":75.8735744,"latitude_deg":11.1758224,"altitude":6,"angle":171,"satellites":46,"speed":14,"hex_longitude":"2d396380","hex_latitude":"06a94b90","is_valid_coordinates":true} 
[2026-08-10 21:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312969472001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135078542722519040,"note":"Value kept but may cause issues"} 
[2026-08-10 21:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376481478659276800,"note":"Value kept but may cause issues"} 
[2026-08-10 21:51:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 21:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786378791000,"timestamp_ms":1786378791000,"timestamp_seconds":1786378791,"priority":1,"record_length":96,"hex_timestamp":"0000019fec792858"} 
[2026-08-10 21:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 21:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312969472001,"66":27376,"45":4135078542722519040,"81":23296,"24":14,"16":376481478659276800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-10 21:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312969472001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135078542722519040,"description":"Unknown IO ID 45"} 
[2026-08-10 21:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-10 21:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376481478659276800,"km_value":376481478659276.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:51:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457312969472001,"power":27376,"unknown_45":4135078542722519040,"unknown_81":23296,"ignition":14,"odometer":null}} 
[2026-08-10 21:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":153151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:51:35] local.INFO: GPS data processed {"connection_id":153151,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:51:35] local.INFO: Acknowledgment sent {"connection_id":153151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:51:41] local.INFO: TCP Data received {"connection_id":154563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:51:41] local.INFO: Processing buffer {"connection_id":154563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:51:41] local.INFO: IMEI packet received {"connection_id":154563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":154563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:51:46] local.INFO: TCP Data received {"connection_id":154563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:51:46] local.INFO: Processing buffer {"connection_id":154563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:51:46] local.INFO: IMEI packet received {"connection_id":154563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":154563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:51:47] local.INFO: TCP Data received {"connection_id":154563,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:51:47] local.INFO: Processing buffer {"connection_id":154563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:51:47] local.INFO: Packet analysis {"connection_id":154563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:51:47] local.INFO: Extracted packet for processing {"connection_id":154563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:51:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312894976001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786378797000,"timestamp_ms":1786378797000,"timestamp_seconds":1786378797,"priority":1,"record_length":96,"hex_timestamp":"0000019fec793fc8"} 
[2026-08-10 21:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312894976001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312894976001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:51:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:51:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312894976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":154563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:51:47] local.INFO: GPS data processed {"connection_id":154563,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:51:47] local.INFO: Acknowledgment sent {"connection_id":154563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:51:58] local.INFO: TCP Data received {"connection_id":152214,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:51:58] local.INFO: Processing buffer {"connection_id":152214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:51:58] local.INFO: IMEI packet received {"connection_id":152214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":152214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:51:58] local.INFO: TCP Data received {"connection_id":152214,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:51:58] local.INFO: Processing buffer {"connection_id":152214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:51:58] local.INFO: IMEI packet received {"connection_id":152214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":152214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:52:03] local.INFO: TCP Data received {"connection_id":152214,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:52:03] local.INFO: Processing buffer {"connection_id":152214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:52:03] local.INFO: IMEI packet received {"connection_id":152214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":152214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:52:05] local.INFO: TCP Data received {"connection_id":152214,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec795f08012d396f0006a927d8000700a429..."} 
[2026-08-10 21:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec795f08012d396f0006a927d8000700a429..."} 
[2026-08-10 21:52:05] local.INFO: Processing buffer {"connection_id":152214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec795f08012d396f0006a927d8000700a429..."} 
[2026-08-10 21:52:05] local.INFO: Packet analysis {"connection_id":152214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:52:05] local.INFO: Extracted packet for processing {"connection_id":152214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758738688,"raw_latitude":111749080,"longitude_deg":75.8738688,"latitude_deg":11.174908,"altitude":7,"angle":164,"satellites":41,"speed":34,"hex_longitude":"2d396f00","hex_latitude":"06a927d8","is_valid_coordinates":true} 
[2026-08-10 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312970496001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376481946810712064,"note":"Value kept but may cause issues"} 
[2026-08-10 21:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135289648954707968,"note":"Value kept but may cause issues"} 
[2026-08-10 21:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786378805000,"timestamp_ms":1786378805000,"timestamp_seconds":1786378805,"priority":1,"record_length":96,"hex_timestamp":"0000019fec795f08"} 
[2026-08-10 21:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-10 21:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312970496001,"66":27223,"237":206,"81":49664,"24":34,"16":376481946810712064,"45":4135289648954707968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-08-10 21:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312970496001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:52:05] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-10 21:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376481946810712064,"km_value":376481946810712.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135289648954707968,"description":"Unknown IO ID 45"} 
[2026-08-10 21:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312970496001,"power":27223,"unknown_237":206,"unknown_81":49664,"ignition":34,"odometer":null,"unknown_45":4135289648954707968}} 
[2026-08-10 21:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":152214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:52:05] local.INFO: GPS data processed {"connection_id":152214,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:52:05] local.INFO: Acknowledgment sent {"connection_id":152214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:52:21] local.INFO: TCP Data received {"connection_id":154563,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:52:21] local.INFO: Processing buffer {"connection_id":154563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:52:21] local.INFO: Packet analysis {"connection_id":154563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:52:21] local.INFO: Extracted packet for processing {"connection_id":154563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312894976001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786378797000,"timestamp_ms":1786378797000,"timestamp_seconds":1786378797,"priority":1,"record_length":96,"hex_timestamp":"0000019fec793fc8"} 
[2026-08-10 21:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:52: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-08-10 21:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:52: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-08-10 21:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312894976001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312894976001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:52:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:52:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312894976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":154563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:52:21] local.INFO: GPS data processed {"connection_id":154563,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:52:21] local.INFO: Acknowledgment sent {"connection_id":154563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:52:36] local.INFO: TCP Data received {"connection_id":152214,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec798618012d397a0006a903c8000a00a52b..."} 
[2026-08-10 21:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec798618012d397a0006a903c8000a00a52b..."} 
[2026-08-10 21:52:36] local.INFO: Processing buffer {"connection_id":152214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec798618012d397a0006a903c8000a00a52b..."} 
[2026-08-10 21:52:36] local.INFO: Packet analysis {"connection_id":152214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:52:36] local.INFO: Extracted packet for processing {"connection_id":152214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758741504,"raw_latitude":111739848,"longitude_deg":75.8741504,"latitude_deg":11.1739848,"altitude":10,"angle":165,"satellites":43,"speed":38,"hex_longitude":"2d397a00","hex_latitude":"06a903c8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312974080001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376482414962147328,"note":"Value kept but may cause issues"} 
[2026-08-10 21:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4138526611184539648,"note":"Value kept but may cause issues"} 
[2026-08-10 21:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786378815000,"timestamp_ms":1786378815000,"timestamp_seconds":1786378815,"priority":1,"record_length":96,"hex_timestamp":"0000019fec798618"} 
[2026-08-10 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-08-10 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-10 21:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 21:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312974080001,"66":27365,"237":206,"81":49664,"24":38,"16":376482414962147328,"45":4138526611184539648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-08-10 21:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312974080001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:52:36] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-10 21:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376482414962147328,"km_value":376482414962147.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4138526611184539648,"description":"Unknown IO ID 45"} 
[2026-08-10 21:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312974080001,"power":27365,"unknown_237":206,"unknown_81":49664,"ignition":38,"odometer":null,"unknown_45":4138526611184539648}} 
[2026-08-10 21:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":152214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:52:36] local.INFO: GPS data processed {"connection_id":152214,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:52:36] local.INFO: Acknowledgment sent {"connection_id":152214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:52:41] local.INFO: TCP Data received {"connection_id":153152,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:52:41] local.INFO: Processing buffer {"connection_id":153152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:52:41] local.INFO: IMEI packet received {"connection_id":153152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":153152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:52:46] local.INFO: TCP Data received {"connection_id":153152,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:52:46] local.INFO: Processing buffer {"connection_id":153152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:52:46] local.INFO: IMEI packet received {"connection_id":153152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":153152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:52:47] local.INFO: TCP Data received {"connection_id":153152,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:52:47] local.INFO: Processing buffer {"connection_id":153152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:52:47] local.INFO: Packet analysis {"connection_id":153152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:52:47] local.INFO: Extracted packet for processing {"connection_id":153152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312894976001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786378797000,"timestamp_ms":1786378797000,"timestamp_seconds":1786378797,"priority":1,"record_length":96,"hex_timestamp":"0000019fec793fc8"} 
[2026-08-10 21:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312894976001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312894976001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:52:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:52:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312894976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":153152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:52:47] local.INFO: GPS data processed {"connection_id":153152,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:52:47] local.INFO: Acknowledgment sent {"connection_id":153152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:52:58] local.INFO: TCP Data received {"connection_id":153153,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:52:58] local.INFO: Processing buffer {"connection_id":153153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:52:58] local.INFO: IMEI packet received {"connection_id":153153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":153153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:53:03] local.INFO: TCP Data received {"connection_id":153153,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:53:03] local.INFO: Processing buffer {"connection_id":153153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:53:03] local.INFO: IMEI packet received {"connection_id":153153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":153153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:53:04] local.INFO: TCP Data received {"connection_id":153153,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec79ad28012d3983c006a8def0000a00a52a..."} 
[2026-08-10 21:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec79ad28012d3983c006a8def0000a00a52a..."} 
[2026-08-10 21:53:04] local.INFO: Processing buffer {"connection_id":153153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec79ad28012d3983c006a8def0000a00a52a..."} 
[2026-08-10 21:53:04] local.INFO: Packet analysis {"connection_id":153153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:53:04] local.INFO: Extracted packet for processing {"connection_id":153153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758744000,"raw_latitude":111730416,"longitude_deg":75.8744,"latitude_deg":11.1730416,"altitude":10,"angle":165,"satellites":42,"speed":38,"hex_longitude":"2d3983c0","hex_latitude":"06a8def0","is_valid_coordinates":true} 
[2026-08-10 21:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312976640001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376482887408549888,"note":"Value kept but may cause issues"} 
[2026-08-10 21:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4141622835925993472,"note":"Value kept but may cause issues"} 
[2026-08-10 21:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786378825000,"timestamp_ms":1786378825000,"timestamp_seconds":1786378825,"priority":1,"record_length":96,"hex_timestamp":"0000019fec79ad28"} 
[2026-08-10 21:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 21:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312976640001,"66":27321,"237":206,"81":49664,"24":38,"16":376482887408549888,"45":4141622835925993472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-08-10 21:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312976640001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:53:04] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-10 21:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376482887408549888,"km_value":376482887408549.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4141622835925993472,"description":"Unknown IO ID 45"} 
[2026-08-10 21:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312976640001,"power":27321,"unknown_237":206,"unknown_81":49664,"ignition":38,"odometer":null,"unknown_45":4141622835925993472}} 
[2026-08-10 21:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":153153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:53:04] local.INFO: GPS data processed {"connection_id":153153,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:53:04] local.INFO: Acknowledgment sent {"connection_id":153153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:53:18] local.INFO: TCP Data received {"connection_id":153152,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:53:18] local.INFO: Processing buffer {"connection_id":153152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:53:18] local.INFO: Packet analysis {"connection_id":153152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:53:18] local.INFO: Extracted packet for processing {"connection_id":153152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312894976001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786378797000,"timestamp_ms":1786378797000,"timestamp_seconds":1786378797,"priority":1,"record_length":96,"hex_timestamp":"0000019fec793fc8"} 
[2026-08-10 21:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21: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-08-10 21: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-08-10 21: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-08-10 21:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312894976001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312894976001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:53:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:53:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312894976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":153152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:53:18] local.INFO: GPS data processed {"connection_id":153152,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:53:18] local.INFO: Acknowledgment sent {"connection_id":153152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:53:36] local.INFO: TCP Data received {"connection_id":153153,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7bb0c8012d3a06c006a76a08001a007b2f..."} 
[2026-08-10 21:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7bb0c8012d3a06c006a76a08001a007b2f..."} 
[2026-08-10 21:53:36] local.INFO: Processing buffer {"connection_id":153153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7bb0c8012d3a06c006a76a08001a007b2f..."} 
[2026-08-10 21:53:36] local.INFO: Packet analysis {"connection_id":153153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7b"} 
[2026-08-10 21:53:36] local.INFO: Extracted packet for processing {"connection_id":153153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7b"} 
[2026-08-10 21:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758777536,"raw_latitude":111634952,"longitude_deg":75.8777536,"latitude_deg":11.1634952,"altitude":26,"angle":123,"satellites":47,"speed":34,"hex_longitude":"2d3a06c0","hex_latitude":"06a76a08","is_valid_coordinates":true} 
[2026-08-10 21: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-08-10 21:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313011456001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376487504498393088,"note":"Value kept but may cause issues"} 
[2026-08-10 21:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4176877576733026304,"note":"Value kept but may cause issues"} 
[2026-08-10 21:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786378957000,"timestamp_ms":1786378957000,"timestamp_seconds":1786378957,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7bb0c8"} 
[2026-08-10 21:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 21:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21: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-08-10 21:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313011456001,"66":27365,"102":206,"81":49664,"24":34,"16":376487504498393088,"45":4176877576733026304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-08-10 21:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313011456001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:53:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376487504498393088,"km_value":376487504498393.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4176877576733026304,"description":"Unknown IO ID 45"} 
[2026-08-10 21:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313011456001,"power":27365,"unknown_102":206,"unknown_81":49664,"ignition":34,"odometer":null,"unknown_45":4176877576733026304}} 
[2026-08-10 21:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":153153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:53:36] local.INFO: GPS data processed {"connection_id":153153,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:53:36] local.INFO: Acknowledgment sent {"connection_id":153153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:53:41] local.INFO: TCP Data received {"connection_id":154564,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:53:41] local.INFO: Processing buffer {"connection_id":154564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:53:41] local.INFO: IMEI packet received {"connection_id":154564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":154564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:53:46] local.INFO: TCP Data received {"connection_id":154564,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:53:46] local.INFO: Processing buffer {"connection_id":154564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:53:46] local.INFO: IMEI packet received {"connection_id":154564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":154564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:53:47] local.INFO: TCP Data received {"connection_id":154564,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:53:47] local.INFO: Processing buffer {"connection_id":154564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:53:47] local.INFO: Packet analysis {"connection_id":154564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:53:47] local.INFO: Extracted packet for processing {"connection_id":154564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:53:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312894976001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786378797000,"timestamp_ms":1786378797000,"timestamp_seconds":1786378797,"priority":1,"record_length":96,"hex_timestamp":"0000019fec793fc8"} 
[2026-08-10 21:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312894976001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312894976001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:53:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:53:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312894976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":154564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:53:47] local.INFO: GPS data processed {"connection_id":154564,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:53:47] local.INFO: Acknowledgment sent {"connection_id":154564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:53:57] local.INFO: TCP Data received {"connection_id":151837,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:53:57] local.INFO: Processing buffer {"connection_id":151837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:53:57] local.INFO: IMEI packet received {"connection_id":151837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":151837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:54:00] local.INFO: TCP Data received {"connection_id":151837,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:54:00] local.INFO: Processing buffer {"connection_id":151837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:54:00] local.INFO: IMEI packet received {"connection_id":151837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":151837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:54:03] local.INFO: TCP Data received {"connection_id":151837,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:54:03] local.INFO: Processing buffer {"connection_id":151837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:54:03] local.INFO: IMEI packet received {"connection_id":151837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":151837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:54:04] local.INFO: TCP Data received {"connection_id":151837,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7bc838012d3a17c006a76120001a006f2f..."} 
[2026-08-10 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7bc838012d3a17c006a76120001a006f2f..."} 
[2026-08-10 21:54:04] local.INFO: Processing buffer {"connection_id":151837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7bc838012d3a17c006a76120001a006f2f..."} 
[2026-08-10 21:54:04] local.INFO: Packet analysis {"connection_id":151837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7b"} 
[2026-08-10 21:54:04] local.INFO: Extracted packet for processing {"connection_id":151837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7b"} 
[2026-08-10 21:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758781888,"raw_latitude":111632672,"longitude_deg":75.8781888,"latitude_deg":11.1632672,"altitude":26,"angle":111,"satellites":47,"speed":28,"hex_longitude":"2d3a17c0","hex_latitude":"06a76120","is_valid_coordinates":true} 
[2026-08-10 21:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313012992001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376487740721594368,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4181240438871164928,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786378963000,"timestamp_ms":1786378963000,"timestamp_seconds":1786378963,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7bc838"} 
[2026-08-10 21:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 21:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313012992001,"66":27267,"102":206,"81":49664,"24":28,"16":376487740721594368,"45":4181240438871164928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-08-10 21:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313012992001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:54:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376487740721594368,"km_value":376487740721594.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4181240438871164928,"description":"Unknown IO ID 45"} 
[2026-08-10 21:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313012992001,"power":27267,"unknown_102":206,"unknown_81":49664,"ignition":28,"odometer":null,"unknown_45":4181240438871164928}} 
[2026-08-10 21:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":151837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:54:04] local.INFO: GPS data processed {"connection_id":151837,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:54:04] local.INFO: Acknowledgment sent {"connection_id":151837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:54:18] local.INFO: TCP Data received {"connection_id":154564,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:54:18] local.INFO: Processing buffer {"connection_id":154564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:54:18] local.INFO: Packet analysis {"connection_id":154564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:54:18] local.INFO: Extracted packet for processing {"connection_id":154564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312894976001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786378797000,"timestamp_ms":1786378797000,"timestamp_seconds":1786378797,"priority":1,"record_length":96,"hex_timestamp":"0000019fec793fc8"} 
[2026-08-10 21:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312894976001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312894976001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:54:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312894976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":154564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:54:18] local.INFO: GPS data processed {"connection_id":154564,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:54:18] local.INFO: Acknowledgment sent {"connection_id":154564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:54:35] local.INFO: TCP Data received {"connection_id":151837,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7beb60012d3a2ec006a75aa0001c00642f..."} 
[2026-08-10 21:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7beb60012d3a2ec006a75aa0001c00642f..."} 
[2026-08-10 21:54:35] local.INFO: Processing buffer {"connection_id":151837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7beb60012d3a2ec006a75aa0001c00642f..."} 
[2026-08-10 21:54:35] local.INFO: Packet analysis {"connection_id":151837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7b"} 
[2026-08-10 21:54:35] local.INFO: Extracted packet for processing {"connection_id":151837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7b"} 
[2026-08-10 21:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758787776,"raw_latitude":111631008,"longitude_deg":75.8787776,"latitude_deg":11.1631008,"altitude":28,"angle":100,"satellites":47,"speed":25,"hex_longitude":"2d3a2ec0","hex_latitude":"06a75aa0","is_valid_coordinates":true} 
[2026-08-10 21:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313014528001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376488028484403200,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4186025513474662400,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786378972000,"timestamp_ms":1786378972000,"timestamp_seconds":1786378972,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7beb60"} 
[2026-08-10 21:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 21:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313014528001,"66":27267,"102":206,"81":49664,"24":25,"16":376488028484403200,"45":4186025513474662400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-08-10 21:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313014528001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:54:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376488028484403200,"km_value":376488028484403.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4186025513474662400,"description":"Unknown IO ID 45"} 
[2026-08-10 21:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313014528001,"power":27267,"unknown_102":206,"unknown_81":49664,"ignition":25,"odometer":null,"unknown_45":4186025513474662400}} 
[2026-08-10 21:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":151837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:54:35] local.INFO: GPS data processed {"connection_id":151837,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:54:35] local.INFO: Acknowledgment sent {"connection_id":151837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:54:46] local.INFO: TCP Data received {"connection_id":154565,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:54:46] local.INFO: Processing buffer {"connection_id":154565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:54:46] local.INFO: IMEI packet received {"connection_id":154565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":154565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:54:51] local.INFO: TCP Data received {"connection_id":154565,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:54:51] local.INFO: Processing buffer {"connection_id":154565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:54:51] local.INFO: IMEI packet received {"connection_id":154565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":154565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:54:52] local.INFO: TCP Data received {"connection_id":154565,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:54:52] local.INFO: Processing buffer {"connection_id":154565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:54:52] local.INFO: Packet analysis {"connection_id":154565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:54:52] local.INFO: Extracted packet for processing {"connection_id":154565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312894976001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786378797000,"timestamp_ms":1786378797000,"timestamp_seconds":1786378797,"priority":1,"record_length":96,"hex_timestamp":"0000019fec793fc8"} 
[2026-08-10 21:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312894976001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312894976001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:54:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312894976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":154565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:54:52] local.INFO: GPS data processed {"connection_id":154565,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:54:52] local.INFO: Acknowledgment sent {"connection_id":154565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:54:56] local.INFO: TCP Data received {"connection_id":154565,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:54:56] local.INFO: Processing buffer {"connection_id":154565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec793fc8012d196580071ff0380043014226..."} 
[2026-08-10 21:54:56] local.INFO: Packet analysis {"connection_id":154565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:54:56] local.INFO: Extracted packet for processing {"connection_id":154565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec79"} 
[2026-08-10 21:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312894976001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786378797000,"timestamp_ms":1786378797000,"timestamp_seconds":1786378797,"priority":1,"record_length":96,"hex_timestamp":"0000019fec793fc8"} 
[2026-08-10 21:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312894976001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312894976001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:54:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312894976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":154565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:54:57] local.INFO: GPS data processed {"connection_id":154565,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:54:57] local.INFO: Acknowledgment sent {"connection_id":154565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:54:57] local.INFO: TCP Data received {"connection_id":151838,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:54:57] local.INFO: Processing buffer {"connection_id":151838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:54:57] local.INFO: IMEI packet received {"connection_id":151838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":151838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:55:03] local.INFO: TCP Data received {"connection_id":151838,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:55:03] local.INFO: Processing buffer {"connection_id":151838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:55:03] local.INFO: IMEI packet received {"connection_id":151838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":151838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:55:04] local.INFO: TCP Data received {"connection_id":151838,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7c2210012d3a524006a75458001f00632e..."} 
[2026-08-10 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7c2210012d3a524006a75458001f00632e..."} 
[2026-08-10 21:55:04] local.INFO: Processing buffer {"connection_id":151838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7c2210012d3a524006a75458001f00632e..."} 
[2026-08-10 21:55:04] local.INFO: Packet analysis {"connection_id":151838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7c"} 
[2026-08-10 21:55:04] local.INFO: Extracted packet for processing {"connection_id":151838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7c"} 
[2026-08-10 21:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758796864,"raw_latitude":111629400,"longitude_deg":75.8796864,"latitude_deg":11.16294,"altitude":31,"angle":99,"satellites":46,"speed":25,"hex_longitude":"2d3a5240","hex_latitude":"06a75458","is_valid_coordinates":true} 
[2026-08-10 21:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313016832001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376488470866034688,"note":"Value kept but may cause issues"} 
[2026-08-10 21:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4192499437938581504,"note":"Value kept but may cause issues"} 
[2026-08-10 21:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786378986000,"timestamp_ms":1786378986000,"timestamp_seconds":1786378986,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7c2210"} 
[2026-08-10 21:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 21:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313016832001,"66":27397,"102":206,"81":49664,"24":25,"16":376488470866034688,"45":4192499437938581504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-08-10 21:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313016832001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:55:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376488470866034688,"km_value":376488470866034.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4192499437938581504,"description":"Unknown IO ID 45"} 
[2026-08-10 21:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313016832001,"power":27397,"unknown_102":206,"unknown_81":49664,"ignition":25,"odometer":null,"unknown_45":4192499437938581504}} 
[2026-08-10 21:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":151838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:55:04] local.INFO: GPS data processed {"connection_id":151838,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:55:04] local.INFO: Acknowledgment sent {"connection_id":151838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:55:35] local.INFO: TCP Data received {"connection_id":151838,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7c6090012d3a750006a74eb00021006330..."} 
[2026-08-10 21:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7c6090012d3a750006a74eb00021006330..."} 
[2026-08-10 21:55:35] local.INFO: Processing buffer {"connection_id":151838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7c6090012d3a750006a74eb00021006330..."} 
[2026-08-10 21:55:35] local.INFO: Packet analysis {"connection_id":151838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7c"} 
[2026-08-10 21:55:35] local.INFO: Extracted packet for processing {"connection_id":151838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7c"} 
[2026-08-10 21:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758805760,"raw_latitude":111627952,"longitude_deg":75.880576,"latitude_deg":11.1627952,"altitude":33,"angle":99,"satellites":48,"speed":17,"hex_longitude":"2d3a7500","hex_latitude":"06a74eb0","is_valid_coordinates":true} 
[2026-08-10 21:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313020416001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376488900362764288,"note":"Value kept but may cause issues"} 
[2026-08-10 21:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4202491799611398144,"note":"Value kept but may cause issues"} 
[2026-08-10 21:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786379002000,"timestamp_ms":1786379002000,"timestamp_seconds":1786379002,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7c6090"} 
[2026-08-10 21:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 21:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313020416001,"66":27321,"102":206,"81":49664,"24":17,"16":376488900362764288,"45":4202491799611398144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-08-10 21:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313020416001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:55:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:55:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376488900362764288,"km_value":376488900362764.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4202491799611398144,"description":"Unknown IO ID 45"} 
[2026-08-10 21:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313020416001,"power":27321,"unknown_102":206,"unknown_81":49664,"ignition":17,"odometer":null,"unknown_45":4202491799611398144}} 
[2026-08-10 21:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":151838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:55:35] local.INFO: GPS data processed {"connection_id":151838,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:55:35] local.INFO: Acknowledgment sent {"connection_id":151838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:55:41] local.INFO: TCP Data received {"connection_id":152215,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:55:41] local.INFO: Processing buffer {"connection_id":152215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:55:41] local.INFO: IMEI packet received {"connection_id":152215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":152215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:55:46] local.INFO: TCP Data received {"connection_id":152215,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:55:46] local.INFO: Processing buffer {"connection_id":152215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:55:46] local.INFO: IMEI packet received {"connection_id":152215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":152215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:55:47] local.INFO: TCP Data received {"connection_id":152215,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:55:47] local.INFO: Processing buffer {"connection_id":152215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:55:47] local.INFO: Packet analysis {"connection_id":152215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:55:47] local.INFO: Extracted packet for processing {"connection_id":152215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312972032001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786379098000,"timestamp_ms":1786379098000,"timestamp_seconds":1786379098,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7dd790"} 
[2026-08-10 21:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312972032001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312972032001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:55:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:55:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312972032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":152215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:55:47] local.INFO: GPS data processed {"connection_id":152215,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:55:47] local.INFO: Acknowledgment sent {"connection_id":152215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:56:03] local.INFO: TCP Data received {"connection_id":153154,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:56:03] local.INFO: Processing buffer {"connection_id":153154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:56:03] local.INFO: IMEI packet received {"connection_id":153154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":153154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:56:08] local.INFO: TCP Data received {"connection_id":153154,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:56:08] local.INFO: Processing buffer {"connection_id":153154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:56:08] local.INFO: IMEI packet received {"connection_id":153154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":153154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:56:18] local.INFO: TCP Data received {"connection_id":152215,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:56:18] local.INFO: Processing buffer {"connection_id":152215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:56:18] local.INFO: Packet analysis {"connection_id":152215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:56:18] local.INFO: Extracted packet for processing {"connection_id":152215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312972032001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786379098000,"timestamp_ms":1786379098000,"timestamp_seconds":1786379098,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7dd790"} 
[2026-08-10 21:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312972032001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312972032001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:56:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:56:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312972032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":152215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:56:18] local.INFO: GPS data processed {"connection_id":152215,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:56:18] local.INFO: Acknowledgment sent {"connection_id":152215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:56:41] local.INFO: TCP Data received {"connection_id":153155,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:56:41] local.INFO: Processing buffer {"connection_id":153155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:56:41] local.INFO: IMEI packet received {"connection_id":153155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":153155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:56:46] local.INFO: TCP Data received {"connection_id":153155,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:56:46] local.INFO: Processing buffer {"connection_id":153155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:56:46] local.INFO: IMEI packet received {"connection_id":153155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":153155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:56:47] local.INFO: TCP Data received {"connection_id":153155,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:56:47] local.INFO: Processing buffer {"connection_id":153155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:56:47] local.INFO: Packet analysis {"connection_id":153155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:56:47] local.INFO: Extracted packet for processing {"connection_id":153155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312972032001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786379098000,"timestamp_ms":1786379098000,"timestamp_seconds":1786379098,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7dd790"} 
[2026-08-10 21:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312972032001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312972032001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:56:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312972032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":153155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:56:47] local.INFO: GPS data processed {"connection_id":153155,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:56:47] local.INFO: Acknowledgment sent {"connection_id":153155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:56:58] local.INFO: TCP Data received {"connection_id":151839,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:56:58] local.INFO: Processing buffer {"connection_id":151839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:56:58] local.INFO: IMEI packet received {"connection_id":151839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":151839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:57:02] local.INFO: TCP Data received {"connection_id":153154,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7cb298012d3a968006a74828002600662f..."} 
[2026-08-10 21:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7cb298012d3a968006a74828002600662f..."} 
[2026-08-10 21:57:02] local.INFO: Processing buffer {"connection_id":153154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7cb298012d3a968006a74828002600662f..."} 
[2026-08-10 21:57:02] local.INFO: Packet analysis {"connection_id":153154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7c"} 
[2026-08-10 21:57:02] local.INFO: Extracted packet for processing {"connection_id":153154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7c"} 
[2026-08-10 21:57:02] local.INFO: GPS Element Parsed {"raw_longitude":758814336,"raw_latitude":111626280,"longitude_deg":75.8814336,"latitude_deg":11.162628,"altitude":38,"angle":102,"satellites":47,"speed":16,"hex_longitude":"2d3a9680","hex_latitude":"06a74828","is_valid_coordinates":true} 
[2026-08-10 21:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313024512001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376489312679624704,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4212273055051722752,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786379023000,"timestamp_ms":1786379023000,"timestamp_seconds":1786379023,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7cb298"} 
[2026-08-10 21:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:57: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-08-10 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 21:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313024512001,"66":27365,"102":206,"81":49664,"24":16,"16":376489312679624704,"45":4212273055051722752},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-08-10 21:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313024512001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:57:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:57:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376489312679624704,"km_value":376489312679624.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4212273055051722752,"description":"Unknown IO ID 45"} 
[2026-08-10 21:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313024512001,"power":27365,"unknown_102":206,"unknown_81":49664,"ignition":16,"odometer":null,"unknown_45":4212273055051722752}} 
[2026-08-10 21:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":153154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:57:02] local.INFO: GPS data processed {"connection_id":153154,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:57:02] local.INFO: Acknowledgment sent {"connection_id":153154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:57:02] local.INFO: TCP Data received {"connection_id":151839,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:57:02] local.INFO: Processing buffer {"connection_id":151839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:57:02] local.INFO: IMEI packet received {"connection_id":151839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":151839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:57:05] local.INFO: TCP Data received {"connection_id":151839,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7d56a8012d3adc8006a73a90002e006430..."} 
[2026-08-10 21:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7d56a8012d3adc8006a73a90002e006430..."} 
[2026-08-10 21:57:05] local.INFO: Processing buffer {"connection_id":151839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7d56a8012d3adc8006a73a90002e006430..."} 
[2026-08-10 21:57:05] local.INFO: Packet analysis {"connection_id":151839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:57:05] local.INFO: Extracted packet for processing {"connection_id":151839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758832256,"raw_latitude":111622800,"longitude_deg":75.8832256,"latitude_deg":11.16228,"altitude":46,"angle":100,"satellites":48,"speed":17,"hex_longitude":"2d3adc80","hex_latitude":"06a73a90","is_valid_coordinates":true} 
[2026-08-10 21:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313035264001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376490184557985792,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4231413353467174912,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786379065000,"timestamp_ms":1786379065000,"timestamp_seconds":1786379065,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7d56a8"} 
[2026-08-10 21:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 21:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313035264001,"66":27365,"102":206,"81":49664,"24":17,"16":376490184557985792,"45":4231413353467174912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-08-10 21:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313035264001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:57:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376490184557985792,"km_value":376490184557985.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4231413353467174912,"description":"Unknown IO ID 45"} 
[2026-08-10 21:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313035264001,"power":27365,"unknown_102":206,"unknown_81":49664,"ignition":17,"odometer":null,"unknown_45":4231413353467174912}} 
[2026-08-10 21:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":151839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:57:05] local.INFO: GPS data processed {"connection_id":151839,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:57:05] local.INFO: Acknowledgment sent {"connection_id":151839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:57:18] local.INFO: TCP Data received {"connection_id":153155,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:57:18] local.INFO: Processing buffer {"connection_id":153155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:57:18] local.INFO: Packet analysis {"connection_id":153155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:57:18] local.INFO: Extracted packet for processing {"connection_id":153155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312972032001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786379098000,"timestamp_ms":1786379098000,"timestamp_seconds":1786379098,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7dd790"} 
[2026-08-10 21:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312972032001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312972032001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:57:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:57:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312972032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":153155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:57:18] local.INFO: GPS data processed {"connection_id":153155,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:57:18] local.INFO: Acknowledgment sent {"connection_id":153155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:57:38] local.INFO: TCP Data received {"connection_id":151839,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7d56a8012d3adc8006a73a90002e006430..."} 
[2026-08-10 21:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7d56a8012d3adc8006a73a90002e006430..."} 
[2026-08-10 21:57:38] local.INFO: Processing buffer {"connection_id":151839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7d56a8012d3adc8006a73a90002e006430..."} 
[2026-08-10 21:57:38] local.INFO: Packet analysis {"connection_id":151839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:57:38] local.INFO: Extracted packet for processing {"connection_id":151839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758832256,"raw_latitude":111622800,"longitude_deg":75.8832256,"latitude_deg":11.16228,"altitude":46,"angle":100,"satellites":48,"speed":17,"hex_longitude":"2d3adc80","hex_latitude":"06a73a90","is_valid_coordinates":true} 
[2026-08-10 21:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313040640001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376490184557985792,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4241405715139956736,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786379065000,"timestamp_ms":1786379065000,"timestamp_seconds":1786379065,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7d56a8"} 
[2026-08-10 21:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:57: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-08-10 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 21:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313040640001,"66":27365,"102":206,"81":49664,"24":17,"16":376490184557985792,"45":4241405715139956736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-08-10 21:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313040640001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:57:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376490184557985792,"km_value":376490184557985.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4241405715139956736,"description":"Unknown IO ID 45"} 
[2026-08-10 21:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313040640001,"power":27365,"unknown_102":206,"unknown_81":49664,"ignition":17,"odometer":null,"unknown_45":4241405715139956736}} 
[2026-08-10 21:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":151839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:57:38] local.INFO: GPS data processed {"connection_id":151839,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:57:38] local.INFO: Acknowledgment sent {"connection_id":151839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:57:41] local.INFO: TCP Data received {"connection_id":152216,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:57:41] local.INFO: Processing buffer {"connection_id":152216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:57:41] local.INFO: IMEI packet received {"connection_id":152216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":152216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:57:46] local.INFO: TCP Data received {"connection_id":152216,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:57:46] local.INFO: Processing buffer {"connection_id":152216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:57:46] local.INFO: IMEI packet received {"connection_id":152216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":152216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:57:47] local.INFO: TCP Data received {"connection_id":152216,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:57:47] local.INFO: Processing buffer {"connection_id":152216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:57:47] local.INFO: Packet analysis {"connection_id":152216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:57:47] local.INFO: Extracted packet for processing {"connection_id":152216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312972032001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786379098000,"timestamp_ms":1786379098000,"timestamp_seconds":1786379098,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7dd790"} 
[2026-08-10 21:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312972032001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312972032001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:57:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312972032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":152216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:57:47] local.INFO: GPS data processed {"connection_id":152216,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:57:47] local.INFO: Acknowledgment sent {"connection_id":152216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:57:57] local.INFO: TCP Data received {"connection_id":153156,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:57:57] local.INFO: Processing buffer {"connection_id":153156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:57:57] local.INFO: IMEI packet received {"connection_id":153156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":153156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:57:59] local.INFO: TCP Data received {"connection_id":153156,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:57:59] local.INFO: Processing buffer {"connection_id":153156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:57:59] local.INFO: IMEI packet received {"connection_id":153156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":153156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:58:03] local.INFO: TCP Data received {"connection_id":153156,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:58:03] local.INFO: Processing buffer {"connection_id":153156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:58:03] local.INFO: IMEI packet received {"connection_id":153156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":153156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:58:16] local.INFO: TCP Data received {"connection_id":153156,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7f90f8012d3bea4006a678f8004300962f..."} 
[2026-08-10 21:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7f90f8012d3bea4006a678f8004300962f..."} 
[2026-08-10 21:58:16] local.INFO: Processing buffer {"connection_id":153156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7f90f8012d3bea4006a678f8004300962f..."} 
[2026-08-10 21:58:16] local.INFO: Packet analysis {"connection_id":153156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7f"} 
[2026-08-10 21:58:16] local.INFO: Extracted packet for processing {"connection_id":153156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7f"} 
[2026-08-10 21:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758901312,"raw_latitude":111573240,"longitude_deg":75.8901312,"latitude_deg":11.157324,"altitude":67,"angle":150,"satellites":47,"speed":35,"hex_longitude":"2d3bea40","hex_latitude":"06a678f8","is_valid_coordinates":true} 
[2026-08-10 21:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313075200001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376494634144104448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4312267040516364288,"note":"Value kept but may cause issues"} 
[2026-08-10 21:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786379211000,"timestamp_ms":1786379211000,"timestamp_seconds":1786379211,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7f90f8"} 
[2026-08-10 21:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 21:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313075200001,"66":27343,"40":206,"81":49664,"24":35,"16":376494634144104448,"45":4312267040516364288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-08-10 21:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313075200001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:58:16] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-10 21:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376494634144104448,"km_value":376494634144104.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4312267040516364288,"description":"Unknown IO ID 45"} 
[2026-08-10 21:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313075200001,"power":27343,"unknown_40":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4312267040516364288}} 
[2026-08-10 21:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":153156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:58:17] local.INFO: GPS data processed {"connection_id":153156,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:58:17] local.INFO: Acknowledgment sent {"connection_id":153156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:58:18] local.INFO: TCP Data received {"connection_id":152216,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:58:18] local.INFO: Processing buffer {"connection_id":152216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:58:18] local.INFO: Packet analysis {"connection_id":152216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:58:18] local.INFO: Extracted packet for processing {"connection_id":152216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312972032001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786379098000,"timestamp_ms":1786379098000,"timestamp_seconds":1786379098,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7dd790"} 
[2026-08-10 21:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312972032001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312972032001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:58:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312972032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":152216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:58:18] local.INFO: GPS data processed {"connection_id":152216,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:58:18] local.INFO: Acknowledgment sent {"connection_id":152216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:58:46] local.INFO: TCP Data received {"connection_id":151840,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:58:46] local.INFO: Processing buffer {"connection_id":151840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:58:46] local.INFO: IMEI packet received {"connection_id":151840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":151840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:58:51] local.INFO: TCP Data received {"connection_id":151840,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:58:51] local.INFO: Processing buffer {"connection_id":151840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:58:51] local.INFO: IMEI packet received {"connection_id":151840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":151840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:58:52] local.INFO: TCP Data received {"connection_id":151840,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:58:52] local.INFO: Processing buffer {"connection_id":151840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:58:52] local.INFO: Packet analysis {"connection_id":151840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:58:52] local.INFO: Extracted packet for processing {"connection_id":151840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312972032001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786379098000,"timestamp_ms":1786379098000,"timestamp_seconds":1786379098,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7dd790"} 
[2026-08-10 21:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312972032001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312972032001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:58:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:58:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312972032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":151840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:58:52] local.INFO: GPS data processed {"connection_id":151840,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:58:52] local.INFO: Acknowledgment sent {"connection_id":151840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:58:56] local.INFO: TCP Data received {"connection_id":151840,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:58:56] local.INFO: Processing buffer {"connection_id":151840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:58:56] local.INFO: Packet analysis {"connection_id":151840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:58:56] local.INFO: Extracted packet for processing {"connection_id":151840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312972032001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786379098000,"timestamp_ms":1786379098000,"timestamp_seconds":1786379098,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7dd790"} 
[2026-08-10 21:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312972032001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312972032001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:58:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312972032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":151840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:58:57] local.INFO: GPS data processed {"connection_id":151840,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:58:57] local.INFO: Acknowledgment sent {"connection_id":151840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:58:57] local.INFO: TCP Data received {"connection_id":153157,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:58:57] local.INFO: Processing buffer {"connection_id":153157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:58:57] local.INFO: IMEI packet received {"connection_id":153157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 21:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":153157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:59:03] local.INFO: TCP Data received {"connection_id":153157,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:59:03] local.INFO: Processing buffer {"connection_id":153157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 21:59:03] local.INFO: IMEI packet received {"connection_id":153157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 21:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":153157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:59:04] local.INFO: TCP Data received {"connection_id":153157,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7fb808012d3bfd0006a65a880046009331..."} 
[2026-08-10 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7fb808012d3bfd0006a65a880046009331..."} 
[2026-08-10 21:59:04] local.INFO: Processing buffer {"connection_id":153157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7fb808012d3bfd0006a65a880046009331..."} 
[2026-08-10 21:59:04] local.INFO: Packet analysis {"connection_id":153157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7f"} 
[2026-08-10 21:59:04] local.INFO: Extracted packet for processing {"connection_id":153157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7f"} 
[2026-08-10 21:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758906112,"raw_latitude":111565448,"longitude_deg":75.8906112,"latitude_deg":11.1565448,"altitude":70,"angle":147,"satellites":49,"speed":36,"hex_longitude":"2d3bfd00","hex_latitude":"06a65a88","is_valid_coordinates":true} 
[2026-08-10 21:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313078016001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376495076525735936,"note":"Value kept but may cause issues"} 
[2026-08-10 21:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4317333590094968832,"note":"Value kept but may cause issues"} 
[2026-08-10 21:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786379221000,"timestamp_ms":1786379221000,"timestamp_seconds":1786379221,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7fb808"} 
[2026-08-10 21:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 21:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 21:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313078016001,"66":27343,"40":206,"81":49664,"24":36,"16":376495076525735936,"45":4317333590094968832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-08-10 21:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313078016001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:59:04] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-10 21:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376495076525735936,"km_value":376495076525735.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4317333590094968832,"description":"Unknown IO ID 45"} 
[2026-08-10 21:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313078016001,"power":27343,"unknown_40":206,"unknown_81":49664,"ignition":36,"odometer":null,"unknown_45":4317333590094968832}} 
[2026-08-10 21:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":153157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:59:04] local.INFO: GPS data processed {"connection_id":153157,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:59:04] local.INFO: Acknowledgment sent {"connection_id":153157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:59:36] local.INFO: TCP Data received {"connection_id":153157,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec814a60012d3cce4006a49b80003000c12f..."} 
[2026-08-10 21:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec814a60012d3cce4006a49b80003000c12f..."} 
[2026-08-10 21:59:36] local.INFO: Processing buffer {"connection_id":153157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec814a60012d3cce4006a49b80003000c12f..."} 
[2026-08-10 21:59:36] local.INFO: Packet analysis {"connection_id":153157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec81"} 
[2026-08-10 21:59:36] local.INFO: Extracted packet for processing {"connection_id":153157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec81"} 
[2026-08-10 21:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758959680,"raw_latitude":111451008,"longitude_deg":75.895968,"latitude_deg":11.1451008,"altitude":48,"angle":193,"satellites":47,"speed":50,"hex_longitude":"2d3cce40","hex_latitude":"06a49b80","is_valid_coordinates":true} 
[2026-08-10 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-08-10 21:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313105920001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376501377242759168,"note":"Value kept but may cause issues"} 
[2026-08-10 21:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4382143203452665856,"note":"Value kept but may cause issues"} 
[2026-08-10 21:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786379324000,"timestamp_ms":1786379324000,"timestamp_seconds":1786379324,"priority":1,"record_length":96,"hex_timestamp":"0000019fec814a60"} 
[2026-08-10 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-08-10 21:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 21:59: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-08-10 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-08-10 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-08-10 21:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 21:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 21:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 21:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313105920001,"66":27310,"131":206,"81":49664,"24":50,"16":376501377242759168,"45":4382143203452665856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-08-10 21:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 21:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 21:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313105920001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:59:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 21:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 21:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376501377242759168,"km_value":376501377242759.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4382143203452665856,"description":"Unknown IO ID 45"} 
[2026-08-10 21:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313105920001,"power":27310,"unknown_131":206,"unknown_81":49664,"ignition":50,"odometer":null,"unknown_45":4382143203452665856}} 
[2026-08-10 21:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":153157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:59:36] local.INFO: GPS data processed {"connection_id":153157,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:59:36] local.INFO: Acknowledgment sent {"connection_id":153157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 21:59:41] local.INFO: TCP Data received {"connection_id":152217,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:59:41] local.INFO: Processing buffer {"connection_id":152217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:59:41] local.INFO: IMEI packet received {"connection_id":152217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 21:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":152217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 21:59:46] local.INFO: TCP Data received {"connection_id":152217,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:59:46] local.INFO: Processing buffer {"connection_id":152217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 21:59:46] local.INFO: IMEI packet received {"connection_id":152217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 21:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":152217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 21:59:47] local.INFO: TCP Data received {"connection_id":152217,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:59:47] local.INFO: Processing buffer {"connection_id":152217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 21:59:47] local.INFO: Packet analysis {"connection_id":152217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:59:47] local.INFO: Extracted packet for processing {"connection_id":152217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 21:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 21:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 21:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312972032001,"note":"Value kept but may cause issues"} 
[2026-08-10 21:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 21:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 21:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 21:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786379098000,"timestamp_ms":1786379098000,"timestamp_seconds":1786379098,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7dd790"} 
[2026-08-10 21:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 21:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 21:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 21:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 21:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 21:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 21:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 21:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 21:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 21:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 21:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 21:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312972032001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 21:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 21:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 21:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312972032001,"description":"Unknown IO ID 0"} 
[2026-08-10 21:59:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 21:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 21:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 21:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 21:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312972032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 21:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":152217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 21:59:47] local.INFO: GPS data processed {"connection_id":152217,"processed":1,"errors":0,"total":1} 
[2026-08-10 21:59:47] local.INFO: Acknowledgment sent {"connection_id":152217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:00:02] local.INFO: TCP Data received {"connection_id":151841,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:00:02] local.INFO: Processing buffer {"connection_id":151841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:00:02] local.INFO: IMEI packet received {"connection_id":151841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":151841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:00:05] local.INFO: TCP Data received {"connection_id":151841,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:00:05] local.INFO: Processing buffer {"connection_id":151841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:00:05] local.INFO: IMEI packet received {"connection_id":151841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":151841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:00:06] local.INFO: TCP Data received {"connection_id":151841,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec815de8012d3cc5c006a485a0003100cd32..."} 
[2026-08-10 22:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec815de8012d3cc5c006a485a0003100cd32..."} 
[2026-08-10 22:00:06] local.INFO: Processing buffer {"connection_id":151841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec815de8012d3cc5c006a485a0003100cd32..."} 
[2026-08-10 22:00:06] local.INFO: Packet analysis {"connection_id":151841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec81"} 
[2026-08-10 22:00:06] local.INFO: Extracted packet for processing {"connection_id":151841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec81"} 
[2026-08-10 22:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758957504,"raw_latitude":111445408,"longitude_deg":75.8957504,"latitude_deg":11.1445408,"altitude":49,"angle":205,"satellites":50,"speed":43,"hex_longitude":"2d3cc5c0","hex_latitude":"06a485a0","is_valid_coordinates":true} 
[2026-08-10 22:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313106944001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376501665005568000,"note":"Value kept but may cause issues"} 
[2026-08-10 22:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4381509884753707008,"note":"Value kept but may cause issues"} 
[2026-08-10 22:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786379329000,"timestamp_ms":1786379329000,"timestamp_seconds":1786379329,"priority":1,"record_length":96,"hex_timestamp":"0000019fec815de8"} 
[2026-08-10 22:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-10 22:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313106944001,"66":27234,"131":206,"81":49664,"24":43,"16":376501665005568000,"45":4381509884753707008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-08-10 22:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313106944001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:00:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 22:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 22:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376501665005568000,"km_value":376501665005568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4381509884753707008,"description":"Unknown IO ID 45"} 
[2026-08-10 22:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313106944001,"power":27234,"unknown_131":206,"unknown_81":49664,"ignition":43,"odometer":null,"unknown_45":4381509884753707008}} 
[2026-08-10 22:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":151841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:00:06] local.INFO: GPS data processed {"connection_id":151841,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:00:06] local.INFO: Acknowledgment sent {"connection_id":151841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:00:08] local.INFO: TCP Data received {"connection_id":151841,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec818110012d3cb48006a46770003400d232..."} 
[2026-08-10 22:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec818110012d3cb48006a46770003400d232..."} 
[2026-08-10 22:00:08] local.INFO: Processing buffer {"connection_id":151841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec818110012d3cb48006a46770003400d232..."} 
[2026-08-10 22:00:08] local.INFO: Packet analysis {"connection_id":151841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec81"} 
[2026-08-10 22:00:08] local.INFO: Extracted packet for processing {"connection_id":151841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec81"} 
[2026-08-10 22:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758953088,"raw_latitude":111437680,"longitude_deg":75.8953088,"latitude_deg":11.143768,"altitude":52,"angle":210,"satellites":50,"speed":35,"hex_longitude":"2d3cb480","hex_latitude":"06a46770","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313108224001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376502094502297600,"note":"Value kept but may cause issues"} 
[2026-08-10 22:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4379117347450232832,"note":"Value kept but may cause issues"} 
[2026-08-10 22:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786379338000,"timestamp_ms":1786379338000,"timestamp_seconds":1786379338,"priority":1,"record_length":96,"hex_timestamp":"0000019fec818110"} 
[2026-08-10 22:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 22:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313108224001,"66":27397,"133":206,"81":49664,"24":35,"16":376502094502297600,"45":4379117347450232832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-08-10 22:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313108224001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:00:08] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-10 22:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 22:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376502094502297600,"km_value":376502094502297.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4379117347450232832,"description":"Unknown IO ID 45"} 
[2026-08-10 22:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313108224001,"power":27397,"unknown_133":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4379117347450232832}} 
[2026-08-10 22:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":151841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:00:08] local.INFO: GPS data processed {"connection_id":151841,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:00:08] local.INFO: Acknowledgment sent {"connection_id":151841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:00:18] local.INFO: TCP Data received {"connection_id":152217,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 22:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 22:00:18] local.INFO: Processing buffer {"connection_id":152217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec7dd790012d196580071ff0380043014228..."} 
[2026-08-10 22:00:18] local.INFO: Packet analysis {"connection_id":152217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 22:00:18] local.INFO: Extracted packet for processing {"connection_id":152217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec7d"} 
[2026-08-10 22:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457312972032001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786379098000,"timestamp_ms":1786379098000,"timestamp_seconds":1786379098,"priority":1,"record_length":96,"hex_timestamp":"0000019fec7dd790"} 
[2026-08-10 22:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457312972032001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457312972032001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:00:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457312972032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":152217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:00:18] local.INFO: GPS data processed {"connection_id":152217,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:00:18] local.INFO: Acknowledgment sent {"connection_id":152217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:00:41] local.INFO: TCP Data received {"connection_id":153158,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:00:41] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:00:41] local.INFO: IMEI packet received {"connection_id":153158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":153158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:00:46] local.INFO: TCP Data received {"connection_id":153158,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:00:46] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:00:46] local.INFO: IMEI packet received {"connection_id":153158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":153158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:00:47] local.INFO: TCP Data received {"connection_id":153158,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:00:47] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:00:47] local.INFO: Packet analysis {"connection_id":153158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:00:47] local.INFO: Extracted packet for processing {"connection_id":153158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313049088001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786379399000,"timestamp_ms":1786379399000,"timestamp_seconds":1786379399,"priority":1,"record_length":96,"hex_timestamp":"0000019fec826f58"} 
[2026-08-10 22:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313049088001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313049088001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:00:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313049088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":153158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:00:47] local.INFO: GPS data processed {"connection_id":153158,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:00:47] local.INFO: Acknowledgment sent {"connection_id":153158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:01:01] local.INFO: TCP Data received {"connection_id":151841,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec81a820012d3ca64006a449a8003700c732..."} 
[2026-08-10 22:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec81a820012d3ca64006a449a8003700c732..."} 
[2026-08-10 22:01:01] local.INFO: Processing buffer {"connection_id":151841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec81a820012d3ca64006a449a8003700c732..."} 
[2026-08-10 22:01:01] local.INFO: Packet analysis {"connection_id":151841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec81"} 
[2026-08-10 22:01:01] local.INFO: Extracted packet for processing {"connection_id":151841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec81"} 
[2026-08-10 22:01:01] local.INFO: GPS Element Parsed {"raw_longitude":758949440,"raw_latitude":111430056,"longitude_deg":75.894944,"latitude_deg":11.1430056,"altitude":55,"angle":199,"satellites":50,"speed":30,"hex_longitude":"2d3ca640","hex_latitude":"06a449a8","is_valid_coordinates":true} 
[2026-08-10 22:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313110528001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376502506819158016,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4374261904099995648,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786379348000,"timestamp_ms":1786379348000,"timestamp_seconds":1786379348,"priority":1,"record_length":96,"hex_timestamp":"0000019fec81a820"} 
[2026-08-10 22:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:01: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-08-10 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 22:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313110528001,"66":27365,"133":206,"81":49664,"24":30,"16":376502506819158016,"45":4374261904099995648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-08-10 22:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313110528001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:01:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-10 22:01:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 22:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376502506819158016,"km_value":376502506819158.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4374261904099995648,"description":"Unknown IO ID 45"} 
[2026-08-10 22:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313110528001,"power":27365,"unknown_133":206,"unknown_81":49664,"ignition":30,"odometer":null,"unknown_45":4374261904099995648}} 
[2026-08-10 22:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":151841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:01:01] local.INFO: GPS data processed {"connection_id":151841,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:01:01] local.INFO: Acknowledgment sent {"connection_id":151841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:01:07] local.INFO: TCP Data received {"connection_id":154566,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:01:07] local.INFO: Processing buffer {"connection_id":154566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:01:07] local.INFO: IMEI packet received {"connection_id":154566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":154566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:01:08] local.INFO: TCP Data received {"connection_id":154566,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:01:08] local.INFO: Processing buffer {"connection_id":154566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:01:08] local.INFO: IMEI packet received {"connection_id":154566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":154566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:01:12] local.INFO: TCP Data received {"connection_id":154566,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:01:12] local.INFO: Processing buffer {"connection_id":154566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:01:12] local.INFO: IMEI packet received {"connection_id":154566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":154566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:01:17] local.INFO: TCP Data received {"connection_id":154566,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec81c378012d3ca18006a43600003900bb31..."} 
[2026-08-10 22:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec81c378012d3ca18006a43600003900bb31..."} 
[2026-08-10 22:01:17] local.INFO: Processing buffer {"connection_id":154566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec81c378012d3ca18006a43600003900bb31..."} 
[2026-08-10 22:01:17] local.INFO: Packet analysis {"connection_id":154566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec81"} 
[2026-08-10 22:01:17] local.INFO: Extracted packet for processing {"connection_id":154566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec81"} 
[2026-08-10 22:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758948224,"raw_latitude":111425024,"longitude_deg":75.8948224,"latitude_deg":11.1425024,"altitude":57,"angle":187,"satellites":49,"speed":29,"hex_longitude":"2d3ca180","hex_latitude":"06a43600","is_valid_coordinates":true} 
[2026-08-10 22:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313113088001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376502755927261184,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370250885679917056,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786379355000,"timestamp_ms":1786379355000,"timestamp_seconds":1786379355,"priority":1,"record_length":96,"hex_timestamp":"0000019fec81c378"} 
[2026-08-10 22:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 22:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313113088001,"66":27376,"133":206,"81":49664,"24":29,"16":376502755927261184,"45":4370250885679917056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-08-10 22:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313113088001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:01:17] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-10 22:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 22:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376502755927261184,"km_value":376502755927261.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370250885679917056,"description":"Unknown IO ID 45"} 
[2026-08-10 22:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313113088001,"power":27376,"unknown_133":206,"unknown_81":49664,"ignition":29,"odometer":null,"unknown_45":4370250885679917056}} 
[2026-08-10 22:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":154566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:01:17] local.INFO: GPS data processed {"connection_id":154566,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:01:17] local.INFO: Acknowledgment sent {"connection_id":154566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:01:18] local.INFO: TCP Data received {"connection_id":154566,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec81f258012d3ca08006a41140003c00b22e..."} 
[2026-08-10 22:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec81f258012d3ca08006a41140003c00b22e..."} 
[2026-08-10 22:01:18] local.INFO: Processing buffer {"connection_id":154566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec81f258012d3ca08006a41140003c00b22e..."} 
[2026-08-10 22:01:18] local.INFO: Packet analysis {"connection_id":154566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec81"} 
[2026-08-10 22:01:18] local.INFO: Extracted packet for processing {"connection_id":154566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec81"} 
[2026-08-10 22:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758947968,"raw_latitude":111415616,"longitude_deg":75.8947968,"latitude_deg":11.1415616,"altitude":60,"angle":178,"satellites":46,"speed":33,"hex_longitude":"2d3ca080","hex_latitude":"06a41140","is_valid_coordinates":true} 
[2026-08-10 22:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313114880001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368913879539253248,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376503215488761856,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 22:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786379367000,"timestamp_ms":1786379367000,"timestamp_seconds":1786379367,"priority":1,"record_length":96,"hex_timestamp":"0000019fec81f258"} 
[2026-08-10 22:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:01: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-08-10 22:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-10 22:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313114880001,"66":27289,"45":4368913879539253248,"81":49664,"24":33,"16":376503215488761856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-10 22:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313114880001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368913879539253248,"description":"Unknown IO ID 45"} 
[2026-08-10 22:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 22:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376503215488761856,"km_value":376503215488761.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:01:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457313114880001,"power":27289,"unknown_45":4368913879539253248,"unknown_81":49664,"ignition":33,"odometer":null}} 
[2026-08-10 22:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":154566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:01:18] local.INFO: GPS data processed {"connection_id":154566,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:01:18] local.INFO: Acknowledgment sent {"connection_id":154566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:01:18] local.INFO: TCP Data received {"connection_id":153158,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:01:18] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:01:18] local.INFO: Packet analysis {"connection_id":153158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:01:18] local.INFO: Extracted packet for processing {"connection_id":153158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313049088001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786379399000,"timestamp_ms":1786379399000,"timestamp_seconds":1786379399,"priority":1,"record_length":96,"hex_timestamp":"0000019fec826f58"} 
[2026-08-10 22:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313049088001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313049088001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:01:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:01:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313049088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":153158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:01:18] local.INFO: GPS data processed {"connection_id":153158,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:01:18] local.INFO: Acknowledgment sent {"connection_id":153158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:01:41] local.INFO: TCP Data received {"connection_id":151842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:01:41] local.INFO: Processing buffer {"connection_id":151842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:01:41] local.INFO: IMEI packet received {"connection_id":151842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":151842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:01:46] local.INFO: TCP Data received {"connection_id":151842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:01:46] local.INFO: Processing buffer {"connection_id":151842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:01:46] local.INFO: IMEI packet received {"connection_id":151842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":151842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:01:47] local.INFO: TCP Data received {"connection_id":151842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:01:47] local.INFO: Processing buffer {"connection_id":151842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:01:47] local.INFO: Packet analysis {"connection_id":151842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:01:47] local.INFO: Extracted packet for processing {"connection_id":151842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313049088001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786379399000,"timestamp_ms":1786379399000,"timestamp_seconds":1786379399,"priority":1,"record_length":96,"hex_timestamp":"0000019fec826f58"} 
[2026-08-10 22:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313049088001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313049088001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:01:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313049088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":151842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:01:47] local.INFO: GPS data processed {"connection_id":151842,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:01:47] local.INFO: Acknowledgment sent {"connection_id":151842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:01:58] local.INFO: TCP Data received {"connection_id":154567,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:01:58] local.INFO: Processing buffer {"connection_id":154567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:01:58] local.INFO: IMEI packet received {"connection_id":154567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":154567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:02:02] local.INFO: TCP Data received {"connection_id":154567,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:02:02] local.INFO: Processing buffer {"connection_id":154567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:02:02] local.INFO: IMEI packet received {"connection_id":154567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":154567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:02:03] local.INFO: TCP Data received {"connection_id":154567,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8355d0012d3c858006a2a280004900a730..."} 
[2026-08-10 22:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8355d0012d3c858006a2a280004900a730..."} 
[2026-08-10 22:02:03] local.INFO: Processing buffer {"connection_id":154567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8355d0012d3c858006a2a280004900a730..."} 
[2026-08-10 22:02:03] local.INFO: Packet analysis {"connection_id":154567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec83"} 
[2026-08-10 22:02:03] local.INFO: Extracted packet for processing {"connection_id":154567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec83"} 
[2026-08-10 22:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758941056,"raw_latitude":111321728,"longitude_deg":75.8941056,"latitude_deg":11.1321728,"altitude":73,"angle":167,"satellites":48,"speed":38,"hex_longitude":"2d3c8580","hex_latitude":"06a2a280","is_valid_coordinates":true} 
[2026-08-10 22:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313141248001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376507798218866688,"note":"Value kept but may cause issues"} 
[2026-08-10 22:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4361032580164911104,"note":"Value kept but may cause issues"} 
[2026-08-10 22:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786379458000,"timestamp_ms":1786379458000,"timestamp_seconds":1786379458,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8355d0"} 
[2026-08-10 22:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-10 22:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313141248001,"66":27517,"44":206,"81":49664,"24":38,"16":376507798218866688,"45":4361032580164911104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-10 22:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313141248001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-10 22:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-10 22:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376507798218866688,"km_value":376507798218866.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4361032580164911104,"description":"Unknown IO ID 45"} 
[2026-08-10 22:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313141248001,"power":27517,"unknown_44":206,"unknown_81":49664,"ignition":38,"odometer":null,"unknown_45":4361032580164911104}} 
[2026-08-10 22:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":154567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:02:03] local.INFO: GPS data processed {"connection_id":154567,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:02:03] local.INFO: Acknowledgment sent {"connection_id":154567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:02:18] local.INFO: TCP Data received {"connection_id":151842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:02:18] local.INFO: Processing buffer {"connection_id":151842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:02:18] local.INFO: Packet analysis {"connection_id":151842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:02:18] local.INFO: Extracted packet for processing {"connection_id":151842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313049088001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786379399000,"timestamp_ms":1786379399000,"timestamp_seconds":1786379399,"priority":1,"record_length":96,"hex_timestamp":"0000019fec826f58"} 
[2026-08-10 22:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313049088001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313049088001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:02:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313049088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":151842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:02:18] local.INFO: GPS data processed {"connection_id":151842,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:02:18] local.INFO: Acknowledgment sent {"connection_id":151842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:02:41] local.INFO: TCP Data received {"connection_id":151843,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:02:41] local.INFO: Processing buffer {"connection_id":151843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:02:41] local.INFO: IMEI packet received {"connection_id":151843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":151843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:02:46] local.INFO: TCP Data received {"connection_id":151843,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:02:46] local.INFO: Processing buffer {"connection_id":151843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:02:46] local.INFO: IMEI packet received {"connection_id":151843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":151843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:02:47] local.INFO: TCP Data received {"connection_id":151843,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:02:47] local.INFO: Processing buffer {"connection_id":151843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:02:47] local.INFO: Packet analysis {"connection_id":151843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:02:47] local.INFO: Extracted packet for processing {"connection_id":151843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313049088001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786379399000,"timestamp_ms":1786379399000,"timestamp_seconds":1786379399,"priority":1,"record_length":96,"hex_timestamp":"0000019fec826f58"} 
[2026-08-10 22:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313049088001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313049088001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:02:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:02:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313049088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":151843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:02:47] local.INFO: GPS data processed {"connection_id":151843,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:02:47] local.INFO: Acknowledgment sent {"connection_id":151843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:03:18] local.INFO: TCP Data received {"connection_id":151843,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:03:18] local.INFO: Processing buffer {"connection_id":151843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:03:18] local.INFO: Packet analysis {"connection_id":151843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:03:18] local.INFO: Extracted packet for processing {"connection_id":151843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313049088001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786379399000,"timestamp_ms":1786379399000,"timestamp_seconds":1786379399,"priority":1,"record_length":96,"hex_timestamp":"0000019fec826f58"} 
[2026-08-10 22:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313049088001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313049088001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:03:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313049088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":151843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:03:18] local.INFO: GPS data processed {"connection_id":151843,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:03:18] local.INFO: Acknowledgment sent {"connection_id":151843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:03:46] local.INFO: TCP Data received {"connection_id":152218,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:03:46] local.INFO: Processing buffer {"connection_id":152218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:03:46] local.INFO: IMEI packet received {"connection_id":152218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":152218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:03:51] local.INFO: TCP Data received {"connection_id":152218,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:03:51] local.INFO: Processing buffer {"connection_id":152218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:03:51] local.INFO: IMEI packet received {"connection_id":152218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":152218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:03:52] local.INFO: TCP Data received {"connection_id":152218,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:03:52] local.INFO: Processing buffer {"connection_id":152218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:03:52] local.INFO: Packet analysis {"connection_id":152218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:03:52] local.INFO: Extracted packet for processing {"connection_id":152218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313049088001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786379399000,"timestamp_ms":1786379399000,"timestamp_seconds":1786379399,"priority":1,"record_length":96,"hex_timestamp":"0000019fec826f58"} 
[2026-08-10 22:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313049088001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313049088001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:03:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313049088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":152218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:03:52] local.INFO: GPS data processed {"connection_id":152218,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:03:52] local.INFO: Acknowledgment sent {"connection_id":152218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:03:56] local.INFO: TCP Data received {"connection_id":152218,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:03:56] local.INFO: Processing buffer {"connection_id":152218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:03:56] local.INFO: Packet analysis {"connection_id":152218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:03:56] local.INFO: Extracted packet for processing {"connection_id":152218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313049088001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786379399000,"timestamp_ms":1786379399000,"timestamp_seconds":1786379399,"priority":1,"record_length":96,"hex_timestamp":"0000019fec826f58"} 
[2026-08-10 22:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313049088001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313049088001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:03:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:03:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313049088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":152218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:03:57] local.INFO: GPS data processed {"connection_id":152218,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:03:57] local.INFO: Acknowledgment sent {"connection_id":152218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:04:41] local.INFO: TCP Data received {"connection_id":151844,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:04:41] local.INFO: Processing buffer {"connection_id":151844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:04:41] local.INFO: IMEI packet received {"connection_id":151844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":151844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:04:46] local.INFO: TCP Data received {"connection_id":151844,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:04:46] local.INFO: Processing buffer {"connection_id":151844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:04:46] local.INFO: IMEI packet received {"connection_id":151844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":151844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:04:47] local.INFO: TCP Data received {"connection_id":151844,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:04:47] local.INFO: Processing buffer {"connection_id":151844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:04:47] local.INFO: Packet analysis {"connection_id":151844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:04:47] local.INFO: Extracted packet for processing {"connection_id":151844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313049088001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786379399000,"timestamp_ms":1786379399000,"timestamp_seconds":1786379399,"priority":1,"record_length":96,"hex_timestamp":"0000019fec826f58"} 
[2026-08-10 22:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313049088001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313049088001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:04:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313049088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":151844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:04:47] local.INFO: GPS data processed {"connection_id":151844,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:04:47] local.INFO: Acknowledgment sent {"connection_id":151844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:05:18] local.INFO: TCP Data received {"connection_id":151844,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:05:18] local.INFO: Processing buffer {"connection_id":151844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec826f58012d196580071ff0380043014225..."} 
[2026-08-10 22:05:18] local.INFO: Packet analysis {"connection_id":151844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:05:18] local.INFO: Extracted packet for processing {"connection_id":151844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec82"} 
[2026-08-10 22:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313049088001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786379399000,"timestamp_ms":1786379399000,"timestamp_seconds":1786379399,"priority":1,"record_length":96,"hex_timestamp":"0000019fec826f58"} 
[2026-08-10 22:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313049088001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313049088001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:05:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313049088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":151844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:05:18] local.INFO: GPS data processed {"connection_id":151844,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:05:18] local.INFO: Acknowledgment sent {"connection_id":151844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:05:41] local.INFO: TCP Data received {"connection_id":154568,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:05:41] local.INFO: Processing buffer {"connection_id":154568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:05:41] local.INFO: IMEI packet received {"connection_id":154568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":154568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:05:46] local.INFO: TCP Data received {"connection_id":154568,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:05:46] local.INFO: Processing buffer {"connection_id":154568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:05:46] local.INFO: IMEI packet received {"connection_id":154568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":154568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:05:47] local.INFO: TCP Data received {"connection_id":154568,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:05:47] local.INFO: Processing buffer {"connection_id":154568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:05:47] local.INFO: Packet analysis {"connection_id":154568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:05:47] local.INFO: Extracted packet for processing {"connection_id":154568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313126144001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786379700000,"timestamp_ms":1786379700000,"timestamp_seconds":1786379700,"priority":1,"record_length":96,"hex_timestamp":"0000019fec870720"} 
[2026-08-10 22:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313126144001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313126144001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:05:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:05:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313126144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":154568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:05:47] local.INFO: GPS data processed {"connection_id":154568,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:05:47] local.INFO: Acknowledgment sent {"connection_id":154568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:06:18] local.INFO: TCP Data received {"connection_id":154568,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:06:18] local.INFO: Processing buffer {"connection_id":154568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:06:18] local.INFO: Packet analysis {"connection_id":154568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:06:18] local.INFO: Extracted packet for processing {"connection_id":154568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313126144001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786379700000,"timestamp_ms":1786379700000,"timestamp_seconds":1786379700,"priority":1,"record_length":96,"hex_timestamp":"0000019fec870720"} 
[2026-08-10 22:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313126144001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313126144001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:06:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:06:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313126144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":154568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:06:18] local.INFO: GPS data processed {"connection_id":154568,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:06:18] local.INFO: Acknowledgment sent {"connection_id":154568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:06:41] local.INFO: TCP Data received {"connection_id":152219,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:06:41] local.INFO: Processing buffer {"connection_id":152219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:06:41] local.INFO: IMEI packet received {"connection_id":152219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":152219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:06:46] local.INFO: TCP Data received {"connection_id":152219,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:06:46] local.INFO: Processing buffer {"connection_id":152219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:06:46] local.INFO: IMEI packet received {"connection_id":152219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":152219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:06:47] local.INFO: TCP Data received {"connection_id":152219,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:06:47] local.INFO: Processing buffer {"connection_id":152219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:06:47] local.INFO: Packet analysis {"connection_id":152219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:06:47] local.INFO: Extracted packet for processing {"connection_id":152219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313126144001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22: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-08-10 22:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786379700000,"timestamp_ms":1786379700000,"timestamp_seconds":1786379700,"priority":1,"record_length":96,"hex_timestamp":"0000019fec870720"} 
[2026-08-10 22:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313126144001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313126144001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:06:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313126144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":152219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:06:47] local.INFO: GPS data processed {"connection_id":152219,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:06:47] local.INFO: Acknowledgment sent {"connection_id":152219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:07:18] local.INFO: TCP Data received {"connection_id":152219,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:07:18] local.INFO: Processing buffer {"connection_id":152219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:07:18] local.INFO: Packet analysis {"connection_id":152219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:07:18] local.INFO: Extracted packet for processing {"connection_id":152219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313126144001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786379700000,"timestamp_ms":1786379700000,"timestamp_seconds":1786379700,"priority":1,"record_length":96,"hex_timestamp":"0000019fec870720"} 
[2026-08-10 22:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313126144001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313126144001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:07:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313126144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":152219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:07:18] local.INFO: GPS data processed {"connection_id":152219,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:07:18] local.INFO: Acknowledgment sent {"connection_id":152219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:07:46] local.INFO: TCP Data received {"connection_id":153160,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:07:46] local.INFO: Processing buffer {"connection_id":153160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:07:46] local.INFO: IMEI packet received {"connection_id":153160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":153160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:07:50] local.INFO: TCP Data received {"connection_id":153159,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:07:50] local.INFO: Processing buffer {"connection_id":153159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:07:50] local.INFO: IMEI packet received {"connection_id":153159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":153159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:07:51] local.INFO: TCP Data received {"connection_id":153160,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:07:51] local.INFO: Processing buffer {"connection_id":153160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:07:51] local.INFO: IMEI packet received {"connection_id":153160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":153160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:07:52] local.INFO: TCP Data received {"connection_id":153160,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:07:52] local.INFO: Processing buffer {"connection_id":153160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:07:52] local.INFO: Packet analysis {"connection_id":153160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:07:52] local.INFO: Extracted packet for processing {"connection_id":153160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313126144001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786379700000,"timestamp_ms":1786379700000,"timestamp_seconds":1786379700,"priority":1,"record_length":96,"hex_timestamp":"0000019fec870720"} 
[2026-08-10 22:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313126144001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313126144001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:07:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:07:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313126144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":153160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:07:52] local.INFO: GPS data processed {"connection_id":153160,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:07:52] local.INFO: Acknowledgment sent {"connection_id":153160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:07:56] local.INFO: TCP Data received {"connection_id":153160,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:07:56] local.INFO: Processing buffer {"connection_id":153160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:07:56] local.INFO: Packet analysis {"connection_id":153160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:07:56] local.INFO: Extracted packet for processing {"connection_id":153160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313126144001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786379700000,"timestamp_ms":1786379700000,"timestamp_seconds":1786379700,"priority":1,"record_length":96,"hex_timestamp":"0000019fec870720"} 
[2026-08-10 22:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313126144001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313126144001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:07:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313126144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":153160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:07:57] local.INFO: GPS data processed {"connection_id":153160,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:07:57] local.INFO: Acknowledgment sent {"connection_id":153160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:08:00] local.INFO: TCP Data received {"connection_id":153159,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:08:00] local.INFO: Processing buffer {"connection_id":153159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:08:00] local.INFO: IMEI packet received {"connection_id":153159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":153159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:08:41] local.INFO: TCP Data received {"connection_id":152220,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:08:41] local.INFO: Processing buffer {"connection_id":152220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:08:41] local.INFO: IMEI packet received {"connection_id":152220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":152220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:08:46] local.INFO: TCP Data received {"connection_id":152220,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:08:46] local.INFO: Processing buffer {"connection_id":152220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:08:46] local.INFO: IMEI packet received {"connection_id":152220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":152220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:08:47] local.INFO: TCP Data received {"connection_id":152220,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:08:47] local.INFO: Processing buffer {"connection_id":152220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:08:47] local.INFO: Packet analysis {"connection_id":152220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:08:47] local.INFO: Extracted packet for processing {"connection_id":152220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313126144001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786379700000,"timestamp_ms":1786379700000,"timestamp_seconds":1786379700,"priority":1,"record_length":96,"hex_timestamp":"0000019fec870720"} 
[2026-08-10 22:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313126144001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313126144001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:08:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313126144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":152220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:08:47] local.INFO: GPS data processed {"connection_id":152220,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:08:47] local.INFO: Acknowledgment sent {"connection_id":152220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:09:17] local.INFO: TCP Data received {"connection_id":153161,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:09:17] local.INFO: Processing buffer {"connection_id":153161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:09:17] local.INFO: IMEI packet received {"connection_id":153161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":153161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:09:18] local.INFO: TCP Data received {"connection_id":153161,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:09:18] local.INFO: Processing buffer {"connection_id":153161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:09:18] local.INFO: IMEI packet received {"connection_id":153161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":153161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:09:18] local.INFO: TCP Data received {"connection_id":152220,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:09:18] local.INFO: Processing buffer {"connection_id":152220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:09:18] local.INFO: Packet analysis {"connection_id":152220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:09:18] local.INFO: Extracted packet for processing {"connection_id":152220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313126144001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786379700000,"timestamp_ms":1786379700000,"timestamp_seconds":1786379700,"priority":1,"record_length":96,"hex_timestamp":"0000019fec870720"} 
[2026-08-10 22:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313126144001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313126144001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:09:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313126144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":152220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:09:18] local.INFO: GPS data processed {"connection_id":152220,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:09:18] local.INFO: Acknowledgment sent {"connection_id":152220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:09:41] local.INFO: TCP Data received {"connection_id":153162,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:09:41] local.INFO: Processing buffer {"connection_id":153162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:09:41] local.INFO: IMEI packet received {"connection_id":153162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":153162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:09:46] local.INFO: TCP Data received {"connection_id":153162,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:09:46] local.INFO: Processing buffer {"connection_id":153162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:09:46] local.INFO: IMEI packet received {"connection_id":153162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":153162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:09:47] local.INFO: TCP Data received {"connection_id":153162,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:09:47] local.INFO: Processing buffer {"connection_id":153162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:09:47] local.INFO: Packet analysis {"connection_id":153162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:09:47] local.INFO: Extracted packet for processing {"connection_id":153162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313126144001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786379700000,"timestamp_ms":1786379700000,"timestamp_seconds":1786379700,"priority":1,"record_length":96,"hex_timestamp":"0000019fec870720"} 
[2026-08-10 22:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313126144001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313126144001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:09:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313126144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":153162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:09:47] local.INFO: GPS data processed {"connection_id":153162,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:09:47] local.INFO: Acknowledgment sent {"connection_id":153162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:10:39] local.INFO: TCP Data received {"connection_id":154569,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:10:39] local.INFO: Processing buffer {"connection_id":154569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:10:39] local.INFO: IMEI packet received {"connection_id":154569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":154569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:10:41] local.INFO: TCP Data received {"connection_id":154569,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:10:41] local.INFO: Processing buffer {"connection_id":154569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:10:41] local.INFO: IMEI packet received {"connection_id":154569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":154569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:10:42] local.INFO: TCP Data received {"connection_id":153162,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:10:42] local.INFO: Processing buffer {"connection_id":153162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec870720012d196580071ff0380043014226..."} 
[2026-08-10 22:10:42] local.INFO: Packet analysis {"connection_id":153162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:10:42] local.INFO: Extracted packet for processing {"connection_id":153162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec87"} 
[2026-08-10 22:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313126144001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:10: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-08-10 22:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786379700000,"timestamp_ms":1786379700000,"timestamp_seconds":1786379700,"priority":1,"record_length":96,"hex_timestamp":"0000019fec870720"} 
[2026-08-10 22:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:10: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-08-10 22:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313126144001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313126144001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:10:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313126144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":153162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:10:42] local.INFO: GPS data processed {"connection_id":153162,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:10:42] local.INFO: Acknowledgment sent {"connection_id":153162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:10:46] local.INFO: TCP Data received {"connection_id":154569,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:10:46] local.INFO: Processing buffer {"connection_id":154569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:10:46] local.INFO: IMEI packet received {"connection_id":154569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":154569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:10:47] local.INFO: TCP Data received {"connection_id":154569,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:10:47] local.INFO: Processing buffer {"connection_id":154569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:10:47] local.INFO: Packet analysis {"connection_id":154569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:10:47] local.INFO: Extracted packet for processing {"connection_id":154569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:10:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313203200001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380001000,"timestamp_ms":1786380001000,"timestamp_seconds":1786380001,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8b9ee8"} 
[2026-08-10 22:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313203200001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313203200001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:10:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:10:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313203200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":154569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:10:47] local.INFO: GPS data processed {"connection_id":154569,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:10:47] local.INFO: Acknowledgment sent {"connection_id":154569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:11:18] local.INFO: TCP Data received {"connection_id":154569,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:11:18] local.INFO: Processing buffer {"connection_id":154569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:11:18] local.INFO: Packet analysis {"connection_id":154569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:11:18] local.INFO: Extracted packet for processing {"connection_id":154569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:11:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313203200001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380001000,"timestamp_ms":1786380001000,"timestamp_seconds":1786380001,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8b9ee8"} 
[2026-08-10 22:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:11: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313203200001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313203200001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:11:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:11:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313203200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":154569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:11:18] local.INFO: GPS data processed {"connection_id":154569,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:11:18] local.INFO: Acknowledgment sent {"connection_id":154569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:11:46] local.INFO: TCP Data received {"connection_id":154570,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:11:46] local.INFO: Processing buffer {"connection_id":154570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:11:46] local.INFO: IMEI packet received {"connection_id":154570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":154570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:11:47] local.INFO: TCP Data received {"connection_id":154570,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:11:47] local.INFO: Processing buffer {"connection_id":154570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:11:47] local.INFO: Packet analysis {"connection_id":154570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:11:47] local.INFO: Extracted packet for processing {"connection_id":154570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313203200001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380001000,"timestamp_ms":1786380001000,"timestamp_seconds":1786380001,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8b9ee8"} 
[2026-08-10 22:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313203200001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313203200001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:11:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313203200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":154570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:11:47] local.INFO: GPS data processed {"connection_id":154570,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:11:47] local.INFO: Acknowledgment sent {"connection_id":154570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:12:18] local.INFO: TCP Data received {"connection_id":154570,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:12:18] local.INFO: Processing buffer {"connection_id":154570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:12:18] local.INFO: Packet analysis {"connection_id":154570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:12:18] local.INFO: Extracted packet for processing {"connection_id":154570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313203200001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380001000,"timestamp_ms":1786380001000,"timestamp_seconds":1786380001,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8b9ee8"} 
[2026-08-10 22:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:12: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313203200001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313203200001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:12:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313203200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":154570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:12:18] local.INFO: GPS data processed {"connection_id":154570,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:12:18] local.INFO: Acknowledgment sent {"connection_id":154570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:12:46] local.INFO: TCP Data received {"connection_id":153164,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:12:46] local.INFO: Processing buffer {"connection_id":153164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:12:46] local.INFO: IMEI packet received {"connection_id":153164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":153164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:12:51] local.INFO: TCP Data received {"connection_id":153164,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:12:51] local.INFO: Processing buffer {"connection_id":153164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:12:51] local.INFO: IMEI packet received {"connection_id":153164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":153164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:12:52] local.INFO: TCP Data received {"connection_id":153164,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:12:52] local.INFO: Processing buffer {"connection_id":153164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:12:52] local.INFO: Packet analysis {"connection_id":153164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:12:52] local.INFO: Extracted packet for processing {"connection_id":153164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313203200001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786380001000,"timestamp_ms":1786380001000,"timestamp_seconds":1786380001,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8b9ee8"} 
[2026-08-10 22:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313203200001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313203200001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:12:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:12:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313203200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":153164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:12:52] local.INFO: GPS data processed {"connection_id":153164,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:12:52] local.INFO: Acknowledgment sent {"connection_id":153164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:12:56] local.INFO: TCP Data received {"connection_id":153164,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:12:56] local.INFO: Processing buffer {"connection_id":153164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:12:56] local.INFO: Packet analysis {"connection_id":153164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:12:56] local.INFO: Extracted packet for processing {"connection_id":153164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313203200001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786380001000,"timestamp_ms":1786380001000,"timestamp_seconds":1786380001,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8b9ee8"} 
[2026-08-10 22:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:12: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-08-10 22:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313203200001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313203200001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:12:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313203200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":153164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:12:56] local.INFO: GPS data processed {"connection_id":153164,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:12:56] local.INFO: Acknowledgment sent {"connection_id":153164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:13:41] local.INFO: TCP Data received {"connection_id":151846,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:13:41] local.INFO: Processing buffer {"connection_id":151846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:13:41] local.INFO: IMEI packet received {"connection_id":151846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":151846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:13:46] local.INFO: TCP Data received {"connection_id":151846,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:13:46] local.INFO: Processing buffer {"connection_id":151846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:13:46] local.INFO: IMEI packet received {"connection_id":151846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":151846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:13:47] local.INFO: TCP Data received {"connection_id":151846,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:13:47] local.INFO: Processing buffer {"connection_id":151846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:13:47] local.INFO: Packet analysis {"connection_id":151846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:13:47] local.INFO: Extracted packet for processing {"connection_id":151846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313203200001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380001000,"timestamp_ms":1786380001000,"timestamp_seconds":1786380001,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8b9ee8"} 
[2026-08-10 22:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313203200001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313203200001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:13:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:13:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313203200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":151846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:13:47] local.INFO: GPS data processed {"connection_id":151846,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:13:47] local.INFO: Acknowledgment sent {"connection_id":151846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:14:18] local.INFO: TCP Data received {"connection_id":151846,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:14:18] local.INFO: Processing buffer {"connection_id":151846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:14:18] local.INFO: Packet analysis {"connection_id":151846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:14:18] local.INFO: Extracted packet for processing {"connection_id":151846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313203200001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380001000,"timestamp_ms":1786380001000,"timestamp_seconds":1786380001,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8b9ee8"} 
[2026-08-10 22:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313203200001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313203200001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:14:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313203200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":151846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:14:18] local.INFO: GPS data processed {"connection_id":151846,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:14:18] local.INFO: Acknowledgment sent {"connection_id":151846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:14:23] local.INFO: TCP Data received {"connection_id":151847,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:14:23] local.INFO: Processing buffer {"connection_id":151847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:14:23] local.INFO: IMEI packet received {"connection_id":151847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":151847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:14:25] local.INFO: TCP Data received {"connection_id":151847,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8e7960012d4247c00697ff80002d006e33..."} 
[2026-08-10 22:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8e7960012d4247c00697ff80002d006e33..."} 
[2026-08-10 22:14:25] local.INFO: Processing buffer {"connection_id":151847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8e7960012d4247c00697ff80002d006e33..."} 
[2026-08-10 22:14:25] local.INFO: Packet analysis {"connection_id":151847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8e"} 
[2026-08-10 22:14:25] local.INFO: Extracted packet for processing {"connection_id":151847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8e"} 
[2026-08-10 22:14:25] local.INFO: GPS Element Parsed {"raw_longitude":759318464,"raw_latitude":110624640,"longitude_deg":75.9318464,"latitude_deg":11.062464,"altitude":45,"angle":110,"satellites":51,"speed":35,"hex_longitude":"2d4247c0","hex_latitude":"0697ff80","is_valid_coordinates":true} 
[2026-08-10 22:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313325568001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376554153800892416,"note":"Value kept but may cause issues"} 
[2026-08-10 22:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4766004702729744384,"note":"Value kept but may cause issues"} 
[2026-08-10 22:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786380188000,"timestamp_ms":1786380188000,"timestamp_seconds":1786380188,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8e7960"} 
[2026-08-10 22:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 22:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313325568001,"66":27332,"29":206,"19":48128,"24":35,"16":376554153800892416,"45":4766004702729744384},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-08-10 22:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313325568001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:14:25] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-10 22:14:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376554153800892416,"km_value":376554153800892.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4766004702729744384,"description":"Unknown IO ID 45"} 
[2026-08-10 22:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313325568001,"power":27332,"unknown_29":206,"unknown_19":48128,"ignition":35,"odometer":null,"unknown_45":4766004702729744384}} 
[2026-08-10 22:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":151847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:14:25] local.INFO: GPS data processed {"connection_id":151847,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:14:25] local.INFO: Acknowledgment sent {"connection_id":151847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:14:41] local.INFO: TCP Data received {"connection_id":151848,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:14:41] local.INFO: Processing buffer {"connection_id":151848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:14:41] local.INFO: IMEI packet received {"connection_id":151848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":151848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:14:46] local.INFO: TCP Data received {"connection_id":151848,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:14:46] local.INFO: Processing buffer {"connection_id":151848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:14:46] local.INFO: IMEI packet received {"connection_id":151848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":151848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:14:47] local.INFO: TCP Data received {"connection_id":151848,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:14:47] local.INFO: Processing buffer {"connection_id":151848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:14:47] local.INFO: Packet analysis {"connection_id":151848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:14:47] local.INFO: Extracted packet for processing {"connection_id":151848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313203200001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380001000,"timestamp_ms":1786380001000,"timestamp_seconds":1786380001,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8b9ee8"} 
[2026-08-10 22:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313203200001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313203200001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:14:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313203200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":151848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:14:47] local.INFO: GPS data processed {"connection_id":151848,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:14:47] local.INFO: Acknowledgment sent {"connection_id":151848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:15:04] local.INFO: TCP Data received {"connection_id":153165,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:15:04] local.INFO: Processing buffer {"connection_id":153165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:15:04] local.INFO: IMEI packet received {"connection_id":153165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":153165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:15:05] local.INFO: TCP Data received {"connection_id":153165,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:15:05] local.INFO: Processing buffer {"connection_id":153165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:15:05] local.INFO: IMEI packet received {"connection_id":153165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":153165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:15:06] local.INFO: TCP Data received {"connection_id":153165,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8ea458012d4269400697f3a80030006d32..."} 
[2026-08-10 22:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8ea458012d4269400697f3a80030006d32..."} 
[2026-08-10 22:15:06] local.INFO: Processing buffer {"connection_id":153165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8ea458012d4269400697f3a80030006d32..."} 
[2026-08-10 22:15:06] local.INFO: Packet analysis {"connection_id":153165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8e"} 
[2026-08-10 22:15:06] local.INFO: Extracted packet for processing {"connection_id":153165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8e"} 
[2026-08-10 22:15:06] local.INFO: GPS Element Parsed {"raw_longitude":759327040,"raw_latitude":110621608,"longitude_deg":75.932704,"latitude_deg":11.0621608,"altitude":48,"angle":109,"satellites":50,"speed":32,"hex_longitude":"2d426940","hex_latitude":"0697f3a8","is_valid_coordinates":true} 
[2026-08-10 22:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313328128001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376554583297622016,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4775997064402141184,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786380199000,"timestamp_ms":1786380199000,"timestamp_seconds":1786380199,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8ea458"} 
[2026-08-10 22:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 22:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313328128001,"66":27104,"29":206,"19":48128,"24":32,"16":376554583297622016,"45":4775997064402141184},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-08-10 22:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313328128001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:15:06] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-10 22:15:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376554583297622016,"km_value":376554583297622.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4775997064402141184,"description":"Unknown IO ID 45"} 
[2026-08-10 22:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313328128001,"power":27104,"unknown_29":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":4775997064402141184}} 
[2026-08-10 22:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":153165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:15:06] local.INFO: GPS data processed {"connection_id":153165,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:15:06] local.INFO: Acknowledgment sent {"connection_id":153165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:15:08] local.INFO: TCP Data received {"connection_id":153165,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8ecf50012d428a400697e7780031006e32..."} 
[2026-08-10 22:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8ecf50012d428a400697e7780031006e32..."} 
[2026-08-10 22:15:08] local.INFO: Processing buffer {"connection_id":153165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8ecf50012d428a400697e7780031006e32..."} 
[2026-08-10 22:15:08] local.INFO: Packet analysis {"connection_id":153165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8e"} 
[2026-08-10 22:15:08] local.INFO: Extracted packet for processing {"connection_id":153165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8e"} 
[2026-08-10 22:15:08] local.INFO: GPS Element Parsed {"raw_longitude":759335488,"raw_latitude":110618488,"longitude_deg":75.9335488,"latitude_deg":11.0618488,"altitude":49,"angle":110,"satellites":50,"speed":31,"hex_longitude":"2d428a40","hex_latitude":"0697e778","is_valid_coordinates":true} 
[2026-08-10 22:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313330944001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376555017089318912,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4785426476121171968,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786380210000,"timestamp_ms":1786380210000,"timestamp_seconds":1786380210,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8ecf50"} 
[2026-08-10 22:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 22:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313330944001,"66":27343,"29":206,"19":48128,"24":31,"16":376555017089318912,"45":4785426476121171968},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-08-10 22:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313330944001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:15:08] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-10 22:15:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376555017089318912,"km_value":376555017089318.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4785426476121171968,"description":"Unknown IO ID 45"} 
[2026-08-10 22:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313330944001,"power":27343,"unknown_29":206,"unknown_19":48128,"ignition":31,"odometer":null,"unknown_45":4785426476121171968}} 
[2026-08-10 22:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":153165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:15:08] local.INFO: GPS data processed {"connection_id":153165,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:15:08] local.INFO: Acknowledgment sent {"connection_id":153165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:15:18] local.INFO: TCP Data received {"connection_id":151848,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:15:18] local.INFO: Processing buffer {"connection_id":151848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec8b9ee8012d196580071ff038003f014222..."} 
[2026-08-10 22:15:18] local.INFO: Packet analysis {"connection_id":151848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:15:18] local.INFO: Extracted packet for processing {"connection_id":151848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec8b"} 
[2026-08-10 22:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313203200001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380001000,"timestamp_ms":1786380001000,"timestamp_seconds":1786380001,"priority":1,"record_length":96,"hex_timestamp":"0000019fec8b9ee8"} 
[2026-08-10 22:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313203200001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313203200001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:15:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313203200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":151848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:15:18] local.INFO: GPS data processed {"connection_id":151848,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:15:18] local.INFO: Acknowledgment sent {"connection_id":151848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:15:39] local.INFO: TCP Data received {"connection_id":153165,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec900000012d42ec800696b3c8001600a735..."} 
[2026-08-10 22:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec900000012d42ec800696b3c8001600a735..."} 
[2026-08-10 22:15:39] local.INFO: Processing buffer {"connection_id":153165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec900000012d42ec800696b3c8001600a735..."} 
[2026-08-10 22:15:39] local.INFO: Packet analysis {"connection_id":153165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:15:39] local.INFO: Extracted packet for processing {"connection_id":153165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:15:39] local.INFO: GPS Element Parsed {"raw_longitude":759360640,"raw_latitude":110539720,"longitude_deg":75.936064,"latitude_deg":11.053972,"altitude":22,"angle":167,"satellites":53,"speed":57,"hex_longitude":"2d42ec80","hex_latitude":"0696b3c8","is_valid_coordinates":true} 
[2026-08-10 22:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313351936001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376559269106941952,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4820047898238097408,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786380288000,"timestamp_ms":1786380288000,"timestamp_seconds":1786380288,"priority":1,"record_length":96,"hex_timestamp":"0000019fec900000"} 
[2026-08-10 22:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 22:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313351936001,"66":27213,"28":206,"19":48128,"24":57,"16":376559269106941952,"45":4820047898238097408},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-08-10 22:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313351936001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:15:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-10 22:15:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376559269106941952,"km_value":376559269106941.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4820047898238097408,"description":"Unknown IO ID 45"} 
[2026-08-10 22:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313351936001,"power":27213,"unknown_28":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":4820047898238097408}} 
[2026-08-10 22:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":153165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:15:39] local.INFO: GPS data processed {"connection_id":153165,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:15:39] local.INFO: Acknowledgment sent {"connection_id":153165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:15:40] local.INFO: TCP Data received {"connection_id":154572,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:15:40] local.INFO: Processing buffer {"connection_id":154572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:15:40] local.INFO: IMEI packet received {"connection_id":154572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":154572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:15:41] local.INFO: TCP Data received {"connection_id":154572,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:15:41] local.INFO: Processing buffer {"connection_id":154572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:15:41] local.INFO: IMEI packet received {"connection_id":154572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":154572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:15:46] local.INFO: TCP Data received {"connection_id":154572,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:15:46] local.INFO: Processing buffer {"connection_id":154572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:15:46] local.INFO: IMEI packet received {"connection_id":154572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":154572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:15:47] local.INFO: TCP Data received {"connection_id":154572,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:15:47] local.INFO: Processing buffer {"connection_id":154572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:15:47] local.INFO: Packet analysis {"connection_id":154572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:15:47] local.INFO: Extracted packet for processing {"connection_id":154572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313280256001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380302000,"timestamp_ms":1786380302000,"timestamp_seconds":1786380302,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9036b0"} 
[2026-08-10 22:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313280256001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313280256001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:15:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313280256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":154572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:15:47] local.INFO: GPS data processed {"connection_id":154572,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:15:47] local.INFO: Acknowledgment sent {"connection_id":154572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:16:18] local.INFO: TCP Data received {"connection_id":154572,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:16:18] local.INFO: Processing buffer {"connection_id":154572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:16:18] local.INFO: Packet analysis {"connection_id":154572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:16:18] local.INFO: Extracted packet for processing {"connection_id":154572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313280256001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380302000,"timestamp_ms":1786380302000,"timestamp_seconds":1786380302,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9036b0"} 
[2026-08-10 22:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22: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-08-10 22:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313280256001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313280256001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:16:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313280256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":154572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:16:18] local.INFO: GPS data processed {"connection_id":154572,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:16:18] local.INFO: Acknowledgment sent {"connection_id":154572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:16:26] local.INFO: TCP Data received {"connection_id":153166,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:16:26] local.INFO: Processing buffer {"connection_id":153166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:16:26] local.INFO: IMEI packet received {"connection_id":153166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":153166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:16:28] local.INFO: TCP Data received {"connection_id":153166,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:16:28] local.INFO: Processing buffer {"connection_id":153166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:16:28] local.INFO: IMEI packet received {"connection_id":153166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":153166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:16:29] local.INFO: TCP Data received {"connection_id":153166,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec901b58012d42f58006968ce0001200a635..."} 
[2026-08-10 22:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec901b58012d42f58006968ce0001200a635..."} 
[2026-08-10 22:16:29] local.INFO: Processing buffer {"connection_id":153166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec901b58012d42f58006968ce0001200a635..."} 
[2026-08-10 22:16:29] local.INFO: Packet analysis {"connection_id":153166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:16:29] local.INFO: Extracted packet for processing {"connection_id":153166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:16:29] local.INFO: GPS Element Parsed {"raw_longitude":759362944,"raw_latitude":110529760,"longitude_deg":75.9362944,"latitude_deg":11.052976,"altitude":18,"angle":166,"satellites":53,"speed":58,"hex_longitude":"2d42f580","hex_latitude":"06968ce0","is_valid_coordinates":true} 
[2026-08-10 22:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313353728001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376559763028180992,"note":"Value kept but may cause issues"} 
[2026-08-10 22:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4822370066793482240,"note":"Value kept but may cause issues"} 
[2026-08-10 22:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786380295000,"timestamp_ms":1786380295000,"timestamp_seconds":1786380295,"priority":1,"record_length":96,"hex_timestamp":"0000019fec901b58"} 
[2026-08-10 22:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 22:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313353728001,"66":27365,"28":206,"19":48128,"24":58,"16":376559763028180992,"45":4822370066793482240},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-08-10 22:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313353728001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:16:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-10 22:16:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376559763028180992,"km_value":376559763028181.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4822370066793482240,"description":"Unknown IO ID 45"} 
[2026-08-10 22:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313353728001,"power":27365,"unknown_28":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4822370066793482240}} 
[2026-08-10 22:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":153166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:16:29] local.INFO: GPS data processed {"connection_id":153166,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:16:29] local.INFO: Acknowledgment sent {"connection_id":153166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:16:30] local.INFO: TCP Data received {"connection_id":153166,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9032c8012d42fec006966b30001000a034..."} 
[2026-08-10 22:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9032c8012d42fec006966b30001000a034..."} 
[2026-08-10 22:16:30] local.INFO: Processing buffer {"connection_id":153166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9032c8012d42fec006966b30001000a034..."} 
[2026-08-10 22:16:30] local.INFO: Packet analysis {"connection_id":153166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:16:30] local.INFO: Extracted packet for processing {"connection_id":153166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:16:30] local.INFO: GPS Element Parsed {"raw_longitude":759365312,"raw_latitude":110521136,"longitude_deg":75.9365312,"latitude_deg":11.0521136,"altitude":16,"angle":160,"satellites":52,"speed":59,"hex_longitude":"2d42fec0","hex_latitude":"06966b30","is_valid_coordinates":true} 
[2026-08-10 22:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313355520001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376560196819877888,"note":"Value kept but may cause issues"} 
[2026-08-10 22:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4824903341581328384,"note":"Value kept but may cause issues"} 
[2026-08-10 22:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786380301000,"timestamp_ms":1786380301000,"timestamp_seconds":1786380301,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9032c8"} 
[2026-08-10 22:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22: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-08-10 22:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313355520001,"66":27267,"28":206,"19":48128,"24":59,"16":376560196819877888,"45":4824903341581328384},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-08-10 22:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313355520001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-10 22:16:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376560196819877888,"km_value":376560196819877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4824903341581328384,"description":"Unknown IO ID 45"} 
[2026-08-10 22:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313355520001,"power":27267,"unknown_28":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4824903341581328384}} 
[2026-08-10 22:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":153166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:16:30] local.INFO: GPS data processed {"connection_id":153166,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:16:30] local.INFO: Acknowledgment sent {"connection_id":153166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:16:41] local.INFO: TCP Data received {"connection_id":152222,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:16:41] local.INFO: Processing buffer {"connection_id":152222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:16:41] local.INFO: IMEI packet received {"connection_id":152222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":152222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:16:46] local.INFO: TCP Data received {"connection_id":152222,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:16:46] local.INFO: Processing buffer {"connection_id":152222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:16:46] local.INFO: IMEI packet received {"connection_id":152222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":152222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:16:47] local.INFO: TCP Data received {"connection_id":152222,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:16:47] local.INFO: Processing buffer {"connection_id":152222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:16:47] local.INFO: Packet analysis {"connection_id":152222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:16:47] local.INFO: Extracted packet for processing {"connection_id":152222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313280256001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380302000,"timestamp_ms":1786380302000,"timestamp_seconds":1786380302,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9036b0"} 
[2026-08-10 22:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313280256001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313280256001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:16:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:16:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313280256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":152222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:16:47] local.INFO: GPS data processed {"connection_id":152222,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:16:47] local.INFO: Acknowledgment sent {"connection_id":152222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:16:56] local.INFO: TCP Data received {"connection_id":152223,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:16:56] local.INFO: Processing buffer {"connection_id":152223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:16:56] local.INFO: IMEI packet received {"connection_id":152223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":152223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:16:57] local.INFO: TCP Data received {"connection_id":152223,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:16:57] local.INFO: Processing buffer {"connection_id":152223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:16:57] local.INFO: IMEI packet received {"connection_id":152223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":152223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:17:03] local.INFO: TCP Data received {"connection_id":152223,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:17:03] local.INFO: Processing buffer {"connection_id":152223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:17:03] local.INFO: IMEI packet received {"connection_id":152223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":152223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:17:04] local.INFO: TCP Data received {"connection_id":152223,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec904e20012d43114006964770000f009334..."} 
[2026-08-10 22:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec904e20012d43114006964770000f009334..."} 
[2026-08-10 22:17:04] local.INFO: Processing buffer {"connection_id":152223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec904e20012d43114006964770000f009334..."} 
[2026-08-10 22:17:04] local.INFO: Packet analysis {"connection_id":152223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:17:04] local.INFO: Extracted packet for processing {"connection_id":152223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:17:04] local.INFO: GPS Element Parsed {"raw_longitude":759370048,"raw_latitude":110511984,"longitude_deg":75.9370048,"latitude_deg":11.0511984,"altitude":15,"angle":147,"satellites":52,"speed":56,"hex_longitude":"2d431140","hex_latitude":"06964770","is_valid_coordinates":true} 
[2026-08-10 22:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313357056001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376560695036084224,"note":"Value kept but may cause issues"} 
[2026-08-10 22:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4827506985113694208,"note":"Value kept but may cause issues"} 
[2026-08-10 22:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786380308000,"timestamp_ms":1786380308000,"timestamp_seconds":1786380308,"priority":1,"record_length":96,"hex_timestamp":"0000019fec904e20"} 
[2026-08-10 22:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 22:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313357056001,"66":27180,"237":206,"19":48128,"24":56,"16":376560695036084224,"45":4827506985113694208},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-08-10 22:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313357056001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:17:04] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-10 22:17:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376560695036084224,"km_value":376560695036084.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4827506985113694208,"description":"Unknown IO ID 45"} 
[2026-08-10 22:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313357056001,"power":27180,"unknown_237":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":4827506985113694208}} 
[2026-08-10 22:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":152223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:17:04] local.INFO: GPS data processed {"connection_id":152223,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:17:04] local.INFO: Acknowledgment sent {"connection_id":152223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:17:18] local.INFO: TCP Data received {"connection_id":152222,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:17:18] local.INFO: Processing buffer {"connection_id":152222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:17:18] local.INFO: Packet analysis {"connection_id":152222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:17:18] local.INFO: Extracted packet for processing {"connection_id":152222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313280256001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380302000,"timestamp_ms":1786380302000,"timestamp_seconds":1786380302,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9036b0"} 
[2026-08-10 22:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313280256001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313280256001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:17:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:17:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313280256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":152222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:17:18] local.INFO: GPS data processed {"connection_id":152222,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:17:18] local.INFO: Acknowledgment sent {"connection_id":152222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:17:37] local.INFO: TCP Data received {"connection_id":152223,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec919e10012d4379c00694f4c8000e00c633..."} 
[2026-08-10 22:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec919e10012d4379c00694f4c8000e00c633..."} 
[2026-08-10 22:17:37] local.INFO: Processing buffer {"connection_id":152223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec919e10012d4379c00694f4c8000e00c633..."} 
[2026-08-10 22:17:37] local.INFO: Packet analysis {"connection_id":152223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec91"} 
[2026-08-10 22:17:37] local.INFO: Extracted packet for processing {"connection_id":152223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec91"} 
[2026-08-10 22:17:37] local.INFO: GPS Element Parsed {"raw_longitude":759396800,"raw_latitude":110425288,"longitude_deg":75.93968,"latitude_deg":11.0425288,"altitude":14,"angle":198,"satellites":51,"speed":47,"hex_longitude":"2d4379c0","hex_latitude":"0694f4c8","is_valid_coordinates":true} 
[2026-08-10 22:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313378816001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376565436679979008,"note":"Value kept but may cause issues"} 
[2026-08-10 22:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4865435738203226112,"note":"Value kept but may cause issues"} 
[2026-08-10 22:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786380394000,"timestamp_ms":1786380394000,"timestamp_seconds":1786380394,"priority":1,"record_length":96,"hex_timestamp":"0000019fec919e10"} 
[2026-08-10 22:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:17: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-08-10 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 22:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313378816001,"66":27234,"237":206,"19":48128,"24":47,"16":376565436679979008,"45":4865435738203226112},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-08-10 22:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313378816001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:17:37] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-10 22:17:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376565436679979008,"km_value":376565436679979.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4865435738203226112,"description":"Unknown IO ID 45"} 
[2026-08-10 22:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313378816001,"power":27234,"unknown_237":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":4865435738203226112}} 
[2026-08-10 22:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":152223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:17:37] local.INFO: GPS data processed {"connection_id":152223,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:17:37] local.INFO: Acknowledgment sent {"connection_id":152223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:17:41] local.INFO: TCP Data received {"connection_id":151849,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:17:41] local.INFO: Processing buffer {"connection_id":151849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:17:41] local.INFO: IMEI packet received {"connection_id":151849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":151849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:17:46] local.INFO: TCP Data received {"connection_id":151849,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:17:46] local.INFO: Processing buffer {"connection_id":151849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:17:46] local.INFO: IMEI packet received {"connection_id":151849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":151849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:17:47] local.INFO: TCP Data received {"connection_id":151849,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:17:47] local.INFO: Processing buffer {"connection_id":151849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:17:47] local.INFO: Packet analysis {"connection_id":151849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:17:47] local.INFO: Extracted packet for processing {"connection_id":151849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313280256001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380302000,"timestamp_ms":1786380302000,"timestamp_seconds":1786380302,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9036b0"} 
[2026-08-10 22:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313280256001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313280256001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:17:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:17:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313280256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":151849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:17:47] local.INFO: GPS data processed {"connection_id":151849,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:17:47] local.INFO: Acknowledgment sent {"connection_id":151849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:17:57] local.INFO: TCP Data received {"connection_id":154573,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:17:57] local.INFO: Processing buffer {"connection_id":154573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:17:57] local.INFO: IMEI packet received {"connection_id":154573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":154573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:18:03] local.INFO: TCP Data received {"connection_id":154573,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:18:03] local.INFO: Processing buffer {"connection_id":154573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:18:03] local.INFO: IMEI packet received {"connection_id":154573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":154573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:18:06] local.INFO: TCP Data received {"connection_id":154573,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec91bd50012d436e000694d118000f00c633..."} 
[2026-08-10 22:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec91bd50012d436e000694d118000f00c633..."} 
[2026-08-10 22:18:06] local.INFO: Processing buffer {"connection_id":154573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec91bd50012d436e000694d118000f00c633..."} 
[2026-08-10 22:18:06] local.INFO: Packet analysis {"connection_id":154573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec91"} 
[2026-08-10 22:18:06] local.INFO: Extracted packet for processing {"connection_id":154573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec91"} 
[2026-08-10 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":759393792,"raw_latitude":110416152,"longitude_deg":75.9393792,"latitude_deg":11.0416152,"altitude":15,"angle":198,"satellites":51,"speed":47,"hex_longitude":"2d436e00","hex_latitude":"0694d118","is_valid_coordinates":true} 
[2026-08-10 22:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313380864001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376565900536446976,"note":"Value kept but may cause issues"} 
[2026-08-10 22:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4862128407224567808,"note":"Value kept but may cause issues"} 
[2026-08-10 22:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786380402000,"timestamp_ms":1786380402000,"timestamp_seconds":1786380402,"priority":1,"record_length":96,"hex_timestamp":"0000019fec91bd50"} 
[2026-08-10 22:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 22:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313380864001,"66":27300,"237":206,"19":48128,"24":47,"16":376565900536446976,"45":4862128407224567808},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-08-10 22:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313380864001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:18:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-10 22:18:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376565900536446976,"km_value":376565900536447.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4862128407224567808,"description":"Unknown IO ID 45"} 
[2026-08-10 22:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313380864001,"power":27300,"unknown_237":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":4862128407224567808}} 
[2026-08-10 22:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":154573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:18:06] local.INFO: GPS data processed {"connection_id":154573,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:18:06] local.INFO: Acknowledgment sent {"connection_id":154573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:18:18] local.INFO: TCP Data received {"connection_id":151849,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:18:18] local.INFO: Processing buffer {"connection_id":151849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:18:18] local.INFO: Packet analysis {"connection_id":151849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:18:18] local.INFO: Extracted packet for processing {"connection_id":151849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313280256001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380302000,"timestamp_ms":1786380302000,"timestamp_seconds":1786380302,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9036b0"} 
[2026-08-10 22:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313280256001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313280256001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:18:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313280256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":151849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:18:18] local.INFO: GPS data processed {"connection_id":151849,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:18:18] local.INFO: Acknowledgment sent {"connection_id":151849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:18:41] local.INFO: TCP Data received {"connection_id":152224,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:18:41] local.INFO: Processing buffer {"connection_id":152224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:18:41] local.INFO: IMEI packet received {"connection_id":152224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":152224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:18:45] local.INFO: TCP Data received {"connection_id":154573,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec91dc90012d4361000694ae78001200c830..."} 
[2026-08-10 22:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec91dc90012d4361000694ae78001200c830..."} 
[2026-08-10 22:18:45] local.INFO: Processing buffer {"connection_id":154573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec91dc90012d4361000694ae78001200c830..."} 
[2026-08-10 22:18:45] local.INFO: Packet analysis {"connection_id":154573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec91"} 
[2026-08-10 22:18:45] local.INFO: Extracted packet for processing {"connection_id":154573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec91"} 
[2026-08-10 22:18:45] local.INFO: GPS Element Parsed {"raw_longitude":759390464,"raw_latitude":110407288,"longitude_deg":75.9390464,"latitude_deg":11.0407288,"altitude":18,"angle":200,"satellites":48,"speed":44,"hex_longitude":"2d436100","hex_latitude":"0694ae78","is_valid_coordinates":true} 
[2026-08-10 22:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313382912001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376566360097947648,"note":"Value kept but may cause issues"} 
[2026-08-10 22:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4858821076245878784,"note":"Value kept but may cause issues"} 
[2026-08-10 22:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786380410000,"timestamp_ms":1786380410000,"timestamp_seconds":1786380410,"priority":1,"record_length":96,"hex_timestamp":"0000019fec91dc90"} 
[2026-08-10 22:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313382912001,"66":27300,"237":206,"19":48128,"24":44,"16":376566360097947648,"45":4858821076245878784},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-08-10 22:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313382912001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:18:45] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-10 22:18:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376566360097947648,"km_value":376566360097947.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4858821076245878784,"description":"Unknown IO ID 45"} 
[2026-08-10 22:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313382912001,"power":27300,"unknown_237":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4858821076245878784}} 
[2026-08-10 22:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":154573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:18:45] local.INFO: GPS data processed {"connection_id":154573,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:18:45] local.INFO: Acknowledgment sent {"connection_id":154573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:18:46] local.INFO: TCP Data received {"connection_id":152224,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:18:46] local.INFO: Processing buffer {"connection_id":152224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:18:46] local.INFO: IMEI packet received {"connection_id":152224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":152224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:18:47] local.INFO: TCP Data received {"connection_id":152224,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:18:47] local.INFO: Processing buffer {"connection_id":152224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:18:47] local.INFO: Packet analysis {"connection_id":152224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:18:47] local.INFO: Extracted packet for processing {"connection_id":152224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313280256001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380302000,"timestamp_ms":1786380302000,"timestamp_seconds":1786380302,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9036b0"} 
[2026-08-10 22:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313280256001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313280256001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:18:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313280256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":152224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:18:47] local.INFO: GPS data processed {"connection_id":152224,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:18:47] local.INFO: Acknowledgment sent {"connection_id":152224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:18:58] local.INFO: TCP Data received {"connection_id":153167,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:18:58] local.INFO: Processing buffer {"connection_id":153167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:18:58] local.INFO: IMEI packet received {"connection_id":153167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":153167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:19:02] local.INFO: TCP Data received {"connection_id":153167,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:19:02] local.INFO: Processing buffer {"connection_id":153167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:19:02] local.INFO: IMEI packet received {"connection_id":153167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":153167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:19:03] local.INFO: TCP Data received {"connection_id":153167,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:19:03] local.INFO: Processing buffer {"connection_id":153167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:19:03] local.INFO: IMEI packet received {"connection_id":153167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":153167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:19:07] local.INFO: TCP Data received {"connection_id":153167,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec91ffb8012d43524006948ae8001600cb2f..."} 
[2026-08-10 22:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec91ffb8012d43524006948ae8001600cb2f..."} 
[2026-08-10 22:19:07] local.INFO: Processing buffer {"connection_id":153167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec91ffb8012d43524006948ae8001600cb2f..."} 
[2026-08-10 22:19:07] local.INFO: Packet analysis {"connection_id":153167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec91"} 
[2026-08-10 22:19:07] local.INFO: Extracted packet for processing {"connection_id":153167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec91"} 
[2026-08-10 22:19:07] local.INFO: GPS Element Parsed {"raw_longitude":759386688,"raw_latitude":110398184,"longitude_deg":75.9386688,"latitude_deg":11.0398184,"altitude":22,"angle":203,"satellites":47,"speed":42,"hex_longitude":"2d435240","hex_latitude":"06948ae8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313384960001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376566836839317504,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4855161901546371072,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786380419000,"timestamp_ms":1786380419000,"timestamp_seconds":1786380419,"priority":1,"record_length":96,"hex_timestamp":"0000019fec91ffb8"} 
[2026-08-10 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-08-10 22:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:19: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-08-10 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-08-10 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-08-10 22:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313384960001,"66":27365,"238":206,"19":48128,"24":42,"16":376566836839317504,"45":4855161901546371072},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-08-10 22:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313384960001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:19:07] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-10 22:19:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376566836839317504,"km_value":376566836839317.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4855161901546371072,"description":"Unknown IO ID 45"} 
[2026-08-10 22:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313384960001,"power":27365,"unknown_238":206,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4855161901546371072}} 
[2026-08-10 22:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":153167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:19:07] local.INFO: GPS data processed {"connection_id":153167,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:19:07] local.INFO: Acknowledgment sent {"connection_id":153167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:19:09] local.INFO: TCP Data received {"connection_id":153167,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9222e0012d43440006946918001800cb2f..."} 
[2026-08-10 22:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9222e0012d43440006946918001800cb2f..."} 
[2026-08-10 22:19:09] local.INFO: Processing buffer {"connection_id":153167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9222e0012d43440006946918001800cb2f..."} 
[2026-08-10 22:19:09] local.INFO: Packet analysis {"connection_id":153167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec92"} 
[2026-08-10 22:19:09] local.INFO: Extracted packet for processing {"connection_id":153167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec92"} 
[2026-08-10 22:19:09] local.INFO: GPS Element Parsed {"raw_longitude":759383040,"raw_latitude":110389528,"longitude_deg":75.938304,"latitude_deg":11.0389528,"altitude":24,"angle":203,"satellites":47,"speed":41,"hex_longitude":"2d434400","hex_latitude":"06946918","is_valid_coordinates":true} 
[2026-08-10 22:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313387264001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376567292105850880,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4851010145637558272,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786380428000,"timestamp_ms":1786380428000,"timestamp_seconds":1786380428,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9222e0"} 
[2026-08-10 22:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 22:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313387264001,"66":27104,"238":206,"19":48128,"24":41,"16":376567292105850880,"45":4851010145637558272},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-08-10 22:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313387264001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:19:09] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-10 22:19:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376567292105850880,"km_value":376567292105850.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4851010145637558272,"description":"Unknown IO ID 45"} 
[2026-08-10 22:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313387264001,"power":27104,"unknown_238":206,"unknown_19":48128,"ignition":41,"odometer":null,"unknown_45":4851010145637558272}} 
[2026-08-10 22:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":153167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:19:09] local.INFO: GPS data processed {"connection_id":153167,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:19:09] local.INFO: Acknowledgment sent {"connection_id":153167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:19:18] local.INFO: TCP Data received {"connection_id":152224,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:19:18] local.INFO: Processing buffer {"connection_id":152224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:19:18] local.INFO: Packet analysis {"connection_id":152224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:19:18] local.INFO: Extracted packet for processing {"connection_id":152224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313280256001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380302000,"timestamp_ms":1786380302000,"timestamp_seconds":1786380302,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9036b0"} 
[2026-08-10 22:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313280256001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313280256001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:19:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:19:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313280256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":152224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:19:18] local.INFO: GPS data processed {"connection_id":152224,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:19:18] local.INFO: Acknowledgment sent {"connection_id":152224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:19:40] local.INFO: TCP Data received {"connection_id":153167,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9395f8012d43b98006932160002c009434..."} 
[2026-08-10 22:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9395f8012d43b98006932160002c009434..."} 
[2026-08-10 22:19:40] local.INFO: Processing buffer {"connection_id":153167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9395f8012d43b98006932160002c009434..."} 
[2026-08-10 22:19:40] local.INFO: Packet analysis {"connection_id":153167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec93"} 
[2026-08-10 22:19:40] local.INFO: Extracted packet for processing {"connection_id":153167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec93"} 
[2026-08-10 22:19:40] local.INFO: GPS Element Parsed {"raw_longitude":759413120,"raw_latitude":110305632,"longitude_deg":75.941312,"latitude_deg":11.0305632,"altitude":44,"angle":148,"satellites":52,"speed":37,"hex_longitude":"2d43b980","hex_latitude":"06932160","is_valid_coordinates":true} 
[2026-08-10 22:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313411328001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376571960735301632,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4874935518636226560,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786380523000,"timestamp_ms":1786380523000,"timestamp_seconds":1786380523,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9395f8"} 
[2026-08-10 22:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313411328001,"66":27137,"177":206,"19":48128,"24":37,"16":376571960735301632,"45":4874935518636226560},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-10 22:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313411328001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:19:40] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 22:19:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376571960735301632,"km_value":376571960735301.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4874935518636226560,"description":"Unknown IO ID 45"} 
[2026-08-10 22:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313411328001,"power":27137,"unknown_177":206,"unknown_19":48128,"ignition":37,"odometer":null,"unknown_45":4874935518636226560}} 
[2026-08-10 22:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":153167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:19:40] local.INFO: GPS data processed {"connection_id":153167,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:19:40] local.INFO: Acknowledgment sent {"connection_id":153167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:19:41] local.INFO: TCP Data received {"connection_id":154574,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:19:41] local.INFO: Processing buffer {"connection_id":154574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:19:41] local.INFO: IMEI packet received {"connection_id":154574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":154574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:19:46] local.INFO: TCP Data received {"connection_id":154574,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:19:46] local.INFO: Processing buffer {"connection_id":154574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:19:46] local.INFO: IMEI packet received {"connection_id":154574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":154574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:19:47] local.INFO: TCP Data received {"connection_id":154574,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:19:47] local.INFO: Processing buffer {"connection_id":154574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:19:47] local.INFO: Packet analysis {"connection_id":154574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:19:47] local.INFO: Extracted packet for processing {"connection_id":154574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313280256001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380302000,"timestamp_ms":1786380302000,"timestamp_seconds":1786380302,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9036b0"} 
[2026-08-10 22:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313280256001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313280256001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:19:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:19:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313280256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":154574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:19:47] local.INFO: GPS data processed {"connection_id":154574,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:19:47] local.INFO: Acknowledgment sent {"connection_id":154574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:20:03] local.INFO: TCP Data received {"connection_id":153168,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:03] local.INFO: Processing buffer {"connection_id":153168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:03] local.INFO: IMEI packet received {"connection_id":153168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":153168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:20:04] local.INFO: TCP Data received {"connection_id":153168,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:04] local.INFO: Processing buffer {"connection_id":153168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:04] local.INFO: IMEI packet received {"connection_id":153168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":153168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:20:07] local.INFO: TCP Data received {"connection_id":153168,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:07] local.INFO: Processing buffer {"connection_id":153168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:07] local.INFO: IMEI packet received {"connection_id":153168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":153168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:20:08] local.INFO: TCP Data received {"connection_id":153168,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec93bd08012d43ce40069300d8002c009434..."} 
[2026-08-10 22:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec93bd08012d43ce40069300d8002c009434..."} 
[2026-08-10 22:20:08] local.INFO: Processing buffer {"connection_id":153168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec93bd08012d43ce40069300d8002c009434..."} 
[2026-08-10 22:20:08] local.INFO: Packet analysis {"connection_id":153168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec93"} 
[2026-08-10 22:20:08] local.INFO: Extracted packet for processing {"connection_id":153168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec93"} 
[2026-08-10 22:20:08] local.INFO: GPS Element Parsed {"raw_longitude":759418432,"raw_latitude":110297304,"longitude_deg":75.9418432,"latitude_deg":11.0297304,"altitude":44,"angle":148,"satellites":52,"speed":41,"hex_longitude":"2d43ce40","hex_latitude":"069300d8","is_valid_coordinates":true} 
[2026-08-10 22:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313413888001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376572433181704192,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4880072436959240192,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786380533000,"timestamp_ms":1786380533000,"timestamp_seconds":1786380533,"priority":1,"record_length":96,"hex_timestamp":"0000019fec93bd08"} 
[2026-08-10 22:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-08-10 22:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313413888001,"66":27300,"177":206,"19":48128,"24":41,"16":376572433181704192,"45":4880072436959240192},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-10 22:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313413888001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:20:08] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 22:20:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376572433181704192,"km_value":376572433181704.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4880072436959240192,"description":"Unknown IO ID 45"} 
[2026-08-10 22:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313413888001,"power":27300,"unknown_177":206,"unknown_19":48128,"ignition":41,"odometer":null,"unknown_45":4880072436959240192}} 
[2026-08-10 22:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":153168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:20:08] local.INFO: GPS data processed {"connection_id":153168,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:20:08] local.INFO: Acknowledgment sent {"connection_id":153168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:20:10] local.INFO: TCP Data received {"connection_id":153168,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec93dc48012d43e2400692e3d0002b008d30..."} 
[2026-08-10 22:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec93dc48012d43e2400692e3d0002b008d30..."} 
[2026-08-10 22:20:10] local.INFO: Processing buffer {"connection_id":153168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec93dc48012d43e2400692e3d0002b008d30..."} 
[2026-08-10 22:20:10] local.INFO: Packet analysis {"connection_id":153168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec93"} 
[2026-08-10 22:20:10] local.INFO: Extracted packet for processing {"connection_id":153168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec93"} 
[2026-08-10 22:20:10] local.INFO: GPS Element Parsed {"raw_longitude":759423552,"raw_latitude":110289872,"longitude_deg":75.9423552,"latitude_deg":11.0289872,"altitude":43,"angle":141,"satellites":48,"speed":48,"hex_longitude":"2d43e240","hex_latitude":"0692e3d0","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313416448001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376572866973401088,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4885913042723854336,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786380541000,"timestamp_ms":1786380541000,"timestamp_seconds":1786380541,"priority":1,"record_length":96,"hex_timestamp":"0000019fec93dc48"} 
[2026-08-10 22:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313416448001,"66":27321,"177":206,"19":48128,"24":48,"16":376572866973401088,"45":4885913042723854336},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-10 22:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313416448001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:20:10] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 22:20:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376572866973401088,"km_value":376572866973401.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4885913042723854336,"description":"Unknown IO ID 45"} 
[2026-08-10 22:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313416448001,"power":27321,"unknown_177":206,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":4885913042723854336}} 
[2026-08-10 22:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":153168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:20:10] local.INFO: GPS data processed {"connection_id":153168,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:20:10] local.INFO: Acknowledgment sent {"connection_id":153168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:20:18] local.INFO: TCP Data received {"connection_id":154574,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:20:18] local.INFO: Processing buffer {"connection_id":154574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9036b0012d196580071ff038003f014226..."} 
[2026-08-10 22:20:18] local.INFO: Packet analysis {"connection_id":154574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:20:18] local.INFO: Extracted packet for processing {"connection_id":154574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec90"} 
[2026-08-10 22:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313280256001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380302000,"timestamp_ms":1786380302000,"timestamp_seconds":1786380302,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9036b0"} 
[2026-08-10 22:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313280256001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313280256001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:20:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:20:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313280256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":154574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:20:18] local.INFO: GPS data processed {"connection_id":154574,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:20:18] local.INFO: Acknowledgment sent {"connection_id":154574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:20:41] local.INFO: TCP Data received {"connection_id":151850,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:20:41] local.INFO: Processing buffer {"connection_id":151850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:20:41] local.INFO: IMEI packet received {"connection_id":151850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":151850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:20:41] local.INFO: TCP Data received {"connection_id":151850,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:20:41] local.INFO: Processing buffer {"connection_id":151850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:20:41] local.INFO: IMEI packet received {"connection_id":151850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":151850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:20:45] local.INFO: TCP Data received {"connection_id":153168,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec93efd0012d43f4000692d270002a007f33..."} 
[2026-08-10 22:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec93efd0012d43f4000692d270002a007f33..."} 
[2026-08-10 22:20:45] local.INFO: Processing buffer {"connection_id":153168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec93efd0012d43f4000692d270002a007f33..."} 
[2026-08-10 22:20:45] local.INFO: Packet analysis {"connection_id":153168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec93"} 
[2026-08-10 22:20:45] local.INFO: Extracted packet for processing {"connection_id":153168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec93"} 
[2026-08-10 22:20:45] local.INFO: GPS Element Parsed {"raw_longitude":759428096,"raw_latitude":110285424,"longitude_deg":75.9428096,"latitude_deg":11.0285424,"altitude":42,"angle":127,"satellites":51,"speed":52,"hex_longitude":"2d43f400","hex_latitude":"0692d270","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313418496001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376573176211046400,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4891542542256164864,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786380546000,"timestamp_ms":1786380546000,"timestamp_seconds":1786380546,"priority":1,"record_length":96,"hex_timestamp":"0000019fec93efd0"} 
[2026-08-10 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-08-10 22:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 22:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 22:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313418496001,"66":27267,"177":206,"19":48128,"24":52,"16":376573176211046400,"45":4891542542256164864},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-10 22:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313418496001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:20:45] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 22:20:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376573176211046400,"km_value":376573176211046.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4891542542256164864,"description":"Unknown IO ID 45"} 
[2026-08-10 22:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313418496001,"power":27267,"unknown_177":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":4891542542256164864}} 
[2026-08-10 22:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":153168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:20:45] local.INFO: GPS data processed {"connection_id":153168,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:20:45] local.INFO: Acknowledgment sent {"connection_id":153168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:20:46] local.INFO: TCP Data received {"connection_id":151850,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:20:46] local.INFO: Processing buffer {"connection_id":151850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:20:46] local.INFO: IMEI packet received {"connection_id":151850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":151850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:20:47] local.INFO: TCP Data received {"connection_id":151850,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:20:47] local.INFO: Processing buffer {"connection_id":151850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:20:47] local.INFO: Packet analysis {"connection_id":151850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:20:47] local.INFO: Extracted packet for processing {"connection_id":151850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313357312001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380603000,"timestamp_ms":1786380603000,"timestamp_seconds":1786380603,"priority":1,"record_length":96,"hex_timestamp":"0000019fec94ce78"} 
[2026-08-10 22:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313357312001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313357312001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:20:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313357312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":151850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:20:47] local.INFO: GPS data processed {"connection_id":151850,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:20:47] local.INFO: Acknowledgment sent {"connection_id":151850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:20:57] local.INFO: TCP Data received {"connection_id":153169,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:57] local.INFO: Processing buffer {"connection_id":153169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:57] local.INFO: IMEI packet received {"connection_id":153169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":153169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:20:59] local.INFO: TCP Data received {"connection_id":153169,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:59] local.INFO: Processing buffer {"connection_id":153169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:20:59] local.INFO: IMEI packet received {"connection_id":153169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":153169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:21:00] local.INFO: TCP Data received {"connection_id":153169,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec94d648012d44b600069209d0003000b133..."} 
[2026-08-10 22:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec94d648012d44b600069209d0003000b133..."} 
[2026-08-10 22:21:00] local.INFO: Processing buffer {"connection_id":153169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec94d648012d44b600069209d0003000b133..."} 
[2026-08-10 22:21:00] local.INFO: Packet analysis {"connection_id":153169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:21:00] local.INFO: Extracted packet for processing {"connection_id":153169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:21:00] local.INFO: GPS Element Parsed {"raw_longitude":759477760,"raw_latitude":110234064,"longitude_deg":75.947776,"latitude_deg":11.0234064,"altitude":48,"angle":177,"satellites":51,"speed":48,"hex_longitude":"2d44b600","hex_latitude":"069209d0","is_valid_coordinates":true} 
[2026-08-10 22:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313432832001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376576981552070656,"note":"Value kept but may cause issues"} 
[2026-08-10 22:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4950652287353665536,"note":"Value kept but may cause issues"} 
[2026-08-10 22:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786380605000,"timestamp_ms":1786380605000,"timestamp_seconds":1786380605,"priority":1,"record_length":96,"hex_timestamp":"0000019fec94d648"} 
[2026-08-10 22:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 22:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313432832001,"66":27300,"177":206,"19":48128,"24":48,"16":376576981552070656,"45":4950652287353665536},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-10 22:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313432832001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:21:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 22:21:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376576981552070656,"km_value":376576981552070.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4950652287353665536,"description":"Unknown IO ID 45"} 
[2026-08-10 22:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313432832001,"power":27300,"unknown_177":206,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":4950652287353665536}} 
[2026-08-10 22:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":153169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:21:00] local.INFO: GPS data processed {"connection_id":153169,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:21:00] local.INFO: Acknowledgment sent {"connection_id":153169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:21:18] local.INFO: TCP Data received {"connection_id":151850,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:21:18] local.INFO: Processing buffer {"connection_id":151850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:21:18] local.INFO: Packet analysis {"connection_id":151850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:21:18] local.INFO: Extracted packet for processing {"connection_id":151850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313357312001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380603000,"timestamp_ms":1786380603000,"timestamp_seconds":1786380603,"priority":1,"record_length":96,"hex_timestamp":"0000019fec94ce78"} 
[2026-08-10 22:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313357312001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313357312001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:21:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313357312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":151850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:21:18] local.INFO: GPS data processed {"connection_id":151850,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:21:18] local.INFO: Acknowledgment sent {"connection_id":151850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:21:31] local.INFO: TCP Data received {"connection_id":153169,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec94f588012d44b7800691e4d8003200b234..."} 
[2026-08-10 22:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec94f588012d44b7800691e4d8003200b234..."} 
[2026-08-10 22:21:31] local.INFO: Processing buffer {"connection_id":153169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec94f588012d44b7800691e4d8003200b234..."} 
[2026-08-10 22:21:31] local.INFO: Packet analysis {"connection_id":153169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:21:31] local.INFO: Extracted packet for processing {"connection_id":153169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:21:31] local.INFO: GPS Element Parsed {"raw_longitude":759478144,"raw_latitude":110224600,"longitude_deg":75.9478144,"latitude_deg":11.02246,"altitude":50,"angle":178,"satellites":52,"speed":46,"hex_longitude":"2d44b780","hex_latitude":"0691e4d8","is_valid_coordinates":true} 
[2026-08-10 22:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313434880001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376577441113571328,"note":"Value kept but may cause issues"} 
[2026-08-10 22:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4951144868560359424,"note":"Value kept but may cause issues"} 
[2026-08-10 22:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786380613000,"timestamp_ms":1786380613000,"timestamp_seconds":1786380613,"priority":1,"record_length":96,"hex_timestamp":"0000019fec94f588"} 
[2026-08-10 22:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:21: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-08-10 22:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313434880001,"66":27300,"177":206,"19":48128,"24":46,"16":376577441113571328,"45":4951144868560359424},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-10 22:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313434880001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:21:31] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 22:21:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376577441113571328,"km_value":376577441113571.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4951144868560359424,"description":"Unknown IO ID 45"} 
[2026-08-10 22:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313434880001,"power":27300,"unknown_177":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":4951144868560359424}} 
[2026-08-10 22:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":153169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:21:31] local.INFO: GPS data processed {"connection_id":153169,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:21:31] local.INFO: Acknowledgment sent {"connection_id":153169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:21:41] local.INFO: TCP Data received {"connection_id":152225,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:21:41] local.INFO: Processing buffer {"connection_id":152225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:21:41] local.INFO: IMEI packet received {"connection_id":152225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":152225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:21:46] local.INFO: TCP Data received {"connection_id":152225,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:21:46] local.INFO: Processing buffer {"connection_id":152225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:21:46] local.INFO: IMEI packet received {"connection_id":152225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":152225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:21:47] local.INFO: TCP Data received {"connection_id":152225,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:21:47] local.INFO: Processing buffer {"connection_id":152225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:21:47] local.INFO: Packet analysis {"connection_id":152225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:21:47] local.INFO: Extracted packet for processing {"connection_id":152225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313357312001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380603000,"timestamp_ms":1786380603000,"timestamp_seconds":1786380603,"priority":1,"record_length":96,"hex_timestamp":"0000019fec94ce78"} 
[2026-08-10 22:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313357312001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313357312001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:21:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313357312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":152225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:21:47] local.INFO: GPS data processed {"connection_id":152225,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:21:47] local.INFO: Acknowledgment sent {"connection_id":152225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:21:58] local.INFO: TCP Data received {"connection_id":154575,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:21:58] local.INFO: Processing buffer {"connection_id":154575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:21:58] local.INFO: IMEI packet received {"connection_id":154575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":154575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:22:03] local.INFO: TCP Data received {"connection_id":154575,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:22:03] local.INFO: Processing buffer {"connection_id":154575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:22:03] local.INFO: IMEI packet received {"connection_id":154575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":154575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:22:05] local.INFO: TCP Data received {"connection_id":154575,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9514c8012d44b9000691c150003400b133..."} 
[2026-08-10 22:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9514c8012d44b9000691c150003400b133..."} 
[2026-08-10 22:22:05] local.INFO: Processing buffer {"connection_id":154575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9514c8012d44b9000691c150003400b133..."} 
[2026-08-10 22:22:05] local.INFO: Packet analysis {"connection_id":154575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec95"} 
[2026-08-10 22:22:05] local.INFO: Extracted packet for processing {"connection_id":154575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec95"} 
[2026-08-10 22:22:05] local.INFO: GPS Element Parsed {"raw_longitude":759478528,"raw_latitude":110215504,"longitude_deg":75.9478528,"latitude_deg":11.0215504,"altitude":52,"angle":177,"satellites":51,"speed":44,"hex_longitude":"2d44b900","hex_latitude":"0691c150","is_valid_coordinates":true} 
[2026-08-10 22:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313436928001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376577883495202816,"note":"Value kept but may cause issues"} 
[2026-08-10 22:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4951567081023002624,"note":"Value kept but may cause issues"} 
[2026-08-10 22:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786380621000,"timestamp_ms":1786380621000,"timestamp_seconds":1786380621,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9514c8"} 
[2026-08-10 22:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313436928001,"66":27300,"177":206,"19":48128,"24":44,"16":376577883495202816,"45":4951567081023002624},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-10 22:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313436928001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:22:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 22:22:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376577883495202816,"km_value":376577883495202.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4951567081023002624,"description":"Unknown IO ID 45"} 
[2026-08-10 22:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313436928001,"power":27300,"unknown_177":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4951567081023002624}} 
[2026-08-10 22:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":154575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:22:05] local.INFO: GPS data processed {"connection_id":154575,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:22:05] local.INFO: Acknowledgment sent {"connection_id":154575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:22:18] local.INFO: TCP Data received {"connection_id":152225,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:22:18] local.INFO: Processing buffer {"connection_id":152225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:22:18] local.INFO: Packet analysis {"connection_id":152225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:22:18] local.INFO: Extracted packet for processing {"connection_id":152225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313357312001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380603000,"timestamp_ms":1786380603000,"timestamp_seconds":1786380603,"priority":1,"record_length":96,"hex_timestamp":"0000019fec94ce78"} 
[2026-08-10 22:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313357312001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313357312001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:22:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313357312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":152225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:22:18] local.INFO: GPS data processed {"connection_id":152225,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:22:18] local.INFO: Acknowledgment sent {"connection_id":152225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:22:36] local.INFO: TCP Data received {"connection_id":154575,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9537f0012d44bc4006919b18003700ab32..."} 
[2026-08-10 22:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9537f0012d44bc4006919b18003700ab32..."} 
[2026-08-10 22:22:36] local.INFO: Processing buffer {"connection_id":154575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9537f0012d44bc4006919b18003700ab32..."} 
[2026-08-10 22:22:36] local.INFO: Packet analysis {"connection_id":154575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec95"} 
[2026-08-10 22:22:36] local.INFO: Extracted packet for processing {"connection_id":154575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec95"} 
[2026-08-10 22:22:36] local.INFO: GPS Element Parsed {"raw_longitude":759479360,"raw_latitude":110205720,"longitude_deg":75.947936,"latitude_deg":11.020572,"altitude":55,"angle":171,"satellites":50,"speed":42,"hex_longitude":"2d44bc40","hex_latitude":"06919b18","is_valid_coordinates":true} 
[2026-08-10 22:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313438976001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376578360236572672,"note":"Value kept but may cause issues"} 
[2026-08-10 22:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4951989293485740032,"note":"Value kept but may cause issues"} 
[2026-08-10 22:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786380630000,"timestamp_ms":1786380630000,"timestamp_seconds":1786380630,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9537f0"} 
[2026-08-10 22:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313438976001,"66":27376,"177":206,"19":48128,"24":42,"16":376578360236572672,"45":4951989293485740032},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-10 22:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313438976001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:22:36] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-10 22:22:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376578360236572672,"km_value":376578360236572.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4951989293485740032,"description":"Unknown IO ID 45"} 
[2026-08-10 22:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313438976001,"power":27376,"unknown_177":206,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4951989293485740032}} 
[2026-08-10 22:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":154575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:22:36] local.INFO: GPS data processed {"connection_id":154575,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:22:36] local.INFO: Acknowledgment sent {"connection_id":154575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:22:41] local.INFO: TCP Data received {"connection_id":151851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:22:41] local.INFO: Processing buffer {"connection_id":151851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:22:41] local.INFO: IMEI packet received {"connection_id":151851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":151851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:22:46] local.INFO: TCP Data received {"connection_id":151851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:22:46] local.INFO: Processing buffer {"connection_id":151851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:22:46] local.INFO: IMEI packet received {"connection_id":151851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":151851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:22:47] local.INFO: TCP Data received {"connection_id":151851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:22:47] local.INFO: Processing buffer {"connection_id":151851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:22:47] local.INFO: Packet analysis {"connection_id":151851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:22:47] local.INFO: Extracted packet for processing {"connection_id":151851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:22:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313357312001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380603000,"timestamp_ms":1786380603000,"timestamp_seconds":1786380603,"priority":1,"record_length":96,"hex_timestamp":"0000019fec94ce78"} 
[2026-08-10 22:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313357312001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313357312001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:22:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:22:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313357312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":151851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:22:47] local.INFO: GPS data processed {"connection_id":151851,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:22:47] local.INFO: Acknowledgment sent {"connection_id":151851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:22:58] local.INFO: TCP Data received {"connection_id":154576,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:22:58] local.INFO: Processing buffer {"connection_id":154576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:22:58] local.INFO: IMEI packet received {"connection_id":154576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":154576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:22:59] local.INFO: TCP Data received {"connection_id":154576,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:22:59] local.INFO: Processing buffer {"connection_id":154576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:22:59] local.INFO: IMEI packet received {"connection_id":154576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":154576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:23:02] local.INFO: TCP Data received {"connection_id":154576,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:23:02] local.INFO: Processing buffer {"connection_id":154576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:23:02] local.INFO: IMEI packet received {"connection_id":154576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":154576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:23:05] local.INFO: TCP Data received {"connection_id":154576,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec969398012d458c8006904a480043008230..."} 
[2026-08-10 22:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec969398012d458c8006904a480043008230..."} 
[2026-08-10 22:23:05] local.INFO: Processing buffer {"connection_id":154576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec969398012d458c8006904a480043008230..."} 
[2026-08-10 22:23:05] local.INFO: Packet analysis {"connection_id":154576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec96"} 
[2026-08-10 22:23:05] local.INFO: Extracted packet for processing {"connection_id":154576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec96"} 
[2026-08-10 22:23:05] local.INFO: GPS Element Parsed {"raw_longitude":759532672,"raw_latitude":110119496,"longitude_deg":75.9532672,"latitude_deg":11.0119496,"altitude":67,"angle":130,"satellites":48,"speed":52,"hex_longitude":"2d458c80","hex_latitude":"06904a48","is_valid_coordinates":true} 
[2026-08-10 22:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313462272001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376583333808701440,"note":"Value kept but may cause issues"} 
[2026-08-10 22:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5003991795409971200,"note":"Value kept but may cause issues"} 
[2026-08-10 22:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786380719000,"timestamp_ms":1786380719000,"timestamp_seconds":1786380719,"priority":1,"record_length":96,"hex_timestamp":"0000019fec969398"} 
[2026-08-10 22:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 22:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313462272001,"66":27343,"178":206,"19":48128,"24":52,"16":376583333808701440,"45":5003991795409971200},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-08-10 22:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313462272001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:23:05] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-10 22:23:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376583333808701440,"km_value":376583333808701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5003991795409971200,"description":"Unknown IO ID 45"} 
[2026-08-10 22:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313462272001,"power":27343,"unknown_178":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":5003991795409971200}} 
[2026-08-10 22:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":154576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:23:05] local.INFO: GPS data processed {"connection_id":154576,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:23:05] local.INFO: Acknowledgment sent {"connection_id":154576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:23:18] local.INFO: TCP Data received {"connection_id":151851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:23:18] local.INFO: Processing buffer {"connection_id":151851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:23:18] local.INFO: Packet analysis {"connection_id":151851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:23:18] local.INFO: Extracted packet for processing {"connection_id":151851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313357312001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380603000,"timestamp_ms":1786380603000,"timestamp_seconds":1786380603,"priority":1,"record_length":96,"hex_timestamp":"0000019fec94ce78"} 
[2026-08-10 22:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313357312001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313357312001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:23:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313357312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":151851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:23:18] local.INFO: GPS data processed {"connection_id":151851,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:23:18] local.INFO: Acknowledgment sent {"connection_id":151851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:23:37] local.INFO: TCP Data received {"connection_id":154576,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec96aef0012d45a7c0069031680043008930..."} 
[2026-08-10 22:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec96aef0012d45a7c0069031680043008930..."} 
[2026-08-10 22:23:37] local.INFO: Processing buffer {"connection_id":154576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec96aef0012d45a7c0069031680043008930..."} 
[2026-08-10 22:23:37] local.INFO: Packet analysis {"connection_id":154576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec96"} 
[2026-08-10 22:23:37] local.INFO: Extracted packet for processing {"connection_id":154576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec96"} 
[2026-08-10 22:23:37] local.INFO: GPS Element Parsed {"raw_longitude":759539648,"raw_latitude":110113128,"longitude_deg":75.9539648,"latitude_deg":11.0113128,"altitude":67,"angle":137,"satellites":48,"speed":54,"hex_longitude":"2d45a7c0","hex_latitude":"06903168","is_valid_coordinates":true} 
[2026-08-10 22:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313464064001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376583784780267520,"note":"Value kept but may cause issues"} 
[2026-08-10 22:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5011521251035465728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786380726000,"timestamp_ms":1786380726000,"timestamp_seconds":1786380726,"priority":1,"record_length":96,"hex_timestamp":"0000019fec96aef0"} 
[2026-08-10 22:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:23: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-08-10 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 22:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313464064001,"66":27321,"37":206,"19":48128,"24":54,"16":376583784780267520,"45":5011521251035465728},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-08-10 22:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313464064001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:23:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 22:23:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376583784780267520,"km_value":376583784780267.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5011521251035465728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313464064001,"power":27321,"unknown_37":206,"unknown_19":48128,"ignition":54,"odometer":null,"unknown_45":5011521251035465728}} 
[2026-08-10 22:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":154576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:23:37] local.INFO: GPS data processed {"connection_id":154576,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:23:37] local.INFO: Acknowledgment sent {"connection_id":154576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:23:41] local.INFO: TCP Data received {"connection_id":152226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:23:41] local.INFO: Processing buffer {"connection_id":152226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:23:41] local.INFO: IMEI packet received {"connection_id":152226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":152226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:23:46] local.INFO: TCP Data received {"connection_id":152226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:23:46] local.INFO: Processing buffer {"connection_id":152226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:23:46] local.INFO: IMEI packet received {"connection_id":152226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":152226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:23:47] local.INFO: TCP Data received {"connection_id":152226,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:23:47] local.INFO: Processing buffer {"connection_id":152226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:23:47] local.INFO: Packet analysis {"connection_id":152226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:23:47] local.INFO: Extracted packet for processing {"connection_id":152226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313357312001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380603000,"timestamp_ms":1786380603000,"timestamp_seconds":1786380603,"priority":1,"record_length":96,"hex_timestamp":"0000019fec94ce78"} 
[2026-08-10 22:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313357312001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313357312001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:23:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313357312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":152226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:23:47] local.INFO: GPS data processed {"connection_id":152226,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:23:47] local.INFO: Acknowledgment sent {"connection_id":152226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:23:58] local.INFO: TCP Data received {"connection_id":152227,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:23:58] local.INFO: Processing buffer {"connection_id":152227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:23:58] local.INFO: IMEI packet received {"connection_id":152227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":152227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:24:04] local.INFO: TCP Data received {"connection_id":152227,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:24:04] local.INFO: Processing buffer {"connection_id":152227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:24:04] local.INFO: IMEI packet received {"connection_id":152227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":152227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:24:04] local.INFO: TCP Data received {"connection_id":152227,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:24:04] local.INFO: Processing buffer {"connection_id":152227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:24:04] local.INFO: IMEI packet received {"connection_id":152227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":152227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:24:06] local.INFO: TCP Data received {"connection_id":152227,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec96ca48012d45c040069013d80042008f30..."} 
[2026-08-10 22:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec96ca48012d45c040069013d80042008f30..."} 
[2026-08-10 22:24:06] local.INFO: Processing buffer {"connection_id":152227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec96ca48012d45c040069013d80042008f30..."} 
[2026-08-10 22:24:06] local.INFO: Packet analysis {"connection_id":152227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec96"} 
[2026-08-10 22:24:06] local.INFO: Extracted packet for processing {"connection_id":152227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec96"} 
[2026-08-10 22:24:06] local.INFO: GPS Element Parsed {"raw_longitude":759545920,"raw_latitude":110105560,"longitude_deg":75.954592,"latitude_deg":11.010556,"altitude":66,"angle":143,"satellites":48,"speed":55,"hex_longitude":"2d45c040","hex_latitude":"069013d8","is_valid_coordinates":true} 
[2026-08-10 22:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313465856001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376584257226670080,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5019191444149200896,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786380733000,"timestamp_ms":1786380733000,"timestamp_seconds":1786380733,"priority":1,"record_length":96,"hex_timestamp":"0000019fec96ca48"} 
[2026-08-10 22:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 22:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313465856001,"66":27332,"37":206,"19":48128,"24":55,"16":376584257226670080,"45":5019191444149200896},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-08-10 22:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313465856001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:24:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 22:24:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376584257226670080,"km_value":376584257226670.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5019191444149200896,"description":"Unknown IO ID 45"} 
[2026-08-10 22:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313465856001,"power":27332,"unknown_37":206,"unknown_19":48128,"ignition":55,"odometer":null,"unknown_45":5019191444149200896}} 
[2026-08-10 22:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":152227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:24:06] local.INFO: GPS data processed {"connection_id":152227,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:24:06] local.INFO: Acknowledgment sent {"connection_id":152227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:24:08] local.INFO: TCP Data received {"connection_id":152227,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec96e5a0012d45d700068ff5380043008f30..."} 
[2026-08-10 22:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec96e5a0012d45d700068ff5380043008f30..."} 
[2026-08-10 22:24:08] local.INFO: Processing buffer {"connection_id":152227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec96e5a0012d45d700068ff5380043008f30..."} 
[2026-08-10 22:24:08] local.INFO: Packet analysis {"connection_id":152227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec96"} 
[2026-08-10 22:24:08] local.INFO: Extracted packet for processing {"connection_id":152227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec96"} 
[2026-08-10 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":759551744,"raw_latitude":110097720,"longitude_deg":75.9551744,"latitude_deg":11.009772,"altitude":67,"angle":143,"satellites":48,"speed":54,"hex_longitude":"2d45d700","hex_latitude":"068ff538","is_valid_coordinates":true} 
[2026-08-10 22:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313467648001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376584729673072640,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5026087581076674560,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786380740000,"timestamp_ms":1786380740000,"timestamp_seconds":1786380740,"priority":1,"record_length":96,"hex_timestamp":"0000019fec96e5a0"} 
[2026-08-10 22:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 22:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313467648001,"66":27213,"37":206,"19":48128,"24":54,"16":376584729673072640,"45":5026087581076674560},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-08-10 22:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313467648001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:24:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 22:24:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376584729673072640,"km_value":376584729673072.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5026087581076674560,"description":"Unknown IO ID 45"} 
[2026-08-10 22:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313467648001,"power":27213,"unknown_37":206,"unknown_19":48128,"ignition":54,"odometer":null,"unknown_45":5026087581076674560}} 
[2026-08-10 22:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":152227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:24:08] local.INFO: GPS data processed {"connection_id":152227,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:24:08] local.INFO: Acknowledgment sent {"connection_id":152227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:24:17] local.INFO: TCP Data received {"connection_id":152226,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:24:17] local.INFO: Processing buffer {"connection_id":152226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:24:17] local.INFO: Packet analysis {"connection_id":152226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:24:17] local.INFO: Extracted packet for processing {"connection_id":152226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313357312001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786380603000,"timestamp_ms":1786380603000,"timestamp_seconds":1786380603,"priority":1,"record_length":96,"hex_timestamp":"0000019fec94ce78"} 
[2026-08-10 22:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313357312001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313357312001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:24:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313357312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":152226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:24:18] local.INFO: GPS data processed {"connection_id":152226,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:24:18] local.INFO: Acknowledgment sent {"connection_id":152226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:24:39] local.INFO: TCP Data received {"connection_id":152227,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9825f0012d464280068e7ec0004f00b233..."} 
[2026-08-10 22:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9825f0012d464280068e7ec0004f00b233..."} 
[2026-08-10 22:24:39] local.INFO: Processing buffer {"connection_id":152227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9825f0012d464280068e7ec0004f00b233..."} 
[2026-08-10 22:24:39] local.INFO: Packet analysis {"connection_id":152227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec98"} 
[2026-08-10 22:24:39] local.INFO: Extracted packet for processing {"connection_id":152227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec98"} 
[2026-08-10 22:24:39] local.INFO: GPS Element Parsed {"raw_longitude":759579264,"raw_latitude":110001856,"longitude_deg":75.9579264,"latitude_deg":11.0001856,"altitude":79,"angle":178,"satellites":51,"speed":38,"hex_longitude":"2d464280","hex_latitude":"068e7ec0","is_valid_coordinates":true} 
[2026-08-10 22:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313488128001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376589643115659264,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5062608959280619520,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786380822000,"timestamp_ms":1786380822000,"timestamp_seconds":1786380822,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9825f0"} 
[2026-08-10 22:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 22:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313488128001,"66":27213,"37":206,"19":48128,"24":38,"16":376589643115659264,"45":5062608959280619520},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-08-10 22:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313488128001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:24:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-10 22:24:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376589643115659264,"km_value":376589643115659.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5062608959280619520,"description":"Unknown IO ID 45"} 
[2026-08-10 22:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313488128001,"power":27213,"unknown_37":206,"unknown_19":48128,"ignition":38,"odometer":null,"unknown_45":5062608959280619520}} 
[2026-08-10 22:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":152227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:24:39] local.INFO: GPS data processed {"connection_id":152227,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:24:39] local.INFO: Acknowledgment sent {"connection_id":152227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:24:41] local.INFO: TCP Data received {"connection_id":153170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:24:41] local.INFO: Processing buffer {"connection_id":153170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:24:41] local.INFO: IMEI packet received {"connection_id":153170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":153170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:24:46] local.INFO: TCP Data received {"connection_id":153170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:24:46] local.INFO: Processing buffer {"connection_id":153170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:24:46] local.INFO: IMEI packet received {"connection_id":153170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":153170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:24:47] local.INFO: TCP Data received {"connection_id":153170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:24:47] local.INFO: Processing buffer {"connection_id":153170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:24:47] local.INFO: Packet analysis {"connection_id":153170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:24:47] local.INFO: Extracted packet for processing {"connection_id":153170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313357312001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380603000,"timestamp_ms":1786380603000,"timestamp_seconds":1786380603,"priority":1,"record_length":96,"hex_timestamp":"0000019fec94ce78"} 
[2026-08-10 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-08-10 22:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 22:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313357312001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313357312001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:24:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:24:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313357312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":153170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:24:47] local.INFO: GPS data processed {"connection_id":153170,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:24:47] local.INFO: Acknowledgment sent {"connection_id":153170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:25:18] local.INFO: TCP Data received {"connection_id":153170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:25:18] local.INFO: Processing buffer {"connection_id":153170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec94ce78012d196580071ff038003f014227..."} 
[2026-08-10 22:25:18] local.INFO: Packet analysis {"connection_id":153170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:25:18] local.INFO: Extracted packet for processing {"connection_id":153170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec94"} 
[2026-08-10 22:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313357312001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380603000,"timestamp_ms":1786380603000,"timestamp_seconds":1786380603,"priority":1,"record_length":96,"hex_timestamp":"0000019fec94ce78"} 
[2026-08-10 22:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313357312001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313357312001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:25:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313357312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":153170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:25:18] local.INFO: GPS data processed {"connection_id":153170,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:25:18] local.INFO: Acknowledgment sent {"connection_id":153170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:25:33] local.INFO: TCP Data received {"connection_id":154577,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:25:33] local.INFO: Processing buffer {"connection_id":154577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:25:33] local.INFO: IMEI packet received {"connection_id":154577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":154577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:25:41] local.INFO: TCP Data received {"connection_id":152228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:25:41] local.INFO: Processing buffer {"connection_id":152228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:25:41] local.INFO: IMEI packet received {"connection_id":152228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":152228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:25:42] local.INFO: TCP Data received {"connection_id":152228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:25:42] local.INFO: Processing buffer {"connection_id":152228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:25:42] local.INFO: IMEI packet received {"connection_id":152228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":152228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:25:46] local.INFO: TCP Data received {"connection_id":152228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:25:46] local.INFO: Processing buffer {"connection_id":152228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:25:46] local.INFO: IMEI packet received {"connection_id":152228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":152228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:25:47] local.INFO: TCP Data received {"connection_id":152228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:25:47] local.INFO: Processing buffer {"connection_id":152228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:25:47] local.INFO: Packet analysis {"connection_id":152228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:25:47] local.INFO: Extracted packet for processing {"connection_id":152228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313434368001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380904000,"timestamp_ms":1786380904000,"timestamp_seconds":1786380904,"priority":1,"record_length":96,"hex_timestamp":"0000019fec996640"} 
[2026-08-10 22:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313434368001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313434368001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:25:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313434368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":152228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:25:47] local.INFO: GPS data processed {"connection_id":152228,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:25:47] local.INFO: Acknowledgment sent {"connection_id":152228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:26:17] local.INFO: TCP Data received {"connection_id":152228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:26:17] local.INFO: Processing buffer {"connection_id":152228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:26:17] local.INFO: Packet analysis {"connection_id":152228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:26:17] local.INFO: Extracted packet for processing {"connection_id":152228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313434368001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786380904000,"timestamp_ms":1786380904000,"timestamp_seconds":1786380904,"priority":1,"record_length":96,"hex_timestamp":"0000019fec996640"} 
[2026-08-10 22:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:26: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-08-10 22:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313434368001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313434368001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:26:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313434368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":152228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:26:18] local.INFO: GPS data processed {"connection_id":152228,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:26:18] local.INFO: Acknowledgment sent {"connection_id":152228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:26:41] local.INFO: TCP Data received {"connection_id":154578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:26:41] local.INFO: Processing buffer {"connection_id":154578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:26:41] local.INFO: IMEI packet received {"connection_id":154578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":154578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:26:46] local.INFO: TCP Data received {"connection_id":154578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:26:46] local.INFO: Processing buffer {"connection_id":154578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:26:46] local.INFO: IMEI packet received {"connection_id":154578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":154578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:26:47] local.INFO: TCP Data received {"connection_id":154578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:26:47] local.INFO: Processing buffer {"connection_id":154578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:26:47] local.INFO: Packet analysis {"connection_id":154578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:26:47] local.INFO: Extracted packet for processing {"connection_id":154578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313434368001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380904000,"timestamp_ms":1786380904000,"timestamp_seconds":1786380904,"priority":1,"record_length":96,"hex_timestamp":"0000019fec996640"} 
[2026-08-10 22:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313434368001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313434368001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:26:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:26:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313434368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":154578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:26:47] local.INFO: GPS data processed {"connection_id":154578,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:26:47] local.INFO: Acknowledgment sent {"connection_id":154578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:27:18] local.INFO: TCP Data received {"connection_id":154578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:27:18] local.INFO: Processing buffer {"connection_id":154578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:27:18] local.INFO: Packet analysis {"connection_id":154578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:27:18] local.INFO: Extracted packet for processing {"connection_id":154578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313434368001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380904000,"timestamp_ms":1786380904000,"timestamp_seconds":1786380904,"priority":1,"record_length":96,"hex_timestamp":"0000019fec996640"} 
[2026-08-10 22:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313434368001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313434368001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:27:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313434368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":154578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:27:18] local.INFO: GPS data processed {"connection_id":154578,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:27:18] local.INFO: Acknowledgment sent {"connection_id":154578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:27:41] local.INFO: TCP Data received {"connection_id":154579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:27:41] local.INFO: Processing buffer {"connection_id":154579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:27:41] local.INFO: IMEI packet received {"connection_id":154579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":154579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:27:46] local.INFO: TCP Data received {"connection_id":154579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:27:46] local.INFO: Processing buffer {"connection_id":154579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:27:46] local.INFO: IMEI packet received {"connection_id":154579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":154579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:27:47] local.INFO: TCP Data received {"connection_id":154579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:27:47] local.INFO: Processing buffer {"connection_id":154579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:27:47] local.INFO: Packet analysis {"connection_id":154579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:27:47] local.INFO: Extracted packet for processing {"connection_id":154579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313434368001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380904000,"timestamp_ms":1786380904000,"timestamp_seconds":1786380904,"priority":1,"record_length":96,"hex_timestamp":"0000019fec996640"} 
[2026-08-10 22:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22: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-08-10 22:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313434368001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313434368001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:27:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313434368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":154579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:27:47] local.INFO: GPS data processed {"connection_id":154579,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:27:47] local.INFO: Acknowledgment sent {"connection_id":154579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:28:18] local.INFO: TCP Data received {"connection_id":154579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:28:18] local.INFO: Processing buffer {"connection_id":154579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:28:18] local.INFO: Packet analysis {"connection_id":154579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:28:18] local.INFO: Extracted packet for processing {"connection_id":154579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313434368001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380904000,"timestamp_ms":1786380904000,"timestamp_seconds":1786380904,"priority":1,"record_length":96,"hex_timestamp":"0000019fec996640"} 
[2026-08-10 22:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:28: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313434368001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313434368001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:28:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313434368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":154579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:28:18] local.INFO: GPS data processed {"connection_id":154579,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:28:18] local.INFO: Acknowledgment sent {"connection_id":154579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:28:41] local.INFO: TCP Data received {"connection_id":154580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:28:41] local.INFO: Processing buffer {"connection_id":154580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:28:41] local.INFO: IMEI packet received {"connection_id":154580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":154580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:28:46] local.INFO: TCP Data received {"connection_id":154580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:28:46] local.INFO: Processing buffer {"connection_id":154580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:28:46] local.INFO: IMEI packet received {"connection_id":154580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":154580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:28:46] local.INFO: TCP Data received {"connection_id":151853,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-10 22:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151853,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-10 22:28:46] local.INFO: Processing buffer {"connection_id":151853,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-10 22:28:46] local.INFO: Packet analysis {"connection_id":151853,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-10 22:28:46] local.INFO: Extracted packet for processing {"connection_id":151853,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-10 22:28:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 22:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-08-10 22:28:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-10 22:28:46] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-08-10 22:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-10 22:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-10 22:28:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151853,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-10 22:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151853,"device_imei":null,"avl_records_count":1} 
[2026-08-10 22:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151853,"device_imei":null,"avl_records_count":1} 
[2026-08-10 22:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":151853,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 22:28:46] local.INFO: GPS data processed {"connection_id":151853,"processed":0,"errors":0,"total":1} 
[2026-08-10 22:28:46] local.INFO: Acknowledgment sent {"connection_id":151853,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:28:46] local.INFO: TCP Data received {"connection_id":151854,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-10 22:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151854,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-10 22:28:46] local.INFO: Processing buffer {"connection_id":151854,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-10 22:28:46] local.INFO: Packet analysis {"connection_id":151854,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-10 22:28:46] local.INFO: Extracted packet for processing {"connection_id":151854,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-10 22:28:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-10 22:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-08-10 22:28:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-10 22:28:46] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-08-10 22:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-10 22:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-10 22:28:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151854,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-10 22:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151854,"device_imei":null,"avl_records_count":1} 
[2026-08-10 22:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151854,"device_imei":null,"avl_records_count":1} 
[2026-08-10 22:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":151854,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-10 22:28:46] local.INFO: GPS data processed {"connection_id":151854,"processed":0,"errors":0,"total":1} 
[2026-08-10 22:28:46] local.INFO: Acknowledgment sent {"connection_id":151854,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:28:47] local.INFO: TCP Data received {"connection_id":154580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:28:47] local.INFO: Processing buffer {"connection_id":154580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:28:47] local.INFO: Packet analysis {"connection_id":154580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:28:47] local.INFO: Extracted packet for processing {"connection_id":154580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313434368001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380904000,"timestamp_ms":1786380904000,"timestamp_seconds":1786380904,"priority":1,"record_length":96,"hex_timestamp":"0000019fec996640"} 
[2026-08-10 22:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313434368001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313434368001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:28:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313434368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":154580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:28:47] local.INFO: GPS data processed {"connection_id":154580,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:28:47] local.INFO: Acknowledgment sent {"connection_id":154580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:29:18] local.INFO: TCP Data received {"connection_id":154580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:29:18] local.INFO: Processing buffer {"connection_id":154580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:29:18] local.INFO: Packet analysis {"connection_id":154580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:29:18] local.INFO: Extracted packet for processing {"connection_id":154580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313434368001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786380904000,"timestamp_ms":1786380904000,"timestamp_seconds":1786380904,"priority":1,"record_length":96,"hex_timestamp":"0000019fec996640"} 
[2026-08-10 22:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313434368001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313434368001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:29:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313434368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":154580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:29:18] local.INFO: GPS data processed {"connection_id":154580,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:29:18] local.INFO: Acknowledgment sent {"connection_id":154580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:29:41] local.INFO: TCP Data received {"connection_id":154581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:29:41] local.INFO: Processing buffer {"connection_id":154581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:29:41] local.INFO: IMEI packet received {"connection_id":154581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":154581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:29:46] local.INFO: TCP Data received {"connection_id":154581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:29:46] local.INFO: Processing buffer {"connection_id":154581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:29:46] local.INFO: IMEI packet received {"connection_id":154581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":154581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:29:47] local.INFO: TCP Data received {"connection_id":154581,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:29:47] local.INFO: Processing buffer {"connection_id":154581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:29:47] local.INFO: Packet analysis {"connection_id":154581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:29:47] local.INFO: Extracted packet for processing {"connection_id":154581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313434368001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786380904000,"timestamp_ms":1786380904000,"timestamp_seconds":1786380904,"priority":1,"record_length":96,"hex_timestamp":"0000019fec996640"} 
[2026-08-10 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-08-10 22:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 22:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313434368001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313434368001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:29:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313434368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":154581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:29:47] local.INFO: GPS data processed {"connection_id":154581,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:29:47] local.INFO: Acknowledgment sent {"connection_id":154581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:30:17] local.INFO: TCP Data received {"connection_id":154581,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:30:17] local.INFO: Processing buffer {"connection_id":154581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec996640012d196580071ff038003f014226..."} 
[2026-08-10 22:30:17] local.INFO: Packet analysis {"connection_id":154581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:30:17] local.INFO: Extracted packet for processing {"connection_id":154581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec99"} 
[2026-08-10 22:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313434368001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786380904000,"timestamp_ms":1786380904000,"timestamp_seconds":1786380904,"priority":1,"record_length":96,"hex_timestamp":"0000019fec996640"} 
[2026-08-10 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-08-10 22:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":107,"data_length":795,"current_offset":136} 
[2026-08-10 22:30: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-08-10 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-08-10 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-08-10 22:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313434368001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313434368001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:30:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313434368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":154581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:30:18] local.INFO: GPS data processed {"connection_id":154581,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:30:18] local.INFO: Acknowledgment sent {"connection_id":154581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:30:28] local.INFO: TCP Data received {"connection_id":151856,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:30:28] local.INFO: Processing buffer {"connection_id":151856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:30:28] local.INFO: IMEI packet received {"connection_id":151856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":151856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:30:30] local.INFO: TCP Data received {"connection_id":151856,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9d2348012d4b1300068b30700019006234..."} 
[2026-08-10 22:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9d2348012d4b1300068b30700019006234..."} 
[2026-08-10 22:30:30] local.INFO: Processing buffer {"connection_id":151856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9d2348012d4b1300068b30700019006234..."} 
[2026-08-10 22:30:30] local.INFO: Packet analysis {"connection_id":151856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:30:30] local.INFO: Extracted packet for processing {"connection_id":151856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:30:30] local.INFO: GPS Element Parsed {"raw_longitude":759894784,"raw_latitude":109785200,"longitude_deg":75.9894784,"latitude_deg":10.97852,"altitude":25,"angle":98,"satellites":52,"speed":49,"hex_longitude":"2d4b1300","hex_latitude":"068b3070","is_valid_coordinates":true} 
[2026-08-10 22:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313572352001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376610142994563072,"note":"Value kept but may cause issues"} 
[2026-08-10 22:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5399464137601716224,"note":"Value kept but may cause issues"} 
[2026-08-10 22:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786381149000,"timestamp_ms":1786381149000,"timestamp_seconds":1786381149,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9d2348"} 
[2026-08-10 22:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 22:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313572352001,"66":27267,"67":206,"19":48128,"24":49,"16":376610142994563072,"45":5399464137601716224},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-08-10 22:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313572352001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:30:30] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-10 22:30:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376610142994563072,"km_value":376610142994563.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5399464137601716224,"description":"Unknown IO ID 45"} 
[2026-08-10 22:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313572352001,"power":27267,"unknown_67":206,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":5399464137601716224}} 
[2026-08-10 22:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":151856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:30:30] local.INFO: GPS data processed {"connection_id":151856,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:30:30] local.INFO: Acknowledgment sent {"connection_id":151856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:30:41] local.INFO: TCP Data received {"connection_id":153172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:30:41] local.INFO: Processing buffer {"connection_id":153172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:30:41] local.INFO: IMEI packet received {"connection_id":153172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":153172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:30:43] local.INFO: TCP Data received {"connection_id":153172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:30:43] local.INFO: Processing buffer {"connection_id":153172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:30:43] local.INFO: IMEI packet received {"connection_id":153172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":153172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:30:46] local.INFO: TCP Data received {"connection_id":153172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:30:46] local.INFO: Processing buffer {"connection_id":153172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:30:46] local.INFO: IMEI packet received {"connection_id":153172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":153172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:30:47] local.INFO: TCP Data received {"connection_id":153172,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:30:47] local.INFO: Processing buffer {"connection_id":153172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:30:47] local.INFO: Packet analysis {"connection_id":153172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:30:47] local.INFO: Extracted packet for processing {"connection_id":153172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313511424001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786381205000,"timestamp_ms":1786381205000,"timestamp_seconds":1786381205,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9dfe08"} 
[2026-08-10 22:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:30:47] 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-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313511424001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313511424001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:30:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313511424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":153172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:30:47] local.INFO: GPS data processed {"connection_id":153172,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:30:47] local.INFO: Acknowledgment sent {"connection_id":153172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:30:58] local.INFO: TCP Data received {"connection_id":151857,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:30:58] local.INFO: Processing buffer {"connection_id":151857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:30:58] local.INFO: IMEI packet received {"connection_id":151857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":151857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:31:03] local.INFO: TCP Data received {"connection_id":151857,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:31:03] local.INFO: Processing buffer {"connection_id":151857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:31:03] local.INFO: IMEI packet received {"connection_id":151857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":151857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:31:06] local.INFO: TCP Data received {"connection_id":151857,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9d4288012d4b36c0068b2ae8001d006232..."} 
[2026-08-10 22:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9d4288012d4b36c0068b2ae8001d006232..."} 
[2026-08-10 22:31:06] local.INFO: Processing buffer {"connection_id":151857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9d4288012d4b36c0068b2ae8001d006232..."} 
[2026-08-10 22:31:06] local.INFO: Packet analysis {"connection_id":151857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:31:06] local.INFO: Extracted packet for processing {"connection_id":151857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:31:06] local.INFO: GPS Element Parsed {"raw_longitude":759903936,"raw_latitude":109783784,"longitude_deg":75.9903936,"latitude_deg":10.9783784,"altitude":29,"angle":98,"satellites":50,"speed":41,"hex_longitude":"2d4b36c0","hex_latitude":"068b2ae8","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313574144001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376610585376194560,"note":"Value kept but may cause issues"} 
[2026-08-10 22:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5409667605507108864,"note":"Value kept but may cause issues"} 
[2026-08-10 22:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786381157000,"timestamp_ms":1786381157000,"timestamp_seconds":1786381157,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9d4288"} 
[2026-08-10 22:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 22:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313574144001,"66":27376,"67":206,"19":48128,"24":41,"16":376610585376194560,"45":5409667605507108864},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-08-10 22:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313574144001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:31:06] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-10 22:31:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376610585376194560,"km_value":376610585376194.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5409667605507108864,"description":"Unknown IO ID 45"} 
[2026-08-10 22:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313574144001,"power":27376,"unknown_67":206,"unknown_19":48128,"ignition":41,"odometer":null,"unknown_45":5409667605507108864}} 
[2026-08-10 22:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":151857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:31:06] local.INFO: GPS data processed {"connection_id":151857,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:31:06] local.INFO: Acknowledgment sent {"connection_id":151857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:31:18] local.INFO: TCP Data received {"connection_id":153172,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:31:18] local.INFO: Processing buffer {"connection_id":153172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:31:18] local.INFO: Packet analysis {"connection_id":153172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:31:18] local.INFO: Extracted packet for processing {"connection_id":153172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313511424001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786381205000,"timestamp_ms":1786381205000,"timestamp_seconds":1786381205,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9dfe08"} 
[2026-08-10 22:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:31:18] 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-08-10 22: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-08-10 22: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-08-10 22:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313511424001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313511424001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:31:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313511424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":153172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:31:18] local.INFO: GPS data processed {"connection_id":153172,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:31:18] local.INFO: Acknowledgment sent {"connection_id":153172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:31:39] local.INFO: TCP Data received {"connection_id":151857,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9d6998012d4b5a80068b25580022006334..."} 
[2026-08-10 22:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9d6998012d4b5a80068b25580022006334..."} 
[2026-08-10 22:31:39] local.INFO: Processing buffer {"connection_id":151857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9d6998012d4b5a80068b25580022006334..."} 
[2026-08-10 22:31:39] local.INFO: Packet analysis {"connection_id":151857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:31:39] local.INFO: Extracted packet for processing {"connection_id":151857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:31:39] local.INFO: GPS Element Parsed {"raw_longitude":759913088,"raw_latitude":109782360,"longitude_deg":75.9913088,"latitude_deg":10.978236,"altitude":34,"angle":99,"satellites":52,"speed":32,"hex_longitude":"2d4b5a80","hex_latitude":"068b2558","is_valid_coordinates":true} 
[2026-08-10 22:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313576192001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376611023462858752,"note":"Value kept but may cause issues"} 
[2026-08-10 22:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5419730335924152320,"note":"Value kept but may cause issues"} 
[2026-08-10 22:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786381167000,"timestamp_ms":1786381167000,"timestamp_seconds":1786381167,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9d6998"} 
[2026-08-10 22:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-10 22:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313576192001,"66":27300,"67":206,"19":48128,"24":32,"16":376611023462858752,"45":5419730335924152320},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-08-10 22:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313576192001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:31:39] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-10 22:31:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376611023462858752,"km_value":376611023462858.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5419730335924152320,"description":"Unknown IO ID 45"} 
[2026-08-10 22:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313576192001,"power":27300,"unknown_67":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":5419730335924152320}} 
[2026-08-10 22:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":151857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:31:39] local.INFO: GPS data processed {"connection_id":151857,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:31:39] local.INFO: Acknowledgment sent {"connection_id":151857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:31:46] local.INFO: TCP Data received {"connection_id":154582,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:31:46] local.INFO: Processing buffer {"connection_id":154582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:31:46] local.INFO: IMEI packet received {"connection_id":154582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":154582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:31:51] local.INFO: TCP Data received {"connection_id":154582,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:31:51] local.INFO: Processing buffer {"connection_id":154582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:31:51] local.INFO: IMEI packet received {"connection_id":154582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":154582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:31:58] local.INFO: TCP Data received {"connection_id":154583,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:31:58] local.INFO: Processing buffer {"connection_id":154583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:31:58] local.INFO: IMEI packet received {"connection_id":154583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":154583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:31:59] local.INFO: TCP Data received {"connection_id":154582,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:31:59] local.INFO: Processing buffer {"connection_id":154582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:31:59] local.INFO: Packet analysis {"connection_id":154582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:31:59] local.INFO: Extracted packet for processing {"connection_id":154582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313511424001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786381205000,"timestamp_ms":1786381205000,"timestamp_seconds":1786381205,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9dfe08"} 
[2026-08-10 22:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:31:59] 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-08-10 22:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313511424001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313511424001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:31:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313511424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":154582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:31:59] local.INFO: GPS data processed {"connection_id":154582,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:31:59] local.INFO: Acknowledgment sent {"connection_id":154582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:32:03] local.INFO: TCP Data received {"connection_id":154583,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:32:03] local.INFO: Processing buffer {"connection_id":154583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:32:03] local.INFO: IMEI packet received {"connection_id":154583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":154583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:32:04] local.INFO: TCP Data received {"connection_id":154582,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:32:04] local.INFO: Processing buffer {"connection_id":154582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:32:04] local.INFO: Packet analysis {"connection_id":154582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:32:04] local.INFO: Extracted packet for processing {"connection_id":154582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313511424001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786381205000,"timestamp_ms":1786381205000,"timestamp_seconds":1786381205,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9dfe08"} 
[2026-08-10 22:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:32:04] 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-08-10 22:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313511424001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313511424001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:32:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313511424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":154582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:32:04] local.INFO: GPS data processed {"connection_id":154582,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:32:04] local.INFO: Acknowledgment sent {"connection_id":154582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:32:05] local.INFO: TCP Data received {"connection_id":154583,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9d9878012d4b7e80068b1fd00026006334..."} 
[2026-08-10 22:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9d9878012d4b7e80068b1fd00026006334..."} 
[2026-08-10 22:32:05] local.INFO: Processing buffer {"connection_id":154583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9d9878012d4b7e80068b1fd00026006334..."} 
[2026-08-10 22:32:05] local.INFO: Packet analysis {"connection_id":154583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:32:05] local.INFO: Extracted packet for processing {"connection_id":154583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:32:05] local.INFO: GPS Element Parsed {"raw_longitude":759922304,"raw_latitude":109780944,"longitude_deg":75.9922304,"latitude_deg":10.9780944,"altitude":38,"angle":99,"satellites":52,"speed":29,"hex_longitude":"2d4b7e80","hex_latitude":"068b1fd0","is_valid_coordinates":true} 
[2026-08-10 22:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313578752001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376611470139457536,"note":"Value kept but may cause issues"} 
[2026-08-10 22:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5429793066341193728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786381179000,"timestamp_ms":1786381179000,"timestamp_seconds":1786381179,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9d9878"} 
[2026-08-10 22:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22: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-08-10 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313578752001,"66":27321,"67":206,"19":48128,"24":29,"16":376611470139457536,"45":5429793066341193728},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-08-10 22:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313578752001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:32:05] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-10 22:32:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376611470139457536,"km_value":376611470139457.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5429793066341193728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313578752001,"power":27321,"unknown_67":206,"unknown_19":48128,"ignition":29,"odometer":null,"unknown_45":5429793066341193728}} 
[2026-08-10 22:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":154583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:32:05] local.INFO: GPS data processed {"connection_id":154583,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:32:05] local.INFO: Acknowledgment sent {"connection_id":154583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:32:36] local.INFO: TCP Data received {"connection_id":154583,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9dcf28012d4ba380068b19880029006332..."} 
[2026-08-10 22:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9dcf28012d4ba380068b19880029006332..."} 
[2026-08-10 22:32:36] local.INFO: Processing buffer {"connection_id":154583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9dcf28012d4ba380068b19880029006332..."} 
[2026-08-10 22:32:36] local.INFO: Packet analysis {"connection_id":154583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:32:36] local.INFO: Extracted packet for processing {"connection_id":154583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:32:36] local.INFO: GPS Element Parsed {"raw_longitude":759931776,"raw_latitude":109779336,"longitude_deg":75.9931776,"latitude_deg":10.9779336,"altitude":41,"angle":99,"satellites":50,"speed":25,"hex_longitude":"2d4ba380","hex_latitude":"068b1988","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313581824001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376611925405990912,"note":"Value kept but may cause issues"} 
[2026-08-10 22:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5439926165502414848,"note":"Value kept but may cause issues"} 
[2026-08-10 22:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786381193000,"timestamp_ms":1786381193000,"timestamp_seconds":1786381193,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9dcf28"} 
[2026-08-10 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-08-10 22:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 22:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 22:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313581824001,"66":27343,"67":206,"19":48128,"24":25,"16":376611925405990912,"45":5439926165502414848},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-08-10 22:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313581824001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:32:36] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-10 22:32:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376611925405990912,"km_value":376611925405990.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5439926165502414848,"description":"Unknown IO ID 45"} 
[2026-08-10 22:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313581824001,"power":27343,"unknown_67":206,"unknown_19":48128,"ignition":25,"odometer":null,"unknown_45":5439926165502414848}} 
[2026-08-10 22:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":154583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:32:36] local.INFO: GPS data processed {"connection_id":154583,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:32:36] local.INFO: Acknowledgment sent {"connection_id":154583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:32:41] local.INFO: TCP Data received {"connection_id":152230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:32:41] local.INFO: Processing buffer {"connection_id":152230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:32:41] local.INFO: IMEI packet received {"connection_id":152230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":152230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:32:46] local.INFO: TCP Data received {"connection_id":152230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:32:46] local.INFO: Processing buffer {"connection_id":152230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:32:46] local.INFO: IMEI packet received {"connection_id":152230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":152230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:32:46] local.INFO: TCP Data received {"connection_id":152230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:32:46] local.INFO: Processing buffer {"connection_id":152230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:32:46] local.INFO: Packet analysis {"connection_id":152230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:32:46] local.INFO: Extracted packet for processing {"connection_id":152230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313511424001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786381205000,"timestamp_ms":1786381205000,"timestamp_seconds":1786381205,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9dfe08"} 
[2026-08-10 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-08-10 22:32: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-08-10 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":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:32: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-08-10 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-08-10 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-08-10 22:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313511424001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313511424001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:32:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313511424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":152230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:32:47] local.INFO: GPS data processed {"connection_id":152230,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:32:47] local.INFO: Acknowledgment sent {"connection_id":152230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:33:08] local.INFO: TCP Data received {"connection_id":153173,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:33:08] local.INFO: Processing buffer {"connection_id":153173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:33:08] local.INFO: IMEI packet received {"connection_id":153173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":153173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:33:10] local.INFO: TCP Data received {"connection_id":153173,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:33:10] local.INFO: Processing buffer {"connection_id":153173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:33:10] local.INFO: IMEI packet received {"connection_id":153173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":153173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:33:11] local.INFO: TCP Data received {"connection_id":153173,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9e09c0012d4bc740068b1400002d006333..."} 
[2026-08-10 22:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9e09c0012d4bc740068b1400002d006333..."} 
[2026-08-10 22:33:11] local.INFO: Processing buffer {"connection_id":153173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9e09c0012d4bc740068b1400002d006333..."} 
[2026-08-10 22:33:11] local.INFO: Packet analysis {"connection_id":153173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9e"} 
[2026-08-10 22:33:11] local.INFO: Extracted packet for processing {"connection_id":153173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9e"} 
[2026-08-10 22:33:11] local.INFO: GPS Element Parsed {"raw_longitude":759940928,"raw_latitude":109777920,"longitude_deg":75.9940928,"latitude_deg":10.977792,"altitude":45,"angle":99,"satellites":51,"speed":23,"hex_longitude":"2d4bc740","hex_latitude":"068b1400","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313585408001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376612367787622400,"note":"Value kept but may cause issues"} 
[2026-08-10 22:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5450340739640297472,"note":"Value kept but may cause issues"} 
[2026-08-10 22:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786381208000,"timestamp_ms":1786381208000,"timestamp_seconds":1786381208,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9e09c0"} 
[2026-08-10 22:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:33: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-08-10 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 22:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313585408001,"66":27300,"67":206,"19":48128,"24":23,"16":376612367787622400,"45":5450340739640297472},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-08-10 22:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313585408001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:33:11] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-10 22:33:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376612367787622400,"km_value":376612367787622.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5450340739640297472,"description":"Unknown IO ID 45"} 
[2026-08-10 22:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313585408001,"power":27300,"unknown_67":206,"unknown_19":48128,"ignition":23,"odometer":null,"unknown_45":5450340739640297472}} 
[2026-08-10 22:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":153173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:33:11] local.INFO: GPS data processed {"connection_id":153173,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:33:11] local.INFO: Acknowledgment sent {"connection_id":153173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:33:15] local.INFO: TCP Data received {"connection_id":153173,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9e4c28012d4bec40068b0e380031006332..."} 
[2026-08-10 22:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9e4c28012d4bec40068b0e380031006332..."} 
[2026-08-10 22:33:15] local.INFO: Processing buffer {"connection_id":153173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9e4c28012d4bec40068b0e380031006332..."} 
[2026-08-10 22:33:15] local.INFO: Packet analysis {"connection_id":153173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9e"} 
[2026-08-10 22:33:15] local.INFO: Extracted packet for processing {"connection_id":153173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9e"} 
[2026-08-10 22:33:15] local.INFO: GPS Element Parsed {"raw_longitude":759950400,"raw_latitude":109776440,"longitude_deg":75.99504,"latitude_deg":10.977644,"altitude":49,"angle":99,"satellites":50,"speed":21,"hex_longitude":"2d4bec40","hex_latitude":"068b0e38","is_valid_coordinates":true} 
[2026-08-10 22:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313589248001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376612823054155776,"note":"Value kept but may cause issues"} 
[2026-08-10 22:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5460403470057340928,"note":"Value kept but may cause issues"} 
[2026-08-10 22:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786381225000,"timestamp_ms":1786381225000,"timestamp_seconds":1786381225,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9e4c28"} 
[2026-08-10 22:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313589248001,"66":27332,"67":206,"19":48128,"24":21,"16":376612823054155776,"45":5460403470057340928},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-08-10 22:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313589248001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:33:15] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-10 22:33:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376612823054155776,"km_value":376612823054155.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5460403470057340928,"description":"Unknown IO ID 45"} 
[2026-08-10 22:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313589248001,"power":27332,"unknown_67":206,"unknown_19":48128,"ignition":21,"odometer":null,"unknown_45":5460403470057340928}} 
[2026-08-10 22:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":153173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:33:15] local.INFO: GPS data processed {"connection_id":153173,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:33:15] local.INFO: Acknowledgment sent {"connection_id":153173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:33:17] local.INFO: TCP Data received {"connection_id":152230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:33:17] local.INFO: Processing buffer {"connection_id":152230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:33:17] local.INFO: Packet analysis {"connection_id":152230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:33:17] local.INFO: Extracted packet for processing {"connection_id":152230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313511424001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786381205000,"timestamp_ms":1786381205000,"timestamp_seconds":1786381205,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9dfe08"} 
[2026-08-10 22:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:33:17] 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-08-10 22:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313511424001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313511424001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:33:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313511424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":152230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:33:17] local.INFO: GPS data processed {"connection_id":152230,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:33:17] local.INFO: Acknowledgment sent {"connection_id":152230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:33:41] local.INFO: TCP Data received {"connection_id":151858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:33:41] local.INFO: Processing buffer {"connection_id":151858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:33:41] local.INFO: IMEI packet received {"connection_id":151858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":151858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:33:46] local.INFO: TCP Data received {"connection_id":151858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:33:46] local.INFO: Processing buffer {"connection_id":151858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:33:46] local.INFO: IMEI packet received {"connection_id":151858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":151858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:33:47] local.INFO: TCP Data received {"connection_id":151858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:33:47] local.INFO: Processing buffer {"connection_id":151858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:33:47] local.INFO: Packet analysis {"connection_id":151858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:33:47] local.INFO: Extracted packet for processing {"connection_id":151858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313511424001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786381205000,"timestamp_ms":1786381205000,"timestamp_seconds":1786381205,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9dfe08"} 
[2026-08-10 22:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:33:47] 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-08-10 22:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313511424001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313511424001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:33:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313511424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":151858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:33:47] local.INFO: GPS data processed {"connection_id":151858,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:33:47] local.INFO: Acknowledgment sent {"connection_id":151858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:33:57] local.INFO: TCP Data received {"connection_id":153174,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:33:57] local.INFO: Processing buffer {"connection_id":153174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:33:57] local.INFO: IMEI packet received {"connection_id":153174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":153174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:33:57] local.INFO: TCP Data received {"connection_id":153174,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:33:57] local.INFO: Processing buffer {"connection_id":153174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:33:57] local.INFO: IMEI packet received {"connection_id":153174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":153174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:34:03] local.INFO: TCP Data received {"connection_id":153174,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:34:03] local.INFO: Processing buffer {"connection_id":153174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:34:03] local.INFO: IMEI packet received {"connection_id":153174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":153174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:34:05] local.INFO: TCP Data received {"connection_id":153174,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9e8e90012d4c1000068b08a00035006233..."} 
[2026-08-10 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9e8e90012d4c1000068b08a00035006233..."} 
[2026-08-10 22:34:05] local.INFO: Processing buffer {"connection_id":153174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9e8e90012d4c1000068b08a00035006233..."} 
[2026-08-10 22:34:05] local.INFO: Packet analysis {"connection_id":153174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9e"} 
[2026-08-10 22:34:05] local.INFO: Extracted packet for processing {"connection_id":153174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9e"} 
[2026-08-10 22:34:05] local.INFO: GPS Element Parsed {"raw_longitude":759959552,"raw_latitude":109775008,"longitude_deg":75.9959552,"latitude_deg":10.9775008,"altitude":53,"angle":98,"satellites":51,"speed":20,"hex_longitude":"2d4c1000","hex_latitude":"068b08a0","is_valid_coordinates":true} 
[2026-08-10 22:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313593600001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376613265435787264,"note":"Value kept but may cause issues"} 
[2026-08-10 22:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5470818044195256320,"note":"Value kept but may cause issues"} 
[2026-08-10 22:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786381242000,"timestamp_ms":1786381242000,"timestamp_seconds":1786381242,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9e8e90"} 
[2026-08-10 22:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 22:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313593600001,"66":27343,"67":206,"19":48128,"24":20,"16":376613265435787264,"45":5470818044195256320},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-08-10 22:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313593600001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:34:05] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-10 22:34:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376613265435787264,"km_value":376613265435787.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5470818044195256320,"description":"Unknown IO ID 45"} 
[2026-08-10 22:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313593600001,"power":27343,"unknown_67":206,"unknown_19":48128,"ignition":20,"odometer":null,"unknown_45":5470818044195256320}} 
[2026-08-10 22:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":153174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:34:05] local.INFO: GPS data processed {"connection_id":153174,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:34:05] local.INFO: Acknowledgment sent {"connection_id":153174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:34:18] local.INFO: TCP Data received {"connection_id":151858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:34:18] local.INFO: Processing buffer {"connection_id":151858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:34:18] local.INFO: Packet analysis {"connection_id":151858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:34:18] local.INFO: Extracted packet for processing {"connection_id":151858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313511424001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786381205000,"timestamp_ms":1786381205000,"timestamp_seconds":1786381205,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9dfe08"} 
[2026-08-10 22:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:34:18] 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-08-10 22:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313511424001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313511424001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:34:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313511424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":151858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:34:18] local.INFO: GPS data processed {"connection_id":151858,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:34:18] local.INFO: Acknowledgment sent {"connection_id":151858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:34:36] local.INFO: TCP Data received {"connection_id":153174,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca122b8012d4d8f00068ac3f00063007332..."} 
[2026-08-10 22:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca122b8012d4d8f00068ac3f00063007332..."} 
[2026-08-10 22:34:36] local.INFO: Processing buffer {"connection_id":153174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca122b8012d4d8f00068ac3f00063007332..."} 
[2026-08-10 22:34:36] local.INFO: Packet analysis {"connection_id":153174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca1"} 
[2026-08-10 22:34:36] local.INFO: Extracted packet for processing {"connection_id":153174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca1"} 
[2026-08-10 22:34:36] local.INFO: GPS Element Parsed {"raw_longitude":760057600,"raw_latitude":109757424,"longitude_deg":76.00576,"latitude_deg":10.9757424,"altitude":99,"angle":115,"satellites":50,"speed":24,"hex_longitude":"2d4d8f00","hex_latitude":"068ac3f0","is_valid_coordinates":true} 
[2026-08-10 22:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313638144001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376618015669616640,"note":"Value kept but may cause issues"} 
[2026-08-10 22:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5581508078782443520,"note":"Value kept but may cause issues"} 
[2026-08-10 22:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786381411000,"timestamp_ms":1786381411000,"timestamp_seconds":1786381411,"priority":1,"record_length":96,"hex_timestamp":"0000019feca122b8"} 
[2026-08-10 22:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 22:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313638144001,"66":27332,"68":206,"19":48128,"24":24,"16":376618015669616640,"45":5581508078782443520},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-08-10 22:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313638144001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:34:36] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 22:34:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376618015669616640,"km_value":376618015669616.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5581508078782443520,"description":"Unknown IO ID 45"} 
[2026-08-10 22:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313638144001,"power":27332,"unknown_68":206,"unknown_19":48128,"ignition":24,"odometer":null,"unknown_45":5581508078782443520}} 
[2026-08-10 22:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":153174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:34:36] local.INFO: GPS data processed {"connection_id":153174,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:34:36] local.INFO: Acknowledgment sent {"connection_id":153174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:34:41] local.INFO: TCP Data received {"connection_id":154584,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:34:41] local.INFO: Processing buffer {"connection_id":154584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:34:41] local.INFO: IMEI packet received {"connection_id":154584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":154584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:34:46] local.INFO: TCP Data received {"connection_id":154584,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:34:46] local.INFO: Processing buffer {"connection_id":154584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:34:46] local.INFO: IMEI packet received {"connection_id":154584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":154584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:34:47] local.INFO: TCP Data received {"connection_id":154584,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:34:47] local.INFO: Processing buffer {"connection_id":154584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:34:47] local.INFO: Packet analysis {"connection_id":154584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:34:47] local.INFO: Extracted packet for processing {"connection_id":154584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313511424001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786381205000,"timestamp_ms":1786381205000,"timestamp_seconds":1786381205,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9dfe08"} 
[2026-08-10 22:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:34:47] 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-08-10 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313511424001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313511424001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:34:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:34:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313511424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":154584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:34:47] local.INFO: GPS data processed {"connection_id":154584,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:34:47] local.INFO: Acknowledgment sent {"connection_id":154584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:34:56] local.INFO: TCP Data received {"connection_id":153175,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:34:56] local.INFO: Processing buffer {"connection_id":153175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:34:56] local.INFO: IMEI packet received {"connection_id":153175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":153175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:34:59] local.INFO: TCP Data received {"connection_id":153175,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:34:59] local.INFO: Processing buffer {"connection_id":153175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:34:59] local.INFO: IMEI packet received {"connection_id":153175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":153175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:35:01] local.INFO: TCP Data received {"connection_id":153175,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:35:01] local.INFO: Processing buffer {"connection_id":153175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:35:01] local.INFO: IMEI packet received {"connection_id":153175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":153175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:35:02] local.INFO: TCP Data received {"connection_id":153175,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca15580012d4daa40068ab3e00065007e31..."} 
[2026-08-10 22:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca15580012d4daa40068ab3e00065007e31..."} 
[2026-08-10 22:35:02] local.INFO: Processing buffer {"connection_id":153175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca15580012d4daa40068ab3e00065007e31..."} 
[2026-08-10 22:35:02] local.INFO: Packet analysis {"connection_id":153175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca1"} 
[2026-08-10 22:35:02] local.INFO: Extracted packet for processing {"connection_id":153175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca1"} 
[2026-08-10 22:35:02] local.INFO: GPS Element Parsed {"raw_longitude":760064576,"raw_latitude":109753312,"longitude_deg":76.0064576,"latitude_deg":10.9753312,"altitude":101,"angle":126,"satellites":49,"speed":24,"hex_longitude":"2d4daa40","hex_latitude":"068ab3e0","is_valid_coordinates":true} 
[2026-08-10 22:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313641216001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376618402216673280,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5588685690687975424,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786381424000,"timestamp_ms":1786381424000,"timestamp_seconds":1786381424,"priority":1,"record_length":96,"hex_timestamp":"0000019feca15580"} 
[2026-08-10 22:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:35: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-08-10 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 22:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313641216001,"66":27234,"68":206,"19":48128,"24":24,"16":376618402216673280,"45":5588685690687975424},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-08-10 22:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313641216001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:35:02] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 22:35:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376618402216673280,"km_value":376618402216673.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5588685690687975424,"description":"Unknown IO ID 45"} 
[2026-08-10 22:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313641216001,"power":27234,"unknown_68":206,"unknown_19":48128,"ignition":24,"odometer":null,"unknown_45":5588685690687975424}} 
[2026-08-10 22:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":153175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:35:02] local.INFO: GPS data processed {"connection_id":153175,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:35:02] local.INFO: Acknowledgment sent {"connection_id":153175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:35:18] local.INFO: TCP Data received {"connection_id":154584,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:35:18] local.INFO: Processing buffer {"connection_id":154584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fec9dfe08012d196580071ff038003f014226..."} 
[2026-08-10 22:35:18] local.INFO: Packet analysis {"connection_id":154584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:35:18] local.INFO: Extracted packet for processing {"connection_id":154584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fec9d"} 
[2026-08-10 22:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313511424001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786381205000,"timestamp_ms":1786381205000,"timestamp_seconds":1786381205,"priority":1,"record_length":96,"hex_timestamp":"0000019fec9dfe08"} 
[2026-08-10 22:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:35:18] 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-08-10 22:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313511424001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313511424001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:35:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313511424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":154584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:35:18] local.INFO: GPS data processed {"connection_id":154584,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:35:18] local.INFO: Acknowledgment sent {"connection_id":154584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:35:37] local.INFO: TCP Data received {"connection_id":153175,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca18848012d4dc540068a9d800067008331..."} 
[2026-08-10 22:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca18848012d4dc540068a9d800067008331..."} 
[2026-08-10 22:35:37] local.INFO: Processing buffer {"connection_id":153175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca18848012d4dc540068a9d800067008331..."} 
[2026-08-10 22:35:37] local.INFO: Packet analysis {"connection_id":153175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca1"} 
[2026-08-10 22:35:37] local.INFO: Extracted packet for processing {"connection_id":153175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca1"} 
[2026-08-10 22:35:37] local.INFO: GPS Element Parsed {"raw_longitude":760071488,"raw_latitude":109747584,"longitude_deg":76.0071488,"latitude_deg":10.9747584,"altitude":103,"angle":131,"satellites":49,"speed":29,"hex_longitude":"2d4dc540","hex_latitude":"068a9d80","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313644544001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376618831713402880,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5596355883802288128,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786381437000,"timestamp_ms":1786381437000,"timestamp_seconds":1786381437,"priority":1,"record_length":96,"hex_timestamp":"0000019feca18848"} 
[2026-08-10 22:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:35: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-08-10 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 22:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313644544001,"66":27321,"68":206,"19":48128,"24":29,"16":376618831713402880,"45":5596355883802288128},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-08-10 22:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313644544001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:35:37] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-10 22:35:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376618831713402880,"km_value":376618831713402.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5596355883802288128,"description":"Unknown IO ID 45"} 
[2026-08-10 22:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313644544001,"power":27321,"unknown_68":206,"unknown_19":48128,"ignition":29,"odometer":null,"unknown_45":5596355883802288128}} 
[2026-08-10 22:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":153175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:35:37] local.INFO: GPS data processed {"connection_id":153175,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:35:37] local.INFO: Acknowledgment sent {"connection_id":153175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:35:41] local.INFO: TCP Data received {"connection_id":151859,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:35:41] local.INFO: Processing buffer {"connection_id":151859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:35:41] local.INFO: IMEI packet received {"connection_id":151859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":151859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:35:44] local.INFO: TCP Data received {"connection_id":151859,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:35:44] local.INFO: Processing buffer {"connection_id":151859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:35:44] local.INFO: IMEI packet received {"connection_id":151859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":151859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:35:46] local.INFO: TCP Data received {"connection_id":151859,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:35:46] local.INFO: Processing buffer {"connection_id":151859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:35:46] local.INFO: IMEI packet received {"connection_id":151859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":151859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:35:47] local.INFO: TCP Data received {"connection_id":151859,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:35:47] local.INFO: Processing buffer {"connection_id":151859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:35:47] local.INFO: Packet analysis {"connection_id":151859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:35:47] local.INFO: Extracted packet for processing {"connection_id":151859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313588480001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786381506000,"timestamp_ms":1786381506000,"timestamp_seconds":1786381506,"priority":1,"record_length":96,"hex_timestamp":"0000019feca295d0"} 
[2026-08-10 22:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313588480001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313588480001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:35:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313588480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":151859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:35:47] local.INFO: GPS data processed {"connection_id":151859,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:35:47] local.INFO: Acknowledgment sent {"connection_id":151859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:35:51] local.INFO: TCP Data received {"connection_id":151859,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:35:51] local.INFO: Processing buffer {"connection_id":151859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:35:51] local.INFO: Packet analysis {"connection_id":151859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:35:51] local.INFO: Extracted packet for processing {"connection_id":151859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313588480001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786381506000,"timestamp_ms":1786381506000,"timestamp_seconds":1786381506,"priority":1,"record_length":96,"hex_timestamp":"0000019feca295d0"} 
[2026-08-10 22:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:35: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-08-10 22: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-08-10 22:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313588480001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313588480001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:35:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313588480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":151859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:35:51] local.INFO: GPS data processed {"connection_id":151859,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:35:51] local.INFO: Acknowledgment sent {"connection_id":151859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:35:57] local.INFO: TCP Data received {"connection_id":151860,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:35:57] local.INFO: Processing buffer {"connection_id":151860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:35:57] local.INFO: IMEI packet received {"connection_id":151860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":151860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:36:01] local.INFO: TCP Data received {"connection_id":151860,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:36:01] local.INFO: Processing buffer {"connection_id":151860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:36:01] local.INFO: IMEI packet received {"connection_id":151860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":151860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:36:02] local.INFO: TCP Data received {"connection_id":151860,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:36:02] local.INFO: Processing buffer {"connection_id":151860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:36:02] local.INFO: IMEI packet received {"connection_id":151860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":151860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:36:03] local.INFO: TCP Data received {"connection_id":151860,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:36:03] local.INFO: Processing buffer {"connection_id":151860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:36:03] local.INFO: IMEI packet received {"connection_id":151860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":151860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:36:04] local.INFO: TCP Data received {"connection_id":151860,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca2bce0012d4deac006894fa8005e00c02f..."} 
[2026-08-10 22:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca2bce0012d4deac006894fa8005e00c02f..."} 
[2026-08-10 22:36:04] local.INFO: Processing buffer {"connection_id":151860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca2bce0012d4deac006894fa8005e00c02f..."} 
[2026-08-10 22:36:04] local.INFO: Packet analysis {"connection_id":151860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:36:04] local.INFO: Extracted packet for processing {"connection_id":151860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:36:04] local.INFO: GPS Element Parsed {"raw_longitude":760081088,"raw_latitude":109662120,"longitude_deg":76.0081088,"latitude_deg":10.966212,"altitude":94,"angle":192,"satellites":47,"speed":65,"hex_longitude":"2d4deac0","hex_latitude":"06894fa8","is_valid_coordinates":true} 
[2026-08-10 22:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313666560001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376623367198867456,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617466507034599424,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 22:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786381516000,"timestamp_ms":1786381516000,"timestamp_seconds":1786381516,"priority":1,"record_length":96,"hex_timestamp":"0000019feca2bce0"} 
[2026-08-10 22:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 22:36: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-08-10 22:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313666560001,"66":206,"19":48128,"24":65,"16":376623367198867456,"45":5617466507034599424},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-08-10 22:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313666560001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:36:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376623367198867456,"km_value":376623367198867.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617466507034599424,"description":"Unknown IO ID 45"} 
[2026-08-10 22:36:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457313666560001,"power":206,"unknown_19":48128,"ignition":65,"odometer":null,"unknown_45":5617466507034599424}} 
[2026-08-10 22:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":151860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:36:04] local.INFO: GPS data processed {"connection_id":151860,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:36:04] local.INFO: Acknowledgment sent {"connection_id":151860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:36:06] local.INFO: TCP Data received {"connection_id":151860,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca2d450012d4de600068928f8005a00b530..."} 
[2026-08-10 22:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca2d450012d4de600068928f8005a00b530..."} 
[2026-08-10 22:36:06] local.INFO: Processing buffer {"connection_id":151860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca2d450012d4de600068928f8005a00b530..."} 
[2026-08-10 22:36:06] local.INFO: Packet analysis {"connection_id":151860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:36:06] local.INFO: Extracted packet for processing {"connection_id":151860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:36:06] local.INFO: GPS Element Parsed {"raw_longitude":760079872,"raw_latitude":109652216,"longitude_deg":76.0079872,"latitude_deg":10.9652216,"altitude":90,"angle":181,"satellites":48,"speed":67,"hex_longitude":"2d4de600","hex_latitude":"068928f8","is_valid_coordinates":true} 
[2026-08-10 22:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313668096001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376623852530171904,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614511019776780288,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 22:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786381522000,"timestamp_ms":1786381522000,"timestamp_seconds":1786381522,"priority":1,"record_length":96,"hex_timestamp":"0000019feca2d450"} 
[2026-08-10 22:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 22:36: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-08-10 22:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313668096001,"66":206,"19":48128,"24":67,"16":376623852530171904,"45":5614511019776780288},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-08-10 22:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313668096001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:36:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376623852530171904,"km_value":376623852530171.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614511019776780288,"description":"Unknown IO ID 45"} 
[2026-08-10 22:36:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457313668096001,"power":206,"unknown_19":48128,"ignition":67,"odometer":null,"unknown_45":5614511019776780288}} 
[2026-08-10 22:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":151860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:36:07] local.INFO: GPS data processed {"connection_id":151860,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:36:07] local.INFO: Acknowledgment sent {"connection_id":151860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:36:23] local.INFO: TCP Data received {"connection_id":151859,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:36:23] local.INFO: Processing buffer {"connection_id":151859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:36:23] local.INFO: Packet analysis {"connection_id":151859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:36:23] local.INFO: Extracted packet for processing {"connection_id":151859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313588480001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786381506000,"timestamp_ms":1786381506000,"timestamp_seconds":1786381506,"priority":1,"record_length":96,"hex_timestamp":"0000019feca295d0"} 
[2026-08-10 22:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:36: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-08-10 22:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313588480001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313588480001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:36:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313588480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":151859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:36:23] local.INFO: GPS data processed {"connection_id":151859,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:36:23] local.INFO: Acknowledgment sent {"connection_id":151859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:36:40] local.INFO: TCP Data received {"connection_id":151860,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca2d450012d4de600068928f8005a00b530..."} 
[2026-08-10 22:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca2d450012d4de600068928f8005a00b530..."} 
[2026-08-10 22:36:40] local.INFO: Processing buffer {"connection_id":151860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca2d450012d4de600068928f8005a00b530..."} 
[2026-08-10 22:36:40] local.INFO: Packet analysis {"connection_id":151860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:36:40] local.INFO: Extracted packet for processing {"connection_id":151860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:36:40] local.INFO: GPS Element Parsed {"raw_longitude":760079872,"raw_latitude":109652216,"longitude_deg":76.0079872,"latitude_deg":10.9652216,"altitude":90,"angle":181,"satellites":48,"speed":67,"hex_longitude":"2d4de600","hex_latitude":"068928f8","is_valid_coordinates":true} 
[2026-08-10 22:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313669632001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376623852530171904,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613174013634869248,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 22:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786381522000,"timestamp_ms":1786381522000,"timestamp_seconds":1786381522,"priority":1,"record_length":96,"hex_timestamp":"0000019feca2d450"} 
[2026-08-10 22:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 22:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313669632001,"66":206,"19":48128,"24":67,"16":376623852530171904,"45":5613174013634869248},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-08-10 22:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313669632001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:36:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376623852530171904,"km_value":376623852530171.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613174013634869248,"description":"Unknown IO ID 45"} 
[2026-08-10 22:36:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457313669632001,"power":206,"unknown_19":48128,"ignition":67,"odometer":null,"unknown_45":5613174013634869248}} 
[2026-08-10 22:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":151860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:36:40] local.INFO: GPS data processed {"connection_id":151860,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:36:40] local.INFO: Acknowledgment sent {"connection_id":151860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:36:41] local.INFO: TCP Data received {"connection_id":153176,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:36:41] local.INFO: Processing buffer {"connection_id":153176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:36:41] local.INFO: IMEI packet received {"connection_id":153176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":153176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:36:46] local.INFO: TCP Data received {"connection_id":153176,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:36:46] local.INFO: Processing buffer {"connection_id":153176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:36:46] local.INFO: IMEI packet received {"connection_id":153176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":153176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:36:47] local.INFO: TCP Data received {"connection_id":153176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:36:47] local.INFO: Processing buffer {"connection_id":153176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:36:47] local.INFO: Packet analysis {"connection_id":153176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:36:47] local.INFO: Extracted packet for processing {"connection_id":153176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313588480001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786381506000,"timestamp_ms":1786381506000,"timestamp_seconds":1786381506,"priority":1,"record_length":96,"hex_timestamp":"0000019feca295d0"} 
[2026-08-10 22:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313588480001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313588480001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:36:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313588480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":153176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:36:47] local.INFO: GPS data processed {"connection_id":153176,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:36:47] local.INFO: Acknowledgment sent {"connection_id":153176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:37:09] local.INFO: TCP Data received {"connection_id":151861,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:37:09] local.INFO: Processing buffer {"connection_id":151861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:37:09] local.INFO: IMEI packet received {"connection_id":151861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":151861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:37:11] local.INFO: TCP Data received {"connection_id":151861,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:37:11] local.INFO: Processing buffer {"connection_id":151861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:37:11] local.INFO: IMEI packet received {"connection_id":151861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":151861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:37:13] local.INFO: TCP Data received {"connection_id":151861,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:37:13] local.INFO: Processing buffer {"connection_id":151861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:37:13] local.INFO: IMEI packet received {"connection_id":151861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":151861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:37:16] local.INFO: TCP Data received {"connection_id":151861,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca2ebc0012d4de880068901a8005700ad30..."} 
[2026-08-10 22:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca2ebc0012d4de880068901a8005700ad30..."} 
[2026-08-10 22:37:16] local.INFO: Processing buffer {"connection_id":151861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca2ebc0012d4de880068901a8005700ad30..."} 
[2026-08-10 22:37:16] local.INFO: Packet analysis {"connection_id":151861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:37:16] local.INFO: Extracted packet for processing {"connection_id":151861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:37:16] local.INFO: GPS Element Parsed {"raw_longitude":760080512,"raw_latitude":109642152,"longitude_deg":76.0080512,"latitude_deg":10.9642152,"altitude":87,"angle":173,"satellites":48,"speed":66,"hex_longitude":"2d4de880","hex_latitude":"068901a8","is_valid_coordinates":true} 
[2026-08-10 22:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313669632001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376624342156443648,"note":"Value kept but may cause issues"} 
[2026-08-10 22:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613174013634869248,"note":"Value kept but may cause issues"} 
[2026-08-10 22:37:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 22:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786381528000,"timestamp_ms":1786381528000,"timestamp_seconds":1786381528,"priority":1,"record_length":96,"hex_timestamp":"0000019feca2ebc0"} 
[2026-08-10 22:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 22:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313669632001,"66":206,"19":48128,"24":66,"16":376624342156443648,"45":5613174013634869248},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-08-10 22:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313669632001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:37:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376624342156443648,"km_value":376624342156443.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613174013634869248,"description":"Unknown IO ID 45"} 
[2026-08-10 22:37:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457313669632001,"power":206,"unknown_19":48128,"ignition":66,"odometer":null,"unknown_45":5613174013634869248}} 
[2026-08-10 22:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":151861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:37:16] local.INFO: GPS data processed {"connection_id":151861,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:37:16] local.INFO: Acknowledgment sent {"connection_id":151861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:37:17] local.INFO: TCP Data received {"connection_id":151861,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca30330012d4ded800688da40005400ac30..."} 
[2026-08-10 22:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca30330012d4ded800688da40005400ac30..."} 
[2026-08-10 22:37:17] local.INFO: Processing buffer {"connection_id":151861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca30330012d4ded800688da40005400ac30..."} 
[2026-08-10 22:37:17] local.INFO: Packet analysis {"connection_id":151861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca3"} 
[2026-08-10 22:37:17] local.INFO: Extracted packet for processing {"connection_id":151861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca3"} 
[2026-08-10 22:37:17] local.INFO: GPS Element Parsed {"raw_longitude":760081792,"raw_latitude":109632064,"longitude_deg":76.0081792,"latitude_deg":10.9632064,"altitude":84,"angle":172,"satellites":48,"speed":68,"hex_longitude":"2d4ded80","hex_latitude":"0688da40","is_valid_coordinates":true} 
[2026-08-10 22:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313671168001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376624836077682688,"note":"Value kept but may cause issues"} 
[2026-08-10 22:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613877701074069504,"note":"Value kept but may cause issues"} 
[2026-08-10 22:37:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 22:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786381534000,"timestamp_ms":1786381534000,"timestamp_seconds":1786381534,"priority":1,"record_length":96,"hex_timestamp":"0000019feca30330"} 
[2026-08-10 22:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-10 22:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313671168001,"66":206,"19":48128,"24":68,"16":376624836077682688,"45":5613877701074069504},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-08-10 22:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313671168001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:37:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376624836077682688,"km_value":376624836077682.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613877701074069504,"description":"Unknown IO ID 45"} 
[2026-08-10 22:37:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457313671168001,"power":206,"unknown_19":48128,"ignition":68,"odometer":null,"unknown_45":5613877701074069504}} 
[2026-08-10 22:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":151861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:37:17] local.INFO: GPS data processed {"connection_id":151861,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:37:17] local.INFO: Acknowledgment sent {"connection_id":151861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:37:18] local.INFO: TCP Data received {"connection_id":153176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:37:18] local.INFO: Processing buffer {"connection_id":153176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:37:18] local.INFO: Packet analysis {"connection_id":153176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:37:18] local.INFO: Extracted packet for processing {"connection_id":153176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313588480001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786381506000,"timestamp_ms":1786381506000,"timestamp_seconds":1786381506,"priority":1,"record_length":96,"hex_timestamp":"0000019feca295d0"} 
[2026-08-10 22:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313588480001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313588480001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:37:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:37:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313588480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":153176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:37:18] local.INFO: GPS data processed {"connection_id":153176,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:37:18] local.INFO: Acknowledgment sent {"connection_id":153176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:37:41] local.INFO: TCP Data received {"connection_id":152231,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:37:41] local.INFO: Processing buffer {"connection_id":152231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:37:41] local.INFO: IMEI packet received {"connection_id":152231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":152231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:37:46] local.INFO: TCP Data received {"connection_id":152231,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:37:46] local.INFO: Processing buffer {"connection_id":152231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:37:46] local.INFO: IMEI packet received {"connection_id":152231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":152231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:37:47] local.INFO: TCP Data received {"connection_id":152231,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:37:47] local.INFO: Processing buffer {"connection_id":152231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:37:47] local.INFO: Packet analysis {"connection_id":152231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:37:47] local.INFO: Extracted packet for processing {"connection_id":152231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313588480001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786381506000,"timestamp_ms":1786381506000,"timestamp_seconds":1786381506,"priority":1,"record_length":96,"hex_timestamp":"0000019feca295d0"} 
[2026-08-10 22:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313588480001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313588480001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:37:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:37:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313588480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":152231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:37:47] local.INFO: GPS data processed {"connection_id":152231,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:37:47] local.INFO: Acknowledgment sent {"connection_id":152231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:38:18] local.INFO: TCP Data received {"connection_id":152231,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:38:18] local.INFO: Processing buffer {"connection_id":152231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:38:18] local.INFO: Packet analysis {"connection_id":152231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:38:18] local.INFO: Extracted packet for processing {"connection_id":152231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313588480001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786381506000,"timestamp_ms":1786381506000,"timestamp_seconds":1786381506,"priority":1,"record_length":96,"hex_timestamp":"0000019feca295d0"} 
[2026-08-10 22:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313588480001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313588480001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:38:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313588480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":152231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:38:18] local.INFO: GPS data processed {"connection_id":152231,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:38:18] local.INFO: Acknowledgment sent {"connection_id":152231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:38:41] local.INFO: TCP Data received {"connection_id":151862,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:38:41] local.INFO: Processing buffer {"connection_id":151862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:38:41] local.INFO: IMEI packet received {"connection_id":151862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":151862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:38:42] local.INFO: TCP Data received {"connection_id":151863,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:38:42] local.INFO: Processing buffer {"connection_id":151863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:38:42] local.INFO: IMEI packet received {"connection_id":151863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":151863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:38:46] local.INFO: TCP Data received {"connection_id":151862,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:38:46] local.INFO: Processing buffer {"connection_id":151862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:38:46] local.INFO: IMEI packet received {"connection_id":151862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":151862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:38:47] local.INFO: TCP Data received {"connection_id":151862,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:38:47] local.INFO: Processing buffer {"connection_id":151862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:38:47] local.INFO: Packet analysis {"connection_id":151862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:38:47] local.INFO: Extracted packet for processing {"connection_id":151862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313588480001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786381506000,"timestamp_ms":1786381506000,"timestamp_seconds":1786381506,"priority":1,"record_length":96,"hex_timestamp":"0000019feca295d0"} 
[2026-08-10 22:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313588480001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313588480001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:38:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313588480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":151862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:38:47] local.INFO: GPS data processed {"connection_id":151862,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:38:47] local.INFO: Acknowledgment sent {"connection_id":151862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:39:02] local.INFO: TCP Data received {"connection_id":152232,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:39:02] local.INFO: Processing buffer {"connection_id":152232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:39:02] local.INFO: IMEI packet received {"connection_id":152232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":152232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:39:08] local.INFO: TCP Data received {"connection_id":152232,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:39:08] local.INFO: Processing buffer {"connection_id":152232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:39:08] local.INFO: IMEI packet received {"connection_id":152232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":152232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:39:12] local.INFO: TCP Data received {"connection_id":152232,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca44f38012d4dadc006874f80006000c230..."} 
[2026-08-10 22:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca44f38012d4dadc006874f80006000c230..."} 
[2026-08-10 22:39:12] local.INFO: Processing buffer {"connection_id":152232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca44f38012d4dadc006874f80006000c230..."} 
[2026-08-10 22:39:12] local.INFO: Packet analysis {"connection_id":152232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca4"} 
[2026-08-10 22:39:12] local.INFO: Extracted packet for processing {"connection_id":152232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca4"} 
[2026-08-10 22:39:12] local.INFO: GPS Element Parsed {"raw_longitude":760065472,"raw_latitude":109531008,"longitude_deg":76.0065472,"latitude_deg":10.9531008,"altitude":96,"angle":194,"satellites":48,"speed":33,"hex_longitude":"2d4dadc0","hex_latitude":"06874f80","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313691904001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376629848304517120,"note":"Value kept but may cause issues"} 
[2026-08-10 22:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5599733583468189696,"note":"Value kept but may cause issues"} 
[2026-08-10 22:39:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 22:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786381619000,"timestamp_ms":1786381619000,"timestamp_seconds":1786381619,"priority":1,"record_length":96,"hex_timestamp":"0000019feca44f38"} 
[2026-08-10 22:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 22:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313691904001,"66":206,"19":48128,"24":33,"16":376629848304517120,"45":5599733583468189696},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-08-10 22:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313691904001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:39:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376629848304517120,"km_value":376629848304517.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5599733583468189696,"description":"Unknown IO ID 45"} 
[2026-08-10 22:39:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457313691904001,"power":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":5599733583468189696}} 
[2026-08-10 22:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":152232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:39:12] local.INFO: GPS data processed {"connection_id":152232,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:39:12] local.INFO: Acknowledgment sent {"connection_id":152232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:39:18] local.INFO: TCP Data received {"connection_id":151862,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:39:18] local.INFO: Processing buffer {"connection_id":151862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:39:18] local.INFO: Packet analysis {"connection_id":151862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:39:18] local.INFO: Extracted packet for processing {"connection_id":151862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313588480001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786381506000,"timestamp_ms":1786381506000,"timestamp_seconds":1786381506,"priority":1,"record_length":96,"hex_timestamp":"0000019feca295d0"} 
[2026-08-10 22:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313588480001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313588480001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:39:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313588480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":151862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:39:18] local.INFO: GPS data processed {"connection_id":151862,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:39:18] local.INFO: Acknowledgment sent {"connection_id":151862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:39:41] local.INFO: TCP Data received {"connection_id":153177,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:39:41] local.INFO: Processing buffer {"connection_id":153177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:39:41] local.INFO: IMEI packet received {"connection_id":153177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":153177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:39:43] local.INFO: TCP Data received {"connection_id":152232,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca47a30012d4da44006872b18006300c12e..."} 
[2026-08-10 22:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca47a30012d4da44006872b18006300c12e..."} 
[2026-08-10 22:39:43] local.INFO: Processing buffer {"connection_id":152232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca47a30012d4da44006872b18006300c12e..."} 
[2026-08-10 22:39:43] local.INFO: Packet analysis {"connection_id":152232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca4"} 
[2026-08-10 22:39:43] local.INFO: Extracted packet for processing {"connection_id":152232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca4"} 
[2026-08-10 22:39:43] local.INFO: GPS Element Parsed {"raw_longitude":760063040,"raw_latitude":109521688,"longitude_deg":76.006304,"latitude_deg":10.9521688,"altitude":99,"angle":193,"satellites":46,"speed":35,"hex_longitude":"2d4da440","hex_latitude":"06872b18","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313694464001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376630316455952384,"note":"Value kept but may cause issues"} 
[2026-08-10 22:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5597341046163865600,"note":"Value kept but may cause issues"} 
[2026-08-10 22:39:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-10 22:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786381630000,"timestamp_ms":1786381630000,"timestamp_seconds":1786381630,"priority":1,"record_length":96,"hex_timestamp":"0000019feca47a30"} 
[2026-08-10 22:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 22:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313694464001,"66":206,"19":48128,"24":35,"16":376630316455952384,"45":5597341046163865600},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-08-10 22:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313694464001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:39:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-10 22:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376630316455952384,"km_value":376630316455952.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5597341046163865600,"description":"Unknown IO ID 45"} 
[2026-08-10 22:39:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457313694464001,"power":206,"unknown_19":48128,"ignition":35,"odometer":null,"unknown_45":5597341046163865600}} 
[2026-08-10 22:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":152232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:39:43] local.INFO: GPS data processed {"connection_id":152232,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:39:43] local.INFO: Acknowledgment sent {"connection_id":152232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:39:46] local.INFO: TCP Data received {"connection_id":153177,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:39:46] local.INFO: Processing buffer {"connection_id":153177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:39:46] local.INFO: IMEI packet received {"connection_id":153177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":153177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:39:47] local.INFO: TCP Data received {"connection_id":153177,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:39:47] local.INFO: Processing buffer {"connection_id":153177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:39:47] local.INFO: Packet analysis {"connection_id":153177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:39:47] local.INFO: Extracted packet for processing {"connection_id":153177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313588480001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786381506000,"timestamp_ms":1786381506000,"timestamp_seconds":1786381506,"priority":1,"record_length":96,"hex_timestamp":"0000019feca295d0"} 
[2026-08-10 22:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313588480001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313588480001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:39:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313588480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":153177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:39:47] local.INFO: GPS data processed {"connection_id":153177,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:39:47] local.INFO: Acknowledgment sent {"connection_id":153177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:39:57] local.INFO: TCP Data received {"connection_id":151864,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:39:57] local.INFO: Processing buffer {"connection_id":151864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:39:57] local.INFO: IMEI packet received {"connection_id":151864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":151864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:39:59] local.INFO: TCP Data received {"connection_id":151864,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:39:59] local.INFO: Processing buffer {"connection_id":151864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:39:59] local.INFO: IMEI packet received {"connection_id":151864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":151864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:40:02] local.INFO: TCP Data received {"connection_id":151864,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:40:02] local.INFO: Processing buffer {"connection_id":151864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:40:02] local.INFO: IMEI packet received {"connection_id":151864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":151864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:40:03] local.INFO: TCP Data received {"connection_id":151864,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca62bc8012d4cdcc00685d5d0007500dc2e..."} 
[2026-08-10 22:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca62bc8012d4cdcc00685d5d0007500dc2e..."} 
[2026-08-10 22:40:03] local.INFO: Processing buffer {"connection_id":151864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca62bc8012d4cdcc00685d5d0007500dc2e..."} 
[2026-08-10 22:40:03] local.INFO: Packet analysis {"connection_id":151864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca6"} 
[2026-08-10 22:40:03] local.INFO: Extracted packet for processing {"connection_id":151864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca6"} 
[2026-08-10 22:40:03] local.INFO: GPS Element Parsed {"raw_longitude":760011968,"raw_latitude":109434320,"longitude_deg":76.0011968,"latitude_deg":10.943432,"altitude":117,"angle":220,"satellites":46,"speed":44,"hex_longitude":"2d4cdcc0","hex_latitude":"0685d5d0","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313723392001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376635302912983040,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5545479281682061312,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786381741000,"timestamp_ms":1786381741000,"timestamp_seconds":1786381741,"priority":1,"record_length":96,"hex_timestamp":"0000019feca62bc8"} 
[2026-08-10 22:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 22:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313723392001,"66":27365,"229":206,"19":47872,"24":44,"16":376635302912983040,"45":5545479281682061312},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-08-10 22:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313723392001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:40:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-10 22:40:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376635302912983040,"km_value":376635302912983.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5545479281682061312,"description":"Unknown IO ID 45"} 
[2026-08-10 22:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313723392001,"power":27365,"unknown_229":206,"unknown_19":47872,"ignition":44,"odometer":null,"unknown_45":5545479281682061312}} 
[2026-08-10 22:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":151864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:40:03] local.INFO: GPS data processed {"connection_id":151864,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:40:03] local.INFO: Acknowledgment sent {"connection_id":151864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:40:18] local.INFO: TCP Data received {"connection_id":153177,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:40:18] local.INFO: Processing buffer {"connection_id":153177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca295d0012d196580071ff038003f014225..."} 
[2026-08-10 22:40:18] local.INFO: Packet analysis {"connection_id":153177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:40:18] local.INFO: Extracted packet for processing {"connection_id":153177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca2"} 
[2026-08-10 22:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313588480001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786381506000,"timestamp_ms":1786381506000,"timestamp_seconds":1786381506,"priority":1,"record_length":96,"hex_timestamp":"0000019feca295d0"} 
[2026-08-10 22:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313588480001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313588480001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:40:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313588480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":153177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:40:18] local.INFO: GPS data processed {"connection_id":153177,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:40:18] local.INFO: Acknowledgment sent {"connection_id":153177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:40:36] local.INFO: TCP Data received {"connection_id":151864,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca64b08012d4cc6c00685b8a0007300d12f..."} 
[2026-08-10 22:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca64b08012d4cc6c00685b8a0007300d12f..."} 
[2026-08-10 22:40:36] local.INFO: Processing buffer {"connection_id":151864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca64b08012d4cc6c00685b8a0007300d12f..."} 
[2026-08-10 22:40:36] local.INFO: Packet analysis {"connection_id":151864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca6"} 
[2026-08-10 22:40:36] local.INFO: Extracted packet for processing {"connection_id":151864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca6"} 
[2026-08-10 22:40:36] local.INFO: GPS Element Parsed {"raw_longitude":760006336,"raw_latitude":109426848,"longitude_deg":76.0006336,"latitude_deg":10.9426848,"altitude":115,"angle":209,"satellites":47,"speed":47,"hex_longitude":"2d4cc6c0","hex_latitude":"0685b8a0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313725696001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376635753884549120,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538512776006586368,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786381749000,"timestamp_ms":1786381749000,"timestamp_seconds":1786381749,"priority":1,"record_length":96,"hex_timestamp":"0000019feca64b08"} 
[2026-08-10 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-08-10 22:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 22:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 22:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313725696001,"66":27365,"229":206,"19":47872,"24":47,"16":376635753884549120,"45":5538512776006586368},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-08-10 22:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313725696001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:40:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-10 22:40:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376635753884549120,"km_value":376635753884549.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538512776006586368,"description":"Unknown IO ID 45"} 
[2026-08-10 22:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313725696001,"power":27365,"unknown_229":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":5538512776006586368}} 
[2026-08-10 22:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":151864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:40:36] local.INFO: GPS data processed {"connection_id":151864,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:40:36] local.INFO: Acknowledgment sent {"connection_id":151864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:40:41] local.INFO: TCP Data received {"connection_id":153178,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:40:41] local.INFO: Processing buffer {"connection_id":153178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:40:41] local.INFO: IMEI packet received {"connection_id":153178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":153178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:40:45] local.INFO: TCP Data received {"connection_id":153178,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:40:45] local.INFO: Processing buffer {"connection_id":153178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:40:45] local.INFO: IMEI packet received {"connection_id":153178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":153178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:40:46] local.INFO: TCP Data received {"connection_id":153178,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:40:46] local.INFO: Processing buffer {"connection_id":153178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:40:46] local.INFO: IMEI packet received {"connection_id":153178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":153178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:40:46] local.INFO: TCP Data received {"connection_id":153178,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:40:46] local.INFO: Processing buffer {"connection_id":153178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:40:46] local.INFO: Packet analysis {"connection_id":153178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:40:46] local.INFO: Extracted packet for processing {"connection_id":153178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313665536001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786381807000,"timestamp_ms":1786381807000,"timestamp_seconds":1786381807,"priority":1,"record_length":96,"hex_timestamp":"0000019feca72d98"} 
[2026-08-10 22:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:40: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-08-10 22:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313665536001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313665536001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:40:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313665536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":153178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:40:46] local.INFO: GPS data processed {"connection_id":153178,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:40:46] local.INFO: Acknowledgment sent {"connection_id":153178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:40:51] local.INFO: TCP Data received {"connection_id":153178,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:40:51] local.INFO: Processing buffer {"connection_id":153178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:40:51] local.INFO: Packet analysis {"connection_id":153178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:40:51] local.INFO: Extracted packet for processing {"connection_id":153178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313665536001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786381807000,"timestamp_ms":1786381807000,"timestamp_seconds":1786381807,"priority":1,"record_length":96,"hex_timestamp":"0000019feca72d98"} 
[2026-08-10 22:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:40: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-08-10 22:40: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-08-10 22:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313665536001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313665536001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:40:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313665536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":153178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:40:51] local.INFO: GPS data processed {"connection_id":153178,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:40:51] local.INFO: Acknowledgment sent {"connection_id":153178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:40:57] local.INFO: TCP Data received {"connection_id":152233,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:40:57] local.INFO: Processing buffer {"connection_id":152233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:40:57] local.INFO: IMEI packet received {"connection_id":152233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":152233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:41:03] local.INFO: TCP Data received {"connection_id":152233,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:41:03] local.INFO: Processing buffer {"connection_id":152233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:41:03] local.INFO: IMEI packet received {"connection_id":152233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":152233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:41:05] local.INFO: TCP Data received {"connection_id":152233,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca64b08012d4cc6c00685b8a0007300d12f..."} 
[2026-08-10 22:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca64b08012d4cc6c00685b8a0007300d12f..."} 
[2026-08-10 22:41:05] local.INFO: Processing buffer {"connection_id":152233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca64b08012d4cc6c00685b8a0007300d12f..."} 
[2026-08-10 22:41:05] local.INFO: Packet analysis {"connection_id":152233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca6"} 
[2026-08-10 22:41:05] local.INFO: Extracted packet for processing {"connection_id":152233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca6"} 
[2026-08-10 22:41:05] local.INFO: GPS Element Parsed {"raw_longitude":760006336,"raw_latitude":109426848,"longitude_deg":76.0006336,"latitude_deg":10.9426848,"altitude":115,"angle":209,"satellites":47,"speed":47,"hex_longitude":"2d4cc6c0","hex_latitude":"0685b8a0","is_valid_coordinates":true} 
[2026-08-10 22:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313727744001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376635753884549120,"note":"Value kept but may cause issues"} 
[2026-08-10 22:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5532320326517039104,"note":"Value kept but may cause issues"} 
[2026-08-10 22:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786381749000,"timestamp_ms":1786381749000,"timestamp_seconds":1786381749,"priority":1,"record_length":96,"hex_timestamp":"0000019feca64b08"} 
[2026-08-10 22:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 22:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313727744001,"66":27365,"229":206,"19":47872,"24":47,"16":376635753884549120,"45":5532320326517039104},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-08-10 22:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313727744001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:41:05] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-10 22:41:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376635753884549120,"km_value":376635753884549.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5532320326517039104,"description":"Unknown IO ID 45"} 
[2026-08-10 22:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313727744001,"power":27365,"unknown_229":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":5532320326517039104}} 
[2026-08-10 22:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":152233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:41:05] local.INFO: GPS data processed {"connection_id":152233,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:41:05] local.INFO: Acknowledgment sent {"connection_id":152233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:41:22] local.INFO: TCP Data received {"connection_id":153178,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:41:22] local.INFO: Processing buffer {"connection_id":153178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:41:22] local.INFO: Packet analysis {"connection_id":153178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:41:22] local.INFO: Extracted packet for processing {"connection_id":153178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313665536001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786381807000,"timestamp_ms":1786381807000,"timestamp_seconds":1786381807,"priority":1,"record_length":96,"hex_timestamp":"0000019feca72d98"} 
[2026-08-10 22:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:41: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313665536001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313665536001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:41:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313665536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":153178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:41:22] local.INFO: GPS data processed {"connection_id":153178,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:41:22] local.INFO: Acknowledgment sent {"connection_id":153178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:41:37] local.INFO: TCP Data received {"connection_id":152233,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca79710012d4d634006848d800079007325..."} 
[2026-08-10 22:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca79710012d4d634006848d800079007325..."} 
[2026-08-10 22:41:37] local.INFO: Processing buffer {"connection_id":152233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca79710012d4d634006848d800079007325..."} 
[2026-08-10 22:41:37] local.INFO: Packet analysis {"connection_id":152233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:41:37] local.INFO: Extracted packet for processing {"connection_id":152233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:41:37] local.INFO: GPS Element Parsed {"raw_longitude":760046400,"raw_latitude":109350272,"longitude_deg":76.00464,"latitude_deg":10.9350272,"altitude":121,"angle":115,"satellites":37,"speed":33,"hex_longitude":"2d4d6340","hex_latitude":"06848d80","is_valid_coordinates":true} 
[2026-08-10 22:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313747712001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376640199175700480,"note":"Value kept but may cause issues"} 
[2026-08-10 22:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5570671292075053056,"note":"Value kept but may cause issues"} 
[2026-08-10 22:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786381834000,"timestamp_ms":1786381834000,"timestamp_seconds":1786381834,"priority":1,"record_length":96,"hex_timestamp":"0000019feca79710"} 
[2026-08-10 22:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 22:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313747712001,"66":27245,"227":206,"19":47872,"24":33,"16":376640199175700480,"45":5570671292075053056},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-08-10 22:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313747712001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:41:37] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-10 22:41:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376640199175700480,"km_value":376640199175700.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5570671292075053056,"description":"Unknown IO ID 45"} 
[2026-08-10 22:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313747712001,"power":27245,"unknown_227":206,"unknown_19":47872,"ignition":33,"odometer":null,"unknown_45":5570671292075053056}} 
[2026-08-10 22:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":152233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:41:37] local.INFO: GPS data processed {"connection_id":152233,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:41:37] local.INFO: Acknowledgment sent {"connection_id":152233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:41:41] local.INFO: TCP Data received {"connection_id":153179,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:41:41] local.INFO: Processing buffer {"connection_id":153179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:41:41] local.INFO: IMEI packet received {"connection_id":153179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":153179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:41:46] local.INFO: TCP Data received {"connection_id":153179,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:41:46] local.INFO: Processing buffer {"connection_id":153179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:41:46] local.INFO: IMEI packet received {"connection_id":153179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":153179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:41:47] local.INFO: TCP Data received {"connection_id":153179,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:41:47] local.INFO: Processing buffer {"connection_id":153179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:41:47] local.INFO: Packet analysis {"connection_id":153179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:41:47] local.INFO: Extracted packet for processing {"connection_id":153179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313665536001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786381807000,"timestamp_ms":1786381807000,"timestamp_seconds":1786381807,"priority":1,"record_length":96,"hex_timestamp":"0000019feca72d98"} 
[2026-08-10 22:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313665536001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313665536001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:41:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313665536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":153179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:41:47] local.INFO: GPS data processed {"connection_id":153179,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:41:47] local.INFO: Acknowledgment sent {"connection_id":153179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:42:03] local.INFO: TCP Data received {"connection_id":154585,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:42:03] local.INFO: Processing buffer {"connection_id":154585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:42:03] local.INFO: IMEI packet received {"connection_id":154585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":154585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:42:05] local.INFO: TCP Data received {"connection_id":154585,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:42:05] local.INFO: Processing buffer {"connection_id":154585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:42:05] local.INFO: IMEI packet received {"connection_id":154585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":154585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:42:06] local.INFO: TCP Data received {"connection_id":154585,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca7ae80012d4d748006848728007b006621..."} 
[2026-08-10 22:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca7ae80012d4d748006848728007b006621..."} 
[2026-08-10 22:42:06] local.INFO: Processing buffer {"connection_id":154585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca7ae80012d4d748006848728007b006621..."} 
[2026-08-10 22:42:06] local.INFO: Packet analysis {"connection_id":154585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:42:06] local.INFO: Extracted packet for processing {"connection_id":154585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:42:06] local.INFO: GPS Element Parsed {"raw_longitude":760050816,"raw_latitude":109348648,"longitude_deg":76.0050816,"latitude_deg":10.9348648,"altitude":123,"angle":102,"satellites":33,"speed":30,"hex_longitude":"2d4d7480","hex_latitude":"06848728","is_valid_coordinates":true} 
[2026-08-10 22:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313749504001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376640426808967168,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5576371160352653312,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786381840000,"timestamp_ms":1786381840000,"timestamp_seconds":1786381840,"priority":1,"record_length":96,"hex_timestamp":"0000019feca7ae80"} 
[2026-08-10 22:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 22:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313749504001,"66":27300,"227":206,"19":47872,"24":30,"16":376640426808967168,"45":5576371160352653312},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-08-10 22:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313749504001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:42:06] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-10 22:42:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376640426808967168,"km_value":376640426808967.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5576371160352653312,"description":"Unknown IO ID 45"} 
[2026-08-10 22:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313749504001,"power":27300,"unknown_227":206,"unknown_19":47872,"ignition":30,"odometer":null,"unknown_45":5576371160352653312}} 
[2026-08-10 22:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":154585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:42:06] local.INFO: GPS data processed {"connection_id":154585,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:42:06] local.INFO: Acknowledgment sent {"connection_id":154585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:42:07] local.INFO: TCP Data received {"connection_id":154585,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca7d978012d4d9740068481c0007c006223..."} 
[2026-08-10 22:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca7d978012d4d9740068481c0007c006223..."} 
[2026-08-10 22:42:07] local.INFO: Processing buffer {"connection_id":154585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca7d978012d4d9740068481c0007c006223..."} 
[2026-08-10 22:42:07] local.INFO: Packet analysis {"connection_id":154585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:42:07] local.INFO: Extracted packet for processing {"connection_id":154585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:42:07] local.INFO: GPS Element Parsed {"raw_longitude":760059712,"raw_latitude":109347264,"longitude_deg":76.0059712,"latitude_deg":10.9347264,"altitude":124,"angle":98,"satellites":35,"speed":33,"hex_longitude":"2d4d9740","hex_latitude":"068481c0","is_valid_coordinates":true} 
[2026-08-10 22:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313751040001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376640856305696768,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5581226603700496384,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786381851000,"timestamp_ms":1786381851000,"timestamp_seconds":1786381851,"priority":1,"record_length":96,"hex_timestamp":"0000019feca7d978"} 
[2026-08-10 22:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:42: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-08-10 22:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313751040001,"66":27332,"227":206,"19":47872,"24":33,"16":376640856305696768,"45":5581226603700496384},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-08-10 22:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313751040001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:42:07] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-10 22:42:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376640856305696768,"km_value":376640856305696.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5581226603700496384,"description":"Unknown IO ID 45"} 
[2026-08-10 22:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313751040001,"power":27332,"unknown_227":206,"unknown_19":47872,"ignition":33,"odometer":null,"unknown_45":5581226603700496384}} 
[2026-08-10 22:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":154585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:42:07] local.INFO: GPS data processed {"connection_id":154585,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:42:07] local.INFO: Acknowledgment sent {"connection_id":154585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:42:18] local.INFO: TCP Data received {"connection_id":153179,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:42:19] local.INFO: Processing buffer {"connection_id":153179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:42:19] local.INFO: Packet analysis {"connection_id":153179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:42:19] local.INFO: Extracted packet for processing {"connection_id":153179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313665536001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786381807000,"timestamp_ms":1786381807000,"timestamp_seconds":1786381807,"priority":1,"record_length":96,"hex_timestamp":"0000019feca72d98"} 
[2026-08-10 22:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313665536001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313665536001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:42:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:42:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313665536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":153179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:42:19] local.INFO: GPS data processed {"connection_id":153179,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:42:19] local.INFO: Acknowledgment sent {"connection_id":153179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:42:38] local.INFO: TCP Data received {"connection_id":154585,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca80470012d4dbc0006847c08007e006229..."} 
[2026-08-10 22:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca80470012d4dbc0006847c08007e006229..."} 
[2026-08-10 22:42:38] local.INFO: Processing buffer {"connection_id":154585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca80470012d4dbc0006847c08007e006229..."} 
[2026-08-10 22:42:38] local.INFO: Packet analysis {"connection_id":154585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca8"} 
[2026-08-10 22:42:38] local.INFO: Extracted packet for processing {"connection_id":154585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca8"} 
[2026-08-10 22:42:38] local.INFO: GPS Element Parsed {"raw_longitude":760069120,"raw_latitude":109345800,"longitude_deg":76.006912,"latitude_deg":10.93458,"altitude":126,"angle":98,"satellites":41,"speed":34,"hex_longitude":"2d4dbc00","hex_latitude":"06847c08","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313753856001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376641307277262848,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5591007859140837376,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786381862000,"timestamp_ms":1786381862000,"timestamp_seconds":1786381862,"priority":1,"record_length":96,"hex_timestamp":"0000019feca80470"} 
[2026-08-10 22:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:42: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-08-10 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 22:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313753856001,"66":27115,"227":206,"19":47872,"24":34,"16":376641307277262848,"45":5591007859140837376},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-08-10 22:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313753856001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:42:38] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-10 22:42:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376641307277262848,"km_value":376641307277262.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5591007859140837376,"description":"Unknown IO ID 45"} 
[2026-08-10 22:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313753856001,"power":27115,"unknown_227":206,"unknown_19":47872,"ignition":34,"odometer":null,"unknown_45":5591007859140837376}} 
[2026-08-10 22:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":154585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:42:38] local.INFO: GPS data processed {"connection_id":154585,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:42:38] local.INFO: Acknowledgment sent {"connection_id":154585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:42:41] local.INFO: TCP Data received {"connection_id":152234,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:42:41] local.INFO: Processing buffer {"connection_id":152234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:42:41] local.INFO: IMEI packet received {"connection_id":152234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":152234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:42:46] local.INFO: TCP Data received {"connection_id":152234,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:42:46] local.INFO: Processing buffer {"connection_id":152234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:42:46] local.INFO: IMEI packet received {"connection_id":152234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":152234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:42:47] local.INFO: TCP Data received {"connection_id":152234,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:42:47] local.INFO: Processing buffer {"connection_id":152234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:42:47] local.INFO: Packet analysis {"connection_id":152234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:42:47] local.INFO: Extracted packet for processing {"connection_id":152234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313665536001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786381807000,"timestamp_ms":1786381807000,"timestamp_seconds":1786381807,"priority":1,"record_length":96,"hex_timestamp":"0000019feca72d98"} 
[2026-08-10 22:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313665536001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313665536001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:42:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313665536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":152234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:42:47] local.INFO: GPS data processed {"connection_id":152234,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:42:47] local.INFO: Acknowledgment sent {"connection_id":152234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:42:57] local.INFO: TCP Data received {"connection_id":154586,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:42:57] local.INFO: Processing buffer {"connection_id":154586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:42:57] local.INFO: IMEI packet received {"connection_id":154586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":154586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:43:03] local.INFO: TCP Data received {"connection_id":154586,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:43:03] local.INFO: Processing buffer {"connection_id":154586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:43:03] local.INFO: IMEI packet received {"connection_id":154586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":154586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:43:04] local.INFO: TCP Data received {"connection_id":154586,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca8eae8012d4ea6000683d8500072006a30..."} 
[2026-08-10 22:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca8eae8012d4ea6000683d8500072006a30..."} 
[2026-08-10 22:43:04] local.INFO: Processing buffer {"connection_id":154586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca8eae8012d4ea6000683d8500072006a30..."} 
[2026-08-10 22:43:04] local.INFO: Packet analysis {"connection_id":154586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca8"} 
[2026-08-10 22:43:04] local.INFO: Extracted packet for processing {"connection_id":154586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca8"} 
[2026-08-10 22:43:04] local.INFO: GPS Element Parsed {"raw_longitude":760129024,"raw_latitude":109303888,"longitude_deg":76.0129024,"latitude_deg":10.9303888,"altitude":114,"angle":106,"satellites":48,"speed":57,"hex_longitude":"2d4ea600","hex_latitude":"0683d850","is_valid_coordinates":true} 
[2026-08-10 22:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313770752001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376644940819595264,"note":"Value kept but may cause issues"} 
[2026-08-10 22:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5661095128331296768,"note":"Value kept but may cause issues"} 
[2026-08-10 22:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786381921000,"timestamp_ms":1786381921000,"timestamp_seconds":1786381921,"priority":1,"record_length":96,"hex_timestamp":"0000019feca8eae8"} 
[2026-08-10 22:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313770752001,"66":27245,"251":206,"19":47872,"24":57,"16":376644940819595264,"45":5661095128331296768},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-08-10 22:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313770752001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:43:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-10 22:43:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376644940819595264,"km_value":376644940819595.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5661095128331296768,"description":"Unknown IO ID 45"} 
[2026-08-10 22:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313770752001,"power":27245,"unknown_251":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":5661095128331296768}} 
[2026-08-10 22:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":154586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:43:04] local.INFO: GPS data processed {"connection_id":154586,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:43:04] local.INFO: Acknowledgment sent {"connection_id":154586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:43:18] local.INFO: TCP Data received {"connection_id":152234,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:43:18] local.INFO: Processing buffer {"connection_id":152234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:43:18] local.INFO: Packet analysis {"connection_id":152234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:43:18] local.INFO: Extracted packet for processing {"connection_id":152234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313665536001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786381807000,"timestamp_ms":1786381807000,"timestamp_seconds":1786381807,"priority":1,"record_length":96,"hex_timestamp":"0000019feca72d98"} 
[2026-08-10 22:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313665536001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313665536001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:43:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313665536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":152234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:43:18] local.INFO: GPS data processed {"connection_id":152234,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:43:18] local.INFO: Acknowledgment sent {"connection_id":152234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:43:37] local.INFO: TCP Data received {"connection_id":154586,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca90640012d4ec9c00683d1300073006230..."} 
[2026-08-10 22:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca90640012d4ec9c00683d1300073006230..."} 
[2026-08-10 22:43:37] local.INFO: Processing buffer {"connection_id":154586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca90640012d4ec9c00683d1300073006230..."} 
[2026-08-10 22:43:37] local.INFO: Packet analysis {"connection_id":154586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca9"} 
[2026-08-10 22:43:37] local.INFO: Extracted packet for processing {"connection_id":154586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca9"} 
[2026-08-10 22:43:37] local.INFO: GPS Element Parsed {"raw_longitude":760138176,"raw_latitude":109302064,"longitude_deg":76.0138176,"latitude_deg":10.9302064,"altitude":115,"angle":98,"satellites":48,"speed":48,"hex_longitude":"2d4ec9c0","hex_latitude":"0683d130","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313771776001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376645387496194048,"note":"Value kept but may cause issues"} 
[2026-08-10 22:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5667217209074143232,"note":"Value kept but may cause issues"} 
[2026-08-10 22:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786381928000,"timestamp_ms":1786381928000,"timestamp_seconds":1786381928,"priority":1,"record_length":96,"hex_timestamp":"0000019feca90640"} 
[2026-08-10 22:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:43: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-08-10 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 22:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313771776001,"66":27245,"251":206,"19":47872,"24":48,"16":376645387496194048,"45":5667217209074143232},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-08-10 22:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313771776001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:43:37] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-10 22:43:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376645387496194048,"km_value":376645387496194.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5667217209074143232,"description":"Unknown IO ID 45"} 
[2026-08-10 22:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313771776001,"power":27245,"unknown_251":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5667217209074143232}} 
[2026-08-10 22:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":154586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:43:37] local.INFO: GPS data processed {"connection_id":154586,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:43:37] local.INFO: Acknowledgment sent {"connection_id":154586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:43:41] local.INFO: TCP Data received {"connection_id":153180,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:43:41] local.INFO: Processing buffer {"connection_id":153180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:43:41] local.INFO: IMEI packet received {"connection_id":153180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":153180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:43:46] local.INFO: TCP Data received {"connection_id":153180,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:43:46] local.INFO: Processing buffer {"connection_id":153180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:43:46] local.INFO: IMEI packet received {"connection_id":153180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":153180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:43:47] local.INFO: TCP Data received {"connection_id":153180,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:43:47] local.INFO: Processing buffer {"connection_id":153180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:43:47] local.INFO: Packet analysis {"connection_id":153180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:43:47] local.INFO: Extracted packet for processing {"connection_id":153180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313665536001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786381807000,"timestamp_ms":1786381807000,"timestamp_seconds":1786381807,"priority":1,"record_length":96,"hex_timestamp":"0000019feca72d98"} 
[2026-08-10 22:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313665536001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313665536001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:43:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313665536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":153180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:43:47] local.INFO: GPS data processed {"connection_id":153180,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:43:47] local.INFO: Acknowledgment sent {"connection_id":153180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:43:48] local.INFO: TCP Data received {"connection_id":153181,"ip":"150.107.36.82","data_length":182,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-10 22:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153181,"packet_length":182,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-10 22:43:48] local.INFO: Processing buffer {"connection_id":153181,"buffer_length":182,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-10 22:43:48] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":153181,"buffer_length":182,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-08-10 22:43:49] local.INFO: TCP Data received {"connection_id":152235,"ip":"150.107.36.82","data_length":1453,"data_hex":"16030105a8010005a403036cd5fe6ebf8f97f30955599ee480b5fd372185ae29..."} 
[2026-08-10 22:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152235,"packet_length":1453,"packet_hex":"16030105a8010005a403036cd5fe6ebf8f97f30955599ee480b5fd372185ae29..."} 
[2026-08-10 22:43:49] local.INFO: Processing buffer {"connection_id":152235,"buffer_length":1453,"buffer_hex":"16030105a8010005a403036cd5fe6ebf8f97f30955599ee480b5fd372185ae29..."} 
[2026-08-10 22:43:49] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":152235,"buffer_length":1453,"first_bytes_hex":"16030105a8010005a403036cd5fe6ebf"} 
[2026-08-10 22:43:57] local.INFO: TCP Data received {"connection_id":154587,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:43:57] local.INFO: Processing buffer {"connection_id":154587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:43:57] local.INFO: IMEI packet received {"connection_id":154587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":154587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:44:02] local.INFO: TCP Data received {"connection_id":154587,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:44:02] local.INFO: Processing buffer {"connection_id":154587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:44:02] local.INFO: IMEI packet received {"connection_id":154587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":154587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:44:03] local.INFO: TCP Data received {"connection_id":154587,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca92580012d4eed800683cbc0007400622f..."} 
[2026-08-10 22:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca92580012d4eed800683cbc0007400622f..."} 
[2026-08-10 22:44:03] local.INFO: Processing buffer {"connection_id":154587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca92580012d4eed800683cbc0007400622f..."} 
[2026-08-10 22:44:03] local.INFO: Packet analysis {"connection_id":154587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca9"} 
[2026-08-10 22:44:03] local.INFO: Extracted packet for processing {"connection_id":154587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca9"} 
[2026-08-10 22:44:03] local.INFO: GPS Element Parsed {"raw_longitude":760147328,"raw_latitude":109300672,"longitude_deg":76.0147328,"latitude_deg":10.9300672,"altitude":116,"angle":98,"satellites":47,"speed":44,"hex_longitude":"2d4eed80","hex_latitude":"0683cbc0","is_valid_coordinates":true} 
[2026-08-10 22:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313773568001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376645825582858240,"note":"Value kept but may cause issues"} 
[2026-08-10 22:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5677279939491082240,"note":"Value kept but may cause issues"} 
[2026-08-10 22:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786381936000,"timestamp_ms":1786381936000,"timestamp_seconds":1786381936,"priority":1,"record_length":96,"hex_timestamp":"0000019feca92580"} 
[2026-08-10 22:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 22:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313773568001,"66":27321,"251":206,"19":47872,"24":44,"16":376645825582858240,"45":5677279939491082240},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-08-10 22:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313773568001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:44:03] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-10 22:44:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376645825582858240,"km_value":376645825582858.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5677279939491082240,"description":"Unknown IO ID 45"} 
[2026-08-10 22:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313773568001,"power":27321,"unknown_251":206,"unknown_19":47872,"ignition":44,"odometer":null,"unknown_45":5677279939491082240}} 
[2026-08-10 22:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":154587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:44:03] local.INFO: GPS data processed {"connection_id":154587,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:44:03] local.INFO: Acknowledgment sent {"connection_id":154587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:44:18] local.INFO: TCP Data received {"connection_id":153180,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:44:18] local.INFO: Processing buffer {"connection_id":153180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:44:18] local.INFO: Packet analysis {"connection_id":153180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:44:18] local.INFO: Extracted packet for processing {"connection_id":153180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313665536001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786381807000,"timestamp_ms":1786381807000,"timestamp_seconds":1786381807,"priority":1,"record_length":96,"hex_timestamp":"0000019feca72d98"} 
[2026-08-10 22:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313665536001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313665536001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:44:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313665536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":153180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:44:18] local.INFO: GPS data processed {"connection_id":153180,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:44:18] local.INFO: Acknowledgment sent {"connection_id":153180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:44:35] local.INFO: TCP Data received {"connection_id":154587,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca948a8012d4f13400683c6280076006230..."} 
[2026-08-10 22:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca948a8012d4f13400683c6280076006230..."} 
[2026-08-10 22:44:35] local.INFO: Processing buffer {"connection_id":154587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca948a8012d4f13400683c6280076006230..."} 
[2026-08-10 22:44:35] local.INFO: Packet analysis {"connection_id":154587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca9"} 
[2026-08-10 22:44:35] local.INFO: Extracted packet for processing {"connection_id":154587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca9"} 
[2026-08-10 22:44:35] local.INFO: GPS Element Parsed {"raw_longitude":760156992,"raw_latitude":109299240,"longitude_deg":76.0156992,"latitude_deg":10.929924,"altitude":118,"angle":98,"satellites":48,"speed":41,"hex_longitude":"2d4f1340","hex_latitude":"0683c628","is_valid_coordinates":true} 
[2026-08-10 22:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313775616001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376646293734293504,"note":"Value kept but may cause issues"} 
[2026-08-10 22:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5687342669908131840,"note":"Value kept but may cause issues"} 
[2026-08-10 22:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786381945000,"timestamp_ms":1786381945000,"timestamp_seconds":1786381945,"priority":1,"record_length":96,"hex_timestamp":"0000019feca948a8"} 
[2026-08-10 22:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 22:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313775616001,"66":27310,"251":206,"19":47872,"24":41,"16":376646293734293504,"45":5687342669908131840},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-08-10 22:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313775616001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:44:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-10 22:44:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376646293734293504,"km_value":376646293734293.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5687342669908131840,"description":"Unknown IO ID 45"} 
[2026-08-10 22:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313775616001,"power":27310,"unknown_251":206,"unknown_19":47872,"ignition":41,"odometer":null,"unknown_45":5687342669908131840}} 
[2026-08-10 22:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":154587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:44:35] local.INFO: GPS data processed {"connection_id":154587,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:44:35] local.INFO: Acknowledgment sent {"connection_id":154587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:44:41] local.INFO: TCP Data received {"connection_id":151865,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:44:41] local.INFO: Processing buffer {"connection_id":151865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:44:41] local.INFO: IMEI packet received {"connection_id":151865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":151865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:44:46] local.INFO: TCP Data received {"connection_id":151865,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:44:46] local.INFO: Processing buffer {"connection_id":151865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:44:46] local.INFO: IMEI packet received {"connection_id":151865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":151865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:44:47] local.INFO: TCP Data received {"connection_id":151865,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:44:47] local.INFO: Processing buffer {"connection_id":151865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:44:47] local.INFO: Packet analysis {"connection_id":151865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:44:47] local.INFO: Extracted packet for processing {"connection_id":151865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313665536001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786381807000,"timestamp_ms":1786381807000,"timestamp_seconds":1786381807,"priority":1,"record_length":96,"hex_timestamp":"0000019feca72d98"} 
[2026-08-10 22:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313665536001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313665536001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:44:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313665536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":151865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:44:47] local.INFO: GPS data processed {"connection_id":151865,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:44:47] local.INFO: Acknowledgment sent {"connection_id":151865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:44:58] local.INFO: TCP Data received {"connection_id":152236,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:44:58] local.INFO: Processing buffer {"connection_id":152236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:44:58] local.INFO: IMEI packet received {"connection_id":152236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":152236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:44:58] local.INFO: TCP Data received {"connection_id":152236,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:44:58] local.INFO: Processing buffer {"connection_id":152236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:44:58] local.INFO: IMEI packet received {"connection_id":152236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":152236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:45:03] local.INFO: TCP Data received {"connection_id":152236,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:45:03] local.INFO: Processing buffer {"connection_id":152236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:45:03] local.INFO: IMEI packet received {"connection_id":152236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":152236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:45:04] local.INFO: TCP Data received {"connection_id":152236,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feca96bd0012d4f37800683c1080079006230..."} 
[2026-08-10 22:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca96bd0012d4f37800683c1080079006230..."} 
[2026-08-10 22:45:04] local.INFO: Processing buffer {"connection_id":152236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca96bd0012d4f37800683c1080079006230..."} 
[2026-08-10 22:45:04] local.INFO: Packet analysis {"connection_id":152236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca9"} 
[2026-08-10 22:45:04] local.INFO: Extracted packet for processing {"connection_id":152236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca9"} 
[2026-08-10 22:45:04] local.INFO: GPS Element Parsed {"raw_longitude":760166272,"raw_latitude":109297928,"longitude_deg":76.0166272,"latitude_deg":10.9297928,"altitude":121,"angle":98,"satellites":48,"speed":39,"hex_longitude":"2d4f3780","hex_latitude":"0683c108","is_valid_coordinates":true} 
[2026-08-10 22:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313777920001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376646736115924992,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5697968350278592512,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786381954000,"timestamp_ms":1786381954000,"timestamp_seconds":1786381954,"priority":1,"record_length":96,"hex_timestamp":"0000019feca96bd0"} 
[2026-08-10 22:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-10 22:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313777920001,"66":27245,"251":206,"19":47872,"24":39,"16":376646736115924992,"45":5697968350278592512},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-08-10 22:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313777920001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:45:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-10 22:45:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376646736115924992,"km_value":376646736115925.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5697968350278592512,"description":"Unknown IO ID 45"} 
[2026-08-10 22:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313777920001,"power":27245,"unknown_251":206,"unknown_19":47872,"ignition":39,"odometer":null,"unknown_45":5697968350278592512}} 
[2026-08-10 22:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":152236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:45:04] local.INFO: GPS data processed {"connection_id":152236,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:45:04] local.INFO: Acknowledgment sent {"connection_id":152236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:45:18] local.INFO: TCP Data received {"connection_id":151865,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:45:18] local.INFO: Processing buffer {"connection_id":151865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feca72d98012d196580071ff038003f014225..."} 
[2026-08-10 22:45:18] local.INFO: Packet analysis {"connection_id":151865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:45:18] local.INFO: Extracted packet for processing {"connection_id":151865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feca7"} 
[2026-08-10 22:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313665536001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786381807000,"timestamp_ms":1786381807000,"timestamp_seconds":1786381807,"priority":1,"record_length":96,"hex_timestamp":"0000019feca72d98"} 
[2026-08-10 22:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313665536001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313665536001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:45:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313665536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":151865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:45:18] local.INFO: GPS data processed {"connection_id":151865,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:45:18] local.INFO: Acknowledgment sent {"connection_id":151865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:45:35] local.INFO: TCP Data received {"connection_id":152236,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecab09e0012d50cec006838028008f006c31..."} 
[2026-08-10 22:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecab09e0012d50cec006838028008f006c31..."} 
[2026-08-10 22:45:35] local.INFO: Processing buffer {"connection_id":152236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecab09e0012d50cec006838028008f006c31..."} 
[2026-08-10 22:45:35] local.INFO: Packet analysis {"connection_id":152236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:45:35] local.INFO: Extracted packet for processing {"connection_id":152236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:45:35] local.INFO: GPS Element Parsed {"raw_longitude":760270528,"raw_latitude":109281320,"longitude_deg":76.0270528,"latitude_deg":10.928132,"altitude":143,"angle":108,"satellites":49,"speed":45,"hex_longitude":"2d50cec0","hex_latitude":"06838028","is_valid_coordinates":true} 
[2026-08-10 22:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313805312001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376651769817595904,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5812739772028368896,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786382060000,"timestamp_ms":1786382060000,"timestamp_seconds":1786382060,"priority":1,"record_length":96,"hex_timestamp":"0000019fecab09e0"} 
[2026-08-10 22:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 22:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313805312001,"66":27321,"250":206,"19":47872,"24":45,"16":376651769817595904,"45":5812739772028368896},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-08-10 22:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313805312001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:45:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-10 22:45:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376651769817595904,"km_value":376651769817595.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5812739772028368896,"description":"Unknown IO ID 45"} 
[2026-08-10 22:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313805312001,"power":27321,"unknown_250":206,"unknown_19":47872,"ignition":45,"odometer":null,"unknown_45":5812739772028368896}} 
[2026-08-10 22:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":152236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:45:36] local.INFO: GPS data processed {"connection_id":152236,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:45:36] local.INFO: Acknowledgment sent {"connection_id":152236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:45:46] local.INFO: TCP Data received {"connection_id":153182,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:45:46] local.INFO: Processing buffer {"connection_id":153182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:45:46] local.INFO: IMEI packet received {"connection_id":153182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":153182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:45:47] local.INFO: TCP Data received {"connection_id":153182,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:45:47] local.INFO: Processing buffer {"connection_id":153182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:45:47] local.INFO: IMEI packet received {"connection_id":153182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":153182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:45:51] local.INFO: TCP Data received {"connection_id":153182,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:45:51] local.INFO: Processing buffer {"connection_id":153182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:45:51] local.INFO: IMEI packet received {"connection_id":153182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":153182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:45:52] local.INFO: TCP Data received {"connection_id":153182,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:45:52] local.INFO: Processing buffer {"connection_id":153182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:45:52] local.INFO: Packet analysis {"connection_id":153182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:45:52] local.INFO: Extracted packet for processing {"connection_id":153182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:45:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313742592001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786382108000,"timestamp_ms":1786382108000,"timestamp_seconds":1786382108,"priority":1,"record_length":96,"hex_timestamp":"0000019fecabc560"} 
[2026-08-10 22:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313742592001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313742592001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:45:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:45:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313742592001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":153182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:45:52] local.INFO: GPS data processed {"connection_id":153182,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:45:52] local.INFO: Acknowledgment sent {"connection_id":153182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:45:56] local.INFO: TCP Data received {"connection_id":153182,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:45:56] local.INFO: Processing buffer {"connection_id":153182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:45:56] local.INFO: Packet analysis {"connection_id":153182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:45:56] local.INFO: Extracted packet for processing {"connection_id":153182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313742592001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786382108000,"timestamp_ms":1786382108000,"timestamp_seconds":1786382108,"priority":1,"record_length":96,"hex_timestamp":"0000019fecabc560"} 
[2026-08-10 22:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313742592001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313742592001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:45:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:45:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313742592001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":153182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:45:56] local.INFO: GPS data processed {"connection_id":153182,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:45:56] local.INFO: Acknowledgment sent {"connection_id":153182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:45:58] local.INFO: TCP Data received {"connection_id":151866,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:45:58] local.INFO: Processing buffer {"connection_id":151866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:45:58] local.INFO: IMEI packet received {"connection_id":151866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":151866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:46:04] local.INFO: TCP Data received {"connection_id":151866,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:46:04] local.INFO: Processing buffer {"connection_id":151866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:46:04] local.INFO: IMEI packet received {"connection_id":151866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":151866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:46:05] local.INFO: TCP Data received {"connection_id":151866,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecab3ca8012d50f140068374e8008f006430..."} 
[2026-08-10 22:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecab3ca8012d50f140068374e8008f006430..."} 
[2026-08-10 22:46:05] local.INFO: Processing buffer {"connection_id":151866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecab3ca8012d50f140068374e8008f006430..."} 
[2026-08-10 22:46:05] local.INFO: Packet analysis {"connection_id":151866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:46:05] local.INFO: Extracted packet for processing {"connection_id":151866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:46:05] local.INFO: GPS Element Parsed {"raw_longitude":760279360,"raw_latitude":109278440,"longitude_deg":76.027936,"latitude_deg":10.927844,"altitude":143,"angle":100,"satellites":48,"speed":14,"hex_longitude":"2d50f140","hex_latitude":"068374e8","is_valid_coordinates":true} 
[2026-08-10 22:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313807360001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376652212199227392,"note":"Value kept but may cause issues"} 
[2026-08-10 22:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5822802502445180928,"note":"Value kept but may cause issues"} 
[2026-08-10 22:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786382073000,"timestamp_ms":1786382073000,"timestamp_seconds":1786382073,"priority":1,"record_length":96,"hex_timestamp":"0000019fecab3ca8"} 
[2026-08-10 22:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 22:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313807360001,"66":27300,"250":206,"19":47872,"24":14,"16":376652212199227392,"45":5822802502445180928},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-08-10 22:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313807360001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:46:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-10 22:46:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376652212199227392,"km_value":376652212199227.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5822802502445180928,"description":"Unknown IO ID 45"} 
[2026-08-10 22:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313807360001,"power":27300,"unknown_250":206,"unknown_19":47872,"ignition":14,"odometer":null,"unknown_45":5822802502445180928}} 
[2026-08-10 22:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":151866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:46:05] local.INFO: GPS data processed {"connection_id":151866,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:46:05] local.INFO: Acknowledgment sent {"connection_id":151866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:46:38] local.INFO: TCP Data received {"connection_id":151866,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecab63b8012d50fc80068372600090007031..."} 
[2026-08-10 22:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecab63b8012d50fc80068372600090007031..."} 
[2026-08-10 22:46:38] local.INFO: Processing buffer {"connection_id":151866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecab63b8012d50fc80068372600090007031..."} 
[2026-08-10 22:46:38] local.INFO: Packet analysis {"connection_id":151866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:46:38] local.INFO: Extracted packet for processing {"connection_id":151866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:46:38] local.INFO: GPS Element Parsed {"raw_longitude":760282240,"raw_latitude":109277792,"longitude_deg":76.028224,"latitude_deg":10.9277792,"altitude":144,"angle":112,"satellites":49,"speed":9,"hex_longitude":"2d50fc80","hex_latitude":"06837260","is_valid_coordinates":true} 
[2026-08-10 22:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313810688001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376652349638180864,"note":"Value kept but may cause issues"} 
[2026-08-10 22:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5832513389140961280,"note":"Value kept but may cause issues"} 
[2026-08-10 22:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786382083000,"timestamp_ms":1786382083000,"timestamp_seconds":1786382083,"priority":1,"record_length":96,"hex_timestamp":"0000019fecab63b8"} 
[2026-08-10 22:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:46: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-08-10 22:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313810688001,"66":27213,"250":206,"19":47872,"24":9,"16":376652349638180864,"45":5832513389140961280},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-08-10 22:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313810688001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:46:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-10 22:46:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376652349638180864,"km_value":376652349638180.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5832513389140961280,"description":"Unknown IO ID 45"} 
[2026-08-10 22:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313810688001,"power":27213,"unknown_250":206,"unknown_19":47872,"ignition":9,"odometer":null,"unknown_45":5832513389140961280}} 
[2026-08-10 22:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":151866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:46:38] local.INFO: GPS data processed {"connection_id":151866,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:46:38] local.INFO: Acknowledgment sent {"connection_id":151866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:46:41] local.INFO: TCP Data received {"connection_id":153183,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:46:41] local.INFO: Processing buffer {"connection_id":153183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:46:41] local.INFO: IMEI packet received {"connection_id":153183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":153183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:46:46] local.INFO: TCP Data received {"connection_id":153183,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:46:46] local.INFO: Processing buffer {"connection_id":153183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:46:46] local.INFO: IMEI packet received {"connection_id":153183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":153183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:46:47] local.INFO: TCP Data received {"connection_id":153183,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:46:47] local.INFO: Processing buffer {"connection_id":153183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:46:47] local.INFO: Packet analysis {"connection_id":153183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:46:47] local.INFO: Extracted packet for processing {"connection_id":153183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313742592001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786382108000,"timestamp_ms":1786382108000,"timestamp_seconds":1786382108,"priority":1,"record_length":96,"hex_timestamp":"0000019fecabc560"} 
[2026-08-10 22:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313742592001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313742592001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:46:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313742592001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":153183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:46:47] local.INFO: GPS data processed {"connection_id":153183,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:46:47] local.INFO: Acknowledgment sent {"connection_id":153183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:46:57] local.INFO: TCP Data received {"connection_id":152237,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:46:57] local.INFO: Processing buffer {"connection_id":152237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:46:57] local.INFO: IMEI packet received {"connection_id":152237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":152237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:47:00] local.INFO: TCP Data received {"connection_id":152237,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:47:00] local.INFO: Processing buffer {"connection_id":152237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:47:00] local.INFO: IMEI packet received {"connection_id":152237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":152237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:47:02] local.INFO: TCP Data received {"connection_id":152237,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:47:02] local.INFO: Processing buffer {"connection_id":152237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:47:02] local.INFO: IMEI packet received {"connection_id":152237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":152237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:47:04] local.INFO: TCP Data received {"connection_id":152237,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecabb5c0012d51084006836cb00091007031..."} 
[2026-08-10 22:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecabb5c0012d51084006836cb00091007031..."} 
[2026-08-10 22:47:04] local.INFO: Processing buffer {"connection_id":152237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecabb5c0012d51084006836cb00091007031..."} 
[2026-08-10 22:47:04] local.INFO: Packet analysis {"connection_id":152237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:47:04] local.INFO: Extracted packet for processing {"connection_id":152237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:47:04] local.INFO: GPS Element Parsed {"raw_longitude":760285248,"raw_latitude":109276336,"longitude_deg":76.0285248,"latitude_deg":10.9276336,"altitude":145,"angle":112,"satellites":49,"speed":3,"hex_longitude":"2d510840","hex_latitude":"06836cb0","is_valid_coordinates":true} 
[2026-08-10 22:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313813248001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376652512846938112,"note":"Value kept but may cause issues"} 
[2026-08-10 22:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5835679982628790272,"note":"Value kept but may cause issues"} 
[2026-08-10 22:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786382104000,"timestamp_ms":1786382104000,"timestamp_seconds":1786382104,"priority":1,"record_length":96,"hex_timestamp":"0000019fecabb5c0"} 
[2026-08-10 22:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 22:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313813248001,"66":27300,"250":206,"19":47872,"24":3,"16":376652512846938112,"45":5835679982628790272},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-08-10 22:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313813248001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:47:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-10 22:47:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376652512846938112,"km_value":376652512846938.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5835679982628790272,"description":"Unknown IO ID 45"} 
[2026-08-10 22:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313813248001,"power":27300,"unknown_250":206,"unknown_19":47872,"ignition":3,"odometer":null,"unknown_45":5835679982628790272}} 
[2026-08-10 22:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":152237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:47:04] local.INFO: GPS data processed {"connection_id":152237,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:47:04] local.INFO: Acknowledgment sent {"connection_id":152237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:47:22] local.INFO: TCP Data received {"connection_id":153183,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:47:22] local.INFO: Processing buffer {"connection_id":153183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:47:22] local.INFO: Packet analysis {"connection_id":153183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:47:22] local.INFO: Extracted packet for processing {"connection_id":153183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313742592001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786382108000,"timestamp_ms":1786382108000,"timestamp_seconds":1786382108,"priority":1,"record_length":96,"hex_timestamp":"0000019fecabc560"} 
[2026-08-10 22:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313742592001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313742592001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:47:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313742592001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":153183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:47:22] local.INFO: GPS data processed {"connection_id":153183,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:47:22] local.INFO: Acknowledgment sent {"connection_id":153183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:47:35] local.INFO: TCP Data received {"connection_id":152237,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecad3490012d521780068285280082007930..."} 
[2026-08-10 22:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecad3490012d521780068285280082007930..."} 
[2026-08-10 22:47:35] local.INFO: Processing buffer {"connection_id":152237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecad3490012d521780068285280082007930..."} 
[2026-08-10 22:47:35] local.INFO: Packet analysis {"connection_id":152237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecad"} 
[2026-08-10 22:47:35] local.INFO: Extracted packet for processing {"connection_id":152237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecad"} 
[2026-08-10 22:47:35] local.INFO: GPS Element Parsed {"raw_longitude":760354688,"raw_latitude":109217064,"longitude_deg":76.0354688,"latitude_deg":10.9217064,"altitude":130,"angle":121,"satellites":48,"speed":59,"hex_longitude":"2d521780","hex_latitude":"06828528","is_valid_coordinates":true} 
[2026-08-10 22:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313842176001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376656928073318400,"note":"Value kept but may cause issues"} 
[2026-08-10 22:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5906752414233835520,"note":"Value kept but may cause issues"} 
[2026-08-10 22:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786382202000,"timestamp_ms":1786382202000,"timestamp_seconds":1786382202,"priority":1,"record_length":96,"hex_timestamp":"0000019fecad3490"} 
[2026-08-10 22:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 22:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313842176001,"66":27169,"203":206,"19":47872,"24":59,"16":376656928073318400,"45":5906752414233835520},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-08-10 22:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313842176001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:47:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376656928073318400,"km_value":376656928073318.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5906752414233835520,"description":"Unknown IO ID 45"} 
[2026-08-10 22:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313842176001,"power":27169,"mnc":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":5906752414233835520}} 
[2026-08-10 22:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":152237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:47:35] local.INFO: GPS data processed {"connection_id":152237,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:47:35] local.INFO: Acknowledgment sent {"connection_id":152237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:47:41] local.INFO: TCP Data received {"connection_id":151867,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:47:41] local.INFO: Processing buffer {"connection_id":151867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:47:41] local.INFO: IMEI packet received {"connection_id":151867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":151867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:47:46] local.INFO: TCP Data received {"connection_id":151867,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:47:46] local.INFO: Processing buffer {"connection_id":151867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:47:46] local.INFO: IMEI packet received {"connection_id":151867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":151867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:47:47] local.INFO: TCP Data received {"connection_id":151867,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:47:47] local.INFO: Processing buffer {"connection_id":151867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:47:47] local.INFO: Packet analysis {"connection_id":151867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:47:47] local.INFO: Extracted packet for processing {"connection_id":151867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313742592001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786382108000,"timestamp_ms":1786382108000,"timestamp_seconds":1786382108,"priority":1,"record_length":96,"hex_timestamp":"0000019fecabc560"} 
[2026-08-10 22:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313742592001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313742592001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:47:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313742592001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":151867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:47:47] local.INFO: GPS data processed {"connection_id":151867,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:47:47] local.INFO: Acknowledgment sent {"connection_id":151867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:48:03] local.INFO: TCP Data received {"connection_id":151868,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:03] local.INFO: Processing buffer {"connection_id":151868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:03] local.INFO: IMEI packet received {"connection_id":151868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":151868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:48:06] local.INFO: TCP Data received {"connection_id":151868,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:06] local.INFO: Processing buffer {"connection_id":151868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:06] local.INFO: IMEI packet received {"connection_id":151868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":151868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:48:18] local.INFO: TCP Data received {"connection_id":151867,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:48:18] local.INFO: Processing buffer {"connection_id":151867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:48:18] local.INFO: Packet analysis {"connection_id":151867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:48:18] local.INFO: Extracted packet for processing {"connection_id":151867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313742592001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786382108000,"timestamp_ms":1786382108000,"timestamp_seconds":1786382108,"priority":1,"record_length":96,"hex_timestamp":"0000019fecabc560"} 
[2026-08-10 22:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313742592001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313742592001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:48:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313742592001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":151867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:48:18] local.INFO: GPS data processed {"connection_id":151867,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:48:18] local.INFO: Acknowledgment sent {"connection_id":151867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:48:36] local.INFO: TCP Data received {"connection_id":151868,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:36] local.INFO: Processing buffer {"connection_id":151868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:36] local.INFO: IMEI packet received {"connection_id":151868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":151868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:48:40] local.INFO: TCP Data received {"connection_id":151868,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecad4c00012d523600068272f00080007a2f..."} 
[2026-08-10 22:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecad4c00012d523600068272f00080007a2f..."} 
[2026-08-10 22:48:40] local.INFO: Processing buffer {"connection_id":151868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecad4c00012d523600068272f00080007a2f..."} 
[2026-08-10 22:48:40] local.INFO: Packet analysis {"connection_id":151868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecad"} 
[2026-08-10 22:48:40] local.INFO: Extracted packet for processing {"connection_id":151868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecad"} 
[2026-08-10 22:48:40] local.INFO: GPS Element Parsed {"raw_longitude":760362496,"raw_latitude":109212400,"longitude_deg":76.0362496,"latitude_deg":10.92124,"altitude":128,"angle":122,"satellites":47,"speed":58,"hex_longitude":"2d523600","hex_latitude":"068272f0","is_valid_coordinates":true} 
[2026-08-10 22:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313843712001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376657361865015296,"note":"Value kept but may cause issues"} 
[2026-08-10 22:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5915337401022359552,"note":"Value kept but may cause issues"} 
[2026-08-10 22:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786382208000,"timestamp_ms":1786382208000,"timestamp_seconds":1786382208,"priority":1,"record_length":96,"hex_timestamp":"0000019fecad4c00"} 
[2026-08-10 22:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-10 22:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313843712001,"66":27234,"201":206,"19":47872,"24":58,"16":376657361865015296,"45":5915337401022359552},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-08-10 22:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313843712001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:48:40] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 22:48:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376657361865015296,"km_value":376657361865015.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5915337401022359552,"description":"Unknown IO ID 45"} 
[2026-08-10 22:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313843712001,"power":27234,"unknown_201":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":5915337401022359552}} 
[2026-08-10 22:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":151868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:48:40] local.INFO: GPS data processed {"connection_id":151868,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:48:40] local.INFO: Acknowledgment sent {"connection_id":151868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:48:41] local.INFO: TCP Data received {"connection_id":152238,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:48:41] local.INFO: Processing buffer {"connection_id":152238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:48:41] local.INFO: IMEI packet received {"connection_id":152238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":152238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:48:42] local.INFO: TCP Data received {"connection_id":151868,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecad6758012d52574006825ce80081007d2f..."} 
[2026-08-10 22:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecad6758012d52574006825ce80081007d2f..."} 
[2026-08-10 22:48:42] local.INFO: Processing buffer {"connection_id":151868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecad6758012d52574006825ce80081007d2f..."} 
[2026-08-10 22:48:42] local.INFO: Packet analysis {"connection_id":151868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecad"} 
[2026-08-10 22:48:42] local.INFO: Extracted packet for processing {"connection_id":151868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecad"} 
[2026-08-10 22:48:42] local.INFO: GPS Element Parsed {"raw_longitude":760371008,"raw_latitude":109206760,"longitude_deg":76.0371008,"latitude_deg":10.920676,"altitude":129,"angle":125,"satellites":47,"speed":55,"hex_longitude":"2d525740","hex_latitude":"06825ce8","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313845248001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376657851491287040,"note":"Value kept but may cause issues"} 
[2026-08-10 22:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5923922387810840576,"note":"Value kept but may cause issues"} 
[2026-08-10 22:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786382215000,"timestamp_ms":1786382215000,"timestamp_seconds":1786382215,"priority":1,"record_length":96,"hex_timestamp":"0000019fecad6758"} 
[2026-08-10 22:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 22:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313845248001,"66":27332,"201":206,"19":47872,"24":55,"16":376657851491287040,"45":5923922387810840576},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-08-10 22:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313845248001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:48:42] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 22:48:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376657851491287040,"km_value":376657851491287.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5923922387810840576,"description":"Unknown IO ID 45"} 
[2026-08-10 22:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313845248001,"power":27332,"unknown_201":206,"unknown_19":47872,"ignition":55,"odometer":null,"unknown_45":5923922387810840576}} 
[2026-08-10 22:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":151868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:48:42] local.INFO: GPS data processed {"connection_id":151868,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:48:42] local.INFO: Acknowledgment sent {"connection_id":151868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:48:46] local.INFO: TCP Data received {"connection_id":152238,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:48:46] local.INFO: Processing buffer {"connection_id":152238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:48:46] local.INFO: IMEI packet received {"connection_id":152238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":152238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:48:47] local.INFO: TCP Data received {"connection_id":152238,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:48:47] local.INFO: Processing buffer {"connection_id":152238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:48:47] local.INFO: Packet analysis {"connection_id":152238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:48:47] local.INFO: Extracted packet for processing {"connection_id":152238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313742592001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786382108000,"timestamp_ms":1786382108000,"timestamp_seconds":1786382108,"priority":1,"record_length":96,"hex_timestamp":"0000019fecabc560"} 
[2026-08-10 22:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313742592001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313742592001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:48:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313742592001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":152238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:48:47] local.INFO: GPS data processed {"connection_id":152238,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:48:47] local.INFO: Acknowledgment sent {"connection_id":152238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:48:56] local.INFO: TCP Data received {"connection_id":152239,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:56] local.INFO: Processing buffer {"connection_id":152239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:56] local.INFO: IMEI packet received {"connection_id":152239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":152239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:48:57] local.INFO: TCP Data received {"connection_id":152239,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:57] local.INFO: Processing buffer {"connection_id":152239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:48:57] local.INFO: IMEI packet received {"connection_id":152239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":152239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:49:02] local.INFO: TCP Data received {"connection_id":152239,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:49:02] local.INFO: Processing buffer {"connection_id":152239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:49:02] local.INFO: IMEI packet received {"connection_id":152239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":152239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:49:03] local.INFO: TCP Data received {"connection_id":152239,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecad82b0012d527400068247600083008031..."} 
[2026-08-10 22:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecad82b0012d527400068247600083008031..."} 
[2026-08-10 22:49:03] local.INFO: Processing buffer {"connection_id":152239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecad82b0012d527400068247600083008031..."} 
[2026-08-10 22:49:03] local.INFO: Packet analysis {"connection_id":152239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecad"} 
[2026-08-10 22:49:03] local.INFO: Extracted packet for processing {"connection_id":152239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecad"} 
[2026-08-10 22:49:03] local.INFO: GPS Element Parsed {"raw_longitude":760378368,"raw_latitude":109201248,"longitude_deg":76.0378368,"latitude_deg":10.9201248,"altitude":131,"angle":128,"satellites":49,"speed":49,"hex_longitude":"2d527400","hex_latitude":"06824760","is_valid_coordinates":true} 
[2026-08-10 22:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313847040001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376658293872918528,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5933281430785026048,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786382222000,"timestamp_ms":1786382222000,"timestamp_seconds":1786382222,"priority":1,"record_length":96,"hex_timestamp":"0000019fecad82b0"} 
[2026-08-10 22:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 22:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313847040001,"66":27365,"201":206,"19":47872,"24":49,"16":376658293872918528,"45":5933281430785026048},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-08-10 22:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313847040001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:49:03] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-10 22:49:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376658293872918528,"km_value":376658293872918.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5933281430785026048,"description":"Unknown IO ID 45"} 
[2026-08-10 22:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313847040001,"power":27365,"unknown_201":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":5933281430785026048}} 
[2026-08-10 22:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":152239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:49:03] local.INFO: GPS data processed {"connection_id":152239,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:49:03] local.INFO: Acknowledgment sent {"connection_id":152239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:49:19] local.INFO: TCP Data received {"connection_id":152238,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:49:19] local.INFO: Processing buffer {"connection_id":152238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:49:19] local.INFO: Packet analysis {"connection_id":152238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:49:19] local.INFO: Extracted packet for processing {"connection_id":152238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313742592001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786382108000,"timestamp_ms":1786382108000,"timestamp_seconds":1786382108,"priority":1,"record_length":96,"hex_timestamp":"0000019fecabc560"} 
[2026-08-10 22:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313742592001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313742592001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:49:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313742592001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":152238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:49:19] local.INFO: GPS data processed {"connection_id":152238,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:49:19] local.INFO: Acknowledgment sent {"connection_id":152238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:49:36] local.INFO: TCP Data received {"connection_id":152239,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecaf0950012d53fb400680de80006b00852e..."} 
[2026-08-10 22:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecaf0950012d53fb400680de80006b00852e..."} 
[2026-08-10 22:49:36] local.INFO: Processing buffer {"connection_id":152239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecaf0950012d53fb400680de80006b00852e..."} 
[2026-08-10 22:49:36] local.INFO: Packet analysis {"connection_id":152239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecaf"} 
[2026-08-10 22:49:36] local.INFO: Extracted packet for processing {"connection_id":152239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecaf"} 
[2026-08-10 22:49:36] local.INFO: GPS Element Parsed {"raw_longitude":760478528,"raw_latitude":109108864,"longitude_deg":76.0478528,"latitude_deg":10.9108864,"altitude":107,"angle":133,"satellites":46,"speed":62,"hex_longitude":"2d53fb40","hex_latitude":"0680de80","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313872896001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376664835108110336,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6043760359120580608,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786382322000,"timestamp_ms":1786382322000,"timestamp_seconds":1786382322,"priority":1,"record_length":96,"hex_timestamp":"0000019fecaf0950"} 
[2026-08-10 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-08-10 22:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 22:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 22:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313872896001,"66":27213,"4":206,"19":47872,"24":62,"16":376664835108110336,"45":6043760359120580608},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-08-10 22:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313872896001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:49:36] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-08-10 22:49:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376664835108110336,"km_value":376664835108110.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6043760359120580608,"description":"Unknown IO ID 45"} 
[2026-08-10 22:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313872896001,"power":27213,"unknown_4":206,"unknown_19":47872,"ignition":62,"odometer":null,"unknown_45":6043760359120580608}} 
[2026-08-10 22:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":152239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:49:36] local.INFO: GPS data processed {"connection_id":152239,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:49:36] local.INFO: Acknowledgment sent {"connection_id":152239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:49:46] local.INFO: TCP Data received {"connection_id":151869,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:49:46] local.INFO: Processing buffer {"connection_id":151869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:49:46] local.INFO: IMEI packet received {"connection_id":151869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":151869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:49:51] local.INFO: TCP Data received {"connection_id":151869,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:49:51] local.INFO: Processing buffer {"connection_id":151869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:49:51] local.INFO: IMEI packet received {"connection_id":151869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":151869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:49:52] local.INFO: TCP Data received {"connection_id":151869,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:49:52] local.INFO: Processing buffer {"connection_id":151869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:49:52] local.INFO: Packet analysis {"connection_id":151869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:49:52] local.INFO: Extracted packet for processing {"connection_id":151869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:49:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313742592001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786382108000,"timestamp_ms":1786382108000,"timestamp_seconds":1786382108,"priority":1,"record_length":96,"hex_timestamp":"0000019fecabc560"} 
[2026-08-10 22:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313742592001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313742592001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:49:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:49:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313742592001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":151869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:49:52] local.INFO: GPS data processed {"connection_id":151869,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:49:52] local.INFO: Acknowledgment sent {"connection_id":151869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:49:56] local.INFO: TCP Data received {"connection_id":151869,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:49:56] local.INFO: Processing buffer {"connection_id":151869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:49:56] local.INFO: Packet analysis {"connection_id":151869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:49:56] local.INFO: Extracted packet for processing {"connection_id":151869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313742592001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786382108000,"timestamp_ms":1786382108000,"timestamp_seconds":1786382108,"priority":1,"record_length":96,"hex_timestamp":"0000019fecabc560"} 
[2026-08-10 22:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313742592001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313742592001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:49:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:49:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313742592001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":151869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:49:56] local.INFO: GPS data processed {"connection_id":151869,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:49:56] local.INFO: Acknowledgment sent {"connection_id":151869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:49:57] local.INFO: TCP Data received {"connection_id":154588,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:49:57] local.INFO: Processing buffer {"connection_id":154588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:49:57] local.INFO: IMEI packet received {"connection_id":154588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":154588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:50:04] local.INFO: TCP Data received {"connection_id":154588,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:50:04] local.INFO: Processing buffer {"connection_id":154588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:50:04] local.INFO: IMEI packet received {"connection_id":154588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":154588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:50:05] local.INFO: TCP Data received {"connection_id":154588,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecaf20c0012d5416800680c680006600822c..."} 
[2026-08-10 22:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecaf20c0012d5416800680c680006600822c..."} 
[2026-08-10 22:50:05] local.INFO: Processing buffer {"connection_id":154588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecaf20c0012d5416800680c680006600822c..."} 
[2026-08-10 22:50:05] local.INFO: Packet analysis {"connection_id":154588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecaf"} 
[2026-08-10 22:50:05] local.INFO: Extracted packet for processing {"connection_id":154588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecaf"} 
[2026-08-10 22:50:05] local.INFO: GPS Element Parsed {"raw_longitude":760485504,"raw_latitude":109102720,"longitude_deg":76.0485504,"latitude_deg":10.910272,"altitude":102,"angle":130,"satellites":44,"speed":60,"hex_longitude":"2d541680","hex_latitude":"0680c680","is_valid_coordinates":true} 
[2026-08-10 22:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313874432001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376665281784709120,"note":"Value kept but may cause issues"} 
[2026-08-10 22:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6051500920978440192,"note":"Value kept but may cause issues"} 
[2026-08-10 22:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786382328000,"timestamp_ms":1786382328000,"timestamp_seconds":1786382328,"priority":1,"record_length":96,"hex_timestamp":"0000019fecaf20c0"} 
[2026-08-10 22:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 22:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313874432001,"66":27213,"4":206,"19":47872,"24":60,"16":376665281784709120,"45":6051500920978440192},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-08-10 22:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313874432001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:50:05] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-08-10 22:50:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376665281784709120,"km_value":376665281784709.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6051500920978440192,"description":"Unknown IO ID 45"} 
[2026-08-10 22:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313874432001,"power":27213,"unknown_4":206,"unknown_19":47872,"ignition":60,"odometer":null,"unknown_45":6051500920978440192}} 
[2026-08-10 22:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":154588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:50:05] local.INFO: GPS data processed {"connection_id":154588,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:50:05] local.INFO: Acknowledgment sent {"connection_id":154588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:50:36] local.INFO: TCP Data received {"connection_id":154588,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecaf3830012d5432000680b0b80062007e28..."} 
[2026-08-10 22:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecaf3830012d5432000680b0b80062007e28..."} 
[2026-08-10 22:50:36] local.INFO: Processing buffer {"connection_id":154588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecaf3830012d5432000680b0b80062007e28..."} 
[2026-08-10 22:50:36] local.INFO: Packet analysis {"connection_id":154588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecaf"} 
[2026-08-10 22:50:36] local.INFO: Extracted packet for processing {"connection_id":154588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecaf"} 
[2026-08-10 22:50:36] local.INFO: GPS Element Parsed {"raw_longitude":760492544,"raw_latitude":109097144,"longitude_deg":76.0492544,"latitude_deg":10.9097144,"altitude":98,"angle":126,"satellites":40,"speed":58,"hex_longitude":"2d543200","hex_latitude":"0680b0b8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313875968001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376665711281438720,"note":"Value kept but may cause issues"} 
[2026-08-10 22:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6059171114092232704,"note":"Value kept but may cause issues"} 
[2026-08-10 22:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786382334000,"timestamp_ms":1786382334000,"timestamp_seconds":1786382334,"priority":1,"record_length":96,"hex_timestamp":"0000019fecaf3830"} 
[2026-08-10 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-08-10 22:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 22:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 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-08-10 22:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313875968001,"66":27376,"4":206,"19":47872,"24":58,"16":376665711281438720,"45":6059171114092232704},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-08-10 22:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313875968001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:50:36] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-08-10 22:50:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376665711281438720,"km_value":376665711281438.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6059171114092232704,"description":"Unknown IO ID 45"} 
[2026-08-10 22:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313875968001,"power":27376,"unknown_4":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":6059171114092232704}} 
[2026-08-10 22:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":154588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:50:36] local.INFO: GPS data processed {"connection_id":154588,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:50:36] local.INFO: Acknowledgment sent {"connection_id":154588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:50:41] local.INFO: TCP Data received {"connection_id":151870,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:50:41] local.INFO: Processing buffer {"connection_id":151870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:50:41] local.INFO: IMEI packet received {"connection_id":151870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":151870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:50:46] local.INFO: TCP Data received {"connection_id":151870,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:50:46] local.INFO: Processing buffer {"connection_id":151870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:50:46] local.INFO: IMEI packet received {"connection_id":151870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":151870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:50:47] local.INFO: TCP Data received {"connection_id":151870,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:50:47] local.INFO: Processing buffer {"connection_id":151870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecabc560012d196580071ff038003f014227..."} 
[2026-08-10 22:50:47] local.INFO: Packet analysis {"connection_id":151870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:50:47] local.INFO: Extracted packet for processing {"connection_id":151870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecab"} 
[2026-08-10 22:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313742592001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786382108000,"timestamp_ms":1786382108000,"timestamp_seconds":1786382108,"priority":1,"record_length":96,"hex_timestamp":"0000019fecabc560"} 
[2026-08-10 22:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313742592001,"66":2177,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313742592001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:50:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:50:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313742592001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":151870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:50:47] local.INFO: GPS data processed {"connection_id":151870,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:50:47] local.INFO: Acknowledgment sent {"connection_id":151870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:50:59] local.INFO: TCP Data received {"connection_id":153184,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:50:59] local.INFO: Processing buffer {"connection_id":153184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:50:59] local.INFO: IMEI packet received {"connection_id":153184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":153184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:50:59] local.INFO: TCP Data received {"connection_id":153184,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:51:00] local.INFO: Processing buffer {"connection_id":153184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:51:00] local.INFO: IMEI packet received {"connection_id":153184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":153184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:51:03] local.INFO: TCP Data received {"connection_id":153184,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:51:03] local.INFO: Processing buffer {"connection_id":153184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:51:03] local.INFO: IMEI packet received {"connection_id":153184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":153184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:51:04] local.INFO: TCP Data received {"connection_id":153184,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb02290012d550a00067f7778002f00a030..."} 
[2026-08-10 22:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb02290012d550a00067f7778002f00a030..."} 
[2026-08-10 22:51:04] local.INFO: Processing buffer {"connection_id":153184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb02290012d550a00067f7778002f00a030..."} 
[2026-08-10 22:51:04] local.INFO: Packet analysis {"connection_id":153184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:51:04] local.INFO: Extracted packet for processing {"connection_id":153184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:51:04] local.INFO: GPS Element Parsed {"raw_longitude":760547840,"raw_latitude":109016952,"longitude_deg":76.054784,"latitude_deg":10.9016952,"altitude":47,"angle":160,"satellites":48,"speed":66,"hex_longitude":"2d550a00","hex_latitude":"067f7778","is_valid_coordinates":true} 
[2026-08-10 22:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313891328001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376670491580039168,"note":"Value kept but may cause issues"} 
[2026-08-10 22:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6123558514995265536,"note":"Value kept but may cause issues"} 
[2026-08-10 22:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786382394000,"timestamp_ms":1786382394000,"timestamp_seconds":1786382394,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb02290"} 
[2026-08-10 22:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 22:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313891328001,"66":27245,"3":206,"19":47872,"24":66,"16":376670491580039168,"45":6123558514995265536},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-08-10 22:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313891328001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:51:04] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-10 22:51:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376670491580039168,"km_value":376670491580039.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6123558514995265536,"description":"Unknown IO ID 45"} 
[2026-08-10 22:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313891328001,"power":27245,"unknown_3":206,"unknown_19":47872,"ignition":66,"odometer":null,"unknown_45":6123558514995265536}} 
[2026-08-10 22:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":153184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:51:04] local.INFO: GPS data processed {"connection_id":153184,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:51:04] local.INFO: Acknowledgment sent {"connection_id":153184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:51:18] local.INFO: TCP Data received {"connection_id":151870,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:51:18] local.INFO: Processing buffer {"connection_id":151870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:51:18] local.INFO: Packet analysis {"connection_id":151870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:51:18] local.INFO: Extracted packet for processing {"connection_id":151870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313819648001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786382409000,"timestamp_ms":1786382409000,"timestamp_seconds":1786382409,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb05d28"} 
[2026-08-10 22:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 22:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313819648001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313819648001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:51:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313819648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":151870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:51:18] local.INFO: GPS data processed {"connection_id":151870,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:51:18] local.INFO: Acknowledgment sent {"connection_id":151870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:51:35] local.INFO: TCP Data received {"connection_id":153184,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb03a00012d551680067f5338002c00a132..."} 
[2026-08-10 22:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb03a00012d551680067f5338002c00a132..."} 
[2026-08-10 22:51:35] local.INFO: Processing buffer {"connection_id":153184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb03a00012d551680067f5338002c00a132..."} 
[2026-08-10 22:51:35] local.INFO: Packet analysis {"connection_id":153184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:51:35] local.INFO: Extracted packet for processing {"connection_id":153184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:51:35] local.INFO: GPS Element Parsed {"raw_longitude":760551040,"raw_latitude":109007672,"longitude_deg":76.055104,"latitude_deg":10.9007672,"altitude":44,"angle":161,"satellites":50,"speed":64,"hex_longitude":"2d551680","hex_latitude":"067f5338","is_valid_coordinates":true} 
[2026-08-10 22:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313892864001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376670964026441728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6127710270899320832,"note":"Value kept but may cause issues"} 
[2026-08-10 22:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786382400000,"timestamp_ms":1786382400000,"timestamp_seconds":1786382400,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb03a00"} 
[2026-08-10 22:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 22:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313892864001,"66":27180,"3":206,"19":47872,"24":64,"16":376670964026441728,"45":6127710270899320832},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-08-10 22:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313892864001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:51:35] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-10 22:51:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376670964026441728,"km_value":376670964026441.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6127710270899320832,"description":"Unknown IO ID 45"} 
[2026-08-10 22:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313892864001,"power":27180,"unknown_3":206,"unknown_19":47872,"ignition":64,"odometer":null,"unknown_45":6127710270899320832}} 
[2026-08-10 22:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":153184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:51:35] local.INFO: GPS data processed {"connection_id":153184,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:51:35] local.INFO: Acknowledgment sent {"connection_id":153184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:51:41] local.INFO: TCP Data received {"connection_id":154589,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:51:41] local.INFO: Processing buffer {"connection_id":154589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:51:41] local.INFO: IMEI packet received {"connection_id":154589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":154589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:51:46] local.INFO: TCP Data received {"connection_id":154589,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:51:46] local.INFO: Processing buffer {"connection_id":154589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:51:46] local.INFO: IMEI packet received {"connection_id":154589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":154589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:51:47] local.INFO: TCP Data received {"connection_id":154589,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:51:47] local.INFO: Processing buffer {"connection_id":154589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:51:47] local.INFO: Packet analysis {"connection_id":154589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:51:47] local.INFO: Extracted packet for processing {"connection_id":154589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:51:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313819648001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786382409000,"timestamp_ms":1786382409000,"timestamp_seconds":1786382409,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb05d28"} 
[2026-08-10 22:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 22:51: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-08-10 22:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313819648001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313819648001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:51:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:51:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313819648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":154589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:51:47] local.INFO: GPS data processed {"connection_id":154589,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:51:47] local.INFO: Acknowledgment sent {"connection_id":154589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:51:57] local.INFO: TCP Data received {"connection_id":151871,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:51:57] local.INFO: Processing buffer {"connection_id":151871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:51:57] local.INFO: IMEI packet received {"connection_id":151871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":151871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:52:02] local.INFO: TCP Data received {"connection_id":151871,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:52:02] local.INFO: Processing buffer {"connection_id":151871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:52:02] local.INFO: IMEI packet received {"connection_id":151871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":151871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:52:03] local.INFO: TCP Data received {"connection_id":151871,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:52:03] local.INFO: Processing buffer {"connection_id":151871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:52:03] local.INFO: IMEI packet received {"connection_id":151871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":151871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:52:04] local.INFO: TCP Data received {"connection_id":151871,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb13bd0012d55a680067ddf080017009a31..."} 
[2026-08-10 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb13bd0012d55a680067ddf080017009a31..."} 
[2026-08-10 22:52:04] local.INFO: Processing buffer {"connection_id":151871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb13bd0012d55a680067ddf080017009a31..."} 
[2026-08-10 22:52:04] local.INFO: Packet analysis {"connection_id":151871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb1"} 
[2026-08-10 22:52:04] local.INFO: Extracted packet for processing {"connection_id":151871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb1"} 
[2026-08-10 22:52:04] local.INFO: GPS Element Parsed {"raw_longitude":760587904,"raw_latitude":108912392,"longitude_deg":76.0587904,"latitude_deg":10.8912392,"altitude":23,"angle":154,"satellites":49,"speed":62,"hex_longitude":"2d55a680","hex_latitude":"067ddf08","is_valid_coordinates":true} 
[2026-08-10 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313909760001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376675954778439680,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6167398242590980096,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786382466000,"timestamp_ms":1786382466000,"timestamp_seconds":1786382466,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb13bd0"} 
[2026-08-10 22:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 22:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313909760001,"66":27234,"1":206,"19":47872,"24":62,"16":376675954778439680,"45":6167398242590980096},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-08-10 22:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313909760001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:52:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376675954778439680,"km_value":376675954778439.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6167398242590980096,"description":"Unknown IO ID 45"} 
[2026-08-10 22:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313909760001,"power":27234,"imei":206,"unknown_19":47872,"ignition":62,"odometer":null,"unknown_45":6167398242590980096}} 
[2026-08-10 22:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":151871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:52:04] local.INFO: GPS data processed {"connection_id":151871,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:52:04] local.INFO: Acknowledgment sent {"connection_id":151871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:52:09] local.INFO: TCP Data received {"connection_id":151871,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb15340012d55b7c0067dbe780016009631..."} 
[2026-08-10 22:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb15340012d55b7c0067dbe780016009631..."} 
[2026-08-10 22:52:09] local.INFO: Processing buffer {"connection_id":151871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb15340012d55b7c0067dbe780016009631..."} 
[2026-08-10 22:52:09] local.INFO: Packet analysis {"connection_id":151871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb1"} 
[2026-08-10 22:52:09] local.INFO: Extracted packet for processing {"connection_id":151871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb1"} 
[2026-08-10 22:52:09] local.INFO: GPS Element Parsed {"raw_longitude":760592320,"raw_latitude":108904056,"longitude_deg":76.059232,"latitude_deg":10.8904056,"altitude":22,"angle":150,"satellites":49,"speed":62,"hex_longitude":"2d55b7c0","hex_latitude":"067dbe78","is_valid_coordinates":true} 
[2026-08-10 22:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313911296001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376676410044973056,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6171761104727771136,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786382472000,"timestamp_ms":1786382472000,"timestamp_seconds":1786382472,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb15340"} 
[2026-08-10 22:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 22:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313911296001,"66":27365,"1":206,"19":47872,"24":62,"16":376676410044973056,"45":6171761104727771136},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-08-10 22:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313911296001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:52:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376676410044973056,"km_value":376676410044973.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6171761104727771136,"description":"Unknown IO ID 45"} 
[2026-08-10 22:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313911296001,"power":27365,"imei":206,"unknown_19":47872,"ignition":62,"odometer":null,"unknown_45":6171761104727771136}} 
[2026-08-10 22:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":151871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:52:09] local.INFO: GPS data processed {"connection_id":151871,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:52:09] local.INFO: Acknowledgment sent {"connection_id":151871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:52:18] local.INFO: TCP Data received {"connection_id":154589,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:52:18] local.INFO: Processing buffer {"connection_id":154589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:52:18] local.INFO: Packet analysis {"connection_id":154589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:52:18] local.INFO: Extracted packet for processing {"connection_id":154589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313819648001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786382409000,"timestamp_ms":1786382409000,"timestamp_seconds":1786382409,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb05d28"} 
[2026-08-10 22:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:52: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 22:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313819648001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313819648001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:52:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313819648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":154589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:52:18] local.INFO: GPS data processed {"connection_id":154589,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:52:18] local.INFO: Acknowledgment sent {"connection_id":154589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:52:41] local.INFO: TCP Data received {"connection_id":152240,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:52:41] local.INFO: Processing buffer {"connection_id":152240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:52:41] local.INFO: IMEI packet received {"connection_id":152240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":152240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:52:45] local.INFO: TCP Data received {"connection_id":151871,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb16ab0012d55cb80067d9f980015009130..."} 
[2026-08-10 22:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb16ab0012d55cb80067d9f980015009130..."} 
[2026-08-10 22:52:45] local.INFO: Processing buffer {"connection_id":151871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb16ab0012d55cb80067d9f980015009130..."} 
[2026-08-10 22:52:45] local.INFO: Packet analysis {"connection_id":151871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb1"} 
[2026-08-10 22:52:45] local.INFO: Extracted packet for processing {"connection_id":151871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb1"} 
[2026-08-10 22:52:45] local.INFO: GPS Element Parsed {"raw_longitude":760597376,"raw_latitude":108896152,"longitude_deg":76.0597376,"latitude_deg":10.8896152,"altitude":21,"angle":145,"satellites":48,"speed":61,"hex_longitude":"2d55cb80","hex_latitude":"067d9f98","is_valid_coordinates":true} 
[2026-08-10 22:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313912832001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376676861016539136,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6176616548073895936,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786382478000,"timestamp_ms":1786382478000,"timestamp_seconds":1786382478,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb16ab0"} 
[2026-08-10 22:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 22:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313912832001,"66":27245,"1":206,"19":47872,"24":61,"16":376676861016539136,"45":6176616548073895936},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-08-10 22:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313912832001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:52:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376676861016539136,"km_value":376676861016539.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6176616548073895936,"description":"Unknown IO ID 45"} 
[2026-08-10 22:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313912832001,"power":27245,"imei":206,"unknown_19":47872,"ignition":61,"odometer":null,"unknown_45":6176616548073895936}} 
[2026-08-10 22:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":151871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:52:45] local.INFO: GPS data processed {"connection_id":151871,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:52:45] local.INFO: Acknowledgment sent {"connection_id":151871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:52:46] local.INFO: TCP Data received {"connection_id":152240,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:52:46] local.INFO: Processing buffer {"connection_id":152240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:52:46] local.INFO: IMEI packet received {"connection_id":152240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":152240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:52:47] local.INFO: TCP Data received {"connection_id":152240,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:52:47] local.INFO: Processing buffer {"connection_id":152240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:52:47] local.INFO: Packet analysis {"connection_id":152240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:52:47] local.INFO: Extracted packet for processing {"connection_id":152240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313819648001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786382409000,"timestamp_ms":1786382409000,"timestamp_seconds":1786382409,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb05d28"} 
[2026-08-10 22:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 22:52: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-08-10 22:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313819648001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313819648001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:52:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:52:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313819648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":152240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:52:47] local.INFO: GPS data processed {"connection_id":152240,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:52:47] local.INFO: Acknowledgment sent {"connection_id":152240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:52:59] local.INFO: TCP Data received {"connection_id":153185,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:52:59] local.INFO: Processing buffer {"connection_id":153185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:52:59] local.INFO: IMEI packet received {"connection_id":153185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":153185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:53:03] local.INFO: TCP Data received {"connection_id":153185,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:03] local.INFO: Processing buffer {"connection_id":153185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:03] local.INFO: IMEI packet received {"connection_id":153185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":153185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:53:06] local.INFO: TCP Data received {"connection_id":153185,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:06] local.INFO: Processing buffer {"connection_id":153185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:06] local.INFO: IMEI packet received {"connection_id":153185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":153185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:53:07] local.INFO: TCP Data received {"connection_id":153185,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb18220012d55e100067d82500013008e31..."} 
[2026-08-10 22:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb18220012d55e100067d82500013008e31..."} 
[2026-08-10 22:53:07] local.INFO: Processing buffer {"connection_id":153185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb18220012d55e100067d82500013008e31..."} 
[2026-08-10 22:53:07] local.INFO: Packet analysis {"connection_id":153185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb1"} 
[2026-08-10 22:53:07] local.INFO: Extracted packet for processing {"connection_id":153185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb1"} 
[2026-08-10 22:53:07] local.INFO: GPS Element Parsed {"raw_longitude":760602880,"raw_latitude":108888656,"longitude_deg":76.060288,"latitude_deg":10.8888656,"altitude":19,"angle":142,"satellites":49,"speed":61,"hex_longitude":"2d55e100","hex_latitude":"067d8250","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313914368001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376677307693137920,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6182175678861907968,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786382484000,"timestamp_ms":1786382484000,"timestamp_seconds":1786382484,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb18220"} 
[2026-08-10 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-08-10 22:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 22:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 22:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313914368001,"66":27267,"1":206,"19":47872,"24":61,"16":376677307693137920,"45":6182175678861907968},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-08-10 22:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313914368001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:53:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376677307693137920,"km_value":376677307693137.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6182175678861907968,"description":"Unknown IO ID 45"} 
[2026-08-10 22:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313914368001,"power":27267,"imei":206,"unknown_19":47872,"ignition":61,"odometer":null,"unknown_45":6182175678861907968}} 
[2026-08-10 22:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":153185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:53:07] local.INFO: GPS data processed {"connection_id":153185,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:53:07] local.INFO: Acknowledgment sent {"connection_id":153185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:53:09] local.INFO: TCP Data received {"connection_id":153185,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb19990012d55f7c0067d66a80013008a32..."} 
[2026-08-10 22:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb19990012d55f7c0067d66a80013008a32..."} 
[2026-08-10 22:53:09] local.INFO: Processing buffer {"connection_id":153185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb19990012d55f7c0067d66a80013008a32..."} 
[2026-08-10 22:53:09] local.INFO: Packet analysis {"connection_id":153185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb1"} 
[2026-08-10 22:53:09] local.INFO: Extracted packet for processing {"connection_id":153185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb1"} 
[2026-08-10 22:53:09] local.INFO: GPS Element Parsed {"raw_longitude":760608704,"raw_latitude":108881576,"longitude_deg":76.0608704,"latitude_deg":10.8881576,"altitude":19,"angle":138,"satellites":50,"speed":59,"hex_longitude":"2d55f7c0","hex_latitude":"067d66a8","is_valid_coordinates":true} 
[2026-08-10 22:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313915904001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376677750074769408,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6188227390859268096,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786382490000,"timestamp_ms":1786382490000,"timestamp_seconds":1786382490,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb19990"} 
[2026-08-10 22:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 22:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313915904001,"66":27332,"1":206,"19":47872,"24":59,"16":376677750074769408,"45":6188227390859268096},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-08-10 22:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313915904001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:53:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376677750074769408,"km_value":376677750074769.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6188227390859268096,"description":"Unknown IO ID 45"} 
[2026-08-10 22:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313915904001,"power":27332,"imei":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":6188227390859268096}} 
[2026-08-10 22:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":153185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:53:09] local.INFO: GPS data processed {"connection_id":153185,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:53:09] local.INFO: Acknowledgment sent {"connection_id":153185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:53:18] local.INFO: TCP Data received {"connection_id":152240,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:53:18] local.INFO: Processing buffer {"connection_id":152240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:53:18] local.INFO: Packet analysis {"connection_id":152240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:53:18] local.INFO: Extracted packet for processing {"connection_id":152240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313819648001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786382409000,"timestamp_ms":1786382409000,"timestamp_seconds":1786382409,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb05d28"} 
[2026-08-10 22:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":129,"data_length":795,"current_offset":136} 
[2026-08-10 22:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313819648001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313819648001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:53:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:53:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313819648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":152240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:53:18] local.INFO: GPS data processed {"connection_id":152240,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:53:18] local.INFO: Acknowledgment sent {"connection_id":152240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:53:40] local.INFO: TCP Data received {"connection_id":153185,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb1b4e8012d5613c0067d49e80014008731..."} 
[2026-08-10 22:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb1b4e8012d5613c0067d49e80014008731..."} 
[2026-08-10 22:53:40] local.INFO: Processing buffer {"connection_id":153185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb1b4e8012d5613c0067d49e80014008731..."} 
[2026-08-10 22:53:40] local.INFO: Packet analysis {"connection_id":153185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb1"} 
[2026-08-10 22:53:40] local.INFO: Extracted packet for processing {"connection_id":153185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb1"} 
[2026-08-10 22:53:40] local.INFO: GPS Element Parsed {"raw_longitude":760615872,"raw_latitude":108874216,"longitude_deg":76.0615872,"latitude_deg":10.8874216,"altitude":20,"angle":135,"satellites":49,"speed":54,"hex_longitude":"2d5613c0","hex_latitude":"067d49e8","is_valid_coordinates":true} 
[2026-08-10 22:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313917440001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376678243996008448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6194630946577623040,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786382497000,"timestamp_ms":1786382497000,"timestamp_seconds":1786382497,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb1b4e8"} 
[2026-08-10 22:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 22:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313917440001,"66":26691,"1":206,"19":47872,"24":54,"16":376678243996008448,"45":6194630946577623040},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-08-10 22:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313917440001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:53:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376678243996008448,"km_value":376678243996008.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6194630946577623040,"description":"Unknown IO ID 45"} 
[2026-08-10 22:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313917440001,"power":26691,"imei":206,"unknown_19":47872,"ignition":54,"odometer":null,"unknown_45":6194630946577623040}} 
[2026-08-10 22:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":153185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:53:40] local.INFO: GPS data processed {"connection_id":153185,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:53:40] local.INFO: Acknowledgment sent {"connection_id":153185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:53:46] local.INFO: TCP Data received {"connection_id":151872,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:53:46] local.INFO: Processing buffer {"connection_id":151872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:53:46] local.INFO: IMEI packet received {"connection_id":151872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":151872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:53:51] local.INFO: TCP Data received {"connection_id":151872,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:53:51] local.INFO: Processing buffer {"connection_id":151872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:53:51] local.INFO: IMEI packet received {"connection_id":151872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":151872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:53:52] local.INFO: TCP Data received {"connection_id":151872,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:53:52] local.INFO: Processing buffer {"connection_id":151872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:53:52] local.INFO: Packet analysis {"connection_id":151872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:53:52] local.INFO: Extracted packet for processing {"connection_id":151872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313819648001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786382409000,"timestamp_ms":1786382409000,"timestamp_seconds":1786382409,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb05d28"} 
[2026-08-10 22:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 22:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313819648001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313819648001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:53:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:53:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313819648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":151872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:53:52] local.INFO: GPS data processed {"connection_id":151872,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:53:52] local.INFO: Acknowledgment sent {"connection_id":151872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:53:56] local.INFO: TCP Data received {"connection_id":151872,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:53:56] local.INFO: Processing buffer {"connection_id":151872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:53:56] local.INFO: Packet analysis {"connection_id":151872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:53:56] local.INFO: Extracted packet for processing {"connection_id":151872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313819648001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786382409000,"timestamp_ms":1786382409000,"timestamp_seconds":1786382409,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb05d28"} 
[2026-08-10 22:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 22:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313819648001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313819648001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:53:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:53:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313819648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":151872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:53:56] local.INFO: GPS data processed {"connection_id":151872,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:53:56] local.INFO: Acknowledgment sent {"connection_id":151872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:53:57] local.INFO: TCP Data received {"connection_id":153186,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:57] local.INFO: Processing buffer {"connection_id":153186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:57] local.INFO: IMEI packet received {"connection_id":153186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":153186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:53:58] local.INFO: TCP Data received {"connection_id":153186,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:58] local.INFO: Processing buffer {"connection_id":153186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:58] local.INFO: IMEI packet received {"connection_id":153186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":153186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:53:58] local.INFO: TCP Data received {"connection_id":153186,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:58] local.INFO: Processing buffer {"connection_id":153186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:53:58] local.INFO: IMEI packet received {"connection_id":153186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":153186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:54:01] local.INFO: TCP Data received {"connection_id":153186,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:54:01] local.INFO: Processing buffer {"connection_id":153186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:54:01] local.INFO: IMEI packet received {"connection_id":153186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":153186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:54:03] local.INFO: TCP Data received {"connection_id":153186,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb300f0012d5713c0067c23a8001d00a831..."} 
[2026-08-10 22:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb300f0012d5713c0067c23a8001d00a831..."} 
[2026-08-10 22:54:03] local.INFO: Processing buffer {"connection_id":153186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb300f0012d5713c0067c23a8001d00a831..."} 
[2026-08-10 22:54:03] local.INFO: Packet analysis {"connection_id":153186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:54:03] local.INFO: Extracted packet for processing {"connection_id":153186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:54:03] local.INFO: GPS Element Parsed {"raw_longitude":760681408,"raw_latitude":108798888,"longitude_deg":76.0681408,"latitude_deg":10.8798888,"altitude":29,"angle":168,"satellites":49,"speed":41,"hex_longitude":"2d5713c0","hex_latitude":"067c23a8","is_valid_coordinates":true} 
[2026-08-10 22:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313938688001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376683110193954816,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6271684721433245696,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786382582000,"timestamp_ms":1786382582000,"timestamp_seconds":1786382582,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb300f0"} 
[2026-08-10 22:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 22:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":153186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":153186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":153186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313938688001,"66":27300,"53":206,"19":47872,"24":41,"16":376683110193954816,"45":6271684721433245696},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-08-10 22:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313938688001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:54:03] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-10 22:54:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376683110193954816,"km_value":376683110193954.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6271684721433245696,"description":"Unknown IO ID 45"} 
[2026-08-10 22:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313938688001,"power":27300,"unknown_53":206,"unknown_19":47872,"ignition":41,"odometer":null,"unknown_45":6271684721433245696}} 
[2026-08-10 22:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":153186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:54:03] local.INFO: GPS data processed {"connection_id":153186,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:54:03] local.INFO: Acknowledgment sent {"connection_id":153186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:54:04] local.INFO: TCP Data received {"connection_id":153186,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb300f0012d5713c0067c23a8001d00a831..."} 
[2026-08-10 22:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb300f0012d5713c0067c23a8001d00a831..."} 
[2026-08-10 22:54:04] local.INFO: Processing buffer {"connection_id":153186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb300f0012d5713c0067c23a8001d00a831..."} 
[2026-08-10 22:54:04] local.INFO: Packet analysis {"connection_id":153186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:54:04] local.INFO: Extracted packet for processing {"connection_id":153186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:54:04] local.INFO: GPS Element Parsed {"raw_longitude":760681408,"raw_latitude":108798888,"longitude_deg":76.0681408,"latitude_deg":10.8798888,"altitude":29,"angle":168,"satellites":49,"speed":41,"hex_longitude":"2d5713c0","hex_latitude":"067c23a8","is_valid_coordinates":true} 
[2026-08-10 22:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313940992001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376683110193954816,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6274569839942281216,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786382582000,"timestamp_ms":1786382582000,"timestamp_seconds":1786382582,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb300f0"} 
[2026-08-10 22:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313940992001,"66":27300,"53":206,"19":47872,"24":41,"16":376683110193954816,"45":6274569839942281216},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-08-10 22:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313940992001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:54:04] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-10 22:54:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376683110193954816,"km_value":376683110193954.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6274569839942281216,"description":"Unknown IO ID 45"} 
[2026-08-10 22:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313940992001,"power":27300,"unknown_53":206,"unknown_19":47872,"ignition":41,"odometer":null,"unknown_45":6274569839942281216}} 
[2026-08-10 22:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":153186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:54:04] local.INFO: GPS data processed {"connection_id":153186,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:54:04] local.INFO: Acknowledgment sent {"connection_id":153186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:54:06] local.INFO: TCP Data received {"connection_id":153186,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb32418012d571940067bfea8001e00aa31..."} 
[2026-08-10 22:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb32418012d571940067bfea8001e00aa31..."} 
[2026-08-10 22:54:06] local.INFO: Processing buffer {"connection_id":153186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb32418012d571940067bfea8001e00aa31..."} 
[2026-08-10 22:54:06] local.INFO: Packet analysis {"connection_id":153186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:54:06] local.INFO: Extracted packet for processing {"connection_id":153186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:54:06] local.INFO: GPS Element Parsed {"raw_longitude":760682816,"raw_latitude":108789416,"longitude_deg":76.0682816,"latitude_deg":10.8789416,"altitude":30,"angle":170,"satellites":49,"speed":44,"hex_longitude":"2d571940","hex_latitude":"067bfea8","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313940992001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376683574050422784,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6274569839942281216,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786382591000,"timestamp_ms":1786382591000,"timestamp_seconds":1786382591,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb32418"} 
[2026-08-10 22:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313940992001,"66":27343,"14":206,"19":47872,"24":44,"16":376683574050422784,"45":6274569839942281216},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-08-10 22:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313940992001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:54:06] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-10 22:54:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376683574050422784,"km_value":376683574050422.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6274569839942281216,"description":"Unknown IO ID 45"} 
[2026-08-10 22:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313940992001,"power":27343,"unknown_14":206,"unknown_19":47872,"ignition":44,"odometer":null,"unknown_45":6274569839942281216}} 
[2026-08-10 22:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":153186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:54:06] local.INFO: GPS data processed {"connection_id":153186,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:54:06] local.INFO: Acknowledgment sent {"connection_id":153186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:54:39] local.INFO: TCP Data received {"connection_id":153186,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb34358012d571bc0067bdac8001e00b730..."} 
[2026-08-10 22:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb34358012d571bc0067bdac8001e00b730..."} 
[2026-08-10 22:54:39] local.INFO: Processing buffer {"connection_id":153186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb34358012d571bc0067bdac8001e00b730..."} 
[2026-08-10 22:54:39] local.INFO: Packet analysis {"connection_id":153186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:54:39] local.INFO: Extracted packet for processing {"connection_id":153186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:54:39] local.INFO: GPS Element Parsed {"raw_longitude":760683456,"raw_latitude":108780232,"longitude_deg":76.0683456,"latitude_deg":10.8780232,"altitude":30,"angle":183,"satellites":48,"speed":46,"hex_longitude":"2d571bc0","hex_latitude":"067bdac8","is_valid_coordinates":true} 
[2026-08-10 22:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313943296001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376684020727021568,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6276117952311764992,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786382599000,"timestamp_ms":1786382599000,"timestamp_seconds":1786382599,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb34358"} 
[2026-08-10 22:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 22:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313943296001,"66":27332,"14":206,"19":47872,"24":46,"16":376684020727021568,"45":6276117952311764992},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-08-10 22:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313943296001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:54:39] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-10 22:54:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376684020727021568,"km_value":376684020727021.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6276117952311764992,"description":"Unknown IO ID 45"} 
[2026-08-10 22:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313943296001,"power":27332,"unknown_14":206,"unknown_19":47872,"ignition":46,"odometer":null,"unknown_45":6276117952311764992}} 
[2026-08-10 22:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":153186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:54:39] local.INFO: GPS data processed {"connection_id":153186,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:54:39] local.INFO: Acknowledgment sent {"connection_id":153186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:54:41] local.INFO: TCP Data received {"connection_id":153187,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:54:41] local.INFO: Processing buffer {"connection_id":153187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:54:41] local.INFO: IMEI packet received {"connection_id":153187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":153187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:54:46] local.INFO: TCP Data received {"connection_id":153187,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:54:46] local.INFO: Processing buffer {"connection_id":153187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:54:46] local.INFO: IMEI packet received {"connection_id":153187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":153187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:54:47] local.INFO: TCP Data received {"connection_id":153187,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:54:47] local.INFO: Processing buffer {"connection_id":153187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:54:47] local.INFO: Packet analysis {"connection_id":153187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:54:47] local.INFO: Extracted packet for processing {"connection_id":153187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313819648001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786382409000,"timestamp_ms":1786382409000,"timestamp_seconds":1786382409,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb05d28"} 
[2026-08-10 22:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 22:54: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-08-10 22:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313819648001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313819648001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:54:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:54:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313819648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":153187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:54:47] local.INFO: GPS data processed {"connection_id":153187,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:54:47] local.INFO: Acknowledgment sent {"connection_id":153187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:54:58] local.INFO: TCP Data received {"connection_id":152241,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:54:58] local.INFO: Processing buffer {"connection_id":152241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:54:58] local.INFO: IMEI packet received {"connection_id":152241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":152241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:54:59] local.INFO: TCP Data received {"connection_id":152241,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:54:59] local.INFO: Processing buffer {"connection_id":152241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:54:59] local.INFO: IMEI packet received {"connection_id":152241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":152241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:55:03] local.INFO: TCP Data received {"connection_id":152241,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:55:03] local.INFO: Processing buffer {"connection_id":152241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:55:03] local.INFO: IMEI packet received {"connection_id":152241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":152241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:55:06] local.INFO: TCP Data received {"connection_id":152241,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb34358012d571bc0067bdac8001e00b730..."} 
[2026-08-10 22:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb34358012d571bc0067bdac8001e00b730..."} 
[2026-08-10 22:55:06] local.INFO: Processing buffer {"connection_id":152241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb34358012d571bc0067bdac8001e00b730..."} 
[2026-08-10 22:55:06] local.INFO: Packet analysis {"connection_id":152241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:55:06] local.INFO: Extracted packet for processing {"connection_id":152241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:55:06] local.INFO: GPS Element Parsed {"raw_longitude":760683456,"raw_latitude":108780232,"longitude_deg":76.0683456,"latitude_deg":10.8780232,"altitude":30,"angle":183,"satellites":48,"speed":46,"hex_longitude":"2d571bc0","hex_latitude":"067bdac8","is_valid_coordinates":true} 
[2026-08-10 22:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313945344001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376684020727021568,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6276821639751190528,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786382599000,"timestamp_ms":1786382599000,"timestamp_seconds":1786382599,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb34358"} 
[2026-08-10 22:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 22:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313945344001,"66":27332,"14":206,"19":47872,"24":46,"16":376684020727021568,"45":6276821639751190528},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-08-10 22:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313945344001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:55:06] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-10 22:55:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376684020727021568,"km_value":376684020727021.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6276821639751190528,"description":"Unknown IO ID 45"} 
[2026-08-10 22:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313945344001,"power":27332,"unknown_14":206,"unknown_19":47872,"ignition":46,"odometer":null,"unknown_45":6276821639751190528}} 
[2026-08-10 22:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":152241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:55:06] local.INFO: GPS data processed {"connection_id":152241,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:55:06] local.INFO: Acknowledgment sent {"connection_id":152241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:55:06] local.INFO: TCP Data received {"connection_id":152241,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb352f8012d5718c0067bc880001f00c231..."} 
[2026-08-10 22:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb352f8012d5718c0067bc880001f00c231..."} 
[2026-08-10 22:55:06] local.INFO: Processing buffer {"connection_id":152241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb352f8012d5718c0067bc880001f00c231..."} 
[2026-08-10 22:55:06] local.INFO: Packet analysis {"connection_id":152241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:55:06] local.INFO: Extracted packet for processing {"connection_id":152241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:55:06] local.INFO: GPS Element Parsed {"raw_longitude":760682688,"raw_latitude":108775552,"longitude_deg":76.0682688,"latitude_deg":10.8775552,"altitude":31,"angle":194,"satellites":49,"speed":47,"hex_longitude":"2d5718c0","hex_latitude":"067bc880","is_valid_coordinates":true} 
[2026-08-10 22:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313945344001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376684252655255552,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6276821639751190528,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786382603000,"timestamp_ms":1786382603000,"timestamp_seconds":1786382603,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb352f8"} 
[2026-08-10 22:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 22:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313945344001,"66":27158,"13":206,"19":47872,"24":47,"16":376684252655255552,"45":6276821639751190528},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-08-10 22:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313945344001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:55:06] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-10 22:55:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376684252655255552,"km_value":376684252655255.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6276821639751190528,"description":"Unknown IO ID 45"} 
[2026-08-10 22:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313945344001,"power":27158,"unknown_13":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":6276821639751190528}} 
[2026-08-10 22:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":152241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:55:07] local.INFO: GPS data processed {"connection_id":152241,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:55:07] local.INFO: Acknowledgment sent {"connection_id":152241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:55:08] local.INFO: TCP Data received {"connection_id":152241,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb36680012d571040067bb280001f00d031..."} 
[2026-08-10 22:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb36680012d571040067bb280001f00d031..."} 
[2026-08-10 22:55:08] local.INFO: Processing buffer {"connection_id":152241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb36680012d571040067bb280001f00d031..."} 
[2026-08-10 22:55:08] local.INFO: Packet analysis {"connection_id":152241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:55:08] local.INFO: Extracted packet for processing {"connection_id":152241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb3"} 
[2026-08-10 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":760680512,"raw_latitude":108769920,"longitude_deg":76.0680512,"latitude_deg":10.876992,"altitude":31,"angle":208,"satellites":49,"speed":47,"hex_longitude":"2d571040","hex_latitude":"067bb280","is_valid_coordinates":true} 
[2026-08-10 22:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313946368001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376684544713031680,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6275977214819860480,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786382608000,"timestamp_ms":1786382608000,"timestamp_seconds":1786382608,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb36680"} 
[2026-08-10 22:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-10 22:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313946368001,"66":27213,"13":206,"19":47872,"24":47,"16":376684544713031680,"45":6275977214819860480},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-08-10 22:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313946368001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:55:08] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-10 22:55:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376684544713031680,"km_value":376684544713031.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6275977214819860480,"description":"Unknown IO ID 45"} 
[2026-08-10 22:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313946368001,"power":27213,"unknown_13":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":6275977214819860480}} 
[2026-08-10 22:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":152241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:55:08] local.INFO: GPS data processed {"connection_id":152241,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:55:08] local.INFO: Acknowledgment sent {"connection_id":152241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:55:18] local.INFO: TCP Data received {"connection_id":153187,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:55:18] local.INFO: Processing buffer {"connection_id":153187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:55:18] local.INFO: Packet analysis {"connection_id":153187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:55:18] local.INFO: Extracted packet for processing {"connection_id":153187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313819648001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786382409000,"timestamp_ms":1786382409000,"timestamp_seconds":1786382409,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb05d28"} 
[2026-08-10 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-08-10 22:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 22:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 22:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313819648001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313819648001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:55:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313819648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":153187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:55:18] local.INFO: GPS data processed {"connection_id":153187,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:55:18] local.INFO: Acknowledgment sent {"connection_id":153187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:55:40] local.INFO: TCP Data received {"connection_id":152241,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb48790012d55c340067b1448001c00fa2d..."} 
[2026-08-10 22:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb48790012d55c340067b1448001c00fa2d..."} 
[2026-08-10 22:55:40] local.INFO: Processing buffer {"connection_id":152241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb48790012d55c340067b1448001c00fa2d..."} 
[2026-08-10 22:55:40] local.INFO: Packet analysis {"connection_id":152241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:55:40] local.INFO: Extracted packet for processing {"connection_id":152241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:55:40] local.INFO: GPS Element Parsed {"raw_longitude":760595264,"raw_latitude":108729416,"longitude_deg":76.0595264,"latitude_deg":10.8729416,"altitude":28,"angle":250,"satellites":45,"speed":45,"hex_longitude":"2d55c340","hex_latitude":"067b1448","is_valid_coordinates":true} 
[2026-08-10 22: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-08-10 22:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313964544001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376689140328038400,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6189705134446925824,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786382682000,"timestamp_ms":1786382682000,"timestamp_seconds":1786382682,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb48790"} 
[2026-08-10 22:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22: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-08-10 22:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313964544001,"66":27180,"15":206,"19":47872,"24":45,"16":376689140328038400,"45":6189705134446925824},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-08-10 22:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313964544001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:55:40] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-10 22:55:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376689140328038400,"km_value":376689140328038.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6189705134446925824,"description":"Unknown IO ID 45"} 
[2026-08-10 22:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313964544001,"power":27180,"unknown_15":206,"unknown_19":47872,"ignition":45,"odometer":null,"unknown_45":6189705134446925824}} 
[2026-08-10 22:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":152241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:55:40] local.INFO: GPS data processed {"connection_id":152241,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:55:40] local.INFO: Acknowledgment sent {"connection_id":152241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:55:41] local.INFO: TCP Data received {"connection_id":153188,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:55:41] local.INFO: Processing buffer {"connection_id":153188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:55:41] local.INFO: IMEI packet received {"connection_id":153188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":153188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:55:46] local.INFO: TCP Data received {"connection_id":153188,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:55:46] local.INFO: Processing buffer {"connection_id":153188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:55:46] local.INFO: IMEI packet received {"connection_id":153188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":153188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:55:47] local.INFO: TCP Data received {"connection_id":153188,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:55:47] local.INFO: Processing buffer {"connection_id":153188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb05d28012d196580071ff0380043014228..."} 
[2026-08-10 22:55:47] local.INFO: Packet analysis {"connection_id":153188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:55:47] local.INFO: Extracted packet for processing {"connection_id":153188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb0"} 
[2026-08-10 22:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313819648001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786382409000,"timestamp_ms":1786382409000,"timestamp_seconds":1786382409,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb05d28"} 
[2026-08-10 22:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-10 22:55: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-08-10 22:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313819648001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313819648001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:55:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:55:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313819648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":153188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:55:47] local.INFO: GPS data processed {"connection_id":153188,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:55:47] local.INFO: Acknowledgment sent {"connection_id":153188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:55:58] local.INFO: TCP Data received {"connection_id":152242,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:55:58] local.INFO: Processing buffer {"connection_id":152242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:55:58] local.INFO: IMEI packet received {"connection_id":152242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":152242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:56:02] local.INFO: TCP Data received {"connection_id":152242,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:56:02] local.INFO: Processing buffer {"connection_id":152242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:56:02] local.INFO: IMEI packet received {"connection_id":152242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":152242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:56:03] local.INFO: TCP Data received {"connection_id":152242,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4a6d0012d55a1c0067b05b8001d00f12f..."} 
[2026-08-10 22:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4a6d0012d55a1c0067b05b8001d00f12f..."} 
[2026-08-10 22:56:03] local.INFO: Processing buffer {"connection_id":152242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4a6d0012d55a1c0067b05b8001d00f12f..."} 
[2026-08-10 22:56:03] local.INFO: Packet analysis {"connection_id":152242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:56:03] local.INFO: Extracted packet for processing {"connection_id":152242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:56:03] local.INFO: GPS Element Parsed {"raw_longitude":760586688,"raw_latitude":108725688,"longitude_deg":76.0586688,"latitude_deg":10.8725688,"altitude":29,"angle":241,"satellites":47,"speed":46,"hex_longitude":"2d55a1c0","hex_latitude":"067b05b8","is_valid_coordinates":true} 
[2026-08-10 22:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313966592001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376689582709669888,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6179853510261360640,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786382690000,"timestamp_ms":1786382690000,"timestamp_seconds":1786382690,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4a6d0"} 
[2026-08-10 22:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-10 22:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313966592001,"66":27343,"15":206,"19":47872,"24":46,"16":376689582709669888,"45":6179853510261360640},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-08-10 22:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313966592001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:56:03] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-10 22:56:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376689582709669888,"km_value":376689582709669.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6179853510261360640,"description":"Unknown IO ID 45"} 
[2026-08-10 22:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313966592001,"power":27343,"unknown_15":206,"unknown_19":47872,"ignition":46,"odometer":null,"unknown_45":6179853510261360640}} 
[2026-08-10 22:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":152242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:56:03] local.INFO: GPS data processed {"connection_id":152242,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:56:03] local.INFO: Acknowledgment sent {"connection_id":152242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:56:18] local.INFO: TCP Data received {"connection_id":153188,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:56:18] local.INFO: Processing buffer {"connection_id":153188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:56:18] local.INFO: Packet analysis {"connection_id":153188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:56:18] local.INFO: Extracted packet for processing {"connection_id":153188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313896704001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786382710000,"timestamp_ms":1786382710000,"timestamp_seconds":1786382710,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4f4f0"} 
[2026-08-10 22:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313896704001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313896704001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:56:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:56:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313896704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":153188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:56:18] local.INFO: GPS data processed {"connection_id":153188,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:56:18] local.INFO: Acknowledgment sent {"connection_id":153188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:56:35] local.INFO: TCP Data received {"connection_id":152242,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4c610012d558280067af270002000ec2f..."} 
[2026-08-10 22:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4c610012d558280067af270002000ec2f..."} 
[2026-08-10 22:56:35] local.INFO: Processing buffer {"connection_id":152242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4c610012d558280067af270002000ec2f..."} 
[2026-08-10 22:56:35] local.INFO: Packet analysis {"connection_id":152242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:56:35] local.INFO: Extracted packet for processing {"connection_id":152242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:56:35] local.INFO: GPS Element Parsed {"raw_longitude":760578688,"raw_latitude":108720752,"longitude_deg":76.0578688,"latitude_deg":10.8720752,"altitude":32,"angle":236,"satellites":47,"speed":45,"hex_longitude":"2d558280","hex_latitude":"067af270","is_valid_coordinates":true} 
[2026-08-10 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-08-10 22:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313968640001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376690033681235968,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6170424098540599296,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786382698000,"timestamp_ms":1786382698000,"timestamp_seconds":1786382698,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4c610"} 
[2026-08-10 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-08-10 22:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 22:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 22:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313968640001,"66":27365,"15":206,"19":47872,"24":45,"16":376690033681235968,"45":6170424098540599296},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-08-10 22:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313968640001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:56:35] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-10 22:56:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376690033681235968,"km_value":376690033681235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6170424098540599296,"description":"Unknown IO ID 45"} 
[2026-08-10 22:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313968640001,"power":27365,"unknown_15":206,"unknown_19":47872,"ignition":45,"odometer":null,"unknown_45":6170424098540599296}} 
[2026-08-10 22:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":152242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:56:35] local.INFO: GPS data processed {"connection_id":152242,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:56:35] local.INFO: Acknowledgment sent {"connection_id":152242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:56:46] local.INFO: TCP Data received {"connection_id":154590,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:56:46] local.INFO: Processing buffer {"connection_id":154590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:56:46] local.INFO: IMEI packet received {"connection_id":154590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":154590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:56:51] local.INFO: TCP Data received {"connection_id":154590,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:56:51] local.INFO: Processing buffer {"connection_id":154590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:56:51] local.INFO: IMEI packet received {"connection_id":154590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":154590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:56:52] local.INFO: TCP Data received {"connection_id":154590,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:56:52] local.INFO: Processing buffer {"connection_id":154590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:56:52] local.INFO: Packet analysis {"connection_id":154590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:56:52] local.INFO: Extracted packet for processing {"connection_id":154590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:56:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313896704001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786382710000,"timestamp_ms":1786382710000,"timestamp_seconds":1786382710,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4f4f0"} 
[2026-08-10 22:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313896704001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313896704001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:56:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:56:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313896704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":154590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:56:52] local.INFO: GPS data processed {"connection_id":154590,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:56:52] local.INFO: Acknowledgment sent {"connection_id":154590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:56:56] local.INFO: TCP Data received {"connection_id":154590,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:56:56] local.INFO: Processing buffer {"connection_id":154590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:56:56] local.INFO: Packet analysis {"connection_id":154590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:56:56] local.INFO: Extracted packet for processing {"connection_id":154590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:56:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313896704001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786382710000,"timestamp_ms":1786382710000,"timestamp_seconds":1786382710,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4f4f0"} 
[2026-08-10 22:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313896704001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313896704001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:56:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:56:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313896704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":154590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:56:56] local.INFO: GPS data processed {"connection_id":154590,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:56:56] local.INFO: Acknowledgment sent {"connection_id":154590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:56:57] local.INFO: TCP Data received {"connection_id":153189,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:56:57] local.INFO: Processing buffer {"connection_id":153189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:56:57] local.INFO: IMEI packet received {"connection_id":153189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":153189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:56:57] local.INFO: TCP Data received {"connection_id":153189,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:56:57] local.INFO: Processing buffer {"connection_id":153189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:56:57] local.INFO: IMEI packet received {"connection_id":153189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":153189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:57:03] local.INFO: TCP Data received {"connection_id":153189,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:57:03] local.INFO: Processing buffer {"connection_id":153189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:57:03] local.INFO: IMEI packet received {"connection_id":153189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":153189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:57:04] local.INFO: TCP Data received {"connection_id":153189,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4e550012d556400067ade38002200ec30..."} 
[2026-08-10 22:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4e550012d556400067ade38002200ec30..."} 
[2026-08-10 22:57:04] local.INFO: Processing buffer {"connection_id":153189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4e550012d556400067ade38002200ec30..."} 
[2026-08-10 22:57:04] local.INFO: Packet analysis {"connection_id":153189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:57:04] local.INFO: Extracted packet for processing {"connection_id":153189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:57:04] local.INFO: GPS Element Parsed {"raw_longitude":760570880,"raw_latitude":108715576,"longitude_deg":76.057088,"latitude_deg":10.8715576,"altitude":34,"angle":236,"satellites":48,"speed":45,"hex_longitude":"2d556400","hex_latitude":"067ade38","is_valid_coordinates":true} 
[2026-08-10 22:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313970688001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376690484652802048,"note":"Value kept but may cause issues"} 
[2026-08-10 22:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6161628005517127680,"note":"Value kept but may cause issues"} 
[2026-08-10 22:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786382706000,"timestamp_ms":1786382706000,"timestamp_seconds":1786382706,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4e550"} 
[2026-08-10 22:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 22:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313970688001,"66":27234,"15":206,"19":47872,"24":45,"16":376690484652802048,"45":6161628005517127680},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-08-10 22:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313970688001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:57:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-10 22:57:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376690484652802048,"km_value":376690484652802.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6161628005517127680,"description":"Unknown IO ID 45"} 
[2026-08-10 22:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313970688001,"power":27234,"unknown_15":206,"unknown_19":47872,"ignition":45,"odometer":null,"unknown_45":6161628005517127680}} 
[2026-08-10 22:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":153189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:57:04] local.INFO: GPS data processed {"connection_id":153189,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:57:04] local.INFO: Acknowledgment sent {"connection_id":153189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:57:37] local.INFO: TCP Data received {"connection_id":153189,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb50490012d554700067acab0002500ec31..."} 
[2026-08-10 22:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb50490012d554700067acab0002500ec31..."} 
[2026-08-10 22:57:37] local.INFO: Processing buffer {"connection_id":153189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb50490012d554700067acab0002500ec31..."} 
[2026-08-10 22:57:37] local.INFO: Packet analysis {"connection_id":153189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb5"} 
[2026-08-10 22:57:37] local.INFO: Extracted packet for processing {"connection_id":153189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb5"} 
[2026-08-10 22:57:37] local.INFO: GPS Element Parsed {"raw_longitude":760563456,"raw_latitude":108710576,"longitude_deg":76.0563456,"latitude_deg":10.8710576,"altitude":37,"angle":236,"satellites":49,"speed":43,"hex_longitude":"2d554700","hex_latitude":"067acab0","is_valid_coordinates":true} 
[2026-08-10 22:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313972736001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376690914149531648,"note":"Value kept but may cause issues"} 
[2026-08-10 22:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6153043018726127616,"note":"Value kept but may cause issues"} 
[2026-08-10 22:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786382714000,"timestamp_ms":1786382714000,"timestamp_seconds":1786382714,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb50490"} 
[2026-08-10 22:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:57: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-08-10 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 22:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313972736001,"66":27300,"15":206,"19":47872,"24":43,"16":376690914149531648,"45":6153043018726127616},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-08-10 22:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313972736001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:57:37] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-10 22:57:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376690914149531648,"km_value":376690914149531.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6153043018726127616,"description":"Unknown IO ID 45"} 
[2026-08-10 22:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313972736001,"power":27300,"unknown_15":206,"unknown_19":47872,"ignition":43,"odometer":null,"unknown_45":6153043018726127616}} 
[2026-08-10 22:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":153189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:57:37] local.INFO: GPS data processed {"connection_id":153189,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:57:37] local.INFO: Acknowledgment sent {"connection_id":153189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:57:41] local.INFO: TCP Data received {"connection_id":151873,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:57:41] local.INFO: Processing buffer {"connection_id":151873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:57:41] local.INFO: IMEI packet received {"connection_id":151873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":151873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:57:46] local.INFO: TCP Data received {"connection_id":151873,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:57:46] local.INFO: Processing buffer {"connection_id":151873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:57:46] local.INFO: IMEI packet received {"connection_id":151873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":151873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:57:47] local.INFO: TCP Data received {"connection_id":151873,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:57:47] local.INFO: Processing buffer {"connection_id":151873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:57:47] local.INFO: Packet analysis {"connection_id":151873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:57:47] local.INFO: Extracted packet for processing {"connection_id":151873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313896704001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786382710000,"timestamp_ms":1786382710000,"timestamp_seconds":1786382710,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4f4f0"} 
[2026-08-10 22:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313896704001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313896704001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:57:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313896704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":151873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:57:47] local.INFO: GPS data processed {"connection_id":151873,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:57:47] local.INFO: Acknowledgment sent {"connection_id":151873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:57:58] local.INFO: TCP Data received {"connection_id":152243,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:57:58] local.INFO: Processing buffer {"connection_id":152243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:57:58] local.INFO: IMEI packet received {"connection_id":152243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":152243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:58:05] local.INFO: TCP Data received {"connection_id":152243,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:58:05] local.INFO: Processing buffer {"connection_id":152243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:58:05] local.INFO: IMEI packet received {"connection_id":152243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":152243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:58:07] local.INFO: TCP Data received {"connection_id":152243,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:58:07] local.INFO: Processing buffer {"connection_id":152243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:58:07] local.INFO: IMEI packet received {"connection_id":152243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":152243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:58:09] local.INFO: TCP Data received {"connection_id":152243,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb52ba0012d552700067ab5a0002900ec2f..."} 
[2026-08-10 22:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb52ba0012d552700067ab5a0002900ec2f..."} 
[2026-08-10 22:58:09] local.INFO: Processing buffer {"connection_id":152243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb52ba0012d552700067ab5a0002900ec2f..."} 
[2026-08-10 22:58:09] local.INFO: Packet analysis {"connection_id":152243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb5"} 
[2026-08-10 22:58:09] local.INFO: Extracted packet for processing {"connection_id":152243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb5"} 
[2026-08-10 22:58:09] local.INFO: GPS Element Parsed {"raw_longitude":760555264,"raw_latitude":108705184,"longitude_deg":76.0555264,"latitude_deg":10.8705184,"altitude":41,"angle":236,"satellites":47,"speed":35,"hex_longitude":"2d552700","hex_latitude":"067ab5a0","is_valid_coordinates":true} 
[2026-08-10 22:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313974784001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376691382300966912,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6144880244400238592,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786382724000,"timestamp_ms":1786382724000,"timestamp_seconds":1786382724,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb52ba0"} 
[2026-08-10 22:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 22:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313974784001,"66":27104,"15":206,"19":47872,"24":35,"16":376691382300966912,"45":6144880244400238592},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-08-10 22:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313974784001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:58:09] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-10 22:58:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376691382300966912,"km_value":376691382300966.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6144880244400238592,"description":"Unknown IO ID 45"} 
[2026-08-10 22:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313974784001,"power":27104,"unknown_15":206,"unknown_19":47872,"ignition":35,"odometer":null,"unknown_45":6144880244400238592}} 
[2026-08-10 22:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":152243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:58:09] local.INFO: GPS data processed {"connection_id":152243,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:58:09] local.INFO: Acknowledgment sent {"connection_id":152243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:58:10] local.INFO: TCP Data received {"connection_id":152243,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb55698012d550880067aa178002e00ec2f..."} 
[2026-08-10 22:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb55698012d550880067aa178002e00ec2f..."} 
[2026-08-10 22:58:10] local.INFO: Processing buffer {"connection_id":152243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb55698012d550880067aa178002e00ec2f..."} 
[2026-08-10 22:58:10] local.INFO: Packet analysis {"connection_id":152243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb5"} 
[2026-08-10 22:58:10] local.INFO: Extracted packet for processing {"connection_id":152243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb5"} 
[2026-08-10 22:58:10] local.INFO: GPS Element Parsed {"raw_longitude":760547456,"raw_latitude":108700024,"longitude_deg":76.0547456,"latitude_deg":10.8700024,"altitude":46,"angle":236,"satellites":47,"speed":31,"hex_longitude":"2d550880","hex_latitude":"067aa178","is_valid_coordinates":true} 
[2026-08-10 22:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313977344001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376691828977565696,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6135873045144117248,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786382735000,"timestamp_ms":1786382735000,"timestamp_seconds":1786382735,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb55698"} 
[2026-08-10 22:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-10 22:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313977344001,"66":27245,"15":206,"19":47872,"24":31,"16":376691828977565696,"45":6135873045144117248},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-08-10 22:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313977344001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:58:10] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-10 22:58:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376691828977565696,"km_value":376691828977565.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6135873045144117248,"description":"Unknown IO ID 45"} 
[2026-08-10 22:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313977344001,"power":27245,"unknown_15":206,"unknown_19":47872,"ignition":31,"odometer":null,"unknown_45":6135873045144117248}} 
[2026-08-10 22:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":152243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:58:10] local.INFO: GPS data processed {"connection_id":152243,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:58:10] local.INFO: Acknowledgment sent {"connection_id":152243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:58:18] local.INFO: TCP Data received {"connection_id":151873,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:58:18] local.INFO: Processing buffer {"connection_id":151873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:58:18] local.INFO: Packet analysis {"connection_id":151873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:58:18] local.INFO: Extracted packet for processing {"connection_id":151873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313896704001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786382710000,"timestamp_ms":1786382710000,"timestamp_seconds":1786382710,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4f4f0"} 
[2026-08-10 22:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313896704001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313896704001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:58:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313896704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":151873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:58:18] local.INFO: GPS data processed {"connection_id":151873,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:58:18] local.INFO: Acknowledgment sent {"connection_id":151873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:58:41] local.INFO: TCP Data received {"connection_id":153190,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:58:41] local.INFO: Processing buffer {"connection_id":153190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:58:41] local.INFO: IMEI packet received {"connection_id":153190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":153190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:58:46] local.INFO: TCP Data received {"connection_id":153190,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:58:46] local.INFO: Processing buffer {"connection_id":153190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:58:46] local.INFO: IMEI packet received {"connection_id":153190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":153190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:58:47] local.INFO: TCP Data received {"connection_id":153190,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:58:47] local.INFO: Processing buffer {"connection_id":153190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:58:47] local.INFO: Packet analysis {"connection_id":153190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:58:47] local.INFO: Extracted packet for processing {"connection_id":153190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313896704001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786382710000,"timestamp_ms":1786382710000,"timestamp_seconds":1786382710,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4f4f0"} 
[2026-08-10 22:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313896704001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313896704001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:58:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:58:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313896704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":153190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:58:47] local.INFO: GPS data processed {"connection_id":153190,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:58:47] local.INFO: Acknowledgment sent {"connection_id":153190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:58:51] local.INFO: TCP Data received {"connection_id":152243,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb58578012d54eb80067a8dc8003300eb2f..."} 
[2026-08-10 22:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb58578012d54eb80067a8dc8003300eb2f..."} 
[2026-08-10 22:58:51] local.INFO: Processing buffer {"connection_id":152243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb58578012d54eb80067a8dc8003300eb2f..."} 
[2026-08-10 22:58:51] local.INFO: Packet analysis {"connection_id":152243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb5"} 
[2026-08-10 22:58:51] local.INFO: Extracted packet for processing {"connection_id":152243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb5"} 
[2026-08-10 22:58:51] local.INFO: GPS Element Parsed {"raw_longitude":760540032,"raw_latitude":108694984,"longitude_deg":76.0540032,"latitude_deg":10.8694984,"altitude":51,"angle":235,"satellites":47,"speed":28,"hex_longitude":"2d54eb80","hex_latitude":"067a8dc8","is_valid_coordinates":true} 
[2026-08-10 22:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313980160001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376692262769262592,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6127288058353121280,"note":"Value kept but may cause issues"} 
[2026-08-10 22:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786382747000,"timestamp_ms":1786382747000,"timestamp_seconds":1786382747,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb58578"} 
[2026-08-10 22:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 22:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313980160001,"66":27365,"15":206,"19":47872,"24":28,"16":376692262769262592,"45":6127288058353121280},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-08-10 22:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313980160001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:58:51] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-10 22:58:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376692262769262592,"km_value":376692262769262.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6127288058353121280,"description":"Unknown IO ID 45"} 
[2026-08-10 22:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313980160001,"power":27365,"unknown_15":206,"unknown_19":47872,"ignition":28,"odometer":null,"unknown_45":6127288058353121280}} 
[2026-08-10 22:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":152243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:58:51] local.INFO: GPS data processed {"connection_id":152243,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:58:51] local.INFO: Acknowledgment sent {"connection_id":152243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:59:01] local.INFO: TCP Data received {"connection_id":152244,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:59:01] local.INFO: Processing buffer {"connection_id":152244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:59:01] local.INFO: IMEI packet received {"connection_id":152244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 22:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":152244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:59:04] local.INFO: TCP Data received {"connection_id":152244,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:59:04] local.INFO: Processing buffer {"connection_id":152244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:59:04] local.INFO: IMEI packet received {"connection_id":152244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":152244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:59:08] local.INFO: TCP Data received {"connection_id":152244,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:59:08] local.INFO: Processing buffer {"connection_id":152244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 22:59:08] local.INFO: IMEI packet received {"connection_id":152244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 22:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":152244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:59:16] local.INFO: TCP Data received {"connection_id":152244,"ip":"117.224.239.21","data_length":1360,"data_hex":"000000000000030f8e0a0000019fecb5bc28012d54cd40067a79c8003700ec2e..."} 
[2026-08-10 22:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152244,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fecb5bc28012d54cd40067a79c8003700ec2e..."} 
[2026-08-10 22:59:16] local.INFO: Processing buffer {"connection_id":152244,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fecb5bc28012d54cd40067a79c8003700ec2e..."} 
[2026-08-10 22:59:16] local.INFO: Packet analysis {"connection_id":152244,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fecb5"} 
[2026-08-10 22:59:16] local.INFO: Extracted packet for processing {"connection_id":152244,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fecb5"} 
[2026-08-10 22:59:16] local.INFO: GPS Element Parsed {"raw_longitude":760532288,"raw_latitude":108689864,"longitude_deg":76.0532288,"latitude_deg":10.8689864,"altitude":55,"angle":236,"satellites":46,"speed":24,"hex_longitude":"2d54cd40","hex_latitude":"067a79c8","is_valid_coordinates":true} 
[2026-08-10 22:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313983232001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376692705150894080,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6119125284027222016,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786382761000,"timestamp_ms":1786382761000,"timestamp_seconds":1786382761,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb5bc28"} 
[2026-08-10 22:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 22:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 22:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313983232001,"66":27234,"15":206,"19":47872,"24":24,"16":376692705150894080,"45":6119125284027222016},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-08-10 22:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313983232001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:59:16] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-10 22:59:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376692705150894080,"km_value":376692705150894.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6119125284027222016,"description":"Unknown IO ID 45"} 
[2026-08-10 22:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313983232001,"power":27234,"unknown_15":206,"unknown_19":47872,"ignition":24,"odometer":null,"unknown_45":6119125284027222016}} 
[2026-08-10 22:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":152244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:59:16] local.INFO: GPS data processed {"connection_id":152244,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:59:16] local.INFO: Acknowledgment sent {"connection_id":152244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:59:16] local.INFO: Packet analysis {"connection_id":152244,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fecb6"} 
[2026-08-10 22:59:16] local.INFO: Incomplete packet, waiting for more data {"connection_id":152244,"needed":795,"available":565} 
[2026-08-10 22:59:18] local.INFO: TCP Data received {"connection_id":153190,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:59:18] local.INFO: Processing buffer {"connection_id":153190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:59:18] local.INFO: Packet analysis {"connection_id":153190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:59:18] local.INFO: Extracted packet for processing {"connection_id":153190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313896704001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786382710000,"timestamp_ms":1786382710000,"timestamp_seconds":1786382710,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4f4f0"} 
[2026-08-10 22:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313896704001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313896704001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:59:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313896704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":153190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:59:19] local.INFO: GPS data processed {"connection_id":153190,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:59:19] local.INFO: Acknowledgment sent {"connection_id":153190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:59:26] local.INFO: TCP Data received {"connection_id":152244,"ip":"117.224.239.21","data_length":1025,"data_hex":"2d558280067af270002000ec2f002d0000000a000400ef0100715000f0010045..."} 
[2026-08-10 22:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152244,"packet_length":1025,"packet_hex":"2d558280067af270002000ec2f002d0000000a000400ef0100715000f0010045..."} 
[2026-08-10 22:59:26] local.INFO: Processing buffer {"connection_id":152244,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fecb60278012d54ae40067a6608003c00f02e..."} 
[2026-08-10 22:59:26] local.INFO: Packet analysis {"connection_id":152244,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fecb6"} 
[2026-08-10 22:59:26] local.INFO: Extracted packet for processing {"connection_id":152244,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb6"} 
[2026-08-10 22:59:26] local.INFO: GPS Element Parsed {"raw_longitude":760524352,"raw_latitude":108684808,"longitude_deg":76.0524352,"latitude_deg":10.8684808,"altitude":60,"angle":240,"satellites":46,"speed":21,"hex_longitude":"2d54ae40","hex_latitude":"067a6608","is_valid_coordinates":true} 
[2026-08-10 22:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313986816001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376693156122460160,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6110610665980413952,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786382779000,"timestamp_ms":1786382779000,"timestamp_seconds":1786382779,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb60278"} 
[2026-08-10 22:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:59: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-08-10 22:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 22:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313986816001,"66":27332,"15":206,"19":47872,"24":21,"16":376693156122460160,"45":6110610665980413952},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-08-10 22:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313986816001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:59:26] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-10 22:59:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376693156122460160,"km_value":376693156122460.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6110610665980413952,"description":"Unknown IO ID 45"} 
[2026-08-10 22:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313986816001,"power":27332,"unknown_15":206,"unknown_19":47872,"ignition":21,"odometer":null,"unknown_45":6110610665980413952}} 
[2026-08-10 22:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":152244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:59:26] local.INFO: GPS data processed {"connection_id":152244,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:59:26] local.INFO: Acknowledgment sent {"connection_id":152244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:59:26] local.INFO: Packet analysis {"connection_id":152244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb6"} 
[2026-08-10 22:59:26] local.INFO: Extracted packet for processing {"connection_id":152244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb6"} 
[2026-08-10 22:59:26] local.INFO: GPS Element Parsed {"raw_longitude":760515968,"raw_latitude":108681240,"longitude_deg":76.0515968,"latitude_deg":10.868124,"altitude":64,"angle":251,"satellites":45,"speed":23,"hex_longitude":"2d548d80","hex_latitude":"067a5818","is_valid_coordinates":true} 
[2026-08-10 22:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313991424001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376693589914157056,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6101884941701089280,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786382795000,"timestamp_ms":1786382795000,"timestamp_seconds":1786382795,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb640f8"} 
[2026-08-10 22:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:59: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-08-10 22:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 22:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 22:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 22:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 22:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313991424001,"66":27310,"15":206,"19":47872,"24":23,"16":376693589914157056,"45":6101884941701089280},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-08-10 22:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 22:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 22:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313991424001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:59:26] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-10 22:59:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 22:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376693589914157056,"km_value":376693589914157.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6101884941701089280,"description":"Unknown IO ID 45"} 
[2026-08-10 22:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313991424001,"power":27310,"unknown_15":206,"unknown_19":47872,"ignition":23,"odometer":null,"unknown_45":6101884941701089280}} 
[2026-08-10 22:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":152244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:59:26] local.INFO: GPS data processed {"connection_id":152244,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:59:26] local.INFO: Acknowledgment sent {"connection_id":152244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 22:59:41] local.INFO: TCP Data received {"connection_id":152245,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:59:41] local.INFO: Processing buffer {"connection_id":152245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:59:41] local.INFO: IMEI packet received {"connection_id":152245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 22:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":152245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 22:59:46] local.INFO: TCP Data received {"connection_id":152245,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:59:46] local.INFO: Processing buffer {"connection_id":152245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 22:59:46] local.INFO: IMEI packet received {"connection_id":152245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 22:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":152245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 22:59:47] local.INFO: TCP Data received {"connection_id":152245,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:59:47] local.INFO: Processing buffer {"connection_id":152245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 22:59:47] local.INFO: Packet analysis {"connection_id":152245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:59:47] local.INFO: Extracted packet for processing {"connection_id":152245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 22:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 22:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 22:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313896704001,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 22:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 22:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786382710000,"timestamp_ms":1786382710000,"timestamp_seconds":1786382710,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4f4f0"} 
[2026-08-10 22:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 22:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 22:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 22:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 22:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 22:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 22:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 22:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 22:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 22:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 22:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 22:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313896704001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 22:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 22:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 22:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313896704001,"description":"Unknown IO ID 0"} 
[2026-08-10 22:59:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 22:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 22:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 22:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 22:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313896704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 22:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":152245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 22:59:47] local.INFO: GPS data processed {"connection_id":152245,"processed":1,"errors":0,"total":1} 
[2026-08-10 22:59:47] local.INFO: Acknowledgment sent {"connection_id":152245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:00:03] local.INFO: TCP Data received {"connection_id":151874,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:00:03] local.INFO: Processing buffer {"connection_id":151874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:00:03] local.INFO: IMEI packet received {"connection_id":151874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":151874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:00:07] local.INFO: TCP Data received {"connection_id":151874,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:00:07] local.INFO: Processing buffer {"connection_id":151874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:00:07] local.INFO: IMEI packet received {"connection_id":151874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":151874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:00:10] local.INFO: TCP Data received {"connection_id":151874,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb84880012d52fa00067a2c18005600e131..."} 
[2026-08-10 23:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb84880012d52fa00067a2c18005600e131..."} 
[2026-08-10 23:00:10] local.INFO: Processing buffer {"connection_id":151874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb84880012d52fa00067a2c18005600e131..."} 
[2026-08-10 23:00:10] local.INFO: Packet analysis {"connection_id":151874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb8"} 
[2026-08-10 23:00:10] local.INFO: Extracted packet for processing {"connection_id":151874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb8"} 
[2026-08-10 23:00:10] local.INFO: GPS Element Parsed {"raw_longitude":760412672,"raw_latitude":108669976,"longitude_deg":76.0412672,"latitude_deg":10.8669976,"altitude":86,"angle":225,"satellites":49,"speed":48,"hex_longitude":"2d52fa00","hex_latitude":"067a2c18","is_valid_coordinates":true} 
[2026-08-10 23:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314027520001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376698692335304704,"note":"Value kept but may cause issues"} 
[2026-08-10 23:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5987465363666077696,"note":"Value kept but may cause issues"} 
[2026-08-10 23:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786382928000,"timestamp_ms":1786382928000,"timestamp_seconds":1786382928,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb84880"} 
[2026-08-10 23:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 23:00: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-08-10 23:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314027520001,"66":27343,"137":206,"19":47872,"24":48,"16":376698692335304704,"45":5987465363666077696},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-08-10 23:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314027520001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:00:10] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-10 23:00:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 23:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376698692335304704,"km_value":376698692335304.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5987465363666077696,"description":"Unknown IO ID 45"} 
[2026-08-10 23:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314027520001,"power":27343,"unknown_137":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5987465363666077696}} 
[2026-08-10 23:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":151874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:00:10] local.INFO: GPS data processed {"connection_id":151874,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:00:10] local.INFO: Acknowledgment sent {"connection_id":151874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:00:28] local.INFO: TCP Data received {"connection_id":152245,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 23:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 23:00:28] local.INFO: Processing buffer {"connection_id":152245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 23:00:28] local.INFO: Packet analysis {"connection_id":152245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 23:00:28] local.INFO: Extracted packet for processing {"connection_id":152245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 23:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313896704001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786382710000,"timestamp_ms":1786382710000,"timestamp_seconds":1786382710,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4f4f0"} 
[2026-08-10 23:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313896704001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313896704001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:00:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313896704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":152245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:00:28] local.INFO: GPS data processed {"connection_id":152245,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:00:28] local.INFO: Acknowledgment sent {"connection_id":152245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:00:41] local.INFO: TCP Data received {"connection_id":154591,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:00:41] local.INFO: Processing buffer {"connection_id":154591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:00:41] local.INFO: IMEI packet received {"connection_id":154591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":154591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:00:41] local.INFO: TCP Data received {"connection_id":151874,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb867c0012d52de00067a1158005400e230..."} 
[2026-08-10 23:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb867c0012d52de00067a1158005400e230..."} 
[2026-08-10 23:00:41] local.INFO: Processing buffer {"connection_id":151874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb867c0012d52de00067a1158005400e230..."} 
[2026-08-10 23:00:41] local.INFO: Packet analysis {"connection_id":151874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb8"} 
[2026-08-10 23:00:41] local.INFO: Extracted packet for processing {"connection_id":151874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb8"} 
[2026-08-10 23:00:41] local.INFO: GPS Element Parsed {"raw_longitude":760405504,"raw_latitude":108663128,"longitude_deg":76.0405504,"latitude_deg":10.8663128,"altitude":84,"angle":226,"satellites":48,"speed":49,"hex_longitude":"2d52de00","hex_latitude":"067a1158","is_valid_coordinates":true} 
[2026-08-10 23:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314029568001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376699169076674560,"note":"Value kept but may cause issues"} 
[2026-08-10 23:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5979091483107268608,"note":"Value kept but may cause issues"} 
[2026-08-10 23:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786382936000,"timestamp_ms":1786382936000,"timestamp_seconds":1786382936,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb867c0"} 
[2026-08-10 23:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 23:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314029568001,"66":27300,"137":206,"19":47872,"24":49,"16":376699169076674560,"45":5979091483107268608},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-08-10 23:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314029568001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:00:41] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-10 23:00:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 23:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376699169076674560,"km_value":376699169076674.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5979091483107268608,"description":"Unknown IO ID 45"} 
[2026-08-10 23:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314029568001,"power":27300,"unknown_137":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":5979091483107268608}} 
[2026-08-10 23:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":151874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:00:41] local.INFO: GPS data processed {"connection_id":151874,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:00:41] local.INFO: Acknowledgment sent {"connection_id":151874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:00:46] local.INFO: TCP Data received {"connection_id":154591,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:00:46] local.INFO: Processing buffer {"connection_id":154591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:00:46] local.INFO: IMEI packet received {"connection_id":154591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":154591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:00:47] local.INFO: TCP Data received {"connection_id":154591,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 23:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 23:00:47] local.INFO: Processing buffer {"connection_id":154591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb4f4f0012d196580071ff0380043014227..."} 
[2026-08-10 23:00:47] local.INFO: Packet analysis {"connection_id":154591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 23:00:47] local.INFO: Extracted packet for processing {"connection_id":154591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb4"} 
[2026-08-10 23:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313896704001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786382710000,"timestamp_ms":1786382710000,"timestamp_seconds":1786382710,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb4f4f0"} 
[2026-08-10 23:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313896704001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313896704001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:00:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313896704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":154591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:00:47] local.INFO: GPS data processed {"connection_id":154591,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:00:47] local.INFO: Acknowledgment sent {"connection_id":154591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:00:57] local.INFO: TCP Data received {"connection_id":152246,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:00:57] local.INFO: Processing buffer {"connection_id":152246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:00:57] local.INFO: IMEI packet received {"connection_id":152246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":152246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:01:02] local.INFO: TCP Data received {"connection_id":152246,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:01:02] local.INFO: Processing buffer {"connection_id":152246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:01:02] local.INFO: IMEI packet received {"connection_id":152246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":152246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:01:03] local.INFO: TCP Data received {"connection_id":152246,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:01:03] local.INFO: Processing buffer {"connection_id":152246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:01:03] local.INFO: IMEI packet received {"connection_id":152246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":152246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:01:05] local.INFO: TCP Data received {"connection_id":152246,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb88700012d52c2000679f660005300e130..."} 
[2026-08-10 23:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb88700012d52c2000679f660005300e130..."} 
[2026-08-10 23:01:05] local.INFO: Processing buffer {"connection_id":152246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb88700012d52c2000679f660005300e130..."} 
[2026-08-10 23:01:05] local.INFO: Packet analysis {"connection_id":152246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb8"} 
[2026-08-10 23:01:05] local.INFO: Extracted packet for processing {"connection_id":152246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb8"} 
[2026-08-10 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":760398336,"raw_latitude":108656224,"longitude_deg":76.0398336,"latitude_deg":10.8656224,"altitude":83,"angle":225,"satellites":48,"speed":49,"hex_longitude":"2d52c200","hex_latitude":"0679f660","is_valid_coordinates":true} 
[2026-08-10 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314031616001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376699650113011712,"note":"Value kept but may cause issues"} 
[2026-08-10 23:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5971210183757617152,"note":"Value kept but may cause issues"} 
[2026-08-10 23:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786382944000,"timestamp_ms":1786382944000,"timestamp_seconds":1786382944,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb88700"} 
[2026-08-10 23:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 23:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314031616001,"66":27332,"137":206,"19":47872,"24":49,"16":376699650113011712,"45":5971210183757617152},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-08-10 23:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314031616001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:01:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-10 23:01:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 23:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376699650113011712,"km_value":376699650113011.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5971210183757617152,"description":"Unknown IO ID 45"} 
[2026-08-10 23:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314031616001,"power":27332,"unknown_137":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":5971210183757617152}} 
[2026-08-10 23:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":152246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:01:05] local.INFO: GPS data processed {"connection_id":152246,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:01:05] local.INFO: Acknowledgment sent {"connection_id":152246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:01:11] local.INFO: TCP Data received {"connection_id":152246,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb8a640012d52a9000679da30005300d832..."} 
[2026-08-10 23:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb8a640012d52a9000679da30005300d832..."} 
[2026-08-10 23:01:11] local.INFO: Processing buffer {"connection_id":152246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb8a640012d52a9000679da30005300d832..."} 
[2026-08-10 23:01:11] local.INFO: Packet analysis {"connection_id":152246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb8"} 
[2026-08-10 23:01:11] local.INFO: Extracted packet for processing {"connection_id":152246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb8"} 
[2026-08-10 23:01:11] local.INFO: GPS Element Parsed {"raw_longitude":760391936,"raw_latitude":108649008,"longitude_deg":76.0391936,"latitude_deg":10.8649008,"altitude":83,"angle":216,"satellites":50,"speed":45,"hex_longitude":"2d52a900","hex_latitude":"0679da30","is_valid_coordinates":true} 
[2026-08-10 23:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314033664001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376700113969479680,"note":"Value kept but may cause issues"} 
[2026-08-10 23:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963328884407951360,"note":"Value kept but may cause issues"} 
[2026-08-10 23:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786382952000,"timestamp_ms":1786382952000,"timestamp_seconds":1786382952,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb8a640"} 
[2026-08-10 23:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:01: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-08-10 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 23:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314033664001,"66":27332,"137":206,"19":47872,"24":45,"16":376700113969479680,"45":5963328884407951360},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-08-10 23:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314033664001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:01:11] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-10 23:01:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 23:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376700113969479680,"km_value":376700113969479.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963328884407951360,"description":"Unknown IO ID 45"} 
[2026-08-10 23:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314033664001,"power":27332,"unknown_137":206,"unknown_19":47872,"ignition":45,"odometer":null,"unknown_45":5963328884407951360}} 
[2026-08-10 23:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":152246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:01:11] local.INFO: GPS data processed {"connection_id":152246,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:01:11] local.INFO: Acknowledgment sent {"connection_id":152246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:01:18] local.INFO: TCP Data received {"connection_id":154591,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:01:18] local.INFO: Processing buffer {"connection_id":154591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:01:18] local.INFO: Packet analysis {"connection_id":154591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:01:18] local.INFO: Extracted packet for processing {"connection_id":154591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313973760001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383011000,"timestamp_ms":1786383011000,"timestamp_seconds":1786383011,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb98cb8"} 
[2026-08-10 23:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:01: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313973760001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313973760001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:01:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:01:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313973760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":154591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:01:18] local.INFO: GPS data processed {"connection_id":154591,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:01:18] local.INFO: Acknowledgment sent {"connection_id":154591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:01:41] local.INFO: TCP Data received {"connection_id":153191,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:01:41] local.INFO: Processing buffer {"connection_id":153191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:01:41] local.INFO: IMEI packet received {"connection_id":153191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":153191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:01:46] local.INFO: TCP Data received {"connection_id":153191,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:01:46] local.INFO: Processing buffer {"connection_id":153191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:01:46] local.INFO: IMEI packet received {"connection_id":153191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":153191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:01:47] local.INFO: TCP Data received {"connection_id":153191,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:01:47] local.INFO: Processing buffer {"connection_id":153191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:01:47] local.INFO: Packet analysis {"connection_id":153191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:01:47] local.INFO: Extracted packet for processing {"connection_id":153191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313973760001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383011000,"timestamp_ms":1786383011000,"timestamp_seconds":1786383011,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb98cb8"} 
[2026-08-10 23:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313973760001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313973760001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:01:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313973760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":153191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:01:47] local.INFO: GPS data processed {"connection_id":153191,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:01:47] local.INFO: Acknowledgment sent {"connection_id":153191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:01:57] local.INFO: TCP Data received {"connection_id":154592,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:01:57] local.INFO: Processing buffer {"connection_id":154592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:01:57] local.INFO: IMEI packet received {"connection_id":154592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":154592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:02:03] local.INFO: TCP Data received {"connection_id":154592,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:02:03] local.INFO: Processing buffer {"connection_id":154592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:02:03] local.INFO: IMEI packet received {"connection_id":154592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":154592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:02:05] local.INFO: TCP Data received {"connection_id":154592,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecba4068012d522e400677f758003a00ce2b..."} 
[2026-08-10 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecba4068012d522e400677f758003a00ce2b..."} 
[2026-08-10 23:02:05] local.INFO: Processing buffer {"connection_id":154592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecba4068012d522e400677f758003a00ce2b..."} 
[2026-08-10 23:02:05] local.INFO: Packet analysis {"connection_id":154592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecba"} 
[2026-08-10 23:02:05] local.INFO: Extracted packet for processing {"connection_id":154592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecba"} 
[2026-08-10 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":760360512,"raw_latitude":108525400,"longitude_deg":76.0360512,"latitude_deg":10.85254,"altitude":58,"angle":206,"satellites":43,"speed":50,"hex_longitude":"2d522e40","hex_latitude":"0677f758","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314061312001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376706341672058880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5924344600101588992,"note":"Value kept but may cause issues"} 
[2026-08-10 23:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786383057000,"timestamp_ms":1786383057000,"timestamp_seconds":1786383057,"priority":1,"record_length":96,"hex_timestamp":"0000019fecba4068"} 
[2026-08-10 23:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 23:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314061312001,"66":27300,"138":206,"19":47872,"24":50,"16":376706341672058880,"45":5924344600101588992},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-08-10 23:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314061312001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:02:05] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-10 23:02:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 23:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376706341672058880,"km_value":376706341672058.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5924344600101588992,"description":"Unknown IO ID 45"} 
[2026-08-10 23:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314061312001,"power":27300,"unknown_138":206,"unknown_19":47872,"ignition":50,"odometer":null,"unknown_45":5924344600101588992}} 
[2026-08-10 23:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":154592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:02:05] local.INFO: GPS data processed {"connection_id":154592,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:02:05] local.INFO: Acknowledgment sent {"connection_id":154592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:02:18] local.INFO: TCP Data received {"connection_id":153191,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:02:18] local.INFO: Processing buffer {"connection_id":153191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:02:18] local.INFO: Packet analysis {"connection_id":153191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:02:18] local.INFO: Extracted packet for processing {"connection_id":153191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313973760001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383011000,"timestamp_ms":1786383011000,"timestamp_seconds":1786383011,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb98cb8"} 
[2026-08-10 23:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313973760001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313973760001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:02:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313973760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":153191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:02:18] local.INFO: GPS data processed {"connection_id":153191,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:02:18] local.INFO: Acknowledgment sent {"connection_id":153191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:02:37] local.INFO: TCP Data received {"connection_id":154592,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecba5bc0012d521b000677d980003500db28..."} 
[2026-08-10 23:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecba5bc0012d521b000677d980003500db28..."} 
[2026-08-10 23:02:37] local.INFO: Processing buffer {"connection_id":154592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecba5bc0012d521b000677d980003500db28..."} 
[2026-08-10 23:02:37] local.INFO: Packet analysis {"connection_id":154592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecba"} 
[2026-08-10 23:02:37] local.INFO: Extracted packet for processing {"connection_id":154592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecba"} 
[2026-08-10 23:02:37] local.INFO: GPS Element Parsed {"raw_longitude":760355584,"raw_latitude":108517760,"longitude_deg":76.0355584,"latitude_deg":10.851776,"altitude":53,"angle":219,"satellites":40,"speed":51,"hex_longitude":"2d521b00","hex_latitude":"0677d980","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314062592001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376706779758723072,"note":"Value kept but may cause issues"} 
[2026-08-10 23:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5921740956565460992,"note":"Value kept but may cause issues"} 
[2026-08-10 23:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786383064000,"timestamp_ms":1786383064000,"timestamp_seconds":1786383064,"priority":1,"record_length":96,"hex_timestamp":"0000019fecba5bc0"} 
[2026-08-10 23:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:02: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-08-10 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 23:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23: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-08-10 23:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314062592001,"66":27300,"138":206,"19":47872,"24":51,"16":376706779758723072,"45":5921740956565460992},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-08-10 23:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314062592001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:02:37] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-10 23:02:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 23:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376706779758723072,"km_value":376706779758723.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5921740956565460992,"description":"Unknown IO ID 45"} 
[2026-08-10 23:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314062592001,"power":27300,"unknown_138":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":5921740956565460992}} 
[2026-08-10 23:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":154592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:02:37] local.INFO: GPS data processed {"connection_id":154592,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:02:37] local.INFO: Acknowledgment sent {"connection_id":154592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:02:41] local.INFO: TCP Data received {"connection_id":151875,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:02:41] local.INFO: Processing buffer {"connection_id":151875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:02:41] local.INFO: IMEI packet received {"connection_id":151875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":151875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:02:46] local.INFO: TCP Data received {"connection_id":151875,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:02:46] local.INFO: Processing buffer {"connection_id":151875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:02:46] local.INFO: IMEI packet received {"connection_id":151875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":151875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:02:47] local.INFO: TCP Data received {"connection_id":151875,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:02:47] local.INFO: Processing buffer {"connection_id":151875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:02:47] local.INFO: Packet analysis {"connection_id":151875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:02:47] local.INFO: Extracted packet for processing {"connection_id":151875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313973760001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383011000,"timestamp_ms":1786383011000,"timestamp_seconds":1786383011,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb98cb8"} 
[2026-08-10 23:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313973760001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313973760001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:02:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:02:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313973760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":151875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:02:47] local.INFO: GPS data processed {"connection_id":151875,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:02:47] local.INFO: Acknowledgment sent {"connection_id":151875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:03:03] local.INFO: TCP Data received {"connection_id":152247,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:03:03] local.INFO: Processing buffer {"connection_id":152247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:03:03] local.INFO: IMEI packet received {"connection_id":152247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":152247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:03:04] local.INFO: TCP Data received {"connection_id":152247,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:03:04] local.INFO: Processing buffer {"connection_id":152247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:03:04] local.INFO: IMEI packet received {"connection_id":152247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":152247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:03:05] local.INFO: TCP Data received {"connection_id":152247,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecbb6178012d515a400676b5d0001900ca32..."} 
[2026-08-10 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecbb6178012d515a400676b5d0001900ca32..."} 
[2026-08-10 23:03:05] local.INFO: Processing buffer {"connection_id":152247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecbb6178012d515a400676b5d0001900ca32..."} 
[2026-08-10 23:03:05] local.INFO: Packet analysis {"connection_id":152247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecbb"} 
[2026-08-10 23:03:05] local.INFO: Extracted packet for processing {"connection_id":152247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecbb"} 
[2026-08-10 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":760306240,"raw_latitude":108443088,"longitude_deg":76.030624,"latitude_deg":10.8443088,"altitude":25,"angle":202,"satellites":50,"speed":55,"hex_longitude":"2d515a40","hex_latitude":"0676b5d0","is_valid_coordinates":true} 
[2026-08-10 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314079744001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376711190690136064,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866431123623135232,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786383131000,"timestamp_ms":1786383131000,"timestamp_seconds":1786383131,"priority":1,"record_length":96,"hex_timestamp":"0000019fecbb6178"} 
[2026-08-10 23:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 23:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314079744001,"66":27343,"129":206,"19":47872,"24":55,"16":376711190690136064,"45":5866431123623135232},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-08-10 23:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314079744001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:03:05] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-10 23:03:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 23:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376711190690136064,"km_value":376711190690136.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866431123623135232,"description":"Unknown IO ID 45"} 
[2026-08-10 23:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314079744001,"power":27343,"unknown_129":206,"unknown_19":47872,"ignition":55,"odometer":null,"unknown_45":5866431123623135232}} 
[2026-08-10 23:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":152247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:03:05] local.INFO: GPS data processed {"connection_id":152247,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:03:05] local.INFO: Acknowledgment sent {"connection_id":152247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:03:08] local.INFO: TCP Data received {"connection_id":152247,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecbb7cd0012d514d4006769470001a00ca31..."} 
[2026-08-10 23:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecbb7cd0012d514d4006769470001a00ca31..."} 
[2026-08-10 23:03:08] local.INFO: Processing buffer {"connection_id":152247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecbb7cd0012d514d4006769470001a00ca31..."} 
[2026-08-10 23:03:08] local.INFO: Packet analysis {"connection_id":152247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecbb"} 
[2026-08-10 23:03:08] local.INFO: Extracted packet for processing {"connection_id":152247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecbb"} 
[2026-08-10 23:03:08] local.INFO: GPS Element Parsed {"raw_longitude":760302912,"raw_latitude":108434544,"longitude_deg":76.0302912,"latitude_deg":10.8434544,"altitude":26,"angle":202,"satellites":49,"speed":48,"hex_longitude":"2d514d40","hex_latitude":"06769470","is_valid_coordinates":true} 
[2026-08-10 23:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314081536001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376711637366734848,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5862068261481730048,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786383138000,"timestamp_ms":1786383138000,"timestamp_seconds":1786383138,"priority":1,"record_length":96,"hex_timestamp":"0000019fecbb7cd0"} 
[2026-08-10 23:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 23:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314081536001,"66":27267,"129":206,"19":47872,"24":48,"16":376711637366734848,"45":5862068261481730048},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-08-10 23:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314081536001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:03:08] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-10 23:03:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 23:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376711637366734848,"km_value":376711637366734.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5862068261481730048,"description":"Unknown IO ID 45"} 
[2026-08-10 23:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314081536001,"power":27267,"unknown_129":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5862068261481730048}} 
[2026-08-10 23:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":152247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:03:08] local.INFO: GPS data processed {"connection_id":152247,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:03:08] local.INFO: Acknowledgment sent {"connection_id":152247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:03:18] local.INFO: TCP Data received {"connection_id":151875,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:03:18] local.INFO: Processing buffer {"connection_id":151875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:03:18] local.INFO: Packet analysis {"connection_id":151875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:03:18] local.INFO: Extracted packet for processing {"connection_id":151875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313973760001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383011000,"timestamp_ms":1786383011000,"timestamp_seconds":1786383011,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb98cb8"} 
[2026-08-10 23:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23: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-08-10 23:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313973760001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313973760001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:03:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313973760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":151875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:03:18] local.INFO: GPS data processed {"connection_id":151875,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:03:18] local.INFO: Acknowledgment sent {"connection_id":151875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:03:41] local.INFO: TCP Data received {"connection_id":154593,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:03:41] local.INFO: Processing buffer {"connection_id":154593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:03:41] local.INFO: IMEI packet received {"connection_id":154593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":154593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:03:42] local.INFO: TCP Data received {"connection_id":152247,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecbb9c10012d513e0006767328001b00d132..."} 
[2026-08-10 23:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecbb9c10012d513e0006767328001b00d132..."} 
[2026-08-10 23:03:42] local.INFO: Processing buffer {"connection_id":152247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecbb9c10012d513e0006767328001b00d132..."} 
[2026-08-10 23:03:42] local.INFO: Packet analysis {"connection_id":152247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecbb"} 
[2026-08-10 23:03:42] local.INFO: Extracted packet for processing {"connection_id":152247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecbb"} 
[2026-08-10 23:03:42] local.INFO: GPS Element Parsed {"raw_longitude":760299008,"raw_latitude":108426024,"longitude_deg":76.0299008,"latitude_deg":10.8426024,"altitude":27,"angle":209,"satellites":50,"speed":45,"hex_longitude":"2d513e00","hex_latitude":"06767328","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314083328001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376712088338300928,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5858409086782304256,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786383146000,"timestamp_ms":1786383146000,"timestamp_seconds":1786383146,"priority":1,"record_length":96,"hex_timestamp":"0000019fecbb9c10"} 
[2026-08-10 23:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 23:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23: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-08-10 23:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314083328001,"66":26876,"129":206,"19":47872,"24":45,"16":376712088338300928,"45":5858409086782304256},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-08-10 23:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314083328001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:03:42] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-10 23:03:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 23:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376712088338300928,"km_value":376712088338300.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5858409086782304256,"description":"Unknown IO ID 45"} 
[2026-08-10 23:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314083328001,"power":26876,"unknown_129":206,"unknown_19":47872,"ignition":45,"odometer":null,"unknown_45":5858409086782304256}} 
[2026-08-10 23:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":152247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:03:42] local.INFO: GPS data processed {"connection_id":152247,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:03:42] local.INFO: Acknowledgment sent {"connection_id":152247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:03:46] local.INFO: TCP Data received {"connection_id":154593,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:03:46] local.INFO: Processing buffer {"connection_id":154593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:03:46] local.INFO: IMEI packet received {"connection_id":154593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":154593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:03:47] local.INFO: TCP Data received {"connection_id":154593,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:03:47] local.INFO: Processing buffer {"connection_id":154593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:03:47] local.INFO: Packet analysis {"connection_id":154593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:03:47] local.INFO: Extracted packet for processing {"connection_id":154593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313973760001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383011000,"timestamp_ms":1786383011000,"timestamp_seconds":1786383011,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb98cb8"} 
[2026-08-10 23:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313973760001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313973760001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:03:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:03:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313973760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":154593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:03:47] local.INFO: GPS data processed {"connection_id":154593,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:03:47] local.INFO: Acknowledgment sent {"connection_id":154593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:04:07] local.INFO: TCP Data received {"connection_id":151876,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:04:07] local.INFO: Processing buffer {"connection_id":151876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:04:07] local.INFO: IMEI packet received {"connection_id":151876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":151876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:04:12] local.INFO: TCP Data received {"connection_id":151876,"ip":"117.224.239.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:04:12] local.INFO: Processing buffer {"connection_id":151876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:04:12] local.INFO: IMEI packet received {"connection_id":151876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":151876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:04:13] local.INFO: TCP Data received {"connection_id":151876,"ip":"117.224.239.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecbbbf38012d5126c006765248001a00df31..."} 
[2026-08-10 23:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecbbbf38012d5126c006765248001a00df31..."} 
[2026-08-10 23:04:13] local.INFO: Processing buffer {"connection_id":151876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecbbbf38012d5126c006765248001a00df31..."} 
[2026-08-10 23:04:13] local.INFO: Packet analysis {"connection_id":151876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecbb"} 
[2026-08-10 23:04:13] local.INFO: Extracted packet for processing {"connection_id":151876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecbb"} 
[2026-08-10 23:04:13] local.INFO: GPS Element Parsed {"raw_longitude":760293056,"raw_latitude":108417608,"longitude_deg":76.0293056,"latitude_deg":10.8417608,"altitude":26,"angle":223,"satellites":49,"speed":47,"hex_longitude":"2d5126c0","hex_latitude":"06765248","is_valid_coordinates":true} 
[2026-08-10 23:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314085376001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376712586554507264,"note":"Value kept but may cause issues"} 
[2026-08-10 23:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5854116593385285632,"note":"Value kept but may cause issues"} 
[2026-08-10 23:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786383155000,"timestamp_ms":1786383155000,"timestamp_seconds":1786383155,"priority":1,"record_length":96,"hex_timestamp":"0000019fecbbbf38"} 
[2026-08-10 23:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-10 23:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.239.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314085376001,"66":27365,"129":206,"19":47872,"24":47,"16":376712586554507264,"45":5854116593385285632},"client_ip":"117.224.239.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-08-10 23:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314085376001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:04:13] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-10 23:04:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-10 23:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376712586554507264,"km_value":376712586554507.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5854116593385285632,"description":"Unknown IO ID 45"} 
[2026-08-10 23:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314085376001,"power":27365,"unknown_129":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":5854116593385285632}} 
[2026-08-10 23:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":151876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:04:13] local.INFO: GPS data processed {"connection_id":151876,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:04:13] local.INFO: Acknowledgment sent {"connection_id":151876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:04:18] local.INFO: TCP Data received {"connection_id":154593,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:04:18] local.INFO: Processing buffer {"connection_id":154593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:04:18] local.INFO: Packet analysis {"connection_id":154593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:04:18] local.INFO: Extracted packet for processing {"connection_id":154593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313973760001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383011000,"timestamp_ms":1786383011000,"timestamp_seconds":1786383011,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb98cb8"} 
[2026-08-10 23:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313973760001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313973760001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:04:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313973760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":154593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:04:18] local.INFO: GPS data processed {"connection_id":154593,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:04:18] local.INFO: Acknowledgment sent {"connection_id":154593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:04:41] local.INFO: TCP Data received {"connection_id":153192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:04:41] local.INFO: Processing buffer {"connection_id":153192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:04:41] local.INFO: IMEI packet received {"connection_id":153192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":153192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:04:46] local.INFO: TCP Data received {"connection_id":153192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:04:46] local.INFO: Processing buffer {"connection_id":153192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:04:46] local.INFO: IMEI packet received {"connection_id":153192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":153192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:04:47] local.INFO: TCP Data received {"connection_id":153192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:04:47] local.INFO: Processing buffer {"connection_id":153192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:04:47] local.INFO: Packet analysis {"connection_id":153192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:04:47] local.INFO: Extracted packet for processing {"connection_id":153192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313973760001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383011000,"timestamp_ms":1786383011000,"timestamp_seconds":1786383011,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb98cb8"} 
[2026-08-10 23:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313973760001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313973760001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:04:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313973760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":153192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:04:47] local.INFO: GPS data processed {"connection_id":153192,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:04:47] local.INFO: Acknowledgment sent {"connection_id":153192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:05:18] local.INFO: TCP Data received {"connection_id":153192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:05:18] local.INFO: Processing buffer {"connection_id":153192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:05:18] local.INFO: Packet analysis {"connection_id":153192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:05:18] local.INFO: Extracted packet for processing {"connection_id":153192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313973760001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383011000,"timestamp_ms":1786383011000,"timestamp_seconds":1786383011,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb98cb8"} 
[2026-08-10 23:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:05: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313973760001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313973760001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:05:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313973760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":153192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:05:18] local.INFO: GPS data processed {"connection_id":153192,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:05:18] local.INFO: Acknowledgment sent {"connection_id":153192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:05:41] local.INFO: TCP Data received {"connection_id":152248,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:05:41] local.INFO: Processing buffer {"connection_id":152248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:05:41] local.INFO: IMEI packet received {"connection_id":152248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":152248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:05:46] local.INFO: TCP Data received {"connection_id":152248,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:05:46] local.INFO: Processing buffer {"connection_id":152248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:05:46] local.INFO: IMEI packet received {"connection_id":152248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":152248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:05:46] local.INFO: TCP Data received {"connection_id":152248,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:05:46] local.INFO: Processing buffer {"connection_id":152248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecb98cb8012d196580071ff0380043014226..."} 
[2026-08-10 23:05:46] local.INFO: Packet analysis {"connection_id":152248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:05:46] local.INFO: Extracted packet for processing {"connection_id":152248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecb9"} 
[2026-08-10 23:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457313973760001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786383011000,"timestamp_ms":1786383011000,"timestamp_seconds":1786383011,"priority":1,"record_length":96,"hex_timestamp":"0000019fecb98cb8"} 
[2026-08-10 23:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:05: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-08-10 23:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457313973760001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457313973760001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:05:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457313973760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":152248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:05:47] local.INFO: GPS data processed {"connection_id":152248,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:05:47] local.INFO: Acknowledgment sent {"connection_id":152248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:06:17] local.INFO: TCP Data received {"connection_id":152248,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:06:17] local.INFO: Processing buffer {"connection_id":152248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:06:17] local.INFO: Packet analysis {"connection_id":152248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:06:17] local.INFO: Extracted packet for processing {"connection_id":152248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314050816001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786383312000,"timestamp_ms":1786383312000,"timestamp_seconds":1786383312,"priority":1,"record_length":96,"hex_timestamp":"0000019fecbe2480"} 
[2026-08-10 23:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314050816001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314050816001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:06:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314050816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":152248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:06:17] local.INFO: GPS data processed {"connection_id":152248,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:06:17] local.INFO: Acknowledgment sent {"connection_id":152248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:06:41] local.INFO: TCP Data received {"connection_id":154594,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:06:41] local.INFO: Processing buffer {"connection_id":154594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:06:41] local.INFO: IMEI packet received {"connection_id":154594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":154594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:06:46] local.INFO: TCP Data received {"connection_id":154594,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:06:46] local.INFO: Processing buffer {"connection_id":154594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:06:46] local.INFO: IMEI packet received {"connection_id":154594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":154594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:06:47] local.INFO: TCP Data received {"connection_id":154594,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:06:47] local.INFO: Processing buffer {"connection_id":154594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:06:47] local.INFO: Packet analysis {"connection_id":154594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:06:47] local.INFO: Extracted packet for processing {"connection_id":154594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314050816001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23: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-08-10 23:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383312000,"timestamp_ms":1786383312000,"timestamp_seconds":1786383312,"priority":1,"record_length":96,"hex_timestamp":"0000019fecbe2480"} 
[2026-08-10 23:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314050816001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314050816001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:06:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314050816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":154594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:06:47] local.INFO: GPS data processed {"connection_id":154594,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:06:47] local.INFO: Acknowledgment sent {"connection_id":154594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:07:18] local.INFO: TCP Data received {"connection_id":154594,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:07:18] local.INFO: Processing buffer {"connection_id":154594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:07:18] local.INFO: Packet analysis {"connection_id":154594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:07:18] local.INFO: Extracted packet for processing {"connection_id":154594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314050816001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383312000,"timestamp_ms":1786383312000,"timestamp_seconds":1786383312,"priority":1,"record_length":96,"hex_timestamp":"0000019fecbe2480"} 
[2026-08-10 23:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314050816001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314050816001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:07:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314050816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":154594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:07:18] local.INFO: GPS data processed {"connection_id":154594,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:07:18] local.INFO: Acknowledgment sent {"connection_id":154594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:07:41] local.INFO: TCP Data received {"connection_id":152249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:07:41] local.INFO: Processing buffer {"connection_id":152249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:07:41] local.INFO: IMEI packet received {"connection_id":152249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":152249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:07:46] local.INFO: TCP Data received {"connection_id":152249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:07:46] local.INFO: Processing buffer {"connection_id":152249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:07:46] local.INFO: IMEI packet received {"connection_id":152249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":152249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:07:47] local.INFO: TCP Data received {"connection_id":152249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:07:47] local.INFO: Processing buffer {"connection_id":152249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:07:47] local.INFO: Packet analysis {"connection_id":152249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:07:47] local.INFO: Extracted packet for processing {"connection_id":152249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314050816001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383312000,"timestamp_ms":1786383312000,"timestamp_seconds":1786383312,"priority":1,"record_length":96,"hex_timestamp":"0000019fecbe2480"} 
[2026-08-10 23:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23: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-08-10 23:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314050816001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314050816001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:07:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:07:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314050816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":152249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:07:47] local.INFO: GPS data processed {"connection_id":152249,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:07:47] local.INFO: Acknowledgment sent {"connection_id":152249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:08:18] local.INFO: TCP Data received {"connection_id":152249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:08:18] local.INFO: Processing buffer {"connection_id":152249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:08:18] local.INFO: Packet analysis {"connection_id":152249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:08:18] local.INFO: Extracted packet for processing {"connection_id":152249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:08:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314050816001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383312000,"timestamp_ms":1786383312000,"timestamp_seconds":1786383312,"priority":1,"record_length":96,"hex_timestamp":"0000019fecbe2480"} 
[2026-08-10 23:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314050816001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314050816001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:08:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:08:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314050816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":152249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:08:18] local.INFO: GPS data processed {"connection_id":152249,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:08:18] local.INFO: Acknowledgment sent {"connection_id":152249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:08:41] local.INFO: TCP Data received {"connection_id":152250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:08:41] local.INFO: Processing buffer {"connection_id":152250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:08:41] local.INFO: IMEI packet received {"connection_id":152250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":152250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:08:46] local.INFO: TCP Data received {"connection_id":152250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:08:46] local.INFO: Processing buffer {"connection_id":152250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:08:46] local.INFO: IMEI packet received {"connection_id":152250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":152250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:08:47] local.INFO: TCP Data received {"connection_id":152250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:08:47] local.INFO: Processing buffer {"connection_id":152250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:08:47] local.INFO: Packet analysis {"connection_id":152250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:08:47] local.INFO: Extracted packet for processing {"connection_id":152250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314050816001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383312000,"timestamp_ms":1786383312000,"timestamp_seconds":1786383312,"priority":1,"record_length":96,"hex_timestamp":"0000019fecbe2480"} 
[2026-08-10 23:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314050816001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314050816001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:08:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314050816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":152250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:08:47] local.INFO: GPS data processed {"connection_id":152250,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:08:47] local.INFO: Acknowledgment sent {"connection_id":152250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:08:49] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:08:49] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:08:49] local.INFO: IMEI packet received {"connection_id":153193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":153193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:08:51] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:08:51] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:08:51] local.INFO: IMEI packet received {"connection_id":153193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":153193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:08:55] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:08:55] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:08:55] local.INFO: IMEI packet received {"connection_id":153193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":153193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:08:55] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecbfe5b8012d4c1e0006766fa8001001042f..."} 
[2026-08-10 23:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecbfe5b8012d4c1e0006766fa8001001042f..."} 
[2026-08-10 23:08:55] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecbfe5b8012d4c1e0006766fa8001001042f..."} 
[2026-08-10 23:08:55] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecbf"} 
[2026-08-10 23:08:55] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecbf"} 
[2026-08-10 23:08:55] local.INFO: GPS Element Parsed {"raw_longitude":759963136,"raw_latitude":108425128,"longitude_deg":75.9963136,"latitude_deg":10.8425128,"altitude":16,"angle":260,"satellites":47,"speed":45,"hex_longitude":"2d4c1e00","hex_latitude":"06766fa8","is_valid_coordinates":true} 
[2026-08-10 23:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376727953947492352,"note":"Value kept but may cause issues"} 
[2026-08-10 23:08:55] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-08-10 23:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786383427000,"timestamp_ms":1786383427000,"timestamp_seconds":1786383427,"priority":1,"record_length":96,"hex_timestamp":"0000019fecbfe5b8"} 
[2026-08-10 23:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 23:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27310,"24":45,"16":376727953947492352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16]} 
[2026-08-10 23:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-10 23:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376727953947492352,"km_value":376727953947492.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:08:55] local.INFO: IO Data Validated and Processed {"original_count":4,"validated_count":4,"validated_data":{"unknown_0":0,"power":27310,"ignition":45,"odometer":null}} 
[2026-08-10 23:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:08:55] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:08:55] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:09:01] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc00110012d4c004006766750001200f932..."} 
[2026-08-10 23:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc00110012d4c004006766750001200f932..."} 
[2026-08-10 23:09:01] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc00110012d4c004006766750001200f932..."} 
[2026-08-10 23:09:01] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc0"} 
[2026-08-10 23:09:01] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc0"} 
[2026-08-10 23:09:01] local.INFO: GPS Element Parsed {"raw_longitude":759955520,"raw_latitude":108422992,"longitude_deg":75.995552,"latitude_deg":10.8422992,"altitude":18,"angle":249,"satellites":50,"speed":43,"hex_longitude":"2d4c0040","hex_latitude":"06766750","is_valid_coordinates":true} 
[2026-08-10 23:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314157312001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376728331904614400,"note":"Value kept but may cause issues"} 
[2026-08-10 23:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5484821423940675584,"note":"Value kept but may cause issues"} 
[2026-08-10 23:09:01] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-10 23:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786383434000,"timestamp_ms":1786383434000,"timestamp_seconds":1786383434,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc00110"} 
[2026-08-10 23:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:09: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-08-10 23: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-10 23:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314157312001,"66":27343,"24":43,"16":376728331904614400,"45":5484821423940675584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-10 23:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314157312001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376728331904614400,"km_value":376728331904614.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5484821423940675584,"description":"Unknown IO ID 45"} 
[2026-08-10 23:09:01] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457314157312001,"power":27343,"ignition":43,"odometer":null,"unknown_45":5484821423940675584}} 
[2026-08-10 23:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:09:01] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:09:01] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:09:33] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc13990012d4afcc006754120000c00da31..."} 
[2026-08-10 23:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc13990012d4afcc006754120000c00da31..."} 
[2026-08-10 23:09:33] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc13990012d4afcc006754120000c00da31..."} 
[2026-08-10 23:09:33] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc1"} 
[2026-08-10 23:09:33] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc1"} 
[2026-08-10 23:09:33] local.INFO: GPS Element Parsed {"raw_longitude":759889088,"raw_latitude":108347680,"longitude_deg":75.9889088,"latitude_deg":10.834768,"altitude":12,"angle":218,"satellites":49,"speed":49,"hex_longitude":"2d4afcc0","hex_latitude":"06754120","is_valid_coordinates":true} 
[2026-08-10 23:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314177536001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376733198102560768,"note":"Value kept but may cause issues"} 
[2026-08-10 23:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5410230555094517760,"note":"Value kept but may cause issues"} 
[2026-08-10 23:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786383514000,"timestamp_ms":1786383514000,"timestamp_seconds":1786383514,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc13990"} 
[2026-08-10 23:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-08-10 23:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314177536001,"66":27213,"236":206,"80":60160,"24":49,"16":376733198102560768,"45":5410230555094517760},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-10 23:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314177536001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:09:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-10 23:09:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376733198102560768,"km_value":376733198102560.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5410230555094517760,"description":"Unknown IO ID 45"} 
[2026-08-10 23:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314177536001,"power":27213,"unknown_236":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5410230555094517760}} 
[2026-08-10 23:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:09:33] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:09:33] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:09:56] local.INFO: TCP Data received {"connection_id":153194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:09:56] local.INFO: Processing buffer {"connection_id":153194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:09:56] local.INFO: IMEI packet received {"connection_id":153194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":153194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:10:01] local.INFO: TCP Data received {"connection_id":153194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:10:01] local.INFO: Processing buffer {"connection_id":153194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:10:01] local.INFO: IMEI packet received {"connection_id":153194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":153194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:10:02] local.INFO: TCP Data received {"connection_id":153194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:10:02] local.INFO: Processing buffer {"connection_id":153194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecbe2480012d196580071ff0380043014225..."} 
[2026-08-10 23:10:02] local.INFO: Packet analysis {"connection_id":153194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:10:02] local.INFO: Extracted packet for processing {"connection_id":153194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecbe"} 
[2026-08-10 23:10:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":67,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314050816001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786383312000,"timestamp_ms":1786383312000,"timestamp_seconds":1786383312,"priority":1,"record_length":96,"hex_timestamp":"0000019fecbe2480"} 
[2026-08-10 23:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314050816001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314050816001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:10:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314050816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":153194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:10:02] local.INFO: GPS data processed {"connection_id":153194,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:10:02] local.INFO: Acknowledgment sent {"connection_id":153194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:10:05] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc154e8012d4ae70006752548000c00da2f..."} 
[2026-08-10 23:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc154e8012d4ae70006752548000c00da2f..."} 
[2026-08-10 23:10:05] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc154e8012d4ae70006752548000c00da2f..."} 
[2026-08-10 23:10:05] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc1"} 
[2026-08-10 23:10:05] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc1"} 
[2026-08-10 23:10:05] local.INFO: GPS Element Parsed {"raw_longitude":759883520,"raw_latitude":108340552,"longitude_deg":75.988352,"latitude_deg":10.8340552,"altitude":12,"angle":218,"satellites":47,"speed":52,"hex_longitude":"2d4ae700","hex_latitude":"06752548","is_valid_coordinates":true} 
[2026-08-10 23:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314179584001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376733631894257664,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5403404786907291648,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786383521000,"timestamp_ms":1786383521000,"timestamp_seconds":1786383521,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc154e8"} 
[2026-08-10 23:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 23:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314179584001,"66":27234,"236":206,"80":60160,"24":52,"16":376733631894257664,"45":5403404786907291648},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-10 23:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314179584001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:10:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-10 23:10:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376733631894257664,"km_value":376733631894257.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5403404786907291648,"description":"Unknown IO ID 45"} 
[2026-08-10 23:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314179584001,"power":27234,"unknown_236":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5403404786907291648}} 
[2026-08-10 23:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:10:05] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:10:05] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:10:36] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc17040012d4ad00006750810000b00d92e..."} 
[2026-08-10 23:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc17040012d4ad00006750810000b00d92e..."} 
[2026-08-10 23:10:36] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc17040012d4ad00006750810000b00d92e..."} 
[2026-08-10 23:10:36] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc1"} 
[2026-08-10 23:10:36] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc1"} 
[2026-08-10 23:10:36] local.INFO: GPS Element Parsed {"raw_longitude":759877632,"raw_latitude":108333072,"longitude_deg":75.9877632,"latitude_deg":10.8333072,"altitude":11,"angle":217,"satellites":46,"speed":54,"hex_longitude":"2d4ad000","hex_latitude":"06750810","is_valid_coordinates":true} 
[2026-08-10 23:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314181376001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376734091455758336,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5397282706162010112,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786383528000,"timestamp_ms":1786383528000,"timestamp_seconds":1786383528,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc17040"} 
[2026-08-10 23:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 23:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314181376001,"66":27223,"236":206,"80":60160,"24":54,"16":376734091455758336,"45":5397282706162010112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-10 23:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314181376001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:10:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-10 23:10:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376734091455758336,"km_value":376734091455758.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5397282706162010112,"description":"Unknown IO ID 45"} 
[2026-08-10 23:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314181376001,"power":27223,"unknown_236":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5397282706162010112}} 
[2026-08-10 23:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:10:36] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:10:36] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:10:46] local.INFO: TCP Data received {"connection_id":151877,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:10:46] local.INFO: Processing buffer {"connection_id":151877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:10:46] local.INFO: IMEI packet received {"connection_id":151877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":151877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:10:51] local.INFO: TCP Data received {"connection_id":151877,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:10:51] local.INFO: Processing buffer {"connection_id":151877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:10:51] local.INFO: IMEI packet received {"connection_id":151877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":151877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:10:52] local.INFO: TCP Data received {"connection_id":151877,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:10:52] local.INFO: Processing buffer {"connection_id":151877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:10:52] local.INFO: Packet analysis {"connection_id":151877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:10:52] local.INFO: Extracted packet for processing {"connection_id":151877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:10:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314127872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786383613000,"timestamp_ms":1786383613000,"timestamp_seconds":1786383613,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2bc48"} 
[2026-08-10 23:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:10: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-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23: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-08-10 23:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314127872001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314127872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:10:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:10:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314127872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":151877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:10:52] local.INFO: GPS data processed {"connection_id":151877,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:10:52] local.INFO: Acknowledgment sent {"connection_id":151877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:10:53] local.INFO: TCP Data received {"connection_id":151877,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:10:53] local.INFO: Processing buffer {"connection_id":151877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:10:53] local.INFO: Packet analysis {"connection_id":151877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:10:53] local.INFO: Extracted packet for processing {"connection_id":151877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314127872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786383613000,"timestamp_ms":1786383613000,"timestamp_seconds":1786383613,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2bc48"} 
[2026-08-10 23:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314127872001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314127872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:10:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:10:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314127872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":151877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:10:53] local.INFO: GPS data processed {"connection_id":151877,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:10:53] local.INFO: Acknowledgment sent {"connection_id":151877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:11:24] local.INFO: TCP Data received {"connection_id":151877,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:11:24] local.INFO: Processing buffer {"connection_id":151877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:11:24] local.INFO: Packet analysis {"connection_id":151877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:11:24] local.INFO: Extracted packet for processing {"connection_id":151877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:11:24] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314127872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786383613000,"timestamp_ms":1786383613000,"timestamp_seconds":1786383613,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2bc48"} 
[2026-08-10 23:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314127872001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314127872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:11:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314127872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":151877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:11:24] local.INFO: GPS data processed {"connection_id":151877,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:11:24] local.INFO: Acknowledgment sent {"connection_id":151877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:11:41] local.INFO: TCP Data received {"connection_id":152251,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:11:41] local.INFO: Processing buffer {"connection_id":152251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:11:41] local.INFO: IMEI packet received {"connection_id":152251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":152251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:11:43] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2a0f0012d49ca000673c770000900da32..."} 
[2026-08-10 23:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2a0f0012d49ca000673c770000900da32..."} 
[2026-08-10 23:11:43] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2a0f0012d49ca000673c770000900da32..."} 
[2026-08-10 23:11:43] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:11:43] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:11:43] local.INFO: GPS Element Parsed {"raw_longitude":759810560,"raw_latitude":108250992,"longitude_deg":75.981056,"latitude_deg":10.8250992,"altitude":9,"angle":218,"satellites":50,"speed":40,"hex_longitude":"2d49ca00","hex_latitude":"0673c770","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314201088001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739193876905984,"note":"Value kept but may cause issues"} 
[2026-08-10 23:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5323465893498556416,"note":"Value kept but may cause issues"} 
[2026-08-10 23:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786383606000,"timestamp_ms":1786383606000,"timestamp_seconds":1786383606,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2a0f0"} 
[2026-08-10 23:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":109,"data_length":795,"current_offset":136} 
[2026-08-10 23:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23: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-08-10 23:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314201088001,"66":27919,"218":206,"80":60160,"24":40,"16":376739193876905984,"45":5323465893498556416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314201088001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:11:43] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:11:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739193876905984,"km_value":376739193876906.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5323465893498556416,"description":"Unknown IO ID 45"} 
[2026-08-10 23:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314201088001,"power":27919,"unknown_218":206,"unknown_80":60160,"ignition":40,"odometer":null,"unknown_45":5323465893498556416}} 
[2026-08-10 23:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:11:43] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:11:43] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:11:46] local.INFO: TCP Data received {"connection_id":152251,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:11:46] local.INFO: Processing buffer {"connection_id":152251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:11:46] local.INFO: IMEI packet received {"connection_id":152251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":152251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:11:47] local.INFO: TCP Data received {"connection_id":152251,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:11:47] local.INFO: Processing buffer {"connection_id":152251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:11:47] local.INFO: Packet analysis {"connection_id":152251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:11:47] local.INFO: Extracted packet for processing {"connection_id":152251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314127872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383613000,"timestamp_ms":1786383613000,"timestamp_seconds":1786383613,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2bc48"} 
[2026-08-10 23:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314127872001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314127872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:11:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314127872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":152251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:11:47] local.INFO: GPS data processed {"connection_id":152251,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:11:47] local.INFO: Acknowledgment sent {"connection_id":152251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:11:48] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:11:48] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:11:48] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:11:48] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:11:48] local.INFO: GPS Element Parsed {"raw_longitude":759804864,"raw_latitude":108244096,"longitude_deg":75.9804864,"latitude_deg":10.8244096,"altitude":9,"angle":218,"satellites":49,"speed":24,"hex_longitude":"2d49b3c0","hex_latitude":"0673ac80","is_valid_coordinates":true} 
[2026-08-10 23:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314203136001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5317062337776545792,"note":"Value kept but may cause issues"} 
[2026-08-10 23:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786383618000,"timestamp_ms":1786383618000,"timestamp_seconds":1786383618,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2cfd0"} 
[2026-08-10 23:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-10 23:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314203136001,"66":27800,"218":206,"80":60160,"24":24,"16":376739627668602880,"45":5317062337776545792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314203136001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:11:48] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:11:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5317062337776545792,"description":"Unknown IO ID 45"} 
[2026-08-10 23:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314203136001,"power":27800,"unknown_218":206,"unknown_80":60160,"ignition":24,"odometer":null,"unknown_45":5317062337776545792}} 
[2026-08-10 23:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:11:48] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:11:48] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:12:18] local.INFO: TCP Data received {"connection_id":152251,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:12:18] local.INFO: Processing buffer {"connection_id":152251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:12:18] local.INFO: Packet analysis {"connection_id":152251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:12:18] local.INFO: Extracted packet for processing {"connection_id":152251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314127872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383613000,"timestamp_ms":1786383613000,"timestamp_seconds":1786383613,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2bc48"} 
[2026-08-10 23:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314127872001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314127872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:12:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314127872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":152251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:12:18] local.INFO: GPS data processed {"connection_id":152251,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:12:18] local.INFO: Acknowledgment sent {"connection_id":152251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:12:22] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:12:22] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:12:22] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:12:22] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:12:22] local.INFO: GPS Element Parsed {"raw_longitude":759804864,"raw_latitude":108244096,"longitude_deg":75.9804864,"latitude_deg":10.8244096,"altitude":9,"angle":218,"satellites":49,"speed":24,"hex_longitude":"2d49b3c0","hex_latitude":"0673ac80","is_valid_coordinates":true} 
[2026-08-10 23:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786383618000,"timestamp_ms":1786383618000,"timestamp_seconds":1786383618,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2cfd0"} 
[2026-08-10 23:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":27800,"218":206,"80":60160,"24":24,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:12:22] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:12:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":27800,"unknown_218":206,"unknown_80":60160,"ignition":24,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:12:22] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:12:22] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:12:41] local.INFO: TCP Data received {"connection_id":152252,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:12:41] local.INFO: Processing buffer {"connection_id":152252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:12:41] local.INFO: IMEI packet received {"connection_id":152252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":152252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:12:46] local.INFO: TCP Data received {"connection_id":152252,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:12:46] local.INFO: Processing buffer {"connection_id":152252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:12:46] local.INFO: IMEI packet received {"connection_id":152252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":152252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:12:47] local.INFO: TCP Data received {"connection_id":152252,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:12:47] local.INFO: Processing buffer {"connection_id":152252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:12:47] local.INFO: Packet analysis {"connection_id":152252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:12:47] local.INFO: Extracted packet for processing {"connection_id":152252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314127872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383613000,"timestamp_ms":1786383613000,"timestamp_seconds":1786383613,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2bc48"} 
[2026-08-10 23:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314127872001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314127872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:12:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:12:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314127872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":152252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:12:47] local.INFO: GPS data processed {"connection_id":152252,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:12:47] local.INFO: Acknowledgment sent {"connection_id":152252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:12:56] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:12:56] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:12:56] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:12:56] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:12:56] local.INFO: GPS Element Parsed {"raw_longitude":759804864,"raw_latitude":108244096,"longitude_deg":75.9804864,"latitude_deg":10.8244096,"altitude":9,"angle":218,"satellites":49,"speed":24,"hex_longitude":"2d49b3c0","hex_latitude":"0673ac80","is_valid_coordinates":true} 
[2026-08-10 23:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786383618000,"timestamp_ms":1786383618000,"timestamp_seconds":1786383618,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2cfd0"} 
[2026-08-10 23:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":27800,"218":206,"80":60160,"24":24,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:12:56] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:12:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":27800,"unknown_218":206,"unknown_80":60160,"ignition":24,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:12:56] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:12:56] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:13:18] local.INFO: TCP Data received {"connection_id":152252,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:13:18] local.INFO: Processing buffer {"connection_id":152252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:13:18] local.INFO: Packet analysis {"connection_id":152252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:13:18] local.INFO: Extracted packet for processing {"connection_id":152252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314127872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383613000,"timestamp_ms":1786383613000,"timestamp_seconds":1786383613,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2bc48"} 
[2026-08-10 23:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314127872001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314127872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:13:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314127872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":152252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:13:18] local.INFO: GPS data processed {"connection_id":152252,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:13:18] local.INFO: Acknowledgment sent {"connection_id":152252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:13:27] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:13:27] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:13:27] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:13:27] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:13:27] local.INFO: GPS Element Parsed {"raw_longitude":759804864,"raw_latitude":108244096,"longitude_deg":75.9804864,"latitude_deg":10.8244096,"altitude":9,"angle":218,"satellites":49,"speed":24,"hex_longitude":"2d49b3c0","hex_latitude":"0673ac80","is_valid_coordinates":true} 
[2026-08-10 23:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786383618000,"timestamp_ms":1786383618000,"timestamp_seconds":1786383618,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2cfd0"} 
[2026-08-10 23:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":27800,"218":206,"80":60160,"24":24,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:13:27] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:13:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":27800,"unknown_218":206,"unknown_80":60160,"ignition":24,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:13:27] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:13:27] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:13:41] local.INFO: TCP Data received {"connection_id":152253,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:13:41] local.INFO: Processing buffer {"connection_id":152253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:13:41] local.INFO: IMEI packet received {"connection_id":152253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":152253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:13:46] local.INFO: TCP Data received {"connection_id":152253,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:13:46] local.INFO: Processing buffer {"connection_id":152253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:13:46] local.INFO: IMEI packet received {"connection_id":152253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":152253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:13:47] local.INFO: TCP Data received {"connection_id":152253,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:13:47] local.INFO: Processing buffer {"connection_id":152253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:13:47] local.INFO: Packet analysis {"connection_id":152253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:13:47] local.INFO: Extracted packet for processing {"connection_id":152253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314127872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383613000,"timestamp_ms":1786383613000,"timestamp_seconds":1786383613,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2bc48"} 
[2026-08-10 23:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314127872001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314127872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:13:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:13:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314127872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":152253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:13:47] local.INFO: GPS data processed {"connection_id":152253,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:13:47] local.INFO: Acknowledgment sent {"connection_id":152253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:14:16] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:14:16] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:14:16] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:14:16] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:14:16] local.INFO: GPS Element Parsed {"raw_longitude":759804864,"raw_latitude":108244096,"longitude_deg":75.9804864,"latitude_deg":10.8244096,"altitude":9,"angle":218,"satellites":49,"speed":24,"hex_longitude":"2d49b3c0","hex_latitude":"0673ac80","is_valid_coordinates":true} 
[2026-08-10 23:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786383618000,"timestamp_ms":1786383618000,"timestamp_seconds":1786383618,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2cfd0"} 
[2026-08-10 23:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":27800,"218":206,"80":60160,"24":24,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:14:16] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:14:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":27800,"unknown_218":206,"unknown_80":60160,"ignition":24,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:14:16] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:14:16] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:14:18] local.INFO: TCP Data received {"connection_id":152253,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:14:18] local.INFO: Processing buffer {"connection_id":152253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:14:18] local.INFO: Packet analysis {"connection_id":152253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:14:18] local.INFO: Extracted packet for processing {"connection_id":152253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314127872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383613000,"timestamp_ms":1786383613000,"timestamp_seconds":1786383613,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2bc48"} 
[2026-08-10 23:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314127872001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314127872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:14:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314127872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":152253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:14:18] local.INFO: GPS data processed {"connection_id":152253,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:14:18] local.INFO: Acknowledgment sent {"connection_id":152253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:14:46] local.INFO: TCP Data received {"connection_id":151878,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:14:46] local.INFO: Processing buffer {"connection_id":151878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:14:46] local.INFO: IMEI packet received {"connection_id":151878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":151878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:14:47] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:14:47] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:14:47] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:14:47] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:14:47] local.INFO: GPS Element Parsed {"raw_longitude":759804864,"raw_latitude":108244096,"longitude_deg":75.9804864,"latitude_deg":10.8244096,"altitude":9,"angle":218,"satellites":49,"speed":24,"hex_longitude":"2d49b3c0","hex_latitude":"0673ac80","is_valid_coordinates":true} 
[2026-08-10 23:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383618000,"timestamp_ms":1786383618000,"timestamp_seconds":1786383618,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2cfd0"} 
[2026-08-10 23:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":27800,"218":206,"80":60160,"24":24,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:14:47] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:14:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":27800,"unknown_218":206,"unknown_80":60160,"ignition":24,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:14:47] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:14:47] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:14:51] local.INFO: TCP Data received {"connection_id":151878,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:14:51] local.INFO: Processing buffer {"connection_id":151878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:14:51] local.INFO: IMEI packet received {"connection_id":151878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":151878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:14:52] local.INFO: TCP Data received {"connection_id":151878,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:14:52] local.INFO: Processing buffer {"connection_id":151878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:14:52] local.INFO: Packet analysis {"connection_id":151878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:14:52] local.INFO: Extracted packet for processing {"connection_id":151878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:14:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314127872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786383613000,"timestamp_ms":1786383613000,"timestamp_seconds":1786383613,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2bc48"} 
[2026-08-10 23:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:14: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-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314127872001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314127872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:14:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:14:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314127872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":151878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:14:52] local.INFO: GPS data processed {"connection_id":151878,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:14:52] local.INFO: Acknowledgment sent {"connection_id":151878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:14:56] local.INFO: TCP Data received {"connection_id":151878,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:14:56] local.INFO: Processing buffer {"connection_id":151878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:14:56] local.INFO: Packet analysis {"connection_id":151878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:14:56] local.INFO: Extracted packet for processing {"connection_id":151878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314127872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786383613000,"timestamp_ms":1786383613000,"timestamp_seconds":1786383613,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2bc48"} 
[2026-08-10 23:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314127872001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314127872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:14:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314127872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":151878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:14:56] local.INFO: GPS data processed {"connection_id":151878,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:14:56] local.INFO: Acknowledgment sent {"connection_id":151878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:15:18] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:15:18] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:15:18] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:15:18] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:15:18] local.INFO: GPS Element Parsed {"raw_longitude":759804864,"raw_latitude":108244096,"longitude_deg":75.9804864,"latitude_deg":10.8244096,"altitude":9,"angle":218,"satellites":49,"speed":24,"hex_longitude":"2d49b3c0","hex_latitude":"0673ac80","is_valid_coordinates":true} 
[2026-08-10 23:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383618000,"timestamp_ms":1786383618000,"timestamp_seconds":1786383618,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2cfd0"} 
[2026-08-10 23:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":27800,"218":206,"80":60160,"24":24,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:15:18] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:15:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":27800,"unknown_218":206,"unknown_80":60160,"ignition":24,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:15:18] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:15:18] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:15:41] local.INFO: TCP Data received {"connection_id":153195,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:15:41] local.INFO: Processing buffer {"connection_id":153195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:15:41] local.INFO: IMEI packet received {"connection_id":153195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":153195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:15:46] local.INFO: TCP Data received {"connection_id":153195,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:15:46] local.INFO: Processing buffer {"connection_id":153195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:15:46] local.INFO: IMEI packet received {"connection_id":153195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":153195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:15:47] local.INFO: TCP Data received {"connection_id":153195,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:15:47] local.INFO: Processing buffer {"connection_id":153195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2bc48012d196580071ff038003c014228..."} 
[2026-08-10 23:15:47] local.INFO: Packet analysis {"connection_id":153195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:15:47] local.INFO: Extracted packet for processing {"connection_id":153195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314127872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383613000,"timestamp_ms":1786383613000,"timestamp_seconds":1786383613,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2bc48"} 
[2026-08-10 23:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314127872001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314127872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:15:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314127872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":153195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:15:47] local.INFO: GPS data processed {"connection_id":153195,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:15:47] local.INFO: Acknowledgment sent {"connection_id":153195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:15:54] local.INFO: TCP Data received {"connection_id":153196,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:15:54] local.INFO: Processing buffer {"connection_id":153196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:15:54] local.INFO: IMEI packet received {"connection_id":153196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":153196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:15:59] local.INFO: TCP Data received {"connection_id":153196,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:15:59] local.INFO: Processing buffer {"connection_id":153196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:15:59] local.INFO: IMEI packet received {"connection_id":153196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":153196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:16:00] local.INFO: TCP Data received {"connection_id":153196,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:16:00] local.INFO: Processing buffer {"connection_id":153196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc2cfd0012d49b3c00673ac80000900da31..."} 
[2026-08-10 23:16:00] local.INFO: Packet analysis {"connection_id":153196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:16:00] local.INFO: Extracted packet for processing {"connection_id":153196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc2"} 
[2026-08-10 23:16:00] local.INFO: GPS Element Parsed {"raw_longitude":759804864,"raw_latitude":108244096,"longitude_deg":75.9804864,"latitude_deg":10.8244096,"altitude":9,"angle":218,"satellites":49,"speed":24,"hex_longitude":"2d49b3c0","hex_latitude":"0673ac80","is_valid_coordinates":true} 
[2026-08-10 23:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786383618000,"timestamp_ms":1786383618000,"timestamp_seconds":1786383618,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc2cfd0"} 
[2026-08-10 23:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":27800,"218":206,"80":60160,"24":24,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:16:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:16:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":27800,"unknown_218":206,"unknown_80":60160,"ignition":24,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":153196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:16:00] local.INFO: GPS data processed {"connection_id":153196,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:16:00] local.INFO: Acknowledgment sent {"connection_id":153196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:16:18] local.INFO: TCP Data received {"connection_id":153195,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:16:18] local.INFO: Processing buffer {"connection_id":153195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:16:18] local.INFO: Packet analysis {"connection_id":153195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:16:18] local.INFO: Extracted packet for processing {"connection_id":153195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 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-08-10 23:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314204928001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383914000,"timestamp_ms":1786383914000,"timestamp_seconds":1786383914,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc75410"} 
[2026-08-10 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-08-10 23:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23: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-08-10 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-08-10 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-08-10 23:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314204928001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314204928001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:16:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314204928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":153195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:16:18] local.INFO: GPS data processed {"connection_id":153195,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:16:18] local.INFO: Acknowledgment sent {"connection_id":153195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:16:31] local.INFO: TCP Data received {"connection_id":153196,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:16:31] local.INFO: Processing buffer {"connection_id":153196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:16:31] local.INFO: Packet analysis {"connection_id":153196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:16:31] local.INFO: Extracted packet for processing {"connection_id":153196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:16:31] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786383922000,"timestamp_ms":1786383922000,"timestamp_seconds":1786383922,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc77350"} 
[2026-08-10 23:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:16: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-08-10 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":26419,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:16:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:16:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":26419,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":153196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:16:31] local.INFO: GPS data processed {"connection_id":153196,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:16:31] local.INFO: Acknowledgment sent {"connection_id":153196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:16:41] local.INFO: TCP Data received {"connection_id":151879,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:16:41] local.INFO: Processing buffer {"connection_id":151879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:16:41] local.INFO: IMEI packet received {"connection_id":151879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":151879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:16:46] local.INFO: TCP Data received {"connection_id":151879,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:16:46] local.INFO: Processing buffer {"connection_id":151879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:16:46] local.INFO: IMEI packet received {"connection_id":151879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":151879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:16:47] local.INFO: TCP Data received {"connection_id":151879,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:16:47] local.INFO: Processing buffer {"connection_id":151879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:16:47] local.INFO: Packet analysis {"connection_id":151879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:16:47] local.INFO: Extracted packet for processing {"connection_id":151879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314204928001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383914000,"timestamp_ms":1786383914000,"timestamp_seconds":1786383914,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc75410"} 
[2026-08-10 23:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314204928001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314204928001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:16:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:16:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314204928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":151879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:16:47] local.INFO: GPS data processed {"connection_id":151879,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:16:47] local.INFO: Acknowledgment sent {"connection_id":151879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:16:54] local.INFO: TCP Data received {"connection_id":153197,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:16:54] local.INFO: Processing buffer {"connection_id":153197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:16:54] local.INFO: IMEI packet received {"connection_id":153197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":153197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:16:59] local.INFO: TCP Data received {"connection_id":153197,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:16:59] local.INFO: Processing buffer {"connection_id":153197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:16:59] local.INFO: IMEI packet received {"connection_id":153197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":153197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:17:00] local.INFO: TCP Data received {"connection_id":153197,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:17:00] local.INFO: Processing buffer {"connection_id":153197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:17:00] local.INFO: Packet analysis {"connection_id":153197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:17:00] local.INFO: Extracted packet for processing {"connection_id":153197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:17:00] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786383922000,"timestamp_ms":1786383922000,"timestamp_seconds":1786383922,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc77350"} 
[2026-08-10 23:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23: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-08-10 23:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":26419,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:17:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:17:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":26419,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":153197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:17:00] local.INFO: GPS data processed {"connection_id":153197,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:17:00] local.INFO: Acknowledgment sent {"connection_id":153197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:17:18] local.INFO: TCP Data received {"connection_id":151879,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:17:18] local.INFO: Processing buffer {"connection_id":151879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:17:18] local.INFO: Packet analysis {"connection_id":151879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:17:18] local.INFO: Extracted packet for processing {"connection_id":151879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314204928001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383914000,"timestamp_ms":1786383914000,"timestamp_seconds":1786383914,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc75410"} 
[2026-08-10 23:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314204928001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314204928001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:17:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:17:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314204928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":151879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:17:18] local.INFO: GPS data processed {"connection_id":151879,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:17:18] local.INFO: Acknowledgment sent {"connection_id":151879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:17:31] local.INFO: TCP Data received {"connection_id":153197,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:17:31] local.INFO: Processing buffer {"connection_id":153197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:17:31] local.INFO: Packet analysis {"connection_id":153197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:17:31] local.INFO: Extracted packet for processing {"connection_id":153197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:17:31] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786383922000,"timestamp_ms":1786383922000,"timestamp_seconds":1786383922,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc77350"} 
[2026-08-10 23:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:17: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-08-10 23:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":26419,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:17:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:17:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":26419,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":153197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:17:31] local.INFO: GPS data processed {"connection_id":153197,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:17:31] local.INFO: Acknowledgment sent {"connection_id":153197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:17:41] local.INFO: TCP Data received {"connection_id":154596,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:17:41] local.INFO: Processing buffer {"connection_id":154596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:17:41] local.INFO: IMEI packet received {"connection_id":154596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":154596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:17:46] local.INFO: TCP Data received {"connection_id":154596,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:17:46] local.INFO: Processing buffer {"connection_id":154596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:17:46] local.INFO: IMEI packet received {"connection_id":154596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":154596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:17:47] local.INFO: TCP Data received {"connection_id":154596,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:17:47] local.INFO: Processing buffer {"connection_id":154596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:17:47] local.INFO: Packet analysis {"connection_id":154596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:17:47] local.INFO: Extracted packet for processing {"connection_id":154596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314204928001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383914000,"timestamp_ms":1786383914000,"timestamp_seconds":1786383914,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc75410"} 
[2026-08-10 23:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314204928001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314204928001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:17:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:17:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314204928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":154596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:17:47] local.INFO: GPS data processed {"connection_id":154596,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:17:47] local.INFO: Acknowledgment sent {"connection_id":154596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:17:54] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:17:54] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:17:54] local.INFO: IMEI packet received {"connection_id":152254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":152254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:17:59] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:17:59] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:17:59] local.INFO: IMEI packet received {"connection_id":152254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":152254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:18:00] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:18:00] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:18:00] local.INFO: Packet analysis {"connection_id":152254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:18:00] local.INFO: Extracted packet for processing {"connection_id":152254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:18:00] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786383922000,"timestamp_ms":1786383922000,"timestamp_seconds":1786383922,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc77350"} 
[2026-08-10 23:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":26419,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:18:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:18:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":26419,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":152254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:18:00] local.INFO: GPS data processed {"connection_id":152254,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:18:00] local.INFO: Acknowledgment sent {"connection_id":152254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:18:18] local.INFO: TCP Data received {"connection_id":154596,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:18:18] local.INFO: Processing buffer {"connection_id":154596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:18:18] local.INFO: Packet analysis {"connection_id":154596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:18:18] local.INFO: Extracted packet for processing {"connection_id":154596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314204928001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383914000,"timestamp_ms":1786383914000,"timestamp_seconds":1786383914,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc75410"} 
[2026-08-10 23:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314204928001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314204928001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:18:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314204928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":154596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:18:18] local.INFO: GPS data processed {"connection_id":154596,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:18:18] local.INFO: Acknowledgment sent {"connection_id":154596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:18:31] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:18:31] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:18:31] local.INFO: Packet analysis {"connection_id":152254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:18:31] local.INFO: Extracted packet for processing {"connection_id":152254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:18:31] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786383922000,"timestamp_ms":1786383922000,"timestamp_seconds":1786383922,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc77350"} 
[2026-08-10 23:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:18: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-08-10 23:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":26419,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:18:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:18:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":26419,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":152254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:18:31] local.INFO: GPS data processed {"connection_id":152254,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:18:31] local.INFO: Acknowledgment sent {"connection_id":152254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:18:46] local.INFO: TCP Data received {"connection_id":154597,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:18:46] local.INFO: Processing buffer {"connection_id":154597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:18:46] local.INFO: IMEI packet received {"connection_id":154597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":154597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:18:51] local.INFO: TCP Data received {"connection_id":154597,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:18:51] local.INFO: Processing buffer {"connection_id":154597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:18:51] local.INFO: IMEI packet received {"connection_id":154597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":154597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:18:52] local.INFO: TCP Data received {"connection_id":154597,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:18:52] local.INFO: Processing buffer {"connection_id":154597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:18:52] local.INFO: Packet analysis {"connection_id":154597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:18:52] local.INFO: Extracted packet for processing {"connection_id":154597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314204928001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786383914000,"timestamp_ms":1786383914000,"timestamp_seconds":1786383914,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc75410"} 
[2026-08-10 23:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314204928001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314204928001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:18:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:18:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314204928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":154597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:18:52] local.INFO: GPS data processed {"connection_id":154597,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:18:52] local.INFO: Acknowledgment sent {"connection_id":154597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:18:54] local.INFO: TCP Data received {"connection_id":151880,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:18:54] local.INFO: Processing buffer {"connection_id":151880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:18:54] local.INFO: IMEI packet received {"connection_id":151880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":151880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:18:56] local.INFO: TCP Data received {"connection_id":154597,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:18:56] local.INFO: Processing buffer {"connection_id":154597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:18:56] local.INFO: Packet analysis {"connection_id":154597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:18:56] local.INFO: Extracted packet for processing {"connection_id":154597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:18:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314204928001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786383914000,"timestamp_ms":1786383914000,"timestamp_seconds":1786383914,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc75410"} 
[2026-08-10 23:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314204928001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314204928001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:18:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314204928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":154597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:18:56] local.INFO: GPS data processed {"connection_id":154597,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:18:56] local.INFO: Acknowledgment sent {"connection_id":154597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:18:59] local.INFO: TCP Data received {"connection_id":151880,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:18:59] local.INFO: Processing buffer {"connection_id":151880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:18:59] local.INFO: IMEI packet received {"connection_id":151880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":151880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:19:00] local.INFO: TCP Data received {"connection_id":151880,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:19:00] local.INFO: Processing buffer {"connection_id":151880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:19:00] local.INFO: Packet analysis {"connection_id":151880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:19:00] local.INFO: Extracted packet for processing {"connection_id":151880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:19:00] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786383922000,"timestamp_ms":1786383922000,"timestamp_seconds":1786383922,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc77350"} 
[2026-08-10 23:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":26419,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:19:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:19:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":26419,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":151880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:19:00] local.INFO: GPS data processed {"connection_id":151880,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:19:00] local.INFO: Acknowledgment sent {"connection_id":151880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:19:31] local.INFO: TCP Data received {"connection_id":151880,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:19:31] local.INFO: Processing buffer {"connection_id":151880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:19:31] local.INFO: Packet analysis {"connection_id":151880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:19:31] local.INFO: Extracted packet for processing {"connection_id":151880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:19:31] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786383922000,"timestamp_ms":1786383922000,"timestamp_seconds":1786383922,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc77350"} 
[2026-08-10 23:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":26419,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:19:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:19:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":26419,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":151880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:19:31] local.INFO: GPS data processed {"connection_id":151880,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:19:31] local.INFO: Acknowledgment sent {"connection_id":151880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:19:41] local.INFO: TCP Data received {"connection_id":153198,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:19:41] local.INFO: Processing buffer {"connection_id":153198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:19:41] local.INFO: IMEI packet received {"connection_id":153198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":153198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:19:46] local.INFO: TCP Data received {"connection_id":153198,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:19:46] local.INFO: Processing buffer {"connection_id":153198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:19:46] local.INFO: IMEI packet received {"connection_id":153198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":153198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:19:47] local.INFO: TCP Data received {"connection_id":153198,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:19:47] local.INFO: Processing buffer {"connection_id":153198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:19:47] local.INFO: Packet analysis {"connection_id":153198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:19:47] local.INFO: Extracted packet for processing {"connection_id":153198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314204928001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383914000,"timestamp_ms":1786383914000,"timestamp_seconds":1786383914,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc75410"} 
[2026-08-10 23:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314204928001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314204928001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:19:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:19:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314204928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":153198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:19:47] local.INFO: GPS data processed {"connection_id":153198,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:19:47] local.INFO: Acknowledgment sent {"connection_id":153198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:19:54] local.INFO: TCP Data received {"connection_id":151881,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:19:54] local.INFO: Processing buffer {"connection_id":151881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:19:54] local.INFO: IMEI packet received {"connection_id":151881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":151881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:19:59] local.INFO: TCP Data received {"connection_id":151881,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:19:59] local.INFO: Processing buffer {"connection_id":151881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:19:59] local.INFO: IMEI packet received {"connection_id":151881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":151881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:20:00] local.INFO: TCP Data received {"connection_id":151881,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:20:00] local.INFO: Processing buffer {"connection_id":151881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:20:00] local.INFO: Packet analysis {"connection_id":151881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:20:00] local.INFO: Extracted packet for processing {"connection_id":151881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:20:00] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786383922000,"timestamp_ms":1786383922000,"timestamp_seconds":1786383922,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc77350"} 
[2026-08-10 23:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":26419,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:20:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:20:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":26419,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":151881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:20:00] local.INFO: GPS data processed {"connection_id":151881,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:20:00] local.INFO: Acknowledgment sent {"connection_id":151881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:20:18] local.INFO: TCP Data received {"connection_id":153198,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:20:18] local.INFO: Processing buffer {"connection_id":153198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:20:18] local.INFO: Packet analysis {"connection_id":153198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:20:18] local.INFO: Extracted packet for processing {"connection_id":153198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314204928001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786383914000,"timestamp_ms":1786383914000,"timestamp_seconds":1786383914,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc75410"} 
[2026-08-10 23:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314204928001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314204928001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:20:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:20:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314204928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":153198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:20:18] local.INFO: GPS data processed {"connection_id":153198,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:20:18] local.INFO: Acknowledgment sent {"connection_id":153198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:20:31] local.INFO: TCP Data received {"connection_id":151881,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:20:31] local.INFO: Processing buffer {"connection_id":151881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:20:31] local.INFO: Packet analysis {"connection_id":151881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:20:31] local.INFO: Extracted packet for processing {"connection_id":151881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:20:31] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786383922000,"timestamp_ms":1786383922000,"timestamp_seconds":1786383922,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc77350"} 
[2026-08-10 23:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":26419,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:20:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:20:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":26419,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":151881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:20:31] local.INFO: GPS data processed {"connection_id":151881,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:20:31] local.INFO: Acknowledgment sent {"connection_id":151881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:20:41] local.INFO: TCP Data received {"connection_id":152255,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:20:41] local.INFO: Processing buffer {"connection_id":152255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:20:41] local.INFO: IMEI packet received {"connection_id":152255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":152255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:20:46] local.INFO: TCP Data received {"connection_id":152255,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:20:46] local.INFO: Processing buffer {"connection_id":152255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:20:46] local.INFO: IMEI packet received {"connection_id":152255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":152255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:20:47] local.INFO: TCP Data received {"connection_id":152255,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:20:47] local.INFO: Processing buffer {"connection_id":152255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:20:47] local.INFO: Packet analysis {"connection_id":152255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:20:47] local.INFO: Extracted packet for processing {"connection_id":152255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314204928001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786383914000,"timestamp_ms":1786383914000,"timestamp_seconds":1786383914,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc75410"} 
[2026-08-10 23:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314204928001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314204928001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:20:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314204928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":152255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:20:47] local.INFO: GPS data processed {"connection_id":152255,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:20:47] local.INFO: Acknowledgment sent {"connection_id":152255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:20:51] local.INFO: TCP Data received {"connection_id":152255,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:20:51] local.INFO: Processing buffer {"connection_id":152255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc75410012d196580071ff038003c014227..."} 
[2026-08-10 23:20:51] local.INFO: Packet analysis {"connection_id":152255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:20:51] local.INFO: Extracted packet for processing {"connection_id":152255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314204928001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786383914000,"timestamp_ms":1786383914000,"timestamp_seconds":1786383914,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc75410"} 
[2026-08-10 23:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:20: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-08-10 23:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314204928001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314204928001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:20:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314204928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":152255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:20:51] local.INFO: GPS data processed {"connection_id":152255,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:20:51] local.INFO: Acknowledgment sent {"connection_id":152255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:20:54] local.INFO: TCP Data received {"connection_id":154598,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:20:54] local.INFO: Processing buffer {"connection_id":154598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:20:54] local.INFO: IMEI packet received {"connection_id":154598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":154598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:20:59] local.INFO: TCP Data received {"connection_id":154598,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:20:59] local.INFO: Processing buffer {"connection_id":154598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:20:59] local.INFO: IMEI packet received {"connection_id":154598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":154598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:21:00] local.INFO: TCP Data received {"connection_id":154598,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:21:00] local.INFO: Processing buffer {"connection_id":154598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecc77350012d49a2c0067395a8000900d62e..."} 
[2026-08-10 23:21:00] local.INFO: Packet analysis {"connection_id":154598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:21:00] local.INFO: Extracted packet for processing {"connection_id":154598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecc7"} 
[2026-08-10 23:21:00] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314206208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310799519542968320,"note":"Value kept but may cause issues"} 
[2026-08-10 23:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786383922000,"timestamp_ms":1786383922000,"timestamp_seconds":1786383922,"priority":1,"record_length":96,"hex_timestamp":"0000019fecc77350"} 
[2026-08-10 23:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:21: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-08-10 23:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-10 23:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23: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-08-10 23:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314206208001,"66":26419,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5310799519542968320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314206208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:21:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:21:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310799519542968320,"description":"Unknown IO ID 45"} 
[2026-08-10 23:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314206208001,"power":26419,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310799519542968320}} 
[2026-08-10 23:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":154598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:21:00] local.INFO: GPS data processed {"connection_id":154598,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:21:00] local.INFO: Acknowledgment sent {"connection_id":154598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:21:22] local.INFO: TCP Data received {"connection_id":152255,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:21:22] local.INFO: Processing buffer {"connection_id":152255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:21:22] local.INFO: Packet analysis {"connection_id":152255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:21:22] local.INFO: Extracted packet for processing {"connection_id":152255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314281984001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786384215000,"timestamp_ms":1786384215000,"timestamp_seconds":1786384215,"priority":1,"record_length":96,"hex_timestamp":"0000019feccbebd8"} 
[2026-08-10 23:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:21: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314281984001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314281984001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:21:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314281984001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":152255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:21:22] local.INFO: GPS data processed {"connection_id":152255,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:21:22] local.INFO: Acknowledgment sent {"connection_id":152255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:21:31] local.INFO: TCP Data received {"connection_id":154598,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:21:31] local.INFO: Processing buffer {"connection_id":154598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:21:31] local.INFO: Packet analysis {"connection_id":154598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:21:31] local.INFO: Extracted packet for processing {"connection_id":154598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:21:31] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314284032001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786384223000,"timestamp_ms":1786384223000,"timestamp_seconds":1786384223,"priority":1,"record_length":96,"hex_timestamp":"0000019feccc0b18"} 
[2026-08-10 23:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:21: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-08-10 23: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 23:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23: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-08-10 23:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314284032001,"66":26115,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314284032001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:21:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:21:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314284032001,"power":26115,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":154598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:21:31] local.INFO: GPS data processed {"connection_id":154598,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:21:31] local.INFO: Acknowledgment sent {"connection_id":154598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:21:41] local.INFO: TCP Data received {"connection_id":154599,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:21:41] local.INFO: Processing buffer {"connection_id":154599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:21:41] local.INFO: IMEI packet received {"connection_id":154599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":154599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:21:46] local.INFO: TCP Data received {"connection_id":154599,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:21:46] local.INFO: Processing buffer {"connection_id":154599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:21:46] local.INFO: IMEI packet received {"connection_id":154599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":154599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:21:47] local.INFO: TCP Data received {"connection_id":154599,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:21:47] local.INFO: Processing buffer {"connection_id":154599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:21:47] local.INFO: Packet analysis {"connection_id":154599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:21:47] local.INFO: Extracted packet for processing {"connection_id":154599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314281984001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786384215000,"timestamp_ms":1786384215000,"timestamp_seconds":1786384215,"priority":1,"record_length":96,"hex_timestamp":"0000019feccbebd8"} 
[2026-08-10 23:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314281984001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314281984001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:21:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314281984001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":154599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:21:47] local.INFO: GPS data processed {"connection_id":154599,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:21:47] local.INFO: Acknowledgment sent {"connection_id":154599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:21:54] local.INFO: TCP Data received {"connection_id":153199,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:21:54] local.INFO: Processing buffer {"connection_id":153199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:21:54] local.INFO: IMEI packet received {"connection_id":153199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":153199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:21:59] local.INFO: TCP Data received {"connection_id":153199,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:21:59] local.INFO: Processing buffer {"connection_id":153199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:21:59] local.INFO: IMEI packet received {"connection_id":153199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":153199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:22:00] local.INFO: TCP Data received {"connection_id":153199,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:22:00] local.INFO: Processing buffer {"connection_id":153199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:22:00] local.INFO: Packet analysis {"connection_id":153199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:22:00] local.INFO: Extracted packet for processing {"connection_id":153199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:22:00] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314284032001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786384223000,"timestamp_ms":1786384223000,"timestamp_seconds":1786384223,"priority":1,"record_length":96,"hex_timestamp":"0000019feccc0b18"} 
[2026-08-10 23:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":51,"data_length":795,"current_offset":136} 
[2026-08-10 23:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:22: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-08-10 23:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314284032001,"66":26115,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314284032001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:22:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:22:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314284032001,"power":26115,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":153199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:22:00] local.INFO: GPS data processed {"connection_id":153199,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:22:00] local.INFO: Acknowledgment sent {"connection_id":153199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:22:18] local.INFO: TCP Data received {"connection_id":154599,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:22:18] local.INFO: Processing buffer {"connection_id":154599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:22:18] local.INFO: Packet analysis {"connection_id":154599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:22:18] local.INFO: Extracted packet for processing {"connection_id":154599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314281984001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786384215000,"timestamp_ms":1786384215000,"timestamp_seconds":1786384215,"priority":1,"record_length":96,"hex_timestamp":"0000019feccbebd8"} 
[2026-08-10 23:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314281984001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314281984001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:22:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314281984001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":154599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:22:18] local.INFO: GPS data processed {"connection_id":154599,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:22:18] local.INFO: Acknowledgment sent {"connection_id":154599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:22:31] local.INFO: TCP Data received {"connection_id":153199,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:22:31] local.INFO: Processing buffer {"connection_id":153199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:22:31] local.INFO: Packet analysis {"connection_id":153199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:22:31] local.INFO: Extracted packet for processing {"connection_id":153199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:22:31] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314284032001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786384223000,"timestamp_ms":1786384223000,"timestamp_seconds":1786384223,"priority":1,"record_length":96,"hex_timestamp":"0000019feccc0b18"} 
[2026-08-10 23:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":51,"data_length":795,"current_offset":136} 
[2026-08-10 23:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314284032001,"66":26115,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314284032001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:22:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:22:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314284032001,"power":26115,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":153199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:22:31] local.INFO: GPS data processed {"connection_id":153199,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:22:31] local.INFO: Acknowledgment sent {"connection_id":153199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:22:46] local.INFO: TCP Data received {"connection_id":153200,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:22:46] local.INFO: Processing buffer {"connection_id":153200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:22:46] local.INFO: IMEI packet received {"connection_id":153200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":153200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:22:54] local.INFO: TCP Data received {"connection_id":153200,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:22:54] local.INFO: Processing buffer {"connection_id":153200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:22:54] local.INFO: IMEI packet received {"connection_id":153200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":153200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:22:54] local.INFO: TCP Data received {"connection_id":151882,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:22:54] local.INFO: Processing buffer {"connection_id":151882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:22:54] local.INFO: IMEI packet received {"connection_id":151882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":151882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:22:57] local.INFO: TCP Data received {"connection_id":153200,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:22:57] local.INFO: Processing buffer {"connection_id":153200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:22:57] local.INFO: Packet analysis {"connection_id":153200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:22:57] local.INFO: Extracted packet for processing {"connection_id":153200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314281984001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786384215000,"timestamp_ms":1786384215000,"timestamp_seconds":1786384215,"priority":1,"record_length":96,"hex_timestamp":"0000019feccbebd8"} 
[2026-08-10 23:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314281984001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314281984001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:22:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314281984001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":153200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:22:57] local.INFO: GPS data processed {"connection_id":153200,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:22:57] local.INFO: Acknowledgment sent {"connection_id":153200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:22:59] local.INFO: TCP Data received {"connection_id":151882,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:22:59] local.INFO: Processing buffer {"connection_id":151882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:22:59] local.INFO: IMEI packet received {"connection_id":151882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":151882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:23:00] local.INFO: TCP Data received {"connection_id":151882,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:23:00] local.INFO: Processing buffer {"connection_id":151882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:23:00] local.INFO: Packet analysis {"connection_id":151882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:23:00] local.INFO: Extracted packet for processing {"connection_id":151882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:23:00] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314284032001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786384223000,"timestamp_ms":1786384223000,"timestamp_seconds":1786384223,"priority":1,"record_length":96,"hex_timestamp":"0000019feccc0b18"} 
[2026-08-10 23:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:23: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-08-10 23: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 23:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314284032001,"66":26115,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314284032001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:23:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:23:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314284032001,"power":26115,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":151882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:23:00] local.INFO: GPS data processed {"connection_id":151882,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:23:00] local.INFO: Acknowledgment sent {"connection_id":151882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:23:01] local.INFO: TCP Data received {"connection_id":153200,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:23:01] local.INFO: Processing buffer {"connection_id":153200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:23:01] local.INFO: Packet analysis {"connection_id":153200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:23:01] local.INFO: Extracted packet for processing {"connection_id":153200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:23:01] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314281984001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786384215000,"timestamp_ms":1786384215000,"timestamp_seconds":1786384215,"priority":1,"record_length":96,"hex_timestamp":"0000019feccbebd8"} 
[2026-08-10 23:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314281984001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314281984001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:23:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:23:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314281984001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":153200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:23:01] local.INFO: GPS data processed {"connection_id":153200,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:23:01] local.INFO: Acknowledgment sent {"connection_id":153200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:23:31] local.INFO: TCP Data received {"connection_id":151882,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:23:31] local.INFO: Processing buffer {"connection_id":151882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:23:31] local.INFO: Packet analysis {"connection_id":151882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:23:31] local.INFO: Extracted packet for processing {"connection_id":151882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:23:31] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314284032001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786384223000,"timestamp_ms":1786384223000,"timestamp_seconds":1786384223,"priority":1,"record_length":96,"hex_timestamp":"0000019feccc0b18"} 
[2026-08-10 23:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:23: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-08-10 23: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 23:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314284032001,"66":26115,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314284032001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:23:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:23:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314284032001,"power":26115,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":151882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:23:31] local.INFO: GPS data processed {"connection_id":151882,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:23:31] local.INFO: Acknowledgment sent {"connection_id":151882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:23:41] local.INFO: TCP Data received {"connection_id":151883,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:23:41] local.INFO: Processing buffer {"connection_id":151883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:23:41] local.INFO: IMEI packet received {"connection_id":151883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":151883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:23:46] local.INFO: TCP Data received {"connection_id":151883,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:23:46] local.INFO: Processing buffer {"connection_id":151883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:23:46] local.INFO: IMEI packet received {"connection_id":151883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":151883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:23:47] local.INFO: TCP Data received {"connection_id":151883,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:23:47] local.INFO: Processing buffer {"connection_id":151883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:23:47] local.INFO: Packet analysis {"connection_id":151883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:23:47] local.INFO: Extracted packet for processing {"connection_id":151883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314281984001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786384215000,"timestamp_ms":1786384215000,"timestamp_seconds":1786384215,"priority":1,"record_length":96,"hex_timestamp":"0000019feccbebd8"} 
[2026-08-10 23:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314281984001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314281984001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:23:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314281984001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":151883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:23:47] local.INFO: GPS data processed {"connection_id":151883,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:23:47] local.INFO: Acknowledgment sent {"connection_id":151883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:23:54] local.INFO: TCP Data received {"connection_id":152256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:23:54] local.INFO: Processing buffer {"connection_id":152256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:23:54] local.INFO: IMEI packet received {"connection_id":152256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":152256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:23:59] local.INFO: TCP Data received {"connection_id":152256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:23:59] local.INFO: Processing buffer {"connection_id":152256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:23:59] local.INFO: IMEI packet received {"connection_id":152256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":152256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:24:00] local.INFO: TCP Data received {"connection_id":152256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:24:00] local.INFO: Processing buffer {"connection_id":152256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:24:00] local.INFO: Packet analysis {"connection_id":152256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:24:00] local.INFO: Extracted packet for processing {"connection_id":152256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:24:00] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314284032001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786384223000,"timestamp_ms":1786384223000,"timestamp_seconds":1786384223,"priority":1,"record_length":96,"hex_timestamp":"0000019feccc0b18"} 
[2026-08-10 23:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 23:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23: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-08-10 23:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314284032001,"66":26115,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314284032001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:24:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:24:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314284032001,"power":26115,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":152256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:24:00] local.INFO: GPS data processed {"connection_id":152256,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:24:00] local.INFO: Acknowledgment sent {"connection_id":152256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:24:18] local.INFO: TCP Data received {"connection_id":151883,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:24:18] local.INFO: Processing buffer {"connection_id":151883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:24:18] local.INFO: Packet analysis {"connection_id":151883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:24:18] local.INFO: Extracted packet for processing {"connection_id":151883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314281984001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786384215000,"timestamp_ms":1786384215000,"timestamp_seconds":1786384215,"priority":1,"record_length":96,"hex_timestamp":"0000019feccbebd8"} 
[2026-08-10 23:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314281984001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314281984001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:24:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314281984001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":151883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:24:18] local.INFO: GPS data processed {"connection_id":151883,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:24:18] local.INFO: Acknowledgment sent {"connection_id":151883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:24:31] local.INFO: TCP Data received {"connection_id":152256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:24:31] local.INFO: Processing buffer {"connection_id":152256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:24:31] local.INFO: Packet analysis {"connection_id":152256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:24:31] local.INFO: Extracted packet for processing {"connection_id":152256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:24:31] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314284032001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786384223000,"timestamp_ms":1786384223000,"timestamp_seconds":1786384223,"priority":1,"record_length":96,"hex_timestamp":"0000019feccc0b18"} 
[2026-08-10 23:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-10 23:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314284032001,"66":26115,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314284032001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:24:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:24:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314284032001,"power":26115,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":152256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:24:31] local.INFO: GPS data processed {"connection_id":152256,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:24:31] local.INFO: Acknowledgment sent {"connection_id":152256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:24:41] local.INFO: TCP Data received {"connection_id":152257,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:24:41] local.INFO: Processing buffer {"connection_id":152257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:24:41] local.INFO: IMEI packet received {"connection_id":152257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":152257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:24:46] local.INFO: TCP Data received {"connection_id":152257,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:24:46] local.INFO: Processing buffer {"connection_id":152257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:24:46] local.INFO: IMEI packet received {"connection_id":152257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":152257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:24:47] local.INFO: TCP Data received {"connection_id":152257,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:24:47] local.INFO: Processing buffer {"connection_id":152257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:24:47] local.INFO: Packet analysis {"connection_id":152257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:24:47] local.INFO: Extracted packet for processing {"connection_id":152257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314281984001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786384215000,"timestamp_ms":1786384215000,"timestamp_seconds":1786384215,"priority":1,"record_length":96,"hex_timestamp":"0000019feccbebd8"} 
[2026-08-10 23:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314281984001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314281984001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:24:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:24:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314281984001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":152257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:24:47] local.INFO: GPS data processed {"connection_id":152257,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:24:47] local.INFO: Acknowledgment sent {"connection_id":152257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:24:54] local.INFO: TCP Data received {"connection_id":151884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:24:54] local.INFO: Processing buffer {"connection_id":151884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:24:54] local.INFO: IMEI packet received {"connection_id":151884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":151884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:24:59] local.INFO: TCP Data received {"connection_id":151884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:24:59] local.INFO: Processing buffer {"connection_id":151884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:24:59] local.INFO: IMEI packet received {"connection_id":151884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":151884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:25:00] local.INFO: TCP Data received {"connection_id":151884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:25:00] local.INFO: Processing buffer {"connection_id":151884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:25:00] local.INFO: Packet analysis {"connection_id":151884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:25:00] local.INFO: Extracted packet for processing {"connection_id":151884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:25:00] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314284032001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786384223000,"timestamp_ms":1786384223000,"timestamp_seconds":1786384223,"priority":1,"record_length":96,"hex_timestamp":"0000019feccc0b18"} 
[2026-08-10 23:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":51,"data_length":795,"current_offset":136} 
[2026-08-10 23:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23: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-08-10 23:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314284032001,"66":26115,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314284032001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:25:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:25:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314284032001,"power":26115,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":151884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:25:00] local.INFO: GPS data processed {"connection_id":151884,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:25:00] local.INFO: Acknowledgment sent {"connection_id":151884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:25:18] local.INFO: TCP Data received {"connection_id":152257,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:25:18] local.INFO: Processing buffer {"connection_id":152257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:25:18] local.INFO: Packet analysis {"connection_id":152257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:25:18] local.INFO: Extracted packet for processing {"connection_id":152257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314281984001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786384215000,"timestamp_ms":1786384215000,"timestamp_seconds":1786384215,"priority":1,"record_length":96,"hex_timestamp":"0000019feccbebd8"} 
[2026-08-10 23:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314281984001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314281984001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:25:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314281984001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":152257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:25:18] local.INFO: GPS data processed {"connection_id":152257,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:25:18] local.INFO: Acknowledgment sent {"connection_id":152257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:25:31] local.INFO: TCP Data received {"connection_id":151884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:25:31] local.INFO: Processing buffer {"connection_id":151884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccc0b18012d49a2c0067395a8000900d630..."} 
[2026-08-10 23:25:31] local.INFO: Packet analysis {"connection_id":151884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:25:31] local.INFO: Extracted packet for processing {"connection_id":151884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccc"} 
[2026-08-10 23:25:31] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314284032001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786384223000,"timestamp_ms":1786384223000,"timestamp_seconds":1786384223,"priority":1,"record_length":96,"hex_timestamp":"0000019feccc0b18"} 
[2026-08-10 23:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":51,"data_length":795,"current_offset":136} 
[2026-08-10 23:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23: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-08-10 23:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314284032001,"66":26115,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314284032001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:25:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:25:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314284032001,"power":26115,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":151884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:25:31] local.INFO: GPS data processed {"connection_id":151884,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:25:31] local.INFO: Acknowledgment sent {"connection_id":151884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:25:41] local.INFO: TCP Data received {"connection_id":152258,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:25:41] local.INFO: Processing buffer {"connection_id":152258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:25:41] local.INFO: IMEI packet received {"connection_id":152258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":152258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:25:46] local.INFO: TCP Data received {"connection_id":152258,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:25:46] local.INFO: Processing buffer {"connection_id":152258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:25:46] local.INFO: IMEI packet received {"connection_id":152258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":152258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:25:47] local.INFO: TCP Data received {"connection_id":152258,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:25:47] local.INFO: Processing buffer {"connection_id":152258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feccbebd8012d196580071ff038003c014225..."} 
[2026-08-10 23:25:47] local.INFO: Packet analysis {"connection_id":152258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:25:47] local.INFO: Extracted packet for processing {"connection_id":152258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feccb"} 
[2026-08-10 23:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314281984001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786384215000,"timestamp_ms":1786384215000,"timestamp_seconds":1786384215,"priority":1,"record_length":96,"hex_timestamp":"0000019feccbebd8"} 
[2026-08-10 23:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314281984001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314281984001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:25:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314281984001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":152258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:25:47] local.INFO: GPS data processed {"connection_id":152258,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:25:47] local.INFO: Acknowledgment sent {"connection_id":152258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:25:59] local.INFO: TCP Data received {"connection_id":152259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:25:59] local.INFO: Processing buffer {"connection_id":152259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:25:59] local.INFO: IMEI packet received {"connection_id":152259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":152259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:26:02] local.INFO: TCP Data received {"connection_id":152259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:26:02] local.INFO: Processing buffer {"connection_id":152259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:26:02] local.INFO: IMEI packet received {"connection_id":152259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":152259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:26:03] local.INFO: TCP Data received {"connection_id":152259,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:26:03] local.INFO: Processing buffer {"connection_id":152259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:26:03] local.INFO: Packet analysis {"connection_id":152259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:26:03] local.INFO: Extracted packet for processing {"connection_id":152259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:26:03] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314361088001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786384524000,"timestamp_ms":1786384524000,"timestamp_seconds":1786384524,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd0a2e0"} 
[2026-08-10 23:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 23:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314361088001,"66":26006,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314361088001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:26:03] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:26:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314361088001,"power":26006,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":152259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:26:03] local.INFO: GPS data processed {"connection_id":152259,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:26:03] local.INFO: Acknowledgment sent {"connection_id":152259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:26:04] local.INFO: TCP Data received {"connection_id":152259,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:26:04] local.INFO: Processing buffer {"connection_id":152259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:26:04] local.INFO: Packet analysis {"connection_id":152259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:26:04] local.INFO: Extracted packet for processing {"connection_id":152259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:26:04] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314361088001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786384524000,"timestamp_ms":1786384524000,"timestamp_seconds":1786384524,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd0a2e0"} 
[2026-08-10 23:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:26: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-08-10 23:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 23:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314361088001,"66":26006,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314361088001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:26:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:26:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314361088001,"power":26006,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":152259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:26:04] local.INFO: GPS data processed {"connection_id":152259,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:26:04] local.INFO: Acknowledgment sent {"connection_id":152259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:26:18] local.INFO: TCP Data received {"connection_id":152258,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:26:18] local.INFO: Processing buffer {"connection_id":152258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:26:18] local.INFO: Packet analysis {"connection_id":152258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:26:18] local.INFO: Extracted packet for processing {"connection_id":152258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314359040001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786384516000,"timestamp_ms":1786384516000,"timestamp_seconds":1786384516,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd083a0"} 
[2026-08-10 23:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23: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-08-10 23:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314359040001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314359040001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:26:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314359040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":152258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:26:18] local.INFO: GPS data processed {"connection_id":152258,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:26:18] local.INFO: Acknowledgment sent {"connection_id":152258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:26:35] local.INFO: TCP Data received {"connection_id":152259,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:26:35] local.INFO: Processing buffer {"connection_id":152259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:26:35] local.INFO: Packet analysis {"connection_id":152259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:26:35] local.INFO: Extracted packet for processing {"connection_id":152259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:26:35] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314361088001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786384524000,"timestamp_ms":1786384524000,"timestamp_seconds":1786384524,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd0a2e0"} 
[2026-08-10 23:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:26: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-08-10 23:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 23:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314361088001,"66":26006,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314361088001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:26:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:26:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314361088001,"power":26006,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":152259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:26:35] local.INFO: GPS data processed {"connection_id":152259,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:26:35] local.INFO: Acknowledgment sent {"connection_id":152259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:26:46] local.INFO: TCP Data received {"connection_id":154600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:26:46] local.INFO: Processing buffer {"connection_id":154600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:26:46] local.INFO: IMEI packet received {"connection_id":154600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":154600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:26:51] local.INFO: TCP Data received {"connection_id":154600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:26:51] local.INFO: Processing buffer {"connection_id":154600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:26:51] local.INFO: IMEI packet received {"connection_id":154600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":154600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:26:52] local.INFO: TCP Data received {"connection_id":154600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:26:52] local.INFO: Processing buffer {"connection_id":154600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:26:52] local.INFO: Packet analysis {"connection_id":154600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:26:52] local.INFO: Extracted packet for processing {"connection_id":154600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314359040001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786384516000,"timestamp_ms":1786384516000,"timestamp_seconds":1786384516,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd083a0"} 
[2026-08-10 23:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314359040001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314359040001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:26:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314359040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":154600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:26:52] local.INFO: GPS data processed {"connection_id":154600,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:26:52] local.INFO: Acknowledgment sent {"connection_id":154600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:26:54] local.INFO: TCP Data received {"connection_id":154601,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:26:54] local.INFO: Processing buffer {"connection_id":154601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:26:54] local.INFO: IMEI packet received {"connection_id":154601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":154601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:26:56] local.INFO: TCP Data received {"connection_id":154600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:26:56] local.INFO: Processing buffer {"connection_id":154600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:26:56] local.INFO: Packet analysis {"connection_id":154600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:26:56] local.INFO: Extracted packet for processing {"connection_id":154600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314359040001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786384516000,"timestamp_ms":1786384516000,"timestamp_seconds":1786384516,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd083a0"} 
[2026-08-10 23:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:26: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-08-10 23:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314359040001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314359040001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:26:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:26:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314359040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":154600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:26:56] local.INFO: GPS data processed {"connection_id":154600,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:26:56] local.INFO: Acknowledgment sent {"connection_id":154600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:26:59] local.INFO: TCP Data received {"connection_id":154601,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:26:59] local.INFO: Processing buffer {"connection_id":154601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:26:59] local.INFO: IMEI packet received {"connection_id":154601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":154601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:27:00] local.INFO: TCP Data received {"connection_id":154601,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:27:00] local.INFO: Processing buffer {"connection_id":154601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:27:00] local.INFO: Packet analysis {"connection_id":154601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:27:00] local.INFO: Extracted packet for processing {"connection_id":154601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:27:00] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314361088001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786384524000,"timestamp_ms":1786384524000,"timestamp_seconds":1786384524,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd0a2e0"} 
[2026-08-10 23:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":3,"data_length":795,"current_offset":136} 
[2026-08-10 23:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314361088001,"66":26006,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314361088001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:27:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:27:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314361088001,"power":26006,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":154601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:27:00] local.INFO: GPS data processed {"connection_id":154601,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:27:00] local.INFO: Acknowledgment sent {"connection_id":154601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:27:31] local.INFO: TCP Data received {"connection_id":154601,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:27:31] local.INFO: Processing buffer {"connection_id":154601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:27:31] local.INFO: Packet analysis {"connection_id":154601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:27:31] local.INFO: Extracted packet for processing {"connection_id":154601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:27:31] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314361088001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786384524000,"timestamp_ms":1786384524000,"timestamp_seconds":1786384524,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd0a2e0"} 
[2026-08-10 23:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":3,"data_length":795,"current_offset":136} 
[2026-08-10 23:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314361088001,"66":26006,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314361088001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:27:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:27:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314361088001,"power":26006,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":154601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:27:31] local.INFO: GPS data processed {"connection_id":154601,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:27:31] local.INFO: Acknowledgment sent {"connection_id":154601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:27:41] local.INFO: TCP Data received {"connection_id":154602,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:27:41] local.INFO: Processing buffer {"connection_id":154602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:27:41] local.INFO: IMEI packet received {"connection_id":154602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":154602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:27:46] local.INFO: TCP Data received {"connection_id":154602,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:27:46] local.INFO: Processing buffer {"connection_id":154602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:27:46] local.INFO: IMEI packet received {"connection_id":154602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":154602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:27:47] local.INFO: TCP Data received {"connection_id":154602,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:27:47] local.INFO: Processing buffer {"connection_id":154602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:27:47] local.INFO: Packet analysis {"connection_id":154602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:27:47] local.INFO: Extracted packet for processing {"connection_id":154602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314359040001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786384516000,"timestamp_ms":1786384516000,"timestamp_seconds":1786384516,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd083a0"} 
[2026-08-10 23:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23: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-08-10 23:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314359040001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314359040001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:27:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314359040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":154602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:27:47] local.INFO: GPS data processed {"connection_id":154602,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:27:47] local.INFO: Acknowledgment sent {"connection_id":154602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:27:54] local.INFO: TCP Data received {"connection_id":151885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:27:54] local.INFO: Processing buffer {"connection_id":151885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:27:54] local.INFO: IMEI packet received {"connection_id":151885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":151885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:27:59] local.INFO: TCP Data received {"connection_id":151885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:27:59] local.INFO: Processing buffer {"connection_id":151885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:27:59] local.INFO: IMEI packet received {"connection_id":151885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":151885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:27:59] local.INFO: TCP Data received {"connection_id":151885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:27:59] local.INFO: Processing buffer {"connection_id":151885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd0a2e0012d49a2c0067395a8000900d62d..."} 
[2026-08-10 23:27:59] local.INFO: Packet analysis {"connection_id":151885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:27:59] local.INFO: Extracted packet for processing {"connection_id":151885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:27:59] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314361088001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786384524000,"timestamp_ms":1786384524000,"timestamp_seconds":1786384524,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd0a2e0"} 
[2026-08-10 23:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-10 23:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314361088001,"66":26006,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314361088001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:27:59] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:27:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314361088001,"power":26006,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":151885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:27:59] local.INFO: GPS data processed {"connection_id":151885,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:27:59] local.INFO: Acknowledgment sent {"connection_id":151885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:28:18] local.INFO: TCP Data received {"connection_id":154602,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:28:18] local.INFO: Processing buffer {"connection_id":154602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:28:18] local.INFO: Packet analysis {"connection_id":154602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:28:18] local.INFO: Extracted packet for processing {"connection_id":154602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314359040001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786384516000,"timestamp_ms":1786384516000,"timestamp_seconds":1786384516,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd083a0"} 
[2026-08-10 23:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:28: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314359040001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314359040001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:28:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314359040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":154602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:28:18] local.INFO: GPS data processed {"connection_id":154602,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:28:18] local.INFO: Acknowledgment sent {"connection_id":154602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:28:30] local.INFO: TCP Data received {"connection_id":151885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd2ae50012d49a2c0067395a8000900d62f..."} 
[2026-08-10 23:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd2ae50012d49a2c0067395a8000900d62f..."} 
[2026-08-10 23:28:30] local.INFO: Processing buffer {"connection_id":151885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd2ae50012d49a2c0067395a8000900d62f..."} 
[2026-08-10 23:28:30] local.INFO: Packet analysis {"connection_id":151885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd2"} 
[2026-08-10 23:28:30] local.INFO: Extracted packet for processing {"connection_id":151885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd2"} 
[2026-08-10 23:28:30] local.INFO: GPS Element Parsed {"raw_longitude":759800512,"raw_latitude":108238248,"longitude_deg":75.9800512,"latitude_deg":10.8238248,"altitude":9,"angle":214,"satellites":47,"speed":0,"hex_longitude":"2d49a2c0","hex_latitude":"067395a8","is_valid_coordinates":true} 
[2026-08-10 23:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314438144001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786384658000,"timestamp_ms":1786384658000,"timestamp_seconds":1786384658,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd2ae50"} 
[2026-08-10 23:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-10 23:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314438144001,"66":25952,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314438144001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:28:30] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:28:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314438144001,"power":25952,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":151885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:28:30] local.INFO: GPS data processed {"connection_id":151885,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:28:30] local.INFO: Acknowledgment sent {"connection_id":151885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:28:41] local.INFO: TCP Data received {"connection_id":153201,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:28:41] local.INFO: Processing buffer {"connection_id":153201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:28:41] local.INFO: IMEI packet received {"connection_id":153201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":153201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:28:46] local.INFO: TCP Data received {"connection_id":153201,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:28:46] local.INFO: Processing buffer {"connection_id":153201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:28:46] local.INFO: IMEI packet received {"connection_id":153201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":153201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:28:47] local.INFO: TCP Data received {"connection_id":153201,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:28:47] local.INFO: Processing buffer {"connection_id":153201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:28:47] local.INFO: Packet analysis {"connection_id":153201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:28:47] local.INFO: Extracted packet for processing {"connection_id":153201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314359040001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786384516000,"timestamp_ms":1786384516000,"timestamp_seconds":1786384516,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd083a0"} 
[2026-08-10 23:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314359040001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314359040001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:28:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314359040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":153201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:28:47] local.INFO: GPS data processed {"connection_id":153201,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:28:47] local.INFO: Acknowledgment sent {"connection_id":153201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:28:54] local.INFO: TCP Data received {"connection_id":152260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:28:54] local.INFO: Processing buffer {"connection_id":152260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:28:54] local.INFO: IMEI packet received {"connection_id":152260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":152260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:28:59] local.INFO: TCP Data received {"connection_id":152260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:28:59] local.INFO: Processing buffer {"connection_id":152260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:28:59] local.INFO: IMEI packet received {"connection_id":152260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":152260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:29:00] local.INFO: TCP Data received {"connection_id":152260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd30c10012d49a300067393f8000900db31..."} 
[2026-08-10 23:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd30c10012d49a300067393f8000900db31..."} 
[2026-08-10 23:29:00] local.INFO: Processing buffer {"connection_id":152260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd30c10012d49a300067393f8000900db31..."} 
[2026-08-10 23:29:00] local.INFO: Packet analysis {"connection_id":152260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd3"} 
[2026-08-10 23:29:00] local.INFO: Extracted packet for processing {"connection_id":152260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd3"} 
[2026-08-10 23:29:00] local.INFO: GPS Element Parsed {"raw_longitude":759800576,"raw_latitude":108237816,"longitude_deg":75.9800576,"latitude_deg":10.8237816,"altitude":9,"angle":219,"satellites":49,"speed":0,"hex_longitude":"2d49a300","hex_latitude":"067393f8","is_valid_coordinates":true} 
[2026-08-10 23:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314472448001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306014444937390080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786384682000,"timestamp_ms":1786384682000,"timestamp_seconds":1786384682,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd30c10"} 
[2026-08-10 23:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":96,"data_length":795,"current_offset":136} 
[2026-08-10 23:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314472448001,"66":27321,"218":206,"80":60160,"24":0,"16":376739627668602880,"45":5306014444937390080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-10 23:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314472448001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:29:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-10 23:29:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306014444937390080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314472448001,"power":27321,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306014444937390080}} 
[2026-08-10 23:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":152260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:29:00] local.INFO: GPS data processed {"connection_id":152260,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:29:00] local.INFO: Acknowledgment sent {"connection_id":152260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:29:01] local.INFO: TCP Data received {"connection_id":152260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd35e18012d49a300067393f8000900db2f..."} 
[2026-08-10 23:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd35e18012d49a300067393f8000900db2f..."} 
[2026-08-10 23:29:01] local.INFO: Processing buffer {"connection_id":152260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd35e18012d49a300067393f8000900db2f..."} 
[2026-08-10 23:29:01] local.INFO: Packet analysis {"connection_id":152260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd3"} 
[2026-08-10 23:29:01] local.INFO: Extracted packet for processing {"connection_id":152260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd3"} 
[2026-08-10 23:29:01] local.INFO: GPS Element Parsed {"raw_longitude":759800576,"raw_latitude":108237816,"longitude_deg":75.9800576,"latitude_deg":10.8237816,"altitude":9,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2d49a300","hex_latitude":"067393f8","is_valid_coordinates":true} 
[2026-08-10 23:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314478592001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739627668602880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306084813681457152,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786384703000,"timestamp_ms":1786384703000,"timestamp_seconds":1786384703,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd35e18"} 
[2026-08-10 23:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":185,"data_length":795,"current_offset":136} 
[2026-08-10 23:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:29: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-08-10 23:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314478592001,"66":27321,"81":206,"80":60160,"24":0,"16":376739627668602880,"45":5306084813681457152},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-08-10 23:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314478592001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:29:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-10 23:29:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739627668602880,"km_value":376739627668602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306084813681457152,"description":"Unknown IO ID 45"} 
[2026-08-10 23:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314478592001,"power":27321,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5306084813681457152}} 
[2026-08-10 23:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":152260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:29:01] local.INFO: GPS data processed {"connection_id":152260,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:29:01] local.INFO: Acknowledgment sent {"connection_id":152260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:29:18] local.INFO: TCP Data received {"connection_id":153201,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:29:18] local.INFO: Processing buffer {"connection_id":153201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:29:18] local.INFO: Packet analysis {"connection_id":153201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:29:18] local.INFO: Extracted packet for processing {"connection_id":153201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314359040001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786384516000,"timestamp_ms":1786384516000,"timestamp_seconds":1786384516,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd083a0"} 
[2026-08-10 23:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314359040001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314359040001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:29:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314359040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":153201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:29:18] local.INFO: GPS data processed {"connection_id":153201,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:29:18] local.INFO: Acknowledgment sent {"connection_id":153201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:29:32] local.INFO: TCP Data received {"connection_id":152260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd36db8012d49a240067393a8000e00fa31..."} 
[2026-08-10 23:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd36db8012d49a240067393a8000e00fa31..."} 
[2026-08-10 23:29:32] local.INFO: Processing buffer {"connection_id":152260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd36db8012d49a240067393a8000e00fa31..."} 
[2026-08-10 23:29:32] local.INFO: Packet analysis {"connection_id":152260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd3"} 
[2026-08-10 23:29:32] local.INFO: Extracted packet for processing {"connection_id":152260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd3"} 
[2026-08-10 23:29:32] local.INFO: GPS Element Parsed {"raw_longitude":759800384,"raw_latitude":108237736,"longitude_deg":75.9800384,"latitude_deg":10.8237736,"altitude":14,"angle":250,"satellites":49,"speed":2,"hex_longitude":"2d49a240","hex_latitude":"067393a8","is_valid_coordinates":true} 
[2026-08-10 23:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314483968001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739631963570176,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306084813681457152,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786384707000,"timestamp_ms":1786384707000,"timestamp_seconds":1786384707,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd36db8"} 
[2026-08-10 23:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 23:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314483968001,"66":27039,"81":206,"80":60160,"24":2,"16":376739631963570176,"45":5306084813681457152},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-08-10 23:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314483968001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:29:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-10 23:29:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739631963570176,"km_value":376739631963570.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306084813681457152,"description":"Unknown IO ID 45"} 
[2026-08-10 23:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314483968001,"power":27039,"unknown_81":206,"unknown_80":60160,"ignition":2,"odometer":null,"unknown_45":5306084813681457152}} 
[2026-08-10 23:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":152260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:29:33] local.INFO: GPS data processed {"connection_id":152260,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:29:33] local.INFO: Acknowledgment sent {"connection_id":152260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:29:41] local.INFO: TCP Data received {"connection_id":153202,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:29:41] local.INFO: Processing buffer {"connection_id":153202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:29:41] local.INFO: IMEI packet received {"connection_id":153202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":153202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:29:46] local.INFO: TCP Data received {"connection_id":153202,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:29:46] local.INFO: Processing buffer {"connection_id":153202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:29:46] local.INFO: IMEI packet received {"connection_id":153202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":153202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:29:47] local.INFO: TCP Data received {"connection_id":153202,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:29:47] local.INFO: Processing buffer {"connection_id":153202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:29:47] local.INFO: Packet analysis {"connection_id":153202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:29:47] local.INFO: Extracted packet for processing {"connection_id":153202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314359040001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786384516000,"timestamp_ms":1786384516000,"timestamp_seconds":1786384516,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd083a0"} 
[2026-08-10 23:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314359040001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314359040001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:29:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314359040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":153202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:29:47] local.INFO: GPS data processed {"connection_id":153202,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:29:47] local.INFO: Acknowledgment sent {"connection_id":153202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:29:54] local.INFO: TCP Data received {"connection_id":152261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:29:54] local.INFO: Processing buffer {"connection_id":152261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:29:54] local.INFO: IMEI packet received {"connection_id":152261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":152261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:29:56] local.INFO: TCP Data received {"connection_id":152261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:29:56] local.INFO: Processing buffer {"connection_id":152261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:29:56] local.INFO: IMEI packet received {"connection_id":152261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":152261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:29:57] local.INFO: TCP Data received {"connection_id":152261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd38140012d499f8006739258000e00e132..."} 
[2026-08-10 23:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd38140012d499f8006739258000e00e132..."} 
[2026-08-10 23:29:57] local.INFO: Processing buffer {"connection_id":152261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd38140012d499f8006739258000e00e132..."} 
[2026-08-10 23:29:57] local.INFO: Packet analysis {"connection_id":152261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd3"} 
[2026-08-10 23:29:57] local.INFO: Extracted packet for processing {"connection_id":152261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd3"} 
[2026-08-10 23:29:57] local.INFO: GPS Element Parsed {"raw_longitude":759799680,"raw_latitude":108237400,"longitude_deg":75.979968,"latitude_deg":10.82374,"altitude":14,"angle":225,"satellites":50,"speed":11,"hex_longitude":"2d499f80","hex_latitude":"06739258","is_valid_coordinates":true} 
[2026-08-10 23:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314484992001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376739674913243136,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305873707448903680,"note":"Value kept but may cause issues"} 
[2026-08-10 23:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786384712000,"timestamp_ms":1786384712000,"timestamp_seconds":1786384712,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd38140"} 
[2026-08-10 23:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-10 23:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314484992001,"66":27267,"81":206,"80":60160,"24":11,"16":376739674913243136,"45":5305873707448903680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-08-10 23:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314484992001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:29:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-10 23:29:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376739674913243136,"km_value":376739674913243.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305873707448903680,"description":"Unknown IO ID 45"} 
[2026-08-10 23:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314484992001,"power":27267,"unknown_81":206,"unknown_80":60160,"ignition":11,"odometer":null,"unknown_45":5305873707448903680}} 
[2026-08-10 23:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":152261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:29:57] local.INFO: GPS data processed {"connection_id":152261,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:29:57] local.INFO: Acknowledgment sent {"connection_id":152261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:30:18] local.INFO: TCP Data received {"connection_id":153202,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:30:18] local.INFO: Processing buffer {"connection_id":153202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:30:18] local.INFO: Packet analysis {"connection_id":153202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:30:18] local.INFO: Extracted packet for processing {"connection_id":153202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314359040001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786384516000,"timestamp_ms":1786384516000,"timestamp_seconds":1786384516,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd083a0"} 
[2026-08-10 23:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314359040001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314359040001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:30:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314359040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":153202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:30:18] local.INFO: GPS data processed {"connection_id":153202,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:30:18] local.INFO: Acknowledgment sent {"connection_id":153202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:30:38] local.INFO: TCP Data received {"connection_id":152261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd3bfc0012d49888006737660000f00d930..."} 
[2026-08-10 23:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd3bfc0012d49888006737660000f00d930..."} 
[2026-08-10 23:30:38] local.INFO: Processing buffer {"connection_id":152261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd3bfc0012d49888006737660000f00d930..."} 
[2026-08-10 23:30:38] local.INFO: Packet analysis {"connection_id":152261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd3"} 
[2026-08-10 23:30:38] local.INFO: Extracted packet for processing {"connection_id":152261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd3"} 
[2026-08-10 23:30:38] local.INFO: GPS Element Parsed {"raw_longitude":759793792,"raw_latitude":108230240,"longitude_deg":75.9793792,"latitude_deg":10.823024,"altitude":15,"angle":217,"satellites":48,"speed":30,"hex_longitude":"2d498880","hex_latitude":"06737660","is_valid_coordinates":true} 
[2026-08-10 23:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314486272001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376740121589841920,"note":"Value kept but may cause issues"} 
[2026-08-10 23:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305099651262863360,"note":"Value kept but may cause issues"} 
[2026-08-10 23:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786384728000,"timestamp_ms":1786384728000,"timestamp_seconds":1786384728,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd3bfc0"} 
[2026-08-10 23:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 23:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:30: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-08-10 23:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314486272001,"66":27039,"83":206,"80":60160,"24":30,"16":376740121589841920,"45":5305099651262863360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-10 23:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314486272001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:30:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-10 23:30:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376740121589841920,"km_value":376740121589841.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305099651262863360,"description":"Unknown IO ID 45"} 
[2026-08-10 23:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314486272001,"power":27039,"unknown_83":206,"unknown_80":60160,"ignition":30,"odometer":null,"unknown_45":5305099651262863360}} 
[2026-08-10 23:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":152261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:30:38] local.INFO: GPS data processed {"connection_id":152261,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:30:38] local.INFO: Acknowledgment sent {"connection_id":152261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:30:41] local.INFO: TCP Data received {"connection_id":151886,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:30:41] local.INFO: Processing buffer {"connection_id":151886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:30:41] local.INFO: IMEI packet received {"connection_id":151886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":151886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:30:46] local.INFO: TCP Data received {"connection_id":151886,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:30:46] local.INFO: Processing buffer {"connection_id":151886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:30:46] local.INFO: IMEI packet received {"connection_id":151886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":151886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:30:46] local.INFO: TCP Data received {"connection_id":151886,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:30:46] local.INFO: Processing buffer {"connection_id":151886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd083a0012d196580071ff038003c014228..."} 
[2026-08-10 23:30:46] local.INFO: Packet analysis {"connection_id":151886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:30:46] local.INFO: Extracted packet for processing {"connection_id":151886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd0"} 
[2026-08-10 23:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314359040001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786384516000,"timestamp_ms":1786384516000,"timestamp_seconds":1786384516,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd083a0"} 
[2026-08-10 23:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:30: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-08-10 23:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314359040001,"66":2144,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314359040001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:30:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314359040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":151886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:30:46] local.INFO: GPS data processed {"connection_id":151886,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:30:46] local.INFO: Acknowledgment sent {"connection_id":151886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:31:00] local.INFO: TCP Data received {"connection_id":151887,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:31:00] local.INFO: Processing buffer {"connection_id":151887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:31:00] local.INFO: IMEI packet received {"connection_id":151887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":151887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:31:00] local.INFO: TCP Data received {"connection_id":151887,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:31:00] local.INFO: Processing buffer {"connection_id":151887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:31:00] local.INFO: IMEI packet received {"connection_id":151887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":151887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:31:04] local.INFO: TCP Data received {"connection_id":151887,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:31:04] local.INFO: Processing buffer {"connection_id":151887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:31:04] local.INFO: IMEI packet received {"connection_id":151887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":151887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:31:05] local.INFO: TCP Data received {"connection_id":151887,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd3eab8012d49720006735b08001100da2f..."} 
[2026-08-10 23:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd3eab8012d49720006735b08001100da2f..."} 
[2026-08-10 23:31:05] local.INFO: Processing buffer {"connection_id":151887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd3eab8012d49720006735b08001100da2f..."} 
[2026-08-10 23:31:05] local.INFO: Packet analysis {"connection_id":151887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd3"} 
[2026-08-10 23:31:05] local.INFO: Extracted packet for processing {"connection_id":151887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd3"} 
[2026-08-10 23:31:05] local.INFO: GPS Element Parsed {"raw_longitude":759788032,"raw_latitude":108223240,"longitude_deg":75.9788032,"latitude_deg":10.822324,"altitude":17,"angle":218,"satellites":47,"speed":34,"hex_longitude":"2d497200","hex_latitude":"06735b08","is_valid_coordinates":true} 
[2026-08-10 23:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314490368001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376740555381538816,"note":"Value kept but may cause issues"} 
[2026-08-10 23:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5298625726796685312,"note":"Value kept but may cause issues"} 
[2026-08-10 23:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786384739000,"timestamp_ms":1786384739000,"timestamp_seconds":1786384739,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd3eab8"} 
[2026-08-10 23:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-10 23:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314490368001,"66":27321,"83":206,"80":60160,"24":34,"16":376740555381538816,"45":5298625726796685312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-10 23:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314490368001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-10 23:31:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376740555381538816,"km_value":376740555381538.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5298625726796685312,"description":"Unknown IO ID 45"} 
[2026-08-10 23:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314490368001,"power":27321,"unknown_83":206,"unknown_80":60160,"ignition":34,"odometer":null,"unknown_45":5298625726796685312}} 
[2026-08-10 23:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":151887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:31:05] local.INFO: GPS data processed {"connection_id":151887,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:31:05] local.INFO: Acknowledgment sent {"connection_id":151887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:31:08] local.INFO: TCP Data received {"connection_id":151887,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd411c8012d495b8006733f60001300da30..."} 
[2026-08-10 23:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd411c8012d495b8006733f60001300da30..."} 
[2026-08-10 23:31:08] local.INFO: Processing buffer {"connection_id":151887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd411c8012d495b8006733f60001300da30..."} 
[2026-08-10 23:31:08] local.INFO: Packet analysis {"connection_id":151887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd4"} 
[2026-08-10 23:31:08] local.INFO: Extracted packet for processing {"connection_id":151887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd4"} 
[2026-08-10 23:31:08] local.INFO: GPS Element Parsed {"raw_longitude":759782272,"raw_latitude":108216160,"longitude_deg":75.9782272,"latitude_deg":10.821616,"altitude":19,"angle":218,"satellites":48,"speed":37,"hex_longitude":"2d495b80","hex_latitude":"06733f60","is_valid_coordinates":true} 
[2026-08-10 23:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314493184001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376740997763170304,"note":"Value kept but may cause issues"} 
[2026-08-10 23:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5292292539818903552,"note":"Value kept but may cause issues"} 
[2026-08-10 23:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786384749000,"timestamp_ms":1786384749000,"timestamp_seconds":1786384749,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd411c8"} 
[2026-08-10 23:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 23:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314493184001,"66":27332,"83":206,"80":60160,"24":37,"16":376740997763170304,"45":5292292539818903552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-10 23:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314493184001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-10 23:31:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376740997763170304,"km_value":376740997763170.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5292292539818903552,"description":"Unknown IO ID 45"} 
[2026-08-10 23:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314493184001,"power":27332,"unknown_83":206,"unknown_80":60160,"ignition":37,"odometer":null,"unknown_45":5292292539818903552}} 
[2026-08-10 23:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":151887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:31:08] local.INFO: GPS data processed {"connection_id":151887,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:31:08] local.INFO: Acknowledgment sent {"connection_id":151887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:31:17] local.INFO: TCP Data received {"connection_id":151886,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:31:17] local.INFO: Processing buffer {"connection_id":151886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:31:17] local.INFO: Packet analysis {"connection_id":151886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:31:17] local.INFO: Extracted packet for processing {"connection_id":151886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314436096001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786384817000,"timestamp_ms":1786384817000,"timestamp_seconds":1786384817,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd51b68"} 
[2026-08-10 23:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 23:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314436096001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314436096001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:31:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:31:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314436096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":151886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:31:17] local.INFO: GPS data processed {"connection_id":151886,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:31:17] local.INFO: Acknowledgment sent {"connection_id":151886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:31:41] local.INFO: TCP Data received {"connection_id":153203,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:31:41] local.INFO: Processing buffer {"connection_id":153203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:31:41] local.INFO: IMEI packet received {"connection_id":153203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":153203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:31:46] local.INFO: TCP Data received {"connection_id":153203,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:31:46] local.INFO: Processing buffer {"connection_id":153203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:31:46] local.INFO: IMEI packet received {"connection_id":153203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":153203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:31:47] local.INFO: TCP Data received {"connection_id":153203,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:31:47] local.INFO: Processing buffer {"connection_id":153203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:31:47] local.INFO: Packet analysis {"connection_id":153203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:31:47] local.INFO: Extracted packet for processing {"connection_id":153203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:31:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314436096001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786384817000,"timestamp_ms":1786384817000,"timestamp_seconds":1786384817,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd51b68"} 
[2026-08-10 23:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 23:31: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-08-10 23:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314436096001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314436096001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:31:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:31:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314436096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":153203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:31:47] local.INFO: GPS data processed {"connection_id":153203,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:31:47] local.INFO: Acknowledgment sent {"connection_id":153203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:31:54] local.INFO: TCP Data received {"connection_id":152262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:31:54] local.INFO: Processing buffer {"connection_id":152262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:31:54] local.INFO: IMEI packet received {"connection_id":152262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":152262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:32:14] local.INFO: TCP Data received {"connection_id":152262,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-10 23:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152262,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-10 23:32:14] local.INFO: Processing buffer {"connection_id":152262,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-10 23:32:14] local.INFO: IMEI packet received {"connection_id":152262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":152262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:32:15] local.INFO: TCP Data received {"connection_id":152262,"ip":"42.106.6.14","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fec..."} 
[2026-08-10 23:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152262,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fec..."} 
[2026-08-10 23:32:15] local.INFO: Processing buffer {"connection_id":152262,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-10 23:32:15] local.INFO: IMEI packet received {"connection_id":152262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":152262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:32:16] local.INFO: TCP Data received {"connection_id":152262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd5a808012d4820400671d4f0000d00dd32..."} 
[2026-08-10 23:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd5a808012d4820400671d4f0000d00dd32..."} 
[2026-08-10 23:32:16] local.INFO: Processing buffer {"connection_id":152262,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fec..."} 
[2026-08-10 23:32:16] local.INFO: IMEI packet received {"connection_id":152262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":152262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:32:16] local.INFO: TCP Data received {"connection_id":152262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd5c360012d4806400671b908000c00de32..."} 
[2026-08-10 23:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd5c360012d4806400671b908000c00de32..."} 
[2026-08-10 23:32:16] local.INFO: Processing buffer {"connection_id":152262,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019fecd58cb0012d4838c00671f058001000dd31..."} 
[2026-08-10 23:32:16] local.INFO: Packet analysis {"connection_id":152262,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:16] local.INFO: Extracted packet for processing {"connection_id":152262,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:16] local.INFO: GPS Element Parsed {"raw_longitude":759707840,"raw_latitude":108130392,"longitude_deg":75.970784,"latitude_deg":10.8130392,"altitude":16,"angle":221,"satellites":49,"speed":52,"hex_longitude":"2d4838c0","hex_latitude":"0671f058","is_valid_coordinates":true} 
[2026-08-10 23:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314518528001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376746460961570816,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5211438852736983040,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786384846000,"timestamp_ms":1786384846000,"timestamp_seconds":1786384846,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd58cb0"} 
[2026-08-10 23:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 23:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:32: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-08-10 23:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314518528001,"66":27484,"38":206,"80":60160,"24":52,"16":376746460961570816,"45":5211438852736983040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-08-10 23:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314518528001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376746460961570816,"km_value":376746460961570.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5211438852736983040,"description":"Unknown IO ID 45"} 
[2026-08-10 23:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314518528001,"power":27484,"unknown_38":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5211438852736983040}} 
[2026-08-10 23:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":152262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:32:16] local.INFO: GPS data processed {"connection_id":152262,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:32:16] local.INFO: Acknowledgment sent {"connection_id":152262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:32:16] local.INFO: Packet analysis {"connection_id":152262,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:16] local.INFO: Extracted packet for processing {"connection_id":152262,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:16] local.INFO: GPS Element Parsed {"raw_longitude":759701568,"raw_latitude":108123376,"longitude_deg":75.9701568,"latitude_deg":10.8123376,"altitude":13,"angle":221,"satellites":50,"speed":54,"hex_longitude":"2d482040","hex_latitude":"0671d4f0","is_valid_coordinates":true} 
[2026-08-10 23:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314520576001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376746916228104192,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5204120503340521472,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786384853000,"timestamp_ms":1786384853000,"timestamp_seconds":1786384853,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd5a808"} 
[2026-08-10 23:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 23:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:32: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-08-10 23:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314520576001,"66":27332,"38":206,"80":60160,"24":54,"16":376746916228104192,"45":5204120503340521472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-08-10 23:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314520576001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376746916228104192,"km_value":376746916228104.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5204120503340521472,"description":"Unknown IO ID 45"} 
[2026-08-10 23:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314520576001,"power":27332,"unknown_38":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5204120503340521472}} 
[2026-08-10 23:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":152262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:32:16] local.INFO: GPS data processed {"connection_id":152262,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:32:16] local.INFO: Acknowledgment sent {"connection_id":152262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:32:16] local.INFO: Packet analysis {"connection_id":152262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:16] local.INFO: Extracted packet for processing {"connection_id":152262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:16] local.INFO: GPS Element Parsed {"raw_longitude":759694912,"raw_latitude":108116232,"longitude_deg":75.9694912,"latitude_deg":10.8116232,"altitude":12,"angle":222,"satellites":50,"speed":55,"hex_longitude":"2d480640","hex_latitude":"0671b908","is_valid_coordinates":true} 
[2026-08-10 23:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314522368001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376747384379539456,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5197224366409314304,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786384860000,"timestamp_ms":1786384860000,"timestamp_seconds":1786384860,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd5c360"} 
[2026-08-10 23:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 23:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:32: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-08-10 23:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314522368001,"66":27463,"38":206,"80":60160,"24":55,"16":376747384379539456,"45":5197224366409314304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-08-10 23:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314522368001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376747384379539456,"km_value":376747384379539.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5197224366409314304,"description":"Unknown IO ID 45"} 
[2026-08-10 23:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314522368001,"power":27463,"unknown_38":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5197224366409314304}} 
[2026-08-10 23:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":152262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:32:16] local.INFO: GPS data processed {"connection_id":152262,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:32:16] local.INFO: Acknowledgment sent {"connection_id":152262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:32:17] local.INFO: TCP Data received {"connection_id":152262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd5deb8012d47ec8006719e28000b00de30..."} 
[2026-08-10 23:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd5deb8012d47ec8006719e28000b00de30..."} 
[2026-08-10 23:32:17] local.INFO: Processing buffer {"connection_id":152262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd5deb8012d47ec8006719e28000b00de30..."} 
[2026-08-10 23:32:17] local.INFO: Packet analysis {"connection_id":152262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:17] local.INFO: Extracted packet for processing {"connection_id":152262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:17] local.INFO: GPS Element Parsed {"raw_longitude":759688320,"raw_latitude":108109352,"longitude_deg":75.968832,"latitude_deg":10.8109352,"altitude":11,"angle":222,"satellites":48,"speed":52,"hex_longitude":"2d47ec80","hex_latitude":"06719e28","is_valid_coordinates":true} 
[2026-08-10 23:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314524160001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376747843941040128,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5189906017013008384,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786384867000,"timestamp_ms":1786384867000,"timestamp_seconds":1786384867,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd5deb8"} 
[2026-08-10 23:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:32: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-08-10 23:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 23:32: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-08-10 23:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314524160001,"66":27397,"38":206,"80":60160,"24":52,"16":376747843941040128,"45":5189906017013008384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-08-10 23:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314524160001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:32:17] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-10 23:32:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376747843941040128,"km_value":376747843941040.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5189906017013008384,"description":"Unknown IO ID 45"} 
[2026-08-10 23:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314524160001,"power":27397,"unknown_38":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5189906017013008384}} 
[2026-08-10 23:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":152262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:32:17] local.INFO: GPS data processed {"connection_id":152262,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:32:17] local.INFO: Acknowledgment sent {"connection_id":152262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:32:18] local.INFO: TCP Data received {"connection_id":153203,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:32:18] local.INFO: Processing buffer {"connection_id":153203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:32:18] local.INFO: Packet analysis {"connection_id":153203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:18] local.INFO: Extracted packet for processing {"connection_id":153203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314436096001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786384817000,"timestamp_ms":1786384817000,"timestamp_seconds":1786384817,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd51b68"} 
[2026-08-10 23:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 23:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314436096001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314436096001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:32:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314436096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":153203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:32:18] local.INFO: GPS data processed {"connection_id":153203,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:32:18] local.INFO: Acknowledgment sent {"connection_id":153203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:32:18] local.INFO: TCP Data received {"connection_id":152262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd5fa10012d47d48006718478000a00de32..."} 
[2026-08-10 23:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd5fa10012d47d48006718478000a00de32..."} 
[2026-08-10 23:32:18] local.INFO: Processing buffer {"connection_id":152262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd5fa10012d47d48006718478000a00de32..."} 
[2026-08-10 23:32:18] local.INFO: Packet analysis {"connection_id":152262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:18] local.INFO: Extracted packet for processing {"connection_id":152262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:18] local.INFO: GPS Element Parsed {"raw_longitude":759682176,"raw_latitude":108102776,"longitude_deg":75.9682176,"latitude_deg":10.8102776,"altitude":10,"angle":222,"satellites":50,"speed":50,"hex_longitude":"2d47d480","hex_latitude":"06718478","is_valid_coordinates":true} 
[2026-08-10 23:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314525952001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376748277732737024,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5182658036360947712,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786384874000,"timestamp_ms":1786384874000,"timestamp_seconds":1786384874,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd5fa10"} 
[2026-08-10 23:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 23:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:32: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-08-10 23:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314525952001,"66":27234,"38":206,"80":60160,"24":50,"16":376748277732737024,"45":5182658036360947712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-08-10 23:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314525952001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:32:18] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-10 23:32:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376748277732737024,"km_value":376748277732737.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5182658036360947712,"description":"Unknown IO ID 45"} 
[2026-08-10 23:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314525952001,"power":27234,"unknown_38":206,"unknown_80":60160,"ignition":50,"odometer":null,"unknown_45":5182658036360947712}} 
[2026-08-10 23:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":152262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:32:18] local.INFO: GPS data processed {"connection_id":152262,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:32:18] local.INFO: Acknowledgment sent {"connection_id":152262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:32:41] local.INFO: TCP Data received {"connection_id":153204,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:32:41] local.INFO: Processing buffer {"connection_id":153204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:32:41] local.INFO: IMEI packet received {"connection_id":153204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":153204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:32:46] local.INFO: TCP Data received {"connection_id":153204,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:32:46] local.INFO: Processing buffer {"connection_id":153204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:32:46] local.INFO: IMEI packet received {"connection_id":153204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":153204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:32:51] local.INFO: TCP Data received {"connection_id":153204,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:32:51] local.INFO: Processing buffer {"connection_id":153204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:32:51] local.INFO: Packet analysis {"connection_id":153204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:51] local.INFO: Extracted packet for processing {"connection_id":153204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314436096001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786384817000,"timestamp_ms":1786384817000,"timestamp_seconds":1786384817,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd51b68"} 
[2026-08-10 23:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 23:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314436096001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314436096001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:32:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314436096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":153204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:32:51] local.INFO: GPS data processed {"connection_id":153204,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:32:51] local.INFO: Acknowledgment sent {"connection_id":153204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:32:54] local.INFO: TCP Data received {"connection_id":152263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:32:54] local.INFO: Processing buffer {"connection_id":152263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:32:54] local.INFO: IMEI packet received {"connection_id":152263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":152263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:32:59] local.INFO: TCP Data received {"connection_id":152263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:32:59] local.INFO: Processing buffer {"connection_id":152263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:32:59] local.INFO: IMEI packet received {"connection_id":152263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":152263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:33:00] local.INFO: TCP Data received {"connection_id":152263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd61950012d47ba80067168b8000a00df31..."} 
[2026-08-10 23:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd61950012d47ba80067168b8000a00df31..."} 
[2026-08-10 23:33:00] local.INFO: Processing buffer {"connection_id":152263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd61950012d47ba80067168b8000a00df31..."} 
[2026-08-10 23:33:00] local.INFO: Packet analysis {"connection_id":152263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd6"} 
[2026-08-10 23:33:00] local.INFO: Extracted packet for processing {"connection_id":152263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd6"} 
[2026-08-10 23:33:00] local.INFO: GPS Element Parsed {"raw_longitude":759675520,"raw_latitude":108095672,"longitude_deg":75.967552,"latitude_deg":10.8095672,"altitude":10,"angle":223,"satellites":49,"speed":46,"hex_longitude":"2d47ba80","hex_latitude":"067168b8","is_valid_coordinates":true} 
[2026-08-10 23:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314527744001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376748745884172288,"note":"Value kept but may cause issues"} 
[2026-08-10 23:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5175902636918208512,"note":"Value kept but may cause issues"} 
[2026-08-10 23:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786384882000,"timestamp_ms":1786384882000,"timestamp_seconds":1786384882,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd61950"} 
[2026-08-10 23:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 23:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314527744001,"66":27397,"38":206,"80":60160,"24":46,"16":376748745884172288,"45":5175902636918208512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-08-10 23:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314527744001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:33:00] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-10 23:33:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376748745884172288,"km_value":376748745884172.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5175902636918208512,"description":"Unknown IO ID 45"} 
[2026-08-10 23:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314527744001,"power":27397,"unknown_38":206,"unknown_80":60160,"ignition":46,"odometer":null,"unknown_45":5175902636918208512}} 
[2026-08-10 23:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":152263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:33:00] local.INFO: GPS data processed {"connection_id":152263,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:33:00] local.INFO: Acknowledgment sent {"connection_id":152263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:33:26] local.INFO: TCP Data received {"connection_id":153204,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:33:26] local.INFO: Processing buffer {"connection_id":153204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:33:26] local.INFO: Packet analysis {"connection_id":153204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:33:26] local.INFO: Extracted packet for processing {"connection_id":153204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:33:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314436096001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786384817000,"timestamp_ms":1786384817000,"timestamp_seconds":1786384817,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd51b68"} 
[2026-08-10 23:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 23:33: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-08-10 23:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314436096001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314436096001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:33:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:33:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314436096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":153204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:33:26] local.INFO: GPS data processed {"connection_id":153204,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:33:26] local.INFO: Acknowledgment sent {"connection_id":153204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:33:31] local.INFO: TCP Data received {"connection_id":152263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd63890012d47a24006714f18000a00de30..."} 
[2026-08-10 23:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd63890012d47a24006714f18000a00de30..."} 
[2026-08-10 23:33:31] local.INFO: Processing buffer {"connection_id":152263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd63890012d47a24006714f18000a00de30..."} 
[2026-08-10 23:33:31] local.INFO: Packet analysis {"connection_id":152263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd6"} 
[2026-08-10 23:33:31] local.INFO: Extracted packet for processing {"connection_id":152263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd6"} 
[2026-08-10 23:33:31] local.INFO: GPS Element Parsed {"raw_longitude":759669312,"raw_latitude":108089112,"longitude_deg":75.9669312,"latitude_deg":10.8089112,"altitude":10,"angle":222,"satellites":48,"speed":44,"hex_longitude":"2d47a240","hex_latitude":"06714f18","is_valid_coordinates":true} 
[2026-08-10 23:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314529792001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376749175380901888,"note":"Value kept but may cause issues"} 
[2026-08-10 23:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5168584287521912832,"note":"Value kept but may cause issues"} 
[2026-08-10 23:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786384890000,"timestamp_ms":1786384890000,"timestamp_seconds":1786384890,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd63890"} 
[2026-08-10 23:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 23:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314529792001,"66":27321,"38":206,"80":60160,"24":44,"16":376749175380901888,"45":5168584287521912832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-08-10 23:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314529792001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:33:31] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-10 23:33:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376749175380901888,"km_value":376749175380901.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5168584287521912832,"description":"Unknown IO ID 45"} 
[2026-08-10 23:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314529792001,"power":27321,"unknown_38":206,"unknown_80":60160,"ignition":44,"odometer":null,"unknown_45":5168584287521912832}} 
[2026-08-10 23:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":152263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:33:31] local.INFO: GPS data processed {"connection_id":152263,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:33:31] local.INFO: Acknowledgment sent {"connection_id":152263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:33:41] local.INFO: TCP Data received {"connection_id":154603,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:33:41] local.INFO: Processing buffer {"connection_id":154603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:33:41] local.INFO: IMEI packet received {"connection_id":154603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":154603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:33:46] local.INFO: TCP Data received {"connection_id":154603,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:33:46] local.INFO: Processing buffer {"connection_id":154603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:33:46] local.INFO: IMEI packet received {"connection_id":154603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":154603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:33:47] local.INFO: TCP Data received {"connection_id":154603,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:33:47] local.INFO: Processing buffer {"connection_id":154603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:33:47] local.INFO: Packet analysis {"connection_id":154603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:33:47] local.INFO: Extracted packet for processing {"connection_id":154603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314436096001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786384817000,"timestamp_ms":1786384817000,"timestamp_seconds":1786384817,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd51b68"} 
[2026-08-10 23:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 23:33: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-08-10 23:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314436096001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314436096001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:33:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314436096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":154603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:33:47] local.INFO: GPS data processed {"connection_id":154603,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:33:47] local.INFO: Acknowledgment sent {"connection_id":154603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:33:54] local.INFO: TCP Data received {"connection_id":153205,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:33:54] local.INFO: Processing buffer {"connection_id":153205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:33:54] local.INFO: IMEI packet received {"connection_id":153205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":153205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:34:00] local.INFO: TCP Data received {"connection_id":153205,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:34:00] local.INFO: Processing buffer {"connection_id":153205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:34:00] local.INFO: IMEI packet received {"connection_id":153205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":153205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:34:02] local.INFO: TCP Data received {"connection_id":153205,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd77cc8012d469b80067017e0000e00d730..."} 
[2026-08-10 23:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd77cc8012d469b80067017e0000e00d730..."} 
[2026-08-10 23:34:02] local.INFO: Processing buffer {"connection_id":153205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd77cc8012d469b80067017e0000e00d730..."} 
[2026-08-10 23:34:02] local.INFO: Packet analysis {"connection_id":153205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd7"} 
[2026-08-10 23:34:02] local.INFO: Extracted packet for processing {"connection_id":153205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd7"} 
[2026-08-10 23:34:02] local.INFO: GPS Element Parsed {"raw_longitude":759602048,"raw_latitude":108009440,"longitude_deg":75.9602048,"latitude_deg":10.800944,"altitude":14,"angle":215,"satellites":48,"speed":52,"hex_longitude":"2d469b80","hex_latitude":"067017e0","is_valid_coordinates":true} 
[2026-08-10 23:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314551296001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376754204787605504,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5093852681185030144,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786384973000,"timestamp_ms":1786384973000,"timestamp_seconds":1786384973,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd77cc8"} 
[2026-08-10 23:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:34: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-08-10 23:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-10 23:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314551296001,"66":27169,"196":206,"80":60160,"24":52,"16":376754204787605504,"45":5093852681185030144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-08-10 23:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314551296001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:34:02] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-10 23:34:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376754204787605504,"km_value":376754204787605.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5093852681185030144,"description":"Unknown IO ID 45"} 
[2026-08-10 23:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314551296001,"power":27169,"unknown_196":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5093852681185030144}} 
[2026-08-10 23:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":153205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:34:02] local.INFO: GPS data processed {"connection_id":153205,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:34:02] local.INFO: Acknowledgment sent {"connection_id":153205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:34:18] local.INFO: TCP Data received {"connection_id":154603,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:34:18] local.INFO: Processing buffer {"connection_id":154603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:34:18] local.INFO: Packet analysis {"connection_id":154603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:34:18] local.INFO: Extracted packet for processing {"connection_id":154603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314436096001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786384817000,"timestamp_ms":1786384817000,"timestamp_seconds":1786384817,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd51b68"} 
[2026-08-10 23:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 23:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314436096001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314436096001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:34:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314436096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":154603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:34:18] local.INFO: GPS data processed {"connection_id":154603,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:34:18] local.INFO: Acknowledgment sent {"connection_id":154603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:34:34] local.INFO: TCP Data received {"connection_id":153205,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd79820012d468600066ffac8000d00d931..."} 
[2026-08-10 23:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd79820012d468600066ffac8000d00d931..."} 
[2026-08-10 23:34:34] local.INFO: Processing buffer {"connection_id":153205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd79820012d468600066ffac8000d00d931..."} 
[2026-08-10 23:34:34] local.INFO: Packet analysis {"connection_id":153205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd7"} 
[2026-08-10 23:34:34] local.INFO: Extracted packet for processing {"connection_id":153205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd7"} 
[2026-08-10 23:34:34] local.INFO: GPS Element Parsed {"raw_longitude":759596544,"raw_latitude":108001992,"longitude_deg":75.9596544,"latitude_deg":10.8001992,"altitude":13,"angle":217,"satellites":49,"speed":52,"hex_longitude":"2d468600","hex_latitude":"066ffac8","is_valid_coordinates":true} 
[2026-08-10 23:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314553088001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376754651464204288,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5087800969183879168,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786384980000,"timestamp_ms":1786384980000,"timestamp_seconds":1786384980,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd79820"} 
[2026-08-10 23:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-10 23:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314553088001,"66":26930,"196":206,"80":60160,"24":52,"16":376754651464204288,"45":5087800969183879168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-08-10 23:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314553088001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:34:34] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-10 23:34:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376754651464204288,"km_value":376754651464204.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5087800969183879168,"description":"Unknown IO ID 45"} 
[2026-08-10 23:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314553088001,"power":26930,"unknown_196":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5087800969183879168}} 
[2026-08-10 23:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":153205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:34:34] local.INFO: GPS data processed {"connection_id":153205,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:34:34] local.INFO: Acknowledgment sent {"connection_id":153205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:34:46] local.INFO: TCP Data received {"connection_id":151888,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:34:46] local.INFO: Processing buffer {"connection_id":151888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:34:46] local.INFO: IMEI packet received {"connection_id":151888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":151888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:34:51] local.INFO: TCP Data received {"connection_id":151888,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:34:51] local.INFO: Processing buffer {"connection_id":151888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:34:51] local.INFO: IMEI packet received {"connection_id":151888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":151888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:34:52] local.INFO: TCP Data received {"connection_id":151888,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:34:52] local.INFO: Processing buffer {"connection_id":151888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:34:52] local.INFO: Packet analysis {"connection_id":151888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:34:52] local.INFO: Extracted packet for processing {"connection_id":151888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314436096001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786384817000,"timestamp_ms":1786384817000,"timestamp_seconds":1786384817,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd51b68"} 
[2026-08-10 23:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 23:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314436096001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314436096001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:34:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:34:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314436096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":151888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:34:52] local.INFO: GPS data processed {"connection_id":151888,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:34:52] local.INFO: Acknowledgment sent {"connection_id":151888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:34:56] local.INFO: TCP Data received {"connection_id":151888,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:34:56] local.INFO: Processing buffer {"connection_id":151888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:34:56] local.INFO: Packet analysis {"connection_id":151888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:34:56] local.INFO: Extracted packet for processing {"connection_id":151888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314436096001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786384817000,"timestamp_ms":1786384817000,"timestamp_seconds":1786384817,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd51b68"} 
[2026-08-10 23:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 23:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314436096001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314436096001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:34:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314436096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":151888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:34:56] local.INFO: GPS data processed {"connection_id":151888,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:34:56] local.INFO: Acknowledgment sent {"connection_id":151888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:34:58] local.INFO: TCP Data received {"connection_id":152264,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:34:58] local.INFO: Processing buffer {"connection_id":152264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:34:58] local.INFO: IMEI packet received {"connection_id":152264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":152264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:34:59] local.INFO: TCP Data received {"connection_id":152264,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:34:59] local.INFO: Processing buffer {"connection_id":152264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:34:59] local.INFO: IMEI packet received {"connection_id":152264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":152264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:35:07] local.INFO: TCP Data received {"connection_id":152264,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:35:07] local.INFO: Processing buffer {"connection_id":152264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:35:07] local.INFO: IMEI packet received {"connection_id":152264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":152264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:35:08] local.INFO: TCP Data received {"connection_id":152264,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd7b378012d466e00066fdfd0000b00e032..."} 
[2026-08-10 23:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd7b378012d466e00066fdfd0000b00e032..."} 
[2026-08-10 23:35:08] local.INFO: Processing buffer {"connection_id":152264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd7b378012d466e00066fdfd0000b00e032..."} 
[2026-08-10 23:35:08] local.INFO: Packet analysis {"connection_id":152264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd7"} 
[2026-08-10 23:35:08] local.INFO: Extracted packet for processing {"connection_id":152264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd7"} 
[2026-08-10 23:35:08] local.INFO: GPS Element Parsed {"raw_longitude":759590400,"raw_latitude":107995088,"longitude_deg":75.95904,"latitude_deg":10.7995088,"altitude":11,"angle":224,"satellites":50,"speed":52,"hex_longitude":"2d466e00","hex_latitude":"066fdfd0","is_valid_coordinates":true} 
[2026-08-10 23:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314554880001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376755093845835776,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5081749257182693376,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786384987000,"timestamp_ms":1786384987000,"timestamp_seconds":1786384987,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd7b378"} 
[2026-08-10 23:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-10 23:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314554880001,"66":27365,"196":206,"80":60160,"24":52,"16":376755093845835776,"45":5081749257182693376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-08-10 23:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314554880001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:35:08] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-10 23:35:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376755093845835776,"km_value":376755093845835.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5081749257182693376,"description":"Unknown IO ID 45"} 
[2026-08-10 23:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314554880001,"power":27365,"unknown_196":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5081749257182693376}} 
[2026-08-10 23:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":152264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:35:08] local.INFO: GPS data processed {"connection_id":152264,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:35:08] local.INFO: Acknowledgment sent {"connection_id":152264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:35:09] local.INFO: TCP Data received {"connection_id":152264,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd7ced0012d465380066fc818000b00e533..."} 
[2026-08-10 23:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd7ced0012d465380066fc818000b00e533..."} 
[2026-08-10 23:35:09] local.INFO: Processing buffer {"connection_id":152264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd7ced0012d465380066fc818000b00e533..."} 
[2026-08-10 23:35:09] local.INFO: Packet analysis {"connection_id":152264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd7"} 
[2026-08-10 23:35:09] local.INFO: Extracted packet for processing {"connection_id":152264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd7"} 
[2026-08-10 23:35:09] local.INFO: GPS Element Parsed {"raw_longitude":759583616,"raw_latitude":107989016,"longitude_deg":75.9583616,"latitude_deg":10.7989016,"altitude":11,"angle":229,"satellites":51,"speed":50,"hex_longitude":"2d465380","hex_latitude":"066fc818","is_valid_coordinates":true} 
[2026-08-10 23:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314556672001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376755531932499968,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5074993857739870208,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786384994000,"timestamp_ms":1786384994000,"timestamp_seconds":1786384994,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd7ced0"} 
[2026-08-10 23:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:35: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-08-10 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 23:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314556672001,"66":27397,"69":206,"80":60160,"24":50,"16":376755531932499968,"45":5074993857739870208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-08-10 23:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314556672001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:35:09] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-10 23:35:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-10 23:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376755531932499968,"km_value":376755531932499.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5074993857739870208,"description":"Unknown IO ID 45"} 
[2026-08-10 23:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314556672001,"power":27397,"unknown_69":206,"unknown_80":60160,"ignition":50,"odometer":null,"unknown_45":5074993857739870208}} 
[2026-08-10 23:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":152264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:35:09] local.INFO: GPS data processed {"connection_id":152264,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:35:09] local.INFO: Acknowledgment sent {"connection_id":152264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:35:41] local.INFO: TCP Data received {"connection_id":153206,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:35:41] local.INFO: Processing buffer {"connection_id":153206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:35:41] local.INFO: IMEI packet received {"connection_id":153206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":153206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:35:46] local.INFO: TCP Data received {"connection_id":153206,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:35:46] local.INFO: Processing buffer {"connection_id":153206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:35:46] local.INFO: IMEI packet received {"connection_id":153206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":153206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:35:47] local.INFO: TCP Data received {"connection_id":153206,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:35:47] local.INFO: Processing buffer {"connection_id":153206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd51b68012d196580071ff038003c014224..."} 
[2026-08-10 23:35:47] local.INFO: Packet analysis {"connection_id":153206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:35:47] local.INFO: Extracted packet for processing {"connection_id":153206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd5"} 
[2026-08-10 23:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":60,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314436096001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786384817000,"timestamp_ms":1786384817000,"timestamp_seconds":1786384817,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd51b68"} 
[2026-08-10 23:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-10 23:35: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-08-10 23:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314436096001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314436096001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:35:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314436096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":153206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:35:47] local.INFO: GPS data processed {"connection_id":153206,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:35:47] local.INFO: Acknowledgment sent {"connection_id":153206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:35:54] local.INFO: TCP Data received {"connection_id":153207,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:35:54] local.INFO: Processing buffer {"connection_id":153207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:35:54] local.INFO: IMEI packet received {"connection_id":153207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":153207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:35:56] local.INFO: TCP Data received {"connection_id":153207,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:35:56] local.INFO: Processing buffer {"connection_id":153207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:35:56] local.INFO: IMEI packet received {"connection_id":153207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":153207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:35:57] local.INFO: TCP Data received {"connection_id":153207,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd922a8012d453bc0066e6fd8000b00da32..."} 
[2026-08-10 23:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd922a8012d453bc0066e6fd8000b00da32..."} 
[2026-08-10 23:35:57] local.INFO: Processing buffer {"connection_id":153207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd922a8012d453bc0066e6fd8000b00da32..."} 
[2026-08-10 23:35:57] local.INFO: Packet analysis {"connection_id":153207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:35:57] local.INFO: Extracted packet for processing {"connection_id":153207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:35:57] local.INFO: GPS Element Parsed {"raw_longitude":759512000,"raw_latitude":107900888,"longitude_deg":75.9512,"latitude_deg":10.7900888,"altitude":11,"angle":218,"satellites":50,"speed":54,"hex_longitude":"2d453bc0","hex_latitude":"066e6fd8","is_valid_coordinates":true} 
[2026-08-10 23:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314578944001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376761029490638848,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4995266070564366336,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786385081000,"timestamp_ms":1786385081000,"timestamp_seconds":1786385081,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd922a8"} 
[2026-08-10 23:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 23:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314578944001,"66":27365,"146":206,"80":60416,"24":54,"16":376761029490638848,"45":4995266070564366336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-08-10 23:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314578944001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:35:57] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-10 23:35:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376761029490638848,"km_value":376761029490638.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4995266070564366336,"description":"Unknown IO ID 45"} 
[2026-08-10 23:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314578944001,"power":27365,"unknown_146":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4995266070564366336}} 
[2026-08-10 23:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":153207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:35:57] local.INFO: GPS data processed {"connection_id":153207,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:35:57] local.INFO: Acknowledgment sent {"connection_id":153207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:35:59] local.INFO: TCP Data received {"connection_id":153207,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd93e00012d452400066e5288000b00da33..."} 
[2026-08-10 23:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd93e00012d452400066e5288000b00da33..."} 
[2026-08-10 23:35:59] local.INFO: Processing buffer {"connection_id":153207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd93e00012d452400066e5288000b00da33..."} 
[2026-08-10 23:35:59] local.INFO: Packet analysis {"connection_id":153207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:35:59] local.INFO: Extracted packet for processing {"connection_id":153207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:35:59] local.INFO: GPS Element Parsed {"raw_longitude":759505920,"raw_latitude":107893384,"longitude_deg":75.950592,"latitude_deg":10.7893384,"altitude":11,"angle":218,"satellites":51,"speed":55,"hex_longitude":"2d452400","hex_latitude":"066e5288","is_valid_coordinates":true} 
[2026-08-10 23:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314580736001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376761493347106816,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4988792146098116608,"note":"Value kept but may cause issues"} 
[2026-08-10 23:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786385088000,"timestamp_ms":1786385088000,"timestamp_seconds":1786385088,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd93e00"} 
[2026-08-10 23:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 23:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314580736001,"66":27365,"146":206,"80":60416,"24":55,"16":376761493347106816,"45":4988792146098116608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-08-10 23:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314580736001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:35:59] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-10 23:35:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376761493347106816,"km_value":376761493347106.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4988792146098116608,"description":"Unknown IO ID 45"} 
[2026-08-10 23:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314580736001,"power":27365,"unknown_146":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4988792146098116608}} 
[2026-08-10 23:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":153207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:35:59] local.INFO: GPS data processed {"connection_id":153207,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:35:59] local.INFO: Acknowledgment sent {"connection_id":153207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:36:17] local.INFO: TCP Data received {"connection_id":153206,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:36:17] local.INFO: Processing buffer {"connection_id":153206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:36:17] local.INFO: Packet analysis {"connection_id":153206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:36:17] local.INFO: Extracted packet for processing {"connection_id":153206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314513152001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786385118000,"timestamp_ms":1786385118000,"timestamp_seconds":1786385118,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd9b330"} 
[2026-08-10 23:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314513152001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314513152001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:36:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:36:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314513152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":153206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:36:18] local.INFO: GPS data processed {"connection_id":153206,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:36:18] local.INFO: Acknowledgment sent {"connection_id":153206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:36:31] local.INFO: TCP Data received {"connection_id":153207,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd95958012d450bc0066e3648000b00de33..."} 
[2026-08-10 23:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd95958012d450bc0066e3648000b00de33..."} 
[2026-08-10 23:36:31] local.INFO: Processing buffer {"connection_id":153207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd95958012d450bc0066e3648000b00de33..."} 
[2026-08-10 23:36:31] local.INFO: Packet analysis {"connection_id":153207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:36:31] local.INFO: Extracted packet for processing {"connection_id":153207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:36:31] local.INFO: GPS Element Parsed {"raw_longitude":759499712,"raw_latitude":107886152,"longitude_deg":75.9499712,"latitude_deg":10.7886152,"altitude":11,"angle":222,"satellites":51,"speed":52,"hex_longitude":"2d450bc0","hex_latitude":"066e3648","is_valid_coordinates":true} 
[2026-08-10 23:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314582528001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376761952908607488,"note":"Value kept but may cause issues"} 
[2026-08-10 23:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4982107115399317504,"note":"Value kept but may cause issues"} 
[2026-08-10 23:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786385095000,"timestamp_ms":1786385095000,"timestamp_seconds":1786385095,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd95958"} 
[2026-08-10 23:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 23:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314582528001,"66":27397,"146":206,"80":60416,"24":52,"16":376761952908607488,"45":4982107115399317504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-08-10 23:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314582528001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:36:31] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-10 23:36:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376761952908607488,"km_value":376761952908607.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4982107115399317504,"description":"Unknown IO ID 45"} 
[2026-08-10 23:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314582528001,"power":27397,"unknown_146":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4982107115399317504}} 
[2026-08-10 23:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":153207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:36:31] local.INFO: GPS data processed {"connection_id":153207,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:36:31] local.INFO: Acknowledgment sent {"connection_id":153207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:36:41] local.INFO: TCP Data received {"connection_id":151889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:36:41] local.INFO: Processing buffer {"connection_id":151889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:36:41] local.INFO: IMEI packet received {"connection_id":151889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":151889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:36:46] local.INFO: TCP Data received {"connection_id":151889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:36:46] local.INFO: Processing buffer {"connection_id":151889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:36:46] local.INFO: IMEI packet received {"connection_id":151889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":151889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:36:47] local.INFO: TCP Data received {"connection_id":151889,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:36:47] local.INFO: Processing buffer {"connection_id":151889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:36:47] local.INFO: Packet analysis {"connection_id":151889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:36:47] local.INFO: Extracted packet for processing {"connection_id":151889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314513152001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786385118000,"timestamp_ms":1786385118000,"timestamp_seconds":1786385118,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd9b330"} 
[2026-08-10 23:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314513152001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314513152001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:36:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314513152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":151889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:36:47] local.INFO: GPS data processed {"connection_id":151889,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:36:47] local.INFO: Acknowledgment sent {"connection_id":151889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:36:54] local.INFO: TCP Data received {"connection_id":152265,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:36:54] local.INFO: Processing buffer {"connection_id":152265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:36:54] local.INFO: IMEI packet received {"connection_id":152265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":152265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:37:00] local.INFO: TCP Data received {"connection_id":152265,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:37:00] local.INFO: Processing buffer {"connection_id":152265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:37:00] local.INFO: IMEI packet received {"connection_id":152265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":152265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:37:17] local.INFO: TCP Data received {"connection_id":151889,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:37:17] local.INFO: Processing buffer {"connection_id":151889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:37:17] local.INFO: Packet analysis {"connection_id":151889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:37:17] local.INFO: Extracted packet for processing {"connection_id":151889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:37:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314513152001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786385118000,"timestamp_ms":1786385118000,"timestamp_seconds":1786385118,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd9b330"} 
[2026-08-10 23:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314513152001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314513152001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:37:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:37:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314513152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":151889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:37:17] local.INFO: GPS data processed {"connection_id":151889,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:37:17] local.INFO: Acknowledgment sent {"connection_id":151889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:37:25] local.INFO: TCP Data received {"connection_id":152265,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd974b0012d44f340066e1c18000c00df32..."} 
[2026-08-10 23:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd974b0012d44f340066e1c18000c00df32..."} 
[2026-08-10 23:37:25] local.INFO: Processing buffer {"connection_id":152265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd974b0012d44f340066e1c18000c00df32..."} 
[2026-08-10 23:37:25] local.INFO: Packet analysis {"connection_id":152265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:37:25] local.INFO: Extracted packet for processing {"connection_id":152265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:37:25] local.INFO: GPS Element Parsed {"raw_longitude":759493440,"raw_latitude":107879448,"longitude_deg":75.949344,"latitude_deg":10.7879448,"altitude":12,"angle":223,"satellites":50,"speed":51,"hex_longitude":"2d44f340","hex_latitude":"066e1c18","is_valid_coordinates":true} 
[2026-08-10 23:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314584320001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376762395290238976,"note":"Value kept but may cause issues"} 
[2026-08-10 23:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4975281347212232704,"note":"Value kept but may cause issues"} 
[2026-08-10 23:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786385102000,"timestamp_ms":1786385102000,"timestamp_seconds":1786385102,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd974b0"} 
[2026-08-10 23:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 23:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314584320001,"66":27343,"146":206,"80":60416,"24":51,"16":376762395290238976,"45":4975281347212232704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-08-10 23:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314584320001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:37:25] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-10 23:37:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376762395290238976,"km_value":376762395290239.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4975281347212232704,"description":"Unknown IO ID 45"} 
[2026-08-10 23:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314584320001,"power":27343,"unknown_146":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":4975281347212232704}} 
[2026-08-10 23:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":152265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:37:25] local.INFO: GPS data processed {"connection_id":152265,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:37:25] local.INFO: Acknowledgment sent {"connection_id":152265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:37:41] local.INFO: TCP Data received {"connection_id":151890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:37:41] local.INFO: Processing buffer {"connection_id":151890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:37:41] local.INFO: IMEI packet received {"connection_id":151890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":151890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:37:46] local.INFO: TCP Data received {"connection_id":151890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:37:46] local.INFO: Processing buffer {"connection_id":151890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:37:46] local.INFO: IMEI packet received {"connection_id":151890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":151890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:37:47] local.INFO: TCP Data received {"connection_id":151890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:37:47] local.INFO: Processing buffer {"connection_id":151890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:37:47] local.INFO: Packet analysis {"connection_id":151890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:37:47] local.INFO: Extracted packet for processing {"connection_id":151890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314513152001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786385118000,"timestamp_ms":1786385118000,"timestamp_seconds":1786385118,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd9b330"} 
[2026-08-10 23:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314513152001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314513152001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:37:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:37:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314513152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":151890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:37:47] local.INFO: GPS data processed {"connection_id":151890,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:37:47] local.INFO: Acknowledgment sent {"connection_id":151890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:37:54] local.INFO: TCP Data received {"connection_id":151891,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:37:54] local.INFO: Processing buffer {"connection_id":151891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:37:54] local.INFO: IMEI packet received {"connection_id":151891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":151891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:37:57] local.INFO: TCP Data received {"connection_id":151891,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:37:57] local.INFO: Processing buffer {"connection_id":151891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:37:57] local.INFO: IMEI packet received {"connection_id":151891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":151891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:37:59] local.INFO: TCP Data received {"connection_id":151891,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecdb0ed8012d439cc0066c82a8000a00db31..."} 
[2026-08-10 23:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecdb0ed8012d439cc0066c82a8000a00db31..."} 
[2026-08-10 23:37:59] local.INFO: Processing buffer {"connection_id":151891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecdb0ed8012d439cc0066c82a8000a00db31..."} 
[2026-08-10 23:37:59] local.INFO: Packet analysis {"connection_id":151891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdb"} 
[2026-08-10 23:37:59] local.INFO: Extracted packet for processing {"connection_id":151891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdb"} 
[2026-08-10 23:37:59] local.INFO: GPS Element Parsed {"raw_longitude":759405760,"raw_latitude":107774632,"longitude_deg":75.940576,"latitude_deg":10.7774632,"altitude":10,"angle":219,"satellites":49,"speed":58,"hex_longitude":"2d439cc0","hex_latitude":"066c82a8","is_valid_coordinates":true} 
[2026-08-10 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-08-10 23:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314611200001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376768975180136448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4879298380127391744,"note":"Value kept but may cause issues"} 
[2026-08-10 23:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786385207000,"timestamp_ms":1786385207000,"timestamp_seconds":1786385207,"priority":1,"record_length":96,"hex_timestamp":"0000019fecdb0ed8"} 
[2026-08-10 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-08-10 23:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 23:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 23:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314611200001,"66":27365,"19":206,"80":60416,"24":58,"16":376768975180136448,"45":4879298380127391744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-10 23:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314611200001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:37:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 23:37:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376768975180136448,"km_value":376768975180136.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4879298380127391744,"description":"Unknown IO ID 45"} 
[2026-08-10 23:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314611200001,"power":27365,"unknown_19":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4879298380127391744}} 
[2026-08-10 23:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":151891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:37:59] local.INFO: GPS data processed {"connection_id":151891,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:37:59] local.INFO: Acknowledgment sent {"connection_id":151891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:38:18] local.INFO: TCP Data received {"connection_id":151890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:38:18] local.INFO: Processing buffer {"connection_id":151890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:38:18] local.INFO: Packet analysis {"connection_id":151890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:38:18] local.INFO: Extracted packet for processing {"connection_id":151890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314513152001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786385118000,"timestamp_ms":1786385118000,"timestamp_seconds":1786385118,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd9b330"} 
[2026-08-10 23:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314513152001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314513152001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:38:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314513152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":151890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:38:18] local.INFO: GPS data processed {"connection_id":151890,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:38:18] local.INFO: Acknowledgment sent {"connection_id":151890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:38:30] local.INFO: TCP Data received {"connection_id":151891,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecdb2a30012d4382c0066c6370000a00db30..."} 
[2026-08-10 23:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecdb2a30012d4382c0066c6370000a00db30..."} 
[2026-08-10 23:38:30] local.INFO: Processing buffer {"connection_id":151891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecdb2a30012d4382c0066c6370000a00db30..."} 
[2026-08-10 23:38:30] local.INFO: Packet analysis {"connection_id":151891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdb"} 
[2026-08-10 23:38:30] local.INFO: Extracted packet for processing {"connection_id":151891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdb"} 
[2026-08-10 23:38:30] local.INFO: GPS Element Parsed {"raw_longitude":759399104,"raw_latitude":107766640,"longitude_deg":75.9399104,"latitude_deg":10.776664,"altitude":10,"angle":219,"satellites":48,"speed":58,"hex_longitude":"2d4382c0","hex_latitude":"066c6370","is_valid_coordinates":true} 
[2026-08-10 23:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314612992001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376769473396342784,"note":"Value kept but may cause issues"} 
[2026-08-10 23:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4871980030730872832,"note":"Value kept but may cause issues"} 
[2026-08-10 23:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786385214000,"timestamp_ms":1786385214000,"timestamp_seconds":1786385214,"priority":1,"record_length":96,"hex_timestamp":"0000019fecdb2a30"} 
[2026-08-10 23:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 23:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314612992001,"66":27397,"19":206,"80":60416,"24":58,"16":376769473396342784,"45":4871980030730872832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-10 23:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314612992001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:38:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 23:38:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376769473396342784,"km_value":376769473396342.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4871980030730872832,"description":"Unknown IO ID 45"} 
[2026-08-10 23:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314612992001,"power":27397,"unknown_19":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4871980030730872832}} 
[2026-08-10 23:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":151891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:38:30] local.INFO: GPS data processed {"connection_id":151891,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:38:30] local.INFO: Acknowledgment sent {"connection_id":151891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:38:41] local.INFO: TCP Data received {"connection_id":151892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:38:41] local.INFO: Processing buffer {"connection_id":151892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:38:41] local.INFO: IMEI packet received {"connection_id":151892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":151892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:38:46] local.INFO: TCP Data received {"connection_id":151892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:38:46] local.INFO: Processing buffer {"connection_id":151892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:38:46] local.INFO: IMEI packet received {"connection_id":151892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":151892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:38:46] local.INFO: TCP Data received {"connection_id":151892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:38:46] local.INFO: Processing buffer {"connection_id":151892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:38:46] local.INFO: Packet analysis {"connection_id":151892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:38:46] local.INFO: Extracted packet for processing {"connection_id":151892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314513152001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786385118000,"timestamp_ms":1786385118000,"timestamp_seconds":1786385118,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd9b330"} 
[2026-08-10 23:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:38: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-08-10 23:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:38: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-08-10 23:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314513152001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314513152001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:38:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314513152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":151892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:38:46] local.INFO: GPS data processed {"connection_id":151892,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:38:46] local.INFO: Acknowledgment sent {"connection_id":151892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:38:53] local.INFO: TCP Data received {"connection_id":154604,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:38:53] local.INFO: Processing buffer {"connection_id":154604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:38:53] local.INFO: IMEI packet received {"connection_id":154604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":154604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:38:54] local.INFO: TCP Data received {"connection_id":154604,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:38:54] local.INFO: Processing buffer {"connection_id":154604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:38:54] local.INFO: IMEI packet received {"connection_id":154604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":154604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:38:59] local.INFO: TCP Data received {"connection_id":154604,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:38:59] local.INFO: Processing buffer {"connection_id":154604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:38:59] local.INFO: IMEI packet received {"connection_id":154604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":154604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:39:00] local.INFO: TCP Data received {"connection_id":154604,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecdb4588012d436840066c44d0000a00dd30..."} 
[2026-08-10 23:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecdb4588012d436840066c44d0000a00dd30..."} 
[2026-08-10 23:39:00] local.INFO: Processing buffer {"connection_id":154604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecdb4588012d436840066c44d0000a00dd30..."} 
[2026-08-10 23:39:00] local.INFO: Packet analysis {"connection_id":154604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdb"} 
[2026-08-10 23:39:00] local.INFO: Extracted packet for processing {"connection_id":154604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdb"} 
[2026-08-10 23:39:00] local.INFO: GPS Element Parsed {"raw_longitude":759392320,"raw_latitude":107758800,"longitude_deg":75.939232,"latitude_deg":10.77588,"altitude":10,"angle":221,"satellites":48,"speed":58,"hex_longitude":"2d436840","hex_latitude":"066c44d0","is_valid_coordinates":true} 
[2026-08-10 23:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314614784001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376769971612549120,"note":"Value kept but may cause issues"} 
[2026-08-10 23:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4864661681334349824,"note":"Value kept but may cause issues"} 
[2026-08-10 23:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786385221000,"timestamp_ms":1786385221000,"timestamp_seconds":1786385221,"priority":1,"record_length":96,"hex_timestamp":"0000019fecdb4588"} 
[2026-08-10 23:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 23:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314614784001,"66":27376,"19":206,"80":60416,"24":58,"16":376769971612549120,"45":4864661681334349824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-10 23:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314614784001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:39:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 23:39:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376769971612549120,"km_value":376769971612549.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4864661681334349824,"description":"Unknown IO ID 45"} 
[2026-08-10 23:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314614784001,"power":27376,"unknown_19":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4864661681334349824}} 
[2026-08-10 23:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":154604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:39:00] local.INFO: GPS data processed {"connection_id":154604,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:39:00] local.INFO: Acknowledgment sent {"connection_id":154604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:39:17] local.INFO: TCP Data received {"connection_id":151892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:39:17] local.INFO: Processing buffer {"connection_id":151892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:39:17] local.INFO: Packet analysis {"connection_id":151892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:39:17] local.INFO: Extracted packet for processing {"connection_id":151892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314513152001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786385118000,"timestamp_ms":1786385118000,"timestamp_seconds":1786385118,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd9b330"} 
[2026-08-10 23:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314513152001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314513152001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:39:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314513152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":151892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:39:17] local.INFO: GPS data processed {"connection_id":151892,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:39:17] local.INFO: Acknowledgment sent {"connection_id":151892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:39:41] local.INFO: TCP Data received {"connection_id":154605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:39:41] local.INFO: Processing buffer {"connection_id":154605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:39:41] local.INFO: IMEI packet received {"connection_id":154605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":154605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:39:46] local.INFO: TCP Data received {"connection_id":154605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:39:46] local.INFO: Processing buffer {"connection_id":154605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:39:46] local.INFO: IMEI packet received {"connection_id":154605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":154605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:39:46] local.INFO: TCP Data received {"connection_id":154605,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:39:46] local.INFO: Processing buffer {"connection_id":154605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:39:46] local.INFO: Packet analysis {"connection_id":154605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:39:46] local.INFO: Extracted packet for processing {"connection_id":154605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314513152001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786385118000,"timestamp_ms":1786385118000,"timestamp_seconds":1786385118,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd9b330"} 
[2026-08-10 23:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:39: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-08-10 23:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:39: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-08-10 23:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314513152001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314513152001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:39:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314513152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":154605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:39:47] local.INFO: GPS data processed {"connection_id":154605,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:39:47] local.INFO: Acknowledgment sent {"connection_id":154605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:39:52] local.INFO: TCP Data received {"connection_id":154604,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecdcb8a0012d420940066ab280001200d730..."} 
[2026-08-10 23:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecdcb8a0012d420940066ab280001200d730..."} 
[2026-08-10 23:39:52] local.INFO: Processing buffer {"connection_id":154604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecdcb8a0012d420940066ab280001200d730..."} 
[2026-08-10 23:39:52] local.INFO: Packet analysis {"connection_id":154604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdc"} 
[2026-08-10 23:39:52] local.INFO: Extracted packet for processing {"connection_id":154604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdc"} 
[2026-08-10 23:39:52] local.INFO: GPS Element Parsed {"raw_longitude":759302464,"raw_latitude":107655808,"longitude_deg":75.9302464,"latitude_deg":10.7655808,"altitude":18,"angle":215,"satellites":48,"speed":55,"hex_longitude":"2d420940","hex_latitude":"066ab280","is_valid_coordinates":true} 
[2026-08-10 23:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314639104001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376776560092381184,"note":"Value kept but may cause issues"} 
[2026-08-10 23:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4764597327087321088,"note":"Value kept but may cause issues"} 
[2026-08-10 23:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786385316000,"timestamp_ms":1786385316000,"timestamp_seconds":1786385316,"priority":1,"record_length":96,"hex_timestamp":"0000019fecdcb8a0"} 
[2026-08-10 23:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 23:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314639104001,"66":27343,"96":206,"80":60416,"24":55,"16":376776560092381184,"45":4764597327087321088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-08-10 23:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314639104001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:39:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 23:39:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376776560092381184,"km_value":376776560092381.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4764597327087321088,"description":"Unknown IO ID 45"} 
[2026-08-10 23:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314639104001,"power":27343,"unknown_96":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4764597327087321088}} 
[2026-08-10 23:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":154604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:39:52] local.INFO: GPS data processed {"connection_id":154604,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:39:52] local.INFO: Acknowledgment sent {"connection_id":154604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:39:59] local.INFO: TCP Data received {"connection_id":151893,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:39:59] local.INFO: Processing buffer {"connection_id":151893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:39:59] local.INFO: IMEI packet received {"connection_id":151893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":151893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:40:00] local.INFO: TCP Data received {"connection_id":151893,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:40:00] local.INFO: Processing buffer {"connection_id":151893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:40:00] local.INFO: IMEI packet received {"connection_id":151893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":151893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:40:04] local.INFO: TCP Data received {"connection_id":151893,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:40:04] local.INFO: Processing buffer {"connection_id":151893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:40:04] local.INFO: IMEI packet received {"connection_id":151893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":151893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:40:05] local.INFO: TCP Data received {"connection_id":151893,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecdcd3f8012d41f240066a9360001100d731..."} 
[2026-08-10 23:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecdcd3f8012d41f240066a9360001100d731..."} 
[2026-08-10 23:40:05] local.INFO: Processing buffer {"connection_id":151893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecdcd3f8012d41f240066a9360001100d731..."} 
[2026-08-10 23:40:05] local.INFO: Packet analysis {"connection_id":151893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdc"} 
[2026-08-10 23:40:05] local.INFO: Extracted packet for processing {"connection_id":151893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdc"} 
[2026-08-10 23:40:05] local.INFO: GPS Element Parsed {"raw_longitude":759296576,"raw_latitude":107647840,"longitude_deg":75.9296576,"latitude_deg":10.764784,"altitude":17,"angle":215,"satellites":49,"speed":57,"hex_longitude":"2d41f240","hex_latitude":"066a9360","is_valid_coordinates":true} 
[2026-08-10 23:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314640896001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376777036833751040,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4758404877597704192,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786385323000,"timestamp_ms":1786385323000,"timestamp_seconds":1786385323,"priority":1,"record_length":96,"hex_timestamp":"0000019fecdcd3f8"} 
[2026-08-10 23:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 23:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314640896001,"66":27343,"96":206,"80":60416,"24":57,"16":376777036833751040,"45":4758404877597704192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-08-10 23:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314640896001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:40:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 23:40:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376777036833751040,"km_value":376777036833751.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4758404877597704192,"description":"Unknown IO ID 45"} 
[2026-08-10 23:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314640896001,"power":27343,"unknown_96":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":4758404877597704192}} 
[2026-08-10 23:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":151893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:40:05] local.INFO: GPS data processed {"connection_id":151893,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:40:05] local.INFO: Acknowledgment sent {"connection_id":151893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:40:18] local.INFO: TCP Data received {"connection_id":154605,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:40:18] local.INFO: Processing buffer {"connection_id":154605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:40:18] local.INFO: Packet analysis {"connection_id":154605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:40:18] local.INFO: Extracted packet for processing {"connection_id":154605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314513152001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786385118000,"timestamp_ms":1786385118000,"timestamp_seconds":1786385118,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd9b330"} 
[2026-08-10 23:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314513152001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314513152001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:40:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314513152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":154605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:40:18] local.INFO: GPS data processed {"connection_id":154605,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:40:18] local.INFO: Acknowledgment sent {"connection_id":154605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:40:40] local.INFO: TCP Data received {"connection_id":151893,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecdcef50012d41da00066a7328001000d732..."} 
[2026-08-10 23:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecdcef50012d41da00066a7328001000d732..."} 
[2026-08-10 23:40:40] local.INFO: Processing buffer {"connection_id":151893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecdcef50012d41da00066a7328001000d732..."} 
[2026-08-10 23:40:40] local.INFO: Packet analysis {"connection_id":151893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdc"} 
[2026-08-10 23:40:40] local.INFO: Extracted packet for processing {"connection_id":151893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdc"} 
[2026-08-10 23:40:40] local.INFO: GPS Element Parsed {"raw_longitude":759290368,"raw_latitude":107639592,"longitude_deg":75.9290368,"latitude_deg":10.7639592,"altitude":16,"angle":215,"satellites":50,"speed":59,"hex_longitude":"2d41da00","hex_latitude":"066a7328","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314642688001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376777535049957376,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4751930953131319296,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786385330000,"timestamp_ms":1786385330000,"timestamp_seconds":1786385330,"priority":1,"record_length":96,"hex_timestamp":"0000019fecdcef50"} 
[2026-08-10 23:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 23:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23: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-08-10 23:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314642688001,"66":27463,"96":206,"80":60416,"24":59,"16":376777535049957376,"45":4751930953131319296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-08-10 23:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314642688001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:40:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-10 23:40:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376777535049957376,"km_value":376777535049957.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4751930953131319296,"description":"Unknown IO ID 45"} 
[2026-08-10 23:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314642688001,"power":27463,"unknown_96":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":4751930953131319296}} 
[2026-08-10 23:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":151893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:40:40] local.INFO: GPS data processed {"connection_id":151893,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:40:40] local.INFO: Acknowledgment sent {"connection_id":151893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:40:46] local.INFO: TCP Data received {"connection_id":152266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:40:46] local.INFO: Processing buffer {"connection_id":152266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:40:46] local.INFO: IMEI packet received {"connection_id":152266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":152266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:40:51] local.INFO: TCP Data received {"connection_id":152266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:40:51] local.INFO: Processing buffer {"connection_id":152266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:40:51] local.INFO: IMEI packet received {"connection_id":152266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":152266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:40:51] local.INFO: TCP Data received {"connection_id":152266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:40:51] local.INFO: Processing buffer {"connection_id":152266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:40:51] local.INFO: Packet analysis {"connection_id":152266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:40:51] local.INFO: Extracted packet for processing {"connection_id":152266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314513152001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786385118000,"timestamp_ms":1786385118000,"timestamp_seconds":1786385118,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd9b330"} 
[2026-08-10 23:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:40: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-08-10 23:40: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-08-10 23:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314513152001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314513152001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:40:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314513152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":152266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:40:51] local.INFO: GPS data processed {"connection_id":152266,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:40:51] local.INFO: Acknowledgment sent {"connection_id":152266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:40:54] local.INFO: TCP Data received {"connection_id":153208,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:40:54] local.INFO: Processing buffer {"connection_id":153208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:40:54] local.INFO: IMEI packet received {"connection_id":153208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":153208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:40:56] local.INFO: TCP Data received {"connection_id":152266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:40:56] local.INFO: Processing buffer {"connection_id":152266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecd9b330012d196580071ff038003f014226..."} 
[2026-08-10 23:40:56] local.INFO: Packet analysis {"connection_id":152266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:40:56] local.INFO: Extracted packet for processing {"connection_id":152266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecd9"} 
[2026-08-10 23:40:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":63,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314513152001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786385118000,"timestamp_ms":1786385118000,"timestamp_seconds":1786385118,"priority":1,"record_length":96,"hex_timestamp":"0000019fecd9b330"} 
[2026-08-10 23:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314513152001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314513152001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:40:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:40:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314513152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":152266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:40:56] local.INFO: GPS data processed {"connection_id":152266,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:40:56] local.INFO: Acknowledgment sent {"connection_id":152266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:40:58] local.INFO: TCP Data received {"connection_id":153208,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:40:58] local.INFO: Processing buffer {"connection_id":153208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:40:58] local.INFO: IMEI packet received {"connection_id":153208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":153208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:40:59] local.INFO: TCP Data received {"connection_id":153208,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecdde180012d4200c006691e100008009f31..."} 
[2026-08-10 23:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecdde180012d4200c006691e100008009f31..."} 
[2026-08-10 23:40:59] local.INFO: Processing buffer {"connection_id":153208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecdde180012d4200c006691e100008009f31..."} 
[2026-08-10 23:40:59] local.INFO: Packet analysis {"connection_id":153208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdd"} 
[2026-08-10 23:40:59] local.INFO: Extracted packet for processing {"connection_id":153208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdd"} 
[2026-08-10 23:40:59] local.INFO: GPS Element Parsed {"raw_longitude":759300288,"raw_latitude":107552272,"longitude_deg":75.9300288,"latitude_deg":10.7552272,"altitude":8,"angle":159,"satellites":49,"speed":57,"hex_longitude":"2d4200c0","hex_latitude":"06691e10","is_valid_coordinates":true} 
[2026-08-10 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-08-10 23:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314658816001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376782001815945216,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4752564271806586880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786385392000,"timestamp_ms":1786385392000,"timestamp_seconds":1786385392,"priority":1,"record_length":96,"hex_timestamp":"0000019fecdde180"} 
[2026-08-10 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-08-10 23:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 23:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 23:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314658816001,"66":27376,"20":206,"80":60416,"24":57,"16":376782001815945216,"45":4752564271806586880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,80,24,16,45]} 
[2026-08-10 23:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314658816001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:40:59] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-10 23:40:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376782001815945216,"km_value":376782001815945.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4752564271806586880,"description":"Unknown IO ID 45"} 
[2026-08-10 23:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314658816001,"power":27376,"unknown_20":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":4752564271806586880}} 
[2026-08-10 23:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":153208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:40:59] local.INFO: GPS data processed {"connection_id":153208,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:40:59] local.INFO: Acknowledgment sent {"connection_id":153208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:41:30] local.INFO: TCP Data received {"connection_id":153208,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecddfcd8012d420e800668f9f00008009e31..."} 
[2026-08-10 23:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecddfcd8012d420e800668f9f00008009e31..."} 
[2026-08-10 23:41:30] local.INFO: Processing buffer {"connection_id":153208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecddfcd8012d420e800668f9f00008009e31..."} 
[2026-08-10 23:41:30] local.INFO: Packet analysis {"connection_id":153208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdd"} 
[2026-08-10 23:41:30] local.INFO: Extracted packet for processing {"connection_id":153208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdd"} 
[2026-08-10 23:41:30] local.INFO: GPS Element Parsed {"raw_longitude":759303808,"raw_latitude":107543024,"longitude_deg":75.9303808,"latitude_deg":10.7543024,"altitude":8,"angle":158,"satellites":49,"speed":54,"hex_longitude":"2d420e80","hex_latitude":"0668f9f0","is_valid_coordinates":true} 
[2026-08-10 23:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314660352001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376782478557315072,"note":"Value kept but may cause issues"} 
[2026-08-10 23:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4756012340269158400,"note":"Value kept but may cause issues"} 
[2026-08-10 23:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786385399000,"timestamp_ms":1786385399000,"timestamp_seconds":1786385399,"priority":1,"record_length":96,"hex_timestamp":"0000019fecddfcd8"} 
[2026-08-10 23:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-10 23:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314660352001,"66":27289,"20":206,"80":60416,"24":54,"16":376782478557315072,"45":4756012340269158400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,80,24,16,45]} 
[2026-08-10 23:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314660352001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:41:30] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-10 23:41:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376782478557315072,"km_value":376782478557315.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4756012340269158400,"description":"Unknown IO ID 45"} 
[2026-08-10 23:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314660352001,"power":27289,"unknown_20":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4756012340269158400}} 
[2026-08-10 23:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":153208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:41:30] local.INFO: GPS data processed {"connection_id":153208,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:41:30] local.INFO: Acknowledgment sent {"connection_id":153208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:41:41] local.INFO: TCP Data received {"connection_id":152267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:41:41] local.INFO: Processing buffer {"connection_id":152267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:41:41] local.INFO: IMEI packet received {"connection_id":152267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":152267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:41:45] local.INFO: TCP Data received {"connection_id":152267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:41:46] local.INFO: Processing buffer {"connection_id":152267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:41:46] local.INFO: IMEI packet received {"connection_id":152267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":152267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:41:46] local.INFO: TCP Data received {"connection_id":152267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:41:46] local.INFO: Processing buffer {"connection_id":152267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:41:46] local.INFO: Packet analysis {"connection_id":152267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:41:46] local.INFO: Extracted packet for processing {"connection_id":152267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314590208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786385419000,"timestamp_ms":1786385419000,"timestamp_seconds":1786385419,"priority":1,"record_length":96,"hex_timestamp":"0000019fecde4af8"} 
[2026-08-10 23:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:41: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-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:41: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-08-10 23: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-08-10 23:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314590208001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314590208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:41:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314590208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":152267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:41:46] local.INFO: GPS data processed {"connection_id":152267,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:41:46] local.INFO: Acknowledgment sent {"connection_id":152267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:41:54] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:41:54] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:41:54] local.INFO: IMEI packet received {"connection_id":152268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":152268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:41:57] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:41:57] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:41:57] local.INFO: IMEI packet received {"connection_id":152268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":152268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:41:59] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:41:59] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:41:59] local.INFO: IMEI packet received {"connection_id":152268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":152268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:41:59] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecdf0a60012d429cc00667aa48000a008733..."} 
[2026-08-10 23:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecdf0a60012d429cc00667aa48000a008733..."} 
[2026-08-10 23:41:59] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecdf0a60012d429cc00667aa48000a008733..."} 
[2026-08-10 23:41:59] local.INFO: Packet analysis {"connection_id":152268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdf"} 
[2026-08-10 23:41:59] local.INFO: Extracted packet for processing {"connection_id":152268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdf"} 
[2026-08-10 23:41:59] local.INFO: GPS Element Parsed {"raw_longitude":759340224,"raw_latitude":107457096,"longitude_deg":75.9340224,"latitude_deg":10.7457096,"altitude":10,"angle":135,"satellites":51,"speed":55,"hex_longitude":"2d429cc0","hex_latitude":"0667aa48","is_valid_coordinates":true} 
[2026-08-10 23:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314678272001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376787009747812352,"note":"Value kept but may cause issues"} 
[2026-08-10 23:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4794152199590739968,"note":"Value kept but may cause issues"} 
[2026-08-10 23:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786385468000,"timestamp_ms":1786385468000,"timestamp_seconds":1786385468,"priority":1,"record_length":96,"hex_timestamp":"0000019fecdf0a60"} 
[2026-08-10 23:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-10 23:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314678272001,"66":27310,"19":206,"80":60416,"24":55,"16":376787009747812352,"45":4794152199590739968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-10 23:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314678272001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:41:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 23:41:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376787009747812352,"km_value":376787009747812.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4794152199590739968,"description":"Unknown IO ID 45"} 
[2026-08-10 23:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314678272001,"power":27310,"unknown_19":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4794152199590739968}} 
[2026-08-10 23:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":152268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:42:00] local.INFO: GPS data processed {"connection_id":152268,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:42:00] local.INFO: Acknowledgment sent {"connection_id":152268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:42:04] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecdf1de8012d42b280066799480009007b33..."} 
[2026-08-10 23:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecdf1de8012d42b280066799480009007b33..."} 
[2026-08-10 23:42:04] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecdf1de8012d42b280066799480009007b33..."} 
[2026-08-10 23:42:04] local.INFO: Packet analysis {"connection_id":152268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdf"} 
[2026-08-10 23:42:04] local.INFO: Extracted packet for processing {"connection_id":152268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdf"} 
[2026-08-10 23:42:04] local.INFO: GPS Element Parsed {"raw_longitude":759345792,"raw_latitude":107452744,"longitude_deg":75.9345792,"latitude_deg":10.7452744,"altitude":9,"angle":123,"satellites":51,"speed":56,"hex_longitude":"2d42b280","hex_latitude":"06679948","is_valid_coordinates":true} 
[2026-08-10 23:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314679808001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376787349050228736,"note":"Value kept but may cause issues"} 
[2026-08-10 23:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4799922436611655680,"note":"Value kept but may cause issues"} 
[2026-08-10 23:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786385473000,"timestamp_ms":1786385473000,"timestamp_seconds":1786385473,"priority":1,"record_length":96,"hex_timestamp":"0000019fecdf1de8"} 
[2026-08-10 23:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-10 23:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314679808001,"66":27310,"19":206,"80":60416,"24":56,"16":376787349050228736,"45":4799922436611655680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-10 23:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314679808001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:42:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 23:42:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376787349050228736,"km_value":376787349050228.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4799922436611655680,"description":"Unknown IO ID 45"} 
[2026-08-10 23:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314679808001,"power":27310,"unknown_19":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4799922436611655680}} 
[2026-08-10 23:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":152268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:42:04] local.INFO: GPS data processed {"connection_id":152268,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:42:04] local.INFO: Acknowledgment sent {"connection_id":152268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:42:18] local.INFO: TCP Data received {"connection_id":152267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:42:18] local.INFO: Processing buffer {"connection_id":152267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:42:18] local.INFO: Packet analysis {"connection_id":152267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:42:18] local.INFO: Extracted packet for processing {"connection_id":152267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:42:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314590208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786385419000,"timestamp_ms":1786385419000,"timestamp_seconds":1786385419,"priority":1,"record_length":96,"hex_timestamp":"0000019fecde4af8"} 
[2026-08-10 23:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23: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-08-10 23:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314590208001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314590208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:42:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:42:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314590208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":152267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:42:18] local.INFO: GPS data processed {"connection_id":152267,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:42:18] local.INFO: Acknowledgment sent {"connection_id":152267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:42:35] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecdf3558012d42d04006678a30000a006e30..."} 
[2026-08-10 23:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecdf3558012d42d04006678a30000a006e30..."} 
[2026-08-10 23:42:35] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecdf3558012d42d04006678a30000a006e30..."} 
[2026-08-10 23:42:35] local.INFO: Packet analysis {"connection_id":152268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdf"} 
[2026-08-10 23:42:35] local.INFO: Extracted packet for processing {"connection_id":152268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdf"} 
[2026-08-10 23:42:35] local.INFO: GPS Element Parsed {"raw_longitude":759353408,"raw_latitude":107448880,"longitude_deg":75.9353408,"latitude_deg":10.744888,"altitude":10,"angle":110,"satellites":48,"speed":55,"hex_longitude":"2d42d040","hex_latitude":"06678a30","is_valid_coordinates":true} 
[2026-08-10 23:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314681088001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376787761367089152,"note":"Value kept but may cause issues"} 
[2026-08-10 23:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4806044517353998336,"note":"Value kept but may cause issues"} 
[2026-08-10 23:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786385479000,"timestamp_ms":1786385479000,"timestamp_seconds":1786385479,"priority":1,"record_length":96,"hex_timestamp":"0000019fecdf3558"} 
[2026-08-10 23:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-10 23:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314681088001,"66":27321,"19":206,"80":60416,"24":55,"16":376787761367089152,"45":4806044517353998336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-10 23:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314681088001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:42:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 23:42:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376787761367089152,"km_value":376787761367089.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4806044517353998336,"description":"Unknown IO ID 45"} 
[2026-08-10 23:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314681088001,"power":27321,"unknown_19":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4806044517353998336}} 
[2026-08-10 23:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":152268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:42:35] local.INFO: GPS data processed {"connection_id":152268,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:42:35] local.INFO: Acknowledgment sent {"connection_id":152268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:42:41] local.INFO: TCP Data received {"connection_id":154606,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:42:41] local.INFO: Processing buffer {"connection_id":154606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:42:41] local.INFO: IMEI packet received {"connection_id":154606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":154606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:42:46] local.INFO: TCP Data received {"connection_id":154606,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:42:46] local.INFO: Processing buffer {"connection_id":154606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:42:46] local.INFO: IMEI packet received {"connection_id":154606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":154606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:42:46] local.INFO: TCP Data received {"connection_id":154606,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:42:46] local.INFO: Processing buffer {"connection_id":154606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:42:46] local.INFO: Packet analysis {"connection_id":154606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:42:46] local.INFO: Extracted packet for processing {"connection_id":154606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314590208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786385419000,"timestamp_ms":1786385419000,"timestamp_seconds":1786385419,"priority":1,"record_length":96,"hex_timestamp":"0000019fecde4af8"} 
[2026-08-10 23:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:42: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-08-10 23: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:42: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-08-10 23:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314590208001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314590208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:42:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314590208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":154606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:42:46] local.INFO: GPS data processed {"connection_id":154606,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:42:46] local.INFO: Acknowledgment sent {"connection_id":154606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:42:54] local.INFO: TCP Data received {"connection_id":152269,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:42:54] local.INFO: Processing buffer {"connection_id":152269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:42:54] local.INFO: IMEI packet received {"connection_id":152269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":152269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:42:59] local.INFO: TCP Data received {"connection_id":152269,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:42:59] local.INFO: Processing buffer {"connection_id":152269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:42:59] local.INFO: IMEI packet received {"connection_id":152269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":152269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:43:00] local.INFO: TCP Data received {"connection_id":152269,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecdf50b0012d42f400066780b0000a006732..."} 
[2026-08-10 23:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecdf50b0012d42f400066780b0000a006732..."} 
[2026-08-10 23:43:00] local.INFO: Processing buffer {"connection_id":152269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecdf50b0012d42f400066780b0000a006732..."} 
[2026-08-10 23:43:00] local.INFO: Packet analysis {"connection_id":152269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdf"} 
[2026-08-10 23:43:00] local.INFO: Extracted packet for processing {"connection_id":152269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdf"} 
[2026-08-10 23:43:00] local.INFO: GPS Element Parsed {"raw_longitude":759362560,"raw_latitude":107446448,"longitude_deg":75.936256,"latitude_deg":10.7446448,"altitude":10,"angle":103,"satellites":50,"speed":50,"hex_longitude":"2d42f400","hex_latitude":"066780b0","is_valid_coordinates":true} 
[2026-08-10 23:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314682624001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376788212338655232,"note":"Value kept but may cause issues"} 
[2026-08-10 23:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4814418397910151168,"note":"Value kept but may cause issues"} 
[2026-08-10 23:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786385486000,"timestamp_ms":1786385486000,"timestamp_seconds":1786385486,"priority":1,"record_length":96,"hex_timestamp":"0000019fecdf50b0"} 
[2026-08-10 23:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-10 23:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314682624001,"66":27332,"19":206,"80":60416,"24":50,"16":376788212338655232,"45":4814418397910151168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-10 23:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314682624001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:43:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 23:43:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376788212338655232,"km_value":376788212338655.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4814418397910151168,"description":"Unknown IO ID 45"} 
[2026-08-10 23:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314682624001,"power":27332,"unknown_19":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4814418397910151168}} 
[2026-08-10 23:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":152269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:43:00] local.INFO: GPS data processed {"connection_id":152269,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:43:00] local.INFO: Acknowledgment sent {"connection_id":152269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:43:18] local.INFO: TCP Data received {"connection_id":154606,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:43:18] local.INFO: Processing buffer {"connection_id":154606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:43:18] local.INFO: Packet analysis {"connection_id":154606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:43:18] local.INFO: Extracted packet for processing {"connection_id":154606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314590208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786385419000,"timestamp_ms":1786385419000,"timestamp_seconds":1786385419,"priority":1,"record_length":96,"hex_timestamp":"0000019fecde4af8"} 
[2026-08-10 23:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314590208001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314590208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:43:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314590208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":154606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:43:18] local.INFO: GPS data processed {"connection_id":154606,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:43:18] local.INFO: Acknowledgment sent {"connection_id":154606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:43:31] local.INFO: TCP Data received {"connection_id":152269,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecdf6ff0012d431900066778c0000a006632..."} 
[2026-08-10 23:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecdf6ff0012d431900066778c0000a006632..."} 
[2026-08-10 23:43:31] local.INFO: Processing buffer {"connection_id":152269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecdf6ff0012d431900066778c0000a006632..."} 
[2026-08-10 23:43:31] local.INFO: Packet analysis {"connection_id":152269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecdf"} 
[2026-08-10 23:43:31] local.INFO: Extracted packet for processing {"connection_id":152269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecdf"} 
[2026-08-10 23:43:31] local.INFO: GPS Element Parsed {"raw_longitude":759372032,"raw_latitude":107444416,"longitude_deg":75.9372032,"latitude_deg":10.7444416,"altitude":10,"angle":102,"satellites":50,"speed":45,"hex_longitude":"2d431900","hex_latitude":"066778c0","is_valid_coordinates":true} 
[2026-08-10 23:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314684416001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376788671900155904,"note":"Value kept but may cause issues"} 
[2026-08-10 23:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4824481128326934528,"note":"Value kept but may cause issues"} 
[2026-08-10 23:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786385494000,"timestamp_ms":1786385494000,"timestamp_seconds":1786385494,"priority":1,"record_length":96,"hex_timestamp":"0000019fecdf6ff0"} 
[2026-08-10 23:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 23:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314684416001,"66":27180,"19":206,"80":60416,"24":45,"16":376788671900155904,"45":4824481128326934528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-10 23:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314684416001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:43:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-10 23:43:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376788671900155904,"km_value":376788671900155.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4824481128326934528,"description":"Unknown IO ID 45"} 
[2026-08-10 23:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314684416001,"power":27180,"unknown_19":206,"unknown_80":60416,"ignition":45,"odometer":null,"unknown_45":4824481128326934528}} 
[2026-08-10 23:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":152269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:43:31] local.INFO: GPS data processed {"connection_id":152269,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:43:31] local.INFO: Acknowledgment sent {"connection_id":152269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:43:41] local.INFO: TCP Data received {"connection_id":153209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:43:41] local.INFO: Processing buffer {"connection_id":153209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:43:41] local.INFO: IMEI packet received {"connection_id":153209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":153209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:43:46] local.INFO: TCP Data received {"connection_id":153209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:43:46] local.INFO: Processing buffer {"connection_id":153209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:43:46] local.INFO: IMEI packet received {"connection_id":153209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":153209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:43:46] local.INFO: TCP Data received {"connection_id":153209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:43:46] local.INFO: Processing buffer {"connection_id":153209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:43:46] local.INFO: Packet analysis {"connection_id":153209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:43:46] local.INFO: Extracted packet for processing {"connection_id":153209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314590208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786385419000,"timestamp_ms":1786385419000,"timestamp_seconds":1786385419,"priority":1,"record_length":96,"hex_timestamp":"0000019fecde4af8"} 
[2026-08-10 23:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:43: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-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:43: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-08-10 23:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314590208001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314590208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:43:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314590208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":153209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:43:47] local.INFO: GPS data processed {"connection_id":153209,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:43:47] local.INFO: Acknowledgment sent {"connection_id":153209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:43:59] local.INFO: TCP Data received {"connection_id":152270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:43:59] local.INFO: Processing buffer {"connection_id":152270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:43:59] local.INFO: IMEI packet received {"connection_id":152270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":152270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:44:01] local.INFO: TCP Data received {"connection_id":152270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:44:01] local.INFO: Processing buffer {"connection_id":152270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:44:01] local.INFO: IMEI packet received {"connection_id":152270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":152270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:44:02] local.INFO: TCP Data received {"connection_id":152270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece09100012d4422c006668440000b00a332..."} 
[2026-08-10 23:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece09100012d4422c006668440000b00a332..."} 
[2026-08-10 23:44:02] local.INFO: Processing buffer {"connection_id":152270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece09100012d4422c006668440000b00a332..."} 
[2026-08-10 23:44:02] local.INFO: Packet analysis {"connection_id":152270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece0"} 
[2026-08-10 23:44:02] local.INFO: Extracted packet for processing {"connection_id":152270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece0"} 
[2026-08-10 23:44:02] local.INFO: GPS Element Parsed {"raw_longitude":759440064,"raw_latitude":107381824,"longitude_deg":75.9440064,"latitude_deg":10.7381824,"altitude":11,"angle":163,"satellites":50,"speed":59,"hex_longitude":"2d4422c0","hex_latitude":"06668440","is_valid_coordinates":true} 
[2026-08-10 23:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314703872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376793482263527424,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4906460715279534080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786385568000,"timestamp_ms":1786385568000,"timestamp_seconds":1786385568,"priority":1,"record_length":96,"hex_timestamp":"0000019fece09100"} 
[2026-08-10 23:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 23:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314703872001,"66":27376,"57":206,"80":60416,"24":59,"16":376793482263527424,"45":4906460715279534080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,80,24,16,45]} 
[2026-08-10 23:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314703872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:44:02] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-10 23:44:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376793482263527424,"km_value":376793482263527.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4906460715279534080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314703872001,"power":27376,"unknown_57":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":4906460715279534080}} 
[2026-08-10 23:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":152270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:44:02] local.INFO: GPS data processed {"connection_id":152270,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:44:02] local.INFO: Acknowledgment sent {"connection_id":152270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:44:05] local.INFO: TCP Data received {"connection_id":152270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece0ac58012d442d8006665d98000b00a432..."} 
[2026-08-10 23:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece0ac58012d442d8006665d98000b00a432..."} 
[2026-08-10 23:44:05] local.INFO: Processing buffer {"connection_id":152270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece0ac58012d442d8006665d98000b00a432..."} 
[2026-08-10 23:44:05] local.INFO: Packet analysis {"connection_id":152270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece0"} 
[2026-08-10 23:44:05] local.INFO: Extracted packet for processing {"connection_id":152270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece0"} 
[2026-08-10 23:44:05] local.INFO: GPS Element Parsed {"raw_longitude":759442816,"raw_latitude":107371928,"longitude_deg":75.9442816,"latitude_deg":10.7371928,"altitude":11,"angle":164,"satellites":50,"speed":58,"hex_longitude":"2d442d80","hex_latitude":"06665d98","is_valid_coordinates":true} 
[2026-08-10 23:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314705408001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376793976184766464,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4909697677509541888,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786385575000,"timestamp_ms":1786385575000,"timestamp_seconds":1786385575,"priority":1,"record_length":96,"hex_timestamp":"0000019fece0ac58"} 
[2026-08-10 23:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-10 23:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314705408001,"66":27234,"235":206,"80":60416,"24":58,"16":376793976184766464,"45":4909697677509541888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-08-10 23:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314705408001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:44:05] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-10 23:44:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376793976184766464,"km_value":376793976184766.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4909697677509541888,"description":"Unknown IO ID 45"} 
[2026-08-10 23:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314705408001,"power":27234,"unknown_235":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4909697677509541888}} 
[2026-08-10 23:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":152270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:44:05] local.INFO: GPS data processed {"connection_id":152270,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:44:05] local.INFO: Acknowledgment sent {"connection_id":152270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:44:17] local.INFO: TCP Data received {"connection_id":153209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:44:17] local.INFO: Processing buffer {"connection_id":153209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:44:17] local.INFO: Packet analysis {"connection_id":153209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:44:17] local.INFO: Extracted packet for processing {"connection_id":153209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314590208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786385419000,"timestamp_ms":1786385419000,"timestamp_seconds":1786385419,"priority":1,"record_length":96,"hex_timestamp":"0000019fecde4af8"} 
[2026-08-10 23:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:44: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-08-10 23:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314590208001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314590208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:44:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314590208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":153209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:44:17] local.INFO: GPS data processed {"connection_id":153209,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:44:17] local.INFO: Acknowledgment sent {"connection_id":153209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:44:41] local.INFO: TCP Data received {"connection_id":153210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:44:41] local.INFO: Processing buffer {"connection_id":153210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:44:41] local.INFO: IMEI packet received {"connection_id":153210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":153210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:44:46] local.INFO: TCP Data received {"connection_id":153210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:44:46] local.INFO: Processing buffer {"connection_id":153210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:44:46] local.INFO: IMEI packet received {"connection_id":153210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":153210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:44:46] local.INFO: TCP Data received {"connection_id":153210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:44:46] local.INFO: Processing buffer {"connection_id":153210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:44:46] local.INFO: Packet analysis {"connection_id":153210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:44:46] local.INFO: Extracted packet for processing {"connection_id":153210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314590208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786385419000,"timestamp_ms":1786385419000,"timestamp_seconds":1786385419,"priority":1,"record_length":96,"hex_timestamp":"0000019fecde4af8"} 
[2026-08-10 23:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:44: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-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:44: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-08-10 23:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314590208001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314590208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:44:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314590208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":153210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:44:47] local.INFO: GPS data processed {"connection_id":153210,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:44:47] local.INFO: Acknowledgment sent {"connection_id":153210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:44:51] local.INFO: TCP Data received {"connection_id":154607,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:44:51] local.INFO: Processing buffer {"connection_id":154607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:44:51] local.INFO: IMEI packet received {"connection_id":154607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":154607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:44:54] local.INFO: TCP Data received {"connection_id":154607,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:44:54] local.INFO: Processing buffer {"connection_id":154607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:44:54] local.INFO: IMEI packet received {"connection_id":154607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":154607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:44:57] local.INFO: TCP Data received {"connection_id":154607,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:44:57] local.INFO: Processing buffer {"connection_id":154607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:44:57] local.INFO: IMEI packet received {"connection_id":154607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":154607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:44:58] local.INFO: TCP Data received {"connection_id":154607,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece0c7b0012d4438c006663788000b00a132..."} 
[2026-08-10 23:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece0c7b0012d4438c006663788000b00a132..."} 
[2026-08-10 23:44:58] local.INFO: Processing buffer {"connection_id":154607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece0c7b0012d4438c006663788000b00a132..."} 
[2026-08-10 23:44:58] local.INFO: Packet analysis {"connection_id":154607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece0"} 
[2026-08-10 23:44:58] local.INFO: Extracted packet for processing {"connection_id":154607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece0"} 
[2026-08-10 23:44:58] local.INFO: GPS Element Parsed {"raw_longitude":759445696,"raw_latitude":107362184,"longitude_deg":75.9445696,"latitude_deg":10.7362184,"altitude":11,"angle":161,"satellites":50,"speed":57,"hex_longitude":"2d4438c0","hex_latitude":"06663788","is_valid_coordinates":true} 
[2026-08-10 23:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314707200001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376794470106005504,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4912723533506648064,"note":"Value kept but may cause issues"} 
[2026-08-10 23:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786385582000,"timestamp_ms":1786385582000,"timestamp_seconds":1786385582,"priority":1,"record_length":96,"hex_timestamp":"0000019fece0c7b0"} 
[2026-08-10 23:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 23:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314707200001,"66":27376,"235":206,"80":60416,"24":57,"16":376794470106005504,"45":4912723533506648064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-08-10 23:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314707200001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:44:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-10 23:44:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376794470106005504,"km_value":376794470106005.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4912723533506648064,"description":"Unknown IO ID 45"} 
[2026-08-10 23:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314707200001,"power":27376,"unknown_235":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":4912723533506648064}} 
[2026-08-10 23:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":154607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:44:58] local.INFO: GPS data processed {"connection_id":154607,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:44:58] local.INFO: Acknowledgment sent {"connection_id":154607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:45:17] local.INFO: TCP Data received {"connection_id":153210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:45:17] local.INFO: Processing buffer {"connection_id":153210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:45:17] local.INFO: Packet analysis {"connection_id":153210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:45:17] local.INFO: Extracted packet for processing {"connection_id":153210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314590208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786385419000,"timestamp_ms":1786385419000,"timestamp_seconds":1786385419,"priority":1,"record_length":96,"hex_timestamp":"0000019fecde4af8"} 
[2026-08-10 23:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:45: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-08-10 23:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314590208001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314590208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:45:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314590208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":153210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:45:17] local.INFO: GPS data processed {"connection_id":153210,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:45:17] local.INFO: Acknowledgment sent {"connection_id":153210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:45:29] local.INFO: TCP Data received {"connection_id":154607,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece22740012d44f74006647378000b00a233..."} 
[2026-08-10 23:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece22740012d44f74006647378000b00a233..."} 
[2026-08-10 23:45:29] local.INFO: Processing buffer {"connection_id":154607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece22740012d44f74006647378000b00a233..."} 
[2026-08-10 23:45:29] local.INFO: Packet analysis {"connection_id":154607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:45:29] local.INFO: Extracted packet for processing {"connection_id":154607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:45:29] local.INFO: GPS Element Parsed {"raw_longitude":759494464,"raw_latitude":107246456,"longitude_deg":75.9494464,"latitude_deg":10.7246456,"altitude":11,"angle":162,"satellites":51,"speed":56,"hex_longitude":"2d44f740","hex_latitude":"06647378","is_valid_coordinates":true} 
[2026-08-10 23:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314730240001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376800543189762048,"note":"Value kept but may cause issues"} 
[2026-08-10 23:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4965781566586951680,"note":"Value kept but may cause issues"} 
[2026-08-10 23:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786385672000,"timestamp_ms":1786385672000,"timestamp_seconds":1786385672,"priority":1,"record_length":96,"hex_timestamp":"0000019fece22740"} 
[2026-08-10 23:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 23:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":154607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":154607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":154607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314730240001,"66":27267,"205":206,"80":60416,"24":56,"16":376800543189762048,"45":4965781566586951680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-08-10 23:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314730240001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:45:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376800543189762048,"km_value":376800543189762.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4965781566586951680,"description":"Unknown IO ID 45"} 
[2026-08-10 23:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314730240001,"power":27267,"cell_id":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4965781566586951680}} 
[2026-08-10 23:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":154607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:45:29] local.INFO: GPS data processed {"connection_id":154607,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:45:29] local.INFO: Acknowledgment sent {"connection_id":154607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:45:41] local.INFO: TCP Data received {"connection_id":153211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:45:41] local.INFO: Processing buffer {"connection_id":153211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:45:41] local.INFO: IMEI packet received {"connection_id":153211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":153211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:45:46] local.INFO: TCP Data received {"connection_id":153211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:45:46] local.INFO: Processing buffer {"connection_id":153211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:45:46] local.INFO: IMEI packet received {"connection_id":153211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":153211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:45:46] local.INFO: TCP Data received {"connection_id":153211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:45:46] local.INFO: Processing buffer {"connection_id":153211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecde4af8012d196580071ff0380036014226..."} 
[2026-08-10 23:45:46] local.INFO: Packet analysis {"connection_id":153211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:45:46] local.INFO: Extracted packet for processing {"connection_id":153211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecde"} 
[2026-08-10 23:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314590208001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786385419000,"timestamp_ms":1786385419000,"timestamp_seconds":1786385419,"priority":1,"record_length":96,"hex_timestamp":"0000019fecde4af8"} 
[2026-08-10 23:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:45: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-08-10 23:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:45: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-08-10 23:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314590208001,"66":2155,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314590208001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:45:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314590208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":153211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:45:46] local.INFO: GPS data processed {"connection_id":153211,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:45:46] local.INFO: Acknowledgment sent {"connection_id":153211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:45:54] local.INFO: TCP Data received {"connection_id":154608,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:45:54] local.INFO: Processing buffer {"connection_id":154608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:45:54] local.INFO: IMEI packet received {"connection_id":154608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":154608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:45:58] local.INFO: TCP Data received {"connection_id":154608,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:45:58] local.INFO: Processing buffer {"connection_id":154608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:45:58] local.INFO: IMEI packet received {"connection_id":154608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":154608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:45:59] local.INFO: TCP Data received {"connection_id":154608,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:45:59] local.INFO: Processing buffer {"connection_id":154608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:45:59] local.INFO: IMEI packet received {"connection_id":154608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":154608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:45:59] local.INFO: TCP Data received {"connection_id":154608,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece24298012d45030006645068000c00a133..."} 
[2026-08-10 23:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece24298012d45030006645068000c00a133..."} 
[2026-08-10 23:45:59] local.INFO: Processing buffer {"connection_id":154608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece24298012d45030006645068000c00a133..."} 
[2026-08-10 23:45:59] local.INFO: Packet analysis {"connection_id":154608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:45:59] local.INFO: Extracted packet for processing {"connection_id":154608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:45:59] local.INFO: GPS Element Parsed {"raw_longitude":759497472,"raw_latitude":107237480,"longitude_deg":75.9497472,"latitude_deg":10.723748,"altitude":12,"angle":161,"satellites":51,"speed":51,"hex_longitude":"2d450300","hex_latitude":"06645068","is_valid_coordinates":true} 
[2026-08-10 23:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314732032001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376801002751262720,"note":"Value kept but may cause issues"} 
[2026-08-10 23:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4969511110025902080,"note":"Value kept but may cause issues"} 
[2026-08-10 23:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786385679000,"timestamp_ms":1786385679000,"timestamp_seconds":1786385679,"priority":1,"record_length":96,"hex_timestamp":"0000019fece24298"} 
[2026-08-10 23:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 23:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314732032001,"66":27234,"205":206,"80":60416,"24":51,"16":376801002751262720,"45":4969511110025902080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-08-10 23:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314732032001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:45:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376801002751262720,"km_value":376801002751262.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4969511110025902080,"description":"Unknown IO ID 45"} 
[2026-08-10 23:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314732032001,"power":27234,"cell_id":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":4969511110025902080}} 
[2026-08-10 23:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":154608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:45:59] local.INFO: GPS data processed {"connection_id":154608,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:45:59] local.INFO: Acknowledgment sent {"connection_id":154608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:46:01] local.INFO: TCP Data received {"connection_id":154608,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece25df0012d450e4006642f68000c00a133..."} 
[2026-08-10 23:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece25df0012d450e4006642f68000c00a133..."} 
[2026-08-10 23:46:01] local.INFO: Processing buffer {"connection_id":154608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece25df0012d450e4006642f68000c00a133..."} 
[2026-08-10 23:46:01] local.INFO: Packet analysis {"connection_id":154608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:46:01] local.INFO: Extracted packet for processing {"connection_id":154608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:46:01] local.INFO: GPS Element Parsed {"raw_longitude":759500352,"raw_latitude":107229032,"longitude_deg":75.9500352,"latitude_deg":10.7229032,"altitude":12,"angle":161,"satellites":51,"speed":51,"hex_longitude":"2d450e40","hex_latitude":"06642f68","is_valid_coordinates":true} 
[2026-08-10 23:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314733824001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376801436542959616,"note":"Value kept but may cause issues"} 
[2026-08-10 23:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4972818440999954432,"note":"Value kept but may cause issues"} 
[2026-08-10 23:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786385686000,"timestamp_ms":1786385686000,"timestamp_seconds":1786385686,"priority":1,"record_length":96,"hex_timestamp":"0000019fece25df0"} 
[2026-08-10 23:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 23:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314733824001,"66":27093,"205":206,"80":60416,"24":51,"16":376801436542959616,"45":4972818440999954432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-08-10 23:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314733824001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:46:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376801436542959616,"km_value":376801436542959.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4972818440999954432,"description":"Unknown IO ID 45"} 
[2026-08-10 23:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314733824001,"power":27093,"cell_id":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":4972818440999954432}} 
[2026-08-10 23:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":154608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:46:01] local.INFO: GPS data processed {"connection_id":154608,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:46:01] local.INFO: Acknowledgment sent {"connection_id":154608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:46:17] local.INFO: TCP Data received {"connection_id":153211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:46:17] local.INFO: Processing buffer {"connection_id":153211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:46:17] local.INFO: Packet analysis {"connection_id":153211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:46:17] local.INFO: Extracted packet for processing {"connection_id":153211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314667264001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786385720000,"timestamp_ms":1786385720000,"timestamp_seconds":1786385720,"priority":1,"record_length":96,"hex_timestamp":"0000019fece2e2c0"} 
[2026-08-10 23:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:46: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-08-10 23:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314667264001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314667264001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:46:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314667264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":153211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:46:17] local.INFO: GPS data processed {"connection_id":153211,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:46:17] local.INFO: Acknowledgment sent {"connection_id":153211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:46:35] local.INFO: TCP Data received {"connection_id":154608,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece27948012d4519c006640d40000c00a132..."} 
[2026-08-10 23:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece27948012d4519c006640d40000c00a132..."} 
[2026-08-10 23:46:35] local.INFO: Processing buffer {"connection_id":154608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece27948012d4519c006640d40000c00a132..."} 
[2026-08-10 23:46:35] local.INFO: Packet analysis {"connection_id":154608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:46:35] local.INFO: Extracted packet for processing {"connection_id":154608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:46:35] local.INFO: GPS Element Parsed {"raw_longitude":759503296,"raw_latitude":107220288,"longitude_deg":75.9503296,"latitude_deg":10.7220288,"altitude":12,"angle":161,"satellites":50,"speed":53,"hex_longitude":"2d4519c0","hex_latitude":"06640d40","is_valid_coordinates":true} 
[2026-08-10 23:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314735616001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376801883219558400,"note":"Value kept but may cause issues"} 
[2026-08-10 23:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4975985034485786624,"note":"Value kept but may cause issues"} 
[2026-08-10 23:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786385693000,"timestamp_ms":1786385693000,"timestamp_seconds":1786385693,"priority":1,"record_length":96,"hex_timestamp":"0000019fece27948"} 
[2026-08-10 23:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-10 23:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2640,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314735616001,"66":27115,"206":206,"80":60416,"24":53,"16":376801883219558400,"45":4975985034485786624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-10 23:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314735616001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:46:35] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 23:46:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376801883219558400,"km_value":376801883219558.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4975985034485786624,"description":"Unknown IO ID 45"} 
[2026-08-10 23:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314735616001,"power":27115,"unknown_206":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4975985034485786624}} 
[2026-08-10 23:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":154608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:46:35] local.INFO: GPS data processed {"connection_id":154608,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:46:35] local.INFO: Acknowledgment sent {"connection_id":154608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:46:41] local.INFO: TCP Data received {"connection_id":154609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:46:41] local.INFO: Processing buffer {"connection_id":154609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:46:41] local.INFO: IMEI packet received {"connection_id":154609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":154609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:46:46] local.INFO: TCP Data received {"connection_id":154609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:46:46] local.INFO: Processing buffer {"connection_id":154609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:46:46] local.INFO: IMEI packet received {"connection_id":154609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":154609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:46:47] local.INFO: TCP Data received {"connection_id":154609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:46:47] local.INFO: Processing buffer {"connection_id":154609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:46:47] local.INFO: Packet analysis {"connection_id":154609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:46:47] local.INFO: Extracted packet for processing {"connection_id":154609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314667264001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786385720000,"timestamp_ms":1786385720000,"timestamp_seconds":1786385720,"priority":1,"record_length":96,"hex_timestamp":"0000019fece2e2c0"} 
[2026-08-10 23:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314667264001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314667264001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:46:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314667264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":154609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:46:47] local.INFO: GPS data processed {"connection_id":154609,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:46:47] local.INFO: Acknowledgment sent {"connection_id":154609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:46:54] local.INFO: TCP Data received {"connection_id":153212,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:46:54] local.INFO: Processing buffer {"connection_id":153212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:46:54] local.INFO: IMEI packet received {"connection_id":153212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":153212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:46:55] local.INFO: TCP Data received {"connection_id":153212,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:46:55] local.INFO: Processing buffer {"connection_id":153212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:46:55] local.INFO: IMEI packet received {"connection_id":153212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":153212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:46:59] local.INFO: TCP Data received {"connection_id":153212,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:46:59] local.INFO: Processing buffer {"connection_id":153212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:46:59] local.INFO: IMEI packet received {"connection_id":153212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":153212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:47:00] local.INFO: TCP Data received {"connection_id":153212,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece294a0012d4525c00663ea38000c00a032..."} 
[2026-08-10 23:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece294a0012d4525c00663ea38000c00a032..."} 
[2026-08-10 23:47:00] local.INFO: Processing buffer {"connection_id":153212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece294a0012d4525c00663ea38000c00a032..."} 
[2026-08-10 23:47:00] local.INFO: Packet analysis {"connection_id":153212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:47:00] local.INFO: Extracted packet for processing {"connection_id":153212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:47:00] local.INFO: GPS Element Parsed {"raw_longitude":759506368,"raw_latitude":107211320,"longitude_deg":75.9506368,"latitude_deg":10.721132,"altitude":12,"angle":160,"satellites":50,"speed":52,"hex_longitude":"2d4525c0","hex_latitude":"0663ea38","is_valid_coordinates":true} 
[2026-08-10 23:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314737408001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376802338486091776,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4979221996715720704,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786385700000,"timestamp_ms":1786385700000,"timestamp_seconds":1786385700,"priority":1,"record_length":96,"hex_timestamp":"0000019fece294a0"} 
[2026-08-10 23:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-10 23:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314737408001,"66":27365,"206":206,"80":60416,"24":52,"16":376802338486091776,"45":4979221996715720704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-10 23:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314737408001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:47:00] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 23:47:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376802338486091776,"km_value":376802338486091.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4979221996715720704,"description":"Unknown IO ID 45"} 
[2026-08-10 23:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314737408001,"power":27365,"unknown_206":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4979221996715720704}} 
[2026-08-10 23:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":153212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:47:00] local.INFO: GPS data processed {"connection_id":153212,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:47:00] local.INFO: Acknowledgment sent {"connection_id":153212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:47:18] local.INFO: TCP Data received {"connection_id":154609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:47:18] local.INFO: Processing buffer {"connection_id":154609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:47:18] local.INFO: Packet analysis {"connection_id":154609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:47:18] local.INFO: Extracted packet for processing {"connection_id":154609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314667264001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786385720000,"timestamp_ms":1786385720000,"timestamp_seconds":1786385720,"priority":1,"record_length":96,"hex_timestamp":"0000019fece2e2c0"} 
[2026-08-10 23:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23: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-08-10 23:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314667264001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314667264001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:47:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:47:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314667264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":154609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:47:18] local.INFO: GPS data processed {"connection_id":154609,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:47:18] local.INFO: Acknowledgment sent {"connection_id":154609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:47:24] local.INFO: TCP Data received {"connection_id":152271,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-10 23:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-10 23:47:24] local.INFO: Processing buffer {"connection_id":152271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-10 23:47:24] local.INFO: IMEI packet received {"connection_id":152271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-10 23:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":152271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:47:31] local.INFO: TCP Data received {"connection_id":153212,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece41370012d4601c006620e48000b009c32..."} 
[2026-08-10 23:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece41370012d4601c006620e48000b009c32..."} 
[2026-08-10 23:47:31] local.INFO: Processing buffer {"connection_id":153212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece41370012d4601c006620e48000b009c32..."} 
[2026-08-10 23:47:31] local.INFO: Packet analysis {"connection_id":153212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:47:31] local.INFO: Extracted packet for processing {"connection_id":153212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:47:31] local.INFO: GPS Element Parsed {"raw_longitude":759562688,"raw_latitude":107089480,"longitude_deg":75.9562688,"latitude_deg":10.708948,"altitude":11,"angle":156,"satellites":50,"speed":55,"hex_longitude":"2d4601c0","hex_latitude":"06620e48","is_valid_coordinates":true} 
[2026-08-10 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-08-10 23:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314762496001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376808853951479808,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5040090960398215168,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786385798000,"timestamp_ms":1786385798000,"timestamp_seconds":1786385798,"priority":1,"record_length":96,"hex_timestamp":"0000019fece41370"} 
[2026-08-10 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-08-10 23:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 23:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 23:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314762496001,"66":27234,"206":206,"80":60416,"24":55,"16":376808853951479808,"45":5040090960398215168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-10 23:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314762496001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:47:31] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 23:47:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376808853951479808,"km_value":376808853951479.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5040090960398215168,"description":"Unknown IO ID 45"} 
[2026-08-10 23:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314762496001,"power":27234,"unknown_206":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":5040090960398215168}} 
[2026-08-10 23:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":153212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:47:31] local.INFO: GPS data processed {"connection_id":153212,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:47:31] local.INFO: Acknowledgment sent {"connection_id":153212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:47:41] local.INFO: TCP Data received {"connection_id":152272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:47:41] local.INFO: Processing buffer {"connection_id":152272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:47:41] local.INFO: IMEI packet received {"connection_id":152272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":152272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:47:46] local.INFO: TCP Data received {"connection_id":152272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:47:46] local.INFO: Processing buffer {"connection_id":152272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:47:46] local.INFO: IMEI packet received {"connection_id":152272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":152272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:47:47] local.INFO: TCP Data received {"connection_id":152272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:47:47] local.INFO: Processing buffer {"connection_id":152272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:47:47] local.INFO: Packet analysis {"connection_id":152272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:47:47] local.INFO: Extracted packet for processing {"connection_id":152272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314667264001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786385720000,"timestamp_ms":1786385720000,"timestamp_seconds":1786385720,"priority":1,"record_length":96,"hex_timestamp":"0000019fece2e2c0"} 
[2026-08-10 23:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314667264001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314667264001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:47:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314667264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":152272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:47:47] local.INFO: GPS data processed {"connection_id":152272,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:47:47] local.INFO: Acknowledgment sent {"connection_id":152272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:47:54] local.INFO: TCP Data received {"connection_id":154610,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:47:54] local.INFO: Processing buffer {"connection_id":154610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:47:54] local.INFO: IMEI packet received {"connection_id":154610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":154610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:47:58] local.INFO: TCP Data received {"connection_id":154610,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:47:58] local.INFO: Processing buffer {"connection_id":154610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:47:58] local.INFO: IMEI packet received {"connection_id":154610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":154610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:47:59] local.INFO: TCP Data received {"connection_id":154610,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece42ec8012d4611400661eb90000b009c31..."} 
[2026-08-10 23:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece42ec8012d4611400661eb90000b009c31..."} 
[2026-08-10 23:47:59] local.INFO: Processing buffer {"connection_id":154610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece42ec8012d4611400661eb90000b009c31..."} 
[2026-08-10 23:47:59] local.INFO: Packet analysis {"connection_id":154610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:47:59] local.INFO: Extracted packet for processing {"connection_id":154610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:47:59] local.INFO: GPS Element Parsed {"raw_longitude":759566656,"raw_latitude":107080592,"longitude_deg":75.9566656,"latitude_deg":10.7080592,"altitude":11,"angle":156,"satellites":49,"speed":55,"hex_longitude":"2d461140","hex_latitude":"0661eb90","is_valid_coordinates":true} 
[2026-08-10 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-08-10 23:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314764288001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376809326397882368,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5044524191279106048,"note":"Value kept but may cause issues"} 
[2026-08-10 23:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786385805000,"timestamp_ms":1786385805000,"timestamp_seconds":1786385805,"priority":1,"record_length":96,"hex_timestamp":"0000019fece42ec8"} 
[2026-08-10 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-08-10 23:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 23:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 23:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314764288001,"66":27169,"206":206,"80":60416,"24":55,"16":376809326397882368,"45":5044524191279106048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-10 23:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314764288001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:47:59] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 23:47:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376809326397882368,"km_value":376809326397882.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5044524191279106048,"description":"Unknown IO ID 45"} 
[2026-08-10 23:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314764288001,"power":27169,"unknown_206":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":5044524191279106048}} 
[2026-08-10 23:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":154610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:47:59] local.INFO: GPS data processed {"connection_id":154610,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:47:59] local.INFO: Acknowledgment sent {"connection_id":154610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:48:18] local.INFO: TCP Data received {"connection_id":152272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:48:18] local.INFO: Processing buffer {"connection_id":152272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:48:18] local.INFO: Packet analysis {"connection_id":152272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:48:18] local.INFO: Extracted packet for processing {"connection_id":152272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314667264001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786385720000,"timestamp_ms":1786385720000,"timestamp_seconds":1786385720,"priority":1,"record_length":96,"hex_timestamp":"0000019fece2e2c0"} 
[2026-08-10 23:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23: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-08-10 23:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314667264001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314667264001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:48:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314667264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":152272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:48:18] local.INFO: GPS data processed {"connection_id":152272,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:48:18] local.INFO: Acknowledgment sent {"connection_id":152272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:48:31] local.INFO: TCP Data received {"connection_id":154610,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece44a20012d4620c00661c890000b009b32..."} 
[2026-08-10 23:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece44a20012d4620c00661c890000b009b32..."} 
[2026-08-10 23:48:31] local.INFO: Processing buffer {"connection_id":154610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece44a20012d4620c00661c890000b009b32..."} 
[2026-08-10 23:48:31] local.INFO: Packet analysis {"connection_id":154610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:48:31] local.INFO: Extracted packet for processing {"connection_id":154610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:48:31] local.INFO: GPS Element Parsed {"raw_longitude":759570624,"raw_latitude":107071632,"longitude_deg":75.9570624,"latitude_deg":10.7071632,"altitude":11,"angle":155,"satellites":50,"speed":55,"hex_longitude":"2d4620c0","hex_latitude":"0661c890","is_valid_coordinates":true} 
[2026-08-10 23:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314766080001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376809798844284928,"note":"Value kept but may cause issues"} 
[2026-08-10 23:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5048887053415845888,"note":"Value kept but may cause issues"} 
[2026-08-10 23:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786385812000,"timestamp_ms":1786385812000,"timestamp_seconds":1786385812,"priority":1,"record_length":96,"hex_timestamp":"0000019fece44a20"} 
[2026-08-10 23:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-10 23:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314766080001,"66":27300,"206":206,"80":60416,"24":55,"16":376809798844284928,"45":5048887053415845888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-10 23:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314766080001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:48:31] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 23:48:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376809798844284928,"km_value":376809798844284.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5048887053415845888,"description":"Unknown IO ID 45"} 
[2026-08-10 23:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314766080001,"power":27300,"unknown_206":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":5048887053415845888}} 
[2026-08-10 23:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":154610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:48:31] local.INFO: GPS data processed {"connection_id":154610,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:48:31] local.INFO: Acknowledgment sent {"connection_id":154610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:48:41] local.INFO: TCP Data received {"connection_id":152273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:48:41] local.INFO: Processing buffer {"connection_id":152273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:48:41] local.INFO: IMEI packet received {"connection_id":152273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":152273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:48:46] local.INFO: TCP Data received {"connection_id":152273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:48:46] local.INFO: Processing buffer {"connection_id":152273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:48:46] local.INFO: IMEI packet received {"connection_id":152273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":152273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:48:47] local.INFO: TCP Data received {"connection_id":152273,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:48:47] local.INFO: Processing buffer {"connection_id":152273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:48:47] local.INFO: Packet analysis {"connection_id":152273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:48:47] local.INFO: Extracted packet for processing {"connection_id":152273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314667264001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786385720000,"timestamp_ms":1786385720000,"timestamp_seconds":1786385720,"priority":1,"record_length":96,"hex_timestamp":"0000019fece2e2c0"} 
[2026-08-10 23:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23: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-08-10 23:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314667264001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314667264001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:48:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314667264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":152273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:48:47] local.INFO: GPS data processed {"connection_id":152273,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:48:47] local.INFO: Acknowledgment sent {"connection_id":152273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:48:59] local.INFO: TCP Data received {"connection_id":153213,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:48:59] local.INFO: Processing buffer {"connection_id":153213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:48:59] local.INFO: IMEI packet received {"connection_id":153213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":153213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:49:00] local.INFO: TCP Data received {"connection_id":153213,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:49:00] local.INFO: Processing buffer {"connection_id":153213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:49:00] local.INFO: IMEI packet received {"connection_id":153213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":153213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:49:05] local.INFO: TCP Data received {"connection_id":153213,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:49:05] local.INFO: Processing buffer {"connection_id":153213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:49:05] local.INFO: IMEI packet received {"connection_id":153213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":153213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:49:06] local.INFO: TCP Data received {"connection_id":153213,"ip":"42.106.6.15","data_length":1348,"data_hex":"000000000000030f8e0a0000019fece46578012d4630c00661a588000b009b2f..."} 
[2026-08-10 23:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153213,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fece46578012d4630c00661a588000b009b2f..."} 
[2026-08-10 23:49:06] local.INFO: Processing buffer {"connection_id":153213,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019fece46578012d4630c00661a588000b009b2f..."} 
[2026-08-10 23:49:06] local.INFO: Packet analysis {"connection_id":153213,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:49:06] local.INFO: Extracted packet for processing {"connection_id":153213,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:49:06] local.INFO: GPS Element Parsed {"raw_longitude":759574720,"raw_latitude":107062664,"longitude_deg":75.957472,"latitude_deg":10.7062664,"altitude":11,"angle":155,"satellites":47,"speed":55,"hex_longitude":"2d4630c0","hex_latitude":"0661a588","is_valid_coordinates":true} 
[2026-08-10 23:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314767872001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376810275585654784,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5053249915552567296,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786385819000,"timestamp_ms":1786385819000,"timestamp_seconds":1786385819,"priority":1,"record_length":96,"hex_timestamp":"0000019fece46578"} 
[2026-08-10 23:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 23:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314767872001,"66":27267,"206":206,"80":60416,"24":55,"16":376810275585654784,"45":5053249915552567296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-10 23:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314767872001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:49:06] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 23:49:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376810275585654784,"km_value":376810275585654.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5053249915552567296,"description":"Unknown IO ID 45"} 
[2026-08-10 23:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314767872001,"power":27267,"unknown_206":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":5053249915552567296}} 
[2026-08-10 23:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":153213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:49:06] local.INFO: GPS data processed {"connection_id":153213,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:49:06] local.INFO: Acknowledgment sent {"connection_id":153213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:49:06] local.INFO: Packet analysis {"connection_id":153213,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:49:06] local.INFO: Incomplete packet, waiting for more data {"connection_id":153213,"needed":795,"available":553} 
[2026-08-10 23:49:07] local.INFO: TCP Data received {"connection_id":153213,"ip":"42.106.6.15","data_length":242,"data_hex":"0000000000019fece3c168012d45d08006627790000b00983200380000000a00..."} 
[2026-08-10 23:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153213,"packet_length":242,"packet_hex":"0000000000019fece3c168012d45d08006627790000b00983200380000000a00..."} 
[2026-08-10 23:49:07] local.INFO: Processing buffer {"connection_id":153213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece480d0012d46408006618240000b009c31..."} 
[2026-08-10 23:49:07] local.INFO: Packet analysis {"connection_id":153213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:49:07] local.INFO: Extracted packet for processing {"connection_id":153213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:49:07] local.INFO: GPS Element Parsed {"raw_longitude":759578752,"raw_latitude":107053632,"longitude_deg":75.9578752,"latitude_deg":10.7053632,"altitude":11,"angle":156,"satellites":49,"speed":55,"hex_longitude":"2d464080","hex_latitude":"06618240","is_valid_coordinates":true} 
[2026-08-10 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-08-10 23:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314769664001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376810752327024640,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5057753515177641984,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786385826000,"timestamp_ms":1786385826000,"timestamp_seconds":1786385826,"priority":1,"record_length":96,"hex_timestamp":"0000019fece480d0"} 
[2026-08-10 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-08-10 23:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 23:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 23:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:49: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-08-10 23:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314769664001,"66":27234,"206":206,"80":60416,"24":55,"16":376810752327024640,"45":5057753515177641984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-10 23:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314769664001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:49:07] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 23:49:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376810752327024640,"km_value":376810752327024.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5057753515177641984,"description":"Unknown IO ID 45"} 
[2026-08-10 23:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314769664001,"power":27234,"unknown_206":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":5057753515177641984}} 
[2026-08-10 23:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":153213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:49:07] local.INFO: GPS data processed {"connection_id":153213,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:49:07] local.INFO: Acknowledgment sent {"connection_id":153213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:49:09] local.INFO: TCP Data received {"connection_id":153213,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece49c28012d464fc006615f80000b009d31..."} 
[2026-08-10 23:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece49c28012d464fc006615f80000b009d31..."} 
[2026-08-10 23:49:09] local.INFO: Processing buffer {"connection_id":153213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece49c28012d464fc006615f80000b009d31..."} 
[2026-08-10 23:49:09] local.INFO: Packet analysis {"connection_id":153213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:49:09] local.INFO: Extracted packet for processing {"connection_id":153213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece4"} 
[2026-08-10 23:49:09] local.INFO: GPS Element Parsed {"raw_longitude":759582656,"raw_latitude":107044736,"longitude_deg":75.9582656,"latitude_deg":10.7044736,"altitude":11,"angle":157,"satellites":49,"speed":55,"hex_longitude":"2d464fc0","hex_latitude":"06615f80","is_valid_coordinates":true} 
[2026-08-10 23:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314771456001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376811224773427200,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5062186746058522624,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786385833000,"timestamp_ms":1786385833000,"timestamp_seconds":1786385833,"priority":1,"record_length":96,"hex_timestamp":"0000019fece49c28"} 
[2026-08-10 23:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23: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-08-10 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-10 23:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314771456001,"66":27343,"206":206,"80":60416,"24":55,"16":376811224773427200,"45":5062186746058522624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-10 23:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314771456001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:49:09] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-10 23:49:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376811224773427200,"km_value":376811224773427.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5062186746058522624,"description":"Unknown IO ID 45"} 
[2026-08-10 23:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314771456001,"power":27343,"unknown_206":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":5062186746058522624}} 
[2026-08-10 23:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":153213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:49:09] local.INFO: GPS data processed {"connection_id":153213,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:49:09] local.INFO: Acknowledgment sent {"connection_id":153213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:49:18] local.INFO: TCP Data received {"connection_id":152273,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:49:18] local.INFO: Processing buffer {"connection_id":152273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:49:18] local.INFO: Packet analysis {"connection_id":152273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:49:18] local.INFO: Extracted packet for processing {"connection_id":152273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314667264001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786385720000,"timestamp_ms":1786385720000,"timestamp_seconds":1786385720,"priority":1,"record_length":96,"hex_timestamp":"0000019fece2e2c0"} 
[2026-08-10 23:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314667264001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314667264001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:49:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:49:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314667264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":152273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:49:18] local.INFO: GPS data processed {"connection_id":152273,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:49:18] local.INFO: Acknowledgment sent {"connection_id":152273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:49:40] local.INFO: TCP Data received {"connection_id":153214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:49:40] local.INFO: Processing buffer {"connection_id":153214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:49:40] local.INFO: IMEI packet received {"connection_id":153214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":153214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:49:46] local.INFO: TCP Data received {"connection_id":153214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:49:46] local.INFO: Processing buffer {"connection_id":153214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:49:46] local.INFO: IMEI packet received {"connection_id":153214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":153214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:49:47] local.INFO: TCP Data received {"connection_id":153214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:49:47] local.INFO: Processing buffer {"connection_id":153214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:49:47] local.INFO: Packet analysis {"connection_id":153214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:49:47] local.INFO: Extracted packet for processing {"connection_id":153214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314667264001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786385720000,"timestamp_ms":1786385720000,"timestamp_seconds":1786385720,"priority":1,"record_length":96,"hex_timestamp":"0000019fece2e2c0"} 
[2026-08-10 23:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314667264001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314667264001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:49:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314667264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":153214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:49:47] local.INFO: GPS data processed {"connection_id":153214,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:49:47] local.INFO: Acknowledgment sent {"connection_id":153214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:49:54] local.INFO: TCP Data received {"connection_id":152274,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:49:54] local.INFO: Processing buffer {"connection_id":152274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:49:54] local.INFO: IMEI packet received {"connection_id":152274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":152274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:49:57] local.INFO: TCP Data received {"connection_id":152274,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:49:57] local.INFO: Processing buffer {"connection_id":152274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:49:57] local.INFO: IMEI packet received {"connection_id":152274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":152274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:49:58] local.INFO: TCP Data received {"connection_id":152274,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece5f7d0012d46d940065fb488000b009d32..."} 
[2026-08-10 23:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece5f7d0012d46d940065fb488000b009d32..."} 
[2026-08-10 23:49:58] local.INFO: Processing buffer {"connection_id":152274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece5f7d0012d46d940065fb488000b009d32..."} 
[2026-08-10 23:49:58] local.INFO: Packet analysis {"connection_id":152274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece5"} 
[2026-08-10 23:49:58] local.INFO: Extracted packet for processing {"connection_id":152274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece5"} 
[2026-08-10 23:49:58] local.INFO: GPS Element Parsed {"raw_longitude":759617856,"raw_latitude":106935432,"longitude_deg":75.9617856,"latitude_deg":10.6935432,"altitude":11,"angle":157,"satellites":50,"speed":52,"hex_longitude":"2d46d940","hex_latitude":"065fb488","is_valid_coordinates":true} 
[2026-08-10 23:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314794240001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376816791051042816,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5101311767793291264,"note":"Value kept but may cause issues"} 
[2026-08-10 23:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786385922000,"timestamp_ms":1786385922000,"timestamp_seconds":1786385922,"priority":1,"record_length":96,"hex_timestamp":"0000019fece5f7d0"} 
[2026-08-10 23:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 23:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314794240001,"66":27376,"241":206,"80":60416,"24":52,"16":376816791051042816,"45":5101311767793291264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-10 23:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314794240001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:49:58] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-10 23:49:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376816791051042816,"km_value":376816791051042.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5101311767793291264,"description":"Unknown IO ID 45"} 
[2026-08-10 23:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314794240001,"power":27376,"unknown_241":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":5101311767793291264}} 
[2026-08-10 23:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":152274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:49:58] local.INFO: GPS data processed {"connection_id":152274,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:49:58] local.INFO: Acknowledgment sent {"connection_id":152274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:50:00] local.INFO: TCP Data received {"connection_id":152274,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece61328012d46e800065f9420000b009932..."} 
[2026-08-10 23:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece61328012d46e800065f9420000b009932..."} 
[2026-08-10 23:50:00] local.INFO: Processing buffer {"connection_id":152274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece61328012d46e800065f9420000b009932..."} 
[2026-08-10 23:50:00] local.INFO: Packet analysis {"connection_id":152274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece6"} 
[2026-08-10 23:50:00] local.INFO: Extracted packet for processing {"connection_id":152274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece6"} 
[2026-08-10 23:50:00] local.INFO: GPS Element Parsed {"raw_longitude":759621632,"raw_latitude":106927136,"longitude_deg":75.9621632,"latitude_deg":10.6927136,"altitude":11,"angle":153,"satellites":50,"speed":51,"hex_longitude":"2d46e800","hex_latitude":"065f9420","is_valid_coordinates":true} 
[2026-08-10 23:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314796032001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376817233432674304,"note":"Value kept but may cause issues"} 
[2026-08-10 23:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5105182048720816128,"note":"Value kept but may cause issues"} 
[2026-08-10 23:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786385929000,"timestamp_ms":1786385929000,"timestamp_seconds":1786385929,"priority":1,"record_length":96,"hex_timestamp":"0000019fece61328"} 
[2026-08-10 23:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-10 23:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314796032001,"66":27245,"241":206,"80":60416,"24":51,"16":376817233432674304,"45":5105182048720816128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-10 23:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314796032001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:50:00] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-10 23:50:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376817233432674304,"km_value":376817233432674.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5105182048720816128,"description":"Unknown IO ID 45"} 
[2026-08-10 23:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314796032001,"power":27245,"unknown_241":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":5105182048720816128}} 
[2026-08-10 23:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":152274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:50:00] local.INFO: GPS data processed {"connection_id":152274,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:50:00] local.INFO: Acknowledgment sent {"connection_id":152274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:50:18] local.INFO: TCP Data received {"connection_id":153214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:50:18] local.INFO: Processing buffer {"connection_id":153214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:50:18] local.INFO: Packet analysis {"connection_id":153214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:50:18] local.INFO: Extracted packet for processing {"connection_id":153214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314667264001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786385720000,"timestamp_ms":1786385720000,"timestamp_seconds":1786385720,"priority":1,"record_length":96,"hex_timestamp":"0000019fece2e2c0"} 
[2026-08-10 23:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:50: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":107,"data_length":795,"current_offset":136} 
[2026-08-10 23:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314667264001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314667264001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:50:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314667264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":153214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:50:18] local.INFO: GPS data processed {"connection_id":153214,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:50:18] local.INFO: Acknowledgment sent {"connection_id":153214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:50:31] local.INFO: TCP Data received {"connection_id":152274,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece62e80012d46f880065f7408000b009733..."} 
[2026-08-10 23:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece62e80012d46f880065f7408000b009733..."} 
[2026-08-10 23:50:31] local.INFO: Processing buffer {"connection_id":152274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece62e80012d46f880065f7408000b009733..."} 
[2026-08-10 23:50:31] local.INFO: Packet analysis {"connection_id":152274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece6"} 
[2026-08-10 23:50:31] local.INFO: Extracted packet for processing {"connection_id":152274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece6"} 
[2026-08-10 23:50:31] local.INFO: GPS Element Parsed {"raw_longitude":759625856,"raw_latitude":106918920,"longitude_deg":75.9625856,"latitude_deg":10.691892,"altitude":11,"angle":151,"satellites":51,"speed":52,"hex_longitude":"2d46f880","hex_latitude":"065f7408","is_valid_coordinates":true} 
[2026-08-10 23:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314797824001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376817680109273088,"note":"Value kept but may cause issues"} 
[2026-08-10 23:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5109333804625174528,"note":"Value kept but may cause issues"} 
[2026-08-10 23:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786385936000,"timestamp_ms":1786385936000,"timestamp_seconds":1786385936,"priority":1,"record_length":96,"hex_timestamp":"0000019fece62e80"} 
[2026-08-10 23:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-10 23:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314797824001,"66":27267,"241":206,"80":60416,"24":52,"16":376817680109273088,"45":5109333804625174528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-10 23:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314797824001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:50:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-10 23:50:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376817680109273088,"km_value":376817680109273.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5109333804625174528,"description":"Unknown IO ID 45"} 
[2026-08-10 23:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314797824001,"power":27267,"unknown_241":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":5109333804625174528}} 
[2026-08-10 23:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":152274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:50:31] local.INFO: GPS data processed {"connection_id":152274,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:50:31] local.INFO: Acknowledgment sent {"connection_id":152274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:50:40] local.INFO: TCP Data received {"connection_id":153215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:50:40] local.INFO: Processing buffer {"connection_id":153215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:50:40] local.INFO: IMEI packet received {"connection_id":153215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-10 23:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":153215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:50:45] local.INFO: TCP Data received {"connection_id":153215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:50:45] local.INFO: Processing buffer {"connection_id":153215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-10 23:50:45] local.INFO: IMEI packet received {"connection_id":153215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-10 23:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":153215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:50:46] local.INFO: TCP Data received {"connection_id":153215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:50:46] local.INFO: Processing buffer {"connection_id":153215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece2e2c0012d196580071ff0380036014226..."} 
[2026-08-10 23:50:46] local.INFO: Packet analysis {"connection_id":153215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:50:46] local.INFO: Extracted packet for processing {"connection_id":153215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece2"} 
[2026-08-10 23:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":54,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314667264001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786385720000,"timestamp_ms":1786385720000,"timestamp_seconds":1786385720,"priority":1,"record_length":96,"hex_timestamp":"0000019fece2e2c0"} 
[2026-08-10 23:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23:50: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-08-10 23:50: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-08-10 23:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314667264001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314667264001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:50:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314667264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":153215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:50:46] local.INFO: GPS data processed {"connection_id":153215,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:50:46] local.INFO: Acknowledgment sent {"connection_id":153215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:50:59] local.INFO: TCP Data received {"connection_id":151894,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:50:59] local.INFO: Processing buffer {"connection_id":151894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:50:59] local.INFO: IMEI packet received {"connection_id":151894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":151894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:51:03] local.INFO: TCP Data received {"connection_id":151894,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:03] local.INFO: Processing buffer {"connection_id":151894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:03] local.INFO: IMEI packet received {"connection_id":151894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":151894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:51:04] local.INFO: TCP Data received {"connection_id":151894,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:04] local.INFO: Processing buffer {"connection_id":151894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:04] local.INFO: IMEI packet received {"connection_id":151894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":151894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:51:05] local.INFO: TCP Data received {"connection_id":151894,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece649d8012d470a80065f5530000b009432..."} 
[2026-08-10 23:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece649d8012d470a80065f5530000b009432..."} 
[2026-08-10 23:51:05] local.INFO: Processing buffer {"connection_id":151894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece649d8012d470a80065f5530000b009432..."} 
[2026-08-10 23:51:05] local.INFO: Packet analysis {"connection_id":151894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece6"} 
[2026-08-10 23:51:05] local.INFO: Extracted packet for processing {"connection_id":151894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece6"} 
[2026-08-10 23:51:05] local.INFO: GPS Element Parsed {"raw_longitude":759630464,"raw_latitude":106911024,"longitude_deg":75.9630464,"latitude_deg":10.6911024,"altitude":11,"angle":148,"satellites":50,"speed":50,"hex_longitude":"2d470a80","hex_latitude":"065f5530","is_valid_coordinates":true} 
[2026-08-10 23:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314799616001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376818122490904576,"note":"Value kept but may cause issues"} 
[2026-08-10 23:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5113978141738797056,"note":"Value kept but may cause issues"} 
[2026-08-10 23:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786385943000,"timestamp_ms":1786385943000,"timestamp_seconds":1786385943,"priority":1,"record_length":96,"hex_timestamp":"0000019fece649d8"} 
[2026-08-10 23:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 23:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314799616001,"66":27267,"241":206,"80":60416,"24":50,"16":376818122490904576,"45":5113978141738797056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-10 23:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314799616001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:51:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-10 23:51:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376818122490904576,"km_value":376818122490904.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5113978141738797056,"description":"Unknown IO ID 45"} 
[2026-08-10 23:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314799616001,"power":27267,"unknown_241":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":5113978141738797056}} 
[2026-08-10 23:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":151894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:51:05] local.INFO: GPS data processed {"connection_id":151894,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:51:05] local.INFO: Acknowledgment sent {"connection_id":151894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:51:07] local.INFO: TCP Data received {"connection_id":151894,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece66918012d471e00065f3398000c009434..."} 
[2026-08-10 23:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece66918012d471e00065f3398000c009434..."} 
[2026-08-10 23:51:07] local.INFO: Processing buffer {"connection_id":151894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece66918012d471e00065f3398000c009434..."} 
[2026-08-10 23:51:07] local.INFO: Packet analysis {"connection_id":151894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece6"} 
[2026-08-10 23:51:07] local.INFO: Extracted packet for processing {"connection_id":151894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece6"} 
[2026-08-10 23:51:07] local.INFO: GPS Element Parsed {"raw_longitude":759635456,"raw_latitude":106902424,"longitude_deg":75.9635456,"latitude_deg":10.6902424,"altitude":12,"angle":148,"satellites":52,"speed":47,"hex_longitude":"2d471e00","hex_latitude":"065f3398","is_valid_coordinates":true} 
[2026-08-10 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-08-10 23:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314801408001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376818599232274432,"note":"Value kept but may cause issues"} 
[2026-08-10 23:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5119044691317567488,"note":"Value kept but may cause issues"} 
[2026-08-10 23:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786385951000,"timestamp_ms":1786385951000,"timestamp_seconds":1786385951,"priority":1,"record_length":96,"hex_timestamp":"0000019fece66918"} 
[2026-08-10 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-08-10 23:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-10 23:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 23:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:51: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-08-10 23:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314801408001,"66":27300,"241":206,"80":60416,"24":47,"16":376818599232274432,"45":5119044691317567488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-10 23:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314801408001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:51:07] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-10 23:51:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-10 23:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376818599232274432,"km_value":376818599232274.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5119044691317567488,"description":"Unknown IO ID 45"} 
[2026-08-10 23:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314801408001,"power":27300,"unknown_241":206,"unknown_80":60416,"ignition":47,"odometer":null,"unknown_45":5119044691317567488}} 
[2026-08-10 23:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":151894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:51:07] local.INFO: GPS data processed {"connection_id":151894,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:51:07] local.INFO: Acknowledgment sent {"connection_id":151894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:51:17] local.INFO: TCP Data received {"connection_id":153215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fece77a88012d196580071ff0380041014224..."} 
[2026-08-10 23:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece77a88012d196580071ff0380041014224..."} 
[2026-08-10 23:51:17] local.INFO: Processing buffer {"connection_id":153215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece77a88012d196580071ff0380041014224..."} 
[2026-08-10 23:51:17] local.INFO: Packet analysis {"connection_id":153215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece7"} 
[2026-08-10 23:51:17] local.INFO: Extracted packet for processing {"connection_id":153215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece7"} 
[2026-08-10 23:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533624,"longitude_deg":75.6639104,"latitude_deg":11.9533624,"altitude":65,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-10 23:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314744320001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594749546856448,"note":"Value kept but may cause issues"} 
[2026-08-10 23:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684937728,"note":"Value kept but may cause issues"} 
[2026-08-10 23:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786386021000,"timestamp_ms":1786386021000,"timestamp_seconds":1786386021,"priority":1,"record_length":96,"hex_timestamp":"0000019fece77a88"} 
[2026-08-10 23:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-10 23: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":118,"data_length":795,"current_offset":136} 
[2026-08-10 23:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-10 23:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-10 23:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-10 23:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314744320001,"66":2166,"102":206,"83":41984,"24":0,"16":11594749546856448,"45":1830009591684937728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-10 23:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-10 23:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-10 23:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314744320001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:51:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-10 23:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-10 23:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594749546856448,"km_value":11594749546856.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684937728,"description":"Unknown IO ID 45"} 
[2026-08-10 23:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314744320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684937728}} 
[2026-08-10 23:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":153215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:51:17] local.INFO: GPS data processed {"connection_id":153215,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:51:17] local.INFO: Acknowledgment sent {"connection_id":153215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:51:38] local.INFO: TCP Data received {"connection_id":151894,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece7b908012d47cbc0065dc3d0000f009b33..."} 
[2026-08-10 23:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece7b908012d47cbc0065dc3d0000f009b33..."} 
[2026-08-10 23:51:38] local.INFO: Processing buffer {"connection_id":151894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece7b908012d47cbc0065dc3d0000f009b33..."} 
[2026-08-10 23:51:38] local.INFO: Packet analysis {"connection_id":151894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece7"} 
[2026-08-10 23:51:38] local.INFO: Extracted packet for processing {"connection_id":151894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece7"} 
[2026-08-10 23:51:38] local.INFO: GPS Element Parsed {"raw_longitude":759679936,"raw_latitude":106808272,"longitude_deg":75.9679936,"latitude_deg":10.6808272,"altitude":15,"angle":155,"satellites":51,"speed":48,"hex_longitude":"2d47cbc0","hex_latitude":"065dc3d0","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314823424001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376823637228912640,"note":"Value kept but may cause issues"} 
[2026-08-10 23:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5168584287194664960,"note":"Value kept but may cause issues"} 
[2026-08-10 23:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786386037000,"timestamp_ms":1786386037000,"timestamp_seconds":1786386037,"priority":1,"record_length":96,"hex_timestamp":"0000019fece7b908"} 
[2026-08-10 23:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 23:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23: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-08-10 23:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314823424001,"66":27463,"133":206,"78":62464,"24":48,"16":376823637228912640,"45":5168584287194664960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,78,24,16,45]} 
[2026-08-10 23:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314823424001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:51:38] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-10 23:51:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376823637228912640,"km_value":376823637228912.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5168584287194664960,"description":"Unknown IO ID 45"} 
[2026-08-10 23:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314823424001,"power":27463,"unknown_133":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5168584287194664960}} 
[2026-08-10 23:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":151894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:51:38] local.INFO: GPS data processed {"connection_id":151894,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:51:38] local.INFO: Acknowledgment sent {"connection_id":151894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:51:54] local.INFO: TCP Data received {"connection_id":154611,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:54] local.INFO: Processing buffer {"connection_id":154611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:54] local.INFO: IMEI packet received {"connection_id":154611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":154611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:51:54] local.INFO: TCP Data received {"connection_id":154611,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:54] local.INFO: Processing buffer {"connection_id":154611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:54] local.INFO: IMEI packet received {"connection_id":154611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":154611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:51:59] local.INFO: TCP Data received {"connection_id":154611,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:59] local.INFO: Processing buffer {"connection_id":154611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:51:59] local.INFO: IMEI packet received {"connection_id":154611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":154611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:52:00] local.INFO: TCP Data received {"connection_id":154611,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece7d848012d47dc40065da2100012009a34..."} 
[2026-08-10 23:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece7d848012d47dc40065da2100012009a34..."} 
[2026-08-10 23:52:00] local.INFO: Processing buffer {"connection_id":154611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece7d848012d47dc40065da2100012009a34..."} 
[2026-08-10 23:52:00] local.INFO: Packet analysis {"connection_id":154611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece7"} 
[2026-08-10 23:52:00] local.INFO: Extracted packet for processing {"connection_id":154611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece7"} 
[2026-08-10 23:52:00] local.INFO: GPS Element Parsed {"raw_longitude":759684160,"raw_latitude":106799632,"longitude_deg":75.968416,"latitude_deg":10.6799632,"altitude":18,"angle":154,"satellites":52,"speed":47,"hex_longitude":"2d47dc40","hex_latitude":"065da210","is_valid_coordinates":true} 
[2026-08-10 23:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314825472001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376824101085380608,"note":"Value kept but may cause issues"} 
[2026-08-10 23:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5173439730540597248,"note":"Value kept but may cause issues"} 
[2026-08-10 23:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786386045000,"timestamp_ms":1786386045000,"timestamp_seconds":1786386045,"priority":1,"record_length":96,"hex_timestamp":"0000019fece7d848"} 
[2026-08-10 23:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-10 23:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314825472001,"66":27115,"133":206,"78":62464,"24":47,"16":376824101085380608,"45":5173439730540597248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,78,24,16,45]} 
[2026-08-10 23:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314825472001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:52:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-10 23:52:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376824101085380608,"km_value":376824101085380.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5173439730540597248,"description":"Unknown IO ID 45"} 
[2026-08-10 23:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314825472001,"power":27115,"unknown_133":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5173439730540597248}} 
[2026-08-10 23:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":154611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:52:00] local.INFO: GPS data processed {"connection_id":154611,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:52:00] local.INFO: Acknowledgment sent {"connection_id":154611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:52:35] local.INFO: TCP Data received {"connection_id":154611,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece7f788012d47ec40065d80800013009a34..."} 
[2026-08-10 23:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece7f788012d47ec40065d80800013009a34..."} 
[2026-08-10 23:52:35] local.INFO: Processing buffer {"connection_id":154611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece7f788012d47ec40065d80800013009a34..."} 
[2026-08-10 23:52:35] local.INFO: Packet analysis {"connection_id":154611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece7"} 
[2026-08-10 23:52:35] local.INFO: Extracted packet for processing {"connection_id":154611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece7"} 
[2026-08-10 23:52:35] local.INFO: GPS Element Parsed {"raw_longitude":759688256,"raw_latitude":106791040,"longitude_deg":75.9688256,"latitude_deg":10.679104,"altitude":19,"angle":154,"satellites":52,"speed":47,"hex_longitude":"2d47ec40","hex_latitude":"065d8080","is_valid_coordinates":true} 
[2026-08-10 23:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314827520001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376824560646881280,"note":"Value kept but may cause issues"} 
[2026-08-10 23:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5178084067654111232,"note":"Value kept but may cause issues"} 
[2026-08-10 23:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786386053000,"timestamp_ms":1786386053000,"timestamp_seconds":1786386053,"priority":1,"record_length":96,"hex_timestamp":"0000019fece7f788"} 
[2026-08-10 23:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-10 23:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314827520001,"66":27365,"133":206,"78":62464,"24":47,"16":376824560646881280,"45":5178084067654111232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,78,24,16,45]} 
[2026-08-10 23:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314827520001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:52:35] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-10 23:52:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376824560646881280,"km_value":376824560646881.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5178084067654111232,"description":"Unknown IO ID 45"} 
[2026-08-10 23:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314827520001,"power":27365,"unknown_133":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5178084067654111232}} 
[2026-08-10 23:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":154611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:52:35] local.INFO: GPS data processed {"connection_id":154611,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:52:35] local.INFO: Acknowledgment sent {"connection_id":154611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:52:49] local.INFO: TCP Data received {"connection_id":151895,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-10 23:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-10 23:52:49] local.INFO: Processing buffer {"connection_id":151895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-10 23:52:49] local.INFO: IMEI packet received {"connection_id":151895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-10 23:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":151895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:52:54] local.INFO: TCP Data received {"connection_id":151896,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:52:54] local.INFO: Processing buffer {"connection_id":151896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:52:54] local.INFO: IMEI packet received {"connection_id":151896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":151896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:52:59] local.INFO: TCP Data received {"connection_id":151896,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:52:59] local.INFO: Processing buffer {"connection_id":151896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:52:59] local.INFO: IMEI packet received {"connection_id":151896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":151896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:53:00] local.INFO: TCP Data received {"connection_id":151896,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece816c8012d47fc40065d5e880013009b34..."} 
[2026-08-10 23:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece816c8012d47fc40065d5e880013009b34..."} 
[2026-08-10 23:53:00] local.INFO: Processing buffer {"connection_id":151896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece816c8012d47fc40065d5e880013009b34..."} 
[2026-08-10 23:53:00] local.INFO: Packet analysis {"connection_id":151896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece8"} 
[2026-08-10 23:53:00] local.INFO: Extracted packet for processing {"connection_id":151896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece8"} 
[2026-08-10 23:53:00] local.INFO: GPS Element Parsed {"raw_longitude":759692352,"raw_latitude":106782344,"longitude_deg":75.9692352,"latitude_deg":10.6782344,"altitude":19,"angle":155,"satellites":52,"speed":48,"hex_longitude":"2d47fc40","hex_latitude":"065d5e88","is_valid_coordinates":true} 
[2026-08-10 23:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314829568001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376825028798316544,"note":"Value kept but may cause issues"} 
[2026-08-10 23:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5182587667279282176,"note":"Value kept but may cause issues"} 
[2026-08-10 23:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786386061000,"timestamp_ms":1786386061000,"timestamp_seconds":1786386061,"priority":1,"record_length":96,"hex_timestamp":"0000019fece816c8"} 
[2026-08-10 23:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 23:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314829568001,"66":27234,"133":206,"78":62464,"24":48,"16":376825028798316544,"45":5182587667279282176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,78,24,16,45]} 
[2026-08-10 23:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314829568001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:53:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-10 23:53:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376825028798316544,"km_value":376825028798316.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5182587667279282176,"description":"Unknown IO ID 45"} 
[2026-08-10 23:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314829568001,"power":27234,"unknown_133":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5182587667279282176}} 
[2026-08-10 23:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":151896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:53:00] local.INFO: GPS data processed {"connection_id":151896,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:53:00] local.INFO: Acknowledgment sent {"connection_id":151896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:53:31] local.INFO: TCP Data received {"connection_id":151896,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece985f8012d48c100065bad50000a008f33..."} 
[2026-08-10 23:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece985f8012d48c100065bad50000a008f33..."} 
[2026-08-10 23:53:31] local.INFO: Processing buffer {"connection_id":151896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece985f8012d48c100065bad50000a008f33..."} 
[2026-08-10 23:53:31] local.INFO: Packet analysis {"connection_id":151896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece9"} 
[2026-08-10 23:53:31] local.INFO: Extracted packet for processing {"connection_id":151896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece9"} 
[2026-08-10 23:53:31] local.INFO: GPS Element Parsed {"raw_longitude":759742720,"raw_latitude":106671440,"longitude_deg":75.974272,"latitude_deg":10.667144,"altitude":10,"angle":143,"satellites":51,"speed":51,"hex_longitude":"2d48c100","hex_latitude":"065bad50","is_valid_coordinates":true} 
[2026-08-10 23:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314853888001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376830994507890688,"note":"Value kept but may cause issues"} 
[2026-08-10 23:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5236349387802269696,"note":"Value kept but may cause issues"} 
[2026-08-10 23:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786386155000,"timestamp_ms":1786386155000,"timestamp_seconds":1786386155,"priority":1,"record_length":96,"hex_timestamp":"0000019fece985f8"} 
[2026-08-10 23:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 23:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314853888001,"66":27365,"64":206,"78":62464,"24":51,"16":376830994507890688,"45":5236349387802269696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-08-10 23:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314853888001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:53:31] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-10 23:53:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376830994507890688,"km_value":376830994507890.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5236349387802269696,"description":"Unknown IO ID 45"} 
[2026-08-10 23:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314853888001,"power":27365,"unknown_64":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5236349387802269696}} 
[2026-08-10 23:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":151896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:53:31] local.INFO: GPS data processed {"connection_id":151896,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:53:31] local.INFO: Acknowledgment sent {"connection_id":151896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:54:05] local.INFO: TCP Data received {"connection_id":153216,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:05] local.INFO: Processing buffer {"connection_id":153216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:05] local.INFO: IMEI packet received {"connection_id":153216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":153216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:54:09] local.INFO: TCP Data received {"connection_id":153216,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:09] local.INFO: Processing buffer {"connection_id":153216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:09] local.INFO: IMEI packet received {"connection_id":153216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":153216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:54:12] local.INFO: TCP Data received {"connection_id":153216,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:12] local.INFO: Processing buffer {"connection_id":153216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:12] local.INFO: IMEI packet received {"connection_id":153216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":153216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:54:13] local.INFO: TCP Data received {"connection_id":153216,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece9a150012d48d680065b90c80009008f32..."} 
[2026-08-10 23:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece9a150012d48d680065b90c80009008f32..."} 
[2026-08-10 23:54:13] local.INFO: Processing buffer {"connection_id":153216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece9a150012d48d680065b90c80009008f32..."} 
[2026-08-10 23:54:13] local.INFO: Packet analysis {"connection_id":153216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece9"} 
[2026-08-10 23:54:13] local.INFO: Extracted packet for processing {"connection_id":153216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece9"} 
[2026-08-10 23:54:13] local.INFO: GPS Element Parsed {"raw_longitude":759748224,"raw_latitude":106664136,"longitude_deg":75.9748224,"latitude_deg":10.6664136,"altitude":9,"angle":143,"satellites":50,"speed":51,"hex_longitude":"2d48d680","hex_latitude":"065b90c8","is_valid_coordinates":true} 
[2026-08-10 23:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314855680001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376831432594554880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5242471468543856640,"note":"Value kept but may cause issues"} 
[2026-08-10 23:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786386162000,"timestamp_ms":1786386162000,"timestamp_seconds":1786386162,"priority":1,"record_length":96,"hex_timestamp":"0000019fece9a150"} 
[2026-08-10 23:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 23:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314855680001,"66":27300,"64":206,"78":62464,"24":51,"16":376831432594554880,"45":5242471468543856640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-08-10 23:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314855680001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:54:13] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-10 23:54:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376831432594554880,"km_value":376831432594554.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5242471468543856640,"description":"Unknown IO ID 45"} 
[2026-08-10 23:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314855680001,"power":27300,"unknown_64":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5242471468543856640}} 
[2026-08-10 23:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":153216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:54:13] local.INFO: GPS data processed {"connection_id":153216,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:54:13] local.INFO: Acknowledgment sent {"connection_id":153216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:54:14] local.INFO: TCP Data received {"connection_id":153216,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece9bca8012d48ec00065b74180009008f33..."} 
[2026-08-10 23:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece9bca8012d48ec00065b74180009008f33..."} 
[2026-08-10 23:54:14] local.INFO: Processing buffer {"connection_id":153216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece9bca8012d48ec00065b74180009008f33..."} 
[2026-08-10 23:54:14] local.INFO: Packet analysis {"connection_id":153216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece9"} 
[2026-08-10 23:54:14] local.INFO: Extracted packet for processing {"connection_id":153216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece9"} 
[2026-08-10 23:54:14] local.INFO: GPS Element Parsed {"raw_longitude":759753728,"raw_latitude":106656792,"longitude_deg":75.9753728,"latitude_deg":10.6656792,"altitude":9,"angle":143,"satellites":51,"speed":51,"hex_longitude":"2d48ec00","hex_latitude":"065b7418","is_valid_coordinates":true} 
[2026-08-10 23:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314857472001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376831874976186368,"note":"Value kept but may cause issues"} 
[2026-08-10 23:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5248523180541265920,"note":"Value kept but may cause issues"} 
[2026-08-10 23:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786386169000,"timestamp_ms":1786386169000,"timestamp_seconds":1786386169,"priority":1,"record_length":96,"hex_timestamp":"0000019fece9bca8"} 
[2026-08-10 23:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-10 23:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314857472001,"66":27397,"64":206,"78":62464,"24":51,"16":376831874976186368,"45":5248523180541265920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-08-10 23:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314857472001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:54:14] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-10 23:54:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376831874976186368,"km_value":376831874976186.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5248523180541265920,"description":"Unknown IO ID 45"} 
[2026-08-10 23:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314857472001,"power":27397,"unknown_64":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5248523180541265920}} 
[2026-08-10 23:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":153216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:54:14] local.INFO: GPS data processed {"connection_id":153216,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:54:14] local.INFO: Acknowledgment sent {"connection_id":153216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:54:54] local.INFO: TCP Data received {"connection_id":152275,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:54] local.INFO: Processing buffer {"connection_id":152275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:54] local.INFO: IMEI packet received {"connection_id":152275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":152275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:54:57] local.INFO: TCP Data received {"connection_id":152275,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:57] local.INFO: Processing buffer {"connection_id":152275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:54:57] local.INFO: IMEI packet received {"connection_id":152275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":152275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:54:58] local.INFO: TCP Data received {"connection_id":152275,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece9d800012d4900c0065b57780009009033..."} 
[2026-08-10 23:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece9d800012d4900c0065b57780009009033..."} 
[2026-08-10 23:54:58] local.INFO: Processing buffer {"connection_id":152275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece9d800012d4900c0065b57780009009033..."} 
[2026-08-10 23:54:58] local.INFO: Packet analysis {"connection_id":152275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece9"} 
[2026-08-10 23:54:58] local.INFO: Extracted packet for processing {"connection_id":152275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece9"} 
[2026-08-10 23:54:58] local.INFO: GPS Element Parsed {"raw_longitude":759759040,"raw_latitude":106649464,"longitude_deg":75.975904,"latitude_deg":10.6649464,"altitude":9,"angle":144,"satellites":51,"speed":51,"hex_longitude":"2d4900c0","hex_latitude":"065b5778","is_valid_coordinates":true} 
[2026-08-10 23:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314859264001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376832313062850560,"note":"Value kept but may cause issues"} 
[2026-08-10 23:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5254574892538664960,"note":"Value kept but may cause issues"} 
[2026-08-10 23:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786386176000,"timestamp_ms":1786386176000,"timestamp_seconds":1786386176,"priority":1,"record_length":96,"hex_timestamp":"0000019fece9d800"} 
[2026-08-10 23:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-10 23:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314859264001,"66":27321,"64":206,"78":62464,"24":51,"16":376832313062850560,"45":5254574892538664960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-08-10 23:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314859264001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:54:58] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-10 23:54:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376832313062850560,"km_value":376832313062850.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5254574892538664960,"description":"Unknown IO ID 45"} 
[2026-08-10 23:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314859264001,"power":27321,"unknown_64":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5254574892538664960}} 
[2026-08-10 23:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":152275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:54:58] local.INFO: GPS data processed {"connection_id":152275,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:54:58] local.INFO: Acknowledgment sent {"connection_id":152275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:55:00] local.INFO: TCP Data received {"connection_id":152275,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fece9f358012d491440065b3a900009009533..."} 
[2026-08-10 23:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fece9f358012d491440065b3a900009009533..."} 
[2026-08-10 23:55:00] local.INFO: Processing buffer {"connection_id":152275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fece9f358012d491440065b3a900009009533..."} 
[2026-08-10 23:55:00] local.INFO: Packet analysis {"connection_id":152275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fece9"} 
[2026-08-10 23:55:00] local.INFO: Extracted packet for processing {"connection_id":152275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fece9"} 
[2026-08-10 23:55:00] local.INFO: GPS Element Parsed {"raw_longitude":759764032,"raw_latitude":106642064,"longitude_deg":75.9764032,"latitude_deg":10.6642064,"altitude":9,"angle":149,"satellites":51,"speed":49,"hex_longitude":"2d491440","hex_latitude":"065b3a90","is_valid_coordinates":true} 
[2026-08-10 23:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314861056001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376832742559580160,"note":"Value kept but may cause issues"} 
[2026-08-10 23:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5260415498303535104,"note":"Value kept but may cause issues"} 
[2026-08-10 23:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786386183000,"timestamp_ms":1786386183000,"timestamp_seconds":1786386183,"priority":1,"record_length":96,"hex_timestamp":"0000019fece9f358"} 
[2026-08-10 23:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":185,"data_length":795,"current_offset":136} 
[2026-08-10 23:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314861056001,"66":27300,"64":206,"78":62464,"24":49,"16":376832742559580160,"45":5260415498303535104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-08-10 23:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314861056001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:55:00] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-10 23:55:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376832742559580160,"km_value":376832742559580.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5260415498303535104,"description":"Unknown IO ID 45"} 
[2026-08-10 23:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314861056001,"power":27300,"unknown_64":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5260415498303535104}} 
[2026-08-10 23:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":152275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:55:00] local.INFO: GPS data processed {"connection_id":152275,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:55:00] local.INFO: Acknowledgment sent {"connection_id":152275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:55:31] local.INFO: TCP Data received {"connection_id":152275,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feceb56d0012d49a80006599fe00010009833..."} 
[2026-08-10 23:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feceb56d0012d49a80006599fe00010009833..."} 
[2026-08-10 23:55:31] local.INFO: Processing buffer {"connection_id":152275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feceb56d0012d49a80006599fe00010009833..."} 
[2026-08-10 23:55:31] local.INFO: Packet analysis {"connection_id":152275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feceb"} 
[2026-08-10 23:55:31] local.INFO: Extracted packet for processing {"connection_id":152275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feceb"} 
[2026-08-10 23:55:31] local.INFO: GPS Element Parsed {"raw_longitude":759801856,"raw_latitude":106536928,"longitude_deg":75.9801856,"latitude_deg":10.6536928,"altitude":16,"angle":152,"satellites":51,"speed":54,"hex_longitude":"2d49a800","hex_latitude":"06599fe0","is_valid_coordinates":true} 
[2026-08-10 23:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314884352001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376838244412686336,"note":"Value kept but may cause issues"} 
[2026-08-10 23:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302636744783413248,"note":"Value kept but may cause issues"} 
[2026-08-10 23:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786386274000,"timestamp_ms":1786386274000,"timestamp_seconds":1786386274,"priority":1,"record_length":96,"hex_timestamp":"0000019feceb56d0"} 
[2026-08-10 23:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 23:55: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-08-10 23:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314884352001,"66":27343,"131":206,"78":62464,"24":54,"16":376838244412686336,"45":5302636744783413248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-08-10 23:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314884352001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:55:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 23:55:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376838244412686336,"km_value":376838244412686.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302636744783413248,"description":"Unknown IO ID 45"} 
[2026-08-10 23:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314884352001,"power":27343,"unknown_131":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5302636744783413248}} 
[2026-08-10 23:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":152275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:55:31] local.INFO: GPS data processed {"connection_id":152275,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:55:31] local.INFO: Acknowledgment sent {"connection_id":152275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:55:59] local.INFO: TCP Data received {"connection_id":152276,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:55:59] local.INFO: Processing buffer {"connection_id":152276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:55:59] local.INFO: IMEI packet received {"connection_id":152276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":152276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:56:01] local.INFO: TCP Data received {"connection_id":152276,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:56:01] local.INFO: Processing buffer {"connection_id":152276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:56:01] local.INFO: IMEI packet received {"connection_id":152276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":152276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:56:01] local.INFO: TCP Data received {"connection_id":152276,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feceb7228012d49ba0006597e68000e009833..."} 
[2026-08-10 23:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feceb7228012d49ba0006597e68000e009833..."} 
[2026-08-10 23:56:01] local.INFO: Processing buffer {"connection_id":152276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feceb7228012d49ba0006597e68000e009833..."} 
[2026-08-10 23:56:01] local.INFO: Packet analysis {"connection_id":152276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feceb"} 
[2026-08-10 23:56:01] local.INFO: Extracted packet for processing {"connection_id":152276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feceb"} 
[2026-08-10 23:56:01] local.INFO: GPS Element Parsed {"raw_longitude":759806464,"raw_latitude":106528360,"longitude_deg":75.9806464,"latitude_deg":10.652836,"altitude":14,"angle":152,"satellites":51,"speed":55,"hex_longitude":"2d49ba00","hex_latitude":"06597e68","is_valid_coordinates":true} 
[2026-08-10 23:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314886144001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376838712564121600,"note":"Value kept but may cause issues"} 
[2026-08-10 23:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5307492188129583104,"note":"Value kept but may cause issues"} 
[2026-08-10 23:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786386281000,"timestamp_ms":1786386281000,"timestamp_seconds":1786386281,"priority":1,"record_length":96,"hex_timestamp":"0000019feceb7228"} 
[2026-08-10 23:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 23:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314886144001,"66":27365,"131":206,"78":62464,"24":55,"16":376838712564121600,"45":5307492188129583104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-08-10 23:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314886144001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:56:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 23:56:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376838712564121600,"km_value":376838712564121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5307492188129583104,"description":"Unknown IO ID 45"} 
[2026-08-10 23:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314886144001,"power":27365,"unknown_131":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5307492188129583104}} 
[2026-08-10 23:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":152276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:56:01] local.INFO: GPS data processed {"connection_id":152276,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:56:01] local.INFO: Acknowledgment sent {"connection_id":152276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:56:04] local.INFO: TCP Data received {"connection_id":152276,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feceb8d80012d49cc0006595bf0000b009832..."} 
[2026-08-10 23:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feceb8d80012d49cc0006595bf0000b009832..."} 
[2026-08-10 23:56:04] local.INFO: Processing buffer {"connection_id":152276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feceb8d80012d49cc0006595bf0000b009832..."} 
[2026-08-10 23:56:04] local.INFO: Packet analysis {"connection_id":152276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feceb"} 
[2026-08-10 23:56:04] local.INFO: Extracted packet for processing {"connection_id":152276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feceb"} 
[2026-08-10 23:56:04] local.INFO: GPS Element Parsed {"raw_longitude":759811072,"raw_latitude":106519536,"longitude_deg":75.9811072,"latitude_deg":10.6519536,"altitude":11,"angle":152,"satellites":50,"speed":57,"hex_longitude":"2d49cc00","hex_latitude":"06595bf0","is_valid_coordinates":true} 
[2026-08-10 23:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314887936001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376839193600458752,"note":"Value kept but may cause issues"} 
[2026-08-10 23:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5312558737708181504,"note":"Value kept but may cause issues"} 
[2026-08-10 23:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786386288000,"timestamp_ms":1786386288000,"timestamp_seconds":1786386288,"priority":1,"record_length":96,"hex_timestamp":"0000019feceb8d80"} 
[2026-08-10 23:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 23:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314887936001,"66":27365,"131":206,"78":62464,"24":57,"16":376839193600458752,"45":5312558737708181504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-08-10 23:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314887936001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:56:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 23:56:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376839193600458752,"km_value":376839193600458.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5312558737708181504,"description":"Unknown IO ID 45"} 
[2026-08-10 23:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314887936001,"power":27365,"unknown_131":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5312558737708181504}} 
[2026-08-10 23:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":152276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:56:04] local.INFO: GPS data processed {"connection_id":152276,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:56:04] local.INFO: Acknowledgment sent {"connection_id":152276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:56:57] local.INFO: TCP Data received {"connection_id":152276,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feceba8d8012d49de80065938600009009833..."} 
[2026-08-10 23:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feceba8d8012d49de80065938600009009833..."} 
[2026-08-10 23:56:57] local.INFO: Processing buffer {"connection_id":152276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feceba8d8012d49de80065938600009009833..."} 
[2026-08-10 23:56:57] local.INFO: Packet analysis {"connection_id":152276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feceb"} 
[2026-08-10 23:56:57] local.INFO: Extracted packet for processing {"connection_id":152276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feceb"} 
[2026-08-10 23:56:57] local.INFO: GPS Element Parsed {"raw_longitude":759815808,"raw_latitude":106510432,"longitude_deg":75.9815808,"latitude_deg":10.6510432,"altitude":9,"angle":152,"satellites":51,"speed":58,"hex_longitude":"2d49de80","hex_latitude":"06593860","is_valid_coordinates":true} 
[2026-08-10 23:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314889728001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376839687521697792,"note":"Value kept but may cause issues"} 
[2026-08-10 23:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5317625287286714368,"note":"Value kept but may cause issues"} 
[2026-08-10 23:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786386295000,"timestamp_ms":1786386295000,"timestamp_seconds":1786386295,"priority":1,"record_length":96,"hex_timestamp":"0000019feceba8d8"} 
[2026-08-10 23:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 23:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314889728001,"66":27365,"131":206,"78":62464,"24":58,"16":376839687521697792,"45":5317625287286714368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-08-10 23:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314889728001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:56:57] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 23:56:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376839687521697792,"km_value":376839687521697.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5317625287286714368,"description":"Unknown IO ID 45"} 
[2026-08-10 23:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314889728001,"power":27365,"unknown_131":206,"unknown_78":62464,"ignition":58,"odometer":null,"unknown_45":5317625287286714368}} 
[2026-08-10 23:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":152276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:56:57] local.INFO: GPS data processed {"connection_id":152276,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:56:57] local.INFO: Acknowledgment sent {"connection_id":152276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:56:59] local.INFO: TCP Data received {"connection_id":154612,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:56:59] local.INFO: Processing buffer {"connection_id":154612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:56:59] local.INFO: IMEI packet received {"connection_id":154612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":154612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:57:04] local.INFO: TCP Data received {"connection_id":154612,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:57:04] local.INFO: Processing buffer {"connection_id":154612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:57:04] local.INFO: IMEI packet received {"connection_id":154612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":154612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:57:04] local.INFO: TCP Data received {"connection_id":154612,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecebc430012d49f0c0065915f80009009733..."} 
[2026-08-10 23:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecebc430012d49f0c0065915f80009009733..."} 
[2026-08-10 23:57:04] local.INFO: Processing buffer {"connection_id":154612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecebc430012d49f0c0065915f80009009733..."} 
[2026-08-10 23:57:04] local.INFO: Packet analysis {"connection_id":154612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feceb"} 
[2026-08-10 23:57:04] local.INFO: Extracted packet for processing {"connection_id":154612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feceb"} 
[2026-08-10 23:57:04] local.INFO: GPS Element Parsed {"raw_longitude":759820480,"raw_latitude":106501624,"longitude_deg":75.982048,"latitude_deg":10.6501624,"altitude":9,"angle":151,"satellites":51,"speed":54,"hex_longitude":"2d49f0c0","hex_latitude":"065915f8","is_valid_coordinates":true} 
[2026-08-10 23:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314891520001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376840168558034944,"note":"Value kept but may cause issues"} 
[2026-08-10 23:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5322832574353530880,"note":"Value kept but may cause issues"} 
[2026-08-10 23:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786386302000,"timestamp_ms":1786386302000,"timestamp_seconds":1786386302,"priority":1,"record_length":96,"hex_timestamp":"0000019fecebc430"} 
[2026-08-10 23:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-10 23:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314891520001,"66":27463,"131":206,"78":62464,"24":54,"16":376840168558034944,"45":5322832574353530880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-08-10 23:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314891520001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:57:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-10 23:57:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376840168558034944,"km_value":376840168558034.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5322832574353530880,"description":"Unknown IO ID 45"} 
[2026-08-10 23:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314891520001,"power":27463,"unknown_131":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5322832574353530880}} 
[2026-08-10 23:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":154612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:57:04] local.INFO: GPS data processed {"connection_id":154612,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:57:04] local.INFO: Acknowledgment sent {"connection_id":154612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:57:35] local.INFO: TCP Data received {"connection_id":154612,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feced4ad0012d4ad68006574500000e009933..."} 
[2026-08-10 23:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feced4ad0012d4ad68006574500000e009933..."} 
[2026-08-10 23:57:35] local.INFO: Processing buffer {"connection_id":154612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feced4ad0012d4ad68006574500000e009933..."} 
[2026-08-10 23:57:35] local.INFO: Packet analysis {"connection_id":154612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feced"} 
[2026-08-10 23:57:35] local.INFO: Extracted packet for processing {"connection_id":154612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feced"} 
[2026-08-10 23:57:35] local.INFO: GPS Element Parsed {"raw_longitude":759879296,"raw_latitude":106382592,"longitude_deg":75.9879296,"latitude_deg":10.6382592,"altitude":14,"angle":153,"satellites":51,"speed":49,"hex_longitude":"2d4ad680","hex_latitude":"06574500","is_valid_coordinates":true} 
[2026-08-10 23:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314916864001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376846589534142464,"note":"Value kept but may cause issues"} 
[2026-08-10 23:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5387782925199063040,"note":"Value kept but may cause issues"} 
[2026-08-10 23:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786386402000,"timestamp_ms":1786386402000,"timestamp_seconds":1786386402,"priority":1,"record_length":96,"hex_timestamp":"0000019feced4ad0"} 
[2026-08-10 23:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-10 23:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314916864001,"66":27484,"47":206,"78":62464,"24":49,"16":376846589534142464,"45":5387782925199063040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,78,24,16,45]} 
[2026-08-10 23:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314916864001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:57:35] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-10 23:57:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376846589534142464,"km_value":376846589534142.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5387782925199063040,"description":"Unknown IO ID 45"} 
[2026-08-10 23:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314916864001,"power":27484,"unknown_47":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5387782925199063040}} 
[2026-08-10 23:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":154612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:57:35] local.INFO: GPS data processed {"connection_id":154612,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:57:35] local.INFO: Acknowledgment sent {"connection_id":154612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:58:03] local.INFO: TCP Data received {"connection_id":152277,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:03] local.INFO: Processing buffer {"connection_id":152277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:03] local.INFO: IMEI packet received {"connection_id":152277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":152277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:58:04] local.INFO: TCP Data received {"connection_id":152277,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:04] local.INFO: Processing buffer {"connection_id":152277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:04] local.INFO: IMEI packet received {"connection_id":152277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":152277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:58:09] local.INFO: TCP Data received {"connection_id":152277,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:09] local.INFO: Processing buffer {"connection_id":152277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:09] local.INFO: IMEI packet received {"connection_id":152277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":152277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:58:12] local.INFO: TCP Data received {"connection_id":152277,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feced6a10012d4ae880065721b8000d009933..."} 
[2026-08-10 23:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feced6a10012d4ae880065721b8000d009933..."} 
[2026-08-10 23:58:12] local.INFO: Processing buffer {"connection_id":152277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feced6a10012d4ae880065721b8000d009933..."} 
[2026-08-10 23:58:12] local.INFO: Packet analysis {"connection_id":152277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feced"} 
[2026-08-10 23:58:12] local.INFO: Extracted packet for processing {"connection_id":152277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feced"} 
[2026-08-10 23:58:12] local.INFO: GPS Element Parsed {"raw_longitude":759883904,"raw_latitude":106373560,"longitude_deg":75.9883904,"latitude_deg":10.637356,"altitude":13,"angle":153,"satellites":51,"speed":50,"hex_longitude":"2d4ae880","hex_latitude":"065721b8","is_valid_coordinates":true} 
[2026-08-10 23: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-08-10 23:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314918912001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376847079160414208,"note":"Value kept but may cause issues"} 
[2026-08-10 23:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5392638368545046528,"note":"Value kept but may cause issues"} 
[2026-08-10 23:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786386410000,"timestamp_ms":1786386410000,"timestamp_seconds":1786386410,"priority":1,"record_length":96,"hex_timestamp":"0000019feced6a10"} 
[2026-08-10 23:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 23:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23: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-08-10 23:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314918912001,"66":27484,"63":206,"78":62464,"24":50,"16":376847079160414208,"45":5392638368545046528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,78,24,16,45]} 
[2026-08-10 23:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314918912001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:58:12] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 23:58:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376847079160414208,"km_value":376847079160414.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5392638368545046528,"description":"Unknown IO ID 45"} 
[2026-08-10 23:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314918912001,"power":27484,"unknown_63":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5392638368545046528}} 
[2026-08-10 23:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":152277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:58:12] local.INFO: GPS data processed {"connection_id":152277,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:58:12] local.INFO: Acknowledgment sent {"connection_id":152277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:58:54] local.INFO: TCP Data received {"connection_id":153217,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:54] local.INFO: Processing buffer {"connection_id":153217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:54] local.INFO: IMEI packet received {"connection_id":153217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":153217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:58:55] local.INFO: TCP Data received {"connection_id":153217,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:55] local.INFO: Processing buffer {"connection_id":153217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:55] local.INFO: IMEI packet received {"connection_id":153217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":153217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:58:59] local.INFO: TCP Data received {"connection_id":153217,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:59] local.INFO: Processing buffer {"connection_id":153217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:58:59] local.INFO: IMEI packet received {"connection_id":153217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":153217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:59:00] local.INFO: TCP Data received {"connection_id":153217,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019feced8568012d4af840065701e8000d009933..."} 
[2026-08-10 23:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feced8568012d4af840065701e8000d009933..."} 
[2026-08-10 23:59:00] local.INFO: Processing buffer {"connection_id":153217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feced8568012d4af840065701e8000d009933..."} 
[2026-08-10 23:59:00] local.INFO: Packet analysis {"connection_id":153217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feced"} 
[2026-08-10 23:59:00] local.INFO: Extracted packet for processing {"connection_id":153217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feced"} 
[2026-08-10 23:59:00] local.INFO: GPS Element Parsed {"raw_longitude":759887936,"raw_latitude":106365416,"longitude_deg":75.9887936,"latitude_deg":10.6365416,"altitude":13,"angle":153,"satellites":51,"speed":52,"hex_longitude":"2d4af840","hex_latitude":"065701e8","is_valid_coordinates":true} 
[2026-08-10 23:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314920960001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376847517247078400,"note":"Value kept but may cause issues"} 
[2026-08-10 23:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5397704918123526144,"note":"Value kept but may cause issues"} 
[2026-08-10 23:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786386417000,"timestamp_ms":1786386417000,"timestamp_seconds":1786386417,"priority":1,"record_length":96,"hex_timestamp":"0000019feced8568"} 
[2026-08-10 23:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-10 23:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314920960001,"66":27463,"63":206,"78":62464,"24":52,"16":376847517247078400,"45":5397704918123526144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,78,24,16,45]} 
[2026-08-10 23:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314920960001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:59:00] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-10 23:59:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376847517247078400,"km_value":376847517247078.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5397704918123526144,"description":"Unknown IO ID 45"} 
[2026-08-10 23:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314920960001,"power":27463,"unknown_63":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5397704918123526144}} 
[2026-08-10 23:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":153217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:59:00] local.INFO: GPS data processed {"connection_id":153217,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:59:00] local.INFO: Acknowledgment sent {"connection_id":153217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:59:04] local.INFO: TCP Data received {"connection_id":154613,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-10 23:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-10 23:59:04] local.INFO: Processing buffer {"connection_id":154613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-10 23:59:04] local.INFO: IMEI packet received {"connection_id":154613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-10 23:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":154613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:59:33] local.INFO: TCP Data received {"connection_id":153217,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecef0ff0012d4bce8006552aa00009009832..."} 
[2026-08-10 23:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecef0ff0012d4bce8006552aa00009009832..."} 
[2026-08-10 23:59:33] local.INFO: Processing buffer {"connection_id":153217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecef0ff0012d4bce8006552aa00009009832..."} 
[2026-08-10 23:59:33] local.INFO: Packet analysis {"connection_id":153217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecef"} 
[2026-08-10 23:59:33] local.INFO: Extracted packet for processing {"connection_id":153217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecef"} 
[2026-08-10 23:59:33] local.INFO: GPS Element Parsed {"raw_longitude":759942784,"raw_latitude":106244768,"longitude_deg":75.9942784,"latitude_deg":10.6244768,"altitude":9,"angle":152,"satellites":50,"speed":52,"hex_longitude":"2d4bce80","hex_latitude":"06552aa0","is_valid_coordinates":true} 
[2026-08-10 23:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-10 23:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314946816001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376853955403055104,"note":"Value kept but may cause issues"} 
[2026-08-10 23:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5457518350643658752,"note":"Value kept but may cause issues"} 
[2026-08-10 23:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786386518000,"timestamp_ms":1786386518000,"timestamp_seconds":1786386518,"priority":1,"record_length":96,"hex_timestamp":"0000019fecef0ff0"} 
[2026-08-10 23:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-10 23:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 23:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-10 23:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 23:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-10 23:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-10 23:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314946816001,"66":27343,"145":206,"78":62464,"24":52,"16":376853955403055104,"45":5457518350643658752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-08-10 23:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314946816001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:59:33] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 23:59:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376853955403055104,"km_value":376853955403055.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5457518350643658752,"description":"Unknown IO ID 45"} 
[2026-08-10 23:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314946816001,"power":27343,"unknown_145":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5457518350643658752}} 
[2026-08-10 23:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":153217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:59:33] local.INFO: GPS data processed {"connection_id":153217,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:59:33] local.INFO: Acknowledgment sent {"connection_id":153217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-10 23:59:54] local.INFO: TCP Data received {"connection_id":153218,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:59:54] local.INFO: Processing buffer {"connection_id":153218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:59:54] local.INFO: IMEI packet received {"connection_id":153218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-10 23:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":153218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-10 23:59:58] local.INFO: TCP Data received {"connection_id":153218,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:59:58] local.INFO: Processing buffer {"connection_id":153218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-10 23:59:58] local.INFO: IMEI packet received {"connection_id":153218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-10 23:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":153218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-10 23:59:59] local.INFO: TCP Data received {"connection_id":153218,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecef2b48012d4bdf8006550af00009009832..."} 
[2026-08-10 23:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecef2b48012d4bdf8006550af00009009832..."} 
[2026-08-10 23:59:59] local.INFO: Processing buffer {"connection_id":153218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecef2b48012d4bdf8006550af00009009832..."} 
[2026-08-10 23:59:59] local.INFO: Packet analysis {"connection_id":153218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecef"} 
[2026-08-10 23:59:59] local.INFO: Extracted packet for processing {"connection_id":153218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecef"} 
[2026-08-10 23:59:59] local.INFO: GPS Element Parsed {"raw_longitude":759947136,"raw_latitude":106236656,"longitude_deg":75.9947136,"latitude_deg":10.6236656,"altitude":9,"angle":152,"satellites":50,"speed":52,"hex_longitude":"2d4bdf80","hex_latitude":"06550af0","is_valid_coordinates":true} 
[2026-08-10 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-08-10 23:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314948608001,"note":"Value kept but may cause issues"} 
[2026-08-10 23:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376854402079653888,"note":"Value kept but may cause issues"} 
[2026-08-10 23:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5462444162734006272,"note":"Value kept but may cause issues"} 
[2026-08-10 23:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-10 23:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786386525000,"timestamp_ms":1786386525000,"timestamp_seconds":1786386525,"priority":1,"record_length":96,"hex_timestamp":"0000019fecef2b48"} 
[2026-08-10 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-08-10 23:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-10 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-10 23:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-10 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-08-10 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-08-10 23:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-10 23:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-10 23:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-10 23:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-10 23:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-10 23:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-10 23:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314948608001,"66":27321,"145":206,"78":62464,"24":52,"16":376854402079653888,"45":5462444162734006272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-08-10 23:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-10 23:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-10 23:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314948608001,"description":"Unknown IO ID 0"} 
[2026-08-10 23:59:59] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-10 23:59:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-10 23:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376854402079653888,"km_value":376854402079653.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-10 23:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5462444162734006272,"description":"Unknown IO ID 45"} 
[2026-08-10 23:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314948608001,"power":27321,"unknown_145":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5462444162734006272}} 
[2026-08-10 23:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":153218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-10 23:59:59] local.INFO: GPS data processed {"connection_id":153218,"processed":1,"errors":0,"total":1} 
[2026-08-10 23:59:59] local.INFO: Acknowledgment sent {"connection_id":153218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
